#line 2 "frame/ds9lex.C" #line 4 "frame/ds9lex.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 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* The c++ scanner is a mess. The FlexLexer.h header file relies on the * following macro. This is required in order to pass the c++-multiple-scanners * test in the regression suite. We get reports that it breaks inheritance. * We will address this in a future release of flex, or omit the C++ scanner * altogether. */ #define yyFlexLexer mkFlexLexer /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ /* 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 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #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; typedef uint64_t flex_uint64_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 */ /* begin standard C++ headers. */ #include #include #include #include /* end standard C++ headers. */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__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 /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif extern yy_size_t yyleng; #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) ) #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { std::istream* 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. */ yy_size_t 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 */ /* 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)] void *mkalloc (yy_size_t ); void *mkrealloc (void *,yy_size_t ); void mkfree (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 */ #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; #define yytext_ptr yytext #include int yyFlexLexer::yywrap() { return 1; } /* 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 = (yy_size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 152 #define YY_END_OF_BUFFER 153 /* 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[517] = { 0, 0, 0, 2, 2, 153, 151, 147, 150, 151, 151, 151, 151, 151, 151, 115, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 54, 146, 146, 146, 146, 146, 146, 146, 146, 146, 112, 113, 151, 151, 2, 1, 147, 148, 0, 143, 0, 0, 144, 0, 115, 117, 130, 126, 116, 115, 0, 146, 118, 146, 146, 124, 122, 120, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 55, 146, 57, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 149, 0, 145, 2, 0, 117, 132, 128, 116, 118, 0, 0, 124, 122, 120, 131, 127, 119, 0, 125, 123, 121, 118, 0, 146, 0, 116, 146, 146, 146, 146, 146, 146, 146, 146, 11, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 33, 146, 146, 146, 146, 146, 38, 39, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 49, 146, 146, 56, 146, 146, 60, 146, 146, 146, 146, 146, 146, 146, 146, 146, 72, 146, 146, 146, 146, 146, 146, 146, 146, 83, 146, 114, 140, 133, 129, 0, 116, 0, 0, 117, 0, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 22, 146, 146, 146, 146, 146, 146, 29, 146, 146, 146, 146, 36, 146, 41, 146, 146, 146, 146, 45, 146, 146, 146, 146, 51, 53, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 73, 76, 77, 146, 146, 146, 146, 146, 110, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 146, 0, 0, 0, 0, 134, 0, 146, 0, 146, 146, 146, 146, 146, 7, 8, 146, 10, 146, 146, 146, 146, 17, 146, 146, 146, 21, 146, 24, 146, 146, 146, 146, 146, 146, 146, 34, 35, 37, 146, 146, 146, 146, 146, 48, 146, 50, 146, 58, 146, 146, 62, 146, 146, 146, 146, 146, 68, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 111, 0, 0, 0, 135, 134, 0, 0, 138, 0, 0, 136, 146, 146, 5, 6, 146, 146, 13, 146, 15, 146, 146, 20, 146, 146, 26, 146, 146, 146, 146, 32, 40, 146, 43, 146, 46, 146, 52, 146, 61, 146, 146, 146, 66, 67, 146, 69, 71, 146, 146, 146, 146, 80, 78, 146, 141, 138, 136, 139, 137, 146, 4, 146, 146, 146, 146, 18, 146, 146, 25, 146, 28, 146, 30, 146, 146, 47, 146, 63, 146, 146, 70, 146, 146, 146, 146, 79, 0, 146, 146, 146, 14, 16, 146, 23, 27, 31, 42, 44, 59, 146, 65, 146, 146, 146, 82, 0, 3, 146, 12, 19, 146, 74, 146, 146, 0, 9, 64, 75, 81, 0, 0, 142, 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, 1, 1, 7, 1, 1, 1, 8, 1, 8, 9, 1, 10, 11, 12, 13, 14, 15, 16, 16, 16, 17, 18, 1, 1, 1, 1, 1, 1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 1, 45, 1, 1, 1, 1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 1, 73, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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[74] = { 0, 1, 1, 2, 1, 3, 1, 3, 1, 4, 5, 5, 5, 5, 5, 5, 5, 5, 3, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 1, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 1, 1 } ; static yyconst flex_int16_t yy_base[537] = { 0, 0, 0, 142, 128, 129, 4126, 124, 4126, 122, 119, 0, 116, 65, 73, 86, 110, 169, 220, 125, 279, 336, 176, 191, 392, 109, 149, 205, 219, 231, 239, 433, 146, 260, 298, 492, 152, 299, 352, 305, 328, 74, 38, 0, 4126, 105, 4126, 100, 4126, 0, 87, 4126, 415, 551, 610, 4126, 4126, 669, 728, 460, 357, 787, 492, 510, 367, 384, 398, 429, 436, 536, 530, 588, 428, 574, 589, 633, 690, 754, 643, 660, 476, 808, 706, 801, 648, 809, 825, 761, 845, 862, 863, 877, 892, 882, 889, 911, 844, 916, 939, 945, 921, 960, 961, 640, 966, 751, 976, 988, 991, 1016, 1006, 998, 1035, 1050, 1043, 1069, 1072, 1086, 1079, 1094, 1101, 1106, 1128, 1131, 1150, 4126, 19, 4126, 0, 0, 1183, 4126, 4126, 1196, 1160, 1207, 1215, 4126, 4126, 4126, 4126, 4126, 4126, 1225, 4126, 4126, 4126, 4126, 1233, 79, 1242, 1255, 1263, 1121, 1277, 1278, 1284, 1283, 1301, 1313, 1320, 1319, 1340, 1341, 1347, 1364, 1367, 1372, 1386, 1396, 1401, 1406, 1423, 1413, 1433, 1440, 1443, 1448, 1458, 1470, 1476, 1484, 1477, 1494, 1504, 1511, 1514, 1519, 1535, 1541, 1551, 1557, 1574, 1580, 1586, 1596, 1602, 1622, 1614, 1629, 1637, 1649, 1652, 1655, 1672, 1675, 1687, 1690, 1713, 1714, 1720, 1734, 1740, 1750, 1756, 1775, 1780, 1790, 1783, 1805, 1860, 1813, 1806, 0, 4126, 4126, 1922, 1842, 1930, 1850, 1952, 1961, 1980, 1989, 2002, 2003, 2008, 2009, 2029, 1828, 2032, 2035, 2056, 2059, 2071, 2081, 2064, 2096, 2112, 2115, 2130, 2140, 2146, 2163, 2168, 2173, 2190, 2193, 2200, 2205, 2208, 2230, 2231, 2237, 2238, 2255, 2260, 2275, 2280, 2295, 2298, 2310, 2313, 2320, 2335, 2338, 2350, 2357, 2358, 2365, 2373, 2390, 2400, 2415, 2427, 2430, 2447, 2437, 2454, 2464, 2472, 2487, 2494, 2499, 2502, 2516, 2517, 2523, 2543, 2546, 2561, 2568, 2573, 2576, 2583, 2588, 2591, 2598, 2603, 2606, 2613, 2618, 2621, 2628, 2633, 2636, 2643, 2648, 2651, 2658, 2663, 2666, 2673, 2678, 2681, 0, 2699, 2708, 2716, 2726, 2734, 2743, 2751, 2799, 2766, 2765, 2787, 2780, 2688, 2788, 2815, 2816, 2830, 2835, 2838, 2853, 2865, 2868, 2880, 2883, 2890, 2904, 2905, 2919, 2929, 2936, 2941, 2944, 2958, 2959, 2976, 2979, 2984, 2999, 3005, 3006, 3011, 3021, 3040, 3050, 3043, 3068, 3069, 3074, 3075, 3089, 3096, 3106, 3101, 3123, 3116, 3131, 3143, 3148, 3158, 3165, 3173, 3183, 3189, 3209, 3210, 3216, 3233, 0, 129, 153, 3250, 3267, 3275, 3283, 3236, 3291, 3319, 3304, 3333, 3309, 3336, 3343, 3357, 3358, 3363, 3373, 3379, 3391, 3396, 3406, 3411, 3425, 3426, 3431, 3447, 3452, 3467, 3475, 3490, 3493, 3496, 3514, 3517, 3520, 3532, 3535, 3550, 3551, 3556, 3557, 3571, 3579, 3591, 3594, 3597, 3609, 3619, 3633, 3626, 3634, 3641, 3653, 0, 4126, 4126, 4126, 4126, 3659, 3660, 3674, 3684, 3689, 3699, 3692, 3715, 3718, 3721, 3737, 3742, 3745, 3752, 3760, 3767, 3770, 3777, 3787, 3792, 3797, 3804, 3807, 3823, 3826, 3838, 3843, 0, 3850, 3853, 3865, 3872, 3882, 3887, 3888, 3902, 3909, 3912, 3917, 3924, 3927, 3934, 3939, 3946, 3954, 3949, 0, 3961, 3964, 3976, 3986, 3991, 3992, 3998, 4013, 0, 4019, 4020, 4025, 4035, 0, 0, 4126, 4126, 4063, 4069, 4071, 4077, 4081, 4087, 4093, 4095, 4097, 4099, 4101, 4103, 4106, 4108, 4109, 4111, 4113, 4115, 4117, 4119 } ; static yyconst flex_int16_t yy_def[537] = { 0, 516, 1, 517, 517, 516, 516, 516, 516, 516, 518, 519, 520, 516, 516, 521, 521, 521, 17, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 21, 521, 521, 521, 521, 521, 521, 521, 521, 521, 516, 522, 523, 516, 516, 516, 518, 516, 524, 520, 516, 516, 516, 516, 516, 516, 516, 521, 516, 521, 521, 61, 61, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 516, 522, 516, 523, 525, 54, 516, 516, 57, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 61, 516, 61, 61, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 516, 521, 521, 526, 516, 516, 516, 516, 516, 516, 516, 516, 61, 61, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 527, 516, 516, 516, 516, 516, 61, 516, 61, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 528, 529, 530, 516, 516, 516, 516, 521, 516, 516, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 531, 516, 516, 516, 516, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 532, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 533, 521, 521, 521, 521, 521, 521, 521, 521, 534, 521, 521, 521, 521, 535, 536, 516, 0, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516 } ; static yyconst flex_int16_t yy_nxt[4200] = { 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 6, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 32, 41, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 32, 42, 6, 52, 53, 53, 53, 53, 53, 53, 53, 53, 54, 54, 54, 54, 54, 54, 54, 54, 55, 127, 56, 51, 57, 58, 58, 58, 58, 58, 58, 58, 58, 59, 48, 125, 45, 61, 62, 232, 127, 63, 64, 516, 516, 516, 516, 516, 516, 65, 99, 66, 51, 48, 46, 45, 516, 516, 516, 516, 44, 516, 125, 516, 61, 62, 232, 399, 63, 64, 67, 68, 516, 80, 44, 69, 65, 81, 66, 516, 516, 82, 516, 516, 516, 516, 516, 516, 516, 516, 516, 402, 516, 516, 516, 449, 516, 67, 68, 516, 80, 100, 69, 516, 81, 516, 516, 516, 82, 70, 516, 516, 516, 119, 516, 120, 516, 71, 516, 450, 516, 72, 449, 516, 92, 516, 516, 516, 100, 516, 516, 73, 74, 516, 516, 93, 516, 516, 516, 516, 119, 516, 120, 516, 71, 516, 450, 94, 72, 516, 516, 92, 516, 516, 516, 516, 516, 516, 73, 74, 60, 101, 93, 516, 516, 516, 516, 516, 75, 516, 516, 516, 60, 516, 94, 516, 76, 516, 516, 516, 516, 102, 77, 78, 516, 79, 516, 516, 101, 516, 516, 516, 104, 103, 516, 75, 516, 516, 516, 60, 105, 516, 516, 76, 516, 516, 516, 516, 102, 77, 78, 516, 79, 516, 516, 516, 516, 516, 516, 104, 103, 516, 111, 516, 516, 516, 516, 105, 112, 83, 84, 516, 516, 516, 516, 516, 516, 516, 85, 516, 86, 516, 87, 516, 516, 516, 516, 516, 516, 111, 113, 121, 516, 516, 516, 112, 83, 84, 516, 516, 114, 516, 516, 516, 516, 85, 516, 86, 516, 87, 516, 516, 516, 516, 516, 516, 516, 113, 121, 516, 124, 516, 516, 516, 88, 516, 516, 114, 516, 516, 516, 516, 89, 516, 90, 516, 516, 516, 91, 516, 516, 516, 122, 516, 516, 516, 516, 124, 123, 516, 516, 88, 516, 516, 516, 516, 516, 516, 516, 89, 516, 90, 516, 516, 516, 91, 516, 516, 516, 122, 516, 516, 516, 516, 516, 123, 516, 516, 516, 516, 516, 516, 95, 516, 516, 516, 96, 516, 516, 516, 516, 516, 97, 98, 130, 130, 130, 130, 130, 130, 130, 130, 516, 516, 516, 516, 516, 516, 516, 95, 516, 516, 516, 96, 516, 516, 516, 516, 516, 97, 98, 106, 159, 516, 516, 516, 516, 516, 107, 108, 516, 60, 153, 516, 516, 109, 516, 154, 110, 148, 148, 148, 148, 148, 148, 148, 148, 516, 106, 159, 516, 516, 516, 516, 516, 107, 108, 516, 60, 153, 516, 516, 109, 516, 154, 110, 516, 516, 516, 150, 516, 151, 151, 151, 151, 151, 151, 151, 151, 516, 115, 516, 168, 516, 116, 516, 516, 516, 117, 152, 152, 152, 152, 152, 152, 152, 152, 118, 516, 516, 516, 516, 516, 516, 516, 516, 516, 115, 516, 168, 516, 116, 516, 516, 516, 117, 157, 516, 516, 516, 516, 516, 516, 516, 118, 131, 155, 132, 516, 133, 53, 53, 53, 53, 53, 53, 53, 53, 59, 516, 516, 156, 134, 135, 516, 516, 136, 137, 516, 516, 516, 516, 516, 155, 138, 516, 139, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 156, 134, 135, 516, 516, 136, 137, 516, 516, 161, 158, 516, 516, 138, 516, 139, 140, 160, 141, 516, 516, 54, 54, 54, 54, 54, 54, 54, 54, 516, 516, 516, 516, 142, 143, 516, 161, 158, 144, 516, 516, 516, 516, 516, 160, 145, 516, 146, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 142, 143, 516, 166, 162, 144, 516, 516, 516, 516, 516, 516, 145, 516, 146, 55, 175, 56, 516, 516, 54, 54, 54, 54, 54, 54, 54, 54, 516, 516, 166, 162, 147, 135, 167, 516, 516, 137, 516, 516, 516, 516, 516, 175, 138, 516, 139, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 147, 135, 167, 516, 516, 137, 516, 173, 163, 516, 516, 516, 138, 516, 139, 55, 516, 56, 516, 57, 58, 58, 58, 58, 58, 58, 58, 58, 59, 516, 516, 516, 61, 62, 173, 163, 63, 64, 516, 516, 516, 516, 516, 516, 65, 516, 66, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 61, 62, 516, 178, 63, 64, 516, 164, 165, 516, 516, 516, 65, 516, 66, 516, 516, 516, 516, 516, 149, 149, 149, 149, 149, 149, 149, 149, 516, 516, 178, 516, 516, 516, 164, 165, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 169, 516, 516, 174, 516, 170, 516, 516, 516, 516, 171, 176, 516, 516, 516, 516, 516, 516, 172, 177, 516, 516, 516, 516, 516, 516, 516, 169, 516, 516, 174, 516, 170, 516, 516, 516, 516, 171, 176, 516, 516, 516, 516, 516, 516, 172, 177, 179, 191, 183, 184, 516, 516, 516, 516, 516, 516, 180, 516, 516, 516, 516, 516, 516, 181, 516, 516, 516, 516, 516, 516, 516, 516, 516, 179, 191, 182, 516, 516, 516, 516, 185, 516, 516, 180, 186, 189, 188, 516, 516, 516, 181, 516, 516, 187, 516, 516, 516, 516, 516, 516, 516, 516, 182, 516, 516, 516, 192, 185, 516, 516, 516, 186, 189, 188, 516, 516, 516, 516, 190, 516, 187, 516, 516, 516, 516, 516, 194, 516, 516, 516, 516, 193, 516, 192, 516, 195, 516, 516, 516, 516, 516, 516, 516, 516, 516, 190, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 193, 516, 516, 198, 195, 196, 516, 516, 516, 516, 516, 516, 516, 516, 197, 516, 516, 516, 516, 516, 516, 199, 516, 516, 516, 516, 516, 201, 516, 516, 198, 516, 196, 516, 516, 516, 516, 516, 516, 516, 516, 197, 516, 516, 200, 516, 202, 516, 199, 206, 516, 516, 205, 516, 201, 516, 203, 516, 516, 204, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 200, 516, 202, 516, 516, 206, 516, 207, 205, 516, 516, 516, 203, 516, 516, 204, 516, 208, 516, 516, 516, 516, 209, 516, 210, 516, 516, 516, 516, 516, 516, 516, 516, 516, 207, 516, 211, 516, 516, 516, 516, 516, 516, 516, 208, 516, 516, 516, 516, 209, 516, 210, 516, 516, 516, 516, 212, 516, 213, 516, 214, 516, 215, 211, 516, 217, 516, 516, 516, 218, 516, 516, 516, 216, 516, 516, 516, 516, 516, 516, 516, 516, 516, 212, 219, 213, 516, 214, 516, 215, 516, 516, 217, 234, 516, 221, 218, 516, 516, 516, 216, 516, 516, 516, 516, 516, 516, 220, 516, 516, 516, 219, 226, 226, 226, 226, 226, 226, 226, 226, 234, 516, 221, 516, 516, 516, 516, 516, 516, 222, 224, 516, 225, 516, 220, 130, 130, 130, 130, 130, 130, 130, 130, 131, 516, 132, 516, 516, 130, 130, 130, 130, 130, 130, 130, 130, 222, 150, 516, 227, 227, 227, 227, 227, 227, 227, 227, 228, 228, 228, 228, 228, 228, 228, 228, 229, 516, 230, 230, 230, 230, 230, 230, 230, 230, 148, 148, 148, 148, 148, 148, 148, 148, 231, 227, 227, 227, 227, 227, 227, 227, 227, 131, 516, 132, 516, 516, 151, 151, 151, 151, 151, 151, 151, 151, 152, 152, 152, 152, 152, 152, 152, 152, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 233, 516, 516, 516, 239, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 236, 516, 516, 516, 516, 516, 237, 235, 238, 516, 516, 516, 233, 516, 516, 516, 516, 516, 516, 516, 516, 240, 516, 516, 516, 516, 516, 236, 516, 516, 516, 241, 242, 237, 235, 238, 516, 516, 516, 516, 516, 516, 243, 516, 516, 516, 516, 516, 240, 516, 516, 516, 516, 245, 516, 516, 516, 516, 241, 242, 516, 244, 516, 516, 516, 516, 516, 516, 516, 243, 516, 246, 516, 516, 516, 516, 516, 516, 516, 516, 245, 516, 516, 516, 516, 516, 516, 516, 244, 247, 248, 516, 516, 516, 516, 516, 516, 516, 246, 516, 249, 516, 516, 250, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 247, 248, 516, 516, 253, 516, 516, 516, 516, 516, 251, 249, 252, 516, 250, 516, 516, 516, 516, 255, 516, 254, 516, 516, 516, 516, 516, 516, 516, 516, 516, 253, 516, 516, 516, 256, 516, 251, 516, 252, 516, 516, 516, 516, 516, 258, 255, 516, 254, 516, 516, 516, 516, 257, 516, 516, 516, 516, 516, 516, 516, 516, 256, 516, 516, 259, 516, 516, 516, 516, 516, 516, 258, 516, 516, 263, 516, 516, 516, 516, 257, 261, 260, 516, 516, 516, 516, 516, 516, 262, 516, 516, 259, 516, 516, 516, 516, 516, 516, 516, 516, 516, 263, 516, 516, 516, 516, 516, 261, 260, 516, 516, 516, 266, 516, 516, 262, 516, 516, 516, 265, 516, 516, 516, 264, 516, 516, 516, 516, 516, 267, 516, 516, 516, 516, 516, 516, 516, 516, 516, 266, 516, 268, 516, 516, 516, 516, 265, 516, 516, 516, 264, 516, 516, 516, 516, 516, 267, 516, 516, 516, 516, 516, 269, 516, 270, 516, 516, 516, 268, 516, 273, 516, 516, 271, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 272, 516, 516, 516, 516, 269, 516, 270, 516, 516, 516, 516, 516, 516, 516, 274, 271, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 272, 516, 516, 516, 516, 516, 516, 516, 275, 516, 516, 516, 516, 516, 276, 274, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 275, 516, 277, 278, 516, 516, 276, 516, 516, 516, 516, 516, 516, 516, 516, 279, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 277, 278, 281, 516, 516, 283, 284, 516, 282, 516, 516, 516, 285, 279, 280, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 281, 516, 516, 283, 284, 516, 282, 287, 516, 516, 285, 516, 280, 516, 286, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 288, 516, 516, 516, 516, 516, 516, 516, 287, 516, 516, 516, 516, 516, 516, 286, 516, 290, 516, 516, 516, 516, 289, 291, 516, 516, 516, 288, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 290, 516, 292, 293, 516, 289, 291, 516, 516, 294, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 295, 516, 516, 516, 516, 516, 516, 516, 292, 293, 516, 516, 516, 516, 516, 294, 516, 339, 516, 516, 516, 296, 516, 516, 516, 516, 131, 295, 132, 516, 324, 227, 227, 227, 227, 227, 227, 227, 227, 230, 230, 230, 230, 230, 230, 230, 230, 516, 296, 297, 60, 60, 60, 60, 60, 60, 60, 324, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 516, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 226, 226, 226, 226, 226, 226, 226, 226, 228, 228, 228, 228, 228, 228, 228, 228, 516, 516, 516, 516, 516, 326, 516, 516, 516, 224, 516, 225, 516, 327, 230, 230, 230, 230, 230, 230, 230, 230, 328, 329, 329, 329, 329, 329, 329, 329, 329, 516, 326, 516, 516, 516, 516, 516, 516, 516, 327, 330, 331, 331, 331, 331, 331, 331, 331, 331, 332, 333, 333, 333, 333, 333, 333, 333, 333, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 334, 516, 516, 337, 335, 516, 336, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 334, 340, 516, 337, 335, 516, 336, 516, 516, 516, 516, 341, 516, 516, 338, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 343, 516, 342, 340, 516, 516, 516, 516, 516, 516, 344, 516, 516, 341, 516, 516, 338, 516, 516, 346, 516, 516, 516, 516, 516, 516, 516, 343, 516, 342, 345, 516, 516, 516, 347, 516, 516, 344, 516, 516, 516, 516, 516, 516, 516, 516, 346, 516, 348, 516, 516, 516, 516, 349, 516, 516, 516, 345, 516, 516, 516, 347, 516, 516, 516, 516, 516, 516, 516, 516, 516, 350, 516, 516, 516, 348, 516, 516, 516, 351, 349, 516, 516, 516, 352, 516, 516, 516, 353, 516, 516, 516, 516, 516, 516, 516, 516, 516, 350, 516, 516, 516, 516, 516, 516, 516, 351, 516, 355, 516, 516, 352, 516, 516, 516, 353, 516, 516, 516, 516, 354, 516, 516, 516, 516, 356, 516, 516, 516, 516, 516, 516, 516, 516, 516, 355, 516, 516, 516, 516, 516, 516, 516, 357, 516, 516, 359, 354, 516, 516, 360, 516, 356, 358, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 357, 361, 516, 359, 516, 516, 516, 360, 362, 516, 358, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 363, 516, 516, 516, 516, 361, 516, 364, 516, 516, 516, 516, 362, 516, 516, 516, 516, 516, 516, 516, 365, 516, 516, 516, 516, 516, 516, 363, 516, 516, 516, 516, 516, 516, 364, 516, 366, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 365, 516, 516, 516, 516, 516, 516, 516, 516, 370, 516, 516, 368, 367, 516, 516, 366, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 369, 516, 371, 516, 516, 516, 516, 516, 368, 367, 516, 516, 516, 516, 516, 516, 516, 372, 516, 516, 516, 516, 516, 516, 516, 516, 516, 369, 516, 371, 516, 516, 373, 516, 516, 516, 374, 516, 516, 516, 516, 516, 516, 516, 372, 516, 376, 516, 516, 516, 516, 375, 516, 516, 516, 516, 516, 516, 516, 373, 516, 377, 516, 374, 516, 516, 516, 516, 516, 516, 516, 378, 516, 376, 516, 516, 516, 516, 375, 516, 516, 516, 516, 516, 516, 516, 516, 516, 377, 516, 516, 516, 516, 516, 516, 516, 516, 516, 378, 516, 516, 379, 516, 516, 516, 516, 383, 516, 380, 516, 516, 516, 516, 516, 381, 516, 516, 516, 382, 516, 516, 516, 516, 384, 516, 516, 516, 516, 379, 516, 516, 385, 516, 383, 516, 380, 516, 516, 516, 516, 516, 381, 516, 516, 516, 382, 516, 516, 386, 516, 384, 516, 516, 516, 516, 516, 516, 516, 385, 516, 516, 516, 516, 516, 516, 516, 516, 387, 516, 516, 516, 516, 516, 516, 516, 386, 516, 388, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 389, 516, 516, 516, 391, 516, 387, 516, 516, 390, 516, 516, 516, 516, 516, 516, 388, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 389, 516, 516, 516, 391, 516, 516, 516, 516, 390, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 392, 330, 394, 394, 394, 394, 394, 394, 394, 394, 332, 395, 395, 395, 395, 395, 395, 395, 395, 396, 396, 396, 396, 396, 396, 396, 396, 392, 397, 329, 329, 329, 329, 329, 329, 329, 329, 398, 398, 398, 398, 398, 398, 398, 398, 399, 331, 331, 331, 331, 331, 331, 331, 331, 401, 401, 401, 401, 401, 401, 401, 401, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 400, 516, 516, 516, 516, 516, 516, 516, 516, 516, 404, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 407, 516, 516, 405, 516, 516, 400, 402, 333, 333, 333, 333, 333, 333, 333, 333, 404, 516, 406, 516, 516, 516, 516, 516, 516, 516, 516, 407, 516, 516, 405, 516, 516, 516, 516, 403, 516, 516, 516, 516, 516, 516, 516, 516, 516, 406, 516, 516, 516, 516, 408, 516, 516, 410, 516, 516, 411, 516, 516, 516, 516, 516, 403, 516, 516, 409, 516, 516, 516, 516, 516, 516, 516, 516, 516, 412, 516, 408, 516, 516, 410, 516, 516, 411, 516, 516, 516, 516, 516, 516, 516, 516, 409, 516, 516, 516, 516, 516, 516, 516, 516, 415, 412, 516, 413, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 414, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 415, 516, 416, 413, 516, 516, 516, 516, 516, 516, 516, 516, 516, 417, 516, 414, 516, 516, 516, 516, 516, 516, 516, 418, 516, 516, 516, 516, 516, 416, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 417, 516, 516, 516, 420, 419, 516, 516, 516, 423, 418, 516, 516, 421, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 422, 516, 516, 516, 516, 420, 419, 516, 516, 516, 423, 516, 516, 516, 421, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 422, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 426, 424, 427, 516, 516, 516, 516, 425, 428, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 426, 424, 427, 516, 516, 516, 516, 425, 428, 429, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 431, 516, 516, 516, 429, 516, 516, 516, 516, 430, 516, 516, 516, 516, 516, 516, 516, 432, 516, 516, 516, 516, 516, 516, 516, 516, 516, 431, 516, 516, 516, 516, 434, 516, 433, 516, 430, 516, 516, 516, 516, 516, 435, 516, 432, 516, 516, 516, 516, 516, 516, 436, 516, 516, 516, 516, 516, 516, 516, 434, 516, 433, 516, 437, 516, 516, 516, 516, 516, 435, 516, 516, 516, 516, 516, 516, 516, 516, 436, 516, 438, 516, 516, 516, 516, 516, 440, 516, 516, 516, 437, 439, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 441, 516, 516, 516, 516, 438, 516, 516, 516, 442, 516, 440, 443, 516, 516, 444, 439, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 441, 516, 516, 516, 516, 516, 516, 516, 445, 442, 516, 516, 443, 516, 516, 444, 516, 516, 516, 516, 516, 516, 446, 516, 516, 447, 516, 516, 516, 516, 516, 516, 516, 516, 516, 445, 396, 396, 396, 396, 396, 396, 396, 396, 516, 516, 516, 516, 516, 446, 516, 516, 447, 396, 396, 396, 396, 396, 396, 396, 396, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 401, 401, 401, 401, 401, 401, 401, 401, 516, 516, 516, 451, 516, 516, 516, 516, 516, 516, 516, 449, 516, 516, 516, 516, 516, 516, 516, 452, 401, 401, 401, 401, 401, 401, 401, 401, 516, 516, 451, 516, 516, 516, 516, 516, 516, 454, 449, 516, 516, 516, 516, 516, 516, 516, 452, 450, 516, 516, 516, 453, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 454, 516, 516, 516, 516, 516, 456, 516, 516, 516, 450, 516, 516, 516, 453, 516, 516, 455, 516, 458, 516, 457, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 456, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 455, 516, 516, 516, 457, 516, 460, 516, 516, 516, 516, 459, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 461, 516, 460, 516, 516, 516, 516, 459, 516, 516, 516, 516, 516, 516, 462, 516, 463, 516, 516, 516, 516, 464, 516, 516, 516, 516, 516, 461, 516, 516, 516, 465, 516, 516, 516, 516, 516, 516, 516, 516, 516, 462, 466, 463, 516, 516, 516, 516, 464, 516, 516, 516, 516, 516, 516, 516, 516, 516, 465, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 466, 516, 516, 467, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 469, 516, 516, 516, 467, 516, 516, 516, 516, 468, 516, 470, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 469, 516, 516, 516, 516, 516, 516, 516, 516, 468, 516, 470, 516, 471, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 472, 473, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 471, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 472, 473, 516, 516, 516, 516, 516, 516, 474, 516, 516, 516, 516, 475, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 478, 516, 516, 516, 516, 516, 516, 516, 516, 474, 476, 516, 516, 516, 475, 516, 477, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 478, 516, 516, 516, 516, 516, 516, 516, 481, 516, 476, 479, 516, 516, 516, 516, 477, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 481, 516, 516, 479, 482, 483, 516, 516, 516, 484, 516, 516, 485, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 482, 483, 516, 516, 516, 484, 516, 516, 485, 516, 516, 516, 516, 486, 516, 516, 487, 516, 516, 516, 516, 516, 516, 516, 516, 516, 489, 516, 516, 516, 516, 516, 516, 488, 516, 516, 516, 516, 516, 516, 486, 490, 516, 487, 516, 516, 516, 516, 516, 516, 491, 516, 516, 489, 516, 516, 516, 516, 516, 516, 488, 516, 516, 516, 516, 516, 516, 492, 490, 516, 516, 516, 516, 516, 516, 516, 516, 491, 516, 493, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 492, 516, 516, 495, 516, 516, 494, 516, 496, 516, 516, 516, 493, 516, 516, 516, 516, 516, 516, 497, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 495, 516, 516, 494, 516, 496, 516, 516, 516, 516, 516, 516, 498, 516, 516, 516, 497, 516, 516, 516, 516, 501, 500, 516, 502, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 498, 516, 516, 516, 516, 516, 516, 503, 516, 501, 500, 516, 502, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 503, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 504, 516, 505, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 506, 516, 509, 504, 516, 505, 516, 516, 507, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 506, 516, 509, 516, 516, 516, 516, 516, 507, 516, 511, 516, 510, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 512, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 511, 516, 510, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 512, 43, 43, 43, 43, 43, 43, 47, 516, 47, 47, 47, 47, 49, 49, 50, 516, 50, 50, 50, 50, 60, 60, 60, 60, 126, 516, 126, 126, 126, 126, 128, 516, 128, 128, 128, 128, 129, 129, 223, 223, 325, 325, 393, 393, 448, 448, 394, 394, 395, 395, 480, 480, 499, 499, 508, 508, 513, 513, 514, 514, 515, 515, 5, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516 } ; static yyconst flex_int16_t yy_chk[4200] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 126, 15, 50, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 47, 41, 45, 15, 15, 149, 42, 15, 15, 25, 16, 25, 16, 25, 16, 15, 25, 15, 12, 10, 9, 7, 25, 16, 5, 19, 4, 19, 41, 19, 15, 15, 149, 394, 15, 15, 16, 16, 19, 19, 3, 16, 15, 19, 15, 0, 32, 19, 32, 26, 32, 26, 36, 26, 36, 0, 36, 395, 0, 32, 0, 394, 26, 16, 16, 36, 19, 26, 16, 17, 19, 17, 0, 17, 19, 17, 22, 0, 22, 36, 22, 36, 17, 17, 0, 395, 0, 17, 394, 22, 22, 23, 0, 23, 26, 23, 0, 17, 17, 0, 0, 22, 0, 0, 23, 27, 36, 27, 36, 27, 17, 0, 395, 23, 17, 0, 0, 22, 27, 28, 0, 28, 0, 28, 17, 17, 18, 27, 22, 0, 0, 29, 28, 29, 18, 29, 0, 0, 18, 30, 23, 30, 18, 30, 29, 0, 0, 28, 18, 18, 0, 18, 30, 0, 27, 0, 0, 0, 30, 29, 33, 18, 33, 0, 33, 18, 30, 0, 0, 18, 0, 0, 0, 33, 28, 18, 18, 0, 18, 20, 0, 20, 0, 20, 0, 30, 29, 0, 33, 0, 0, 0, 20, 30, 33, 20, 20, 0, 34, 37, 34, 37, 34, 37, 20, 39, 20, 39, 20, 39, 0, 34, 37, 0, 0, 33, 34, 37, 39, 0, 0, 33, 20, 20, 0, 0, 34, 0, 40, 0, 40, 20, 40, 20, 0, 20, 21, 0, 21, 0, 21, 40, 0, 34, 37, 0, 40, 0, 0, 21, 21, 0, 38, 34, 38, 0, 38, 60, 21, 60, 21, 60, 0, 0, 21, 38, 0, 64, 38, 64, 60, 64, 0, 40, 38, 0, 0, 21, 0, 0, 64, 0, 0, 0, 65, 21, 65, 21, 65, 0, 0, 21, 24, 0, 24, 38, 24, 65, 66, 0, 66, 38, 66, 0, 0, 24, 0, 0, 24, 0, 0, 66, 24, 0, 0, 0, 0, 0, 24, 24, 52, 52, 52, 52, 52, 52, 52, 52, 72, 67, 72, 67, 72, 67, 0, 24, 68, 0, 68, 24, 68, 72, 67, 0, 0, 24, 24, 31, 72, 68, 0, 0, 0, 0, 31, 31, 0, 31, 67, 0, 0, 31, 0, 68, 31, 59, 59, 59, 59, 59, 59, 59, 59, 0, 31, 72, 80, 0, 80, 0, 80, 31, 31, 0, 31, 67, 0, 0, 31, 80, 68, 31, 35, 0, 35, 62, 35, 62, 62, 62, 62, 62, 62, 62, 62, 35, 35, 0, 80, 0, 35, 0, 0, 0, 35, 63, 63, 63, 63, 63, 63, 63, 63, 35, 0, 0, 0, 0, 0, 0, 70, 0, 70, 35, 70, 80, 69, 35, 69, 0, 69, 35, 70, 70, 0, 0, 0, 0, 0, 69, 35, 53, 69, 53, 0, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 0, 0, 69, 53, 53, 0, 0, 53, 53, 73, 0, 73, 0, 73, 69, 53, 0, 53, 0, 0, 0, 0, 73, 71, 74, 71, 74, 71, 74, 69, 53, 53, 0, 0, 53, 53, 71, 74, 74, 71, 0, 0, 53, 0, 53, 54, 73, 54, 0, 0, 54, 54, 54, 54, 54, 54, 54, 54, 0, 0, 0, 0, 54, 54, 0, 74, 71, 54, 75, 0, 75, 0, 75, 73, 54, 103, 54, 103, 78, 103, 78, 75, 78, 84, 0, 84, 0, 84, 103, 54, 54, 78, 78, 75, 54, 79, 84, 79, 0, 79, 0, 54, 0, 54, 57, 84, 57, 0, 79, 57, 57, 57, 57, 57, 57, 57, 57, 0, 0, 78, 75, 57, 57, 79, 0, 76, 57, 76, 0, 76, 0, 0, 84, 57, 0, 57, 0, 0, 76, 0, 0, 82, 0, 82, 0, 82, 0, 0, 57, 57, 79, 0, 0, 57, 82, 82, 76, 0, 0, 0, 57, 0, 57, 58, 0, 58, 0, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 0, 0, 0, 58, 58, 82, 76, 58, 58, 105, 0, 105, 77, 105, 77, 58, 77, 58, 0, 87, 0, 87, 105, 87, 0, 77, 0, 0, 0, 0, 58, 58, 87, 87, 58, 58, 0, 77, 77, 0, 0, 0, 58, 0, 58, 61, 0, 61, 0, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 83, 87, 83, 0, 83, 77, 77, 81, 85, 81, 85, 81, 85, 83, 0, 0, 0, 0, 0, 0, 81, 85, 81, 0, 86, 83, 86, 81, 86, 0, 0, 0, 81, 85, 0, 0, 0, 86, 0, 0, 81, 86, 0, 96, 88, 96, 88, 96, 88, 81, 0, 0, 83, 0, 81, 0, 96, 88, 0, 81, 85, 89, 90, 89, 90, 89, 90, 81, 86, 88, 96, 90, 90, 0, 89, 90, 91, 0, 91, 89, 91, 93, 0, 93, 0, 93, 89, 0, 94, 91, 94, 92, 94, 92, 93, 92, 88, 96, 89, 0, 0, 94, 0, 91, 92, 0, 89, 91, 94, 93, 95, 0, 95, 89, 95, 97, 92, 97, 0, 97, 100, 0, 100, 95, 100, 89, 0, 0, 97, 97, 91, 0, 0, 100, 91, 94, 93, 0, 98, 0, 98, 95, 98, 92, 99, 0, 99, 0, 99, 99, 0, 98, 0, 0, 98, 0, 97, 99, 100, 101, 102, 101, 102, 101, 102, 104, 0, 104, 95, 104, 0, 0, 101, 102, 0, 106, 0, 106, 104, 106, 0, 98, 0, 0, 104, 100, 101, 107, 106, 107, 108, 107, 108, 0, 108, 102, 0, 111, 0, 111, 107, 111, 106, 108, 0, 110, 0, 110, 108, 110, 111, 104, 0, 101, 0, 109, 0, 109, 110, 109, 0, 0, 102, 0, 0, 107, 0, 108, 109, 106, 111, 0, 0, 110, 112, 108, 112, 109, 112, 0, 109, 0, 114, 0, 114, 0, 114, 112, 0, 113, 0, 113, 107, 113, 108, 114, 0, 111, 0, 112, 110, 0, 113, 0, 109, 0, 0, 109, 115, 113, 115, 116, 115, 116, 113, 116, 114, 0, 118, 0, 118, 115, 118, 0, 116, 117, 112, 117, 115, 117, 0, 118, 0, 119, 0, 119, 113, 119, 117, 0, 120, 113, 120, 114, 120, 121, 119, 121, 116, 121, 117, 0, 118, 120, 119, 115, 0, 120, 121, 0, 153, 121, 153, 0, 153, 119, 0, 122, 0, 122, 123, 122, 123, 153, 123, 116, 121, 117, 0, 118, 122, 119, 0, 123, 120, 153, 0, 123, 121, 124, 0, 124, 119, 124, 0, 0, 0, 0, 0, 122, 0, 0, 124, 121, 134, 134, 134, 134, 134, 134, 134, 134, 153, 0, 123, 0, 0, 0, 0, 0, 0, 124, 130, 0, 130, 0, 122, 130, 130, 130, 130, 130, 130, 130, 130, 133, 0, 133, 0, 0, 133, 133, 133, 133, 133, 133, 133, 133, 124, 135, 0, 135, 135, 135, 135, 135, 135, 135, 135, 136, 136, 136, 136, 136, 136, 136, 136, 143, 0, 143, 143, 143, 143, 143, 143, 143, 143, 148, 148, 148, 148, 148, 148, 148, 148, 148, 150, 150, 150, 150, 150, 150, 150, 150, 151, 0, 151, 0, 0, 151, 151, 151, 151, 151, 151, 151, 151, 152, 152, 152, 152, 152, 152, 152, 152, 0, 154, 155, 154, 155, 154, 155, 157, 156, 157, 156, 157, 156, 152, 154, 155, 0, 157, 0, 0, 157, 156, 0, 0, 0, 158, 0, 158, 155, 158, 0, 0, 0, 0, 155, 154, 156, 159, 158, 159, 152, 159, 0, 161, 160, 161, 160, 161, 160, 158, 159, 0, 0, 0, 0, 155, 161, 160, 0, 159, 160, 155, 154, 156, 162, 163, 162, 163, 162, 163, 161, 164, 0, 164, 0, 164, 158, 162, 163, 0, 0, 163, 0, 0, 164, 0, 159, 160, 165, 162, 165, 166, 165, 166, 0, 166, 167, 161, 167, 164, 167, 165, 0, 0, 166, 0, 0, 0, 163, 167, 168, 0, 168, 0, 168, 0, 162, 165, 166, 0, 169, 0, 169, 168, 169, 170, 164, 170, 167, 170, 171, 168, 171, 169, 171, 0, 0, 173, 170, 173, 0, 173, 0, 171, 165, 166, 0, 172, 171, 172, 173, 172, 0, 0, 169, 167, 170, 174, 168, 174, 172, 174, 0, 173, 175, 172, 175, 176, 175, 176, 174, 176, 177, 0, 177, 171, 177, 175, 0, 174, 176, 169, 178, 170, 178, 177, 178, 0, 0, 176, 173, 0, 172, 0, 179, 178, 179, 175, 179, 0, 180, 182, 180, 182, 180, 182, 174, 179, 181, 178, 181, 0, 181, 180, 182, 0, 176, 0, 183, 182, 183, 181, 183, 0, 175, 180, 179, 0, 184, 0, 184, 183, 184, 181, 0, 185, 178, 185, 186, 185, 186, 184, 186, 187, 0, 187, 182, 187, 185, 0, 0, 186, 180, 179, 0, 0, 187, 187, 0, 188, 181, 188, 0, 188, 186, 189, 0, 189, 185, 189, 0, 0, 188, 0, 188, 190, 0, 190, 189, 190, 0, 191, 0, 191, 187, 191, 189, 0, 190, 0, 0, 186, 0, 0, 191, 185, 0, 0, 192, 0, 192, 188, 192, 0, 193, 0, 193, 190, 193, 191, 194, 192, 194, 189, 194, 194, 0, 193, 192, 0, 195, 0, 195, 194, 195, 0, 196, 0, 196, 193, 196, 0, 0, 195, 190, 0, 191, 0, 198, 196, 198, 0, 198, 0, 196, 192, 197, 0, 197, 0, 197, 198, 0, 199, 0, 199, 193, 199, 0, 197, 0, 200, 0, 200, 197, 200, 199, 0, 0, 0, 199, 196, 0, 201, 200, 201, 202, 201, 202, 203, 202, 203, 0, 203, 0, 0, 201, 0, 0, 202, 0, 197, 203, 200, 202, 0, 204, 199, 204, 205, 204, 205, 0, 205, 0, 0, 203, 0, 0, 204, 0, 206, 205, 206, 207, 206, 207, 0, 207, 0, 200, 202, 205, 0, 206, 206, 206, 207, 205, 0, 0, 0, 207, 203, 204, 0, 0, 208, 209, 208, 209, 208, 209, 0, 210, 0, 210, 0, 210, 205, 208, 209, 206, 206, 0, 205, 209, 210, 211, 207, 211, 204, 211, 208, 212, 0, 212, 0, 212, 0, 0, 211, 0, 0, 213, 210, 213, 212, 213, 0, 214, 0, 214, 209, 214, 0, 0, 213, 0, 0, 208, 0, 213, 214, 0, 0, 0, 212, 214, 215, 0, 215, 210, 215, 216, 0, 216, 218, 216, 218, 0, 218, 215, 0, 217, 0, 217, 216, 217, 213, 218, 215, 216, 0, 212, 214, 0, 217, 217, 219, 222, 219, 222, 219, 222, 0, 0, 221, 0, 221, 218, 221, 219, 222, 0, 0, 0, 0, 215, 216, 221, 0, 239, 0, 239, 217, 239, 239, 0, 0, 0, 219, 0, 0, 0, 239, 227, 218, 227, 0, 221, 227, 227, 227, 227, 227, 227, 227, 227, 229, 229, 229, 229, 229, 229, 229, 229, 0, 219, 220, 220, 220, 220, 220, 220, 220, 220, 221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 0, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 226, 226, 226, 226, 226, 226, 226, 226, 228, 228, 228, 228, 228, 228, 228, 228, 0, 0, 0, 0, 0, 226, 0, 0, 0, 230, 0, 230, 0, 228, 230, 230, 230, 230, 230, 230, 230, 230, 231, 231, 231, 231, 231, 231, 231, 231, 231, 0, 226, 0, 0, 0, 0, 0, 0, 0, 228, 232, 232, 232, 232, 232, 232, 232, 232, 232, 233, 233, 233, 233, 233, 233, 233, 233, 233, 234, 235, 234, 235, 234, 235, 236, 237, 236, 237, 236, 237, 0, 234, 235, 0, 0, 0, 0, 236, 237, 0, 234, 0, 0, 237, 235, 238, 236, 238, 240, 238, 240, 241, 240, 241, 0, 241, 0, 0, 238, 0, 0, 240, 0, 0, 241, 0, 0, 234, 240, 0, 237, 235, 242, 236, 242, 243, 242, 243, 241, 243, 246, 238, 246, 0, 246, 242, 0, 244, 243, 244, 0, 244, 243, 246, 242, 240, 0, 245, 0, 245, 244, 245, 244, 0, 0, 241, 0, 0, 238, 0, 245, 246, 247, 0, 247, 0, 247, 0, 0, 243, 0, 242, 245, 0, 0, 247, 247, 0, 248, 244, 248, 249, 248, 249, 0, 249, 0, 0, 246, 0, 247, 248, 0, 0, 249, 248, 250, 0, 250, 245, 250, 0, 0, 247, 0, 0, 251, 0, 251, 250, 251, 0, 252, 249, 252, 0, 252, 247, 0, 251, 0, 250, 248, 0, 0, 252, 251, 0, 0, 253, 252, 253, 0, 253, 254, 0, 254, 0, 254, 255, 249, 255, 253, 255, 0, 0, 0, 254, 250, 0, 254, 0, 255, 251, 0, 0, 256, 252, 256, 257, 256, 257, 253, 257, 0, 0, 258, 255, 258, 256, 258, 259, 257, 259, 260, 259, 260, 254, 260, 258, 0, 0, 0, 0, 259, 256, 0, 260, 259, 253, 0, 0, 260, 0, 255, 258, 261, 262, 261, 262, 261, 262, 0, 263, 264, 263, 264, 263, 264, 261, 262, 0, 256, 261, 0, 259, 263, 264, 0, 260, 263, 265, 258, 265, 0, 265, 266, 0, 266, 0, 266, 0, 0, 0, 265, 265, 0, 0, 0, 266, 261, 267, 266, 267, 0, 267, 268, 263, 268, 0, 268, 0, 0, 0, 267, 267, 0, 0, 0, 268, 0, 269, 265, 269, 270, 269, 270, 0, 270, 266, 0, 268, 0, 0, 269, 0, 271, 270, 271, 272, 271, 272, 267, 272, 0, 0, 273, 0, 273, 271, 273, 273, 272, 0, 271, 270, 0, 0, 268, 273, 0, 274, 0, 274, 275, 274, 275, 0, 275, 0, 0, 0, 0, 272, 274, 274, 276, 275, 276, 0, 276, 271, 270, 277, 278, 277, 278, 277, 278, 276, 276, 279, 0, 279, 0, 279, 277, 278, 0, 280, 272, 280, 274, 280, 279, 277, 0, 0, 0, 278, 0, 0, 280, 0, 0, 0, 281, 276, 281, 280, 281, 0, 0, 0, 279, 0, 282, 0, 282, 281, 282, 0, 277, 0, 281, 0, 278, 0, 0, 282, 0, 283, 0, 283, 282, 283, 280, 0, 0, 0, 0, 279, 0, 284, 283, 284, 285, 284, 285, 0, 285, 281, 0, 287, 0, 287, 284, 287, 0, 285, 0, 282, 0, 286, 283, 286, 287, 286, 0, 287, 288, 284, 288, 0, 288, 0, 286, 285, 0, 0, 289, 286, 289, 288, 289, 0, 288, 0, 290, 0, 290, 283, 290, 289, 289, 0, 287, 0, 284, 0, 0, 290, 0, 291, 285, 291, 0, 291, 286, 0, 292, 289, 292, 288, 292, 293, 291, 293, 294, 293, 294, 289, 294, 292, 0, 0, 0, 0, 293, 0, 292, 294, 295, 296, 295, 296, 295, 296, 289, 297, 293, 297, 0, 297, 0, 295, 296, 0, 0, 0, 0, 294, 297, 0, 0, 296, 0, 292, 0, 298, 295, 298, 299, 298, 299, 0, 299, 293, 0, 0, 0, 0, 298, 0, 0, 299, 0, 300, 294, 300, 0, 300, 296, 0, 301, 0, 301, 295, 301, 302, 300, 302, 303, 302, 303, 0, 303, 301, 0, 304, 0, 304, 302, 304, 305, 303, 305, 306, 305, 306, 0, 306, 304, 0, 307, 0, 307, 305, 307, 308, 306, 308, 309, 308, 309, 0, 309, 307, 0, 310, 0, 310, 308, 310, 311, 309, 311, 312, 311, 312, 0, 312, 310, 0, 313, 0, 313, 311, 313, 314, 312, 314, 315, 314, 315, 0, 315, 313, 0, 316, 0, 316, 314, 316, 317, 315, 317, 318, 317, 318, 0, 318, 316, 0, 319, 0, 319, 317, 319, 320, 318, 320, 321, 320, 321, 0, 321, 319, 0, 322, 0, 322, 320, 322, 323, 321, 323, 324, 323, 324, 0, 324, 322, 0, 338, 0, 338, 323, 338, 0, 324, 0, 0, 0, 0, 0, 0, 338, 324, 326, 326, 326, 326, 326, 326, 326, 326, 326, 327, 327, 327, 327, 327, 327, 327, 327, 327, 328, 328, 328, 328, 328, 328, 328, 328, 324, 329, 329, 329, 329, 329, 329, 329, 329, 329, 330, 330, 330, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 332, 332, 332, 0, 335, 334, 335, 334, 335, 334, 0, 0, 0, 0, 331, 0, 0, 335, 334, 337, 0, 337, 0, 337, 334, 0, 336, 339, 336, 339, 336, 339, 337, 0, 0, 337, 0, 0, 335, 336, 339, 331, 333, 333, 333, 333, 333, 333, 333, 333, 333, 334, 0, 336, 340, 341, 340, 341, 340, 341, 0, 0, 337, 0, 0, 335, 0, 340, 341, 342, 333, 342, 0, 342, 343, 0, 343, 344, 343, 344, 336, 344, 342, 0, 0, 340, 0, 343, 343, 0, 344, 344, 345, 0, 345, 0, 345, 333, 0, 0, 342, 0, 0, 0, 346, 345, 346, 347, 346, 347, 345, 347, 340, 0, 0, 343, 0, 346, 344, 348, 347, 348, 349, 348, 349, 0, 349, 342, 0, 350, 0, 350, 348, 350, 0, 349, 349, 345, 0, 347, 0, 0, 350, 351, 352, 351, 352, 351, 352, 0, 0, 348, 0, 0, 0, 0, 351, 352, 353, 0, 353, 0, 353, 349, 0, 351, 347, 0, 354, 0, 354, 353, 354, 0, 0, 355, 353, 355, 348, 355, 356, 354, 356, 357, 356, 357, 354, 357, 355, 0, 0, 0, 351, 356, 0, 0, 357, 358, 359, 358, 359, 358, 359, 353, 0, 0, 0, 356, 355, 0, 358, 359, 359, 354, 0, 360, 357, 360, 361, 360, 361, 0, 361, 362, 0, 362, 0, 362, 360, 358, 0, 361, 0, 0, 356, 355, 362, 0, 363, 359, 363, 0, 363, 357, 364, 365, 364, 365, 364, 365, 366, 363, 366, 0, 366, 0, 358, 364, 365, 0, 367, 0, 367, 366, 367, 0, 0, 0, 0, 0, 365, 363, 366, 367, 0, 0, 0, 364, 367, 368, 0, 368, 370, 368, 370, 0, 370, 0, 0, 369, 0, 369, 368, 369, 0, 370, 0, 365, 363, 366, 0, 0, 369, 0, 364, 367, 369, 371, 372, 371, 372, 371, 372, 373, 374, 373, 374, 373, 374, 0, 371, 372, 0, 0, 0, 0, 373, 374, 375, 373, 375, 0, 375, 369, 0, 376, 0, 376, 371, 376, 378, 375, 378, 0, 378, 377, 374, 377, 376, 377, 0, 0, 0, 378, 0, 380, 373, 380, 377, 380, 0, 377, 379, 376, 379, 371, 379, 0, 380, 0, 381, 378, 381, 374, 381, 379, 0, 0, 0, 0, 379, 0, 382, 381, 382, 0, 382, 383, 377, 383, 376, 383, 380, 0, 0, 382, 0, 384, 378, 384, 383, 384, 0, 0, 385, 0, 385, 379, 385, 382, 384, 0, 386, 0, 386, 384, 386, 385, 0, 380, 383, 0, 387, 0, 387, 386, 387, 0, 388, 0, 388, 385, 388, 0, 0, 387, 382, 0, 0, 0, 386, 388, 384, 387, 0, 0, 388, 383, 389, 390, 389, 390, 389, 390, 0, 391, 0, 391, 385, 391, 0, 389, 390, 0, 0, 0, 389, 386, 391, 0, 387, 0, 392, 388, 392, 400, 392, 400, 0, 400, 390, 0, 0, 391, 0, 392, 0, 0, 400, 0, 0, 0, 0, 389, 396, 396, 396, 396, 396, 396, 396, 396, 0, 0, 0, 0, 0, 390, 0, 0, 391, 397, 397, 397, 397, 397, 397, 397, 397, 398, 398, 398, 398, 398, 398, 398, 398, 399, 399, 399, 399, 399, 399, 399, 399, 401, 401, 401, 401, 401, 401, 401, 401, 403, 0, 403, 398, 403, 405, 0, 405, 0, 405, 0, 399, 0, 403, 0, 0, 0, 0, 405, 401, 402, 402, 402, 402, 402, 402, 402, 402, 0, 404, 398, 404, 406, 404, 406, 0, 406, 405, 399, 407, 0, 407, 404, 407, 0, 406, 401, 402, 0, 0, 0, 404, 407, 408, 409, 408, 409, 408, 409, 410, 0, 410, 0, 410, 405, 0, 408, 409, 0, 411, 409, 411, 410, 411, 402, 412, 0, 412, 404, 412, 0, 408, 411, 412, 0, 411, 0, 413, 412, 413, 0, 413, 414, 0, 414, 0, 414, 409, 0, 0, 413, 0, 415, 0, 415, 414, 415, 416, 408, 416, 0, 416, 411, 0, 414, 415, 0, 0, 0, 413, 416, 417, 418, 417, 418, 417, 418, 419, 0, 419, 0, 419, 0, 0, 417, 418, 0, 0, 0, 416, 419, 414, 0, 420, 0, 420, 413, 420, 421, 0, 421, 0, 421, 417, 0, 419, 420, 0, 0, 0, 420, 421, 0, 422, 0, 422, 416, 422, 0, 0, 421, 423, 0, 423, 0, 423, 422, 0, 0, 0, 417, 422, 419, 0, 423, 0, 424, 420, 424, 425, 424, 425, 426, 425, 426, 0, 426, 421, 0, 424, 0, 0, 425, 0, 0, 426, 0, 0, 422, 0, 427, 425, 427, 428, 427, 428, 429, 428, 429, 0, 429, 0, 0, 427, 0, 0, 428, 0, 430, 429, 430, 431, 430, 431, 429, 431, 0, 0, 425, 0, 0, 430, 0, 427, 431, 431, 432, 433, 432, 433, 432, 433, 434, 435, 434, 435, 434, 435, 0, 432, 433, 429, 0, 0, 0, 434, 435, 436, 0, 436, 427, 436, 431, 0, 433, 437, 0, 437, 0, 437, 436, 0, 0, 0, 0, 434, 435, 438, 437, 438, 439, 438, 439, 440, 439, 440, 0, 440, 0, 0, 438, 433, 0, 439, 0, 441, 440, 441, 0, 441, 0, 0, 434, 435, 0, 442, 0, 442, 441, 442, 438, 0, 444, 0, 444, 441, 444, 0, 442, 443, 445, 443, 445, 443, 445, 444, 0, 446, 444, 446, 0, 446, 443, 445, 0, 0, 0, 438, 442, 447, 446, 447, 441, 447, 443, 453, 454, 453, 454, 453, 454, 0, 447, 0, 0, 444, 0, 0, 453, 454, 455, 0, 455, 453, 455, 442, 447, 0, 0, 0, 456, 443, 456, 455, 456, 457, 0, 457, 459, 457, 459, 0, 459, 456, 0, 458, 0, 458, 457, 458, 453, 459, 0, 447, 455, 456, 0, 0, 458, 457, 0, 460, 458, 460, 461, 460, 461, 462, 461, 462, 0, 462, 0, 0, 460, 0, 0, 461, 0, 0, 462, 455, 456, 463, 0, 463, 457, 463, 464, 458, 464, 465, 464, 465, 460, 465, 463, 461, 466, 0, 466, 464, 466, 0, 465, 0, 467, 465, 467, 0, 467, 466, 0, 468, 463, 468, 469, 468, 469, 467, 469, 460, 467, 470, 461, 470, 468, 470, 0, 469, 0, 468, 0, 471, 465, 471, 470, 471, 472, 0, 472, 463, 472, 473, 0, 473, 471, 473, 470, 467, 474, 472, 474, 475, 474, 475, 473, 475, 468, 0, 472, 0, 0, 474, 0, 0, 475, 0, 0, 476, 0, 476, 477, 476, 477, 470, 477, 0, 475, 0, 0, 473, 476, 476, 478, 477, 478, 472, 478, 479, 0, 479, 0, 479, 477, 0, 481, 478, 481, 482, 481, 482, 479, 482, 0, 475, 0, 0, 473, 481, 476, 483, 482, 483, 0, 483, 0, 478, 484, 0, 484, 477, 484, 0, 483, 0, 482, 481, 485, 483, 485, 484, 485, 486, 487, 486, 487, 486, 487, 0, 0, 485, 0, 0, 478, 0, 486, 487, 488, 0, 488, 486, 488, 482, 481, 489, 483, 489, 490, 489, 490, 488, 490, 491, 0, 491, 0, 491, 489, 0, 492, 490, 492, 493, 492, 493, 491, 493, 486, 0, 494, 0, 494, 492, 494, 495, 493, 495, 0, 495, 0, 0, 496, 494, 496, 498, 496, 498, 495, 498, 497, 493, 497, 495, 497, 496, 0, 500, 498, 500, 501, 500, 501, 497, 501, 0, 0, 0, 0, 0, 500, 0, 502, 501, 502, 496, 502, 501, 493, 0, 495, 0, 503, 497, 503, 502, 503, 504, 505, 504, 505, 504, 505, 0, 506, 503, 506, 0, 506, 0, 504, 505, 496, 0, 501, 0, 0, 506, 0, 507, 497, 507, 506, 507, 504, 509, 510, 509, 510, 509, 510, 511, 507, 511, 0, 511, 0, 507, 509, 510, 0, 512, 0, 512, 511, 512, 0, 0, 0, 506, 0, 504, 0, 0, 512, 0, 0, 0, 0, 0, 0, 0, 0, 0, 507, 517, 517, 517, 517, 517, 517, 518, 0, 518, 518, 518, 518, 519, 519, 520, 0, 520, 520, 520, 520, 521, 521, 521, 521, 522, 0, 522, 522, 522, 522, 523, 0, 523, 523, 523, 523, 524, 524, 525, 525, 526, 526, 527, 527, 528, 528, 529, 529, 530, 530, 531, 531, 532, 532, 533, 533, 534, 534, 535, 535, 536, 536, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516, 516 } ; /* 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 #line 1 "frame/ds9lex.L" /* Copyright (C) 1999-2018 * Smithsonian Astrophysical Observatory, Cambridge, MA, USA * For conditions of distribution and use, see copyright notice in "copyright" */ #line 12 "frame/ds9lex.L" #include #include #include #include "util.h" #include "ds9parser.H" extern YYSTYPE* mklval; extern mkFlexLexer* mklexx; /* rules */ #line 1524 "frame/ds9lex.C" #define INITIAL 0 #define DISCARD 1 #ifndef YY_NO_UNISTD_H /* 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 #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif #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 #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 #define ECHO LexerOutput( yytext, yyleng ) #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 ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #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) LexerError( 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 #define YY_DECL int yyFlexLexer::yylex() #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 \ 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 31 "frame/ds9lex.L" #line 1628 "frame/ds9lex.C" if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = & std::cin; if ( ! yyout ) yyout = & std::cout; 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_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 >= 517 ) 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_current_state != 516 ); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_find_action: 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: /* rule 1 can match eol */ YY_RULE_SETUP #line 33 "frame/ds9lex.L" { // special case-- #\n BEGIN INITIAL; yyless(0); // put back the terminator strcpy(mklval->str,""); // feed a blank string return STRING; } YY_BREAK case 2: YY_RULE_SETUP #line 40 "frame/ds9lex.L" { // Discard reset of line BEGIN INITIAL; int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return STRING; } YY_BREAK case 3: YY_RULE_SETUP #line 48 "frame/ds9lex.L" {return AMPLIFIER_;} YY_BREAK case 4: YY_RULE_SETUP #line 49 "frame/ds9lex.L" {return ANNULUS_;} YY_BREAK case 5: YY_RULE_SETUP #line 50 "frame/ds9lex.L" {return ARCMIN_;} YY_BREAK case 6: YY_RULE_SETUP #line 51 "frame/ds9lex.L" {return ARCSEC_;} YY_BREAK case 7: YY_RULE_SETUP #line 52 "frame/ds9lex.L" {return ARROW_;} YY_BREAK case 8: YY_RULE_SETUP #line 53 "frame/ds9lex.L" {return B1950_;} YY_BREAK case 9: YY_RULE_SETUP #line 54 "frame/ds9lex.L" {return BACKGROUND_;} YY_BREAK case 10: YY_RULE_SETUP #line 55 "frame/ds9lex.L" {return BEGIN_;} YY_BREAK case 11: YY_RULE_SETUP #line 56 "frame/ds9lex.L" {return BOX_;} YY_BREAK case 12: YY_RULE_SETUP #line 57 "frame/ds9lex.L" {return BOXCIRCLE_;} YY_BREAK case 13: YY_RULE_SETUP #line 58 "frame/ds9lex.L" {return BPANDA_;} YY_BREAK case 14: YY_RULE_SETUP #line 59 "frame/ds9lex.L" {return CALLBACK_;} YY_BREAK case 15: YY_RULE_SETUP #line 60 "frame/ds9lex.L" {return CIRCLE_;} YY_BREAK case 16: YY_RULE_SETUP #line 61 "frame/ds9lex.L" {return CIRCLE3D_;} YY_BREAK case 17: YY_RULE_SETUP #line 62 "frame/ds9lex.L" {return COLOR_;} YY_BREAK case 18: YY_RULE_SETUP #line 63 "frame/ds9lex.L" {return COMPASS_;} YY_BREAK case 19: YY_RULE_SETUP #line 64 "frame/ds9lex.L" {return COMPOSITE_;} YY_BREAK case 20: YY_RULE_SETUP #line 65 "frame/ds9lex.L" {return CPANDA_;} YY_BREAK case 21: YY_RULE_SETUP #line 66 "frame/ds9lex.L" {return CROSS_;} YY_BREAK case 22: YY_RULE_SETUP #line 67 "frame/ds9lex.L" {return DASH_;} YY_BREAK case 23: YY_RULE_SETUP #line 68 "frame/ds9lex.L" {return DASHLIST_;} YY_BREAK case 24: YY_RULE_SETUP #line 69 "frame/ds9lex.L" {return DEBUG_;} YY_BREAK case 25: YY_RULE_SETUP #line 70 "frame/ds9lex.L" {return DEGREES_;} YY_BREAK case 26: YY_RULE_SETUP #line 71 "frame/ds9lex.L" {return DELETE_;} YY_BREAK case 27: YY_RULE_SETUP #line 72 "frame/ds9lex.L" {return DETECTOR_;} YY_BREAK case 28: YY_RULE_SETUP #line 73 "frame/ds9lex.L" {return DIAMOND_;} YY_BREAK case 29: YY_RULE_SETUP #line 74 "frame/ds9lex.L" {return EDIT_;} YY_BREAK case 30: YY_RULE_SETUP #line 75 "frame/ds9lex.L" {return ELLIPSE_;} YY_BREAK case 31: YY_RULE_SETUP #line 76 "frame/ds9lex.L" {return ECLIPTIC_;} YY_BREAK case 32: YY_RULE_SETUP #line 77 "frame/ds9lex.L" {return EPANDA_;} YY_BREAK case 33: YY_RULE_SETUP #line 78 "frame/ds9lex.L" {return END_;} YY_BREAK case 34: YY_RULE_SETUP #line 79 "frame/ds9lex.L" {return FALSE_;} YY_BREAK case 35: YY_RULE_SETUP #line 80 "frame/ds9lex.L" {return FIELD_;} YY_BREAK case 36: YY_RULE_SETUP #line 81 "frame/ds9lex.L" {return FILL_;} YY_BREAK case 37: YY_RULE_SETUP #line 82 "frame/ds9lex.L" {return FIXED_;} YY_BREAK case 38: YY_RULE_SETUP #line 83 "frame/ds9lex.L" {return FK4_;} YY_BREAK case 39: YY_RULE_SETUP #line 84 "frame/ds9lex.L" {return FK5_;} YY_BREAK case 40: YY_RULE_SETUP #line 85 "frame/ds9lex.L" {return FORMAT_;} YY_BREAK case 41: YY_RULE_SETUP #line 86 "frame/ds9lex.L" {return FONT_;} YY_BREAK case 42: YY_RULE_SETUP #line 87 "frame/ds9lex.L" {return GALACTIC_;} YY_BREAK case 43: YY_RULE_SETUP #line 88 "frame/ds9lex.L" {return GLOBAL_;} YY_BREAK case 44: YY_RULE_SETUP #line 89 "frame/ds9lex.L" {return HIGHLITE_;} YY_BREAK case 45: YY_RULE_SETUP #line 90 "frame/ds9lex.L" {return ICRS_;} YY_BREAK case 46: YY_RULE_SETUP #line 91 "frame/ds9lex.L" {return IGNORE_;} YY_BREAK case 47: YY_RULE_SETUP #line 92 "frame/ds9lex.L" {return INCLUDE_;} YY_BREAK case 48: YY_RULE_SETUP #line 93 "frame/ds9lex.L" {return IMAGE_;} YY_BREAK case 49: YY_RULE_SETUP #line 94 "frame/ds9lex.L" {return KEY_;} YY_BREAK case 50: YY_RULE_SETUP #line 95 "frame/ds9lex.L" {return J2000_;} YY_BREAK case 51: YY_RULE_SETUP #line 96 "frame/ds9lex.L" {return LINE_;} YY_BREAK case 52: YY_RULE_SETUP #line 97 "frame/ds9lex.L" {return LINEAR_;} YY_BREAK case 53: YY_RULE_SETUP #line 98 "frame/ds9lex.L" {return MOVE_;} YY_BREAK case 54: YY_RULE_SETUP #line 99 "frame/ds9lex.L" {return N_;} YY_BREAK case 55: YY_RULE_SETUP #line 100 "frame/ds9lex.L" {return NO_;} YY_BREAK case 56: YY_RULE_SETUP #line 101 "frame/ds9lex.L" {return OFF_;} YY_BREAK case 57: YY_RULE_SETUP #line 102 "frame/ds9lex.L" {return ON_;} YY_BREAK case 58: YY_RULE_SETUP #line 103 "frame/ds9lex.L" {return CPANDA_;} YY_BREAK case 59: YY_RULE_SETUP #line 104 "frame/ds9lex.L" {return PHYSICAL_;} YY_BREAK case 60: YY_RULE_SETUP #line 105 "frame/ds9lex.L" {return PIE_;} YY_BREAK case 61: YY_RULE_SETUP #line 106 "frame/ds9lex.L" {return PIXELS_;} YY_BREAK case 62: YY_RULE_SETUP #line 107 "frame/ds9lex.L" {return POINT_;} YY_BREAK case 63: YY_RULE_SETUP #line 108 "frame/ds9lex.L" {return POLYGON_;} YY_BREAK case 64: YY_RULE_SETUP #line 109 "frame/ds9lex.L" {return PROJECTION_;} YY_BREAK case 65: YY_RULE_SETUP #line 110 "frame/ds9lex.L" {return PROPERTY_;} YY_BREAK case 66: YY_RULE_SETUP #line 111 "frame/ds9lex.L" {return ROTATE_;} YY_BREAK case 67: YY_RULE_SETUP #line 112 "frame/ds9lex.L" {return ROTBOX_;} YY_BREAK case 68: YY_RULE_SETUP #line 113 "frame/ds9lex.L" {return RULER_;} YY_BREAK case 69: YY_RULE_SETUP #line 114 "frame/ds9lex.L" {return SELECT_;} YY_BREAK case 70: YY_RULE_SETUP #line 115 "frame/ds9lex.L" {return SEGMENT_;} YY_BREAK case 71: YY_RULE_SETUP #line 116 "frame/ds9lex.L" {return SOURCE_;} YY_BREAK case 72: YY_RULE_SETUP #line 117 "frame/ds9lex.L" {return TAG_;} YY_BREAK case 73: YY_RULE_SETUP #line 118 "frame/ds9lex.L" {return TEXT_;} YY_BREAK case 74: YY_RULE_SETUP #line 119 "frame/ds9lex.L" {return TEXTANGLE_;} YY_BREAK case 75: YY_RULE_SETUP #line 120 "frame/ds9lex.L" {return TEXTROTATE_;} YY_BREAK case 76: YY_RULE_SETUP #line 121 "frame/ds9lex.L" {return TILE_;} YY_BREAK case 77: YY_RULE_SETUP #line 122 "frame/ds9lex.L" {return TRUE_;} YY_BREAK case 78: YY_RULE_SETUP #line 123 "frame/ds9lex.L" {return VECTOR_;} YY_BREAK case 79: YY_RULE_SETUP #line 124 "frame/ds9lex.L" {return VERSION_;} YY_BREAK case 80: YY_RULE_SETUP #line 125 "frame/ds9lex.L" {return UPDATE_;} YY_BREAK case 81: YY_RULE_SETUP #line 126 "frame/ds9lex.L" {return UNHIGHLITE_;} YY_BREAK case 82: YY_RULE_SETUP #line 127 "frame/ds9lex.L" {return UNSELECT_;} YY_BREAK case 83: YY_RULE_SETUP #line 128 "frame/ds9lex.L" {return WCS_;} YY_BREAK case 84: YY_RULE_SETUP #line 129 "frame/ds9lex.L" {return WCSA_;} YY_BREAK case 85: YY_RULE_SETUP #line 130 "frame/ds9lex.L" {return WCSB_;} YY_BREAK case 86: YY_RULE_SETUP #line 131 "frame/ds9lex.L" {return WCSC_;} YY_BREAK case 87: YY_RULE_SETUP #line 132 "frame/ds9lex.L" {return WCSD_;} YY_BREAK case 88: YY_RULE_SETUP #line 133 "frame/ds9lex.L" {return WCSE_;} YY_BREAK case 89: YY_RULE_SETUP #line 134 "frame/ds9lex.L" {return WCSF_;} YY_BREAK case 90: YY_RULE_SETUP #line 135 "frame/ds9lex.L" {return WCSG_;} YY_BREAK case 91: YY_RULE_SETUP #line 136 "frame/ds9lex.L" {return WCSH_;} YY_BREAK case 92: YY_RULE_SETUP #line 137 "frame/ds9lex.L" {return WCSI_;} YY_BREAK case 93: YY_RULE_SETUP #line 138 "frame/ds9lex.L" {return WCSJ_;} YY_BREAK case 94: YY_RULE_SETUP #line 139 "frame/ds9lex.L" {return WCSK_;} YY_BREAK case 95: YY_RULE_SETUP #line 140 "frame/ds9lex.L" {return WCSL_;} YY_BREAK case 96: YY_RULE_SETUP #line 141 "frame/ds9lex.L" {return WCSM_;} YY_BREAK case 97: YY_RULE_SETUP #line 142 "frame/ds9lex.L" {return WCSN_;} YY_BREAK case 98: YY_RULE_SETUP #line 143 "frame/ds9lex.L" {return WCSO_;} YY_BREAK case 99: YY_RULE_SETUP #line 144 "frame/ds9lex.L" {return WCSP_;} YY_BREAK case 100: YY_RULE_SETUP #line 145 "frame/ds9lex.L" {return WCSQ_;} YY_BREAK case 101: YY_RULE_SETUP #line 146 "frame/ds9lex.L" {return WCSR_;} YY_BREAK case 102: YY_RULE_SETUP #line 147 "frame/ds9lex.L" {return WCSS_;} YY_BREAK case 103: YY_RULE_SETUP #line 148 "frame/ds9lex.L" {return WCST_;} YY_BREAK case 104: YY_RULE_SETUP #line 149 "frame/ds9lex.L" {return WCSU_;} YY_BREAK case 105: YY_RULE_SETUP #line 150 "frame/ds9lex.L" {return WCSV_;} YY_BREAK case 106: YY_RULE_SETUP #line 151 "frame/ds9lex.L" {return WCSW_;} YY_BREAK case 107: YY_RULE_SETUP #line 152 "frame/ds9lex.L" {return WCSX_;} YY_BREAK case 108: YY_RULE_SETUP #line 153 "frame/ds9lex.L" {return WCSY_;} YY_BREAK case 109: YY_RULE_SETUP #line 154 "frame/ds9lex.L" {return WCSZ_;} YY_BREAK case 110: YY_RULE_SETUP #line 155 "frame/ds9lex.L" {return WCS0_;} YY_BREAK case 111: YY_RULE_SETUP #line 156 "frame/ds9lex.L" {return WIDTH_;} YY_BREAK case 112: YY_RULE_SETUP #line 157 "frame/ds9lex.L" {return X_;} YY_BREAK case 113: YY_RULE_SETUP #line 158 "frame/ds9lex.L" {return Y_;} YY_BREAK case 114: YY_RULE_SETUP #line 159 "frame/ds9lex.L" {return YES_;} YY_BREAK case 115: YY_RULE_SETUP #line 162 "frame/ds9lex.L" { // Integer mklval->integer = atoi(yytext); return INT; } YY_BREAK case 116: #line 168 "frame/ds9lex.L" case 117: YY_RULE_SETUP #line 168 "frame/ds9lex.L" { // Real Number mklval->real = atof(yytext); return REAL; } YY_BREAK case 118: #line 174 "frame/ds9lex.L" case 119: YY_RULE_SETUP #line 174 "frame/ds9lex.L" { // degrees yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ANGDEGREE; } YY_BREAK case 120: #line 181 "frame/ds9lex.L" case 121: YY_RULE_SETUP #line 181 "frame/ds9lex.L" { // radians yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ANGRADIAN; } YY_BREAK case 122: #line 188 "frame/ds9lex.L" case 123: YY_RULE_SETUP #line 188 "frame/ds9lex.L" { // physical coords yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return PHYCOORD; } YY_BREAK case 124: #line 195 "frame/ds9lex.L" case 125: YY_RULE_SETUP #line 195 "frame/ds9lex.L" { // image coords yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return IMGCOORD; } YY_BREAK case 126: #line 202 "frame/ds9lex.L" case 127: #line 203 "frame/ds9lex.L" case 128: #line 204 "frame/ds9lex.L" case 129: YY_RULE_SETUP #line 204 "frame/ds9lex.L" { // minutes of arc yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ARCMINUTE; } YY_BREAK case 130: #line 211 "frame/ds9lex.L" case 131: #line 212 "frame/ds9lex.L" case 132: #line 213 "frame/ds9lex.L" case 133: YY_RULE_SETUP #line 213 "frame/ds9lex.L" { // seconds of arc yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ARCSECOND; } YY_BREAK case 134: #line 220 "frame/ds9lex.L" case 135: YY_RULE_SETUP #line 220 "frame/ds9lex.L" { // Sexagesimal int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return SEXSTR; } YY_BREAK case 136: #line 228 "frame/ds9lex.L" case 137: YY_RULE_SETUP #line 228 "frame/ds9lex.L" { // HMS int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return HMSSTR; } YY_BREAK case 138: #line 236 "frame/ds9lex.L" case 139: YY_RULE_SETUP #line 236 "frame/ds9lex.L" { // DMS int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return DMSSTR; } YY_BREAK case 140: YY_RULE_SETUP #line 243 "frame/ds9lex.L" { // 8 bit Hex Color int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return STRING; } YY_BREAK case 141: YY_RULE_SETUP #line 250 "frame/ds9lex.L" { // 16 bit Hex Color int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return STRING; } YY_BREAK case 142: YY_RULE_SETUP #line 257 "frame/ds9lex.L" { // 32 bit Hex Color int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return STRING; } YY_BREAK case 143: #line 265 "frame/ds9lex.L" case 144: YY_RULE_SETUP #line 265 "frame/ds9lex.L" { // Quoted String int ll = (yyleng-2)<(MKBUFSIZE-1) ? (yyleng-2):(MKBUFSIZE-1); strncpy(mklval->str,yytext+1,ll); // skip the " " mklval->str[ll] = '\0'; // Remove the '"' return STRING; } YY_BREAK case 145: YY_RULE_SETUP #line 272 "frame/ds9lex.L" { // Quoted String int ll = (yyleng-2)<(MKBUFSIZE-1) ? (yyleng-2):(MKBUFSIZE-1); strncpy(mklval->str,yytext+1,ll); // skip the '{' mklval->str[ll] = '\0'; // Remove the '}' return STRING; } YY_BREAK case 146: YY_RULE_SETUP #line 279 "frame/ds9lex.L" { // General String int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); strncpy(mklval->str,yytext,ll); mklval->str[ll] = '\0'; return STRING; } YY_BREAK case 147: YY_RULE_SETUP #line 286 "frame/ds9lex.L" { // White Spaces } YY_BREAK case 148: /* rule 148 can match eol */ YY_RULE_SETUP #line 289 "frame/ds9lex.L" { // windows line feed return '\n'; } YY_BREAK case 149: YY_RULE_SETUP #line 293 "frame/ds9lex.L" { // fake line feed return '\n'; } YY_BREAK case 150: /* rule 150 can match eol */ YY_RULE_SETUP #line 297 "frame/ds9lex.L" { // linefeed return '\n'; } YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(DISCARD): #line 301 "frame/ds9lex.L" { // eof return EOF_; } YY_BREAK case 151: YY_RULE_SETUP #line 305 "frame/ds9lex.L" { // Else, return the char return yytext[0]; } YY_BREAK case 152: YY_RULE_SETUP #line 309 "frame/ds9lex.L" ECHO; YY_BREAK #line 2527 "frame/ds9lex.C" 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_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); 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 */ /* The contents of this function are C++ specific, so the () macro is not used. */ yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ) { yyin = arg_yyin; yyout = arg_yyout; yy_c_buf_p = 0; yy_init = 0; yy_start = 0; yy_flex_debug = 0; yylineno = 1; // this will only get updated if %option yylineno yy_did_buffer_switch_on_eof = 0; yy_looking_for_trail_begin = 0; yy_more_flag = 0; yy_more_len = 0; yy_more_offset = yy_prev_more_offset = 0; yy_start_stack_ptr = yy_start_stack_depth = 0; yy_start_stack = NULL; yy_buffer_stack = 0; yy_buffer_stack_top = 0; yy_buffer_stack_max = 0; yy_state_buf = 0; } /* The contents of this function are C++ specific, so the () macro is not used. */ yyFlexLexer::~yyFlexLexer() { delete [] yy_state_buf; mkfree(yy_start_stack ); yy_delete_buffer( YY_CURRENT_BUFFER ); mkfree(yy_buffer_stack ); } /* The contents of this function are C++ specific, so the () macro is not used. */ void yyFlexLexer::switch_streams( std::istream* new_in, std::ostream* new_out ) { if ( new_in ) { yy_delete_buffer( YY_CURRENT_BUFFER ); yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE ) ); } if ( new_out ) yyout = new_out; } #ifdef YY_INTERACTIVE size_t yyFlexLexer::LexerInput( char* buf, size_t /* max_size */ ) #else size_t yyFlexLexer::LexerInput( char* buf, size_t max_size ) #endif { if ( yyin->eof() || yyin->fail() ) return 0; #ifdef YY_INTERACTIVE yyin->get( buf[0] ); if ( yyin->eof() ) return 0; if ( yyin->bad() ) return -1; return 1; #else (void) yyin->read( buf, max_size ); if ( yyin->bad() ) return -1; else return yyin->gcount(); #endif } void yyFlexLexer::LexerOutput( const char* buf, size_t size ) { (void) yyout->write( buf, size ); } /* 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 */ int yyFlexLexer::yy_get_next_buffer() { 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 { yy_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 ) { yy_size_t 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. */ mkrealloc((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; if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) mkrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (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 */ yy_state_type yyFlexLexer::yy_get_previous_state() { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); 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 >= 517 ) 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 ); */ yy_state_type yyFlexLexer::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 >= 517 ) 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 == 516); return yy_is_jam ? 0 : yy_current_state; } void yyFlexLexer::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 yy_size_t 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; } int yyFlexLexer::yyinput() { 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 */ yy_size_t 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 0; 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); return c; } /** 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 yyFlexLexer::yyrestart( std::istream* 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 yyFlexLexer::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; } void yyFlexLexer::yy_load_buffer_state() { (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 yyFlexLexer::yy_create_buffer( std::istream* file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) mkalloc(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 *) mkalloc(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 yyFlexLexer::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 ) mkfree((void *) b->yy_ch_buf ); mkfree((void *) b ); } /* 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. */ void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, std::istream* 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 = 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 yyFlexLexer::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 yyFlexLexer::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 yyFlexLexer::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. */ void yyFlexLexer::yyensure_buffer_stack(void) { yy_size_t 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**)mkalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); 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**)mkrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* 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; } } void yyFlexLexer::yy_push_state( int new_state ) { if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) { yy_size_t new_size; (yy_start_stack_depth) += YY_START_STACK_INCR; new_size = (yy_start_stack_depth) * sizeof( int ); if ( ! (yy_start_stack) ) (yy_start_stack) = (int *) mkalloc(new_size ); else (yy_start_stack) = (int *) mkrealloc((void *) (yy_start_stack),new_size ); if ( ! (yy_start_stack) ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; BEGIN(new_state); } void yyFlexLexer::yy_pop_state() { if ( --(yy_start_stack_ptr) < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } int yyFlexLexer::yy_top_state() { return (yy_start_stack)[(yy_start_stack_ptr) - 1]; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif void yyFlexLexer::LexerError( yyconst char msg[] ) { std::cerr << msg << std::endl; 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. */ /* * 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 *mkalloc (yy_size_t size ) { return (void *) malloc( size ); } void *mkrealloc (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 mkfree (void * ptr ) { free( (char *) ptr ); /* see mkrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 309 "frame/ds9lex.L" void mkDiscard(int doit) { if (mklexx) mklexx->begin(DISCARD, doit); } void mkFlexLexer::begin(int which, int doit) { BEGIN which; if (doit) yyless(0); }