From: Wolfgang (Blub) Bumiller Date: Sun, 25 Nov 2012 21:04:27 +0000 (+0100) Subject: Actually use TOKEN_CHARCONST in the lexer... X-Git-Tag: 0.1.9~229 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=223409039824dba609a10f6a7fb8dbe4a5727bb6;p=xonotic%2Fgmqcc.git Actually use TOKEN_CHARCONST in the lexer... --- diff --git a/lexer.c b/lexer.c index 09a070d..065f60c 100644 --- 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 ",