#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 154 #define YY_END_OF_BUFFER 155 /* 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[542] = { 0, 0, 0, 2, 2, 155, 153, 149, 152, 153, 153, 153, 153, 153, 153, 117, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 55, 148, 148, 148, 148, 148, 148, 148, 148, 148, 114, 115, 153, 153, 2, 1, 149, 150, 0, 145, 0, 0, 146, 0, 117, 119, 132, 128, 118, 117, 0, 148, 120, 148, 148, 126, 124, 122, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 56, 148, 58, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 151, 0, 147, 2, 0, 119, 134, 130, 118, 120, 0, 0, 126, 124, 122, 133, 129, 121, 0, 127, 125, 123, 120, 0, 148, 0, 118, 148, 148, 148, 148, 148, 148, 148, 148, 11, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 33, 148, 148, 148, 148, 148, 38, 40, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 50, 148, 148, 57, 148, 148, 61, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 74, 148, 148, 148, 148, 148, 148, 148, 148, 85, 148, 116, 142, 135, 131, 0, 118, 0, 0, 119, 0, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 22, 148, 148, 148, 148, 148, 148, 29, 148, 148, 148, 148, 36, 148, 0, 41, 148, 148, 148, 148, 46, 148, 148, 148, 148, 52, 54, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 75, 78, 79, 148, 148, 148, 148, 148, 112, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 148, 0, 0, 0, 0, 136, 0, 148, 0, 148, 148, 148, 148, 148, 7, 8, 148, 10, 148, 148, 148, 148, 17, 148, 148, 148, 21, 148, 24, 148, 148, 148, 148, 148, 148, 148, 34, 35, 37, 0, 148, 148, 148, 148, 148, 49, 148, 51, 148, 59, 148, 148, 63, 148, 148, 148, 148, 148, 69, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 113, 0, 0, 0, 137, 136, 0, 0, 140, 0, 0, 138, 148, 148, 5, 6, 148, 148, 13, 148, 15, 148, 148, 20, 148, 148, 26, 148, 148, 148, 148, 32, 0, 148, 43, 148, 148, 47, 148, 53, 148, 62, 148, 148, 148, 67, 68, 148, 70, 72, 148, 148, 148, 148, 148, 82, 80, 148, 143, 140, 138, 141, 139, 148, 4, 148, 148, 148, 148, 18, 148, 148, 25, 148, 28, 148, 30, 0, 148, 148, 148, 48, 148, 64, 148, 148, 71, 148, 148, 148, 148, 148, 81, 0, 148, 148, 148, 14, 16, 148, 23, 27, 31, 39, 42, 148, 45, 60, 148, 66, 148, 148, 148, 148, 84, 0, 3, 148, 12, 19, 148, 148, 148, 76, 148, 148, 0, 9, 148, 65, 148, 77, 83, 0, 148, 148, 0, 148, 148, 144, 44, 73, 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, 9, 10, 1, 11, 12, 13, 14, 15, 16, 17, 17, 17, 18, 19, 1, 1, 1, 1, 1, 1, 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, 45, 1, 46, 1, 1, 1, 1, 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, 73, 1, 74, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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[75] = { 0, 1, 1, 2, 1, 3, 1, 3, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1 } ; static yyconst flex_int16_t yy_base[560] = { 0, 0, 0, 181, 180, 179, 4292, 176, 4292, 167, 160, 0, 156, 65, 73, 87, 102, 162, 213, 140, 273, 331, 170, 211, 388, 113, 195, 201, 233, 266, 274, 429, 166, 305, 306, 489, 364, 372, 406, 244, 426, 80, 84, 0, 4292, 155, 4292, 151, 4292, 0, 148, 4292, 456, 549, 609, 4292, 4292, 669, 729, 489, 337, 789, 507, 516, 396, 425, 433, 536, 575, 804, 532, 629, 635, 586, 648, 691, 695, 758, 708, 805, 716, 864, 766, 815, 823, 830, 857, 840, 865, 894, 895, 887, 919, 929, 936, 946, 952, 963, 973, 969, 990, 998, 1005, 1020, 582, 1021, 684, 1038, 1045, 1044, 1065, 1071, 1072, 1087, 1102, 1094, 1112, 1120, 872, 1144, 1143, 1159, 1172, 1182, 1189, 1193, 1204, 4292, 80, 4292, 0, 0, 1221, 4292, 4292, 1244, 1259, 1270, 1278, 4292, 4292, 4292, 4292, 4292, 4292, 1289, 4292, 4292, 4292, 4292, 1297, 84, 1306, 1320, 1328, 1210, 1342, 1343, 1349, 1360, 1359, 1367, 1393, 1386, 1387, 1416, 1394, 1422, 1429, 1442, 1449, 1453, 1459, 1476, 1480, 1487, 1505, 1472, 1511, 1530, 1537, 1538, 1548, 1554, 1558, 1579, 1564, 1585, 1595, 1589, 1606, 1612, 1616, 1622, 1633, 1639, 1657, 1650, 1668, 1672, 1683, 1693, 1694, 1701, 1717, 1721, 1728, 1732, 1743, 1750, 1739, 1768, 1790, 1797, 1798, 1805, 1813, 1821, 1828, 1836, 1856, 1860, 1875, 1930, 1883, 1879, 0, 4292, 4292, 1992, 1903, 2000, 1916, 2022, 2031, 2050, 2059, 2073, 2074, 2080, 2090, 2084, 1890, 2097, 2105, 2112, 2120, 2137, 2141, 2147, 2154, 2170, 2171, 2187, 2193, 2197, 2203, 2218, 2219, 2225, 2242, 2249, 2266, 2267, 2283, 2289, 2290, 84, 2300, 2307, 2315, 2331, 2332, 2338, 2339, 2354, 2361, 2372, 2365, 2388, 2389, 2406, 2410, 2414, 2425, 2433, 2440, 2453, 2460, 2464, 2480, 2488, 2495, 2501, 2520, 2536, 2540, 2544, 2559, 2566, 2567, 2584, 2588, 2599, 2603, 2614, 2624, 2630, 2631, 2637, 2641, 2647, 2648, 2654, 2658, 2664, 2665, 2671, 2675, 2681, 2682, 2688, 2692, 2698, 2699, 2705, 2709, 2715, 2716, 2722, 0, 2740, 2749, 2757, 2767, 2775, 2784, 2792, 2801, 2816, 2823, 2824, 2840, 2726, 2841, 2848, 2864, 2868, 2872, 2888, 2892, 2896, 2915, 2919, 2926, 2932, 2942, 2949, 2953, 2957, 2964, 2980, 2981, 2988, 3004, 3012, 3022, 3029, 85, 3039, 3045, 3049, 3055, 3056, 3062, 3072, 3079, 3080, 3087, 3104, 3108, 3114, 3124, 3130, 3131, 3150, 3156, 3157, 3173, 3177, 3181, 3202, 3203, 3210, 3220, 3230, 3241, 3251, 3257, 3268, 0, 3283, 3292, 3311, 3320, 3328, 3338, 3353, 3366, 3374, 3354, 3389, 3390, 3400, 3406, 3413, 3419, 3430, 3438, 3451, 3457, 3470, 3474, 3478, 3489, 3495, 3496, 3513, 3514, 3521, 3534, 144, 3542, 3541, 3557, 3561, 3568, 3579, 3583, 3589, 3600, 3606, 3607, 3613, 3624, 3628, 3635, 3643, 3650, 3651, 3658, 3671, 3675, 3681, 3697, 3707, 3708, 0, 4292, 4292, 4292, 4292, 3715, 3733, 3737, 3741, 3748, 3752, 3769, 3775, 3776, 3782, 3793, 3801, 3812, 3816, 101, 3833, 3839, 3840, 3846, 3861, 3862, 3868, 3869, 3879, 3895, 3896, 3902, 3923, 3924, 3931, 0, 3950, 3951, 3957, 3961, 3967, 3978, 3984, 3988, 3994, 4292, 4005, 4011, 4012, 4018, 4028, 4035, 4036, 4053, 4054, 4060, 4071, 0, 4075, 4090, 4091, 4098, 4109, 4117, 4124, 4128, 4132, 4148, 0, 4147, 4155, 4171, 4177, 4181, 4188, 0, 4196, 4203, 0, 4204, 4220, 4292, 4227, 4228, 4292, 4269, 4273, 144, 4277, 4279, 4283, 4287, 132, 129, 127, 126, 125, 124, 123, 104, 92, 91, 89 } ; static yyconst flex_int16_t yy_def[560] = { 0, 541, 1, 542, 542, 541, 541, 541, 541, 541, 543, 544, 545, 541, 541, 546, 546, 546, 17, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 21, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 547, 548, 541, 541, 541, 543, 541, 549, 545, 541, 541, 541, 541, 541, 541, 541, 546, 541, 546, 546, 61, 61, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 547, 541, 548, 550, 54, 541, 541, 57, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 61, 541, 61, 61, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 546, 546, 551, 541, 541, 541, 541, 541, 541, 541, 541, 61, 61, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 552, 541, 541, 541, 541, 541, 61, 541, 61, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 553, 541, 541, 541, 541, 541, 541, 546, 541, 541, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 554, 541, 541, 541, 541, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 555, 546, 546, 546, 546, 546, 546, 546, 546, 546, 541, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 556, 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, 557, 546, 546, 546, 546, 546, 546, 558, 546, 546, 559, 546, 546, 541, 546, 546, 0, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541 } ; static yyconst flex_int16_t yy_nxt[4367] = { 0, 6, 7, 8, 9, 10, 11, 12, 13, 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, 538, 56, 535, 532, 57, 58, 58, 58, 58, 58, 58, 58, 58, 59, 541, 525, 541, 61, 62, 541, 127, 63, 64, 235, 368, 541, 431, 541, 541, 65, 541, 66, 502, 100, 514, 492, 457, 400, 330, 541, 226, 67, 68, 131, 61, 62, 69, 127, 63, 64, 235, 368, 541, 431, 541, 49, 65, 541, 66, 502, 476, 129, 51, 48, 45, 129, 541, 80, 67, 68, 51, 81, 48, 69, 541, 82, 541, 46, 541, 541, 541, 70, 541, 541, 541, 45, 541, 541, 541, 71, 44, 44, 541, 72, 80, 541, 541, 92, 81, 541, 541, 541, 82, 73, 74, 541, 541, 541, 93, 541, 541, 541, 541, 541, 541, 541, 71, 541, 541, 541, 72, 541, 541, 541, 92, 541, 101, 541, 541, 541, 73, 74, 60, 541, 541, 93, 102, 541, 541, 541, 75, 541, 94, 541, 60, 541, 95, 541, 76, 541, 541, 541, 541, 101, 77, 78, 541, 79, 541, 541, 541, 541, 541, 102, 541, 541, 541, 75, 541, 94, 541, 60, 541, 95, 103, 76, 541, 541, 541, 541, 541, 77, 78, 541, 79, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 103, 83, 84, 541, 541, 105, 104, 541, 541, 541, 85, 541, 86, 106, 87, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 83, 84, 541, 541, 105, 104, 541, 541, 114, 85, 541, 86, 106, 87, 541, 541, 541, 112, 115, 541, 541, 541, 541, 113, 116, 541, 541, 541, 541, 88, 541, 541, 541, 541, 541, 114, 541, 89, 541, 90, 541, 541, 541, 91, 112, 115, 541, 541, 541, 541, 113, 116, 541, 541, 541, 541, 88, 541, 541, 541, 541, 541, 541, 541, 89, 541, 90, 541, 541, 541, 91, 541, 541, 541, 123, 121, 541, 122, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 96, 541, 541, 541, 97, 541, 541, 541, 541, 541, 98, 99, 541, 123, 121, 541, 122, 541, 124, 541, 541, 541, 541, 541, 125, 541, 541, 96, 541, 541, 541, 97, 541, 541, 541, 541, 541, 98, 99, 107, 126, 541, 541, 541, 541, 124, 108, 109, 541, 60, 541, 125, 541, 110, 541, 541, 111, 132, 132, 132, 132, 132, 132, 132, 132, 541, 107, 126, 541, 541, 541, 541, 541, 108, 109, 541, 60, 541, 541, 541, 110, 541, 541, 111, 541, 541, 541, 541, 541, 541, 150, 150, 150, 150, 150, 150, 150, 150, 541, 117, 541, 541, 541, 118, 541, 152, 152, 119, 153, 153, 153, 153, 153, 153, 153, 153, 120, 154, 154, 154, 154, 154, 154, 154, 154, 541, 117, 541, 541, 541, 118, 541, 541, 541, 119, 541, 541, 541, 541, 541, 159, 541, 541, 120, 133, 541, 134, 541, 541, 135, 53, 53, 53, 53, 53, 53, 53, 53, 59, 541, 541, 155, 136, 137, 541, 541, 138, 139, 541, 541, 541, 541, 541, 541, 140, 541, 141, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 155, 136, 137, 541, 541, 138, 139, 541, 541, 541, 156, 541, 541, 140, 541, 141, 142, 541, 143, 541, 541, 541, 54, 54, 54, 54, 54, 54, 54, 54, 541, 162, 541, 541, 144, 145, 541, 156, 541, 146, 541, 541, 541, 541, 541, 541, 147, 541, 148, 541, 541, 541, 541, 160, 541, 541, 541, 541, 162, 541, 541, 144, 145, 161, 541, 541, 146, 541, 541, 541, 163, 541, 541, 147, 541, 148, 55, 541, 56, 541, 160, 541, 54, 54, 54, 54, 54, 54, 54, 54, 161, 541, 541, 541, 149, 137, 541, 163, 541, 139, 541, 541, 541, 541, 541, 541, 140, 541, 141, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 149, 137, 541, 164, 541, 139, 541, 541, 541, 168, 541, 541, 140, 165, 141, 55, 541, 56, 541, 541, 57, 58, 58, 58, 58, 58, 58, 58, 58, 59, 164, 541, 541, 61, 62, 170, 168, 63, 64, 541, 165, 541, 541, 541, 541, 65, 541, 66, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 61, 62, 170, 541, 63, 64, 541, 175, 541, 541, 166, 167, 65, 541, 66, 541, 541, 541, 541, 541, 541, 151, 151, 151, 151, 151, 151, 151, 151, 541, 541, 541, 541, 541, 175, 541, 541, 166, 167, 541, 541, 541, 541, 541, 541, 541, 541, 157, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 169, 541, 158, 541, 541, 541, 541, 176, 541, 541, 541, 541, 177, 541, 157, 541, 541, 541, 541, 541, 541, 180, 178, 541, 541, 541, 541, 169, 541, 158, 541, 541, 541, 541, 176, 541, 541, 541, 541, 177, 541, 179, 541, 541, 541, 541, 171, 541, 180, 178, 541, 172, 541, 541, 541, 541, 173, 181, 541, 541, 541, 541, 541, 541, 174, 541, 541, 541, 179, 541, 541, 185, 186, 171, 541, 541, 215, 541, 172, 182, 541, 187, 541, 173, 181, 541, 183, 541, 541, 541, 541, 174, 541, 541, 541, 541, 541, 541, 184, 541, 541, 541, 541, 215, 541, 541, 182, 541, 187, 541, 541, 188, 541, 183, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 189, 184, 541, 541, 190, 541, 541, 541, 541, 191, 541, 541, 541, 541, 188, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 192, 189, 195, 541, 194, 190, 541, 193, 541, 541, 191, 541, 196, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 192, 541, 195, 541, 194, 541, 541, 193, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 198, 541, 541, 541, 197, 541, 541, 541, 200, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 199, 541, 541, 541, 198, 541, 541, 203, 197, 541, 201, 541, 200, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 204, 199, 202, 541, 541, 541, 205, 541, 203, 206, 541, 201, 541, 541, 541, 541, 541, 541, 207, 541, 541, 541, 541, 541, 208, 541, 541, 204, 541, 202, 541, 209, 541, 205, 541, 541, 206, 541, 541, 541, 541, 210, 541, 541, 541, 207, 211, 212, 541, 541, 541, 208, 541, 541, 541, 541, 541, 541, 209, 214, 213, 541, 541, 541, 541, 541, 541, 541, 210, 541, 541, 541, 541, 211, 212, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 214, 213, 216, 541, 541, 541, 541, 541, 541, 541, 217, 541, 541, 218, 541, 541, 541, 541, 541, 541, 541, 541, 220, 541, 219, 541, 541, 541, 541, 216, 541, 221, 541, 541, 541, 541, 541, 217, 541, 541, 218, 541, 541, 224, 541, 541, 222, 541, 541, 220, 541, 219, 541, 227, 223, 228, 541, 541, 221, 132, 132, 132, 132, 132, 132, 132, 132, 541, 237, 225, 224, 541, 541, 222, 541, 541, 133, 541, 134, 541, 541, 223, 132, 132, 132, 132, 132, 132, 132, 132, 541, 541, 541, 541, 541, 237, 225, 229, 229, 229, 229, 229, 229, 229, 229, 152, 152, 541, 230, 230, 230, 230, 230, 230, 230, 230, 231, 231, 231, 231, 231, 231, 231, 231, 232, 232, 541, 233, 233, 233, 233, 233, 233, 233, 233, 150, 150, 150, 150, 150, 150, 150, 150, 234, 230, 230, 230, 230, 230, 230, 230, 230, 133, 541, 134, 541, 541, 541, 153, 153, 153, 153, 153, 153, 153, 153, 154, 154, 154, 154, 154, 154, 154, 154, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 236, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 239, 242, 541, 541, 541, 541, 240, 238, 241, 541, 541, 541, 236, 541, 243, 541, 541, 541, 541, 541, 244, 541, 541, 541, 541, 541, 541, 239, 541, 541, 541, 541, 541, 240, 238, 241, 541, 541, 541, 541, 245, 243, 541, 247, 246, 541, 541, 244, 541, 541, 541, 541, 541, 249, 541, 541, 541, 541, 541, 541, 541, 541, 541, 248, 541, 541, 541, 245, 541, 541, 247, 246, 541, 541, 541, 541, 541, 541, 541, 541, 249, 541, 250, 541, 541, 541, 541, 251, 541, 541, 248, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 253, 541, 541, 541, 252, 541, 541, 541, 250, 541, 541, 541, 541, 251, 541, 541, 541, 254, 541, 541, 255, 541, 541, 541, 256, 541, 541, 253, 257, 541, 541, 252, 541, 541, 541, 260, 541, 541, 541, 541, 541, 541, 541, 258, 254, 541, 541, 255, 541, 541, 541, 256, 541, 541, 541, 257, 541, 259, 541, 541, 541, 541, 260, 261, 541, 541, 541, 541, 541, 541, 258, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 259, 541, 541, 541, 541, 541, 261, 541, 541, 541, 262, 541, 541, 541, 541, 541, 263, 541, 541, 264, 541, 541, 266, 541, 541, 265, 541, 541, 267, 541, 541, 541, 541, 541, 541, 541, 541, 262, 541, 541, 541, 541, 541, 263, 541, 541, 264, 541, 541, 266, 270, 541, 265, 541, 541, 269, 541, 541, 541, 541, 541, 541, 541, 541, 268, 541, 541, 541, 541, 541, 541, 541, 541, 541, 271, 541, 541, 270, 541, 272, 541, 541, 269, 541, 541, 541, 541, 541, 541, 541, 541, 268, 541, 541, 273, 541, 274, 541, 541, 275, 541, 271, 541, 541, 541, 541, 272, 541, 277, 541, 276, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 273, 541, 274, 541, 541, 275, 541, 541, 541, 541, 541, 278, 541, 541, 541, 279, 276, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 280, 541, 541, 278, 541, 541, 541, 279, 541, 541, 541, 541, 541, 541, 541, 541, 281, 541, 541, 541, 541, 541, 541, 541, 541, 282, 541, 280, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 283, 541, 541, 541, 541, 281, 541, 285, 541, 287, 288, 541, 541, 286, 282, 541, 541, 290, 284, 541, 289, 541, 541, 541, 541, 541, 541, 283, 541, 541, 541, 541, 541, 541, 285, 541, 287, 288, 291, 541, 286, 541, 541, 541, 290, 284, 541, 289, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 291, 541, 293, 541, 541, 541, 541, 541, 292, 541, 541, 541, 541, 541, 541, 541, 541, 541, 295, 541, 541, 541, 541, 541, 541, 294, 296, 541, 541, 293, 541, 541, 541, 541, 541, 292, 541, 297, 541, 541, 541, 298, 541, 541, 541, 295, 541, 541, 541, 541, 541, 541, 294, 296, 541, 541, 541, 299, 541, 541, 541, 541, 541, 541, 297, 541, 541, 541, 298, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 300, 541, 344, 541, 299, 541, 541, 541, 541, 133, 541, 134, 541, 541, 301, 230, 230, 230, 230, 230, 230, 230, 230, 329, 541, 541, 541, 300, 233, 233, 233, 233, 233, 233, 233, 233, 541, 541, 541, 541, 541, 301, 302, 60, 60, 60, 60, 60, 60, 60, 329, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 541, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 229, 229, 229, 229, 229, 229, 229, 229, 231, 231, 231, 231, 231, 231, 231, 231, 541, 541, 541, 541, 541, 331, 541, 541, 227, 541, 228, 541, 541, 332, 233, 233, 233, 233, 233, 233, 233, 233, 333, 334, 334, 334, 334, 334, 334, 334, 334, 541, 331, 541, 541, 541, 541, 541, 541, 541, 332, 335, 336, 336, 336, 336, 336, 336, 336, 336, 337, 338, 338, 338, 338, 338, 338, 338, 338, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 339, 541, 541, 541, 340, 541, 541, 341, 541, 541, 541, 541, 541, 342, 541, 541, 541, 541, 541, 541, 541, 541, 345, 541, 541, 343, 541, 339, 541, 541, 541, 340, 541, 541, 341, 541, 541, 346, 541, 347, 342, 541, 348, 541, 541, 541, 541, 541, 541, 345, 541, 541, 343, 541, 541, 541, 541, 349, 541, 541, 541, 541, 541, 541, 346, 541, 347, 541, 541, 348, 541, 350, 541, 352, 541, 541, 541, 541, 541, 541, 541, 541, 541, 351, 349, 541, 541, 353, 541, 541, 541, 541, 354, 541, 541, 541, 541, 541, 350, 541, 352, 541, 541, 541, 541, 541, 541, 541, 355, 541, 351, 541, 541, 541, 353, 541, 541, 356, 357, 354, 358, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 355, 541, 541, 541, 360, 541, 359, 541, 541, 356, 357, 541, 358, 541, 541, 541, 541, 361, 541, 541, 541, 541, 541, 541, 362, 541, 541, 541, 541, 541, 541, 360, 541, 359, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 361, 541, 541, 541, 363, 541, 541, 362, 541, 364, 541, 365, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 366, 541, 541, 541, 541, 363, 541, 367, 541, 541, 364, 541, 365, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 369, 541, 541, 541, 366, 541, 370, 541, 541, 541, 541, 367, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 369, 541, 541, 541, 541, 541, 370, 372, 541, 371, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 373, 541, 374, 541, 541, 541, 541, 376, 541, 377, 541, 541, 541, 541, 372, 541, 371, 541, 541, 541, 541, 541, 541, 541, 541, 375, 541, 373, 541, 374, 541, 541, 541, 378, 541, 541, 377, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 375, 541, 541, 541, 541, 541, 379, 541, 378, 541, 541, 541, 541, 380, 541, 541, 541, 541, 541, 541, 541, 541, 541, 382, 541, 381, 541, 541, 541, 383, 541, 541, 541, 379, 541, 541, 384, 541, 541, 541, 380, 541, 541, 541, 541, 541, 541, 541, 541, 541, 382, 541, 381, 541, 541, 541, 383, 541, 541, 541, 541, 541, 541, 384, 385, 541, 386, 541, 541, 541, 541, 541, 541, 387, 541, 541, 388, 541, 541, 541, 541, 541, 389, 541, 541, 541, 541, 541, 541, 390, 541, 385, 541, 386, 541, 541, 541, 541, 541, 541, 387, 541, 541, 388, 541, 541, 541, 541, 541, 389, 391, 541, 392, 541, 541, 541, 390, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 393, 541, 541, 541, 541, 541, 541, 541, 391, 541, 392, 541, 541, 394, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 393, 541, 541, 541, 541, 541, 395, 541, 541, 541, 541, 541, 541, 394, 541, 541, 541, 397, 541, 541, 541, 396, 541, 541, 541, 541, 541, 541, 398, 541, 541, 541, 541, 395, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 397, 541, 541, 541, 396, 541, 541, 541, 541, 541, 541, 398, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 399, 335, 401, 401, 401, 401, 401, 401, 401, 401, 337, 402, 402, 402, 402, 402, 402, 402, 402, 403, 403, 403, 403, 403, 403, 403, 403, 399, 404, 334, 334, 334, 334, 334, 334, 334, 334, 405, 405, 405, 405, 405, 405, 405, 405, 406, 336, 336, 336, 336, 336, 336, 336, 336, 408, 408, 408, 408, 408, 408, 408, 408, 409, 338, 338, 338, 338, 338, 338, 338, 338, 541, 541, 407, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 410, 541, 411, 541, 541, 541, 541, 541, 541, 541, 407, 541, 541, 541, 541, 541, 541, 541, 413, 541, 541, 541, 541, 414, 412, 541, 541, 410, 541, 411, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 413, 415, 541, 541, 541, 414, 412, 541, 417, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 416, 541, 541, 418, 541, 541, 541, 415, 541, 541, 541, 419, 541, 541, 417, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 416, 541, 541, 418, 541, 541, 541, 541, 541, 541, 541, 419, 541, 541, 422, 541, 541, 541, 541, 541, 541, 420, 541, 541, 541, 421, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 423, 541, 541, 422, 541, 541, 541, 424, 541, 541, 420, 425, 541, 541, 421, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 423, 541, 541, 541, 541, 541, 426, 424, 541, 541, 541, 425, 541, 541, 541, 541, 427, 541, 541, 541, 541, 541, 541, 428, 541, 541, 541, 430, 541, 429, 541, 541, 541, 426, 541, 541, 541, 541, 541, 541, 541, 541, 541, 427, 541, 541, 541, 541, 541, 541, 428, 541, 541, 541, 430, 541, 429, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 434, 541, 541, 433, 541, 432, 541, 436, 541, 541, 435, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 437, 541, 541, 541, 541, 434, 541, 541, 433, 541, 432, 541, 436, 541, 541, 435, 541, 541, 541, 541, 541, 541, 438, 541, 541, 541, 541, 437, 541, 541, 541, 439, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 438, 541, 440, 541, 541, 541, 541, 541, 442, 439, 541, 541, 541, 541, 441, 541, 541, 541, 541, 541, 541, 541, 541, 541, 443, 541, 541, 541, 541, 440, 444, 541, 541, 541, 541, 442, 541, 541, 541, 541, 541, 441, 541, 541, 541, 541, 541, 541, 541, 541, 541, 443, 541, 541, 541, 445, 541, 444, 541, 541, 541, 448, 446, 541, 541, 541, 541, 541, 541, 541, 541, 541, 447, 541, 541, 541, 541, 541, 541, 541, 541, 541, 445, 541, 449, 541, 541, 541, 448, 446, 541, 541, 450, 541, 541, 541, 541, 541, 541, 447, 451, 541, 541, 452, 541, 541, 541, 541, 541, 541, 453, 449, 541, 541, 541, 541, 541, 541, 541, 450, 541, 454, 541, 541, 541, 541, 541, 451, 541, 541, 452, 541, 541, 541, 541, 541, 541, 453, 541, 541, 541, 541, 541, 541, 455, 541, 541, 456, 454, 406, 401, 401, 401, 401, 401, 401, 401, 401, 409, 402, 402, 402, 402, 402, 402, 402, 402, 541, 541, 541, 541, 455, 541, 541, 456, 541, 541, 458, 403, 403, 403, 403, 403, 403, 403, 403, 459, 403, 403, 403, 403, 403, 403, 403, 403, 405, 405, 405, 405, 405, 405, 405, 405, 541, 458, 405, 405, 405, 405, 405, 405, 405, 405, 459, 541, 541, 541, 541, 541, 541, 541, 541, 460, 541, 541, 541, 541, 541, 541, 541, 541, 541, 458, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 460, 541, 541, 541, 541, 541, 541, 541, 541, 541, 458, 461, 541, 541, 541, 541, 541, 541, 541, 459, 541, 541, 541, 541, 462, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 463, 541, 541, 461, 541, 541, 541, 541, 541, 541, 541, 459, 541, 465, 541, 541, 462, 541, 541, 464, 541, 541, 541, 541, 541, 541, 541, 463, 541, 541, 541, 541, 466, 541, 541, 541, 541, 467, 541, 541, 465, 541, 541, 541, 541, 541, 464, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 466, 541, 541, 541, 541, 541, 541, 541, 468, 541, 541, 469, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 470, 541, 541, 541, 541, 541, 468, 541, 541, 469, 541, 471, 541, 541, 472, 541, 541, 541, 541, 541, 473, 541, 541, 541, 541, 541, 474, 470, 541, 475, 541, 541, 541, 541, 541, 541, 541, 541, 471, 541, 541, 472, 541, 541, 541, 541, 541, 473, 541, 541, 541, 541, 541, 474, 477, 541, 475, 541, 541, 541, 541, 541, 541, 478, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 477, 541, 541, 479, 541, 541, 480, 541, 541, 478, 541, 541, 481, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 479, 541, 541, 480, 541, 541, 541, 541, 541, 481, 541, 541, 482, 541, 541, 541, 541, 541, 541, 483, 541, 541, 541, 541, 541, 484, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 482, 541, 541, 541, 541, 486, 541, 483, 485, 541, 541, 541, 541, 484, 541, 541, 541, 541, 487, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 486, 541, 541, 485, 541, 490, 541, 541, 489, 541, 541, 541, 488, 487, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 490, 541, 541, 489, 541, 541, 541, 488, 541, 493, 541, 491, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 493, 541, 491, 541, 541, 541, 495, 541, 541, 497, 541, 494, 496, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 495, 541, 541, 497, 541, 494, 496, 541, 541, 541, 541, 541, 541, 541, 541, 498, 499, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 500, 541, 541, 541, 501, 541, 541, 541, 541, 541, 541, 498, 499, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 503, 541, 500, 541, 541, 541, 501, 541, 541, 505, 541, 541, 541, 541, 541, 504, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 503, 541, 541, 541, 541, 541, 541, 541, 541, 505, 506, 541, 541, 541, 507, 504, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 508, 541, 541, 541, 541, 541, 506, 541, 541, 511, 507, 541, 541, 509, 510, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 508, 541, 541, 541, 541, 541, 541, 541, 541, 511, 541, 512, 541, 509, 510, 541, 541, 541, 541, 541, 541, 541, 541, 513, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 512, 541, 541, 517, 541, 541, 516, 541, 541, 515, 541, 541, 513, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 518, 541, 541, 541, 541, 541, 517, 541, 541, 516, 541, 541, 515, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 518, 541, 541, 541, 541, 541, 541, 541, 541, 541, 519, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 521, 541, 541, 541, 541, 541, 520, 541, 541, 541, 519, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 522, 541, 541, 541, 541, 541, 521, 541, 541, 541, 541, 541, 520, 541, 541, 541, 523, 541, 541, 541, 541, 541, 524, 541, 541, 541, 541, 522, 541, 541, 541, 541, 541, 541, 541, 541, 526, 541, 541, 541, 541, 541, 541, 523, 541, 541, 541, 541, 541, 524, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 526, 541, 541, 541, 527, 541, 529, 541, 541, 541, 528, 541, 541, 541, 541, 541, 530, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 527, 531, 529, 541, 541, 541, 528, 541, 541, 541, 541, 541, 530, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 533, 541, 541, 541, 541, 531, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 534, 541, 541, 541, 541, 533, 541, 541, 536, 541, 539, 541, 541, 541, 541, 537, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 540, 534, 541, 541, 541, 541, 541, 541, 541, 536, 541, 539, 541, 541, 541, 541, 537, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 540, 43, 43, 43, 43, 47, 541, 47, 47, 50, 541, 50, 50, 60, 60, 128, 541, 128, 128, 130, 541, 130, 130, 5, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541 } ; static yyconst flex_int16_t yy_chk[4367] = { 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, 1, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 559, 15, 558, 557, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 556, 16, 15, 15, 16, 41, 15, 15, 151, 267, 25, 368, 25, 16, 15, 25, 15, 476, 25, 555, 554, 553, 552, 551, 25, 550, 16, 16, 549, 15, 15, 16, 41, 15, 15, 151, 267, 19, 368, 19, 544, 15, 19, 15, 476, 431, 128, 50, 47, 45, 42, 19, 19, 16, 16, 12, 19, 10, 16, 17, 19, 17, 9, 32, 17, 32, 17, 22, 32, 22, 7, 5, 22, 17, 17, 4, 3, 32, 17, 19, 0, 22, 22, 19, 0, 0, 0, 19, 17, 17, 0, 0, 26, 22, 26, 0, 0, 26, 27, 0, 27, 17, 0, 27, 0, 17, 26, 0, 23, 22, 23, 26, 27, 23, 0, 17, 17, 18, 0, 0, 22, 27, 23, 0, 0, 18, 0, 23, 0, 18, 28, 23, 28, 18, 0, 28, 0, 0, 26, 18, 18, 39, 18, 39, 28, 0, 39, 0, 27, 0, 0, 0, 18, 0, 23, 39, 18, 0, 23, 28, 18, 0, 0, 29, 0, 29, 18, 18, 29, 18, 20, 30, 20, 30, 0, 20, 30, 29, 0, 0, 0, 0, 0, 0, 20, 30, 28, 20, 20, 0, 0, 30, 29, 0, 0, 0, 20, 0, 20, 30, 20, 0, 33, 34, 33, 34, 0, 33, 34, 0, 0, 0, 0, 0, 20, 20, 33, 34, 30, 29, 0, 0, 34, 20, 0, 20, 30, 20, 21, 0, 21, 33, 34, 21, 60, 0, 60, 33, 34, 60, 0, 0, 21, 21, 0, 0, 0, 0, 60, 34, 0, 21, 0, 21, 0, 0, 0, 21, 33, 34, 0, 36, 0, 36, 33, 34, 36, 0, 0, 37, 21, 37, 0, 0, 37, 36, 0, 0, 21, 0, 21, 0, 0, 37, 21, 24, 0, 24, 37, 36, 24, 36, 0, 64, 0, 64, 0, 0, 64, 24, 0, 0, 24, 38, 0, 38, 24, 64, 38, 0, 0, 0, 24, 24, 0, 37, 36, 38, 36, 0, 38, 0, 65, 40, 65, 40, 38, 65, 40, 24, 66, 0, 66, 24, 0, 66, 65, 40, 0, 24, 24, 31, 40, 0, 66, 0, 0, 38, 31, 31, 0, 31, 0, 38, 0, 31, 0, 0, 31, 52, 52, 52, 52, 52, 52, 52, 52, 0, 31, 40, 0, 0, 0, 0, 0, 31, 31, 0, 31, 0, 0, 0, 31, 0, 0, 31, 35, 0, 35, 0, 0, 35, 59, 59, 59, 59, 59, 59, 59, 59, 35, 35, 0, 0, 0, 35, 0, 62, 62, 35, 62, 62, 62, 62, 62, 62, 62, 62, 35, 63, 63, 63, 63, 63, 63, 63, 63, 0, 35, 70, 0, 70, 35, 67, 70, 67, 35, 0, 67, 0, 0, 0, 70, 70, 0, 35, 53, 67, 53, 0, 0, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 0, 0, 67, 53, 53, 0, 0, 53, 53, 0, 0, 68, 0, 68, 0, 53, 68, 53, 104, 0, 104, 0, 73, 104, 73, 68, 0, 73, 0, 67, 53, 53, 104, 0, 53, 53, 73, 0, 0, 68, 0, 0, 53, 0, 53, 54, 0, 54, 0, 0, 0, 54, 54, 54, 54, 54, 54, 54, 54, 0, 73, 0, 0, 54, 54, 71, 68, 71, 54, 0, 71, 72, 0, 72, 0, 54, 72, 54, 0, 71, 0, 0, 71, 0, 74, 72, 74, 73, 0, 74, 54, 54, 72, 0, 0, 54, 0, 0, 74, 74, 0, 0, 54, 0, 54, 57, 0, 57, 0, 71, 0, 57, 57, 57, 57, 57, 57, 57, 57, 72, 106, 0, 106, 57, 57, 106, 74, 75, 57, 75, 0, 76, 75, 76, 106, 57, 76, 57, 0, 0, 0, 75, 0, 0, 78, 76, 78, 0, 0, 78, 57, 57, 80, 75, 80, 57, 0, 80, 78, 78, 0, 0, 57, 76, 57, 58, 80, 58, 0, 0, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 75, 0, 0, 58, 58, 80, 78, 58, 58, 0, 76, 0, 0, 0, 77, 58, 77, 58, 0, 77, 0, 0, 82, 0, 82, 0, 0, 82, 77, 0, 58, 58, 80, 0, 58, 58, 82, 82, 0, 0, 77, 77, 58, 0, 58, 61, 0, 61, 0, 0, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 69, 79, 69, 79, 82, 69, 79, 77, 77, 0, 0, 83, 0, 83, 69, 79, 83, 69, 0, 84, 0, 84, 0, 0, 84, 83, 85, 0, 85, 0, 79, 85, 69, 84, 0, 0, 87, 83, 87, 0, 85, 87, 84, 0, 69, 0, 0, 0, 0, 0, 87, 87, 85, 86, 0, 86, 0, 79, 86, 69, 81, 88, 81, 88, 83, 81, 88, 86, 118, 84, 118, 86, 0, 118, 81, 88, 81, 0, 87, 85, 0, 81, 118, 91, 0, 91, 81, 88, 91, 0, 89, 90, 89, 90, 81, 89, 90, 91, 86, 0, 0, 90, 90, 81, 89, 90, 118, 0, 81, 89, 0, 91, 0, 81, 88, 92, 89, 92, 0, 0, 92, 81, 0, 0, 0, 93, 0, 93, 89, 92, 93, 0, 94, 118, 94, 0, 89, 94, 91, 93, 0, 92, 95, 89, 95, 0, 94, 95, 96, 0, 96, 0, 0, 96, 93, 89, 95, 0, 94, 97, 0, 97, 96, 95, 97, 99, 0, 99, 92, 98, 99, 98, 0, 97, 98, 0, 0, 0, 0, 99, 96, 93, 99, 98, 98, 94, 100, 97, 100, 0, 95, 100, 100, 0, 101, 0, 101, 0, 0, 101, 100, 102, 0, 102, 0, 0, 102, 96, 101, 99, 0, 98, 0, 0, 97, 102, 103, 105, 103, 105, 0, 103, 105, 0, 0, 0, 0, 0, 0, 102, 103, 105, 0, 101, 107, 0, 107, 105, 0, 107, 109, 108, 109, 108, 0, 109, 108, 0, 107, 0, 0, 0, 103, 0, 109, 108, 102, 0, 0, 109, 101, 110, 107, 110, 105, 0, 110, 111, 112, 111, 112, 0, 111, 112, 0, 110, 0, 0, 109, 103, 108, 111, 112, 113, 110, 113, 109, 110, 113, 107, 115, 0, 115, 0, 0, 115, 111, 113, 114, 0, 114, 0, 112, 114, 115, 109, 0, 108, 116, 113, 116, 110, 114, 116, 110, 0, 117, 0, 117, 114, 0, 117, 116, 111, 114, 115, 0, 0, 0, 112, 117, 0, 0, 0, 0, 0, 113, 117, 116, 120, 119, 120, 119, 0, 120, 119, 114, 0, 0, 0, 0, 114, 115, 120, 119, 121, 0, 121, 0, 0, 121, 0, 0, 0, 117, 116, 119, 0, 122, 121, 122, 0, 0, 122, 120, 0, 0, 121, 123, 0, 123, 0, 122, 123, 0, 124, 122, 124, 121, 125, 124, 125, 123, 119, 125, 123, 0, 0, 0, 124, 126, 120, 126, 125, 121, 126, 155, 125, 155, 0, 123, 155, 0, 122, 126, 121, 0, 132, 124, 132, 155, 0, 123, 132, 132, 132, 132, 132, 132, 132, 132, 0, 155, 126, 125, 0, 0, 123, 0, 0, 135, 0, 135, 0, 0, 124, 135, 135, 135, 135, 135, 135, 135, 135, 0, 0, 0, 0, 0, 155, 126, 136, 136, 136, 136, 136, 136, 136, 136, 137, 137, 0, 137, 137, 137, 137, 137, 137, 137, 137, 138, 138, 138, 138, 138, 138, 138, 138, 145, 145, 0, 145, 145, 145, 145, 145, 145, 145, 145, 150, 150, 150, 150, 150, 150, 150, 150, 150, 152, 152, 152, 152, 152, 152, 152, 152, 153, 0, 153, 0, 0, 0, 153, 153, 153, 153, 153, 153, 153, 153, 154, 154, 154, 154, 154, 154, 154, 154, 156, 157, 156, 157, 0, 156, 157, 158, 0, 158, 0, 0, 158, 154, 156, 157, 0, 160, 159, 160, 159, 158, 160, 159, 0, 161, 0, 161, 157, 159, 161, 160, 159, 0, 157, 156, 158, 0, 0, 161, 154, 0, 160, 0, 163, 164, 163, 164, 161, 163, 164, 162, 166, 162, 166, 157, 162, 166, 163, 164, 0, 157, 156, 158, 0, 162, 166, 0, 162, 160, 0, 164, 163, 0, 165, 161, 165, 0, 0, 165, 167, 166, 167, 0, 0, 167, 0, 168, 165, 168, 0, 165, 168, 0, 167, 162, 0, 0, 164, 163, 169, 168, 169, 0, 0, 169, 0, 170, 166, 170, 167, 171, 170, 171, 169, 168, 171, 172, 165, 172, 0, 170, 172, 0, 0, 171, 0, 0, 0, 170, 177, 172, 177, 169, 173, 177, 173, 167, 174, 173, 174, 0, 168, 174, 177, 175, 171, 175, 173, 172, 175, 0, 174, 173, 0, 0, 170, 174, 0, 175, 169, 0, 0, 176, 177, 176, 0, 0, 176, 178, 0, 178, 175, 171, 178, 0, 172, 176, 0, 0, 173, 0, 0, 178, 174, 0, 176, 0, 179, 0, 179, 177, 178, 179, 0, 180, 181, 180, 181, 175, 180, 181, 179, 0, 0, 0, 182, 0, 182, 180, 181, 182, 183, 176, 183, 0, 184, 183, 184, 178, 182, 184, 186, 180, 186, 0, 183, 186, 0, 181, 184, 0, 182, 0, 0, 184, 186, 185, 183, 185, 0, 185, 185, 187, 0, 187, 0, 189, 187, 189, 180, 185, 189, 188, 0, 188, 181, 187, 188, 182, 0, 189, 184, 189, 190, 183, 190, 188, 188, 190, 191, 0, 191, 0, 192, 191, 192, 187, 190, 192, 193, 0, 193, 0, 191, 193, 0, 190, 192, 0, 189, 194, 191, 194, 193, 188, 194, 195, 0, 195, 0, 0, 195, 0, 187, 194, 0, 192, 197, 193, 197, 195, 194, 197, 190, 196, 0, 196, 0, 191, 196, 196, 197, 195, 0, 0, 198, 0, 198, 196, 199, 198, 199, 0, 192, 199, 193, 0, 0, 194, 198, 200, 0, 200, 199, 198, 200, 0, 0, 199, 195, 201, 202, 201, 202, 200, 201, 202, 0, 203, 0, 203, 0, 0, 203, 201, 202, 0, 0, 201, 0, 0, 198, 203, 0, 204, 199, 204, 0, 205, 204, 205, 0, 0, 205, 202, 206, 0, 206, 204, 207, 206, 207, 205, 204, 207, 201, 210, 0, 210, 206, 208, 210, 208, 207, 0, 208, 205, 209, 0, 209, 210, 202, 209, 207, 208, 208, 208, 0, 0, 207, 204, 209, 0, 210, 206, 211, 209, 211, 0, 0, 211, 0, 0, 205, 0, 0, 0, 0, 0, 211, 207, 0, 208, 208, 211, 0, 207, 212, 0, 212, 210, 206, 212, 209, 213, 214, 213, 214, 0, 213, 214, 212, 215, 0, 215, 0, 0, 215, 213, 214, 216, 211, 216, 213, 0, 216, 215, 0, 217, 212, 217, 0, 0, 217, 216, 218, 0, 218, 0, 216, 218, 0, 217, 219, 0, 219, 215, 217, 219, 218, 213, 0, 0, 0, 0, 0, 212, 219, 218, 0, 0, 0, 219, 220, 0, 220, 216, 221, 220, 221, 0, 0, 221, 215, 217, 0, 0, 220, 220, 0, 0, 221, 222, 0, 222, 218, 225, 222, 225, 219, 224, 225, 224, 0, 0, 224, 222, 242, 0, 242, 225, 221, 242, 242, 224, 220, 0, 0, 0, 0, 230, 242, 230, 0, 0, 222, 230, 230, 230, 230, 230, 230, 230, 230, 224, 0, 0, 0, 221, 232, 232, 232, 232, 232, 232, 232, 232, 0, 0, 0, 0, 0, 222, 223, 223, 223, 223, 223, 223, 223, 223, 224, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 0, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 229, 229, 229, 229, 229, 229, 229, 229, 231, 231, 231, 231, 231, 231, 231, 231, 0, 0, 0, 0, 0, 229, 0, 0, 233, 0, 233, 0, 0, 231, 233, 233, 233, 233, 233, 233, 233, 233, 234, 234, 234, 234, 234, 234, 234, 234, 234, 0, 229, 0, 0, 0, 0, 0, 0, 0, 231, 235, 235, 235, 235, 235, 235, 235, 235, 235, 236, 236, 236, 236, 236, 236, 236, 236, 236, 237, 238, 237, 238, 0, 237, 238, 239, 0, 239, 0, 241, 239, 241, 237, 238, 241, 240, 0, 240, 0, 239, 240, 237, 243, 241, 243, 238, 0, 243, 239, 240, 244, 0, 244, 0, 240, 244, 243, 245, 0, 245, 0, 0, 245, 243, 244, 246, 241, 246, 237, 0, 246, 245, 238, 0, 0, 239, 0, 0, 244, 246, 245, 240, 247, 246, 247, 0, 248, 247, 248, 0, 243, 248, 249, 241, 249, 0, 247, 249, 247, 250, 248, 250, 0, 0, 250, 244, 249, 245, 0, 0, 246, 0, 248, 250, 250, 251, 252, 251, 252, 0, 251, 252, 0, 0, 249, 247, 0, 0, 250, 251, 252, 0, 253, 251, 253, 0, 0, 253, 254, 248, 254, 250, 255, 254, 255, 0, 253, 255, 256, 252, 256, 249, 254, 256, 0, 250, 255, 0, 253, 254, 251, 255, 256, 257, 258, 257, 258, 0, 257, 258, 259, 0, 259, 0, 0, 259, 252, 257, 258, 0, 257, 0, 256, 0, 259, 253, 254, 260, 255, 260, 0, 0, 260, 258, 261, 0, 261, 0, 0, 261, 259, 260, 0, 0, 0, 0, 0, 257, 261, 256, 0, 262, 263, 262, 263, 0, 262, 263, 0, 0, 258, 0, 0, 0, 261, 262, 263, 259, 264, 262, 264, 263, 0, 264, 265, 266, 265, 266, 0, 265, 266, 0, 264, 0, 0, 268, 264, 268, 265, 266, 268, 261, 269, 266, 269, 0, 262, 269, 263, 268, 270, 0, 270, 0, 0, 270, 269, 0, 0, 269, 0, 0, 0, 264, 270, 270, 271, 272, 271, 272, 266, 271, 272, 273, 274, 273, 274, 0, 273, 274, 271, 272, 0, 0, 0, 0, 269, 273, 274, 275, 0, 275, 270, 272, 275, 271, 276, 0, 276, 0, 278, 276, 278, 275, 0, 278, 274, 277, 275, 277, 276, 0, 277, 277, 278, 278, 0, 0, 0, 0, 272, 277, 271, 279, 280, 279, 280, 0, 279, 280, 0, 276, 0, 274, 0, 275, 0, 279, 280, 280, 0, 281, 278, 281, 0, 282, 281, 282, 0, 283, 282, 283, 0, 0, 283, 281, 0, 0, 276, 282, 284, 0, 284, 283, 281, 284, 280, 0, 285, 0, 285, 282, 0, 285, 284, 286, 0, 286, 0, 0, 286, 284, 285, 283, 0, 0, 0, 285, 287, 286, 287, 281, 0, 287, 286, 288, 0, 288, 282, 289, 288, 289, 287, 0, 289, 0, 0, 0, 284, 288, 283, 0, 0, 289, 285, 290, 0, 290, 0, 0, 290, 286, 287, 291, 288, 291, 0, 0, 291, 290, 292, 289, 292, 0, 290, 292, 293, 291, 293, 0, 291, 293, 0, 0, 292, 0, 0, 292, 0, 287, 293, 288, 0, 0, 0, 294, 0, 294, 289, 0, 294, 290, 0, 0, 0, 0, 0, 291, 293, 294, 294, 295, 0, 295, 292, 296, 295, 296, 0, 297, 296, 297, 0, 0, 297, 295, 0, 294, 0, 296, 0, 0, 0, 297, 298, 293, 298, 294, 0, 298, 297, 299, 300, 299, 300, 0, 299, 300, 298, 0, 0, 0, 0, 0, 294, 299, 300, 0, 0, 301, 298, 301, 0, 302, 301, 302, 0, 297, 302, 0, 0, 300, 0, 301, 303, 299, 303, 302, 304, 303, 304, 0, 301, 304, 0, 0, 0, 298, 303, 305, 0, 305, 304, 0, 305, 0, 0, 0, 300, 306, 0, 306, 299, 305, 306, 307, 308, 307, 308, 301, 307, 308, 309, 306, 309, 0, 310, 309, 310, 307, 308, 310, 311, 312, 311, 312, 309, 311, 312, 313, 310, 313, 0, 314, 313, 314, 311, 312, 314, 315, 316, 315, 316, 313, 315, 316, 317, 314, 317, 0, 318, 317, 318, 315, 316, 318, 319, 320, 319, 320, 317, 319, 320, 321, 318, 321, 0, 322, 321, 322, 319, 320, 322, 323, 324, 323, 324, 321, 323, 324, 325, 322, 325, 0, 326, 325, 326, 323, 324, 326, 327, 328, 327, 328, 325, 327, 328, 329, 326, 329, 0, 343, 329, 343, 327, 328, 343, 0, 0, 0, 0, 329, 0, 0, 0, 343, 0, 0, 0, 329, 331, 331, 331, 331, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 333, 333, 333, 329, 334, 334, 334, 334, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, 338, 338, 338, 0, 339, 336, 339, 0, 0, 339, 0, 340, 341, 340, 341, 0, 340, 341, 339, 0, 0, 0, 338, 0, 339, 340, 341, 0, 342, 344, 342, 344, 336, 342, 344, 0, 345, 0, 345, 0, 341, 345, 342, 344, 0, 342, 340, 0, 0, 338, 345, 339, 346, 0, 346, 0, 347, 346, 347, 0, 348, 347, 348, 0, 0, 348, 346, 341, 345, 0, 347, 0, 342, 340, 348, 348, 349, 0, 349, 0, 350, 349, 350, 0, 351, 350, 351, 0, 347, 351, 349, 349, 0, 0, 350, 345, 0, 0, 351, 350, 0, 0, 348, 352, 0, 352, 0, 353, 352, 353, 0, 0, 353, 0, 354, 347, 354, 352, 349, 354, 355, 353, 355, 0, 0, 355, 350, 0, 354, 354, 356, 0, 356, 0, 355, 356, 352, 357, 0, 357, 353, 358, 357, 358, 356, 359, 358, 359, 0, 0, 359, 357, 360, 356, 360, 358, 354, 360, 0, 359, 358, 0, 0, 352, 359, 0, 360, 353, 361, 362, 361, 362, 0, 361, 362, 0, 363, 0, 363, 0, 356, 363, 361, 362, 0, 0, 360, 358, 0, 0, 363, 359, 364, 0, 364, 0, 361, 364, 0, 0, 365, 0, 365, 362, 0, 365, 364, 364, 0, 363, 366, 0, 366, 360, 365, 366, 0, 367, 0, 367, 0, 0, 367, 361, 366, 0, 0, 369, 0, 369, 362, 367, 369, 370, 364, 370, 363, 371, 370, 371, 0, 369, 371, 372, 373, 372, 373, 370, 372, 373, 374, 371, 374, 0, 0, 374, 371, 372, 373, 370, 375, 369, 375, 373, 374, 375, 372, 376, 377, 376, 377, 0, 376, 377, 375, 378, 0, 378, 375, 0, 378, 376, 377, 371, 0, 0, 370, 0, 369, 378, 373, 0, 379, 372, 379, 0, 380, 379, 380, 0, 377, 380, 381, 0, 381, 375, 379, 381, 0, 379, 380, 0, 382, 0, 382, 0, 381, 382, 383, 384, 383, 384, 0, 383, 384, 0, 382, 377, 0, 380, 0, 0, 383, 384, 0, 383, 379, 0, 385, 0, 385, 382, 0, 385, 386, 387, 386, 387, 0, 386, 387, 384, 385, 0, 0, 0, 380, 385, 386, 387, 0, 388, 383, 388, 0, 389, 388, 389, 382, 390, 389, 390, 0, 0, 390, 388, 0, 0, 384, 389, 0, 0, 386, 390, 385, 0, 0, 0, 390, 388, 391, 392, 391, 392, 0, 391, 392, 0, 393, 389, 393, 0, 0, 393, 391, 392, 0, 0, 394, 386, 394, 391, 393, 394, 0, 390, 388, 0, 395, 392, 395, 0, 394, 395, 0, 0, 389, 393, 0, 396, 394, 396, 395, 0, 396, 0, 0, 395, 391, 397, 0, 397, 0, 396, 397, 398, 392, 398, 396, 0, 398, 0, 0, 397, 393, 0, 399, 394, 399, 398, 0, 399, 0, 0, 395, 0, 0, 0, 0, 0, 399, 397, 0, 0, 398, 396, 401, 401, 401, 401, 401, 401, 401, 401, 401, 402, 402, 402, 402, 402, 402, 402, 402, 402, 0, 0, 0, 0, 397, 0, 0, 398, 0, 0, 401, 403, 403, 403, 403, 403, 403, 403, 403, 402, 404, 404, 404, 404, 404, 404, 404, 404, 405, 405, 405, 405, 405, 405, 405, 405, 0, 401, 406, 406, 406, 406, 406, 406, 406, 406, 402, 407, 410, 407, 410, 0, 407, 410, 0, 405, 0, 0, 0, 0, 0, 407, 410, 0, 0, 406, 408, 408, 408, 408, 408, 408, 408, 408, 409, 409, 409, 409, 409, 409, 409, 409, 405, 411, 412, 411, 412, 0, 411, 412, 0, 0, 406, 408, 413, 0, 413, 411, 412, 413, 414, 409, 414, 0, 0, 414, 411, 415, 413, 415, 0, 0, 415, 416, 414, 416, 0, 412, 416, 0, 408, 415, 0, 0, 417, 0, 417, 416, 409, 417, 416, 0, 418, 411, 418, 0, 415, 418, 417, 0, 0, 0, 0, 0, 412, 419, 418, 419, 0, 418, 419, 420, 0, 420, 419, 0, 420, 416, 0, 419, 0, 0, 0, 415, 421, 420, 421, 0, 422, 421, 422, 0, 423, 422, 423, 0, 418, 423, 421, 0, 0, 0, 422, 424, 420, 424, 423, 421, 424, 425, 426, 425, 426, 0, 425, 426, 0, 424, 0, 0, 0, 0, 0, 425, 426, 423, 0, 427, 428, 427, 428, 420, 427, 428, 421, 429, 424, 429, 0, 426, 429, 427, 428, 0, 0, 427, 0, 0, 430, 429, 430, 428, 423, 430, 429, 433, 432, 433, 432, 0, 433, 432, 430, 424, 0, 0, 426, 0, 0, 433, 432, 434, 427, 434, 0, 435, 434, 435, 428, 432, 435, 429, 436, 0, 436, 434, 0, 436, 434, 435, 0, 0, 0, 437, 0, 437, 436, 438, 437, 438, 0, 0, 438, 439, 0, 439, 432, 437, 439, 435, 0, 438, 437, 0, 440, 434, 440, 439, 439, 440, 441, 442, 441, 442, 0, 441, 442, 443, 440, 443, 0, 0, 443, 0, 441, 442, 435, 0, 444, 437, 444, 443, 445, 444, 445, 439, 0, 445, 441, 446, 0, 446, 444, 0, 446, 442, 445, 447, 0, 447, 0, 443, 447, 446, 448, 449, 448, 449, 0, 448, 449, 447, 450, 0, 450, 441, 0, 450, 448, 449, 449, 0, 442, 446, 0, 451, 450, 451, 443, 452, 451, 452, 0, 450, 452, 453, 0, 453, 0, 451, 453, 0, 0, 452, 0, 0, 0, 449, 0, 453, 446, 454, 453, 454, 0, 452, 454, 0, 0, 451, 450, 455, 456, 455, 456, 454, 455, 456, 0, 462, 0, 462, 0, 0, 462, 455, 456, 0, 0, 453, 0, 0, 452, 462, 0, 0, 451, 463, 462, 463, 456, 464, 463, 464, 0, 465, 464, 465, 0, 0, 465, 463, 466, 0, 466, 464, 467, 466, 467, 465, 0, 467, 0, 0, 0, 462, 466, 456, 0, 0, 467, 465, 0, 468, 467, 468, 464, 466, 468, 469, 470, 469, 470, 0, 469, 470, 471, 468, 471, 0, 0, 471, 0, 469, 470, 0, 0, 472, 465, 472, 471, 467, 472, 464, 466, 473, 0, 473, 0, 0, 473, 472, 0, 469, 470, 0, 474, 0, 474, 473, 475, 474, 475, 0, 0, 475, 0, 0, 0, 472, 474, 0, 0, 474, 475, 0, 0, 477, 0, 477, 469, 470, 477, 478, 479, 478, 479, 0, 478, 479, 480, 477, 480, 0, 477, 480, 472, 478, 479, 0, 474, 0, 0, 479, 480, 481, 482, 481, 482, 478, 481, 482, 483, 484, 483, 484, 0, 483, 484, 481, 482, 477, 0, 485, 0, 485, 483, 484, 485, 0, 479, 481, 0, 0, 0, 483, 478, 485, 0, 486, 487, 486, 487, 0, 486, 487, 488, 0, 488, 0, 0, 488, 484, 486, 487, 0, 0, 0, 481, 0, 488, 488, 483, 0, 0, 486, 487, 489, 490, 489, 490, 0, 489, 490, 0, 491, 0, 491, 0, 484, 491, 489, 490, 0, 0, 0, 0, 0, 488, 491, 489, 0, 486, 487, 493, 494, 493, 494, 0, 493, 494, 495, 490, 495, 0, 496, 495, 496, 493, 494, 496, 497, 0, 497, 0, 495, 497, 489, 0, 496, 495, 0, 498, 494, 498, 497, 493, 498, 499, 490, 499, 0, 500, 499, 500, 0, 498, 500, 501, 0, 501, 498, 499, 501, 0, 0, 500, 495, 0, 503, 494, 503, 501, 493, 503, 504, 505, 504, 505, 0, 504, 505, 506, 503, 506, 0, 0, 506, 498, 504, 505, 0, 507, 0, 507, 0, 506, 507, 504, 508, 509, 508, 509, 0, 508, 509, 507, 0, 0, 0, 0, 0, 0, 508, 509, 509, 0, 510, 511, 510, 511, 507, 510, 511, 512, 504, 512, 0, 0, 512, 0, 510, 511, 0, 0, 513, 510, 513, 512, 515, 513, 515, 509, 0, 515, 0, 0, 0, 507, 513, 0, 0, 511, 515, 516, 517, 516, 517, 512, 516, 517, 0, 518, 510, 518, 0, 0, 518, 516, 517, 0, 0, 516, 519, 0, 519, 518, 0, 519, 511, 0, 520, 0, 520, 0, 512, 520, 519, 521, 0, 521, 0, 522, 521, 522, 520, 523, 522, 523, 516, 0, 523, 521, 519, 0, 521, 522, 0, 0, 520, 523, 526, 524, 526, 524, 523, 526, 524, 0, 527, 0, 527, 0, 0, 527, 526, 524, 0, 0, 0, 519, 524, 521, 527, 0, 528, 520, 528, 0, 0, 528, 529, 523, 529, 0, 530, 529, 530, 0, 528, 530, 0, 531, 527, 531, 529, 0, 531, 524, 530, 533, 0, 533, 0, 0, 533, 531, 534, 536, 534, 536, 0, 534, 536, 533, 529, 0, 0, 0, 0, 527, 534, 536, 533, 537, 536, 537, 0, 0, 537, 534, 539, 540, 539, 540, 0, 539, 540, 537, 0, 0, 537, 529, 0, 0, 539, 540, 0, 0, 0, 533, 0, 536, 0, 0, 0, 0, 534, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 537, 542, 542, 542, 542, 543, 0, 543, 543, 545, 0, 545, 545, 546, 546, 547, 0, 547, 547, 548, 0, 548, 548, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, 541 } ; /* 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-2016 * 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 1567 "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 1671 "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 >= 542 ) 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 != 541 ); 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 FK4_NO_E_;} YY_BREAK case 40: YY_RULE_SETUP #line 85 "frame/ds9lex.L" {return FK5_;} 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 HELIOECLIPTIC_;} YY_BREAK case 45: YY_RULE_SETUP #line 90 "frame/ds9lex.L" {return HIGHLITE_;} YY_BREAK case 46: YY_RULE_SETUP #line 91 "frame/ds9lex.L" {return ICRS_;} YY_BREAK case 47: YY_RULE_SETUP #line 92 "frame/ds9lex.L" {return IGNORE_;} YY_BREAK case 48: YY_RULE_SETUP #line 93 "frame/ds9lex.L" {return INCLUDE_;} YY_BREAK case 49: YY_RULE_SETUP #line 94 "frame/ds9lex.L" {return IMAGE_;} YY_BREAK case 50: YY_RULE_SETUP #line 95 "frame/ds9lex.L" {return KEY_;} YY_BREAK case 51: YY_RULE_SETUP #line 96 "frame/ds9lex.L" {return J2000_;} YY_BREAK case 52: YY_RULE_SETUP #line 97 "frame/ds9lex.L" {return LINE_;} YY_BREAK case 53: YY_RULE_SETUP #line 98 "frame/ds9lex.L" {return LINEAR_;} YY_BREAK case 54: YY_RULE_SETUP #line 99 "frame/ds9lex.L" {return MOVE_;} YY_BREAK case 55: YY_RULE_SETUP #line 100 "frame/ds9lex.L" {return N_;} YY_BREAK case 56: YY_RULE_SETUP #line 101 "frame/ds9lex.L" {return NO_;} YY_BREAK case 57: YY_RULE_SETUP #line 102 "frame/ds9lex.L" {return OFF_;} YY_BREAK case 58: YY_RULE_SETUP #line 103 "frame/ds9lex.L" {return ON_;} YY_BREAK case 59: YY_RULE_SETUP #line 104 "frame/ds9lex.L" {return CPANDA_;} YY_BREAK case 60: YY_RULE_SETUP #line 105 "frame/ds9lex.L" {return PHYSICAL_;} YY_BREAK case 61: YY_RULE_SETUP #line 106 "frame/ds9lex.L" {return PIE_;} YY_BREAK case 62: YY_RULE_SETUP #line 107 "frame/ds9lex.L" {return PIXELS_;} YY_BREAK case 63: YY_RULE_SETUP #line 108 "frame/ds9lex.L" {return POINT_;} YY_BREAK case 64: YY_RULE_SETUP #line 109 "frame/ds9lex.L" {return POLYGON_;} YY_BREAK case 65: YY_RULE_SETUP #line 110 "frame/ds9lex.L" {return PROJECTION_;} YY_BREAK case 66: YY_RULE_SETUP #line 111 "frame/ds9lex.L" {return PROPERTY_;} YY_BREAK case 67: YY_RULE_SETUP #line 112 "frame/ds9lex.L" {return ROTATE_;} YY_BREAK case 68: YY_RULE_SETUP #line 113 "frame/ds9lex.L" {return ROTBOX_;} YY_BREAK case 69: YY_RULE_SETUP #line 114 "frame/ds9lex.L" {return RULER_;} YY_BREAK case 70: YY_RULE_SETUP #line 115 "frame/ds9lex.L" {return SELECT_;} YY_BREAK case 71: YY_RULE_SETUP #line 116 "frame/ds9lex.L" {return SEGMENT_;} YY_BREAK case 72: YY_RULE_SETUP #line 117 "frame/ds9lex.L" {return SOURCE_;} YY_BREAK case 73: YY_RULE_SETUP #line 118 "frame/ds9lex.L" {return SUPERGALACTIC_;} YY_BREAK case 74: YY_RULE_SETUP #line 119 "frame/ds9lex.L" {return TAG_;} YY_BREAK case 75: YY_RULE_SETUP #line 120 "frame/ds9lex.L" {return TEXT_;} YY_BREAK case 76: YY_RULE_SETUP #line 121 "frame/ds9lex.L" {return TEXTANGLE_;} YY_BREAK case 77: YY_RULE_SETUP #line 122 "frame/ds9lex.L" {return TEXTROTATE_;} YY_BREAK case 78: YY_RULE_SETUP #line 123 "frame/ds9lex.L" {return TILE_;} YY_BREAK case 79: YY_RULE_SETUP #line 124 "frame/ds9lex.L" {return TRUE_;} YY_BREAK case 80: YY_RULE_SETUP #line 125 "frame/ds9lex.L" {return VECTOR_;} YY_BREAK case 81: YY_RULE_SETUP #line 126 "frame/ds9lex.L" {return VERSION_;} YY_BREAK case 82: YY_RULE_SETUP #line 127 "frame/ds9lex.L" {return UPDATE_;} YY_BREAK case 83: YY_RULE_SETUP #line 128 "frame/ds9lex.L" {return UNHIGHLITE_;} YY_BREAK case 84: YY_RULE_SETUP #line 129 "frame/ds9lex.L" {return UNSELECT_;} YY_BREAK case 85: YY_RULE_SETUP #line 130 "frame/ds9lex.L" {return WCS_;} YY_BREAK case 86: YY_RULE_SETUP #line 131 "frame/ds9lex.L" {return WCSA_;} YY_BREAK case 87: YY_RULE_SETUP #line 132 "frame/ds9lex.L" {return WCSB_;} YY_BREAK case 88: YY_RULE_SETUP #line 133 "frame/ds9lex.L" {return WCSC_;} YY_BREAK case 89: YY_RULE_SETUP #line 134 "frame/ds9lex.L" {return WCSD_;} YY_BREAK case 90: YY_RULE_SETUP #line 135 "frame/ds9lex.L" {return WCSE_;} YY_BREAK case 91: YY_RULE_SETUP #line 136 "frame/ds9lex.L" {return WCSF_;} YY_BREAK case 92: YY_RULE_SETUP #line 137 "frame/ds9lex.L" {return WCSG_;} YY_BREAK case 93: YY_RULE_SETUP #line 138 "frame/ds9lex.L" {return WCSH_;} YY_BREAK case 94: YY_RULE_SETUP #line 139 "frame/ds9lex.L" {return WCSI_;} YY_BREAK case 95: YY_RULE_SETUP #line 140 "frame/ds9lex.L" {return WCSJ_;} YY_BREAK case 96: YY_RULE_SETUP #line 141 "frame/ds9lex.L" {return WCSK_;} YY_BREAK case 97: YY_RULE_SETUP #line 142 "frame/ds9lex.L" {return WCSL_;} YY_BREAK case 98: YY_RULE_SETUP #line 143 "frame/ds9lex.L" {return WCSM_;} YY_BREAK case 99: YY_RULE_SETUP #line 144 "frame/ds9lex.L" {return WCSN_;} YY_BREAK case 100: YY_RULE_SETUP #line 145 "frame/ds9lex.L" {return WCSO_;} YY_BREAK case 101: YY_RULE_SETUP #line 146 "frame/ds9lex.L" {return WCSP_;} YY_BREAK case 102: YY_RULE_SETUP #line 147 "frame/ds9lex.L" {return WCSQ_;} YY_BREAK case 103: YY_RULE_SETUP #line 148 "frame/ds9lex.L" {return WCSR_;} YY_BREAK case 104: YY_RULE_SETUP #line 149 "frame/ds9lex.L" {return WCSS_;} YY_BREAK case 105: YY_RULE_SETUP #line 150 "frame/ds9lex.L" {return WCST_;} YY_BREAK case 106: YY_RULE_SETUP #line 151 "frame/ds9lex.L" {return WCSU_;} YY_BREAK case 107: YY_RULE_SETUP #line 152 "frame/ds9lex.L" {return WCSV_;} YY_BREAK case 108: YY_RULE_SETUP #line 153 "frame/ds9lex.L" {return WCSW_;} YY_BREAK case 109: YY_RULE_SETUP #line 154 "frame/ds9lex.L" {return WCSX_;} YY_BREAK case 110: YY_RULE_SETUP #line 155 "frame/ds9lex.L" {return WCSY_;} YY_BREAK case 111: YY_RULE_SETUP #line 156 "frame/ds9lex.L" {return WCSZ_;} YY_BREAK case 112: YY_RULE_SETUP #line 157 "frame/ds9lex.L" {return WCS0_;} YY_BREAK case 113: YY_RULE_SETUP #line 158 "frame/ds9lex.L" {return WIDTH_;} YY_BREAK case 114: YY_RULE_SETUP #line 159 "frame/ds9lex.L" {return X_;} YY_BREAK case 115: YY_RULE_SETUP #line 160 "frame/ds9lex.L" {return Y_;} YY_BREAK case 116: YY_RULE_SETUP #line 161 "frame/ds9lex.L" {return YES_;} YY_BREAK case 117: YY_RULE_SETUP #line 164 "frame/ds9lex.L" { // Integer mklval->integer = atoi(yytext); return INT; } YY_BREAK case 118: #line 170 "frame/ds9lex.L" case 119: YY_RULE_SETUP #line 170 "frame/ds9lex.L" { // Real Number mklval->real = atof(yytext); return REAL; } YY_BREAK case 120: #line 176 "frame/ds9lex.L" case 121: YY_RULE_SETUP #line 176 "frame/ds9lex.L" { // degrees yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ANGDEGREE; } YY_BREAK case 122: #line 183 "frame/ds9lex.L" case 123: YY_RULE_SETUP #line 183 "frame/ds9lex.L" { // radians yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ANGRADIAN; } YY_BREAK case 124: #line 190 "frame/ds9lex.L" case 125: YY_RULE_SETUP #line 190 "frame/ds9lex.L" { // physical coords yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return PHYCOORD; } YY_BREAK case 126: #line 197 "frame/ds9lex.L" case 127: YY_RULE_SETUP #line 197 "frame/ds9lex.L" { // image coords yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return IMGCOORD; } YY_BREAK case 128: #line 204 "frame/ds9lex.L" case 129: #line 205 "frame/ds9lex.L" case 130: #line 206 "frame/ds9lex.L" case 131: YY_RULE_SETUP #line 206 "frame/ds9lex.L" { // minutes of arc yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ARCMINUTE; } YY_BREAK case 132: #line 213 "frame/ds9lex.L" case 133: #line 214 "frame/ds9lex.L" case 134: #line 215 "frame/ds9lex.L" case 135: YY_RULE_SETUP #line 215 "frame/ds9lex.L" { // seconds of arc yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ARCSECOND; } YY_BREAK case 136: #line 222 "frame/ds9lex.L" case 137: YY_RULE_SETUP #line 222 "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 138: #line 230 "frame/ds9lex.L" case 139: YY_RULE_SETUP #line 230 "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 140: #line 238 "frame/ds9lex.L" case 141: YY_RULE_SETUP #line 238 "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 142: YY_RULE_SETUP #line 245 "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 143: YY_RULE_SETUP #line 252 "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 144: YY_RULE_SETUP #line 259 "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 145: #line 267 "frame/ds9lex.L" case 146: YY_RULE_SETUP #line 267 "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 147: YY_RULE_SETUP #line 274 "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 148: YY_RULE_SETUP #line 281 "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 149: YY_RULE_SETUP #line 288 "frame/ds9lex.L" { // White Spaces } YY_BREAK case 150: /* rule 150 can match eol */ YY_RULE_SETUP #line 291 "frame/ds9lex.L" { // windows line feed return '\n'; } YY_BREAK case 151: YY_RULE_SETUP #line 295 "frame/ds9lex.L" { // fake line feed return '\n'; } YY_BREAK case 152: /* rule 152 can match eol */ YY_RULE_SETUP #line 299 "frame/ds9lex.L" { // linefeed return '\n'; } YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(DISCARD): #line 303 "frame/ds9lex.L" { // eof return EOF_; } YY_BREAK case 153: YY_RULE_SETUP #line 307 "frame/ds9lex.L" { // Else, return the char return yytext[0]; } YY_BREAK case 154: YY_RULE_SETUP #line 311 "frame/ds9lex.L" ECHO; YY_BREAK #line 2580 "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 >= 542 ) 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 >= 542 ) 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 == 541); 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 311 "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); }