summaryrefslogtreecommitdiff
path: root/usr.bin/compile_et/compiler.h
blob: d8bce211a1cec5d3a65c3e0cf87b3763981642d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*	$OpenBSD: compiler.h,v 1.1 1996/11/11 05:06:34 downsj Exp $	*/

/*
 * 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;