yacc.c, glr.c: style: rename yyreturn and yyreturnlab

* data/skeletons/glr.c, data/skeletons/yacc.c: here.
This commit is contained in:
Akim Demaille
2021-01-16 09:20:48 +01:00
parent c93aec904a
commit 4524e17616
2 changed files with 11 additions and 11 deletions

View File

@@ -2606,7 +2606,7 @@ b4_dollar_popdef])[]dnl
yyacceptlab:
yyresult = 0;
goto yyreturn;
goto yyreturnlab;
yybuglab:
YY_ASSERT (yyfalse);
@@ -2614,14 +2614,14 @@ b4_dollar_popdef])[]dnl
yyabortlab:
yyresult = 1;
goto yyreturn;
goto yyreturnlab;
yyexhaustedlab:
yyerror (]b4_lyyerror_args[YY_("memory exhausted"));
yyresult = 2;
goto yyreturn;
goto yyreturnlab;
yyreturn:
yyreturnlab:
if (yychar != ]b4_symbol(empty, id)[)
yydestruct ("Cleanup: discarding lookahead",
YYTRANSLATE (yychar), &yylval]b4_locuser_args([&yylloc])[);

View File

@@ -2121,7 +2121,7 @@ yyerrlab1:
`-------------------------------------*/
yyacceptlab:
yyresult = 0;
goto yyreturn;
goto yyreturnlab;
/*-----------------------------------.
@@ -2129,7 +2129,7 @@ yyacceptlab:
`-----------------------------------*/
yyabortlab:
yyresult = 1;
goto yyreturn;
goto yyreturnlab;
#if ]b4_lac_if([[1]], [b4_parse_error_case([simple], [[!defined yyoverflow]], [[1]])])[
@@ -2139,14 +2139,14 @@ yyabortlab:
yyexhaustedlab:
yyerror (]b4_yyerror_args[YY_("memory exhausted"));
yyresult = 2;
goto yyreturn;
goto yyreturnlab;
#endif
/*-------------------------------------------------------.
| yyreturn -- parsing is finished, clean up and return. |
`-------------------------------------------------------*/
yyreturn:
/*----------------------------------------------------------.
| yyreturnlab -- parsing is finished, clean up and return. |
`----------------------------------------------------------*/
yyreturnlab:
if (yychar != ]b4_symbol(empty, id)[)
{
/* Make sure we have latest lookahead translation. See comments at