mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 14:29:28 +00:00
21 lines
379 B
C
21 lines
379 B
C
|
/*
|
||
|
* definitions common to the source files of the error table compiler
|
||
|
*/
|
||
|
|
||
|
#ifndef __STDC__
|
||
|
/* loser */
|
||
|
#undef const
|
||
|
#define const
|
||
|
#endif
|
||
|
|
||
|
enum lang {
|
||
|
lang_C, /* ANSI C (default) */
|
||
|
lang_KRC, /* C: ANSI + K&R */
|
||
|
lang_CPP /* C++ */
|
||
|
};
|
||
|
|
||
|
int debug; /* dump debugging info? */
|
||
|
char *filename; /* error table source */
|
||
|
enum lang language;
|
||
|
const char *whoami;
|