6 #define YY_INT_ALIGNED short int
11 #define YY_FLEX_MAJOR_VERSION 2
12 #define YY_FLEX_MINOR_VERSION 5
13 #define YY_FLEX_SUBMINOR_VERSION 35
14 #if YY_FLEX_SUBMINOR_VERSION > 0
35 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
40 #ifndef __STDC_LIMIT_MACROS
41 #define __STDC_LIMIT_MACROS 1
45 typedef int8_t flex_int8_t;
46 typedef uint8_t flex_uint8_t;
47 typedef int16_t flex_int16_t;
48 typedef uint16_t flex_uint16_t;
49 typedef int32_t flex_int32_t;
50 typedef uint32_t flex_uint32_t;
52 typedef signed char flex_int8_t;
53 typedef short int flex_int16_t;
54 typedef int flex_int32_t;
55 typedef unsigned char flex_uint8_t;
56 typedef unsigned short int flex_uint16_t;
57 typedef unsigned int flex_uint32_t;
61 #define INT8_MIN (-128)
64 #define INT16_MIN (-32767-1)
67 #define INT32_MIN (-2147483647-1)
70 #define INT8_MAX (127)
73 #define INT16_MAX (32767)
76 #define INT32_MAX (2147483647)
79 #define UINT8_MAX (255U)
82 #define UINT16_MAX (65535U)
85 #define UINT32_MAX (4294967295U)
100 #if defined (__STDC__)
108 #define yyconst const
121 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
127 #define BEGIN (yy_start) = 1 + 2 *
133 #define YY_START (((yy_start) - 1) / 2)
134 #define YYSTATE YY_START
137 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
140 #define YY_NEW_FILE yyrestart(yyin )
142 #define YY_END_OF_BUFFER_CHAR 0
151 #define YY_BUF_SIZE 32768
153 #define YY_BUF_SIZE 16384
159 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
161 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
162 #define YY_TYPEDEF_YY_BUFFER_STATE
166 #ifndef YY_TYPEDEF_YY_SIZE_T
167 #define YY_TYPEDEF_YY_SIZE_T
168 typedef size_t yy_size_t;
171 extern yy_size_t yyleng;
173 extern FILE *yyin, *yyout;
175 #define EOB_ACT_CONTINUE_SCAN 0
176 #define EOB_ACT_END_OF_FILE 1
177 #define EOB_ACT_LAST_MATCH 2
179 #define YY_LESS_LINENO(n)
186 int yyless_macro_arg = (n); \
187 YY_LESS_LINENO(yyless_macro_arg);\
188 *yy_cp = (yy_hold_char); \
189 YY_RESTORE_YY_MORE_OFFSET \
190 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
191 YY_DO_BEFORE_ACTION; \
195 #define unput(c) yyunput( c, (yytext_ptr) )
197 #ifndef YY_STRUCT_YY_BUFFER_STATE
198 #define YY_STRUCT_YY_BUFFER_STATE
209 yy_size_t yy_buf_size;
214 yy_size_t yy_n_chars;
220 int yy_is_our_buffer;
227 int yy_is_interactive;
243 int yy_buffer_status;
245 #define YY_BUFFER_NEW 0
246 #define YY_BUFFER_NORMAL 1
257 #define YY_BUFFER_EOF_PENDING 2
263 static size_t yy_buffer_stack_top = 0;
264 static size_t yy_buffer_stack_max = 0;
265 static YY_BUFFER_STATE * yy_buffer_stack = 0;
273 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
274 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
280 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
283 static char yy_hold_char;
284 static yy_size_t yy_n_chars;
288 static char *yy_c_buf_p = (
char *) 0;
289 static int yy_init = 0;
290 static int yy_start = 0;
295 static int yy_did_buffer_switch_on_eof;
297 void yyrestart (FILE *input_file );
298 __attribute__((unused)) static
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
299 static YY_BUFFER_STATE yy_create_buffer (FILE *
file,
int size );
300 void yy_delete_buffer (YY_BUFFER_STATE b );
301 void yy_flush_buffer (YY_BUFFER_STATE b );
302 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
303 void yypop_buffer_state (
void );
305 static
void yyensure_buffer_stack (
void );
306 static
void yy_load_buffer_state (
void );
307 static
void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
309 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
311 YY_BUFFER_STATE yy_scan_buffer (
char *base,yy_size_t size );
312 YY_BUFFER_STATE yy_scan_string (yyconst
char *yy_str );
313 YY_BUFFER_STATE yy_scan_bytes (yyconst
char *bytes,yy_size_t len );
316 void *yyrealloc (
void *,yy_size_t );
317 void yyfree (
void * );
319 #define yy_new_buffer yy_create_buffer
321 #define yy_set_interactive(is_interactive) \
323 if ( ! YY_CURRENT_BUFFER ){ \
324 yyensure_buffer_stack (); \
325 YY_CURRENT_BUFFER_LVALUE = \
326 yy_create_buffer(yyin,YY_BUF_SIZE ); \
328 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
331 #define yy_set_bol(at_bol) \
333 if ( ! YY_CURRENT_BUFFER ){\
334 yyensure_buffer_stack (); \
335 YY_CURRENT_BUFFER_LVALUE = \
336 yy_create_buffer(yyin,YY_BUF_SIZE ); \
338 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
341 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
346 #define YY_SKIP_YYWRAP
348 typedef unsigned char YY_CHAR;
350 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
352 typedef int yy_state_type;
359 #define yytext_ptr yytext
361 static yy_state_type yy_get_previous_state (
void );
362 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
363 static int yy_get_next_buffer (
void );
364 static void yy_fatal_error (yyconst
char msg[] );
369 #define YY_DO_BEFORE_ACTION \
370 (yytext_ptr) = yy_bp; \
371 yyleng = (size_t) (yy_cp - yy_bp); \
372 (yy_hold_char) = *yy_cp; \
374 (yy_c_buf_p) = yy_cp;
376 #define YY_NUM_RULES 124
377 #define YY_END_OF_BUFFER 125
382 flex_int32_t yy_verify;
385 static yyconst flex_int16_t yy_accept[425] =
387 0, 0, 119, 119, 0, 0, 0, 0, 125, 123,
388 122, 122, 8, 123, 114, 5, 103, 109, 112, 110,
389 107, 111, 123, 113, 1, 123, 108, 106, 104, 105,
390 117, 96, 96, 96, 96, 96, 96, 96, 96, 96,
391 96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
392 115, 116, 119, 120, 6, 7, 9, 10, 122, 4,
393 98, 118, 2, 1, 3, 99, 100, 102, 101, 0,
394 96, 0, 96, 96, 96, 96, 96, 44, 96, 96,
395 96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
396 96, 96, 96, 96, 28, 17, 25, 96, 96, 96,
398 96, 96, 96, 54, 63, 96, 14, 96, 96, 96,
399 96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
400 96, 96, 96, 96, 96, 119, 120, 120, 121, 6,
401 7, 9, 10, 2, 0, 97, 13, 45, 96, 96,
402 96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
403 96, 96, 96, 96, 96, 96, 96, 27, 96, 96,
404 96, 41, 96, 96, 96, 96, 21, 96, 96, 96,
405 96, 96, 15, 96, 96, 96, 18, 96, 96, 96,
406 96, 96, 82, 96, 96, 96, 51, 96, 12, 96,
407 36, 96, 96, 96, 96, 96, 96, 96, 96, 96,
409 96, 96, 0, 97, 96, 96, 96, 96, 20, 96,
410 24, 96, 96, 96, 96, 96, 96, 96, 96, 96,
411 96, 96, 46, 96, 96, 30, 96, 89, 96, 96,
412 39, 96, 96, 96, 96, 96, 48, 96, 94, 91,
413 32, 93, 96, 11, 66, 96, 96, 96, 42, 96,
414 96, 96, 96, 96, 96, 96, 96, 96, 96, 29,
415 96, 96, 96, 96, 96, 96, 96, 96, 96, 87,
416 0, 96, 26, 96, 96, 96, 68, 96, 96, 96,
417 96, 37, 96, 96, 96, 96, 96, 96, 96, 31,
418 67, 23, 96, 59, 96, 77, 96, 96, 96, 43,
420 96, 96, 96, 96, 96, 96, 96, 96, 92, 96,
421 96, 56, 96, 96, 96, 96, 96, 96, 96, 40,
422 33, 0, 81, 95, 19, 96, 96, 85, 96, 76,
423 55, 96, 65, 96, 52, 96, 96, 96, 47, 96,
424 78, 96, 80, 96, 96, 34, 96, 96, 96, 35,
425 74, 96, 96, 96, 96, 60, 96, 50, 49, 96,
426 96, 96, 57, 53, 64, 96, 96, 96, 22, 96,
427 96, 75, 83, 96, 96, 79, 96, 70, 96, 96,
428 96, 96, 96, 38, 96, 90, 69, 96, 86, 96,
429 96, 96, 88, 96, 96, 61, 96, 16, 96, 72,
431 71, 96, 58, 96, 84, 96, 96, 96, 96, 96,
432 96, 96, 96, 96, 96, 73, 96, 96, 96, 96,
436 static yyconst flex_int32_t yy_ec[256] =
438 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
439 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
440 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
441 1, 2, 1, 4, 5, 6, 7, 1, 8, 9,
442 10, 11, 12, 13, 14, 15, 16, 17, 17, 17,
443 17, 17, 17, 17, 17, 17, 17, 18, 19, 20,
444 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
445 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
446 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
447 1, 1, 1, 1, 51, 1, 34, 34, 34, 34,
449 34, 34, 34, 34, 34, 34, 34, 52, 34, 34,
450 34, 34, 53, 34, 54, 34, 34, 34, 34, 34,
451 34, 34, 55, 1, 56, 1, 1, 1, 1, 1,
452 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
453 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
454 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
455 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
456 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
457 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
458 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
460 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
461 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
462 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
463 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
464 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
468 static yyconst flex_int32_t yy_meta[57] =
470 1, 1, 1, 2, 3, 1, 1, 4, 1, 1,
471 5, 1, 1, 1, 1, 6, 7, 1, 1, 1,
472 8, 1, 1, 6, 9, 9, 9, 9, 9, 9,
473 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
474 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
478 static yyconst flex_int16_t yy_base[438] =
480 0, 0, 293, 287, 284, 281, 272, 256, 254, 1357,
481 55, 57, 1357, 0, 1357, 1357, 1357, 1357, 1357, 1357,
482 1357, 1357, 238, 227, 46, 205, 1357, 43, 1357, 203,
483 1357, 46, 50, 56, 52, 66, 64, 51, 81, 92,
484 91, 94, 96, 111, 113, 116, 130, 134, 53, 143,
485 1357, 1357, 0, 106, 0, 212, 0, 210, 141, 0,
486 1357, 1357, 192, 56, 173, 1357, 1357, 1357, 1357, 168,
487 140, 150, 152, 154, 155, 161, 167, 171, 177, 172,
488 184, 174, 188, 189, 191, 194, 203, 212, 215, 217,
489 219, 221, 226, 228, 231, 240, 233, 235, 246, 251,
491 258, 253, 255, 256, 269, 271, 278, 272, 285, 283,
492 287, 289, 296, 305, 298, 315, 319, 321, 322, 326,
493 332, 333, 342, 339, 343, 0, 112, 173, 1357, 0,
494 155, 0, 156, 132, 93, 0, 355, 357, 358, 360,
495 364, 367, 374, 370, 379, 380, 389, 383, 390, 392,
496 395, 408, 411, 409, 415, 418, 425, 427, 429, 436,
497 431, 441, 446, 448, 450, 452, 453, 462, 471, 464,
498 473, 474, 478, 485, 488, 490, 491, 494, 500, 501,
499 504, 506, 507, 517, 518, 519, 520, 521, 522, 523,
500 533, 536, 538, 543, 549, 554, 555, 561, 556, 566,
502 567, 576, 60, 0, 573, 578, 580, 582, 583, 593,
503 589, 596, 598, 603, 605, 607, 610, 617, 619, 621,
504 622, 628, 633, 634, 635, 639, 640, 649, 650, 652,
505 653, 655, 659, 664, 668, 669, 665, 671, 674, 678,
506 681, 685, 687, 688, 692, 697, 698, 701, 703, 704,
507 707, 708, 717, 713, 728, 730, 724, 740, 734, 745,
508 746, 750, 751, 756, 757, 760, 761, 762, 771, 773,
509 42, 778, 782, 783, 787, 789, 792, 794, 793, 804,
510 805, 808, 809, 810, 819, 823, 826, 828, 829, 830,
511 835, 840, 844, 846, 847, 856, 857, 858, 859, 860,
513 863, 872, 873, 878, 879, 882, 885, 889, 894, 895,
514 896, 898, 905, 910, 908, 912, 914, 915, 926, 930,
515 931, 73, 932, 933, 935, 937, 942, 944, 946, 947,
516 948, 949, 951, 958, 961, 965, 967, 972, 978, 979,
517 981, 984, 983, 985, 994, 988, 999, 1000, 1001, 1004,
518 1013, 1015, 1022, 1016, 1019, 1026, 1032, 1033, 1035, 1036,
519 1038, 1039, 1048, 1049, 1050, 1051, 1053, 1054, 1060, 1063,
520 1065, 1066, 1069, 1070, 1072, 1082, 1084, 1085, 1087, 1096,
521 1097, 1098, 1099, 1101, 1113, 1114, 1115, 1116, 1117, 1118,
522 1119, 1128, 1130, 1131, 1134, 1133, 1135, 1137, 1150, 1151,
524 1153, 1155, 1157, 1162, 1160, 1167, 1172, 1173, 1174, 1176,
525 1185, 1190, 1183, 1187, 1189, 1199, 1204, 1206, 1208, 1210,
526 1215, 1220, 1222, 1357, 1269, 1278, 1287, 1290, 1293, 1297,
527 1306, 1315, 1324, 1333, 1340, 1344, 1347
530 static yyconst flex_int16_t yy_def[438] =
532 424, 1, 425, 425, 426, 426, 427, 427, 424, 424,
533 424, 424, 424, 428, 424, 424, 424, 424, 424, 424,
534 424, 424, 424, 424, 424, 429, 424, 424, 424, 424,
535 424, 430, 430, 430, 430, 430, 34, 430, 430, 430,
536 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
537 424, 424, 431, 432, 433, 424, 434, 424, 424, 428,
538 424, 424, 424, 424, 429, 424, 424, 424, 424, 435,
539 430, 436, 430, 430, 430, 430, 430, 430, 430, 430,
540 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
541 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
543 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
544 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
545 430, 430, 430, 430, 430, 431, 432, 432, 424, 433,
546 424, 434, 424, 424, 424, 437, 430, 430, 430, 430,
547 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
548 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
549 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
550 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
551 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
552 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
554 430, 430, 424, 437, 430, 430, 430, 430, 430, 430,
555 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
556 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
557 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
558 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
559 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
560 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
561 424, 430, 430, 430, 430, 430, 430, 430, 430, 430,
562 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
563 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
565 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
566 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
567 430, 424, 430, 430, 430, 430, 430, 430, 430, 430,
568 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
569 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
570 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
571 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
572 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
573 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
574 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
576 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
577 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
578 430, 430, 430, 0, 424, 424, 424, 424, 424, 424,
579 424, 424, 424, 424, 424, 424, 424
582 static yyconst flex_int16_t yy_nxt[1414] =
584 10, 11, 12, 13, 10, 14, 15, 16, 17, 18,
585 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
586 29, 30, 31, 10, 32, 33, 34, 35, 36, 37,
587 38, 38, 39, 38, 38, 40, 41, 42, 43, 44,
588 38, 45, 46, 47, 48, 49, 50, 38, 38, 38,
589 38, 38, 38, 38, 51, 52, 59, 59, 59, 59,
590 63, 70, 64, 67, 68, 70, 70, 70, 70, 72,
591 63, 70, 64, 72, 72, 72, 72, 123, 75, 72,
592 84, 70, 76, 73, 85, 77, 136, 79, 74, 72,
593 86, 80, 90, 322, 81, 71, 70, 82, 78, 91,
595 83, 87, 92, 88, 72, 93, 70, 70, 94, 70,
596 95, 70, 271, 89, 72, 72, 128, 72, 96, 72,
597 98, 129, 424, 97, 99, 104, 70, 424, 70, 101,
598 100, 70, 102, 105, 72, 106, 72, 107, 103, 72,
599 108, 110, 59, 59, 113, 70, 203, 114, 134, 70,
600 111, 112, 109, 72, 118, 70, 115, 72, 70, 133,
601 116, 119, 131, 72, 117, 70, 72, 70, 120, 70,
602 70, 121, 135, 122, 124, 72, 70, 72, 72, 137,
603 138, 125, 70, 128, 72, 140, 70, 70, 129, 70,
604 72, 141, 70, 424, 72, 72, 139, 72, 142, 70,
606 72, 144, 150, 70, 70, 143, 70, 72, 134, 70,
607 145, 72, 72, 133, 72, 152, 146, 72, 70, 131,
608 147, 148, 156, 69, 153, 66, 72, 70, 149, 151,
609 70, 154, 70, 155, 70, 72, 70, 62, 72, 158,
610 72, 70, 72, 70, 72, 157, 70, 159, 70, 72,
611 70, 72, 61, 424, 72, 70, 72, 161, 72, 58,
612 160, 70, 162, 72, 163, 164, 70, 165, 70, 72,
613 70, 70, 168, 70, 72, 58, 72, 170, 72, 72,
614 169, 72, 166, 167, 70, 172, 70, 70, 56, 171,
615 174, 56, 72, 70, 72, 72, 173, 54, 70, 175,
617 70, 72, 70, 54, 70, 176, 72, 180, 72, 424,
618 72, 70, 72, 70, 183, 177, 424, 178, 424, 72,
619 70, 72, 181, 179, 184, 424, 182, 424, 72, 188,
620 70, 186, 424, 189, 70, 185, 70, 70, 72, 187,
621 190, 70, 72, 424, 72, 72, 193, 70, 70, 72,
622 194, 191, 424, 424, 70, 72, 72, 70, 70, 424,
623 198, 192, 72, 424, 196, 72, 72, 200, 424, 424,
624 70, 201, 70, 70, 197, 70, 195, 199, 72, 70,
625 72, 72, 70, 72, 202, 70, 205, 72, 424, 70,
626 72, 208, 206, 72, 70, 70, 207, 72, 70, 209,
628 210, 424, 72, 72, 70, 70, 72, 70, 424, 216,
629 70, 211, 72, 72, 424, 72, 218, 424, 72, 424,
630 424, 212, 213, 70, 70, 214, 70, 217, 215, 424,
631 70, 72, 72, 70, 72, 223, 219, 220, 72, 222,
632 70, 72, 70, 221, 70, 424, 70, 424, 72, 424,
633 72, 70, 72, 226, 72, 230, 70, 227, 224, 72,
634 225, 70, 229, 70, 72, 70, 424, 70, 70, 72,
635 424, 72, 228, 72, 232, 72, 72, 70, 233, 70,
636 234, 236, 231, 424, 424, 72, 70, 72, 70, 70,
637 424, 237, 238, 70, 72, 235, 72, 72, 240, 239,
639 70, 72, 242, 70, 424, 70, 70, 243, 72, 70,
640 424, 72, 241, 72, 72, 70, 70, 72, 246, 70,
641 244, 70, 70, 72, 72, 245, 248, 72, 249, 72,
642 72, 247, 70, 70, 70, 70, 70, 70, 70, 250,
643 72, 72, 72, 72, 72, 72, 72, 255, 70, 424,
644 251, 70, 253, 70, 424, 424, 72, 252, 70, 72,
645 424, 72, 256, 258, 70, 257, 72, 424, 254, 70,
646 70, 70, 72, 259, 261, 262, 70, 72, 72, 72,
647 260, 70, 70, 424, 72, 266, 263, 265, 70, 72,
648 72, 70, 424, 70, 264, 70, 72, 70, 70, 72,
650 267, 72, 269, 72, 70, 72, 72, 268, 70, 424,
651 270, 70, 72, 70, 272, 273, 72, 274, 70, 72,
652 70, 72, 70, 275, 277, 70, 72, 276, 72, 280,
653 72, 281, 70, 72, 70, 279, 70, 70, 424, 424,
654 72, 278, 72, 70, 72, 72, 286, 284, 70, 70,
655 70, 72, 424, 282, 70, 70, 72, 72, 72, 285,
656 283, 424, 72, 72, 70, 70, 288, 70, 70, 290,
657 70, 287, 72, 72, 70, 72, 72, 424, 72, 70,
658 70, 291, 72, 70, 70, 289, 70, 72, 72, 70,
659 424, 72, 72, 70, 72, 292, 70, 72, 293, 297,
661 70, 72, 70, 70, 72, 295, 294, 70, 72, 296,
662 72, 72, 70, 70, 298, 72, 70, 424, 70, 70,
663 72, 72, 70, 70, 72, 299, 72, 72, 70, 302,
664 72, 72, 70, 424, 424, 424, 72, 424, 300, 70,
665 72, 301, 306, 70, 424, 70, 303, 72, 304, 70,
666 305, 72, 307, 72, 308, 70, 424, 72, 309, 424,
667 70, 70, 312, 72, 311, 70, 70, 310, 72, 72,
668 424, 70, 70, 72, 72, 70, 70, 70, 313, 72,
669 72, 314, 424, 72, 72, 72, 70, 317, 70, 319,
670 320, 424, 424, 70, 72, 315, 72, 70, 70, 321,
672 316, 72, 70, 318, 70, 72, 72, 70, 70, 70,
673 72, 424, 72, 424, 424, 72, 72, 72, 424, 70,
674 70, 323, 327, 70, 70, 70, 324, 72, 72, 424,
675 329, 72, 72, 72, 70, 325, 328, 331, 70, 326,
676 424, 70, 72, 70, 70, 70, 72, 332, 330, 72,
677 70, 72, 72, 72, 335, 70, 424, 424, 72, 70,
678 333, 70, 70, 72, 334, 336, 337, 72, 424, 72,
679 72, 70, 70, 70, 70, 70, 338, 424, 70, 72,
680 72, 72, 72, 72, 424, 340, 72, 70, 70, 341,
681 339, 424, 343, 70, 70, 72, 72, 70, 424, 344,
683 70, 72, 72, 342, 70, 72, 348, 424, 72, 70,
684 70, 70, 72, 70, 424, 346, 345, 72, 72, 72,
685 70, 72, 347, 70, 424, 70, 349, 70, 72, 70,
686 70, 72, 350, 72, 354, 72, 351, 72, 72, 352,
687 356, 70, 353, 358, 355, 70, 70, 70, 70, 72,
688 70, 357, 70, 72, 72, 72, 72, 70, 72, 70,
689 72, 70, 70, 70, 70, 72, 70, 72, 359, 72,
690 72, 72, 72, 70, 72, 424, 70, 424, 424, 361,
691 70, 72, 70, 362, 72, 360, 365, 70, 72, 363,
692 72, 366, 364, 70, 70, 72, 70, 424, 70, 70,
694 70, 72, 72, 70, 72, 367, 72, 72, 72, 70,
695 368, 72, 424, 424, 70, 70, 70, 72, 424, 70,
696 369, 370, 72, 72, 72, 424, 374, 72, 70, 371,
697 70, 70, 424, 375, 70, 372, 72, 70, 72, 72,
698 373, 70, 72, 376, 379, 72, 377, 70, 70, 72,
699 70, 70, 424, 70, 70, 72, 72, 378, 72, 72,
700 380, 72, 72, 70, 70, 70, 70, 383, 70, 70,
701 382, 72, 72, 72, 72, 70, 72, 72, 70, 381,
702 70, 70, 424, 72, 70, 70, 72, 70, 72, 72,
703 387, 386, 72, 72, 384, 72, 385, 70, 424, 70,
705 70, 424, 70, 424, 389, 72, 388, 72, 72, 390,
706 72, 70, 70, 70, 70, 392, 70, 424, 424, 72,
707 72, 72, 72, 393, 72, 391, 396, 424, 70, 70,
708 70, 70, 70, 70, 70, 394, 72, 72, 72, 72,
709 72, 72, 72, 70, 398, 70, 70, 395, 70, 70,
710 70, 72, 70, 72, 72, 424, 72, 72, 72, 424,
711 72, 399, 403, 397, 404, 70, 70, 400, 70, 401,
712 70, 424, 70, 72, 72, 70, 72, 70, 72, 405,
713 72, 402, 70, 72, 424, 72, 424, 70, 70, 70,
714 72, 70, 406, 424, 407, 72, 72, 72, 70, 72,
716 70, 412, 70, 424, 70, 70, 72, 424, 72, 410,
717 72, 408, 72, 72, 70, 409, 424, 413, 414, 70,
718 415, 70, 72, 70, 411, 70, 424, 72, 416, 72,
719 70, 72, 424, 72, 419, 70, 424, 70, 72, 417,
720 418, 424, 424, 72, 420, 72, 424, 424, 421, 424,
721 424, 424, 424, 424, 424, 424, 422, 424, 424, 424,
722 424, 424, 424, 424, 424, 424, 424, 424, 423, 53,
723 53, 53, 53, 53, 53, 53, 53, 53, 55, 55,
724 55, 55, 55, 55, 55, 55, 55, 57, 57, 57,
725 57, 57, 57, 57, 57, 57, 60, 424, 60, 65,
727 65, 65, 71, 71, 424, 71, 126, 126, 126, 126,
728 424, 126, 126, 126, 126, 127, 127, 127, 127, 127,
729 127, 127, 127, 127, 130, 130, 130, 424, 130, 130,
730 130, 130, 130, 132, 424, 132, 132, 132, 132, 132,
731 132, 132, 136, 424, 424, 424, 424, 424, 136, 72,
732 72, 424, 72, 204, 424, 204, 9, 424, 424, 424,
733 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
734 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
735 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
736 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
738 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
742 static yyconst flex_int16_t yy_chk[1414] =
744 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
745 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
746 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
747 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
748 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
749 1, 1, 1, 1, 1, 1, 11, 11, 12, 12,
750 25, 32, 25, 28, 28, 33, 38, 35, 49, 32,
751 64, 34, 64, 33, 38, 35, 49, 49, 33, 34,
752 35, 36, 33, 32, 35, 33, 322, 34, 32, 36,
753 35, 34, 37, 271, 34, 37, 39, 34, 33, 37,
755 34, 36, 37, 36, 39, 37, 41, 40, 37, 42,
756 39, 43, 203, 36, 41, 40, 54, 42, 39, 43,
757 40, 54, 127, 39, 40, 43, 44, 127, 45, 41,
758 40, 46, 42, 43, 44, 43, 45, 43, 42, 46,
759 43, 45, 59, 59, 46, 47, 135, 46, 134, 48,
760 45, 45, 44, 47, 47, 71, 46, 48, 50, 133,
761 46, 47, 131, 71, 46, 72, 50, 73, 47, 74,
762 75, 48, 70, 48, 50, 73, 76, 74, 75, 73,
763 74, 50, 77, 128, 76, 75, 78, 80, 128, 82,
764 77, 76, 79, 65, 78, 80, 74, 82, 76, 81,
766 79, 79, 82, 83, 84, 77, 85, 81, 63, 86,
767 80, 83, 84, 58, 85, 84, 80, 86, 87, 56,
768 81, 81, 86, 30, 84, 26, 87, 88, 81, 83,
769 89, 84, 90, 85, 91, 88, 92, 24, 89, 88,
770 90, 93, 91, 94, 92, 87, 95, 89, 97, 93,
771 98, 94, 23, 9, 95, 96, 97, 91, 98, 8,
772 90, 99, 92, 96, 93, 94, 100, 96, 102, 99,
773 103, 104, 98, 101, 100, 7, 102, 100, 103, 104,
774 99, 101, 96, 96, 105, 101, 106, 108, 6, 100,
775 103, 5, 105, 107, 106, 108, 102, 4, 110, 106,
777 109, 107, 111, 3, 112, 107, 110, 110, 109, 0,
778 111, 113, 112, 115, 111, 108, 0, 109, 0, 113,
779 114, 115, 110, 109, 112, 0, 110, 0, 114, 114,
780 116, 113, 0, 115, 117, 112, 118, 119, 116, 113,
781 116, 120, 117, 0, 118, 119, 118, 121, 122, 120,
782 119, 116, 0, 0, 124, 121, 122, 123, 125, 0,
783 122, 117, 124, 0, 121, 123, 125, 124, 0, 0,
784 137, 124, 138, 139, 121, 140, 120, 123, 137, 141,
785 138, 139, 142, 140, 125, 144, 139, 141, 0, 143,
786 142, 142, 140, 144, 145, 146, 141, 143, 148, 143,
788 143, 0, 145, 146, 147, 149, 148, 150, 0, 148,
789 151, 144, 147, 149, 0, 150, 150, 0, 151, 0,
790 0, 145, 146, 152, 154, 147, 153, 149, 147, 0,
791 155, 152, 154, 156, 153, 154, 151, 151, 155, 153,
792 157, 156, 158, 152, 159, 0, 161, 0, 157, 0,
793 158, 160, 159, 157, 161, 161, 162, 157, 155, 160,
794 156, 163, 160, 164, 162, 165, 0, 166, 167, 163,
795 0, 164, 159, 165, 164, 166, 167, 168, 165, 170,
796 166, 167, 163, 0, 0, 168, 169, 170, 171, 172,
797 0, 167, 168, 173, 169, 166, 171, 172, 170, 169,
799 174, 173, 172, 175, 0, 176, 177, 173, 174, 178,
800 0, 175, 171, 176, 177, 179, 180, 178, 176, 181,
801 174, 182, 183, 179, 180, 175, 179, 181, 180, 182,
802 183, 178, 184, 185, 186, 187, 188, 189, 190, 181,
803 184, 185, 186, 187, 188, 189, 190, 186, 191, 0,
804 182, 192, 184, 193, 0, 0, 191, 183, 194, 192,
805 0, 193, 188, 192, 195, 190, 194, 0, 185, 196,
806 197, 199, 195, 193, 195, 195, 198, 196, 197, 199,
807 194, 200, 201, 0, 198, 198, 195, 197, 205, 200,
808 201, 202, 0, 206, 196, 207, 205, 208, 209, 202,
810 199, 206, 201, 207, 211, 208, 209, 200, 210, 0,
811 202, 212, 211, 213, 205, 206, 210, 207, 214, 212,
812 215, 213, 216, 208, 212, 217, 214, 210, 215, 215,
813 216, 216, 218, 217, 219, 214, 220, 221, 0, 0,
814 218, 213, 219, 222, 220, 221, 221, 219, 223, 224,
815 225, 222, 0, 217, 226, 227, 223, 224, 225, 220,
816 218, 0, 226, 227, 228, 229, 224, 230, 231, 227,
817 232, 222, 228, 229, 233, 230, 231, 0, 232, 234,
818 237, 229, 233, 235, 236, 225, 238, 234, 237, 239,
819 0, 235, 236, 240, 238, 230, 241, 239, 232, 236,
821 242, 240, 243, 244, 241, 234, 233, 245, 242, 235,
822 243, 244, 246, 247, 238, 245, 248, 0, 249, 250,
823 246, 247, 251, 252, 248, 243, 249, 250, 254, 248,
824 251, 252, 253, 0, 0, 0, 254, 0, 246, 257,
825 253, 247, 253, 255, 0, 256, 250, 257, 251, 259,
826 252, 255, 254, 256, 255, 258, 0, 259, 256, 0,
827 260, 261, 259, 258, 258, 262, 263, 257, 260, 261,
828 0, 264, 265, 262, 263, 266, 267, 268, 261, 264,
829 265, 262, 0, 266, 267, 268, 269, 265, 270, 267,
830 268, 0, 0, 272, 269, 263, 270, 273, 274, 269,
832 264, 272, 275, 266, 276, 273, 274, 277, 279, 278,
833 275, 0, 276, 0, 0, 277, 279, 278, 0, 280,
834 281, 272, 278, 282, 283, 284, 274, 280, 281, 0,
835 280, 282, 283, 284, 285, 275, 279, 283, 286, 276,
836 0, 287, 285, 288, 289, 290, 286, 284, 281, 287,
837 291, 288, 289, 290, 287, 292, 0, 0, 291, 293,
838 285, 294, 295, 292, 286, 288, 289, 293, 0, 294,
839 295, 296, 297, 298, 299, 300, 293, 0, 301, 296,
840 297, 298, 299, 300, 0, 297, 301, 302, 303, 298,
841 295, 0, 301, 304, 305, 302, 303, 306, 0, 302,
843 307, 304, 305, 299, 308, 306, 306, 0, 307, 309,
844 310, 311, 308, 312, 0, 304, 303, 309, 310, 311,
845 313, 312, 305, 315, 0, 314, 307, 316, 313, 317,
846 318, 315, 308, 314, 314, 316, 310, 317, 318, 311,
847 316, 319, 313, 318, 315, 320, 321, 323, 324, 319,
848 325, 317, 326, 320, 321, 323, 324, 327, 325, 328,
849 326, 329, 330, 331, 332, 327, 333, 328, 319, 329,
850 330, 331, 332, 334, 333, 0, 335, 0, 0, 326,
851 336, 334, 337, 327, 335, 325, 334, 338, 336, 329,
852 337, 336, 332, 339, 340, 338, 341, 0, 343, 342,
854 344, 339, 340, 346, 341, 337, 343, 342, 344, 345,
855 338, 346, 0, 0, 347, 348, 349, 345, 0, 350,
856 340, 342, 347, 348, 349, 0, 348, 350, 351, 344,
857 352, 354, 0, 349, 355, 345, 351, 353, 352, 354,
858 347, 356, 355, 352, 355, 353, 353, 357, 358, 356,
859 359, 360, 0, 361, 362, 357, 358, 354, 359, 360,
860 357, 361, 362, 363, 364, 365, 366, 362, 367, 368,
861 361, 363, 364, 365, 366, 369, 367, 368, 370, 360,
862 371, 372, 0, 369, 373, 374, 370, 375, 371, 372,
863 370, 368, 373, 374, 366, 375, 367, 376, 0, 377,
865 378, 0, 379, 0, 374, 376, 371, 377, 378, 375,
866 379, 380, 381, 382, 383, 379, 384, 0, 0, 380,
867 381, 382, 383, 380, 384, 377, 383, 0, 385, 386,
868 387, 388, 389, 390, 391, 381, 385, 386, 387, 388,
869 389, 390, 391, 392, 388, 393, 394, 382, 396, 395,
870 397, 392, 398, 393, 394, 0, 396, 395, 397, 0,
871 398, 390, 395, 385, 397, 399, 400, 391, 401, 392,
872 402, 0, 403, 399, 400, 405, 401, 404, 402, 399,
873 403, 394, 406, 405, 0, 404, 0, 407, 408, 409,
874 406, 410, 402, 0, 404, 407, 408, 409, 413, 410,
876 411, 410, 414, 0, 415, 412, 413, 0, 411, 408,
877 414, 406, 415, 412, 416, 407, 0, 411, 412, 417,
878 413, 418, 416, 419, 409, 420, 0, 417, 414, 418,
879 421, 419, 0, 420, 418, 422, 0, 423, 421, 415,
880 417, 0, 0, 422, 419, 423, 0, 0, 420, 0,
881 0, 0, 0, 0, 0, 0, 421, 0, 0, 0,
882 0, 0, 0, 0, 0, 0, 0, 0, 422, 425,
883 425, 425, 425, 425, 425, 425, 425, 425, 426, 426,
884 426, 426, 426, 426, 426, 426, 426, 427, 427, 427,
885 427, 427, 427, 427, 427, 427, 428, 0, 428, 429,
887 429, 429, 430, 430, 0, 430, 431, 431, 431, 431,
888 0, 431, 431, 431, 431, 432, 432, 432, 432, 432,
889 432, 432, 432, 432, 433, 433, 433, 0, 433, 433,
890 433, 433, 433, 434, 0, 434, 434, 434, 434, 434,
891 434, 434, 435, 0, 0, 0, 0, 0, 435, 436,
892 436, 0, 436, 437, 0, 437, 424, 424, 424, 424,
893 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
894 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
895 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
896 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
898 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
902 static yy_state_type yy_last_accepting_state;
903 static char *yy_last_accepting_cpos;
905 extern int yy_flex_debug;
906 int yy_flex_debug = 0;
911 #define REJECT reject_used_but_not_detected
912 #define yymore() yymore_used_but_not_detected
913 #define YY_MORE_ADJ 0
914 #define YY_RESTORE_YY_MORE_OFFSET
952 #define YY_NO_INPUT 1
953 #define YY_NO_UNISTD_H 1
954 #line 53 "pars0lex.l"
955 #define YYSTYPE que_node_t*
959 #include "pars0grm.h"
964 #define malloc(A) ut_malloc(A)
965 #define free(A) ut_free(A)
966 #define realloc(P, A) ut_realloc(P, A)
967 #define exit(A) ut_error
970 #define YY_INPUT(buf, result, max_size) \
971 (result = pars_get_lex_chars(buf, max_size))
974 static ulint stringbuf_len_alloc = 0;
975 static ulint stringbuf_len = 0;
976 static char* stringbuf;
985 if (stringbuf == NULL) {
986 stringbuf =
static_cast<char*
>(malloc(1));
987 stringbuf_len_alloc = 1;
990 if (stringbuf_len + len > stringbuf_len_alloc) {
991 while (stringbuf_len + len > stringbuf_len_alloc) {
992 stringbuf_len_alloc <<= 1;
995 stringbuf =
static_cast<char*
>(
996 realloc(stringbuf, stringbuf_len_alloc));
999 memcpy(stringbuf + stringbuf_len, str, len);
1000 stringbuf_len += len;
1006 #line 1006 "lexyy.cc"
1013 #ifndef YY_NO_UNISTD_H
1021 #ifndef YY_EXTRA_TYPE
1022 #define YY_EXTRA_TYPE void *
1025 static int yy_init_globals (
void );
1030 __attribute__((unused)) static
int yylex_destroy (
void );
1032 int yyget_debug (
void );
1034 void yyset_debug (
int debug_flag );
1036 YY_EXTRA_TYPE yyget_extra (
void );
1038 void yyset_extra (YY_EXTRA_TYPE user_defined );
1040 FILE *yyget_in (
void );
1042 void yyset_in (FILE * in_str );
1044 FILE *yyget_out (
void );
1046 void yyset_out (FILE * out_str );
1048 yy_size_t yyget_leng (
void );
1050 char *yyget_text (
void );
1052 int yyget_lineno (
void );
1054 void yyset_lineno (
int line_number );
1060 #ifndef YY_SKIP_YYWRAP
1062 extern "C" int yywrap (
void );
1064 extern int yywrap (
void );
1069 static void yy_flex_strncpy (
char *,yyconst
char *,
int );
1072 #ifdef YY_NEED_STRLEN
1073 static int yy_flex_strlen (yyconst
char * );
1079 static int yyinput (
void );
1081 static int input (
void );
1087 #ifndef YY_READ_BUF_SIZE
1090 #define YY_READ_BUF_SIZE 16384
1092 #define YY_READ_BUF_SIZE 8192
1101 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
1108 #define YY_INPUT(buf,result,max_size) \
1109 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1113 for ( n = 0; n < max_size && \
1114 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1115 buf[n] = (char) c; \
1117 buf[n++] = (char) c; \
1118 if ( c == EOF && ferror( yyin ) ) \
1119 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1125 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1127 if( errno != EINTR) \
1129 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1145 #define yyterminate() return YY_NULL
1149 #ifndef YY_START_STACK_INCR
1150 #define YY_START_STACK_INCR 25
1154 #ifndef YY_FATAL_ERROR
1155 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1164 #define YY_DECL_IS_OURS 1
1166 extern int yylex (
void);
1168 #define YY_DECL int yylex (void)
1174 #ifndef YY_USER_ACTION
1175 #define YY_USER_ACTION
1180 #define YY_BREAK break;
1183 #define YY_RULE_SETUP \
1190 register yy_state_type yy_current_state;
1191 register char *yy_cp, *yy_bp;
1192 register int yy_act;
1194 #line 112 "pars0lex.l"
1197 #line 1197 "lexyy.cc"
1216 if ( ! YY_CURRENT_BUFFER ) {
1217 yyensure_buffer_stack ();
1218 YY_CURRENT_BUFFER_LVALUE =
1219 yy_create_buffer(yyin,YY_BUF_SIZE );
1222 yy_load_buffer_state( );
1227 yy_cp = (yy_c_buf_p);
1230 *yy_cp = (yy_hold_char);
1237 yy_current_state = (yy_start);
1241 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1242 if ( yy_accept[yy_current_state] )
1244 (yy_last_accepting_state) = yy_current_state;
1245 (yy_last_accepting_cpos) = yy_cp;
1247 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1249 yy_current_state = (int) yy_def[yy_current_state];
1250 if ( yy_current_state >= 425 )
1251 yy_c = yy_meta[(
unsigned int) yy_c];
1253 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
1256 while ( yy_current_state != 424 );
1257 yy_cp = (yy_last_accepting_cpos);
1258 yy_current_state = (yy_last_accepting_state);
1261 yy_act = yy_accept[yy_current_state];
1263 YY_DO_BEFORE_ACTION;
1271 *yy_cp = (yy_hold_char);
1272 yy_cp = (yy_last_accepting_cpos);
1273 yy_current_state = (yy_last_accepting_state);
1274 goto yy_find_action;
1278 #line 114 "pars0lex.l"
1282 return(PARS_INT_LIT);
1287 #line 120 "pars0lex.l"
1291 return(PARS_FLOAT_LIT);
1296 #line 126 "pars0lex.l"
1308 #line 135 "pars0lex.l"
1313 return(PARS_ID_TOKEN);
1318 #line 142 "pars0lex.l"
1332 #line 151 "pars0lex.l"
1336 string_append(yytext, yyleng);
1341 #line 156 "pars0lex.l"
1349 string_append(yytext, yyleng / 2);
1360 pars_sym_tab_global,
1361 (byte*) stringbuf, stringbuf_len);
1362 return(PARS_STR_LIT);
1368 #line 180 "pars0lex.l"
1382 #line 189 "pars0lex.l"
1386 string_append(yytext, yyleng);
1391 #line 194 "pars0lex.l"
1399 string_append(yytext, yyleng / 2);
1410 pars_sym_tab_global,
1411 (byte*) stringbuf, stringbuf_len);
1413 return(PARS_ID_TOKEN);
1419 #line 219 "pars0lex.l"
1423 return(PARS_NULL_LIT);
1428 #line 225 "pars0lex.l"
1432 (byte*) yytext, yyleng);
1433 return(PARS_SQL_TOKEN);
1438 #line 232 "pars0lex.l"
1440 return(PARS_AND_TOKEN);
1445 #line 236 "pars0lex.l"
1447 return(PARS_OR_TOKEN);
1452 #line 240 "pars0lex.l"
1454 return(PARS_NOT_TOKEN);
1459 #line 244 "pars0lex.l"
1461 return(PARS_PROCEDURE_TOKEN);
1466 #line 248 "pars0lex.l"
1468 return(PARS_IN_TOKEN);
1473 #line 252 "pars0lex.l"
1475 return(PARS_OUT_TOKEN);
1480 #line 256 "pars0lex.l"
1482 return(PARS_BINARY_TOKEN);
1487 #line 260 "pars0lex.l"
1489 return(PARS_BLOB_TOKEN);
1494 #line 264 "pars0lex.l"
1496 return(PARS_INT_TOKEN);
1501 #line 268 "pars0lex.l"
1503 return(PARS_INT_TOKEN);
1508 #line 272 "pars0lex.l"
1510 return(PARS_FLOAT_TOKEN);
1515 #line 276 "pars0lex.l"
1517 return(PARS_CHAR_TOKEN);
1522 #line 280 "pars0lex.l"
1524 return(PARS_IS_TOKEN);
1529 #line 284 "pars0lex.l"
1531 return(PARS_BEGIN_TOKEN);
1536 #line 288 "pars0lex.l"
1538 return(PARS_END_TOKEN);
1543 #line 292 "pars0lex.l"
1545 return(PARS_IF_TOKEN);
1550 #line 296 "pars0lex.l"
1552 return(PARS_THEN_TOKEN);
1557 #line 300 "pars0lex.l"
1559 return(PARS_ELSE_TOKEN);
1564 #line 304 "pars0lex.l"
1566 return(PARS_ELSIF_TOKEN);
1571 #line 308 "pars0lex.l"
1573 return(PARS_LOOP_TOKEN);
1578 #line 312 "pars0lex.l"
1580 return(PARS_WHILE_TOKEN);
1585 #line 316 "pars0lex.l"
1587 return(PARS_RETURN_TOKEN);
1592 #line 320 "pars0lex.l"
1594 return(PARS_SELECT_TOKEN);
1599 #line 324 "pars0lex.l"
1601 return(PARS_SUM_TOKEN);
1606 #line 328 "pars0lex.l"
1608 return(PARS_COUNT_TOKEN);
1613 #line 332 "pars0lex.l"
1615 return(PARS_DISTINCT_TOKEN);
1620 #line 336 "pars0lex.l"
1622 return(PARS_FROM_TOKEN);
1627 #line 340 "pars0lex.l"
1629 return(PARS_WHERE_TOKEN);
1634 #line 344 "pars0lex.l"
1636 return(PARS_FOR_TOKEN);
1641 #line 348 "pars0lex.l"
1643 return(PARS_READ_TOKEN);
1648 #line 352 "pars0lex.l"
1650 return(PARS_ORDER_TOKEN);
1655 #line 356 "pars0lex.l"
1657 return(PARS_BY_TOKEN);
1662 #line 360 "pars0lex.l"
1664 return(PARS_ASC_TOKEN);
1669 #line 364 "pars0lex.l"
1671 return(PARS_DESC_TOKEN);
1676 #line 368 "pars0lex.l"
1678 return(PARS_INSERT_TOKEN);
1683 #line 372 "pars0lex.l"
1685 return(PARS_INTO_TOKEN);
1690 #line 376 "pars0lex.l"
1692 return(PARS_VALUES_TOKEN);
1697 #line 380 "pars0lex.l"
1699 return(PARS_UPDATE_TOKEN);
1704 #line 384 "pars0lex.l"
1706 return(PARS_SET_TOKEN);
1711 #line 388 "pars0lex.l"
1713 return(PARS_DELETE_TOKEN);
1718 #line 392 "pars0lex.l"
1720 return(PARS_CURRENT_TOKEN);
1725 #line 396 "pars0lex.l"
1727 return(PARS_OF_TOKEN);
1732 #line 400 "pars0lex.l"
1734 return(PARS_CREATE_TOKEN);
1739 #line 404 "pars0lex.l"
1741 return(PARS_TABLE_TOKEN);
1746 #line 408 "pars0lex.l"
1748 return(PARS_COMPACT_TOKEN);
1753 #line 412 "pars0lex.l"
1755 return(PARS_BLOCK_SIZE_TOKEN);
1760 #line 416 "pars0lex.l"
1762 return(PARS_INDEX_TOKEN);
1767 #line 420 "pars0lex.l"
1769 return(PARS_UNIQUE_TOKEN);
1774 #line 424 "pars0lex.l"
1776 return(PARS_CLUSTERED_TOKEN);
1781 #line 428 "pars0lex.l"
1783 return(PARS_DOES_NOT_FIT_IN_MEM_TOKEN);
1788 #line 432 "pars0lex.l"
1790 return(PARS_ON_TOKEN);
1795 #line 436 "pars0lex.l"
1797 return(PARS_DECLARE_TOKEN);
1802 #line 440 "pars0lex.l"
1804 return(PARS_CURSOR_TOKEN);
1809 #line 444 "pars0lex.l"
1811 return(PARS_OPEN_TOKEN);
1816 #line 448 "pars0lex.l"
1818 return(PARS_FETCH_TOKEN);
1823 #line 452 "pars0lex.l"
1825 return(PARS_CLOSE_TOKEN);
1830 #line 456 "pars0lex.l"
1832 return(PARS_NOTFOUND_TOKEN);
1837 #line 460 "pars0lex.l"
1839 return(PARS_TO_CHAR_TOKEN);
1844 #line 464 "pars0lex.l"
1846 return(PARS_TO_NUMBER_TOKEN);
1851 #line 468 "pars0lex.l"
1853 return(PARS_TO_BINARY_TOKEN);
1858 #line 472 "pars0lex.l"
1860 return(PARS_BINARY_TO_NUMBER_TOKEN);
1865 #line 476 "pars0lex.l"
1867 return(PARS_SUBSTR_TOKEN);
1872 #line 480 "pars0lex.l"
1874 return(PARS_REPLSTR_TOKEN);
1879 #line 484 "pars0lex.l"
1881 return(PARS_CONCAT_TOKEN);
1886 #line 488 "pars0lex.l"
1888 return(PARS_INSTR_TOKEN);
1893 #line 492 "pars0lex.l"
1895 return(PARS_LENGTH_TOKEN);
1900 #line 496 "pars0lex.l"
1902 return(PARS_SYSDATE_TOKEN);
1907 #line 500 "pars0lex.l"
1909 return(PARS_PRINTF_TOKEN);
1914 #line 504 "pars0lex.l"
1916 return(PARS_ASSERT_TOKEN);
1921 #line 508 "pars0lex.l"
1923 return(PARS_RND_TOKEN);
1928 #line 512 "pars0lex.l"
1930 return(PARS_RND_STR_TOKEN);
1935 #line 516 "pars0lex.l"
1937 return(PARS_ROW_PRINTF_TOKEN);
1942 #line 520 "pars0lex.l"
1944 return(PARS_COMMIT_TOKEN);
1949 #line 524 "pars0lex.l"
1951 return(PARS_ROLLBACK_TOKEN);
1956 #line 528 "pars0lex.l"
1958 return(PARS_WORK_TOKEN);
1963 #line 532 "pars0lex.l"
1965 return(PARS_UNSIGNED_TOKEN);
1970 #line 536 "pars0lex.l"
1972 return(PARS_EXIT_TOKEN);
1977 #line 540 "pars0lex.l"
1979 return(PARS_FUNCTION_TOKEN);
1984 #line 544 "pars0lex.l"
1986 return(PARS_LOCK_TOKEN);
1991 #line 548 "pars0lex.l"
1993 return(PARS_SHARE_TOKEN);
1998 #line 552 "pars0lex.l"
2000 return(PARS_MODE_TOKEN);
2005 #line 556 "pars0lex.l"
2007 return(PARS_LIKE_TOKEN);
2012 #line 560 "pars0lex.l"
2014 return(PARS_BIGINT_TOKEN);
2019 #line 564 "pars0lex.l"
2024 return(PARS_ID_TOKEN);
2029 #line 571 "pars0lex.l"
2034 return(PARS_TABLE_NAME_TOKEN);
2039 #line 578 "pars0lex.l"
2041 return(PARS_DDOT_TOKEN);
2046 #line 582 "pars0lex.l"
2048 return(PARS_ASSIGN_TOKEN);
2053 #line 586 "pars0lex.l"
2055 return(PARS_LE_TOKEN);
2060 #line 590 "pars0lex.l"
2062 return(PARS_GE_TOKEN);
2067 #line 594 "pars0lex.l"
2069 return(PARS_NE_TOKEN);
2074 #line 598 "pars0lex.l"
2077 return((
int)(*yytext));
2082 #line 603 "pars0lex.l"
2085 return((
int)(*yytext));
2090 #line 608 "pars0lex.l"
2093 return((
int)(*yytext));
2098 #line 613 "pars0lex.l"
2101 return((
int)(*yytext));
2106 #line 618 "pars0lex.l"
2109 return((
int)(*yytext));
2114 #line 623 "pars0lex.l"
2117 return((
int)(*yytext));
2122 #line 628 "pars0lex.l"
2125 return((
int)(*yytext));
2130 #line 633 "pars0lex.l"
2133 return((
int)(*yytext));
2138 #line 638 "pars0lex.l"
2141 return((
int)(*yytext));
2146 #line 643 "pars0lex.l"
2149 return((
int)(*yytext));
2154 #line 648 "pars0lex.l"
2157 return((
int)(*yytext));
2162 #line 653 "pars0lex.l"
2165 return((
int)(*yytext));
2170 #line 658 "pars0lex.l"
2173 return((
int)(*yytext));
2178 #line 663 "pars0lex.l"
2181 return((
int)(*yytext));
2186 #line 668 "pars0lex.l"
2189 return((
int)(*yytext));
2194 #line 673 "pars0lex.l"
2200 #line 675 "pars0lex.l"
2206 #line 676 "pars0lex.l"
2211 #line 677 "pars0lex.l"
2217 #line 679 "pars0lex.l"
2222 #line 682 "pars0lex.l"
2224 fprintf(stderr,
"Unrecognized character: %02x\n",
2234 #line 691 "pars0lex.l"
2235 YY_FATAL_ERROR(
"flex scanner jammed" );
2237 #line 2237 "lexyy.cc"
2238 case YY_STATE_EOF(INITIAL):
2239 case YY_STATE_EOF(comment):
2240 case YY_STATE_EOF(quoted):
2241 case YY_STATE_EOF(
id):
2244 case YY_END_OF_BUFFER:
2247 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
2250 *yy_cp = (yy_hold_char);
2251 YY_RESTORE_YY_MORE_OFFSET
2253 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
2264 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2265 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
2266 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
2276 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2278 yy_state_type yy_next_state;
2280 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
2282 yy_current_state = yy_get_previous_state( );
2293 yy_next_state = yy_try_NUL_trans( yy_current_state );
2295 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2297 if ( yy_next_state )
2300 yy_cp = ++(yy_c_buf_p);
2301 yy_current_state = yy_next_state;
2307 yy_cp = (yy_last_accepting_cpos);
2308 yy_current_state = (yy_last_accepting_state);
2309 goto yy_find_action;
2313 else switch ( yy_get_next_buffer( ) )
2315 case EOB_ACT_END_OF_FILE:
2317 (yy_did_buffer_switch_on_eof) = 0;
2330 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
2332 yy_act = YY_STATE_EOF(YY_START);
2338 if ( ! (yy_did_buffer_switch_on_eof) )
2344 case EOB_ACT_CONTINUE_SCAN:
2346 (yytext_ptr) + yy_amount_of_matched_text;
2348 yy_current_state = yy_get_previous_state( );
2350 yy_cp = (yy_c_buf_p);
2351 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2354 case EOB_ACT_LAST_MATCH:
2356 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
2358 yy_current_state = yy_get_previous_state( );
2360 yy_cp = (yy_c_buf_p);
2361 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2362 goto yy_find_action;
2369 "fatal flex scanner internal error--no action found" );
2381 static int yy_get_next_buffer (
void)
2383 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
2384 register char *source = (yytext_ptr);
2385 register int number_to_move,
i;
2388 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
2390 "fatal flex scanner internal error--end of buffer missed" );
2392 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
2394 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
2399 return EOB_ACT_END_OF_FILE;
2407 return EOB_ACT_LAST_MATCH;
2414 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
2416 for ( i = 0; i < number_to_move; ++
i )
2417 *(dest++) = *(source++);
2419 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2423 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
2428 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
2430 while ( num_to_read <= 0 )
2434 YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
2436 int yy_c_buf_p_offset =
2437 (int) ((yy_c_buf_p) - b->yy_ch_buf);
2439 if ( b->yy_is_our_buffer )
2441 int new_size = b->yy_buf_size * 2;
2443 if ( new_size <= 0 )
2444 b->yy_buf_size += b->yy_buf_size / 8;
2446 b->yy_buf_size *= 2;
2448 b->yy_ch_buf = (
char *)
2450 yyrealloc((
void *) b->yy_ch_buf,b->yy_buf_size + 2 );
2456 if ( ! b->yy_ch_buf )
2458 "fatal error - scanner input buffer overflow" );
2460 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
2462 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
2467 if ( num_to_read > YY_READ_BUF_SIZE )
2468 num_to_read = YY_READ_BUF_SIZE;
2471 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
2472 (yy_n_chars), (
size_t) num_to_read );
2474 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2477 if ( (yy_n_chars) == 0 )
2479 if ( number_to_move == YY_MORE_ADJ )
2481 ret_val = EOB_ACT_END_OF_FILE;
2487 ret_val = EOB_ACT_LAST_MATCH;
2488 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
2489 YY_BUFFER_EOF_PENDING;
2494 ret_val = EOB_ACT_CONTINUE_SCAN;
2496 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2498 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
2499 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (
char *) yyrealloc((
void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
2500 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
2501 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
2504 (yy_n_chars) += number_to_move;
2505 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
2506 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
2508 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2515 yy_state_type yy_get_previous_state (
void)
2517 register yy_state_type yy_current_state;
2518 register char *yy_cp;
2520 yy_current_state = (yy_start);
2522 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
2524 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2525 if ( yy_accept[yy_current_state] )
2527 (yy_last_accepting_state) = yy_current_state;
2528 (yy_last_accepting_cpos) = yy_cp;
2530 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2532 yy_current_state = (int) yy_def[yy_current_state];
2533 if ( yy_current_state >= 425 )
2534 yy_c = yy_meta[(
unsigned int) yy_c];
2536 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
2539 return yy_current_state;
2547 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
2549 register int yy_is_jam;
2550 register char *yy_cp = (yy_c_buf_p);
2552 register YY_CHAR yy_c = 1;
2553 if ( yy_accept[yy_current_state] )
2555 (yy_last_accepting_state) = yy_current_state;
2556 (yy_last_accepting_cpos) = yy_cp;
2558 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2560 yy_current_state = (int) yy_def[yy_current_state];
2561 if ( yy_current_state >= 425 )
2562 yy_c = yy_meta[(
unsigned int) yy_c];
2564 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
2565 yy_is_jam = (yy_current_state == 424);
2567 return yy_is_jam ? 0 : yy_current_state;
2572 static int yyinput (
void)
2574 static int input (
void)
2580 *(yy_c_buf_p) = (yy_hold_char);
2582 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
2588 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2590 *(yy_c_buf_p) =
'\0';
2594 int offset = (int)((yy_c_buf_p) - (yytext_ptr));
2597 switch ( yy_get_next_buffer( ) )
2599 case EOB_ACT_LAST_MATCH:
2615 case EOB_ACT_END_OF_FILE:
2620 if ( ! (yy_did_buffer_switch_on_eof) )
2629 case EOB_ACT_CONTINUE_SCAN:
2630 (yy_c_buf_p) = (yytext_ptr) +
offset;
2636 c = *(
unsigned char *) (yy_c_buf_p);
2637 *(yy_c_buf_p) =
'\0';
2638 (yy_hold_char) = *++(yy_c_buf_p);
2649 void yyrestart (FILE * input_file )
2652 if ( ! YY_CURRENT_BUFFER ){
2653 yyensure_buffer_stack ();
2654 YY_CURRENT_BUFFER_LVALUE =
2655 yy_create_buffer(yyin,YY_BUF_SIZE );
2658 yy_init_buffer(YY_CURRENT_BUFFER,input_file );
2659 yy_load_buffer_state( );
2666 __attribute__((unused)) static
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
2674 yyensure_buffer_stack ();
2675 if ( YY_CURRENT_BUFFER == new_buffer )
2678 if ( YY_CURRENT_BUFFER )
2681 *(yy_c_buf_p) = (yy_hold_char);
2682 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
2683 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2686 YY_CURRENT_BUFFER_LVALUE = new_buffer;
2687 yy_load_buffer_state( );
2694 (yy_did_buffer_switch_on_eof) = 1;
2697 static void yy_load_buffer_state (
void)
2699 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2700 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2701 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
2702 (yy_hold_char) = *(yy_c_buf_p);
2711 static YY_BUFFER_STATE yy_create_buffer (FILE * file,
int size )
2717 YY_FATAL_ERROR(
"out of dynamic memory in yy_create_buffer()" );
2719 b->yy_buf_size =
size;
2724 b->yy_ch_buf = (
char *)
yyalloc(b->yy_buf_size + 2 );
2725 if ( ! b->yy_ch_buf )
2726 YY_FATAL_ERROR(
"out of dynamic memory in yy_create_buffer()" );
2728 b->yy_is_our_buffer = 1;
2730 yy_init_buffer(b,file );
2739 void yy_delete_buffer (YY_BUFFER_STATE b )
2745 if ( b == YY_CURRENT_BUFFER )
2746 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
2748 if ( b->yy_is_our_buffer )
2749 yyfree((
void *) b->yy_ch_buf );
2751 yyfree((
void *) b );
2758 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
2763 yy_flush_buffer(b );
2765 b->yy_input_file =
file;
2766 b->yy_fill_buffer = 1;
2772 if (b != YY_CURRENT_BUFFER){
2777 b->yy_is_interactive = 0;
2786 void yy_flush_buffer (YY_BUFFER_STATE b )
2797 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2798 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2800 b->yy_buf_pos = &b->yy_ch_buf[0];
2803 b->yy_buffer_status = YY_BUFFER_NEW;
2805 if ( b == YY_CURRENT_BUFFER )
2806 yy_load_buffer_state( );
2815 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
2817 if (new_buffer == NULL)
2820 yyensure_buffer_stack();
2823 if ( YY_CURRENT_BUFFER )
2826 *(yy_c_buf_p) = (yy_hold_char);
2827 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
2828 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2832 if (YY_CURRENT_BUFFER)
2833 (yy_buffer_stack_top)++;
2834 YY_CURRENT_BUFFER_LVALUE = new_buffer;
2837 yy_load_buffer_state( );
2838 (yy_did_buffer_switch_on_eof) = 1;
2845 void yypop_buffer_state (
void)
2847 if (!YY_CURRENT_BUFFER)
2850 yy_delete_buffer(YY_CURRENT_BUFFER );
2851 YY_CURRENT_BUFFER_LVALUE = NULL;
2852 if ((yy_buffer_stack_top) > 0)
2853 --(yy_buffer_stack_top);
2855 if (YY_CURRENT_BUFFER) {
2856 yy_load_buffer_state( );
2857 (yy_did_buffer_switch_on_eof) = 1;
2864 static void yyensure_buffer_stack (
void)
2868 if (!(yy_buffer_stack)) {
2878 if ( ! (yy_buffer_stack) )
2879 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2881 memset((yy_buffer_stack), 0, num_to_alloc *
sizeof(
struct yy_buffer_state*));
2883 (yy_buffer_stack_max) = num_to_alloc;
2884 (yy_buffer_stack_top) = 0;
2888 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
2893 num_to_alloc = (yy_buffer_stack_max) + grow_size;
2898 if ( ! (yy_buffer_stack) )
2899 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2902 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size *
sizeof(
struct yy_buffer_state*));
2903 (yy_buffer_stack_max) = num_to_alloc;
2907 #ifndef YY_EXIT_FAILURE
2908 #define YY_EXIT_FAILURE 2
2911 static void yy_fatal_error (yyconst
char*
msg )
2913 (void) fprintf( stderr,
"%s\n", msg );
2914 exit( YY_EXIT_FAILURE );
2924 int yyless_macro_arg = (n); \
2925 YY_LESS_LINENO(yyless_macro_arg);\
2926 yytext[yyleng] = (yy_hold_char); \
2927 (yy_c_buf_p) = yytext + yyless_macro_arg; \
2928 (yy_hold_char) = *(yy_c_buf_p); \
2929 *(yy_c_buf_p) = '\0'; \
2930 yyleng = yyless_macro_arg; \
2939 int yyget_lineno (
void)
2948 FILE *yyget_in (
void)
2956 FILE *yyget_out (
void)
2964 yy_size_t yyget_leng (
void)
2973 char *yyget_text (
void)
2982 void yyset_lineno (
int line_number )
2985 yylineno = line_number;
2994 void yyset_in (FILE * in_str )
2999 void yyset_out (FILE * out_str )
3004 int yyget_debug (
void)
3006 return yy_flex_debug;
3009 void yyset_debug (
int bdebug )
3011 yy_flex_debug = bdebug ;
3014 static int yy_init_globals (
void)
3020 (yy_buffer_stack) = 0;
3021 (yy_buffer_stack_top) = 0;
3022 (yy_buffer_stack_max) = 0;
3023 (yy_c_buf_p) = (
char *) 0;
3043 __attribute__((unused)) static
int yylex_destroy (
void)
3047 while(YY_CURRENT_BUFFER){
3048 yy_delete_buffer(YY_CURRENT_BUFFER );
3049 YY_CURRENT_BUFFER_LVALUE = NULL;
3050 yypop_buffer_state();
3054 yyfree((yy_buffer_stack) );
3055 (yy_buffer_stack) = NULL;
3069 static void yy_flex_strncpy (
char* s1, yyconst
char * s2,
int n )
3072 for ( i = 0; i <
n; ++
i )
3077 #ifdef YY_NEED_STRLEN
3078 static int yy_flex_strlen (yyconst
char * s )
3081 for ( n = 0; s[
n]; ++
n )
3088 void *
yyalloc (yy_size_t size )
3090 return (
void *) malloc( size );
3093 void *yyrealloc (
void * ptr, yy_size_t size )
3102 return (
void *) realloc( (
char *) ptr, size );
3105 void yyfree (
void * ptr )
3107 free( (
char*) ptr );
3110 #define YYTABLES_NAME "yytables"
3112 #line 691 "pars0lex.l"
3126 stringbuf_len_alloc = stringbuf_len = 0;