From: Richard M. Stallman Date: Sat, 24 Jul 1993 08:00:44 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: GNU_ORIG~90 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/c6c88451a70b040630943d136a0204da15d012c0 *** empty log message *** --- diff --git a/bison.simple b/bison.simple index 49c8b857..c0c278a3 100644 --- a/bison.simple +++ b/bison.simple @@ -189,7 +189,7 @@ yyparse() register short *yyssp; register YYSTYPE *yyvsp; int yyerrstatus; /* number of tokens to shift before error messages enabled */ - int yychar1; /* lookahead token as an internal (translated) token number */ + int yychar1 = 0; /* lookahead token as an internal (translated) token number */ short yyssa[YYINITDEPTH]; /* the state stack */ YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ diff --git a/src/bison.s1 b/src/bison.s1 index 49c8b857..c0c278a3 100644 --- a/src/bison.s1 +++ b/src/bison.s1 @@ -189,7 +189,7 @@ yyparse() register short *yyssp; register YYSTYPE *yyvsp; int yyerrstatus; /* number of tokens to shift before error messages enabled */ - int yychar1; /* lookahead token as an internal (translated) token number */ + int yychar1 = 0; /* lookahead token as an internal (translated) token number */ short yyssa[YYINITDEPTH]; /* the state stack */ YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ diff --git a/src/bison.simple b/src/bison.simple index 49c8b857..c0c278a3 100644 --- a/src/bison.simple +++ b/src/bison.simple @@ -189,7 +189,7 @@ yyparse() register short *yyssp; register YYSTYPE *yyvsp; int yyerrstatus; /* number of tokens to shift before error messages enabled */ - int yychar1; /* lookahead token as an internal (translated) token number */ + int yychar1 = 0; /* lookahead token as an internal (translated) token number */ short yyssa[YYINITDEPTH]; /* the state stack */ YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */