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:
@@ -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