X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c240826c065aec6b3d2a5f61c7c5a2d8c1d124f3..2bf21a8322d5465fc4cc78839d692c4bbcb807b1:/tests/glr-regr1.at diff --git a/tests/glr-regr1.at b/tests/glr-regr1.at index d0b558a5..72aec705 100644 --- a/tests/glr-regr1.at +++ b/tests/glr-regr1.at @@ -20,7 +20,7 @@ AT_BANNER([[GLR Regression Test #1.]]) AT_SETUP([Badly Collapsed GLR States]) -AT_DATA([glr-regr1.y], +AT_DATA_GRAMMAR([glr-regr1.y], [[/* Regression Test: Improper state compression */ /* Reported by Scott McPeak */ @@ -63,8 +63,7 @@ static YYSTYPE exprMerge (YYSTYPE x0, YYSTYPE x1) int main (void) { - yyparse (); - return 0; + return yyparse (); } int