]> git.saurik.com Git - bison.git/blobdiff - src/lalr.h
Renamed from "Invalid \$n", to work around an Autoconf bug with dollar
[bison.git] / src / lalr.h
index cd50046bf35c2883e01dcdcbd9fe9936834c7d7e..1d6eeb4c313f8e9ccb5398902527aac5853a3d70 100644 (file)
@@ -56,8 +56,8 @@ 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 size_t goto_number;
+# define GOTO_NUMBER_MAXIMUM ((goto_number) -1)
 
 extern goto_number *goto_map;
 extern state_number *from_state;