Commit | Line | Data |
---|---|---|
15637ed4 RG |
1 | /* $Header: debug.h,v 2.1 88/09/19 12:56:16 nhall Exp $ */ |
2 | /* $Source: /var/home/tadl/src/argo/xebec/RCS/debug.h,v $ */ | |
3 | ||
4 | #define OUT stdout | |
5 | ||
6 | extern int debug[128]; | |
7 | ||
8 | #ifdef DEBUG | |
9 | extern int column; | |
10 | ||
11 | #define IFDEBUG(letter) \ | |
12 | if(debug['letter']) { | |
13 | #define ENDDEBUG ; (void) fflush(stdout);} | |
14 | ||
15 | #else | |
16 | ||
17 | #define STAR * | |
18 | #define IFDEBUG(letter) //*beginning of comment*/STAR | |
19 | #define ENDDEBUG STAR/*end of comment*// | |
20 | ||
21 | #endif DEBUG | |
22 |