yacc.c: style changes

* data/yacc.c: (yytoken): Define with initial value.
This commit is contained in:
Akim Demaille
2012-08-31 17:50:31 +02:00
parent 933ec5449f
commit e3f8c4ef69

View File

@@ -1513,7 +1513,7 @@ b4_c_function_def([[yyparse]], [[int]], b4_parse_param)[
int yyn; int yyn;
int yyresult; int yyresult;
/* Lookahead token as an internal (translated) token number. */ /* Lookahead token as an internal (translated) token number. */
int yytoken; int yytoken = 0;
/* The variables used to return semantic value and location from the /* The variables used to return semantic value and location from the
action routines. */ action routines. */
YYSTYPE yyval;]b4_locations_if([[ YYSTYPE yyval;]b4_locations_if([[
@@ -1538,7 +1538,6 @@ b4_c_function_def([[yyparse]], [[int]], b4_parse_param)[
goto yyread_pushed_token; goto yyread_pushed_token;
}]])[ }]])[
yytoken = 0;
yyss = yyssa; yyss = yyssa;
yyvs = yyvsa;]b4_locations_if([[ yyvs = yyvsa;]b4_locations_if([[
yyls = yylsa;]])[ yyls = yylsa;]])[