mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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 175620d3c6)
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2009-10-16 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
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.
|
||||
|
||||
2009-10-11 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
portability: use va_start and va_end in the same function.
|
||||
|
||||
Reference in New Issue
Block a user