From: Paul Eggert Date: Thu, 21 Nov 2002 05:28:09 +0000 (+0000) Subject: (_AT_DATA_CALC_Y): Do not include . X-Git-Tag: BISON-1_875~214 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/63d0fb9ce4bcf5069bd17f43348705ee03a562a9 (_AT_DATA_CALC_Y): Do not include . Replace all instances of assert with abort. --- diff --git a/tests/calc.at b/tests/calc.at index d566c1db..63c3233f 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -46,7 +46,6 @@ AT_DATA_GRAMMAR([calc.y], # include #endif #include -#include extern void perror (const char *s); @@ -308,8 +307,10 @@ main (int argc, const char **argv) yydebug = 1; #endif status = yyparse (]AT_PARAM_IF([&result, &count])[); - assert (global_result == result); - assert (global_count == count); + if (global_result != result) + abort (); + if (global_count != count) + abort (); return status; } ]])