1 /* A lexical scanner generated by flex */
3 /* Scanner skeleton version:
4 * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern 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" */
28 #ifndef YY_ALWAYS_INTERACTIVE
29 #ifndef YY_NEVER_INTERACTIVE
30 extern int isatty YY_PROTO(( int ));
35 /* Use prototypes in function declarations. */
38 /* The "const" storage-class-modifier is valid. */
41 #else /* ! __cplusplus */
49 #endif /* ! __cplusplus */
68 #define YY_PROTO(proto) proto
70 #define YY_PROTO(proto) ()
73 /* Returned upon end-of-file. */
76 /* Promotes a possibly negative, possibly signed char to an unsigned
77 * integer for use as an array index. If the signed char is negative,
78 * we want to instead treat it as an 8-bit unsigned char, hence the
81 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
83 /* Enter a start condition. This macro really ought to take a parameter,
84 * but we do it the disgusting crufty way forced on us by the ()-less
85 * definition of BEGIN.
87 #define BEGIN yy_start = 1 + 2 *
89 /* Translate the current start state into a value that can be later handed
90 * to BEGIN to return to the state. The YYSTATE alias is for lex
93 #define YY_START ((yy_start - 1) / 2)
94 #define YYSTATE YY_START
96 /* Action number for EOF rule of a given start state. */
97 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
99 /* Special action meaning "start processing a new file". */
100 #define YY_NEW_FILE yyrestart( yyin )
102 #define YY_END_OF_BUFFER_CHAR 0
104 /* Size of default input buffer. */
105 #define YY_BUF_SIZE 16384
107 typedef struct yy_buffer_state *YY_BUFFER_STATE;
110 extern FILE *yyin, *yyout;
112 #define EOB_ACT_CONTINUE_SCAN 0
113 #define EOB_ACT_END_OF_FILE 1
114 #define EOB_ACT_LAST_MATCH 2
116 /* The funky do-while in the following #define is used to turn the definition
117 * int a single C statement (which needs a semi-colon terminator). This
118 * avoids problems with code like:
120 * if ( condition_holds )
123 * do_something_else();
125 * Prior to using the do-while the compiler would get upset at the
126 * "else" because it interpreted the "if" statement as being all
127 * done when it reached the ';' after the yyless() call.
130 /* Return all but the first 'n' matched characters back to the input stream. */
135 /* Undo effects of setting up yytext. */ \
136 *yy_cp = yy_hold_char; \
137 YY_RESTORE_YY_MORE_OFFSET \
138 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
139 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
143 #define unput(c) yyunput( c, yytext_ptr )
145 /* The following is because we cannot portably get our hands on size_t
146 * (without autoconf's help, which isn't available because we want
147 * flex-generated scanners to compile on their own).
149 typedef unsigned int yy_size_t;
152 struct yy_buffer_state
156 char *yy_ch_buf; /* input buffer */
157 char *yy_buf_pos; /* current position in input buffer */
159 /* Size of input buffer in bytes, not including room for EOB
162 yy_size_t yy_buf_size;
164 /* Number of characters read into yy_ch_buf, not including EOB
169 /* Whether we "own" the buffer - i.e., we know we created it,
170 * and can realloc() it to grow it, and should free() it to
173 int yy_is_our_buffer;
175 /* Whether this is an "interactive" input source; if so, and
176 * if we're using stdio for input, then we want to use getc()
177 * instead of fread(), to make sure we stop fetching input after
180 int yy_is_interactive;
182 /* Whether we're considered to be at the beginning of a line.
183 * If so, '^' rules will be active on the next match, otherwise
188 /* Whether to try to fill the input buffer when we reach the
193 int yy_buffer_status;
194 #define YY_BUFFER_NEW 0
195 #define YY_BUFFER_NORMAL 1
196 /* When an EOF's been seen but there's still some text to process
197 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
198 * shouldn't try reading from the input source any more. We might
199 * still have a bunch of tokens to match, though, because of
200 * possible backing-up.
202 * When we actually see the EOF, we change the status to "new"
203 * (via yyrestart()), so that the user can continue scanning by
204 * just pointing yyin at a new input file.
206 #define YY_BUFFER_EOF_PENDING 2
209 static YY_BUFFER_STATE yy_current_buffer = 0;
211 /* We provide macros for accessing buffer states in case in the
212 * future we want to put the buffer states in a more general
215 #define YY_CURRENT_BUFFER yy_current_buffer
218 /* yy_hold_char holds the character lost when yytext is formed. */
219 static char yy_hold_char;
221 static int yy_n_chars; /* number of characters read into yy_ch_buf */
226 /* Points to current character in buffer. */
227 static char *yy_c_buf_p = (char *) 0;
228 static int yy_init = 1; /* whether we need to initialize */
229 static int yy_start = 0; /* start state number */
231 /* Flag which is used to allow yywrap()'s to do buffer switches
232 * instead of setting up a fresh yyin. A bit of a hack ...
234 static int yy_did_buffer_switch_on_eof;
236 void yyrestart YY_PROTO(( FILE *input_file ));
238 void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
239 void yy_load_buffer_state YY_PROTO(( void ));
240 YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
241 void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
242 void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
243 void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
244 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
246 YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
247 YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
248 YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
250 static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
251 static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
252 static void yy_flex_free YY_PROTO(( void * ));
254 #define yy_new_buffer yy_create_buffer
256 #define yy_set_interactive(is_interactive) \
258 if ( ! yy_current_buffer ) \
259 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
260 yy_current_buffer->yy_is_interactive = is_interactive; \
263 #define yy_set_bol(at_bol) \
265 if ( ! yy_current_buffer ) \
266 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
267 yy_current_buffer->yy_at_bol = at_bol; \
270 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
274 typedef unsigned char YY_CHAR;
275 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
276 typedef int yy_state_type;
280 #define yytext_ptr yytext
282 static yy_state_type yy_get_previous_state YY_PROTO(( void ));
283 static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
284 static int yy_get_next_buffer YY_PROTO(( void ));
285 static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
287 /* Done after the current pattern has been matched and before the
288 * corresponding action - sets up yytext.
290 #define YY_DO_BEFORE_ACTION \
291 yytext_ptr = yy_bp; \
292 yyleng = (int) (yy_cp - yy_bp); \
293 yy_hold_char = *yy_cp; \
297 #define YY_NUM_RULES 98
298 #define YY_END_OF_BUFFER 99
299 static yyconst short int yy_accept[440] =
301 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
302 99, 97, 8, 7, 97, 9, 97, 97, 97, 97,
303 97, 97, 97, 20, 97, 97, 97, 97, 90, 90,
304 97, 97, 90, 90, 90, 90, 90, 90, 90, 90,
305 90, 90, 90, 90, 90, 90, 90, 90, 97, 1,
306 98, 3, 6, 4, 2, 5, 11, 19, 17, 98,
307 96, 93, 96, 8, 29, 47, 35, 46, 30, 40,
308 33, 22, 36, 23, 37, 21, 0, 20, 34, 20,
309 20, 0, 44, 45, 43, 24, 26, 28, 27, 25,
310 90, 10, 0, 0, 41, 90, 90, 90, 90, 90,
312 90, 90, 90, 90, 90, 55, 90, 90, 90, 90,
313 90, 90, 63, 90, 90, 90, 90, 90, 90, 90,
314 90, 90, 90, 90, 42, 31, 1, 3, 2, 5,
315 11, 0, 18, 11, 12, 18, 18, 18, 93, 0,
316 0, 32, 0, 0, 38, 39, 92, 92, 92, 92,
317 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
318 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
319 90, 61, 90, 90, 65, 90, 90, 90, 90, 90,
320 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
321 90, 12, 16, 16, 16, 16, 14, 13, 95, 95,
323 95, 95, 0, 0, 92, 92, 92, 92, 90, 90,
324 90, 90, 90, 90, 90, 90, 90, 90, 48, 90,
325 50, 51, 90, 90, 90, 90, 57, 58, 90, 90,
326 62, 90, 66, 90, 90, 90, 90, 90, 90, 90,
327 90, 90, 90, 90, 90, 79, 90, 90, 12, 16,
328 16, 16, 16, 13, 95, 95, 95, 95, 0, 0,
329 92, 92, 92, 92, 82, 90, 90, 90, 90, 90,
330 90, 90, 90, 90, 49, 52, 90, 90, 90, 90,
331 60, 90, 90, 90, 90, 70, 90, 90, 90, 90,
332 90, 90, 77, 90, 90, 81, 16, 16, 16, 16,
334 95, 95, 95, 95, 0, 0, 92, 92, 92, 91,
335 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
336 90, 56, 59, 64, 90, 90, 69, 71, 72, 73,
337 74, 75, 90, 90, 90, 16, 16, 16, 15, 95,
338 95, 95, 94, 0, 92, 92, 90, 90, 90, 90,
339 52, 90, 90, 90, 90, 90, 54, 90, 90, 76,
340 90, 90, 16, 16, 95, 95, 0, 92, 92, 83,
341 90, 90, 90, 90, 90, 64, 90, 90, 53, 67,
342 68, 78, 80, 16, 16, 95, 95, 0, 92, 92,
343 90, 90, 90, 90, 90, 90, 90, 16, 16, 95,
345 95, 0, 92, 91, 84, 90, 90, 90, 68, 80,
346 16, 15, 95, 94, 90, 90, 90, 90, 90, 90,
347 90, 90, 90, 90, 86, 90, 90, 85, 90, 90,
348 90, 90, 90, 90, 88, 89, 90, 87, 0
351 static yyconst int yy_ec[256] =
353 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
354 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
355 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
356 1, 2, 4, 5, 6, 1, 7, 8, 9, 1,
357 1, 10, 11, 1, 12, 13, 14, 15, 15, 15,
358 15, 15, 15, 15, 15, 16, 16, 17, 1, 18,
359 19, 20, 21, 1, 22, 23, 24, 22, 25, 22,
360 26, 26, 27, 26, 26, 28, 26, 26, 26, 29,
361 26, 26, 26, 26, 30, 26, 26, 26, 26, 26,
362 31, 32, 31, 33, 34, 31, 35, 36, 37, 38,
364 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
365 49, 50, 44, 51, 52, 53, 54, 55, 56, 57,
366 58, 59, 1, 60, 1, 1, 1, 1, 1, 1,
367 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
368 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
369 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
370 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
371 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
372 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
373 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
375 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
376 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
377 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
378 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
379 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
383 static yyconst int yy_meta[61] =
385 1, 1, 2, 1, 3, 1, 1, 1, 3, 1,
386 1, 1, 4, 1, 5, 5, 1, 1, 1, 1,
387 6, 5, 5, 5, 5, 7, 7, 7, 7, 7,
388 8, 9, 8, 7, 10, 10, 5, 5, 5, 10,
389 11, 11, 11, 11, 11, 11, 11, 12, 11, 11,
390 12, 11, 12, 11, 12, 11, 11, 11, 11, 1
393 static yyconst short int yy_base[498] =
395 0, 1146, 59, 63, 67, 69, 83, 84, 116, 176,
396 1151, 1863, 1148, 1863, 1109, 1863, 77, 72, 1108, 62,
397 83, 85, 1107, 113, 1105, 92, 1105, 57, 0, 58,
398 60, 1083, 116, 1047, 1049, 109, 92, 107, 58, 1050,
399 65, 1049, 1037, 114, 1017, 1026, 1024, 1030, 113, 1048,
400 1863, 1047, 1863, 1863, 144, 146, 1016, 1863, 1863, 232,
401 1863, 0, 138, 1045, 1863, 1863, 1863, 1863, 1863, 1863,
402 1863, 1863, 1863, 1863, 1863, 1863, 1033, 173, 1863, 174,
403 189, 161, 1863, 1863, 1863, 1005, 1863, 1863, 1863, 1004,
404 0, 1863, 275, 301, 1863, 973, 972, 973, 195, 945,
406 958, 944, 960, 946, 932, 917, 918, 915, 915, 897,
407 894, 891, 0, 119, 895, 192, 893, 163, 175, 877,
408 869, 123, 128, 875, 1863, 1863, 915, 914, 201, 204,
409 862, 0, 1863, 861, 877, 327, 353, 379, 0, 405,
410 431, 1863, 0, 0, 1863, 1863, 0, 457, 0, 483,
411 842, 843, 833, 814, 812, 816, 807, 794, 802, 791,
412 790, 803, 777, 764, 190, 779, 777, 773, 743, 750,
413 753, 0, 738, 743, 0, 723, 720, 709, 707, 709,
414 690, 698, 683, 681, 681, 673, 662, 667, 671, 673,
415 640, 670, 0, 509, 0, 535, 1863, 0, 0, 561,
417 0, 587, 0, 0, 0, 613, 0, 639, 638, 633,
418 641, 607, 616, 610, 604, 610, 582, 587, 0, 587,
419 0, 0, 578, 587, 554, 561, 0, 0, 555, 552,
420 0, 556, 0, 530, 530, 529, 526, 539, 507, 512,
421 517, 516, 514, 482, 488, 0, 475, 488, 1863, 0,
422 665, 0, 691, 0, 0, 717, 0, 743, 0, 0,
423 0, 769, 0, 795, 0, 480, 461, 452, 456, 449,
424 461, 435, 424, 441, 0, 0, 427, 428, 413, 403,
425 0, 411, 396, 405, 378, 0, 387, 384, 386, 369,
426 371, 373, 0, 363, 367, 0, 0, 821, 0, 847,
428 0, 873, 0, 899, 0, 0, 0, 925, 1863, 1863,
429 370, 360, 364, 353, 352, 352, 351, 347, 344, 342,
430 321, 0, 0, 0, 334, 335, 0, 0, 0, 0,
431 0, 0, 331, 331, 302, 0, 951, 1863, 1863, 0,
432 977, 1863, 1863, 0, 0, 1003, 290, 311, 309, 301,
433 288, 269, 281, 276, 275, 257, 0, 244, 241, 0,
434 255, 253, 0, 1029, 0, 1055, 0, 0, 1081, 0,
435 237, 230, 234, 247, 236, 244, 240, 230, 0, 0,
436 0, 0, 0, 0, 1107, 0, 1133, 0, 0, 1159,
437 217, 221, 239, 222, 236, 216, 227, 0, 1185, 0,
439 1211, 0, 1863, 1863, 0, 226, 172, 215, 227, 226,
440 1863, 1863, 1863, 1863, 225, 201, 222, 222, 221, 220,
441 218, 201, 215, 214, 0, 196, 194, 0, 188, 118,
442 111, 93, 71, 56, 0, 0, 53, 0, 1863, 1251,
443 1263, 1275, 1284, 1292, 1304, 1316, 1324, 1336, 1348, 1358,
444 1370, 1382, 1394, 1406, 1418, 1426, 1432, 1442, 1454, 1466,
445 1478, 1486, 1496, 1508, 1516, 1522, 1532, 1544, 1556, 1568,
446 1580, 1592, 1600, 1606, 1616, 1628, 1640, 1652, 1664, 1676,
447 1684, 1690, 1700, 1712, 1724, 1732, 1742, 1754, 1766, 1774,
448 1784, 1796, 1808, 1816, 1826, 1838, 1850
452 static yyconst short int yy_def[498] =
454 439, 1, 440, 440, 440, 440, 441, 441, 442, 442,
455 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
456 439, 439, 439, 443, 439, 439, 439, 439, 444, 444,
457 439, 439, 444, 444, 444, 444, 444, 444, 444, 444,
458 444, 444, 444, 444, 444, 444, 444, 444, 439, 439,
459 439, 439, 439, 439, 439, 439, 445, 439, 439, 446,
460 439, 447, 439, 439, 439, 439, 439, 439, 439, 439,
461 439, 439, 439, 439, 439, 439, 439, 443, 439, 443,
462 443, 439, 439, 439, 439, 439, 439, 439, 439, 439,
463 444, 439, 448, 449, 439, 444, 444, 444, 444, 444,
465 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
466 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
467 444, 444, 444, 444, 439, 439, 439, 439, 439, 439,
468 445, 450, 439, 445, 439, 451, 452, 453, 447, 454,
469 455, 439, 456, 457, 439, 439, 458, 458, 459, 459,
470 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
471 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
472 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
473 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
474 444, 439, 460, 460, 461, 461, 439, 462, 463, 463,
476 464, 464, 465, 466, 467, 467, 468, 468, 444, 444,
477 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
478 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
479 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
480 444, 444, 444, 444, 444, 444, 444, 444, 439, 469,
481 469, 470, 470, 462, 471, 471, 472, 472, 473, 474,
482 475, 475, 476, 476, 444, 444, 444, 444, 444, 444,
483 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
484 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
485 444, 444, 444, 444, 444, 444, 477, 477, 478, 478,
487 479, 479, 480, 480, 481, 482, 483, 483, 439, 439,
488 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
489 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
490 444, 444, 444, 444, 444, 484, 484, 439, 439, 485,
491 485, 439, 439, 486, 487, 487, 444, 444, 444, 444,
492 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
493 444, 444, 488, 488, 489, 489, 490, 491, 491, 444,
494 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
495 444, 444, 444, 492, 492, 493, 493, 494, 495, 495,
496 444, 444, 444, 444, 444, 444, 444, 496, 496, 497,
498 497, 482, 439, 439, 444, 444, 444, 444, 444, 444,
499 439, 439, 439, 439, 444, 444, 444, 444, 444, 444,
500 444, 444, 444, 444, 444, 444, 444, 444, 444, 444,
501 444, 444, 444, 444, 444, 444, 444, 444, 0, 439,
502 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
503 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
504 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
505 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
506 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
507 439, 439, 439, 439, 439, 439, 439
511 static yyconst short int yy_nxt[1924] =
513 12, 13, 14, 15, 16, 12, 17, 18, 16, 19,
514 20, 21, 22, 23, 24, 24, 25, 26, 27, 28,
515 12, 29, 29, 29, 29, 29, 29, 30, 29, 29,
516 12, 31, 32, 33, 34, 35, 36, 37, 38, 39,
517 40, 29, 41, 29, 29, 42, 29, 29, 29, 29,
518 43, 44, 45, 46, 47, 48, 29, 29, 29, 49,
519 52, 53, 92, 54, 52, 53, 92, 54, 52, 53,
520 52, 53, 72, 55, 55, 89, 90, 55, 55, 69,
521 73, 56, 56, 56, 56, 58, 58, 59, 59, 93,
522 70, 59, 59, 66, 74, 67, 68, 77, 84, 78,
524 78, 75, 76, 110, 113, 438, 111, 437, 85, 86,
525 87, 436, 114, 94, 60, 60, 61, 61, 61, 61,
526 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
527 105, 125, 61, 61, 61, 61, 61, 81, 96, 97,
528 106, 81, 98, 102, 82, 435, 61, 63, 61, 99,
529 103, 81, 107, 434, 108, 117, 118, 104, 129, 129,
530 130, 130, 81, 109, 174, 187, 119, 140, 433, 120,
531 189, 175, 126, 190, 188, 61, 61, 61, 61, 61,
532 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
533 143, 141, 61, 61, 61, 61, 61, 81, 81, 80,
535 80, 81, 81, 181, 82, 82, 61, 63, 61, 183,
536 416, 81, 81, 81, 144, 129, 129, 81, 130, 130,
537 82, 182, 81, 81, 432, 184, 417, 81, 430, 154,
538 155, 156, 177, 157, 429, 61, 134, 158, 81, 431,
539 134, 223, 224, 178, 179, 159, 135, 428, 427, 160,
540 426, 425, 134, 383, 381, 424, 423, 422, 421, 420,
541 419, 136, 418, 134, 415, 410, 134, 134, 409, 324,
542 408, 134, 407, 406, 405, 397, 396, 395, 394, 134,
543 276, 393, 134, 392, 134, 137, 134, 391, 138, 148,
544 148, 383, 382, 381, 380, 379, 148, 148, 148, 148,
546 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
547 148, 148, 148, 148, 148, 150, 150, 378, 377, 376,
548 375, 374, 150, 150, 150, 150, 150, 150, 150, 150,
549 150, 150, 150, 150, 150, 150, 150, 150, 150, 150,
550 150, 194, 194, 373, 372, 371, 370, 362, 194, 194,
551 194, 194, 194, 194, 194, 194, 194, 194, 194, 194,
552 194, 194, 194, 194, 194, 194, 194, 196, 196, 361,
553 360, 359, 358, 357, 196, 196, 196, 196, 196, 196,
554 196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
555 196, 196, 196, 198, 198, 356, 355, 354, 353, 352,
557 198, 198, 198, 198, 351, 350, 349, 348, 347, 335,
558 334, 333, 332, 198, 198, 198, 198, 198, 198, 200,
559 200, 331, 330, 329, 328, 327, 200, 200, 200, 200,
560 200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
561 200, 200, 200, 200, 200, 202, 202, 326, 325, 324,
562 323, 322, 202, 202, 202, 202, 202, 202, 202, 202,
563 202, 202, 202, 202, 202, 202, 202, 202, 202, 202,
564 202, 206, 206, 321, 320, 319, 318, 317, 206, 206,
565 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
566 206, 206, 206, 206, 206, 206, 206, 208, 208, 316,
568 315, 314, 313, 312, 208, 208, 208, 208, 208, 208,
569 208, 208, 208, 208, 208, 208, 208, 208, 208, 208,
570 208, 208, 208, 251, 251, 311, 296, 295, 294, 293,
571 251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
572 251, 251, 251, 251, 251, 251, 251, 251, 251, 253,
573 253, 292, 291, 290, 289, 288, 253, 253, 253, 253,
574 253, 253, 253, 253, 253, 253, 253, 253, 253, 253,
575 253, 253, 253, 253, 253, 256, 256, 287, 286, 285,
576 284, 283, 256, 256, 256, 256, 256, 256, 256, 256,
577 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,
579 256, 258, 258, 282, 281, 280, 279, 278, 258, 258,
580 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
581 258, 258, 258, 258, 258, 258, 258, 262, 262, 277,
582 276, 275, 274, 273, 262, 262, 262, 262, 262, 262,
583 262, 262, 262, 262, 262, 262, 262, 262, 262, 262,
584 262, 262, 262, 264, 264, 272, 271, 270, 269, 268,
585 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
586 264, 264, 264, 264, 264, 264, 264, 264, 264, 298,
587 298, 267, 266, 265, 249, 248, 298, 298, 298, 298,
588 298, 298, 298, 298, 298, 298, 298, 298, 298, 298,
590 298, 298, 298, 298, 298, 300, 300, 247, 246, 245,
591 244, 243, 300, 300, 300, 300, 300, 300, 300, 300,
592 300, 300, 300, 300, 300, 300, 300, 300, 300, 300,
593 300, 302, 302, 242, 241, 240, 239, 238, 302, 302,
594 302, 302, 302, 302, 302, 302, 302, 302, 302, 302,
595 302, 302, 302, 302, 302, 302, 302, 304, 304, 237,
596 236, 235, 234, 233, 304, 304, 304, 304, 304, 304,
597 304, 304, 304, 304, 304, 304, 304, 304, 304, 304,
598 304, 304, 304, 308, 308, 232, 231, 230, 229, 228,
599 308, 308, 308, 308, 308, 308, 308, 308, 308, 308,
601 308, 308, 308, 308, 308, 308, 308, 308, 308, 310,
602 310, 227, 226, 225, 222, 221, 310, 310, 310, 310,
603 310, 310, 310, 310, 310, 310, 310, 310, 310, 310,
604 310, 310, 310, 310, 310, 337, 337, 220, 219, 218,
605 217, 216, 337, 337, 337, 337, 337, 337, 337, 337,
606 337, 337, 337, 337, 337, 337, 337, 337, 337, 337,
607 337, 339, 339, 215, 214, 213, 212, 211, 339, 339,
608 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
609 339, 339, 339, 339, 339, 339, 339, 341, 341, 210,
610 209, 192, 132, 132, 341, 341, 341, 341, 341, 341,
612 341, 341, 341, 341, 341, 341, 341, 341, 341, 341,
613 341, 341, 341, 343, 343, 128, 127, 191, 186, 185,
614 343, 343, 343, 343, 343, 343, 343, 343, 343, 343,
615 343, 343, 343, 343, 343, 343, 343, 343, 343, 346,
616 346, 180, 176, 173, 172, 171, 346, 346, 346, 346,
617 346, 346, 346, 346, 346, 346, 346, 346, 346, 346,
618 346, 346, 346, 346, 346, 364, 364, 170, 169, 168,
619 167, 166, 364, 364, 364, 364, 364, 364, 364, 364,
620 364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
621 364, 366, 366, 165, 164, 163, 162, 161, 366, 366,
623 366, 366, 366, 366, 366, 366, 366, 366, 366, 366,
624 366, 366, 366, 366, 366, 366, 366, 369, 369, 153,
625 152, 151, 146, 145, 369, 369, 369, 369, 369, 369,
626 369, 369, 369, 369, 369, 369, 369, 369, 369, 369,
627 369, 369, 369, 385, 385, 142, 64, 132, 128, 127,
628 385, 385, 385, 385, 385, 385, 385, 385, 385, 385,
629 385, 385, 385, 385, 385, 385, 385, 385, 385, 387,
630 387, 124, 123, 122, 121, 116, 387, 387, 387, 387,
631 387, 387, 387, 387, 387, 387, 387, 387, 387, 387,
632 387, 387, 387, 387, 387, 390, 390, 115, 112, 101,
634 100, 95, 390, 390, 390, 390, 390, 390, 390, 390,
635 390, 390, 390, 390, 390, 390, 390, 390, 390, 390,
636 390, 399, 399, 88, 83, 79, 71, 65, 399, 399,
637 399, 399, 399, 399, 399, 399, 399, 399, 399, 399,
638 399, 399, 399, 399, 399, 399, 399, 401, 401, 64,
639 439, 50, 439, 439, 401, 401, 401, 401, 401, 401,
640 401, 401, 401, 401, 401, 401, 401, 401, 401, 401,
641 401, 401, 401, 404, 404, 439, 439, 439, 439, 439,
642 404, 404, 404, 404, 404, 404, 404, 404, 404, 404,
643 404, 404, 404, 404, 404, 404, 404, 404, 404, 412,
645 412, 439, 439, 439, 439, 439, 412, 412, 412, 412,
646 412, 412, 412, 412, 412, 412, 412, 412, 412, 412,
647 412, 412, 412, 412, 412, 414, 414, 439, 439, 439,
648 439, 439, 414, 414, 414, 414, 414, 414, 414, 414,
649 414, 414, 414, 414, 414, 414, 414, 414, 414, 414,
650 414, 51, 51, 51, 51, 51, 51, 51, 51, 51,
651 51, 51, 51, 57, 57, 57, 57, 57, 57, 57,
652 57, 57, 57, 57, 57, 62, 62, 62, 62, 62,
653 62, 62, 62, 62, 62, 62, 62, 80, 80, 439,
654 80, 439, 80, 80, 80, 80, 91, 439, 91, 439,
656 439, 91, 91, 91, 131, 439, 439, 131, 131, 131,
657 131, 131, 131, 131, 131, 131, 133, 439, 133, 133,
658 133, 133, 133, 133, 133, 133, 133, 133, 139, 439,
659 139, 439, 439, 139, 139, 139, 147, 439, 147, 147,
660 147, 147, 147, 147, 147, 147, 147, 147, 149, 439,
661 149, 149, 149, 149, 149, 149, 149, 149, 149, 149,
662 131, 439, 439, 131, 439, 439, 131, 131, 439, 131,
663 193, 439, 193, 193, 193, 193, 193, 193, 193, 193,
664 193, 193, 195, 439, 195, 195, 195, 195, 195, 195,
665 195, 195, 195, 195, 197, 439, 197, 197, 197, 197,
667 197, 197, 197, 197, 197, 197, 199, 439, 199, 199,
668 199, 199, 199, 199, 199, 199, 199, 199, 201, 439,
669 201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
670 203, 439, 203, 203, 203, 203, 204, 439, 204, 204,
671 204, 204, 205, 439, 205, 205, 205, 205, 205, 205,
672 205, 205, 205, 205, 207, 439, 207, 207, 207, 207,
673 207, 207, 207, 207, 207, 207, 250, 439, 250, 250,
674 250, 250, 250, 250, 250, 250, 250, 250, 252, 439,
675 252, 252, 252, 252, 252, 252, 252, 252, 252, 252,
676 254, 439, 439, 439, 439, 254, 255, 439, 255, 255,
678 255, 255, 255, 255, 255, 255, 255, 255, 257, 439,
679 257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
680 259, 439, 259, 259, 259, 259, 260, 439, 260, 260,
681 260, 260, 261, 439, 261, 261, 261, 261, 261, 261,
682 261, 261, 261, 261, 263, 439, 263, 263, 263, 263,
683 263, 263, 263, 263, 263, 263, 297, 439, 297, 297,
684 297, 297, 297, 297, 297, 297, 297, 297, 299, 439,
685 299, 299, 299, 299, 299, 299, 299, 299, 299, 299,
686 301, 439, 301, 301, 301, 301, 301, 301, 301, 301,
687 301, 301, 303, 439, 303, 303, 303, 303, 303, 303,
689 303, 303, 303, 303, 305, 439, 305, 305, 305, 305,
690 306, 439, 306, 306, 306, 306, 307, 439, 307, 307,
691 307, 307, 307, 307, 307, 307, 307, 307, 309, 439,
692 309, 309, 309, 309, 309, 309, 309, 309, 309, 309,
693 336, 439, 336, 336, 336, 336, 336, 336, 336, 336,
694 336, 336, 338, 439, 338, 338, 338, 338, 338, 338,
695 338, 338, 338, 338, 340, 439, 340, 340, 340, 340,
696 340, 340, 340, 340, 340, 340, 342, 439, 342, 342,
697 342, 342, 342, 342, 342, 342, 342, 342, 344, 439,
698 344, 344, 344, 344, 80, 439, 80, 80, 80, 80,
700 345, 439, 345, 345, 345, 345, 345, 345, 345, 345,
701 345, 345, 363, 439, 363, 363, 363, 363, 363, 363,
702 363, 363, 363, 363, 365, 439, 365, 365, 365, 365,
703 365, 365, 365, 365, 365, 365, 367, 439, 367, 367,
704 367, 367, 368, 439, 368, 368, 368, 368, 368, 368,
705 368, 368, 368, 368, 384, 439, 384, 384, 384, 384,
706 384, 384, 384, 384, 384, 384, 386, 439, 386, 386,
707 386, 386, 386, 386, 386, 386, 386, 386, 388, 439,
708 388, 388, 388, 388, 389, 439, 389, 389, 389, 389,
709 389, 389, 389, 389, 389, 389, 398, 439, 398, 398,
711 398, 398, 398, 398, 398, 398, 398, 398, 400, 439,
712 400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
713 402, 439, 402, 402, 402, 402, 403, 439, 403, 403,
714 403, 403, 403, 403, 403, 403, 403, 403, 411, 439,
715 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
716 413, 439, 413, 413, 413, 413, 413, 413, 413, 413,
717 413, 413, 11, 439, 439, 439, 439, 439, 439, 439,
718 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
719 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
720 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
722 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
723 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
727 static yyconst short int yy_chk[1924] =
729 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
730 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
731 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
732 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
733 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
734 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
735 3, 3, 30, 3, 4, 4, 30, 4, 5, 5,
736 6, 6, 20, 3, 3, 28, 28, 4, 4, 18,
737 20, 5, 5, 6, 6, 7, 8, 7, 8, 31,
738 18, 7, 8, 17, 21, 17, 17, 22, 26, 22,
740 22, 21, 21, 39, 41, 437, 39, 434, 26, 26,
741 26, 433, 41, 31, 7, 8, 9, 9, 9, 9,
742 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
743 37, 49, 9, 9, 9, 9, 9, 24, 33, 33,
744 37, 24, 33, 36, 24, 432, 9, 9, 9, 33,
745 36, 24, 38, 431, 38, 44, 44, 36, 55, 55,
746 56, 56, 24, 38, 114, 122, 44, 63, 430, 44,
747 123, 114, 49, 123, 122, 9, 10, 10, 10, 10,
748 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
749 82, 63, 10, 10, 10, 10, 10, 78, 80, 81,
751 81, 78, 80, 118, 78, 80, 10, 10, 10, 119,
752 407, 78, 80, 81, 82, 129, 129, 81, 130, 130,
753 81, 118, 78, 80, 429, 119, 407, 81, 427, 99,
754 99, 99, 116, 99, 426, 10, 60, 99, 81, 427,
755 60, 165, 165, 116, 116, 99, 60, 424, 423, 99,
756 422, 421, 60, 420, 419, 418, 417, 416, 415, 410,
757 409, 60, 408, 60, 406, 397, 60, 60, 396, 395,
758 394, 60, 393, 392, 391, 378, 377, 376, 375, 60,
759 374, 373, 60, 372, 60, 60, 60, 371, 60, 93,
760 93, 362, 361, 359, 358, 356, 93, 93, 93, 93,
762 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
763 93, 93, 93, 93, 93, 94, 94, 355, 354, 353,
764 352, 351, 94, 94, 94, 94, 94, 94, 94, 94,
765 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
766 94, 136, 136, 350, 349, 348, 347, 335, 136, 136,
767 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
768 136, 136, 136, 136, 136, 136, 136, 137, 137, 334,
769 333, 326, 325, 321, 137, 137, 137, 137, 137, 137,
770 137, 137, 137, 137, 137, 137, 137, 137, 137, 137,
771 137, 137, 137, 138, 138, 320, 319, 318, 317, 316,
773 138, 138, 138, 138, 315, 314, 313, 312, 311, 295,
774 294, 292, 291, 138, 138, 138, 138, 138, 138, 140,
775 140, 290, 289, 288, 287, 285, 140, 140, 140, 140,
776 140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
777 140, 140, 140, 140, 140, 141, 141, 284, 283, 282,
778 280, 279, 141, 141, 141, 141, 141, 141, 141, 141,
779 141, 141, 141, 141, 141, 141, 141, 141, 141, 141,
780 141, 148, 148, 278, 277, 274, 273, 272, 148, 148,
781 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
782 148, 148, 148, 148, 148, 148, 148, 150, 150, 271,
784 270, 269, 268, 267, 150, 150, 150, 150, 150, 150,
785 150, 150, 150, 150, 150, 150, 150, 150, 150, 150,
786 150, 150, 150, 194, 194, 266, 248, 247, 245, 244,
787 194, 194, 194, 194, 194, 194, 194, 194, 194, 194,
788 194, 194, 194, 194, 194, 194, 194, 194, 194, 196,
789 196, 243, 242, 241, 240, 239, 196, 196, 196, 196,
790 196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
791 196, 196, 196, 196, 196, 200, 200, 238, 237, 236,
792 235, 234, 200, 200, 200, 200, 200, 200, 200, 200,
793 200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
795 200, 202, 202, 232, 230, 229, 226, 225, 202, 202,
796 202, 202, 202, 202, 202, 202, 202, 202, 202, 202,
797 202, 202, 202, 202, 202, 202, 202, 206, 206, 224,
798 223, 220, 218, 217, 206, 206, 206, 206, 206, 206,
799 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
800 206, 206, 206, 208, 208, 216, 215, 214, 213, 212,
801 208, 208, 208, 208, 208, 208, 208, 208, 208, 208,
802 208, 208, 208, 208, 208, 208, 208, 208, 208, 251,
803 251, 211, 210, 209, 192, 191, 251, 251, 251, 251,
804 251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
806 251, 251, 251, 251, 251, 253, 253, 190, 189, 188,
807 187, 186, 253, 253, 253, 253, 253, 253, 253, 253,
808 253, 253, 253, 253, 253, 253, 253, 253, 253, 253,
809 253, 256, 256, 185, 184, 183, 182, 181, 256, 256,
810 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,
811 256, 256, 256, 256, 256, 256, 256, 258, 258, 180,
812 179, 178, 177, 176, 258, 258, 258, 258, 258, 258,
813 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
814 258, 258, 258, 262, 262, 174, 173, 171, 170, 169,
815 262, 262, 262, 262, 262, 262, 262, 262, 262, 262,
817 262, 262, 262, 262, 262, 262, 262, 262, 262, 264,
818 264, 168, 167, 166, 164, 163, 264, 264, 264, 264,
819 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
820 264, 264, 264, 264, 264, 298, 298, 162, 161, 160,
821 159, 158, 298, 298, 298, 298, 298, 298, 298, 298,
822 298, 298, 298, 298, 298, 298, 298, 298, 298, 298,
823 298, 300, 300, 157, 156, 155, 154, 153, 300, 300,
824 300, 300, 300, 300, 300, 300, 300, 300, 300, 300,
825 300, 300, 300, 300, 300, 300, 300, 302, 302, 152,
826 151, 135, 134, 131, 302, 302, 302, 302, 302, 302,
828 302, 302, 302, 302, 302, 302, 302, 302, 302, 302,
829 302, 302, 302, 304, 304, 128, 127, 124, 121, 120,
830 304, 304, 304, 304, 304, 304, 304, 304, 304, 304,
831 304, 304, 304, 304, 304, 304, 304, 304, 304, 308,
832 308, 117, 115, 112, 111, 110, 308, 308, 308, 308,
833 308, 308, 308, 308, 308, 308, 308, 308, 308, 308,
834 308, 308, 308, 308, 308, 337, 337, 109, 108, 107,
835 106, 105, 337, 337, 337, 337, 337, 337, 337, 337,
836 337, 337, 337, 337, 337, 337, 337, 337, 337, 337,
837 337, 341, 341, 104, 103, 102, 101, 100, 341, 341,
839 341, 341, 341, 341, 341, 341, 341, 341, 341, 341,
840 341, 341, 341, 341, 341, 341, 341, 346, 346, 98,
841 97, 96, 90, 86, 346, 346, 346, 346, 346, 346,
842 346, 346, 346, 346, 346, 346, 346, 346, 346, 346,
843 346, 346, 346, 364, 364, 77, 64, 57, 52, 50,
844 364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
845 364, 364, 364, 364, 364, 364, 364, 364, 364, 366,
846 366, 48, 47, 46, 45, 43, 366, 366, 366, 366,
847 366, 366, 366, 366, 366, 366, 366, 366, 366, 366,
848 366, 366, 366, 366, 366, 369, 369, 42, 40, 35,
850 34, 32, 369, 369, 369, 369, 369, 369, 369, 369,
851 369, 369, 369, 369, 369, 369, 369, 369, 369, 369,
852 369, 385, 385, 27, 25, 23, 19, 15, 385, 385,
853 385, 385, 385, 385, 385, 385, 385, 385, 385, 385,
854 385, 385, 385, 385, 385, 385, 385, 387, 387, 13,
855 11, 2, 0, 0, 387, 387, 387, 387, 387, 387,
856 387, 387, 387, 387, 387, 387, 387, 387, 387, 387,
857 387, 387, 387, 390, 390, 0, 0, 0, 0, 0,
858 390, 390, 390, 390, 390, 390, 390, 390, 390, 390,
859 390, 390, 390, 390, 390, 390, 390, 390, 390, 399,
861 399, 0, 0, 0, 0, 0, 399, 399, 399, 399,
862 399, 399, 399, 399, 399, 399, 399, 399, 399, 399,
863 399, 399, 399, 399, 399, 401, 401, 0, 0, 0,
864 0, 0, 401, 401, 401, 401, 401, 401, 401, 401,
865 401, 401, 401, 401, 401, 401, 401, 401, 401, 401,
866 401, 440, 440, 440, 440, 440, 440, 440, 440, 440,
867 440, 440, 440, 441, 441, 441, 441, 441, 441, 441,
868 441, 441, 441, 441, 441, 442, 442, 442, 442, 442,
869 442, 442, 442, 442, 442, 442, 442, 443, 443, 0,
870 443, 0, 443, 443, 443, 443, 444, 0, 444, 0,
872 0, 444, 444, 444, 445, 0, 0, 445, 445, 445,
873 445, 445, 445, 445, 445, 445, 446, 0, 446, 446,
874 446, 446, 446, 446, 446, 446, 446, 446, 447, 0,
875 447, 0, 0, 447, 447, 447, 448, 0, 448, 448,
876 448, 448, 448, 448, 448, 448, 448, 448, 449, 0,
877 449, 449, 449, 449, 449, 449, 449, 449, 449, 449,
878 450, 0, 0, 450, 0, 0, 450, 450, 0, 450,
879 451, 0, 451, 451, 451, 451, 451, 451, 451, 451,
880 451, 451, 452, 0, 452, 452, 452, 452, 452, 452,
881 452, 452, 452, 452, 453, 0, 453, 453, 453, 453,
883 453, 453, 453, 453, 453, 453, 454, 0, 454, 454,
884 454, 454, 454, 454, 454, 454, 454, 454, 455, 0,
885 455, 455, 455, 455, 455, 455, 455, 455, 455, 455,
886 456, 0, 456, 456, 456, 456, 457, 0, 457, 457,
887 457, 457, 458, 0, 458, 458, 458, 458, 458, 458,
888 458, 458, 458, 458, 459, 0, 459, 459, 459, 459,
889 459, 459, 459, 459, 459, 459, 460, 0, 460, 460,
890 460, 460, 460, 460, 460, 460, 460, 460, 461, 0,
891 461, 461, 461, 461, 461, 461, 461, 461, 461, 461,
892 462, 0, 0, 0, 0, 462, 463, 0, 463, 463,
894 463, 463, 463, 463, 463, 463, 463, 463, 464, 0,
895 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
896 465, 0, 465, 465, 465, 465, 466, 0, 466, 466,
897 466, 466, 467, 0, 467, 467, 467, 467, 467, 467,
898 467, 467, 467, 467, 468, 0, 468, 468, 468, 468,
899 468, 468, 468, 468, 468, 468, 469, 0, 469, 469,
900 469, 469, 469, 469, 469, 469, 469, 469, 470, 0,
901 470, 470, 470, 470, 470, 470, 470, 470, 470, 470,
902 471, 0, 471, 471, 471, 471, 471, 471, 471, 471,
903 471, 471, 472, 0, 472, 472, 472, 472, 472, 472,
905 472, 472, 472, 472, 473, 0, 473, 473, 473, 473,
906 474, 0, 474, 474, 474, 474, 475, 0, 475, 475,
907 475, 475, 475, 475, 475, 475, 475, 475, 476, 0,
908 476, 476, 476, 476, 476, 476, 476, 476, 476, 476,
909 477, 0, 477, 477, 477, 477, 477, 477, 477, 477,
910 477, 477, 478, 0, 478, 478, 478, 478, 478, 478,
911 478, 478, 478, 478, 479, 0, 479, 479, 479, 479,
912 479, 479, 479, 479, 479, 479, 480, 0, 480, 480,
913 480, 480, 480, 480, 480, 480, 480, 480, 481, 0,
914 481, 481, 481, 481, 482, 0, 482, 482, 482, 482,
916 483, 0, 483, 483, 483, 483, 483, 483, 483, 483,
917 483, 483, 484, 0, 484, 484, 484, 484, 484, 484,
918 484, 484, 484, 484, 485, 0, 485, 485, 485, 485,
919 485, 485, 485, 485, 485, 485, 486, 0, 486, 486,
920 486, 486, 487, 0, 487, 487, 487, 487, 487, 487,
921 487, 487, 487, 487, 488, 0, 488, 488, 488, 488,
922 488, 488, 488, 488, 488, 488, 489, 0, 489, 489,
923 489, 489, 489, 489, 489, 489, 489, 489, 490, 0,
924 490, 490, 490, 490, 491, 0, 491, 491, 491, 491,
925 491, 491, 491, 491, 491, 491, 492, 0, 492, 492,
927 492, 492, 492, 492, 492, 492, 492, 492, 493, 0,
928 493, 493, 493, 493, 493, 493, 493, 493, 493, 493,
929 494, 0, 494, 494, 494, 494, 495, 0, 495, 495,
930 495, 495, 495, 495, 495, 495, 495, 495, 496, 0,
931 496, 496, 496, 496, 496, 496, 496, 496, 496, 496,
932 497, 0, 497, 497, 497, 497, 497, 497, 497, 497,
933 497, 497, 439, 439, 439, 439, 439, 439, 439, 439,
934 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
935 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
936 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
938 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
939 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
943 static yy_state_type yy_last_accepting_state;
944 static char *yy_last_accepting_cpos;
946 extern int yy_flex_debug;
947 int yy_flex_debug = 1;
949 static yyconst short int yy_rule_linenum[98] =
951 81, 83, 94, 95, 102, 103, 105, 110, 112, 120,
952 128, 131, 143, 157, 161, 165, 169, 185, 189, 198,
953 204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
954 214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
955 224, 225, 226, 227, 228, 229, 230, 232, 233, 234,
956 235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
957 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
958 255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
959 265, 266, 267, 268, 270, 271, 273, 274, 276, 281,
960 288, 294, 301, 304, 308, 313, 335
964 /* The intent behind this definition is that it'll catch
965 * any uses of REJECT which flex missed.
967 #define REJECT reject_used_but_not_detected
968 #define yymore() yymore_used_but_not_detected
969 #define YY_MORE_ADJ 0
970 #define YY_RESTORE_YY_MORE_OFFSET
978 static int yywrap(void) {
983 /* cheesy dynamic string stuff */
984 static int stringtype;
985 static int cppstring;
986 static size_t stringlen;
988 static int stringcode;
990 /* append some bytes to the string */
991 static void morestring(const char *ptr, size_t len) {
992 if(len > SIZE_MAX - stringlen)
993 fatal(0, "string too long");
994 string = xrealloc_noptr(string, stringlen + len);
995 memcpy(string + stringlen, ptr, len);
999 static void newstring(const char *ptr, size_t len) {
1002 morestring(ptr, len);
1005 /* validate a UCN - return 1 if valid, 0 if not, and report the error.
1006 * Assumes yylloc set. */
1007 static int ucnvalid(const char *s) {
1008 /* 6.4.3 range constraints for UCNs */
1012 u = strtoul(s + 2, 0, 16);
1014 inputerror(&yylloc, "cannot convert UCN '%s'", yytext);
1023 || (u >= 0xD800 && u <= 0xDFFF)) {
1024 inputerror(&yylloc, "illegal UCN escape '%s'", yytext);
1032 static inline void loc(void) {
1042 #line 1043 "lex.yy.c"
1044 /* Macros after this point can all be overridden by user definitions in
1048 #ifndef YY_SKIP_YYWRAP
1050 extern "C" int yywrap YY_PROTO(( void ));
1052 extern int yywrap YY_PROTO(( void ));
1057 static void yyunput YY_PROTO(( int c, char *buf_ptr ));
1061 static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
1064 #ifdef YY_NEED_STRLEN
1065 static int yy_flex_strlen YY_PROTO(( yyconst char * ));
1070 static int yyinput YY_PROTO(( void ));
1072 static int input YY_PROTO(( void ));
1077 static int yy_start_stack_ptr = 0;
1078 static int yy_start_stack_depth = 0;
1079 static int *yy_start_stack = 0;
1080 #ifndef YY_NO_PUSH_STATE
1081 static void yy_push_state YY_PROTO(( int new_state ));
1083 #ifndef YY_NO_POP_STATE
1084 static void yy_pop_state YY_PROTO(( void ));
1086 #ifndef YY_NO_TOP_STATE
1087 static int yy_top_state YY_PROTO(( void ));
1091 #define YY_NO_PUSH_STATE 1
1092 #define YY_NO_POP_STATE 1
1093 #define YY_NO_TOP_STATE 1
1096 #ifdef YY_MALLOC_DECL
1104 /* Just try to get by without declaring the routines. This will fail
1105 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
1106 * or sizeof(void*) != sizeof(int).
1111 /* Amount of stuff to slurp up with each read. */
1112 #ifndef YY_READ_BUF_SIZE
1113 #define YY_READ_BUF_SIZE 8192
1116 /* Copy whatever the last rule matched to the standard output. */
1119 /* This used to be an fputs(), but since the string might contain NUL's,
1120 * we now use fwrite().
1122 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1125 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1126 * is returned in "result".
1129 #define YY_INPUT(buf,result,max_size) \
1130 if ( yy_current_buffer->yy_is_interactive ) \
1133 for ( n = 0; n < max_size && \
1134 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1135 buf[n] = (char) c; \
1137 buf[n++] = (char) c; \
1138 if ( c == EOF && ferror( yyin ) ) \
1139 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1145 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1147 if( errno != EINTR) \
1149 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1158 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1159 * we don't want an extra ';' after the "return" because that will cause
1160 * some compilers to complain about unreachable statements.
1163 #define yyterminate() return YY_NULL
1166 /* Number of entries by which start-condition stack grows. */
1167 #ifndef YY_START_STACK_INCR
1168 #define YY_START_STACK_INCR 25
1171 /* Report a fatal error. */
1172 #ifndef YY_FATAL_ERROR
1173 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1176 /* Default declaration of generated scanner - a define so the user can
1177 * easily add parameters.
1180 #define YY_DECL int yylex YY_PROTO(( void ))
1183 /* Code executed at the beginning of each rule, after yytext and yyleng
1186 #ifndef YY_USER_ACTION
1187 #define YY_USER_ACTION
1190 /* Code executed at the end of each rule. */
1192 #define YY_BREAK break;
1195 #define YY_RULE_SETUP \
1197 yy_current_buffer->yy_at_bol = \
1198 (yytext[yyleng - 1] == '\n'); \
1203 register yy_state_type yy_current_state;
1204 register char *yy_cp, *yy_bp;
1205 register int yy_act;
1210 #line 1211 "lex.yy.c"
1221 yy_start = 1; /* first start state */
1229 if ( ! yy_current_buffer )
1231 yy_create_buffer( yyin, YY_BUF_SIZE );
1233 yy_load_buffer_state();
1236 while ( 1 ) /* loops until end-of-file is reached */
1240 /* Support of yytext. */
1241 *yy_cp = yy_hold_char;
1243 /* yy_bp points to the position in yy_ch_buf of the start of
1248 yy_current_state = yy_start;
1249 yy_current_state += YY_AT_BOL();
1253 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1254 if ( yy_accept[yy_current_state] )
1256 yy_last_accepting_state = yy_current_state;
1257 yy_last_accepting_cpos = yy_cp;
1259 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1261 yy_current_state = (int) yy_def[yy_current_state];
1262 if ( yy_current_state >= 440 )
1263 yy_c = yy_meta[(unsigned int) yy_c];
1265 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1268 while ( yy_current_state != 439 );
1269 yy_cp = yy_last_accepting_cpos;
1270 yy_current_state = yy_last_accepting_state;
1273 yy_act = yy_accept[yy_current_state];
1275 YY_DO_BEFORE_ACTION;
1278 do_action: /* This label is used only to access EOF actions. */
1280 if ( yy_flex_debug )
1283 fprintf( stderr, "--scanner backing up\n" );
1284 else if ( yy_act < 98 )
1285 fprintf( stderr, "--accepting rule at line %d (\"%s\")\n",
1286 yy_rule_linenum[yy_act], yytext );
1287 else if ( yy_act == 98 )
1288 fprintf( stderr, "--accepting default rule (\"%s\")\n",
1290 else if ( yy_act == 99 )
1291 fprintf( stderr, "--(end of buffer or a NUL)\n" );
1293 fprintf( stderr, "--EOF (start condition %d)\n", YY_START );
1297 { /* beginning of action switch */
1298 case 0: /* must back up */
1299 /* undo the effects of YY_DO_BEFORE_ACTION */
1300 *yy_cp = yy_hold_char;
1301 yy_cp = yy_last_accepting_cpos;
1302 yy_current_state = yy_last_accepting_state;
1303 goto yy_find_action;
1315 /* collect line number, crapping out if we can't represent it */
1317 l = strtol(yytext, 0, 10);
1319 fatal(errno, "cannot convert line number '%s'", yytext);
1321 fatal(0, "line number '%s' is too big", yytext);
1334 /* collect filename */
1336 stringtype = yytext[0];
1356 fatal(0, "cannot count beyond line %d", INT_MAX);
1369 stringtype = yytext[0];
1370 stringcode = yytext[0] == '"' ? STRINGLIT : CHARLIT;
1381 stringtype = yytext[1];
1382 stringcode = yytext[1] == '"' ? WSTRINGLIT : WCHARLIT;
1393 morestring(yytext, yyleng);
1400 /* 6.4.4.4 escapes must fit in an unsigned char */
1404 n = strtoul(yytext + 1, 0, 8);
1406 inputerror(&yylloc, "cannot convert octal escape sequence '%s'", yytext);
1407 else if(n > P_UCHAR_MAX)
1408 inputerror(&yylloc, "octal escape sequence '%s' out of range", yytext);
1409 morestring(yytext, yyleng);
1416 /* 6.4.4.4 escapes must fit in an unsigned char */
1420 n = strtoul(yytext + 2, 0, 16);
1422 inputerror(&yylloc, "cannot convert hexadecimal escape sequence '%s'",
1424 else if(n > P_UCHAR_MAX)
1425 inputerror(&yylloc, "hexadecimal escape sequence '%s' out of range",
1427 morestring(yytext, yyleng);
1434 inputerror(&yylloc, "invalid hexadecimal escape sequence '%s'", yytext);
1435 morestring(yytext, yyleng);
1443 morestring(yytext, yyleng);
1450 inputerror(&yylloc, "invalid UCN '%s'", yytext);
1451 morestring(yytext, yyleng);
1458 if(yytext[0] == stringtype) {
1466 /* XXX support strings with embedded 0s */
1467 yylval.s = xstrndup(string, stringlen);
1471 morestring(yytext, 1);
1478 inputerror(&yylloc, "invalid escape sequence '%s'", yytext);
1479 morestring(yytext, yyleng);
1486 inputerror(&yylloc, "unterminated literal");
1490 case YY_STATE_EOF(LITERAL):
1493 inputerror(&yylloc, "unterminated literal");
1501 yylval.s = xstrndup(yytext, yyleng);
1509 { loc(); return yylval.i = MEMBER; }
1514 { loc(); return yylval.i = INCR; }
1519 { loc(); return yylval.i = DECR; }
1524 { loc(); return yylval.i = SL; }
1529 { loc(); return yylval.i = SR; }
1534 { loc(); return yylval.i = LE; }
1539 { loc(); return yylval.i = GE; }
1544 { loc(); return yylval.i = EQ; }
1549 { loc(); return yylval.i = NE; }
1554 { loc(); return yylval.i = AND; }
1559 { loc(); return yylval.i = OR; }
1564 { loc(); return yylval.i = VARARG; }
1569 { loc(); return yylval.i = MULEQ; }
1574 { loc(); return yylval.i = DIVEQ; }
1579 { loc(); return yylval.i = MODEQ; }
1584 { loc(); return yylval.i = ADDEQ; }
1589 { loc(); return yylval.i = SUBEQ; }
1594 { loc(); return yylval.i = SLEQ; }
1599 { loc(); return yylval.i = SREQ; }
1604 { loc(); return yylval.i = ANDEQ; }
1609 { loc(); return yylval.i = XOREQ; }
1614 { loc(); return yylval.i = OREQ; }
1619 { loc(); return yylval.i = '['; }
1624 { loc(); return yylval.i = ']'; }
1629 { loc(); return yylval.i = '{'; }
1634 { loc(); return yylval.i = '}'; }
1639 { loc(); return yylval.i = '#'; }
1644 { yylval.u = SCS_AUTO; loc(); return AUTO; }
1649 { loc(); return BREAK; }
1654 { loc(); return CASE; }
1659 { yylval.u = TS_CHAR; loc(); return CHAR; }
1664 { yylval.u = TQ_CONST; loc(); return CONST; }
1669 { loc(); return CONTINUE; }
1674 { loc(); return DEFAULT; }
1679 { loc(); return DO; }
1684 { yylval.u = TS_DOUBLE; loc(); return DOUBLE; }
1689 { loc(); return ELSE; }
1694 { loc(); return ENUM; }
1699 { yylval.u = SCS_EXTERN; loc(); return EXTERN; }
1704 { yylval.u = TS_FLOAT; loc(); return FLOAT; }
1709 { loc(); return FOR; }
1714 { loc(); return GOTO; }
1719 { loc(); return IF; }
1724 { yylval.u = FS_INLINE; loc(); return INLINE; }
1729 { yylval.u = TS_INT; loc(); return INT; }
1734 { yylval.u = TS_LONG; loc(); return LONG; }
1739 { yylval.u = SCS_REGISTER; loc(); return REGISTER; }
1744 { yylval.u = TQ_RESTRICT; loc(); return RESTRICT; }
1749 { loc(); return RETURN; }
1754 { yylval.u = TS_SHORT; loc(); return SHORT; }
1759 { yylval.u = TS_SIGNED; loc(); return SIGNED; }
1764 { loc(); return SIZEOF; }
1769 { yylval.u = SCS_STATIC; loc(); return STATIC; }
1774 { yylval.u = TS_STRUCT; loc(); return STRUCT; }
1779 { loc(); return SWITCH; }
1784 { yylval.u = SCS_TYPEDEF; loc(); return TYPEDEF; }
1789 { yylval.u = TS_UNION; loc(); return UNION; }
1794 { yylval.u = TS_UNSIGNED; loc(); return UNSIGNED; }
1799 { yylval.u = TS_VOID; loc(); return VOID; }
1804 { yylval.u = TQ_VOLATILE; loc(); return VOLATILE; }
1809 { loc(); return WHILE; }
1814 { yylval.u = TS_BOOL; loc(); return BOOL; }
1819 { yylval.u = TS_COMPLEX; loc(); return COMPLEX; }
1824 { yylval.u = TS_IMAGINARY; loc(); return IMAGINARY; }
1834 { loc(); return ATTRIBUTE; }
1839 { yylval.u = TS_GCC_VA_LIST; loc(); return GCC_VA_LIST; }
1844 { loc(); return GCC_EXPECT; }
1858 /* identifiers are complicated by our desire to strictly check any UCNs they
1862 newstring(yytext, yyleng);
1872 newstring(yytext, yyleng);
1880 inputerror(&yylloc, "invalid UCN '%s'", yytext);
1882 newstring(yytext, yyleng);
1889 morestring(yytext, yyleng);
1897 morestring(yytext, yyleng);
1904 inputerror(&yylloc, "invalid UCN '%s'", yytext);
1905 morestring(yytext, yyleng);
1915 /* we need to look up the declaration of each name anyway so we record the
1916 * type for all of them. But we can't produce an error here as it might be a
1917 * struct member or something. */
1918 yylval.name.name = xstrndup(string, stringlen);
1919 yylval.name.declarator = lookup(yylval.name.name);
1920 if(yylval.name.declarator
1921 && yylval.name.declarator->declaration_specifiers
1922 && (yylval.name.declarator->declaration_specifiers->storage_class_specifiers
1924 return TYPEDEF_NAME;
1929 case YY_STATE_EOF(IDENT):
1940 return yylval.i = yytext[0];
1948 #line 1949 "lex.yy.c"
1949 case YY_STATE_EOF(INITIAL):
1950 case YY_STATE_EOF(CPP):
1951 case YY_STATE_EOF(CPPSKIP):
1954 case YY_END_OF_BUFFER:
1956 /* Amount of text matched not including the EOB char. */
1957 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
1959 /* Undo the effects of YY_DO_BEFORE_ACTION. */
1960 *yy_cp = yy_hold_char;
1961 YY_RESTORE_YY_MORE_OFFSET
1963 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
1965 /* We're scanning a new file or input source. It's
1966 * possible that this happened because the user
1967 * just pointed yyin at a new source and called
1968 * yylex(). If so, then we have to assure
1969 * consistency between yy_current_buffer and our
1970 * globals. Here is the right place to do so, because
1971 * this is the first action (other than possibly a
1972 * back-up) that will match for the new input source.
1974 yy_n_chars = yy_current_buffer->yy_n_chars;
1975 yy_current_buffer->yy_input_file = yyin;
1976 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
1979 /* Note that here we test for yy_c_buf_p "<=" to the position
1980 * of the first EOB in the buffer, since yy_c_buf_p will
1981 * already have been incremented past the NUL character
1982 * (since all states make transitions on EOB to the
1983 * end-of-buffer state). Contrast this with the test
1986 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
1987 { /* This was really a NUL. */
1988 yy_state_type yy_next_state;
1990 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
1992 yy_current_state = yy_get_previous_state();
1994 /* Okay, we're now positioned to make the NUL
1995 * transition. We couldn't have
1996 * yy_get_previous_state() go ahead and do it
1997 * for us because it doesn't know how to deal
1998 * with the possibility of jamming (and we don't
1999 * want to build jamming into it because then it
2000 * will run more slowly).
2003 yy_next_state = yy_try_NUL_trans( yy_current_state );
2005 yy_bp = yytext_ptr + YY_MORE_ADJ;
2007 if ( yy_next_state )
2009 /* Consume the NUL. */
2010 yy_cp = ++yy_c_buf_p;
2011 yy_current_state = yy_next_state;
2017 yy_cp = yy_last_accepting_cpos;
2018 yy_current_state = yy_last_accepting_state;
2019 goto yy_find_action;
2023 else switch ( yy_get_next_buffer() )
2025 case EOB_ACT_END_OF_FILE:
2027 yy_did_buffer_switch_on_eof = 0;
2031 /* Note: because we've taken care in
2032 * yy_get_next_buffer() to have set up
2033 * yytext, we can now set up
2034 * yy_c_buf_p so that if some total
2035 * hoser (like flex itself) wants to
2036 * call the scanner after we return the
2037 * YY_NULL, it'll still work - another
2038 * YY_NULL will get returned.
2040 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
2042 yy_act = YY_STATE_EOF(YY_START);
2048 if ( ! yy_did_buffer_switch_on_eof )
2054 case EOB_ACT_CONTINUE_SCAN:
2056 yytext_ptr + yy_amount_of_matched_text;
2058 yy_current_state = yy_get_previous_state();
2061 yy_bp = yytext_ptr + YY_MORE_ADJ;
2064 case EOB_ACT_LAST_MATCH:
2066 &yy_current_buffer->yy_ch_buf[yy_n_chars];
2068 yy_current_state = yy_get_previous_state();
2071 yy_bp = yytext_ptr + YY_MORE_ADJ;
2072 goto yy_find_action;
2079 "fatal flex scanner internal error--no action found" );
2080 } /* end of action switch */
2081 } /* end of scanning one token */
2082 } /* end of yylex */
2085 /* yy_get_next_buffer - try to read in a new buffer
2087 * Returns a code representing an action:
2088 * EOB_ACT_LAST_MATCH -
2089 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2090 * EOB_ACT_END_OF_FILE - end of file
2093 static int yy_get_next_buffer()
2095 register char *dest = yy_current_buffer->yy_ch_buf;
2096 register char *source = yytext_ptr;
2097 register int number_to_move, i;
2100 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
2102 "fatal flex scanner internal error--end of buffer missed" );
2104 if ( yy_current_buffer->yy_fill_buffer == 0 )
2105 { /* Don't try to fill the buffer, so this is an EOF. */
2106 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
2108 /* We matched a single character, the EOB, so
2109 * treat this as a final EOF.
2111 return EOB_ACT_END_OF_FILE;
2116 /* We matched some text prior to the EOB, first
2119 return EOB_ACT_LAST_MATCH;
2123 /* Try to read more data. */
2125 /* First move last chars to start of buffer. */
2126 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
2128 for ( i = 0; i < number_to_move; ++i )
2129 *(dest++) = *(source++);
2131 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2132 /* don't do the read, it's not guaranteed to return an EOF,
2135 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
2140 yy_current_buffer->yy_buf_size - number_to_move - 1;
2142 while ( num_to_read <= 0 )
2143 { /* Not enough room in the buffer - grow it. */
2144 #ifdef YY_USES_REJECT
2146 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2149 /* just a shorter name for the current buffer */
2150 YY_BUFFER_STATE b = yy_current_buffer;
2152 int yy_c_buf_p_offset =
2153 (int) (yy_c_buf_p - b->yy_ch_buf);
2155 if ( b->yy_is_our_buffer )
2157 int new_size = b->yy_buf_size * 2;
2159 if ( new_size <= 0 )
2160 b->yy_buf_size += b->yy_buf_size / 8;
2162 b->yy_buf_size *= 2;
2164 b->yy_ch_buf = (char *)
2165 /* Include room in for 2 EOB chars. */
2166 yy_flex_realloc( (void *) b->yy_ch_buf,
2167 b->yy_buf_size + 2 );
2170 /* Can't grow it, we don't own it. */
2173 if ( ! b->yy_ch_buf )
2175 "fatal error - scanner input buffer overflow" );
2177 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2179 num_to_read = yy_current_buffer->yy_buf_size -
2184 if ( num_to_read > YY_READ_BUF_SIZE )
2185 num_to_read = YY_READ_BUF_SIZE;
2187 /* Read in more data. */
2188 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
2189 yy_n_chars, num_to_read );
2191 yy_current_buffer->yy_n_chars = yy_n_chars;
2194 if ( yy_n_chars == 0 )
2196 if ( number_to_move == YY_MORE_ADJ )
2198 ret_val = EOB_ACT_END_OF_FILE;
2204 ret_val = EOB_ACT_LAST_MATCH;
2205 yy_current_buffer->yy_buffer_status =
2206 YY_BUFFER_EOF_PENDING;
2211 ret_val = EOB_ACT_CONTINUE_SCAN;
2213 yy_n_chars += number_to_move;
2214 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2215 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2217 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
2223 /* yy_get_previous_state - get the state just before the EOB char was reached */
2225 static yy_state_type yy_get_previous_state()
2227 register yy_state_type yy_current_state;
2228 register char *yy_cp;
2230 yy_current_state = yy_start;
2231 yy_current_state += YY_AT_BOL();
2233 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
2235 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2236 if ( yy_accept[yy_current_state] )
2238 yy_last_accepting_state = yy_current_state;
2239 yy_last_accepting_cpos = yy_cp;
2241 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2243 yy_current_state = (int) yy_def[yy_current_state];
2244 if ( yy_current_state >= 440 )
2245 yy_c = yy_meta[(unsigned int) yy_c];
2247 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2250 return yy_current_state;
2254 /* yy_try_NUL_trans - try to make a transition on the NUL character
2257 * next_state = yy_try_NUL_trans( current_state );
2260 #ifdef YY_USE_PROTOS
2261 static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
2263 static yy_state_type yy_try_NUL_trans( yy_current_state )
2264 yy_state_type yy_current_state;
2267 register int yy_is_jam;
2268 register char *yy_cp = yy_c_buf_p;
2270 register YY_CHAR yy_c = 1;
2271 if ( yy_accept[yy_current_state] )
2273 yy_last_accepting_state = yy_current_state;
2274 yy_last_accepting_cpos = yy_cp;
2276 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2278 yy_current_state = (int) yy_def[yy_current_state];
2279 if ( yy_current_state >= 440 )
2280 yy_c = yy_meta[(unsigned int) yy_c];
2282 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2283 yy_is_jam = (yy_current_state == 439);
2285 return yy_is_jam ? 0 : yy_current_state;
2290 #ifdef YY_USE_PROTOS
2291 static void yyunput( int c, register char *yy_bp )
2293 static void yyunput( c, yy_bp )
2295 register char *yy_bp;
2298 register char *yy_cp = yy_c_buf_p;
2300 /* undo effects of setting up yytext */
2301 *yy_cp = yy_hold_char;
2303 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2304 { /* need to shift things up to make room */
2305 /* +2 for EOB chars. */
2306 register int number_to_move = yy_n_chars + 2;
2307 register char *dest = &yy_current_buffer->yy_ch_buf[
2308 yy_current_buffer->yy_buf_size + 2];
2309 register char *source =
2310 &yy_current_buffer->yy_ch_buf[number_to_move];
2312 while ( source > yy_current_buffer->yy_ch_buf )
2313 *--dest = *--source;
2315 yy_cp += (int) (dest - source);
2316 yy_bp += (int) (dest - source);
2317 yy_current_buffer->yy_n_chars =
2318 yy_n_chars = yy_current_buffer->yy_buf_size;
2320 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2321 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2324 *--yy_cp = (char) c;
2328 yy_hold_char = *yy_cp;
2331 #endif /* ifndef YY_NO_UNPUT */
2335 static int yyinput()
2342 *yy_c_buf_p = yy_hold_char;
2344 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2346 /* yy_c_buf_p now points to the character we want to return.
2347 * If this occurs *before* the EOB characters, then it's a
2348 * valid NUL; if not, then we've hit the end of the buffer.
2350 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2351 /* This was really a NUL. */
2355 { /* need more input */
2356 int offset = yy_c_buf_p - yytext_ptr;
2359 switch ( yy_get_next_buffer() )
2361 case EOB_ACT_LAST_MATCH:
2362 /* This happens because yy_g_n_b()
2363 * sees that we've accumulated a
2364 * token and flags that we need to
2365 * try matching the token before
2366 * proceeding. But for input(),
2367 * there's no matching to consider.
2368 * So convert the EOB_ACT_LAST_MATCH
2369 * to EOB_ACT_END_OF_FILE.
2372 /* Reset buffer status. */
2377 case EOB_ACT_END_OF_FILE:
2382 if ( ! yy_did_buffer_switch_on_eof )
2391 case EOB_ACT_CONTINUE_SCAN:
2392 yy_c_buf_p = yytext_ptr + offset;
2398 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
2399 *yy_c_buf_p = '\0'; /* preserve yytext */
2400 yy_hold_char = *++yy_c_buf_p;
2402 yy_current_buffer->yy_at_bol = (c == '\n');
2408 #ifdef YY_USE_PROTOS
2409 void yyrestart( FILE *input_file )
2411 void yyrestart( input_file )
2415 if ( ! yy_current_buffer )
2416 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
2418 yy_init_buffer( yy_current_buffer, input_file );
2419 yy_load_buffer_state();
2423 #ifdef YY_USE_PROTOS
2424 void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
2426 void yy_switch_to_buffer( new_buffer )
2427 YY_BUFFER_STATE new_buffer;
2430 if ( yy_current_buffer == new_buffer )
2433 if ( yy_current_buffer )
2435 /* Flush out information for old buffer. */
2436 *yy_c_buf_p = yy_hold_char;
2437 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
2438 yy_current_buffer->yy_n_chars = yy_n_chars;
2441 yy_current_buffer = new_buffer;
2442 yy_load_buffer_state();
2444 /* We don't actually know whether we did this switch during
2445 * EOF (yywrap()) processing, but the only time this flag
2446 * is looked at is after yywrap() is called, so it's safe
2447 * to go ahead and always set it.
2449 yy_did_buffer_switch_on_eof = 1;
2453 #ifdef YY_USE_PROTOS
2454 void yy_load_buffer_state( void )
2456 void yy_load_buffer_state()
2459 yy_n_chars = yy_current_buffer->yy_n_chars;
2460 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
2461 yyin = yy_current_buffer->yy_input_file;
2462 yy_hold_char = *yy_c_buf_p;
2466 #ifdef YY_USE_PROTOS
2467 YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
2469 YY_BUFFER_STATE yy_create_buffer( file, size )
2476 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2478 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2480 b->yy_buf_size = size;
2482 /* yy_ch_buf has to be 2 characters longer than the size given because
2483 * we need to put in 2 end-of-buffer characters.
2485 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
2486 if ( ! b->yy_ch_buf )
2487 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2489 b->yy_is_our_buffer = 1;
2491 yy_init_buffer( b, file );
2497 #ifdef YY_USE_PROTOS
2498 void yy_delete_buffer( YY_BUFFER_STATE b )
2500 void yy_delete_buffer( b )
2507 if ( b == yy_current_buffer )
2508 yy_current_buffer = (YY_BUFFER_STATE) 0;
2510 if ( b->yy_is_our_buffer )
2511 yy_flex_free( (void *) b->yy_ch_buf );
2513 yy_flex_free( (void *) b );
2520 #ifndef YY_ALWAYS_INTERACTIVE
2521 #ifndef YY_NEVER_INTERACTIVE
2522 extern int isatty YY_PROTO(( int ));
2527 #ifdef YY_USE_PROTOS
2528 void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
2530 void yy_init_buffer( b, file )
2537 yy_flush_buffer( b );
2539 b->yy_input_file = file;
2540 b->yy_fill_buffer = 1;
2542 #if YY_ALWAYS_INTERACTIVE
2543 b->yy_is_interactive = 1;
2545 #if YY_NEVER_INTERACTIVE
2546 b->yy_is_interactive = 0;
2548 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2554 #ifdef YY_USE_PROTOS
2555 void yy_flush_buffer( YY_BUFFER_STATE b )
2557 void yy_flush_buffer( b )
2567 /* We always need two end-of-buffer characters. The first causes
2568 * a transition to the end-of-buffer state. The second causes
2569 * a jam in that state.
2571 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2572 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2574 b->yy_buf_pos = &b->yy_ch_buf[0];
2577 b->yy_buffer_status = YY_BUFFER_NEW;
2579 if ( b == yy_current_buffer )
2580 yy_load_buffer_state();
2584 #ifndef YY_NO_SCAN_BUFFER
2585 #ifdef YY_USE_PROTOS
2586 YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
2588 YY_BUFFER_STATE yy_scan_buffer( base, size )
2596 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2597 base[size-1] != YY_END_OF_BUFFER_CHAR )
2598 /* They forgot to leave room for the EOB's. */
2601 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2603 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2605 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2606 b->yy_buf_pos = b->yy_ch_buf = base;
2607 b->yy_is_our_buffer = 0;
2608 b->yy_input_file = 0;
2609 b->yy_n_chars = b->yy_buf_size;
2610 b->yy_is_interactive = 0;
2612 b->yy_fill_buffer = 0;
2613 b->yy_buffer_status = YY_BUFFER_NEW;
2615 yy_switch_to_buffer( b );
2622 #ifndef YY_NO_SCAN_STRING
2623 #ifdef YY_USE_PROTOS
2624 YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
2626 YY_BUFFER_STATE yy_scan_string( yy_str )
2627 yyconst char *yy_str;
2631 for ( len = 0; yy_str[len]; ++len )
2634 return yy_scan_bytes( yy_str, len );
2639 #ifndef YY_NO_SCAN_BYTES
2640 #ifdef YY_USE_PROTOS
2641 YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
2643 YY_BUFFER_STATE yy_scan_bytes( bytes, len )
2644 yyconst char *bytes;
2653 /* Get memory for full buffer, including space for trailing EOB's. */
2655 buf = (char *) yy_flex_alloc( n );
2657 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2659 for ( i = 0; i < len; ++i )
2662 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
2664 b = yy_scan_buffer( buf, n );
2666 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2668 /* It's okay to grow etc. this buffer, and we should throw it
2669 * away when we're done.
2671 b->yy_is_our_buffer = 1;
2678 #ifndef YY_NO_PUSH_STATE
2679 #ifdef YY_USE_PROTOS
2680 static void yy_push_state( int new_state )
2682 static void yy_push_state( new_state )
2686 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2690 yy_start_stack_depth += YY_START_STACK_INCR;
2691 new_size = yy_start_stack_depth * sizeof( int );
2693 if ( ! yy_start_stack )
2694 yy_start_stack = (int *) yy_flex_alloc( new_size );
2697 yy_start_stack = (int *) yy_flex_realloc(
2698 (void *) yy_start_stack, new_size );
2700 if ( ! yy_start_stack )
2702 "out of memory expanding start-condition stack" );
2705 yy_start_stack[yy_start_stack_ptr++] = YY_START;
2712 #ifndef YY_NO_POP_STATE
2713 static void yy_pop_state()
2715 if ( --yy_start_stack_ptr < 0 )
2716 YY_FATAL_ERROR( "start-condition stack underflow" );
2718 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2723 #ifndef YY_NO_TOP_STATE
2724 static int yy_top_state()
2726 return yy_start_stack[yy_start_stack_ptr - 1];
2730 #ifndef YY_EXIT_FAILURE
2731 #define YY_EXIT_FAILURE 2
2734 #ifdef YY_USE_PROTOS
2735 static void yy_fatal_error( yyconst char msg[] )
2737 static void yy_fatal_error( msg )
2741 (void) fprintf( stderr, "%s\n", msg );
2742 exit( YY_EXIT_FAILURE );
2747 /* Redefine yyless() so it works in section 3 code. */
2753 /* Undo effects of setting up yytext. */ \
2754 yytext[yyleng] = yy_hold_char; \
2755 yy_c_buf_p = yytext + n; \
2756 yy_hold_char = *yy_c_buf_p; \
2757 *yy_c_buf_p = '\0'; \
2763 /* Internal utility routines. */
2766 #ifdef YY_USE_PROTOS
2767 static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
2769 static void yy_flex_strncpy( s1, s2, n )
2776 for ( i = 0; i < n; ++i )
2781 #ifdef YY_NEED_STRLEN
2782 #ifdef YY_USE_PROTOS
2783 static int yy_flex_strlen( yyconst char *s )
2785 static int yy_flex_strlen( s )
2790 for ( n = 0; s[n]; ++n )
2798 #ifdef YY_USE_PROTOS
2799 static void *yy_flex_alloc( yy_size_t size )
2801 static void *yy_flex_alloc( size )
2805 return (void *) malloc( size );
2808 #ifdef YY_USE_PROTOS
2809 static void *yy_flex_realloc( void *ptr, yy_size_t size )
2811 static void *yy_flex_realloc( ptr, size )
2816 /* The cast to (char *) in the following accommodates both
2817 * implementations that use char* generic pointers, and those
2818 * that use void* generic pointers. It works with the latter
2819 * because both ANSI C and C++ allow castless assignment from
2820 * any pointer type to void*, and deal with argument conversions
2821 * as though doing an assignment.
2823 return (void *) realloc( (char *) ptr, size );
2826 #ifdef YY_USE_PROTOS
2827 static void yy_flex_free( void *ptr )
2829 static void yy_flex_free( ptr )