mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
* src/system.h (LIST_FREE, shortcpy): New.
* src/LR0.c: Use them. * src/output.c (free_itemsets, free_reductions, free_shifts): Remove, replaced by LIST_FREE.
This commit is contained in:
@@ -653,14 +653,7 @@ compute_lookaheads (void)
|
||||
|
||||
/* Free LOOKBACK. */
|
||||
for (i = 0; i < state_table[nstates].lookaheads; i++)
|
||||
{
|
||||
shorts *sptmp;
|
||||
for (sp = lookback[i]; sp; sp = sptmp)
|
||||
{
|
||||
sptmp = sp->next;
|
||||
XFREE (sp);
|
||||
}
|
||||
}
|
||||
LIST_FREE (shorts, lookback[i]);
|
||||
|
||||
XFREE (lookback);
|
||||
XFREE (F);
|
||||
|
||||
Reference in New Issue
Block a user