Fix a precedence bug.
a == b or c == d should obviously parse as (a==b) or (c==d).
This commit is contained in:
1 parent
49cf2e67fe
commit
f13865d7a1
1 file changed
+1
-1
+1
-1
@@ -72,9 +72,9 @@
|
||||
%left ','
|
||||
%right "//"
|
||||
%nonassoc '=' SETPIPE SETPLUS SETMINUS SETMULT SETDIV SETDEFINEDOR
|
||||
%nonassoc EQ
|
||||
%left OR
|
||||
%left AND
|
||||
%nonassoc EQ
|
||||
%left '+' '-'
|
||||
%left '*' '/'
|
||||
|
||||
|
||||
Reference in new issue
Block a user