mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-19 06:40:49 +00:00
Actually use TOKEN_CHARCONST in the lexer...
This commit is contained in:
parent
0301ea7818
commit
2234090398
1 changed files with 1 additions and 0 deletions
1
lexer.c
1
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 ",
|
||||
|
|
Loading…
Reference in a new issue