projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
933ec54
)
yacc.c: style changes
author
Akim Demaille
<akim@lrde.epita.fr>
Fri, 31 Aug 2012 15:50:31 +0000
(17:50 +0200)
committer
Akim Demaille
<akim@lrde.epita.fr>
Fri, 31 Aug 2012 15:50:31 +0000
(17:50 +0200)
* data/yacc.c: (yytoken): Define with initial value.
data/yacc.c
patch
|
blob
|
history
diff --git
a/data/yacc.c
b/data/yacc.c
index
0175688
..
2c57f01
100644
(file)
--- 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;]])[