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) }
|
||||
| p = path { Path p }
|
||||
| f = path; a = args { Call (f, a) }
|
||||
| "("; e = exp; ")" { e }
|
||||
|
||||
path:
|
||||
| x = Name { Var x }
|
||||
|
|
Loading…
Reference in New Issue