mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
* 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:
10
src/lalr.c
10
src/lalr.c
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user