#line 3 "lex.c" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 31 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; #endif /* ! C99 */ /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ #if __STDC__ #define YY_USE_CONST #endif /* __STDC__ */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #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. */ #ifndef YY_BUF_SIZE #define YY_BUF_SIZE 16384 #endif #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - 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). */ #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef unsigned int yy_size_t; #endif #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* 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 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* 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". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* 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 (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 13 #define YY_END_OF_BUFFER 14 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[476] = { 0, 0, 7, 12, 7, 14, 13, 4, 1, 6, 7, 1, 3, 6, 11, 12, 11, 1, 11, 8, 6, 7, 6, 1, 3, 6, 6, 6, 1, 6, 7, 1, 3, 3, 3, 3, 6, 5, 11, 11, 11, 0, 12, 11, 0, 10, 11, 1, 1, 1, 1, 11, 0, 9, 11, 0, 0, 6, 6, 6, 6, 7, 6, 6, 6, 6, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 6, 6, 6, 6, 6, 6, 6, 5, 3, 3, 3, 5, 5, 10, 0, 11, 11, 0, 11, 0, 10, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 0, 11, 0, 11, 0, 9, 11, 6, 6, 6, 6, 6, 6, 6, 6, 6, 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, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 3, 3, 2, 10, 0, 11, 10, 0, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 0, 11, 9, 0, 11, 6, 6, 6, 6, 6, 6, 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, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2, 3, 3, 2, 2, 10, 0, 11, 10, 0, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 0, 11, 9, 0, 11, 6, 6, 6, 6, 6, 6, 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, 2, 3, 3, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 0, 6, 6, 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, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 5, 6, 1, 7, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 10, 1, 11, 1, 1, 1, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 1, 13, 1, 1, 12, 1, 1, 1, 1, 14, 15, 16, 1, 1, 17, 1, 1, 18, 1, 19, 1, 1, 1, 1, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[21] = { 0, 1, 2, 3, 4, 5, 1, 1, 6, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[788] = { 0, 0, 5, 16, 25, 324, 5969, 5969, 0, 0, 317, 316, 8, 4, 31, 306, 40, 52, 61, 39, 41, 303, 73, 85, 94, 110, 47, 119, 0, 0, 296, 294, 293, 0, 54, 18, 56, 0, 72, 130, 142, 53, 289, 0, 35, 84, 154, 166, 175, 187, 83, 0, 1, 93, 199, 92, 71, 109, 211, 223, 102, 285, 0, 129, 235, 247, 259, 268, 280, 146, 292, 301, 313, 158, 97, 242, 0, 165, 325, 337, 349, 361, 0, 373, 106, 139, 230, 134, 0, 200, 178, 174, 0, 181, 0, 156, 382, 394, 406, 191, 418, 427, 439, 190, 451, 460, 205, 214, 113, 226, 236, 98, 472, 134, 484, 496, 237, 90, 117, 141, 508, 520, 532, 0, 544, 556, 568, 577, 589, 601, 613, 622, 634, 646, 658, 670, 250, 682, 691, 703, 715, 271, 727, 736, 748, 760, 772, 784, 803, 185, 246, 157, 215, 816, 828, 840, 852, 864, 876, 885, 897, 909, 213, 64, 68, 916, 263, 928, 940, 952, 964, 257, 272, 976, 209, 284, 985, 296, 997, 1009, 305, 309, 1021, 327, 1030, 317, 1042, 1054, 1066, 328, 1078, 1090, 1102, 1114, 1126, 1138, 1150, 1162, 1174, 1186, 1198, 233, 341, 351, 1207, 1219, 1231, 1243, 1255, 1267, 353, 363, 1276, 1288, 1300, 1312, 1324, 365, 388, 1336, 270, 374, 398, 1345, 1357, 409, 1369, 1381, 1393, 413, 430, 1405, 443, 452, 1414, 1426, 431, 1438, 1450, 1462, 1474, 1490, 1506, 1518, 1530, 1542, 1554, 1566, 1578, 1589, 1601, 1610, 1622, 1634, 1645, 1657, 1666, 1678, 1690, 1702, 57, 156, 190, 0, 36, 1714, 1726, 1738, 1750, 1762, 1774, 1786, 422, 1798, 1810, 1822, 1834, 1846, 463, 1858, 1870, 1882, 1894, 1906, 1918, 1930, 1942, 1954, 1966, 1978, 1990, 2002, 2014, 2026, 2038, 2050, 2062, 2074, 2086, 2098, 2110, 2122, 2134, 2146, 2158, 2170, 2182, 476, 464, 2194, 488, 2206, 2218, 2230, 2242, 2254, 2266, 500, 487, 2278, 504, 2290, 2302, 2314, 2326, 2338, 2350, 2362, 2371, 13, 2386, 2398, 2410, 2422, 2434, 2446, 2458, 2464, 2476, 384, 2485, 2492, 2499, 2511, 2522, 2534, 2546, 2558, 2570, 2576, 2588, 2597, 2604, 2611, 2623, 2634, 2646, 2658, 2670, 2682, 2694, 2706, 2718, 2730, 2742, 2754, 2766, 2778, 2790, 2802, 2814, 2826, 2838, 2850, 2862, 2874, 2886, 2898, 2910, 2922, 2934, 2946, 2958, 2970, 2982, 2994, 3006, 3018, 3030, 3042, 3054, 3066, 3078, 3090, 3102, 3114, 3126, 3138, 3150, 3162, 3174, 3186, 3198, 3210, 3222, 3234, 3246, 3258, 3270, 3282, 3288, 3300, 3311, 3323, 3335, 3347, 3359, 3371, 3383, 3395, 3401, 3413, 3424, 3436, 3448, 3460, 3472, 3484, 3496, 3508, 3520, 3532, 3544, 3556, 3568, 0, 3580, 0, 0, 3592, 0, 3604, 0, 0, 3616, 0, 3628, 3640, 0, 3652, 0, 3664, 0, 0, 0, 3676, 3688, 0, 3700, 0, 3712, 0, 0, 0, 3724, 0, 0, 3736, 0, 3748, 0, 0, 3760, 0, 3772, 5969, 3785, 3792, 3799, 3806, 3813, 3820, 3827, 3834, 3841, 3848, 3855, 3862, 3869, 3876, 3883, 3890, 3897, 3904, 3911, 3918, 3925, 3932, 3939, 3946, 3953, 3960, 3967, 3974, 3981, 3988, 3995, 4002, 4009, 4016, 4023, 4030, 4037, 4044, 4051, 4058, 4065, 4072, 4079, 4086, 4093, 4100, 4107, 4113, 4120, 4127, 4134, 4141, 4148, 4155, 4162, 4169, 4176, 4183, 4190, 4197, 4204, 4211, 4218, 4225, 4232, 4239, 4246, 4253, 4260, 4267, 4274, 4281, 4288, 4295, 4302, 4309, 4316, 4323, 4330, 4337, 4344, 4351, 4358, 4365, 4372, 4379, 4386, 4393, 4400, 4407, 4414, 4421, 4428, 4435, 4442, 4449, 4456, 4463, 4470, 4477, 4484, 4491, 4498, 4505, 4512, 4519, 4526, 4533, 4540, 4547, 4554, 4561, 4568, 4575, 4582, 4589, 4596, 4603, 4610, 4617, 4624, 4631, 4638, 4645, 4652, 4659, 4666, 4673, 4680, 4687, 4694, 4701, 4708, 4715, 4722, 4729, 4736, 4743, 4750, 4757, 4764, 4771, 4778, 4785, 4792, 4799, 4806, 4813, 4820, 4827, 4834, 4841, 4848, 4855, 4862, 4869, 4876, 4883, 4890, 4897, 4904, 4911, 4918, 4925, 4932, 4939, 4946, 4953, 4960, 4967, 4974, 4981, 4988, 4995, 5002, 5009, 5016, 5023, 5030, 5037, 5044, 5051, 5058, 5065, 5072, 5079, 5086, 5093, 5100, 5107, 5114, 5121, 5128, 5135, 5142, 5149, 5156, 5163, 5170, 5177, 5184, 5191, 5198, 5205, 5212, 5219, 5226, 5233, 5240, 5247, 5254, 5261, 5268, 5275, 5282, 5289, 5296, 5303, 5310, 5317, 5324, 5331, 5338, 5345, 5352, 5359, 5366, 5373, 5380, 5387, 5394, 5401, 5408, 5415, 5422, 5429, 5436, 5443, 5450, 5457, 5464, 5471, 5478, 5485, 5492, 5499, 5506, 5513, 5520, 5527, 5534, 5541, 5548, 5555, 5562, 5569, 5576, 5583, 5590, 5597, 5604, 5611, 5618, 5625, 5632, 5639, 5646, 5653, 5660, 5667, 5674, 5681, 5688, 5695, 5702, 5709, 5716, 5723, 5730, 5737, 5744, 5751, 5758, 5765, 5772, 5779, 5786, 5793, 5800, 5807, 5814, 5821, 5828, 5835, 5842, 5849, 5856, 5863, 5870, 5877, 5884, 5891, 5898, 5905, 5912, 5919, 5926, 5933, 5940, 5947, 5954, 5961 } ; static yyconst flex_int16_t yy_def[788] = { 0, 476, 477, 478, 479, 475, 475, 475, 480, 481, 475, 482, 483, 481, 484, 475, 485, 486, 487, 488, 489, 475, 490, 491, 492, 493, 494, 489, 480, 481, 475, 482, 483, 495, 483, 483, 481, 496, 484, 485, 487, 488, 475, 39, 497, 498, 499, 486, 500, 501, 502, 40, 503, 504, 505, 497, 503, 489, 490, 493, 494, 475, 58, 506, 507, 508, 491, 509, 510, 511, 492, 512, 513, 514, 70, 70, 59, 515, 516, 517, 507, 516, 27, 518, 483, 483, 483, 496, 519, 520, 521, 498, 522, 520, 39, 497, 523, 499, 500, 524, 525, 526, 501, 527, 528, 529, 524, 527, 530, 531, 532, 530, 533, 534, 535, 536, 506, 537, 538, 538, 539, 540, 541, 80, 542, 543, 544, 545, 546, 547, 548, 549, 550, 545, 549, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 554, 559, 561, 561, 148, 562, 563, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 573, 574, 575, 576, 577, 577, 575, 578, 579, 580, 581, 582, 579, 583, 584, 585, 586, 587, 588, 589, 587, 590, 591, 592, 593, 594, 595, 596, 596, 594, 597, 598, 599, 600, 600, 598, 601, 602, 603, 604, 604, 605, 606, 607, 608, 609, 610, 611, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 631, 632, 633, 634, 635, 636, 637, 638, 638, 639, 640, 641, 641, 639, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 646, 651, 653, 653, 653, 654, 654, 655, 656, 657, 657, 655, 658, 659, 660, 661, 661, 659, 662, 663, 664, 665, 665, 663, 666, 667, 668, 669, 669, 667, 670, 671, 672, 673, 673, 671, 674, 675, 676, 677, 677, 675, 678, 679, 680, 681, 681, 679, 682, 683, 684, 685, 686, 687, 688, 689, 689, 687, 690, 691, 692, 693, 694, 695, 696, 697, 697, 695, 698, 699, 699, 328, 700, 701, 702, 702, 700, 703, 704, 705, 706, 707, 708, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 729, 727, 730, 731, 732, 733, 733, 731, 734, 735, 736, 737, 738, 739, 740, 741, 741, 739, 742, 743, 744, 745, 745, 743, 746, 747, 747, 748, 749, 750, 751, 751, 749, 752, 753, 753, 754, 755, 756, 757, 757, 755, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 767, 765, 768, 769, 770, 771, 772, 773, 774, 775, 775, 773, 776, 777, 778, 779, 780, 781, 782, 387, 783, 390, 390, 748, 396, 750, 399, 399, 754, 405, 756, 763, 447, 784, 417, 785, 416, 416, 417, 768, 771, 456, 786, 427, 787, 426, 426, 427, 776, 447, 447, 784, 417, 785, 456, 456, 786, 427, 787, 0, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475 } ; static yyconst flex_int16_t yy_nxt[5990] = { 0, 475, 88, 7, 29, 475, 8, 10, 7, 108, 33, 11, 12, 36, 109, 37, 36, 13, 15, 7, 33, 16, 17, 34, 18, 35, 19, 21, 7, 327, 22, 23, 24, 25, 86, 26, 39, 27, 264, 40, 89, 41, 44, 44, 55, 45, 58, 56, 90, 59, 44, 60, 80, 46, 28, 81, 33, 48, 55, 33, 49, 56, 50, 52, 52, 36, 33, 37, 36, 53, 264, 52, 84, 85, 54, 44, 44, 39, 63, 108, 40, 262, 41, 64, 109, 28, 65, 28, 106, 39, 67, 107, 92, 68, 93, 69, 33, 89, 92, 71, 29, 40, 72, 111, 73, 90, 56, 80, 33, 74, 81, 75, 52, 52, 58, 147, 148, 59, 77, 60, 78, 56, 80, 79, 58, 29, 162, 59, 82, 60, 83, 82, 44, 44, 58, 45, 88, 117, 29, 118, 44, 33, 108, 46, 52, 52, 80, 109, 28, 29, 53, 133, 52, 163, 134, 54, 95, 44, 33, 96, 33, 89, 29, 145, 95, 81, 146, 97, 28, 90, 117, 48, 86, 59, 49, 151, 50, 99, 44, 39, 100, 44, 92, 165, 93, 99, 55, 164, 101, 103, 52, 166, 33, 52, 44, 104, 171, 103, 180, 70, 105, 113, 52, 181, 172, 55, 260, 114, 44, 113, 171, 28, 115, 44, 44, 33, 63, 52, 172, 28, 29, 64, 180, 81, 65, 52, 52, 181, 260, 52, 261, 77, 164, 78, 188, 28, 79, 44, 44, 189, 119, 92, 58, 31, 40, 117, 111, 118, 120, 95, 44, 117, 122, 44, 59, 217, 151, 123, 149, 28, 124, 28, 106, 218, 67, 28, 44, 68, 165, 69, 99, 44, 33, 126, 52, 44, 166, 271, 127, 229, 32, 128, 103, 52, 230, 272, 28, 61, 130, 106, 131, 42, 28, 132, 33, 33, 28, 71, 30, 44, 72, 171, 73, 136, 44, 61, 137, 28, 42, 172, 28, 138, 52, 107, 139, 141, 52, 277, 28, 30, 52, 142, 278, 143, 475, 180, 144, 52, 52, 28, 181, 52, 28, 152, 475, 107, 188, 475, 153, 113, 52, 189, 475, 28, 475, 155, 133, 156, 475, 31, 157, 44, 44, 28, 119, 28, 133, 475, 31, 31, 475, 134, 120, 52, 52, 28, 475, 33, 31, 152, 308, 134, 475, 33, 153, 88, 33, 57, 159, 145, 475, 160, 32, 161, 44, 44, 88, 168, 117, 475, 43, 44, 169, 309, 87, 170, 95, 44, 475, 96, 33, 310, 475, 145, 95, 475, 32, 97, 99, 44, 475, 100, 44, 475, 217, 33, 99, 475, 33, 101, 28, 318, 218, 48, 475, 44, 174, 271, 175, 177, 44, 475, 178, 52, 52, 272, 475, 177, 319, 229, 179, 103, 52, 320, 230, 33, 475, 104, 32, 103, 475, 146, 105, 28, 33, 475, 174, 32, 475, 49, 146, 183, 185, 52, 475, 475, 52, 44, 186, 217, 185, 277, 475, 187, 52, 52, 278, 218, 33, 475, 53, 308, 52, 475, 33, 54, 52, 52, 475, 51, 52, 44, 191, 309, 192, 229, 475, 193, 113, 52, 230, 310, 33, 475, 114, 33, 113, 52, 318, 115, 95, 44, 319, 194, 475, 475, 475, 320, 475, 475, 475, 195, 44, 44, 475, 63, 475, 475, 475, 475, 64, 475, 475, 65, 44, 44, 475, 197, 475, 475, 62, 475, 198, 475, 475, 199, 95, 44, 475, 122, 475, 475, 475, 475, 123, 475, 475, 124, 99, 44, 475, 126, 475, 475, 475, 475, 127, 475, 475, 128, 28, 475, 475, 67, 475, 475, 201, 475, 202, 99, 44, 475, 203, 475, 475, 475, 475, 475, 475, 475, 204, 177, 44, 475, 206, 475, 475, 475, 475, 207, 475, 475, 208, 103, 52, 475, 475, 475, 475, 130, 475, 131, 475, 475, 132, 28, 475, 475, 201, 475, 475, 68, 475, 210, 103, 52, 475, 475, 475, 475, 211, 475, 475, 475, 475, 212, 185, 52, 475, 475, 475, 475, 214, 475, 215, 475, 475, 216, 99, 44, 475, 203, 475, 475, 475, 475, 475, 475, 475, 204, 103, 52, 475, 475, 475, 475, 211, 475, 475, 475, 475, 212, 136, 44, 475, 137, 475, 475, 475, 475, 138, 475, 475, 139, 33, 475, 475, 71, 475, 475, 220, 475, 221, 136, 44, 475, 222, 475, 475, 475, 475, 475, 475, 475, 223, 225, 44, 475, 226, 475, 475, 475, 475, 227, 475, 475, 228, 141, 52, 475, 475, 475, 475, 142, 475, 143, 475, 475, 144, 33, 475, 475, 220, 475, 475, 72, 475, 232, 141, 52, 475, 475, 475, 475, 233, 475, 475, 475, 475, 234, 236, 52, 475, 475, 475, 475, 237, 475, 238, 475, 475, 239, 136, 44, 475, 222, 475, 475, 475, 475, 475, 475, 475, 223, 141, 52, 475, 475, 475, 475, 233, 475, 475, 475, 475, 234, 33, 475, 475, 71, 475, 475, 72, 475, 73, 475, 475, 475, 475, 475, 475, 475, 475, 475, 240, 33, 475, 475, 71, 475, 475, 72, 475, 73, 475, 475, 475, 241, 113, 52, 475, 475, 475, 475, 242, 475, 475, 475, 475, 243, 52, 52, 475, 475, 475, 475, 77, 475, 78, 475, 475, 79, 52, 52, 475, 76, 475, 475, 245, 475, 246, 475, 475, 247, 52, 52, 475, 475, 475, 475, 152, 475, 475, 475, 475, 153, 113, 52, 475, 475, 475, 475, 155, 475, 156, 475, 475, 157, 88, 475, 57, 159, 475, 475, 160, 475, 161, 249, 44, 62, 250, 475, 475, 475, 475, 251, 475, 475, 252, 254, 52, 76, 475, 475, 475, 255, 475, 256, 475, 475, 257, 88, 475, 60, 258, 475, 475, 259, 44, 44, 475, 265, 475, 475, 44, 475, 475, 475, 475, 266, 44, 44, 475, 168, 475, 475, 43, 475, 169, 475, 475, 170, 44, 44, 475, 168, 475, 475, 43, 475, 169, 475, 475, 170, 44, 44, 475, 265, 475, 475, 44, 475, 475, 475, 475, 266, 95, 44, 475, 268, 475, 475, 94, 475, 269, 475, 475, 270, 28, 475, 475, 48, 475, 475, 174, 475, 175, 99, 44, 475, 100, 475, 475, 475, 475, 99, 475, 475, 101, 99, 44, 475, 274, 475, 475, 98, 475, 275, 475, 475, 276, 177, 44, 475, 178, 475, 475, 475, 475, 177, 475, 475, 179, 28, 475, 475, 174, 475, 475, 49, 475, 183, 103, 52, 475, 475, 475, 475, 104, 475, 103, 475, 475, 105, 103, 52, 475, 102, 475, 475, 280, 475, 281, 475, 475, 282, 185, 52, 475, 475, 475, 475, 186, 475, 185, 475, 475, 187, 52, 52, 475, 52, 475, 475, 283, 475, 475, 475, 475, 284, 52, 52, 475, 51, 475, 475, 191, 475, 192, 475, 475, 193, 52, 52, 475, 51, 475, 475, 191, 475, 192, 475, 475, 193, 52, 52, 475, 52, 475, 475, 283, 475, 475, 475, 475, 284, 113, 52, 475, 112, 475, 475, 286, 475, 287, 475, 475, 288, 44, 44, 475, 289, 475, 475, 64, 475, 475, 475, 475, 290, 95, 44, 475, 194, 475, 475, 475, 475, 475, 475, 475, 195, 44, 44, 475, 197, 475, 475, 62, 475, 198, 475, 475, 199, 44, 44, 475, 197, 475, 475, 62, 475, 198, 475, 475, 199, 44, 44, 475, 289, 475, 475, 64, 475, 475, 475, 475, 290, 95, 44, 475, 292, 475, 475, 121, 475, 293, 475, 475, 294, 28, 475, 475, 67, 475, 475, 201, 475, 202, 177, 44, 475, 295, 475, 475, 475, 475, 475, 475, 475, 296, 99, 44, 475, 126, 475, 475, 475, 475, 127, 475, 475, 128, 99, 44, 475, 298, 475, 475, 125, 475, 299, 475, 475, 300, 99, 44, 475, 203, 475, 475, 475, 475, 475, 475, 475, 204, 177, 44, 475, 206, 475, 475, 475, 475, 207, 475, 475, 208, 28, 475, 475, 201, 475, 475, 68, 475, 210, 185, 52, 475, 475, 475, 475, 301, 475, 475, 475, 475, 302, 103, 52, 475, 475, 475, 475, 130, 475, 131, 475, 475, 132, 103, 52, 475, 129, 475, 475, 304, 475, 305, 475, 475, 306, 103, 52, 475, 475, 475, 475, 211, 475, 475, 475, 475, 212, 185, 52, 475, 475, 475, 475, 214, 475, 215, 475, 475, 216, 33, 475, 475, 71, 475, 475, 220, 475, 221, 225, 44, 475, 311, 475, 475, 475, 475, 475, 475, 475, 312, 136, 44, 475, 137, 475, 475, 475, 475, 138, 475, 475, 139, 136, 44, 475, 314, 475, 475, 135, 475, 315, 475, 475, 316, 136, 44, 475, 222, 475, 475, 475, 475, 475, 475, 475, 223, 225, 44, 475, 226, 475, 475, 475, 475, 227, 475, 475, 228, 33, 475, 475, 220, 475, 475, 72, 475, 232, 236, 52, 475, 475, 475, 475, 321, 475, 475, 475, 475, 322, 141, 52, 475, 475, 475, 475, 142, 475, 143, 475, 475, 144, 141, 52, 475, 140, 475, 475, 324, 475, 325, 475, 475, 326, 141, 52, 475, 475, 475, 475, 233, 475, 475, 475, 475, 234, 236, 52, 475, 475, 475, 475, 237, 475, 238, 475, 475, 239, 33, 475, 475, 71, 475, 475, 72, 475, 73, 475, 475, 475, 475, 327, 475, 328, 33, 475, 475, 71, 475, 475, 72, 475, 73, 475, 475, 475, 475, 475, 475, 329, 52, 52, 475, 78, 475, 475, 330, 475, 475, 475, 475, 331, 113, 52, 475, 475, 475, 475, 242, 475, 475, 475, 475, 243, 52, 52, 475, 76, 475, 475, 245, 475, 246, 475, 475, 247, 52, 52, 475, 76, 475, 475, 245, 475, 246, 475, 475, 247, 52, 52, 475, 78, 475, 475, 330, 475, 475, 475, 475, 331, 113, 52, 475, 154, 475, 475, 333, 475, 334, 475, 475, 335, 249, 44, 62, 250, 475, 475, 475, 475, 251, 475, 475, 252, 44, 44, 336, 475, 475, 475, 475, 475, 475, 475, 337, 88, 475, 116, 159, 475, 475, 339, 475, 340, 249, 44, 64, 341, 475, 475, 475, 475, 475, 475, 475, 342, 344, 44, 121, 345, 475, 475, 475, 475, 346, 475, 475, 347, 254, 52, 76, 475, 475, 475, 255, 475, 256, 475, 475, 257, 52, 52, 475, 475, 475, 348, 475, 475, 475, 475, 349, 88, 475, 150, 339, 475, 475, 160, 475, 351, 254, 52, 78, 475, 475, 475, 352, 475, 475, 475, 475, 353, 355, 52, 154, 475, 475, 475, 356, 475, 357, 475, 475, 358, 249, 44, 64, 341, 475, 475, 475, 475, 475, 475, 475, 342, 254, 52, 78, 475, 475, 475, 352, 475, 475, 475, 475, 353, 44, 44, 475, 265, 475, 475, 44, 475, 475, 475, 475, 266, 95, 44, 475, 359, 475, 475, 95, 475, 475, 475, 475, 360, 44, 44, 475, 168, 475, 475, 43, 475, 169, 475, 475, 170, 44, 44, 475, 168, 475, 475, 43, 475, 169, 475, 475, 170, 44, 44, 475, 265, 475, 475, 44, 475, 475, 475, 475, 266, 95, 44, 475, 268, 475, 475, 94, 475, 269, 475, 475, 270, 99, 44, 475, 361, 475, 475, 99, 475, 475, 475, 475, 362, 99, 44, 475, 274, 475, 475, 98, 475, 275, 475, 475, 276, 99, 44, 475, 274, 475, 475, 98, 475, 275, 475, 475, 276, 99, 44, 475, 361, 475, 475, 99, 475, 475, 475, 475, 362, 177, 44, 475, 364, 475, 475, 176, 475, 365, 475, 475, 366, 103, 52, 475, 103, 475, 475, 367, 475, 475, 475, 475, 368, 103, 52, 475, 102, 475, 475, 280, 475, 281, 475, 475, 282, 103, 52, 475, 102, 475, 475, 280, 475, 281, 475, 475, 282, 103, 52, 475, 103, 475, 475, 367, 475, 475, 475, 475, 368, 185, 52, 475, 184, 475, 475, 370, 475, 371, 475, 475, 372, 52, 52, 475, 52, 475, 475, 283, 475, 475, 475, 475, 284, 113, 52, 475, 113, 475, 475, 373, 475, 475, 475, 475, 374, 52, 52, 475, 51, 475, 475, 191, 475, 192, 475, 475, 193, 52, 52, 475, 51, 475, 475, 191, 475, 192, 475, 475, 193, 52, 52, 475, 52, 475, 475, 283, 475, 475, 475, 475, 284, 113, 52, 475, 112, 475, 475, 286, 475, 287, 475, 475, 288, 44, 44, 475, 289, 475, 475, 64, 475, 475, 475, 475, 290, 95, 44, 475, 375, 475, 475, 123, 475, 475, 475, 475, 376, 44, 44, 475, 197, 475, 475, 62, 475, 198, 475, 475, 199, 44, 44, 475, 197, 475, 475, 62, 475, 198, 475, 475, 199, 44, 44, 475, 289, 475, 475, 64, 475, 475, 475, 475, 290, 95, 44, 475, 292, 475, 475, 121, 475, 293, 475, 475, 294, 99, 44, 475, 377, 475, 475, 127, 475, 475, 475, 475, 378, 177, 44, 475, 295, 475, 475, 475, 475, 475, 475, 475, 296, 99, 44, 475, 298, 475, 475, 125, 475, 299, 475, 475, 300, 99, 44, 475, 298, 475, 475, 125, 475, 299, 475, 475, 300, 99, 44, 475, 377, 475, 475, 127, 475, 475, 475, 475, 378, 177, 44, 475, 380, 475, 475, 205, 475, 381, 475, 475, 382, 103, 52, 475, 131, 475, 475, 383, 475, 475, 475, 475, 384, 185, 52, 475, 475, 475, 475, 301, 475, 475, 475, 475, 302, 103, 52, 475, 129, 475, 475, 304, 475, 305, 475, 475, 306, 103, 52, 475, 129, 475, 475, 304, 475, 305, 475, 475, 306, 103, 52, 475, 131, 475, 475, 383, 475, 475, 475, 475, 384, 185, 52, 475, 213, 475, 475, 386, 475, 387, 475, 475, 388, 136, 44, 475, 390, 475, 475, 136, 475, 475, 475, 475, 391, 136, 44, 475, 392, 475, 475, 138, 475, 475, 475, 475, 393, 225, 44, 475, 311, 475, 475, 475, 475, 475, 475, 475, 312, 136, 44, 475, 314, 475, 475, 135, 475, 315, 475, 475, 316, 136, 44, 475, 314, 475, 475, 135, 475, 315, 475, 475, 316, 136, 44, 475, 392, 475, 475, 138, 475, 475, 475, 475, 393, 225, 44, 475, 395, 475, 475, 224, 475, 396, 475, 475, 397, 141, 52, 475, 141, 475, 475, 399, 475, 475, 475, 475, 400, 141, 52, 475, 143, 475, 475, 401, 475, 475, 475, 475, 402, 236, 52, 475, 475, 475, 475, 321, 475, 475, 475, 475, 322, 141, 52, 475, 140, 475, 475, 324, 475, 325, 475, 475, 326, 141, 52, 475, 140, 475, 475, 324, 475, 325, 475, 475, 326, 141, 52, 475, 143, 475, 475, 401, 475, 475, 475, 475, 402, 236, 52, 475, 235, 475, 475, 404, 475, 405, 475, 475, 406, 33, 475, 475, 71, 475, 475, 72, 475, 73, 33, 475, 475, 71, 475, 475, 72, 475, 73, 475, 475, 475, 475, 475, 149, 52, 52, 475, 78, 475, 475, 330, 475, 475, 475, 475, 331, 113, 52, 475, 156, 475, 475, 407, 475, 475, 475, 475, 408, 52, 52, 475, 76, 475, 475, 245, 475, 246, 475, 475, 247, 52, 52, 475, 76, 475, 475, 245, 475, 246, 475, 475, 247, 52, 52, 475, 78, 475, 475, 330, 475, 475, 475, 475, 331, 113, 52, 475, 154, 475, 475, 333, 475, 334, 475, 475, 335, 88, 475, 93, 410, 475, 475, 88, 44, 95, 411, 475, 475, 475, 475, 475, 475, 475, 412, 88, 475, 116, 159, 475, 475, 339, 475, 340, 88, 475, 118, 258, 475, 475, 87, 88, 475, 118, 258, 475, 475, 87, 344, 44, 123, 413, 475, 475, 475, 475, 475, 475, 475, 414, 249, 44, 62, 250, 475, 475, 475, 475, 251, 475, 475, 252, 44, 44, 336, 475, 475, 475, 475, 475, 475, 475, 337, 249, 44, 196, 416, 475, 475, 248, 475, 417, 475, 475, 418, 249, 44, 64, 341, 475, 475, 475, 475, 475, 475, 475, 342, 344, 44, 121, 345, 475, 475, 475, 475, 346, 475, 475, 347, 88, 475, 111, 88, 475, 475, 420, 52, 113, 475, 475, 475, 421, 475, 475, 475, 475, 422, 88, 475, 150, 339, 475, 475, 160, 475, 351, 88, 475, 151, 87, 475, 475, 259, 88, 475, 151, 87, 475, 475, 259, 355, 52, 156, 475, 475, 475, 423, 475, 475, 475, 475, 424, 254, 52, 76, 475, 475, 475, 255, 475, 256, 475, 475, 257, 52, 52, 475, 475, 475, 348, 475, 475, 475, 475, 349, 254, 52, 244, 253, 475, 475, 426, 475, 427, 475, 475, 428, 254, 52, 78, 475, 475, 475, 352, 475, 475, 475, 475, 353, 355, 52, 154, 475, 475, 475, 356, 475, 357, 475, 475, 358, 44, 44, 475, 265, 475, 475, 44, 475, 475, 475, 475, 266, 95, 44, 475, 359, 475, 475, 95, 475, 475, 475, 475, 360, 99, 44, 475, 361, 475, 475, 99, 475, 475, 475, 475, 362, 177, 44, 475, 429, 475, 475, 177, 475, 475, 475, 475, 430, 99, 44, 475, 274, 475, 475, 98, 475, 275, 475, 475, 276, 99, 44, 475, 274, 475, 475, 98, 475, 275, 475, 475, 276, 99, 44, 475, 361, 475, 475, 99, 475, 475, 475, 475, 362, 177, 44, 475, 364, 475, 475, 176, 475, 365, 475, 475, 366, 103, 52, 475, 103, 475, 475, 367, 475, 475, 475, 475, 368, 185, 52, 475, 185, 475, 475, 431, 475, 475, 475, 475, 432, 103, 52, 475, 102, 475, 475, 280, 475, 281, 475, 475, 282, 103, 52, 475, 102, 475, 475, 280, 475, 281, 475, 475, 282, 103, 52, 475, 103, 475, 475, 367, 475, 475, 475, 475, 368, 185, 52, 475, 184, 475, 475, 370, 475, 371, 475, 475, 372, 52, 52, 475, 52, 475, 475, 283, 475, 475, 475, 475, 284, 113, 52, 475, 113, 475, 475, 373, 475, 475, 475, 475, 374, 44, 44, 475, 289, 475, 475, 64, 475, 475, 475, 475, 290, 95, 44, 475, 375, 475, 475, 123, 475, 475, 475, 475, 376, 99, 44, 475, 377, 475, 475, 127, 475, 475, 475, 475, 378, 177, 44, 475, 433, 475, 475, 207, 475, 475, 475, 475, 434, 99, 44, 475, 298, 475, 475, 125, 475, 299, 475, 475, 300, 99, 44, 475, 298, 475, 475, 125, 475, 299, 475, 475, 300, 99, 44, 475, 377, 475, 475, 127, 475, 475, 475, 475, 378, 177, 44, 475, 380, 475, 475, 205, 475, 381, 475, 475, 382, 103, 52, 475, 131, 475, 475, 383, 475, 475, 475, 475, 384, 185, 52, 475, 215, 475, 475, 435, 475, 475, 475, 475, 436, 103, 52, 475, 129, 475, 475, 304, 475, 305, 475, 475, 306, 103, 52, 475, 129, 475, 475, 304, 475, 305, 475, 475, 306, 103, 52, 475, 131, 475, 475, 383, 475, 475, 475, 475, 384, 185, 52, 475, 213, 475, 475, 386, 475, 387, 475, 475, 388, 136, 44, 475, 390, 475, 475, 136, 475, 475, 475, 475, 391, 136, 44, 475, 390, 475, 475, 136, 475, 475, 475, 475, 391, 225, 44, 475, 438, 475, 475, 225, 475, 475, 475, 475, 439, 136, 44, 475, 392, 475, 475, 138, 475, 475, 475, 475, 393, 225, 44, 475, 440, 475, 475, 227, 475, 475, 475, 475, 441, 136, 44, 475, 314, 475, 475, 135, 475, 315, 475, 475, 316, 136, 44, 475, 314, 475, 475, 135, 475, 315, 475, 475, 316, 136, 44, 475, 392, 475, 475, 138, 475, 475, 475, 475, 393, 225, 44, 475, 395, 475, 475, 224, 475, 396, 475, 475, 397, 141, 52, 475, 141, 475, 475, 399, 475, 475, 475, 475, 400, 141, 52, 475, 141, 475, 475, 399, 475, 475, 475, 475, 400, 236, 52, 475, 236, 475, 475, 443, 475, 475, 475, 475, 444, 141, 52, 475, 143, 475, 475, 401, 475, 475, 475, 475, 402, 236, 52, 475, 238, 475, 475, 445, 475, 475, 475, 475, 446, 141, 52, 475, 140, 475, 475, 324, 475, 325, 475, 475, 326, 141, 52, 475, 140, 475, 475, 324, 475, 325, 475, 475, 326, 141, 52, 475, 143, 475, 475, 401, 475, 475, 475, 475, 402, 236, 52, 475, 235, 475, 475, 404, 475, 405, 475, 475, 406, 52, 52, 475, 78, 475, 475, 330, 475, 475, 475, 475, 331, 113, 52, 475, 156, 475, 475, 407, 475, 475, 475, 475, 408, 88, 475, 93, 410, 475, 475, 88, 44, 44, 336, 475, 475, 475, 475, 475, 475, 475, 337, 249, 44, 169, 448, 475, 475, 249, 475, 475, 475, 475, 449, 44, 95, 411, 475, 475, 475, 475, 475, 475, 475, 412, 249, 44, 198, 450, 475, 475, 251, 475, 475, 475, 475, 451, 344, 44, 123, 413, 475, 475, 475, 475, 475, 475, 475, 414, 249, 44, 196, 416, 475, 475, 248, 475, 417, 475, 475, 418, 249, 44, 196, 416, 475, 475, 248, 475, 417, 475, 475, 418, 249, 44, 198, 450, 475, 475, 251, 475, 475, 475, 475, 451, 344, 44, 291, 453, 475, 475, 343, 475, 454, 475, 475, 455, 88, 475, 111, 88, 475, 475, 420, 52, 52, 475, 475, 475, 348, 475, 475, 475, 475, 349, 254, 52, 192, 254, 475, 475, 457, 475, 475, 475, 475, 458, 52, 113, 475, 475, 475, 421, 475, 475, 475, 475, 422, 254, 52, 246, 256, 475, 475, 459, 475, 475, 475, 475, 460, 355, 52, 156, 475, 475, 475, 423, 475, 475, 475, 475, 424, 254, 52, 244, 253, 475, 475, 426, 475, 427, 475, 475, 428, 254, 52, 244, 253, 475, 475, 426, 475, 427, 475, 475, 428, 254, 52, 246, 256, 475, 475, 459, 475, 475, 475, 475, 460, 355, 52, 332, 354, 475, 475, 462, 475, 463, 475, 475, 464, 99, 44, 475, 361, 475, 475, 99, 475, 475, 475, 475, 362, 177, 44, 475, 429, 475, 475, 177, 475, 475, 475, 475, 430, 103, 52, 475, 103, 475, 475, 367, 475, 475, 475, 475, 368, 185, 52, 475, 185, 475, 475, 431, 475, 475, 475, 475, 432, 99, 44, 475, 377, 475, 475, 127, 475, 475, 475, 475, 378, 177, 44, 475, 433, 475, 475, 207, 475, 475, 475, 475, 434, 185, 52, 475, 215, 475, 475, 435, 475, 475, 475, 475, 436, 225, 44, 475, 438, 475, 475, 225, 475, 475, 475, 475, 439, 225, 44, 475, 440, 475, 475, 227, 475, 475, 475, 475, 441, 236, 52, 475, 236, 475, 475, 443, 475, 475, 475, 475, 444, 236, 52, 475, 238, 475, 475, 445, 475, 475, 475, 475, 446, 249, 44, 169, 448, 475, 475, 249, 475, 475, 475, 475, 449, 344, 44, 269, 466, 475, 475, 344, 475, 475, 475, 475, 467, 344, 44, 293, 468, 475, 475, 346, 475, 475, 475, 475, 469, 344, 44, 291, 453, 475, 475, 343, 475, 454, 475, 475, 455, 254, 52, 192, 254, 475, 475, 457, 475, 475, 475, 475, 458, 355, 52, 287, 355, 475, 475, 471, 475, 475, 475, 475, 472, 355, 52, 334, 357, 475, 475, 473, 475, 475, 475, 475, 474, 355, 52, 332, 354, 475, 475, 462, 475, 463, 475, 475, 464, 344, 44, 269, 466, 475, 475, 344, 475, 475, 475, 475, 467, 344, 44, 293, 468, 475, 475, 346, 475, 475, 475, 475, 469, 355, 52, 287, 355, 475, 475, 471, 475, 475, 475, 475, 472, 355, 52, 334, 357, 475, 475, 473, 475, 475, 475, 475, 474, 6, 6, 6, 6, 6, 6, 6, 9, 9, 9, 9, 9, 9, 9, 14, 14, 14, 14, 14, 14, 14, 20, 20, 20, 20, 20, 20, 20, 28, 28, 475, 28, 28, 28, 28, 29, 475, 475, 29, 29, 29, 29, 31, 31, 475, 31, 31, 31, 31, 32, 32, 475, 32, 32, 32, 32, 38, 475, 475, 38, 38, 38, 38, 43, 43, 43, 43, 43, 43, 43, 47, 47, 475, 47, 47, 47, 47, 51, 51, 51, 51, 51, 51, 51, 41, 475, 475, 41, 41, 41, 41, 57, 475, 475, 57, 57, 57, 57, 62, 62, 62, 62, 62, 62, 62, 66, 66, 475, 66, 66, 66, 66, 70, 70, 475, 70, 70, 70, 70, 76, 76, 76, 76, 76, 76, 76, 60, 475, 475, 60, 60, 60, 60, 33, 33, 475, 33, 33, 33, 33, 87, 87, 475, 87, 87, 87, 87, 44, 44, 44, 44, 44, 44, 44, 91, 475, 475, 91, 91, 91, 91, 94, 94, 94, 94, 94, 94, 94, 98, 98, 98, 98, 98, 98, 98, 102, 102, 102, 102, 102, 102, 102, 50, 50, 475, 50, 50, 50, 50, 52, 52, 52, 52, 52, 52, 52, 110, 475, 475, 110, 110, 110, 110, 112, 112, 112, 112, 112, 112, 112, 116, 475, 475, 116, 116, 116, 116, 64, 64, 64, 64, 64, 64, 64, 121, 121, 121, 121, 121, 121, 121, 125, 125, 125, 125, 125, 125, 125, 129, 129, 129, 129, 129, 129, 129, 69, 69, 475, 69, 69, 69, 69, 135, 135, 135, 135, 135, 135, 135, 140, 140, 140, 140, 140, 140, 140, 73, 73, 475, 73, 73, 73, 73, 150, 475, 475, 150, 150, 150, 150, 78, 78, 78, 78, 78, 78, 78, 154, 154, 154, 154, 154, 154, 154, 158, 158, 475, 158, 158, 158, 158, 88, 88, 475, 475, 88, 88, 88, 93, 475, 475, 93, 93, 475, 93, 95, 95, 95, 95, 95, 95, 95, 92, 475, 475, 92, 92, 92, 167, 167, 167, 167, 167, 167, 167, 99, 99, 99, 99, 99, 99, 99, 173, 173, 475, 173, 173, 173, 173, 176, 176, 176, 176, 176, 176, 176, 103, 103, 103, 103, 103, 103, 103, 182, 182, 475, 182, 182, 182, 182, 184, 184, 184, 184, 184, 184, 184, 111, 475, 475, 111, 475, 111, 111, 113, 113, 113, 113, 113, 113, 113, 110, 475, 475, 110, 110, 110, 110, 51, 51, 51, 51, 51, 51, 51, 52, 52, 52, 52, 52, 52, 52, 190, 190, 190, 190, 190, 190, 190, 112, 112, 112, 112, 112, 112, 112, 117, 475, 475, 117, 117, 117, 117, 118, 475, 475, 118, 118, 118, 118, 123, 123, 123, 123, 123, 123, 123, 62, 62, 62, 62, 62, 62, 62, 196, 196, 196, 196, 196, 196, 196, 121, 121, 121, 121, 121, 121, 121, 125, 125, 125, 125, 125, 125, 125, 200, 200, 475, 200, 200, 200, 200, 127, 127, 127, 127, 127, 127, 127, 205, 205, 205, 205, 205, 205, 205, 129, 129, 129, 129, 129, 129, 129, 209, 209, 475, 209, 209, 209, 209, 131, 131, 131, 131, 131, 131, 131, 213, 213, 213, 213, 213, 213, 213, 135, 135, 135, 135, 135, 135, 135, 136, 136, 136, 136, 136, 136, 136, 219, 219, 475, 219, 219, 219, 219, 138, 138, 138, 138, 138, 138, 138, 224, 224, 224, 224, 224, 224, 224, 140, 140, 140, 140, 140, 140, 140, 141, 141, 141, 141, 141, 141, 141, 231, 231, 475, 231, 231, 231, 231, 143, 143, 143, 143, 143, 143, 143, 235, 235, 235, 235, 235, 235, 235, 70, 70, 475, 70, 70, 70, 70, 150, 475, 475, 150, 150, 150, 150, 151, 475, 475, 151, 151, 151, 151, 156, 156, 156, 156, 156, 156, 156, 76, 76, 76, 76, 76, 76, 76, 244, 244, 244, 244, 244, 244, 244, 78, 78, 78, 78, 78, 78, 78, 154, 154, 154, 154, 154, 154, 154, 158, 158, 475, 158, 158, 158, 158, 248, 248, 248, 248, 248, 248, 248, 253, 253, 253, 253, 253, 253, 253, 161, 161, 475, 161, 161, 161, 161, 32, 32, 475, 32, 32, 32, 32, 263, 263, 475, 263, 263, 263, 263, 169, 169, 169, 169, 169, 169, 169, 95, 95, 95, 95, 95, 95, 95, 167, 167, 167, 167, 167, 167, 167, 267, 267, 267, 267, 267, 267, 267, 175, 175, 475, 175, 175, 175, 175, 177, 177, 177, 177, 177, 177, 177, 173, 173, 475, 173, 173, 173, 173, 174, 174, 475, 174, 174, 174, 174, 98, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 99, 99, 273, 273, 273, 273, 273, 273, 273, 176, 176, 176, 176, 176, 176, 176, 183, 183, 475, 183, 183, 183, 183, 185, 185, 185, 185, 185, 185, 185, 182, 182, 475, 182, 182, 182, 182, 102, 102, 102, 102, 102, 102, 102, 103, 103, 103, 103, 103, 103, 103, 279, 279, 279, 279, 279, 279, 279, 184, 184, 184, 184, 184, 184, 184, 192, 192, 192, 192, 192, 192, 192, 113, 113, 113, 113, 113, 113, 113, 190, 190, 190, 190, 190, 190, 190, 285, 285, 285, 285, 285, 285, 285, 198, 198, 198, 198, 198, 198, 198, 123, 123, 123, 123, 123, 123, 123, 196, 196, 196, 196, 196, 196, 196, 291, 291, 291, 291, 291, 291, 291, 200, 200, 475, 200, 200, 200, 200, 201, 201, 475, 201, 201, 201, 201, 202, 202, 475, 202, 202, 202, 202, 207, 207, 207, 207, 207, 207, 207, 125, 125, 125, 125, 125, 125, 125, 297, 297, 297, 297, 297, 297, 297, 127, 127, 127, 127, 127, 127, 127, 205, 205, 205, 205, 205, 205, 205, 209, 209, 475, 209, 209, 209, 209, 210, 210, 475, 210, 210, 210, 210, 215, 215, 215, 215, 215, 215, 215, 129, 129, 129, 129, 129, 129, 129, 303, 303, 303, 303, 303, 303, 303, 131, 131, 131, 131, 131, 131, 131, 213, 213, 213, 213, 213, 213, 213, 307, 307, 475, 307, 307, 307, 307, 225, 225, 225, 225, 225, 225, 225, 219, 219, 475, 219, 219, 219, 219, 220, 220, 475, 220, 220, 220, 220, 221, 221, 475, 221, 221, 221, 221, 227, 227, 227, 227, 227, 227, 227, 135, 135, 135, 135, 135, 135, 135, 136, 136, 136, 136, 136, 136, 136, 313, 313, 313, 313, 313, 313, 313, 138, 138, 138, 138, 138, 138, 138, 224, 224, 224, 224, 224, 224, 224, 317, 317, 475, 317, 317, 317, 317, 236, 236, 236, 236, 236, 236, 236, 231, 231, 475, 231, 231, 231, 231, 232, 232, 475, 232, 232, 232, 232, 238, 238, 238, 238, 238, 238, 238, 140, 140, 140, 140, 140, 140, 140, 141, 141, 141, 141, 141, 141, 141, 323, 323, 323, 323, 323, 323, 323, 143, 143, 143, 143, 143, 143, 143, 235, 235, 235, 235, 235, 235, 235, 70, 70, 475, 70, 70, 70, 70, 246, 246, 246, 246, 246, 246, 246, 156, 156, 156, 156, 156, 156, 156, 244, 244, 244, 244, 244, 244, 244, 332, 332, 332, 332, 332, 332, 332, 248, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 249, 338, 338, 475, 338, 338, 338, 338, 251, 251, 251, 251, 251, 251, 251, 343, 343, 343, 343, 343, 343, 343, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 350, 350, 475, 350, 350, 350, 350, 256, 256, 256, 256, 256, 256, 256, 354, 354, 354, 354, 354, 354, 354, 32, 32, 475, 32, 32, 32, 32, 263, 263, 475, 263, 263, 263, 263, 169, 169, 169, 169, 169, 169, 169, 269, 269, 269, 269, 269, 269, 269, 167, 167, 167, 167, 167, 167, 167, 267, 267, 267, 267, 267, 267, 267, 275, 275, 275, 275, 275, 275, 275, 177, 177, 177, 177, 177, 177, 177, 273, 273, 273, 273, 273, 273, 273, 363, 363, 363, 363, 363, 363, 363, 281, 281, 281, 281, 281, 281, 281, 185, 185, 185, 185, 185, 185, 185, 279, 279, 279, 279, 279, 279, 279, 369, 369, 369, 369, 369, 369, 369, 192, 192, 192, 192, 192, 192, 192, 287, 287, 287, 287, 287, 287, 287, 190, 190, 190, 190, 190, 190, 190, 285, 285, 285, 285, 285, 285, 285, 198, 198, 198, 198, 198, 198, 198, 293, 293, 293, 293, 293, 293, 293, 196, 196, 196, 196, 196, 196, 196, 291, 291, 291, 291, 291, 291, 291, 299, 299, 299, 299, 299, 299, 299, 207, 207, 207, 207, 207, 207, 207, 297, 297, 297, 297, 297, 297, 297, 379, 379, 379, 379, 379, 379, 379, 305, 305, 305, 305, 305, 305, 305, 215, 215, 215, 215, 215, 215, 215, 303, 303, 303, 303, 303, 303, 303, 385, 385, 385, 385, 385, 385, 385, 307, 307, 475, 307, 307, 307, 307, 136, 136, 136, 136, 136, 136, 136, 389, 389, 389, 389, 389, 389, 389, 225, 225, 225, 225, 225, 225, 225, 315, 315, 315, 315, 315, 315, 315, 227, 227, 227, 227, 227, 227, 227, 313, 313, 313, 313, 313, 313, 313, 394, 394, 394, 394, 394, 394, 394, 317, 317, 475, 317, 317, 317, 317, 141, 141, 141, 141, 141, 141, 141, 398, 398, 398, 398, 398, 398, 398, 236, 236, 236, 236, 236, 236, 236, 325, 325, 325, 325, 325, 325, 325, 238, 238, 238, 238, 238, 238, 238, 323, 323, 323, 323, 323, 323, 323, 403, 403, 403, 403, 403, 403, 403, 70, 70, 475, 70, 70, 70, 70, 246, 246, 246, 246, 246, 246, 246, 334, 334, 334, 334, 334, 334, 334, 244, 244, 244, 244, 244, 244, 244, 332, 332, 332, 332, 332, 332, 332, 409, 409, 475, 409, 409, 409, 409, 344, 344, 344, 344, 344, 344, 344, 338, 338, 475, 338, 338, 338, 338, 339, 339, 475, 339, 339, 339, 339, 340, 340, 475, 340, 340, 340, 340, 346, 346, 346, 346, 346, 346, 346, 248, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 249, 415, 415, 415, 415, 415, 415, 415, 251, 251, 251, 251, 251, 251, 251, 343, 343, 343, 343, 343, 343, 343, 419, 419, 475, 419, 419, 419, 419, 355, 355, 355, 355, 355, 355, 355, 350, 350, 475, 350, 350, 350, 350, 351, 351, 475, 351, 351, 351, 351, 357, 357, 357, 357, 357, 357, 357, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 425, 425, 425, 425, 425, 425, 425, 256, 256, 256, 256, 256, 256, 256, 354, 354, 354, 354, 354, 354, 354, 169, 169, 169, 169, 169, 169, 169, 269, 269, 269, 269, 269, 269, 269, 275, 275, 275, 275, 275, 275, 275, 365, 365, 365, 365, 365, 365, 365, 273, 273, 273, 273, 273, 273, 273, 363, 363, 363, 363, 363, 363, 363, 281, 281, 281, 281, 281, 281, 281, 371, 371, 371, 371, 371, 371, 371, 279, 279, 279, 279, 279, 279, 279, 369, 369, 369, 369, 369, 369, 369, 192, 192, 192, 192, 192, 192, 192, 287, 287, 287, 287, 287, 287, 287, 198, 198, 198, 198, 198, 198, 198, 293, 293, 293, 293, 293, 293, 293, 299, 299, 299, 299, 299, 299, 299, 381, 381, 381, 381, 381, 381, 381, 297, 297, 297, 297, 297, 297, 297, 379, 379, 379, 379, 379, 379, 379, 305, 305, 305, 305, 305, 305, 305, 387, 387, 387, 387, 387, 387, 387, 303, 303, 303, 303, 303, 303, 303, 385, 385, 385, 385, 385, 385, 385, 389, 389, 389, 389, 389, 389, 389, 437, 437, 437, 437, 437, 437, 437, 315, 315, 315, 315, 315, 315, 315, 396, 396, 396, 396, 396, 396, 396, 313, 313, 313, 313, 313, 313, 313, 394, 394, 394, 394, 394, 394, 394, 398, 398, 398, 398, 398, 398, 398, 442, 442, 442, 442, 442, 442, 442, 325, 325, 325, 325, 325, 325, 325, 405, 405, 405, 405, 405, 405, 405, 323, 323, 323, 323, 323, 323, 323, 403, 403, 403, 403, 403, 403, 403, 246, 246, 246, 246, 246, 246, 246, 334, 334, 334, 334, 334, 334, 334, 409, 409, 475, 409, 409, 409, 409, 249, 249, 249, 249, 249, 249, 249, 447, 447, 447, 447, 447, 447, 447, 344, 344, 344, 344, 344, 344, 344, 417, 417, 417, 417, 417, 417, 417, 346, 346, 346, 346, 346, 346, 346, 415, 415, 415, 415, 415, 415, 415, 452, 452, 452, 452, 452, 452, 452, 419, 419, 475, 419, 419, 419, 419, 254, 254, 254, 254, 254, 254, 254, 456, 456, 456, 456, 456, 456, 456, 355, 355, 355, 355, 355, 355, 355, 427, 427, 427, 427, 427, 427, 427, 357, 357, 357, 357, 357, 357, 357, 425, 425, 425, 425, 425, 425, 425, 461, 461, 461, 461, 461, 461, 461, 275, 275, 275, 275, 275, 275, 275, 365, 365, 365, 365, 365, 365, 365, 281, 281, 281, 281, 281, 281, 281, 371, 371, 371, 371, 371, 371, 371, 299, 299, 299, 299, 299, 299, 299, 381, 381, 381, 381, 381, 381, 381, 387, 387, 387, 387, 387, 387, 387, 465, 465, 465, 465, 465, 465, 465, 454, 454, 454, 454, 454, 454, 454, 470, 470, 470, 470, 470, 470, 470, 463, 463, 463, 463, 463, 463, 463, 5, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475 } ; static yyconst flex_int16_t yy_chk[5990] = { 0, 0, 37, 1, 37, 0, 1, 2, 2, 52, 12, 2, 2, 13, 52, 13, 13, 2, 3, 3, 35, 3, 3, 12, 3, 12, 3, 4, 4, 329, 4, 4, 4, 4, 35, 4, 14, 4, 264, 14, 44, 14, 16, 16, 19, 16, 20, 19, 44, 20, 16, 20, 26, 16, 17, 26, 34, 17, 41, 260, 17, 41, 17, 18, 18, 36, 163, 36, 36, 18, 164, 18, 34, 34, 18, 22, 22, 38, 22, 56, 38, 163, 38, 22, 56, 50, 22, 23, 50, 45, 23, 50, 45, 23, 45, 23, 24, 55, 53, 24, 117, 53, 24, 53, 24, 55, 111, 60, 84, 24, 60, 24, 25, 25, 57, 74, 74, 57, 25, 57, 25, 108, 118, 25, 27, 118, 84, 27, 27, 27, 27, 27, 39, 39, 63, 39, 87, 63, 87, 63, 39, 85, 113, 39, 40, 40, 119, 113, 69, 119, 40, 69, 40, 85, 69, 40, 46, 46, 261, 46, 73, 95, 151, 73, 46, 151, 73, 46, 47, 95, 77, 47, 261, 77, 47, 77, 47, 48, 48, 91, 48, 90, 91, 90, 91, 48, 93, 149, 48, 49, 49, 90, 262, 103, 99, 49, 99, 49, 103, 149, 49, 54, 54, 103, 99, 89, 262, 54, 106, 54, 106, 174, 54, 58, 58, 162, 58, 107, 106, 174, 152, 58, 107, 152, 58, 59, 59, 107, 162, 109, 162, 59, 86, 59, 109, 201, 59, 64, 64, 109, 64, 110, 116, 201, 110, 116, 110, 116, 64, 65, 65, 150, 65, 136, 150, 136, 150, 65, 75, 171, 65, 66, 171, 136, 66, 171, 166, 66, 166, 66, 67, 67, 220, 67, 141, 172, 166, 172, 67, 141, 220, 67, 68, 68, 141, 172, 175, 61, 68, 175, 68, 42, 175, 68, 70, 32, 31, 70, 30, 177, 70, 177, 70, 71, 71, 21, 71, 180, 15, 177, 180, 71, 181, 180, 71, 72, 72, 181, 11, 10, 185, 72, 181, 72, 5, 185, 72, 78, 78, 183, 185, 189, 183, 78, 0, 183, 189, 0, 78, 79, 79, 189, 0, 202, 0, 79, 202, 79, 0, 202, 79, 80, 80, 203, 80, 210, 203, 0, 210, 203, 0, 210, 80, 81, 81, 211, 0, 217, 211, 81, 217, 211, 0, 217, 81, 83, 221, 83, 83, 221, 0, 83, 221, 83, 96, 96, 339, 96, 339, 0, 96, 218, 96, 218, 339, 96, 97, 97, 0, 97, 222, 218, 0, 222, 97, 0, 222, 97, 98, 98, 0, 98, 225, 0, 225, 229, 98, 0, 229, 98, 100, 229, 225, 100, 0, 272, 100, 272, 100, 101, 101, 0, 101, 230, 236, 272, 0, 101, 230, 236, 101, 102, 102, 230, 236, 232, 0, 102, 232, 102, 0, 232, 102, 104, 233, 0, 104, 233, 0, 104, 233, 104, 105, 105, 0, 0, 278, 308, 105, 308, 105, 278, 0, 105, 112, 112, 278, 308, 307, 0, 112, 307, 112, 0, 307, 112, 114, 114, 0, 114, 318, 310, 114, 310, 114, 318, 0, 114, 115, 115, 318, 310, 317, 0, 115, 317, 115, 320, 317, 115, 120, 120, 320, 120, 0, 0, 0, 320, 0, 0, 0, 120, 121, 121, 0, 121, 0, 0, 0, 0, 121, 0, 0, 121, 122, 122, 0, 122, 0, 0, 122, 0, 122, 0, 0, 122, 124, 124, 0, 124, 0, 0, 0, 0, 124, 0, 0, 124, 125, 125, 0, 125, 0, 0, 0, 0, 125, 0, 0, 125, 126, 0, 0, 126, 0, 0, 126, 0, 126, 127, 127, 0, 127, 0, 0, 0, 0, 0, 0, 0, 127, 128, 128, 0, 128, 0, 0, 0, 0, 128, 0, 0, 128, 129, 129, 0, 0, 0, 0, 129, 0, 129, 0, 0, 129, 130, 0, 0, 130, 0, 0, 130, 0, 130, 131, 131, 0, 0, 0, 0, 131, 0, 0, 0, 0, 131, 132, 132, 0, 0, 0, 0, 132, 0, 132, 0, 0, 132, 133, 133, 0, 133, 0, 0, 0, 0, 0, 0, 0, 133, 134, 134, 0, 0, 0, 0, 134, 0, 0, 0, 0, 134, 135, 135, 0, 135, 0, 0, 0, 0, 135, 0, 0, 135, 137, 0, 0, 137, 0, 0, 137, 0, 137, 138, 138, 0, 138, 0, 0, 0, 0, 0, 0, 0, 138, 139, 139, 0, 139, 0, 0, 0, 0, 139, 0, 0, 139, 140, 140, 0, 0, 0, 0, 140, 0, 140, 0, 0, 140, 142, 0, 0, 142, 0, 0, 142, 0, 142, 143, 143, 0, 0, 0, 0, 143, 0, 0, 0, 0, 143, 144, 144, 0, 0, 0, 0, 144, 0, 144, 0, 0, 144, 145, 145, 0, 145, 0, 0, 0, 0, 0, 0, 0, 145, 146, 146, 0, 0, 0, 0, 146, 0, 0, 0, 0, 146, 147, 0, 0, 147, 0, 0, 147, 0, 147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 147, 148, 0, 0, 148, 0, 0, 148, 0, 148, 0, 0, 0, 148, 153, 153, 0, 0, 0, 0, 153, 0, 0, 0, 0, 153, 154, 154, 0, 0, 0, 0, 154, 0, 154, 0, 0, 154, 155, 155, 0, 155, 0, 0, 155, 0, 155, 0, 0, 155, 156, 156, 0, 0, 0, 0, 156, 0, 0, 0, 0, 156, 157, 157, 0, 0, 0, 0, 157, 0, 157, 0, 0, 157, 158, 0, 158, 158, 0, 0, 158, 0, 158, 159, 159, 159, 159, 0, 0, 0, 0, 159, 0, 0, 159, 160, 160, 160, 0, 0, 0, 160, 0, 160, 0, 0, 160, 161, 0, 161, 161, 0, 0, 161, 165, 165, 0, 165, 0, 0, 165, 0, 0, 0, 0, 165, 167, 167, 0, 167, 0, 0, 167, 0, 167, 0, 0, 167, 168, 168, 0, 168, 0, 0, 168, 0, 168, 0, 0, 168, 169, 169, 0, 169, 0, 0, 169, 0, 0, 0, 0, 169, 170, 170, 0, 170, 0, 0, 170, 0, 170, 0, 0, 170, 173, 0, 0, 173, 0, 0, 173, 0, 173, 176, 176, 0, 176, 0, 0, 0, 0, 176, 0, 0, 176, 178, 178, 0, 178, 0, 0, 178, 0, 178, 0, 0, 178, 179, 179, 0, 179, 0, 0, 0, 0, 179, 0, 0, 179, 182, 0, 0, 182, 0, 0, 182, 0, 182, 184, 184, 0, 0, 0, 0, 184, 0, 184, 0, 0, 184, 186, 186, 0, 186, 0, 0, 186, 0, 186, 0, 0, 186, 187, 187, 0, 0, 0, 0, 187, 0, 187, 0, 0, 187, 188, 188, 0, 188, 0, 0, 188, 0, 0, 0, 0, 188, 190, 190, 0, 190, 0, 0, 190, 0, 190, 0, 0, 190, 191, 191, 0, 191, 0, 0, 191, 0, 191, 0, 0, 191, 192, 192, 0, 192, 0, 0, 192, 0, 0, 0, 0, 192, 193, 193, 0, 193, 0, 0, 193, 0, 193, 0, 0, 193, 194, 194, 0, 194, 0, 0, 194, 0, 0, 0, 0, 194, 195, 195, 0, 195, 0, 0, 0, 0, 0, 0, 0, 195, 196, 196, 0, 196, 0, 0, 196, 0, 196, 0, 0, 196, 197, 197, 0, 197, 0, 0, 197, 0, 197, 0, 0, 197, 198, 198, 0, 198, 0, 0, 198, 0, 0, 0, 0, 198, 199, 199, 0, 199, 0, 0, 199, 0, 199, 0, 0, 199, 200, 0, 0, 200, 0, 0, 200, 0, 200, 204, 204, 0, 204, 0, 0, 0, 0, 0, 0, 0, 204, 205, 205, 0, 205, 0, 0, 0, 0, 205, 0, 0, 205, 206, 206, 0, 206, 0, 0, 206, 0, 206, 0, 0, 206, 207, 207, 0, 207, 0, 0, 0, 0, 0, 0, 0, 207, 208, 208, 0, 208, 0, 0, 0, 0, 208, 0, 0, 208, 209, 0, 0, 209, 0, 0, 209, 0, 209, 212, 212, 0, 0, 0, 0, 212, 0, 0, 0, 0, 212, 213, 213, 0, 0, 0, 0, 213, 0, 213, 0, 0, 213, 214, 214, 0, 214, 0, 0, 214, 0, 214, 0, 0, 214, 215, 215, 0, 0, 0, 0, 215, 0, 0, 0, 0, 215, 216, 216, 0, 0, 0, 0, 216, 0, 216, 0, 0, 216, 219, 0, 0, 219, 0, 0, 219, 0, 219, 223, 223, 0, 223, 0, 0, 0, 0, 0, 0, 0, 223, 224, 224, 0, 224, 0, 0, 0, 0, 224, 0, 0, 224, 226, 226, 0, 226, 0, 0, 226, 0, 226, 0, 0, 226, 227, 227, 0, 227, 0, 0, 0, 0, 0, 0, 0, 227, 228, 228, 0, 228, 0, 0, 0, 0, 228, 0, 0, 228, 231, 0, 0, 231, 0, 0, 231, 0, 231, 234, 234, 0, 0, 0, 0, 234, 0, 0, 0, 0, 234, 235, 235, 0, 0, 0, 0, 235, 0, 235, 0, 0, 235, 237, 237, 0, 237, 0, 0, 237, 0, 237, 0, 0, 237, 238, 238, 0, 0, 0, 0, 238, 0, 0, 0, 0, 238, 239, 239, 0, 0, 0, 0, 239, 0, 239, 0, 0, 239, 240, 0, 0, 240, 0, 0, 240, 0, 240, 0, 0, 0, 0, 240, 0, 240, 241, 0, 0, 241, 0, 0, 241, 0, 241, 0, 0, 0, 0, 0, 0, 241, 242, 242, 0, 242, 0, 0, 242, 0, 0, 0, 0, 242, 243, 243, 0, 0, 0, 0, 243, 0, 0, 0, 0, 243, 244, 244, 0, 244, 0, 0, 244, 0, 244, 0, 0, 244, 245, 245, 0, 245, 0, 0, 245, 0, 245, 0, 0, 245, 246, 246, 0, 246, 0, 0, 246, 0, 0, 0, 0, 246, 247, 247, 0, 247, 0, 0, 247, 0, 247, 0, 0, 247, 248, 248, 248, 248, 0, 0, 0, 0, 248, 0, 0, 248, 249, 249, 249, 0, 0, 0, 0, 0, 0, 0, 249, 250, 0, 250, 250, 0, 0, 250, 0, 250, 251, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 251, 252, 252, 252, 252, 0, 0, 0, 0, 252, 0, 0, 252, 253, 253, 253, 0, 0, 0, 253, 0, 253, 0, 0, 253, 254, 254, 0, 0, 0, 254, 0, 0, 0, 0, 254, 255, 0, 255, 255, 0, 0, 255, 0, 255, 256, 256, 256, 0, 0, 0, 256, 0, 0, 0, 0, 256, 257, 257, 257, 0, 0, 0, 257, 0, 257, 0, 0, 257, 258, 258, 258, 258, 0, 0, 0, 0, 0, 0, 0, 258, 259, 259, 259, 0, 0, 0, 259, 0, 0, 0, 0, 259, 265, 265, 0, 265, 0, 0, 265, 0, 0, 0, 0, 265, 266, 266, 0, 266, 0, 0, 266, 0, 0, 0, 0, 266, 267, 267, 0, 267, 0, 0, 267, 0, 267, 0, 0, 267, 268, 268, 0, 268, 0, 0, 268, 0, 268, 0, 0, 268, 269, 269, 0, 269, 0, 0, 269, 0, 0, 0, 0, 269, 270, 270, 0, 270, 0, 0, 270, 0, 270, 0, 0, 270, 271, 271, 0, 271, 0, 0, 271, 0, 0, 0, 0, 271, 273, 273, 0, 273, 0, 0, 273, 0, 273, 0, 0, 273, 274, 274, 0, 274, 0, 0, 274, 0, 274, 0, 0, 274, 275, 275, 0, 275, 0, 0, 275, 0, 0, 0, 0, 275, 276, 276, 0, 276, 0, 0, 276, 0, 276, 0, 0, 276, 277, 277, 0, 277, 0, 0, 277, 0, 0, 0, 0, 277, 279, 279, 0, 279, 0, 0, 279, 0, 279, 0, 0, 279, 280, 280, 0, 280, 0, 0, 280, 0, 280, 0, 0, 280, 281, 281, 0, 281, 0, 0, 281, 0, 0, 0, 0, 281, 282, 282, 0, 282, 0, 0, 282, 0, 282, 0, 0, 282, 283, 283, 0, 283, 0, 0, 283, 0, 0, 0, 0, 283, 284, 284, 0, 284, 0, 0, 284, 0, 0, 0, 0, 284, 285, 285, 0, 285, 0, 0, 285, 0, 285, 0, 0, 285, 286, 286, 0, 286, 0, 0, 286, 0, 286, 0, 0, 286, 287, 287, 0, 287, 0, 0, 287, 0, 0, 0, 0, 287, 288, 288, 0, 288, 0, 0, 288, 0, 288, 0, 0, 288, 289, 289, 0, 289, 0, 0, 289, 0, 0, 0, 0, 289, 290, 290, 0, 290, 0, 0, 290, 0, 0, 0, 0, 290, 291, 291, 0, 291, 0, 0, 291, 0, 291, 0, 0, 291, 292, 292, 0, 292, 0, 0, 292, 0, 292, 0, 0, 292, 293, 293, 0, 293, 0, 0, 293, 0, 0, 0, 0, 293, 294, 294, 0, 294, 0, 0, 294, 0, 294, 0, 0, 294, 295, 295, 0, 295, 0, 0, 295, 0, 0, 0, 0, 295, 296, 296, 0, 296, 0, 0, 0, 0, 0, 0, 0, 296, 297, 297, 0, 297, 0, 0, 297, 0, 297, 0, 0, 297, 298, 298, 0, 298, 0, 0, 298, 0, 298, 0, 0, 298, 299, 299, 0, 299, 0, 0, 299, 0, 0, 0, 0, 299, 300, 300, 0, 300, 0, 0, 300, 0, 300, 0, 0, 300, 301, 301, 0, 301, 0, 0, 301, 0, 0, 0, 0, 301, 302, 302, 0, 0, 0, 0, 302, 0, 0, 0, 0, 302, 303, 303, 0, 303, 0, 0, 303, 0, 303, 0, 0, 303, 304, 304, 0, 304, 0, 0, 304, 0, 304, 0, 0, 304, 305, 305, 0, 305, 0, 0, 305, 0, 0, 0, 0, 305, 306, 306, 0, 306, 0, 0, 306, 0, 306, 0, 0, 306, 309, 309, 0, 309, 0, 0, 309, 0, 0, 0, 0, 309, 311, 311, 0, 311, 0, 0, 311, 0, 0, 0, 0, 311, 312, 312, 0, 312, 0, 0, 0, 0, 0, 0, 0, 312, 313, 313, 0, 313, 0, 0, 313, 0, 313, 0, 0, 313, 314, 314, 0, 314, 0, 0, 314, 0, 314, 0, 0, 314, 315, 315, 0, 315, 0, 0, 315, 0, 0, 0, 0, 315, 316, 316, 0, 316, 0, 0, 316, 0, 316, 0, 0, 316, 319, 319, 0, 319, 0, 0, 319, 0, 0, 0, 0, 319, 321, 321, 0, 321, 0, 0, 321, 0, 0, 0, 0, 321, 322, 322, 0, 0, 0, 0, 322, 0, 0, 0, 0, 322, 323, 323, 0, 323, 0, 0, 323, 0, 323, 0, 0, 323, 324, 324, 0, 324, 0, 0, 324, 0, 324, 0, 0, 324, 325, 325, 0, 325, 0, 0, 325, 0, 0, 0, 0, 325, 326, 326, 0, 326, 0, 0, 326, 0, 326, 0, 0, 326, 327, 0, 0, 327, 0, 0, 327, 0, 327, 328, 0, 0, 328, 0, 0, 328, 0, 328, 0, 0, 0, 0, 0, 328, 330, 330, 0, 330, 0, 0, 330, 0, 0, 0, 0, 330, 331, 331, 0, 331, 0, 0, 331, 0, 0, 0, 0, 331, 332, 332, 0, 332, 0, 0, 332, 0, 332, 0, 0, 332, 333, 333, 0, 333, 0, 0, 333, 0, 333, 0, 0, 333, 334, 334, 0, 334, 0, 0, 334, 0, 0, 0, 0, 334, 335, 335, 0, 335, 0, 0, 335, 0, 335, 0, 0, 335, 336, 0, 336, 336, 0, 0, 336, 337, 337, 337, 0, 0, 0, 0, 0, 0, 0, 337, 338, 0, 338, 338, 0, 0, 338, 0, 338, 340, 0, 340, 340, 0, 0, 340, 341, 0, 341, 341, 0, 0, 341, 342, 342, 342, 342, 0, 0, 0, 0, 0, 0, 0, 342, 343, 343, 343, 343, 0, 0, 0, 0, 343, 0, 0, 343, 344, 344, 344, 0, 0, 0, 0, 0, 0, 0, 344, 345, 345, 345, 345, 0, 0, 345, 0, 345, 0, 0, 345, 346, 346, 346, 346, 0, 0, 0, 0, 0, 0, 0, 346, 347, 347, 347, 347, 0, 0, 0, 0, 347, 0, 0, 347, 348, 0, 348, 348, 0, 0, 348, 349, 349, 0, 0, 0, 349, 0, 0, 0, 0, 349, 350, 0, 350, 350, 0, 0, 350, 0, 350, 351, 0, 351, 351, 0, 0, 351, 352, 0, 352, 352, 0, 0, 352, 353, 353, 353, 0, 0, 0, 353, 0, 0, 0, 0, 353, 354, 354, 354, 0, 0, 0, 354, 0, 354, 0, 0, 354, 355, 355, 0, 0, 0, 355, 0, 0, 0, 0, 355, 356, 356, 356, 356, 0, 0, 356, 0, 356, 0, 0, 356, 357, 357, 357, 0, 0, 0, 357, 0, 0, 0, 0, 357, 358, 358, 358, 0, 0, 0, 358, 0, 358, 0, 0, 358, 359, 359, 0, 359, 0, 0, 359, 0, 0, 0, 0, 359, 360, 360, 0, 360, 0, 0, 360, 0, 0, 0, 0, 360, 361, 361, 0, 361, 0, 0, 361, 0, 0, 0, 0, 361, 362, 362, 0, 362, 0, 0, 362, 0, 0, 0, 0, 362, 363, 363, 0, 363, 0, 0, 363, 0, 363, 0, 0, 363, 364, 364, 0, 364, 0, 0, 364, 0, 364, 0, 0, 364, 365, 365, 0, 365, 0, 0, 365, 0, 0, 0, 0, 365, 366, 366, 0, 366, 0, 0, 366, 0, 366, 0, 0, 366, 367, 367, 0, 367, 0, 0, 367, 0, 0, 0, 0, 367, 368, 368, 0, 368, 0, 0, 368, 0, 0, 0, 0, 368, 369, 369, 0, 369, 0, 0, 369, 0, 369, 0, 0, 369, 370, 370, 0, 370, 0, 0, 370, 0, 370, 0, 0, 370, 371, 371, 0, 371, 0, 0, 371, 0, 0, 0, 0, 371, 372, 372, 0, 372, 0, 0, 372, 0, 372, 0, 0, 372, 373, 373, 0, 373, 0, 0, 373, 0, 0, 0, 0, 373, 374, 374, 0, 374, 0, 0, 374, 0, 0, 0, 0, 374, 375, 375, 0, 375, 0, 0, 375, 0, 0, 0, 0, 375, 376, 376, 0, 376, 0, 0, 376, 0, 0, 0, 0, 376, 377, 377, 0, 377, 0, 0, 377, 0, 0, 0, 0, 377, 378, 378, 0, 378, 0, 0, 378, 0, 0, 0, 0, 378, 379, 379, 0, 379, 0, 0, 379, 0, 379, 0, 0, 379, 380, 380, 0, 380, 0, 0, 380, 0, 380, 0, 0, 380, 381, 381, 0, 381, 0, 0, 381, 0, 0, 0, 0, 381, 382, 382, 0, 382, 0, 0, 382, 0, 382, 0, 0, 382, 383, 383, 0, 383, 0, 0, 383, 0, 0, 0, 0, 383, 384, 384, 0, 384, 0, 0, 384, 0, 0, 0, 0, 384, 385, 385, 0, 385, 0, 0, 385, 0, 385, 0, 0, 385, 386, 386, 0, 386, 0, 0, 386, 0, 386, 0, 0, 386, 387, 387, 0, 387, 0, 0, 387, 0, 0, 0, 0, 387, 388, 388, 0, 388, 0, 0, 388, 0, 388, 0, 0, 388, 389, 389, 0, 389, 0, 0, 389, 0, 0, 0, 0, 389, 390, 390, 0, 390, 0, 0, 390, 0, 0, 0, 0, 390, 391, 391, 0, 391, 0, 0, 391, 0, 0, 0, 0, 391, 392, 392, 0, 392, 0, 0, 392, 0, 0, 0, 0, 392, 393, 393, 0, 393, 0, 0, 393, 0, 0, 0, 0, 393, 394, 394, 0, 394, 0, 0, 394, 0, 394, 0, 0, 394, 395, 395, 0, 395, 0, 0, 395, 0, 395, 0, 0, 395, 396, 396, 0, 396, 0, 0, 396, 0, 0, 0, 0, 396, 397, 397, 0, 397, 0, 0, 397, 0, 397, 0, 0, 397, 398, 398, 0, 398, 0, 0, 398, 0, 0, 0, 0, 398, 399, 399, 0, 399, 0, 0, 399, 0, 0, 0, 0, 399, 400, 400, 0, 400, 0, 0, 400, 0, 0, 0, 0, 400, 401, 401, 0, 401, 0, 0, 401, 0, 0, 0, 0, 401, 402, 402, 0, 402, 0, 0, 402, 0, 0, 0, 0, 402, 403, 403, 0, 403, 0, 0, 403, 0, 403, 0, 0, 403, 404, 404, 0, 404, 0, 0, 404, 0, 404, 0, 0, 404, 405, 405, 0, 405, 0, 0, 405, 0, 0, 0, 0, 405, 406, 406, 0, 406, 0, 0, 406, 0, 406, 0, 0, 406, 407, 407, 0, 407, 0, 0, 407, 0, 0, 0, 0, 407, 408, 408, 0, 408, 0, 0, 408, 0, 0, 0, 0, 408, 409, 0, 409, 409, 0, 0, 409, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 411, 411, 411, 411, 0, 0, 411, 0, 0, 0, 0, 411, 412, 412, 412, 0, 0, 0, 0, 0, 0, 0, 412, 413, 413, 413, 413, 0, 0, 413, 0, 0, 0, 0, 413, 414, 414, 414, 414, 0, 0, 0, 0, 0, 0, 0, 414, 415, 415, 415, 415, 0, 0, 415, 0, 415, 0, 0, 415, 416, 416, 416, 416, 0, 0, 416, 0, 416, 0, 0, 416, 417, 417, 417, 417, 0, 0, 417, 0, 0, 0, 0, 417, 418, 418, 418, 418, 0, 0, 418, 0, 418, 0, 0, 418, 419, 0, 419, 419, 0, 0, 419, 420, 420, 0, 0, 0, 420, 0, 0, 0, 0, 420, 421, 421, 421, 421, 0, 0, 421, 0, 0, 0, 0, 421, 422, 422, 0, 0, 0, 422, 0, 0, 0, 0, 422, 423, 423, 423, 423, 0, 0, 423, 0, 0, 0, 0, 423, 424, 424, 424, 0, 0, 0, 424, 0, 0, 0, 0, 424, 425, 425, 425, 425, 0, 0, 425, 0, 425, 0, 0, 425, 426, 426, 426, 426, 0, 0, 426, 0, 426, 0, 0, 426, 427, 427, 427, 427, 0, 0, 427, 0, 0, 0, 0, 427, 428, 428, 428, 428, 0, 0, 428, 0, 428, 0, 0, 428, 429, 429, 0, 429, 0, 0, 429, 0, 0, 0, 0, 429, 430, 430, 0, 430, 0, 0, 430, 0, 0, 0, 0, 430, 431, 431, 0, 431, 0, 0, 431, 0, 0, 0, 0, 431, 432, 432, 0, 432, 0, 0, 432, 0, 0, 0, 0, 432, 433, 433, 0, 433, 0, 0, 433, 0, 0, 0, 0, 433, 434, 434, 0, 434, 0, 0, 434, 0, 0, 0, 0, 434, 436, 436, 0, 436, 0, 0, 436, 0, 0, 0, 0, 436, 439, 439, 0, 439, 0, 0, 439, 0, 0, 0, 0, 439, 441, 441, 0, 441, 0, 0, 441, 0, 0, 0, 0, 441, 444, 444, 0, 444, 0, 0, 444, 0, 0, 0, 0, 444, 446, 446, 0, 446, 0, 0, 446, 0, 0, 0, 0, 446, 447, 447, 447, 447, 0, 0, 447, 0, 0, 0, 0, 447, 449, 449, 449, 449, 0, 0, 449, 0, 0, 0, 0, 449, 451, 451, 451, 451, 0, 0, 451, 0, 0, 0, 0, 451, 455, 455, 455, 455, 0, 0, 455, 0, 455, 0, 0, 455, 456, 456, 456, 456, 0, 0, 456, 0, 0, 0, 0, 456, 458, 458, 458, 458, 0, 0, 458, 0, 0, 0, 0, 458, 460, 460, 460, 460, 0, 0, 460, 0, 0, 0, 0, 460, 464, 464, 464, 464, 0, 0, 464, 0, 464, 0, 0, 464, 467, 467, 467, 467, 0, 0, 467, 0, 0, 0, 0, 467, 469, 469, 469, 469, 0, 0, 469, 0, 0, 0, 0, 469, 472, 472, 472, 472, 0, 0, 472, 0, 0, 0, 0, 472, 474, 474, 474, 474, 0, 0, 474, 0, 0, 0, 0, 474, 476, 476, 476, 476, 476, 476, 476, 477, 477, 477, 477, 477, 477, 477, 478, 478, 478, 478, 478, 478, 478, 479, 479, 479, 479, 479, 479, 479, 480, 480, 0, 480, 480, 480, 480, 481, 0, 0, 481, 481, 481, 481, 482, 482, 0, 482, 482, 482, 482, 483, 483, 0, 483, 483, 483, 483, 484, 0, 0, 484, 484, 484, 484, 485, 485, 485, 485, 485, 485, 485, 486, 486, 0, 486, 486, 486, 486, 487, 487, 487, 487, 487, 487, 487, 488, 0, 0, 488, 488, 488, 488, 489, 0, 0, 489, 489, 489, 489, 490, 490, 490, 490, 490, 490, 490, 491, 491, 0, 491, 491, 491, 491, 492, 492, 0, 492, 492, 492, 492, 493, 493, 493, 493, 493, 493, 493, 494, 0, 0, 494, 494, 494, 494, 495, 495, 0, 495, 495, 495, 495, 496, 496, 0, 496, 496, 496, 496, 497, 497, 497, 497, 497, 497, 497, 498, 0, 0, 498, 498, 498, 498, 499, 499, 499, 499, 499, 499, 499, 500, 500, 500, 500, 500, 500, 500, 501, 501, 501, 501, 501, 501, 501, 502, 502, 0, 502, 502, 502, 502, 503, 503, 503, 503, 503, 503, 503, 504, 0, 0, 504, 504, 504, 504, 505, 505, 505, 505, 505, 505, 505, 506, 0, 0, 506, 506, 506, 506, 507, 507, 507, 507, 507, 507, 507, 508, 508, 508, 508, 508, 508, 508, 509, 509, 509, 509, 509, 509, 509, 510, 510, 510, 510, 510, 510, 510, 511, 511, 0, 511, 511, 511, 511, 512, 512, 512, 512, 512, 512, 512, 513, 513, 513, 513, 513, 513, 513, 514, 514, 0, 514, 514, 514, 514, 515, 0, 0, 515, 515, 515, 515, 516, 516, 516, 516, 516, 516, 516, 517, 517, 517, 517, 517, 517, 517, 518, 518, 0, 518, 518, 518, 518, 519, 519, 0, 0, 519, 519, 519, 520, 0, 0, 520, 520, 0, 520, 521, 521, 521, 521, 521, 521, 521, 522, 0, 0, 522, 522, 522, 523, 523, 523, 523, 523, 523, 523, 524, 524, 524, 524, 524, 524, 524, 525, 525, 0, 525, 525, 525, 525, 526, 526, 526, 526, 526, 526, 526, 527, 527, 527, 527, 527, 527, 527, 528, 528, 0, 528, 528, 528, 528, 529, 529, 529, 529, 529, 529, 529, 530, 0, 0, 530, 0, 530, 530, 531, 531, 531, 531, 531, 531, 531, 532, 0, 0, 532, 532, 532, 532, 533, 533, 533, 533, 533, 533, 533, 534, 534, 534, 534, 534, 534, 534, 535, 535, 535, 535, 535, 535, 535, 536, 536, 536, 536, 536, 536, 536, 537, 0, 0, 537, 537, 537, 537, 538, 0, 0, 538, 538, 538, 538, 539, 539, 539, 539, 539, 539, 539, 540, 540, 540, 540, 540, 540, 540, 541, 541, 541, 541, 541, 541, 541, 542, 542, 542, 542, 542, 542, 542, 543, 543, 543, 543, 543, 543, 543, 544, 544, 0, 544, 544, 544, 544, 545, 545, 545, 545, 545, 545, 545, 546, 546, 546, 546, 546, 546, 546, 547, 547, 547, 547, 547, 547, 547, 548, 548, 0, 548, 548, 548, 548, 549, 549, 549, 549, 549, 549, 549, 550, 550, 550, 550, 550, 550, 550, 551, 551, 551, 551, 551, 551, 551, 552, 552, 552, 552, 552, 552, 552, 553, 553, 0, 553, 553, 553, 553, 554, 554, 554, 554, 554, 554, 554, 555, 555, 555, 555, 555, 555, 555, 556, 556, 556, 556, 556, 556, 556, 557, 557, 557, 557, 557, 557, 557, 558, 558, 0, 558, 558, 558, 558, 559, 559, 559, 559, 559, 559, 559, 560, 560, 560, 560, 560, 560, 560, 561, 561, 0, 561, 561, 561, 561, 562, 0, 0, 562, 562, 562, 562, 563, 0, 0, 563, 563, 563, 563, 564, 564, 564, 564, 564, 564, 564, 565, 565, 565, 565, 565, 565, 565, 566, 566, 566, 566, 566, 566, 566, 567, 567, 567, 567, 567, 567, 567, 568, 568, 568, 568, 568, 568, 568, 569, 569, 0, 569, 569, 569, 569, 570, 570, 570, 570, 570, 570, 570, 571, 571, 571, 571, 571, 571, 571, 572, 572, 0, 572, 572, 572, 572, 573, 573, 0, 573, 573, 573, 573, 574, 574, 0, 574, 574, 574, 574, 575, 575, 575, 575, 575, 575, 575, 576, 576, 576, 576, 576, 576, 576, 577, 577, 577, 577, 577, 577, 577, 578, 578, 578, 578, 578, 578, 578, 579, 579, 0, 579, 579, 579, 579, 580, 580, 580, 580, 580, 580, 580, 581, 581, 0, 581, 581, 581, 581, 582, 582, 0, 582, 582, 582, 582, 583, 583, 583, 583, 583, 583, 583, 584, 584, 584, 584, 584, 584, 584, 585, 585, 585, 585, 585, 585, 585, 586, 586, 586, 586, 586, 586, 586, 587, 587, 0, 587, 587, 587, 587, 588, 588, 588, 588, 588, 588, 588, 589, 589, 0, 589, 589, 589, 589, 590, 590, 590, 590, 590, 590, 590, 591, 591, 591, 591, 591, 591, 591, 592, 592, 592, 592, 592, 592, 592, 593, 593, 593, 593, 593, 593, 593, 594, 594, 594, 594, 594, 594, 594, 595, 595, 595, 595, 595, 595, 595, 596, 596, 596, 596, 596, 596, 596, 597, 597, 597, 597, 597, 597, 597, 598, 598, 598, 598, 598, 598, 598, 599, 599, 599, 599, 599, 599, 599, 600, 600, 600, 600, 600, 600, 600, 601, 601, 601, 601, 601, 601, 601, 602, 602, 0, 602, 602, 602, 602, 603, 603, 0, 603, 603, 603, 603, 604, 604, 0, 604, 604, 604, 604, 605, 605, 605, 605, 605, 605, 605, 606, 606, 606, 606, 606, 606, 606, 607, 607, 607, 607, 607, 607, 607, 608, 608, 608, 608, 608, 608, 608, 609, 609, 609, 609, 609, 609, 609, 610, 610, 0, 610, 610, 610, 610, 611, 611, 0, 611, 611, 611, 611, 612, 612, 612, 612, 612, 612, 612, 613, 613, 613, 613, 613, 613, 613, 614, 614, 614, 614, 614, 614, 614, 615, 615, 615, 615, 615, 615, 615, 616, 616, 616, 616, 616, 616, 616, 617, 617, 0, 617, 617, 617, 617, 618, 618, 618, 618, 618, 618, 618, 619, 619, 0, 619, 619, 619, 619, 620, 620, 0, 620, 620, 620, 620, 621, 621, 0, 621, 621, 621, 621, 622, 622, 622, 622, 622, 622, 622, 623, 623, 623, 623, 623, 623, 623, 624, 624, 624, 624, 624, 624, 624, 625, 625, 625, 625, 625, 625, 625, 626, 626, 626, 626, 626, 626, 626, 627, 627, 627, 627, 627, 627, 627, 628, 628, 0, 628, 628, 628, 628, 629, 629, 629, 629, 629, 629, 629, 630, 630, 0, 630, 630, 630, 630, 631, 631, 0, 631, 631, 631, 631, 632, 632, 632, 632, 632, 632, 632, 633, 633, 633, 633, 633, 633, 633, 634, 634, 634, 634, 634, 634, 634, 635, 635, 635, 635, 635, 635, 635, 636, 636, 636, 636, 636, 636, 636, 637, 637, 637, 637, 637, 637, 637, 638, 638, 0, 638, 638, 638, 638, 639, 639, 639, 639, 639, 639, 639, 640, 640, 640, 640, 640, 640, 640, 641, 641, 641, 641, 641, 641, 641, 642, 642, 642, 642, 642, 642, 642, 643, 643, 643, 643, 643, 643, 643, 644, 644, 644, 644, 644, 644, 644, 645, 645, 0, 645, 645, 645, 645, 646, 646, 646, 646, 646, 646, 646, 647, 647, 647, 647, 647, 647, 647, 648, 648, 648, 648, 648, 648, 648, 649, 649, 649, 649, 649, 649, 649, 650, 650, 0, 650, 650, 650, 650, 651, 651, 651, 651, 651, 651, 651, 652, 652, 652, 652, 652, 652, 652, 653, 653, 0, 653, 653, 653, 653, 654, 654, 0, 654, 654, 654, 654, 655, 655, 655, 655, 655, 655, 655, 656, 656, 656, 656, 656, 656, 656, 657, 657, 657, 657, 657, 657, 657, 658, 658, 658, 658, 658, 658, 658, 659, 659, 659, 659, 659, 659, 659, 660, 660, 660, 660, 660, 660, 660, 661, 661, 661, 661, 661, 661, 661, 662, 662, 662, 662, 662, 662, 662, 663, 663, 663, 663, 663, 663, 663, 664, 664, 664, 664, 664, 664, 664, 665, 665, 665, 665, 665, 665, 665, 666, 666, 666, 666, 666, 666, 666, 667, 667, 667, 667, 667, 667, 667, 668, 668, 668, 668, 668, 668, 668, 669, 669, 669, 669, 669, 669, 669, 670, 670, 670, 670, 670, 670, 670, 671, 671, 671, 671, 671, 671, 671, 672, 672, 672, 672, 672, 672, 672, 673, 673, 673, 673, 673, 673, 673, 674, 674, 674, 674, 674, 674, 674, 675, 675, 675, 675, 675, 675, 675, 676, 676, 676, 676, 676, 676, 676, 677, 677, 677, 677, 677, 677, 677, 678, 678, 678, 678, 678, 678, 678, 679, 679, 679, 679, 679, 679, 679, 680, 680, 680, 680, 680, 680, 680, 681, 681, 681, 681, 681, 681, 681, 682, 682, 682, 682, 682, 682, 682, 683, 683, 0, 683, 683, 683, 683, 684, 684, 684, 684, 684, 684, 684, 685, 685, 685, 685, 685, 685, 685, 686, 686, 686, 686, 686, 686, 686, 687, 687, 687, 687, 687, 687, 687, 688, 688, 688, 688, 688, 688, 688, 689, 689, 689, 689, 689, 689, 689, 690, 690, 690, 690, 690, 690, 690, 691, 691, 0, 691, 691, 691, 691, 692, 692, 692, 692, 692, 692, 692, 693, 693, 693, 693, 693, 693, 693, 694, 694, 694, 694, 694, 694, 694, 695, 695, 695, 695, 695, 695, 695, 696, 696, 696, 696, 696, 696, 696, 697, 697, 697, 697, 697, 697, 697, 698, 698, 698, 698, 698, 698, 698, 699, 699, 0, 699, 699, 699, 699, 700, 700, 700, 700, 700, 700, 700, 701, 701, 701, 701, 701, 701, 701, 702, 702, 702, 702, 702, 702, 702, 703, 703, 703, 703, 703, 703, 703, 704, 704, 0, 704, 704, 704, 704, 705, 705, 705, 705, 705, 705, 705, 706, 706, 0, 706, 706, 706, 706, 707, 707, 0, 707, 707, 707, 707, 708, 708, 0, 708, 708, 708, 708, 709, 709, 709, 709, 709, 709, 709, 710, 710, 710, 710, 710, 710, 710, 711, 711, 711, 711, 711, 711, 711, 712, 712, 712, 712, 712, 712, 712, 713, 713, 713, 713, 713, 713, 713, 714, 714, 714, 714, 714, 714, 714, 715, 715, 0, 715, 715, 715, 715, 716, 716, 716, 716, 716, 716, 716, 717, 717, 0, 717, 717, 717, 717, 718, 718, 0, 718, 718, 718, 718, 719, 719, 719, 719, 719, 719, 719, 720, 720, 720, 720, 720, 720, 720, 721, 721, 721, 721, 721, 721, 721, 722, 722, 722, 722, 722, 722, 722, 723, 723, 723, 723, 723, 723, 723, 724, 724, 724, 724, 724, 724, 724, 725, 725, 725, 725, 725, 725, 725, 726, 726, 726, 726, 726, 726, 726, 727, 727, 727, 727, 727, 727, 727, 728, 728, 728, 728, 728, 728, 728, 729, 729, 729, 729, 729, 729, 729, 730, 730, 730, 730, 730, 730, 730, 731, 731, 731, 731, 731, 731, 731, 732, 732, 732, 732, 732, 732, 732, 733, 733, 733, 733, 733, 733, 733, 734, 734, 734, 734, 734, 734, 734, 735, 735, 735, 735, 735, 735, 735, 736, 736, 736, 736, 736, 736, 736, 737, 737, 737, 737, 737, 737, 737, 738, 738, 738, 738, 738, 738, 738, 739, 739, 739, 739, 739, 739, 739, 740, 740, 740, 740, 740, 740, 740, 741, 741, 741, 741, 741, 741, 741, 742, 742, 742, 742, 742, 742, 742, 743, 743, 743, 743, 743, 743, 743, 744, 744, 744, 744, 744, 744, 744, 745, 745, 745, 745, 745, 745, 745, 746, 746, 746, 746, 746, 746, 746, 747, 747, 747, 747, 747, 747, 747, 748, 748, 748, 748, 748, 748, 748, 749, 749, 749, 749, 749, 749, 749, 750, 750, 750, 750, 750, 750, 750, 751, 751, 751, 751, 751, 751, 751, 752, 752, 752, 752, 752, 752, 752, 753, 753, 753, 753, 753, 753, 753, 754, 754, 754, 754, 754, 754, 754, 755, 755, 755, 755, 755, 755, 755, 756, 756, 756, 756, 756, 756, 756, 757, 757, 757, 757, 757, 757, 757, 758, 758, 758, 758, 758, 758, 758, 759, 759, 759, 759, 759, 759, 759, 760, 760, 760, 760, 760, 760, 760, 761, 761, 0, 761, 761, 761, 761, 762, 762, 762, 762, 762, 762, 762, 763, 763, 763, 763, 763, 763, 763, 764, 764, 764, 764, 764, 764, 764, 765, 765, 765, 765, 765, 765, 765, 766, 766, 766, 766, 766, 766, 766, 767, 767, 767, 767, 767, 767, 767, 768, 768, 768, 768, 768, 768, 768, 769, 769, 0, 769, 769, 769, 769, 770, 770, 770, 770, 770, 770, 770, 771, 771, 771, 771, 771, 771, 771, 772, 772, 772, 772, 772, 772, 772, 773, 773, 773, 773, 773, 773, 773, 774, 774, 774, 774, 774, 774, 774, 775, 775, 775, 775, 775, 775, 775, 776, 776, 776, 776, 776, 776, 776, 777, 777, 777, 777, 777, 777, 777, 778, 778, 778, 778, 778, 778, 778, 779, 779, 779, 779, 779, 779, 779, 780, 780, 780, 780, 780, 780, 780, 781, 781, 781, 781, 781, 781, 781, 782, 782, 782, 782, 782, 782, 782, 783, 783, 783, 783, 783, 783, 783, 784, 784, 784, 784, 784, 784, 784, 785, 785, 785, 785, 785, 785, 785, 786, 786, 786, 786, 786, 786, 786, 787, 787, 787, 787, 787, 787, 787, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, 475 } ; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.l" #line 2 "lex.l" /* +-------------------------------------------------------------------+ */ /* | Copyright 1991, David Koblas. | */ /* | Permission to use, copy, modify, and distribute this software | */ /* | and its documentation for any purpose and without fee is hereby | */ /* | granted, provided that the above copyright notice appear in all | */ /* | copies and that both that copyright notice and this permission | */ /* | notice appear in supporting documentation. This software is | */ /* | provided "as is" without express or implied warranty. | */ /* +-------------------------------------------------------------------+ */ #include #include #include #include #include #include "defs.h" static cmd_t *newcmd(); char *savestr(); void addvar(const char *str); void preproc(const char *str); void preprocerror(const char *str); static void addquotedarg(int state, cmd_t *cmd, const char *instr); static void addarg(int state, cmd_t *cmd, const char *instr); int yyline = 1; #line 2006 "lex.c" #define INITIAL 0 #define ARGS 1 /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif static void yyunput (int c,char *buf_ptr ); #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 38 "lex.l" int state = 0; cmd_t *cmd = NULL; #line 2164 "lex.c" if ( (yy_init) ) { (yy_init) = 0; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = 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 >= 476 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 5969 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: YY_RULE_SETUP #line 42 "lex.l" ; YY_BREAK case 2: YY_RULE_SETUP #line 43 "lex.l" { preproc(yytext); } YY_BREAK case 3: YY_RULE_SETUP #line 44 "lex.l" { preprocerror(yytext); } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 45 "lex.l" { yyline++; BEGIN 0; } YY_BREAK case 5: YY_RULE_SETUP #line 46 "lex.l" { addvar(yytext); } YY_BREAK case 6: YY_RULE_SETUP #line 47 "lex.l" { cmd = newcmd(yytext); state = (strcmp(yytext,"DEFAULT")==0) ? 1 : 0; BEGIN ARGS; } YY_BREAK case 7: YY_RULE_SETUP #line 50 "lex.l" BEGIN ARGS; YY_BREAK case 8: YY_RULE_SETUP #line 51 "lex.l" state++; YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 52 "lex.l" addquotedarg(state, cmd, yytext); YY_BREAK case 10: /* rule 10 can match eol */ YY_RULE_SETUP #line 53 "lex.l" addquotedarg(state, cmd, yytext); YY_BREAK case 11: YY_RULE_SETUP #line 54 "lex.l" addarg(state, cmd, yytext); YY_BREAK case 12: YY_RULE_SETUP #line 55 "lex.l" ; YY_BREAK case 13: YY_RULE_SETUP #line 56 "lex.l" ECHO; YY_BREAK #line 2318 "lex.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(ARGS): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { register char *dest = YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { size_t num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* 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. */ yyrealloc((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_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), num_to_read ); YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); 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); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = 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 >= 476 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; } 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 ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = 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 >= 476 ) 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 == 475); return yy_is_jam ? 0 : yy_current_state; } static void yyunput (int c, register char * yy_bp ) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); 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_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = 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; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(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 *) yyalloc(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; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { 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( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { 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) yyalloc(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; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param str a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * str ) { return yy_scan_bytes(str,strlen(str) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param bytes the byte buffer to scan * @param len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * bytes, int len ) { 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 *) yyalloc(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; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* 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 ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #undef YY_NEW_FILE #undef YY_FLUSH_BUFFER #undef yy_set_bol #undef yy_new_buffer #undef yy_set_interactive #undef YY_DO_BEFORE_ACTION #ifdef YY_DECL_IS_OURS #undef YY_DECL_IS_OURS #undef YY_DECL #endif #line 56 "lex.l" #include #include #include void msg(const char *format, ...) { #if 0 va_list ap; char *s; va_start(ap); s = va_arg(ap, char *); fprintf(stderr,"line %d: ",yyline); vfprintf(stderr, s, ap); fputc('\n', stderr); va_end(ap); #endif } char *expandvars(const char *instr) { char *str = (char*)malloc(VAR_EXPAND_LEN); int i = 0; if (str == NULL) fatal(1, "Unable to allocate variable expansion buffer"); while (*instr) if (isupper(*instr) || *instr == '_') { const char *mark = instr; var_t *var; while (*instr && (isupper(*instr) || isdigit(*instr) || *instr == '_')) ++instr; for (var = Variables; var != 0; var = var->next) { int l = strlen(var->name); if (instr - mark > l) l = instr - mark; if (!strncmp(mark, var->name, l)) { str[i] = 0; strcat(str, var->value); i += strlen(var->value); break; } } if (!var) { instr = mark + 1; str[i++] = *mark; } } else str[i++] = *instr++; str[i] = 0; return str; } void preprocerror(const char *str) { fprintf(stderr, "Invalid preprocessor command '%s'\n", str); exit(1); } void preproc(const char *str) { if (!strncmp(str, "%if", 3)) { } else if (!strncmp(str, "%elseif", 7)) { } else if (!strcmp(str, "%else")) { } else if (!strcmp(str, "%endif")) { } else preprocerror(str); } void addvar(const char *str) { char name[VAR_NAME_LEN], value[VAR_EXPAND_LEN]; const char *eq = strchr(str, '='); if (eq && str - eq < VAR_NAME_LEN) { int i, o; var_t *var; strncpy(name, str, eq - str); name[eq - str] = 0; for (o = 0, i = eq - str + 1; o < VAR_EXPAND_LEN - 1 && str[i]; ++i) if (str[i] == '\\') { switch (str[++i]) { case 'n' : value[o++] = '\n'; break; case 'r' : value[o++] = '\r'; break; case 't' : value[o++] = '\t'; break; case 'a' : value[o++] = '\a'; break; case 'b' : value[o++] = '\b'; break; default : value[o++] = str[i]; break; } } else if (str[i] == '"') break; else value[o++] = str[i]; value[o++] = 0; if ((var = (var_t*)malloc(sizeof(var_t))) == NULL) fatal(1, "Unable to allocate var_t"); if ((var->name = malloc(strlen(name) + 1)) == NULL) fatal(1, "Unable to allocate variable name"); strcpy(var->name, name); var->value = expandvars(value); var->next = 0; if (Variables) { var_t *i; for (i = Variables; i->next; i = i->next) ; i->next = var; } else Variables = var; } else fatal(1, "Invalid alias"); } static void addquotedarg(int state, cmd_t *cmd, const char *instr) { char buffer[MAXSTRLEN]; int i, o, q; if (strlen(instr) + 2 > MAXSTRLEN) { fatal(1, "Quoted argument too long\n"); exit(1); } for (o = 0; !strchr("'\"", instr[o]); ++o) buffer[o] = instr[o]; q = o; for (i = o + 1; instr[i] && instr[i] != instr[q]; ++i, ++o) { if (instr[i] == '\\') { int c = instr[++i]; if (strchr("'\"", c)) { buffer[o] = c; } else { buffer[o++] = '\\'; buffer[o] = c; } } else buffer[o] = instr[i]; } buffer[o] = 0; addarg(state, cmd, buffer); } static void addarg(int state, cmd_t *cmd, const char *instr) { char *str = expandvars(instr); if (state == 0) { msg("cmd='%s' add arg '%s'",cmd->name,str); if (cmd->margs == cmd->nargs) { cmd->margs += cmd->margs; cmd->args = (char **)realloc(cmd->args, sizeof(char *) * cmd->margs); if (cmd->args == NULL) fatal(1, "Unable to groupw args"); } cmd->args[cmd->nargs++] = savestr(str); } else if (state == 1) { msg("cmd='%s' add opt '%s'",cmd->name,str); if (cmd->mopts == cmd->nopts) { cmd->mopts += cmd->mopts; cmd->opts = (char **)realloc(cmd->opts, sizeof(char *) * cmd->mopts); if (cmd->opts == NULL) fatal(1, "Unable to groupw opts"); } cmd->opts[cmd->nopts++] = savestr(str); } else { fatal(1, "bad state (%d) received\n",state); } free(str); } char *savestr(str) char *str; { char *s = (char *)malloc(strlen(str)+1); if (s == NULL) fatal(1, "No string space"); strcpy(s, str); return s; } static cmd_t *alloccmd(char *name) { cmd_t *cmd = (cmd_t *)malloc(sizeof(cmd_t)); if (cmd == NULL) fatal(1, "Unable to alloc space for new command"); cmd->name = savestr(name); cmd->nargs = 0; cmd->margs = 16; cmd->nopts = 0; cmd->mopts = 16; cmd->args = (char **)malloc(sizeof(char *)*cmd->margs); cmd->opts = (char **)malloc(sizeof(char *)*cmd->mopts); if (cmd->args == NULL || cmd->opts == NULL) fatal(1, "Unable to alloc args/opts"); return cmd; } static cmd_t *newcmd(char *name) { cmd_t *cmd = alloccmd(name); cmd->next = First; First = cmd; return cmd; } int ReadFile(file) char *file; { struct stat statbuf; FILE *fd; if ((stat(file, &statbuf) < 0)) return 0; if ((statbuf.st_uid != 0) || /* Owned by root */ ((statbuf.st_mode & 0077) != 0)) { /* SD - no perm */ logger(LOG_ERR, "Permission problems on %s", file); return 0; } if ((fd = fopen(file,"r")) == NULL) return 0; yyin = fd; yylex(); return 1; } int CountArgs(cmd) cmd_t *cmd; { int i, val; int wild = 0, max = 0; char *cp, *np, str[MAXSTRLEN]; for (i = 0; i < cmd->nargs; i++) { np = cmd->args[i]; while ((cp = strchr(np, '$')) != NULL) { if ((cp != cmd->args[i]) && (*(cp-1) == '\\')) np = cp + 1; else { if (*(cp+1) == '*') { wild = 1; ++cp; np = cp; continue; } cp++; np = cp; while (isdigit(*cp)) cp++; if ((cp - np) == 0) continue; strncpy(str, np, cp - np); str[cp - np] = '\0'; val = atoi(str); if (val > max) max = val; } } } if (wild) return -max; return max; } static int cmpopts(a, b) char *a, *b; { char *cp_a, *cp_b; int val_a, val_b; char str_a[MAXSTRLEN], str_b[MAXSTRLEN]; if (*a != '$' && *b != '$') return 0; if (*a == '$' && *b != '$') return -1; if (*a != '$' && *b == '$') return 1; cp_a = ++a; cp_b = ++b; while ((*cp_a != '\0') && (*cp_a != '=')) if (! isdigit(*cp_a)) break; while ((*cp_b != '\0') && (*cp_b != '=')) if (! isdigit(*cp_b)) break; if (*cp_a != '=' && *cp_b != '=') return 0; if (*cp_a == '=' && *cp_b != '=') return -1; if (*cp_a != '=' && *cp_b == '=') return 1; strncpy(str_a, a, cp_a - a); str_a[cp_a - a] = '\0'; val_a = atoi(str_a); strncpy(str_b, b, cp_b - a); str_a[cp_b - b] = '\0'; val_b = atoi(str_b); if (val_a < val_b) return -1; if (val_a > val_b) return 1; return 0; } void sortopts(cmd) cmd_t *cmd; { qsort(cmd->opts, cmd->nopts, sizeof(char *), cmpopts); } /* Build a new command but don't merge it into the global list */ cmd_t *BuildSingle(cmd_t *def, cmd_t *cmd) { cmd_t *new = alloccmd(cmd->name ? cmd->name : ""); char defname[MAXSTRLEN], optname[MAXSTRLEN], *cp; int i, j; if (cmd == NULL) return def; if (def == NULL) return cmd; for (i = 0; i < cmd->nargs; i++) addarg(0, new, cmd->args[i]); for (i = 0; i < def->nopts; i++) { int skipped = 0; if ((cp = strchr(def->opts[i], '=')) == NULL) strcpy(defname, def->opts[i]); else { int l = cp - def->opts[i]; strncpy(defname, def->opts[i], l); defname[l] = '\0'; } for (j = 0; j < cmd->nopts; j++) { if ((cp = strchr(cmd->opts[j], '=')) == NULL) strcpy(optname, cmd->opts[j]); else { int l = cp - cmd->opts[j]; strncpy(optname, cmd->opts[j], l); optname[l] = '\0'; } if (strcmp(defname, optname) == 0) { skipped = 1; break; } } if (skipped) continue; if (def->opts[i][0] != '\0') addarg(1, new, def->opts[i]); } for (j = 0; j < cmd->nopts; j++) addarg(1, new, cmd->opts[j]); /* sortopts(new); */ return new; } /* Build a new command *and* merge it with the global command list */ cmd_t *Build(cmd_t *def, cmd_t *cmd) { cmd_t *new = BuildSingle(def, cmd); new->next = First; First = new; return new; }