mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
increase the ridiculously low size limit on lex-pragma parameters
This commit is contained in:
parent
bda5ff4213
commit
2f3612d905
1 changed files with 1 additions and 1 deletions
2
lexer.c
2
lexer.c
|
@ -441,7 +441,7 @@ static bool lex_try_pragma(lex_file *lex)
|
||||||
goto unroll;
|
goto unroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (ch = lex_getch(lex); vec_size(param) < 32 && ch != ')' && ch != '\n'; ch = lex_getch(lex))
|
for (ch = lex_getch(lex); vec_size(param) < 1024 && ch != ')' && ch != '\n'; ch = lex_getch(lex))
|
||||||
vec_push(param, ch);
|
vec_push(param, ch);
|
||||||
vec_push(param, 0);
|
vec_push(param, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue