projects
/
xonotic
/
gmqcc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0920cb6
)
Adding '&~=' to the -std=gmqcc operator list
author
Wolfgang Bumiller <blub@speed.at>
Mon, 31 Dec 2012 11:56:04 +0000
(12:56 +0100)
committer
Wolfgang Bumiller <blub@speed.at>
Mon, 31 Dec 2012 11:56:04 +0000
(12:56 +0100)
lexer.h
patch
|
blob
|
history
diff --git
a/lexer.h
b/lexer.h
index 45b4ad214c04c7e8e3347eb82bac3ca698d46475..28bae8a30beafeb6bc06b279da0de4c95718e70b 100644
(file)
--- a/
lexer.h
+++ b/
lexer.h
@@
-219,6
+219,7
@@
static const oper_info c_operators[] = {
{ "&=", 2, opid2('&','='), ASSOC_RIGHT, 2, 0 },
{ "^=", 2, opid2('^','='), ASSOC_RIGHT, 2, 0 },
{ "|=", 2, opid2('|','='), ASSOC_RIGHT, 2, 0 },
{ "&=", 2, opid2('&','='), ASSOC_RIGHT, 2, 0 },
{ "^=", 2, opid2('^','='), ASSOC_RIGHT, 2, 0 },
{ "|=", 2, opid2('|','='), ASSOC_RIGHT, 2, 0 },
+ { "&~=", 2, opid3('&','~','='), ASSOC_RIGHT, 2, 0 },
{ ":", 0, opid2(':','?'), ASSOC_RIGHT, 1, 0 },
{ ":", 0, opid2(':','?'), ASSOC_RIGHT, 1, 0 },