]> git.saurik.com Git - bison.git/commit - lib/abitset.c
Fix some porting glitches found by Nelson H. F. Beebe.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Jan 2006 01:59:30 +0000 (01:59 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Jan 2006 01:59:30 +0000 (01:59 +0000)
commitc21493b89f5f5dd49e1f46d311326d5d4f49f8a4
treea3a30b563c1c59e8c246c4799e62d18ea8c117f7
parentb6e3facf99b007dc0ccb9c615f6d9aba8d14a73f
Fix some porting glitches found by Nelson H. F. Beebe.
* lib/abitset.c (abitset_resize): Rewrite to avoid warnings from
compilers that don't understand that abort () does not return.
* src/state.c (transitions_to): Likewise.
* m4/cxx.m4 (BISON_TEST_FOR_WORKING_CXX_COMPILER): Check
that '#include <cstdlib>' works.
* src/system.h (INT8_MIN, INT16_MIN, INT32_MIN, INT8_MAX):
(INT16_MAX, UINT8_MAX, INT32_MAX, UINT16_MAX, UINT32_MAX):
#undef if ! defined __STDC_VERSION__ || __STDC_VERSION__ < 199901,
for the benefit of some pre-C99 compilers.
ChangeLog
lib/abitset.c
m4/cxx.m4
src/state.c
src/system.h