/* A lexical scanner generated by flex */ /* Scanner skeleton version: * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #include #include /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ #ifdef c_plusplus #ifndef __cplusplus #define __cplusplus #endif #endif #ifdef __cplusplus #include #ifndef _WIN32 #include #endif /* Use prototypes in function declarations. */ #define YY_USE_PROTOS /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ #if __STDC__ #define YY_USE_PROTOS #define YY_USE_CONST #endif /* __STDC__ */ #endif /* ! __cplusplus */ #ifdef __TURBOC__ #pragma warn -rch #pragma warn -use #include #include #define YY_USE_CONST #define YY_USE_PROTOS #endif #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif #ifdef YY_USE_PROTOS #define YY_PROTO(proto) proto #else #define YY_PROTO(proto) () #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN yy_start = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START ((yy_start - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart( yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #define YY_BUF_SIZE 16384 typedef struct yy_buffer_state *YY_BUFFER_STATE; extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 /* The funky do-while in the following #define is used to turn the definition * int a single C statement (which needs a semi-colon terminator). This * avoids problems with code like: * * if ( condition_holds ) * yyless( 5 ); * else * do_something_else(); * * Prior to using the do-while the compiler would get upset at the * "else" because it interpreted the "if" statement as being all * done when it reached the ';' after the yyless() call. */ /* Return all but the first 'n' matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, yytext_ptr ) /* The following is because we cannot portably get our hands on size_t * (without autoconf's help, which isn't available because we want * flex-generated scanners to compile on their own). */ typedef unsigned int yy_size_t; struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; static YY_BUFFER_STATE yy_current_buffer = 0; /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". */ #define YY_CURRENT_BUFFER yy_current_buffer /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 1; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart YY_PROTO(( FILE *input_file )); void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); void yy_load_buffer_state YY_PROTO(( void )); YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); static void *yy_flex_alloc YY_PROTO(( yy_size_t )); static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); static void yy_flex_free YY_PROTO(( void * )); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) #define YY_USES_REJECT #define yywrap() 1 #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state YY_PROTO(( void )); static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); static int yy_get_next_buffer YY_PROTO(( void )); static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ yytext_ptr = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yy_c_buf_p = yy_cp; #define YY_NUM_RULES 69 #define YY_END_OF_BUFFER 70 static yyconst short int yy_acclist[991] = { 0, 70, 68, 69, 60, 68, 69, 67, 69, 59, 68, 69, 68, 69, 44, 68, 69, 45, 68, 69, 55, 68, 69, 59, 68, 69, 53, 68, 69, 54, 68, 69, 52, 68, 69, 57, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 46, 68, 69, 47, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 56, 68, 69, 59, 68, 69, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 59, 68, 69, 62, 69, 63, 64, 69, 65, 69, 66, 69, 60, 59, 2, 59, 48, 51, 50, 49, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 39, 59, 61, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 62, 64, 65, 58, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 12, 59, 59, 59, 59, 59, 42, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 12, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 24, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 40, 43, 41, 35, 59, 59, 59, 59, 59, 10, 59, 36, 59, 59, 9, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 24, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 35, 39, 59, 59, 59, 59, 59, 10, 39, 59, 36, 39, 59, 59, 9, 39, 59, 59, 59, 59, 59, 18, 59, 59, 59, 59, 59, 59, 59, 22, 59, 59, 13, 59, 59, 59, 59, 59, 59, 59, 59, 59, 17, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 8, 59, 59, 59, 18, 39, 59, 59, 59, 59, 59, 59, 59, 22, 39, 59, 59, 13, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 17, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 8, 39, 59, 59, 59, 59, 59, 28, 59, 59, 59, 59, 59, 59, 5, 59, 59, 59, 59, 59, 59, 25, 59, 59, 59, 6, 59, 59, 59, 59, 7, 59, 59, 59, 59, 59, 59, 59, 59, 28, 39, 59, 59, 59, 59, 59, 59, 5, 39, 59, 59, 59, 59, 59, 59, 25, 39, 59, 59, 59, 6, 39, 59, 59, 59, 59, 7, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 26, 59, 34, 59, 59, 33, 59, 59, 31, 59, 59, 59, 27, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 26, 39, 59, 34, 39, 59, 59, 33, 39, 59, 59, 31, 39, 59, 59, 59, 27, 39, 59, 59, 59, 59, 59, 59, 32, 59, 59, 23, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 32, 39, 59, 59, 23, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 15, 59, 59, 30, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 15, 39, 59, 59, 30, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 11, 59, 59, 29, 59, 59, 59, 59, 59, 59, 59, 59, 59, 11, 39, 59, 59, 29, 39, 59, 59, 59, 59, 59, 59, 59, 16, 59, 59, 59, 59, 38, 59, 59, 59, 59, 59, 16, 39, 59, 59, 59, 59, 38, 39, 59, 59, 59, 59, 59, 59, 19, 59, 59, 59, 37, 59, 59, 4, 59, 59, 59, 19, 39, 59, 59, 59, 37, 39, 59, 59, 4, 39, 59, 59, 59, 14, 59, 59, 59, 59, 59, 14, 39, 59, 59, 59, 59, 59, 59, 3, 59, 59, 59, 59, 3, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 21, 59, 59, 59, 21, 39, 59, 59, 59, 59, 59, 59, 20, 59, 59, 20, 39, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 1, 59, 1, 59 } ; static yyconst short int yy_accept[791] = { 0, 1, 1, 1, 1, 1, 1, 1, 2, 4, 7, 9, 12, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 50, 53, 56, 59, 62, 65, 68, 71, 74, 77, 80, 83, 86, 89, 92, 95, 98, 101, 104, 107, 109, 112, 115, 118, 121, 124, 127, 130, 133, 136, 139, 142, 145, 148, 151, 154, 157, 160, 163, 166, 169, 171, 174, 176, 178, 179, 180, 180, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 206, 206, 206, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 219, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 280, 280, 280, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 352, 352, 352, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 422, 423, 424, 425, 426, 426, 427, 427, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 508, 509, 510, 511, 512, 514, 516, 517, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 551, 552, 553, 554, 555, 558, 561, 562, 565, 566, 567, 568, 569, 571, 572, 573, 574, 575, 576, 577, 579, 580, 582, 583, 584, 585, 586, 587, 588, 589, 590, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 604, 605, 606, 609, 610, 611, 612, 613, 614, 615, 618, 619, 622, 623, 624, 625, 626, 627, 628, 629, 630, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 646, 647, 648, 649, 650, 652, 653, 654, 655, 656, 657, 659, 660, 661, 662, 663, 664, 666, 667, 668, 670, 671, 672, 673, 675, 676, 677, 678, 679, 680, 681, 682, 685, 686, 687, 688, 689, 690, 693, 694, 695, 696, 697, 698, 701, 702, 703, 706, 707, 708, 709, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 726, 728, 729, 731, 732, 734, 735, 736, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 752, 755, 756, 759, 760, 763, 764, 765, 768, 769, 770, 771, 772, 773, 775, 776, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 793, 794, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 813, 814, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 829, 830, 833, 834, 835, 836, 837, 838, 839, 840, 841, 843, 844, 846, 847, 848, 849, 850, 851, 852, 853, 854, 857, 858, 861, 862, 863, 864, 865, 866, 867, 869, 870, 871, 872, 874, 875, 876, 877, 878, 881, 882, 883, 884, 887, 888, 889, 890, 891, 892, 894, 895, 896, 898, 899, 901, 902, 903, 906, 907, 908, 911, 912, 915, 916, 917, 919, 920, 921, 922, 923, 926, 927, 928, 929, 930, 931, 933, 934, 935, 936, 939, 940, 941, 942, 943, 944, 945, 946, 947, 949, 950, 951, 954, 955, 956, 957, 958, 959, 961, 962, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 989, 991, 991 } ; static yyconst int yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 5, 6, 1, 1, 1, 1, 7, 8, 1, 4, 9, 10, 4, 4, 11, 11, 11, 11, 11, 12, 11, 11, 11, 11, 13, 1, 14, 15, 16, 1, 17, 18, 19, 20, 21, 4, 22, 4, 4, 23, 4, 4, 4, 24, 4, 4, 25, 4, 26, 27, 4, 4, 28, 4, 4, 4, 4, 29, 1, 30, 1, 4, 1, 31, 11, 32, 33, 34, 35, 36, 37, 38, 4, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 1, 55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst int yy_meta[56] = { 0, 1, 1, 2, 3, 1, 1, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1 } ; static yyconst short int yy_base[799] = { 0, 0, 55, 2052, 2051, 2043, 2042, 2037, 2355, 2034, 2355, 2018, 2029, 2355, 2355, 2355, 100, 99, 2355, 100, 2355, 101, 102, 103, 104, 105, 107, 106, 108, 111, 119, 124, 127, 2355, 165, 119, 86, 127, 139, 135, 147, 161, 2355, 153, 2029, 199, 167, 170, 172, 188, 201, 175, 207, 190, 189, 212, 224, 1987, 1999, 1986, 230, 232, 235, 240, 249, 0, 2018, 0, 2355, 2018, 1995, 0, 2006, 2355, 256, 2355, 2355, 2355, 2355, 210, 148, 218, 234, 237, 109, 223, 247, 252, 174, 242, 253, 260, 269, 278, 254, 258, 143, 261, 279, 1959, 1955, 1952, 1957, 283, 315, 285, 287, 288, 289, 292, 294, 295, 304, 316, 318, 1981, 2355, 327, 338, 327, 328, 339, 351, 354, 359, 360, 361, 367, 369, 370, 375, 372, 380, 377, 388, 397, 398, 404, 407, 411, 412, 419, 413, 422, 435, 441, 443, 444, 0, 1969, 0, 0, 453, 156, 299, 325, 340, 438, 445, 456, 461, 386, 306, 402, 450, 457, 307, 451, 452, 454, 459, 462, 464, 465, 466, 483, 484, 1925, 1926, 1935, 1916, 472, 487, 486, 489, 488, 490, 492, 495, 496, 497, 499, 521, 505, 510, 517, 534, 545, 546, 547, 548, 553, 554, 559, 567, 560, 573, 572, 574, 575, 580, 583, 588, 522, 590, 591, 597, 599, 600, 606, 612, 613, 620, 622, 623, 628, 625, 633, 651, 500, 611, 578, 508, 507, 632, 626, 634, 638, 642, 604, 639, 649, 643, 648, 654, 509, 660, 671, 676, 673, 678, 679, 680, 1916, 1920, 1888, 1881, 682, 681, 558, 683, 684, 689, 685, 686, 691, 687, 693, 715, 699, 716, 721, 723, 722, 728, 738, 739, 740, 748, 755, 760, 763, 770, 765, 771, 772, 779, 780, 782, 785, 788, 790, 799, 802, 809, 810, 812, 815, 817, 818, 825, 827, 830, 835, 845, 711, 690, 423, 752, 697, 803, 727, 783, 841, 816, 843, 725, 834, 836, 851, 849, 853, 852, 856, 854, 1911, 858, 864, 789, 865, 1886, 2355, 1885, 1873, 877, 867, 872, 874, 879, 885, 886, 883, 888, 750, 887, 900, 896, 901, 907, 909, 910, 923, 924, 925, 932, 933, 935, 938, 940, 946, 949, 947, 956, 957, 963, 971, 973, 974, 979, 980, 986, 987, 988, 989, 1000, 994, 999, 1002, 1005, 1007, 1013, 1008, 1024, 960, 1026, 1023, 1020, 911, 1021, 922, 889, 1876, 1032, 1029, 1037, 1030, 1036, 1031, 961, 1043, 1044, 1045, 1046, 1054, 1047, 1049, 1056, 2355, 2355, 2355, 1875, 1055, 1059, 1057, 1063, 1874, 1863, 1065, 1854, 1064, 1070, 1073, 1079, 1098, 1103, 1104, 1105, 1106, 1112, 1113, 1114, 1115, 1120, 1121, 1126, 1127, 1128, 1129, 1134, 1136, 1145, 1146, 1152, 1154, 1161, 1163, 1168, 1169, 1170, 1176, 1177, 1178, 1179, 1185, 1186, 1191, 1194, 1201, 1077, 1831, 1139, 1118, 1203, 1158, 1180, 1197, 1813, 1204, 1770, 1205, 1210, 1208, 1131, 1207, 1211, 1212, 1227, 1734, 1069, 1213, 1232, 1220, 1229, 1233, 1235, 1234, 1072, 1238, 1719, 1245, 1250, 1248, 1251, 1253, 1258, 1270, 1271, 1273, 1276, 1278, 1279, 1281, 1286, 1287, 1289, 1292, 1298, 1297, 1303, 1309, 1312, 1311, 1314, 1317, 1319, 1333, 1320, 1334, 1336, 1342, 1343, 1351, 1318, 1321, 1324, 1655, 1331, 1337, 1344, 1241, 1355, 1537, 1350, 1360, 1362, 1280, 1374, 1519, 1347, 1380, 1517, 1382, 1386, 1361, 1484, 1385, 1363, 1371, 1389, 1392, 1393, 1394, 1399, 1401, 1402, 1412, 1413, 1414, 1415, 1421, 1430, 1432, 1437, 1439, 1440, 1445, 1447, 1448, 1454, 1456, 1455, 1461, 1462, 1463, 1464, 1474, 1434, 1425, 1471, 1470, 1476, 1480, 1465, 1479, 1419, 1418, 1477, 1416, 1504, 1252, 1478, 1481, 1140, 1482, 1483, 1506, 1506, 1509, 1512, 1515, 1518, 1532, 1531, 1533, 1534, 1539, 1540, 1546, 1551, 1552, 1554, 1557, 1559, 1562, 1565, 1573, 1516, 1556, 1083, 1569, 1078, 1566, 1575, 1563, 1582, 1291, 1543, 1396, 1577, 1564, 1602, 1584, 1602, 1603, 1604, 1605, 1612, 1610, 1615, 1625, 1628, 1630, 1635, 1637, 1636, 1646, 1486, 1634, 1642, 1623, 1011, 1647, 951, 1592, 1648, 1649, 1583, 1651, 1658, 1669, 1682, 1658, 1683, 1684, 1689, 1691, 1692, 1694, 1697, 1699, 1700, 1707, 1710, 1703, 950, 1668, 908, 1708, 1715, 1712, 1656, 1713, 1733, 1718, 1735, 1720, 1736, 1744, 1745, 1746, 1756, 1757, 1759, 1772, 899, 1768, 1743, 1762, 741, 1758, 1769, 1779, 1782, 1782, 1808, 1785, 1795, 1807, 1809, 1810, 1815, 1822, 1812, 703, 1823, 1814, 637, 1794, 557, 1832, 1824, 1832, 1833, 1845, 1855, 1856, 1857, 1864, 1842, 498, 1843, 1865, 1876, 1872, 1877, 1888, 1889, 1901, 1844, 1862, 424, 1908, 1904, 1909, 1910, 1913, 1763, 1936, 1943, 1939, 1944, 1948, 1941, 379, 1955, 1951, 1979, 1982, 1984, 1991, 1987, 2016, 374, 2007, 1992, 2041, 2032, 2066, 2057, 2091, 2082, 2116, 2107, 2141, 2132, 2166, 2157, 2191, 2182, 2216, 2207, 2241, 2232, 2266, 2257, 2291, 2282, 301, 1993, 2355, 2326, 2330, 2332, 2336, 2338, 2342, 2346, 2350, 312 } ; static yyconst short int yy_def[799] = { 0, 789, 789, 790, 790, 791, 791, 789, 789, 789, 789, 792, 793, 789, 789, 789, 792, 789, 789, 789, 789, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 789, 789, 792, 34, 34, 792, 792, 792, 792, 792, 789, 794, 795, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 45, 45, 45, 794, 794, 794, 794, 794, 796, 789, 797, 789, 789, 792, 798, 793, 789, 792, 789, 789, 789, 789, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 789, 789, 789, 789, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 794, 794, 795, 789, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 45, 794, 794, 794, 794, 794, 794, 794, 794, 796, 789, 797, 798, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 789, 789, 789, 789, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 789, 789, 789, 789, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 789, 789, 789, 789, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 789, 789, 789, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 794, 794, 794, 792, 792, 792, 792, 792, 45, 794, 794, 794, 794, 792, 792, 792, 792, 45, 794, 794, 794, 792, 792, 792, 45, 794, 794, 792, 792, 792, 45, 794, 794, 792, 792, 45, 794, 792, 792, 45, 794, 792, 45, 792, 45, 792, 45, 792, 45, 792, 45, 792, 45, 792, 45, 792, 45, 792, 45, 792, 45, 792, 45, 792, 794, 0, 789, 789, 789, 789, 789, 789, 789, 789, 789 } ; static yyconst short int yy_nxt[2411] = { 0, 8, 9, 10, 11, 12, 8, 13, 14, 15, 11, 16, 16, 11, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 16, 16, 11, 11, 37, 11, 38, 11, 11, 11, 39, 11, 40, 41, 11, 11, 31, 11, 11, 11, 11, 42, 8, 9, 10, 43, 12, 44, 13, 14, 15, 43, 45, 45, 43, 17, 18, 19, 20, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 32, 33, 57, 58, 59, 45, 45, 43, 43, 60, 43, 61, 43, 43, 43, 62, 43, 63, 64, 43, 43, 56, 43, 43, 43, 43, 42, 74, 74, 75, 76, 77, 78, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 88, 71, 105, 70, 74, 74, 74, 74, 74, 71, 89, 83, 90, 80, 71, 84, 85, 71, 92, 82, 79, 86, 87, 104, 81, 71, 93, 91, 159, 71, 94, 98, 99, 71, 100, 95, 70, 71, 71, 114, 96, 97, 106, 71, 101, 107, 71, 174, 102, 74, 74, 71, 108, 114, 109, 71, 114, 71, 114, 163, 71, 114, 71, 154, 71, 71, 229, 110, 111, 74, 74, 74, 74, 74, 114, 114, 114, 112, 71, 71, 71, 119, 103, 117, 117, 114, 118, 114, 121, 71, 126, 71, 120, 114, 129, 122, 131, 71, 114, 123, 71, 127, 71, 117, 117, 117, 117, 117, 71, 130, 114, 128, 124, 71, 71, 153, 114, 125, 114, 132, 71, 114, 71, 133, 71, 71, 114, 71, 134, 155, 71, 137, 71, 135, 136, 114, 160, 71, 142, 71, 152, 152, 71, 71, 71, 141, 71, 144, 71, 156, 71, 71, 143, 164, 157, 145, 146, 158, 165, 71, 152, 152, 152, 152, 152, 147, 161, 166, 71, 71, 175, 167, 162, 71, 169, 71, 168, 71, 71, 71, 173, 172, 71, 171, 71, 71, 170, 181, 151, 71, 242, 71, 184, 187, 71, 186, 71, 71, 176, 152, 152, 189, 114, 230, 114, 71, 71, 185, 71, 183, 188, 192, 192, 114, 114, 71, 190, 71, 71, 152, 152, 152, 152, 152, 114, 114, 191, 238, 71, 71, 71, 192, 192, 192, 192, 192, 182, 114, 231, 195, 114, 71, 194, 193, 71, 114, 114, 114, 232, 71, 71, 71, 203, 114, 196, 114, 114, 71, 114, 71, 71, 114, 71, 114, 71, 71, 114, 71, 197, 71, 71, 198, 200, 199, 114, 205, 71, 209, 71, 201, 204, 202, 206, 114, 114, 211, 207, 71, 71, 210, 114, 208, 71, 114, 71, 192, 192, 71, 114, 114, 237, 214, 71, 71, 212, 114, 385, 215, 114, 71, 213, 217, 71, 71, 71, 192, 192, 192, 192, 192, 222, 114, 239, 216, 220, 71, 223, 114, 71, 114, 114, 71, 218, 71, 71, 71, 219, 228, 228, 221, 71, 71, 71, 71, 71, 233, 71, 71, 225, 71, 234, 71, 71, 224, 71, 71, 71, 228, 228, 228, 228, 228, 71, 235, 226, 240, 227, 243, 236, 241, 245, 248, 246, 71, 71, 244, 71, 71, 71, 71, 71, 250, 71, 247, 249, 71, 71, 71, 71, 71, 71, 114, 251, 257, 258, 71, 114, 71, 71, 71, 71, 259, 260, 114, 252, 268, 268, 71, 114, 261, 262, 305, 71, 263, 270, 269, 265, 264, 267, 266, 114, 308, 309, 322, 71, 268, 268, 268, 268, 268, 271, 114, 114, 114, 114, 71, 71, 71, 71, 114, 114, 289, 272, 71, 71, 114, 114, 71, 71, 71, 71, 274, 273, 114, 275, 276, 282, 71, 114, 114, 114, 114, 71, 71, 71, 71, 114, 277, 71, 114, 71, 336, 281, 71, 114, 278, 114, 114, 71, 279, 71, 71, 280, 114, 307, 114, 114, 71, 283, 71, 71, 285, 114, 286, 71, 288, 71, 284, 114, 114, 291, 71, 71, 71, 287, 290, 114, 294, 114, 114, 71, 114, 71, 71, 114, 71, 71, 292, 71, 114, 293, 295, 71, 71, 71, 296, 316, 71, 71, 71, 306, 311, 71, 71, 297, 304, 304, 319, 71, 71, 298, 71, 314, 299, 71, 300, 315, 302, 301, 312, 71, 310, 303, 318, 313, 304, 304, 304, 304, 304, 317, 71, 325, 71, 323, 321, 71, 320, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 326, 71, 71, 71, 324, 71, 327, 114, 328, 71, 338, 71, 335, 329, 334, 71, 339, 340, 342, 341, 344, 345, 345, 71, 114, 387, 343, 337, 71, 114, 114, 114, 346, 71, 71, 71, 114, 71, 384, 71, 71, 345, 345, 345, 345, 345, 114, 114, 114, 348, 71, 71, 71, 71, 383, 419, 114, 347, 349, 350, 71, 394, 71, 114, 71, 352, 355, 71, 114, 351, 389, 114, 71, 114, 356, 71, 353, 71, 114, 114, 114, 354, 71, 71, 71, 386, 360, 114, 114, 359, 366, 71, 71, 114, 71, 71, 114, 71, 114, 357, 71, 71, 71, 358, 362, 364, 361, 114, 363, 390, 114, 71, 367, 365, 71, 71, 368, 114, 114, 369, 114, 71, 71, 114, 71, 114, 114, 71, 71, 71, 71, 405, 370, 114, 371, 114, 388, 71, 114, 71, 372, 375, 71, 114, 376, 373, 71, 71, 71, 391, 377, 382, 382, 71, 379, 71, 374, 71, 378, 392, 395, 71, 381, 71, 71, 71, 71, 396, 71, 380, 71, 382, 382, 382, 382, 382, 71, 71, 393, 71, 397, 399, 398, 401, 71, 410, 71, 403, 400, 71, 404, 71, 402, 415, 416, 71, 418, 71, 71, 71, 71, 71, 413, 406, 114, 411, 421, 421, 71, 114, 412, 71, 424, 71, 414, 114, 420, 114, 114, 71, 71, 71, 71, 71, 417, 465, 421, 421, 421, 421, 421, 114, 114, 114, 71, 71, 71, 71, 426, 422, 430, 114, 425, 114, 71, 71, 114, 71, 114, 423, 71, 429, 71, 462, 114, 114, 427, 114, 71, 71, 464, 71, 71, 71, 114, 114, 434, 428, 71, 71, 432, 114, 71, 71, 433, 71, 431, 435, 436, 114, 437, 114, 114, 71, 438, 71, 71, 114, 114, 458, 440, 71, 71, 439, 114, 446, 114, 114, 71, 71, 71, 71, 114, 442, 472, 443, 71, 451, 114, 441, 452, 71, 71, 114, 71, 454, 114, 71, 455, 71, 71, 114, 444, 71, 445, 71, 447, 448, 449, 450, 457, 457, 71, 71, 459, 71, 71, 456, 71, 460, 466, 71, 71, 71, 71, 468, 453, 461, 71, 71, 457, 457, 457, 457, 457, 71, 71, 71, 71, 71, 463, 71, 477, 469, 467, 470, 71, 71, 71, 71, 471, 71, 473, 474, 475, 71, 71, 71, 488, 489, 489, 71, 71, 476, 71, 482, 483, 114, 478, 71, 71, 71, 479, 480, 485, 71, 481, 538, 484, 489, 489, 489, 489, 489, 522, 546, 491, 486, 490, 487, 71, 114, 114, 114, 114, 71, 71, 71, 71, 492, 114, 114, 114, 498, 71, 71, 71, 71, 114, 500, 71, 493, 71, 71, 114, 114, 114, 114, 71, 71, 71, 71, 114, 71, 114, 495, 71, 494, 71, 497, 496, 71, 71, 114, 114, 499, 502, 71, 71, 501, 509, 524, 114, 505, 71, 506, 71, 503, 523, 114, 71, 114, 504, 71, 507, 71, 114, 114, 114, 533, 71, 71, 71, 508, 114, 114, 114, 114, 71, 71, 71, 71, 71, 114, 114, 510, 514, 71, 71, 114, 512, 526, 520, 71, 511, 515, 71, 521, 521, 71, 513, 525, 516, 71, 517, 71, 71, 71, 531, 71, 71, 527, 71, 71, 71, 71, 528, 521, 521, 521, 521, 521, 71, 529, 518, 537, 519, 532, 543, 71, 540, 71, 530, 544, 71, 71, 71, 71, 535, 534, 71, 548, 548, 71, 536, 539, 114, 542, 114, 114, 71, 114, 71, 71, 71, 71, 552, 547, 541, 581, 71, 548, 548, 548, 548, 548, 545, 549, 114, 114, 550, 114, 71, 71, 114, 71, 114, 114, 71, 114, 71, 71, 71, 71, 558, 114, 551, 114, 71, 71, 114, 71, 555, 71, 71, 114, 114, 556, 586, 71, 71, 564, 554, 553, 653, 71, 559, 114, 557, 114, 114, 71, 567, 71, 71, 114, 71, 114, 571, 71, 71, 71, 71, 71, 561, 562, 71, 560, 570, 563, 565, 114, 114, 71, 114, 71, 71, 569, 71, 71, 114, 114, 544, 566, 71, 71, 71, 575, 575, 71, 577, 576, 71, 71, 579, 568, 578, 71, 584, 573, 585, 574, 71, 71, 71, 71, 572, 575, 575, 575, 575, 575, 587, 71, 582, 580, 71, 583, 589, 588, 537, 590, 71, 592, 71, 595, 595, 71, 71, 593, 114, 114, 114, 591, 71, 71, 71, 114, 71, 114, 114, 71, 594, 71, 71, 595, 595, 595, 595, 595, 571, 114, 114, 114, 71, 71, 71, 71, 71, 114, 71, 71, 597, 71, 599, 596, 598, 71, 604, 655, 605, 601, 71, 602, 71, 114, 71, 607, 114, 71, 600, 71, 71, 114, 617, 609, 114, 71, 603, 71, 71, 610, 564, 114, 114, 606, 71, 71, 71, 114, 612, 114, 114, 71, 71, 71, 71, 71, 616, 618, 615, 615, 71, 71, 620, 621, 71, 608, 71, 71, 71, 71, 71, 71, 71, 71, 71, 611, 71, 613, 615, 615, 615, 615, 615, 614, 622, 623, 619, 625, 627, 628, 630, 630, 114, 672, 71, 114, 71, 624, 633, 71, 626, 114, 71, 629, 635, 71, 71, 71, 71, 71, 630, 630, 630, 630, 630, 636, 632, 114, 114, 114, 114, 71, 71, 71, 71, 114, 114, 71, 631, 71, 71, 634, 114, 71, 640, 646, 71, 114, 114, 638, 114, 71, 71, 114, 71, 114, 71, 71, 114, 71, 637, 114, 71, 71, 71, 71, 71, 645, 645, 71, 639, 650, 654, 71, 642, 71, 649, 71, 652, 643, 114, 647, 71, 71, 71, 657, 641, 645, 645, 645, 645, 645, 71, 651, 648, 644, 658, 658, 114, 114, 114, 114, 71, 71, 71, 71, 663, 656, 114, 677, 71, 114, 71, 659, 680, 71, 658, 658, 658, 658, 658, 665, 662, 71, 114, 71, 114, 660, 71, 661, 71, 114, 114, 114, 71, 71, 71, 71, 674, 666, 671, 671, 71, 676, 675, 664, 71, 71, 71, 71, 673, 71, 682, 682, 685, 71, 71, 670, 71, 667, 671, 671, 671, 671, 671, 114, 668, 669, 71, 71, 700, 678, 682, 682, 682, 682, 682, 681, 114, 114, 114, 679, 71, 71, 71, 687, 683, 114, 114, 71, 114, 71, 71, 114, 71, 114, 114, 71, 684, 71, 71, 693, 693, 71, 686, 696, 694, 71, 71, 688, 71, 698, 71, 71, 703, 71, 114, 689, 71, 71, 71, 693, 693, 693, 693, 693, 692, 702, 702, 690, 691, 114, 114, 695, 71, 71, 71, 697, 701, 699, 114, 114, 707, 71, 71, 71, 71, 702, 702, 702, 702, 702, 114, 114, 716, 114, 71, 71, 71, 71, 714, 712, 71, 71, 713, 704, 711, 711, 71, 71, 71, 709, 71, 705, 706, 718, 719, 719, 114, 71, 752, 114, 71, 708, 710, 71, 711, 711, 711, 711, 711, 114, 715, 717, 71, 71, 719, 719, 719, 719, 719, 720, 722, 114, 721, 724, 114, 71, 71, 71, 71, 726, 71, 71, 71, 71, 727, 727, 728, 729, 114, 731, 71, 71, 71, 723, 732, 732, 114, 734, 733, 71, 71, 71, 725, 730, 727, 727, 727, 727, 727, 114, 71, 71, 71, 71, 732, 732, 732, 732, 732, 114, 114, 114, 71, 71, 71, 71, 737, 737, 746, 740, 71, 71, 71, 71, 735, 738, 114, 739, 741, 741, 71, 114, 71, 71, 71, 71, 737, 737, 737, 737, 737, 736, 114, 744, 409, 747, 71, 71, 741, 741, 741, 741, 741, 745, 745, 742, 408, 407, 114, 71, 748, 748, 71, 114, 114, 751, 751, 71, 71, 71, 333, 71, 743, 745, 745, 745, 745, 745, 749, 332, 748, 748, 748, 748, 748, 751, 751, 751, 751, 751, 753, 331, 750, 114, 71, 754, 754, 71, 756, 71, 757, 757, 71, 330, 256, 114, 71, 759, 759, 71, 255, 254, 253, 149, 755, 754, 754, 754, 754, 754, 757, 757, 757, 757, 757, 116, 758, 759, 759, 759, 759, 759, 180, 114, 761, 761, 760, 71, 762, 179, 71, 764, 71, 763, 763, 71, 114, 114, 178, 177, 71, 71, 73, 71, 761, 761, 761, 761, 761, 766, 766, 69, 149, 763, 763, 763, 763, 763, 765, 765, 140, 139, 138, 116, 71, 73, 71, 69, 789, 766, 766, 766, 766, 766, 768, 768, 68, 68, 765, 765, 765, 765, 765, 767, 767, 66, 66, 789, 789, 71, 789, 789, 789, 789, 768, 768, 768, 768, 768, 770, 770, 789, 789, 767, 767, 767, 767, 767, 769, 769, 789, 789, 789, 789, 71, 789, 789, 789, 789, 770, 770, 770, 770, 770, 772, 772, 789, 789, 769, 769, 769, 769, 769, 771, 771, 789, 789, 789, 789, 71, 789, 789, 789, 789, 772, 772, 772, 772, 772, 774, 774, 789, 789, 771, 771, 771, 771, 771, 773, 773, 789, 789, 789, 789, 71, 789, 789, 789, 789, 774, 774, 774, 774, 774, 776, 776, 789, 789, 773, 773, 773, 773, 773, 775, 775, 789, 789, 789, 789, 71, 789, 789, 789, 789, 776, 776, 776, 776, 776, 778, 778, 789, 789, 775, 775, 775, 775, 775, 777, 777, 789, 789, 789, 789, 71, 789, 789, 789, 789, 778, 778, 778, 778, 778, 780, 780, 789, 789, 777, 777, 777, 777, 777, 779, 779, 789, 789, 789, 789, 71, 789, 789, 789, 789, 780, 780, 780, 780, 780, 782, 782, 789, 789, 779, 779, 779, 779, 779, 781, 781, 789, 789, 789, 789, 71, 789, 789, 789, 789, 782, 782, 782, 782, 782, 784, 784, 789, 789, 781, 781, 781, 781, 781, 783, 783, 789, 789, 789, 789, 71, 789, 789, 789, 789, 784, 784, 784, 784, 784, 786, 786, 789, 789, 783, 783, 783, 783, 783, 785, 785, 789, 789, 789, 789, 71, 789, 789, 789, 789, 786, 786, 786, 786, 786, 788, 788, 789, 789, 785, 785, 785, 785, 785, 787, 787, 789, 789, 789, 789, 71, 789, 789, 789, 789, 788, 788, 788, 788, 788, 789, 789, 789, 789, 787, 787, 787, 787, 787, 65, 65, 65, 65, 67, 67, 67, 67, 70, 70, 72, 72, 72, 72, 113, 113, 115, 115, 115, 115, 148, 789, 148, 148, 150, 789, 150, 150, 7, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789 } ; static yyconst short int yy_chk[2411] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 16, 16, 17, 17, 19, 19, 16, 21, 22, 23, 24, 25, 27, 26, 28, 84, 27, 29, 36, 36, 16, 16, 16, 16, 16, 30, 27, 24, 28, 22, 31, 24, 25, 37, 29, 23, 21, 25, 26, 35, 22, 39, 30, 28, 84, 38, 30, 31, 32, 96, 32, 30, 35, 40, 80, 43, 30, 30, 37, 43, 32, 38, 153, 96, 32, 34, 34, 41, 39, 46, 40, 34, 47, 46, 48, 88, 47, 51, 48, 80, 88, 51, 153, 41, 41, 34, 34, 34, 34, 34, 49, 54, 53, 41, 49, 54, 53, 47, 34, 45, 45, 45, 46, 50, 48, 45, 51, 50, 47, 52, 53, 49, 54, 52, 55, 49, 79, 52, 55, 45, 45, 45, 45, 45, 81, 53, 56, 52, 50, 85, 56, 79, 60, 50, 61, 55, 60, 62, 61, 55, 82, 62, 63, 83, 55, 81, 63, 56, 89, 55, 55, 64, 85, 86, 61, 64, 74, 74, 87, 90, 94, 60, 74, 63, 95, 82, 91, 97, 62, 89, 83, 64, 64, 83, 90, 92, 74, 74, 74, 74, 74, 64, 86, 91, 93, 98, 97, 91, 87, 103, 92, 105, 91, 106, 107, 108, 95, 94, 109, 93, 110, 111, 92, 103, 798, 154, 166, 787, 106, 108, 112, 107, 162, 166, 98, 104, 104, 110, 113, 154, 114, 104, 113, 106, 114, 105, 109, 117, 117, 119, 120, 155, 111, 119, 120, 104, 104, 104, 104, 104, 118, 121, 112, 162, 118, 121, 156, 117, 117, 117, 117, 117, 104, 122, 155, 120, 123, 122, 119, 118, 123, 124, 125, 126, 156, 124, 125, 126, 127, 127, 121, 128, 129, 127, 131, 128, 129, 130, 131, 133, 762, 130, 132, 133, 122, 753, 132, 122, 124, 123, 134, 129, 161, 131, 134, 125, 128, 126, 130, 135, 136, 132, 130, 135, 136, 131, 137, 130, 163, 138, 137, 139, 139, 138, 140, 142, 161, 135, 140, 142, 133, 141, 307, 136, 143, 141, 134, 138, 143, 307, 740, 139, 139, 139, 139, 139, 142, 144, 163, 137, 141, 144, 143, 145, 157, 146, 147, 145, 139, 146, 147, 158, 140, 152, 152, 141, 164, 167, 168, 152, 169, 157, 159, 165, 145, 170, 158, 160, 171, 144, 172, 173, 174, 152, 152, 152, 152, 152, 181, 159, 146, 164, 147, 167, 160, 165, 169, 172, 170, 175, 176, 168, 183, 182, 185, 184, 186, 174, 187, 171, 173, 188, 189, 190, 729, 191, 229, 193, 175, 181, 182, 193, 194, 233, 232, 245, 194, 183, 184, 195, 176, 192, 192, 195, 213, 185, 186, 229, 213, 187, 194, 193, 189, 188, 191, 190, 196, 232, 233, 245, 196, 192, 192, 192, 192, 192, 195, 197, 198, 199, 200, 197, 198, 199, 200, 201, 202, 213, 196, 201, 202, 203, 205, 718, 259, 203, 205, 198, 197, 204, 199, 200, 206, 204, 207, 206, 208, 209, 207, 206, 208, 209, 210, 201, 231, 211, 210, 259, 205, 211, 212, 202, 214, 215, 212, 203, 214, 215, 204, 216, 231, 217, 218, 216, 207, 217, 218, 209, 219, 210, 239, 212, 219, 208, 220, 221, 215, 230, 220, 221, 211, 214, 222, 218, 223, 224, 222, 226, 223, 224, 225, 226, 235, 216, 225, 227, 217, 219, 234, 227, 236, 220, 239, 716, 237, 240, 230, 235, 238, 242, 221, 228, 228, 242, 243, 241, 222, 228, 237, 223, 244, 224, 238, 226, 225, 236, 246, 234, 227, 241, 236, 228, 228, 228, 228, 228, 240, 247, 248, 249, 246, 244, 248, 243, 250, 251, 252, 258, 257, 260, 261, 263, 264, 266, 249, 262, 306, 265, 247, 267, 250, 269, 251, 309, 261, 269, 258, 252, 257, 713, 262, 263, 265, 264, 267, 268, 268, 305, 270, 309, 266, 260, 270, 271, 273, 272, 269, 271, 273, 272, 274, 316, 306, 311, 274, 268, 268, 268, 268, 268, 275, 276, 277, 271, 275, 276, 277, 698, 305, 343, 278, 270, 272, 273, 278, 316, 343, 279, 308, 275, 277, 279, 280, 274, 311, 281, 280, 283, 278, 281, 276, 283, 282, 284, 285, 276, 282, 284, 285, 308, 282, 286, 287, 281, 288, 286, 287, 289, 288, 312, 290, 289, 291, 279, 290, 328, 291, 280, 284, 286, 283, 292, 285, 312, 293, 292, 289, 287, 293, 310, 290, 294, 295, 291, 296, 294, 295, 297, 296, 298, 299, 297, 314, 298, 299, 328, 292, 300, 293, 301, 310, 300, 302, 301, 294, 297, 302, 303, 298, 295, 317, 303, 318, 313, 299, 304, 304, 313, 301, 315, 296, 304, 300, 314, 317, 320, 303, 319, 322, 321, 324, 318, 323, 302, 326, 304, 304, 304, 304, 304, 327, 329, 315, 335, 319, 321, 320, 323, 336, 334, 337, 326, 322, 334, 327, 338, 324, 339, 340, 341, 342, 339, 340, 344, 342, 390, 337, 329, 346, 335, 345, 345, 346, 347, 336, 694, 348, 347, 338, 348, 344, 349, 350, 348, 676, 349, 350, 387, 341, 390, 345, 345, 345, 345, 345, 351, 352, 353, 389, 351, 352, 353, 350, 346, 354, 355, 349, 356, 354, 355, 357, 356, 358, 347, 357, 353, 358, 387, 359, 361, 351, 360, 359, 361, 389, 360, 674, 652, 362, 363, 358, 352, 362, 363, 356, 364, 383, 398, 357, 364, 355, 359, 360, 365, 361, 366, 367, 365, 362, 366, 367, 368, 369, 383, 364, 368, 369, 363, 370, 371, 372, 373, 370, 371, 372, 373, 375, 367, 398, 368, 375, 376, 374, 365, 377, 376, 374, 378, 377, 379, 381, 378, 380, 379, 381, 380, 369, 650, 370, 380, 372, 373, 374, 375, 382, 382, 386, 388, 384, 385, 382, 381, 384, 385, 392, 393, 395, 397, 392, 394, 378, 386, 396, 394, 382, 382, 382, 382, 382, 399, 400, 401, 402, 404, 388, 405, 403, 395, 393, 396, 403, 411, 406, 413, 397, 412, 399, 400, 401, 414, 419, 417, 420, 421, 421, 478, 420, 402, 486, 412, 413, 422, 404, 458, 620, 422, 405, 406, 417, 618, 411, 478, 414, 421, 421, 421, 421, 421, 458, 486, 423, 419, 422, 419, 423, 424, 425, 426, 427, 424, 425, 426, 427, 424, 428, 429, 430, 431, 428, 429, 430, 431, 432, 433, 461, 425, 432, 433, 434, 435, 436, 437, 434, 435, 436, 437, 438, 472, 439, 427, 438, 426, 439, 429, 428, 460, 592, 440, 441, 432, 435, 440, 441, 434, 442, 461, 443, 438, 442, 439, 443, 436, 460, 444, 463, 445, 437, 444, 440, 445, 446, 447, 448, 472, 446, 447, 448, 441, 449, 450, 451, 452, 449, 450, 451, 452, 464, 453, 454, 443, 448, 453, 454, 455, 445, 463, 456, 455, 444, 449, 456, 457, 457, 465, 447, 462, 450, 457, 453, 462, 467, 469, 470, 473, 471, 464, 470, 474, 475, 479, 465, 457, 457, 457, 457, 457, 481, 467, 455, 476, 455, 471, 483, 476, 480, 482, 469, 484, 480, 483, 485, 484, 474, 473, 487, 489, 489, 529, 475, 479, 491, 482, 490, 492, 491, 493, 490, 492, 589, 493, 494, 487, 481, 529, 494, 489, 489, 489, 489, 489, 485, 490, 495, 496, 492, 497, 495, 496, 498, 497, 499, 500, 498, 501, 499, 500, 535, 501, 502, 503, 493, 504, 502, 503, 505, 504, 497, 625, 505, 507, 506, 499, 535, 507, 506, 508, 496, 495, 625, 508, 503, 509, 501, 511, 510, 509, 512, 511, 510, 513, 512, 514, 516, 513, 522, 514, 516, 523, 505, 506, 524, 504, 515, 507, 510, 515, 517, 526, 518, 515, 517, 514, 518, 527, 519, 520, 528, 511, 519, 520, 528, 521, 521, 538, 523, 522, 532, 521, 526, 513, 524, 530, 533, 518, 534, 519, 533, 543, 534, 546, 517, 521, 521, 521, 521, 521, 536, 547, 530, 527, 536, 532, 539, 538, 541, 542, 539, 545, 541, 548, 548, 545, 542, 546, 549, 550, 551, 543, 549, 550, 551, 552, 627, 553, 554, 552, 547, 553, 554, 548, 548, 548, 548, 548, 555, 556, 557, 558, 555, 556, 557, 558, 587, 559, 585, 584, 550, 559, 553, 549, 551, 577, 560, 627, 561, 556, 560, 557, 561, 562, 576, 563, 564, 562, 554, 563, 564, 565, 577, 566, 567, 565, 559, 566, 567, 569, 568, 570, 569, 562, 568, 570, 569, 571, 572, 573, 574, 571, 572, 573, 574, 582, 576, 578, 575, 575, 579, 578, 580, 581, 575, 565, 580, 586, 590, 583, 581, 591, 593, 594, 544, 570, 646, 573, 575, 575, 575, 575, 575, 574, 582, 583, 579, 588, 591, 593, 595, 595, 596, 646, 588, 597, 596, 586, 598, 597, 590, 599, 598, 594, 600, 599, 616, 540, 600, 537, 595, 595, 595, 595, 595, 601, 597, 602, 601, 603, 604, 602, 601, 603, 604, 605, 606, 531, 596, 605, 606, 599, 607, 626, 608, 616, 607, 608, 609, 603, 610, 608, 609, 611, 610, 612, 617, 611, 613, 612, 602, 614, 613, 623, 629, 614, 621, 615, 615, 619, 606, 622, 626, 615, 611, 622, 621, 628, 624, 613, 631, 617, 624, 656, 631, 629, 610, 615, 615, 615, 615, 615, 653, 623, 619, 614, 630, 630, 632, 633, 634, 635, 632, 633, 634, 635, 637, 628, 636, 653, 637, 638, 636, 631, 656, 638, 630, 630, 630, 630, 630, 639, 636, 649, 640, 639, 641, 632, 640, 634, 641, 642, 644, 643, 647, 642, 644, 643, 648, 640, 645, 645, 648, 651, 649, 638, 645, 651, 654, 655, 647, 657, 658, 658, 661, 525, 680, 644, 661, 641, 645, 645, 645, 645, 645, 659, 642, 643, 675, 659, 680, 654, 658, 658, 658, 658, 658, 657, 660, 662, 663, 655, 660, 662, 663, 664, 659, 665, 666, 664, 667, 665, 666, 668, 667, 669, 670, 668, 660, 669, 670, 671, 671, 673, 662, 675, 672, 671, 677, 666, 672, 678, 679, 681, 683, 678, 685, 667, 683, 488, 685, 671, 671, 671, 671, 671, 670, 682, 682, 668, 669, 684, 686, 673, 477, 684, 686, 677, 681, 679, 687, 688, 689, 696, 687, 688, 689, 682, 682, 682, 682, 682, 690, 691, 699, 692, 690, 691, 699, 692, 696, 695, 697, 746, 695, 684, 693, 693, 695, 700, 468, 691, 693, 686, 688, 701, 702, 702, 703, 701, 746, 705, 703, 690, 692, 705, 693, 693, 693, 693, 693, 706, 697, 700, 717, 706, 702, 702, 702, 702, 702, 704, 705, 707, 704, 708, 709, 707, 704, 708, 709, 710, 712, 466, 715, 710, 711, 711, 712, 714, 720, 717, 711, 714, 720, 706, 719, 719, 721, 722, 720, 459, 721, 722, 709, 715, 711, 711, 711, 711, 711, 723, 728, 730, 738, 723, 719, 719, 719, 719, 719, 724, 725, 726, 418, 724, 725, 726, 727, 727, 738, 731, 739, 416, 727, 731, 723, 728, 733, 730, 732, 732, 733, 734, 415, 410, 391, 734, 727, 727, 727, 727, 727, 725, 735, 736, 333, 739, 735, 736, 732, 732, 732, 732, 732, 737, 737, 733, 332, 330, 742, 737, 741, 741, 742, 743, 744, 745, 745, 743, 744, 325, 256, 745, 735, 737, 737, 737, 737, 737, 742, 255, 741, 741, 741, 741, 741, 745, 745, 745, 745, 745, 747, 254, 743, 749, 747, 748, 748, 749, 750, 752, 751, 751, 750, 253, 180, 755, 751, 754, 754, 755, 179, 178, 177, 149, 749, 748, 748, 748, 748, 748, 751, 751, 751, 751, 751, 115, 752, 754, 754, 754, 754, 754, 102, 756, 757, 757, 755, 756, 758, 101, 757, 760, 758, 759, 759, 760, 764, 788, 100, 99, 764, 788, 72, 70, 757, 757, 757, 757, 757, 763, 763, 69, 66, 759, 759, 759, 759, 759, 761, 761, 59, 58, 57, 44, 761, 12, 11, 9, 7, 763, 763, 763, 763, 763, 766, 766, 6, 5, 761, 761, 761, 761, 761, 765, 765, 4, 3, 0, 0, 765, 0, 0, 0, 0, 766, 766, 766, 766, 766, 768, 768, 0, 0, 765, 765, 765, 765, 765, 767, 767, 0, 0, 0, 0, 767, 0, 0, 0, 0, 768, 768, 768, 768, 768, 770, 770, 0, 0, 767, 767, 767, 767, 767, 769, 769, 0, 0, 0, 0, 769, 0, 0, 0, 0, 770, 770, 770, 770, 770, 772, 772, 0, 0, 769, 769, 769, 769, 769, 771, 771, 0, 0, 0, 0, 771, 0, 0, 0, 0, 772, 772, 772, 772, 772, 774, 774, 0, 0, 771, 771, 771, 771, 771, 773, 773, 0, 0, 0, 0, 773, 0, 0, 0, 0, 774, 774, 774, 774, 774, 776, 776, 0, 0, 773, 773, 773, 773, 773, 775, 775, 0, 0, 0, 0, 775, 0, 0, 0, 0, 776, 776, 776, 776, 776, 778, 778, 0, 0, 775, 775, 775, 775, 775, 777, 777, 0, 0, 0, 0, 777, 0, 0, 0, 0, 778, 778, 778, 778, 778, 780, 780, 0, 0, 777, 777, 777, 777, 777, 779, 779, 0, 0, 0, 0, 779, 0, 0, 0, 0, 780, 780, 780, 780, 780, 782, 782, 0, 0, 779, 779, 779, 779, 779, 781, 781, 0, 0, 0, 0, 781, 0, 0, 0, 0, 782, 782, 782, 782, 782, 784, 784, 0, 0, 781, 781, 781, 781, 781, 783, 783, 0, 0, 0, 0, 783, 0, 0, 0, 0, 784, 784, 784, 784, 784, 786, 786, 0, 0, 783, 783, 783, 783, 783, 785, 785, 0, 0, 0, 0, 785, 0, 0, 0, 0, 786, 786, 786, 786, 786, 0, 0, 0, 0, 785, 785, 785, 785, 785, 790, 790, 790, 790, 791, 791, 791, 791, 792, 792, 793, 793, 793, 793, 794, 794, 795, 795, 795, 795, 796, 0, 796, 796, 797, 0, 797, 797, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789 } ; static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; static char *yy_full_match; static int yy_lp; #define REJECT \ { \ *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \ yy_cp = yy_full_match; /* restore poss. backed-over text */ \ ++yy_lp; \ goto find_rule; \ } #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "../inilex.l" #define INITIAL 0 #line 2 "../inilex.l" /* * Copyright (c) 2000, Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * A copy of the GNU General Public License can be found at * http://www.gnu.org/ * * Written by DJ Delorie * Maintained by Robert Collins * */ /* tokenize the setup.ini files. We parse a string which we've previously downloaded. The program must call ini_init() to specify that string. */ #include "win32.h" #include #include "ini.h" #include "iniparse.h" #include "String++.h" #include "IniParseFeedback.h" #define YY_INPUT(buf,result,max_size) { result = ini_getchar(buf, max_size); } static int ini_getchar(char *buf, int max_size); static void ignore_line (void); /*%option debug */ #define YY_NEVER_INTERACTIVE 1 #define descriptionstate 1 #define eolstate 2 #line 1320 "lex.yy.c" /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap YY_PROTO(( void )); #else extern int yywrap YY_PROTO(( void )); #endif #endif #ifndef YY_NO_UNPUT static void yyunput YY_PROTO(( int c, char *buf_ptr )); #endif #ifndef yytext_ptr static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen YY_PROTO(( yyconst char * )); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput YY_PROTO(( void )); #else static int input YY_PROTO(( void )); #endif #endif #if YY_STACK_USED static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = 0; #ifndef YY_NO_PUSH_STATE static void yy_push_state YY_PROTO(( int new_state )); #endif #ifndef YY_NO_POP_STATE static void yy_pop_state YY_PROTO(( void )); #endif #ifndef YY_NO_TOP_STATE static int yy_top_state YY_PROTO(( void )); #endif #else #define YY_NO_PUSH_STATE 1 #define YY_NO_POP_STATE 1 #define YY_NO_TOP_STATE 1 #endif #ifdef YY_MALLOC_DECL YY_MALLOC_DECL #else #if __STDC__ #ifndef __cplusplus #include #endif #else /* Just try to get by without declaring the routines. This will fail * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) * or sizeof(void*) != sizeof(int). */ #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( yy_current_buffer->yy_is_interactive ) \ { \ int c = '*', n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ } #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL int yylex YY_PROTO(( void )) #endif /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ yy_current_buffer->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 47 "../inilex.l" #line 1488 "lex.yy.c" if ( yy_init ) { yy_init = 0; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! yy_start ) yy_start = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! yy_current_buffer ) yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); yy_load_buffer_state(); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = yy_c_buf_p; /* Support of yytext. */ *yy_cp = yy_hold_char; /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = yy_start; yy_current_state += YY_AT_BOL(); yy_state_ptr = yy_state_buf; *yy_state_ptr++ = yy_current_state; yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 790 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *yy_state_ptr++ = yy_current_state; ++yy_cp; } while ( yy_base[yy_current_state] != 2355 ); yy_find_action: yy_current_state = *--yy_state_ptr; yy_lp = yy_accept[yy_current_state]; find_rule: /* we branch to this label when backing up */ for ( ; ; ) /* until we find what rule we matched */ { if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) { yy_act = yy_acclist[yy_lp]; { yy_full_match = yy_cp; break; } } --yy_cp; yy_current_state = *--yy_state_ptr; yy_lp = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) ++yylineno; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 1: YY_RULE_SETUP #line 49 "../inilex.l" { yylval = (char *) new unsigned char[16]; for (int i=0; i< 16; ++i) ((unsigned char *) yylval) [i] = 0; for (int i=0; i< 32; ++i) { unsigned char val = (unsigned char) yytext[i]; if (val > '9') val = val - 'a' + 10; else val = val - '0'; ((unsigned char *) yylval) [i / 2] += val << ((i % 2) ? 0 : 4); } return MD5; } YY_BREAK case 2: YY_RULE_SETUP #line 65 "../inilex.l" { yylval = new char [strlen (yytext+1) + 1]; strcpy (yylval, yytext+1); yylval[strlen (yylval)-1] = 0; return STRING; } YY_BREAK case 3: YY_RULE_SETUP #line 70 "../inilex.l" return SETUP_TIMESTAMP; YY_BREAK case 4: YY_RULE_SETUP #line 71 "../inilex.l" return SETUP_VERSION; YY_BREAK case 5: YY_RULE_SETUP #line 72 "../inilex.l" return PACKAGENAME; YY_BREAK case 6: YY_RULE_SETUP #line 73 "../inilex.l" return PACKAGEVERSION; YY_BREAK case 7: YY_RULE_SETUP #line 74 "../inilex.l" return INSTALL; YY_BREAK case 8: YY_RULE_SETUP #line 75 "../inilex.l" return SOURCE; YY_BREAK case 9: YY_RULE_SETUP #line 76 "../inilex.l" return SDESC; YY_BREAK case 10: YY_RULE_SETUP #line 77 "../inilex.l" return LDESC; YY_BREAK case 11: YY_RULE_SETUP #line 78 "../inilex.l" BEGIN (descriptionstate); return DESCTAG; YY_BREAK case 12: YY_RULE_SETUP #line 79 "../inilex.l" return FILESIZE; YY_BREAK case 13: YY_RULE_SETUP #line 80 "../inilex.l" return MD5LINE; YY_BREAK case 14: YY_RULE_SETUP #line 81 "../inilex.l" return INSTALLEDSIZE; YY_BREAK case 15: YY_RULE_SETUP #line 82 "../inilex.l" BEGIN (eolstate); return MAINTAINER; YY_BREAK case 16: YY_RULE_SETUP #line 83 "../inilex.l" return ARCHITECTURE; YY_BREAK case 17: YY_RULE_SETUP #line 84 "../inilex.l" return SOURCEPACKAGE; YY_BREAK case 18: YY_RULE_SETUP #line 85 "../inilex.l" return BINARYPACKAGE; YY_BREAK case 19: YY_RULE_SETUP #line 86 "../inilex.l" return BUILDDEPENDS; YY_BREAK case 20: YY_RULE_SETUP #line 87 "../inilex.l" return BUILDDEPENDS; /* technicallyincorrect :[ */ YY_BREAK case 21: YY_RULE_SETUP #line 88 "../inilex.l" return STANDARDSVERSION; YY_BREAK case 22: YY_RULE_SETUP #line 89 "../inilex.l" return FORMAT; YY_BREAK case 23: YY_RULE_SETUP #line 90 "../inilex.l" return DIRECTORY; YY_BREAK case 24: YY_RULE_SETUP #line 91 "../inilex.l" return FILES; YY_BREAK case 25: YY_RULE_SETUP #line 93 "../inilex.l" return CATEGORY; YY_BREAK case 26: YY_RULE_SETUP #line 94 "../inilex.l" return PRIORITY; YY_BREAK case 27: YY_RULE_SETUP #line 95 "../inilex.l" return REQUIRES; YY_BREAK case 28: YY_RULE_SETUP #line 96 "../inilex.l" return DEPENDS; YY_BREAK case 29: YY_RULE_SETUP #line 97 "../inilex.l" return PREDEPENDS; YY_BREAK case 30: YY_RULE_SETUP #line 98 "../inilex.l" return RECOMMENDS; YY_BREAK case 31: YY_RULE_SETUP #line 99 "../inilex.l" return SUGGESTS; YY_BREAK case 32: YY_RULE_SETUP #line 100 "../inilex.l" return CONFLICTS; YY_BREAK case 33: YY_RULE_SETUP #line 101 "../inilex.l" return REPLACES; YY_BREAK case 34: YY_RULE_SETUP #line 102 "../inilex.l" return PROVIDES; YY_BREAK case 35: YY_RULE_SETUP #line 104 "../inilex.l" return APATH; YY_BREAK case 36: YY_RULE_SETUP #line 105 "../inilex.l" return PPATH; YY_BREAK case 37: YY_RULE_SETUP #line 107 "../inilex.l" return INCLUDE_SETUP; YY_BREAK case 38: YY_RULE_SETUP #line 109 "../inilex.l" return DOWNLOAD_URL; YY_BREAK case 39: YY_RULE_SETUP #line 111 "../inilex.l" ignore_line (); YY_BREAK case 40: YY_RULE_SETUP #line 113 "../inilex.l" return T_CURR; YY_BREAK case 41: YY_RULE_SETUP #line 114 "../inilex.l" return T_TEST; YY_BREAK case 42: YY_RULE_SETUP #line 115 "../inilex.l" return T_TEST; YY_BREAK case 43: YY_RULE_SETUP #line 116 "../inilex.l" return T_PREV; YY_BREAK case 44: YY_RULE_SETUP #line 118 "../inilex.l" return OPENBRACE; YY_BREAK case 45: YY_RULE_SETUP #line 119 "../inilex.l" return CLOSEBRACE; YY_BREAK case 46: YY_RULE_SETUP #line 120 "../inilex.l" return OPENSQUARE; YY_BREAK case 47: YY_RULE_SETUP #line 121 "../inilex.l" return CLOSESQUARE; YY_BREAK case 48: YY_RULE_SETUP #line 122 "../inilex.l" return LT; YY_BREAK case 49: YY_RULE_SETUP #line 123 "../inilex.l" return GT; YY_BREAK case 50: YY_RULE_SETUP #line 124 "../inilex.l" return GTEQUAL; YY_BREAK case 51: YY_RULE_SETUP #line 125 "../inilex.l" return LTEQUAL; YY_BREAK case 52: YY_RULE_SETUP #line 126 "../inilex.l" return GT; YY_BREAK case 53: YY_RULE_SETUP #line 127 "../inilex.l" return LT; YY_BREAK case 54: YY_RULE_SETUP #line 128 "../inilex.l" return EQUAL; YY_BREAK case 55: YY_RULE_SETUP #line 129 "../inilex.l" return COMMA; YY_BREAK case 56: YY_RULE_SETUP #line 130 "../inilex.l" return OR; YY_BREAK case 57: YY_RULE_SETUP #line 131 "../inilex.l" return AT; YY_BREAK case 58: YY_RULE_SETUP #line 133 "../inilex.l" { yylval = new char [strlen(yytext) + 1]; strcpy (yylval, yytext); return EMAIL; } YY_BREAK case 59: YY_RULE_SETUP #line 136 "../inilex.l" { yylval = new char [strlen(yytext) + 1]; strcpy (yylval, yytext); return STRING; } YY_BREAK case 60: YY_RULE_SETUP #line 140 "../inilex.l" /* do nothing */; YY_BREAK case 61: YY_RULE_SETUP #line 142 "../inilex.l" /* do nothing */; YY_BREAK case 62: YY_RULE_SETUP #line 143 "../inilex.l" { yylval = new char [strlen(yytext) + 1]; strcpy (yylval, yytext); return STRTOEOL; } YY_BREAK case 63: YY_RULE_SETUP #line 146 "../inilex.l" { return NL; } YY_BREAK case 64: YY_RULE_SETUP #line 147 "../inilex.l" {BEGIN(INITIAL); return PARAGRAPH;} YY_BREAK case 65: YY_RULE_SETUP #line 148 "../inilex.l" {return STRING; } YY_BREAK case 66: YY_RULE_SETUP #line 149 "../inilex.l" {BEGIN(INITIAL); return NL; } YY_BREAK case 67: YY_RULE_SETUP #line 151 "../inilex.l" { return NL; } YY_BREAK case 68: YY_RULE_SETUP #line 152 "../inilex.l" { return *yytext;} YY_BREAK case 69: YY_RULE_SETUP #line 154 "../inilex.l" ECHO; YY_BREAK #line 1948 "lex.yy.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(descriptionstate): case YY_STATE_EOF(eolstate): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = yy_hold_char; YY_RESTORE_YY_MORE_OFFSET if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between yy_current_buffer and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ yy_n_chars = yy_current_buffer->yy_n_chars; yy_current_buffer->yy_input_file = yyin; yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) { /* This was really a NUL. */ yy_state_type yy_next_state; yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state(); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = yytext_ptr + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++yy_c_buf_p; yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = yy_c_buf_p; goto yy_find_action; } } else switch ( yy_get_next_buffer() ) { case EOB_ACT_END_OF_FILE: { yy_did_buffer_switch_on_eof = 0; if ( yywrap() ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! yy_did_buffer_switch_on_eof ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state(); yy_cp = yy_c_buf_p; yy_bp = yytext_ptr + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: yy_c_buf_p = &yy_current_buffer->yy_ch_buf[yy_n_chars]; yy_current_state = yy_get_previous_state(); yy_cp = yy_c_buf_p; yy_bp = yytext_ptr + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer() { register char *dest = yy_current_buffer->yy_ch_buf; register char *source = yytext_ptr; register int number_to_move, i; int ret_val; if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( yy_current_buffer->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ yy_current_buffer->yy_n_chars = yy_n_chars = 0; else { int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ #ifdef YY_USES_REJECT YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); #else /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = yy_current_buffer; int yy_c_buf_p_offset = (int) (yy_c_buf_p - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yy_flex_realloc( (void *) b->yy_ch_buf, b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; #endif } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), yy_n_chars, num_to_read ); yy_current_buffer->yy_n_chars = yy_n_chars; } if ( yy_n_chars == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart( yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; yy_current_buffer->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; yy_n_chars += number_to_move; yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state() { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = yy_start; yy_current_state += YY_AT_BOL(); yy_state_ptr = yy_state_buf; *yy_state_ptr++ = yy_current_state; for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 790 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *yy_state_ptr++ = yy_current_state; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ #ifdef YY_USE_PROTOS static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) #else static yy_state_type yy_try_NUL_trans( yy_current_state ) yy_state_type yy_current_state; #endif { register int yy_is_jam; register YY_CHAR yy_c = 1; while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 790 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_is_jam = (yy_current_state == 789); if ( ! yy_is_jam ) *yy_state_ptr++ = yy_current_state; return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT #ifdef YY_USE_PROTOS static void yyunput( int c, register char *yy_bp ) #else static void yyunput( c, yy_bp ) int c; register char *yy_bp; #endif { register char *yy_cp = yy_c_buf_p; /* undo effects of setting up yytext */ *yy_cp = yy_hold_char; if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int number_to_move = yy_n_chars + 2; register char *dest = &yy_current_buffer->yy_ch_buf[ yy_current_buffer->yy_buf_size + 2]; register char *source = &yy_current_buffer->yy_ch_buf[number_to_move]; while ( source > yy_current_buffer->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); yy_current_buffer->yy_n_chars = yy_n_chars = yy_current_buffer->yy_buf_size; if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; if ( c == '\n' ) --yylineno; yytext_ptr = yy_bp; yy_hold_char = *yy_cp; yy_c_buf_p = yy_cp; } #endif /* ifndef YY_NO_UNPUT */ #ifdef __cplusplus static int yyinput() #else static int input() #endif { int c; *yy_c_buf_p = yy_hold_char; if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) /* This was really a NUL. */ *yy_c_buf_p = '\0'; else { /* need more input */ int offset = yy_c_buf_p - yytext_ptr; ++yy_c_buf_p; switch ( yy_get_next_buffer() ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart( yyin ); /* fall through */ case EOB_ACT_END_OF_FILE: { if ( yywrap() ) return EOF; if ( ! yy_did_buffer_switch_on_eof ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: yy_c_buf_p = yytext_ptr + offset; break; } } } c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ *yy_c_buf_p = '\0'; /* preserve yytext */ yy_hold_char = *++yy_c_buf_p; yy_current_buffer->yy_at_bol = (c == '\n'); if ( yy_current_buffer->yy_at_bol ) ++yylineno; return c; } #ifdef YY_USE_PROTOS void yyrestart( FILE *input_file ) #else void yyrestart( input_file ) FILE *input_file; #endif { if ( ! yy_current_buffer ) yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); yy_init_buffer( yy_current_buffer, input_file ); yy_load_buffer_state(); } #ifdef YY_USE_PROTOS void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) #else void yy_switch_to_buffer( new_buffer ) YY_BUFFER_STATE new_buffer; #endif { if ( yy_current_buffer == new_buffer ) return; if ( yy_current_buffer ) { /* Flush out information for old buffer. */ *yy_c_buf_p = yy_hold_char; yy_current_buffer->yy_buf_pos = yy_c_buf_p; yy_current_buffer->yy_n_chars = yy_n_chars; } yy_current_buffer = new_buffer; yy_load_buffer_state(); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ yy_did_buffer_switch_on_eof = 1; } #ifdef YY_USE_PROTOS void yy_load_buffer_state( void ) #else void yy_load_buffer_state() #endif { yy_n_chars = yy_current_buffer->yy_n_chars; yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; yyin = yy_current_buffer->yy_input_file; yy_hold_char = *yy_c_buf_p; } #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) #else YY_BUFFER_STATE yy_create_buffer( file, size ) FILE *file; int size; #endif { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer( b, file ); return b; } #ifdef YY_USE_PROTOS void yy_delete_buffer( YY_BUFFER_STATE b ) #else void yy_delete_buffer( b ) YY_BUFFER_STATE b; #endif { if ( ! b ) return; if ( b == yy_current_buffer ) yy_current_buffer = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yy_flex_free( (void *) b->yy_ch_buf ); yy_flex_free( (void *) b ); } #ifndef _WIN32 #include #else #ifndef YY_ALWAYS_INTERACTIVE #ifndef YY_NEVER_INTERACTIVE extern int isatty YY_PROTO(( int )); #endif #endif #endif #ifdef YY_USE_PROTOS void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) #else void yy_init_buffer( b, file ) YY_BUFFER_STATE b; FILE *file; #endif { yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; #if YY_ALWAYS_INTERACTIVE b->yy_is_interactive = 1; #else #if YY_NEVER_INTERACTIVE b->yy_is_interactive = 0; #else b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; #endif #endif } #ifdef YY_USE_PROTOS void yy_flush_buffer( YY_BUFFER_STATE b ) #else void yy_flush_buffer( b ) YY_BUFFER_STATE b; #endif { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == yy_current_buffer ) yy_load_buffer_state(); } #ifndef YY_NO_SCAN_BUFFER #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) #else YY_BUFFER_STATE yy_scan_buffer( base, size ) char *base; yy_size_t size; #endif { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer( b ); return b; } #endif #ifndef YY_NO_SCAN_STRING #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) #else YY_BUFFER_STATE yy_scan_string( yy_str ) yyconst char *yy_str; #endif { int len; for ( len = 0; yy_str[len]; ++len ) ; return yy_scan_bytes( yy_str, len ); } #endif #ifndef YY_NO_SCAN_BYTES #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) #else YY_BUFFER_STATE yy_scan_bytes( bytes, len ) yyconst char *bytes; int len; #endif { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = len + 2; buf = (char *) yy_flex_alloc( n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < len; ++i ) buf[i] = bytes[i]; buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer( buf, n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #endif #ifndef YY_NO_PUSH_STATE #ifdef YY_USE_PROTOS static void yy_push_state( int new_state ) #else static void yy_push_state( new_state ) int new_state; #endif { if ( yy_start_stack_ptr >= yy_start_stack_depth ) { yy_size_t new_size; yy_start_stack_depth += YY_START_STACK_INCR; new_size = yy_start_stack_depth * sizeof( int ); if ( ! yy_start_stack ) yy_start_stack = (int *) yy_flex_alloc( new_size ); else yy_start_stack = (int *) yy_flex_realloc( (void *) yy_start_stack, new_size ); if ( ! yy_start_stack ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } yy_start_stack[yy_start_stack_ptr++] = YY_START; BEGIN(new_state); } #endif #ifndef YY_NO_POP_STATE static void yy_pop_state() { if ( --yy_start_stack_ptr < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN(yy_start_stack[yy_start_stack_ptr]); } #endif #ifndef YY_NO_TOP_STATE static int yy_top_state() { return yy_start_stack[yy_start_stack_ptr - 1]; } #endif #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif #ifdef YY_USE_PROTOS static void yy_fatal_error( yyconst char msg[] ) #else static void yy_fatal_error( msg ) char msg[]; #endif { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ yytext[yyleng] = yy_hold_char; \ yy_c_buf_p = yytext + n; \ yy_hold_char = *yy_c_buf_p; \ *yy_c_buf_p = '\0'; \ yyleng = n; \ } \ while ( 0 ) /* Internal utility routines. */ #ifndef yytext_ptr #ifdef YY_USE_PROTOS static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) #else static void yy_flex_strncpy( s1, s2, n ) char *s1; yyconst char *s2; int n; #endif { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN #ifdef YY_USE_PROTOS static int yy_flex_strlen( yyconst char *s ) #else static int yy_flex_strlen( s ) yyconst char *s; #endif { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif #ifdef YY_USE_PROTOS static void *yy_flex_alloc( yy_size_t size ) #else static void *yy_flex_alloc( size ) yy_size_t size; #endif { return (void *) malloc( size ); } #ifdef YY_USE_PROTOS static void *yy_flex_realloc( void *ptr, yy_size_t size ) #else static void *yy_flex_realloc( ptr, size ) void *ptr; yy_size_t size; #endif { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } #ifdef YY_USE_PROTOS static void yy_flex_free( void *ptr ) #else static void yy_flex_free( ptr ) void *ptr; #endif { free( ptr ); } #if YY_MAIN int main() { yylex(); return 0; } #endif #line 154 "../inilex.l" #include "io_stream.h" static io_stream *input_stream = 0; extern IniDBBuilder *iniBuilder; static IniParseFeedback *iniFeedback; void ini_init(io_stream *stream, IniDBBuilder *aBuilder, IniParseFeedback &aFeedback) { input_stream = stream; iniBuilder = aBuilder; iniFeedback = &aFeedback; YY_FLUSH_BUFFER; yylineno = 1; } static int ini_getchar(char *buf, int max_size) { if (input_stream) { ssize_t len = input_stream->read (buf, max_size); if (len < 1) { len = 0; input_stream = 0; } else iniFeedback->progress (input_stream->tell(), input_stream->get_size()); return len; } return 0; } static void ignore_line () { char c; while ((c = yyinput ())) { if (c == EOF) return; if (c == '\n') return; } } int yybol () { return !!YY_AT_BOL (); }