Annotation of src/usr.bin/compile_et/compiler.h, Revision 1.1
1.1 ! downsj 1: /* $OpenBSD$ */
! 2:
! 3: /*
! 4: * definitions common to the source files of the error table compiler
! 5: */
! 6:
! 7: #ifndef __STDC__
! 8: /* loser */
! 9: #undef const
! 10: #define const
! 11: #endif
! 12:
! 13: enum lang {
! 14: lang_C, /* ANSI C (default) */
! 15: lang_KRC, /* C: ANSI + K&R */
! 16: lang_CPP /* C++ */
! 17: };
! 18:
! 19: int debug; /* dump debugging info? */
! 20: char *filename; /* error table source */
! 21: enum lang language;
! 22: const char *whoami;