1994-06-29 10:39:25 +04:00
|
|
|
/* $NetBSD: debug.h,v 1.4 1994/06/29 06:41:00 cgd Exp $ */
|
1993-04-09 16:00:07 +04:00
|
|
|
|
|
|
|
#define OUT stdout
|
|
|
|
|
|
|
|
extern int debug[128];
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
extern int column;
|
|
|
|
|
|
|
|
#define IFDEBUG(letter) \
|
|
|
|
if(debug['letter']) {
|
|
|
|
#define ENDDEBUG ; (void) fflush(stdout);}
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define STAR *
|
|
|
|
#define IFDEBUG(letter) //*beginning of comment*/STAR
|
|
|
|
#define ENDDEBUG STAR/*end of comment*//
|
|
|
|
|
|
|
|
#endif DEBUG
|
|
|
|
|