mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 09:02:25 +00:00
fteqcc like \[ and \] in strings
This commit is contained in:
parent
70bda85629
commit
fefb51c592
1 changed files with 2 additions and 0 deletions
2
lexer.c
2
lexer.c
|
@ -820,6 +820,8 @@ static int GMQCC_WARN lex_finish_string(lex_file *lex, int quote)
|
||||||
case '<': ch = 29; break;
|
case '<': ch = 29; break;
|
||||||
case '-': ch = 30; break;
|
case '-': ch = 30; break;
|
||||||
case '>': ch = 31; break;
|
case '>': ch = 31; break;
|
||||||
|
case '[': ch = 16; break;
|
||||||
|
case ']': ch = 17; break;
|
||||||
case '\n': ch = '\n'; break;
|
case '\n': ch = '\n'; break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue