]> git.saurik.com Git - bison.git/blobdiff - data/yacc.c
* data/glr.c (yyreturn): Use "Cleanup:" rather than "Error:"
[bison.git] / data / yacc.c
index 982747d418625ac2524375150e4caebe33a5aaf3..0ba3af8806f074edda554f0594a3e004e250bfc3 100644 (file)
@@ -1383,11 +1383,11 @@ yyexhaustedlab:
 
 yyreturn:
   if (yychar != YYEOF && yychar != YYEMPTY)
-     yydestruct ("Error: discarding lookahead",
+     yydestruct ("Cleanup: discarding lookahead",
                 yytoken, &yylval]b4_location_if([, &yylloc])[);
   while (yyssp != yyss)
     {
-      yydestruct ("Error: popping",
+      yydestruct ("Cleanup: popping",
                  yystos[*yyssp], yyvsp]b4_location_if([, yylsp])[);
       YYPOPSTACK;
     }