mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
OP_PREFIX flag for ~ and !
This commit is contained in:
parent
c4730b405b
commit
c1bafe3d09
1 changed files with 2 additions and 2 deletions
4
lexer.h
4
lexer.h
|
@ -134,8 +134,8 @@ static const oper_info operators[] = {
|
|||
|
||||
{ ".", 2, opid1('.'), ASSOC_LEFT, 15, 0 },
|
||||
|
||||
{ "!", 1, opid2('!', 'P'), ASSOC_RIGHT, 14, 0 },
|
||||
{ "~", 1, opid2('~', 'P'), ASSOC_RIGHT, 14, 0 },
|
||||
{ "!", 1, opid2('!', 'P'), ASSOC_RIGHT, 14, OP_PREFIX },
|
||||
{ "~", 1, opid2('~', 'P'), ASSOC_RIGHT, 14, OP_PREFIX },
|
||||
{ "+", 1, opid2('+','P'), ASSOC_RIGHT, 14, OP_PREFIX },
|
||||
{ "-", 1, opid2('-','P'), ASSOC_RIGHT, 14, OP_PREFIX },
|
||||
{ "++", 1, opid3('+','+','P'), ASSOC_RIGHT, 14, OP_PREFIX },
|
||||
|
|
Loading…
Reference in a new issue