add exp parenthesis syntax (FIXME: shift/reduce conflict!)
This commit is contained in:
parent
fca1c8f557
commit
5a7ae5d5a4
|
@ -57,6 +57,7 @@ singleexp:
|
||||||
| i = Int { Literal (Int i) }
|
| i = Int { Literal (Int i) }
|
||||||
| p = path { Path p }
|
| p = path { Path p }
|
||||||
| f = path; a = args { Call (f, a) }
|
| f = path; a = args { Call (f, a) }
|
||||||
|
| "("; e = exp; ")" { e }
|
||||||
|
|
||||||
path:
|
path:
|
||||||
| x = Name { Var x }
|
| x = Name { Var x }
|
||||||
|
|
Loading…
Reference in New Issue