]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | /* |
c0de361f | 2 | ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003. |
885824d3 | 3 | ** See ../LICENSE for license information. |
4 | ** | |
5 | */ | |
6 | ||
7 | # ifndef BASIC_H | |
8 | # define BASIC_H | |
9 | ||
8fe44445 | 10 | # ifdef HAVE_CONFIG_H |
4dd72714 | 11 | # ifdef WIN32 |
898d4ae5 | 12 | /* BCC32 Contributed by Scott Frazer */ |
13 | # ifdef BCC32 | |
14 | # include "../../bcc32/bcc32_config.h" | |
15 | # else | |
4dd72714 | 16 | /* Win32 uses its own hand-generated config file */ |
17 | # include "../../winconfig.h" | |
898d4ae5 | 18 | # endif |
4dd72714 | 19 | # else |
899dbcf7 | 20 | # include "../../config.h" |
4dd72714 | 21 | # endif |
899dbcf7 | 22 | # else |
23 | # error "No config.h file!" | |
8fe44445 | 24 | # endif |
25 | ||
885824d3 | 26 | # include <stdlib.h> |
28bf4b0b | 27 | # include <stdio.h> |
4caf866b | 28 | |
6ee276d2 | 29 | # if !defined (WIN32) && !(defined (OS2) && defined (__IBMC__)) |
4caf866b | 30 | /* Microsoft VC++ still doesn't support ISO C99... */ |
0bd4c301 | 31 | # include <stdbool.h> |
4caf866b | 32 | # endif |
33 | ||
6ee276d2 | 34 | #if defined (OS2) && defined (__IBMC__) |
35 | extern int snprintf (char *str, size_t count, const char *fmt, ...); | |
36 | #endif | |
37 | ||
885824d3 | 38 | # include <string.h> |
39 | # include <ctype.h> | |
40 | # include <float.h> | |
53a89507 | 41 | # include <limits.h> |
885824d3 | 42 | # include "general.h" |
43 | # include "ynm.h" | |
44 | # include "message.h" | |
45 | # include "fileloc.h" | |
46 | # include "globals.h" | |
b072092f | 47 | # include "cpp.h" |
6fcd0b1e | 48 | # include "cstringSList.h" |
49 | # include "cstringList.h" | |
28bf4b0b | 50 | # include "flag_codes.h" |
51 | # include "flags.h" | |
52 | # include "flagSpec.h" | |
885824d3 | 53 | # include "qual.h" |
54 | # include "lltok.h" | |
55 | # include "clause.h" | |
28bf4b0b | 56 | # include "globalsClause.h" |
57 | # include "modifiesClause.h" | |
58 | # include "warnClause.h" | |
59 | # include "functionClause.h" | |
60 | # include "functionClauseList.h" | |
885824d3 | 61 | # include "llerror.h" |
28bf4b0b | 62 | # include "fileLib.h" |
63 | # include "inputStream.h" | |
885824d3 | 64 | # include "qualList.h" |
f9264521 | 65 | # include "pointers.h" |
885824d3 | 66 | # include "code.h" |
67 | # include "mapping.h" | |
68 | # include "sort.h" | |
69 | # include "lclctypes.h" | |
70 | # include "paramNode.h" | |
71 | # include "paramNodeList.h" | |
72 | # include "lsymbol.h" | |
73 | # include "abstract.h" | |
74 | # include "symtable.h" | |
885824d3 | 75 | # include "exprNodeList.h" |
76 | # include "cprim.h" | |
28bf4b0b | 77 | # include "cstringTable.h" |
78 | # include "genericTable.h" | |
885824d3 | 79 | # include "filelocList.h" |
80 | # include "enumNameList.h" | |
81 | # include "enumNameSList.h" | |
82 | # include "varKinds.h" | |
83 | # include "sRefSet.h" | |
84 | # include "ekind.h" | |
b73d1009 | 85 | # include "usymId.h" |
86 | # include "typeId.h" | |
885824d3 | 87 | # include "usymIdSet.h" |
28bf4b0b | 88 | # include "sRefList.h" |
885824d3 | 89 | # include "uentryList.h" |
90 | # include "globSet.h" | |
91 | # include "ctypeList.h" | |
92 | # include "aliasTable.h" | |
28bf4b0b | 93 | # include "reader.h" |
885824d3 | 94 | # include "usymtab.h" |
95 | # include "lctype.h" | |
96 | # include "qtype.h" | |
97 | # include "idDecl.h" | |
98 | # include "multiVal.h" | |
28bf4b0b | 99 | # include "stateClause.h" |
100 | # include "stateClauseList.h" | |
885824d3 | 101 | # include "uentry.h" |
28bf4b0b | 102 | # include "stateInfo.h" |
103 | # include "stateValue.h" | |
104 | # include "valueTable.h" | |
885824d3 | 105 | # include "sRef.h" |
106 | # include "guardSet.h" | |
6e88de2d | 107 | # include "constraintTerm.h" |
108 | # include "constraintExprData.h" | |
109 | # include "constraintExpr.h" | |
a0a162cd | 110 | # include "constraint.h" |
6e88de2d | 111 | # include "constraintList.h" |
885824d3 | 112 | # include "exprNode.h" |
a0a162cd | 113 | # include "exprData.h" |
885824d3 | 114 | # include "typeIdSet.h" |
115 | # include "idDeclList.h" | |
116 | # include "clabstract.h" | |
117 | # include "sRefSetList.h" | |
118 | # include "flagMarker.h" | |
119 | # include "flagMarkerList.h" | |
120 | # include "macrocache.h" | |
121 | # include "fileTable.h" | |
122 | # include "messageLog.h" | |
123 | # include "clauseStack.h" | |
28bf4b0b | 124 | # include "stateCombinationTable.h" |
12f2ffe9 | 125 | # include "mtincludes.h" |
3814599d | 126 | # include "functionConstraint.h" |
140c27a8 | 127 | # include "fileIdList.h" |
885824d3 | 128 | # include "context.h" |
129 | # include "constants.h" | |
b73d1009 | 130 | # include "llglobals.h" |
885824d3 | 131 | |
132 | # else | |
133 | # error "Multiple include" | |
134 | # endif | |
135 |