#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 153 #define YY_END_OF_BUFFER 154 /* 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[519] = { 0, 0, 0, 2, 2, 154, 152, 148, 151, 152, 152, 152, 152, 152, 152, 116, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 55, 147, 147, 147, 147, 147, 147, 147, 147, 147, 113, 114, 152, 152, 2, 1, 148, 149, 0, 144, 0, 0, 145, 0, 116, 118, 131, 127, 117, 116, 0, 147, 119, 147, 147, 125, 123, 121, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 56, 147, 58, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 150, 0, 146, 2, 0, 118, 133, 129, 117, 119, 0, 0, 125, 123, 121, 132, 128, 120, 0, 126, 124, 122, 119, 0, 147, 0, 117, 147, 147, 147, 147, 147, 147, 147, 147, 11, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 34, 147, 147, 147, 147, 147, 39, 40, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 50, 147, 147, 57, 147, 147, 61, 147, 147, 147, 147, 147, 147, 147, 147, 147, 73, 147, 147, 147, 147, 147, 147, 147, 147, 84, 147, 115, 141, 134, 130, 0, 117, 0, 0, 118, 0, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 23, 147, 147, 147, 147, 147, 147, 30, 147, 147, 147, 147, 37, 147, 42, 147, 147, 147, 147, 46, 147, 147, 147, 147, 52, 54, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 74, 77, 78, 147, 147, 147, 147, 147, 111, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 147, 0, 0, 0, 0, 135, 0, 147, 0, 147, 147, 147, 147, 147, 7, 8, 147, 10, 147, 147, 147, 147, 17, 147, 147, 147, 147, 22, 147, 25, 147, 147, 147, 147, 147, 147, 147, 35, 36, 38, 147, 147, 147, 147, 147, 49, 147, 51, 147, 59, 147, 147, 63, 147, 147, 147, 147, 147, 69, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 112, 0, 0, 0, 136, 135, 0, 0, 139, 0, 0, 137, 147, 147, 5, 6, 147, 147, 13, 147, 15, 18, 147, 147, 21, 147, 147, 27, 147, 147, 147, 147, 33, 41, 147, 44, 147, 47, 147, 53, 147, 62, 147, 147, 147, 67, 68, 147, 70, 72, 147, 147, 147, 147, 81, 79, 147, 142, 139, 137, 140, 138, 147, 4, 147, 147, 147, 147, 19, 147, 147, 26, 147, 29, 147, 31, 147, 147, 48, 147, 64, 147, 147, 71, 147, 147, 147, 147, 80, 0, 147, 147, 147, 14, 16, 147, 24, 28, 32, 43, 45, 60, 147, 66, 147, 147, 147, 83, 0, 3, 147, 12, 20, 147, 75, 147, 147, 0, 9, 65, 76, 82, 0, 0, 143, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 5, 6, 1, 1, 1, 7, 1, 1, 1, 8, 1, 8, 9, 1, 10, 11, 12, 13, 14, 15, 16, 16, 16, 17, 18, 1, 1, 1, 1, 1, 1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 1, 45, 1, 1, 1, 1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 1, 73, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[74] = { 0, 1, 1, 2, 1, 3, 1, 3, 1, 4, 5, 5, 5, 5, 5, 5, 5, 5, 3, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 1, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 1, 1 } ; static yyconst flex_int16_t yy_base[539] = { 0, 0, 0, 142, 128, 129, 4181, 124, 4181, 122, 119, 0, 116, 65, 73, 86, 110, 169, 220, 125, 279, 336, 176, 191, 392, 109, 149, 205, 219, 231, 239, 433, 146, 260, 298, 492, 152, 299, 352, 305, 328, 74, 38, 0, 4181, 105, 4181, 100, 4181, 0, 87, 4181, 415, 551, 610, 4181, 4181, 669, 728, 460, 357, 787, 492, 510, 367, 384, 398, 429, 436, 536, 530, 588, 428, 574, 589, 633, 690, 754, 643, 660, 476, 808, 706, 801, 648, 809, 825, 761, 845, 862, 863, 877, 892, 882, 889, 911, 844, 916, 939, 945, 921, 960, 961, 640, 966, 751, 976, 988, 991, 1016, 1006, 998, 1035, 1050, 1043, 1069, 1072, 1086, 1079, 1094, 1101, 1106, 1128, 1131, 1150, 4181, 19, 4181, 0, 0, 1183, 4181, 4181, 1196, 1160, 1207, 1215, 4181, 4181, 4181, 4181, 4181, 4181, 1225, 4181, 4181, 4181, 4181, 1233, 79, 1242, 1255, 1263, 1121, 1277, 1278, 1284, 1283, 1301, 1313, 1320, 1319, 1340, 1341, 1347, 1364, 1367, 1372, 1386, 1396, 1401, 1406, 1423, 1413, 1433, 1440, 1443, 1448, 1458, 1470, 1476, 1484, 1477, 1494, 1504, 1511, 1514, 1519, 1535, 1541, 1551, 1557, 1574, 1580, 1586, 1596, 1602, 1622, 1614, 1629, 1637, 1649, 1652, 1655, 1672, 1675, 1687, 1690, 1713, 1714, 1720, 1734, 1740, 1750, 1756, 1775, 1780, 1790, 1783, 1805, 1860, 1813, 1806, 0, 4181, 4181, 1922, 1842, 1930, 1850, 1952, 1961, 1980, 1989, 2002, 2003, 2008, 2009, 2029, 1828, 2032, 2035, 2056, 2059, 2071, 2081, 2064, 2107, 2097, 2115, 2127, 2130, 2142, 2157, 2165, 2171, 2189, 2192, 2207, 2210, 2228, 2231, 2238, 2253, 2256, 2272, 2277, 2278, 2296, 2299, 2302, 2314, 2322, 2334, 2340, 2361, 2362, 2367, 2382, 2388, 2398, 2404, 2410, 2425, 2431, 2437, 2452, 2460, 2467, 2475, 2492, 2498, 2515, 2518, 2521, 2536, 2537, 2542, 2556, 2561, 2571, 2576, 2583, 2588, 2593, 2598, 2603, 2608, 2613, 2618, 2623, 2628, 2633, 2638, 2643, 2648, 2653, 2658, 2663, 2668, 2673, 2678, 2683, 2688, 2693, 0, 2711, 2720, 2728, 2738, 2746, 2755, 2763, 2811, 2778, 2777, 2799, 2792, 2698, 2800, 2827, 2828, 2842, 2847, 2850, 2865, 2877, 2880, 2892, 2895, 2902, 2917, 2918, 2932, 2935, 2942, 2957, 2962, 2969, 2972, 2979, 2984, 2994, 2999, 3006, 3009, 3021, 3028, 3036, 3043, 3051, 3057, 3058, 3063, 3078, 3083, 3084, 3098, 3101, 3106, 3118, 3125, 3128, 3143, 3146, 3165, 3171, 3172, 3186, 3191, 3201, 3211, 3216, 3226, 0, 129, 153, 3242, 3250, 3267, 3275, 3288, 3303, 3311, 3289, 3325, 3328, 3340, 3346, 3352, 3369, 3364, 3379, 3386, 3389, 3396, 3401, 3404, 3411, 3416, 3431, 3432, 3449, 3452, 3459, 3467, 3479, 3484, 3494, 3508, 3509, 3514, 3515, 3534, 3540, 3550, 3556, 3570, 3578, 3584, 3592, 3598, 3606, 3613, 3618, 3632, 3637, 3642, 3654, 3659, 0, 4181, 4181, 4181, 4181, 3664, 3679, 3685, 3691, 3697, 3718, 3723, 3724, 3738, 3745, 3750, 3764, 3770, 3765, 3787, 3788, 3805, 3810, 3815, 3825, 3832, 3837, 3840, 3854, 3859, 3869, 3875, 0, 3876, 3883, 3899, 3909, 3914, 3928, 3936, 3943, 3948, 3951, 3958, 3963, 3966, 3978, 3983, 3984, 3998, 4003, 0, 4006, 4020, 4023, 4030, 4038, 4046, 4053, 4068, 0, 4074, 4075, 4080, 4095, 0, 0, 4181, 4181, 4118, 4124, 4126, 4132, 4136, 4142, 4148, 4150, 4152, 4154, 4156, 4158, 4161, 4163, 4164, 4166, 4168, 4170, 4172, 4174 } ; static yyconst flex_int16_t yy_def[539] = { 0, 518, 1, 519, 519, 518, 518, 518, 518, 518, 520, 521, 522, 518, 518, 523, 523, 523, 17, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 21, 523, 523, 523, 523, 523, 523, 523, 523, 523, 518, 524, 525, 518, 518, 518, 520, 518, 526, 522, 518, 518, 518, 518, 518, 518, 518, 523, 518, 523, 523, 61, 61, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 518, 524, 518, 525, 527, 54, 518, 518, 57, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 61, 518, 61, 61, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 518, 523, 523, 528, 518, 518, 518, 518, 518, 518, 518, 518, 61, 61, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 529, 518, 518, 518, 518, 518, 61, 518, 61, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 530, 531, 532, 518, 518, 518, 518, 523, 518, 518, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 533, 518, 518, 518, 518, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 534, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 535, 523, 523, 523, 523, 523, 523, 523, 523, 536, 523, 523, 523, 523, 537, 538, 518, 0, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518 } ; static yyconst flex_int16_t yy_nxt[4255] = { 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 6, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 32, 41, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 32, 42, 6, 52, 53, 53, 53, 53, 53, 53, 53, 53, 54, 54, 54, 54, 54, 54, 54, 54, 55, 127, 56, 51, 57, 58, 58, 58, 58, 58, 58, 58, 58, 59, 48, 125, 45, 61, 62, 232, 127, 63, 64, 518, 518, 518, 518, 518, 518, 65, 99, 66, 51, 48, 46, 45, 518, 518, 518, 518, 44, 518, 125, 518, 61, 62, 232, 400, 63, 64, 67, 68, 518, 80, 44, 69, 65, 81, 66, 518, 518, 82, 518, 518, 518, 518, 518, 518, 518, 518, 518, 403, 518, 518, 518, 451, 518, 67, 68, 518, 80, 100, 69, 518, 81, 518, 518, 518, 82, 70, 518, 518, 518, 119, 518, 120, 518, 71, 518, 452, 518, 72, 451, 518, 92, 518, 518, 518, 100, 518, 518, 73, 74, 518, 518, 93, 518, 518, 518, 518, 119, 518, 120, 518, 71, 518, 452, 94, 72, 518, 518, 92, 518, 518, 518, 518, 518, 518, 73, 74, 60, 101, 93, 518, 518, 518, 518, 518, 75, 518, 518, 518, 60, 518, 94, 518, 76, 518, 518, 518, 518, 102, 77, 78, 518, 79, 518, 518, 101, 518, 518, 518, 104, 103, 518, 75, 518, 518, 518, 60, 105, 518, 518, 76, 518, 518, 518, 518, 102, 77, 78, 518, 79, 518, 518, 518, 518, 518, 518, 104, 103, 518, 111, 518, 518, 518, 518, 105, 112, 83, 84, 518, 518, 518, 518, 518, 518, 518, 85, 518, 86, 518, 87, 518, 518, 518, 518, 518, 518, 111, 113, 121, 518, 518, 518, 112, 83, 84, 518, 518, 114, 518, 518, 518, 518, 85, 518, 86, 518, 87, 518, 518, 518, 518, 518, 518, 518, 113, 121, 518, 124, 518, 518, 518, 88, 518, 518, 114, 518, 518, 518, 518, 89, 518, 90, 518, 518, 518, 91, 518, 518, 518, 122, 518, 518, 518, 518, 124, 123, 518, 518, 88, 518, 518, 518, 518, 518, 518, 518, 89, 518, 90, 518, 518, 518, 91, 518, 518, 518, 122, 518, 518, 518, 518, 518, 123, 518, 518, 518, 518, 518, 518, 95, 518, 518, 518, 96, 518, 518, 518, 518, 518, 97, 98, 130, 130, 130, 130, 130, 130, 130, 130, 518, 518, 518, 518, 518, 518, 518, 95, 518, 518, 518, 96, 518, 518, 518, 518, 518, 97, 98, 106, 159, 518, 518, 518, 518, 518, 107, 108, 518, 60, 153, 518, 518, 109, 518, 154, 110, 148, 148, 148, 148, 148, 148, 148, 148, 518, 106, 159, 518, 518, 518, 518, 518, 107, 108, 518, 60, 153, 518, 518, 109, 518, 154, 110, 518, 518, 518, 150, 518, 151, 151, 151, 151, 151, 151, 151, 151, 518, 115, 518, 168, 518, 116, 518, 518, 518, 117, 152, 152, 152, 152, 152, 152, 152, 152, 118, 518, 518, 518, 518, 518, 518, 518, 518, 518, 115, 518, 168, 518, 116, 518, 518, 518, 117, 157, 518, 518, 518, 518, 518, 518, 518, 118, 131, 155, 132, 518, 133, 53, 53, 53, 53, 53, 53, 53, 53, 59, 518, 518, 156, 134, 135, 518, 518, 136, 137, 518, 518, 518, 518, 518, 155, 138, 518, 139, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 156, 134, 135, 518, 518, 136, 137, 518, 518, 161, 158, 518, 518, 138, 518, 139, 140, 160, 141, 518, 518, 54, 54, 54, 54, 54, 54, 54, 54, 518, 518, 518, 518, 142, 143, 518, 161, 158, 144, 518, 518, 518, 518, 518, 160, 145, 518, 146, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 142, 143, 518, 166, 162, 144, 518, 518, 518, 518, 518, 518, 145, 518, 146, 55, 175, 56, 518, 518, 54, 54, 54, 54, 54, 54, 54, 54, 518, 518, 166, 162, 147, 135, 167, 518, 518, 137, 518, 518, 518, 518, 518, 175, 138, 518, 139, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 147, 135, 167, 518, 518, 137, 518, 173, 163, 518, 518, 518, 138, 518, 139, 55, 518, 56, 518, 57, 58, 58, 58, 58, 58, 58, 58, 58, 59, 518, 518, 518, 61, 62, 173, 163, 63, 64, 518, 518, 518, 518, 518, 518, 65, 518, 66, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 61, 62, 518, 178, 63, 64, 518, 164, 165, 518, 518, 518, 65, 518, 66, 518, 518, 518, 518, 518, 149, 149, 149, 149, 149, 149, 149, 149, 518, 518, 178, 518, 518, 518, 164, 165, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 169, 518, 518, 174, 518, 170, 518, 518, 518, 518, 171, 176, 518, 518, 518, 518, 518, 518, 172, 177, 518, 518, 518, 518, 518, 518, 518, 169, 518, 518, 174, 518, 170, 518, 518, 518, 518, 171, 176, 518, 518, 518, 518, 518, 518, 172, 177, 179, 191, 183, 184, 518, 518, 518, 518, 518, 518, 180, 518, 518, 518, 518, 518, 518, 181, 518, 518, 518, 518, 518, 518, 518, 518, 518, 179, 191, 182, 518, 518, 518, 518, 185, 518, 518, 180, 186, 189, 188, 518, 518, 518, 181, 518, 518, 187, 518, 518, 518, 518, 518, 518, 518, 518, 182, 518, 518, 518, 192, 185, 518, 518, 518, 186, 189, 188, 518, 518, 518, 518, 190, 518, 187, 518, 518, 518, 518, 518, 194, 518, 518, 518, 518, 193, 518, 192, 518, 195, 518, 518, 518, 518, 518, 518, 518, 518, 518, 190, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 193, 518, 518, 198, 195, 196, 518, 518, 518, 518, 518, 518, 518, 518, 197, 518, 518, 518, 518, 518, 518, 199, 518, 518, 518, 518, 518, 201, 518, 518, 198, 518, 196, 518, 518, 518, 518, 518, 518, 518, 518, 197, 518, 518, 200, 518, 202, 518, 199, 206, 518, 518, 205, 518, 201, 518, 203, 518, 518, 204, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 200, 518, 202, 518, 518, 206, 518, 207, 205, 518, 518, 518, 203, 518, 518, 204, 518, 208, 518, 518, 518, 518, 209, 518, 210, 518, 518, 518, 518, 518, 518, 518, 518, 518, 207, 518, 211, 518, 518, 518, 518, 518, 518, 518, 208, 518, 518, 518, 518, 209, 518, 210, 518, 518, 518, 518, 212, 518, 213, 518, 214, 518, 215, 211, 518, 217, 518, 518, 518, 218, 518, 518, 518, 216, 518, 518, 518, 518, 518, 518, 518, 518, 518, 212, 219, 213, 518, 214, 518, 215, 518, 518, 217, 234, 518, 221, 218, 518, 518, 518, 216, 518, 518, 518, 518, 518, 518, 220, 518, 518, 518, 219, 226, 226, 226, 226, 226, 226, 226, 226, 234, 518, 221, 518, 518, 518, 518, 518, 518, 222, 224, 518, 225, 518, 220, 130, 130, 130, 130, 130, 130, 130, 130, 131, 518, 132, 518, 518, 130, 130, 130, 130, 130, 130, 130, 130, 222, 150, 518, 227, 227, 227, 227, 227, 227, 227, 227, 228, 228, 228, 228, 228, 228, 228, 228, 229, 518, 230, 230, 230, 230, 230, 230, 230, 230, 148, 148, 148, 148, 148, 148, 148, 148, 231, 227, 227, 227, 227, 227, 227, 227, 227, 131, 518, 132, 518, 518, 151, 151, 151, 151, 151, 151, 151, 151, 152, 152, 152, 152, 152, 152, 152, 152, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 233, 518, 518, 518, 239, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 236, 518, 518, 518, 518, 518, 237, 235, 238, 518, 518, 518, 233, 518, 518, 518, 518, 518, 518, 518, 518, 240, 518, 518, 518, 518, 518, 236, 518, 518, 518, 241, 242, 237, 235, 238, 518, 518, 518, 518, 518, 518, 243, 518, 518, 518, 518, 518, 240, 518, 518, 518, 518, 245, 518, 518, 518, 518, 241, 242, 518, 244, 518, 518, 518, 518, 518, 518, 518, 243, 518, 246, 518, 518, 518, 518, 518, 518, 518, 518, 245, 518, 518, 518, 518, 518, 518, 518, 244, 247, 248, 518, 518, 518, 518, 518, 518, 518, 246, 518, 249, 518, 518, 250, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 247, 248, 518, 518, 253, 518, 518, 518, 518, 518, 251, 249, 252, 518, 250, 518, 518, 518, 518, 255, 518, 254, 518, 518, 518, 518, 518, 518, 518, 518, 518, 253, 518, 518, 518, 256, 518, 251, 518, 252, 518, 518, 518, 518, 518, 258, 255, 518, 254, 518, 518, 518, 518, 257, 518, 518, 518, 518, 518, 518, 518, 518, 256, 518, 518, 259, 518, 518, 518, 518, 518, 518, 258, 518, 518, 263, 518, 518, 518, 518, 257, 261, 260, 518, 518, 518, 518, 518, 518, 262, 518, 518, 259, 518, 518, 518, 518, 518, 518, 518, 518, 518, 263, 518, 518, 518, 518, 518, 261, 260, 518, 518, 518, 266, 518, 518, 262, 518, 518, 518, 265, 518, 518, 518, 264, 518, 518, 518, 518, 518, 267, 518, 518, 518, 518, 518, 518, 518, 518, 518, 266, 518, 268, 518, 518, 518, 518, 265, 518, 518, 518, 264, 518, 518, 518, 518, 518, 267, 518, 518, 518, 518, 518, 269, 518, 270, 518, 518, 518, 268, 518, 273, 518, 518, 271, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 272, 518, 518, 518, 518, 269, 518, 270, 518, 518, 518, 518, 518, 518, 518, 274, 271, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 272, 518, 518, 518, 518, 518, 518, 518, 275, 518, 518, 518, 518, 518, 276, 274, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 275, 518, 277, 278, 518, 518, 276, 518, 518, 518, 518, 518, 518, 518, 518, 279, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 277, 278, 281, 518, 518, 283, 284, 518, 282, 518, 518, 518, 285, 279, 280, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 281, 518, 518, 283, 284, 518, 282, 287, 518, 518, 285, 518, 280, 518, 286, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 288, 518, 518, 518, 518, 518, 518, 518, 287, 518, 518, 518, 518, 518, 518, 286, 518, 290, 518, 518, 518, 518, 289, 291, 518, 518, 518, 288, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 290, 518, 292, 293, 518, 289, 291, 518, 518, 294, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 295, 518, 518, 518, 518, 518, 518, 518, 292, 293, 518, 518, 518, 518, 518, 294, 518, 339, 518, 518, 518, 296, 518, 518, 518, 518, 131, 295, 132, 518, 324, 227, 227, 227, 227, 227, 227, 227, 227, 230, 230, 230, 230, 230, 230, 230, 230, 518, 296, 297, 60, 60, 60, 60, 60, 60, 60, 324, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 518, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 226, 226, 226, 226, 226, 226, 226, 226, 228, 228, 228, 228, 228, 228, 228, 228, 518, 518, 518, 518, 518, 326, 518, 518, 518, 224, 518, 225, 518, 327, 230, 230, 230, 230, 230, 230, 230, 230, 328, 329, 329, 329, 329, 329, 329, 329, 329, 518, 326, 518, 518, 518, 518, 518, 518, 518, 327, 330, 331, 331, 331, 331, 331, 331, 331, 331, 332, 333, 333, 333, 333, 333, 333, 333, 333, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 334, 518, 518, 337, 335, 518, 336, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 334, 340, 518, 337, 335, 518, 336, 518, 518, 518, 518, 341, 518, 518, 338, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 343, 518, 342, 340, 518, 518, 518, 518, 518, 518, 344, 518, 518, 341, 518, 518, 338, 518, 518, 346, 518, 518, 347, 518, 518, 518, 518, 343, 518, 342, 345, 518, 518, 518, 518, 518, 518, 344, 350, 518, 518, 518, 518, 518, 518, 348, 346, 518, 518, 347, 518, 518, 518, 518, 518, 518, 518, 345, 518, 349, 518, 518, 518, 518, 518, 350, 518, 518, 518, 518, 518, 351, 348, 518, 353, 518, 352, 518, 518, 518, 518, 518, 518, 518, 354, 518, 349, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 351, 518, 518, 353, 518, 352, 518, 356, 518, 518, 518, 518, 518, 354, 518, 518, 355, 518, 518, 518, 518, 518, 518, 518, 518, 357, 518, 518, 518, 518, 518, 518, 518, 518, 356, 518, 518, 518, 518, 518, 518, 518, 518, 355, 358, 518, 518, 518, 518, 518, 518, 518, 357, 360, 518, 518, 518, 518, 518, 518, 518, 518, 359, 518, 518, 518, 518, 518, 518, 518, 518, 358, 361, 518, 362, 518, 518, 518, 518, 518, 360, 518, 518, 518, 518, 518, 518, 518, 518, 359, 518, 518, 518, 518, 518, 518, 363, 518, 518, 361, 518, 362, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 364, 518, 518, 518, 518, 518, 366, 365, 518, 518, 518, 363, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 364, 518, 518, 518, 518, 518, 366, 365, 367, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 369, 368, 518, 518, 518, 518, 518, 371, 518, 518, 518, 518, 518, 518, 518, 518, 367, 518, 518, 518, 518, 518, 372, 518, 370, 518, 518, 369, 368, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 373, 518, 518, 518, 518, 372, 518, 370, 518, 518, 518, 518, 518, 374, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 373, 518, 518, 518, 375, 518, 518, 518, 518, 518, 518, 518, 518, 374, 518, 377, 518, 518, 376, 378, 518, 518, 518, 518, 518, 379, 518, 518, 518, 518, 518, 375, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 377, 518, 518, 376, 378, 518, 518, 518, 518, 518, 379, 518, 518, 380, 381, 518, 518, 518, 518, 518, 518, 518, 518, 382, 518, 383, 518, 518, 518, 518, 518, 384, 518, 518, 518, 518, 518, 518, 385, 518, 380, 381, 518, 518, 386, 518, 518, 518, 518, 518, 382, 518, 383, 518, 518, 518, 518, 518, 384, 518, 518, 387, 518, 518, 518, 385, 518, 518, 518, 518, 518, 386, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 387, 518, 388, 518, 518, 518, 518, 518, 518, 518, 389, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 390, 518, 518, 518, 518, 392, 518, 518, 388, 518, 391, 518, 518, 518, 518, 518, 389, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 390, 518, 518, 518, 518, 392, 518, 518, 518, 518, 391, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 393, 330, 395, 395, 395, 395, 395, 395, 395, 395, 332, 396, 396, 396, 396, 396, 396, 396, 396, 397, 397, 397, 397, 397, 397, 397, 397, 393, 398, 329, 329, 329, 329, 329, 329, 329, 329, 399, 399, 399, 399, 399, 399, 399, 399, 400, 331, 331, 331, 331, 331, 331, 331, 331, 402, 402, 402, 402, 402, 402, 402, 402, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 401, 518, 518, 518, 518, 518, 518, 518, 518, 518, 405, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 408, 518, 518, 406, 518, 518, 401, 403, 333, 333, 333, 333, 333, 333, 333, 333, 405, 518, 407, 518, 518, 518, 518, 518, 518, 518, 518, 408, 518, 518, 406, 518, 518, 518, 518, 404, 518, 518, 518, 518, 518, 518, 518, 518, 518, 407, 518, 518, 518, 518, 409, 518, 518, 411, 518, 518, 412, 518, 518, 518, 518, 518, 404, 518, 518, 410, 518, 518, 518, 518, 518, 518, 518, 518, 518, 413, 518, 409, 518, 518, 411, 518, 518, 412, 518, 518, 518, 518, 518, 518, 518, 518, 410, 518, 518, 518, 518, 518, 518, 518, 518, 518, 413, 414, 518, 518, 518, 518, 417, 518, 518, 518, 518, 518, 518, 518, 415, 518, 518, 416, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 414, 518, 418, 518, 518, 417, 518, 518, 518, 518, 518, 518, 518, 415, 518, 419, 416, 518, 518, 518, 518, 518, 420, 518, 518, 518, 518, 518, 518, 418, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 419, 518, 518, 518, 518, 518, 518, 420, 518, 422, 421, 518, 518, 425, 518, 518, 518, 518, 518, 518, 518, 518, 423, 518, 424, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 422, 421, 518, 518, 425, 518, 518, 518, 518, 518, 518, 518, 518, 423, 518, 424, 518, 518, 518, 518, 518, 518, 518, 426, 518, 518, 427, 518, 518, 518, 428, 518, 518, 518, 429, 518, 518, 518, 430, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 426, 518, 431, 427, 518, 518, 518, 428, 518, 518, 518, 429, 518, 518, 518, 430, 518, 518, 518, 518, 518, 518, 518, 432, 518, 518, 518, 518, 433, 431, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 434, 432, 436, 518, 518, 518, 433, 518, 518, 518, 518, 435, 518, 518, 518, 518, 518, 518, 518, 518, 518, 438, 437, 518, 518, 518, 518, 434, 518, 436, 518, 518, 518, 518, 518, 518, 518, 518, 435, 518, 518, 518, 518, 518, 518, 518, 518, 439, 438, 437, 518, 518, 518, 518, 518, 440, 518, 518, 518, 518, 518, 518, 518, 518, 441, 518, 518, 518, 442, 518, 518, 518, 518, 518, 439, 518, 518, 518, 518, 518, 518, 518, 440, 443, 518, 444, 518, 518, 518, 518, 518, 441, 445, 518, 446, 442, 518, 518, 518, 518, 518, 518, 518, 518, 447, 518, 518, 518, 518, 518, 443, 518, 444, 518, 518, 518, 518, 518, 518, 445, 518, 446, 518, 518, 518, 518, 518, 448, 518, 449, 518, 447, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 518, 518, 518, 518, 518, 518, 448, 518, 449, 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 453, 518, 518, 518, 518, 518, 518, 518, 451, 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, 518, 518, 453, 518, 518, 518, 518, 518, 518, 518, 451, 454, 518, 518, 518, 518, 518, 518, 518, 452, 518, 518, 518, 455, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 456, 518, 454, 518, 518, 518, 518, 518, 518, 518, 452, 518, 518, 518, 455, 518, 518, 518, 518, 518, 457, 518, 518, 518, 518, 458, 518, 456, 518, 518, 518, 518, 518, 518, 460, 459, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 457, 518, 518, 518, 518, 458, 518, 518, 518, 518, 518, 518, 518, 518, 518, 459, 462, 518, 518, 518, 518, 461, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 463, 518, 518, 518, 518, 464, 518, 462, 518, 518, 518, 518, 461, 518, 518, 518, 518, 465, 518, 518, 518, 518, 518, 466, 518, 518, 518, 463, 518, 518, 518, 467, 464, 518, 468, 518, 518, 518, 518, 518, 518, 518, 518, 518, 465, 518, 518, 518, 518, 518, 466, 518, 518, 518, 518, 518, 518, 518, 467, 518, 518, 468, 518, 469, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 471, 469, 518, 518, 518, 518, 518, 518, 518, 470, 518, 518, 518, 518, 518, 518, 472, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 471, 518, 518, 518, 518, 518, 518, 518, 518, 470, 518, 518, 518, 518, 518, 518, 472, 518, 473, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 474, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 475, 473, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 474, 518, 518, 518, 518, 518, 518, 518, 518, 476, 518, 518, 518, 518, 475, 518, 518, 477, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 478, 476, 480, 518, 518, 518, 479, 518, 518, 477, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 478, 518, 480, 518, 483, 518, 479, 518, 481, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 483, 518, 518, 518, 481, 518, 518, 485, 518, 518, 484, 518, 486, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 487, 518, 518, 518, 518, 518, 518, 518, 485, 518, 518, 484, 518, 486, 518, 518, 518, 518, 518, 518, 518, 518, 488, 518, 518, 518, 518, 487, 518, 518, 518, 518, 518, 518, 518, 518, 489, 518, 518, 518, 518, 518, 518, 518, 518, 518, 490, 518, 518, 488, 518, 491, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 489, 518, 518, 518, 518, 492, 518, 518, 493, 518, 490, 518, 518, 518, 518, 491, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 492, 518, 518, 493, 518, 494, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 495, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 494, 518, 518, 497, 518, 518, 498, 518, 496, 518, 518, 518, 495, 518, 518, 518, 518, 518, 518, 499, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 497, 518, 518, 498, 518, 496, 518, 518, 518, 518, 500, 518, 518, 518, 518, 502, 499, 518, 503, 518, 518, 518, 518, 518, 518, 504, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 500, 518, 518, 518, 518, 502, 518, 518, 503, 518, 518, 518, 518, 518, 518, 504, 518, 505, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 505, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 506, 518, 518, 518, 518, 518, 518, 507, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 508, 518, 518, 518, 506, 518, 518, 518, 518, 518, 518, 507, 518, 518, 509, 518, 518, 518, 518, 518, 511, 518, 518, 518, 518, 518, 518, 508, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 509, 518, 518, 518, 518, 518, 511, 512, 518, 518, 518, 518, 518, 513, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 514, 518, 518, 518, 518, 518, 512, 518, 518, 518, 518, 518, 513, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 514, 43, 43, 43, 43, 43, 43, 47, 518, 47, 47, 47, 47, 49, 49, 50, 518, 50, 50, 50, 50, 60, 60, 60, 60, 126, 518, 126, 126, 126, 126, 128, 518, 128, 128, 128, 128, 129, 129, 223, 223, 325, 325, 394, 394, 450, 450, 395, 395, 396, 396, 482, 482, 501, 501, 510, 510, 515, 515, 516, 516, 517, 517, 5, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518 } ; static yyconst flex_int16_t yy_chk[4255] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 126, 15, 50, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 47, 41, 45, 15, 15, 149, 42, 15, 15, 25, 16, 25, 16, 25, 16, 15, 25, 15, 12, 10, 9, 7, 25, 16, 5, 19, 4, 19, 41, 19, 15, 15, 149, 395, 15, 15, 16, 16, 19, 19, 3, 16, 15, 19, 15, 0, 32, 19, 32, 26, 32, 26, 36, 26, 36, 0, 36, 396, 0, 32, 0, 395, 26, 16, 16, 36, 19, 26, 16, 17, 19, 17, 0, 17, 19, 17, 22, 0, 22, 36, 22, 36, 17, 17, 0, 396, 0, 17, 395, 22, 22, 23, 0, 23, 26, 23, 0, 17, 17, 0, 0, 22, 0, 0, 23, 27, 36, 27, 36, 27, 17, 0, 396, 23, 17, 0, 0, 22, 27, 28, 0, 28, 0, 28, 17, 17, 18, 27, 22, 0, 0, 29, 28, 29, 18, 29, 0, 0, 18, 30, 23, 30, 18, 30, 29, 0, 0, 28, 18, 18, 0, 18, 30, 0, 27, 0, 0, 0, 30, 29, 33, 18, 33, 0, 33, 18, 30, 0, 0, 18, 0, 0, 0, 33, 28, 18, 18, 0, 18, 20, 0, 20, 0, 20, 0, 30, 29, 0, 33, 0, 0, 0, 20, 30, 33, 20, 20, 0, 34, 37, 34, 37, 34, 37, 20, 39, 20, 39, 20, 39, 0, 34, 37, 0, 0, 33, 34, 37, 39, 0, 0, 33, 20, 20, 0, 0, 34, 0, 40, 0, 40, 20, 40, 20, 0, 20, 21, 0, 21, 0, 21, 40, 0, 34, 37, 0, 40, 0, 0, 21, 21, 0, 38, 34, 38, 0, 38, 60, 21, 60, 21, 60, 0, 0, 21, 38, 0, 64, 38, 64, 60, 64, 0, 40, 38, 0, 0, 21, 0, 0, 64, 0, 0, 0, 65, 21, 65, 21, 65, 0, 0, 21, 24, 0, 24, 38, 24, 65, 66, 0, 66, 38, 66, 0, 0, 24, 0, 0, 24, 0, 0, 66, 24, 0, 0, 0, 0, 0, 24, 24, 52, 52, 52, 52, 52, 52, 52, 52, 72, 67, 72, 67, 72, 67, 0, 24, 68, 0, 68, 24, 68, 72, 67, 0, 0, 24, 24, 31, 72, 68, 0, 0, 0, 0, 31, 31, 0, 31, 67, 0, 0, 31, 0, 68, 31, 59, 59, 59, 59, 59, 59, 59, 59, 0, 31, 72, 80, 0, 80, 0, 80, 31, 31, 0, 31, 67, 0, 0, 31, 80, 68, 31, 35, 0, 35, 62, 35, 62, 62, 62, 62, 62, 62, 62, 62, 35, 35, 0, 80, 0, 35, 0, 0, 0, 35, 63, 63, 63, 63, 63, 63, 63, 63, 35, 0, 0, 0, 0, 0, 0, 70, 0, 70, 35, 70, 80, 69, 35, 69, 0, 69, 35, 70, 70, 0, 0, 0, 0, 0, 69, 35, 53, 69, 53, 0, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 0, 0, 69, 53, 53, 0, 0, 53, 53, 73, 0, 73, 0, 73, 69, 53, 0, 53, 0, 0, 0, 0, 73, 71, 74, 71, 74, 71, 74, 69, 53, 53, 0, 0, 53, 53, 71, 74, 74, 71, 0, 0, 53, 0, 53, 54, 73, 54, 0, 0, 54, 54, 54, 54, 54, 54, 54, 54, 0, 0, 0, 0, 54, 54, 0, 74, 71, 54, 75, 0, 75, 0, 75, 73, 54, 103, 54, 103, 78, 103, 78, 75, 78, 84, 0, 84, 0, 84, 103, 54, 54, 78, 78, 75, 54, 79, 84, 79, 0, 79, 0, 54, 0, 54, 57, 84, 57, 0, 79, 57, 57, 57, 57, 57, 57, 57, 57, 0, 0, 78, 75, 57, 57, 79, 0, 76, 57, 76, 0, 76, 0, 0, 84, 57, 0, 57, 0, 0, 76, 0, 0, 82, 0, 82, 0, 82, 0, 0, 57, 57, 79, 0, 0, 57, 82, 82, 76, 0, 0, 0, 57, 0, 57, 58, 0, 58, 0, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 0, 0, 0, 58, 58, 82, 76, 58, 58, 105, 0, 105, 77, 105, 77, 58, 77, 58, 0, 87, 0, 87, 105, 87, 0, 77, 0, 0, 0, 0, 58, 58, 87, 87, 58, 58, 0, 77, 77, 0, 0, 0, 58, 0, 58, 61, 0, 61, 0, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 83, 87, 83, 0, 83, 77, 77, 81, 85, 81, 85, 81, 85, 83, 0, 0, 0, 0, 0, 0, 81, 85, 81, 0, 86, 83, 86, 81, 86, 0, 0, 0, 81, 85, 0, 0, 0, 86, 0, 0, 81, 86, 0, 96, 88, 96, 88, 96, 88, 81, 0, 0, 83, 0, 81, 0, 96, 88, 0, 81, 85, 89, 90, 89, 90, 89, 90, 81, 86, 88, 96, 90, 90, 0, 89, 90, 91, 0, 91, 89, 91, 93, 0, 93, 0, 93, 89, 0, 94, 91, 94, 92, 94, 92, 93, 92, 88, 96, 89, 0, 0, 94, 0, 91, 92, 0, 89, 91, 94, 93, 95, 0, 95, 89, 95, 97, 92, 97, 0, 97, 100, 0, 100, 95, 100, 89, 0, 0, 97, 97, 91, 0, 0, 100, 91, 94, 93, 0, 98, 0, 98, 95, 98, 92, 99, 0, 99, 0, 99, 99, 0, 98, 0, 0, 98, 0, 97, 99, 100, 101, 102, 101, 102, 101, 102, 104, 0, 104, 95, 104, 0, 0, 101, 102, 0, 106, 0, 106, 104, 106, 0, 98, 0, 0, 104, 100, 101, 107, 106, 107, 108, 107, 108, 0, 108, 102, 0, 111, 0, 111, 107, 111, 106, 108, 0, 110, 0, 110, 108, 110, 111, 104, 0, 101, 0, 109, 0, 109, 110, 109, 0, 0, 102, 0, 0, 107, 0, 108, 109, 106, 111, 0, 0, 110, 112, 108, 112, 109, 112, 0, 109, 0, 114, 0, 114, 0, 114, 112, 0, 113, 0, 113, 107, 113, 108, 114, 0, 111, 0, 112, 110, 0, 113, 0, 109, 0, 0, 109, 115, 113, 115, 116, 115, 116, 113, 116, 114, 0, 118, 0, 118, 115, 118, 0, 116, 117, 112, 117, 115, 117, 0, 118, 0, 119, 0, 119, 113, 119, 117, 0, 120, 113, 120, 114, 120, 121, 119, 121, 116, 121, 117, 0, 118, 120, 119, 115, 0, 120, 121, 0, 153, 121, 153, 0, 153, 119, 0, 122, 0, 122, 123, 122, 123, 153, 123, 116, 121, 117, 0, 118, 122, 119, 0, 123, 120, 153, 0, 123, 121, 124, 0, 124, 119, 124, 0, 0, 0, 0, 0, 122, 0, 0, 124, 121, 134, 134, 134, 134, 134, 134, 134, 134, 153, 0, 123, 0, 0, 0, 0, 0, 0, 124, 130, 0, 130, 0, 122, 130, 130, 130, 130, 130, 130, 130, 130, 133, 0, 133, 0, 0, 133, 133, 133, 133, 133, 133, 133, 133, 124, 135, 0, 135, 135, 135, 135, 135, 135, 135, 135, 136, 136, 136, 136, 136, 136, 136, 136, 143, 0, 143, 143, 143, 143, 143, 143, 143, 143, 148, 148, 148, 148, 148, 148, 148, 148, 148, 150, 150, 150, 150, 150, 150, 150, 150, 151, 0, 151, 0, 0, 151, 151, 151, 151, 151, 151, 151, 151, 152, 152, 152, 152, 152, 152, 152, 152, 0, 154, 155, 154, 155, 154, 155, 157, 156, 157, 156, 157, 156, 152, 154, 155, 0, 157, 0, 0, 157, 156, 0, 0, 0, 158, 0, 158, 155, 158, 0, 0, 0, 0, 155, 154, 156, 159, 158, 159, 152, 159, 0, 161, 160, 161, 160, 161, 160, 158, 159, 0, 0, 0, 0, 155, 161, 160, 0, 159, 160, 155, 154, 156, 162, 163, 162, 163, 162, 163, 161, 164, 0, 164, 0, 164, 158, 162, 163, 0, 0, 163, 0, 0, 164, 0, 159, 160, 165, 162, 165, 166, 165, 166, 0, 166, 167, 161, 167, 164, 167, 165, 0, 0, 166, 0, 0, 0, 163, 167, 168, 0, 168, 0, 168, 0, 162, 165, 166, 0, 169, 0, 169, 168, 169, 170, 164, 170, 167, 170, 171, 168, 171, 169, 171, 0, 0, 173, 170, 173, 0, 173, 0, 171, 165, 166, 0, 172, 171, 172, 173, 172, 0, 0, 169, 167, 170, 174, 168, 174, 172, 174, 0, 173, 175, 172, 175, 176, 175, 176, 174, 176, 177, 0, 177, 171, 177, 175, 0, 174, 176, 169, 178, 170, 178, 177, 178, 0, 0, 176, 173, 0, 172, 0, 179, 178, 179, 175, 179, 0, 180, 182, 180, 182, 180, 182, 174, 179, 181, 178, 181, 0, 181, 180, 182, 0, 176, 0, 183, 182, 183, 181, 183, 0, 175, 180, 179, 0, 184, 0, 184, 183, 184, 181, 0, 185, 178, 185, 186, 185, 186, 184, 186, 187, 0, 187, 182, 187, 185, 0, 0, 186, 180, 179, 0, 0, 187, 187, 0, 188, 181, 188, 0, 188, 186, 189, 0, 189, 185, 189, 0, 0, 188, 0, 188, 190, 0, 190, 189, 190, 0, 191, 0, 191, 187, 191, 189, 0, 190, 0, 0, 186, 0, 0, 191, 185, 0, 0, 192, 0, 192, 188, 192, 0, 193, 0, 193, 190, 193, 191, 194, 192, 194, 189, 194, 194, 0, 193, 192, 0, 195, 0, 195, 194, 195, 0, 196, 0, 196, 193, 196, 0, 0, 195, 190, 0, 191, 0, 198, 196, 198, 0, 198, 0, 196, 192, 197, 0, 197, 0, 197, 198, 0, 199, 0, 199, 193, 199, 0, 197, 0, 200, 0, 200, 197, 200, 199, 0, 0, 0, 199, 196, 0, 201, 200, 201, 202, 201, 202, 203, 202, 203, 0, 203, 0, 0, 201, 0, 0, 202, 0, 197, 203, 200, 202, 0, 204, 199, 204, 205, 204, 205, 0, 205, 0, 0, 203, 0, 0, 204, 0, 206, 205, 206, 207, 206, 207, 0, 207, 0, 200, 202, 205, 0, 206, 206, 206, 207, 205, 0, 0, 0, 207, 203, 204, 0, 0, 208, 209, 208, 209, 208, 209, 0, 210, 0, 210, 0, 210, 205, 208, 209, 206, 206, 0, 205, 209, 210, 211, 207, 211, 204, 211, 208, 212, 0, 212, 0, 212, 0, 0, 211, 0, 0, 213, 210, 213, 212, 213, 0, 214, 0, 214, 209, 214, 0, 0, 213, 0, 0, 208, 0, 213, 214, 0, 0, 0, 212, 214, 215, 0, 215, 210, 215, 216, 0, 216, 218, 216, 218, 0, 218, 215, 0, 217, 0, 217, 216, 217, 213, 218, 215, 216, 0, 212, 214, 0, 217, 217, 219, 222, 219, 222, 219, 222, 0, 0, 221, 0, 221, 218, 221, 219, 222, 0, 0, 0, 0, 215, 216, 221, 0, 239, 0, 239, 217, 239, 239, 0, 0, 0, 219, 0, 0, 0, 239, 227, 218, 227, 0, 221, 227, 227, 227, 227, 227, 227, 227, 227, 229, 229, 229, 229, 229, 229, 229, 229, 0, 219, 220, 220, 220, 220, 220, 220, 220, 220, 221, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 0, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 226, 226, 226, 226, 226, 226, 226, 226, 228, 228, 228, 228, 228, 228, 228, 228, 0, 0, 0, 0, 0, 226, 0, 0, 0, 230, 0, 230, 0, 228, 230, 230, 230, 230, 230, 230, 230, 230, 231, 231, 231, 231, 231, 231, 231, 231, 231, 0, 226, 0, 0, 0, 0, 0, 0, 0, 228, 232, 232, 232, 232, 232, 232, 232, 232, 232, 233, 233, 233, 233, 233, 233, 233, 233, 233, 234, 235, 234, 235, 234, 235, 236, 237, 236, 237, 236, 237, 0, 234, 235, 0, 0, 0, 0, 236, 237, 0, 234, 0, 0, 237, 235, 238, 236, 238, 240, 238, 240, 241, 240, 241, 0, 241, 0, 0, 238, 0, 0, 240, 0, 0, 241, 0, 0, 234, 240, 0, 237, 235, 242, 236, 242, 243, 242, 243, 241, 243, 246, 238, 246, 0, 246, 242, 0, 244, 243, 244, 0, 244, 243, 246, 242, 240, 0, 245, 0, 245, 244, 245, 244, 0, 0, 241, 0, 0, 238, 0, 245, 246, 0, 248, 246, 248, 0, 248, 0, 243, 0, 242, 245, 247, 0, 247, 248, 247, 0, 244, 248, 249, 0, 249, 0, 249, 247, 247, 246, 0, 0, 246, 0, 250, 249, 250, 251, 250, 251, 245, 251, 247, 0, 0, 0, 0, 250, 248, 252, 251, 252, 0, 252, 249, 247, 0, 251, 0, 250, 0, 0, 252, 0, 253, 0, 253, 252, 253, 247, 0, 0, 254, 0, 254, 0, 254, 253, 255, 0, 255, 249, 255, 0, 251, 254, 250, 0, 254, 0, 0, 255, 0, 0, 252, 0, 256, 253, 256, 257, 256, 257, 0, 257, 0, 0, 255, 0, 0, 256, 0, 0, 257, 0, 258, 254, 258, 259, 258, 259, 0, 259, 0, 0, 253, 256, 0, 258, 0, 0, 259, 0, 0, 255, 259, 260, 0, 260, 261, 260, 261, 0, 261, 258, 0, 262, 0, 262, 260, 262, 0, 261, 256, 260, 0, 261, 0, 0, 262, 0, 263, 259, 263, 264, 263, 264, 0, 264, 0, 0, 258, 0, 0, 263, 0, 0, 264, 263, 0, 265, 260, 265, 261, 265, 266, 267, 266, 267, 266, 267, 0, 0, 265, 265, 0, 0, 0, 266, 267, 267, 266, 0, 0, 268, 263, 268, 269, 268, 269, 270, 269, 270, 0, 270, 0, 0, 268, 0, 0, 269, 265, 271, 270, 271, 0, 271, 267, 266, 268, 272, 0, 272, 0, 272, 271, 0, 0, 0, 0, 271, 270, 273, 272, 273, 0, 273, 273, 274, 0, 274, 0, 274, 0, 0, 273, 268, 0, 0, 0, 0, 274, 274, 0, 272, 0, 0, 271, 270, 275, 276, 275, 276, 275, 276, 277, 0, 277, 0, 277, 0, 0, 275, 276, 276, 0, 0, 0, 277, 274, 278, 272, 278, 0, 278, 0, 279, 277, 279, 0, 279, 0, 0, 278, 0, 0, 280, 0, 280, 279, 280, 276, 281, 0, 281, 278, 281, 0, 282, 280, 282, 0, 282, 0, 277, 281, 280, 0, 0, 279, 281, 282, 0, 283, 0, 283, 282, 283, 0, 284, 0, 284, 278, 284, 0, 285, 283, 285, 0, 285, 0, 0, 284, 280, 0, 0, 279, 281, 285, 0, 286, 0, 286, 282, 286, 0, 283, 284, 287, 0, 287, 0, 287, 286, 0, 288, 285, 288, 286, 288, 0, 287, 0, 289, 287, 289, 0, 289, 288, 0, 0, 288, 0, 283, 284, 0, 289, 289, 0, 0, 290, 0, 290, 285, 290, 286, 291, 0, 291, 0, 291, 287, 0, 290, 289, 0, 0, 0, 288, 291, 0, 0, 0, 292, 289, 292, 293, 292, 293, 294, 293, 294, 0, 294, 0, 0, 292, 0, 0, 293, 0, 289, 294, 292, 295, 296, 295, 296, 295, 296, 297, 293, 297, 0, 297, 0, 0, 295, 296, 0, 0, 0, 294, 297, 298, 0, 298, 296, 298, 299, 292, 299, 295, 299, 0, 0, 0, 298, 293, 300, 0, 300, 299, 300, 301, 0, 301, 0, 301, 294, 0, 302, 300, 302, 296, 302, 303, 301, 303, 295, 303, 304, 0, 304, 302, 304, 305, 0, 305, 303, 305, 306, 0, 306, 304, 306, 307, 0, 307, 305, 307, 308, 0, 308, 306, 308, 309, 0, 309, 307, 309, 310, 0, 310, 308, 310, 311, 0, 311, 309, 311, 312, 0, 312, 310, 312, 313, 0, 313, 311, 313, 314, 0, 314, 312, 314, 315, 0, 315, 313, 315, 316, 0, 316, 314, 316, 317, 0, 317, 315, 317, 318, 0, 318, 316, 318, 319, 0, 319, 317, 319, 320, 0, 320, 318, 320, 321, 0, 321, 319, 321, 322, 0, 322, 320, 322, 323, 0, 323, 321, 323, 324, 0, 324, 322, 324, 338, 0, 338, 323, 338, 0, 0, 0, 324, 0, 0, 0, 0, 338, 0, 0, 324, 326, 326, 326, 326, 326, 326, 326, 326, 326, 327, 327, 327, 327, 327, 327, 327, 327, 327, 328, 328, 328, 328, 328, 328, 328, 328, 324, 329, 329, 329, 329, 329, 329, 329, 329, 329, 330, 330, 330, 330, 330, 330, 330, 330, 331, 331, 331, 331, 331, 331, 331, 331, 331, 332, 332, 332, 332, 332, 332, 332, 332, 0, 335, 334, 335, 334, 335, 334, 0, 0, 0, 0, 331, 0, 0, 335, 334, 337, 0, 337, 0, 337, 334, 0, 336, 339, 336, 339, 336, 339, 337, 0, 0, 337, 0, 0, 335, 336, 339, 331, 333, 333, 333, 333, 333, 333, 333, 333, 333, 334, 0, 336, 340, 341, 340, 341, 340, 341, 0, 0, 337, 0, 0, 335, 0, 340, 341, 342, 333, 342, 0, 342, 343, 0, 343, 344, 343, 344, 336, 344, 342, 0, 0, 340, 0, 343, 343, 0, 344, 344, 345, 0, 345, 0, 345, 333, 0, 0, 342, 0, 0, 0, 346, 345, 346, 347, 346, 347, 345, 347, 340, 0, 0, 343, 0, 346, 344, 348, 347, 348, 349, 348, 349, 0, 349, 342, 0, 350, 0, 350, 348, 350, 0, 349, 0, 345, 347, 0, 0, 0, 350, 350, 351, 352, 351, 352, 351, 352, 0, 348, 0, 0, 349, 0, 0, 351, 352, 353, 0, 353, 354, 353, 354, 347, 354, 352, 0, 355, 350, 355, 353, 355, 0, 354, 0, 0, 348, 0, 354, 349, 355, 0, 356, 0, 356, 355, 356, 357, 0, 357, 0, 357, 352, 0, 358, 356, 358, 359, 358, 359, 357, 359, 0, 0, 360, 354, 360, 358, 360, 361, 359, 361, 355, 361, 357, 356, 0, 360, 360, 362, 0, 362, 361, 362, 363, 0, 363, 358, 363, 359, 0, 364, 362, 364, 365, 364, 365, 363, 365, 0, 0, 357, 356, 0, 364, 360, 366, 365, 366, 0, 366, 0, 0, 367, 358, 367, 359, 367, 0, 366, 0, 368, 0, 368, 364, 368, 367, 365, 369, 0, 369, 366, 369, 0, 368, 367, 370, 0, 370, 368, 370, 369, 371, 372, 371, 372, 371, 372, 373, 370, 373, 364, 373, 370, 365, 371, 372, 0, 366, 0, 0, 373, 367, 374, 0, 374, 368, 374, 375, 376, 375, 376, 375, 376, 372, 0, 374, 0, 0, 374, 370, 375, 376, 377, 0, 377, 378, 377, 378, 0, 378, 379, 0, 379, 0, 379, 377, 0, 0, 378, 375, 372, 378, 380, 379, 380, 374, 380, 0, 0, 381, 377, 381, 382, 381, 382, 380, 382, 0, 0, 0, 380, 379, 381, 0, 0, 382, 375, 383, 378, 383, 384, 383, 384, 0, 384, 0, 0, 377, 0, 0, 383, 0, 0, 384, 0, 0, 381, 380, 379, 385, 0, 385, 0, 385, 383, 386, 387, 386, 387, 386, 387, 0, 385, 384, 0, 0, 0, 385, 386, 387, 388, 0, 388, 381, 388, 389, 0, 389, 0, 389, 0, 383, 386, 388, 387, 390, 0, 390, 389, 390, 384, 388, 0, 389, 385, 391, 0, 391, 390, 391, 392, 0, 392, 390, 392, 0, 0, 0, 391, 386, 393, 387, 393, 392, 393, 0, 0, 0, 388, 0, 389, 0, 0, 393, 0, 0, 391, 0, 392, 0, 390, 397, 397, 397, 397, 397, 397, 397, 397, 398, 398, 398, 398, 398, 398, 398, 398, 0, 0, 0, 0, 0, 0, 391, 0, 392, 399, 399, 399, 399, 399, 399, 399, 399, 400, 400, 400, 400, 400, 400, 400, 400, 401, 404, 401, 404, 401, 404, 0, 0, 0, 0, 0, 399, 0, 401, 404, 0, 0, 0, 0, 400, 402, 402, 402, 402, 402, 402, 402, 402, 403, 403, 403, 403, 403, 403, 403, 403, 0, 405, 399, 405, 406, 405, 406, 0, 406, 0, 400, 402, 0, 0, 405, 0, 407, 406, 407, 403, 407, 0, 408, 405, 408, 0, 408, 0, 409, 407, 409, 0, 409, 0, 0, 408, 406, 0, 402, 0, 411, 409, 411, 0, 411, 410, 403, 410, 0, 410, 405, 0, 0, 411, 0, 412, 409, 412, 410, 412, 0, 410, 413, 406, 413, 414, 413, 414, 412, 414, 413, 412, 415, 0, 415, 413, 415, 416, 414, 416, 417, 416, 417, 409, 417, 415, 0, 418, 410, 418, 416, 418, 419, 417, 419, 0, 419, 0, 412, 416, 418, 0, 0, 0, 415, 419, 0, 420, 421, 420, 421, 420, 421, 0, 0, 0, 0, 0, 0, 418, 420, 421, 0, 0, 419, 422, 416, 422, 423, 422, 423, 415, 423, 0, 0, 424, 421, 424, 422, 424, 0, 423, 422, 425, 0, 425, 418, 425, 424, 0, 423, 419, 0, 424, 0, 426, 425, 426, 0, 426, 427, 0, 427, 421, 427, 0, 0, 0, 426, 422, 428, 0, 428, 427, 428, 0, 0, 423, 0, 0, 424, 0, 427, 428, 429, 430, 429, 430, 429, 430, 431, 432, 431, 432, 431, 432, 0, 429, 430, 0, 0, 0, 0, 431, 432, 0, 0, 0, 431, 427, 433, 0, 433, 0, 433, 0, 434, 429, 434, 0, 434, 0, 0, 433, 433, 0, 435, 0, 435, 434, 435, 0, 436, 0, 436, 431, 436, 0, 0, 435, 0, 0, 0, 0, 429, 436, 437, 0, 437, 0, 437, 433, 0, 435, 438, 0, 438, 0, 438, 437, 439, 0, 439, 0, 439, 436, 0, 438, 440, 0, 440, 0, 440, 439, 441, 0, 441, 0, 441, 437, 435, 440, 442, 0, 442, 0, 442, 441, 0, 443, 0, 443, 436, 443, 444, 442, 444, 0, 444, 0, 0, 440, 443, 0, 0, 0, 437, 444, 445, 443, 445, 0, 445, 446, 0, 446, 0, 446, 447, 0, 447, 445, 447, 0, 0, 0, 446, 444, 440, 446, 448, 447, 448, 445, 448, 449, 443, 449, 0, 449, 455, 0, 455, 448, 455, 0, 0, 0, 449, 0, 0, 0, 0, 455, 444, 456, 446, 456, 455, 456, 445, 457, 449, 457, 0, 457, 0, 458, 456, 458, 0, 458, 0, 459, 457, 459, 0, 459, 0, 0, 458, 0, 0, 0, 0, 455, 459, 0, 0, 449, 0, 0, 458, 0, 460, 457, 460, 459, 460, 461, 462, 461, 462, 461, 462, 0, 0, 460, 0, 0, 0, 460, 461, 462, 463, 0, 463, 0, 463, 458, 0, 464, 457, 464, 459, 464, 465, 463, 465, 0, 465, 0, 0, 462, 464, 0, 0, 0, 460, 465, 466, 468, 466, 468, 466, 468, 467, 463, 467, 0, 467, 0, 0, 466, 468, 0, 0, 465, 0, 467, 462, 0, 467, 469, 470, 469, 470, 469, 470, 0, 0, 0, 0, 0, 463, 0, 469, 470, 0, 469, 0, 471, 470, 471, 465, 471, 472, 0, 472, 467, 472, 473, 0, 473, 471, 473, 0, 0, 0, 472, 0, 474, 0, 474, 473, 474, 469, 0, 475, 470, 475, 472, 475, 476, 474, 476, 477, 476, 477, 0, 477, 475, 0, 474, 0, 0, 476, 0, 0, 477, 478, 0, 478, 0, 478, 479, 0, 479, 472, 479, 0, 477, 0, 478, 478, 480, 475, 480, 479, 480, 474, 481, 483, 481, 483, 481, 483, 479, 480, 484, 0, 484, 0, 484, 481, 483, 0, 0, 477, 0, 0, 478, 484, 475, 0, 485, 0, 485, 480, 485, 0, 0, 0, 483, 479, 486, 484, 486, 485, 486, 487, 0, 487, 485, 487, 0, 0, 0, 486, 0, 0, 0, 0, 487, 488, 480, 488, 0, 488, 0, 483, 0, 489, 484, 489, 0, 489, 488, 0, 490, 485, 490, 488, 490, 491, 489, 491, 492, 491, 492, 0, 492, 490, 0, 493, 0, 493, 491, 493, 494, 492, 494, 495, 494, 495, 0, 495, 493, 0, 488, 0, 0, 494, 0, 496, 495, 496, 0, 496, 497, 498, 497, 498, 497, 498, 0, 0, 496, 0, 0, 495, 0, 497, 498, 499, 0, 499, 497, 499, 500, 0, 500, 502, 500, 502, 0, 502, 499, 0, 0, 0, 0, 500, 498, 0, 502, 503, 495, 503, 504, 503, 504, 0, 504, 497, 0, 505, 499, 505, 503, 505, 0, 504, 503, 506, 0, 506, 0, 506, 505, 498, 0, 507, 0, 507, 0, 507, 506, 0, 508, 0, 508, 0, 508, 499, 507, 0, 0, 0, 0, 503, 506, 508, 0, 509, 0, 509, 508, 509, 0, 511, 512, 511, 512, 511, 512, 513, 509, 513, 0, 513, 0, 509, 511, 512, 0, 0, 0, 506, 513, 0, 514, 0, 514, 508, 514, 0, 0, 0, 0, 0, 0, 0, 0, 514, 0, 0, 0, 0, 509, 519, 519, 519, 519, 519, 519, 520, 0, 520, 520, 520, 520, 521, 521, 522, 0, 522, 522, 522, 522, 523, 523, 523, 523, 524, 0, 524, 524, 524, 524, 525, 0, 525, 525, 525, 525, 526, 526, 527, 527, 528, 528, 529, 529, 530, 530, 531, 531, 532, 532, 533, 533, 534, 534, 535, 535, 536, 536, 537, 537, 538, 538, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, 518 } ; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET #line 1 "frame/ds9lex.L" /* Copyright (C) 1999-2018 * Smithsonian Astrophysical Observatory, Cambridge, MA, USA * For conditions of distribution and use, see copyright notice in "copyright" */ #line 12 "frame/ds9lex.L" #include #include #include #include "util.h" #include "ds9parser.H" extern YYSTYPE* mklval; extern mkFlexLexer* mklexx; /* rules */ #line 1536 "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 1640 "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 >= 519 ) 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 != 518 ); 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 COLOR_;} YY_BREAK case 19: YY_RULE_SETUP #line 64 "frame/ds9lex.L" {return COMPASS_;} YY_BREAK case 20: YY_RULE_SETUP #line 65 "frame/ds9lex.L" {return COMPOSITE_;} YY_BREAK case 21: YY_RULE_SETUP #line 66 "frame/ds9lex.L" {return CPANDA_;} YY_BREAK case 22: YY_RULE_SETUP #line 67 "frame/ds9lex.L" {return CROSS_;} YY_BREAK case 23: YY_RULE_SETUP #line 68 "frame/ds9lex.L" {return DASH_;} YY_BREAK case 24: YY_RULE_SETUP #line 69 "frame/ds9lex.L" {return DASHLIST_;} YY_BREAK case 25: YY_RULE_SETUP #line 70 "frame/ds9lex.L" {return DEBUG_;} YY_BREAK case 26: YY_RULE_SETUP #line 71 "frame/ds9lex.L" {return DEGREES_;} YY_BREAK case 27: YY_RULE_SETUP #line 72 "frame/ds9lex.L" {return DELETE_;} YY_BREAK case 28: YY_RULE_SETUP #line 73 "frame/ds9lex.L" {return DETECTOR_;} YY_BREAK case 29: YY_RULE_SETUP #line 74 "frame/ds9lex.L" {return DIAMOND_;} YY_BREAK case 30: YY_RULE_SETUP #line 75 "frame/ds9lex.L" {return EDIT_;} YY_BREAK case 31: YY_RULE_SETUP #line 76 "frame/ds9lex.L" {return ELLIPSE_;} YY_BREAK case 32: YY_RULE_SETUP #line 77 "frame/ds9lex.L" {return ECLIPTIC_;} YY_BREAK case 33: YY_RULE_SETUP #line 78 "frame/ds9lex.L" {return EPANDA_;} YY_BREAK case 34: YY_RULE_SETUP #line 79 "frame/ds9lex.L" {return END_;} YY_BREAK case 35: YY_RULE_SETUP #line 80 "frame/ds9lex.L" {return FALSE_;} YY_BREAK case 36: YY_RULE_SETUP #line 81 "frame/ds9lex.L" {return FIELD_;} YY_BREAK case 37: YY_RULE_SETUP #line 82 "frame/ds9lex.L" {return FILL_;} YY_BREAK case 38: YY_RULE_SETUP #line 83 "frame/ds9lex.L" {return FIXED_;} YY_BREAK case 39: YY_RULE_SETUP #line 84 "frame/ds9lex.L" {return FK4_;} 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 FORMAT_;} YY_BREAK case 42: YY_RULE_SETUP #line 87 "frame/ds9lex.L" {return FONT_;} YY_BREAK case 43: YY_RULE_SETUP #line 88 "frame/ds9lex.L" {return GALACTIC_;} YY_BREAK case 44: YY_RULE_SETUP #line 89 "frame/ds9lex.L" {return GLOBAL_;} 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 TAG_;} YY_BREAK case 74: YY_RULE_SETUP #line 119 "frame/ds9lex.L" {return TEXT_;} YY_BREAK case 75: YY_RULE_SETUP #line 120 "frame/ds9lex.L" {return TEXTANGLE_;} YY_BREAK case 76: YY_RULE_SETUP #line 121 "frame/ds9lex.L" {return TEXTROTATE_;} YY_BREAK case 77: YY_RULE_SETUP #line 122 "frame/ds9lex.L" {return TILE_;} YY_BREAK case 78: YY_RULE_SETUP #line 123 "frame/ds9lex.L" {return TRUE_;} YY_BREAK case 79: YY_RULE_SETUP #line 124 "frame/ds9lex.L" {return VECTOR_;} YY_BREAK case 80: YY_RULE_SETUP #line 125 "frame/ds9lex.L" {return VERSION_;} YY_BREAK case 81: YY_RULE_SETUP #line 126 "frame/ds9lex.L" {return UPDATE_;} YY_BREAK case 82: YY_RULE_SETUP #line 127 "frame/ds9lex.L" {return UNHIGHLITE_;} YY_BREAK case 83: YY_RULE_SETUP #line 128 "frame/ds9lex.L" {return UNSELECT_;} YY_BREAK case 84: YY_RULE_SETUP #line 129 "frame/ds9lex.L" {return WCS_;} YY_BREAK case 85: YY_RULE_SETUP #line 130 "frame/ds9lex.L" {return WCSA_;} YY_BREAK case 86: YY_RULE_SETUP #line 131 "frame/ds9lex.L" {return WCSB_;} YY_BREAK case 87: YY_RULE_SETUP #line 132 "frame/ds9lex.L" {return WCSC_;} YY_BREAK case 88: YY_RULE_SETUP #line 133 "frame/ds9lex.L" {return WCSD_;} YY_BREAK case 89: YY_RULE_SETUP #line 134 "frame/ds9lex.L" {return WCSE_;} YY_BREAK case 90: YY_RULE_SETUP #line 135 "frame/ds9lex.L" {return WCSF_;} YY_BREAK case 91: YY_RULE_SETUP #line 136 "frame/ds9lex.L" {return WCSG_;} YY_BREAK case 92: YY_RULE_SETUP #line 137 "frame/ds9lex.L" {return WCSH_;} YY_BREAK case 93: YY_RULE_SETUP #line 138 "frame/ds9lex.L" {return WCSI_;} YY_BREAK case 94: YY_RULE_SETUP #line 139 "frame/ds9lex.L" {return WCSJ_;} YY_BREAK case 95: YY_RULE_SETUP #line 140 "frame/ds9lex.L" {return WCSK_;} YY_BREAK case 96: YY_RULE_SETUP #line 141 "frame/ds9lex.L" {return WCSL_;} YY_BREAK case 97: YY_RULE_SETUP #line 142 "frame/ds9lex.L" {return WCSM_;} YY_BREAK case 98: YY_RULE_SETUP #line 143 "frame/ds9lex.L" {return WCSN_;} YY_BREAK case 99: YY_RULE_SETUP #line 144 "frame/ds9lex.L" {return WCSO_;} YY_BREAK case 100: YY_RULE_SETUP #line 145 "frame/ds9lex.L" {return WCSP_;} YY_BREAK case 101: YY_RULE_SETUP #line 146 "frame/ds9lex.L" {return WCSQ_;} YY_BREAK case 102: YY_RULE_SETUP #line 147 "frame/ds9lex.L" {return WCSR_;} YY_BREAK case 103: YY_RULE_SETUP #line 148 "frame/ds9lex.L" {return WCSS_;} YY_BREAK case 104: YY_RULE_SETUP #line 149 "frame/ds9lex.L" {return WCST_;} YY_BREAK case 105: YY_RULE_SETUP #line 150 "frame/ds9lex.L" {return WCSU_;} YY_BREAK case 106: YY_RULE_SETUP #line 151 "frame/ds9lex.L" {return WCSV_;} YY_BREAK case 107: YY_RULE_SETUP #line 152 "frame/ds9lex.L" {return WCSW_;} YY_BREAK case 108: YY_RULE_SETUP #line 153 "frame/ds9lex.L" {return WCSX_;} YY_BREAK case 109: YY_RULE_SETUP #line 154 "frame/ds9lex.L" {return WCSY_;} YY_BREAK case 110: YY_RULE_SETUP #line 155 "frame/ds9lex.L" {return WCSZ_;} YY_BREAK case 111: YY_RULE_SETUP #line 156 "frame/ds9lex.L" {return WCS0_;} YY_BREAK case 112: YY_RULE_SETUP #line 157 "frame/ds9lex.L" {return WIDTH_;} YY_BREAK case 113: YY_RULE_SETUP #line 158 "frame/ds9lex.L" {return X_;} YY_BREAK case 114: YY_RULE_SETUP #line 159 "frame/ds9lex.L" {return Y_;} YY_BREAK case 115: YY_RULE_SETUP #line 160 "frame/ds9lex.L" {return YES_;} YY_BREAK case 116: YY_RULE_SETUP #line 163 "frame/ds9lex.L" { // Integer mklval->integer = atoi(yytext); return INT; } YY_BREAK case 117: #line 169 "frame/ds9lex.L" case 118: YY_RULE_SETUP #line 169 "frame/ds9lex.L" { // Real Number mklval->real = atof(yytext); return REAL; } YY_BREAK case 119: #line 175 "frame/ds9lex.L" case 120: YY_RULE_SETUP #line 175 "frame/ds9lex.L" { // degrees yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ANGDEGREE; } YY_BREAK case 121: #line 182 "frame/ds9lex.L" case 122: YY_RULE_SETUP #line 182 "frame/ds9lex.L" { // radians yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ANGRADIAN; } YY_BREAK case 123: #line 189 "frame/ds9lex.L" case 124: YY_RULE_SETUP #line 189 "frame/ds9lex.L" { // physical coords yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return PHYCOORD; } YY_BREAK case 125: #line 196 "frame/ds9lex.L" case 126: YY_RULE_SETUP #line 196 "frame/ds9lex.L" { // image coords yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return IMGCOORD; } YY_BREAK case 127: #line 203 "frame/ds9lex.L" case 128: #line 204 "frame/ds9lex.L" case 129: #line 205 "frame/ds9lex.L" case 130: YY_RULE_SETUP #line 205 "frame/ds9lex.L" { // minutes of arc yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ARCMINUTE; } YY_BREAK case 131: #line 212 "frame/ds9lex.L" case 132: #line 213 "frame/ds9lex.L" case 133: #line 214 "frame/ds9lex.L" case 134: YY_RULE_SETUP #line 214 "frame/ds9lex.L" { // seconds of arc yytext[yyleng-1] = '\0'; mklval->real = atof(yytext); return ARCSECOND; } YY_BREAK case 135: #line 221 "frame/ds9lex.L" case 136: YY_RULE_SETUP #line 221 "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 137: #line 229 "frame/ds9lex.L" case 138: YY_RULE_SETUP #line 229 "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 139: #line 237 "frame/ds9lex.L" case 140: YY_RULE_SETUP #line 237 "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 141: YY_RULE_SETUP #line 244 "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 142: YY_RULE_SETUP #line 251 "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 143: YY_RULE_SETUP #line 258 "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 144: #line 266 "frame/ds9lex.L" case 145: YY_RULE_SETUP #line 266 "frame/ds9lex.L" { // Quoted String int ll = (yyleng-2)<(MKBUFSIZE-1) ? (yyleng-2):(MKBUFSIZE-1); strncpy(mklval->str,yytext+1,ll); // skip the " " mklval->str[ll] = '\0'; // Remove the '"' return STRING; } YY_BREAK case 146: YY_RULE_SETUP #line 273 "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 280 "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 148: YY_RULE_SETUP #line 287 "frame/ds9lex.L" { // White Spaces } YY_BREAK case 149: /* rule 149 can match eol */ YY_RULE_SETUP #line 290 "frame/ds9lex.L" { // windows line feed return '\n'; } YY_BREAK case 150: YY_RULE_SETUP #line 294 "frame/ds9lex.L" { // fake line feed return '\n'; } YY_BREAK case 151: /* rule 151 can match eol */ YY_RULE_SETUP #line 298 "frame/ds9lex.L" { // linefeed return '\n'; } YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(DISCARD): #line 302 "frame/ds9lex.L" { // eof return EOF_; } YY_BREAK case 152: YY_RULE_SETUP #line 306 "frame/ds9lex.L" { // Else, return the char return yytext[0]; } YY_BREAK case 153: YY_RULE_SETUP #line 310 "frame/ds9lex.L" ECHO; YY_BREAK #line 2544 "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 >= 519 ) 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 >= 519 ) 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 == 518); 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 310 "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); }