xref: /titanic_51/usr/src/lib/libpp/i386/ppdebug.h (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
1 /*
2 * preprocessor library debug maps
3 */
4 struct map
5 {
6 	char*	nam;
7 	long	val;
8 };
9 static struct map pplexmap[] =
10 {
11 	"PROTO", PROTO,
12 	"RES1", RES1,
13 	"RES1a", RES1a,
14 	"RES1e", RES1e,
15 	"RES1f", RES1f,
16 	"RES1h", RES1h,
17 	"RES1l", RES1l,
18 	"RES1n", RES1n,
19 	"RES1o", RES1o,
20 	"RES1t", RES1t,
21 	"RES1x", RES1x,
22 	"RES1y", RES1y,
23 	"COM1", COM1,
24 	"COM2", COM2,
25 	"COM3", COM3,
26 	"COM4", COM4,
27 	"COM5", COM5,
28 	"COM6", COM6,
29 	"COM7", COM7,
30 	"NID", NID,
31 	"LIT", LIT,
32 	"LIT1", LIT1,
33 	"LIT2", LIT2,
34 	"BAD1", BAD1,
35 	"BAD2", BAD2,
36 	"DOT", DOT,
37 	"DOT2", DOT2,
38 	"WS1", WS1,
39 	"QUICK", QUICK,
40 	"QTOK", QTOK,
41 	"QNUM", QNUM,
42 	"QEXP", QEXP,
43 	"QCOM", QCOM,
44 	"QID", QID,
45 	"MAC0", MAC0,
46 	"MACN", MACN,
47 	"HIT0", HIT0,
48 	"HITN", HITN,
49 	"LIT0", LIT0,
50 	"SHARP1", SHARP1,
51 	"TOKEN", TOKEN,
52 	"OCT1", OCT1,
53 	"OCT2", OCT2,
54 	"OCT3", OCT3,
55 	"NOT1", NOT1,
56 	"PCT1", PCT1,
57 	"AND1", AND1,
58 	"STAR1", STAR1,
59 	"PLUS1", PLUS1,
60 	"MINUS1", MINUS1,
61 	"ARROW1", ARROW1,
62 	"COLON1", COLON1,
63 	"LT1", LT1,
64 	"LSH1", LSH1,
65 	"EQ1", EQ1,
66 	"RSH1", RSH1,
67 	"GT1", GT1,
68 	"CIRC1", CIRC1,
69 	"OR1", OR1,
70 	"DEC1", DEC1,
71 	"DEC2", DEC2,
72 	"HEX1", HEX1,
73 	"HEX2", HEX2,
74 	"HEX3", HEX3,
75 	"HEX4", HEX4,
76 	"HEX5", HEX5,
77 	"HEX6", HEX6,
78 	"HEX7", HEX7,
79 	"HEX8", HEX8,
80 	"DBL1", DBL1,
81 	"DBL2", DBL2,
82 	"DBL3", DBL3,
83 	"DBL4", DBL4,
84 	"DBL5", DBL5,
85 	"DOT1", DOT1,
86 	"HDR1", HDR1,
87 	"BIN1", BIN1,
88 	"TERMINAL", TERMINAL,
89 	"S_CHRB", S_CHRB,
90 	"S_COMMENT", S_COMMENT,
91 	"S_EOB", S_EOB,
92 	"S_LITBEG", S_LITBEG,
93 	"S_LITEND", S_LITEND,
94 	"S_LITESC", S_LITESC,
95 	"S_MACRO", S_MACRO,
96 	"S_NL", S_NL,
97 	"S_QUAL", S_QUAL,
98 	"S_SHARP", S_SHARP,
99 	"S_VS", S_VS,
100 	"S_CHR", S_CHR,
101 	"S_HUH", S_HUH,
102 	"S_TOK", S_TOK,
103 	"S_TOKB", S_TOKB,
104 	"S_WS", S_WS,
105 	"S_RESERVED", S_RESERVED,
106 };
107 static struct map ppstatemap[] =
108 {
109 	"ADD", ADD,
110 	"COLLECTING", COLLECTING,
111 	"COMPATIBILITY", COMPATIBILITY,
112 	"COMPILE", COMPILE,
113 	"CONDITIONAL", CONDITIONAL,
114 	"DEFINITION", DEFINITION,
115 	"DIRECTIVE", DIRECTIVE,
116 	"DISABLE", DISABLE,
117 	"EOF2NL", EOF2NL,
118 	"ESCAPE", ESCAPE,
119 	"FILEPOP", FILEPOP,
120 	"HEADER", HEADER,
121 	"HIDDEN", HIDDEN,
122 	"JOINING", JOINING,
123 	"NEWLINE", NEWLINE,
124 	"NOEXPAND", NOEXPAND,
125 	"NOSPACE", NOSPACE,
126 	"NOTEXT", NOTEXT,
127 	"NOVERTICAL", NOVERTICAL,
128 	"PASSEOF", PASSEOF,
129 	"PASSTHROUGH", PASSTHROUGH,
130 	"QUOTE", QUOTE,
131 	"SKIPCONTROL", SKIPCONTROL,
132 	"SKIPMACRO", SKIPMACRO,
133 	"SPACEOUT", SPACEOUT,
134 	"SQUOTE", SQUOTE,
135 	"STANDALONE", STANDALONE,
136 	"STRICT", STRICT,
137 	"STRIP", STRIP,
138 	"SYNCLINE", SYNCLINE,
139 	"TRANSITION", TRANSITION,
140 	"WARN", WARN,
141 };
142 static struct map ppmodemap[] =
143 {
144 	"ALLMULTIPLE", ALLMULTIPLE,
145 	"BUILTIN", BUILTIN,
146 	"CATLITERAL", CATLITERAL,
147 	"DUMP", DUMP,
148 	"EXPOSE", EXPOSE,
149 	"EXTERNALIZE", EXTERNALIZE,
150 	"FILEDEPS", FILEDEPS,
151 	"GENDEPS", GENDEPS,
152 	"HEADERDEPS", HEADERDEPS,
153 	"HOSTED", HOSTED,
154 	"HOSTEDTRANSITION", HOSTEDTRANSITION,
155 	"INACTIVE", INACTIVE,
156 	"INIT", INIT,
157 	"LOADING", LOADING,
158 	"MARKC", MARKC,
159 	"MARKHOSTED", MARKHOSTED,
160 	"MARKMACRO", MARKMACRO,
161 	"PEDANTIC", PEDANTIC,
162 	"READONLY", READONLY,
163 	"RELAX", RELAX,
164 };
165 static struct map ppoptionmap[] =
166 {
167 	"ELSEIF", ELSEIF,
168 	"FINAL", FINAL,
169 	"HEADEREXPAND", HEADEREXPAND,
170 	"HEADEREXPANDALL", HEADEREXPANDALL,
171 	"IGNORELINE", IGNORELINE,
172 	"INITIAL", INITIAL,
173 	"KEEPNOTEXT", KEEPNOTEXT,
174 	"KEYARGS", KEYARGS,
175 	"MODERN", MODERN,
176 	"NATIVE", NATIVE,
177 	"NOHASH", NOHASH,
178 	"NOISE", NOISE,
179 	"NOISEFILTER", NOISEFILTER,
180 	"NOPROTO", NOPROTO,
181 	"PLUSCOMMENT", PLUSCOMMENT,
182 	"PLUSPLUS", PLUSPLUS,
183 	"PLUSSPLICE", PLUSSPLICE,
184 	"PRAGMAEXPAND", PRAGMAEXPAND,
185 	"PREDEFINED", PREDEFINED,
186 	"PREDEFINITIONS", PREDEFINITIONS,
187 	"PREFIX", PREFIX,
188 	"PRESERVE", PRESERVE,
189 	"PROTOTYPED", PROTOTYPED,
190 	"REGUARD", REGUARD,
191 	"SPLICECAT", SPLICECAT,
192 	"SPLICESPACE", SPLICESPACE,
193 	"STRINGSPAN", STRINGSPAN,
194 	"STRINGSPLIT", STRINGSPLIT,
195 	"TRUNCATE", TRUNCATE,
196 	"ZEOF", ZEOF,
197 };
198 static struct map ppinmap[] =
199 {
200 	"BUFFER", IN_BUFFER,
201 	"COPY", IN_COPY,
202 	"EXPAND", IN_EXPAND,
203 	"FILE", IN_FILE,
204 	"INIT", IN_INIT,
205 	"MACRO", IN_MACRO,
206 	"MULTILINE", IN_MULTILINE,
207 	"QUOTE", IN_QUOTE,
208 	"RESCAN", IN_RESCAN,
209 	"SQUOTE", IN_SQUOTE,
210 	"STRING", IN_STRING,
211 };
212