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:
Paul Hilfinger
2010-09-09 00:46:50 -07:00
parent d467f443df
commit 39f5757a95
2 changed files with 6 additions and 1 deletions

View File

@@ -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;