Fix operators in reference

This commit is contained in:
Iaroslav 2020-07-27 15:49:36 +07:00
parent a5499260fa
commit f8383deb70
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -46,13 +46,12 @@ powChain
: term (POW term)* : term (POW term)*
; ;
divMulChain divMulChain
: powChain ((PLUS | MINUS) powChain)* : powChain ((DIV | MUL) powChain)*
; ;
subSumChain subSumChain
: divMulChain ((DIV | MUL) divMulChain)* : divMulChain ((PLUS | MINUS) divMulChain)*
; ;
rootParser rootParser