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. */
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))