From: Wolfgang (Blub) Bumiller Date: Fri, 30 Nov 2012 16:28:46 +0000 (+0100) Subject: increase the ridiculously low size limit on lex-pragma parameters X-Git-Tag: 0.1.9~165 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=2f3612d90557d0b9639bfa5581523b682b0e5741 increase the ridiculously low size limit on lex-pragma parameters --- diff --git a/lexer.c b/lexer.c index 5c9b7ee..66a0c45 100644 --- a/lexer.c +++ b/lexer.c @@ -441,7 +441,7 @@ static bool lex_try_pragma(lex_file *lex) 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, 0);