]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
question mark must result in TOKEN_OPERATOR
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index 5a1f23e43cb7ed56b3127dfb1aead63364080ff7..b637af9d0280b61ff3ecb8b218ed929e309af2c0 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1022,6 +1022,7 @@ int lex_do(lex_file *lex)
         case '[':
         case '(':
         case ':':
+        case '?':
             lex_tokench(lex, ch);
             lex_endtoken(lex);
             if (lex->flags.noops)