#define yy_create_buffer __regina_create_buffer #define yy_delete_buffer __regina_delete_buffer #define yy_scan_buffer __regina_scan_buffer #define yy_scan_string __regina_scan_string #define yy_scan_bytes __regina_scan_bytes #define yy_flex_debug __regina_flex_debug #define yy_init_buffer __regina_init_buffer #define yy_flush_buffer __regina_flush_buffer #define yy_load_buffer_state __regina_load_buffer_state #define yy_switch_to_buffer __regina_switch_to_buffer #define yyin __reginain #define yyleng __reginaleng #define yylex __reginalex #define yyout __reginaout #define yyrestart __reginarestart #define yytext __reginatext #define yywrap __reginawrap #line 20 "./lexsrc.c" /* A lexical scanner generated by flex */ /* This skeleton will only work with versions of flex prior to 2.5.33 (at least). * Known to work with flex v2.5.4a */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 4 #include #line 15 "flex.skl" /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ #ifdef c_plusplus #ifndef __cplusplus #define __cplusplus #endif #endif #ifdef __cplusplus #include #line 33 "flex.skl" #include /* 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 101000 typedef struct yy_buffer_state *YY_BUFFER_STATE; extern int yyleng; #line 112 "flex.skl" extern FILE *yyin, *yyout; #line 115 "flex.skl" #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 { #line 160 "flex.skl" FILE *yy_input_file; #line 166 "flex.skl" 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 }; #line 222 "flex.skl" static YY_BUFFER_STATE yy_current_buffer = 0; #line 225 "flex.skl" /* 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 #line 235 "flex.skl" /* 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 )); #line 268 "flex.skl" 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 typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern char *yytext; #define yytext_ptr yytext #line 293 "flex.skl" #line 296 "flex.skl" 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[] )); #line 302 "flex.skl" /* 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; #line 314 "flex.skl" #line 315 "flex.skl" #define YY_NUM_RULES 144 #define YY_END_OF_BUFFER 145 static yyconst short int yy_acclist[1357] = { 0, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 145, 143, 144, 33, 140, 143, 144, 3, 144, 33, 140, 143, 144, 109, 143, 144, 141, 143, 144, 117, 143, 144, 120, 143, 144, 141, 143, 144, 112, 143, 144, 111, 143, 144, 118, 143, 144, 115, 143, 144, 113, 143, 144, 114, 143, 144, 34, 108, 143, 144, 116, 143, 144, 105, 108, 143, 144, 142, 143, 144, 3, 143, 144, 131, 143, 144, 121, 143, 144, 129, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 122, 143, 144, 1, 33, 143, 144, 119, 143, 144, 33, 140, 143, 144, 33, 140, 143, 144, 109, 143, 144, 141, 143, 144, 141, 143, 144, 34, 108, 143, 144, 105, 108, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 1, 33, 143, 144, 33, 140, 143, 144, 33, 140, 143, 144, 109, 143, 144, 109, 143, 144, 1, 33, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 34, 108, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 33, 140, 143, 144, 33, 140, 143, 144, 109, 143, 144, 1, 33, 143, 144, 33, 140, 143, 144, 33, 140, 143, 144, 68, 109, 143, 144, 34, 68, 108, 143, 144, 68, 105, 108, 143, 144, 68, 109, 143, 144, 68, 109, 143, 144, 68, 109, 143, 144, 68, 109, 143, 144, 68, 109, 143, 144, 68, 109, 143, 144, 1, 33, 143, 144, 33, 140, 143, 144, 2, 3, 144, 33, 140, 143, 144, 2, 3, 143, 144, 1, 33, 143, 144, 109, 143, 144, 109, 143, 144, 109, 143, 144, 33, 140, 3, 33, 140, 117, 120, 111, 118, 115, 113, 114, 116, 131, 121, 129, 33, 140, 119, 3, 109, 109, 104, 117, 120, 137, 120, 104, 112, 118, 139, 118, 115, 113, 114, 108, 108, 108, 108, 110, 108, 110, 116, 136, 116, 106, 107, 108, 105, 108, 108, 131, 124, 132, 133, 131, 121, 134, 130, 121, 129, 123, 129, 92, 109, 109, 91, 109, 109, 109, 109, 122, 130, 133, 132, 122, 33, 140, 33, 140, 1, 33, 119, 119, 138, 33, 140, 33, 140, 33, 140, 109, 109, 98, 36, 104, 104, 108, 108, 108, 35, 108, 110, 108, 110, 106, 107, 106, 107, 106, 107, 106, 107, 106, 107, 106, 107, 108, 106, 107, 105, 108, 98, 106, 107, 35, 106, 107, 108, 106, 107, 109, 109, 92, 109, 109, 8, 109, 109, 109, 109, 109, 109, 12, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 91, 109, 109, 109, 109, 109, 109, 33, 140, 33, 140, 1, 33, 33, 140, 33, 140, 33, 140, 109, 58, 109, 109, 33, 140, 33, 140, 1, 33, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 97, 108, 110, 108, 110, 92, 109, 109, 91, 109, 109, 109, 109, 33, 140, 33, 140, 33, 140, 109, 33, 140, 33, 140, 1, 33, 33, 140, 33, 140, 68, 68, 68, 68, 33, 140, 68, 68, 109, 68, 109, 68, 108, 68, 108, 68, 108, 68, 108, 110, 68, 108, 110, 68, 106, 107, 68, 108, 68, 105, 108, 68, 108, 68, 92, 109, 68, 109, 68, 91, 109, 68, 109, 68, 109, 68, 109, 68, 109, 33, 140, 33, 140, 1, 33, 33, 140, 2, 3, 33, 140, 33, 140, 2, 3, 33, 140, 33, 140, 1, 33, 109, 109, 109, 104, 104, 104, 137, 104, 104, 104, 139, 107, 108, 110, 136, 108, 108, 124, 128, 124, 132, 133, 134, 130, 123, 127, 123, 92, 93, 109, 91, 109, 109, 109, 130, 126, 129, 133, 135, 131, 132, 125, 138, 46, 52, 42, 38, 40, 44, 98, 36, 50, 104, 104, 104, 104, 104, 104, 45, 51, 41, 37, 39, 43, 107, 107, 107, 107, 107, 107, 107, 98, 107, 35, 107, 107, 35, 108, 110, 49, 108, 108, 109, 6, 109, 92, 109, 8, 109, 109, 32, 109, 109, 93, 109, 12, 109, 109, 109, 17, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 25, 109, 109, 109, 109, 91, 109, 109, 109, 109, 109, 109, 59, 109, 58, 109, 109, 109, 109, 109, 109, 109, 109, 109, 73, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 80, 109, 109, 109, 93, 109, 109, 96, 108, 110, 92, 93, 109, 91, 109, 109, 109, 109, 68, 68, 68, 68, 68, 68, 68, 109, 68, 109, 68, 108, 68, 108, 68, 107, 68, 108, 110, 68, 108, 110, 68, 108, 68, 108, 68, 92, 68, 93, 109, 68, 91, 68, 109, 68, 109, 68, 109, 68, 109, 109, 109, 109, 100, 102, 103, 102, 101, 103, 101, 108, 110, 128, 127, 93, 109, 109, 84, 109, 126, 135, 125, 46, 54, 52, 42, 38, 40, 48, 44, 50, 56, 99, 45, 53, 51, 41, 37, 39, 47, 43, 108, 110, 49, 55, 109, 6, 7, 109, 9, 109, 10, 109, 32, 11, 109, 93, 109, 109, 109, 17, 109, 109, 109, 109, 109, 21, 109, 22, 109, 109, 109, 25, 109, 109, 82, 109, 109, 109, 109, 30, 109, 109, 84, 109, 59, 109, 109, 109, 62, 109, 109, 109, 109, 109, 109, 73, 109, 109, 109, 109, 109, 75, 109, 109, 109, 109, 80, 109, 109, 86, 109, 89, 109, 108, 110, 93, 109, 109, 109, 84, 109, 83, 109, 68, 68, 68, 68, 68, 108, 110, 68, 93, 68, 109, 68, 109, 68, 109, 68, 84, 109, 60, 109, 109, 109, 84, 103, 108, 110, 95, 109, 94, 109, 84, 82, 54, 48, 56, 99, 53, 47, 108, 110, 55, 109, 7, 9, 10, 11, 109, 109, 15, 109, 109, 109, 109, 19, 109, 109, 21, 22, 23, 109, 109, 109, 109, 82, 28, 109, 95, 109, 29, 109, 30, 94, 109, 84, 57, 109, 61, 109, 109, 62, 109, 109, 109, 109, 109, 109, 109, 109, 71, 109, 109, 75, 109, 70, 109, 81, 109, 109, 109, 86, 89, 108, 110, 109, 95, 109, 94, 109, 84, 83, 83, 68, 68, 84, 68, 108, 110, 68, 95, 109, 57, 68, 109, 68, 94, 109, 68, 84, 60, 109, 109, 4, 95, 94, 82, 4, 4, 4, 4, 4, 4, 4, 4, 98, 4, 35, 4, 109, 109, 109, 15, 109, 109, 109, 19, 109, 23, 24, 109, 26, 109, 27, 109, 28, 95, 29, 94, 57, 57, 61, 109, 109, 109, 109, 66, 109, 69, 109, 109, 109, 78, 109, 71, 109, 76, 109, 70, 81, 109, 85, 109, 4, 4, 96, 109, 95, 94, 57, 68, 4, 68, 68, 95, 57, 68, 68, 94, 109, 109, 5, 109, 109, 14, 109, 18, 109, 16, 109, 109, 109, 24, 26, 27, 65, 109, 109, 109, 63, 109, 66, 69, 109, 109, 78, 74, 109, 76, 79, 109, 85, 90, 109, 109, 109, 5, 109, 14, 18, 16, 109, 109, 65, 109, 64, 109, 63, 72, 109, 77, 109, 74, 79, 90, 109, 109, 13, 109, 31, 109, 20, 109, 109, 64, 72, 77, 109, 109, 13, 31, 20, 67, 109, 109, 87, 109, 67, 88, 109, 87, 88 } ; static yyconst short int yy_accept[993] = { 0, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 62, 64, 68, 70, 74, 77, 80, 83, 86, 89, 92, 95, 98, 101, 104, 107, 111, 114, 118, 121, 124, 127, 130, 133, 136, 139, 142, 145, 148, 151, 155, 158, 162, 166, 169, 172, 175, 179, 183, 186, 189, 192, 195, 198, 201, 204, 207, 210, 213, 216, 219, 222, 225, 228, 231, 234, 238, 242, 246, 249, 252, 256, 259, 262, 265, 268, 271, 274, 277, 280, 283, 286, 289, 292, 295, 298, 301, 304, 307, 310, 313, 317, 320, 323, 326, 329, 332, 336, 340, 343, 347, 351, 355, 359, 364, 369, 373, 377, 381, 385, 389, 393, 397, 401, 404, 408, 412, 416, 419, 422, 425, 427, 428, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 441, 441, 443, 444, 445, 446, 447, 447, 448, 448, 448, 449, 450, 451, 452, 452, 453, 453, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 465, 467, 468, 469, 470, 472, 473, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 490, 491, 493, 494, 495, 496, 497, 498, 499, 500, 501, 503, 505, 507, 508, 509, 510, 512, 514, 514, 516, 516, 517, 517, 517, 517, 517, 517, 518, 518, 519, 520, 520, 520, 521, 521, 521, 521, 522, 522, 522, 522, 523, 523, 523, 523, 523, 523, 524, 524, 525, 526, 528, 530, 530, 532, 534, 536, 538, 540, 542, 543, 545, 547, 550, 553, 554, 556, 557, 558, 560, 561, 563, 564, 565, 566, 567, 568, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 588, 589, 590, 591, 592, 593, 595, 597, 599, 601, 603, 603, 605, 606, 608, 609, 611, 613, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 636, 637, 638, 639, 641, 643, 645, 646, 648, 649, 650, 651, 653, 655, 655, 657, 658, 660, 662, 664, 666, 668, 669, 670, 671, 672, 674, 675, 677, 679, 681, 683, 685, 688, 691, 694, 696, 699, 701, 704, 706, 709, 711, 713, 715, 717, 719, 721, 723, 725, 727, 729, 731, 733, 735, 737, 739, 740, 741, 742, 742, 742, 743, 743, 743, 743, 744, 744, 744, 744, 745, 746, 747, 747, 748, 748, 748, 748, 749, 750, 751, 753, 754, 755, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 782, 782, 783, 783, 783, 784, 784, 785, 785, 786, 786, 787, 787, 787, 788, 789, 790, 790, 791, 791, 792, 792, 793, 793, 793, 793, 794, 795, 795, 796, 796, 796, 796, 797, 797, 798, 798, 798, 799, 799, 800, 800, 801, 801, 802, 802, 802, 803, 804, 805, 806, 807, 808, 809, 810, 812, 814, 815, 816, 818, 818, 819, 819, 820, 820, 820, 821, 822, 824, 825, 826, 827, 828, 829, 831, 832, 834, 835, 836, 837, 838, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 861, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 886, 887, 888, 890, 891, 891, 892, 894, 895, 897, 898, 899, 900, 901, 901, 902, 903, 904, 905, 906, 907, 908, 910, 912, 914, 916, 918, 921, 924, 926, 928, 930, 933, 935, 937, 939, 941, 943, 944, 945, 946, 946, 947, 947, 947, 949, 950, 952, 953, 953, 953, 953, 953, 953, 953, 953, 953, 955, 955, 956, 957, 958, 959, 960, 962, 963, 964, 965, 965, 966, 966, 967, 968, 969, 970, 971, 971, 972, 973, 974, 974, 975, 975, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 977, 977, 978, 979, 980, 981, 982, 982, 983, 984, 986, 987, 987, 988, 989, 990, 992, 994, 996, 997, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1011, 1013, 1014, 1015, 1016, 1017, 1018, 1020, 1021, 1022, 1023, 1025, 1026, 1028, 1028, 1029, 1030, 1031, 1032, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1055, 1057, 1059, 1060, 1061, 1062, 1063, 1065, 1065, 1067, 1068, 1069, 1070, 1071, 1074, 1076, 1078, 1080, 1082, 1085, 1087, 1088, 1089, 1090, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1093, 1095, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1104, 1105, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1117, 1118, 1119, 1120, 1122, 1123, 1124, 1125, 1127, 1128, 1129, 1130, 1131, 1133, 1135, 1137, 1138, 1140, 1141, 1141, 1143, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1157, 1158, 1159, 1160, 1162, 1164, 1165, 1166, 1167, 1168, 1170, 1171, 1173, 1175, 1176, 1177, 1178, 1179, 1181, 1184, 1187, 1190, 1193, 1195, 1196, 1197, 1198, 1198, 1198, 1198, 1198, 1199, 1200, 1201, 1202, 1202, 1202, 1202, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1211, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1226, 1228, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1243, 1245, 1246, 1247, 1249, 1250, 1251, 1253, 1254, 1255, 1256, 1258, 1259, 1261, 1262, 1263, 1264, 1266, 1268, 1270, 1272, 1274, 1275, 1276, 1276, 1276, 1276, 1276, 1278, 1279, 1281, 1283, 1285, 1286, 1287, 1288, 1289, 1290, 1292, 1293, 1294, 1296, 1297, 1298, 1299, 1300, 1301, 1303, 1304, 1306, 1307, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1322, 1323, 1325, 1327, 1328, 1329, 1330, 1331, 1332, 1334, 1336, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1349, 1350, 1352, 1353, 1355, 1356, 1357, 1357 } ; static yyconst int yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 6, 7, 8, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 22, 23, 24, 25, 26, 6, 8, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 1, 52, 1, 52, 6, 53, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 1, 54, 1, 52, 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, 52, 1, 52, 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[55] = { 0, 1, 2, 1, 2, 2, 3, 1, 3, 4, 4, 1, 5, 1, 4, 4, 1, 4, 3, 4, 6, 6, 4, 1, 1, 7, 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, 3, 1, 2, 4 } ; static yyconst short int yy_base[1037] = { 0, 0, 0, 54, 0, 107, 111, 86, 90, 1800, 1797, 138, 159, 0, 0, 0, 0, 96, 101, 206, 0, 136, 148, 260, 0, 313, 317, 1782, 1768, 321, 325, 1800, 6342, 377, 141, 0, 141, 425, 330, 344, 447, 355, 6342, 359, 409, 413, 417, 443, 431, 484, 6342, 537, 541, 545, 549, 152, 386, 419, 537, 543, 579, 583, 587, 604, 0, 656, 704, 726, 757, 811, 864, 89, 144, 298, 294, 345, 580, 105, 398, 552, 584, 570, 125, 591, 599, 312, 613, 633, 648, 0, 664, 670, 711, 684, 699, 722, 730, 870, 875, 879, 883, 888, 893, 901, 909, 913, 917, 925, 929, 933, 949, 972, 965, 1024, 126, 327, 141, 629, 977, 0, 978, 999, 1076, 0, 1003, 1129, 1182, 1015, 349, 355, 300, 87, 633, 1009, 1035, 1235, 0, 1239, 1243, 1030, 1118, 1043, 0, 1247, 0, 1251, 1255, 6342, 1259, 1264, 1270, 1274, 1278, 1285, 1289, 1320, 1756, 1138, 0, 1297, 1301, 451, 1049, 1759, 150, 1372, 1149, 1314, 1330, 1353, 1357, 1751, 399, 1409, 1156, 1364, 1380, 1393, 1403, 1414, 1419, 1423, 1055, 1150, 1476, 1437, 1497, 1502, 1457, 1461, 6342, 324, 0, 1157, 1518, 1522, 1466, 1507, 1529, 1533, 1544, 1548, 1559, 1563, 1568, 1572, 1590, 1369, 1576, 1308, 1414, 1430, 1594, 1598, 1602, 1628, 1632, 0, 0, 0, 1636, 1640, 1644, 0, 0, 1713, 0, 1696, 341, 1654, 1658, 1662, 1667, 1671, 404, 1712, 1718, 1722, 1728, 1736, 552, 1781, 1734, 1697, 432, 1812, 1740, 1843, 1896, 1753, 1759, 1768, 1772, 1790, 1949, 1801, 2003, 1785, 2056, 1669, 1825, 0, 1794, 1859, 1868, 1878, 1883, 403, 1918, 2110, 1872, 1887, 672, 1922, 556, 629, 1930, 669, 2135, 577, 601, 585, 738, 664, 2139, 678, 698, 935, 1300, 837, 918, 957, 862, 1241, 1016, 909, 1335, 1004, 1122, 1306, 1255, 2143, 945, 1439, 1345, 1317, 1511, 0, 0, 1926, 0, 0, 1653, 0, 1747, 1934, 1924, 0, 0, 1980, 1816, 1957, 2017, 1977, 1804, 1970, 2022, 2026, 2131, 2135, 2030, 2139, 2156, 2163, 2177, 2150, 2181, 2185, 2189, 2193, 2199, 2227, 1611, 1607, 6342, 2279, 1589, 2236, 99, 2240, 147, 619, 601, 0, 0, 1575, 0, 2228, 0, 0, 2249, 0, 0, 2253, 2258, 2303, 438, 0, 2262, 1519, 2308, 2315, 2337, 2390, 2443, 2495, 2290, 462, 2548, 2601, 2452, 366, 2464, 826, 1095, 695, 827, 0, 0, 2468, 2472, 2476, 0, 0, 2480, 0, 0, 2484, 2326, 2330, 2349, 1517, 2502, 2528, 1533, 1496, 2653, 2571, 2684, 2369, 2715, 2579, 2488, 2326, 2746, 2564, 2777, 2534, 2808, 2576, 2542, 6342, 2576, 2606, 2840, 903, 1350, 2637, 2641, 2645, 2665, 2673, 2705, 2719, 2727, 2736, 2758, 2781, 2893, 2897, 2432, 2615, 2490, 2901, 2905, 2909, 2913, 2917, 2925, 2930, 2938, 2943, 1442, 2518, 2947, 2789, 2798, 2955, 2959, 2963, 2967, 2971, 2977, 2983, 2993, 3001, 3005, 3009, 3015, 3023, 3027, 3035, 3079, 3131, 155, 3162, 2659, 3193, 1403, 533, 3224, 966, 3255, 2813, 3286, 1228, 3039, 3045, 3049, 3065, 3061, 3071, 3090, 3083, 3095, 3100, 3115, 3122, 3140, 3135, 3317, 3151, 3176, 3202, 3206, 3213, 3244, 3228, 3275, 3269, 3291, 3370, 3299, 3306, 3237, 3424, 3336, 3343, 1433, 3477, 3530, 3582, 519, 3535, 657, 517, 3542, 998, 3547, 3552, 889, 1224, 525, 3559, 1040, 679, 1207, 966, 709, 1136, 726, 737, 1098, 3563, 1211, 859, 873, 3567, 915, 1227, 1215, 941, 1372, 1112, 1111, 3572, 3576, 2679, 2750, 3092, 3154, 3216, 3334, 2360, 3247, 3590, 3613, 2675, 3601, 3606, 3613, 3620, 3625, 3629, 3634, 3638, 3659, 3649, 3653, 3673, 3662, 3685, 6342, 3737, 3693, 3789, 3697, 3841, 1407, 997, 1067, 3685, 3712, 3749, 3759, 3779, 3801, 1319, 3829, 3835, 3863, 3869, 3732, 3921, 3973, 4026, 4080, 3770, 3875, 3811, 3897, 981, 1548, 1146, 3888, 3806, 3893, 1053, 6342, 0, 1513, 6342, 6342, 6342, 6342, 4128, 4154, 4185, 3929, 4207, 4229, 4260, 3784, 3937, 1300, 3933, 3942, 3949, 3707, 3941, 3961, 3965, 4109, 4113, 1027, 4117, 3978, 4123, 4135, 4140, 4148, 4167, 3983, 4192, 4198, 4217, 3994, 4221, 4250, 4242, 4264, 4311, 4337, 4368, 4002, 4390, 4412, 4443, 4273, 4292, 4105, 4296, 4300, 4306, 4310, 4318, 4205, 4323, 4331, 4474, 4350, 4377, 4381, 1264, 4402, 4424, 4447, 4527, 4433, 4531, 4535, 1012, 1404, 1508, 4539, 963, 1473, 844, 1548, 1574, 4543, 4547, 1634, 827, 4551, 1431, 1588, 4555, 1639, 1547, 766, 4559, 1643, 4563, 698, 4567, 4147, 4372, 4439, 4571, 2735, 4211, 4573, 4601, 4330, 4577, 4597, 4593, 4605, 4611, 4617, 4637, 3995, 4625, 4630, 4651, 4644, 4159, 4665, 4669, 4721, 4678, 4773, 4825, 1647, 4682, 679, 4687, 4691, 4695, 1326, 1654, 1663, 4703, 1615, 1302, 1391, 4728, 4732, 4448, 4729, 4749, 6342, 4877, 660, 635, 4908, 604, 576, 4940, 4753, 4757, 4762, 4768, 4778, 4782, 4795, 4799, 4993, 559, 532, 5024, 422, 400, 4803, 4807, 5056, 4812, 1570, 4820, 4832, 4836, 4849, 1666, 1703, 4872, 1660, 1497, 1348, 4997, 1669, 4864, 5032, 5072, 1596, 1811, 1682, 5037, 5084, 5089, 5093, 5097, 5101, 5109, 367, 5114, 5118, 4837, 5124, 4997, 4843, 4870, 4657, 4900, 4985, 4875, 4991, 5129, 5120, 5143, 5138, 5147, 5159, 5152, 5158, 5179, 5183, 5236, 1697, 5289, 5293, 5297, 5301, 5305, 1698, 5310, 5363, 5316, 5355, 5379, 5339, 5351, 5173, 5177, 5431, 356, 5462, 327, 6342, 5389, 5393, 5401, 5493, 175, 5524, 143, 5555, 5201, 5205, 5209, 5323, 5327, 5405, 5416, 5421, 5445, 1737, 101, 1709, 5435, 1775, 1823, 1843, 5451, 1713, 5474, 5505, 5528, 5532, 5513, 5536, 5545, 5574, 5582, 5586, 5590, 5198, 5316, 5203, 5485, 5595, 5599, 5592, 4906, 5612, 5616, 5604, 5624, 5636, 5640, 5629, 5649, 5653, 6342, 1838, 5657, 5662, 5668, 5679, 5686, 5690, 5694, 5683, 5466, 5696, 5721, 5734, 5747, 5729, 1859, 5754, 5779, 5783, 1851, 67, 5707, 5733, 5787, 5791, 5780, 5784, 5804, 5808, 5812, 5803, 5809, 5833, 5837, 5846, 5850, 5854, 5858, 5846, 5850, 5870, 1864, 5874, 5879, 5883, 1898, 1950, 5889, 5423, 5896, 5900, 5904, 5908, 5912, 5916, 5920, 5908, 5913, 5933, 5942, 5950, 5938, 5958, 5962, 5966, 5957, 5963, 5985, 5995, 6000, 6004, 5992, 6012, 6016, 6022, 6026, 6030, 6342, 6081, 6087, 6094, 6099, 6104, 6111, 6118, 6124, 6129, 6134, 6139, 6143, 6148, 6154, 6159, 6164, 6169, 6174, 6179, 6185, 6192, 6199, 6206, 6211, 6217, 6224, 6230, 6236, 6242, 6247, 6252, 6257, 6262, 6267, 6272, 6278, 6285, 6292, 6297, 6303, 6310, 6317, 6323, 6329, 6335 } ; static yyconst short int yy_def[1037] = { 0, 991, 1, 991, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 991, 19, 1, 1, 991, 23, 1, 1, 1, 1, 1, 1, 991, 991, 991, 991, 33, 992, 993, 991, 991, 994, 991, 991, 991, 991, 991, 991, 995, 991, 991, 991, 991, 991, 991, 991, 992, 992, 992, 992, 992, 991, 33, 991, 33, 63, 996, 997, 998, 991, 991, 996, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 63, 33, 88, 992, 992, 88, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 999, 1000, 999, 113, 113, 113, 113, 33, 118, 992, 118, 991, 122, 1001, 1002, 991, 1001, 127, 127, 127, 127, 127, 122, 118, 991, 134, 991, 134, 992, 992, 992, 33, 991, 33, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 33, 991, 991, 992, 992, 993, 991, 993, 165, 991, 991, 991, 991, 994, 991, 994, 173, 991, 991, 991, 991, 991, 991, 991, 1003, 1003, 49, 995, 995, 991, 991, 991, 991, 184, 49, 1003, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 992, 992, 206, 992, 992, 992, 991, 991, 991, 991, 991, 33, 33, 61, 991, 991, 991, 63, 63, 991, 63, 991, 70, 991, 991, 991, 991, 991, 70, 991, 991, 991, 991, 997, 991, 997, 241, 998, 991, 998, 245, 991, 1004, 991, 991, 991, 991, 991, 1004, 991, 254, 991, 991, 258, 991, 247, 991, 991, 991, 991, 991, 256, 991, 256, 991, 991, 254, 991, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 63, 63, 63, 88, 88, 991, 88, 992, 206, 992, 88, 88, 88, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 991, 113, 113, 991, 1000, 345, 113, 113, 113, 113, 113, 113, 118, 118, 991, 118, 992, 118, 118, 118, 122, 122, 1005, 1006, 1005, 365, 122, 991, 127, 1007, 1008, 1009, 991, 1010, 1010, 991, 373, 373, 1008, 127, 127, 127, 127, 127, 127, 127, 122, 122, 122, 118, 991, 390, 390, 991, 390, 390, 390, 992, 992, 992, 991, 991, 991, 1011, 1012, 1013, 991, 1013, 408, 408, 991, 991, 991, 1014, 991, 1014, 416, 416, 991, 991, 991, 1015, 991, 991, 991, 424, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 206, 991, 992, 992, 992, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 1016, 472, 1016, 475, 475, 472, 472, 1017, 479, 1017, 482, 482, 479, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 515, 991, 519, 991, 519, 521, 519, 519, 519, 519, 519, 521, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 521, 519, 519, 519, 519, 519, 519, 991, 206, 991, 992, 992, 992, 992, 992, 992, 992, 992, 992, 206, 992, 992, 992, 992, 992, 992, 992, 992, 992, 206, 992, 992, 206, 992, 991, 991, 1018, 991, 1019, 991, 1019, 587, 587, 991, 992, 1020, 1021, 1021, 1022, 1020, 596, 1023, 1023, 1024, 1024, 991, 1025, 1025, 991, 601, 991, 1026, 991, 1026, 610, 610, 610, 992, 992, 992, 991, 991, 1027, 991, 991, 991, 991, 991, 1028, 1028, 1028, 627, 1029, 1029, 1029, 631, 1030, 1031, 991, 991, 991, 992, 992, 206, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 1032, 1032, 1032, 663, 1033, 1033, 1033, 667, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 519, 521, 519, 519, 519, 521, 519, 521, 519, 519, 519, 521, 519, 519, 519, 519, 519, 519, 519, 519, 519, 521, 519, 519, 519, 519, 519, 519, 519, 519, 519, 991, 991, 992, 992, 992, 206, 992, 992, 992, 992, 992, 991, 992, 992, 992, 992, 992, 206, 992, 992, 992, 991, 992, 992, 206, 206, 1034, 991, 1035, 1035, 743, 743, 991, 206, 1036, 1036, 596, 596, 604, 991, 610, 610, 610, 610, 206, 992, 992, 991, 991, 627, 763, 627, 631, 766, 631, 991, 206, 206, 991, 991, 991, 991, 991, 991, 663, 778, 663, 667, 781, 667, 991, 991, 679, 991, 519, 521, 521, 521, 521, 519, 519, 519, 519, 519, 519, 519, 519, 521, 521, 519, 519, 519, 519, 521, 519, 519, 519, 521, 519, 521, 991, 206, 206, 992, 991, 992, 992, 992, 992, 992, 992, 992, 992, 206, 992, 991, 992, 206, 206, 992, 992, 991, 991, 991, 743, 743, 743, 991, 991, 991, 596, 596, 604, 610, 610, 610, 991, 991, 992, 992, 627, 627, 631, 631, 991, 991, 991, 991, 663, 663, 667, 667, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 519, 519, 519, 521, 519, 519, 519, 521, 519, 521, 519, 519, 519, 521, 521, 521, 521, 991, 991, 991, 992, 992, 992, 992, 206, 206, 992, 992, 206, 991, 992, 206, 991, 991, 992, 206, 991, 991, 743, 991, 991, 596, 991, 991, 991, 991, 992, 992, 627, 631, 663, 667, 519, 519, 519, 519, 519, 519, 519, 521, 521, 521, 206, 992, 992, 206, 991, 991, 992, 992, 991, 206, 991, 206, 991, 743, 992, 992, 521, 519, 521, 521, 521, 519, 519, 991, 992, 206, 991, 206, 206, 991, 991, 991, 992, 992, 519, 519, 519, 992, 991, 991, 991, 992, 992, 521, 521, 521, 206, 992, 206, 991, 206, 991, 991, 0, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991 } ; static yyconst short int yy_nxt[6397] = { 0, 32, 33, 34, 33, 35, 36, 37, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 49, 50, 51, 52, 53, 54, 36, 55, 36, 36, 36, 56, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 57, 58, 36, 59, 36, 36, 36, 60, 61, 62, 32, 63, 34, 63, 64, 65, 66, 65, 38, 39, 67, 41, 42, 43, 44, 45, 46, 68, 48, 69, 69, 50, 51, 52, 53, 54, 70, 71, 72, 73, 74, 75, 65, 65, 76, 65, 77, 65, 78, 79, 80, 81, 82, 83, 84, 85, 65, 86, 65, 65, 65, 60, 87, 62, 88, 960, 88, 89, 88, 384, 88, 89, 93, 94, 228, 95, 93, 94, 96, 95, 97, 109, 96, 110, 97, 98, 109, 228, 110, 98, 228, 287, 369, 118, 276, 118, 119, 585, 160, 929, 160, 160, 90, 228, 342, 118, 90, 118, 119, 91, 228, 296, 163, 91, 162, 92, 162, 162, 865, 92, 100, 348, 101, 228, 102, 162, 277, 162, 162, 228, 103, 342, 104, 404, 105, 350, 120, 106, 404, 107, 108, 100, 228, 101, 121, 102, 342, 587, 120, 160, 863, 103, 342, 104, 405, 105, 121, 206, 106, 405, 107, 108, 32, 33, 34, 33, 35, 111, 37, 111, 38, 39, 40, 41, 42, 43, 44, 45, 46, 112, 48, 49, 49, 50, 51, 52, 53, 54, 111, 113, 111, 111, 111, 114, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 115, 116, 111, 117, 111, 111, 111, 60, 61, 62, 32, 122, 34, 122, 123, 124, 37, 124, 38, 39, 40, 41, 42, 43, 44, 45, 46, 125, 48, 126, 126, 50, 51, 52, 53, 54, 124, 127, 124, 124, 124, 128, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 129, 130, 131, 132, 124, 124, 124, 60, 133, 62, 134, 135, 134, 136, 134, 135, 134, 136, 88, 228, 88, 89, 88, 228, 88, 89, 280, 167, 281, 167, 167, 137, 228, 278, 383, 137, 279, 228, 282, 424, 424, 168, 857, 168, 168, 369, 303, 140, 304, 169, 228, 140, 175, 120, 175, 175, 176, 120, 176, 176, 141, 138, 349, 91, 141, 138, 228, 91, 177, 92, 228, 855, 342, 92, 142, 143, 142, 144, 167, 228, 283, 145, 146, 228, 381, 147, 148, 149, 150, 151, 382, 152, 170, 893, 369, 143, 153, 154, 155, 162, 369, 162, 162, 175, 608, 171, 179, 178, 179, 179, 180, 369, 180, 180, 181, 865, 181, 181, 515, 515, 156, 207, 404, 228, 157, 158, 159, 164, 187, 228, 187, 187, 162, 288, 162, 162, 228, 666, 243, 289, 165, 166, 228, 405, 182, 188, 182, 166, 166, 166, 166, 166, 166, 172, 208, 404, 183, 179, 184, 184, 592, 180, 173, 174, 162, 181, 162, 162, 597, 174, 174, 174, 174, 174, 174, 186, 405, 605, 605, 189, 190, 190, 190, 190, 190, 182, 190, 182, 190, 190, 190, 190, 190, 190, 190, 190, 190, 191, 190, 192, 192, 190, 190, 190, 190, 190, 182, 182, 182, 182, 193, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 190, 190, 190, 160, 991, 160, 160, 194, 243, 194, 194, 199, 687, 199, 199, 203, 863, 203, 203, 162, 685, 162, 162, 239, 228, 162, 228, 162, 162, 195, 196, 197, 228, 196, 200, 201, 693, 197, 201, 204, 209, 210, 211, 662, 404, 212, 228, 212, 212, 217, 519, 217, 218, 220, 160, 220, 220, 290, 198, 228, 857, 291, 202, 228, 228, 405, 205, 213, 214, 215, 223, 228, 223, 224, 228, 292, 284, 228, 228, 526, 295, 524, 297, 285, 228, 228, 298, 228, 630, 286, 299, 293, 228, 228, 294, 228, 216, 300, 228, 307, 219, 307, 308, 301, 221, 222, 302, 228, 228, 525, 589, 305, 306, 225, 310, 342, 310, 311, 588, 855, 228, 226, 227, 228, 227, 227, 520, 351, 352, 229, 230, 385, 386, 342, 231, 232, 228, 233, 234, 235, 234, 234, 236, 342, 626, 237, 162, 369, 162, 162, 309, 516, 162, 517, 162, 162, 518, 518, 228, 312, 314, 316, 686, 228, 228, 313, 162, 315, 162, 162, 522, 528, 228, 227, 238, 240, 228, 317, 696, 317, 318, 162, 842, 162, 162, 228, 228, 530, 241, 242, 321, 320, 228, 531, 612, 242, 242, 242, 242, 242, 242, 244, 699, 207, 162, 228, 162, 162, 814, 369, 245, 246, 162, 322, 162, 162, 228, 246, 246, 246, 246, 246, 246, 247, 701, 247, 247, 248, 319, 248, 249, 250, 228, 228, 323, 251, 252, 527, 253, 254, 255, 256, 256, 236, 228, 228, 257, 702, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 259, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 810, 247, 260, 190, 261, 190, 261, 261, 248, 190, 248, 262, 263, 190, 190, 190, 264, 265, 190, 266, 267, 268, 269, 269, 270, 190, 190, 271, 190, 248, 248, 248, 248, 272, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 190, 261, 273, 227, 228, 227, 227, 804, 610, 613, 229, 230, 534, 369, 369, 231, 232, 228, 233, 234, 235, 234, 234, 236, 798, 162, 237, 162, 162, 228, 162, 274, 162, 162, 162, 706, 162, 162, 162, 228, 162, 162, 537, 162, 275, 162, 162, 324, 162, 707, 162, 162, 328, 228, 227, 238, 162, 691, 162, 162, 634, 634, 325, 327, 162, 326, 162, 162, 162, 228, 162, 162, 162, 330, 162, 162, 228, 541, 331, 329, 162, 708, 162, 162, 162, 228, 162, 162, 162, 228, 162, 162, 332, 336, 334, 228, 333, 337, 228, 532, 535, 209, 228, 335, 162, 338, 162, 162, 182, 548, 182, 341, 228, 341, 341, 228, 353, 711, 353, 354, 183, 228, 184, 184, 228, 228, 339, 343, 536, 343, 343, 404, 340, 162, 344, 162, 162, 228, 358, 346, 358, 359, 368, 796, 368, 368, 228, 698, 387, 357, 387, 388, 405, 369, 368, 208, 368, 368, 370, 355, 370, 370, 341, 341, 755, 341, 341, 356, 745, 342, 370, 228, 370, 370, 390, 391, 390, 392, 228, 343, 689, 343, 343, 228, 228, 162, 344, 162, 162, 360, 539, 543, 793, 368, 398, 391, 228, 540, 162, 389, 162, 162, 380, 773, 162, 368, 162, 162, 695, 400, 183, 347, 183, 183, 341, 361, 143, 361, 362, 363, 228, 363, 145, 146, 761, 393, 147, 148, 149, 150, 151, 364, 152, 364, 364, 746, 143, 153, 154, 155, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 365, 366, 363, 363, 363, 157, 367, 159, 368, 611, 368, 368, 371, 162, 371, 162, 162, 402, 228, 402, 402, 703, 369, 713, 372, 714, 373, 373, 410, 228, 410, 410, 228, 411, 399, 418, 544, 418, 418, 213, 214, 215, 228, 375, 419, 183, 409, 183, 183, 425, 700, 425, 183, 417, 426, 426, 228, 757, 369, 368, 190, 376, 190, 376, 376, 371, 190, 371, 190, 190, 190, 190, 190, 190, 190, 190, 190, 377, 190, 378, 378, 190, 190, 190, 190, 190, 371, 371, 371, 371, 379, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 190, 376, 190, 394, 697, 394, 394, 394, 705, 394, 394, 395, 710, 395, 396, 160, 228, 160, 160, 167, 228, 167, 167, 168, 228, 168, 168, 176, 709, 176, 176, 169, 179, 692, 179, 179, 228, 228, 180, 177, 180, 180, 181, 405, 181, 181, 187, 538, 187, 187, 228, 228, 546, 194, 394, 194, 194, 199, 394, 199, 199, 788, 397, 188, 228, 220, 160, 220, 220, 160, 167, 160, 160, 228, 170, 195, 196, 197, 178, 196, 200, 201, 167, 179, 167, 167, 634, 634, 203, 180, 203, 203, 162, 181, 162, 162, 228, 189, 168, 848, 168, 168, 228, 369, 198, 545, 169, 533, 202, 228, 197, 201, 204, 228, 551, 228, 221, 222, 552, 440, 160, 412, 592, 412, 412, 170, 228, 170, 170, 592, 751, 228, 175, 167, 175, 175, 426, 426, 844, 205, 406, 228, 406, 406, 228, 407, 542, 182, 176, 170, 176, 176, 550, 162, 228, 162, 162, 228, 408, 409, 177, 420, 882, 420, 420, 409, 409, 409, 409, 409, 409, 178, 412, 178, 178, 712, 170, 414, 438, 414, 414, 228, 179, 175, 179, 179, 415, 180, 849, 180, 180, 181, 369, 181, 181, 416, 417, 794, 162, 178, 162, 162, 417, 417, 417, 417, 417, 417, 342, 182, 744, 182, 420, 228, 162, 441, 162, 162, 405, 518, 518, 183, 178, 183, 183, 423, 805, 423, 423, 189, 248, 189, 189, 179, 430, 228, 430, 430, 180, 644, 228, 442, 181, 421, 421, 421, 421, 421, 228, 421, 549, 421, 421, 421, 421, 421, 421, 421, 421, 421, 183, 421, 184, 184, 421, 421, 421, 421, 421, 182, 187, 182, 187, 187, 624, 431, 423, 431, 431, 797, 189, 183, 228, 183, 183, 430, 194, 188, 194, 194, 427, 618, 427, 427, 421, 421, 421, 198, 422, 198, 198, 199, 881, 199, 199, 795, 228, 228, 195, 196, 197, 622, 432, 428, 432, 432, 433, 228, 433, 433, 228, 189, 553, 196, 200, 201, 431, 202, 617, 202, 202, 203, 620, 203, 203, 369, 434, 198, 434, 434, 205, 429, 205, 205, 439, 799, 439, 439, 198, 369, 809, 756, 202, 197, 201, 204, 228, 228, 437, 435, 437, 437, 212, 432, 212, 212, 443, 433, 443, 443, 446, 800, 446, 446, 162, 590, 162, 162, 202, 228, 876, 806, 205, 228, 213, 214, 215, 436, 444, 445, 583, 205, 445, 447, 448, 439, 449, 228, 449, 449, 216, 886, 216, 216, 220, 228, 220, 220, 221, 437, 221, 221, 451, 216, 451, 451, 369, 433, 847, 448, 450, 431, 453, 342, 453, 453, 455, 342, 455, 455, 458, 803, 458, 458, 456, 460, 808, 460, 460, 462, 812, 462, 462, 228, 840, 454, 554, 430, 228, 457, 342, 216, 228, 459, 845, 221, 222, 592, 461, 221, 846, 880, 463, 451, 227, 884, 227, 227, 603, 228, 511, 229, 230, 877, 479, 228, 231, 232, 228, 233, 464, 235, 464, 464, 236, 888, 467, 237, 467, 467, 468, 228, 468, 468, 914, 917, 469, 465, 469, 469, 342, 592, 477, 466, 477, 477, 930, 478, 484, 472, 484, 484, 228, 452, 878, 227, 238, 485, 228, 470, 476, 486, 228, 486, 486, 934, 483, 488, 413, 488, 488, 162, 403, 162, 162, 489, 491, 467, 491, 491, 493, 468, 493, 493, 487, 555, 228, 928, 471, 473, 490, 473, 473, 510, 474, 510, 510, 401, 495, 492, 495, 495, 486, 494, 486, 486, 991, 475, 476, 497, 931, 497, 497, 139, 476, 476, 476, 476, 476, 476, 480, 496, 480, 480, 228, 487, 498, 139, 162, 481, 162, 162, 499, 512, 99, 512, 512, 99, 482, 483, 162, 991, 162, 162, 510, 483, 483, 483, 483, 483, 483, 247, 991, 247, 247, 562, 513, 563, 249, 250, 228, 991, 887, 251, 252, 558, 253, 488, 255, 488, 488, 236, 228, 932, 257, 489, 491, 991, 491, 491, 467, 342, 467, 467, 933, 514, 493, 951, 493, 493, 490, 495, 228, 495, 495, 510, 955, 510, 510, 492, 228, 959, 247, 260, 247, 991, 247, 247, 228, 494, 991, 249, 250, 228, 496, 972, 251, 252, 991, 253, 254, 255, 254, 254, 236, 991, 497, 257, 497, 497, 512, 467, 512, 512, 307, 973, 307, 308, 521, 991, 521, 521, 556, 498, 556, 556, 510, 228, 162, 499, 162, 162, 991, 513, 991, 247, 260, 247, 991, 247, 247, 991, 991, 991, 249, 250, 228, 557, 991, 251, 252, 991, 253, 254, 255, 254, 254, 236, 991, 228, 257, 162, 514, 162, 162, 309, 991, 974, 317, 521, 317, 318, 991, 556, 162, 991, 162, 162, 559, 228, 991, 162, 991, 162, 162, 991, 991, 991, 247, 260, 421, 500, 421, 500, 500, 564, 421, 991, 501, 502, 421, 421, 421, 503, 504, 421, 505, 561, 506, 256, 256, 507, 421, 421, 508, 421, 991, 991, 991, 319, 272, 162, 991, 162, 162, 991, 162, 991, 162, 162, 162, 991, 162, 162, 162, 991, 162, 162, 991, 991, 560, 421, 500, 509, 247, 566, 247, 247, 248, 565, 248, 249, 250, 991, 991, 569, 251, 252, 991, 253, 254, 255, 254, 254, 236, 991, 991, 257, 991, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 991, 247, 260, 190, 261, 190, 261, 261, 991, 190, 991, 262, 263, 190, 190, 190, 264, 265, 190, 266, 267, 268, 269, 269, 270, 190, 190, 271, 190, 523, 991, 523, 523, 529, 991, 529, 529, 547, 991, 547, 547, 162, 991, 162, 162, 162, 991, 162, 162, 162, 991, 162, 162, 991, 190, 261, 273, 228, 991, 991, 162, 228, 162, 162, 991, 228, 162, 567, 162, 162, 228, 991, 568, 162, 228, 162, 162, 991, 228, 570, 523, 991, 991, 574, 529, 991, 571, 162, 547, 162, 162, 162, 572, 162, 162, 162, 991, 162, 162, 162, 991, 162, 162, 162, 991, 162, 162, 991, 991, 162, 575, 162, 162, 991, 578, 573, 576, 991, 991, 991, 577, 341, 991, 341, 341, 991, 991, 991, 579, 991, 584, 991, 584, 584, 586, 991, 586, 586, 162, 991, 162, 162, 580, 358, 344, 358, 359, 368, 991, 368, 368, 591, 368, 991, 368, 368, 368, 991, 368, 368, 991, 991, 991, 593, 991, 593, 593, 991, 595, 991, 595, 595, 341, 581, 991, 581, 581, 182, 342, 182, 991, 584, 342, 991, 368, 586, 368, 368, 991, 183, 991, 183, 183, 991, 360, 991, 582, 368, 368, 368, 368, 991, 368, 368, 368, 368, 991, 368, 991, 368, 991, 368, 368, 593, 991, 593, 593, 991, 599, 991, 599, 599, 596, 991, 581, 601, 991, 601, 601, 171, 618, 368, 991, 368, 368, 368, 162, 991, 162, 162, 162, 991, 162, 162, 991, 991, 619, 372, 368, 372, 372, 991, 991, 368, 991, 615, 614, 991, 991, 162, 368, 162, 162, 410, 991, 410, 410, 619, 411, 991, 162, 620, 162, 162, 991, 991, 616, 991, 991, 722, 991, 628, 368, 421, 602, 421, 602, 602, 371, 421, 371, 421, 421, 421, 421, 421, 421, 421, 421, 421, 372, 421, 373, 373, 421, 421, 421, 421, 421, 371, 371, 371, 371, 379, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 421, 602, 421, 368, 991, 368, 368, 600, 162, 600, 162, 162, 607, 991, 607, 607, 991, 991, 991, 601, 991, 601, 601, 991, 609, 638, 609, 609, 387, 991, 387, 388, 390, 391, 390, 392, 394, 991, 394, 394, 394, 991, 394, 394, 395, 991, 395, 396, 412, 991, 412, 412, 991, 391, 368, 368, 991, 368, 368, 600, 369, 600, 402, 607, 402, 402, 162, 991, 162, 162, 991, 601, 369, 601, 601, 609, 991, 991, 453, 389, 453, 453, 640, 393, 213, 214, 215, 394, 604, 991, 991, 394, 991, 163, 418, 397, 418, 418, 618, 412, 991, 454, 420, 419, 420, 420, 368, 190, 376, 190, 376, 376, 632, 190, 619, 190, 190, 190, 190, 190, 190, 190, 190, 190, 377, 190, 378, 378, 190, 190, 190, 190, 190, 171, 618, 619, 163, 991, 991, 620, 182, 618, 182, 991, 163, 171, 618, 991, 991, 618, 404, 991, 183, 420, 183, 183, 991, 404, 190, 376, 190, 368, 619, 368, 368, 619, 423, 991, 423, 423, 991, 405, 991, 633, 425, 620, 425, 601, 405, 606, 606, 991, 620, 405, 991, 991, 405, 620, 991, 991, 620, 162, 991, 162, 162, 991, 991, 427, 991, 427, 427, 635, 991, 635, 635, 429, 991, 429, 429, 991, 639, 991, 368, 406, 991, 406, 406, 423, 403, 477, 428, 477, 477, 991, 478, 430, 991, 430, 430, 991, 991, 625, 626, 431, 991, 431, 431, 664, 626, 626, 626, 626, 626, 626, 406, 991, 406, 406, 429, 407, 991, 162, 635, 162, 162, 162, 429, 162, 162, 991, 991, 991, 627, 628, 726, 432, 991, 432, 432, 628, 628, 628, 628, 628, 628, 410, 430, 410, 410, 433, 403, 433, 433, 716, 431, 991, 991, 434, 991, 434, 434, 991, 991, 626, 626, 991, 636, 991, 636, 636, 626, 626, 626, 626, 626, 626, 414, 991, 414, 414, 435, 162, 991, 162, 162, 413, 432, 991, 436, 991, 436, 436, 991, 819, 629, 630, 162, 991, 162, 162, 433, 630, 630, 630, 630, 630, 630, 414, 436, 414, 414, 437, 991, 437, 437, 991, 415, 636, 717, 455, 991, 455, 455, 991, 991, 631, 632, 456, 646, 991, 646, 646, 632, 632, 632, 632, 632, 632, 418, 436, 418, 418, 457, 484, 991, 484, 484, 413, 991, 991, 991, 647, 485, 991, 991, 991, 630, 630, 991, 991, 991, 668, 437, 630, 630, 630, 630, 630, 630, 421, 421, 421, 421, 421, 182, 421, 182, 421, 421, 421, 421, 421, 421, 421, 421, 421, 183, 421, 424, 424, 421, 421, 421, 421, 421, 182, 182, 182, 182, 193, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 421, 421, 421, 637, 991, 637, 637, 439, 991, 439, 439, 443, 991, 443, 443, 641, 991, 641, 641, 205, 991, 205, 205, 446, 991, 446, 446, 642, 991, 642, 642, 991, 991, 444, 445, 198, 991, 198, 198, 991, 449, 991, 449, 449, 991, 445, 447, 448, 643, 991, 643, 643, 991, 451, 637, 451, 451, 645, 439, 645, 645, 991, 433, 448, 450, 648, 641, 648, 648, 458, 205, 458, 458, 649, 431, 649, 649, 460, 642, 460, 460, 650, 991, 650, 650, 991, 198, 462, 991, 462, 462, 430, 459, 651, 991, 651, 651, 991, 991, 643, 461, 991, 991, 464, 451, 464, 464, 991, 645, 991, 463, 652, 991, 652, 652, 654, 648, 654, 654, 467, 465, 467, 467, 991, 649, 468, 466, 468, 468, 991, 991, 991, 650, 469, 653, 469, 469, 655, 991, 655, 655, 991, 991, 991, 651, 656, 991, 656, 656, 486, 991, 486, 486, 991, 991, 669, 470, 669, 669, 488, 991, 488, 488, 991, 991, 991, 654, 489, 657, 991, 467, 672, 487, 672, 672, 670, 468, 670, 670, 991, 991, 491, 490, 491, 491, 471, 991, 991, 655, 658, 991, 658, 658, 493, 239, 493, 493, 991, 671, 618, 673, 991, 673, 673, 492, 674, 669, 674, 674, 659, 495, 991, 495, 495, 991, 619, 494, 991, 162, 991, 162, 162, 672, 991, 991, 675, 991, 675, 675, 991, 991, 991, 497, 496, 497, 497, 619, 718, 991, 991, 660, 473, 991, 473, 473, 678, 472, 678, 678, 498, 676, 673, 676, 676, 991, 499, 674, 991, 991, 661, 662, 486, 991, 486, 486, 991, 662, 662, 662, 662, 662, 662, 473, 677, 473, 473, 675, 474, 991, 991, 162, 991, 162, 162, 487, 991, 488, 991, 488, 488, 663, 664, 991, 991, 489, 991, 678, 664, 664, 664, 664, 664, 664, 477, 991, 477, 477, 719, 472, 490, 991, 991, 491, 991, 491, 491, 493, 991, 493, 493, 991, 662, 662, 495, 991, 495, 495, 991, 662, 662, 662, 662, 662, 662, 480, 492, 480, 480, 467, 494, 467, 467, 162, 479, 162, 162, 496, 681, 991, 681, 681, 991, 665, 666, 497, 991, 497, 497, 991, 666, 666, 666, 666, 666, 666, 480, 991, 480, 480, 720, 682, 498, 991, 162, 481, 162, 162, 499, 991, 512, 991, 512, 512, 667, 668, 510, 991, 510, 510, 467, 668, 668, 668, 668, 668, 668, 484, 991, 484, 484, 723, 510, 513, 510, 510, 479, 991, 991, 991, 512, 991, 512, 512, 991, 666, 666, 680, 991, 680, 680, 991, 666, 666, 666, 666, 666, 666, 247, 991, 247, 247, 514, 513, 991, 249, 250, 510, 991, 991, 251, 252, 991, 253, 991, 255, 991, 493, 236, 493, 493, 257, 991, 510, 495, 991, 495, 495, 991, 991, 991, 162, 514, 162, 162, 634, 634, 991, 680, 991, 494, 991, 634, 634, 991, 991, 991, 496, 991, 247, 260, 247, 991, 247, 247, 248, 721, 248, 249, 250, 991, 991, 991, 251, 252, 991, 253, 254, 255, 254, 254, 236, 991, 991, 257, 991, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 679, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 991, 247, 260, 421, 500, 421, 500, 500, 248, 421, 248, 501, 502, 421, 421, 421, 503, 504, 421, 505, 254, 506, 515, 515, 507, 421, 421, 508, 421, 248, 248, 248, 248, 272, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 421, 500, 509, 227, 991, 227, 227, 228, 991, 228, 229, 230, 991, 991, 991, 231, 232, 991, 233, 234, 235, 234, 234, 236, 991, 991, 237, 991, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 683, 228, 228, 228, 228, 228, 228, 228, 228, 991, 227, 238, 684, 991, 684, 684, 991, 523, 991, 523, 523, 991, 991, 991, 688, 991, 688, 688, 991, 690, 991, 690, 690, 991, 529, 991, 529, 529, 991, 991, 991, 694, 991, 694, 694, 704, 991, 704, 704, 547, 991, 547, 547, 228, 715, 991, 715, 715, 556, 991, 556, 556, 991, 684, 521, 228, 521, 521, 523, 991, 228, 229, 230, 991, 991, 688, 231, 232, 991, 233, 690, 235, 228, 991, 236, 529, 228, 237, 162, 991, 162, 162, 694, 991, 991, 725, 704, 725, 725, 162, 547, 162, 162, 991, 162, 715, 162, 162, 991, 556, 724, 162, 727, 162, 162, 521, 238, 728, 162, 991, 162, 162, 991, 162, 729, 162, 162, 162, 991, 162, 162, 730, 162, 991, 162, 162, 162, 991, 162, 162, 991, 735, 731, 735, 735, 733, 725, 162, 991, 162, 162, 162, 732, 162, 162, 637, 991, 637, 637, 991, 162, 991, 162, 162, 734, 991, 991, 581, 737, 581, 581, 991, 991, 736, 991, 584, 991, 584, 584, 586, 991, 586, 586, 162, 991, 162, 162, 991, 991, 991, 582, 738, 735, 739, 368, 991, 368, 368, 344, 991, 991, 991, 344, 991, 747, 162, 637, 162, 162, 991, 593, 991, 593, 593, 368, 991, 368, 368, 581, 581, 991, 581, 581, 182, 770, 182, 584, 991, 991, 991, 586, 368, 991, 368, 368, 183, 991, 183, 183, 991, 991, 368, 582, 368, 368, 368, 991, 749, 991, 749, 749, 991, 607, 991, 607, 607, 740, 749, 991, 749, 749, 368, 991, 368, 368, 368, 418, 991, 418, 418, 581, 741, 991, 741, 741, 419, 991, 595, 991, 595, 595, 991, 368, 368, 632, 368, 368, 343, 991, 343, 343, 991, 368, 609, 344, 609, 609, 991, 991, 593, 742, 593, 593, 607, 162, 991, 162, 162, 991, 991, 991, 368, 368, 368, 368, 991, 991, 368, 750, 368, 368, 759, 741, 341, 991, 341, 341, 599, 991, 599, 599, 991, 991, 599, 368, 599, 599, 991, 991, 343, 991, 343, 343, 991, 609, 368, 344, 368, 368, 991, 991, 368, 991, 368, 368, 991, 743, 753, 991, 753, 753, 601, 368, 601, 601, 991, 991, 601, 368, 601, 601, 991, 991, 370, 341, 370, 370, 991, 991, 368, 991, 368, 368, 991, 991, 991, 162, 991, 162, 162, 991, 162, 991, 162, 162, 370, 368, 370, 370, 758, 991, 991, 368, 368, 760, 368, 368, 600, 753, 600, 991, 410, 754, 410, 410, 635, 411, 635, 635, 601, 991, 601, 601, 182, 636, 182, 636, 636, 991, 628, 368, 637, 991, 637, 637, 183, 991, 183, 183, 162, 991, 162, 162, 772, 991, 772, 772, 641, 769, 641, 641, 991, 771, 991, 368, 368, 991, 368, 368, 600, 646, 600, 646, 646, 991, 652, 635, 652, 652, 991, 991, 601, 991, 601, 601, 636, 656, 991, 656, 656, 991, 991, 637, 647, 477, 991, 477, 477, 653, 478, 991, 991, 752, 162, 772, 162, 162, 991, 641, 657, 991, 991, 664, 991, 830, 991, 368, 421, 602, 421, 602, 602, 371, 421, 371, 421, 421, 421, 421, 421, 421, 421, 421, 421, 372, 421, 605, 605, 421, 421, 421, 421, 421, 371, 371, 371, 371, 379, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 421, 602, 421, 421, 602, 421, 602, 602, 991, 421, 991, 421, 421, 421, 421, 421, 421, 421, 421, 421, 991, 421, 606, 606, 421, 421, 421, 421, 421, 670, 991, 670, 670, 642, 991, 642, 642, 643, 991, 643, 643, 645, 991, 645, 645, 991, 991, 774, 991, 774, 774, 991, 671, 991, 421, 602, 421, 403, 991, 648, 991, 648, 648, 991, 649, 991, 649, 649, 991, 991, 763, 764, 650, 991, 650, 650, 991, 764, 764, 764, 764, 764, 764, 403, 642, 991, 991, 162, 643, 162, 162, 651, 645, 651, 651, 991, 764, 764, 774, 162, 815, 162, 162, 764, 764, 764, 764, 764, 764, 406, 648, 406, 406, 991, 407, 649, 775, 991, 775, 775, 991, 991, 654, 650, 654, 654, 834, 765, 628, 676, 991, 676, 676, 991, 628, 628, 628, 628, 628, 628, 413, 655, 651, 655, 655, 776, 991, 776, 776, 766, 767, 162, 677, 162, 162, 991, 767, 767, 767, 767, 767, 767, 413, 991, 820, 991, 777, 775, 777, 777, 991, 767, 767, 654, 658, 991, 658, 658, 767, 767, 767, 767, 767, 767, 414, 991, 414, 414, 658, 991, 658, 658, 655, 415, 659, 991, 776, 484, 618, 484, 484, 991, 768, 632, 991, 991, 485, 991, 659, 632, 632, 632, 632, 632, 632, 668, 669, 777, 669, 669, 784, 991, 784, 784, 672, 658, 672, 672, 991, 991, 673, 991, 673, 673, 674, 991, 674, 674, 991, 660, 472, 991, 675, 991, 675, 675, 991, 785, 991, 785, 785, 991, 991, 778, 779, 678, 991, 678, 678, 991, 779, 779, 779, 779, 779, 779, 472, 669, 991, 991, 162, 784, 162, 162, 680, 672, 680, 680, 991, 779, 779, 673, 991, 991, 991, 674, 779, 779, 779, 779, 779, 779, 473, 675, 473, 473, 823, 474, 785, 991, 991, 681, 991, 681, 681, 787, 678, 787, 787, 991, 780, 664, 162, 991, 162, 162, 991, 664, 664, 664, 664, 664, 664, 479, 682, 680, 684, 991, 684, 684, 991, 991, 781, 782, 991, 991, 991, 816, 991, 782, 782, 782, 782, 782, 782, 479, 991, 991, 789, 991, 789, 789, 991, 991, 782, 782, 787, 688, 991, 688, 688, 782, 782, 782, 782, 782, 782, 480, 991, 480, 480, 790, 991, 790, 790, 991, 481, 684, 991, 162, 991, 162, 162, 991, 991, 783, 668, 991, 162, 228, 162, 162, 668, 668, 668, 668, 668, 668, 247, 789, 247, 247, 248, 991, 248, 249, 250, 817, 688, 852, 251, 252, 228, 253, 254, 255, 254, 254, 236, 991, 991, 257, 790, 258, 258, 258, 258, 786, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 991, 247, 260, 791, 991, 791, 791, 792, 991, 792, 792, 690, 991, 690, 690, 694, 991, 694, 694, 801, 991, 801, 801, 802, 991, 802, 802, 704, 991, 704, 704, 807, 991, 807, 807, 811, 991, 811, 811, 813, 991, 813, 813, 715, 228, 715, 715, 818, 228, 818, 818, 991, 991, 725, 791, 725, 725, 991, 792, 991, 228, 991, 690, 991, 228, 162, 694, 162, 162, 991, 801, 991, 228, 991, 802, 991, 228, 991, 704, 991, 228, 991, 807, 991, 821, 162, 811, 162, 162, 162, 813, 162, 162, 162, 715, 162, 162, 162, 818, 162, 162, 991, 822, 162, 725, 162, 162, 991, 824, 162, 825, 162, 162, 829, 826, 829, 829, 162, 991, 162, 162, 991, 162, 991, 162, 162, 991, 735, 827, 735, 735, 991, 991, 991, 828, 832, 162, 991, 162, 162, 991, 835, 831, 835, 835, 836, 991, 836, 836, 162, 991, 162, 162, 833, 741, 991, 741, 741, 841, 991, 841, 841, 991, 843, 829, 843, 843, 368, 991, 368, 368, 368, 991, 368, 368, 991, 991, 344, 735, 753, 900, 753, 753, 749, 991, 749, 749, 749, 991, 749, 749, 991, 835, 342, 991, 991, 836, 581, 991, 581, 581, 182, 991, 182, 850, 741, 850, 850, 851, 841, 851, 851, 991, 183, 843, 183, 183, 991, 368, 991, 582, 162, 368, 162, 162, 772, 837, 772, 772, 859, 753, 859, 859, 860, 991, 860, 860, 369, 772, 991, 772, 772, 853, 991, 861, 991, 861, 861, 581, 341, 991, 341, 341, 991, 774, 850, 774, 774, 775, 851, 775, 775, 991, 991, 991, 343, 991, 343, 343, 991, 991, 776, 344, 776, 776, 777, 772, 777, 777, 784, 859, 784, 784, 785, 860, 785, 785, 991, 787, 772, 787, 787, 991, 991, 838, 861, 789, 991, 789, 789, 341, 341, 991, 341, 341, 774, 991, 991, 790, 775, 790, 790, 791, 991, 791, 791, 991, 343, 991, 343, 343, 991, 776, 991, 344, 792, 777, 792, 792, 162, 784, 162, 162, 991, 785, 162, 839, 162, 162, 787, 801, 991, 801, 801, 898, 991, 991, 789, 879, 991, 879, 879, 341, 410, 896, 410, 410, 991, 411, 790, 991, 991, 162, 791, 162, 162, 991, 162, 991, 162, 162, 854, 626, 991, 991, 991, 792, 991, 626, 626, 626, 626, 626, 626, 418, 991, 418, 418, 903, 228, 899, 801, 162, 419, 162, 162, 991, 991, 162, 879, 162, 162, 856, 630, 991, 901, 991, 945, 991, 630, 630, 630, 630, 630, 630, 858, 858, 858, 858, 858, 182, 858, 182, 858, 858, 858, 858, 858, 858, 858, 858, 858, 183, 858, 183, 183, 858, 858, 858, 858, 858, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 858, 858, 858, 477, 991, 477, 477, 883, 478, 883, 883, 162, 991, 162, 162, 991, 991, 162, 991, 162, 162, 862, 662, 162, 902, 162, 162, 991, 662, 662, 662, 662, 662, 662, 484, 991, 484, 484, 904, 991, 897, 991, 802, 485, 802, 802, 991, 807, 228, 807, 807, 991, 864, 666, 991, 991, 991, 991, 883, 666, 666, 666, 666, 666, 666, 858, 866, 858, 866, 866, 991, 858, 991, 867, 868, 858, 858, 858, 869, 870, 858, 871, 885, 872, 885, 885, 873, 858, 858, 874, 858, 991, 991, 802, 889, 258, 889, 889, 807, 890, 991, 890, 890, 891, 991, 891, 891, 811, 991, 811, 811, 892, 991, 892, 892, 991, 858, 866, 875, 813, 991, 813, 813, 228, 894, 991, 894, 894, 895, 991, 895, 895, 991, 885, 818, 228, 818, 818, 991, 905, 228, 905, 905, 991, 228, 889, 162, 991, 162, 162, 890, 991, 228, 829, 891, 829, 829, 908, 811, 908, 908, 991, 892, 906, 162, 991, 162, 162, 991, 909, 813, 909, 909, 991, 991, 894, 991, 907, 162, 895, 162, 162, 991, 991, 162, 818, 162, 162, 991, 835, 905, 835, 835, 836, 991, 836, 836, 991, 991, 162, 910, 162, 162, 162, 829, 162, 162, 991, 908, 991, 911, 486, 922, 486, 486, 488, 991, 488, 488, 491, 909, 491, 491, 489, 162, 991, 162, 162, 991, 162, 923, 162, 162, 991, 487, 991, 991, 938, 490, 991, 835, 940, 492, 991, 836, 858, 912, 858, 912, 912, 182, 858, 182, 858, 858, 858, 858, 858, 858, 858, 858, 858, 183, 858, 183, 183, 858, 858, 858, 913, 858, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 858, 912, 858, 915, 991, 915, 915, 916, 991, 916, 916, 841, 991, 841, 841, 843, 991, 843, 843, 843, 991, 843, 843, 991, 850, 991, 850, 850, 991, 991, 919, 991, 919, 919, 344, 991, 991, 493, 342, 493, 493, 495, 342, 495, 495, 991, 162, 991, 162, 162, 991, 991, 991, 850, 915, 850, 850, 991, 916, 592, 494, 939, 841, 369, 496, 851, 843, 851, 851, 920, 843, 920, 920, 991, 991, 850, 858, 918, 858, 918, 918, 919, 858, 991, 858, 858, 858, 858, 858, 858, 858, 858, 858, 921, 858, 921, 921, 858, 858, 858, 858, 858, 369, 859, 850, 859, 859, 860, 991, 860, 860, 991, 991, 991, 603, 861, 851, 861, 861, 497, 920, 497, 497, 991, 991, 991, 369, 858, 918, 858, 467, 991, 467, 467, 991, 510, 498, 510, 510, 991, 991, 991, 499, 991, 921, 163, 991, 163, 163, 879, 403, 879, 879, 162, 859, 162, 162, 991, 860, 512, 991, 512, 512, 924, 764, 883, 861, 883, 883, 991, 764, 764, 764, 764, 764, 764, 171, 991, 171, 171, 975, 467, 513, 991, 991, 413, 510, 991, 885, 991, 885, 885, 991, 991, 925, 767, 162, 991, 162, 162, 879, 767, 767, 767, 767, 767, 767, 239, 991, 239, 239, 514, 472, 953, 991, 162, 883, 162, 162, 935, 991, 935, 935, 991, 991, 926, 779, 889, 941, 889, 889, 991, 779, 779, 779, 779, 779, 779, 243, 885, 243, 243, 936, 991, 936, 936, 937, 479, 937, 937, 890, 991, 890, 890, 991, 991, 927, 782, 991, 891, 228, 891, 891, 782, 782, 782, 782, 782, 782, 247, 935, 247, 247, 991, 991, 991, 249, 250, 889, 991, 991, 251, 252, 228, 253, 991, 255, 228, 892, 236, 892, 892, 257, 936, 991, 991, 894, 937, 894, 894, 894, 890, 894, 894, 895, 991, 895, 895, 991, 942, 891, 942, 942, 943, 991, 943, 943, 991, 991, 991, 247, 260, 162, 991, 162, 162, 946, 991, 946, 946, 905, 991, 905, 905, 162, 991, 162, 162, 948, 892, 948, 948, 991, 991, 991, 947, 991, 894, 944, 991, 908, 894, 908, 908, 909, 895, 909, 909, 991, 162, 942, 162, 162, 950, 943, 950, 950, 581, 991, 581, 581, 915, 991, 915, 915, 991, 916, 946, 916, 916, 949, 905, 920, 991, 920, 920, 991, 991, 991, 948, 582, 991, 991, 368, 344, 368, 368, 991, 991, 344, 919, 908, 919, 919, 920, 909, 920, 920, 921, 991, 921, 921, 991, 162, 950, 162, 162, 592, 581, 991, 991, 935, 915, 935, 935, 991, 952, 916, 625, 626, 991, 991, 991, 920, 991, 626, 626, 626, 626, 626, 626, 991, 991, 954, 368, 954, 954, 936, 991, 936, 936, 919, 991, 629, 630, 920, 991, 991, 991, 921, 630, 630, 630, 630, 630, 630, 661, 662, 956, 991, 956, 956, 935, 662, 662, 662, 662, 662, 662, 665, 666, 991, 991, 991, 228, 991, 666, 666, 666, 666, 666, 666, 991, 957, 954, 957, 957, 958, 936, 958, 958, 937, 991, 937, 937, 961, 991, 961, 961, 228, 162, 991, 162, 162, 162, 991, 162, 162, 964, 956, 964, 964, 942, 991, 942, 942, 943, 962, 943, 943, 991, 991, 991, 162, 228, 162, 162, 991, 228, 162, 991, 162, 162, 991, 957, 991, 963, 946, 958, 946, 946, 967, 937, 967, 967, 991, 961, 991, 966, 965, 948, 991, 948, 948, 968, 991, 968, 968, 950, 964, 950, 950, 969, 942, 969, 969, 162, 943, 162, 162, 162, 991, 162, 162, 954, 991, 954, 954, 956, 991, 956, 956, 991, 957, 971, 957, 957, 958, 946, 958, 958, 970, 967, 961, 991, 961, 961, 342, 991, 991, 976, 948, 976, 976, 964, 968, 964, 964, 977, 950, 977, 977, 978, 969, 978, 978, 967, 991, 967, 967, 968, 991, 968, 968, 969, 954, 969, 969, 162, 956, 162, 162, 991, 162, 957, 162, 162, 981, 958, 981, 981, 991, 991, 991, 961, 979, 982, 344, 982, 982, 980, 976, 991, 991, 983, 964, 983, 983, 162, 977, 162, 162, 976, 978, 976, 976, 977, 967, 977, 977, 978, 968, 978, 978, 991, 969, 991, 162, 228, 162, 162, 991, 991, 162, 984, 162, 162, 228, 981, 981, 991, 981, 981, 991, 986, 228, 991, 982, 985, 982, 991, 982, 982, 991, 983, 983, 983, 983, 987, 991, 987, 987, 162, 976, 162, 162, 989, 977, 989, 989, 987, 978, 987, 987, 991, 991, 990, 988, 990, 990, 989, 991, 989, 989, 990, 991, 990, 990, 991, 991, 981, 991, 991, 991, 991, 991, 991, 991, 991, 991, 982, 991, 991, 991, 991, 983, 991, 991, 991, 987, 991, 991, 991, 991, 991, 991, 991, 989, 991, 991, 991, 987, 991, 991, 991, 991, 991, 990, 991, 991, 991, 989, 991, 991, 991, 990, 161, 991, 991, 161, 163, 163, 163, 163, 163, 163, 163, 171, 171, 171, 171, 171, 171, 171, 185, 991, 991, 185, 228, 228, 228, 991, 228, 228, 239, 239, 239, 239, 239, 239, 239, 243, 243, 243, 243, 243, 243, 243, 342, 342, 991, 991, 342, 342, 345, 991, 991, 345, 369, 369, 991, 991, 369, 374, 374, 991, 991, 374, 182, 991, 991, 182, 248, 248, 248, 991, 248, 248, 592, 592, 991, 991, 592, 594, 594, 991, 991, 594, 598, 598, 991, 991, 598, 600, 600, 991, 991, 600, 371, 371, 991, 991, 371, 603, 603, 991, 991, 603, 621, 621, 991, 621, 621, 991, 621, 623, 623, 991, 623, 623, 991, 623, 163, 163, 163, 163, 163, 163, 163, 171, 171, 171, 171, 171, 171, 171, 185, 991, 991, 185, 239, 239, 239, 239, 239, 239, 239, 243, 243, 243, 243, 243, 243, 243, 345, 345, 991, 991, 345, 345, 342, 342, 991, 991, 342, 342, 592, 592, 991, 991, 592, 748, 748, 991, 991, 748, 594, 594, 991, 991, 594, 598, 598, 991, 991, 598, 600, 600, 991, 991, 600, 603, 603, 991, 991, 603, 369, 369, 991, 991, 369, 762, 762, 991, 762, 991, 991, 762, 163, 163, 163, 163, 163, 163, 163, 171, 171, 171, 171, 171, 171, 171, 185, 991, 991, 185, 421, 421, 991, 421, 421, 421, 421, 239, 239, 239, 239, 239, 239, 239, 243, 243, 243, 243, 243, 243, 243, 345, 345, 991, 991, 345, 345, 342, 342, 991, 991, 342, 342, 748, 748, 991, 991, 748, 31, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991 } ; static yyconst short int yy_chk[6397] = { 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, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 934, 5, 5, 6, 131, 6, 6, 7, 7, 71, 7, 8, 8, 7, 8, 7, 17, 8, 17, 8, 7, 18, 71, 18, 8, 77, 77, 131, 21, 71, 21, 21, 348, 34, 877, 34, 34, 5, 77, 348, 22, 6, 22, 22, 5, 82, 82, 164, 6, 36, 5, 36, 36, 865, 6, 11, 114, 11, 82, 11, 55, 72, 55, 55, 72, 11, 114, 11, 164, 11, 116, 21, 11, 474, 11, 11, 12, 72, 12, 21, 12, 116, 350, 22, 34, 863, 12, 350, 12, 164, 12, 22, 55, 12, 474, 12, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 25, 25, 25, 26, 26, 26, 26, 29, 74, 29, 29, 30, 73, 30, 30, 74, 38, 74, 38, 38, 25, 74, 73, 130, 26, 73, 85, 74, 191, 191, 39, 857, 39, 39, 130, 85, 29, 85, 39, 85, 30, 41, 25, 41, 41, 43, 26, 43, 43, 29, 25, 115, 29, 30, 26, 228, 30, 43, 29, 75, 855, 115, 30, 33, 33, 33, 33, 38, 228, 75, 33, 33, 75, 128, 33, 33, 33, 33, 33, 129, 33, 39, 814, 128, 33, 33, 33, 33, 56, 129, 56, 56, 41, 381, 172, 44, 43, 44, 44, 45, 381, 45, 45, 46, 783, 46, 46, 267, 267, 33, 56, 172, 78, 33, 33, 33, 37, 48, 234, 48, 48, 57, 78, 57, 57, 78, 782, 244, 78, 37, 37, 234, 172, 47, 48, 47, 37, 37, 37, 37, 37, 37, 40, 57, 244, 47, 44, 47, 47, 366, 45, 40, 40, 161, 46, 161, 161, 366, 40, 40, 40, 40, 40, 40, 47, 244, 377, 377, 48, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 51, 479, 51, 51, 52, 479, 52, 52, 53, 525, 53, 53, 54, 780, 54, 54, 58, 522, 58, 58, 240, 525, 59, 522, 59, 59, 52, 52, 52, 532, 53, 53, 53, 532, 54, 54, 54, 58, 59, 59, 779, 240, 60, 79, 60, 60, 61, 274, 61, 61, 62, 51, 62, 62, 79, 52, 79, 768, 79, 53, 274, 81, 240, 54, 60, 60, 60, 63, 279, 63, 63, 76, 80, 76, 81, 80, 281, 81, 279, 83, 76, 279, 83, 83, 76, 767, 76, 83, 80, 281, 84, 80, 280, 60, 84, 83, 87, 61, 87, 87, 84, 62, 62, 84, 86, 280, 280, 352, 86, 86, 63, 88, 352, 88, 88, 351, 765, 86, 63, 65, 275, 65, 65, 275, 117, 117, 65, 65, 132, 132, 351, 65, 65, 275, 65, 65, 65, 65, 65, 65, 117, 764, 65, 90, 132, 90, 90, 87, 272, 91, 272, 91, 91, 272, 272, 283, 88, 90, 91, 524, 277, 524, 88, 93, 90, 93, 93, 277, 283, 285, 65, 65, 66, 277, 92, 535, 92, 92, 94, 746, 94, 94, 285, 535, 285, 66, 66, 94, 93, 286, 286, 385, 66, 66, 66, 66, 66, 66, 67, 538, 94, 95, 286, 95, 95, 714, 385, 67, 67, 96, 95, 96, 96, 538, 67, 67, 67, 67, 67, 67, 68, 540, 68, 68, 68, 92, 68, 68, 68, 282, 540, 96, 68, 68, 282, 68, 68, 68, 68, 68, 68, 541, 282, 68, 541, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 710, 68, 68, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 70, 289, 70, 70, 703, 383, 386, 70, 70, 289, 383, 386, 70, 70, 289, 70, 70, 70, 70, 70, 70, 697, 97, 70, 97, 97, 292, 98, 70, 98, 98, 99, 545, 99, 99, 100, 545, 100, 100, 292, 101, 70, 101, 101, 97, 102, 546, 102, 102, 101, 546, 70, 70, 103, 530, 103, 103, 425, 425, 98, 100, 104, 99, 104, 104, 105, 530, 105, 105, 106, 103, 106, 106, 295, 295, 103, 102, 107, 548, 107, 107, 108, 290, 108, 108, 109, 295, 109, 109, 104, 108, 106, 548, 105, 108, 290, 287, 290, 107, 287, 107, 110, 109, 110, 110, 112, 302, 112, 111, 302, 111, 111, 287, 118, 551, 118, 118, 112, 551, 112, 112, 291, 302, 110, 111, 291, 111, 111, 481, 110, 120, 111, 120, 120, 291, 121, 112, 121, 121, 124, 695, 124, 124, 537, 537, 133, 120, 133, 133, 481, 611, 127, 120, 127, 127, 124, 118, 124, 124, 111, 113, 611, 113, 113, 118, 589, 589, 127, 297, 127, 127, 134, 134, 134, 134, 527, 113, 527, 113, 113, 294, 297, 139, 113, 139, 139, 121, 294, 297, 691, 124, 139, 134, 294, 294, 141, 133, 141, 141, 127, 644, 162, 127, 162, 162, 534, 141, 182, 113, 182, 182, 113, 122, 122, 122, 122, 122, 534, 122, 122, 122, 617, 134, 122, 122, 122, 122, 122, 122, 122, 122, 122, 590, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 125, 384, 125, 125, 125, 140, 125, 140, 140, 157, 542, 157, 157, 542, 384, 553, 125, 554, 125, 125, 166, 298, 166, 166, 553, 166, 140, 174, 298, 174, 174, 157, 157, 157, 298, 125, 174, 183, 166, 183, 183, 193, 539, 193, 193, 174, 193, 193, 539, 613, 613, 125, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 135, 536, 135, 135, 137, 544, 137, 137, 138, 550, 138, 138, 143, 536, 143, 143, 145, 544, 145, 145, 146, 550, 146, 146, 148, 549, 148, 148, 146, 149, 531, 149, 149, 549, 293, 150, 148, 150, 150, 151, 485, 151, 151, 152, 293, 152, 152, 293, 300, 300, 153, 135, 153, 153, 154, 137, 154, 154, 683, 138, 152, 300, 159, 143, 159, 159, 160, 145, 160, 160, 683, 146, 153, 153, 153, 148, 154, 154, 154, 167, 149, 167, 167, 634, 634, 155, 150, 155, 155, 209, 151, 209, 209, 288, 152, 168, 755, 168, 168, 299, 755, 153, 299, 168, 288, 154, 288, 155, 155, 155, 305, 305, 299, 159, 159, 305, 209, 160, 169, 597, 169, 169, 170, 305, 170, 170, 750, 597, 296, 175, 167, 175, 175, 426, 426, 750, 155, 165, 304, 165, 165, 296, 165, 296, 426, 176, 168, 176, 176, 304, 207, 304, 207, 207, 798, 165, 165, 176, 177, 798, 177, 177, 165, 165, 165, 165, 165, 165, 178, 169, 178, 178, 552, 170, 173, 207, 173, 173, 552, 179, 175, 179, 179, 173, 180, 756, 180, 180, 181, 756, 181, 181, 173, 173, 692, 210, 176, 210, 210, 173, 173, 173, 173, 173, 173, 588, 185, 588, 185, 177, 692, 211, 210, 211, 211, 478, 518, 518, 185, 178, 185, 185, 188, 705, 188, 188, 189, 518, 189, 189, 179, 196, 303, 196, 196, 180, 452, 705, 211, 181, 184, 184, 184, 184, 184, 303, 184, 303, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 186, 187, 186, 187, 187, 405, 197, 188, 197, 197, 696, 189, 186, 696, 186, 186, 196, 194, 187, 194, 194, 195, 620, 195, 195, 184, 184, 184, 198, 186, 198, 198, 199, 797, 199, 199, 693, 797, 306, 194, 194, 194, 404, 200, 195, 200, 200, 201, 693, 201, 201, 306, 187, 306, 199, 199, 199, 197, 202, 401, 202, 202, 203, 620, 203, 203, 369, 204, 194, 204, 204, 205, 195, 205, 205, 208, 698, 208, 208, 198, 612, 709, 612, 199, 203, 203, 203, 709, 698, 206, 204, 206, 206, 212, 200, 212, 212, 213, 201, 213, 213, 214, 699, 214, 214, 206, 355, 206, 206, 202, 788, 788, 706, 203, 699, 212, 212, 212, 204, 213, 213, 346, 205, 214, 214, 214, 208, 215, 706, 215, 215, 216, 804, 216, 216, 220, 804, 220, 220, 221, 206, 221, 221, 222, 212, 222, 222, 754, 213, 754, 215, 215, 214, 229, 343, 229, 229, 230, 342, 230, 230, 231, 702, 231, 231, 230, 232, 708, 232, 232, 233, 712, 233, 233, 702, 744, 229, 312, 215, 708, 230, 744, 216, 712, 231, 751, 220, 220, 751, 232, 221, 752, 796, 233, 222, 227, 800, 227, 227, 752, 796, 259, 227, 227, 793, 243, 793, 227, 227, 800, 227, 235, 227, 235, 235, 227, 806, 236, 227, 236, 236, 237, 806, 237, 237, 838, 844, 238, 235, 238, 238, 838, 844, 242, 235, 242, 242, 878, 242, 246, 239, 246, 246, 794, 225, 794, 227, 227, 246, 878, 238, 242, 249, 884, 249, 249, 884, 246, 250, 171, 250, 250, 314, 163, 314, 314, 250, 251, 236, 251, 251, 252, 237, 252, 252, 249, 314, 876, 876, 238, 241, 250, 241, 241, 257, 241, 257, 257, 156, 253, 251, 253, 253, 262, 252, 262, 262, 31, 241, 241, 255, 880, 255, 255, 28, 241, 241, 241, 241, 241, 241, 245, 253, 245, 245, 880, 262, 255, 27, 324, 245, 324, 324, 255, 260, 10, 260, 260, 9, 245, 245, 320, 0, 320, 320, 257, 245, 245, 245, 245, 245, 245, 247, 0, 247, 247, 324, 260, 324, 247, 247, 805, 0, 805, 247, 247, 320, 247, 263, 247, 263, 263, 247, 881, 881, 247, 263, 264, 0, 264, 264, 270, 914, 270, 270, 882, 260, 265, 914, 265, 265, 263, 266, 882, 266, 266, 271, 929, 271, 271, 264, 933, 933, 247, 247, 248, 0, 248, 248, 929, 265, 0, 248, 248, 955, 266, 955, 248, 248, 0, 248, 248, 248, 248, 248, 248, 0, 268, 248, 268, 268, 273, 270, 273, 273, 309, 959, 309, 309, 276, 0, 276, 276, 315, 268, 315, 315, 271, 959, 316, 268, 316, 316, 0, 273, 0, 248, 248, 254, 0, 254, 254, 0, 0, 0, 254, 254, 276, 316, 0, 254, 254, 0, 254, 254, 254, 254, 254, 254, 0, 276, 254, 321, 273, 321, 321, 309, 0, 960, 319, 276, 319, 319, 0, 315, 325, 0, 325, 325, 321, 960, 0, 323, 0, 323, 323, 0, 0, 0, 254, 254, 256, 256, 256, 256, 256, 325, 256, 0, 256, 256, 256, 256, 256, 256, 256, 256, 256, 323, 256, 256, 256, 256, 256, 256, 256, 256, 0, 0, 0, 319, 256, 322, 0, 322, 322, 0, 326, 0, 326, 326, 327, 0, 327, 327, 330, 0, 330, 330, 0, 0, 322, 256, 256, 256, 258, 327, 258, 258, 258, 326, 258, 258, 258, 0, 0, 330, 258, 258, 0, 258, 258, 258, 258, 258, 258, 0, 0, 258, 0, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, 0, 258, 258, 269, 269, 269, 269, 269, 0, 269, 0, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 278, 0, 278, 278, 284, 0, 284, 284, 301, 0, 301, 301, 328, 0, 328, 328, 329, 0, 329, 329, 331, 0, 331, 331, 0, 269, 269, 269, 278, 0, 0, 335, 284, 335, 335, 0, 301, 332, 328, 332, 332, 278, 0, 329, 333, 284, 333, 333, 0, 301, 331, 278, 0, 0, 335, 284, 0, 332, 334, 301, 334, 334, 336, 333, 336, 336, 337, 0, 337, 337, 338, 0, 338, 338, 339, 0, 339, 339, 0, 0, 340, 336, 340, 340, 0, 338, 334, 336, 0, 0, 0, 337, 341, 0, 341, 341, 0, 0, 0, 339, 0, 347, 0, 347, 347, 349, 0, 349, 349, 357, 0, 357, 357, 340, 360, 341, 360, 360, 363, 0, 363, 363, 357, 364, 0, 364, 364, 368, 0, 368, 368, 0, 0, 0, 363, 0, 363, 363, 0, 364, 0, 364, 364, 341, 345, 0, 345, 345, 345, 347, 345, 0, 347, 349, 0, 376, 349, 376, 376, 0, 345, 0, 345, 345, 0, 360, 0, 345, 365, 363, 365, 365, 0, 370, 364, 370, 370, 0, 368, 0, 371, 0, 371, 371, 365, 0, 365, 365, 0, 370, 0, 370, 370, 365, 0, 345, 371, 0, 371, 371, 413, 413, 372, 0, 372, 372, 376, 398, 0, 398, 398, 399, 0, 399, 399, 0, 0, 413, 372, 365, 372, 372, 0, 0, 370, 0, 399, 398, 0, 0, 400, 371, 400, 400, 409, 0, 409, 409, 413, 409, 0, 563, 413, 563, 563, 0, 0, 400, 0, 0, 563, 0, 409, 372, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 374, 0, 374, 374, 374, 440, 374, 440, 440, 380, 0, 380, 380, 0, 0, 0, 374, 0, 374, 374, 0, 382, 440, 382, 382, 389, 0, 389, 389, 390, 390, 390, 390, 391, 0, 391, 391, 394, 0, 394, 394, 397, 0, 397, 397, 412, 0, 412, 412, 0, 390, 374, 375, 0, 375, 375, 375, 380, 375, 402, 380, 402, 402, 442, 0, 442, 442, 0, 375, 382, 375, 375, 382, 0, 0, 453, 389, 453, 453, 442, 390, 402, 402, 402, 391, 375, 0, 0, 394, 0, 403, 417, 397, 417, 417, 403, 412, 0, 453, 420, 417, 420, 420, 375, 378, 378, 378, 378, 378, 417, 378, 403, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 415, 415, 403, 407, 0, 0, 403, 422, 407, 422, 0, 411, 419, 419, 0, 0, 411, 415, 0, 422, 420, 422, 422, 0, 407, 378, 378, 378, 379, 419, 379, 379, 411, 423, 0, 423, 423, 0, 415, 0, 422, 379, 415, 379, 379, 407, 379, 379, 0, 407, 419, 0, 0, 411, 419, 0, 0, 411, 441, 0, 441, 441, 0, 0, 427, 0, 427, 427, 428, 0, 428, 428, 429, 0, 429, 429, 0, 441, 0, 379, 406, 0, 406, 406, 423, 406, 476, 427, 476, 476, 0, 476, 430, 0, 430, 430, 0, 0, 406, 406, 431, 0, 431, 431, 476, 406, 406, 406, 406, 406, 406, 408, 0, 408, 408, 427, 408, 0, 567, 428, 567, 567, 557, 429, 557, 557, 0, 0, 0, 408, 408, 567, 432, 0, 432, 432, 408, 408, 408, 408, 408, 408, 410, 430, 410, 410, 433, 410, 433, 433, 557, 431, 0, 0, 434, 0, 434, 434, 0, 0, 410, 410, 0, 435, 0, 435, 435, 410, 410, 410, 410, 410, 410, 414, 0, 414, 414, 434, 720, 0, 720, 720, 414, 432, 0, 436, 0, 436, 436, 0, 720, 414, 414, 558, 0, 558, 558, 433, 414, 414, 414, 414, 414, 414, 416, 434, 416, 416, 437, 0, 437, 437, 0, 416, 435, 558, 455, 0, 455, 455, 0, 0, 416, 416, 455, 456, 0, 456, 456, 416, 416, 416, 416, 416, 416, 418, 436, 418, 418, 455, 483, 0, 483, 483, 418, 0, 0, 0, 456, 483, 0, 0, 0, 418, 418, 0, 0, 0, 483, 437, 418, 418, 418, 418, 418, 418, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 438, 0, 438, 438, 439, 0, 439, 439, 443, 0, 443, 443, 444, 0, 444, 444, 445, 0, 445, 445, 446, 0, 446, 446, 447, 0, 447, 447, 0, 0, 443, 443, 448, 0, 448, 448, 0, 449, 0, 449, 449, 0, 446, 446, 446, 450, 0, 450, 450, 0, 451, 438, 451, 451, 454, 439, 454, 454, 0, 443, 449, 449, 457, 444, 457, 457, 458, 445, 458, 458, 459, 446, 459, 459, 460, 447, 460, 460, 461, 0, 461, 461, 0, 448, 462, 0, 462, 462, 449, 458, 463, 0, 463, 463, 0, 0, 450, 460, 0, 0, 464, 451, 464, 464, 0, 454, 0, 462, 465, 0, 465, 465, 466, 457, 466, 466, 467, 464, 467, 467, 0, 459, 468, 464, 468, 468, 0, 0, 0, 461, 469, 465, 469, 469, 470, 0, 470, 470, 0, 0, 0, 463, 471, 0, 471, 471, 486, 0, 486, 486, 0, 0, 487, 469, 487, 487, 488, 0, 488, 488, 0, 0, 0, 466, 488, 471, 0, 467, 490, 486, 490, 490, 489, 468, 489, 489, 0, 0, 491, 488, 491, 491, 469, 0, 0, 470, 472, 0, 472, 472, 493, 472, 493, 493, 0, 489, 472, 492, 0, 492, 492, 491, 494, 487, 494, 494, 472, 495, 0, 495, 495, 0, 472, 493, 0, 559, 0, 559, 559, 490, 0, 0, 496, 0, 496, 496, 0, 0, 0, 497, 495, 497, 497, 472, 559, 0, 0, 472, 473, 0, 473, 473, 499, 473, 499, 499, 497, 498, 492, 498, 498, 0, 497, 494, 0, 0, 473, 473, 501, 0, 501, 501, 0, 473, 473, 473, 473, 473, 473, 475, 498, 475, 475, 496, 475, 0, 0, 560, 0, 560, 560, 501, 0, 502, 0, 502, 502, 475, 475, 0, 0, 502, 0, 499, 475, 475, 475, 475, 475, 475, 477, 0, 477, 477, 560, 477, 502, 0, 0, 503, 0, 503, 503, 504, 0, 504, 504, 0, 477, 477, 505, 0, 505, 505, 0, 477, 477, 477, 477, 477, 477, 480, 503, 480, 480, 507, 504, 507, 507, 561, 480, 561, 561, 505, 514, 0, 514, 514, 0, 480, 480, 506, 0, 506, 506, 0, 480, 480, 480, 480, 480, 480, 482, 0, 482, 482, 561, 514, 506, 0, 564, 482, 564, 564, 506, 0, 509, 0, 509, 509, 482, 482, 508, 0, 508, 508, 507, 482, 482, 482, 482, 482, 482, 484, 0, 484, 484, 564, 510, 509, 510, 510, 484, 0, 0, 0, 512, 0, 512, 512, 0, 484, 484, 513, 0, 513, 513, 0, 484, 484, 484, 484, 484, 484, 500, 0, 500, 500, 509, 512, 0, 500, 500, 508, 0, 0, 500, 500, 0, 500, 0, 500, 0, 516, 500, 516, 516, 500, 0, 510, 517, 0, 517, 517, 0, 0, 0, 562, 512, 562, 562, 516, 516, 0, 513, 0, 516, 0, 517, 517, 0, 0, 0, 517, 0, 500, 500, 511, 0, 511, 511, 511, 562, 511, 511, 511, 0, 0, 0, 511, 511, 0, 511, 511, 511, 511, 511, 511, 0, 0, 511, 0, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 0, 511, 511, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 519, 0, 519, 519, 519, 0, 519, 519, 519, 0, 0, 0, 519, 519, 0, 519, 519, 519, 519, 519, 519, 0, 0, 519, 0, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, 0, 519, 519, 520, 0, 520, 520, 0, 523, 0, 523, 523, 0, 0, 0, 526, 0, 526, 526, 0, 528, 0, 528, 528, 0, 529, 0, 529, 529, 0, 0, 0, 533, 0, 533, 533, 543, 0, 543, 543, 547, 0, 547, 547, 520, 555, 0, 555, 555, 556, 0, 556, 556, 0, 520, 521, 526, 521, 521, 523, 0, 528, 521, 521, 0, 0, 526, 521, 521, 0, 521, 528, 521, 533, 0, 521, 529, 543, 521, 565, 0, 565, 565, 533, 0, 0, 566, 543, 566, 566, 568, 547, 568, 568, 0, 569, 555, 569, 569, 0, 556, 565, 570, 568, 570, 570, 521, 521, 569, 571, 0, 571, 571, 0, 572, 570, 572, 572, 573, 0, 573, 573, 571, 574, 0, 574, 574, 575, 0, 575, 575, 0, 576, 572, 576, 576, 574, 566, 577, 0, 577, 577, 578, 573, 578, 578, 579, 0, 579, 579, 0, 580, 0, 580, 580, 575, 0, 0, 581, 578, 581, 581, 0, 0, 577, 0, 584, 0, 584, 584, 586, 0, 586, 586, 591, 0, 591, 591, 0, 0, 0, 581, 579, 576, 580, 592, 0, 592, 592, 584, 0, 0, 0, 586, 0, 591, 638, 579, 638, 638, 0, 592, 0, 592, 592, 602, 0, 602, 602, 581, 583, 0, 583, 583, 583, 638, 583, 584, 0, 0, 0, 586, 593, 0, 593, 593, 583, 0, 583, 583, 0, 0, 594, 583, 594, 594, 592, 0, 593, 0, 593, 593, 0, 607, 0, 607, 607, 583, 594, 0, 594, 594, 595, 0, 595, 595, 602, 632, 0, 632, 632, 583, 585, 0, 585, 585, 632, 0, 595, 0, 595, 595, 0, 593, 596, 632, 596, 596, 585, 0, 585, 585, 0, 594, 609, 585, 609, 609, 0, 0, 596, 585, 596, 596, 607, 615, 0, 615, 615, 0, 0, 0, 598, 595, 598, 598, 0, 0, 599, 596, 599, 599, 615, 585, 587, 0, 587, 587, 598, 0, 598, 598, 0, 0, 599, 596, 599, 599, 0, 0, 587, 0, 587, 587, 0, 609, 600, 587, 600, 600, 0, 0, 601, 0, 601, 601, 0, 587, 608, 0, 608, 608, 600, 598, 600, 600, 0, 0, 601, 599, 601, 601, 0, 0, 608, 587, 608, 608, 0, 0, 610, 0, 610, 610, 0, 0, 0, 614, 0, 614, 614, 0, 616, 0, 616, 616, 610, 600, 610, 610, 614, 0, 0, 601, 603, 616, 603, 603, 603, 608, 603, 0, 628, 610, 628, 628, 635, 628, 635, 635, 603, 0, 603, 603, 633, 636, 633, 636, 636, 0, 628, 610, 637, 0, 637, 637, 633, 0, 633, 633, 639, 0, 639, 639, 640, 0, 640, 640, 641, 633, 641, 641, 0, 639, 0, 603, 604, 0, 604, 604, 604, 646, 604, 646, 646, 0, 652, 635, 652, 652, 0, 0, 604, 0, 604, 604, 636, 656, 0, 656, 656, 0, 0, 637, 646, 664, 0, 664, 664, 652, 664, 0, 0, 604, 732, 640, 732, 732, 0, 641, 656, 0, 0, 664, 0, 732, 0, 604, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 606, 606, 606, 606, 606, 0, 606, 0, 606, 606, 606, 606, 606, 606, 606, 606, 606, 0, 606, 606, 606, 606, 606, 606, 606, 606, 670, 0, 670, 670, 642, 0, 642, 642, 643, 0, 643, 643, 645, 0, 645, 645, 0, 0, 647, 0, 647, 647, 0, 670, 0, 606, 606, 606, 625, 0, 648, 0, 648, 648, 0, 649, 0, 649, 649, 0, 0, 625, 625, 650, 0, 650, 650, 0, 625, 625, 625, 625, 625, 625, 626, 642, 0, 0, 716, 643, 716, 716, 651, 645, 651, 651, 0, 626, 626, 647, 737, 716, 737, 737, 626, 626, 626, 626, 626, 626, 627, 648, 627, 627, 0, 627, 649, 653, 0, 653, 653, 0, 0, 654, 650, 654, 654, 737, 627, 627, 676, 0, 676, 676, 0, 627, 627, 627, 627, 627, 627, 629, 655, 651, 655, 655, 657, 0, 657, 657, 629, 629, 721, 676, 721, 721, 0, 629, 629, 629, 629, 629, 629, 630, 0, 721, 0, 659, 653, 659, 659, 0, 630, 630, 654, 658, 0, 658, 658, 630, 630, 630, 630, 630, 630, 631, 0, 631, 631, 660, 0, 660, 660, 655, 631, 658, 0, 657, 668, 660, 668, 668, 0, 631, 631, 0, 0, 668, 0, 660, 631, 631, 631, 631, 631, 631, 668, 669, 659, 669, 669, 671, 0, 671, 671, 672, 658, 672, 672, 0, 0, 673, 0, 673, 673, 674, 0, 674, 674, 0, 660, 661, 0, 675, 0, 675, 675, 0, 677, 0, 677, 677, 0, 0, 661, 661, 678, 0, 678, 678, 0, 661, 661, 661, 661, 661, 661, 662, 669, 0, 0, 724, 671, 724, 724, 680, 672, 680, 680, 0, 662, 662, 673, 0, 0, 0, 674, 662, 662, 662, 662, 662, 662, 663, 675, 663, 663, 724, 663, 677, 0, 0, 681, 0, 681, 681, 682, 678, 682, 682, 0, 663, 663, 717, 0, 717, 717, 0, 663, 663, 663, 663, 663, 663, 665, 681, 680, 684, 0, 684, 684, 0, 0, 665, 665, 0, 0, 0, 717, 0, 665, 665, 665, 665, 665, 665, 666, 0, 0, 685, 0, 685, 685, 0, 0, 666, 666, 682, 688, 0, 688, 688, 666, 666, 666, 666, 666, 666, 667, 0, 667, 667, 686, 0, 686, 686, 0, 667, 684, 0, 718, 0, 718, 718, 0, 0, 667, 667, 0, 759, 685, 759, 759, 667, 667, 667, 667, 667, 667, 679, 685, 679, 679, 679, 0, 679, 679, 679, 718, 688, 759, 679, 679, 686, 679, 679, 679, 679, 679, 679, 0, 0, 679, 686, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 679, 0, 679, 679, 687, 0, 687, 687, 689, 0, 689, 689, 690, 0, 690, 690, 694, 0, 694, 694, 700, 0, 700, 700, 701, 0, 701, 701, 704, 0, 704, 704, 707, 0, 707, 707, 711, 0, 711, 711, 713, 0, 713, 713, 715, 687, 715, 715, 719, 689, 719, 719, 0, 0, 725, 687, 725, 725, 0, 689, 0, 700, 0, 690, 0, 701, 722, 694, 722, 722, 0, 700, 0, 707, 0, 701, 0, 711, 0, 704, 0, 713, 0, 707, 0, 722, 727, 711, 727, 727, 726, 713, 726, 726, 723, 715, 723, 723, 728, 719, 728, 728, 0, 723, 729, 725, 729, 729, 0, 726, 730, 727, 730, 730, 731, 728, 731, 731, 733, 0, 733, 733, 0, 734, 0, 734, 734, 0, 735, 729, 735, 735, 0, 0, 0, 730, 734, 736, 0, 736, 736, 0, 738, 733, 738, 738, 739, 0, 739, 739, 822, 0, 822, 822, 736, 741, 0, 741, 741, 745, 0, 745, 745, 0, 747, 731, 747, 747, 748, 0, 748, 748, 749, 0, 749, 749, 0, 0, 741, 735, 753, 822, 753, 753, 748, 0, 748, 748, 749, 0, 749, 749, 0, 738, 745, 0, 0, 739, 740, 0, 740, 740, 740, 0, 740, 757, 741, 757, 757, 758, 745, 758, 758, 0, 740, 747, 740, 740, 0, 748, 0, 740, 760, 749, 760, 760, 761, 740, 761, 761, 770, 753, 770, 770, 771, 0, 771, 771, 757, 772, 0, 772, 772, 760, 0, 773, 0, 773, 773, 740, 742, 0, 742, 742, 0, 774, 757, 774, 774, 775, 758, 775, 775, 0, 0, 0, 742, 0, 742, 742, 0, 0, 776, 742, 776, 776, 777, 761, 777, 777, 784, 770, 784, 784, 785, 771, 785, 785, 0, 787, 772, 787, 787, 0, 0, 742, 773, 789, 0, 789, 789, 742, 743, 0, 743, 743, 774, 0, 0, 790, 775, 790, 790, 791, 0, 791, 791, 0, 743, 0, 743, 743, 0, 776, 0, 743, 792, 777, 792, 792, 817, 784, 817, 817, 0, 785, 820, 743, 820, 820, 787, 801, 0, 801, 801, 820, 0, 0, 789, 795, 0, 795, 795, 743, 763, 817, 763, 763, 0, 763, 790, 0, 0, 821, 791, 821, 821, 0, 825, 0, 825, 825, 763, 763, 0, 0, 0, 792, 0, 763, 763, 763, 763, 763, 763, 766, 0, 766, 766, 825, 795, 821, 801, 823, 766, 823, 823, 0, 0, 903, 795, 903, 903, 766, 766, 0, 823, 0, 903, 0, 766, 766, 766, 766, 766, 766, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, 778, 0, 778, 778, 799, 778, 799, 799, 824, 0, 824, 824, 0, 0, 826, 0, 826, 826, 778, 778, 819, 824, 819, 819, 0, 778, 778, 778, 778, 778, 778, 781, 0, 781, 781, 826, 0, 819, 0, 802, 781, 802, 802, 0, 807, 799, 807, 807, 0, 781, 781, 0, 0, 0, 0, 799, 781, 781, 781, 781, 781, 781, 786, 786, 786, 786, 786, 0, 786, 0, 786, 786, 786, 786, 786, 786, 786, 786, 786, 803, 786, 803, 803, 786, 786, 786, 786, 786, 0, 0, 802, 808, 786, 808, 808, 807, 809, 0, 809, 809, 810, 0, 810, 810, 811, 0, 811, 811, 812, 0, 812, 812, 0, 786, 786, 786, 813, 0, 813, 813, 803, 815, 0, 815, 815, 816, 0, 816, 816, 0, 803, 818, 808, 818, 818, 0, 827, 809, 827, 827, 0, 810, 808, 828, 0, 828, 828, 809, 0, 812, 829, 810, 829, 829, 831, 811, 831, 831, 0, 812, 828, 830, 0, 830, 830, 0, 832, 813, 832, 832, 0, 0, 815, 0, 830, 833, 816, 833, 833, 0, 0, 834, 818, 834, 834, 0, 835, 827, 835, 835, 836, 0, 836, 836, 0, 0, 852, 833, 852, 852, 853, 829, 853, 853, 0, 831, 0, 834, 867, 852, 867, 867, 868, 0, 868, 868, 869, 832, 869, 869, 868, 896, 0, 896, 896, 0, 898, 853, 898, 898, 0, 867, 0, 0, 896, 868, 0, 835, 898, 869, 0, 836, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, 839, 0, 839, 839, 840, 0, 840, 840, 841, 0, 841, 841, 842, 0, 842, 842, 843, 0, 843, 843, 0, 845, 0, 845, 845, 0, 0, 847, 0, 847, 847, 841, 0, 0, 870, 839, 870, 870, 871, 840, 871, 871, 0, 897, 0, 897, 897, 0, 0, 0, 850, 839, 850, 850, 0, 840, 845, 870, 897, 841, 847, 871, 851, 842, 851, 851, 848, 843, 848, 848, 0, 0, 845, 846, 846, 846, 846, 846, 847, 846, 0, 846, 846, 846, 846, 846, 846, 846, 846, 846, 849, 846, 849, 849, 846, 846, 846, 846, 846, 848, 859, 850, 859, 859, 860, 0, 860, 860, 0, 0, 0, 846, 861, 851, 861, 861, 872, 848, 872, 872, 0, 0, 0, 849, 846, 846, 846, 873, 0, 873, 873, 0, 874, 872, 874, 874, 0, 0, 0, 872, 0, 849, 854, 0, 854, 854, 879, 854, 879, 879, 962, 859, 962, 962, 0, 860, 875, 0, 875, 875, 854, 854, 883, 861, 883, 883, 0, 854, 854, 854, 854, 854, 854, 856, 0, 856, 856, 962, 873, 875, 0, 0, 856, 874, 0, 885, 0, 885, 885, 0, 0, 856, 856, 923, 0, 923, 923, 879, 856, 856, 856, 856, 856, 856, 862, 0, 862, 862, 875, 862, 923, 0, 899, 883, 899, 899, 886, 0, 886, 886, 0, 0, 862, 862, 889, 899, 889, 889, 0, 862, 862, 862, 862, 862, 862, 864, 885, 864, 864, 887, 0, 887, 887, 888, 864, 888, 888, 890, 0, 890, 890, 0, 0, 864, 864, 0, 891, 886, 891, 891, 864, 864, 864, 864, 864, 864, 866, 886, 866, 866, 0, 0, 0, 866, 866, 889, 0, 0, 866, 866, 887, 866, 0, 866, 888, 892, 866, 892, 892, 866, 887, 0, 0, 893, 888, 893, 893, 894, 890, 894, 894, 895, 0, 895, 895, 0, 900, 891, 900, 900, 901, 0, 901, 901, 0, 0, 0, 866, 866, 902, 0, 902, 902, 904, 0, 904, 904, 905, 0, 905, 905, 906, 0, 906, 906, 907, 892, 907, 907, 0, 0, 0, 906, 0, 893, 902, 0, 908, 894, 908, 908, 909, 895, 909, 909, 0, 910, 900, 910, 910, 911, 901, 911, 911, 912, 0, 912, 912, 915, 0, 915, 915, 0, 916, 904, 916, 916, 910, 905, 917, 0, 917, 917, 0, 0, 0, 907, 912, 0, 0, 918, 915, 918, 918, 0, 0, 916, 919, 908, 919, 919, 920, 909, 920, 920, 921, 0, 921, 921, 0, 922, 911, 922, 922, 917, 912, 0, 0, 935, 915, 935, 935, 0, 922, 916, 924, 924, 0, 0, 0, 917, 0, 924, 924, 924, 924, 924, 924, 0, 0, 928, 918, 928, 928, 936, 0, 936, 936, 919, 0, 925, 925, 920, 0, 0, 0, 921, 925, 925, 925, 925, 925, 925, 926, 926, 930, 0, 930, 930, 935, 926, 926, 926, 926, 926, 926, 927, 927, 0, 0, 0, 928, 0, 927, 927, 927, 927, 927, 927, 0, 931, 928, 931, 931, 932, 936, 932, 932, 937, 0, 937, 937, 938, 0, 938, 938, 930, 939, 0, 939, 939, 940, 0, 940, 940, 941, 930, 941, 941, 942, 0, 942, 942, 943, 939, 943, 943, 0, 0, 0, 944, 931, 944, 944, 0, 932, 945, 0, 945, 945, 0, 931, 0, 940, 946, 932, 946, 946, 947, 937, 947, 947, 0, 938, 0, 945, 944, 948, 0, 948, 948, 949, 0, 949, 949, 950, 941, 950, 950, 951, 942, 951, 951, 952, 943, 952, 952, 953, 0, 953, 953, 954, 0, 954, 954, 956, 0, 956, 956, 0, 957, 953, 957, 957, 958, 946, 958, 958, 952, 947, 961, 0, 961, 961, 951, 0, 0, 963, 948, 963, 963, 964, 949, 964, 964, 965, 950, 965, 965, 966, 951, 966, 966, 967, 0, 967, 967, 968, 0, 968, 968, 969, 954, 969, 969, 970, 956, 970, 970, 0, 971, 957, 971, 971, 972, 958, 972, 972, 0, 0, 0, 961, 970, 973, 969, 973, 973, 971, 963, 0, 0, 974, 964, 974, 974, 975, 965, 975, 975, 976, 966, 976, 976, 977, 967, 977, 977, 978, 968, 978, 978, 0, 969, 0, 979, 972, 979, 979, 0, 0, 980, 975, 980, 980, 973, 972, 981, 0, 981, 981, 0, 980, 974, 0, 973, 979, 982, 0, 982, 982, 0, 983, 974, 983, 983, 984, 0, 984, 984, 985, 976, 985, 985, 986, 977, 986, 986, 987, 978, 987, 987, 0, 0, 988, 985, 988, 988, 989, 0, 989, 989, 990, 0, 990, 990, 0, 0, 981, 0, 0, 0, 0, 0, 0, 0, 0, 0, 982, 0, 0, 0, 0, 983, 0, 0, 0, 984, 0, 0, 0, 0, 0, 0, 0, 986, 0, 0, 0, 987, 0, 0, 0, 0, 0, 988, 0, 0, 0, 989, 0, 0, 0, 990, 992, 0, 0, 992, 993, 993, 993, 993, 993, 993, 993, 994, 994, 994, 994, 994, 994, 994, 995, 0, 0, 995, 996, 996, 996, 0, 996, 996, 997, 997, 997, 997, 997, 997, 997, 998, 998, 998, 998, 998, 998, 998, 999, 999, 0, 0, 999, 999, 1000, 0, 0, 1000, 1001, 1001, 0, 0, 1001, 1002, 1002, 0, 0, 1002, 1003, 0, 0, 1003, 1004, 1004, 1004, 0, 1004, 1004, 1005, 1005, 0, 0, 1005, 1006, 1006, 0, 0, 1006, 1007, 1007, 0, 0, 1007, 1008, 1008, 0, 0, 1008, 1009, 1009, 0, 0, 1009, 1010, 1010, 0, 0, 1010, 1011, 1011, 0, 1011, 1011, 0, 1011, 1012, 1012, 0, 1012, 1012, 0, 1012, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1015, 0, 0, 1015, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1018, 1018, 0, 0, 1018, 1018, 1019, 1019, 0, 0, 1019, 1019, 1020, 1020, 0, 0, 1020, 1021, 1021, 0, 0, 1021, 1022, 1022, 0, 0, 1022, 1023, 1023, 0, 0, 1023, 1024, 1024, 0, 0, 1024, 1025, 1025, 0, 0, 1025, 1026, 1026, 0, 0, 1026, 1027, 1027, 0, 1027, 0, 0, 1027, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1030, 0, 0, 1030, 1031, 1031, 0, 1031, 1031, 1031, 1031, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1034, 1034, 0, 0, 1034, 1034, 1035, 1035, 0, 0, 1035, 1035, 1036, 1036, 0, 0, 1036, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991 } ; 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 "./lexsrc.l" #define INITIAL 0 #line 2 "./lexsrc.l" /* * The Regina Rexx Interpreter * Copyright (C) 1992-1994 Anders Christensen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* * If you change this file the following has to be done: * - regenerate lexsrc.c using an old version of Flex: 2.5.4. This is * provided by flex-old package. Run: make lexsrc * - change the value of YY_BUF_SIZE to 101000 in lexsrc.c * This value MUST be larger than BUFFERSIZE in rexx.h * It is not set automatically because certain variables * are defined with this value BEFORE rexx.h is included * Increasing this value will slow down parsing a bit. * This value will be blown away if you regenerate lexxsrc.c * from this file. */ #include "rexx.h" #include "yaccsrc.h" #include #include #include /* Define ASCII_0_TERMINATES_STRING if you want that ASCII-0 terminates * an input string. Normally this should not happen. Input strings are * terminated by a length encoding. The string {"", length=1} is invalid for * the lexer (ASCII-0 is not allowed) while {"", length=0} is allowed (this * is an empty input). * ASCII_0_TERMINATES_STRING is only(!) for backward compatibility and * shouldn't be used under normal circumstances. * FGC */ #define ASCII_0_TERMINATES_STRING #ifdef YYLMAX # undef YYLMAX #endif #define YYLMAX BUFFERSIZE #ifdef FLEX_SCANNER #undef YY_CHAR #define YY_CHAR YY_CHAR_TYPE #undef YY_INPUT #define YY_INPUT(buf,result,max_size) result=fill_buffer(buf,max_size) #endif /* NOTE: Every comment is replaced by a '`' character in the lower input * routines. These should check for such (illegal) characters. */ #define MY_ISBLANK(c) (((c)==' ')||((c)=='\t')||((c)=='\v')||((c)=='\f')|| \ ((c)=='\r')||((c)=='`')) PROTECTION_VAR(regina_parser) /* externals which are protected by regina_parser */ internal_parser_type parser_data = {NULL, }; int retlength=0 ; char retvalue[BUFFERSIZE] ; unsigned SymbolDetect = 0; /* end of externals protected by regina_parser */ /* locals, they are protected by regina_parser, too */ static int nextline = 1; static int nextstart = 1; static int do_level = 0 ; static int in_numform=0, next_numform=0 ; static int obs_with=0, in_do=0, in_then=0; static int in_parse=0 ; static int in_trace=0, itflag=0 ; static int in_signal=0, in_call=0 ; static enum { not_in_address = 0, in_address_keyword, /* ADDRESS just seen */ in_address_main, /* after the first word */ in_address_value, /* like main but VALUE was seen */ in_address_with} in_address = not_in_address, last_in_address = not_in_address ; static enum {no_seek_with = 0, seek_with_from_parse, seek_with_from_address} seek_with = no_seek_with ; /* * expression_ended is set if a typical expression has ended and the next * token has to be preceeded by a CONCATENATE (abuttal) operator in most * cases. */ static int expression_ended=0; /* * insert_abuttal is set if the last token was a possible end of an expression. * The next token may need to be preceeded by an additional CONCATENATE * operator under some conditions like not being "in_parse". */ static int insert_abuttal=0; /* * A symbol may be pending after a CONTATENATE (abuttal) operator has been * returned. This symbol will be stored here. 0 indicates no pending symbol. * ASCII 0 will never been returned, there is no need for another indicator. */ static int delayed_symbol=0; /* * inhibit_delayed_abuttal can be set only if delayed_symbol has been set, * but not always. An opening parenthesis must have been detected, too. * It inhibits the use of a CONCATENATE (abuttal) operator after the staring * parenthesis. Examples: * CONCATENATE {var_symbol} <-- needs a CONCATENATE, another {var_symbol} * may follow. * CONCATENATE {var_symbol} "(" <-- needs a CONCATENATE, another {var_symbol} * is an expression's start. */ static int inhibit_delayed_abuttal=0; static char ch; static int kill_this_space=0, kill_next_space=1 ; static int extnextline = -1, extnextstart; /* for a delayed line increment */ static int linenr=1 ; static int contline = 0; static int inEOF=0 ; static int singlequote=0, doblequote=0 ; static int firstln=0 ; static int bufptr=0 ; /* Previous bug. 8-bits clean combined with EOF ==> need an int */ static int chbuffer[LOOKAHEAD] ; static int ipretflag=0, cch=0 ; static const char *interptr=NULL ; static const char *last_interptr=NULL ; static const char *interptrmax ; static int cchmax = 0 ; static YY_CHAR_TYPE *rmspc( YY_CHAR_TYPE *instr ) ; static void set_assignment( char delim ); static int process_number_or_const( const char *text, int len ); static int process_hex_or_bin_string( char *text, int len, int base ); static void compress_string( char *dest, const char *src ); static int fill_buffer( char *buf, int max_size ) ; #define SET_NEXTSTART() (nextstart += yyleng) #define YY_FATAL_ERROR(s) exiterror( ERR_PROG_UNREADABLE, 1, s ) #define comm 1 #define signal 2 #define sgtype 3 #define procd 4 #define parse 5 #define then 6 #define with 7 #define numeric 8 #define do1 9 #define other 10 #define value1 11 #define ifcont 12 #define signame 13 #define nmform 14 #line 167 "./lexsrc.l" /* * ANSI 6.2.2 definitions (partially with extensions) */ /* * sigh, we need the reversed classes. flex isn't smart * enough to provide it. * Added "0-9" to notGeneral... to fix bug 724390 */ /* * A comment is converted to a sequence of ` signs in the * lower layer */ /* * A number is a little bit different to detect signs in the * exponent */ /* * read ANSI 6.2.1.1 carefully. We have to check the chars * after the exponent for notGeneralDot below. */ /* * Allow characters for any token in string passed back to TRACE instruction * Fixes bug 3564586. */ /* * The list of keywords. */ #line 2498 "./lexsrc.c" #line 318 "flex.skl" /* 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 #line 333 "flex.skl" #ifndef YY_NO_UNPUT static void yyunput YY_PROTO(( int c, char *buf_ptr )); #endif #line 338 "flex.skl" #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 #line 350 "flex.skl" #ifdef __cplusplus static int yyinput YY_PROTO(( void )); #else static int input YY_PROTO(( void )); #endif #endif #line 358 "flex.skl" #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 #line 404 "flex.skl" /* 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 #line 414 "flex.skl" /* 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); \ } \ } #line 422 "flex.skl" #endif #line 429 "flex.skl" /* 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 #line 447 "flex.skl" #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif #line 454 "flex.skl" /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #line 461 "flex.skl" #define YY_DECL int yylex YY_PROTO(( void )) #endif #line 468 "flex.skl" /* 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 \ YY_USER_ACTION #line 483 "flex.skl" YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 302 "./lexsrc.l" { if ( delayed_symbol ) { int retval; retval = delayed_symbol; delayed_symbol = 0; /* * Pass the meaning of inhibit_delayed_abuttal to the normal algorithm * for automatic abuttal detection. */ expression_ended = !inhibit_delayed_abuttal; inhibit_delayed_abuttal = 0; return retval; } if (next_numform) { in_numform = 1 ; next_numform = 0 ; } else in_numform = 0 ; last_in_address = in_address ; /* just for the "Environment" */ /* there can't be an intermediate SPACE between ADDRESS and the next word*/ if ( in_address == in_address_keyword ) in_address = in_address_main ; kill_this_space = kill_next_space ; kill_next_space = 0 ; if (itflag) { in_trace = 0 ; seek_with = no_seek_with ; } itflag = (in_trace) ; if (extnextline != -1) { parser_data.tstart = nextstart = extnextstart; parser_data.tline = nextline = extnextline; extnextline = -1; } else { parser_data.tstart = nextstart ; parser_data.tline = nextline ; } insert_abuttal = expression_ended ; expression_ended = 0 ; } #line 2731 "./lexsrc.c" #line 492 "flex.skl" 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 ) #line 507 "flex.skl" yyin = stdin; #line 513 "flex.skl" if ( ! yyout ) #line 517 "flex.skl" yyout = stdout; #line 523 "flex.skl" 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 */ { #line 535 "flex.skl" 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_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 >= 992 ) 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] != 6342 ); #line 547 "flex.skl" 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]; } #line 551 "flex.skl" YY_DO_BEFORE_ACTION; #line 556 "flex.skl" do_action: /* This label is used only to access EOF actions. */ #line 561 "flex.skl" switch ( yy_act ) { /* beginning of action switch */ case 1: YY_RULE_SETUP #line 358 "./lexsrc.l" { SET_NEXTSTART() ; } YY_BREAK case 2: YY_RULE_SETUP #line 361 "./lexsrc.l" { /* * Fixes bug 579597, "[;\r?\n]" instead of "{EOL}" causes the bug. */ char *ptr; if ((ptr = strchr(yytext, '\n')) != NULL) { nextstart = yyleng - (int) (ptr - (char *) yytext) ; nextline++ ; if (extnextline != -1) { extnextline++; extnextstart = nextstart; /* fixes bug 938204 */ } } else SET_NEXTSTART() ; return STATSEP ; } YY_BREAK case 3: YY_RULE_SETUP #line 380 "./lexsrc.l" { char *ptr; BEGIN comm ; if ( obs_with ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_TEMPLATE, 1, yytext ) ; } obs_with = in_do = 0 ; in_signal = in_call = 0 ; in_address = not_in_address; in_parse = 0 ; if ( seek_with == seek_with_from_address ) seek_with = no_seek_with ; if ((ptr = strchr(yytext, '\n')) != NULL) { nextstart = yyleng - (int) (ptr - (char *) yytext) ; nextline++ ; if (extnextline != -1) { extnextline++; extnextstart = nextstart; /* fixes bug 938204 */ } } else SET_NEXTSTART() ; return STATSEP ; } YY_BREAK case 4: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 408 "./lexsrc.l" { int i; char work[16]; /* support C-like __LINE__ value */ /* determine current source line, and create a numeric literal */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ sprintf (work, "%d", parser_data.tline); /* copy back work, right-to-left */ for (i = strlen (work) - 1; i >= 0; i--) { unput (work[i]); } } YY_BREAK case 5: YY_RULE_SETUP #line 427 "./lexsrc.l" { BEGIN value1 ; /* Allow a following VALUE keyword */ seek_with = seek_with_from_address ; in_address = in_address_keyword ; in_call = 1 ; /* Allow the next words to be given as in CALL. */ SET_NEXTSTART() ; return ADDRESS ; } YY_BREAK case 6: YY_RULE_SETUP #line 435 "./lexsrc.l" { BEGIN other ; in_parse = 1 ; SET_NEXTSTART() ; return ARG ; } YY_BREAK case 7: YY_RULE_SETUP #line 441 "./lexsrc.l" { BEGIN signal ; in_call = 1 ; SET_NEXTSTART() ; return CALL ; } YY_BREAK case 8: YY_RULE_SETUP #line 447 "./lexsrc.l" { BEGIN do1 ; assert( do_level >=0 ) ; do_level++ ; in_do = 1 ; SET_NEXTSTART() ; return DO ; } YY_BREAK case 9: YY_RULE_SETUP #line 455 "./lexsrc.l" { BEGIN other ; in_parse = 1 ; SET_NEXTSTART() ; return DROP ; } YY_BREAK case 10: YY_RULE_SETUP #line 461 "./lexsrc.l" { BEGIN comm ; SET_NEXTSTART() ; return ELSE ; } YY_BREAK case 11: YY_RULE_SETUP #line 466 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return EXIT ; } YY_BREAK case 12: YY_RULE_SETUP #line 471 "./lexsrc.l" { BEGIN ifcont ; in_then = 1 ; parser_data.if_linenr = linenr - 1; SET_NEXTSTART() ; return IF ; } YY_BREAK case 13: YY_RULE_SETUP #line 478 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return INTERPRET ; } YY_BREAK case 14: YY_RULE_SETUP #line 483 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return ITERATE ; } YY_BREAK case 15: YY_RULE_SETUP #line 488 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return LEAVE ; } YY_BREAK case 16: YY_RULE_SETUP #line 493 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return OPTIONS ; } YY_BREAK case 17: YY_RULE_SETUP #line 498 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return NOP ; } YY_BREAK case 18: YY_RULE_SETUP #line 503 "./lexsrc.l" { BEGIN numeric ; SET_NEXTSTART() ; return NUMERIC ; } YY_BREAK case 19: YY_RULE_SETUP #line 508 "./lexsrc.l" { BEGIN parse ; in_parse = 1 ; SET_NEXTSTART() ; return PARSE ; } YY_BREAK case 20: YY_RULE_SETUP #line 514 "./lexsrc.l" { BEGIN procd ; SET_NEXTSTART() ; return PROCEDURE ; } YY_BREAK case 21: YY_RULE_SETUP #line 519 "./lexsrc.l" { BEGIN other ; in_parse = 1 ; SET_NEXTSTART() ; return PULL ; } YY_BREAK case 22: YY_RULE_SETUP #line 525 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return PUSH ; } YY_BREAK case 23: YY_RULE_SETUP #line 530 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return QUEUE ; } YY_BREAK case 24: YY_RULE_SETUP #line 535 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return RETURN ; } YY_BREAK case 25: YY_RULE_SETUP #line 540 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return SAY ; } YY_BREAK case 26: YY_RULE_SETUP #line 545 "./lexsrc.l" { BEGIN other ; assert( do_level >= 0 ) ; do_level++ ; parser_data.select_linenr = linenr - 1; SET_NEXTSTART() ; return SELECT ; } YY_BREAK case 27: YY_RULE_SETUP #line 552 "./lexsrc.l" { BEGIN signal ; in_signal = 1 ; SET_NEXTSTART() ; return SIGNAL ; } YY_BREAK case 28: YY_RULE_SETUP #line 558 "./lexsrc.l" { BEGIN value1 ; in_trace = 1 ; SET_NEXTSTART() ; return TRACE ; } YY_BREAK case 29: YY_RULE_SETUP #line 564 "./lexsrc.l" { BEGIN other ; in_parse = 1 ; SET_NEXTSTART() ; return UPPER ; } YY_BREAK case 30: YY_RULE_SETUP #line 570 "./lexsrc.l" { BEGIN ifcont ; in_then = 1 ; parser_data.when_linenr = linenr - 1; SET_NEXTSTART() ; return WHEN ; } YY_BREAK case 31: YY_RULE_SETUP #line 577 "./lexsrc.l" { BEGIN comm ; SET_NEXTSTART() ; return OTHERWISE ; } YY_BREAK case 32: YY_RULE_SETUP #line 582 "./lexsrc.l" { BEGIN other ; assert( do_level >= 0 ) ; if ( !do_level ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_END, 1 ) ; } do_level-- ; SET_NEXTSTART() ; return END ; } YY_BREAK case 33: YY_RULE_SETUP #line 594 "./lexsrc.l" { if (in_parse) { SET_NEXTSTART() ; return yylex() ; } else REJECT ; } YY_BREAK case 34: YY_RULE_SETUP #line 603 "./lexsrc.l" { if (in_parse) { SET_NEXTSTART() ; return PLACEHOLDER ; } else { REJECT ; } } YY_BREAK case 35: YY_RULE_SETUP #line 615 "./lexsrc.l" { /* .var = */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '=' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return ASSIGNMENTVARIABLE ; } YY_BREAK case 36: YY_RULE_SETUP #line 647 "./lexsrc.l" { /* var = */ BEGIN other ; set_assignment( '=' ); SET_NEXTSTART() ; return ASSIGNMENTVARIABLE ; } YY_BREAK case 37: YY_RULE_SETUP #line 656 "./lexsrc.l" { /* .var += */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '+' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return PLUSASSIGNMENTVARIABLE ; } YY_BREAK case 38: YY_RULE_SETUP #line 688 "./lexsrc.l" { /* var += */ BEGIN other ; set_assignment( '+' ); SET_NEXTSTART() ; return PLUSASSIGNMENTVARIABLE ; } YY_BREAK case 39: YY_RULE_SETUP #line 697 "./lexsrc.l" { /* .var -= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '-' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return MINUSASSIGNMENTVARIABLE ; } YY_BREAK case 40: YY_RULE_SETUP #line 729 "./lexsrc.l" { /* var -= */ BEGIN other ; set_assignment( '-' ); SET_NEXTSTART() ; return MINUSASSIGNMENTVARIABLE ; } YY_BREAK case 41: YY_RULE_SETUP #line 738 "./lexsrc.l" { /* .var *= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '*' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return MULTASSIGNMENTVARIABLE ; } YY_BREAK case 42: YY_RULE_SETUP #line 770 "./lexsrc.l" { /* var *= */ BEGIN other ; set_assignment( '*' ); SET_NEXTSTART() ; return MULTASSIGNMENTVARIABLE ; } YY_BREAK case 43: YY_RULE_SETUP #line 779 "./lexsrc.l" { /* .var /= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '/' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return DIVASSIGNMENTVARIABLE ; } YY_BREAK case 44: YY_RULE_SETUP #line 811 "./lexsrc.l" { /* var /= */ BEGIN other ; set_assignment( '/' ); SET_NEXTSTART() ; return DIVASSIGNMENTVARIABLE ; } YY_BREAK case 45: YY_RULE_SETUP #line 820 "./lexsrc.l" { /* .var %= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '%' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return INTDIVASSIGNMENTVARIABLE ; } YY_BREAK case 46: YY_RULE_SETUP #line 852 "./lexsrc.l" { /* var %= */ BEGIN other ; set_assignment( '%' ); SET_NEXTSTART() ; return INTDIVASSIGNMENTVARIABLE ; } YY_BREAK case 47: YY_RULE_SETUP #line 861 "./lexsrc.l" { /* .var //= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '/' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return MODULUSASSIGNMENTVARIABLE ; } YY_BREAK case 48: YY_RULE_SETUP #line 893 "./lexsrc.l" { /* var //= */ BEGIN other ; set_assignment( '/' ); SET_NEXTSTART() ; return MODULUSASSIGNMENTVARIABLE ; } YY_BREAK case 49: YY_RULE_SETUP #line 902 "./lexsrc.l" { /* .var |= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '|' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return ORASSIGNMENTVARIABLE ; } YY_BREAK case 50: YY_RULE_SETUP #line 934 "./lexsrc.l" { /* var |= */ BEGIN other ; set_assignment( '|' ); SET_NEXTSTART() ; return ORASSIGNMENTVARIABLE ; } YY_BREAK case 51: YY_RULE_SETUP #line 943 "./lexsrc.l" { /* .var &= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '&' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return ANDASSIGNMENTVARIABLE ; } YY_BREAK case 52: YY_RULE_SETUP #line 975 "./lexsrc.l" { /* var &= */ BEGIN other ; set_assignment( '&' ); SET_NEXTSTART() ; return ANDASSIGNMENTVARIABLE ; } YY_BREAK case 53: YY_RULE_SETUP #line 984 "./lexsrc.l" { /* .var &&= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '&' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return XORASSIGNMENTVARIABLE ; } YY_BREAK case 54: YY_RULE_SETUP #line 1016 "./lexsrc.l" { /* var &&= */ BEGIN other ; set_assignment( '&' ); SET_NEXTSTART() ; return XORASSIGNMENTVARIABLE ; } YY_BREAK case 55: YY_RULE_SETUP #line 1025 "./lexsrc.l" { /* .var ||= */ parser_data.tline = linenr - 1 ; /* set tline for exiterror */ if ( yytext[0] == '.' ) { set_assignment( '|' ); /* * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.' * ANSI 6.3.2.8 forces this error 31.3 which is wrong * in its content. * We use 6.2.3.1 */ if ( !KNOWN_RESERVED( retvalue, retlength ) ) { yytext[retlength] = '\0'; exiterror( ERR_RESERVED_SYMBOL, 1, yytext ); } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 3, yytext ); } } else { yytext[retlength] = '\0'; exiterror( ERR_INVALID_START, 2, yytext ); } /* known reserved variable */ SET_NEXTSTART() ; return CONCATASSIGNMENTVARIABLE ; } YY_BREAK case 56: YY_RULE_SETUP #line 1057 "./lexsrc.l" { /* var ||= */ BEGIN other ; set_assignment( '|' ); SET_NEXTSTART() ; return CONCATASSIGNMENTVARIABLE ; } YY_BREAK case 57: YY_RULE_SETUP #line 1066 "./lexsrc.l" { if (in_call) { if ( ( last_in_address == in_address_keyword ) && ( in_address == in_address_main ) ) { BEGIN other ; /* the next useful expression will set it to "other" * in either case. The BEGIN-states aren't very * handy in most cases; they are not flexible enough. */ in_address = in_address_value ; in_call = 0; SET_NEXTSTART() ; return VALUE ; } REJECT ; } BEGIN other ; if ((!in_trace)&&(!in_address)&&(!in_signal)&&(!in_call)&&(!in_numform)) obs_with = 1 ; in_trace = in_signal = in_call = 0 ; SET_NEXTSTART() ; return VALUE ; } YY_BREAK case 58: YY_RULE_SETUP #line 1090 "./lexsrc.l" { BEGIN sgtype ; SET_NEXTSTART() ; return ON ; } YY_BREAK case 59: YY_RULE_SETUP #line 1095 "./lexsrc.l" { BEGIN sgtype ; SET_NEXTSTART() ; return OFF ; } YY_BREAK case 60: YY_RULE_SETUP #line 1100 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return NAME ; } YY_BREAK case 61: YY_RULE_SETUP #line 1105 "./lexsrc.l" { BEGIN signame ; SET_NEXTSTART() ; return ERROR ; } YY_BREAK case 62: YY_RULE_SETUP #line 1110 "./lexsrc.l" { BEGIN signame ; SET_NEXTSTART() ; return HALT ; } YY_BREAK case 63: YY_RULE_SETUP #line 1115 "./lexsrc.l" { BEGIN signame ; SET_NEXTSTART() ; return NOVALUE ; } YY_BREAK case 64: YY_RULE_SETUP #line 1120 "./lexsrc.l" { BEGIN signame ; SET_NEXTSTART() ; return NOTREADY ; } YY_BREAK case 65: YY_RULE_SETUP #line 1125 "./lexsrc.l" { BEGIN signame ; SET_NEXTSTART() ; return FAILURE ; } YY_BREAK case 66: YY_RULE_SETUP #line 1130 "./lexsrc.l" { BEGIN signame ; SET_NEXTSTART() ; return SYNTAX ; } YY_BREAK case 67: YY_RULE_SETUP #line 1135 "./lexsrc.l" { BEGIN signame ; SET_NEXTSTART() ; return LOSTDIGITS ; } YY_BREAK case 68: YY_RULE_SETUP #line 1140 "./lexsrc.l" { if (!in_trace) REJECT ; strcpy(retvalue,rmspc( yytext )) ; SET_NEXTSTART() ; return WHATEVER ; } YY_BREAK case 69: YY_RULE_SETUP #line 1146 "./lexsrc.l" { BEGIN other ; in_parse = 1 ; SET_NEXTSTART() ; return EXPOSE ; } YY_BREAK case 70: YY_RULE_SETUP #line 1152 "./lexsrc.l" { SET_NEXTSTART() ; return UPPER ; } YY_BREAK case 71: YY_RULE_SETUP #line 1156 "./lexsrc.l" { SET_NEXTSTART() ; return LOWER ; } YY_BREAK case 72: YY_RULE_SETUP #line 1160 "./lexsrc.l" { SET_NEXTSTART() ; return CASELESS ; } YY_BREAK case 73: YY_RULE_SETUP #line 1164 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return ARG ; } YY_BREAK case 74: YY_RULE_SETUP #line 1169 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return NUMERIC ; } YY_BREAK case 75: YY_RULE_SETUP #line 1174 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return PULL ; } YY_BREAK case 76: YY_RULE_SETUP #line 1179 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return SOURCE ; } YY_BREAK case 77: YY_RULE_SETUP #line 1184 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return EXTERNAL ; } YY_BREAK case 78: YY_RULE_SETUP #line 1189 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return LINEIN ; } YY_BREAK case 79: YY_RULE_SETUP #line 1194 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return VERSION ; } YY_BREAK case 80: YY_RULE_SETUP #line 1199 "./lexsrc.l" { BEGIN other ; in_parse = 2; /* accept a variable and treat func(a) as func (a) */ SET_NEXTSTART() ; return VAR ; } YY_BREAK case 81: YY_RULE_SETUP #line 1205 "./lexsrc.l" { seek_with = seek_with_from_parse ; in_trace = 0 ; in_parse = 0 ; BEGIN with ; /* in fact this works as a "not comm" */ SET_NEXTSTART() ; return VALUE ; } YY_BREAK case 82: YY_RULE_SETUP #line 1213 "./lexsrc.l" { in_then = 0 ; SET_NEXTSTART() ; return THEN ; } YY_BREAK case 83: YY_RULE_SETUP #line 1218 "./lexsrc.l" { if (in_then!=1) REJECT ; BEGIN comm ; in_then = 0 ; SET_NEXTSTART() ; return THEN ; } YY_BREAK case 84: YY_RULE_SETUP #line 1225 "./lexsrc.l" { /* * Fixes bug 952380 */ if ((in_do)||(!seek_with)) REJECT ; BEGIN other ; if ( seek_with == seek_with_from_parse ) in_parse = 1 ; seek_with = no_seek_with ; if (in_address) /* any address state */ in_address = in_address_with ; /* WITH seen */ SET_NEXTSTART() ; return WITH ; } YY_BREAK case 85: YY_RULE_SETUP #line 1241 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return DIGITS ; } YY_BREAK case 86: YY_RULE_SETUP #line 1246 "./lexsrc.l" { BEGIN nmform ; next_numform = 1 ; SET_NEXTSTART() ; return FORM ; } YY_BREAK case 87: YY_RULE_SETUP #line 1252 "./lexsrc.l" { SET_NEXTSTART() ; return SCIENTIFIC ; } YY_BREAK case 88: YY_RULE_SETUP #line 1256 "./lexsrc.l" { SET_NEXTSTART() ; return ENGINEERING ; } YY_BREAK case 89: YY_RULE_SETUP #line 1260 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return FUZZ ; } YY_BREAK case 90: YY_RULE_SETUP #line 1265 "./lexsrc.l" { BEGIN other ; assert(in_do) ; in_do = 2 ; SET_NEXTSTART() ; return FOREVER ; } YY_BREAK case 91: YY_RULE_SETUP #line 1272 "./lexsrc.l" { if ( in_do == 2 ) { BEGIN other ; SET_NEXTSTART() ; return TO ; } else if ( in_do == 1 ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_DO_SYNTAX, 1, "TO" ) ; } REJECT ; } YY_BREAK case 92: YY_RULE_SETUP #line 1286 "./lexsrc.l" { if ( in_do == 2 ) { BEGIN other ; SET_NEXTSTART() ; return BY ; } else if ( in_do == 1 ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_DO_SYNTAX, 1, "BY" ) ; } REJECT ; } YY_BREAK case 93: YY_RULE_SETUP #line 1300 "./lexsrc.l" { if ( in_do == 2 ) { BEGIN other ; SET_NEXTSTART() ; return FOR ; } else if ( in_do == 1 ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_DO_SYNTAX, 1, "FOR" ) ; } REJECT ; } YY_BREAK case 94: YY_RULE_SETUP #line 1314 "./lexsrc.l" { if (in_do) { if ( in_do == 3 ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_DO_SYNTAX, 1, "WHILE" ) ; } in_do=3 ; BEGIN other ; SET_NEXTSTART() ; return WHILE ; } REJECT ; } YY_BREAK case 95: YY_RULE_SETUP #line 1329 "./lexsrc.l" { if (in_do) { if ( in_do == 3 ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_DO_SYNTAX, 1, "UNTIL" ) ; } in_do=3 ; BEGIN other ; SET_NEXTSTART() ; return UNTIL ; } REJECT ; } YY_BREAK case 96: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1344 "./lexsrc.l" { BEGIN other ; in_do = 2 ; set_assignment( '=' ); if ( !KNOWN_RESERVED( retvalue, retlength ) ) exiterror( ERR_RESERVED_SYMBOL, 1, yytext ) ; SET_NEXTSTART() ; return DOVARIABLE ; } YY_BREAK case 97: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1353 "./lexsrc.l" { BEGIN other ; in_do = 2 ; strcpy(retvalue,rmspc( yytext )) ; SET_NEXTSTART() ; return DOVARIABLE ; } YY_BREAK case 98: YY_RULE_SETUP #line 1360 "./lexsrc.l" { unsigned i; BEGIN comm ; for( i = 0; ( ch = yytext[i] ) != '\0'; i++ ) { /* * A blank or ':' can't occur in the normal text. They are terminators. */ if ( ( ch == ':' ) || ( ch == '\n' ) || ( MY_ISBLANK( ch ) ) ) break; retvalue[i] = (char) rx_toupper( ch ); } retvalue[i] = '\0' ; SET_NEXTSTART() ; return LABEL ; } YY_BREAK case 99: YY_RULE_SETUP #line 1380 "./lexsrc.l" { BEGIN comm ; compress_string( retvalue, yytext ); SET_NEXTSTART() ; return LABEL ; } YY_BREAK case 100: YY_RULE_SETUP #line 1389 "./lexsrc.l" { BEGIN other ; compress_string( retvalue, yytext ); kill_next_space = 1 ; if ( insert_abuttal ) { inhibit_delayed_abuttal = 1 ; delayed_symbol = EXFUNCNAME ; SET_NEXTSTART() ; return CONCATENATE ; } expression_ended = 0 ; SET_NEXTSTART() ; return EXFUNCNAME ; } YY_BREAK case 101: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1407 "./lexsrc.l" { /* * fixes bug 617225. */ return process_hex_or_bin_string( yytext, yyleng, 16 ); } YY_BREAK case 102: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1415 "./lexsrc.l" { return process_hex_or_bin_string( yytext, yyleng, 2 ); } YY_BREAK case 103: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1418 "./lexsrc.l" { char c; int i,base,charcount,first,tuple; base = ( rx_toupper( yytext[yyleng - 1] ) == 'X' ) ? 16 : 2; parser_data.tline = linenr - 1 ; /* set tline for exiterror */ /* * We are sure to have an invalid string since the above patterns won't * match. We can either have invalid characters or misplaced spaces. * * Blanks as the first characters are forbidden. */ if ( MY_ISBLANK( yytext[1] ) ) exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 1 : 2, 1 ); tuple = ( base == 16 ) ? 2 : 4; for ( i = 1, first = 1, charcount = 0; i < yyleng - 2; i++ ) { c = yytext[i]; if ( MY_ISBLANK( c ) ) { /* * The first tuple may have less than tuple chars */ if ( ( ( charcount % tuple ) == 0 ) || first ) { first = 0; charcount = 0; continue; } exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 1 : 2, i ); } charcount++; if ( base == 2 ) { if ( ( c == '0' ) || ( c == '1' ) ) continue; } if ( base == 16 ) { if ( rx_isxdigit( c ) ) continue; } exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 3 : 4, c ); } /* * We didn't match something like "1 12 34 "X Assume this as the error. * Look back to the first blank in the last sequence. */ for ( i = yyleng - 2; i > 1; i-- ) if ( !MY_ISBLANK( yytext[i - 1] ) ) break; exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 1 : 2, i ); } YY_BREAK case 104: YY_RULE_SETUP #line 1472 "./lexsrc.l" { BEGIN other ; compress_string( retvalue, yytext ); strcpy( yytext, retvalue ); /* proper error display */ if (in_numform) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INV_SUBKEYWORD, 11, "ENGINEERING SCIENTIFIC", retvalue ) ; } /* fixes 1109372 */ if ( insert_abuttal && !in_parse && !in_signal && !in_call ) { delayed_symbol = STRING ; SET_NEXTSTART() ; return CONCATENATE ; } if (in_call) { in_call = 0 ; kill_next_space = 1 ; } else expression_ended = 1 ; SET_NEXTSTART() ; return STRING ; } YY_BREAK case 105: YY_RULE_SETUP #line 1503 "./lexsrc.l" { if (!in_parse) REJECT ; strcpy(retvalue,yytext) ; SET_NEXTSTART() ; return OFFSET ; } YY_BREAK case 106: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1510 "./lexsrc.l" { /* * This is the same as of the "{digit}+" rule above. flex is very stupid. * (Or is it a feature?) * The number below will take precedence instead of a plain "{digit}+", * even of the fact that the above rule may match the same length of * characters. flex seems to count the next "expect characters" for the * comparison which rule shall be used. */ if (!in_parse) REJECT ; strcpy(retvalue,yytext) ; SET_NEXTSTART() ; return OFFSET ; } YY_BREAK case 107: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1525 "./lexsrc.l" { /* * must split two rule parts because of the "/" rule-part. * This fixes bug 602283. */ return process_number_or_const( yytext, yyleng ); } YY_BREAK case 108: YY_RULE_SETUP #line 1533 "./lexsrc.l" { return process_number_or_const( yytext, yyleng ); } YY_BREAK case 109: YY_RULE_SETUP #line 1537 "./lexsrc.l" { int i,j; /* * this might be a symbol in front of a function, but only if next * char in input stream is "(". */ if (in_trace) REJECT ; memcpy( retvalue, yytext, yyleng + 1 ); /* include terminating '\0' */ mem_upper( retvalue, yyleng ); if (in_numform) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INV_SUBKEYWORD, 11, "ENGINEERING SCIENTIFIC", retvalue ) ; } if ( ( last_in_address == in_address_keyword ) && ( in_address == in_address_main ) ) { kill_next_space = 1 ; in_call = 0 ; SET_NEXTSTART() ; return SIMSYMBOL ; } BEGIN other; if ( in_call ) { /* * This has precedence over checking the parenthesis below. * Fixes bug 521502. */ in_call = 0; kill_next_space = 1; SET_NEXTSTART(); return SIMSYMBOL; } if ( in_parse == 2 ) { /* * This has precedence over checking the parenthesis below. * Fixes bug 1109335. */ in_parse = 1; kill_next_space = 1; SET_NEXTSTART(); return SIMSYMBOL; } /* We must check if a '(' follows. Remember the number of eaten chars. */ j = 1; #ifdef __cplusplus for (; ( i = yyinput() ) == '`';) #else for (; ( i = input() ) == '`';) #endif j++ ; if (i != '(') { j-- ; unput(i) ; } /* input() has destroyed the yytext-terminator re-set it */ yytext[yyleng] = '\0'; SET_NEXTSTART() ; nextstart += j ; if ( i == '(' ) { kill_next_space = 1 ; if ( insert_abuttal ) { inhibit_delayed_abuttal = 1 ; delayed_symbol = INFUNCNAME ; return CONCATENATE ; } expression_ended = 0 ; return INFUNCNAME ; } if ( insert_abuttal && !in_parse ) { delayed_symbol = SIMSYMBOL ; return CONCATENATE ; } expression_ended = 1 ; if ( in_address == in_address_with ) kill_next_space = 1 ; if (SymbolDetect) /* allow a fast breakout */ { /* We define a tricky preprocessor directive. This will give us * maximum performance without the loss of control or errors produced * by typos. */ #define RET_IF(s) if ((SymbolDetect & SD_##s) && \ (yyleng == sizeof(#s) - 1) && \ (strncmp(retvalue, \ #s, \ sizeof(#s) - 1) == 0)) \ return(s) /* e.g. RET_IF(INPUT); is replaced by: * if ((SymbolDetect & SD_INPUT) && * (yyleng == sizeof("INPUT") - 1) && * (strncmp(retvalue, * "INPUT", * sizeof("INPUT") - 1) == 0)) * return(s); */ RET_IF(INPUT); RET_IF(OUTPUT); RET_IF(ERROR); RET_IF(NORMAL); RET_IF(APPEND); RET_IF(REPLACE); RET_IF(STREAM); RET_IF(STEM); RET_IF(LIFO); RET_IF(FIFO); RET_IF(NOEOL); #undef RET_IF } return SIMSYMBOL ; } YY_BREAK case 110: YY_RULE_SETUP #line 1664 "./lexsrc.l" { int i,j; /* * this is mainly the content of var_symbol but we do a REJECT for all but * normal variable names. */ if ( in_trace || in_numform || in_call ) REJECT; if ( ( last_in_address == in_address_keyword ) && ( in_address == in_address_main ) ) REJECT; set_assignment( '=' ); if ( !KNOWN_RESERVED( retvalue, retlength ) ) REJECT; /* We must check if a '(' follows. Remember the number of eaten chars. */ #ifdef __cplusplus for ( j = 1; ( i = yyinput() ) == '`'; ) #else for ( j = 1; ( i = input() ) == '`'; ) #endif j++; if ( i != '(' ) { j--; unput( i ); } /* input() has destroyed the yytext-terminator re-set it */ yytext[yyleng] = '\0'; SET_NEXTSTART(); nextstart += j; if ( i == '(' ) REJECT; /* function name can't start with '.' */ BEGIN other; if ( insert_abuttal && !in_parse ) { delayed_symbol = SIMSYMBOL; return CONCATENATE; } expression_ended = 1; return SIMSYMBOL; } YY_BREAK case 111: YY_RULE_SETUP #line 1713 "./lexsrc.l" { expression_ended = 1 ; SET_NEXTSTART() ; return ')' ; } YY_BREAK case 112: YY_RULE_SETUP #line 1718 "./lexsrc.l" { BEGIN other ; if ( insert_abuttal ) { inhibit_delayed_abuttal = 1 ; delayed_symbol = '(' ; SET_NEXTSTART() ; return CONCATENATE ; } SET_NEXTSTART() ; return '(' ; } YY_BREAK case 113: YY_RULE_SETUP #line 1730 "./lexsrc.l" { SET_NEXTSTART() ; return ',' ; } YY_BREAK case 114: YY_RULE_SETUP #line 1734 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return '-' ; } YY_BREAK case 115: YY_RULE_SETUP #line 1739 "./lexsrc.l" { BEGIN other ; SET_NEXTSTART() ; return '+' ; } YY_BREAK case 116: YY_RULE_SETUP #line 1744 "./lexsrc.l" { SET_NEXTSTART() ; return '/' ; } YY_BREAK case 117: YY_RULE_SETUP #line 1748 "./lexsrc.l" { SET_NEXTSTART() ; return '%' ; } YY_BREAK case 118: YY_RULE_SETUP #line 1752 "./lexsrc.l" { SET_NEXTSTART() ; return '*' ; } YY_BREAK case 119: YY_RULE_SETUP #line 1756 "./lexsrc.l" { SET_NEXTSTART() ; return '|' ; } YY_BREAK case 120: YY_RULE_SETUP #line 1760 "./lexsrc.l" { SET_NEXTSTART() ; return '&' ; } YY_BREAK case 121: YY_RULE_SETUP #line 1764 "./lexsrc.l" { SET_NEXTSTART() ; return '=' ; } YY_BREAK case 122: YY_RULE_SETUP #line 1768 "./lexsrc.l" { /* why don't I have a {between} in the beginning of this re? bug? */ BEGIN other ; SET_NEXTSTART() ; return NOT ; } YY_BREAK case 123: YY_RULE_SETUP #line 1774 "./lexsrc.l" { SET_NEXTSTART() ; return GTGT ; } YY_BREAK case 124: YY_RULE_SETUP #line 1778 "./lexsrc.l" { SET_NEXTSTART() ; return LTLT ; } YY_BREAK case 125: YY_RULE_SETUP #line 1782 "./lexsrc.l" { SET_NEXTSTART() ; return NOTGTGT ; } YY_BREAK case 126: YY_RULE_SETUP #line 1786 "./lexsrc.l" { SET_NEXTSTART() ; return NOTLTLT ; } YY_BREAK case 127: YY_RULE_SETUP #line 1790 "./lexsrc.l" { SET_NEXTSTART() ; return GTGTE ; } YY_BREAK case 128: YY_RULE_SETUP #line 1794 "./lexsrc.l" { SET_NEXTSTART() ; return LTLTE ; } YY_BREAK case 129: YY_RULE_SETUP #line 1798 "./lexsrc.l" { SET_NEXTSTART() ; return GT ; } YY_BREAK case 130: YY_RULE_SETUP #line 1802 "./lexsrc.l" { SET_NEXTSTART() ; return GTE ; } YY_BREAK case 131: YY_RULE_SETUP #line 1806 "./lexsrc.l" { SET_NEXTSTART() ; return LT ; } YY_BREAK case 132: YY_RULE_SETUP #line 1810 "./lexsrc.l" { SET_NEXTSTART() ; return LTE ; } YY_BREAK case 133: YY_RULE_SETUP #line 1814 "./lexsrc.l" { SET_NEXTSTART() ; return DIFFERENT ; } YY_BREAK case 134: YY_RULE_SETUP #line 1818 "./lexsrc.l" { SET_NEXTSTART() ; return EQUALEQUAL ; } YY_BREAK case 135: YY_RULE_SETUP #line 1822 "./lexsrc.l" { SET_NEXTSTART() ; return NOTEQUALEQUAL ; } YY_BREAK case 136: YY_RULE_SETUP #line 1826 "./lexsrc.l" { SET_NEXTSTART() ; return MODULUS ; } YY_BREAK case 137: YY_RULE_SETUP #line 1830 "./lexsrc.l" { SET_NEXTSTART() ; return XOR ; } YY_BREAK case 138: YY_RULE_SETUP #line 1834 "./lexsrc.l" { SET_NEXTSTART() ; return CONCATENATE ; } YY_BREAK case 139: YY_RULE_SETUP #line 1838 "./lexsrc.l" { SET_NEXTSTART() ; return EXP ; } YY_BREAK case 140: YY_RULE_SETUP #line 1842 "./lexsrc.l" { if ( in_address == in_address_value ) /* Always allow spaces in the VALUE */ { /* part of the ADDRESS stmt. */ SET_NEXTSTART() ; return SPACE ; } if (kill_this_space) { SET_NEXTSTART() ; return yylex() ; } SET_NEXTSTART() ; return (((in_parse)&&(!seek_with)) ? yylex() : SPACE) ; } YY_BREAK case 141: YY_RULE_SETUP #line 1856 "./lexsrc.l" { SET_NEXTSTART() ; parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_QUOTE, 0 ) ; } YY_BREAK case 142: YY_RULE_SETUP #line 1862 "./lexsrc.l" { SET_NEXTSTART() ; parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_SYMBOL_EXPECTED, 1, yytext ) ;} YY_BREAK case 143: YY_RULE_SETUP #line 1867 "./lexsrc.l" { SET_NEXTSTART() ; parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_CHAR, 1, yytext[0], yytext[0] ); } YY_BREAK case 144: YY_RULE_SETUP #line 1873 "./lexsrc.l" ECHO; YY_BREAK #line 4787 "./lexsrc.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(comm): case YY_STATE_EOF(signal): case YY_STATE_EOF(sgtype): case YY_STATE_EOF(procd): case YY_STATE_EOF(parse): case YY_STATE_EOF(then): case YY_STATE_EOF(with): case YY_STATE_EOF(numeric): case YY_STATE_EOF(do1): case YY_STATE_EOF(other): case YY_STATE_EOF(value1): case YY_STATE_EOF(ifcont): case YY_STATE_EOF(signame): case YY_STATE_EOF(nmform): yyterminate(); #line 566 "flex.skl" case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (char *) 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; #line 632 "flex.skl" 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 */ #line 782 "flex.skl" /* 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 */ #line 793 "flex.skl" static int yy_get_next_buffer() #line 799 "flex.skl" { 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 - (char *) 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 - (char *) 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 */ #line 932 "flex.skl" static yy_state_type yy_get_previous_state() #line 938 "flex.skl" { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = yy_start; yy_state_ptr = yy_state_buf; *yy_state_ptr++ = yy_current_state; #line 944 "flex.skl" 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 >= 992 ) 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; #line 949 "flex.skl" } 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 ); */ #line 963 "flex.skl" #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 #line 974 "flex.skl" { 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 >= 992 ) 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 == 991); if ( ! yy_is_jam ) *yy_state_ptr++ = yy_current_state; #line 978 "flex.skl" return yy_is_jam ? 0 : yy_current_state; } #line 985 "flex.skl" #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 #line 998 "flex.skl" { 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; #line 1029 "flex.skl" yytext_ptr = yy_bp; yy_hold_char = *yy_cp; yy_c_buf_p = yy_cp; } #line 1036 "flex.skl" #endif /* ifndef YY_NO_UNPUT */ #line 1039 "flex.skl" #line 1043 "flex.skl" #ifdef __cplusplus static int yyinput() #else static int input() #endif #line 1053 "flex.skl" { 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 - (char *) 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; #line 1118 "flex.skl" return c; } #line 1125 "flex.skl" #ifdef YY_USE_PROTOS void yyrestart( FILE *input_file ) #else void yyrestart( input_file ) FILE *input_file; #endif #line 1136 "flex.skl" { 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(); } #line 1147 "flex.skl" #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 #line 1158 "flex.skl" { 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; } #line 1184 "flex.skl" #ifdef YY_USE_PROTOS void yy_load_buffer_state( void ) #else void yy_load_buffer_state() #endif #line 1194 "flex.skl" { 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; } #line 1204 "flex.skl" #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 #line 1216 "flex.skl" { 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; } #line 1242 "flex.skl" #ifdef YY_USE_PROTOS void yy_delete_buffer( YY_BUFFER_STATE b ) #else void yy_delete_buffer( b ) YY_BUFFER_STATE b; #endif #line 1253 "flex.skl" { 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 ); } #line 1269 "flex.skl" #ifndef YY_ALWAYS_INTERACTIVE #ifndef YY_NEVER_INTERACTIVE extern int isatty YY_PROTO(( int )); #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 #line 1289 "flex.skl" { #line 1292 "flex.skl" yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; #line 1299 "flex.skl" #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 #line 1313 "flex.skl" } #line 1318 "flex.skl" #ifdef YY_USE_PROTOS void yy_flush_buffer( YY_BUFFER_STATE b ) #else void yy_flush_buffer( b ) YY_BUFFER_STATE b; #endif #line 1330 "flex.skl" { 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(); } #line 1353 "flex.skl" #ifndef YY_NO_SCAN_BUFFER #line 1358 "flex.skl" #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 #line 1395 "flex.skl" #ifndef YY_NO_SCAN_STRING #line 1400 "flex.skl" #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 #line 1416 "flex.skl" #ifndef YY_NO_SCAN_BYTES #line 1421 "flex.skl" #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 #line 1459 "flex.skl" #ifndef YY_NO_PUSH_STATE #line 1464 "flex.skl" #ifdef YY_USE_PROTOS static void yy_push_state( int new_state ) #else static void yy_push_state( new_state ) int new_state; #endif #line 1475 "flex.skl" { 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 #line 1505 "flex.skl" static void yy_pop_state() #line 1511 "flex.skl" { 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 #line 1523 "flex.skl" static int yy_top_state() #line 1529 "flex.skl" { return yy_start_stack[yy_start_stack_ptr - 1]; } #endif #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif #line 1540 "flex.skl" #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 ); } #line 1561 "flex.skl" /* 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 1873 "./lexsrc.l" #define NORMALSTAT 0 #define COMMENTSTAT 1 #define SINGLEQUOTE 2 #define DOUBLEQUOTE 3 /* * set_assignment sets an assignment variable in retvalue from yytext with * a trailing {between}[={between}] stripped. * retlength is set, too. */ static void set_assignment( char delim ) { char ch; for( retlength = 0; ( ch = yytext[retlength] ) != 0; retlength++ ) { /* * A blank or delim can't occur in the normal text. They are terminators. */ if ( ( ch == delim ) || ( ch == '\n' ) || ( MY_ISBLANK( ch ) ) ) break; retvalue[retlength] = (char) rx_toupper( ch ); } retvalue[retlength] = '\0' ; } /* rmspc uppercases all characters and removes blanks from a string. * Returns the input string. */ static YY_CHAR_TYPE *rmspc( YY_CHAR_TYPE *instr ) { YY_CHAR_TYPE *retval=instr , *dest =instr , c ; while ((c = *instr++) != '\0') { c = (YY_CHAR_TYPE) rx_toupper(c); /* These characters are treated as blanks: */ if ((c!='`') && (c!=' ') && (c!=',') && (c!='\t') && (c!='\n')) *dest++ = c ; } *dest = '\0' ; return( retval ) ; } /* * process_number_or_const does the processing of a decimal number or a const. * The detection was to complicated to put it into one routine. * We have to read some more characters to decide whether or not we have * an INFUNCNAME. * Returns a lexical code. */ static int process_number_or_const( const char *text, int len ) { int eaten,c,symbol; /* * Copy and uppercase the return value. */ memcpy( retvalue, text, len + 1 ); /* include terminating '\0' */ mem_upper( retvalue, len ); if ( in_numform ) { parser_data.tline = linenr - 1; /* set tline for exiterror */ exiterror( ERR_INV_SUBKEYWORD, 11, "ENGINEERING SCIENTIFIC", retvalue ); } nextstart += len; BEGIN other; /* * Plain number or const_symbol. */ if ( KNOWN_RESERVED( retvalue, len ) ) symbol = SIMSYMBOL; else symbol = CONSYMBOL; if ( in_call ) { /* * This has precedence over checking the parenthesis below. * Fixes bug 521502. */ in_call = 0; kill_next_space = 1; SET_NEXTSTART(); return symbol; } /* * We must check if a '(' follows. Remember the number of eaten chars. */ eaten = 1; #ifdef __cplusplus while ( ( c = yyinput() ) == '`' ) #else while ( ( c = input() ) == '`' ) #endif { eaten++; } if ( c != '(' ) { eaten--; unput( c ); } /* * input() has destroyed the yytext-terminator re-set it */ yytext[yyleng] = '\0'; nextstart += eaten; if ( c == '(' ) { kill_next_space = 1; if ( insert_abuttal ) { inhibit_delayed_abuttal = 1; delayed_symbol = INFUNCNAME; return CONCATENATE; } expression_ended = 0; return INFUNCNAME; } if ( insert_abuttal && !in_parse ) { delayed_symbol = symbol; return CONCATENATE; } expression_ended = 1; return symbol; } /* * compress_string removes quotes or double quotes from the src and changes * double delimiter to one. The delimiter should be either ' or ". */ static void compress_string( char *dest, const char *src ) { char c, delim = *src++; for (;;) { if ( ( c = *src++ ) == delim ) { if (*src == delim ) { *dest++ = *src++; } else { break; } } else { if ( c == '\n' ) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_QUOTE, 0 ) ; } *dest++ = c; } } *dest = '\0'; } /* * process_hex_or_bin_string convert the string in text which is given as * a hexstring or a binstring to a "normal" string. base must be either 2 or * 16. * We rely on having a well-formed string. This must be ensured. It is * something of the form "content"x or 'content'b or similar. * Returns a lexical code. retvalue and retlength will be filled. */ static int process_hex_or_bin_string( char *text, int len, int base ) { char c; int i,left; unsigned char *dest,sum; BEGIN other; SET_NEXTSTART(); text++; len -= 3; /* * First, count the number of valid chars to determine the missed leading * zeros of the first final character. */ for ( i = 0, left = 0 ; i < len; i++ ) { c = text[i]; if ( !MY_ISBLANK( c ) ) left++; } /* * left shall be the count of input char left to process one dest char. * Accessing one character after the content's end is allowed. */ left %= ( base == 2 ) ? 8 : 2; dest = (unsigned char *) retvalue; retlength = 0; sum = 0; c = *text; for (;;) { while ( len && MY_ISBLANK( c ) ) { c = *++text; len--; } if ( len == 0 ) break; if ( base == 2 ) { if ( left == 0 ) left = 8; sum <<= 1; sum |= (unsigned char) ( c - '0' ); } else { if ( left == 0 ) left = 2; sum <<= 4; sum |= HEXVAL( c ); } c = *++text; len--; if ( --left == 0 ) { dest[retlength++] = sum; sum = 0; } } dest[retlength] = '\0'; /* We must check if a '(' follows. Remember the number of eaten chars. */ left = 1; #ifdef __cplusplus for (; ( i = yyinput() ) == '`';) #else for (; ( i = input() ) == '`';) #endif left++; if (i != '(') { left--; unput(i); } /* input() has destroyed the yytext-terminator re-set it */ text[len] = '\0'; SET_NEXTSTART(); nextstart += left; if (i == '(') { kill_next_space = 1; if (insert_abuttal) { inhibit_delayed_abuttal = 1; delayed_symbol = INFUNCNAME; return CONCATENATE; } expression_ended = 0; return INFUNCNAME; } if ( insert_abuttal && !in_parse && !in_call ) { /* fix bug 456 - the delayed symbol MUST be BINSTRING or HEXSTRING */ delayed_symbol = ( base == 2 ) ? BINSTRING : HEXSTRING; return CONCATENATE; } if ( in_call ) { in_call = 0; kill_next_space = 1; } else expression_ended = 1; return ( base == 2 ) ? BINSTRING : HEXSTRING; } /* get_next_line: Lower level input fetcher. * Reads exactly one line from the input stream (file or string). * All EOL characters are removed and the result is stored in * last_source_line. A check for line overflow occurred here. * A special check is done for CP/M ^Z (DOS and friends use this for * "backward" compatibility, too). * line is filled with valid values on success. * max must reflect size of line and should be at least BUFFERSIZE + 2; * Returns -1 (no input) or the number of valid chars in line. */ static int get_next_line( char *line, int max, FILE *stream ) { lineboxptr newline ; offsrcline *incore_newline; int pos = 0; int c = 0; if (inEOF) /* You can't use myunputc if EOF is reached! */ return EOF ; while (pos <= max - 2) { /* get next char */ if (bufptr>0) c = chbuffer[--bufptr] ; else if (ipretflag) { if (interptr>=interptrmax) c = EOF ; else #ifdef ASCII_0_TERMINATES_STRING if ((c = *interptr++) == '\0') c = EOF ; #else c = *interptr++ ; #endif } else { c = getc(stream) ; if ( parser_data.TSD->HaltRaised ) halt_raised( parser_data.TSD ); } if ((c=='\r') || (c=='\n') || (c==EOF)) break ; line[pos++] = (char) (unsigned char) c ; } /* first, check for overflow */ if ((c!='\r') && (c!='\n') && (c!=EOF)) { parser_data.tline = linenr ; /* set tline for exiterror */ exiterror( ERR_TOO_LONG_LINE, 0 ) ; } /* We have either a (first) line terminator or EOF */ if (c==EOF) { if ((pos==1) && (line[0]=='\x1A')) /* CP/M ^Z EOF? */ pos-- ; if (pos == 0) { inEOF = 1 ; return EOF ; } chbuffer[bufptr++] = EOF; /* push back EOF for reuse */ } else { /* Maybe we have CRLF or LFCR. Check for the pair character. */ char pairChar = (c == '\r') ? '\n' : '\r'; /* get one more char and consume it if it is the pair of the EOL */ if (bufptr > 0) { if (chbuffer[bufptr - 1] == (int) pairChar) bufptr--; } else if (ipretflag) { if ((interptr < interptrmax) && (*interptr == pairChar)) interptr++; } else { int next = getc(stream); if (next != pairChar) { /* ungetc may break some runtime stuff. Use the internal lookahead*/ chbuffer[bufptr++] = next; } if ( parser_data.TSD->HaltRaised ) halt_raised( parser_data.TSD ); } } cch = 0 ; /* not needed ? */ line[pos++] = '\n'; if (parser_data.incore_source) { /* * We can use the incore string to describe a source line, but we * MUST incement linenr otherwise .LINE doesn't work in instore macros. * This will probably also allow errors to be reported for the correct line number. */ linenr++; incore_newline = FreshLine() ; incore_newline->length = pos - 1 ; incore_newline->offset = last_interptr - parser_data.incore_source ; last_interptr = interptr; return pos ; } newline = (lineboxptr)Malloc(sizeof(linebox)) ; newline->line = Str_make_TSD( parser_data.TSD, pos - 1 ) ; newline->line->len = pos - 1 ; memcpy(newline->line->value, line, pos - 1 ) ; newline->prev = parser_data.last_source_line ; newline->next = NULL ; newline->lineno = linenr++ ; if (parser_data.first_source_line==NULL) parser_data.first_source_line = newline ; else parser_data.last_source_line->next = newline ; parser_data.last_source_line = newline ; return pos ; } /* fill_buffer: Higher level input fetcher. * (To allow the C-file to compile, all Rexx comments in this comment * are written as "{*" "*}" instead of the normal, C-like manner.) * Reads lines from the input stream (yyin or string) with get_next_line. * Only one line is returned to allow the saving of the line number. * This routine replaces all comments by '`' signs. This allows * the detection of a "pseudo" blank: The fragment "say x{* *}y" uses two * variables, not one called "xy". The parsing of comments must be done * here to check for the actual numbers of open and closes ("{*" and "*}"). * While doing this we must always check for strings since "'{*'" is not part * of a comment. * Here is a problem: Is this a nested valid comment: "{* '{*' *} *}"? * I think so although you cannot remove the outer comment signs without an * error. Everything within a comment is a comment (per def.). Counting * opens and closes of comment signs is an ugly trick to help the user. * He/she must know what he/she is doing if nesting comments! * * max_size gives the maximum size of buf. This is filled up with input. * We never return less than one character until EOF is reached. Thus, we * read more than one true input line if a comment spans over more than one * line. * A line will either be terminated by a single '\n' or by a blank. The * later one replaces a line continuation (',' [spaces] EOL). * Errors in this low * * Conclusion: We have to fight very hard to set the expected line number. * * Comments spanning over lines set them on getting the * "follow" lines. * * Concatenated lines set */ static int fill_buffer( char *buf, int max_size ) { /* statics protected by regina_parser */ static char line[BUFFERSIZE+2] ; /* special buffer to allow max_size */ static int pos = 0, max = 0 ; /* being smaller than BUFFERSIZE+1 */ static int nesting = 0; /* nesting level of comments */ int nesting_start_line = 0; /* start line of comment for errortext() */ char *dest, c; int i, squote, dquote; int line_comment; if (firstln == 0) { firstln = 1; contline = 0; nesting = 0; pos = 0; max = get_next_line( line, sizeof(line), yyin ) ; if (max < 0) /* empty input file */ return 0 ; /* test for both #! - fixes bug 1230639 */ if ( max > 1 && line[0] == '#' && line[1] == '!' ) { /* Ignore first line beginning this way for unix compat */ max = 5; memcpy( line, "/**/\n", 5 ); } } else if (pos < max) /* Are there still characters to transmit? */ { /* Buffer already checked for correctness */ if (max_size > max - pos) max_size = max - pos; memcpy(buf, line + pos, max_size); pos += max_size; return(max_size); } else /* Need next line */ { if (contline && !nesting) { extnextline = ++nextline ; extnextstart = 1 ; contline = 0; } pos = 0; max = get_next_line( line, sizeof(line), yyin ) ; if (max < 0) /* empty input file */ { if (nesting) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_QUOTE, 1 ) ; } return 0 ; } } /* A new line is available, check first for an ending comment */ dest = line; /* we change comments in line */ if (nesting) /* This may lead to more line reading */ { /* * The first time extnextline is non-zero, we have the comment * starting sequence line. This is saved for use if no matching * ending comment sequence is found, so that the error message * reflects the start of the comment. * Regina feature request: #508788 */ if ( extnextline < 0 ) nesting_start_line = nextline+1; extnextline = ++nextline ; extnextstart = 1; /* See Reference (*) below */ repeated_nesting: while (pos < max) { c = line[pos]; if (c == '*') /* start of comment end? */ { if (line[pos+1] == '/') { /* pos+1 always exists, at least '\n' or '\0' */ if (--nesting == 0) { pos += 2; *dest++ = '`'; *dest++ = '`'; break; } *dest++ = '`'; pos++; } } else if (c == '/') /* start of new begin? */ { if (line[pos+1] == '*') { nesting++; *dest++ = '`'; pos++; } } *dest++ = '`'; pos++; } if (pos >= max) { pos = 0; max = get_next_line( line, sizeof(line), yyin ) ; if (max < 0) /* empty input file */ { if ( nesting_start_line ) parser_data.tline = nesting_start_line ; /* set tline for exiterror */ else parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_QUOTE, 1 ) ; return 0 ; } /* This is a comment continuation. If the lexer will return * something it already has a valid tline/tstart pair. * The lexer will return the current token and on the NEXT * call it expects a valid nextline/nextstart pair. */ extnextline = ++nextline; extnextstart = 1; dest = line; /* we change comments in line */ goto repeated_nesting; } extnextstart = pos + 1; if (contline) { /* Exception! Have a look at: "x='y',{*\n\n*}\n'z'". This should * result in "x = 'y' 'z'". * We must parse until EOL and check for whitespaces and comments... */ while (pos < max) { c = line[pos]; if (!rx_isspace(c)) { if (c == '/') { if (line[pos+1] == '*') { pos += 2; nesting++; goto repeated_nesting; } } parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_YACC_SYNTAX, 1, parser_data.tline ) ; /* standard error */ } pos++; } /* All done, it was a continuation line. */ /* contline will be resetted by: */ return fill_buffer( buf, max_size ) ; } } /* We have something to play with. Run through the input and check for * strings including comments. */ squote = dquote = 0; line_comment = 0; while (pos < max) { /* We use selective loops to reduce comparisons */ if (nesting) do { c = line[pos]; if (c == '*') /* start of comment end? */ { if (line[pos+1] == '/') { /* pos+1 always exists, at least '\n' or '\0' */ if (--nesting == 0) { pos += 2; *dest++ = '`'; *dest++ = '`'; break; } pos++; } } else if (c == '/') /* start of new begin? */ { if (line[pos+1] == '*') { nesting++; pos++; *dest++ = '`'; } } pos++; *dest++ = '`'; } while (pos < max); else if (squote) { while ((c = line[pos]) != '\'') { *dest++ = c; if (++pos >= max) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_QUOTE, 2 ) ; } } *dest++ = '\''; pos++; squote = 0; } else if (dquote) { while ((c = line[pos]) != '\"') { *dest++ = c; if (++pos >= max) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_QUOTE, 3 ) ; } } *dest++ = '\"'; pos++; dquote = 0; } else if (line_comment) { while ((c = line[pos]) >= ' ') /* not at end of line yet */ { *dest++ = '`'; if (++pos >= max) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_UNMATCHED_QUOTE, 3 ) ; } } *dest++ = c; /* line terminator */ pos++; line_comment = 0; } else while (pos < max) switch (c = line[pos]) { case '\'': *dest++ = c ; squote = 1 ; pos++ ; goto outer_loop; case '\"': *dest++ = c ; dquote = 1 ; pos++ ; goto outer_loop; case '/': if (line[pos + 1] == '*') { *dest++ = '`' ; *dest++ = '`' ; pos += 2 ; nesting++ ; goto outer_loop; } else { *dest++ = c; pos++ ; } break ; case '-': /* line "--" comments */ if ( line[pos + 1] == '-' && get_options_flag( parser_data.TSD->currlevel, EXT_SINGLE_LINE_COMMENTS ) && !get_options_flag( parser_data.TSD->currlevel, EXT_STRICT_ANSI ) ) { *dest++ = '`' ; *dest++ = '`' ; pos += 2 ; line_comment = 1 ; goto outer_loop; } else { *dest++ = c; pos++ ; } break ; case '`': parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INVALID_CHAR, 1, c, c ) ; default: *dest++ = c; pos++ ; } outer_loop: ; } max = (int) (dest - line); /* Now we can replace a ',' [spaces|comments] '\n' with the line * continuation, but check for nesting first */ if (nesting) { /* Don't leave ANY spaces at EOL. That would confuse the lexer. */ i = max - 1; while ((i >= 0) && rx_isspace(line[i])) i--; max = i + 1; /* Of course, there is one exception: line continuation */ while ((i >= 0) && (line[i] == '`')) i-- ; if ((i >= 0) && (line[i] == ',')) { contline = 1; line[i] = ' '; max = i + 1; } /* (Reference (*) ) * At this point the lexer can't determine the nextline since we eat up * the \n. This leads to an incorrect count. But either the '`'-signs * are ignored or they are follows of a "token", a valid word. * Look at "say x;say y ``". This will cause the lexer to * return at least 4 tokens (SAY "x" ";" SAY) before "y" will be * returned. We can only set nextline/nextstart at "y". * Result: We set this pair at the start of the next call to * fill_buffer such that the next call to yylex will set the correct * values. */ } else { i = max - 1; /* on last valid char */ while (i >= 0) { if (!MY_ISBLANK(line[i]) && (line[i] != '\n')) break; i--; } /* i now -1 or on last nonblank */ if ((i >= 0) && (line[i] == ',')) { /* FIXME: What shall be do with "," followed by EOF? */ max = i + 1; line[i] = ' '; contline = 1; } } if (max_size > max) max_size = max; memcpy(buf, line, max_size); pos = max_size; return(max_size); } /* yywrap MAY be called by the lexer is EOF encounters, see (f)lex docu */ int yywrap( void ) { assert( do_level>= 0 ) ; if (do_level>0) { parser_data.tline = linenr - 1 ; /* set tline for exiterror */ exiterror( ERR_INCOMPLETE_STRUCT, 0 ) ; } return 1 ; } /****************************************************************************** ****************************************************************************** * global interface *********************************************************** ****************************************************************************** *****************************************************************************/ /* initalize all local and global values */ static void init_it_all( tsd_t *TSD ) { #if defined(FLEX_SCANNER) && defined(FLEX_DEBUG) if (__reginadebug) yy_flex_debug = 1; else yy_flex_debug = 0; #endif inEOF = 0 ; in_numform = 0 ; next_numform = 0 ; expression_ended = 0 ; insert_abuttal = 0 ; obs_with = 0 ; in_do = 0 ; in_then = 0 ; inhibit_delayed_abuttal = 0 ; firstln = 0 ; in_parse = 0 ; in_trace = 0 ; itflag = 0 ; in_signal = 0 ; in_call = 0 ; in_address = not_in_address ; seek_with = no_seek_with ; kill_this_space = 0 ; ipretflag = 0 ; do_level = 0 ; singlequote = 0 ; doblequote = 0 ; cch = 0 ; bufptr = 0 ; cchmax = 0 ; ch = '\0', delayed_symbol = 0, contline = 0; extnextstart = 0; interptr = NULL ; interptrmax = NULL ; /* non-zero values */ linenr = 1 ; nextline = 1; nextstart = 1; kill_next_space = 1 ; extnextline = -1 ; SymbolDetect = 0; memset(&parser_data, 0, sizeof(internal_parser_type)); parser_data.TSD = TSD; } /* fetch may only be called by fetch_protected. The parser and lexer are * already protected by regina_parser by fetch_protected. * This function prepares the lexer and parser and call them. The * result and all generated values are stored in result. The parser * tree isn't executed here. * Exactly fptr xor str must be non-null. */ static void fetch(tsd_t *TSD, FILE *fptr, const streng *str, internal_parser_type *result) { init_it_all( TSD ) ; #ifdef FLEX_SCANNER yy_init = 1 ; yy_delete_buffer(YY_CURRENT_BUFFER) ; yyrestart(fptr) ; #else yysptr = yysbuf ; yyin = fptr ; #endif if (str != NULL) { ipretflag = 1 ; cchmax = str->len ; interptr = str->value ; last_interptr = interptr ; interptrmax = interptr + cchmax ; parser_data.incore_source = str->value; /* fixes bug 972796 */ result->incore_source = str->value; } BEGIN comm ; NewProg(); parser_data.result = __reginaparse(); #ifdef FLEX_SCANNER yy_delete_buffer(YY_CURRENT_BUFFER) ; #else yysptr = yysbuf ; #endif yyin = NULL ; *result = parser_data; /* Some functions assume null values if parsing isn't running: */ memset(&parser_data, 0, sizeof(internal_parser_type)); } /* This function serializes the parser/lexer requests of the process and * call fetch which will make the work. Look there. */ static void fetch_protected( tsd_t * volatile TSD, FILE *fptr, const streng *str, internal_parser_type *result ) { volatile int panicked = 0; tsd_t * volatile saved_TSD; THREAD_PROTECT( regina_parser ) TSD->in_protected = 1; memset(&parser_data, 0, sizeof(internal_parser_type)); saved_TSD = TSD; /* vars used until here */ if ( setjmp( TSD->protect_return ) ) { TSD = saved_TSD; /* prevents bugs like 592393 */ panicked = 1; } else fetch( TSD, fptr, str, result ); TSD->in_protected = 0; THREAD_UNPROTECT( regina_parser ) if ( !panicked ) return; /* * We got a fatal condition while fetching the input. */ memset(result, 0, sizeof(internal_parser_type)); /* * FIXME: Currently no time to investigate it, but we have to do * a cleanup of the node and source lines of parser_data * here. Test this with * interpret '"a=' * and with * interpret 'nop;"a=' */ if ( TSD->delayed_error_type == PROTECTED_DelayedInterpreterExit ) jump_interpreter_exit( TSD, TSD->expected_exit_error ); if ( TSD->delayed_error_type == PROTECTED_DelayedRexxSignal ) jump_rexx_signal( TSD ); jump_script_exit( TSD, TSD->systeminfo->result ); } /* fetch_file reads in a REXX file from disk (or a pipe). It returns without * executing the program. The parsed tree with all needed values including * the result of the parsing is copied to result. * fptr remains open after this call. * type is either PARSE_ONLY or PARSE_AND_TIN. In the later case a tinned variant of the * parsing tree is created, too. */ void fetch_file(tsd_t *TSD, FILE *fptr, internal_parser_type *result) { fetch_protected(TSD, fptr, NULL, result); } /* fetch_string reads in a REXX macro from a streng. It returns without * executing the program. The parsed tree with all needed values including * the result of the parsing is copied to result. * type is either PARSE_ONLY or PARSE_AND_TIN. In the later case a tinned variant of the * parsing tree is created, too. * The function is typically called by an "INTERPRET" instruction. */ void fetch_string(tsd_t *TSD, const streng *str, internal_parser_type *result) { fetch_protected(TSD, NULL, str, result); }