144 |
# With 500 and the new parser, which consume far too much memory, |
# With 500 and the new parser, which consume far too much memory, |
145 |
# it gets killed too. Of course the parser is to be cleaned. |
# it gets killed too. Of course the parser is to be cleaned. |
146 |
AT_DATA_TRIANGULAR_GRAMMAR([input.y], [200]) |
AT_DATA_TRIANGULAR_GRAMMAR([input.y], [200]) |
147 |
AT_CHECK([bison input.y -v -o input.c]) |
AT_CHECK([bison -v -o input.c input.y]) |
148 |
AT_COMPILE([input]) |
AT_COMPILE([input]) |
149 |
AT_PARSER_CHECK([./input]) |
AT_PARSER_CHECK([./input]) |
150 |
|
|
248 |
# Ask for 200 MiB, which should be plenty even on a 64-bit host. |
# Ask for 200 MiB, which should be plenty even on a 64-bit host. |
249 |
AT_INCREASE_DATA_SIZE(204000) |
AT_INCREASE_DATA_SIZE(204000) |
250 |
|
|
251 |
AT_CHECK([bison input.y -v -o input.c]) |
AT_CHECK([bison -v -o input.c input.y]) |
252 |
AT_COMPILE([input]) |
AT_COMPILE([input]) |
253 |
AT_PARSER_CHECK([./input]) |
AT_PARSER_CHECK([./input]) |
254 |
|
|
372 |
# Ask for 200 MiB, which should be plenty even on a 64-bit host. |
# Ask for 200 MiB, which should be plenty even on a 64-bit host. |
373 |
AT_INCREASE_DATA_SIZE(204000) |
AT_INCREASE_DATA_SIZE(204000) |
374 |
|
|
375 |
AT_CHECK([bison input.y -v -o input.c]) |
AT_CHECK([bison -v -o input.c input.y]) |
376 |
AT_COMPILE([input]) |
AT_COMPILE([input]) |
377 |
AT_PARSER_CHECK([./input]) |
AT_PARSER_CHECK([./input]) |
378 |
|
|
429 |
return yyparse (); |
return yyparse (); |
430 |
} |
} |
431 |
]]) |
]]) |
432 |
AT_CHECK([bison input.y -o input.c]) |
AT_CHECK([bison -o input.c input.y]) |
433 |
AT_COMPILE([input]) |
AT_COMPILE([input]) |
434 |
]) |
]) |
435 |
|
|