mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
Make ** RIGHT associative
This commit is contained in:
parent
bd54fe03b9
commit
db229b6f94
1 changed files with 1 additions and 1 deletions
2
lexer.h
2
lexer.h
|
@ -185,7 +185,7 @@ static const oper_info c_operators[] = {
|
|||
{ "%", 2, opid1('%'), ASSOC_LEFT, 13, 0 },
|
||||
|
||||
{ "+", 2, opid1('+'), ASSOC_LEFT, 12, 0 },
|
||||
{ "**", 2, opid2('*', '*'), ASSOC_LEFT, 12, 0 },
|
||||
{ "**", 2, opid2('*', '*'), ASSOC_RIGHT, 12, 0 },
|
||||
{ "-", 2, opid1('-'), ASSOC_LEFT, 12, 0 },
|
||||
|
||||
{ "<<", 2, opid2('<','<'), ASSOC_LEFT, 11, 0 },
|
||||
|
|
Loading…
Reference in a new issue