X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/56b91ae0b1fedff810bdd8317816a7073910ccb0..0a244a2269aa09031bf3f92b68fbab4578beec74:/tests/headers.at diff --git a/tests/headers.at b/tests/headers.at index 203c8fc6..0ad7ef3e 100644 --- a/tests/headers.at +++ b/tests/headers.at @@ -41,7 +41,7 @@ AT_DATA_GRAMMAR([$1.y], ]AT_YYLEX_DECLARE_EXTERN[ %} %% -dummy:; +dummy: /* empty */; %% #include <$1.h> ]) @@ -81,7 +81,7 @@ AT_DATA_GRAMMAR([input.y], ]AT_YYLEX_DEFINE[ %} %% -exp:; +exp: /* empty */; ]]) AT_BISON_CHECK([--defines -o input.c input.y]) @@ -117,9 +117,9 @@ AT_SETUP([Several parsers]) # nor yy* identifiers in the header. Check that headers are # self-contained, and can be compiled by a C++ compiler. m4_pushdef([AT_TEST], -[AT_BISON_OPTION_PUSHDEFS([%define api.prefix "$1_" $2]) +[AT_BISON_OPTION_PUSHDEFS([%define api.prefix {$1_} $2]) AT_DATA_GRAMMAR([$1.y], -[[%define api.prefix "$1_" +[[%define api.prefix {$1_} $2 %error-verbose %union