(_AT_TEST_GLR_CXXTYPES): Do not include <assert.h>.

Replace all instances of assert with abort.
This commit is contained in:
Paul Eggert
2002-11-21 05:28:44 +00:00
parent 63d0fb9ce4
commit 500bbfcd81

View File

@@ -91,7 +91,6 @@ declarator : ID { printf ("\"%s\" ", ]$[1); }
%%
#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
@@ -99,7 +98,8 @@ declarator : ID { printf ("\"%s\" ", ]$[1); }
int
main (int argc, char** argv)
{
assert (argc == 2);
if (argc != 2)
abort ();
if (!freopen (argv[1], "r", stdin))
abort ();
exit (yyparse ());