mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +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:
@@ -673,7 +673,7 @@ typedef int yyStateNum;
|
||||
typedef int yyRuleNum;
|
||||
|
||||
/** Grammar symbol */
|
||||
typedef short int yySymbol;
|
||||
typedef int yySymbol;
|
||||
|
||||
/** Item references, as in LALR(1) machine */
|
||||
typedef short int yyItemNum;
|
||||
|
||||
Reference in New Issue
Block a user