]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
Implemented bitwise xor operator.
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index cc717848b6279e8ca651eacd514582522981e8e4..7cd7794bfaed056ffa72519a0bf0a39bfe0f843e 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1309,7 +1309,7 @@ int lex_do(lex_file *lex)
         ch == '>' || ch == '<' || /* <<, >>, <=, >=                  */
         ch == '=' || ch == '!' || /* <=>, ==, !=                     */
         ch == '&' || ch == '|' || /* &&, ||, &=, |=                  */
-        ch == '~'                 /* ~=, ~                           */
+        ch == '~' || ch == '^'    /* ~=, ~, ^                        */
     )  {
         lex_tokench(lex, ch);