X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/bba97eb2c13a632c9a23306a834de312df16e4e0..9801d40c506b718971aed52c44975c7951bcb3bc:/src/nullable.c diff --git a/src/nullable.c b/src/nullable.c index 3fd421d3..42e398b3 100644 --- a/src/nullable.c +++ b/src/nullable.c @@ -47,11 +47,11 @@ void set_nullable (void) { int ruleno; - short *s1; - short *s2; + symbol_number_t *s1; + symbol_number_t *s2; shorts *p; - short *squeue = XCALLOC (short, nvars); + symbol_number_t *squeue = XCALLOC (symbol_number_t, nvars); short *rcount = XCALLOC (short, nrules + 1); /* RITEM contains all the rules, including useless productions. Hence we must allocate room for useless nonterminals too. */ @@ -74,7 +74,7 @@ set_nullable (void) if (rules[ruleno].rhs[0] >= 0) { /* This rule has a non empty RHS. */ - short *r; + item_number_t *r; int any_tokens = 0; for (r = rules[ruleno].rhs; *r >= 0; ++r) if (ISTOKEN (*r))