* src/closure.c, src/conflicts.c, src/lalr.c, src/print.c,

* src/reduce.c: Remove the `bitset_zero's following the
`bitset_create's, as now it is performed by the latter.
This commit is contained in:
Akim Demaille
2002-03-04 13:56:41 +00:00
parent ef01750240
commit f0250de62e
6 changed files with 10 additions and 25 deletions

View File

@@ -141,10 +141,7 @@ initialize_LA (void)
LA = XCALLOC (bitset, nLA);
for (i = 0; i < nLA; ++i)
{
LA[i] = bitset_create (ntokens, BITSET_FIXED);
bitset_zero (LA[i]);
}
LA[i] = bitset_create (ntokens, BITSET_FIXED);
LAruleno = XCALLOC (short, nLA);
lookback = XCALLOC (shorts *, nLA);
@@ -258,10 +255,7 @@ initialize_F (void)
F = XCALLOC (bitset, ngotos);
for (i = 0; i < ngotos; ++i)
{
F[i] = bitset_create (ntokens, BITSET_FIXED);
bitset_zero (F[i]);
}
F[i] = bitset_create (ntokens, BITSET_FIXED);
for (i = 0; i < ngotos; i++)
{