correct the operator precendece to match C. hopefully won't cause any

problems :)
This commit is contained in:
Bill Currie 2003-09-19 20:50:05 +00:00
parent d699926e6f
commit 651fa8ca12

View file

@ -123,10 +123,16 @@ expr_t *argv_expr (void);
%right <op> '=' ASX PAS /* pointer assign */
%right '?' ':'
%left OR AND
%left EQ NE LE GE LT GT
%left SHL SHR %left '+' '-'
%left '*' '/' '&' '|' '^' '%'
%left OR
%left AND
%left '|'
%left '^'
%left '&'
%left EQ NE
%left LE GE LT GT
%left SHL SHR
%left '+' '-'
%left '*' '/' '%'
%right <op> UNARY INCOP
%left HYPERUNARY
%left '.' '(' '['