]> git.saurik.com Git - bison.git/commit - ChangeLog
portability: don't assume 8-bit bytes.
authorJoel E. Denny <jdenny@clemson.edu>
Fri, 16 Oct 2009 23:20:43 +0000 (19:20 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Fri, 16 Oct 2009 23:40:38 +0000 (19:40 -0400)
commit61747047da2bb7e64c560f9bbdc5f194c81e3702
tree6257694bb0da91291fed4b8b2482eef4ddd8df93
parenta70596de9594b777f3fffb822f8f569ded772557
portability: don't assume 8-bit bytes.

That is, use CHAR_BIT and UCHAR_MAX instead of 8 and 0xff.
* src/Sbitset.h (Sbitset__nbytes): Here.
(Sbitset__byteAddress): Here.
(Sbitset__bit_mask): Here.
(Sbitset__last_byte_mask): Here.
(Sbitset__ones): Here.
(SBITSET__FOR_EACH): Here.
(cherry picked from commit 175620d3c65209ce72e451bd75756f6bb67e33a1)
ChangeLog
src/Sbitset.h