[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[committed] Remove compiler warnings in GLR parsers.
From: |
Paul Hilfinger |
Subject: |
[committed] Remove compiler warnings in GLR parsers. |
Date: |
Thu, 09 Sep 2010 00:51:27 -0700 |
* data/glr.c (yySymbol): Define as int to avoid compiler
warnings
about possible change of value.
---
diff --git a/data/glr.c b/data/glr.c
index 944c334..642b993 100644
--- a/data/glr.c
+++ b/data/glr.c
@@ -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;
--
1.7.0.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [committed] Remove compiler warnings in GLR parsers.,
Paul Hilfinger <=