X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/931394cbc10909854852366d589f1d25527922fc..8bb936e4f76045c9aac42c7e848d2cf0eff567f1:/tests/actions.at diff --git a/tests/actions.at b/tests/actions.at index 79dee6fb..6850ce65 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -31,10 +31,12 @@ AT_SETUP([Mid-rule actions]) AT_DATA([[input.y]], [[%{ -#include -#include -static void yyerror (const char *msg); -static int yylex (void); +# include +# include + static void yyerror (const char *msg); + static int yylex (void); +# define YYDEBUG 1 +# define YYERROR_VERBOSE 1 %} %% exp: { putchar ('0'); } @@ -72,7 +74,7 @@ main (void) AT_CHECK([bison input.y -d -v -o input.c]) AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -o input], 0, [], [ignore]) -AT_CHECK([input], 0, +AT_CHECK([./input], 0, [[0123456789 ]])