]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Actually use TOKEN_CHARCONST in the lexer...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 21:04:27 +0000 (22:04 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 21:04:27 +0000 (22:04 +0100)
lexer.c

diff --git a/lexer.c b/lexer.c
index 09a070d15450ee2614c82f04621153e2ad2412fe..065f60c2dc129cac8a4da4d9ff5ae3ff5eb54e79 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1277,6 +1277,7 @@ int lex_do(lex_file *lex)
             lex_tokench(lex, ch);
         lex_endtoken(lex);
 
+        lex->tok.ttype = TOKEN_CHARCONST;
          /* It's a vector if we can successfully scan 3 floats */
 #ifdef WIN32
         if (sscanf_s(lex->tok.value, " %f %f %f ",