about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-07-23T09·38+0200
committerGitHub <noreply@github.com>2018-07-23T09·38+0200
commita7fb7d3cde48e6f54b59d539d906dda1d7107ffa (patch)
treeafe34bc20de3208d7e9d022fff7242682b3d34e2
parent925053e97458374a32974d3a85cb59dc120b3ca2 (diff)
parentdeaa6e9a34f24c1fdfeed0b98054c28e50100c12 (diff)
Merge pull request #2303 from volth/patch-4
parser.y: fix assoc of -> and < > <= >=
-rw-r--r--src/libexpr/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index eee48887dc22..cbd576d7d126 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -273,11 +273,11 @@ void yyerror(YYLTYPE * loc, yyscan_t scanner, ParseData * data, const char * err
 %token IND_STRING_OPEN IND_STRING_CLOSE
 %token ELLIPSIS
 
-%nonassoc IMPL
+%right IMPL
 %left OR
 %left AND
 %nonassoc EQ NEQ
-%left '<' '>' LEQ GEQ
+%nonassoc '<' '>' LEQ GEQ
 %right UPDATE
 %left NOT
 %left '+' '-'