]> git.saurik.com Git - bison.git/commit
(struct bitset_vtable.size, struct bitset_vtable.count,
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Oct 2002 07:44:07 +0000 (07:44 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Oct 2002 07:44:07 +0000 (07:44 +0000)
commitf6ebdb317481d843c626b89277263a62171324aa
tree477c404b8f03f45571735696e42b789d6e20817f
parent8207d521236ea63f9f4b6b07d784a837dbc87be1
(struct bitset_vtable.size, struct bitset_vtable.count,
struct bitset_vtable.list, struct bitset_vtable.list_reverse,
bitset_count_, bitset_next, bitset_prev, bitset_first, bitset_last,
bitset_count_):
Use bitset_bindex, not int or unsigned int or size_t, to count bits.

(BITSET_BINDEX_MAX, BITSET_WINDEX_MAX, BITSET_SIZE_MAX): New macros.
(BITSET_INDEX_MAX): Remove.  It wasn't right, since it assumed that
sizeof (bitset_word) == sizeof (bitset_windex).  All uses changed
to BITSET_WINDEX_MAX.
lib/bbitset.h