]> git.saurik.com Git - bison.git/commit - lib/lbitset.c
(lbitset_size, lbitset_list, lbitset_list_merge):
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Oct 2002 08:00:19 +0000 (08:00 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Oct 2002 08:00:19 +0000 (08:00 +0000)
commit5c319390d75e380e609d2eebff28be37e6f7a21a
tree863613386f52417eeb2f984b39f56a0063ae0eef
parenteffda851f67bff8c725df4b5a9219f32a50f939f
(lbitset_size, lbitset_list, lbitset_list_merge):
Use bitset_bindex, not int or unsigned int or size_t, to count bits.

(lbitset_bytes): Use size_t, not unsigned int, to count bytes.
Use proper printf formats for widths of integer types.

(lbitset_ones, lbitset_not): Use bitset_windex instead of unsigned int.

(lbitset_elt_find): Simplify windex calculation and avoid cast to unsigned.
lib/lbitset.c