From e3f8c4ef690e8e8df992dbcbc04e21c63e45986e Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 31 Aug 2012 17:50:31 +0200 Subject: [PATCH] yacc.c: style changes * data/yacc.c: (yytoken): Define with initial value. --- data/yacc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/yacc.c b/data/yacc.c index 01756884..2c57f01d 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -1513,7 +1513,7 @@ b4_c_function_def([[yyparse]], [[int]], b4_parse_param)[ int yyn; int yyresult; /* Lookahead token as an internal (translated) token number. */ - int yytoken; + int yytoken = 0; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval;]b4_locations_if([[ @@ -1538,7 +1538,6 @@ b4_c_function_def([[yyparse]], [[int]], b4_parse_param)[ goto yyread_pushed_token; }]])[ - yytoken = 0; yyss = yyssa; yyvs = yyvsa;]b4_locations_if([[ yyls = yylsa;]])[ -- 2.47.2