[BACK]Return to compiler.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / compile_et

File: [local] / src / usr.bin / compile_et / Attic / compiler.h (download)

Revision 1.1, Mon Nov 11 05:06:34 1996 UTC (27 years, 6 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1

compile_et now resides in /usr/libexec.

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