parser.y: fix assoc of -> and < > <= >=
The parser allowed senseless `a > b > c` but disallowed `a -> b -> c` which seems valid It might be a typo
This commit is contained in:
parent
1b34b69b45
commit
85fe4a819c
1 changed files with 2 additions and 2 deletions
|
@ -273,11 +273,11 @@ void yyerror(YYLTYPE * loc, yyscan_t scanner, ParseData * data, const char * err
|
||||||
%token IND_STRING_OPEN IND_STRING_CLOSE
|
%token IND_STRING_OPEN IND_STRING_CLOSE
|
||||||
%token ELLIPSIS
|
%token ELLIPSIS
|
||||||
|
|
||||||
%nonassoc IMPL
|
%left IMPL
|
||||||
%left OR
|
%left OR
|
||||||
%left AND
|
%left AND
|
||||||
%nonassoc EQ NEQ
|
%nonassoc EQ NEQ
|
||||||
%left '<' '>' LEQ GEQ
|
%nonassoc '<' '>' LEQ GEQ
|
||||||
%right UPDATE
|
%right UPDATE
|
||||||
%left NOT
|
%left NOT
|
||||||
%left '+' '-'
|
%left '+' '-'
|
||||||
|
|
Loading…
Reference in a new issue