diff options
author | wollman <wollman@FreeBSD.org> | 1995-01-14 22:29:34 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-01-14 22:29:34 +0000 |
commit | 479760c2d1e817f812fa71973482213f15d0a540 (patch) | |
tree | b01b2a189f9952f13c52aad71fdcd992d8148f0a /usr.bin/compile_et/compiler.h | |
parent | 93bd3ddd3ca7c6ac68b55ec30b39a3930a084aba (diff) | |
download | FreeBSD-src-479760c2d1e817f812fa71973482213f15d0a540.zip FreeBSD-src-479760c2d1e817f812fa71973482213f15d0a540.tar.gz |
Upgrade to latest released SIPB version I can find. (Unfortunately, the
original releases were not numbered.)
Diffstat (limited to 'usr.bin/compile_et/compiler.h')
-rw-r--r-- | usr.bin/compile_et/compiler.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.bin/compile_et/compiler.h b/usr.bin/compile_et/compiler.h new file mode 100644 index 0000000..43752e2 --- /dev/null +++ b/usr.bin/compile_et/compiler.h @@ -0,0 +1,20 @@ +/* + * 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; |