Remove 'reduce/reduce conflicts' with comma operator

This commit is contained in:
Nicolai 2016-07-30 19:27:32 +02:00
parent b2de2a9d0f
commit 9f772cb9a1

View File

@ -70,7 +70,7 @@ Expression =
| Expression '||' Expression
| Expression '?' Expression ':' Expression
| Expression ('=' | '|=' | '^=' | '&=' | '<<=' | '>>=' | '+=' | '-=' | '*=' | '/=' | '%=') Expression
| Expression? ',' Expression?
| Expression? (',' Expression)?
| PrimaryExpression
PrimaryExpression = Identifier | BooleanLiteral | NumberLiteral | StringLiteral