added precedence for +,-,*,/

This commit is contained in:
Sven Vogel 2024-05-14 19:08:42 +02:00
parent 1055aa0f73
commit 3ea179b4a9
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@
/* Operator associativity */
%right '='
%left '+' '-' '*' '/'
%left '+' '-'
%left '*' '/'
%left OpEquals OpNot '<' '>'
%left OpAnd OpOr OpXor
%left OpBitand OpBitor OpBitxor OpBitnot