Do not include <assert.h>.

(verify): New macro.
This commit is contained in:
Paul Eggert
2002-11-21 05:24:53 +00:00
parent 2f82502a6f
commit 87aabbff99

View File

@@ -1,4 +1,4 @@
/* system-dependent definitions for Bison.
/* System-dependent definitions for Bison.
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -41,7 +41,8 @@ char *alloca ();
#include <stdio.h>
#include <assert.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>