X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9501dc6e69988cd8cf7623278a3894af9479e198..fcbfa6b01c0222b01254730c66d539ed2c841a4e:/tests/cxx-type.at diff --git a/tests/cxx-type.at b/tests/cxx-type.at index 7e58fa4a..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 ()); @@ -241,11 +241,11 @@ z q + ]]) m4_define([_AT_GLR_STDERR], -[[parse error +[[syntax error ]]) m4_define([_AT_VERBOSE_GLR_STDERR], -[[parse error, unexpected ID, expecting '=' or '+' or ')' +[[syntax error, unexpected ID, expecting '=' or '+' or ')' ]]) ## ---------------------------------------------------- ##