mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-07 15:01:10 +00:00
recognize a dot as a single char token
This commit is contained in:
parent
c1e305088e
commit
c16a17ed5f
1 changed files with 2 additions and 0 deletions
2
lexer.c
2
lexer.c
|
@ -497,6 +497,8 @@ int lex_do(lex_file *lex)
|
||||||
case '[':
|
case '[':
|
||||||
case ']':
|
case ']':
|
||||||
|
|
||||||
|
case '.':
|
||||||
|
|
||||||
case '#':
|
case '#':
|
||||||
|
|
||||||
return (lex->tok->ttype = ch);
|
return (lex->tok->ttype = ch);
|
||||||
|
|
Loading…
Reference in a new issue