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