]> git.saurik.com Git - bison.git/blobdiff - tests/actions.at
(YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero
[bison.git] / tests / actions.at
index 79dee6fbedc545c20acb8440bb32f20c73e45978..6850ce65136dade9c0bcc3f8ecdc807c195cb582 100644 (file)
@@ -31,10 +31,12 @@ AT_SETUP([Mid-rule actions])
 
 AT_DATA([[input.y]],
 [[%{
-#include <stdio.h>
-#include <stdlib.h>
-static void yyerror (const char *msg);
-static int yylex (void);
+# include <stdio.h>
+# include <stdlib.h>
+  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
 ]])