bison/lib ebitset.c

Paul Eggert <[email protected]>
Newsgroups gmane.comp.parsers.bison.cvs
Message-ID <[email protected]>
CVSROOT:	/cvsroot/bison
Module name:	bison
Changes by:	Paul Eggert <[email protected]>	02/10/02 03:57:25

Modified files:
	lib            : ebitset.c 

Log message:
	(ebitset_size, ebitset_list, ebitset_list_reverse):
	Use bitset_bindex, not int or unsigned int or size_t, to count bits.
	
	(ebitset_bytes): Use size_t, not unsigned int, to count bytes.
	
	(struct ebitset_struct.size, ebitset_elts_grow,
	ebitset_elt_add, ebitset_elt_remove, ebitset_weed,
	ebitset_elt_find, ebitset_list_reverse, ebitset_list, ebitset_init):
	Use bitset_windex instead of unsigned int.
	
	(ebitset_elts_grow): Check for arithmetic overflow when computing sizes.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/lib/ebitset.c.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.