diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-07-23T09·38+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23T09·38+0200 |
commit | a7fb7d3cde48e6f54b59d539d906dda1d7107ffa (patch) | |
tree | afe34bc20de3208d7e9d022fff7242682b3d34e2 /src/libexpr | |
parent | 925053e97458374a32974d3a85cb59dc120b3ca2 (diff) | |
parent | deaa6e9a34f24c1fdfeed0b98054c28e50100c12 (diff) |
Merge pull request #2303 from volth/patch-4
parser.y: fix assoc of -> and < > <= >=
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/parser.y | 4 |
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 '+' '-' |