57 |
Hence we must allocate room for useless nonterminals too. */ |
Hence we must allocate room for useless nonterminals too. */ |
58 |
shorts **rsets = XCALLOC (shorts *, nvars) - ntokens; |
shorts **rsets = XCALLOC (shorts *, nvars) - ntokens; |
59 |
/* This is said to be more elements than we actually use. |
/* This is said to be more elements than we actually use. |
60 |
Supposedly nitems - nrules is enough. But why take the risk? */ |
Supposedly NRITEMS - NRULES is enough. But why take the risk? */ |
61 |
shorts *relts = XCALLOC (shorts, nitems + nvars + 1); |
shorts *relts = XCALLOC (shorts, nritems + nvars + 1); |
62 |
|
|
63 |
if (trace_flag) |
if (trace_flag) |
64 |
fprintf (stderr, "Entering set_nullable\n"); |
fprintf (stderr, "Entering set_nullable\n"); |