summaryrefslogtreecommitdiffstats
path: root/src/util/et/compiler.h
blob: 8b701440572eb203dc5df02dc3dc53e7be4e09fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
 * definitions common to the source files of the error table compiler
 */

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;