From: Akim Demaille Date: Fri, 31 Aug 2012 15:50:31 +0000 (+0200) Subject: yacc.c: style changes X-Git-Tag: v2.6.3~32 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/e3f8c4ef690e8e8df992dbcbc04e21c63e45986e?ds=sidebyside yacc.c: style changes * data/yacc.c: (yytoken): Define with initial value. --- 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;]])[