From: Wolfgang Bumiller Date: Mon, 31 Dec 2012 11:56:04 +0000 (+0100) Subject: Adding '&~=' to the -std=gmqcc operator list X-Git-Tag: before-library~406 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=12d87fba1b967a1443fbc1d9560b601792620b75;hp=0920cb6ec4e1a00af744d1c33a4f0b44de33a3fa Adding '&~=' to the -std=gmqcc operator list --- diff --git a/lexer.h b/lexer.h index 45b4ad2..28bae8a 100644 --- 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, opid3('&','~','='), ASSOC_RIGHT, 2, 0 }, { ":", 0, opid2(':','?'), ASSOC_RIGHT, 1, 0 },