From 500bbfcd816776d0ddbf3555fedd41b529c405b3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 21 Nov 2002 05:28:44 +0000 Subject: [PATCH] (_AT_TEST_GLR_CXXTYPES): Do not include . Replace all instances of assert with abort. --- tests/cxx-type.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cxx-type.at b/tests/cxx-type.at index 5ad9cf49..41ff5604 100644 --- a/tests/cxx-type.at +++ b/tests/cxx-type.at @@ -91,7 +91,6 @@ declarator : ID { printf ("\"%s\" ", ]$[1); } %% -#include #include #include #include @@ -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 ()); -- 2.45.2