]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
increase the ridiculously low size limit on lex-pragma parameters
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 30 Nov 2012 16:28:46 +0000 (17:28 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 30 Nov 2012 16:28:46 +0000 (17:28 +0100)
lexer.c

diff --git a/lexer.c b/lexer.c
index 5c9b7ee6d145077acf25c24730a5e253be3631bd..66a0c451564a443aa62911fdd028ec0405f470a2 100644 (file)
--- 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);