increase the ridiculously low size limit on lex-pragma parameters

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-30 17:28:46 +01:00
parent bda5ff4213
commit 2f3612d905

View file

@ -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);