From: Stephen Roantree Date: Wed, 10 Oct 2012 21:44:17 +0000 (+0100) Subject: Make comp binops nonassoc X-Git-Tag: jq-1.1~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3557429eb478e7d7c8f32223ce108c5e91d5a03;p=jq Make comp binops nonassoc --- diff --git a/parser.y b/parser.y index 94700ae..8c4b456 100644 --- a/parser.y +++ b/parser.y @@ -76,10 +76,9 @@ %nonassoc '=' SETPIPE SETPLUS SETMINUS SETMULT SETDIV SETDEFINEDOR %left OR %left AND -%nonassoc EQ +%nonassoc EQ '<' '>' LESSEQ GREATEREQ %left '+' '-' %left '*' '/' -%right '<' '>' LESSEQ GREATEREQ %type Exp Term MkDict MkDictPair ExpD ElseBody QQString FuncDef FuncDefs