]> pd.if.org Git - pccts/blob - antlr/err.c
auto commit for import
[pccts] / antlr / err.c
1 /*
2  * A n t l r  S e t s / E r r o r  F i l e  H e a d e r
3  *
4  * Generated from: antlr.g
5  *
6  * Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-1995
7  * Parr Research Corporation
8  * with Purdue University Electrical Engineering
9  * With AHPCRC, University of Minnesota
10  * ANTLR Version 1.32
11  */
12
13 #include <stdio.h>
14 #define ANTLR_VERSION   132
15
16 #ifdef __cplusplus
17 #ifndef __STDC__
18 #define __STDC__
19 #endif
20 #endif
21 #include "set.h"
22 #include <ctype.h>
23 #include "syn.h"
24 #include "hash.h"
25 #include "generic.h"
26 #define zzcr_attr(attr,tok,t)
27 #define zzSET_SIZE 20
28 #include "antlr.h"
29 #include "tokens.h"
30 #include "dlgdef.h"
31 #include "err.h"
32
33 ANTLRChar *zztokens[146]={
34         /* 00 */        "Invalid",
35         /* 01 */        "Eof",
36         /* 02 */        "QuotedTerm",
37         /* 03 */        "[\\n\\r]",
38         /* 04 */        "\\[\\n\\r]",
39         /* 05 */        "\\~[]",
40         /* 06 */        "~[\\n\\r\"\\]+",
41         /* 07 */        "\"",
42         /* 08 */        "[\\n\\r]",
43         /* 09 */        "\\[\\n\\r]",
44         /* 10 */        "\\~[]",
45         /* 11 */        "~[\\n\\r\"\\]+",
46         /* 12 */        "'",
47         /* 13 */        "[\\n\\r]",
48         /* 14 */        "\\~[]",
49         /* 15 */        "~[\\n\\r'\\]+",
50         /* 16 */        "\\*/",
51         /* 17 */        "\\*",
52         /* 18 */        "[\\n\\r]",
53         /* 19 */        "~[\\n\\r\\*]+",
54         /* 20 */        "\\*/",
55         /* 21 */        "\\*",
56         /* 22 */        "[\\n\\r]",
57         /* 23 */        "~[\\n\\r\\*]+",
58         /* 24 */        "[\\n\\r]",
59         /* 25 */        "~[\\n\\r]+",
60         /* 26 */        "[\\n\\r]",
61         /* 27 */        "~[\\n\\r]+",
62         /* 28 */        "[\\n\\r]",
63         /* 29 */        "~[\\n\\r]+",
64         /* 30 */        "\\*/",
65         /* 31 */        "\\*",
66         /* 32 */        "[\\n\\r]",
67         /* 33 */        "~[\\n\\r\\*]+",
68         /* 34 */        "Action",
69         /* 35 */        "Pred",
70         /* 36 */        "PassAction",
71         /* 37 */        "consumeUntil\\( [\\ \\t]* \\{~[\\}]+\\} [\\ \\t]* \\)",
72         /* 38 */        "consumeUntil\\( ~[\\)]+ \\)",
73         /* 39 */        "[\\n\\r]",
74         /* 40 */        "\\>",
75         /* 41 */        "$",
76         /* 42 */        "$$",
77         /* 43 */        "$\\[\\]",
78         /* 44 */        "$\\[",
79         /* 45 */        "$[0-9]+",
80         /* 46 */        "$[0-9]+.",
81         /* 47 */        "$[0-9]+.[0-9]+",
82         /* 48 */        "$[_a-zA-Z][_a-zA-Z0-9]*",
83         /* 49 */        "#0",
84         /* 50 */        "#\\[\\]",
85         /* 51 */        "#\\(\\)",
86         /* 52 */        "#[0-9]+",
87         /* 53 */        "#[_a-zA-Z][_a-zA-Z0-9]*",
88         /* 54 */        "#\\[",
89         /* 55 */        "#\\(",
90         /* 56 */        "#",
91         /* 57 */        "\\)",
92         /* 58 */        "\\[",
93         /* 59 */        "\\(",
94         /* 60 */        "\\\\]",
95         /* 61 */        "\\\\)",
96         /* 62 */        "\\>",
97         /* 63 */        "'",
98         /* 64 */        "\"",
99         /* 65 */        "\\$",
100         /* 66 */        "\\#",
101         /* 67 */        "\\[\\n\\r]",
102         /* 68 */        "\\~[\\]\\)>$#]",
103         /* 69 */        "/",
104         /* 70 */        "/\\*",
105         /* 71 */        "\\*/",
106         /* 72 */        "//",
107         /* 73 */        "~[\\n\\r\\)\\(\\$#\\>\\]\\[\"'/]+",
108         /* 74 */        "[\\t\\ ]+",
109         /* 75 */        "[\\n\\r]",
110         /* 76 */        "\\[",
111         /* 77 */        "\\<\\<",
112         /* 78 */        "\"",
113         /* 79 */        "/\\*",
114         /* 80 */        "\\*/",
115         /* 81 */        "//",
116         /* 82 */        "\\>\\>",
117         /* 83 */        "WildCard",
118         /* 84 */        "\\@",
119         /* 85 */        "LABEL",
120         /* 86 */        "grammar-element",
121         /* 87 */        "meta-symbol",
122         /* 88 */        "#header",
123         /* 89 */        "#parser",
124         /* 90 */        "#tokdefs",
125         /* 91 */        "\\}",
126         /* 92 */        "class",
127         /* 93 */        "NonTerminal",
128         /* 94 */        "TokenTerm",
129         /* 95 */        "\\{",
130         /* 96 */        "!",
131         /* 97 */        "\\<",
132         /* 98 */        "\\>",
133         /* 99 */        ":",
134         /* 100 */       ";",
135         /* 101 */       "#lexaction",
136         /* 102 */       "#lexclass",
137         /* 103 */       "#errclass",
138         /* 104 */       "#tokclass",
139         /* 105 */       "#token",
140         /* 106 */       "=",
141         /* 107 */       "[0-9]+",
142         /* 108 */       "\\|",
143         /* 109 */       "\\~",
144         /* 110 */       "..",
145         /* 111 */       "^",
146         /* 112 */       "#pragma",
147         /* 113 */       "approx",
148         /* 114 */       "LL(1)",
149         /* 115 */       "LL(2)",
150         /* 116 */       "\\(",
151         /* 117 */       "\\)",
152         /* 118 */       "\\*",
153         /* 119 */       "\\+",
154         /* 120 */       "?",
155         /* 121 */       "=>",
156         /* 122 */       "exception",
157         /* 123 */       "default",
158         /* 124 */       "catch",
159         /* 125 */       "#[A-Za-z0-9_]*",
160         /* 126 */       "[\\t\\ ]+",
161         /* 127 */       "[\\n\\r]",
162         /* 128 */       "//",
163         /* 129 */       "/\\*",
164         /* 130 */       "#ifdef",
165         /* 131 */       "#if",
166         /* 132 */       "#ifndef",
167         /* 133 */       "#else",
168         /* 134 */       "#endif",
169         /* 135 */       "#undef",
170         /* 136 */       "#import",
171         /* 137 */       "ID",
172         /* 138 */       "#define",
173         /* 139 */       "INT",
174         /* 140 */       "enum",
175         /* 141 */       "\\{",
176         /* 142 */       "=",
177         /* 143 */       ",",
178         /* 144 */       "\\}",
179         /* 145 */       ";"
180 };
181 SetWordType zzerr1[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
182         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
183 SetWordType setwd1[146] = {0x0,0xb0,0x0,0x0,0x0,0x0,0x0,
184         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
185         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
186         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
187         0x0,0x0,0x0,0xaa,0x0,0x40,0x0,0x0,
188         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
189         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
190         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
191         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
192         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
193         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
194         0x0,0x1,0x1,0x1,0xae,0xae,0xa4,0x0,
195         0x0,0x0,0x40,0x0,0x0,0x0,0xaa,0xa6,
196         0xae,0xae,0xa6,0x0,0x0,0x0,0x0,0x0,
197         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
198         0x0,0x0,0x0,0x22,0x0,0x0,0x0,0x0,
199         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
200         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
201         0x0,0x0,0x0};
202 SetWordType zzerr2[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
203         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
204 SetWordType zzerr3[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
205         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
206 SetWordType zzerr4[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
207         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
208 SetWordType zzerr5[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
209         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
210 SetWordType setwd2[146] = {0x0,0x6b,0x14,0x0,0x0,0x0,0x0,
211         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
212         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
213         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
214         0x0,0x0,0x0,0x6b,0x0,0x0,0x0,0x0,
215         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
216         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
217         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
218         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
219         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
220         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
221         0x0,0x0,0x0,0x0,0xeb,0x6b,0x6f,0x14,
222         0x0,0x0,0x0,0x0,0x0,0x80,0x6b,0x6b,
223         0x6b,0x6b,0x6b,0x0,0x0,0x0,0x0,0x0,
224         0x0,0x0,0x0,0x0,0x0,0x0,0x80,0x0,
225         0x0,0x0,0x0,0x6b,0x0,0x0,0x0,0x0,
226         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
227         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
228         0x0,0x0,0x0};
229 SetWordType zzerr6[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
230         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
231 SetWordType zzerr7[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0xd0,0x0,
232         0x0,0x0,0x0,0x4, 0x0,0x0,0x0,0x0};
233 SetWordType zzerr8[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x40,
234         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
235 SetWordType zzerr9[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0xd0,0x0,
236         0x0,0x0,0x0,0x4, 0x0,0x0,0x0,0x0};
237 SetWordType zzerr10[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0xc0,0x0,
238         0x0,0x0,0x0,0x4, 0x0,0x0,0x0,0x0};
239 SetWordType zzerr11[20] = {0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x8,0x60,
240         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
241 SetWordType setwd3[146] = {0x0,0x0,0x7d,0x0,0x0,0x0,0x0,
242         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
243         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
244         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
245         0x0,0x0,0x0,0x71,0x71,0xf1,0x0,0x0,
246         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
247         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
248         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
249         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
250         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
251         0x0,0x0,0x0,0x0,0x7d,0x30,0x79,0x0,
252         0x0,0x0,0x0,0x0,0x72,0x0,0x7d,0x7d,
253         0x71,0x0,0x80,0x71,0x0,0x72,0x0,0x0,
254         0x0,0x0,0x0,0x0,0x0,0x72,0x71,0x0,
255         0x0,0x71,0x0,0x0,0x0,0x71,0x72,0x71,
256         0x71,0x0,0x0,0x72,0x0,0x0,0x0,0x0,
257         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
258         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
259         0x0,0x0,0x0};
260 SetWordType zzerr12[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
261         0x0,0x0,0xe,0x0, 0x0,0x0,0x0,0x0};
262 SetWordType zzerr13[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x40,0x8,
263         0x10,0x30,0x20,0x6, 0x0,0x0,0x0,0x0};
264 SetWordType zzerr14[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x40,0x8,
265         0x10,0x30,0x20,0x5, 0x0,0x0,0x0,0x0};
266 SetWordType zzerr15[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x80,
267         0x0,0x0,0x10,0x0, 0x0,0x0,0x0,0x0};
268 SetWordType zzerr16[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x40,0x0,
269         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
270 SetWordType zzerr17[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x60,
271         0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0};
272 SetWordType zzerr18[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
273         0x0,0x0,0x0,0x0, 0x0,0x14,0x0,0x0};
274 SetWordType zzerr19[20] = {0x2,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
275         0x0,0x0,0x0,0x0, 0x10,0x14,0x0,0x0};
276 SetWordType setwd4[146] = {0x0,0x60,0xe,0x0,0x0,0x0,0x0,
277         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
278         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
279         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
280         0x0,0x0,0x0,0x7e,0xe,0xe,0x0,0x0,
281         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
282         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
283         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
284         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
285         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
286         0x0,0x0,0x0,0x0,0xe,0x0,0xe,0x0,
287         0x0,0x0,0x0,0x0,0x7e,0x70,0x7e,0xe,
288         0xf,0x0,0x0,0xe,0x0,0x6e,0x70,0x70,
289         0x70,0x70,0x70,0x0,0x0,0x6e,0xe,0x0,
290         0x0,0xf,0x0,0x0,0x0,0xf,0x6e,0xe,
291         0xe,0x0,0x0,0x7e,0x40,0x40,0x0,0x0,
292         0x0,0x0,0x0,0x0,0x0,0x80,0x0,0x0,
293         0x0,0x0,0x0,0x80,0x0,0x80,0x0,0x0,
294         0x0,0x0,0x0};
295 SetWordType zzerr20[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
296         0x0,0x0,0x0,0x0, 0x0,0xc0,0x1,0x0};
297 SetWordType zzerr21[20] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,
298         0x0,0x0,0x0,0x0, 0x0,0xc0,0x1,0x0};
299 SetWordType setwd5[146] = {0x0,0x13,0x0,0x0,0x0,0x0,0x0,
300         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
301         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
302         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
303         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
304         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
305         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
306         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
307         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
308         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
309         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
310         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
311         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
312         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
313         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
314         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
315         0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
316         0x0,0x0,0x0,0x0,0x0,0x10,0x0,0x0,
317         0xc,0xc,0x0};