]> git.saurik.com Git - bison.git/blobdiff - tests/torture.at
* tests/torture.at [AT_DATA]: Remove YYERROR_VERBOSE definition.
[bison.git] / tests / torture.at
index c9fe83750daa9636a864109eca1d1f48b98490bf..e0205372a9daaefc7f27d4ac33b03c5e67f218a9 100644 (file)
@@ -33,11 +33,11 @@ AT_DATA([input.y],
 ]$1[
   static int yylex (void);
   static void yyerror (const char *msg);
-#define YYERROR_VERBOSE 1
 #define YYPRINT(File, Type, Value)                   \
   fprintf (File, " (%d, stack size = %d, max = %d)", \
            Value, yyssp - yyss + 1, yystacksize);
 %}
+%error-verbose
 %debug
 %token WAIT_FOR_EOF
 %%
@@ -73,7 +73,6 @@ main (int argc, const char **argv)
 ]])
 AT_CHECK([bison input.y -o input.c])
 AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -o input], 0, [], [ignore])
-AT_CLEANUP_FILES(input input.c)
 ])
 
 
@@ -104,7 +103,7 @@ AT_CLEANUP
 
 AT_SETUP([Exploding the Stack Size with Malloc])
 
-AT_DATA_STACK_TORTURE([[#define YYSTACK_USE_ALLOCA_ALLOCA 0]])
+AT_DATA_STACK_TORTURE([[#define YYSTACK_USE_ALLOCA 0]])
 
 # Below the limit of 200.
 AT_CHECK([input 20], 0, [], [ignore])