Fix reduce/reduce conflicts w/ multiple FunctionCall in Expression

This commit is contained in:
Nicolai 2016-07-30 16:03:10 +02:00
parent 35182c7305
commit b2de2a9d0f

View File

@ -73,7 +73,7 @@ Expression =
| Expression? ',' Expression?
| PrimaryExpression
PrimaryExpression = Identifier | BooleanLiteral | NumberLiteral | StringLiteral | FunctionCall
PrimaryExpression = Identifier | BooleanLiteral | NumberLiteral | StringLiteral
FunctionCall = Identifier '(' Expression? ( ',' Expression )* ')'
NewExpression = 'new' Identifier