mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
* tests/atlocal.in (CPPFLAGS): We have config.h.
* tests/testsuite.at (AT_DATA_GRAMMAR_PROLOGUE, AT_DATA_GRAMMAR): New. * tests/actions.at, tests/calc.at, tests/conflicts.at, * tests/cxx-type.at, tests/glr-regr1.at, tests/headers.at, * tests/regression.at, tests/torture.at: Use them for all the grammars that are to be compiled. * tests/cxx-type.at (_AT_TEST_GLR_CALC): Rename as... * tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): this. * doc/bison.texinfo (GLR Parsers): Document `inline'.
This commit is contained in:
@@ -29,7 +29,7 @@ AT_SETUP([Mid-rule actions])
|
||||
# instead of being attached to the empty rule dedicated to this
|
||||
# action.
|
||||
|
||||
AT_DATA([[input.y]],
|
||||
AT_DATA_GRAMMAR([[input.y]],
|
||||
[[%{
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
@@ -88,7 +88,7 @@ AT_CLEANUP
|
||||
|
||||
AT_SETUP([Exotic Dollars])
|
||||
|
||||
AT_DATA([[input.y]],
|
||||
AT_DATA_GRAMMAR([[input.y]],
|
||||
[[%{
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
@@ -167,7 +167,7 @@ AT_SETUP([Printers and Destructors: $4])
|
||||
|
||||
# Make sure complex $n work.
|
||||
|
||||
AT_DATA([[input.y]],
|
||||
AT_DATA_GRAMMAR([[input.y]],
|
||||
[[$4
|
||||
%{
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user