summaryrefslogtreecommitdiff
path: root/src/lalr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lalr.h')
-rw-r--r--src/lalr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lalr.h b/src/lalr.h
index cd50046b..9253e0fd 100644
--- a/src/lalr.h
+++ b/src/lalr.h
@@ -56,8 +56,7 @@ void lalr_free (void);
together and GOTO_MAP[I - NTOKENS] is the index in FROM_STATE and
TO_STATE of the first of them. */
-typedef short int goto_number;
-# define GOTO_NUMBER_MAXIMUM SHRT_MAX
+typedef unsigned int goto_number;
extern goto_number *goto_map;
extern state_number *from_state;