mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +00:00
(debug_lbitset): Do not assume that bitset_word is the same width as
int.
This commit is contained in:
@@ -1439,7 +1439,7 @@ debug_lbitset (bset)
|
|||||||
|
|
||||||
fprintf (stderr, " Word %u:", i);
|
fprintf (stderr, " Word %u:", i);
|
||||||
for (j = 0; j < LBITSET_WORD_BITS; j++)
|
for (j = 0; j < LBITSET_WORD_BITS; j++)
|
||||||
if ((word & (1 << j)))
|
if ((word & ((bitset_word) 1 << j)))
|
||||||
fprintf (stderr, " %u", j);
|
fprintf (stderr, " %u", j);
|
||||||
fprintf (stderr, "\n");
|
fprintf (stderr, "\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user