1 /* A lexical scanner generated by flex */
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 $
8 #define YY_FLEX_MAJOR_VERSION 2
9 #define YY_FLEX_MINOR_VERSION 5
14 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
27 /* Use prototypes in function declarations. */
30 /* The "const" storage-class-modifier is valid. */
33 #else /* ! __cplusplus */
41 #endif /* ! __cplusplus */
60 #define YY_PROTO(proto) proto
62 #define YY_PROTO(proto) ()
65 /* Returned upon end-of-file. */
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
73 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
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.
79 #define BEGIN yy_start = 1 + 2 *
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
85 #define YY_START ((yy_start - 1) / 2)
86 #define YYSTATE YY_START
88 /* Action number for EOF rule of a given start state. */
89 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
91 /* Special action meaning "start processing a new file". */
92 #define YY_NEW_FILE yyrestart( yyin )
94 #define YY_END_OF_BUFFER_CHAR 0
96 /* Size of default input buffer. */
97 #define YY_BUF_SIZE 16384
99 typedef struct yy_buffer_state
*YY_BUFFER_STATE
;
102 extern FILE *yyin
, *yyout
;
104 #define EOB_ACT_CONTINUE_SCAN 0
105 #define EOB_ACT_END_OF_FILE 1
106 #define EOB_ACT_LAST_MATCH 2
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:
112 * if ( condition_holds )
115 * do_something_else();
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.
122 /* Return all but the first 'n' matched characters back to the input stream. */
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 */ \
135 #define unput(c) yyunput( c, yytext_ptr )
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).
141 typedef unsigned int yy_size_t
;
144 struct yy_buffer_state
148 char *yy_ch_buf
; /* input buffer */
149 char *yy_buf_pos
; /* current position in input buffer */
151 /* Size of input buffer in bytes, not including room for EOB
154 yy_size_t yy_buf_size
;
156 /* Number of characters read into yy_ch_buf, not including EOB
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
165 int yy_is_our_buffer
;
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
172 int yy_is_interactive
;
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
180 /* Whether to try to fill the input buffer when we reach the
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.
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.
198 #define YY_BUFFER_EOF_PENDING 2
201 static YY_BUFFER_STATE yy_current_buffer
= 0;
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
207 #define YY_CURRENT_BUFFER yy_current_buffer
210 /* yy_hold_char holds the character lost when yytext is formed. */
211 static char yy_hold_char
;
213 static int yy_n_chars
; /* number of characters read into yy_ch_buf */
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 */
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 ...
226 static int yy_did_buffer_switch_on_eof
;
228 void yyrestart
YY_PROTO(( FILE *input_file
));
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 )
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
));
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 * ));
246 #define yy_new_buffer yy_create_buffer
248 #define yy_set_interactive(is_interactive) \
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; \
255 #define yy_set_bol(at_bol) \
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; \
262 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
264 typedef unsigned char YY_CHAR
;
265 FILE *yyin
= (FILE *) 0, *yyout
= (FILE *) 0;
266 typedef int yy_state_type
;
268 #define yytext_ptr yytext
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
[] ));
275 /* Done after the current pattern has been matched and before the
276 * corresponding action - sets up yytext.
278 #define YY_DO_BEFORE_ACTION \
279 yytext_ptr = yy_bp; \
280 yyleng = (int) (yy_cp - yy_bp); \
281 yy_hold_char = *yy_cp; \
285 #define YY_NUM_RULES 132
286 #define YY_END_OF_BUFFER 133
287 static yyconst
short int yy_accept
[698] =
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,
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,
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,
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,
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,
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,
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
368 static yyconst
int yy_ec
[256] =
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,
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,
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,
400 static yyconst
int yy_meta
[55] =
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,
410 static yyconst
short int yy_base
[706] =
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,
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,
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,
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,
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,
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,
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,
489 3523, 3525, 3529, 3531, 3535
492 static yyconst
short int yy_def
[706] =
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,
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,
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,
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,
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,
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,
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,
571 697, 697, 697, 697, 697
574 static yyconst
short int yy_nxt
[3595] =
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
974 static yyconst
short int yy_chk
[3595] =
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
1374 static yy_state_type yy_last_accepting_state
;
1375 static char *yy_last_accepting_cpos
;
1377 /* The intent behind this definition is that it'll catch
1378 * any uses of REJECT which flex missed.
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
1385 #line 1 "core/lex-asn1.l"
1390 /* compiler/core/lex-asn1.l */
1391 /* AUTHOR: Mike Sample */
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"
1412 #include "asn-incl.h"
1414 #include "asn1module.h"
1415 #include "exports.h"
1416 #include "parse-asn1.h" /* defines the returned token values */
1418 #include "lex-stuff.h"
1421 unsigned long int myLineNoG
= 0;
1424 /* Macros after this point can all be overridden by user definitions in
1428 #ifndef YY_SKIP_YYWRAP
1430 extern "C" int yywrap
YY_PROTO(( void ));
1432 extern int yywrap
YY_PROTO(( void ));
1437 static void yyunput
YY_PROTO(( int c
, char *buf_ptr
));
1441 static void yy_flex_strncpy
YY_PROTO(( char *, yyconst
char *, int ));
1444 #ifdef YY_NEED_STRLEN
1445 static int yy_flex_strlen
YY_PROTO(( yyconst
char * ));
1450 static int yyinput
YY_PROTO(( void ));
1452 static int input
YY_PROTO(( void ));
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
));
1463 #ifndef YY_NO_POP_STATE
1464 static void yy_pop_state
YY_PROTO(( void ));
1466 #ifndef YY_NO_TOP_STATE
1467 static int yy_top_state
YY_PROTO(( void ));
1471 #define YY_NO_PUSH_STATE 1
1472 #define YY_NO_POP_STATE 1
1473 #define YY_NO_TOP_STATE 1
1476 #ifdef YY_MALLOC_DECL
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).
1491 /* Amount of stuff to slurp up with each read. */
1492 #ifndef YY_READ_BUF_SIZE
1493 #define YY_READ_BUF_SIZE 8192
1496 /* Copy whatever the last rule matched to the standard output. */
1499 /* This used to be an fputs(), but since the string might contain NUL's,
1500 * we now use fwrite().
1502 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1505 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1506 * is returned in "result".
1509 #define YY_INPUT(buf,result,max_size) \
1510 if ( yy_current_buffer->yy_is_interactive ) \
1513 for ( n = 0; n < max_size && \
1514 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1515 buf[n] = (char) c; \
1517 buf[n++] = (char) c; \
1518 if ( c == EOF && ferror( yyin ) ) \
1519 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1522 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1523 && ferror( yyin ) ) \
1524 YY_FATAL_ERROR( "input in flex scanner failed" );
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.
1532 #define yyterminate() return YY_NULL
1535 /* Number of entries by which start-condition stack grows. */
1536 #ifndef YY_START_STACK_INCR
1537 #define YY_START_STACK_INCR 25
1540 /* Report a fatal error. */
1541 #ifndef YY_FATAL_ERROR
1542 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1545 /* Default declaration of generated scanner - a define so the user can
1546 * easily add parameters.
1549 #define YY_DECL int yylex YY_PROTO(( void ))
1552 /* Code executed at the beginning of each rule, after yytext and yyleng
1555 #ifndef YY_USER_ACTION
1556 #define YY_USER_ACTION
1559 /* Code executed at the end of each rule. */
1561 #define YY_BREAK break;
1564 #define YY_RULE_SETUP \
1569 register yy_state_type yy_current_state
;
1570 register char *yy_cp
, *yy_bp
;
1571 register int yy_act
;
1573 #line 55 "core/lex-asn1.l"
1586 yy_start
= 1; /* first start state */
1594 if ( ! yy_current_buffer
)
1596 yy_create_buffer( yyin
, YY_BUF_SIZE
);
1598 yy_load_buffer_state();
1601 while ( 1 ) /* loops until end-of-file is reached */
1605 /* Support of yytext. */
1606 *yy_cp
= yy_hold_char
;
1608 /* yy_bp points to the position in yy_ch_buf of the start of
1613 yy_current_state
= yy_start
;
1617 register YY_CHAR yy_c
= yy_ec
[YY_SC_TO_UI(*yy_cp
)];
1618 if ( yy_accept
[yy_current_state
] )
1620 yy_last_accepting_state
= yy_current_state
;
1621 yy_last_accepting_cpos
= yy_cp
;
1623 while ( yy_chk
[yy_base
[yy_current_state
] + yy_c
] != yy_current_state
)
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
];
1629 yy_current_state
= yy_nxt
[yy_base
[yy_current_state
] + (unsigned int) yy_c
];
1632 while ( yy_base
[yy_current_state
] != 3540 );
1635 yy_act
= yy_accept
[yy_current_state
];
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
];
1643 YY_DO_BEFORE_ACTION
;
1646 do_action
: /* This label is used only to access EOF actions. */
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
;
1660 #line 57 "core/lex-asn1.l"
1665 #line 58 "core/lex-asn1.l"
1670 #line 60 "core/lex-asn1.l"
1671 { COUNT_NEWLINES (myLineNoG
, yytext
);}
1675 #line 61 "core/lex-asn1.l"
1680 #line 62 "core/lex-asn1.l"
1685 #line 63 "core/lex-asn1.l"
1686 return LEFTBRACE_SYM
;
1690 #line 64 "core/lex-asn1.l"
1691 return RIGHTBRACE_SYM
;
1695 #line 65 "core/lex-asn1.l"
1696 return LEFTPAREN_SYM
;
1700 #line 66 "core/lex-asn1.l"
1701 return RIGHTPAREN_SYM
;
1705 #line 67 "core/lex-asn1.l"
1706 return LEFTBRACKET_SYM
;
1710 #line 68 "core/lex-asn1.l"
1711 return RIGHTBRACKET_SYM
;
1715 #line 69 "core/lex-asn1.l"
1716 return LESSTHAN_SYM
;
1720 #line 70 "core/lex-asn1.l"
1725 #line 71 "core/lex-asn1.l"
1730 #line 72 "core/lex-asn1.l"
1735 #line 73 "core/lex-asn1.l"
1736 return SEMI_COLON_SYM
;
1740 #line 74 "core/lex-asn1.l"
1745 #line 75 "core/lex-asn1.l"
1750 #line 76 "core/lex-asn1.l"
1755 #line 77 "core/lex-asn1.l"
1760 #line 78 "core/lex-asn1.l"
1765 #line 79 "core/lex-asn1.l"
1770 #line 80 "core/lex-asn1.l"
1775 #line 81 "core/lex-asn1.l"
1776 return SEQUENCE_SYM
;
1780 #line 82 "core/lex-asn1.l"
1785 #line 83 "core/lex-asn1.l"
1790 #line 84 "core/lex-asn1.l"
1791 return IMPLICIT_SYM
;
1795 #line 85 "core/lex-asn1.l"
1800 #line 86 "core/lex-asn1.l"
1805 #line 87 "core/lex-asn1.l"
1807 COUNT_NEWLINES (myLineNoG
, yytext
);
1808 return OBJECT_IDENTIFIER_SYM
;}
1812 #line 90 "core/lex-asn1.l"
1813 return OPTIONAL_SYM
;
1817 #line 91 "core/lex-asn1.l"
1822 #line 92 "core/lex-asn1.l"
1823 return COMPONENTS_SYM
;
1827 #line 93 "core/lex-asn1.l"
1828 return UNIVERSAL_SYM
;
1832 #line 94 "core/lex-asn1.l"
1833 return APPLICATION_SYM
;
1837 #line 95 "core/lex-asn1.l"
1842 #line 96 "core/lex-asn1.l"
1847 #line 97 "core/lex-asn1.l"
1852 #line 98 "core/lex-asn1.l"
1857 #line 99 "core/lex-asn1.l"
1862 #line 100 "core/lex-asn1.l"
1863 return DEFINITIONS_SYM
;
1867 #line 101 "core/lex-asn1.l"
1868 return EXPLICIT_SYM
;
1872 #line 102 "core/lex-asn1.l"
1873 return ENUMERATED_SYM
;
1877 #line 103 "core/lex-asn1.l"
1882 #line 104 "core/lex-asn1.l"
1887 #line 105 "core/lex-asn1.l"
1892 #line 106 "core/lex-asn1.l"
1893 return INCLUDES_SYM
;
1897 #line 107 "core/lex-asn1.l"
1902 #line 108 "core/lex-asn1.l"
1907 #line 109 "core/lex-asn1.l"
1912 #line 110 "core/lex-asn1.l"
1917 #line 111 "core/lex-asn1.l"
1922 #line 112 "core/lex-asn1.l"
1923 return COMPONENT_SYM
;
1927 #line 113 "core/lex-asn1.l"
1932 #line 114 "core/lex-asn1.l"
1937 #line 115 "core/lex-asn1.l"
1942 #line 116 "core/lex-asn1.l"
1947 #line 117 "core/lex-asn1.l"
1948 return PLUS_INFINITY_SYM
;
1952 #line 118 "core/lex-asn1.l"
1953 return MINUS_INFINITY_SYM
;
1957 #line 122 "core/lex-asn1.l"
1964 unsigned int c
, c1
, c2
;
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.
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
1981 buf
= Malloc (1024);
1983 i
= 0; /* put BEGIN str at beginning */
1997 if (i
>= (bufSize
- 4))
2000 buf
= (char*) Realloc (buf
, bufSize
);
2005 if ((inComment
) && (c
== '\n'))
2007 else if (!(inStr
) && (c
== '-'))
2013 inComment
= !inComment
;
2028 if ((c1
== 'N') && (c2
== 'D'))
2033 yylval
.charPtr
= buf
;
2034 COUNT_NEWLINES (myLineNoG
, buf
);
2035 myLineNoG
-=1; /* take off 1 added after "BEGIN" */
2036 return MACRODEFBODY_SYM
;
2050 #line 214 "core/lex-asn1.l"
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
; }
2066 #line 228 "core/lex-asn1.l"
2067 return OPERATION_SYM
;
2071 #line 229 "core/lex-asn1.l"
2072 return ARGUMENT_SYM
;
2076 #line 230 "core/lex-asn1.l"
2081 #line 231 "core/lex-asn1.l"
2086 #line 232 "core/lex-asn1.l"
2091 #line 234 "core/lex-asn1.l"
2096 #line 235 "core/lex-asn1.l"
2097 return PARAMETER_SYM
;
2101 #line 237 "core/lex-asn1.l"
2106 #line 238 "core/lex-asn1.l"
2107 return BINDERROR_SYM
;
2111 #line 239 "core/lex-asn1.l"
2116 #line 240 "core/lex-asn1.l"
2117 return UNBINDERROR_SYM
;
2121 #line 242 "core/lex-asn1.l"
2126 #line 243 "core/lex-asn1.l"
2131 #line 244 "core/lex-asn1.l"
2136 #line 245 "core/lex-asn1.l"
2137 return INITIATOR_SYM
;
2141 #line 246 "core/lex-asn1.l"
2142 return RESPONDER_SYM
;
2146 #line 247 "core/lex-asn1.l"
2148 COUNT_NEWLINES (myLineNoG
, yytext
);
2149 return ABSTRACTSYNTAXES_SYM
;}
2153 #line 251 "core/lex-asn1.l"
2158 #line 252 "core/lex-asn1.l"
2159 return OPERATIONS_SYM
;
2163 #line 253 "core/lex-asn1.l"
2165 COUNT_NEWLINES (myLineNoG
, yytext
);
2166 return CONSUMERINVOKES_SYM
;}
2170 #line 257 "core/lex-asn1.l"
2172 COUNT_NEWLINES (myLineNoG
, yytext
);
2173 return SUPPLIERINVOKES_SYM
;}
2177 #line 261 "core/lex-asn1.l"
2178 return EXTENSIONATTRIBUTE_SYM
;
2182 #line 262 "core/lex-asn1.l"
2183 return EXTENSIONS_SYM
;
2187 #line 263 "core/lex-asn1.l"
2192 #line 265 "core/lex-asn1.l"
2193 return EXTENSION_SYM
;
2197 #line 266 "core/lex-asn1.l"
2198 return CRITICAL_SYM
;
2202 #line 267 "core/lex-asn1.l"
2207 #line 268 "core/lex-asn1.l"
2208 return SUBMISSION_SYM
;
2212 #line 269 "core/lex-asn1.l"
2213 return DELIVERY_SYM
;
2217 #line 270 "core/lex-asn1.l"
2218 return TRANSFER_SYM
;
2222 #line 272 "core/lex-asn1.l"
2227 #line 273 "core/lex-asn1.l"
2232 #line 275 "core/lex-asn1.l"
2237 #line 276 "core/lex-asn1.l"
2239 COUNT_NEWLINES (myLineNoG
, yytext
);
2240 return ABSTRACTOPS_SYM
;}
2244 #line 281 "core/lex-asn1.l"
2249 #line 282 "core/lex-asn1.l"
2254 #line 283 "core/lex-asn1.l"
2255 return RECURRING_SYM
;
2259 #line 284 "core/lex-asn1.l"
2264 #line 285 "core/lex-asn1.l"
2269 #line 287 "core/lex-asn1.l"
2270 return ABSTRACTBIND_SYM
;
2274 #line 288 "core/lex-asn1.l"
2279 #line 290 "core/lex-asn1.l"
2280 return ABSTRACTUNBIND_SYM
;
2284 #line 292 "core/lex-asn1.l"
2285 return ABSTRACTERROR_SYM
;
2289 #line 294 "core/lex-asn1.l"
2290 return ABSTRACTOPERATION_SYM
;
2294 #line 296 "core/lex-asn1.l"
2299 #line 298 "core/lex-asn1.l"
2300 return TOKENDATA_SYM
;
2304 #line 300 "core/lex-asn1.l"
2305 return SECURITYCATEGORY_SYM
;
2309 #line 302 "core/lex-asn1.l"
2310 return ALGORITHM_SYM
;
2314 #line 303 "core/lex-asn1.l"
2315 return ENCRYPTED_SYM
;
2319 #line 304 "core/lex-asn1.l"
2324 #line 305 "core/lex-asn1.l"
2325 return SIGNATURE_SYM
;
2329 #line 306 "core/lex-asn1.l"
2330 return PROTECTED_SYM
;
2334 #line 308 "core/lex-asn1.l"
2335 return OBJECTTYPE_SYM
;
2339 #line 309 "core/lex-asn1.l"
2344 #line 310 "core/lex-asn1.l"
2349 #line 311 "core/lex-asn1.l"
2354 #line 312 "core/lex-asn1.l"
2355 return DESCRIPTION_SYM
;
2359 #line 313 "core/lex-asn1.l"
2360 return REFERENCE_SYM
;
2364 #line 314 "core/lex-asn1.l"
2369 #line 315 "core/lex-asn1.l"
2374 #line 319 "core/lex-asn1.l"
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
2395 i
= 0; /* put openning brace at beginning */
2406 if (i
>= (bufSize
- 2))
2409 buf
= (char*) Realloc (buf
, bufSize
);
2414 if ((inComment
) && (c
== '\n'))
2416 else if (!(inStr
) && (c
== '-'))
2422 inComment
= !inComment
;
2438 if (braceDepth
== 0)
2441 yylval
.charPtr
= buf
;
2442 COUNT_NEWLINES (myLineNoG
, buf
);
2443 return BRACEBAL_SYM
;
2452 #line 396 "core/lex-asn1.l"
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
;}
2462 #line 403 "core/lex-asn1.l"
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
;}
2472 #line 410 "core/lex-asn1.l"
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
;}
2482 #line 417 "core/lex-asn1.l"
2484 yylval
.charPtr
= (char*)Malloc (yyleng
+1);
2485 strcpy (yylval
.charPtr
, yytext
);
2486 yylval
.charPtr
[yyleng
] = '\0';
2487 return UCASEFIRST_IDENT_SYM
;}
2491 #line 424 "core/lex-asn1.l"
2493 yylval
.charPtr
= (char*)Malloc (yyleng
+1);
2494 strcpy (yylval
.charPtr
, yytext
);
2495 yylval
.charPtr
[yyleng
] = '\0';
2496 return LCASEFIRST_IDENT_SYM
;}
2500 #line 430 "core/lex-asn1.l"
2501 { /*first digit cannot be zero on multi-digit #'s*/
2504 unsigned long ul
= (unsigned long) strtol(yytext
,NULL
,10);
2505 if (!errno
&& ul
>(unsigned long)0xFFFFFFFF) {
2509 yylval
.uintVal
= (unsigned int) ul
;
2513 yylval
.charPtr
= (char*)Malloc (yyleng
+1);
2514 strcpy (yylval
.charPtr
, yytext
);
2515 yylval
.charPtr
[yyleng
] = '\0';
2516 return NUMBER_ERANGE
;}
2520 #line 447 "core/lex-asn1.l"
2521 { /*allow zero as first digit on single digit #'s*/
2527 #line 452 "core/lex-asn1.l"
2529 /* this must be before the normal comment eater so that snacc attribs
2530 * are not treated as normal comments
2532 /* eat comments, update line no */
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';
2543 yylval
.charPtr
[len
-2] = '\0';
2544 return SNACC_ATTRIBUTES
; }
2548 #line 471 "core/lex-asn1.l"
2550 /* eat comments, update line no */
2551 COUNT_NEWLINES (myLineNoG
, yytext
);}
2555 #line 476 "core/lex-asn1.l"
2558 case YY_STATE_EOF(INITIAL
):
2559 case YY_STATE_EOF(MACRO_DEF
):
2560 case YY_STATE_EOF(BRACE_BAL
):
2563 case YY_END_OF_BUFFER
:
2565 /* Amount of text matched not including the EOB char. */
2566 int yy_amount_of_matched_text
= (int) (yy_cp
- yytext_ptr
) - 1;
2568 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2569 *yy_cp
= yy_hold_char
;
2570 YY_RESTORE_YY_MORE_OFFSET
2572 if ( yy_current_buffer
->yy_buffer_status
== YY_BUFFER_NEW
)
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.
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
;
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
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
;
2599 yy_c_buf_p
= yytext_ptr
+ yy_amount_of_matched_text
;
2601 yy_current_state
= yy_get_previous_state();
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).
2612 yy_next_state
= yy_try_NUL_trans( yy_current_state
);
2614 yy_bp
= yytext_ptr
+ YY_MORE_ADJ
;
2616 if ( yy_next_state
)
2618 /* Consume the NUL. */
2619 yy_cp
= ++yy_c_buf_p
;
2620 yy_current_state
= yy_next_state
;
2627 goto yy_find_action
;
2631 else switch ( yy_get_next_buffer() )
2633 case EOB_ACT_END_OF_FILE
:
2635 yy_did_buffer_switch_on_eof
= 0;
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.
2648 yy_c_buf_p
= yytext_ptr
+ YY_MORE_ADJ
;
2650 yy_act
= YY_STATE_EOF(YY_START
);
2656 if ( ! yy_did_buffer_switch_on_eof
)
2662 case EOB_ACT_CONTINUE_SCAN
:
2664 yytext_ptr
+ yy_amount_of_matched_text
;
2666 yy_current_state
= yy_get_previous_state();
2669 yy_bp
= yytext_ptr
+ YY_MORE_ADJ
;
2672 case EOB_ACT_LAST_MATCH
:
2674 &yy_current_buffer
->yy_ch_buf
[yy_n_chars
];
2676 yy_current_state
= yy_get_previous_state();
2679 yy_bp
= yytext_ptr
+ YY_MORE_ADJ
;
2680 goto yy_find_action
;
2687 "fatal flex scanner internal error--no action found" );
2688 } /* end of action switch */
2689 } /* end of scanning one token */
2690 } /* end of yylex */
2693 /* yy_get_next_buffer - try to read in a new buffer
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
2701 static int yy_get_next_buffer()
2703 register char *dest
= yy_current_buffer
->yy_ch_buf
;
2704 register char *source
= yytext_ptr
;
2705 register int number_to_move
, i
;
2708 if ( yy_c_buf_p
> &yy_current_buffer
->yy_ch_buf
[yy_n_chars
+ 1] )
2710 "fatal flex scanner internal error--end of buffer missed" );
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 )
2716 /* We matched a single character, the EOB, so
2717 * treat this as a final EOF.
2719 return EOB_ACT_END_OF_FILE
;
2724 /* We matched some text prior to the EOB, first
2727 return EOB_ACT_LAST_MATCH
;
2731 /* Try to read more data. */
2733 /* First move last chars to start of buffer. */
2734 number_to_move
= (int) (yy_c_buf_p
- yytext_ptr
) - 1;
2736 for ( i
= 0; i
< number_to_move
; ++i
)
2737 *(dest
++) = *(source
++);
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,
2743 yy_current_buffer
->yy_n_chars
= yy_n_chars
= 0;
2748 yy_current_buffer
->yy_buf_size
- number_to_move
- 1;
2750 while ( num_to_read
<= 0 )
2751 { /* Not enough room in the buffer - grow it. */
2752 #ifdef YY_USES_REJECT
2754 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2757 /* just a shorter name for the current buffer */
2758 YY_BUFFER_STATE b
= yy_current_buffer
;
2760 int yy_c_buf_p_offset
=
2761 (int) (yy_c_buf_p
- b
->yy_ch_buf
);
2763 if ( b
->yy_is_our_buffer
)
2765 int new_size
= b
->yy_buf_size
* 2;
2767 if ( new_size
<= 0 )
2768 b
->yy_buf_size
+= b
->yy_buf_size
/ 8;
2770 b
->yy_buf_size
*= 2;
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 );
2778 /* Can't grow it, we don't own it. */
2781 if ( ! b
->yy_ch_buf
)
2783 "fatal error - scanner input buffer overflow" );
2785 yy_c_buf_p
= &b
->yy_ch_buf
[yy_c_buf_p_offset
];
2787 num_to_read
= yy_current_buffer
->yy_buf_size
-
2792 if ( num_to_read
> YY_READ_BUF_SIZE
)
2793 num_to_read
= YY_READ_BUF_SIZE
;
2795 /* Read in more data. */
2796 YY_INPUT( (&yy_current_buffer
->yy_ch_buf
[number_to_move
]),
2797 yy_n_chars
, num_to_read
);
2799 yy_current_buffer
->yy_n_chars
= yy_n_chars
;
2802 if ( yy_n_chars
== 0 )
2804 if ( number_to_move
== YY_MORE_ADJ
)
2806 ret_val
= EOB_ACT_END_OF_FILE
;
2812 ret_val
= EOB_ACT_LAST_MATCH
;
2813 yy_current_buffer
->yy_buffer_status
=
2814 YY_BUFFER_EOF_PENDING
;
2819 ret_val
= EOB_ACT_CONTINUE_SCAN
;
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
;
2825 yytext_ptr
= &yy_current_buffer
->yy_ch_buf
[0];
2831 /* yy_get_previous_state - get the state just before the EOB char was reached */
2833 static yy_state_type
yy_get_previous_state()
2835 register yy_state_type yy_current_state
;
2836 register char *yy_cp
;
2838 yy_current_state
= yy_start
;
2840 for ( yy_cp
= yytext_ptr
+ YY_MORE_ADJ
; yy_cp
< yy_c_buf_p
; ++yy_cp
)
2842 register YY_CHAR yy_c
= (*yy_cp
? yy_ec
[YY_SC_TO_UI(*yy_cp
)] : 1);
2843 if ( yy_accept
[yy_current_state
] )
2845 yy_last_accepting_state
= yy_current_state
;
2846 yy_last_accepting_cpos
= yy_cp
;
2848 while ( yy_chk
[yy_base
[yy_current_state
] + yy_c
] != yy_current_state
)
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
];
2854 yy_current_state
= yy_nxt
[yy_base
[yy_current_state
] + (unsigned int) yy_c
];
2857 return yy_current_state
;
2861 /* yy_try_NUL_trans - try to make a transition on the NUL character
2864 * next_state = yy_try_NUL_trans( current_state );
2867 #ifdef YY_USE_PROTOS
2868 static yy_state_type
yy_try_NUL_trans( yy_state_type yy_current_state
)
2870 static yy_state_type
yy_try_NUL_trans( yy_current_state
)
2871 yy_state_type yy_current_state
;
2874 register int yy_is_jam
;
2875 register char *yy_cp
= yy_c_buf_p
;
2877 register YY_CHAR yy_c
= 1;
2878 if ( yy_accept
[yy_current_state
] )
2880 yy_last_accepting_state
= yy_current_state
;
2881 yy_last_accepting_cpos
= yy_cp
;
2883 while ( yy_chk
[yy_base
[yy_current_state
] + yy_c
] != yy_current_state
)
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
];
2889 yy_current_state
= yy_nxt
[yy_base
[yy_current_state
] + (unsigned int) yy_c
];
2890 yy_is_jam
= (yy_current_state
== 697);
2892 return yy_is_jam
? 0 : yy_current_state
;
2897 #ifdef YY_USE_PROTOS
2898 static void yyunput( int c
, register char *yy_bp
)
2900 static void yyunput( c
, yy_bp
)
2902 register char *yy_bp
;
2905 register char *yy_cp
= yy_c_buf_p
;
2907 /* undo effects of setting up yytext */
2908 *yy_cp
= yy_hold_char
;
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
];
2919 while ( source
> yy_current_buffer
->yy_ch_buf
)
2920 *--dest
= *--source
;
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
;
2927 if ( yy_cp
< yy_current_buffer
->yy_ch_buf
+ 2 )
2928 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2931 *--yy_cp
= (char) c
;
2935 yy_hold_char
= *yy_cp
;
2938 #endif /* ifndef YY_NO_UNPUT */
2942 static int yyinput()
2949 *yy_c_buf_p
= yy_hold_char
;
2951 if ( *yy_c_buf_p
== YY_END_OF_BUFFER_CHAR
)
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.
2957 if ( yy_c_buf_p
< &yy_current_buffer
->yy_ch_buf
[yy_n_chars
] )
2958 /* This was really a NUL. */
2962 { /* need more input */
2963 int offset
= yy_c_buf_p
- yytext_ptr
;
2966 switch ( yy_get_next_buffer() )
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.
2979 /* Reset buffer status. */
2984 case EOB_ACT_END_OF_FILE
:
2989 if ( ! yy_did_buffer_switch_on_eof
)
2998 case EOB_ACT_CONTINUE_SCAN
:
2999 yy_c_buf_p
= yytext_ptr
+ offset
;
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
;
3014 #ifdef YY_USE_PROTOS
3015 void yyrestart( FILE *input_file
)
3017 void yyrestart( input_file
)
3021 if ( ! yy_current_buffer
)
3022 yy_current_buffer
= yy_create_buffer( yyin
, YY_BUF_SIZE
);
3024 yy_init_buffer( yy_current_buffer
, input_file
);
3025 yy_load_buffer_state();
3029 #ifdef YY_USE_PROTOS
3030 void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer
)
3032 void yy_switch_to_buffer( new_buffer
)
3033 YY_BUFFER_STATE new_buffer
;
3036 if ( yy_current_buffer
== new_buffer
)
3039 if ( yy_current_buffer
)
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
;
3047 yy_current_buffer
= new_buffer
;
3048 yy_load_buffer_state();
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.
3055 yy_did_buffer_switch_on_eof
= 1;
3059 #ifdef YY_USE_PROTOS
3060 void yy_load_buffer_state( void )
3062 void yy_load_buffer_state()
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
;
3072 #ifdef YY_USE_PROTOS
3073 YY_BUFFER_STATE
yy_create_buffer( FILE *file
, int size
)
3075 YY_BUFFER_STATE
yy_create_buffer( file
, size
)
3082 b
= (YY_BUFFER_STATE
) yy_flex_alloc( sizeof( struct yy_buffer_state
) );
3084 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3086 b
->yy_buf_size
= size
;
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.
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()" );
3095 b
->yy_is_our_buffer
= 1;
3097 yy_init_buffer( b
, file
);
3103 #ifdef YY_USE_PROTOS
3104 void yy_delete_buffer( YY_BUFFER_STATE b
)
3106 void yy_delete_buffer( b
)
3113 if ( b
== yy_current_buffer
)
3114 yy_current_buffer
= (YY_BUFFER_STATE
) 0;
3116 if ( b
->yy_is_our_buffer
)
3117 yy_flex_free( (void *) b
->yy_ch_buf
);
3119 yy_flex_free( (void *) b
);
3123 #ifndef YY_ALWAYS_INTERACTIVE
3124 #ifndef YY_NEVER_INTERACTIVE
3125 extern int isatty
YY_PROTO(( int ));
3129 #ifdef YY_USE_PROTOS
3130 void yy_init_buffer( YY_BUFFER_STATE b
, FILE *file
)
3132 void yy_init_buffer( b
, file
)
3139 yy_flush_buffer( b
);
3141 b
->yy_input_file
= file
;
3142 b
->yy_fill_buffer
= 1;
3144 #if YY_ALWAYS_INTERACTIVE
3145 b
->yy_is_interactive
= 1;
3147 #if YY_NEVER_INTERACTIVE
3148 b
->yy_is_interactive
= 0;
3150 b
->yy_is_interactive
= file
? (isatty( fileno(file
) ) > 0) : 0;
3156 #ifdef YY_USE_PROTOS
3157 void yy_flush_buffer( YY_BUFFER_STATE b
)
3159 void yy_flush_buffer( b
)
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.
3173 b
->yy_ch_buf
[0] = YY_END_OF_BUFFER_CHAR
;
3174 b
->yy_ch_buf
[1] = YY_END_OF_BUFFER_CHAR
;
3176 b
->yy_buf_pos
= &b
->yy_ch_buf
[0];
3179 b
->yy_buffer_status
= YY_BUFFER_NEW
;
3181 if ( b
== yy_current_buffer
)
3182 yy_load_buffer_state();
3186 #ifndef YY_NO_SCAN_BUFFER
3187 #ifdef YY_USE_PROTOS
3188 YY_BUFFER_STATE
yy_scan_buffer( char *base
, yy_size_t size
)
3190 YY_BUFFER_STATE
yy_scan_buffer( base
, size
)
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. */
3203 b
= (YY_BUFFER_STATE
) yy_flex_alloc( sizeof( struct yy_buffer_state
) );
3205 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
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;
3214 b
->yy_fill_buffer
= 0;
3215 b
->yy_buffer_status
= YY_BUFFER_NEW
;
3217 yy_switch_to_buffer( b
);
3224 #ifndef YY_NO_SCAN_STRING
3225 #ifdef YY_USE_PROTOS
3226 YY_BUFFER_STATE
yy_scan_string( yyconst
char *yy_str
)
3228 YY_BUFFER_STATE
yy_scan_string( yy_str
)
3229 yyconst
char *yy_str
;
3233 for ( len
= 0; yy_str
[len
]; ++len
)
3236 return yy_scan_bytes( yy_str
, len
);
3241 #ifndef YY_NO_SCAN_BYTES
3242 #ifdef YY_USE_PROTOS
3243 YY_BUFFER_STATE
yy_scan_bytes( yyconst
char *bytes
, int len
)
3245 YY_BUFFER_STATE
yy_scan_bytes( bytes
, len
)
3246 yyconst
char *bytes
;
3255 /* Get memory for full buffer, including space for trailing EOB's. */
3257 buf
= (char *) yy_flex_alloc( n
);
3259 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3261 for ( i
= 0; i
< len
; ++i
)
3264 buf
[len
] = buf
[len
+1] = YY_END_OF_BUFFER_CHAR
;
3266 b
= yy_scan_buffer( buf
, n
);
3268 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3270 /* It's okay to grow etc. this buffer, and we should throw it
3271 * away when we're done.
3273 b
->yy_is_our_buffer
= 1;
3280 #ifndef YY_NO_PUSH_STATE
3281 #ifdef YY_USE_PROTOS
3282 static void yy_push_state( int new_state
)
3284 static void yy_push_state( new_state
)
3288 if ( yy_start_stack_ptr
>= yy_start_stack_depth
)
3292 yy_start_stack_depth
+= YY_START_STACK_INCR
;
3293 new_size
= yy_start_stack_depth
* sizeof( int );
3295 if ( ! yy_start_stack
)
3296 yy_start_stack
= (int *) yy_flex_alloc( new_size
);
3299 yy_start_stack
= (int *) yy_flex_realloc(
3300 (void *) yy_start_stack
, new_size
);
3302 if ( ! yy_start_stack
)
3304 "out of memory expanding start-condition stack" );
3307 yy_start_stack
[yy_start_stack_ptr
++] = YY_START
;
3314 #ifndef YY_NO_POP_STATE
3315 static void yy_pop_state()
3317 if ( --yy_start_stack_ptr
< 0 )
3318 YY_FATAL_ERROR( "start-condition stack underflow" );
3320 BEGIN(yy_start_stack
[yy_start_stack_ptr
]);
3325 #ifndef YY_NO_TOP_STATE
3326 static int yy_top_state()
3328 return yy_start_stack
[yy_start_stack_ptr
- 1];
3332 #ifndef YY_EXIT_FAILURE
3333 #define YY_EXIT_FAILURE 2
3336 #ifdef YY_USE_PROTOS
3337 static void yy_fatal_error( yyconst
char msg
[] )
3339 static void yy_fatal_error( msg
)
3343 (void) fprintf( stderr
, "%s\n", msg
);
3344 exit( YY_EXIT_FAILURE
);
3349 /* Redefine yyless() so it works in section 3 code. */
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'; \
3365 /* Internal utility routines. */
3368 #ifdef YY_USE_PROTOS
3369 static void yy_flex_strncpy( char *s1
, yyconst
char *s2
, int n
)
3371 static void yy_flex_strncpy( s1
, s2
, n
)
3378 for ( i
= 0; i
< n
; ++i
)
3383 #ifdef YY_NEED_STRLEN
3384 #ifdef YY_USE_PROTOS
3385 static int yy_flex_strlen( yyconst
char *s
)
3387 static int yy_flex_strlen( s
)
3392 for ( n
= 0; s
[n
]; ++n
)
3400 #ifdef YY_USE_PROTOS
3401 static void *yy_flex_alloc( yy_size_t size
)
3403 static void *yy_flex_alloc( size
)
3407 return (void *) malloc( size
);
3410 #ifdef YY_USE_PROTOS
3411 static void *yy_flex_realloc( void *ptr
, yy_size_t size
)
3413 static void *yy_flex_realloc( ptr
, size
)
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.
3425 return (void *) realloc( (char *) ptr
, size
);
3428 #ifdef YY_USE_PROTOS
3429 static void yy_flex_free( void *ptr
)
3431 static void yy_flex_free( ptr
)
3445 #line 476 "core/lex-asn1.l"
3450 * these "LexBegin..." routines are used by yacc for (ack!)
3455 LexBeginMacroDefContext()
3461 LexBeginBraceBalContext()
3467 LexBeginInitialContext()
3473 * $Log: lex-asn1.c,v $
3474 * Revision 1.1 2001/06/20 21:27:57 dmitch
3475 * Adding missing snacc compiler files.
3477 * Revision 1.3 2000/06/08 20:12:24 dmitch
3480 * Revision 1.1.1.1 1999/03/16 18:06:49 aram
3481 * Originals from SMIME Free Library.
3483 * Revision 1.5 1997/08/28 09:46:41 wan
3484 * Reworked number range checking, only gives warning now.
3486 * Revision 1.4 1997/06/19 09:17:17 wan
3487 * Added isPdu flag to tables. Added value range checks during parsing.
3489 * Revision 1.3 1995/07/25 19:41:30 rj
3490 * changed `_' to `-' in file names.
3492 * Revision 1.2 1994/09/01 00:37:12 rj
3493 * snacc_config.h removed.
3495 * for a list of changes relative to the 1.1 distribution, please refer to the ChangeLog.