Merge pull request #2303 from volth/patch-4

parser.y: fix assoc of -> and < > <= >=
This commit is contained in:
Eelco Dolstra 2018-07-23 11:38:15 +02:00 committed by GitHub
commit a7fb7d3cde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 '+' '-'