added precedence for +,-,*,/
This commit is contained in:
parent
1055aa0f73
commit
3ea179b4a9
|
@ -105,7 +105,8 @@
|
|||
|
||||
/* Operator associativity */
|
||||
%right '='
|
||||
%left '+' '-' '*' '/'
|
||||
%left '+' '-'
|
||||
%left '*' '/'
|
||||
%left OpEquals OpNot '<' '>'
|
||||
%left OpAnd OpOr OpXor
|
||||
%left OpBitand OpBitor OpBitxor OpBitnot
|
||||
|
|
Loading…
Reference in New Issue