Skip to content

Commit 1171bdf

Browse files
Increased available memory for parsing on compilers (10x factor).
1 parent 319e1bc commit 1171bdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ugbc/makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,8 @@ src-generated/ugbc.yy.c: flex src/ugbc.lex src/ugbc.y
721721

722722
src-generated/ugbc.tab.c: bison src/ugbc.lex src/ugbc.y
723723
@$(BISON) ${BISON_OPTIONS} --file-prefix=src-generated/ugbc src/ugbc.y
724+
@sed -i 's/YYINITDEPTH 200/YYINITDEPTH 2000/g' $(@)
725+
@sed -i 's/YYMAXDEPTH 10000/YYMAXDEPTH 100000/g' $(@)
724726

725727
src-generated/ugbc.embed.yy.c: flex src/ugbc.embed.lex src/ugbc.embed.y
726728
@$(FLEX) ${FLEX_OPTIONS} --prefix=embed --outfile=src-generated/ugbc.embed.yy.c src/ugbc.embed.lex

0 commit comments

Comments
 (0)