mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 17:23:02 +00:00
Remove compiler warnings in GLR parsers.
* data/glr.c (yySymbol): Define as int to avoid compiler warnings about possible change of value.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2010-09-09 Paul Hilfinger <hilfinger@cs.berkeley.edu>
|
||||||
|
|
||||||
|
* data/glr.c (yySymbol): Define as int to avoid compiler warnings about
|
||||||
|
possible change of value.
|
||||||
|
|
||||||
2010-09-08 Paul Hilfinger <hilfinger@cs.berkeley.edu>
|
2010-09-08 Paul Hilfinger <hilfinger@cs.berkeley.edu>
|
||||||
|
|
||||||
* data/glr.c (yy_reduce_print): Change yyrhsVals to yyvsp to remove
|
* data/glr.c (yy_reduce_print): Change yyrhsVals to yyvsp to remove
|
||||||
|
|||||||
@@ -673,7 +673,7 @@ typedef int yyStateNum;
|
|||||||
typedef int yyRuleNum;
|
typedef int yyRuleNum;
|
||||||
|
|
||||||
/** Grammar symbol */
|
/** Grammar symbol */
|
||||||
typedef short int yySymbol;
|
typedef int yySymbol;
|
||||||
|
|
||||||
/** Item references, as in LALR(1) machine */
|
/** Item references, as in LALR(1) machine */
|
||||||
typedef short int yyItemNum;
|
typedef short int yyItemNum;
|
||||||
|
|||||||
Reference in New Issue
Block a user