]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/compiler/core/lex-asn1.c
Security-54.1.7.tar.gz
[apple/security.git] / SecuritySNACCRuntime / compiler / core / lex-asn1.c
1 /* A lexical scanner generated by flex */
2
3 /* Scanner skeleton version:
4 * $Header: /cvs/root/Security/SecuritySNACCRuntime/compiler/core/Attic/lex-asn1.c,v 1.1 2001/06/20 21:27:57 dmitch Exp $
5 */
6
7 #define FLEX_SCANNER
8 #define YY_FLEX_MAJOR_VERSION 2
9 #define YY_FLEX_MINOR_VERSION 5
10
11 #include <stdio.h>
12
13
14 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
15 #ifdef c_plusplus
16 #ifndef __cplusplus
17 #define __cplusplus
18 #endif
19 #endif
20
21
22 #ifdef __cplusplus
23
24 #include <stdlib.h>
25 #include <unistd.h>
26
27 /* Use prototypes in function declarations. */
28 #define YY_USE_PROTOS
29
30 /* The "const" storage-class-modifier is valid. */
31 #define YY_USE_CONST
32
33 #else /* ! __cplusplus */
34
35 #if __STDC__
36
37 #define YY_USE_PROTOS
38 #define YY_USE_CONST
39
40 #endif /* __STDC__ */
41 #endif /* ! __cplusplus */
42
43 #ifdef __TURBOC__
44 #pragma warn -rch
45 #pragma warn -use
46 #include <io.h>
47 #include <stdlib.h>
48 #define YY_USE_CONST
49 #define YY_USE_PROTOS
50 #endif
51
52 #ifdef YY_USE_CONST
53 #define yyconst const
54 #else
55 #define yyconst
56 #endif
57
58
59 #ifdef YY_USE_PROTOS
60 #define YY_PROTO(proto) proto
61 #else
62 #define YY_PROTO(proto) ()
63 #endif
64
65 /* Returned upon end-of-file. */
66 #define YY_NULL 0
67
68 /* Promotes a possibly negative, possibly signed char to an unsigned
69 * integer for use as an array index. If the signed char is negative,
70 * we want to instead treat it as an 8-bit unsigned char, hence the
71 * double cast.
72 */
73 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
74
75 /* Enter a start condition. This macro really ought to take a parameter,
76 * but we do it the disgusting crufty way forced on us by the ()-less
77 * definition of BEGIN.
78 */
79 #define BEGIN yy_start = 1 + 2 *
80
81 /* Translate the current start state into a value that can be later handed
82 * to BEGIN to return to the state. The YYSTATE alias is for lex
83 * compatibility.
84 */
85 #define YY_START ((yy_start - 1) / 2)
86 #define YYSTATE YY_START
87
88 /* Action number for EOF rule of a given start state. */
89 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
90
91 /* Special action meaning "start processing a new file". */
92 #define YY_NEW_FILE yyrestart( yyin )
93
94 #define YY_END_OF_BUFFER_CHAR 0
95
96 /* Size of default input buffer. */
97 #define YY_BUF_SIZE 16384
98
99 typedef struct yy_buffer_state *YY_BUFFER_STATE;
100
101 extern int yyleng;
102 extern FILE *yyin, *yyout;
103
104 #define EOB_ACT_CONTINUE_SCAN 0
105 #define EOB_ACT_END_OF_FILE 1
106 #define EOB_ACT_LAST_MATCH 2
107
108 /* The funky do-while in the following #define is used to turn the definition
109 * int a single C statement (which needs a semi-colon terminator). This
110 * avoids problems with code like:
111 *
112 * if ( condition_holds )
113 * yyless( 5 );
114 * else
115 * do_something_else();
116 *
117 * Prior to using the do-while the compiler would get upset at the
118 * "else" because it interpreted the "if" statement as being all
119 * done when it reached the ';' after the yyless() call.
120 */
121
122 /* Return all but the first 'n' matched characters back to the input stream. */
123
124 #define yyless(n) \
125 do \
126 { \
127 /* Undo effects of setting up yytext. */ \
128 *yy_cp = yy_hold_char; \
129 YY_RESTORE_YY_MORE_OFFSET \
130 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
131 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
132 } \
133 while ( 0 )
134
135 #define unput(c) yyunput( c, yytext_ptr )
136
137 /* The following is because we cannot portably get our hands on size_t
138 * (without autoconf's help, which isn't available because we want
139 * flex-generated scanners to compile on their own).
140 */
141 typedef unsigned int yy_size_t;
142
143
144 struct yy_buffer_state
145 {
146 FILE *yy_input_file;
147
148 char *yy_ch_buf; /* input buffer */
149 char *yy_buf_pos; /* current position in input buffer */
150
151 /* Size of input buffer in bytes, not including room for EOB
152 * characters.
153 */
154 yy_size_t yy_buf_size;
155
156 /* Number of characters read into yy_ch_buf, not including EOB
157 * characters.
158 */
159 int yy_n_chars;
160
161 /* Whether we "own" the buffer - i.e., we know we created it,
162 * and can realloc() it to grow it, and should free() it to
163 * delete it.
164 */
165 int yy_is_our_buffer;
166
167 /* Whether this is an "interactive" input source; if so, and
168 * if we're using stdio for input, then we want to use getc()
169 * instead of fread(), to make sure we stop fetching input after
170 * each newline.
171 */
172 int yy_is_interactive;
173
174 /* Whether we're considered to be at the beginning of a line.
175 * If so, '^' rules will be active on the next match, otherwise
176 * not.
177 */
178 int yy_at_bol;
179
180 /* Whether to try to fill the input buffer when we reach the
181 * end of it.
182 */
183 int yy_fill_buffer;
184
185 int yy_buffer_status;
186 #define YY_BUFFER_NEW 0
187 #define YY_BUFFER_NORMAL 1
188 /* When an EOF's been seen but there's still some text to process
189 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
190 * shouldn't try reading from the input source any more. We might
191 * still have a bunch of tokens to match, though, because of
192 * possible backing-up.
193 *
194 * When we actually see the EOF, we change the status to "new"
195 * (via yyrestart()), so that the user can continue scanning by
196 * just pointing yyin at a new input file.
197 */
198 #define YY_BUFFER_EOF_PENDING 2
199 };
200
201 static YY_BUFFER_STATE yy_current_buffer = 0;
202
203 /* We provide macros for accessing buffer states in case in the
204 * future we want to put the buffer states in a more general
205 * "scanner state".
206 */
207 #define YY_CURRENT_BUFFER yy_current_buffer
208
209
210 /* yy_hold_char holds the character lost when yytext is formed. */
211 static char yy_hold_char;
212
213 static int yy_n_chars; /* number of characters read into yy_ch_buf */
214
215
216 int yyleng;
217
218 /* Points to current character in buffer. */
219 static char *yy_c_buf_p = (char *) 0;
220 static int yy_init = 1; /* whether we need to initialize */
221 static int yy_start = 0; /* start state number */
222
223 /* Flag which is used to allow yywrap()'s to do buffer switches
224 * instead of setting up a fresh yyin. A bit of a hack ...
225 */
226 static int yy_did_buffer_switch_on_eof;
227
228 void yyrestart YY_PROTO(( FILE *input_file ));
229
230 void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
231 void yy_load_buffer_state YY_PROTO(( void ));
232 YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
233 void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
234 void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
235 void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
236 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
237
238 YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
239 YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
240 YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
241
242 static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
243 static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
244 static void yy_flex_free YY_PROTO(( void * ));
245
246 #define yy_new_buffer yy_create_buffer
247
248 #define yy_set_interactive(is_interactive) \
249 { \
250 if ( ! yy_current_buffer ) \
251 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
252 yy_current_buffer->yy_is_interactive = is_interactive; \
253 }
254
255 #define yy_set_bol(at_bol) \
256 { \
257 if ( ! yy_current_buffer ) \
258 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
259 yy_current_buffer->yy_at_bol = at_bol; \
260 }
261
262 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
263
264 typedef unsigned char YY_CHAR;
265 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
266 typedef int yy_state_type;
267 extern char *yytext;
268 #define yytext_ptr yytext
269
270 static yy_state_type yy_get_previous_state YY_PROTO(( void ));
271 static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
272 static int yy_get_next_buffer YY_PROTO(( void ));
273 static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
274
275 /* Done after the current pattern has been matched and before the
276 * corresponding action - sets up yytext.
277 */
278 #define YY_DO_BEFORE_ACTION \
279 yytext_ptr = yy_bp; \
280 yyleng = (int) (yy_cp - yy_bp); \
281 yy_hold_char = *yy_cp; \
282 *yy_cp = '\0'; \
283 yy_c_buf_p = yy_cp;
284
285 #define YY_NUM_RULES 132
286 #define YY_END_OF_BUFFER 133
287 static yyconst short int yy_accept[698] =
288 { 0,
289 0, 0, 0, 0, 0, 0, 133, 132, 3, 132,
290 132, 8, 9, 5, 13, 4, 129, 128, 132, 16,
291 12, 126, 126, 126, 126, 126, 126, 126, 126, 126,
292 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
293 10, 11, 127, 6, 15, 7, 60, 122, 3, 0,
294 125, 0, 0, 0, 0, 128, 0, 0, 0, 126,
295 126, 126, 126, 126, 126, 126, 126, 97, 126, 126,
296 126, 126, 57, 126, 126, 126, 126, 126, 126, 126,
297 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
298 126, 25, 126, 126, 126, 126, 126, 126, 126, 126,
299
300 126, 126, 126, 126, 102, 126, 126, 126, 126, 0,
301 0, 0, 127, 123, 124, 0, 0, 131, 0, 0,
302 14, 0, 126, 126, 126, 126, 29, 126, 126, 0,
303 126, 126, 20, 126, 126, 126, 126, 126, 126, 126,
304 126, 126, 40, 126, 126, 126, 126, 126, 88, 126,
305 126, 126, 126, 126, 126, 126, 49, 48, 126, 126,
306 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
307 126, 126, 126, 126, 126, 126, 126, 26, 126, 126,
308 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
309 126, 126, 126, 1, 2, 0, 0, 126, 126, 126,
310
311 126, 126, 126, 126, 126, 69, 126, 126, 126, 126,
312 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
313 126, 126, 126, 126, 51, 126, 126, 126, 126, 126,
314 126, 126, 126, 23, 126, 126, 126, 126, 126, 126,
315 126, 94, 126, 126, 126, 46, 126, 126, 126, 126,
316 126, 126, 126, 126, 126, 50, 126, 126, 126, 126,
317 126, 17, 126, 126, 37, 126, 126, 126, 52, 0,
318 0, 126, 126, 126, 126, 126, 126, 126, 39, 0,
319 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
320 126, 126, 126, 67, 126, 126, 126, 38, 126, 126,
321
322 126, 120, 126, 126, 126, 126, 126, 22, 126, 126,
323 126, 126, 0, 93, 126, 126, 126, 126, 126, 126,
324 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
325 126, 126, 106, 126, 126, 126, 126, 0, 0, 55,
326 126, 116, 126, 61, 126, 126, 126, 126, 28, 85,
327 126, 126, 126, 126, 126, 126, 121, 126, 126, 126,
328 126, 65, 126, 126, 126, 126, 126, 126, 126, 126,
329 66, 0, 92, 126, 126, 100, 126, 126, 126, 126,
330 126, 126, 126, 96, 75, 126, 64, 126, 126, 126,
331 111, 117, 21, 126, 126, 115, 0, 126, 71, 126,
332
333 126, 0, 61, 126, 126, 126, 126, 126, 18, 126,
334 126, 126, 32, 56, 126, 126, 126, 126, 126, 126,
335 44, 126, 126, 45, 126, 126, 19, 126, 0, 0,
336 126, 126, 126, 126, 126, 54, 36, 126, 126, 126,
337 126, 126, 126, 126, 126, 126, 126, 126, 0, 126,
338 99, 0, 130, 0, 126, 126, 126, 63, 126, 126,
339 126, 87, 126, 90, 126, 126, 126, 42, 126, 27,
340 47, 126, 126, 0, 126, 126, 126, 31, 126, 126,
341 126, 126, 126, 126, 126, 24, 126, 126, 126, 126,
342 91, 126, 126, 0, 0, 126, 126, 109, 126, 126,
343
344 53, 0, 126, 126, 126, 110, 126, 86, 76, 126,
345 0, 126, 126, 62, 68, 126, 113, 98, 119, 77,
346 0, 112, 126, 0, 126, 126, 126, 34, 0, 0,
347 126, 126, 126, 126, 126, 126, 126, 70, 33, 0,
348 126, 126, 126, 43, 0, 84, 126, 0, 126, 126,
349 80, 126, 126, 89, 0, 126, 107, 126, 0, 0,
350 126, 126, 126, 126, 126, 126, 35, 0, 126, 41,
351 118, 126, 126, 0, 114, 126, 126, 126, 0, 126,
352 126, 0, 0, 126, 126, 126, 126, 126, 126, 0,
353 0, 126, 126, 126, 0, 126, 126, 126, 0, 126,
354
355 72, 0, 0, 101, 126, 126, 126, 126, 126, 126,
356 126, 0, 126, 126, 126, 0, 126, 58, 126, 0,
357 126, 0, 0, 104, 126, 126, 126, 126, 126, 126,
358 0, 126, 126, 59, 0, 126, 126, 0, 126, 0,
359 0, 126, 103, 126, 126, 126, 126, 0, 81, 126,
360 0, 126, 126, 0, 82, 0, 0, 126, 126, 78,
361 126, 126, 81, 126, 0, 30, 126, 82, 0, 78,
362 126, 126, 126, 126, 126, 30, 108, 0, 105, 95,
363 126, 126, 126, 95, 73, 126, 83, 0, 126, 126,
364 126, 126, 126, 126, 79, 74, 0
365
366 } ;
367
368 static yyconst int yy_ec[256] =
369 { 0,
370 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
371 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
372 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
373 1, 2, 1, 4, 1, 1, 1, 1, 5, 6,
374 7, 1, 1, 8, 9, 10, 1, 11, 12, 13,
375 13, 13, 13, 13, 13, 13, 13, 14, 15, 16,
376 17, 1, 1, 1, 18, 19, 20, 21, 22, 23,
377 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
378 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
379 44, 1, 45, 1, 1, 1, 46, 47, 48, 47,
380
381 47, 47, 49, 49, 49, 49, 49, 49, 49, 50,
382 49, 49, 49, 49, 51, 49, 49, 49, 49, 49,
383 49, 49, 52, 53, 54, 1, 1, 1, 1, 1,
384 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
385 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
386 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
387 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
388 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
389 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
390 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
391
392 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
393 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
394 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
395 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
396 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
397 1, 1, 1, 1, 1
398 } ;
399
400 static yyconst int yy_meta[55] =
401 { 0,
402 1, 1, 1, 1, 2, 1, 1, 1, 3, 1,
403 4, 4, 4, 1, 1, 1, 1, 4, 4, 4,
404 4, 4, 4, 3, 3, 3, 3, 3, 3, 3,
405 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
406 3, 3, 3, 1, 1, 4, 4, 4, 3, 3,
407 3, 1, 1, 1
408 } ;
409
410 static yyconst short int yy_base[706] =
411 { 0,
412 0, 0, 0, 0, 0, 0, 508, 3540, 53, 499,
413 52, 3540, 3540, 3540, 491, 3540, 3540, 47, 482, 3540,
414 3540, 63, 96, 98, 113, 115, 126, 127, 140, 141,
415 158, 153, 179, 188, 155, 187, 200, 205, 212, 217,
416 41, 3540, 484, 3540, 3540, 3540, 3540, 3540, 65, 478,
417 472, 54, 131, 466, 237, 58, 452, 162, 248, 226,
418 239, 243, 263, 274, 247, 279, 281, 290, 456, 296,
419 302, 302, 304, 305, 339, 323, 331, 338, 333, 354,
420 359, 361, 363, 379, 387, 395, 402, 411, 417, 428,
421 433, 439, 441, 397, 442, 453, 455, 471, 479, 486,
422
423 502, 495, 507, 522, 524, 530, 539, 541, 547, 415,
424 412, 440, 436, 3540, 3540, 416, 151, 3540, 185, 282,
425 3540, 420, 549, 547, 556, 573, 580, 582, 589, 407,
426 588, 597, 599, 606, 611, 626, 631, 637, 640, 639,
427 657, 664, 669, 666, 669, 678, 683, 686, 691, 727,
428 705, 713, 718, 726, 727, 739, 740, 748, 762, 751,
429 753, 770, 775, 784, 796, 789, 798, 801, 810, 819,
430 828, 833, 836, 851, 861, 867, 869, 780, 878, 882,
431 884, 891, 844, 899, 908, 915, 914, 921, 928, 933,
432 935, 936, 947, 3540, 3540, 408, 384, 954, 962, 969,
433
434 977, 988, 976, 1004, 1013, 1022, 995, 1009, 1013, 1014,
435 1025, 1027, 1028, 1042, 1053, 1050, 1055, 1072, 1081, 1074,
436 1079, 1093, 1098, 1100, 1115, 1112, 1117, 1124, 1129, 1141,
437 1150, 1143, 1155, 1158, 1175, 1182, 1191, 1181, 1190, 1218,
438 1226, 1228, 1212, 1221, 1219, 1220, 1233, 1244, 1251, 1252,
439 1259, 1266, 1274, 1281, 1292, 1289, 1300, 1313, 1311, 1325,
440 1330, 1337, 1339, 1342, 1351, 1354, 1365, 1369, 1375, 483,
441 366, 1380, 1386, 1391, 1390, 1399, 1410, 1416, 1413, 378,
442 1444, 1418, 1435, 1437, 1462, 1453, 1461, 1456, 1467, 1465,
443 1478, 1482, 1493, 1498, 1504, 1510, 1516, 1521, 1536, 1538,
444
445 1543, 1554, 1560, 1559, 1568, 1593, 1595, 1603, 1605, 1613,
446 1615, 1608, 367, 1618, 1644, 1649, 1636, 1643, 1577, 1635,
447 1638, 1659, 1661, 1662, 1674, 1685, 1687, 1688, 1699, 1706,
448 1711, 1713, 1747, 1738, 1743, 1749, 1760, 508, 351, 1755,
449 1767, 1772, 1778, 1783, 1789, 1794, 1800, 1809, 1811, 1818,
450 1817, 1828, 1830, 1831, 1843, 1845, 1852, 1854, 1872, 1878,
451 1884, 1889, 1884, 1892, 1897, 1899, 1910, 1911, 1918, 1932,
452 1937, 349, 1959, 1944, 1955, 1956, 1958, 1970, 1977, 1984,
453 1985, 1998, 2003, 2006, 2011, 2020, 2025, 2028, 1985, 2036,
454 2052, 2057, 2059, 2064, 2067, 2069, 351, 2072, 2103, 2113,
455
456 2081, 308, 3540, 2095, 2103, 2104, 2116, 2125, 2130, 2133,
457 2144, 2151, 2152, 2159, 2166, 2173, 2174, 2181, 2188, 2195,
458 2196, 2207, 2209, 2218, 2221, 2226, 2233, 2240, 360, 306,
459 2267, 2251, 2252, 2263, 2267, 2279, 2284, 2284, 2287, 2301,
460 2301, 2306, 2309, 2314, 2328, 2331, 2343, 2336, 318, 2374,
461 2377, 400, 3540, 424, 2379, 2387, 2371, 2376, 2384, 2397,
462 2418, 2392, 2409, 2410, 2411, 2424, 2432, 2433, 2441, 2454,
463 2455, 2456, 2405, 317, 2463, 2468, 2477, 2480, 2485, 2492,
464 2504, 2507, 2506, 2515, 2542, 2550, 2532, 2534, 2559, 2568,
465 2579, 2581, 2584, 2576, 844, 2577, 2593, 2600, 2595, 2598,
466
467 2612, 1669, 2619, 2621, 2633, 2634, 2636, 2668, 2670, 2659,
468 296, 2663, 2674, 2683, 2689, 2694, 2701, 2709, 2716, 2718,
469 288, 2741, 2743, 1945, 2745, 2754, 2756, 2758, 273, 261,
470 2755, 2757, 2775, 2781, 2781, 2784, 2796, 2798, 2799, 264,
471 2807, 2821, 2828, 2810, 266, 2842, 2853, 246, 2839, 2853,
472 2854, 2856, 2871, 2878, 241, 2879, 2880, 2893, 245, 233,
473 2901, 2902, 2904, 2854, 2919, 2928, 2947, 221, 2931, 2936,
474 2938, 2949, 2950, 219, 2957, 2962, 2971, 2974, 216, 2983,
475 2988, 218, 208, 2996, 3005, 3007, 3014, 3026, 3033, 42,
476 209, 3032, 3061, 3064, 207, 3057, 3057, 3060, 196, 3078,
477
478 3071, 198, 197, 3083, 3086, 3101, 3100, 3108, 3115, 3122,
479 3127, 180, 3129, 3140, 3141, 184, 3148, 3155, 3162, 176,
480 3163, 166, 155, 3170, 3177, 3185, 3194, 3196, 3199, 3207,
481 171, 3218, 3221, 3226, 163, 3229, 3240, 164, 3243, 152,
482 152, 3248, 3251, 3262, 3265, 3273, 3270, 115, 3291, 3299,
483 112, 3301, 3306, 90, 3323, 89, 83, 3305, 3318, 3326,
484 3329, 3331, 3540, 3340, 82, 3343, 3348, 3540, 77, 3540,
485 3355, 3357, 3362, 3372, 3387, 3540, 3389, 71, 3394, 3396,
486 3411, 3410, 3411, 3540, 3413, 3438, 3447, 58, 3455, 3437,
487 3458, 3444, 3449, 3461, 3468, 3470, 3540, 3512, 3516, 3520,
488
489 3523, 3525, 3529, 3531, 3535
490 } ;
491
492 static yyconst short int yy_def[706] =
493 { 0,
494 697, 1, 698, 698, 699, 699, 697, 697, 697, 700,
495 701, 697, 697, 697, 697, 697, 697, 697, 697, 697,
496 697, 697, 22, 23, 23, 23, 23, 23, 23, 23,
497 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
498 697, 697, 702, 697, 697, 697, 697, 697, 697, 700,
499 697, 697, 701, 701, 703, 697, 697, 697, 23, 23,
500 23, 33, 33, 33, 23, 33, 33, 33, 704, 33,
501 33, 23, 23, 23, 59, 23, 33, 33, 33, 33,
502 33, 33, 23, 33, 33, 33, 33, 33, 33, 33,
503 33, 33, 23, 23, 23, 23, 23, 33, 33, 33,
504
505 33, 33, 33, 33, 33, 33, 33, 33, 33, 697,
506 697, 702, 702, 697, 697, 697, 703, 697, 703, 703,
507 697, 697, 23, 23, 23, 33, 33, 33, 33, 704,
508 23, 23, 23, 23, 23, 33, 33, 33, 23, 23,
509 33, 33, 33, 59, 23, 23, 23, 23, 23, 59,
510 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
511 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
512 23, 23, 23, 23, 33, 33, 33, 33, 33, 23,
513 23, 23, 59, 33, 33, 33, 23, 23, 23, 23,
514 23, 23, 23, 697, 697, 703, 697, 23, 23, 23,
515
516 23, 23, 23, 59, 59, 59, 23, 33, 23, 23,
517 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
518 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
519 23, 23, 23, 23, 33, 33, 33, 23, 23, 59,
520 59, 59, 23, 23, 23, 23, 23, 23, 23, 23,
521 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
522 23, 23, 23, 23, 23, 23, 23, 33, 33, 703,
523 697, 33, 33, 33, 23, 23, 33, 23, 23, 59,
524 59, 23, 23, 23, 59, 33, 33, 23, 23, 23,
525 23, 33, 33, 33, 33, 33, 33, 33, 33, 33,
526
527 33, 33, 33, 23, 23, 59, 59, 59, 59, 59,
528 59, 23, 59, 59, 59, 59, 33, 33, 23, 23,
529 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
530 23, 23, 59, 33, 33, 33, 33, 703, 697, 33,
531 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
532 23, 23, 23, 23, 23, 23, 23, 23, 33, 33,
533 33, 33, 23, 23, 23, 23, 23, 23, 23, 23,
534 23, 59, 59, 23, 23, 23, 23, 23, 23, 23,
535 23, 23, 23, 23, 23, 23, 23, 23, 33, 33,
536 33, 33, 33, 33, 23, 23, 59, 23, 59, 59,
537
538 23, 705, 697, 23, 23, 23, 23, 23, 23, 23,
539 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
540 23, 23, 23, 23, 23, 23, 23, 23, 697, 59,
541 59, 23, 23, 23, 33, 33, 33, 23, 23, 33,
542 23, 23, 23, 23, 23, 23, 23, 23, 59, 59,
543 59, 705, 697, 705, 59, 59, 23, 23, 23, 23,
544 59, 59, 23, 23, 23, 23, 23, 23, 23, 23,
545 23, 23, 33, 697, 23, 23, 23, 23, 23, 23,
546 23, 23, 23, 23, 59, 59, 23, 23, 59, 59,
547 59, 59, 59, 697, 59, 33, 23, 23, 23, 23,
548
549 23, 697, 23, 23, 23, 23, 23, 59, 59, 23,
550 697, 33, 33, 33, 33, 33, 33, 33, 33, 33,
551 59, 59, 59, 697, 59, 59, 59, 59, 697, 697,
552 23, 23, 33, 33, 23, 23, 23, 23, 23, 697,
553 23, 23, 23, 23, 59, 59, 59, 697, 23, 23,
554 23, 23, 23, 23, 697, 23, 23, 23, 697, 697,
555 23, 23, 23, 33, 33, 33, 59, 697, 23, 23,
556 23, 23, 23, 697, 23, 23, 23, 23, 697, 23,
557 23, 697, 697, 23, 23, 23, 23, 23, 23, 59,
558 697, 59, 59, 59, 697, 33, 23, 23, 697, 23,
559
560 23, 697, 697, 23, 23, 23, 23, 23, 23, 23,
561 23, 697, 23, 23, 23, 697, 23, 23, 23, 697,
562 23, 697, 697, 23, 23, 23, 23, 23, 23, 23,
563 697, 23, 23, 23, 697, 23, 23, 697, 23, 697,
564 697, 23, 23, 23, 23, 23, 23, 697, 23, 33,
565 697, 33, 33, 697, 33, 697, 697, 23, 23, 23,
566 23, 23, 697, 23, 697, 23, 23, 697, 697, 697,
567 23, 23, 23, 33, 33, 697, 33, 697, 33, 33,
568 33, 23, 23, 697, 23, 59, 59, 59, 59, 23,
569 59, 23, 23, 23, 23, 23, 0, 697, 697, 697,
570
571 697, 697, 697, 697, 697
572 } ;
573
574 static yyconst short int yy_nxt[3595] =
575 { 0,
576 8, 9, 9, 10, 11, 12, 13, 14, 15, 16,
577 17, 18, 18, 19, 20, 21, 8, 22, 23, 24,
578 25, 26, 27, 28, 28, 29, 28, 28, 30, 31,
579 32, 33, 34, 28, 35, 36, 37, 38, 39, 40,
580 28, 28, 28, 41, 42, 43, 43, 43, 43, 43,
581 43, 44, 45, 46, 49, 49, 52, 56, 56, 56,
582 110, 610, 53, 53, 58, 58, 49, 49, 56, 56,
583 56, 59, 114, 60, 60, 60, 111, 611, 115, 689,
584 60, 61, 62, 60, 60, 60, 60, 60, 60, 60,
585 60, 63, 64, 65, 60, 66, 60, 67, 68, 60,
586
587 60, 60, 60, 60, 60, 60, 684, 678, 69, 69,
588 69, 69, 69, 69, 60, 60, 676, 70, 670, 60,
589 669, 71, 74, 60, 60, 668, 60, 72, 60, 75,
590 60, 60, 76, 665, 77, 52, 60, 73, 60, 60,
591 60, 53, 53, 81, 60, 78, 60, 60, 60, 79,
592 663, 60, 60, 118, 60, 80, 60, 82, 60, 119,
593 83, 60, 60, 58, 58, 60, 86, 60, 60, 84,
594 85, 60, 60, 657, 60, 87, 98, 656, 60, 60,
595 60, 60, 60, 88, 60, 654, 60, 118, 651, 60,
596 89, 122, 648, 118, 60, 641, 60, 90, 91, 60,
597
598 60, 92, 640, 638, 60, 94, 635, 631, 99, 60,
599 60, 93, 100, 60, 623, 622, 95, 104, 60, 96,
600 60, 60, 97, 101, 102, 60, 60, 620, 103, 60,
601 60, 105, 616, 60, 106, 107, 60, 108, 60, 118,
602 612, 60, 109, 60, 603, 119, 60, 60, 60, 697,
603 697, 60, 602, 60, 599, 595, 697, 60, 60, 591,
604 60, 60, 124, 583, 60, 60, 582, 60, 60, 60,
605 60, 579, 60, 60, 123, 60, 574, 60, 60, 60,
606 60, 60, 60, 572, 118, 60, 125, 120, 127, 60,
607 119, 126, 60, 60, 568, 60, 60, 60, 60, 60,
608
609 60, 60, 560, 60, 129, 559, 60, 553, 60, 60,
610 453, 128, 60, 60, 60, 60, 454, 548, 60, 131,
611 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
612 60, 196, 132, 134, 60, 60, 135, 511, 133, 492,
613 58, 58, 475, 60, 60, 60, 60, 59, 138, 60,
614 60, 60, 60, 139, 60, 60, 60, 142, 143, 140,
615 60, 429, 429, 60, 60, 60, 141, 145, 136, 137,
616 60, 447, 60, 60, 428, 144, 60, 60, 60, 60,
617 60, 60, 403, 60, 60, 474, 146, 148, 60, 122,
618 147, 60, 378, 60, 150, 149, 126, 60, 60, 347,
619
620 339, 60, 453, 271, 60, 60, 152, 153, 454, 60,
621 118, 151, 154, 60, 60, 697, 119, 60, 60, 60,
622 60, 60, 164, 155, 60, 156, 118, 60, 60, 60,
623 60, 165, 453, 60, 60, 60, 60, 197, 60, 60,
624 115, 158, 157, 60, 112, 159, 60, 60, 697, 60,
625 60, 60, 60, 270, 160, 60, 195, 60, 60, 194,
626 60, 60, 162, 60, 130, 60, 60, 60, 121, 161,
627 116, 60, 60, 60, 60, 50, 168, 163, 60, 166,
628 169, 51, 60, 60, 60, 118, 170, 167, 171, 60,
629 172, 119, 112, 173, 60, 57, 60, 60, 176, 55,
630
631 174, 60, 51, 60, 60, 60, 175, 697, 60, 179,
632 118, 60, 177, 183, 60, 178, 119, 60, 60, 181,
633 60, 60, 697, 697, 60, 60, 60, 184, 180, 60,
634 338, 697, 697, 697, 60, 697, 182, 185, 697, 60,
635 60, 60, 60, 60, 60, 186, 60, 188, 60, 60,
636 697, 187, 60, 697, 60, 402, 60, 190, 60, 60,
637 60, 60, 60, 60, 191, 60, 60, 189, 200, 60,
638 198, 60, 60, 60, 60, 697, 192, 60, 60, 60,
639 60, 60, 697, 193, 697, 199, 697, 201, 60, 697,
640 60, 60, 202, 697, 697, 60, 697, 60, 60, 60,
641
642 60, 60, 60, 697, 60, 60, 697, 60, 60, 60,
643 203, 60, 60, 205, 60, 697, 697, 206, 60, 60,
644 60, 60, 60, 697, 60, 697, 204, 60, 60, 60,
645 60, 60, 60, 697, 207, 697, 208, 60, 60, 697,
646 60, 697, 60, 126, 60, 60, 209, 60, 60, 60,
647 60, 697, 60, 60, 697, 60, 60, 213, 210, 60,
648 60, 60, 697, 60, 216, 214, 211, 58, 58, 60,
649 60, 60, 697, 212, 59, 60, 217, 697, 215, 60,
650 60, 60, 60, 60, 697, 697, 60, 60, 60, 60,
651 60, 60, 697, 697, 60, 219, 60, 697, 218, 60,
652
653 220, 60, 697, 60, 223, 697, 221, 60, 60, 222,
654 60, 60, 60, 697, 60, 697, 60, 60, 697, 60,
655 697, 224, 60, 697, 60, 697, 60, 60, 58, 58,
656 60, 697, 60, 226, 60, 59, 227, 697, 60, 229,
657 697, 228, 697, 60, 60, 697, 60, 60, 231, 60,
658 697, 60, 60, 697, 60, 697, 225, 60, 60, 60,
659 60, 60, 230, 697, 60, 60, 232, 60, 60, 60,
660 60, 60, 235, 60, 236, 697, 60, 697, 60, 60,
661 60, 60, 60, 60, 60, 233, 697, 60, 697, 60,
662 234, 60, 60, 60, 60, 60, 60, 697, 60, 60,
663
664 238, 60, 60, 60, 237, 60, 60, 697, 697, 60,
665 60, 60, 60, 240, 60, 60, 60, 60, 239, 60,
666 60, 60, 60, 60, 241, 60, 60, 60, 697, 60,
667 60, 60, 60, 697, 242, 60, 243, 60, 697, 60,
668 60, 60, 60, 697, 60, 58, 58, 697, 244, 60,
669 60, 60, 59, 60, 60, 245, 246, 248, 60, 60,
670 60, 249, 531, 697, 60, 532, 697, 60, 126, 60,
671 247, 697, 60, 259, 60, 533, 60, 60, 697, 60,
672 60, 534, 250, 60, 697, 60, 60, 60, 60, 60,
673 697, 60, 60, 251, 697, 697, 60, 60, 252, 60,
674
675 60, 60, 697, 256, 253, 60, 254, 60, 255, 60,
676 60, 697, 60, 60, 697, 60, 258, 60, 60, 697,
677 257, 60, 60, 60, 697, 60, 60, 60, 697, 697,
678 60, 260, 60, 60, 60, 263, 697, 60, 697, 60,
679 60, 697, 60, 697, 261, 60, 60, 60, 697, 265,
680 262, 264, 60, 60, 60, 60, 60, 60, 266, 60,
681 60, 268, 60, 697, 60, 697, 60, 60, 60, 60,
682 697, 269, 60, 267, 60, 60, 60, 60, 60, 60,
683 697, 697, 697, 60, 272, 60, 697, 60, 60, 697,
684 60, 697, 697, 60, 60, 60, 273, 60, 60, 697,
685
686 60, 277, 60, 60, 274, 58, 58, 60, 60, 60,
687 60, 275, 59, 60, 58, 58, 281, 60, 60, 60,
688 60, 59, 276, 58, 58, 697, 60, 60, 282, 60,
689 280, 60, 697, 278, 283, 60, 60, 697, 60, 60,
690 697, 60, 64, 279, 60, 284, 60, 697, 60, 60,
691 60, 64, 286, 60, 60, 60, 60, 697, 60, 60,
692 697, 697, 285, 60, 697, 287, 60, 60, 60, 60,
693 289, 60, 288, 60, 60, 60, 60, 697, 60, 697,
694 60, 60, 697, 60, 60, 697, 60, 697, 290, 291,
695 697, 60, 697, 60, 60, 60, 60, 60, 126, 60,
696
697 60, 697, 293, 60, 295, 60, 60, 697, 294, 697,
698 60, 697, 60, 292, 60, 60, 697, 697, 60, 60,
699 60, 298, 60, 60, 60, 60, 697, 296, 297, 60,
700 697, 60, 126, 60, 60, 697, 60, 299, 60, 60,
701 60, 60, 60, 60, 697, 60, 60, 697, 60, 60,
702 60, 300, 697, 60, 60, 60, 60, 697, 60, 697,
703 60, 301, 60, 697, 305, 60, 303, 697, 60, 302,
704 60, 60, 60, 304, 60, 60, 60, 697, 697, 60,
705 60, 60, 60, 60, 60, 697, 60, 697, 697, 60,
706 306, 60, 697, 60, 307, 697, 60, 60, 697, 60,
707
708 60, 60, 60, 697, 60, 697, 60, 60, 309, 60,
709 60, 311, 310, 60, 60, 60, 697, 697, 308, 58,
710 58, 60, 60, 60, 697, 697, 59, 58, 58, 58,
711 58, 60, 697, 315, 313, 697, 59, 60, 316, 697,
712 317, 60, 60, 60, 60, 60, 60, 312, 697, 697,
713 60, 60, 60, 60, 60, 64, 697, 64, 60, 697,
714 60, 60, 60, 314, 60, 60, 697, 318, 697, 60,
715 697, 697, 60, 60, 60, 60, 60, 60, 319, 697,
716 60, 320, 60, 60, 60, 60, 697, 60, 321, 697,
717 322, 60, 60, 60, 323, 60, 697, 60, 697, 60,
718
719 60, 697, 325, 697, 697, 60, 60, 60, 324, 326,
720 60, 697, 60, 327, 60, 60, 697, 60, 697, 697,
721 60, 60, 60, 60, 697, 60, 697, 697, 126, 697,
722 60, 60, 60, 60, 60, 697, 330, 328, 60, 697,
723 697, 60, 60, 329, 60, 697, 60, 332, 697, 697,
724 60, 60, 60, 331, 60, 60, 60, 697, 60, 697,
725 60, 60, 60, 60, 60, 697, 60, 60, 60, 333,
726 60, 60, 60, 60, 697, 60, 60, 334, 60, 60,
727 60, 697, 60, 60, 335, 60, 336, 337, 60, 697,
728 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
729
730 697, 60, 60, 341, 60, 60, 60, 60, 60, 60,
731 60, 60, 60, 60, 697, 343, 340, 697, 60, 697,
732 60, 60, 697, 60, 60, 697, 342, 697, 60, 345,
733 344, 60, 60, 126, 60, 697, 697, 346, 60, 349,
734 60, 60, 60, 60, 60, 58, 58, 60, 697, 60,
735 697, 697, 59, 697, 60, 697, 60, 60, 60, 60,
736 60, 348, 60, 58, 58, 350, 60, 351, 60, 697,
737 59, 60, 353, 64, 697, 60, 60, 355, 60, 60,
738 60, 356, 697, 60, 697, 60, 358, 60, 60, 354,
739 60, 352, 60, 60, 697, 357, 60, 60, 60, 60,
740
741 60, 60, 697, 359, 60, 697, 60, 697, 60, 60,
742 697, 60, 60, 697, 360, 60, 60, 60, 697, 60,
743 60, 697, 60, 363, 697, 60, 60, 361, 60, 60,
744 60, 697, 60, 362, 60, 60, 60, 697, 60, 60,
745 60, 697, 60, 60, 697, 697, 364, 697, 60, 697,
746 697, 365, 697, 60, 60, 366, 60, 60, 60, 697,
747 60, 60, 60, 368, 697, 60, 697, 697, 60, 697,
748 60, 697, 60, 60, 367, 60, 60, 369, 60, 60,
749 370, 697, 60, 697, 60, 697, 60, 697, 371, 60,
750 60, 697, 60, 60, 58, 58, 58, 58, 383, 60,
751
752 60, 372, 60, 59, 58, 58, 58, 58, 60, 60,
753 697, 59, 697, 59, 58, 58, 58, 58, 60, 58,
754 58, 59, 64, 59, 64, 126, 59, 697, 697, 377,
755 697, 373, 64, 60, 64, 376, 697, 697, 697, 60,
756 697, 374, 64, 375, 64, 58, 58, 64, 697, 60,
757 58, 58, 59, 697, 60, 381, 384, 59, 60, 385,
758 60, 60, 60, 60, 697, 60, 60, 697, 60, 60,
759 502, 502, 697, 64, 379, 60, 60, 382, 64, 60,
760 60, 697, 60, 60, 60, 380, 60, 388, 697, 386,
761 60, 697, 60, 60, 540, 60, 697, 387, 122, 60,
762
763 60, 697, 60, 60, 389, 60, 60, 391, 60, 60,
764 60, 697, 60, 60, 697, 60, 60, 697, 60, 60,
765 60, 390, 393, 392, 60, 697, 60, 60, 60, 60,
766 60, 60, 60, 697, 60, 697, 395, 60, 60, 697,
767 60, 394, 60, 697, 60, 697, 697, 60, 58, 58,
768 697, 697, 60, 396, 60, 397, 60, 60, 697, 697,
769 398, 60, 60, 399, 697, 60, 697, 60, 60, 697,
770 60, 60, 697, 60, 60, 60, 64, 60, 60, 60,
771 697, 60, 60, 400, 697, 60, 404, 60, 401, 60,
772 60, 60, 60, 697, 60, 697, 60, 60, 697, 60,
773
774 60, 60, 60, 697, 60, 60, 406, 60, 60, 697,
775 60, 60, 60, 60, 405, 60, 60, 697, 60, 60,
776 697, 60, 60, 697, 407, 697, 60, 60, 60, 60,
777 60, 60, 60, 60, 408, 697, 60, 60, 410, 409,
778 60, 60, 60, 60, 697, 126, 697, 412, 60, 411,
779 60, 60, 60, 60, 697, 60, 60, 697, 60, 60,
780 697, 60, 60, 414, 60, 697, 60, 413, 60, 60,
781 60, 60, 60, 60, 60, 60, 60, 60, 697, 60,
782 697, 415, 697, 60, 60, 60, 60, 697, 416, 697,
783 60, 60, 697, 60, 60, 60, 60, 60, 697, 697,
784
785 60, 419, 60, 60, 417, 60, 60, 60, 60, 420,
786 60, 60, 697, 60, 418, 60, 60, 60, 60, 697,
787 60, 60, 422, 60, 423, 60, 697, 421, 60, 697,
788 60, 60, 425, 60, 697, 60, 60, 697, 60, 60,
789 60, 60, 60, 60, 697, 424, 524, 524, 697, 60,
790 697, 60, 60, 60, 426, 697, 697, 60, 60, 60,
791 429, 429, 60, 60, 697, 60, 427, 430, 60, 432,
792 555, 697, 433, 60, 122, 60, 60, 60, 60, 60,
793 60, 60, 697, 60, 431, 60, 60, 60, 64, 60,
794 697, 60, 697, 697, 434, 60, 60, 60, 60, 60,
795
796 435, 60, 60, 60, 443, 437, 60, 60, 60, 60,
797 60, 60, 697, 436, 697, 60, 60, 60, 60, 60,
798 697, 438, 697, 439, 60, 60, 60, 60, 60, 60,
799 697, 60, 60, 440, 60, 697, 60, 60, 697, 60,
800 441, 60, 60, 697, 60, 60, 60, 60, 697, 60,
801 60, 60, 60, 60, 60, 60, 60, 697, 60, 60,
802 697, 60, 697, 697, 442, 697, 60, 697, 60, 60,
803 60, 60, 697, 444, 60, 60, 60, 60, 60, 60,
804 697, 60, 60, 60, 60, 697, 60, 697, 446, 60,
805 60, 60, 60, 448, 60, 697, 60, 60, 60, 445,
806
807 60, 697, 451, 60, 58, 58, 60, 697, 60, 697,
808 60, 449, 60, 60, 58, 58, 60, 697, 697, 697,
809 60, 59, 60, 697, 60, 60, 60, 456, 60, 60,
810 697, 455, 64, 697, 60, 60, 60, 60, 697, 697,
811 457, 60, 64, 697, 60, 60, 60, 60, 450, 697,
812 60, 60, 458, 697, 60, 60, 60, 60, 60, 459,
813 697, 60, 697, 460, 60, 60, 60, 697, 697, 60,
814 697, 60, 60, 60, 60, 60, 60, 60, 461, 462,
815 60, 697, 60, 60, 60, 60, 697, 60, 697, 697,
816 60, 463, 60, 60, 60, 60, 697, 60, 60, 60,
817
818 60, 697, 466, 697, 60, 60, 60, 60, 697, 60,
819 465, 697, 60, 60, 464, 60, 60, 60, 697, 60,
820 60, 60, 60, 697, 467, 697, 60, 60, 60, 60,
821 60, 468, 60, 697, 60, 697, 60, 60, 469, 60,
822 60, 697, 60, 60, 697, 470, 60, 60, 60, 60,
823 60, 60, 60, 697, 60, 697, 471, 472, 60, 60,
824 697, 60, 60, 697, 60, 60, 697, 60, 58, 58,
825 473, 60, 60, 60, 60, 59, 60, 60, 697, 697,
826 478, 60, 477, 60, 479, 60, 60, 476, 60, 480,
827 697, 697, 60, 60, 60, 697, 64, 60, 60, 60,
828
829 697, 60, 60, 60, 60, 481, 60, 697, 60, 60,
830 697, 60, 60, 697, 697, 60, 60, 482, 60, 60,
831 483, 697, 484, 60, 697, 60, 60, 60, 60, 697,
832 486, 60, 60, 60, 60, 60, 697, 60, 697, 60,
833 60, 697, 60, 697, 697, 60, 697, 485, 487, 60,
834 60, 697, 60, 488, 697, 60, 60, 60, 697, 60,
835 490, 60, 60, 697, 60, 489, 697, 60, 60, 60,
836 491, 697, 60, 697, 60, 58, 58, 60, 58, 58,
837 494, 494, 59, 697, 60, 59, 697, 495, 58, 58,
838 697, 493, 60, 58, 58, 59, 499, 60, 697, 697,
839
840 59, 60, 60, 64, 697, 60, 64, 60, 64, 60,
841 496, 697, 60, 697, 497, 500, 498, 60, 60, 502,
842 502, 64, 60, 60, 60, 60, 59, 510, 60, 697,
843 60, 60, 60, 501, 60, 60, 505, 60, 60, 697,
844 504, 60, 60, 503, 506, 60, 697, 64, 697, 60,
845 60, 60, 60, 507, 60, 60, 697, 60, 60, 697,
846 697, 697, 60, 60, 60, 60, 60, 697, 697, 697,
847 697, 508, 60, 60, 60, 60, 60, 60, 697, 60,
848 60, 60, 60, 697, 60, 60, 60, 60, 60, 513,
849 509, 697, 697, 60, 60, 60, 60, 60, 60, 60,
850
851 697, 60, 60, 697, 512, 60, 60, 514, 60, 60,
852 60, 60, 697, 60, 697, 697, 60, 516, 60, 515,
853 697, 60, 697, 60, 517, 60, 60, 519, 60, 60,
854 518, 60, 60, 60, 697, 60, 60, 60, 60, 697,
855 60, 697, 697, 58, 58, 60, 60, 60, 60, 520,
856 521, 58, 58, 522, 697, 60, 60, 60, 59, 60,
857 524, 524, 697, 60, 697, 523, 697, 59, 697, 58,
858 58, 64, 697, 60, 697, 60, 59, 494, 494, 64,
859 58, 58, 58, 58, 525, 58, 58, 59, 64, 59,
860 697, 697, 59, 697, 697, 60, 60, 64, 697, 60,
861
862 697, 697, 697, 697, 526, 122, 697, 529, 64, 535,
863 64, 530, 528, 64, 60, 527, 60, 126, 60, 60,
864 60, 60, 697, 60, 60, 60, 537, 697, 697, 60,
865 697, 60, 538, 60, 536, 697, 60, 60, 697, 60,
866 60, 60, 60, 60, 60, 697, 60, 539, 697, 541,
867 60, 542, 60, 60, 60, 60, 544, 60, 60, 60,
868 60, 60, 60, 697, 543, 60, 697, 60, 697, 58,
869 58, 58, 58, 697, 60, 60, 545, 60, 59, 697,
870 60, 60, 60, 697, 547, 60, 697, 697, 697, 697,
871 60, 697, 60, 60, 697, 549, 60, 64, 697, 64,
872
873 60, 60, 60, 546, 550, 60, 60, 60, 60, 697,
874 697, 60, 60, 60, 697, 60, 60, 697, 551, 60,
875 60, 60, 697, 60, 552, 697, 60, 60, 60, 697,
876 697, 60, 697, 60, 60, 60, 60, 60, 60, 697,
877 60, 60, 58, 58, 58, 58, 58, 58, 60, 59,
878 60, 59, 697, 59, 697, 58, 58, 58, 58, 58,
879 58, 697, 59, 697, 59, 697, 59, 697, 697, 697,
880 64, 557, 64, 554, 64, 556, 60, 697, 60, 697,
881 561, 697, 60, 64, 697, 64, 60, 64, 60, 697,
882 558, 562, 697, 60, 60, 697, 60, 60, 60, 60,
883
884 60, 697, 565, 60, 697, 60, 60, 563, 697, 60,
885 697, 564, 60, 60, 566, 60, 697, 60, 697, 60,
886 60, 60, 60, 60, 60, 60, 567, 60, 60, 60,
887 60, 60, 60, 697, 697, 60, 697, 60, 60, 60,
888 60, 60, 60, 58, 58, 569, 60, 697, 60, 60,
889 59, 60, 60, 60, 58, 58, 570, 697, 571, 60,
890 575, 59, 60, 697, 60, 697, 697, 697, 697, 60,
891 60, 64, 587, 60, 60, 60, 60, 60, 60, 60,
892 60, 577, 64, 573, 60, 60, 60, 60, 578, 576,
893 697, 697, 60, 697, 60, 60, 60, 60, 697, 60,
894
895 60, 60, 60, 60, 60, 60, 697, 697, 697, 60,
896 60, 60, 60, 697, 60, 697, 697, 580, 60, 60,
897 60, 60, 60, 60, 581, 586, 60, 60, 697, 60,
898 697, 584, 60, 60, 60, 60, 585, 60, 60, 697,
899 697, 60, 60, 60, 697, 60, 60, 60, 58, 58,
900 60, 60, 60, 588, 697, 590, 60, 60, 697, 60,
901 60, 60, 592, 60, 589, 697, 697, 60, 697, 60,
902 60, 60, 60, 697, 60, 594, 64, 60, 60, 60,
903 60, 60, 60, 60, 697, 593, 697, 596, 60, 697,
904 60, 60, 60, 60, 697, 60, 60, 697, 60, 60,
905
906 697, 697, 60, 60, 60, 60, 697, 597, 60, 60,
907 598, 697, 60, 60, 600, 60, 604, 60, 697, 60,
908 697, 60, 601, 697, 60, 697, 60, 60, 60, 60,
909 60, 697, 60, 58, 58, 60, 605, 60, 60, 607,
910 59, 606, 697, 608, 697, 60, 60, 60, 60, 697,
911 609, 60, 697, 697, 60, 60, 697, 60, 60, 613,
912 697, 64, 58, 58, 60, 58, 58, 60, 697, 59,
913 697, 697, 59, 697, 60, 60, 60, 697, 60, 617,
914 697, 619, 60, 697, 697, 60, 697, 697, 60, 60,
915 64, 60, 60, 64, 697, 697, 60, 614, 618, 60,
916
917 615, 60, 60, 60, 60, 621, 697, 60, 60, 60,
918 697, 60, 60, 697, 60, 697, 697, 60, 625, 60,
919 624, 60, 60, 697, 60, 60, 60, 60, 697, 60,
920 626, 60, 60, 60, 697, 697, 60, 697, 697, 60,
921 60, 60, 60, 60, 627, 697, 60, 60, 630, 60,
922 632, 697, 60, 629, 60, 628, 60, 697, 60, 697,
923 60, 60, 60, 60, 697, 60, 60, 697, 60, 60,
924 60, 60, 60, 636, 633, 697, 60, 697, 697, 60,
925 60, 60, 634, 60, 639, 637, 60, 60, 60, 60,
926 697, 60, 697, 60, 60, 60, 60, 697, 60, 697,
927
928 697, 60, 60, 60, 60, 643, 60, 697, 60, 697,
929 60, 60, 697, 642, 697, 60, 60, 645, 60, 644,
930 60, 60, 697, 697, 60, 60, 60, 60, 60, 646,
931 60, 697, 60, 697, 697, 60, 697, 60, 60, 60,
932 60, 647, 60, 60, 697, 697, 650, 60, 60, 60,
933 652, 60, 60, 649, 60, 697, 697, 60, 697, 60,
934 60, 60, 60, 697, 60, 60, 697, 60, 60, 60,
935 60, 653, 60, 658, 60, 697, 60, 697, 655, 60,
936 697, 60, 60, 60, 60, 697, 60, 60, 697, 60,
937 60, 60, 60, 659, 60, 60, 60, 697, 60, 697,
938
939 660, 60, 697, 60, 60, 697, 60, 697, 662, 661,
940 697, 60, 60, 697, 60, 697, 60, 664, 60, 60,
941 60, 60, 60, 60, 60, 60, 60, 697, 60, 697,
942 60, 60, 60, 60, 697, 666, 671, 697, 60, 60,
943 667, 60, 60, 60, 697, 60, 60, 60, 672, 60,
944 673, 60, 60, 697, 60, 60, 674, 60, 697, 60,
945 60, 60, 60, 697, 60, 60, 697, 60, 60, 60,
946 60, 60, 60, 60, 60, 697, 60, 675, 60, 60,
947 60, 60, 60, 60, 60, 679, 60, 60, 60, 677,
948 60, 682, 680, 60, 60, 697, 60, 697, 60, 697,
949
950 697, 697, 681, 60, 60, 60, 60, 60, 60, 60,
951 697, 60, 60, 60, 60, 60, 60, 697, 60, 60,
952 697, 60, 697, 683, 697, 697, 60, 697, 60, 60,
953 60, 686, 687, 60, 60, 60, 60, 697, 60, 58,
954 58, 60, 60, 60, 60, 697, 688, 685, 58, 58,
955 697, 60, 60, 697, 60, 59, 58, 58, 691, 58,
956 58, 126, 60, 59, 697, 693, 59, 64, 60, 60,
957 60, 697, 697, 697, 60, 60, 64, 697, 60, 694,
958 60, 697, 60, 690, 64, 60, 60, 692, 697, 60,
959 60, 60, 60, 60, 697, 60, 697, 695, 697, 60,
960
961 697, 60, 60, 696, 697, 697, 697, 697, 697, 60,
962 697, 60, 47, 47, 47, 47, 48, 48, 48, 48,
963 50, 50, 50, 50, 54, 697, 54, 113, 113, 117,
964 117, 117, 117, 69, 69, 452, 452, 452, 452, 7,
965 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
966 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
967 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
968 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
969 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
970 697, 697, 697, 697
971
972 } ;
973
974 static yyconst short int yy_chk[3595] =
975 { 0,
976 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
977 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
978 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
979 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
980 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
981 1, 1, 1, 1, 9, 9, 11, 18, 18, 18,
982 41, 590, 11, 11, 22, 22, 49, 49, 56, 56,
983 56, 22, 52, 22, 22, 22, 41, 590, 52, 688,
984 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
985 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
986
987 22, 22, 22, 22, 22, 22, 678, 669, 22, 22,
988 22, 22, 22, 22, 23, 23, 665, 23, 657, 24,
989 656, 23, 24, 24, 23, 654, 23, 23, 23, 24,
990 23, 23, 24, 651, 25, 53, 26, 23, 25, 24,
991 26, 53, 53, 27, 25, 26, 26, 27, 28, 26,
992 648, 27, 28, 117, 25, 26, 26, 27, 28, 117,
993 27, 29, 30, 58, 58, 29, 30, 27, 28, 29,
994 29, 29, 30, 641, 32, 31, 35, 640, 32, 31,
995 35, 29, 30, 31, 32, 638, 35, 119, 635, 31,
996 32, 58, 631, 119, 32, 623, 35, 33, 33, 31,
997
998 33, 33, 622, 620, 33, 34, 616, 612, 36, 34,
999 33, 33, 36, 34, 603, 602, 34, 37, 36, 34,
1000 33, 37, 34, 36, 36, 37, 38, 599, 36, 34,
1001 38, 37, 595, 39, 37, 38, 38, 39, 40, 55,
1002 591, 37, 40, 39, 583, 55, 38, 60, 40, 59,
1003 59, 60, 582, 39, 579, 574, 59, 60, 40, 568,
1004 61, 62, 62, 560, 61, 62, 559, 60, 65, 59,
1005 61, 555, 65, 59, 61, 62, 548, 59, 65, 59,
1006 61, 63, 63, 545, 120, 63, 63, 55, 65, 59,
1007 120, 64, 64, 64, 540, 63, 64, 66, 66, 67,
1008
1009 67, 66, 530, 67, 67, 529, 64, 521, 68, 68,
1010 402, 66, 68, 67, 70, 70, 402, 511, 70, 70,
1011 71, 71, 68, 72, 71, 73, 74, 72, 70, 73,
1012 74, 120, 71, 72, 71, 73, 74, 474, 71, 449,
1013 75, 75, 430, 72, 76, 73, 74, 75, 76, 77,
1014 77, 79, 79, 77, 76, 79, 78, 78, 78, 77,
1015 78, 429, 429, 77, 76, 79, 77, 79, 75, 75,
1016 78, 397, 80, 80, 372, 78, 80, 81, 81, 82,
1017 82, 81, 339, 82, 83, 429, 80, 81, 83, 429,
1018 80, 81, 313, 82, 83, 82, 84, 84, 84, 280,
1019
1020 271, 84, 452, 197, 83, 85, 85, 85, 452, 85,
1021 196, 84, 85, 86, 86, 130, 196, 86, 94, 85,
1022 87, 87, 94, 85, 87, 86, 454, 86, 94, 88,
1023 88, 94, 454, 88, 87, 89, 89, 122, 94, 89,
1024 116, 88, 87, 88, 113, 89, 90, 90, 112, 89,
1025 90, 91, 91, 196, 90, 91, 111, 92, 92, 110,
1026 90, 92, 93, 95, 69, 91, 93, 95, 57, 91,
1027 54, 92, 93, 95, 96, 51, 97, 93, 96, 95,
1028 97, 50, 93, 95, 96, 270, 97, 96, 98, 98,
1029 98, 270, 43, 98, 96, 19, 97, 99, 99, 15,
1030
1031 98, 99, 10, 98, 100, 100, 98, 7, 100, 100,
1032 338, 99, 99, 102, 102, 99, 338, 102, 100, 101,
1033 101, 101, 0, 0, 101, 103, 103, 102, 100, 103,
1034 270, 0, 0, 0, 101, 0, 101, 103, 0, 103,
1035 104, 104, 105, 105, 104, 104, 105, 106, 106, 106,
1036 0, 105, 106, 0, 104, 338, 105, 107, 107, 108,
1037 108, 107, 106, 108, 107, 109, 109, 106, 124, 109,
1038 123, 107, 124, 108, 123, 0, 108, 125, 124, 109,
1039 123, 125, 0, 109, 0, 123, 0, 125, 124, 0,
1040 123, 126, 126, 0, 0, 126, 0, 125, 127, 127,
1041
1042 128, 128, 127, 0, 128, 126, 0, 129, 129, 131,
1043 128, 129, 127, 131, 128, 0, 0, 132, 132, 131,
1044 133, 129, 132, 0, 133, 0, 129, 134, 132, 131,
1045 133, 134, 135, 0, 134, 0, 135, 134, 132, 0,
1046 133, 0, 135, 136, 136, 136, 135, 134, 136, 137,
1047 137, 0, 135, 137, 0, 138, 138, 139, 136, 138,
1048 140, 139, 0, 137, 140, 139, 137, 144, 144, 138,
1049 140, 139, 0, 138, 144, 141, 141, 0, 139, 141,
1050 140, 139, 142, 142, 0, 0, 142, 143, 143, 141,
1051 145, 143, 0, 0, 145, 144, 142, 0, 142, 146,
1052
1053 145, 143, 0, 146, 147, 0, 146, 148, 147, 146,
1054 145, 148, 149, 0, 147, 0, 149, 148, 0, 146,
1055 0, 148, 149, 0, 147, 0, 151, 148, 150, 150,
1056 151, 0, 149, 151, 152, 150, 151, 0, 152, 153,
1057 0, 152, 0, 153, 152, 0, 151, 154, 155, 153,
1058 0, 154, 155, 0, 152, 0, 150, 154, 155, 153,
1059 156, 157, 154, 0, 156, 157, 156, 154, 155, 158,
1060 156, 157, 160, 158, 161, 0, 160, 0, 161, 158,
1061 156, 157, 160, 159, 161, 158, 0, 159, 0, 158,
1062 159, 162, 160, 159, 161, 162, 163, 0, 178, 178,
1063
1064 163, 162, 178, 159, 162, 164, 163, 0, 0, 164,
1065 166, 162, 178, 165, 166, 164, 163, 165, 164, 167,
1066 166, 165, 168, 167, 166, 164, 168, 165, 0, 167,
1067 166, 169, 168, 0, 167, 169, 168, 165, 0, 167,
1068 170, 169, 168, 0, 170, 183, 183, 0, 169, 171,
1069 170, 169, 183, 171, 172, 170, 171, 173, 172, 171,
1070 170, 173, 495, 0, 172, 495, 0, 173, 174, 171,
1071 172, 0, 174, 183, 172, 495, 174, 173, 0, 175,
1072 175, 495, 174, 175, 0, 176, 176, 177, 177, 176,
1073 0, 177, 174, 175, 0, 0, 179, 179, 175, 176,
1074
1075 179, 177, 0, 180, 176, 181, 177, 180, 179, 181,
1076 179, 0, 182, 180, 0, 181, 182, 184, 184, 0,
1077 181, 184, 182, 180, 0, 181, 185, 185, 0, 0,
1078 185, 184, 182, 186, 186, 187, 0, 186, 0, 187,
1079 185, 0, 188, 0, 185, 187, 188, 186, 0, 189,
1080 186, 188, 188, 189, 190, 187, 191, 192, 190, 189,
1081 191, 192, 188, 0, 190, 0, 191, 192, 193, 189,
1082 0, 193, 193, 191, 190, 198, 191, 192, 193, 198,
1083 0, 0, 0, 199, 198, 198, 0, 199, 193, 0,
1084 200, 0, 0, 199, 200, 198, 199, 203, 201, 0,
1085
1086 200, 203, 201, 199, 200, 204, 204, 203, 201, 202,
1087 200, 201, 204, 202, 205, 205, 207, 203, 201, 202,
1088 207, 205, 202, 206, 206, 0, 207, 208, 208, 202,
1089 206, 208, 0, 204, 209, 210, 207, 0, 209, 210,
1090 0, 208, 205, 205, 209, 210, 211, 0, 212, 213,
1091 211, 206, 212, 213, 209, 210, 211, 0, 212, 213,
1092 0, 0, 211, 214, 0, 213, 211, 214, 212, 213,
1093 215, 216, 214, 214, 215, 216, 217, 0, 215, 0,
1094 217, 216, 0, 214, 215, 0, 217, 0, 216, 217,
1095 0, 216, 0, 218, 215, 220, 217, 218, 219, 220,
1096
1097 221, 0, 219, 218, 221, 220, 219, 0, 220, 0,
1098 221, 0, 219, 218, 222, 220, 0, 0, 222, 223,
1099 221, 224, 219, 223, 222, 224, 0, 222, 223, 223,
1100 0, 224, 225, 226, 222, 0, 225, 226, 227, 223,
1101 225, 224, 227, 226, 0, 228, 225, 0, 227, 228,
1102 229, 227, 0, 226, 229, 228, 225, 0, 227, 0,
1103 229, 228, 230, 0, 232, 228, 230, 0, 232, 229,
1104 229, 231, 230, 231, 232, 231, 233, 0, 0, 234,
1105 233, 231, 230, 234, 232, 0, 233, 0, 0, 234,
1106 233, 231, 0, 235, 235, 0, 233, 235, 0, 234,
1107
1108 236, 236, 238, 0, 236, 0, 238, 235, 237, 237,
1109 237, 239, 238, 237, 236, 239, 0, 0, 236, 240,
1110 240, 239, 238, 237, 0, 0, 240, 241, 241, 242,
1111 242, 239, 0, 243, 241, 0, 242, 243, 244, 0,
1112 245, 246, 244, 243, 245, 246, 244, 240, 0, 0,
1113 245, 246, 244, 243, 247, 241, 0, 242, 247, 0,
1114 245, 246, 244, 242, 247, 248, 0, 247, 0, 248,
1115 0, 0, 249, 250, 247, 248, 249, 250, 248, 0,
1116 251, 249, 249, 250, 251, 248, 0, 252, 250, 0,
1117 251, 252, 249, 250, 252, 253, 0, 252, 0, 253,
1118
1119 251, 0, 254, 0, 0, 253, 254, 252, 253, 255,
1120 256, 0, 254, 255, 256, 253, 0, 255, 0, 0,
1121 256, 257, 254, 255, 0, 257, 0, 0, 259, 0,
1122 256, 257, 259, 255, 258, 0, 259, 257, 258, 0,
1123 0, 257, 259, 258, 258, 0, 260, 261, 0, 0,
1124 260, 261, 259, 260, 258, 261, 260, 0, 262, 0,
1125 263, 261, 262, 264, 263, 0, 260, 264, 262, 263,
1126 263, 261, 265, 264, 0, 266, 265, 264, 262, 266,
1127 263, 0, 265, 264, 266, 266, 267, 268, 268, 0,
1128 267, 268, 265, 269, 269, 266, 267, 269, 272, 272,
1129
1130 0, 268, 272, 273, 273, 273, 267, 269, 273, 274,
1131 274, 275, 272, 274, 0, 275, 272, 0, 273, 0,
1132 276, 275, 0, 274, 276, 0, 274, 0, 277, 277,
1133 276, 275, 277, 278, 279, 0, 0, 278, 279, 282,
1134 276, 278, 277, 282, 279, 281, 281, 278, 0, 282,
1135 0, 0, 281, 0, 279, 0, 283, 278, 284, 282,
1136 283, 281, 284, 285, 285, 283, 283, 284, 284, 0,
1137 285, 286, 286, 281, 0, 286, 283, 288, 284, 287,
1138 287, 288, 0, 287, 0, 286, 290, 288, 289, 287,
1139 290, 285, 289, 287, 0, 289, 290, 288, 289, 291,
1140
1141 292, 292, 0, 291, 292, 0, 290, 0, 289, 291,
1142 0, 293, 293, 0, 292, 293, 294, 294, 0, 291,
1143 294, 0, 295, 295, 0, 293, 295, 293, 296, 296,
1144 294, 0, 296, 294, 297, 297, 295, 0, 297, 298,
1145 298, 0, 296, 298, 0, 0, 296, 0, 297, 0,
1146 0, 297, 0, 298, 299, 299, 300, 300, 299, 0,
1147 300, 301, 301, 301, 0, 301, 0, 0, 299, 0,
1148 300, 0, 302, 302, 300, 301, 302, 303, 303, 303,
1149 304, 0, 303, 0, 304, 0, 302, 0, 305, 305,
1150 304, 0, 303, 305, 306, 306, 307, 307, 319, 305,
1151
1152 304, 306, 319, 307, 308, 308, 309, 309, 319, 305,
1153 0, 308, 0, 309, 310, 310, 311, 311, 319, 314,
1154 314, 310, 306, 311, 307, 312, 314, 0, 0, 312,
1155 0, 307, 308, 312, 309, 311, 0, 0, 0, 312,
1156 0, 309, 310, 310, 311, 315, 315, 314, 0, 312,
1157 316, 316, 315, 0, 317, 317, 320, 316, 317, 321,
1158 320, 318, 318, 321, 0, 318, 320, 0, 317, 321,
1159 502, 502, 0, 315, 315, 318, 320, 318, 316, 321,
1160 322, 0, 323, 324, 322, 316, 323, 324, 0, 322,
1161 322, 0, 323, 324, 502, 325, 0, 323, 502, 325,
1162
1163 322, 0, 323, 324, 325, 325, 326, 327, 327, 328,
1164 326, 0, 327, 328, 0, 325, 326, 0, 327, 328,
1165 329, 326, 329, 328, 329, 0, 326, 330, 327, 328,
1166 329, 330, 331, 0, 332, 0, 331, 330, 332, 0,
1167 329, 330, 331, 0, 332, 0, 0, 330, 333, 333,
1168 0, 0, 331, 332, 332, 333, 334, 334, 0, 0,
1169 334, 335, 335, 335, 0, 335, 0, 336, 336, 0,
1170 334, 336, 0, 340, 340, 335, 333, 340, 337, 337,
1171 0, 336, 337, 336, 0, 341, 341, 340, 337, 341,
1172 342, 342, 337, 0, 342, 0, 343, 343, 0, 341,
1173
1174 343, 344, 344, 0, 342, 344, 345, 345, 345, 0,
1175 343, 345, 346, 346, 343, 344, 346, 0, 347, 347,
1176 0, 345, 347, 0, 346, 0, 346, 348, 348, 349,
1177 349, 348, 347, 349, 347, 0, 350, 350, 351, 348,
1178 350, 348, 351, 349, 0, 352, 0, 353, 351, 352,
1179 350, 353, 354, 352, 0, 353, 354, 0, 351, 352,
1180 0, 353, 354, 355, 355, 0, 356, 354, 355, 352,
1181 356, 353, 354, 357, 355, 358, 356, 357, 0, 358,
1182 0, 356, 0, 357, 355, 358, 356, 0, 358, 0,
1183 359, 359, 0, 357, 359, 358, 360, 360, 0, 0,
1184
1185 360, 361, 361, 361, 359, 363, 361, 362, 362, 363,
1186 360, 362, 0, 364, 360, 363, 361, 364, 365, 0,
1187 366, 362, 365, 364, 366, 363, 0, 364, 365, 0,
1188 366, 367, 368, 364, 0, 367, 368, 0, 365, 369,
1189 366, 367, 368, 369, 0, 367, 524, 524, 0, 369,
1190 0, 367, 368, 370, 369, 0, 0, 370, 371, 369,
1191 373, 373, 371, 370, 0, 374, 370, 373, 371, 374,
1192 524, 0, 375, 370, 524, 374, 375, 376, 371, 377,
1193 375, 376, 0, 377, 373, 374, 375, 376, 373, 377,
1194 0, 378, 0, 0, 377, 378, 375, 376, 379, 377,
1195
1196 378, 378, 379, 389, 389, 380, 381, 389, 379, 380,
1197 381, 378, 0, 379, 0, 380, 381, 389, 379, 382,
1198 0, 381, 0, 382, 383, 380, 381, 384, 383, 382,
1199 0, 384, 385, 383, 383, 0, 385, 384, 0, 382,
1200 386, 386, 385, 0, 383, 386, 387, 384, 0, 388,
1201 387, 386, 385, 388, 390, 390, 387, 0, 390, 388,
1202 0, 386, 0, 0, 388, 0, 387, 0, 390, 388,
1203 391, 391, 0, 390, 391, 392, 392, 393, 393, 392,
1204 0, 393, 394, 394, 391, 0, 394, 0, 395, 392,
1205 396, 393, 395, 398, 396, 0, 394, 398, 395, 394,
1206
1207 396, 0, 401, 398, 399, 399, 401, 0, 395, 0,
1208 396, 399, 401, 398, 400, 400, 404, 0, 0, 0,
1209 404, 400, 401, 0, 405, 406, 404, 405, 405, 406,
1210 0, 404, 399, 0, 405, 406, 404, 407, 0, 0,
1211 406, 407, 400, 0, 405, 406, 408, 407, 400, 0,
1212 408, 409, 407, 0, 410, 409, 408, 407, 410, 408,
1213 0, 409, 0, 410, 410, 411, 408, 0, 0, 411,
1214 0, 409, 412, 413, 410, 411, 412, 413, 411, 412,
1215 414, 0, 412, 413, 414, 411, 0, 415, 0, 0,
1216 414, 415, 412, 413, 416, 417, 0, 415, 416, 417,
1217
1218 414, 0, 418, 0, 416, 417, 418, 415, 0, 419,
1219 417, 0, 418, 419, 416, 417, 420, 421, 0, 419,
1220 420, 421, 418, 0, 419, 0, 420, 421, 422, 419,
1221 423, 420, 422, 0, 423, 0, 420, 421, 422, 424,
1222 423, 0, 425, 424, 0, 423, 425, 426, 422, 424,
1223 423, 426, 425, 0, 427, 0, 425, 426, 427, 424,
1224 0, 428, 425, 0, 427, 428, 0, 426, 431, 431,
1225 428, 428, 432, 433, 427, 431, 432, 433, 0, 0,
1226 433, 428, 432, 433, 434, 435, 435, 431, 434, 435,
1227 0, 0, 432, 433, 434, 0, 431, 436, 436, 435,
1228
1229 0, 436, 437, 437, 434, 438, 437, 0, 439, 438,
1230 0, 436, 439, 0, 0, 438, 437, 439, 439, 440,
1231 440, 0, 441, 440, 0, 438, 441, 442, 439, 0,
1232 443, 442, 441, 440, 443, 444, 0, 442, 0, 444,
1233 443, 0, 441, 0, 0, 444, 0, 442, 444, 445,
1234 443, 0, 446, 445, 0, 444, 446, 448, 0, 445,
1235 447, 448, 446, 0, 447, 446, 0, 448, 447, 445,
1236 448, 0, 446, 0, 447, 450, 450, 448, 451, 451,
1237 455, 455, 450, 0, 447, 451, 0, 455, 456, 456,
1238 0, 450, 457, 462, 462, 456, 457, 458, 0, 0,
1239
1240 462, 458, 457, 450, 0, 459, 451, 458, 455, 459,
1241 455, 0, 457, 0, 455, 459, 456, 458, 460, 461,
1242 461, 462, 460, 473, 473, 459, 461, 473, 460, 0,
1243 463, 464, 465, 460, 463, 464, 465, 473, 460, 0,
1244 463, 464, 465, 461, 466, 466, 0, 461, 0, 466,
1245 463, 464, 465, 467, 468, 466, 0, 467, 468, 0,
1246 0, 0, 469, 467, 468, 466, 469, 0, 0, 0,
1247 0, 469, 469, 467, 468, 470, 471, 472, 0, 470,
1248 471, 472, 469, 0, 475, 470, 471, 472, 475, 476,
1249 472, 0, 0, 476, 475, 470, 471, 472, 477, 476,
1250
1251 0, 478, 477, 0, 475, 478, 479, 477, 477, 476,
1252 479, 478, 0, 480, 0, 0, 479, 480, 477, 479,
1253 0, 478, 0, 480, 481, 481, 479, 483, 482, 481,
1254 482, 483, 482, 480, 0, 481, 484, 483, 482, 0,
1255 484, 0, 0, 485, 485, 481, 484, 483, 482, 484,
1256 485, 486, 486, 487, 0, 488, 484, 487, 486, 488,
1257 489, 489, 0, 487, 0, 488, 0, 489, 0, 490,
1258 490, 485, 0, 487, 0, 488, 490, 494, 494, 486,
1259 491, 491, 492, 492, 489, 493, 493, 491, 489, 492,
1260 0, 0, 493, 0, 0, 496, 496, 490, 0, 496,
1261
1262 0, 0, 0, 0, 490, 494, 0, 494, 491, 496,
1263 492, 494, 493, 493, 497, 492, 499, 498, 497, 500,
1264 499, 498, 0, 500, 497, 498, 499, 0, 0, 500,
1265 0, 498, 500, 501, 497, 0, 499, 501, 0, 500,
1266 503, 498, 504, 501, 503, 0, 504, 501, 0, 503,
1267 503, 504, 504, 501, 505, 506, 507, 507, 505, 506,
1268 503, 507, 504, 0, 505, 506, 0, 507, 0, 508,
1269 508, 509, 509, 0, 505, 506, 508, 507, 509, 0,
1270 510, 512, 512, 0, 510, 512, 0, 0, 0, 0,
1271 510, 0, 513, 513, 0, 512, 513, 508, 0, 509,
1272
1273 510, 514, 514, 508, 513, 514, 513, 515, 515, 0,
1274 0, 515, 516, 516, 0, 514, 516, 0, 514, 517,
1275 517, 515, 0, 517, 516, 0, 516, 518, 518, 0,
1276 0, 518, 0, 517, 519, 519, 520, 520, 519, 0,
1277 520, 518, 522, 522, 523, 523, 525, 525, 519, 522,
1278 520, 523, 0, 525, 0, 526, 526, 527, 527, 528,
1279 528, 0, 526, 0, 527, 0, 528, 0, 0, 0,
1280 522, 526, 523, 523, 525, 525, 531, 0, 532, 0,
1281 531, 0, 532, 526, 0, 527, 531, 528, 532, 0,
1282 527, 532, 0, 533, 533, 0, 531, 533, 532, 534,
1283
1284 534, 0, 535, 534, 0, 536, 535, 533, 0, 536,
1285 0, 534, 535, 534, 536, 536, 0, 537, 0, 538,
1286 539, 537, 535, 538, 539, 536, 537, 537, 541, 538,
1287 539, 544, 541, 0, 0, 544, 0, 537, 541, 538,
1288 539, 544, 542, 546, 546, 541, 542, 0, 541, 543,
1289 546, 544, 542, 543, 547, 547, 542, 0, 543, 543,
1290 549, 547, 542, 0, 549, 0, 0, 0, 0, 543,
1291 549, 546, 564, 564, 550, 551, 564, 552, 550, 551,
1292 549, 552, 547, 547, 550, 551, 564, 552, 553, 550,
1293 0, 0, 553, 0, 550, 551, 553, 552, 0, 554,
1294
1295 556, 557, 553, 554, 556, 557, 0, 0, 0, 554,
1296 556, 557, 553, 0, 558, 0, 0, 556, 558, 554,
1297 556, 557, 561, 562, 558, 563, 561, 562, 0, 563,
1298 0, 561, 561, 562, 558, 563, 562, 565, 565, 0,
1299 0, 565, 561, 562, 0, 563, 566, 566, 567, 567,
1300 566, 565, 569, 565, 0, 567, 569, 570, 0, 571,
1301 566, 570, 569, 571, 566, 0, 0, 570, 0, 571,
1302 572, 573, 569, 0, 572, 573, 567, 570, 575, 571,
1303 572, 573, 575, 576, 0, 572, 0, 576, 575, 0,
1304 572, 573, 577, 576, 0, 578, 577, 0, 575, 578,
1305
1306 0, 0, 577, 576, 580, 578, 0, 577, 580, 581,
1307 578, 0, 577, 581, 580, 578, 584, 584, 0, 581,
1308 0, 584, 581, 0, 580, 0, 585, 584, 586, 581,
1309 585, 0, 586, 592, 592, 587, 585, 584, 586, 587,
1310 592, 586, 0, 588, 0, 587, 585, 588, 586, 0,
1311 589, 588, 0, 0, 589, 587, 0, 588, 589, 592,
1312 0, 592, 593, 593, 589, 594, 594, 588, 0, 593,
1313 0, 0, 594, 0, 589, 596, 596, 0, 597, 596,
1314 0, 598, 597, 0, 0, 598, 0, 0, 597, 596,
1315 593, 598, 601, 594, 0, 0, 601, 593, 597, 600,
1316
1317 594, 598, 601, 600, 604, 600, 0, 605, 604, 600,
1318 0, 605, 601, 0, 604, 0, 0, 605, 606, 600,
1319 605, 607, 606, 0, 604, 607, 606, 605, 0, 608,
1320 607, 607, 606, 608, 0, 0, 609, 0, 0, 608,
1321 609, 607, 606, 610, 608, 0, 609, 610, 611, 608,
1322 613, 0, 611, 610, 613, 609, 609, 0, 611, 0,
1323 613, 614, 615, 610, 0, 614, 615, 0, 611, 617,
1324 613, 614, 615, 617, 614, 0, 618, 0, 0, 617,
1325 618, 614, 615, 619, 621, 619, 618, 619, 621, 617,
1326 0, 624, 0, 619, 621, 624, 618, 0, 625, 0,
1327
1328 0, 624, 625, 619, 621, 626, 626, 0, 625, 0,
1329 626, 624, 0, 625, 0, 627, 626, 628, 625, 627,
1330 629, 628, 0, 0, 629, 627, 626, 628, 630, 629,
1331 629, 0, 630, 0, 0, 627, 0, 628, 630, 632,
1332 629, 630, 633, 632, 0, 0, 633, 634, 630, 632,
1333 636, 634, 633, 632, 636, 0, 0, 634, 0, 632,
1334 636, 637, 633, 0, 639, 637, 0, 634, 639, 642,
1335 636, 637, 643, 642, 639, 0, 643, 0, 639, 642,
1336 0, 637, 643, 644, 639, 0, 645, 644, 0, 642,
1337 645, 647, 643, 644, 646, 647, 645, 0, 646, 0,
1338
1339 645, 647, 0, 644, 646, 0, 645, 0, 647, 646,
1340 0, 647, 649, 0, 646, 0, 649, 650, 650, 652,
1341 652, 650, 649, 652, 653, 653, 658, 0, 653, 0,
1342 658, 650, 649, 652, 0, 652, 658, 0, 653, 659,
1343 653, 655, 655, 659, 0, 655, 658, 660, 659, 659,
1344 661, 660, 662, 0, 661, 655, 662, 660, 0, 659,
1345 661, 664, 662, 0, 666, 664, 0, 660, 666, 667,
1346 661, 664, 662, 667, 666, 0, 671, 664, 672, 667,
1347 671, 664, 672, 673, 666, 671, 671, 673, 672, 667,
1348 674, 674, 672, 673, 674, 0, 671, 0, 672, 0,
1349
1350 0, 0, 673, 673, 674, 675, 675, 677, 677, 675,
1351 0, 677, 679, 679, 680, 680, 679, 0, 680, 675,
1352 0, 677, 0, 675, 0, 0, 679, 0, 680, 681,
1353 681, 682, 683, 681, 685, 682, 683, 0, 685, 686,
1354 686, 682, 683, 681, 685, 0, 686, 681, 687, 687,
1355 0, 682, 683, 0, 685, 687, 689, 689, 690, 691,
1356 691, 692, 690, 689, 0, 692, 691, 686, 690, 692,
1357 693, 0, 0, 0, 693, 692, 687, 0, 690, 693,
1358 693, 0, 694, 689, 689, 692, 694, 691, 0, 695,
1359 693, 696, 694, 695, 0, 696, 0, 694, 0, 695,
1360
1361 0, 696, 694, 695, 0, 0, 0, 0, 0, 695,
1362 0, 696, 698, 698, 698, 698, 699, 699, 699, 699,
1363 700, 700, 700, 700, 701, 0, 701, 702, 702, 703,
1364 703, 703, 703, 704, 704, 705, 705, 705, 705, 697,
1365 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
1366 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
1367 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
1368 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
1369 697, 697, 697, 697, 697, 697, 697, 697, 697, 697,
1370 697, 697, 697, 697
1371
1372 } ;
1373
1374 static yy_state_type yy_last_accepting_state;
1375 static char *yy_last_accepting_cpos;
1376
1377 /* The intent behind this definition is that it'll catch
1378 * any uses of REJECT which flex missed.
1379 */
1380 #define REJECT reject_used_but_not_detected
1381 #define yymore() yymore_used_but_not_detected
1382 #define YY_MORE_ADJ 0
1383 #define YY_RESTORE_YY_MORE_OFFSET
1384 char *yytext;
1385 #line 1 "core/lex-asn1.l"
1386 #define INITIAL 0
1387 #define MACRO_DEF 1
1388 #define BRACE_BAL 2
1389
1390 /* compiler/core/lex-asn1.l */
1391 /* AUTHOR: Mike Sample */
1392 /* DATE: 91/92 */
1393 /* Copyright (C) 1991, 1992 Michael Sample */
1394 /* and the University of British Columbia */
1395 /* This program is free software; you can redistribute it and/or modify */
1396 /* it under the terms of the GNU General Public License as published by */
1397 /* the Free Software Foundation; either version 2 of the License, or */
1398 /* (at your option) any later version. */
1399 /* these comments must only be a single line each - lex blows it otherwise */
1400 /* due to this claim, the rcs log is at the end of this file. */
1401 /* $Header: /cvs/root/Security/SecuritySNACCRuntime/compiler/core/Attic/lex-asn1.c,v 1.1 2001/06/20 21:27:57 dmitch Exp $ */
1402 /* This lex spec should compile under either lex or flex. */
1403 /* There are three modes to the lexical analyzer, INITIAL, MACRO_DEF, */
1404 /* and BRACE_BAL. INITIAL is the normal mode. MACRO_DEF is used by */
1405 /* a lexical tie-in from the yacc code to eat a MACRO DEFINTION as a */
1406 /* single blk of text. BRACE_BAL is used to by a lexical tie-in for */
1407 /* eating values inside { }'s. */
1408 /* if your ASN.1 source file has control characters that cause */
1409 /* snacc to choke, use a program like 'tr' to condition them first. */
1410 #line 41 "core/lex-asn1.l"
1411
1412 #include "asn-incl.h"
1413 #include "mem.h"
1414 #include "asn1module.h"
1415 #include "exports.h"
1416 #include "parse-asn1.h" /* defines the returned token values */
1417 #include "parser.h"
1418 #include "lex-stuff.h"
1419 #include "errno.h"
1420
1421 unsigned long int myLineNoG = 0;
1422
1423
1424 /* Macros after this point can all be overridden by user definitions in
1425 * section 1.
1426 */
1427
1428 #ifndef YY_SKIP_YYWRAP
1429 #ifdef __cplusplus
1430 extern "C" int yywrap YY_PROTO(( void ));
1431 #else
1432 extern int yywrap YY_PROTO(( void ));
1433 #endif
1434 #endif
1435
1436 #ifndef YY_NO_UNPUT
1437 static void yyunput YY_PROTO(( int c, char *buf_ptr ));
1438 #endif
1439
1440 #ifndef yytext_ptr
1441 static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
1442 #endif
1443
1444 #ifdef YY_NEED_STRLEN
1445 static int yy_flex_strlen YY_PROTO(( yyconst char * ));
1446 #endif
1447
1448 #ifndef YY_NO_INPUT
1449 #ifdef __cplusplus
1450 static int yyinput YY_PROTO(( void ));
1451 #else
1452 static int input YY_PROTO(( void ));
1453 #endif
1454 #endif
1455
1456 #if YY_STACK_USED
1457 static int yy_start_stack_ptr = 0;
1458 static int yy_start_stack_depth = 0;
1459 static int *yy_start_stack = 0;
1460 #ifndef YY_NO_PUSH_STATE
1461 static void yy_push_state YY_PROTO(( int new_state ));
1462 #endif
1463 #ifndef YY_NO_POP_STATE
1464 static void yy_pop_state YY_PROTO(( void ));
1465 #endif
1466 #ifndef YY_NO_TOP_STATE
1467 static int yy_top_state YY_PROTO(( void ));
1468 #endif
1469
1470 #else
1471 #define YY_NO_PUSH_STATE 1
1472 #define YY_NO_POP_STATE 1
1473 #define YY_NO_TOP_STATE 1
1474 #endif
1475
1476 #ifdef YY_MALLOC_DECL
1477 YY_MALLOC_DECL
1478 #else
1479 #if __STDC__
1480 #ifndef __cplusplus
1481 #include <stdlib.h>
1482 #endif
1483 #else
1484 /* Just try to get by without declaring the routines. This will fail
1485 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
1486 * or sizeof(void*) != sizeof(int).
1487 */
1488 #endif
1489 #endif
1490
1491 /* Amount of stuff to slurp up with each read. */
1492 #ifndef YY_READ_BUF_SIZE
1493 #define YY_READ_BUF_SIZE 8192
1494 #endif
1495
1496 /* Copy whatever the last rule matched to the standard output. */
1497
1498 #ifndef ECHO
1499 /* This used to be an fputs(), but since the string might contain NUL's,
1500 * we now use fwrite().
1501 */
1502 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1503 #endif
1504
1505 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1506 * is returned in "result".
1507 */
1508 #ifndef YY_INPUT
1509 #define YY_INPUT(buf,result,max_size) \
1510 if ( yy_current_buffer->yy_is_interactive ) \
1511 { \
1512 int c = '*', n; \
1513 for ( n = 0; n < max_size && \
1514 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1515 buf[n] = (char) c; \
1516 if ( c == '\n' ) \
1517 buf[n++] = (char) c; \
1518 if ( c == EOF && ferror( yyin ) ) \
1519 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1520 result = n; \
1521 } \
1522 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1523 && ferror( yyin ) ) \
1524 YY_FATAL_ERROR( "input in flex scanner failed" );
1525 #endif
1526
1527 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1528 * we don't want an extra ';' after the "return" because that will cause
1529 * some compilers to complain about unreachable statements.
1530 */
1531 #ifndef yyterminate
1532 #define yyterminate() return YY_NULL
1533 #endif
1534
1535 /* Number of entries by which start-condition stack grows. */
1536 #ifndef YY_START_STACK_INCR
1537 #define YY_START_STACK_INCR 25
1538 #endif
1539
1540 /* Report a fatal error. */
1541 #ifndef YY_FATAL_ERROR
1542 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1543 #endif
1544
1545 /* Default declaration of generated scanner - a define so the user can
1546 * easily add parameters.
1547 */
1548 #ifndef YY_DECL
1549 #define YY_DECL int yylex YY_PROTO(( void ))
1550 #endif
1551
1552 /* Code executed at the beginning of each rule, after yytext and yyleng
1553 * have been set up.
1554 */
1555 #ifndef YY_USER_ACTION
1556 #define YY_USER_ACTION
1557 #endif
1558
1559 /* Code executed at the end of each rule. */
1560 #ifndef YY_BREAK
1561 #define YY_BREAK break;
1562 #endif
1563
1564 #define YY_RULE_SETUP \
1565 YY_USER_ACTION
1566
1567 YY_DECL
1568 {
1569 register yy_state_type yy_current_state;
1570 register char *yy_cp, *yy_bp;
1571 register int yy_act;
1572
1573 #line 55 "core/lex-asn1.l"
1574
1575
1576
1577 if ( yy_init )
1578 {
1579 yy_init = 0;
1580
1581 #ifdef YY_USER_INIT
1582 YY_USER_INIT;
1583 #endif
1584
1585 if ( ! yy_start )
1586 yy_start = 1; /* first start state */
1587
1588 if ( ! yyin )
1589 yyin = stdin;
1590
1591 if ( ! yyout )
1592 yyout = stdout;
1593
1594 if ( ! yy_current_buffer )
1595 yy_current_buffer =
1596 yy_create_buffer( yyin, YY_BUF_SIZE );
1597
1598 yy_load_buffer_state();
1599 }
1600
1601 while ( 1 ) /* loops until end-of-file is reached */
1602 {
1603 yy_cp = yy_c_buf_p;
1604
1605 /* Support of yytext. */
1606 *yy_cp = yy_hold_char;
1607
1608 /* yy_bp points to the position in yy_ch_buf of the start of
1609 * the current run.
1610 */
1611 yy_bp = yy_cp;
1612
1613 yy_current_state = yy_start;
1614 yy_match:
1615 do
1616 {
1617 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1618 if ( yy_accept[yy_current_state] )
1619 {
1620 yy_last_accepting_state = yy_current_state;
1621 yy_last_accepting_cpos = yy_cp;
1622 }
1623 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1624 {
1625 yy_current_state = (int) yy_def[yy_current_state];
1626 if ( yy_current_state >= 698 )
1627 yy_c = yy_meta[(unsigned int) yy_c];
1628 }
1629 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1630 ++yy_cp;
1631 }
1632 while ( yy_base[yy_current_state] != 3540 );
1633
1634 yy_find_action:
1635 yy_act = yy_accept[yy_current_state];
1636 if ( yy_act == 0 )
1637 { /* have to back up */
1638 yy_cp = yy_last_accepting_cpos;
1639 yy_current_state = yy_last_accepting_state;
1640 yy_act = yy_accept[yy_current_state];
1641 }
1642
1643 YY_DO_BEFORE_ACTION;
1644
1645
1646 do_action: /* This label is used only to access EOF actions. */
1647
1648
1649 switch ( yy_act )
1650 { /* beginning of action switch */
1651 case 0: /* must back up */
1652 /* undo the effects of YY_DO_BEFORE_ACTION */
1653 *yy_cp = yy_hold_char;
1654 yy_cp = yy_last_accepting_cpos;
1655 yy_current_state = yy_last_accepting_state;
1656 goto yy_find_action;
1657
1658 case 1:
1659 YY_RULE_SETUP
1660 #line 57 "core/lex-asn1.l"
1661 return BOXC_SYM;
1662 YY_BREAK
1663 case 2:
1664 YY_RULE_SETUP
1665 #line 58 "core/lex-asn1.l"
1666 return BOXS_SYM;
1667 YY_BREAK
1668 case 3:
1669 YY_RULE_SETUP
1670 #line 60 "core/lex-asn1.l"
1671 { COUNT_NEWLINES (myLineNoG, yytext);}
1672 YY_BREAK
1673 case 4:
1674 YY_RULE_SETUP
1675 #line 61 "core/lex-asn1.l"
1676 return DOT_SYM;
1677 YY_BREAK
1678 case 5:
1679 YY_RULE_SETUP
1680 #line 62 "core/lex-asn1.l"
1681 return COMMA_SYM;
1682 YY_BREAK
1683 case 6:
1684 YY_RULE_SETUP
1685 #line 63 "core/lex-asn1.l"
1686 return LEFTBRACE_SYM;
1687 YY_BREAK
1688 case 7:
1689 YY_RULE_SETUP
1690 #line 64 "core/lex-asn1.l"
1691 return RIGHTBRACE_SYM;
1692 YY_BREAK
1693 case 8:
1694 YY_RULE_SETUP
1695 #line 65 "core/lex-asn1.l"
1696 return LEFTPAREN_SYM;
1697 YY_BREAK
1698 case 9:
1699 YY_RULE_SETUP
1700 #line 66 "core/lex-asn1.l"
1701 return RIGHTPAREN_SYM;
1702 YY_BREAK
1703 case 10:
1704 YY_RULE_SETUP
1705 #line 67 "core/lex-asn1.l"
1706 return LEFTBRACKET_SYM;
1707 YY_BREAK
1708 case 11:
1709 YY_RULE_SETUP
1710 #line 68 "core/lex-asn1.l"
1711 return RIGHTBRACKET_SYM;
1712 YY_BREAK
1713 case 12:
1714 YY_RULE_SETUP
1715 #line 69 "core/lex-asn1.l"
1716 return LESSTHAN_SYM;
1717 YY_BREAK
1718 case 13:
1719 YY_RULE_SETUP
1720 #line 70 "core/lex-asn1.l"
1721 return MINUS_SYM;
1722 YY_BREAK
1723 case 14:
1724 YY_RULE_SETUP
1725 #line 71 "core/lex-asn1.l"
1726 return GETS_SYM;
1727 YY_BREAK
1728 case 15:
1729 YY_RULE_SETUP
1730 #line 72 "core/lex-asn1.l"
1731 return BAR_SYM;
1732 YY_BREAK
1733 case 16:
1734 YY_RULE_SETUP
1735 #line 73 "core/lex-asn1.l"
1736 return SEMI_COLON_SYM;
1737 YY_BREAK
1738 case 17:
1739 YY_RULE_SETUP
1740 #line 74 "core/lex-asn1.l"
1741 return TAGS_SYM;
1742 YY_BREAK
1743 case 18:
1744 YY_RULE_SETUP
1745 #line 75 "core/lex-asn1.l"
1746 return BOOLEAN_SYM;
1747 YY_BREAK
1748 case 19:
1749 YY_RULE_SETUP
1750 #line 76 "core/lex-asn1.l"
1751 return INTEGER_SYM;
1752 YY_BREAK
1753 case 20:
1754 YY_RULE_SETUP
1755 #line 77 "core/lex-asn1.l"
1756 return BIT_SYM;
1757 YY_BREAK
1758 case 21:
1759 YY_RULE_SETUP
1760 #line 78 "core/lex-asn1.l"
1761 return STRING_SYM;
1762 YY_BREAK
1763 case 22:
1764 YY_RULE_SETUP
1765 #line 79 "core/lex-asn1.l"
1766 return OCTET_SYM;
1767 YY_BREAK
1768 case 23:
1769 YY_RULE_SETUP
1770 #line 80 "core/lex-asn1.l"
1771 return NULL_SYM;
1772 YY_BREAK
1773 case 24:
1774 YY_RULE_SETUP
1775 #line 81 "core/lex-asn1.l"
1776 return SEQUENCE_SYM;
1777 YY_BREAK
1778 case 25:
1779 YY_RULE_SETUP
1780 #line 82 "core/lex-asn1.l"
1781 return OF_SYM;
1782 YY_BREAK
1783 case 26:
1784 YY_RULE_SETUP
1785 #line 83 "core/lex-asn1.l"
1786 return SET_SYM;
1787 YY_BREAK
1788 case 27:
1789 YY_RULE_SETUP
1790 #line 84 "core/lex-asn1.l"
1791 return IMPLICIT_SYM;
1792 YY_BREAK
1793 case 28:
1794 YY_RULE_SETUP
1795 #line 85 "core/lex-asn1.l"
1796 return CHOICE_SYM;
1797 YY_BREAK
1798 case 29:
1799 YY_RULE_SETUP
1800 #line 86 "core/lex-asn1.l"
1801 return ANY_SYM;
1802 YY_BREAK
1803 case 30:
1804 YY_RULE_SETUP
1805 #line 87 "core/lex-asn1.l"
1806 {
1807 COUNT_NEWLINES (myLineNoG, yytext);
1808 return OBJECT_IDENTIFIER_SYM;}
1809 YY_BREAK
1810 case 31:
1811 YY_RULE_SETUP
1812 #line 90 "core/lex-asn1.l"
1813 return OPTIONAL_SYM;
1814 YY_BREAK
1815 case 32:
1816 YY_RULE_SETUP
1817 #line 91 "core/lex-asn1.l"
1818 return DEFAULT_SYM;
1819 YY_BREAK
1820 case 33:
1821 YY_RULE_SETUP
1822 #line 92 "core/lex-asn1.l"
1823 return COMPONENTS_SYM;
1824 YY_BREAK
1825 case 34:
1826 YY_RULE_SETUP
1827 #line 93 "core/lex-asn1.l"
1828 return UNIVERSAL_SYM;
1829 YY_BREAK
1830 case 35:
1831 YY_RULE_SETUP
1832 #line 94 "core/lex-asn1.l"
1833 return APPLICATION_SYM;
1834 YY_BREAK
1835 case 36:
1836 YY_RULE_SETUP
1837 #line 95 "core/lex-asn1.l"
1838 return PRIVATE_SYM;
1839 YY_BREAK
1840 case 37:
1841 YY_RULE_SETUP
1842 #line 96 "core/lex-asn1.l"
1843 return TRUE_SYM;
1844 YY_BREAK
1845 case 38:
1846 YY_RULE_SETUP
1847 #line 97 "core/lex-asn1.l"
1848 return FALSE_SYM;
1849 YY_BREAK
1850 case 39:
1851 YY_RULE_SETUP
1852 #line 98 "core/lex-asn1.l"
1853 return BEGIN_SYM;
1854 YY_BREAK
1855 case 40:
1856 YY_RULE_SETUP
1857 #line 99 "core/lex-asn1.l"
1858 return END_SYM;
1859 YY_BREAK
1860 case 41:
1861 YY_RULE_SETUP
1862 #line 100 "core/lex-asn1.l"
1863 return DEFINITIONS_SYM;
1864 YY_BREAK
1865 case 42:
1866 YY_RULE_SETUP
1867 #line 101 "core/lex-asn1.l"
1868 return EXPLICIT_SYM;
1869 YY_BREAK
1870 case 43:
1871 YY_RULE_SETUP
1872 #line 102 "core/lex-asn1.l"
1873 return ENUMERATED_SYM;
1874 YY_BREAK
1875 case 44:
1876 YY_RULE_SETUP
1877 #line 103 "core/lex-asn1.l"
1878 return EXPORTS_SYM;
1879 YY_BREAK
1880 case 45:
1881 YY_RULE_SETUP
1882 #line 104 "core/lex-asn1.l"
1883 return IMPORTS_SYM;
1884 YY_BREAK
1885 case 46:
1886 YY_RULE_SETUP
1887 #line 105 "core/lex-asn1.l"
1888 return REAL_SYM;
1889 YY_BREAK
1890 case 47:
1891 YY_RULE_SETUP
1892 #line 106 "core/lex-asn1.l"
1893 return INCLUDES_SYM;
1894 YY_BREAK
1895 case 48:
1896 YY_RULE_SETUP
1897 #line 107 "core/lex-asn1.l"
1898 return MIN_SYM;
1899 YY_BREAK
1900 case 49:
1901 YY_RULE_SETUP
1902 #line 108 "core/lex-asn1.l"
1903 return MAX_SYM;
1904 YY_BREAK
1905 case 50:
1906 YY_RULE_SETUP
1907 #line 109 "core/lex-asn1.l"
1908 return SIZE_SYM;
1909 YY_BREAK
1910 case 51:
1911 YY_RULE_SETUP
1912 #line 110 "core/lex-asn1.l"
1913 return FROM_SYM;
1914 YY_BREAK
1915 case 52:
1916 YY_RULE_SETUP
1917 #line 111 "core/lex-asn1.l"
1918 return WITH_SYM;
1919 YY_BREAK
1920 case 53:
1921 YY_RULE_SETUP
1922 #line 112 "core/lex-asn1.l"
1923 return COMPONENT_SYM;
1924 YY_BREAK
1925 case 54:
1926 YY_RULE_SETUP
1927 #line 113 "core/lex-asn1.l"
1928 return PRESENT_SYM;
1929 YY_BREAK
1930 case 55:
1931 YY_RULE_SETUP
1932 #line 114 "core/lex-asn1.l"
1933 return ABSENT_SYM;
1934 YY_BREAK
1935 case 56:
1936 YY_RULE_SETUP
1937 #line 115 "core/lex-asn1.l"
1938 return DEFINED_SYM;
1939 YY_BREAK
1940 case 57:
1941 YY_RULE_SETUP
1942 #line 116 "core/lex-asn1.l"
1943 return BY_SYM;
1944 YY_BREAK
1945 case 58:
1946 YY_RULE_SETUP
1947 #line 117 "core/lex-asn1.l"
1948 return PLUS_INFINITY_SYM;
1949 YY_BREAK
1950 case 59:
1951 YY_RULE_SETUP
1952 #line 118 "core/lex-asn1.l"
1953 return MINUS_INFINITY_SYM;
1954 YY_BREAK
1955 case 60:
1956 YY_RULE_SETUP
1957 #line 122 "core/lex-asn1.l"
1958 {
1959 int i;
1960 char *buf;
1961 int bufSize;
1962 int inComment;
1963 int inStr;
1964 unsigned int c, c1, c2;
1965
1966 /*
1967 * matches any first char, then
1968 * copies everything until an uncommented,
1969 * unquoted END. This Lex state is started
1970 * from the yacc src (lexical tie in)
1971 * from the MACRO_DEF production.
1972 *
1973 * if you don't like realloc and don't care about
1974 * macro defs just have this return a constant string
1975 * like "BEGIN <not parsed> END" after eating the definition
1976 */
1977
1978 unput (yytext[0]);
1979
1980 bufSize = 1024;
1981 buf = Malloc (1024);
1982
1983 i = 0; /* put BEGIN str at beginning */
1984 buf[i++] = 'B';
1985 buf[i++] = 'E';
1986 buf[i++] = 'G';
1987 buf[i++] = 'I';
1988 buf[i++] = 'N';
1989 buf[i++] = '\n';
1990
1991 inStr = FALSE;
1992 inComment = FALSE;
1993 for ( ; ; i++)
1994 {
1995 c = input();
1996
1997 if (i >= (bufSize - 4))
1998 {
1999 bufSize += 512;
2000 buf = (char*) Realloc (buf, bufSize);
2001 }
2002
2003 buf[i] = c;
2004
2005 if ((inComment) && (c == '\n'))
2006 inComment = FALSE;
2007 else if (!(inStr) && (c == '-'))
2008 {
2009 c = input();
2010 if (c == '-')
2011 {
2012 buf[++i] = c;
2013 inComment = !inComment;
2014 }
2015 else
2016 unput (c);
2017 }
2018 else if (inComment)
2019 continue;
2020 else if (c == '"')
2021 inStr = !inStr;
2022 else if (inStr)
2023 continue;
2024 else if (c == 'E')
2025 {
2026 c1 = input();
2027 c2 = input();
2028 if ((c1 == 'N') && (c2 == 'D'))
2029 {
2030 buf[++i] = 'N';
2031 buf[++i] = 'D';
2032 buf[++i] = '\0';
2033 yylval.charPtr = buf;
2034 COUNT_NEWLINES (myLineNoG, buf);
2035 myLineNoG -=1; /* take off 1 added after "BEGIN" */
2036 return MACRODEFBODY_SYM;
2037 }
2038 else
2039 {
2040 unput (c2);
2041 unput (c1);
2042 }
2043 }
2044 }
2045 /* not reached */
2046 }
2047 YY_BREAK
2048 case 61:
2049 YY_RULE_SETUP
2050 #line 214 "core/lex-asn1.l"
2051 {
2052 int i;
2053 /* copy and return the Macro's name only */
2054 /* doesn't handle comments between macro name and MACRO sym */
2055 for (i = 0; (yytext[i] != ' ') &&
2056 (yytext[i] != '\t') &&
2057 (yytext[i] != '\n') &&
2058 (yytext[i] != '\r'); i++);
2059 yylval.charPtr = Malloc (i+1);
2060 strncpy (yylval.charPtr, yytext, i);
2061 yylval.charPtr[i] = '\0';
2062 return NAMEDMACRO_SYM; }
2063 YY_BREAK
2064 case 62:
2065 YY_RULE_SETUP
2066 #line 228 "core/lex-asn1.l"
2067 return OPERATION_SYM;
2068 YY_BREAK
2069 case 63:
2070 YY_RULE_SETUP
2071 #line 229 "core/lex-asn1.l"
2072 return ARGUMENT_SYM;
2073 YY_BREAK
2074 case 64:
2075 YY_RULE_SETUP
2076 #line 230 "core/lex-asn1.l"
2077 return RESULT_SYM;
2078 YY_BREAK
2079 case 65:
2080 YY_RULE_SETUP
2081 #line 231 "core/lex-asn1.l"
2082 return ERRORS_SYM;
2083 YY_BREAK
2084 case 66:
2085 YY_RULE_SETUP
2086 #line 232 "core/lex-asn1.l"
2087 return LINKED_SYM;
2088 YY_BREAK
2089 case 67:
2090 YY_RULE_SETUP
2091 #line 234 "core/lex-asn1.l"
2092 return ERROR_SYM;
2093 YY_BREAK
2094 case 68:
2095 YY_RULE_SETUP
2096 #line 235 "core/lex-asn1.l"
2097 return PARAMETER_SYM;
2098 YY_BREAK
2099 case 69:
2100 YY_RULE_SETUP
2101 #line 237 "core/lex-asn1.l"
2102 return BIND_SYM;
2103 YY_BREAK
2104 case 70:
2105 YY_RULE_SETUP
2106 #line 238 "core/lex-asn1.l"
2107 return BINDERROR_SYM;
2108 YY_BREAK
2109 case 71:
2110 YY_RULE_SETUP
2111 #line 239 "core/lex-asn1.l"
2112 return UNBIND_SYM;
2113 YY_BREAK
2114 case 72:
2115 YY_RULE_SETUP
2116 #line 240 "core/lex-asn1.l"
2117 return UNBINDERROR_SYM;
2118 YY_BREAK
2119 case 73:
2120 YY_RULE_SETUP
2121 #line 242 "core/lex-asn1.l"
2122 return AC_SYM;
2123 YY_BREAK
2124 case 74:
2125 YY_RULE_SETUP
2126 #line 243 "core/lex-asn1.l"
2127 return ASES_SYM;
2128 YY_BREAK
2129 case 75:
2130 YY_RULE_SETUP
2131 #line 244 "core/lex-asn1.l"
2132 return REMOTE_SYM;
2133 YY_BREAK
2134 case 76:
2135 YY_RULE_SETUP
2136 #line 245 "core/lex-asn1.l"
2137 return INITIATOR_SYM;
2138 YY_BREAK
2139 case 77:
2140 YY_RULE_SETUP
2141 #line 246 "core/lex-asn1.l"
2142 return RESPONDER_SYM;
2143 YY_BREAK
2144 case 78:
2145 YY_RULE_SETUP
2146 #line 247 "core/lex-asn1.l"
2147 {
2148 COUNT_NEWLINES (myLineNoG, yytext);
2149 return ABSTRACTSYNTAXES_SYM;}
2150 YY_BREAK
2151 case 79:
2152 YY_RULE_SETUP
2153 #line 251 "core/lex-asn1.l"
2154 return ASE_SYM;
2155 YY_BREAK
2156 case 80:
2157 YY_RULE_SETUP
2158 #line 252 "core/lex-asn1.l"
2159 return OPERATIONS_SYM;
2160 YY_BREAK
2161 case 81:
2162 YY_RULE_SETUP
2163 #line 253 "core/lex-asn1.l"
2164 {
2165 COUNT_NEWLINES (myLineNoG, yytext);
2166 return CONSUMERINVOKES_SYM;}
2167 YY_BREAK
2168 case 82:
2169 YY_RULE_SETUP
2170 #line 257 "core/lex-asn1.l"
2171 {
2172 COUNT_NEWLINES (myLineNoG, yytext);
2173 return SUPPLIERINVOKES_SYM;}
2174 YY_BREAK
2175 case 83:
2176 YY_RULE_SETUP
2177 #line 261 "core/lex-asn1.l"
2178 return EXTENSIONATTRIBUTE_SYM;
2179 YY_BREAK
2180 case 84:
2181 YY_RULE_SETUP
2182 #line 262 "core/lex-asn1.l"
2183 return EXTENSIONS_SYM;
2184 YY_BREAK
2185 case 85:
2186 YY_RULE_SETUP
2187 #line 263 "core/lex-asn1.l"
2188 return CHOSEN_SYM;
2189 YY_BREAK
2190 case 86:
2191 YY_RULE_SETUP
2192 #line 265 "core/lex-asn1.l"
2193 return EXTENSION_SYM;
2194 YY_BREAK
2195 case 87:
2196 YY_RULE_SETUP
2197 #line 266 "core/lex-asn1.l"
2198 return CRITICAL_SYM;
2199 YY_BREAK
2200 case 88:
2201 YY_RULE_SETUP
2202 #line 267 "core/lex-asn1.l"
2203 return FOR_SYM;
2204 YY_BREAK
2205 case 89:
2206 YY_RULE_SETUP
2207 #line 268 "core/lex-asn1.l"
2208 return SUBMISSION_SYM;
2209 YY_BREAK
2210 case 90:
2211 YY_RULE_SETUP
2212 #line 269 "core/lex-asn1.l"
2213 return DELIVERY_SYM;
2214 YY_BREAK
2215 case 91:
2216 YY_RULE_SETUP
2217 #line 270 "core/lex-asn1.l"
2218 return TRANSFER_SYM;
2219 YY_BREAK
2220 case 92:
2221 YY_RULE_SETUP
2222 #line 272 "core/lex-asn1.l"
2223 return OBJECT_SYM;
2224 YY_BREAK
2225 case 93:
2226 YY_RULE_SETUP
2227 #line 273 "core/lex-asn1.l"
2228 return PORTS_SYM;
2229 YY_BREAK
2230 case 94:
2231 YY_RULE_SETUP
2232 #line 275 "core/lex-asn1.l"
2233 return PORT_SYM;
2234 YY_BREAK
2235 case 95:
2236 YY_RULE_SETUP
2237 #line 276 "core/lex-asn1.l"
2238 {
2239 COUNT_NEWLINES (myLineNoG, yytext);
2240 return ABSTRACTOPS_SYM;}
2241 YY_BREAK
2242 case 96:
2243 YY_RULE_SETUP
2244 #line 281 "core/lex-asn1.l"
2245 return REFINE_SYM;
2246 YY_BREAK
2247 case 97:
2248 YY_RULE_SETUP
2249 #line 282 "core/lex-asn1.l"
2250 return AS_SYM;
2251 YY_BREAK
2252 case 98:
2253 YY_RULE_SETUP
2254 #line 283 "core/lex-asn1.l"
2255 return RECURRING_SYM;
2256 YY_BREAK
2257 case 99:
2258 YY_RULE_SETUP
2259 #line 284 "core/lex-asn1.l"
2260 return VISIBLE_SYM;
2261 YY_BREAK
2262 case 100:
2263 YY_RULE_SETUP
2264 #line 285 "core/lex-asn1.l"
2265 return PAIRED_SYM;
2266 YY_BREAK
2267 case 101:
2268 YY_RULE_SETUP
2269 #line 287 "core/lex-asn1.l"
2270 return ABSTRACTBIND_SYM;
2271 YY_BREAK
2272 case 102:
2273 YY_RULE_SETUP
2274 #line 288 "core/lex-asn1.l"
2275 return TO_SYM;
2276 YY_BREAK
2277 case 103:
2278 YY_RULE_SETUP
2279 #line 290 "core/lex-asn1.l"
2280 return ABSTRACTUNBIND_SYM;
2281 YY_BREAK
2282 case 104:
2283 YY_RULE_SETUP
2284 #line 292 "core/lex-asn1.l"
2285 return ABSTRACTERROR_SYM;
2286 YY_BREAK
2287 case 105:
2288 YY_RULE_SETUP
2289 #line 294 "core/lex-asn1.l"
2290 return ABSTRACTOPERATION_SYM;
2291 YY_BREAK
2292 case 106:
2293 YY_RULE_SETUP
2294 #line 296 "core/lex-asn1.l"
2295 return TOKEN_SYM;
2296 YY_BREAK
2297 case 107:
2298 YY_RULE_SETUP
2299 #line 298 "core/lex-asn1.l"
2300 return TOKENDATA_SYM;
2301 YY_BREAK
2302 case 108:
2303 YY_RULE_SETUP
2304 #line 300 "core/lex-asn1.l"
2305 return SECURITYCATEGORY_SYM;
2306 YY_BREAK
2307 case 109:
2308 YY_RULE_SETUP
2309 #line 302 "core/lex-asn1.l"
2310 return ALGORITHM_SYM;
2311 YY_BREAK
2312 case 110:
2313 YY_RULE_SETUP
2314 #line 303 "core/lex-asn1.l"
2315 return ENCRYPTED_SYM;
2316 YY_BREAK
2317 case 111:
2318 YY_RULE_SETUP
2319 #line 304 "core/lex-asn1.l"
2320 return SIGNED_SYM;
2321 YY_BREAK
2322 case 112:
2323 YY_RULE_SETUP
2324 #line 305 "core/lex-asn1.l"
2325 return SIGNATURE_SYM;
2326 YY_BREAK
2327 case 113:
2328 YY_RULE_SETUP
2329 #line 306 "core/lex-asn1.l"
2330 return PROTECTED_SYM;
2331 YY_BREAK
2332 case 114:
2333 YY_RULE_SETUP
2334 #line 308 "core/lex-asn1.l"
2335 return OBJECTTYPE_SYM;
2336 YY_BREAK
2337 case 115:
2338 YY_RULE_SETUP
2339 #line 309 "core/lex-asn1.l"
2340 return SYNTAX_SYM;
2341 YY_BREAK
2342 case 116:
2343 YY_RULE_SETUP
2344 #line 310 "core/lex-asn1.l"
2345 return ACCESS_SYM;
2346 YY_BREAK
2347 case 117:
2348 YY_RULE_SETUP
2349 #line 311 "core/lex-asn1.l"
2350 return STATUS_SYM;
2351 YY_BREAK
2352 case 118:
2353 YY_RULE_SETUP
2354 #line 312 "core/lex-asn1.l"
2355 return DESCRIPTION_SYM;
2356 YY_BREAK
2357 case 119:
2358 YY_RULE_SETUP
2359 #line 313 "core/lex-asn1.l"
2360 return REFERENCE_SYM;
2361 YY_BREAK
2362 case 120:
2363 YY_RULE_SETUP
2364 #line 314 "core/lex-asn1.l"
2365 return INDEX_SYM;
2366 YY_BREAK
2367 case 121:
2368 YY_RULE_SETUP
2369 #line 315 "core/lex-asn1.l"
2370 return DEFVAL_SYM;
2371 YY_BREAK
2372 case 122:
2373 YY_RULE_SETUP
2374 #line 319 "core/lex-asn1.l"
2375 {
2376 int i;
2377 char *buf;
2378 int bufSize;
2379 int inComment;
2380 int inStr;
2381 int braceDepth;
2382 char c, c1, c2;
2383
2384 /*
2385 * matches any first char, then
2386 * copies everything until an ending "}"
2387 * Assumes that initially parsed a "{"
2388 * and puts one at beg. of returned string
2389 */
2390 unput (yytext[0]);
2391
2392 bufSize = 256;
2393 buf = Malloc (256);
2394
2395 i = 0; /* put openning brace at beginning */
2396 buf[i++] = '{';
2397 buf[i++] = ' ';
2398
2399 inStr = FALSE;
2400 inComment = FALSE;
2401 braceDepth = 1;
2402 for ( ; ; i++)
2403 {
2404 c = input();
2405
2406 if (i >= (bufSize - 2))
2407 {
2408 bufSize += 256;
2409 buf = (char*) Realloc (buf, bufSize);
2410 }
2411
2412 buf[i] = c;
2413
2414 if ((inComment) && (c == '\n'))
2415 inComment = FALSE;
2416 else if (!(inStr) && (c == '-'))
2417 {
2418 c = input();
2419 if (c == '-')
2420 {
2421 buf[++i] = c;
2422 inComment = !inComment;
2423 }
2424 else
2425 unput (c);
2426 }
2427 else if (inComment)
2428 continue;
2429 else if (c == '"')
2430 inStr = !inStr;
2431 else if (inStr)
2432 continue;
2433 else if (c == '{')
2434 braceDepth++;
2435 else if (c == '}')
2436 {
2437 braceDepth--;
2438 if (braceDepth == 0)
2439 {
2440 buf[++i] = '\0';
2441 yylval.charPtr = buf;
2442 COUNT_NEWLINES (myLineNoG, buf);
2443 return BRACEBAL_SYM;
2444 }
2445 }
2446 }
2447 /* not reached */
2448 }
2449 YY_BREAK
2450 case 123:
2451 YY_RULE_SETUP
2452 #line 396 "core/lex-asn1.l"
2453 {
2454 COUNT_NEWLINES (myLineNoG, yytext);
2455 yylval.charPtr = (char*)Malloc (yyleng);
2456 strncpy (yylval.charPtr, yytext+1, yyleng -1); /* strip "'"s */
2457 yylval.charPtr[yyleng-2] = '\0';
2458 return BSTRING_SYM;}
2459 YY_BREAK
2460 case 124:
2461 YY_RULE_SETUP
2462 #line 403 "core/lex-asn1.l"
2463 {
2464 COUNT_NEWLINES (myLineNoG, yytext);
2465 yylval.charPtr = (char*)Malloc (yyleng);
2466 strncpy (yylval.charPtr, yytext+1, yyleng -1); /* strip "'"s */
2467 yylval.charPtr[yyleng-2] = '\0';
2468 return HSTRING_SYM;}
2469 YY_BREAK
2470 case 125:
2471 YY_RULE_SETUP
2472 #line 410 "core/lex-asn1.l"
2473 {
2474 COUNT_NEWLINES (myLineNoG, yytext);
2475 yylval.charPtr = (char*)Malloc (yyleng);
2476 strncpy (yylval.charPtr, yytext+1, yyleng -1); /* strip '"'s */
2477 yylval.charPtr[yyleng-2] = '\0'; /* 2 quotes == quote in a quote */
2478 return CSTRING_SYM;}
2479 YY_BREAK
2480 case 126:
2481 YY_RULE_SETUP
2482 #line 417 "core/lex-asn1.l"
2483 {
2484 yylval.charPtr = (char*)Malloc (yyleng+1);
2485 strcpy (yylval.charPtr, yytext);
2486 yylval.charPtr[yyleng] = '\0';
2487 return UCASEFIRST_IDENT_SYM;}
2488 YY_BREAK
2489 case 127:
2490 YY_RULE_SETUP
2491 #line 424 "core/lex-asn1.l"
2492 {
2493 yylval.charPtr = (char*)Malloc (yyleng+1);
2494 strcpy (yylval.charPtr, yytext);
2495 yylval.charPtr[yyleng] = '\0';
2496 return LCASEFIRST_IDENT_SYM;}
2497 YY_BREAK
2498 case 128:
2499 YY_RULE_SETUP
2500 #line 430 "core/lex-asn1.l"
2501 { /*first digit cannot be zero on multi-digit #'s*/
2502 errno = 0;
2503 {
2504 unsigned long ul = (unsigned long) strtol(yytext,NULL,10);
2505 if (!errno && ul>(unsigned long)0xFFFFFFFF) {
2506 errno = ERANGE;
2507 }
2508 if (!errno) {
2509 yylval.uintVal = (unsigned int) ul;
2510 return NUMBER_SYM;
2511 }
2512 }
2513 yylval.charPtr = (char*)Malloc (yyleng+1);
2514 strcpy (yylval.charPtr, yytext);
2515 yylval.charPtr[yyleng] = '\0';
2516 return NUMBER_ERANGE;}
2517 YY_BREAK
2518 case 129:
2519 YY_RULE_SETUP
2520 #line 447 "core/lex-asn1.l"
2521 { /*allow zero as first digit on single digit #'s*/
2522 yylval.uintVal = 0;
2523 return NUMBER_SYM;}
2524 YY_BREAK
2525 case 130:
2526 YY_RULE_SETUP
2527 #line 452 "core/lex-asn1.l"
2528 {
2529 /* this must be before the normal comment eater so that snacc attribs
2530 * are not treated as normal comments
2531 */
2532 /* eat comments, update line no */
2533 int len;
2534 COUNT_NEWLINES (myLineNoG, yytext);
2535 yylval.charPtr = (char*)Malloc (yyleng-4);
2536 /* skip first "--snacc" in copy to ret val */
2537 strcpy (yylval.charPtr, yytext + 7);
2538 len = strlen (yylval.charPtr);
2539 /* strip off newline or -- terminator for comment */
2540 if (yylval.charPtr[len-1] == '\n')
2541 yylval.charPtr[len-1] = '\0';
2542 else
2543 yylval.charPtr[len-2] = '\0';
2544 return SNACC_ATTRIBUTES; }
2545 YY_BREAK
2546 case 131:
2547 YY_RULE_SETUP
2548 #line 471 "core/lex-asn1.l"
2549 {
2550 /* eat comments, update line no */
2551 COUNT_NEWLINES (myLineNoG, yytext);}
2552 YY_BREAK
2553 case 132:
2554 YY_RULE_SETUP
2555 #line 476 "core/lex-asn1.l"
2556 ECHO;
2557 YY_BREAK
2558 case YY_STATE_EOF(INITIAL):
2559 case YY_STATE_EOF(MACRO_DEF):
2560 case YY_STATE_EOF(BRACE_BAL):
2561 yyterminate();
2562
2563 case YY_END_OF_BUFFER:
2564 {
2565 /* Amount of text matched not including the EOB char. */
2566 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
2567
2568 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2569 *yy_cp = yy_hold_char;
2570 YY_RESTORE_YY_MORE_OFFSET
2571
2572 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
2573 {
2574 /* We're scanning a new file or input source. It's
2575 * possible that this happened because the user
2576 * just pointed yyin at a new source and called
2577 * yylex(). If so, then we have to assure
2578 * consistency between yy_current_buffer and our
2579 * globals. Here is the right place to do so, because
2580 * this is the first action (other than possibly a
2581 * back-up) that will match for the new input source.
2582 */
2583 yy_n_chars = yy_current_buffer->yy_n_chars;
2584 yy_current_buffer->yy_input_file = yyin;
2585 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
2586 }
2587
2588 /* Note that here we test for yy_c_buf_p "<=" to the position
2589 * of the first EOB in the buffer, since yy_c_buf_p will
2590 * already have been incremented past the NUL character
2591 * (since all states make transitions on EOB to the
2592 * end-of-buffer state). Contrast this with the test
2593 * in input().
2594 */
2595 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2596 { /* This was really a NUL. */
2597 yy_state_type yy_next_state;
2598
2599 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
2600
2601 yy_current_state = yy_get_previous_state();
2602
2603 /* Okay, we're now positioned to make the NUL
2604 * transition. We couldn't have
2605 * yy_get_previous_state() go ahead and do it
2606 * for us because it doesn't know how to deal
2607 * with the possibility of jamming (and we don't
2608 * want to build jamming into it because then it
2609 * will run more slowly).
2610 */
2611
2612 yy_next_state = yy_try_NUL_trans( yy_current_state );
2613
2614 yy_bp = yytext_ptr + YY_MORE_ADJ;
2615
2616 if ( yy_next_state )
2617 {
2618 /* Consume the NUL. */
2619 yy_cp = ++yy_c_buf_p;
2620 yy_current_state = yy_next_state;
2621 goto yy_match;
2622 }
2623
2624 else
2625 {
2626 yy_cp = yy_c_buf_p;
2627 goto yy_find_action;
2628 }
2629 }
2630
2631 else switch ( yy_get_next_buffer() )
2632 {
2633 case EOB_ACT_END_OF_FILE:
2634 {
2635 yy_did_buffer_switch_on_eof = 0;
2636
2637 if ( yywrap() )
2638 {
2639 /* Note: because we've taken care in
2640 * yy_get_next_buffer() to have set up
2641 * yytext, we can now set up
2642 * yy_c_buf_p so that if some total
2643 * hoser (like flex itself) wants to
2644 * call the scanner after we return the
2645 * YY_NULL, it'll still work - another
2646 * YY_NULL will get returned.
2647 */
2648 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
2649
2650 yy_act = YY_STATE_EOF(YY_START);
2651 goto do_action;
2652 }
2653
2654 else
2655 {
2656 if ( ! yy_did_buffer_switch_on_eof )
2657 YY_NEW_FILE;
2658 }
2659 break;
2660 }
2661
2662 case EOB_ACT_CONTINUE_SCAN:
2663 yy_c_buf_p =
2664 yytext_ptr + yy_amount_of_matched_text;
2665
2666 yy_current_state = yy_get_previous_state();
2667
2668 yy_cp = yy_c_buf_p;
2669 yy_bp = yytext_ptr + YY_MORE_ADJ;
2670 goto yy_match;
2671
2672 case EOB_ACT_LAST_MATCH:
2673 yy_c_buf_p =
2674 &yy_current_buffer->yy_ch_buf[yy_n_chars];
2675
2676 yy_current_state = yy_get_previous_state();
2677
2678 yy_cp = yy_c_buf_p;
2679 yy_bp = yytext_ptr + YY_MORE_ADJ;
2680 goto yy_find_action;
2681 }
2682 break;
2683 }
2684
2685 default:
2686 YY_FATAL_ERROR(
2687 "fatal flex scanner internal error--no action found" );
2688 } /* end of action switch */
2689 } /* end of scanning one token */
2690 } /* end of yylex */
2691
2692
2693 /* yy_get_next_buffer - try to read in a new buffer
2694 *
2695 * Returns a code representing an action:
2696 * EOB_ACT_LAST_MATCH -
2697 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2698 * EOB_ACT_END_OF_FILE - end of file
2699 */
2700
2701 static int yy_get_next_buffer()
2702 {
2703 register char *dest = yy_current_buffer->yy_ch_buf;
2704 register char *source = yytext_ptr;
2705 register int number_to_move, i;
2706 int ret_val;
2707
2708 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
2709 YY_FATAL_ERROR(
2710 "fatal flex scanner internal error--end of buffer missed" );
2711
2712 if ( yy_current_buffer->yy_fill_buffer == 0 )
2713 { /* Don't try to fill the buffer, so this is an EOF. */
2714 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
2715 {
2716 /* We matched a single character, the EOB, so
2717 * treat this as a final EOF.
2718 */
2719 return EOB_ACT_END_OF_FILE;
2720 }
2721
2722 else
2723 {
2724 /* We matched some text prior to the EOB, first
2725 * process it.
2726 */
2727 return EOB_ACT_LAST_MATCH;
2728 }
2729 }
2730
2731 /* Try to read more data. */
2732
2733 /* First move last chars to start of buffer. */
2734 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
2735
2736 for ( i = 0; i < number_to_move; ++i )
2737 *(dest++) = *(source++);
2738
2739 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2740 /* don't do the read, it's not guaranteed to return an EOF,
2741 * just force an EOF
2742 */
2743 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
2744
2745 else
2746 {
2747 int num_to_read =
2748 yy_current_buffer->yy_buf_size - number_to_move - 1;
2749
2750 while ( num_to_read <= 0 )
2751 { /* Not enough room in the buffer - grow it. */
2752 #ifdef YY_USES_REJECT
2753 YY_FATAL_ERROR(
2754 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2755 #else
2756
2757 /* just a shorter name for the current buffer */
2758 YY_BUFFER_STATE b = yy_current_buffer;
2759
2760 int yy_c_buf_p_offset =
2761 (int) (yy_c_buf_p - b->yy_ch_buf);
2762
2763 if ( b->yy_is_our_buffer )
2764 {
2765 int new_size = b->yy_buf_size * 2;
2766
2767 if ( new_size <= 0 )
2768 b->yy_buf_size += b->yy_buf_size / 8;
2769 else
2770 b->yy_buf_size *= 2;
2771
2772 b->yy_ch_buf = (char *)
2773 /* Include room in for 2 EOB chars. */
2774 yy_flex_realloc( (void *) b->yy_ch_buf,
2775 b->yy_buf_size + 2 );
2776 }
2777 else
2778 /* Can't grow it, we don't own it. */
2779 b->yy_ch_buf = 0;
2780
2781 if ( ! b->yy_ch_buf )
2782 YY_FATAL_ERROR(
2783 "fatal error - scanner input buffer overflow" );
2784
2785 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2786
2787 num_to_read = yy_current_buffer->yy_buf_size -
2788 number_to_move - 1;
2789 #endif
2790 }
2791
2792 if ( num_to_read > YY_READ_BUF_SIZE )
2793 num_to_read = YY_READ_BUF_SIZE;
2794
2795 /* Read in more data. */
2796 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
2797 yy_n_chars, num_to_read );
2798
2799 yy_current_buffer->yy_n_chars = yy_n_chars;
2800 }
2801
2802 if ( yy_n_chars == 0 )
2803 {
2804 if ( number_to_move == YY_MORE_ADJ )
2805 {
2806 ret_val = EOB_ACT_END_OF_FILE;
2807 yyrestart( yyin );
2808 }
2809
2810 else
2811 {
2812 ret_val = EOB_ACT_LAST_MATCH;
2813 yy_current_buffer->yy_buffer_status =
2814 YY_BUFFER_EOF_PENDING;
2815 }
2816 }
2817
2818 else
2819 ret_val = EOB_ACT_CONTINUE_SCAN;
2820
2821 yy_n_chars += number_to_move;
2822 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2823 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2824
2825 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
2826
2827 return ret_val;
2828 }
2829
2830
2831 /* yy_get_previous_state - get the state just before the EOB char was reached */
2832
2833 static yy_state_type yy_get_previous_state()
2834 {
2835 register yy_state_type yy_current_state;
2836 register char *yy_cp;
2837
2838 yy_current_state = yy_start;
2839
2840 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
2841 {
2842 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2843 if ( yy_accept[yy_current_state] )
2844 {
2845 yy_last_accepting_state = yy_current_state;
2846 yy_last_accepting_cpos = yy_cp;
2847 }
2848 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2849 {
2850 yy_current_state = (int) yy_def[yy_current_state];
2851 if ( yy_current_state >= 698 )
2852 yy_c = yy_meta[(unsigned int) yy_c];
2853 }
2854 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2855 }
2856
2857 return yy_current_state;
2858 }
2859
2860
2861 /* yy_try_NUL_trans - try to make a transition on the NUL character
2862 *
2863 * synopsis
2864 * next_state = yy_try_NUL_trans( current_state );
2865 */
2866
2867 #ifdef YY_USE_PROTOS
2868 static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
2869 #else
2870 static yy_state_type yy_try_NUL_trans( yy_current_state )
2871 yy_state_type yy_current_state;
2872 #endif
2873 {
2874 register int yy_is_jam;
2875 register char *yy_cp = yy_c_buf_p;
2876
2877 register YY_CHAR yy_c = 1;
2878 if ( yy_accept[yy_current_state] )
2879 {
2880 yy_last_accepting_state = yy_current_state;
2881 yy_last_accepting_cpos = yy_cp;
2882 }
2883 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2884 {
2885 yy_current_state = (int) yy_def[yy_current_state];
2886 if ( yy_current_state >= 698 )
2887 yy_c = yy_meta[(unsigned int) yy_c];
2888 }
2889 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2890 yy_is_jam = (yy_current_state == 697);
2891
2892 return yy_is_jam ? 0 : yy_current_state;
2893 }
2894
2895
2896 #ifndef YY_NO_UNPUT
2897 #ifdef YY_USE_PROTOS
2898 static void yyunput( int c, register char *yy_bp )
2899 #else
2900 static void yyunput( c, yy_bp )
2901 int c;
2902 register char *yy_bp;
2903 #endif
2904 {
2905 register char *yy_cp = yy_c_buf_p;
2906
2907 /* undo effects of setting up yytext */
2908 *yy_cp = yy_hold_char;
2909
2910 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2911 { /* need to shift things up to make room */
2912 /* +2 for EOB chars. */
2913 register int number_to_move = yy_n_chars + 2;
2914 register char *dest = &yy_current_buffer->yy_ch_buf[
2915 yy_current_buffer->yy_buf_size + 2];
2916 register char *source =
2917 &yy_current_buffer->yy_ch_buf[number_to_move];
2918
2919 while ( source > yy_current_buffer->yy_ch_buf )
2920 *--dest = *--source;
2921
2922 yy_cp += (int) (dest - source);
2923 yy_bp += (int) (dest - source);
2924 yy_current_buffer->yy_n_chars =
2925 yy_n_chars = yy_current_buffer->yy_buf_size;
2926
2927 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2928 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2929 }
2930
2931 *--yy_cp = (char) c;
2932
2933
2934 yytext_ptr = yy_bp;
2935 yy_hold_char = *yy_cp;
2936 yy_c_buf_p = yy_cp;
2937 }
2938 #endif /* ifndef YY_NO_UNPUT */
2939
2940
2941 #ifdef __cplusplus
2942 static int yyinput()
2943 #else
2944 static int input()
2945 #endif
2946 {
2947 int c;
2948
2949 *yy_c_buf_p = yy_hold_char;
2950
2951 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2952 {
2953 /* yy_c_buf_p now points to the character we want to return.
2954 * If this occurs *before* the EOB characters, then it's a
2955 * valid NUL; if not, then we've hit the end of the buffer.
2956 */
2957 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2958 /* This was really a NUL. */
2959 *yy_c_buf_p = '\0';
2960
2961 else
2962 { /* need more input */
2963 int offset = yy_c_buf_p - yytext_ptr;
2964 ++yy_c_buf_p;
2965
2966 switch ( yy_get_next_buffer() )
2967 {
2968 case EOB_ACT_LAST_MATCH:
2969 /* This happens because yy_g_n_b()
2970 * sees that we've accumulated a
2971 * token and flags that we need to
2972 * try matching the token before
2973 * proceeding. But for input(),
2974 * there's no matching to consider.
2975 * So convert the EOB_ACT_LAST_MATCH
2976 * to EOB_ACT_END_OF_FILE.
2977 */
2978
2979 /* Reset buffer status. */
2980 yyrestart( yyin );
2981
2982 /* fall through */
2983
2984 case EOB_ACT_END_OF_FILE:
2985 {
2986 if ( yywrap() )
2987 return EOF;
2988
2989 if ( ! yy_did_buffer_switch_on_eof )
2990 YY_NEW_FILE;
2991 #ifdef __cplusplus
2992 return yyinput();
2993 #else
2994 return input();
2995 #endif
2996 }
2997
2998 case EOB_ACT_CONTINUE_SCAN:
2999 yy_c_buf_p = yytext_ptr + offset;
3000 break;
3001 }
3002 }
3003 }
3004
3005 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
3006 *yy_c_buf_p = '\0'; /* preserve yytext */
3007 yy_hold_char = *++yy_c_buf_p;
3008
3009
3010 return c;
3011 }
3012
3013
3014 #ifdef YY_USE_PROTOS
3015 void yyrestart( FILE *input_file )
3016 #else
3017 void yyrestart( input_file )
3018 FILE *input_file;
3019 #endif
3020 {
3021 if ( ! yy_current_buffer )
3022 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
3023
3024 yy_init_buffer( yy_current_buffer, input_file );
3025 yy_load_buffer_state();
3026 }
3027
3028
3029 #ifdef YY_USE_PROTOS
3030 void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
3031 #else
3032 void yy_switch_to_buffer( new_buffer )
3033 YY_BUFFER_STATE new_buffer;
3034 #endif
3035 {
3036 if ( yy_current_buffer == new_buffer )
3037 return;
3038
3039 if ( yy_current_buffer )
3040 {
3041 /* Flush out information for old buffer. */
3042 *yy_c_buf_p = yy_hold_char;
3043 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
3044 yy_current_buffer->yy_n_chars = yy_n_chars;
3045 }
3046
3047 yy_current_buffer = new_buffer;
3048 yy_load_buffer_state();
3049
3050 /* We don't actually know whether we did this switch during
3051 * EOF (yywrap()) processing, but the only time this flag
3052 * is looked at is after yywrap() is called, so it's safe
3053 * to go ahead and always set it.
3054 */
3055 yy_did_buffer_switch_on_eof = 1;
3056 }
3057
3058
3059 #ifdef YY_USE_PROTOS
3060 void yy_load_buffer_state( void )
3061 #else
3062 void yy_load_buffer_state()
3063 #endif
3064 {
3065 yy_n_chars = yy_current_buffer->yy_n_chars;
3066 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
3067 yyin = yy_current_buffer->yy_input_file;
3068 yy_hold_char = *yy_c_buf_p;
3069 }
3070
3071
3072 #ifdef YY_USE_PROTOS
3073 YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
3074 #else
3075 YY_BUFFER_STATE yy_create_buffer( file, size )
3076 FILE *file;
3077 int size;
3078 #endif
3079 {
3080 YY_BUFFER_STATE b;
3081
3082 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
3083 if ( ! b )
3084 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3085
3086 b->yy_buf_size = size;
3087
3088 /* yy_ch_buf has to be 2 characters longer than the size given because
3089 * we need to put in 2 end-of-buffer characters.
3090 */
3091 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
3092 if ( ! b->yy_ch_buf )
3093 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3094
3095 b->yy_is_our_buffer = 1;
3096
3097 yy_init_buffer( b, file );
3098
3099 return b;
3100 }
3101
3102
3103 #ifdef YY_USE_PROTOS
3104 void yy_delete_buffer( YY_BUFFER_STATE b )
3105 #else
3106 void yy_delete_buffer( b )
3107 YY_BUFFER_STATE b;
3108 #endif
3109 {
3110 if ( ! b )
3111 return;
3112
3113 if ( b == yy_current_buffer )
3114 yy_current_buffer = (YY_BUFFER_STATE) 0;
3115
3116 if ( b->yy_is_our_buffer )
3117 yy_flex_free( (void *) b->yy_ch_buf );
3118
3119 yy_flex_free( (void *) b );
3120 }
3121
3122
3123 #ifndef YY_ALWAYS_INTERACTIVE
3124 #ifndef YY_NEVER_INTERACTIVE
3125 extern int isatty YY_PROTO(( int ));
3126 #endif
3127 #endif
3128
3129 #ifdef YY_USE_PROTOS
3130 void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
3131 #else
3132 void yy_init_buffer( b, file )
3133 YY_BUFFER_STATE b;
3134 FILE *file;
3135 #endif
3136
3137
3138 {
3139 yy_flush_buffer( b );
3140
3141 b->yy_input_file = file;
3142 b->yy_fill_buffer = 1;
3143
3144 #if YY_ALWAYS_INTERACTIVE
3145 b->yy_is_interactive = 1;
3146 #else
3147 #if YY_NEVER_INTERACTIVE
3148 b->yy_is_interactive = 0;
3149 #else
3150 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
3151 #endif
3152 #endif
3153 }
3154
3155
3156 #ifdef YY_USE_PROTOS
3157 void yy_flush_buffer( YY_BUFFER_STATE b )
3158 #else
3159 void yy_flush_buffer( b )
3160 YY_BUFFER_STATE b;
3161 #endif
3162
3163 {
3164 if ( ! b )
3165 return;
3166
3167 b->yy_n_chars = 0;
3168
3169 /* We always need two end-of-buffer characters. The first causes
3170 * a transition to the end-of-buffer state. The second causes
3171 * a jam in that state.
3172 */
3173 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
3174 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
3175
3176 b->yy_buf_pos = &b->yy_ch_buf[0];
3177
3178 b->yy_at_bol = 1;
3179 b->yy_buffer_status = YY_BUFFER_NEW;
3180
3181 if ( b == yy_current_buffer )
3182 yy_load_buffer_state();
3183 }
3184
3185
3186 #ifndef YY_NO_SCAN_BUFFER
3187 #ifdef YY_USE_PROTOS
3188 YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
3189 #else
3190 YY_BUFFER_STATE yy_scan_buffer( base, size )
3191 char *base;
3192 yy_size_t size;
3193 #endif
3194 {
3195 YY_BUFFER_STATE b;
3196
3197 if ( size < 2 ||
3198 base[size-2] != YY_END_OF_BUFFER_CHAR ||
3199 base[size-1] != YY_END_OF_BUFFER_CHAR )
3200 /* They forgot to leave room for the EOB's. */
3201 return 0;
3202
3203 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
3204 if ( ! b )
3205 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
3206
3207 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
3208 b->yy_buf_pos = b->yy_ch_buf = base;
3209 b->yy_is_our_buffer = 0;
3210 b->yy_input_file = 0;
3211 b->yy_n_chars = b->yy_buf_size;
3212 b->yy_is_interactive = 0;
3213 b->yy_at_bol = 1;
3214 b->yy_fill_buffer = 0;
3215 b->yy_buffer_status = YY_BUFFER_NEW;
3216
3217 yy_switch_to_buffer( b );
3218
3219 return b;
3220 }
3221 #endif
3222
3223
3224 #ifndef YY_NO_SCAN_STRING
3225 #ifdef YY_USE_PROTOS
3226 YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
3227 #else
3228 YY_BUFFER_STATE yy_scan_string( yy_str )
3229 yyconst char *yy_str;
3230 #endif
3231 {
3232 int len;
3233 for ( len = 0; yy_str[len]; ++len )
3234 ;
3235
3236 return yy_scan_bytes( yy_str, len );
3237 }
3238 #endif
3239
3240
3241 #ifndef YY_NO_SCAN_BYTES
3242 #ifdef YY_USE_PROTOS
3243 YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
3244 #else
3245 YY_BUFFER_STATE yy_scan_bytes( bytes, len )
3246 yyconst char *bytes;
3247 int len;
3248 #endif
3249 {
3250 YY_BUFFER_STATE b;
3251 char *buf;
3252 yy_size_t n;
3253 int i;
3254
3255 /* Get memory for full buffer, including space for trailing EOB's. */
3256 n = len + 2;
3257 buf = (char *) yy_flex_alloc( n );
3258 if ( ! buf )
3259 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3260
3261 for ( i = 0; i < len; ++i )
3262 buf[i] = bytes[i];
3263
3264 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
3265
3266 b = yy_scan_buffer( buf, n );
3267 if ( ! b )
3268 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3269
3270 /* It's okay to grow etc. this buffer, and we should throw it
3271 * away when we're done.
3272 */
3273 b->yy_is_our_buffer = 1;
3274
3275 return b;
3276 }
3277 #endif
3278
3279
3280 #ifndef YY_NO_PUSH_STATE
3281 #ifdef YY_USE_PROTOS
3282 static void yy_push_state( int new_state )
3283 #else
3284 static void yy_push_state( new_state )
3285 int new_state;
3286 #endif
3287 {
3288 if ( yy_start_stack_ptr >= yy_start_stack_depth )
3289 {
3290 yy_size_t new_size;
3291
3292 yy_start_stack_depth += YY_START_STACK_INCR;
3293 new_size = yy_start_stack_depth * sizeof( int );
3294
3295 if ( ! yy_start_stack )
3296 yy_start_stack = (int *) yy_flex_alloc( new_size );
3297
3298 else
3299 yy_start_stack = (int *) yy_flex_realloc(
3300 (void *) yy_start_stack, new_size );
3301
3302 if ( ! yy_start_stack )
3303 YY_FATAL_ERROR(
3304 "out of memory expanding start-condition stack" );
3305 }
3306
3307 yy_start_stack[yy_start_stack_ptr++] = YY_START;
3308
3309 BEGIN(new_state);
3310 }
3311 #endif
3312
3313
3314 #ifndef YY_NO_POP_STATE
3315 static void yy_pop_state()
3316 {
3317 if ( --yy_start_stack_ptr < 0 )
3318 YY_FATAL_ERROR( "start-condition stack underflow" );
3319
3320 BEGIN(yy_start_stack[yy_start_stack_ptr]);
3321 }
3322 #endif
3323
3324
3325 #ifndef YY_NO_TOP_STATE
3326 static int yy_top_state()
3327 {
3328 return yy_start_stack[yy_start_stack_ptr - 1];
3329 }
3330 #endif
3331
3332 #ifndef YY_EXIT_FAILURE
3333 #define YY_EXIT_FAILURE 2
3334 #endif
3335
3336 #ifdef YY_USE_PROTOS
3337 static void yy_fatal_error( yyconst char msg[] )
3338 #else
3339 static void yy_fatal_error( msg )
3340 char msg[];
3341 #endif
3342 {
3343 (void) fprintf( stderr, "%s\n", msg );
3344 exit( YY_EXIT_FAILURE );
3345 }
3346
3347
3348
3349 /* Redefine yyless() so it works in section 3 code. */
3350
3351 #undef yyless
3352 #define yyless(n) \
3353 do \
3354 { \
3355 /* Undo effects of setting up yytext. */ \
3356 yytext[yyleng] = yy_hold_char; \
3357 yy_c_buf_p = yytext + n; \
3358 yy_hold_char = *yy_c_buf_p; \
3359 *yy_c_buf_p = '\0'; \
3360 yyleng = n; \
3361 } \
3362 while ( 0 )
3363
3364
3365 /* Internal utility routines. */
3366
3367 #ifndef yytext_ptr
3368 #ifdef YY_USE_PROTOS
3369 static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
3370 #else
3371 static void yy_flex_strncpy( s1, s2, n )
3372 char *s1;
3373 yyconst char *s2;
3374 int n;
3375 #endif
3376 {
3377 register int i;
3378 for ( i = 0; i < n; ++i )
3379 s1[i] = s2[i];
3380 }
3381 #endif
3382
3383 #ifdef YY_NEED_STRLEN
3384 #ifdef YY_USE_PROTOS
3385 static int yy_flex_strlen( yyconst char *s )
3386 #else
3387 static int yy_flex_strlen( s )
3388 yyconst char *s;
3389 #endif
3390 {
3391 register int n;
3392 for ( n = 0; s[n]; ++n )
3393 ;
3394
3395 return n;
3396 }
3397 #endif
3398
3399
3400 #ifdef YY_USE_PROTOS
3401 static void *yy_flex_alloc( yy_size_t size )
3402 #else
3403 static void *yy_flex_alloc( size )
3404 yy_size_t size;
3405 #endif
3406 {
3407 return (void *) malloc( size );
3408 }
3409
3410 #ifdef YY_USE_PROTOS
3411 static void *yy_flex_realloc( void *ptr, yy_size_t size )
3412 #else
3413 static void *yy_flex_realloc( ptr, size )
3414 void *ptr;
3415 yy_size_t size;
3416 #endif
3417 {
3418 /* The cast to (char *) in the following accommodates both
3419 * implementations that use char* generic pointers, and those
3420 * that use void* generic pointers. It works with the latter
3421 * because both ANSI C and C++ allow castless assignment from
3422 * any pointer type to void*, and deal with argument conversions
3423 * as though doing an assignment.
3424 */
3425 return (void *) realloc( (char *) ptr, size );
3426 }
3427
3428 #ifdef YY_USE_PROTOS
3429 static void yy_flex_free( void *ptr )
3430 #else
3431 static void yy_flex_free( ptr )
3432 void *ptr;
3433 #endif
3434 {
3435 free( ptr );
3436 }
3437
3438 #if YY_MAIN
3439 int main()
3440 {
3441 yylex();
3442 return 0;
3443 }
3444 #endif
3445 #line 476 "core/lex-asn1.l"
3446
3447
3448
3449 /*
3450 * these "LexBegin..." routines are used by yacc for (ack!)
3451 * lexical tie ins
3452 */
3453
3454 int
3455 LexBeginMacroDefContext()
3456 {
3457 BEGIN (MACRO_DEF);
3458 }
3459
3460 int
3461 LexBeginBraceBalContext()
3462 {
3463 BEGIN (BRACE_BAL);
3464 }
3465
3466 int
3467 LexBeginInitialContext()
3468 {
3469 BEGIN (INITIAL);
3470 }
3471
3472 /*
3473 * $Log: lex-asn1.c,v $
3474 * Revision 1.1 2001/06/20 21:27:57 dmitch
3475 * Adding missing snacc compiler files.
3476 *
3477 * Revision 1.3 2000/06/08 20:12:24 dmitch
3478 * Mods for X port.
3479 *
3480 * Revision 1.1.1.1 1999/03/16 18:06:49 aram
3481 * Originals from SMIME Free Library.
3482 *
3483 * Revision 1.5 1997/08/28 09:46:41 wan
3484 * Reworked number range checking, only gives warning now.
3485 *
3486 * Revision 1.4 1997/06/19 09:17:17 wan
3487 * Added isPdu flag to tables. Added value range checks during parsing.
3488 *
3489 * Revision 1.3 1995/07/25 19:41:30 rj
3490 * changed `_' to `-' in file names.
3491 *
3492 * Revision 1.2 1994/09/01 00:37:12 rj
3493 * snacc_config.h removed.
3494 *
3495 * for a list of changes relative to the 1.1 distribution, please refer to the ChangeLog.
3496 */