mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
* bootstrap (gnulib_modules): Add verify.
* lib/.cvsignore: Add verify.h. * src/getargs.c: Use ARGMATCH_VERIFY rather than verify. * src/system.h (verify): Remove. Include verify.h instead. * src/tables.c (tables_generate): Use new API for 'verify'.
This commit is contained in:
@@ -30,9 +30,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
/* Verify a requirement at compile-time (unlike assert, which is runtime). */
|
||||
#define verify(name, assertion) struct name {char name[(assertion) ? 1 : -1];}
|
||||
|
||||
#if HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
@@ -54,6 +51,7 @@
|
||||
typedef size_t uintptr_t;
|
||||
#endif
|
||||
|
||||
#include <verify.h>
|
||||
#include <xalloc.h>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user