[ABNF] Add the remainder operator.

This commit is contained in:
Alessandro Coglio 2022-07-28 14:25:01 -07:00
parent eb63f13cf7
commit f5b62e913b

View File

@ -189,7 +189,7 @@ symbol = "!" / "&&" / "||"
/ "<" / "<=" / ">" / ">="
/ "&" / "|" / "^"
/ "<<" / ">>"
/ "+" / "-" / "*" / "/" / "**"
/ "+" / "-" / "*" / "/" / "%" / "**"
/ "="
/ "(" / ")"
/ "[" / "]"
@ -301,6 +301,7 @@ exponential-expression = unary-expression
multiplicative-expression = exponential-expression
/ multiplicative-expression "*" exponential-expression
/ multiplicative-expression "/" exponential-expression
/ multiplicative-expression "%" exponential-expression
additive-expression = multiplicative-expression
/ additive-expression "+" multiplicative-expression