1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Fix a precedence bug.

a == b or c == d should obviously parse as (a==b) or (c==d).
This commit is contained in:
Stephen Dolan
2012-09-17 22:37:51 +01:00
parent 49cf2e67fe
commit f13865d7a1

View File

@@ -72,9 +72,9 @@
%left ','
%right "//"
%nonassoc '=' SETPIPE SETPLUS SETMINUS SETMULT SETDIV SETDEFINEDOR
%nonassoc EQ
%left OR
%left AND
%nonassoc EQ
%left '+' '-'
%left '*' '/'