]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Adding '&~=' to the -std=gmqcc operator list
authorWolfgang Bumiller <blub@speed.at>
Mon, 31 Dec 2012 11:56:04 +0000 (12:56 +0100)
committerWolfgang Bumiller <blub@speed.at>
Mon, 31 Dec 2012 11:56:04 +0000 (12:56 +0100)
lexer.h

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 },