mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
*** empty log message ***
This commit is contained in:
@@ -1548,13 +1548,8 @@ record_rule_line ()
|
||||
if (nrules >= rline_allocated)
|
||||
{
|
||||
rline_allocated = nrules * 2;
|
||||
rline = (short *) realloc (rline,
|
||||
rline_allocated * sizeof (short));
|
||||
if (rline == 0)
|
||||
{
|
||||
fprintf (stderr, "%s: memory exhausted\n", program_name);
|
||||
done (1);
|
||||
}
|
||||
rline = (short *) xrealloc (rline,
|
||||
rline_allocated * sizeof (short));
|
||||
}
|
||||
rline[nrules] = lineno;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user