mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
correct the operator precendece to match C. hopefully won't cause any
problems :)
This commit is contained in:
parent
d699926e6f
commit
651fa8ca12
1 changed files with 10 additions and 4 deletions
|
@ -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 '.' '(' '['
|
||||
|
|
Loading…
Reference in a new issue