From: Paul Eggert Date: Thu, 21 Nov 2002 05:28:44 +0000 (+0000) Subject: (_AT_TEST_GLR_CXXTYPES): Do not include . X-Git-Tag: BISON-1_875~213 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/500bbfcd816776d0ddbf3555fedd41b529c405b3?ds=inline;hp=63d0fb9ce4bcf5069bd17f43348705ee03a562a9 (_AT_TEST_GLR_CXXTYPES): Do not include . Replace all instances of assert with abort. --- 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 ());