diff options
-rw-r--r-- | syntax.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -326,9 +326,9 @@ ArithmeticSuffix ← '+' TermExpression / BitwiseOpExpression ← ArithmeticExpression '<<' ArithmeticExpression / ArithmeticExpression '>>' ArithmeticExpression / - ArithmeticExpression '&' ArithmeticExpression / ArithmeticExpression '^' ArithmeticExpression / - ArithmeticExpression '|' ArithmeticExpression / + ArithmeticExpression ('&' ArithmeticExpression)+ / + ArithmeticExpression ('|' ArithmeticExpression)+ / ArithmeticExpression ComparisonExpression ← BitwiseOpExpression '==' BitwiseOpExpression / @@ -339,8 +339,9 @@ ComparisonExpression ← BitwiseOpExpression '==' BitwiseOpExpression / BitwiseOpExpression '>' BitwiseOpExpression / BitwiseOpExpression -Expression ← ComparisonExpression ('&&' ComparisonExpression)* / - ComparisonExpression ('||' ComparisonExpression)* +Expression ← ComparisonExpression ('&&' ComparisonExpression)+ / + ComparisonExpression ('||' ComparisonExpression)+ / + ComparisonExpression ``` [![Creative Commons BY-SA License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)](http://creativecommons.org/licenses/by-sa/4.0/) |