-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefs.h
42 lines (32 loc) · 911 Bytes
/
defs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef DEFS_H
#define DEFS_H
/****************************************************************/
/* */
/* CSCE531 - Simplified "C++" Compiler */
/* */
/* --defs.h-- */
/* */
/* This file contains general definitions for csce 531 */
/* simplified C++ compiler. */
/* */
/* */
/* */
/****************************************************************/
typedef int BOOLEAN;
#define TRUE 1
#define FALSE 0
#ifndef NULL
#define NULL 0
#endif
typedef void * ST_ID; /* symbol table identifier abstraction */
/* The current back-end include file */
#define BACKEND_HEADER_FILE "backend-x86.h"
/* What system are we on? */
#define SYS_LINUX
/* What is the source language? */
#undef PASCAL_LANG
/* Un-comment the next line for compiling Pascal */
/* #define PASCAL_LANG */
/* Remove comments to generate a parser trace: */
/*#define YYDEBUG 1*/
#endif