X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3325ddc49c7b31f2670d03d1e3b59c2636650af3..18b519c0d6020e2ab2431c3ada64b8ebe522b504:/src/lalr.h diff --git a/src/lalr.h b/src/lalr.h index 7edbbe8a..ca18022d 100644 --- a/src/lalr.h +++ b/src/lalr.h @@ -34,12 +34,12 @@ which rules need lookahead in each state, and which lookahead tokens they accept. */ -void lalr PARAMS ((void)); +void lalr (void); /* Release the information related to lookaheads. Can be performed once the action tables are computed. */ -void lalr_free PARAMS ((void)); +void lalr_free (void); /* lalr() builds these data structures. */ @@ -55,7 +55,7 @@ void lalr_free PARAMS ((void)); TO_STATE of the first of them. */ typedef short goto_number_t; -# define GOTO_NUMBER_MAX ((goto_number_t) INT_MAX) +# define GOTO_NUMBER_MAX ((goto_number_t) SHRT_MAX) extern goto_number_t *goto_map; extern state_number_t *from_state;