diff options
Diffstat (limited to 'tksao/frame/ds9lex.C')
-rw-r--r-- | tksao/frame/ds9lex.C | 3488 |
1 files changed, 3488 insertions, 0 deletions
diff --git a/tksao/frame/ds9lex.C b/tksao/frame/ds9lex.C new file mode 100644 index 0000000..f856772 --- /dev/null +++ b/tksao/frame/ds9lex.C @@ -0,0 +1,3488 @@ +#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 <inttypes.h>. 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 <inttypes.h> +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 <iostream> +#include <errno.h> +#include <cstdlib> +#include <cstring> +/* 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 <FlexLexer.h> + +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[540] = + { 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, 54, 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, 147, 55, 147, 57, 147, 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, 33, 147, + 147, 147, 147, 37, 39, 147, 147, 147, 147, 147, + 147, 147, 147, 147, 147, 49, 147, 147, 56, 147, + + 147, 60, 147, 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, 22, 147, 147, 147, 147, 147, 147, 29, 147, + 147, 147, 147, 147, 0, 40, 147, 147, 147, 147, + 45, 147, 147, 147, 147, 51, 53, 147, 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, 21, 147, 24, 147, 147, 147, 147, 147, + 147, 147, 34, 35, 36, 0, 147, 147, 147, 147, + 147, 48, 147, 50, 147, 58, 147, 147, 62, 147, + 147, 147, 147, 147, 68, 147, 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, 147, 147, 20, + 147, 147, 26, 147, 147, 147, 147, 32, 0, 147, + 42, 147, 147, 46, 147, 52, 147, 61, 147, 147, + 147, 66, 67, 147, 69, 71, 147, 147, 147, 147, + 147, 81, 79, 147, 142, 139, 137, 140, 138, 147, + 4, 147, 147, 147, 147, 18, 147, 147, 25, 147, + 28, 147, 30, 0, 147, 147, 147, 47, 147, 63, + 147, 147, 70, 147, 147, 147, 147, 147, 80, 0, + 147, 147, 147, 14, 16, 147, 23, 27, 31, 38, + + 41, 147, 44, 59, 147, 65, 147, 147, 147, 147, + 83, 0, 3, 147, 12, 19, 147, 147, 147, 75, + 147, 147, 0, 9, 147, 64, 147, 76, 82, 0, + 147, 147, 0, 147, 147, 143, 43, 72, 0 + } ; + +static yyconst flex_int32_t yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 1, 5, 6, 1, 1, 1, 7, 1, + 1, 1, 8, 1, 9, 10, 1, 11, 12, 13, + 14, 15, 16, 17, 17, 17, 18, 19, 1, 1, + 1, 1, 1, 1, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 1, 46, 1, 1, 1, 1, 47, 48, 49, 50, + + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 1, 74, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static yyconst flex_int32_t yy_meta[75] = + { 0, + 1, 1, 2, 1, 3, 1, 3, 1, 1, 3, + 4, 4, 4, 4, 4, 4, 4, 4, 3, 4, + 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 1, 4, 4, 4, 4, + 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 1, 1 + } ; + +static yyconst flex_int16_t yy_base[558] = + { 0, + 0, 0, 181, 180, 179, 4306, 176, 4306, 167, 160, + 0, 156, 65, 73, 87, 102, 162, 213, 140, 273, + 331, 170, 211, 388, 113, 195, 201, 233, 266, 274, + 429, 166, 305, 306, 489, 364, 372, 406, 244, 426, + 80, 84, 0, 4306, 155, 4306, 151, 4306, 0, 148, + 4306, 456, 549, 609, 4306, 4306, 669, 729, 489, 337, + 789, 507, 516, 396, 425, 433, 536, 575, 804, 532, + 629, 635, 586, 648, 691, 695, 758, 708, 805, 716, + 864, 766, 815, 823, 830, 857, 840, 865, 892, 899, + 872, 914, 921, 929, 937, 947, 960, 954, 970, 989, + + 978, 997, 1005, 582, 1016, 684, 1026, 1032, 1045, 1051, + 1055, 1073, 1080, 1088, 1103, 1113, 1121, 1144, 1145, 1152, + 1162, 1172, 1183, 1191, 1202, 1221, 4306, 80, 4306, 0, + 0, 1250, 4306, 4306, 1264, 1276, 1287, 1295, 4306, 4306, + 4306, 4306, 4306, 4306, 1306, 4306, 4306, 4306, 4306, 1314, + 84, 1323, 1337, 1345, 1239, 1359, 1360, 1366, 1229, 1376, + 1377, 1402, 1383, 1384, 1430, 1429, 1403, 1440, 1448, 1461, + 1465, 1482, 1488, 1492, 1499, 1516, 1515, 1523, 1531, 1542, + 1550, 1558, 1575, 1557, 1585, 1586, 1593, 1601, 1614, 1624, + 1625, 1631, 1648, 1649, 1665, 1672, 1676, 1689, 1699, 1705, + + 1712, 1716, 1727, 1734, 1738, 1751, 1755, 1774, 1778, 1782, + 1807, 1811, 1817, 1824, 1835, 1841, 1842, 1848, 1859, 1870, + 1877, 1932, 1912, 1888, 0, 4306, 4306, 1994, 2016, 2024, + 1912, 2047, 2033, 2056, 2074, 2088, 2089, 2095, 2105, 2099, + 2120, 2127, 2144, 2150, 2160, 2154, 2177, 2181, 2187, 2204, + 2212, 2232, 2233, 2248, 2255, 2259, 2263, 2282, 1895, 2288, + 2295, 2306, 2324, 2330, 84, 2341, 2349, 2356, 2360, 2376, + 2377, 2383, 2394, 2404, 2405, 2412, 2420, 2430, 2436, 2447, + 2446, 2453, 2463, 2476, 2483, 2489, 2506, 2510, 2514, 2525, + 2521, 2532, 2549, 2557, 2568, 2576, 2583, 2593, 2601, 2594, + + 2609, 2625, 2626, 2632, 2633, 2643, 2650, 2654, 2658, 2665, + 2669, 2673, 2680, 2684, 2688, 2695, 2699, 2703, 2710, 2714, + 2718, 2725, 2729, 2733, 2740, 2744, 2748, 0, 2766, 2775, + 2002, 2793, 2064, 2802, 2783, 2811, 2825, 2826, 2832, 2836, + 2755, 2849, 2864, 2865, 2881, 2889, 2897, 2905, 2915, 2916, + 2932, 2933, 2950, 2954, 2958, 2969, 2979, 2980, 2995, 3003, + 3016, 3024, 3031, 3042, 3046, 85, 3053, 3057, 3063, 3070, + 3086, 3090, 3094, 3101, 3111, 3117, 3121, 3128, 3144, 3145, + 3152, 3162, 3173, 3177, 3181, 3197, 3198, 3204, 3208, 3226, + 3233, 3239, 3246, 3264, 3268, 3272, 3285, 0, 3306, 3324, + + 3296, 3334, 3342, 3352, 3367, 3380, 3388, 3368, 3403, 3404, + 3414, 3420, 3427, 3433, 3444, 3452, 3465, 3471, 3484, 3488, + 3492, 3503, 3509, 3510, 3527, 3528, 3535, 3548, 144, 3556, + 3555, 3571, 3575, 3582, 3593, 3597, 3603, 3614, 3620, 3621, + 3627, 3638, 3642, 3649, 3657, 3664, 3665, 3672, 3685, 3689, + 3695, 3711, 3721, 3722, 0, 4306, 4306, 4306, 4306, 3729, + 3747, 3751, 3755, 3762, 3766, 3783, 3789, 3790, 3796, 3807, + 3815, 3826, 3830, 101, 3847, 3853, 3854, 3860, 3875, 3876, + 3882, 3883, 3893, 3909, 3910, 3916, 3937, 3938, 3945, 0, + 3964, 3965, 3971, 3975, 3981, 3992, 3998, 4002, 4008, 4306, + + 4019, 4025, 4026, 4032, 4042, 4049, 4050, 4067, 4068, 4074, + 4085, 0, 4089, 4104, 4105, 4112, 4123, 4131, 4138, 4142, + 4146, 4162, 0, 4161, 4169, 4185, 4191, 4195, 4202, 0, + 4210, 4217, 0, 4218, 4234, 4306, 4241, 4242, 4306, 4283, + 4287, 144, 4291, 4293, 4297, 4301, 132, 129, 127, 126, + 125, 124, 123, 104, 92, 91, 89 + } ; + +static yyconst flex_int16_t yy_def[558] = + { 0, + 539, 1, 540, 540, 539, 539, 539, 539, 539, 541, + 542, 543, 539, 539, 544, 544, 544, 17, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 21, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 539, 545, 546, 539, 539, 539, 541, 539, 547, 543, + 539, 539, 539, 539, 539, 539, 539, 544, 539, 544, + 544, 61, 61, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 539, 545, 539, 546, + 548, 54, 539, 539, 57, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 61, 539, 61, 61, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 539, 544, 544, 549, 539, 539, 539, 539, 539, + 539, 539, 539, 61, 61, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 539, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 550, 539, 539, + 539, 539, 539, 61, 539, 61, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 539, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 551, 539, 539, + + 539, 539, 539, 539, 544, 539, 539, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 539, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 552, 539, 539, 539, 539, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 539, 544, 544, 544, 544, 544, 544, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 553, + 544, 544, 544, 544, 544, 544, 544, 544, 544, 539, + + 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 554, 544, 544, 544, 544, 544, 544, 544, 544, + 544, 544, 555, 544, 544, 544, 544, 544, 544, 556, + 544, 544, 557, 544, 544, 539, 544, 544, 0, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539 + } ; + +static yyconst flex_int16_t yy_nxt[4381] = + { 0, + 6, 7, 8, 9, 10, 11, 12, 13, 13, 14, + 15, 15, 15, 15, 15, 15, 15, 15, 6, 16, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 32, 41, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 32, 42, 6, 52, 53, 53, 53, 53, 53, + 53, 53, 53, 54, 54, 54, 54, 54, 54, 54, + 54, 55, 536, 56, 533, 530, 57, 58, 58, 58, + + 58, 58, 58, 58, 58, 59, 539, 523, 539, 61, + 62, 539, 127, 63, 64, 234, 366, 539, 429, 539, + 539, 65, 539, 66, 500, 100, 512, 490, 455, 398, + 328, 539, 225, 67, 68, 131, 61, 62, 69, 127, + 63, 64, 234, 366, 539, 429, 539, 49, 65, 539, + 66, 500, 474, 129, 51, 48, 45, 129, 539, 80, + 67, 68, 51, 81, 48, 69, 539, 82, 539, 46, + 539, 539, 539, 70, 539, 539, 539, 45, 539, 539, + 539, 71, 44, 44, 539, 72, 80, 539, 539, 92, + 81, 539, 539, 539, 82, 73, 74, 539, 539, 539, + + 93, 539, 539, 539, 539, 539, 539, 539, 71, 539, + 539, 539, 72, 539, 539, 539, 92, 539, 101, 539, + 539, 539, 73, 74, 60, 539, 539, 93, 102, 539, + 539, 539, 75, 539, 94, 539, 60, 539, 95, 539, + 76, 539, 539, 539, 539, 101, 77, 78, 539, 79, + 539, 539, 539, 539, 539, 102, 539, 539, 539, 75, + 539, 94, 539, 60, 539, 95, 103, 76, 539, 539, + 539, 539, 539, 77, 78, 539, 79, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 103, 83, 84, 539, 539, 105, 104, + + 539, 539, 539, 85, 539, 86, 106, 87, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 83, 84, 539, 539, 105, 104, 539, 539, 114, + 85, 539, 86, 106, 87, 539, 539, 539, 112, 115, + 539, 539, 539, 539, 113, 116, 539, 539, 539, 539, + 88, 539, 539, 539, 539, 539, 114, 539, 89, 539, + 90, 539, 539, 539, 91, 112, 115, 539, 539, 539, + 539, 113, 116, 539, 539, 539, 539, 88, 539, 539, + 539, 539, 539, 539, 539, 89, 539, 90, 539, 539, + 539, 91, 539, 539, 539, 123, 121, 539, 122, 539, + + 539, 539, 539, 539, 539, 539, 539, 539, 539, 96, + 539, 539, 539, 97, 539, 539, 539, 539, 539, 98, + 99, 539, 123, 121, 539, 122, 539, 124, 539, 539, + 539, 539, 539, 125, 539, 539, 96, 539, 539, 539, + 97, 539, 539, 539, 539, 539, 98, 99, 107, 126, + 539, 539, 539, 539, 124, 108, 109, 539, 60, 539, + 125, 539, 110, 539, 539, 111, 132, 132, 132, 132, + 132, 132, 132, 132, 539, 107, 126, 539, 539, 539, + 539, 539, 108, 109, 539, 60, 539, 539, 539, 110, + 539, 539, 111, 539, 539, 539, 539, 539, 539, 150, + + 150, 150, 150, 150, 150, 150, 150, 539, 117, 539, + 539, 539, 118, 539, 152, 152, 119, 153, 153, 153, + 153, 153, 153, 153, 153, 120, 154, 154, 154, 154, + 154, 154, 154, 154, 539, 117, 539, 539, 539, 118, + 539, 539, 539, 119, 539, 539, 539, 539, 539, 159, + 539, 539, 120, 133, 539, 134, 539, 539, 135, 53, + 53, 53, 53, 53, 53, 53, 53, 59, 539, 539, + 155, 136, 137, 539, 539, 138, 139, 539, 539, 539, + 539, 539, 539, 140, 539, 141, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 155, 136, 137, + + 539, 539, 138, 139, 539, 539, 539, 156, 539, 539, + 140, 539, 141, 142, 539, 143, 539, 539, 539, 54, + 54, 54, 54, 54, 54, 54, 54, 539, 162, 539, + 539, 144, 145, 539, 156, 539, 146, 539, 539, 539, + 539, 539, 539, 147, 539, 148, 539, 539, 539, 539, + 160, 539, 539, 539, 539, 162, 539, 539, 144, 145, + 161, 539, 539, 146, 539, 539, 539, 163, 539, 539, + 147, 539, 148, 55, 539, 56, 539, 160, 539, 54, + 54, 54, 54, 54, 54, 54, 54, 161, 539, 539, + 539, 149, 137, 539, 163, 539, 139, 539, 539, 539, + + 539, 539, 539, 140, 539, 141, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 149, 137, + 539, 164, 539, 139, 539, 539, 539, 168, 539, 539, + 140, 165, 141, 55, 539, 56, 539, 539, 57, 58, + 58, 58, 58, 58, 58, 58, 58, 59, 164, 539, + 539, 61, 62, 170, 168, 63, 64, 539, 165, 539, + 539, 539, 539, 65, 539, 66, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 61, 62, + 170, 539, 63, 64, 539, 175, 539, 539, 166, 167, + 65, 539, 66, 539, 539, 539, 539, 539, 539, 151, + + 151, 151, 151, 151, 151, 151, 151, 539, 539, 539, + 539, 539, 175, 539, 539, 166, 167, 539, 539, 539, + 539, 539, 539, 539, 539, 157, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 169, 539, + 158, 539, 539, 539, 539, 176, 539, 539, 539, 539, + 177, 539, 157, 539, 539, 539, 539, 539, 539, 180, + 178, 539, 539, 539, 539, 169, 539, 158, 539, 539, + 539, 539, 176, 539, 539, 539, 539, 177, 539, 179, + 539, 539, 539, 539, 171, 539, 180, 178, 539, 172, + 539, 539, 539, 539, 173, 181, 539, 539, 539, 539, + + 539, 539, 174, 539, 186, 539, 179, 539, 539, 539, + 539, 171, 539, 184, 185, 182, 172, 539, 539, 539, + 539, 173, 181, 539, 539, 539, 539, 539, 539, 174, + 539, 186, 539, 539, 183, 539, 539, 539, 539, 539, + 539, 539, 182, 539, 187, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 188, 539, 539, 539, 539, 189, + 539, 183, 190, 539, 539, 539, 539, 539, 539, 539, + 539, 187, 539, 193, 539, 539, 539, 539, 539, 539, + 539, 188, 539, 191, 539, 539, 189, 539, 539, 190, + 539, 194, 192, 539, 539, 539, 539, 539, 539, 195, + + 193, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 191, 539, 539, 539, 539, 539, 539, 539, 194, 192, + 539, 196, 539, 539, 539, 539, 539, 539, 539, 197, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 199, 539, 539, 539, 539, 198, 539, 539, 196, 539, + 539, 539, 539, 539, 539, 539, 197, 539, 200, 539, + 539, 539, 539, 539, 539, 539, 539, 199, 202, 539, + 539, 539, 198, 539, 539, 201, 539, 539, 204, 539, + 539, 205, 539, 539, 539, 200, 539, 203, 206, 539, + 539, 539, 539, 539, 539, 202, 539, 539, 539, 539, + + 539, 539, 201, 539, 539, 204, 539, 539, 205, 539, + 208, 207, 539, 209, 203, 206, 539, 539, 210, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 208, 207, 539, + 209, 539, 211, 539, 539, 210, 213, 212, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 211, + 539, 539, 539, 213, 212, 215, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 214, 539, 217, 539, + 539, 216, 539, 539, 219, 539, 539, 539, 539, 218, + + 539, 539, 215, 539, 220, 539, 539, 539, 539, 539, + 539, 539, 539, 214, 539, 217, 539, 539, 216, 221, + 539, 219, 539, 539, 223, 539, 218, 539, 222, 539, + 539, 220, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 241, 539, 221, 539, 539, 539, + 539, 223, 539, 539, 226, 222, 227, 539, 224, 539, + 132, 132, 132, 132, 132, 132, 132, 132, 133, 236, + 134, 539, 539, 539, 132, 132, 132, 132, 132, 132, + 132, 132, 539, 539, 539, 224, 228, 228, 228, 228, + 228, 228, 228, 228, 152, 152, 236, 229, 229, 229, + + 229, 229, 229, 229, 229, 230, 230, 230, 230, 230, + 230, 230, 230, 231, 231, 539, 232, 232, 232, 232, + 232, 232, 232, 232, 150, 150, 150, 150, 150, 150, + 150, 150, 233, 229, 229, 229, 229, 229, 229, 229, + 229, 133, 539, 134, 539, 539, 539, 153, 153, 153, + 153, 153, 153, 153, 153, 154, 154, 154, 154, 154, + 154, 154, 154, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 235, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 238, 539, 539, 539, 539, 539, 239, 237, 240, + + 539, 539, 539, 235, 243, 242, 539, 539, 539, 539, + 539, 539, 539, 539, 246, 245, 539, 539, 238, 539, + 539, 539, 539, 244, 239, 237, 240, 539, 539, 539, + 539, 243, 242, 539, 539, 539, 539, 249, 539, 539, + 539, 246, 245, 539, 539, 539, 539, 539, 539, 539, + 244, 247, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 248, 539, 249, 539, 539, 539, 539, 539, + 539, 539, 250, 539, 539, 539, 539, 539, 247, 539, + 539, 539, 539, 539, 539, 251, 539, 252, 539, 248, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 250, + + 539, 539, 539, 539, 253, 539, 539, 539, 539, 539, + 539, 255, 251, 539, 252, 256, 539, 539, 254, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 257, 253, 539, 539, 539, 539, 539, 539, 255, 539, + 539, 539, 256, 258, 539, 254, 539, 539, 539, 539, + 260, 539, 539, 259, 539, 539, 539, 257, 539, 539, + 539, 539, 539, 539, 539, 265, 539, 539, 539, 539, + 258, 539, 539, 539, 261, 539, 539, 260, 539, 539, + 259, 539, 539, 539, 539, 539, 539, 262, 263, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 264, 539, + + 539, 261, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 267, 539, 262, 263, 539, 539, 539, 539, + 539, 268, 539, 539, 266, 264, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 267, + 539, 269, 539, 539, 539, 539, 539, 539, 268, 539, + 270, 266, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 271, 539, 272, 539, 539, 539, 269, 539, + 539, 539, 539, 273, 539, 275, 539, 270, 539, 274, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 271, + 539, 272, 539, 539, 539, 539, 539, 539, 539, 276, + + 273, 539, 539, 539, 539, 539, 274, 539, 539, 539, + 539, 539, 277, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 276, 278, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 277, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 279, + 280, 539, 539, 539, 278, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 281, 539, 539, 539, + 539, 539, 539, 539, 285, 286, 279, 280, 539, 283, + 539, 282, 539, 539, 539, 284, 539, 539, 539, 539, + 539, 539, 539, 281, 539, 539, 539, 287, 539, 539, + + 539, 285, 286, 539, 539, 289, 283, 539, 282, 288, + 539, 539, 284, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 287, 539, 539, 539, 539, 539, + 539, 539, 289, 539, 291, 539, 288, 539, 539, 539, + 539, 539, 539, 290, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 293, 539, + 539, 291, 292, 539, 294, 539, 539, 539, 539, 295, + 290, 296, 539, 539, 539, 539, 539, 539, 297, 539, + 539, 539, 539, 539, 539, 293, 539, 539, 539, 292, + 539, 294, 539, 539, 539, 539, 295, 539, 296, 539, + + 539, 539, 539, 539, 539, 297, 539, 539, 298, 539, + 539, 539, 539, 539, 299, 539, 539, 539, 539, 539, + 539, 539, 232, 232, 232, 232, 232, 232, 232, 232, + 539, 539, 539, 539, 539, 298, 539, 539, 539, 539, + 539, 299, 300, 60, 60, 60, 60, 60, 60, 60, + 327, 301, 302, 303, 304, 305, 306, 307, 308, 309, + 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, + 320, 321, 322, 323, 324, 325, 326, 327, 301, 302, + 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, + 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, + + 323, 324, 325, 326, 228, 228, 228, 228, 228, 228, + 228, 228, 401, 401, 401, 401, 401, 401, 401, 401, + 133, 539, 134, 539, 539, 329, 229, 229, 229, 229, + 229, 229, 229, 229, 230, 230, 230, 230, 230, 230, + 230, 230, 331, 332, 332, 332, 332, 332, 332, 332, + 332, 226, 329, 227, 539, 330, 539, 232, 232, 232, + 232, 232, 232, 232, 232, 333, 334, 334, 334, 334, + 334, 334, 334, 334, 403, 403, 403, 403, 403, 403, + 403, 403, 330, 335, 336, 336, 336, 336, 336, 336, + 336, 336, 539, 539, 539, 539, 539, 539, 539, 539, + + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 337, 539, 539, 539, 338, + 539, 539, 339, 539, 539, 539, 539, 539, 340, 539, + 342, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 341, 539, 337, 539, 539, 539, 338, 539, 539, 339, + 539, 539, 343, 539, 539, 340, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 341, 539, 539, + 539, 539, 539, 539, 347, 539, 344, 345, 539, 343, + 539, 539, 346, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + + 539, 347, 539, 344, 345, 539, 350, 348, 539, 346, + 539, 539, 539, 539, 539, 539, 539, 349, 539, 539, + 351, 539, 539, 539, 539, 539, 352, 539, 539, 539, + 539, 539, 539, 350, 348, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 349, 539, 539, 351, 539, 353, + 539, 539, 539, 352, 539, 539, 539, 539, 355, 539, + 539, 539, 354, 539, 539, 539, 539, 539, 539, 539, + 539, 356, 539, 539, 539, 539, 353, 539, 539, 539, + 358, 539, 539, 539, 539, 355, 539, 539, 539, 354, + 539, 539, 539, 357, 539, 539, 359, 539, 356, 539, + + 539, 539, 539, 539, 539, 539, 539, 358, 539, 539, + 539, 539, 539, 539, 539, 539, 360, 362, 539, 539, + 357, 539, 361, 359, 539, 539, 539, 539, 539, 363, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 360, 362, 539, 364, 539, 539, 361, + 539, 539, 365, 539, 539, 539, 363, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 367, 539, 539, 364, 539, 368, 539, 539, 539, 365, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 369, 539, 539, 539, 367, 539, 539, + + 539, 539, 368, 539, 539, 539, 370, 539, 539, 539, + 539, 539, 539, 539, 539, 374, 539, 372, 539, 371, + 369, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 375, 539, 370, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 373, 372, 539, 371, 539, 539, 376, + 539, 539, 539, 539, 539, 539, 539, 539, 375, 539, + 539, 539, 539, 377, 539, 539, 539, 539, 539, 539, + 373, 539, 539, 539, 539, 539, 376, 378, 380, 539, + 539, 539, 539, 539, 379, 539, 381, 539, 539, 539, + 377, 539, 539, 539, 539, 539, 539, 539, 539, 382, + + 539, 539, 539, 539, 378, 380, 539, 539, 539, 539, + 539, 379, 539, 381, 539, 539, 539, 539, 539, 539, + 539, 383, 384, 539, 539, 539, 382, 539, 539, 539, + 539, 539, 539, 386, 539, 387, 539, 539, 539, 539, + 539, 539, 385, 539, 539, 539, 388, 539, 383, 384, + 539, 390, 539, 539, 539, 539, 539, 389, 539, 539, + 386, 539, 387, 539, 539, 539, 539, 539, 391, 385, + 539, 539, 539, 388, 539, 539, 539, 539, 390, 539, + 539, 539, 539, 539, 389, 539, 539, 539, 539, 539, + 539, 539, 539, 392, 539, 391, 539, 539, 539, 539, + + 539, 539, 539, 539, 539, 539, 393, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 392, 394, 539, 539, 539, 539, 395, 539, 396, 539, + 539, 539, 539, 393, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 394, 539, + 539, 539, 539, 395, 539, 396, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 397, 333, 399, 399, 399, 399, + 399, 399, 399, 399, 335, 400, 400, 400, 400, 400, + 400, 400, 400, 406, 406, 406, 406, 406, 406, 406, + + 406, 397, 402, 332, 332, 332, 332, 332, 332, 332, + 332, 404, 334, 334, 334, 334, 334, 334, 334, 334, + 407, 336, 336, 336, 336, 336, 336, 336, 336, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 405, + 539, 539, 539, 539, 539, 539, 539, 539, 408, 409, + 539, 539, 539, 539, 539, 539, 539, 412, 539, 539, + 539, 539, 539, 539, 411, 410, 405, 539, 539, 539, + 539, 539, 539, 539, 539, 408, 409, 539, 539, 539, + 539, 539, 539, 539, 412, 539, 539, 539, 539, 539, + 539, 411, 410, 539, 539, 539, 539, 539, 539, 539, + + 413, 539, 539, 539, 539, 539, 539, 539, 415, 539, + 539, 539, 539, 539, 539, 539, 416, 414, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 413, 417, 539, + 539, 539, 539, 539, 539, 415, 539, 539, 539, 539, + 539, 539, 539, 416, 414, 539, 539, 539, 539, 539, + 539, 539, 420, 418, 539, 417, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 419, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 420, + 418, 421, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 422, 539, 539, 539, 419, 539, 539, 539, + + 539, 539, 423, 539, 539, 539, 539, 539, 421, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 424, 422, + 539, 539, 539, 539, 539, 539, 539, 425, 539, 423, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 426, 539, 428, 539, 424, 539, 539, 539, 539, + 539, 539, 539, 427, 425, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 426, 539, + 428, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 427, 539, 539, 539, 539, 539, 432, 431, 539, 539, + 539, 430, 539, 539, 539, 539, 539, 433, 539, 539, + + 539, 539, 539, 539, 539, 539, 539, 539, 539, 434, + 539, 539, 539, 432, 431, 539, 435, 539, 430, 539, + 539, 539, 539, 539, 433, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 434, 539, 539, 539, + 539, 539, 437, 435, 539, 539, 539, 436, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 438, 539, 539, 539, 437, + 539, 539, 539, 440, 436, 539, 539, 539, 439, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 438, 539, 539, 539, 442, 539, 441, 539, + + 440, 539, 539, 539, 539, 439, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 443, + 539, 539, 539, 442, 539, 441, 539, 446, 539, 444, + 539, 539, 539, 447, 539, 539, 445, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 443, 539, 539, 539, + 539, 539, 539, 539, 446, 539, 444, 539, 448, 539, + 447, 539, 539, 445, 539, 450, 449, 539, 539, 451, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 448, 539, 452, 539, 539, + 539, 539, 450, 449, 539, 539, 451, 539, 539, 539, + + 539, 539, 539, 539, 453, 454, 401, 401, 401, 401, + 401, 401, 401, 401, 452, 404, 399, 399, 399, 399, + 399, 399, 399, 399, 539, 539, 539, 539, 539, 539, + 539, 453, 454, 407, 400, 400, 400, 400, 400, 400, + 400, 400, 539, 456, 401, 401, 401, 401, 401, 401, + 401, 401, 403, 403, 403, 403, 403, 403, 403, 403, + 539, 457, 403, 403, 403, 403, 403, 403, 403, 403, + 456, 539, 539, 539, 539, 539, 539, 539, 539, 458, + 539, 539, 539, 539, 539, 539, 539, 539, 457, 456, + 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, + + 406, 406, 406, 406, 406, 406, 458, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 456, 459, 539, 539, + 539, 539, 539, 539, 539, 457, 539, 539, 539, 539, + 460, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 461, 539, 539, 459, 539, 539, 539, 539, 539, + 539, 539, 457, 539, 463, 539, 539, 460, 539, 539, + 462, 539, 539, 539, 539, 539, 539, 539, 461, 539, + 539, 539, 539, 464, 539, 539, 539, 539, 465, 539, + 539, 463, 539, 539, 539, 539, 539, 462, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + + 464, 539, 539, 539, 539, 539, 539, 539, 466, 539, + 539, 467, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 468, + 539, 539, 539, 539, 539, 466, 539, 539, 467, 539, + 469, 539, 539, 470, 539, 539, 539, 539, 539, 471, + 539, 539, 539, 539, 539, 472, 468, 539, 473, 539, + 539, 539, 539, 539, 539, 539, 539, 469, 539, 539, + 470, 539, 539, 539, 539, 539, 471, 539, 539, 539, + 539, 539, 472, 475, 539, 473, 539, 539, 539, 539, + 539, 539, 476, 539, 539, 539, 539, 539, 539, 539, + + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 475, 539, 539, 477, 539, 539, 478, 539, 539, 476, + 539, 539, 479, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 477, 539, 539, 478, 539, 539, 539, 539, 539, 479, + 539, 539, 480, 539, 539, 539, 539, 539, 539, 481, + 539, 539, 539, 539, 539, 482, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 480, + 539, 539, 539, 539, 484, 539, 481, 483, 539, 539, + 539, 539, 482, 539, 539, 539, 539, 485, 539, 539, + + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 484, 539, 539, 483, 539, 488, 539, 539, 487, + 539, 539, 539, 486, 485, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 488, 539, 539, 487, 539, 539, 539, + 486, 539, 491, 539, 489, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 491, + 539, 489, 539, 539, 539, 493, 539, 539, 495, 539, + 492, 494, 539, 539, 539, 539, 539, 539, 539, 539, + + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 493, 539, 539, 495, 539, 492, 494, 539, + 539, 539, 539, 539, 539, 539, 539, 496, 497, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 498, 539, 539, 539, 499, 539, 539, + 539, 539, 539, 539, 496, 497, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 501, 539, + 498, 539, 539, 539, 499, 539, 539, 503, 539, 539, + 539, 539, 539, 502, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 501, 539, 539, 539, 539, + + 539, 539, 539, 539, 503, 504, 539, 539, 539, 505, + 502, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 506, 539, 539, 539, + 539, 539, 504, 539, 539, 509, 505, 539, 539, 507, + 508, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 506, 539, 539, 539, 539, 539, 539, + 539, 539, 509, 539, 510, 539, 507, 508, 539, 539, + 539, 539, 539, 539, 539, 539, 511, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 510, 539, 539, 515, 539, 539, 514, 539, 539, + + 513, 539, 539, 511, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 516, 539, 539, 539, 539, + 539, 515, 539, 539, 514, 539, 539, 513, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 516, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 517, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 519, + 539, 539, 539, 539, 539, 518, 539, 539, 539, 517, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 520, 539, 539, 539, 539, 539, 519, 539, 539, 539, + + 539, 539, 518, 539, 539, 539, 521, 539, 539, 539, + 539, 539, 522, 539, 539, 539, 539, 520, 539, 539, + 539, 539, 539, 539, 539, 539, 524, 539, 539, 539, + 539, 539, 539, 521, 539, 539, 539, 539, 539, 522, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 524, 539, 539, 539, 525, 539, 527, + 539, 539, 539, 526, 539, 539, 539, 539, 539, 528, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 525, 529, 527, 539, 539, 539, + 526, 539, 539, 539, 539, 539, 528, 539, 539, 539, + + 539, 539, 539, 539, 539, 539, 539, 531, 539, 539, + 539, 539, 529, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 532, + 539, 539, 539, 539, 531, 539, 539, 534, 539, 537, + 539, 539, 539, 539, 535, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 538, 532, 539, 539, 539, + 539, 539, 539, 539, 534, 539, 537, 539, 539, 539, + 539, 535, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 538, 43, 43, 43, 43, 47, 539, 47, + 47, 50, 539, 50, 50, 60, 60, 128, 539, 128, + + 128, 130, 539, 130, 130, 5, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539 + } ; + +static yyconst flex_int16_t yy_chk[4381] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, + 14, 15, 557, 15, 556, 555, 15, 15, 15, 15, + + 15, 15, 15, 15, 15, 15, 16, 554, 16, 15, + 15, 16, 41, 15, 15, 151, 265, 25, 366, 25, + 16, 15, 25, 15, 474, 25, 553, 552, 551, 550, + 549, 25, 548, 16, 16, 547, 15, 15, 16, 41, + 15, 15, 151, 265, 19, 366, 19, 542, 15, 19, + 15, 474, 429, 128, 50, 47, 45, 42, 19, 19, + 16, 16, 12, 19, 10, 16, 17, 19, 17, 9, + 32, 17, 32, 17, 22, 32, 22, 7, 5, 22, + 17, 17, 4, 3, 32, 17, 19, 0, 22, 22, + 19, 0, 0, 0, 19, 17, 17, 0, 0, 26, + + 22, 26, 0, 0, 26, 27, 0, 27, 17, 0, + 27, 0, 17, 26, 0, 23, 22, 23, 26, 27, + 23, 0, 17, 17, 18, 0, 0, 22, 27, 23, + 0, 0, 18, 0, 23, 0, 18, 28, 23, 28, + 18, 0, 28, 0, 0, 26, 18, 18, 39, 18, + 39, 28, 0, 39, 0, 27, 0, 0, 0, 18, + 0, 23, 39, 18, 0, 23, 28, 18, 0, 0, + 29, 0, 29, 18, 18, 29, 18, 20, 30, 20, + 30, 0, 20, 30, 29, 0, 0, 0, 0, 0, + 0, 20, 30, 28, 20, 20, 0, 0, 30, 29, + + 0, 0, 0, 20, 0, 20, 30, 20, 0, 33, + 34, 33, 34, 0, 33, 34, 0, 0, 0, 0, + 0, 20, 20, 33, 34, 30, 29, 0, 0, 34, + 20, 0, 20, 30, 20, 21, 0, 21, 33, 34, + 21, 60, 0, 60, 33, 34, 60, 0, 0, 21, + 21, 0, 0, 0, 0, 60, 34, 0, 21, 0, + 21, 0, 0, 0, 21, 33, 34, 0, 36, 0, + 36, 33, 34, 36, 0, 0, 37, 21, 37, 0, + 0, 37, 36, 0, 0, 21, 0, 21, 0, 0, + 37, 21, 24, 0, 24, 37, 36, 24, 36, 0, + + 64, 0, 64, 0, 0, 64, 24, 0, 0, 24, + 38, 0, 38, 24, 64, 38, 0, 0, 0, 24, + 24, 0, 37, 36, 38, 36, 0, 38, 0, 65, + 40, 65, 40, 38, 65, 40, 24, 66, 0, 66, + 24, 0, 66, 65, 40, 0, 24, 24, 31, 40, + 0, 66, 0, 0, 38, 31, 31, 0, 31, 0, + 38, 0, 31, 0, 0, 31, 52, 52, 52, 52, + 52, 52, 52, 52, 0, 31, 40, 0, 0, 0, + 0, 0, 31, 31, 0, 31, 0, 0, 0, 31, + 0, 0, 31, 35, 0, 35, 0, 0, 35, 59, + + 59, 59, 59, 59, 59, 59, 59, 35, 35, 0, + 0, 0, 35, 0, 62, 62, 35, 62, 62, 62, + 62, 62, 62, 62, 62, 35, 63, 63, 63, 63, + 63, 63, 63, 63, 0, 35, 70, 0, 70, 35, + 67, 70, 67, 35, 0, 67, 0, 0, 0, 70, + 70, 0, 35, 53, 67, 53, 0, 0, 53, 53, + 53, 53, 53, 53, 53, 53, 53, 53, 0, 0, + 67, 53, 53, 0, 0, 53, 53, 0, 0, 68, + 0, 68, 0, 53, 68, 53, 104, 0, 104, 0, + 73, 104, 73, 68, 0, 73, 0, 67, 53, 53, + + 104, 0, 53, 53, 73, 0, 0, 68, 0, 0, + 53, 0, 53, 54, 0, 54, 0, 0, 0, 54, + 54, 54, 54, 54, 54, 54, 54, 0, 73, 0, + 0, 54, 54, 71, 68, 71, 54, 0, 71, 72, + 0, 72, 0, 54, 72, 54, 0, 71, 0, 0, + 71, 0, 74, 72, 74, 73, 0, 74, 54, 54, + 72, 0, 0, 54, 0, 0, 74, 74, 0, 0, + 54, 0, 54, 57, 0, 57, 0, 71, 0, 57, + 57, 57, 57, 57, 57, 57, 57, 72, 106, 0, + 106, 57, 57, 106, 74, 75, 57, 75, 0, 76, + + 75, 76, 106, 57, 76, 57, 0, 0, 0, 75, + 0, 0, 78, 76, 78, 0, 0, 78, 57, 57, + 80, 75, 80, 57, 0, 80, 78, 78, 0, 0, + 57, 76, 57, 58, 80, 58, 0, 0, 58, 58, + 58, 58, 58, 58, 58, 58, 58, 58, 75, 0, + 0, 58, 58, 80, 78, 58, 58, 0, 76, 0, + 0, 0, 77, 58, 77, 58, 0, 77, 0, 0, + 82, 0, 82, 0, 0, 82, 77, 0, 58, 58, + 80, 0, 58, 58, 82, 82, 0, 0, 77, 77, + 58, 0, 58, 61, 0, 61, 0, 0, 61, 61, + + 61, 61, 61, 61, 61, 61, 61, 61, 69, 79, + 69, 79, 82, 69, 79, 77, 77, 0, 0, 83, + 0, 83, 69, 79, 83, 69, 0, 84, 0, 84, + 0, 0, 84, 83, 85, 0, 85, 0, 79, 85, + 69, 84, 0, 0, 87, 83, 87, 0, 85, 87, + 84, 0, 69, 0, 0, 0, 0, 0, 87, 87, + 85, 86, 0, 86, 0, 79, 86, 69, 81, 88, + 81, 88, 83, 81, 88, 86, 91, 84, 91, 86, + 0, 91, 81, 88, 81, 0, 87, 85, 0, 81, + 91, 0, 0, 0, 81, 88, 89, 0, 89, 0, + + 0, 89, 81, 90, 91, 90, 86, 0, 90, 0, + 89, 81, 0, 90, 90, 89, 81, 90, 92, 0, + 92, 81, 88, 92, 0, 93, 0, 93, 0, 81, + 93, 91, 92, 94, 89, 94, 0, 0, 94, 93, + 0, 95, 89, 95, 92, 0, 95, 94, 0, 0, + 0, 96, 0, 96, 93, 95, 96, 0, 98, 94, + 98, 89, 95, 98, 97, 96, 97, 0, 0, 97, + 0, 92, 98, 98, 99, 0, 99, 0, 97, 99, + 0, 93, 101, 96, 101, 0, 94, 101, 99, 95, + 0, 99, 97, 100, 0, 100, 101, 0, 100, 100, + + 98, 102, 0, 102, 0, 0, 102, 100, 0, 103, + 96, 103, 0, 0, 103, 102, 0, 0, 99, 97, + 105, 101, 105, 103, 0, 105, 0, 0, 0, 102, + 107, 0, 107, 0, 105, 107, 108, 0, 108, 0, + 105, 108, 0, 0, 107, 103, 0, 0, 101, 109, + 108, 109, 0, 0, 109, 110, 102, 110, 107, 111, + 110, 111, 0, 109, 111, 0, 0, 105, 109, 110, + 0, 0, 103, 111, 0, 108, 0, 112, 110, 112, + 0, 110, 112, 0, 113, 107, 113, 109, 111, 113, + 0, 112, 114, 0, 114, 109, 0, 114, 113, 0, + + 0, 0, 108, 0, 0, 110, 114, 115, 110, 115, + 113, 112, 115, 114, 109, 111, 0, 116, 114, 116, + 0, 115, 116, 0, 0, 117, 0, 117, 0, 0, + 117, 116, 0, 0, 0, 0, 0, 113, 112, 117, + 114, 0, 115, 0, 0, 114, 117, 116, 118, 119, + 118, 119, 0, 118, 119, 0, 120, 0, 120, 0, + 0, 120, 118, 119, 0, 0, 121, 0, 121, 115, + 120, 121, 0, 117, 116, 119, 122, 0, 122, 0, + 121, 122, 0, 0, 0, 0, 118, 123, 121, 123, + 122, 120, 123, 0, 122, 124, 0, 124, 0, 121, + + 124, 123, 119, 0, 123, 0, 125, 0, 125, 124, + 0, 125, 0, 118, 0, 121, 0, 0, 120, 123, + 125, 122, 0, 0, 125, 126, 121, 126, 124, 0, + 126, 123, 0, 159, 0, 159, 0, 0, 159, 126, + 0, 0, 0, 155, 159, 155, 123, 159, 155, 0, + 0, 125, 0, 0, 132, 124, 132, 155, 126, 0, + 132, 132, 132, 132, 132, 132, 132, 132, 135, 155, + 135, 0, 0, 0, 135, 135, 135, 135, 135, 135, + 135, 135, 0, 0, 0, 126, 136, 136, 136, 136, + 136, 136, 136, 136, 137, 137, 155, 137, 137, 137, + + 137, 137, 137, 137, 137, 138, 138, 138, 138, 138, + 138, 138, 138, 145, 145, 0, 145, 145, 145, 145, + 145, 145, 145, 145, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 152, 152, 152, 152, 152, 152, 152, + 152, 153, 0, 153, 0, 0, 0, 153, 153, 153, + 153, 153, 153, 153, 153, 154, 154, 154, 154, 154, + 154, 154, 154, 156, 157, 156, 157, 0, 156, 157, + 158, 0, 158, 0, 0, 158, 154, 156, 157, 0, + 160, 161, 160, 161, 158, 160, 161, 163, 164, 163, + 164, 157, 163, 164, 160, 161, 0, 157, 156, 158, + + 0, 163, 164, 154, 161, 160, 162, 167, 162, 167, + 0, 162, 167, 0, 164, 163, 0, 0, 157, 0, + 162, 167, 0, 162, 157, 156, 158, 0, 0, 0, + 0, 161, 160, 166, 165, 166, 165, 167, 166, 165, + 0, 164, 163, 0, 168, 0, 168, 166, 165, 168, + 162, 165, 169, 0, 169, 0, 0, 169, 168, 0, + 0, 0, 166, 0, 167, 170, 169, 170, 0, 171, + 170, 171, 168, 0, 171, 0, 0, 0, 165, 170, + 0, 0, 0, 171, 0, 169, 172, 170, 172, 166, + 0, 172, 173, 0, 173, 0, 174, 173, 174, 168, + + 172, 174, 0, 175, 171, 175, 173, 0, 175, 0, + 174, 173, 169, 0, 170, 174, 0, 175, 172, 177, + 176, 177, 176, 0, 177, 176, 0, 178, 0, 178, + 175, 171, 178, 177, 176, 179, 0, 179, 173, 0, + 179, 178, 174, 176, 0, 172, 180, 0, 180, 179, + 178, 180, 0, 177, 181, 0, 181, 175, 0, 181, + 180, 184, 182, 184, 182, 184, 184, 182, 181, 0, + 176, 0, 0, 0, 180, 184, 182, 178, 0, 183, + 177, 183, 0, 0, 183, 0, 0, 181, 182, 185, + 186, 185, 186, 183, 185, 186, 0, 187, 183, 187, + + 0, 180, 187, 185, 186, 188, 0, 188, 0, 0, + 188, 187, 187, 0, 181, 182, 0, 0, 189, 188, + 189, 188, 0, 189, 186, 183, 0, 0, 190, 191, + 190, 191, 189, 190, 191, 192, 0, 192, 0, 187, + 192, 189, 190, 191, 0, 0, 0, 0, 188, 192, + 190, 186, 193, 194, 193, 194, 0, 193, 194, 0, + 0, 0, 191, 0, 192, 0, 193, 194, 189, 195, + 0, 195, 0, 193, 195, 195, 196, 190, 196, 194, + 197, 196, 197, 195, 0, 197, 0, 0, 0, 191, + 196, 192, 0, 198, 197, 198, 0, 0, 198, 197, + + 193, 0, 0, 199, 0, 199, 194, 198, 199, 200, + 0, 200, 198, 0, 200, 0, 201, 199, 201, 0, + 202, 201, 202, 200, 0, 202, 197, 200, 0, 0, + 201, 203, 0, 203, 202, 0, 203, 0, 204, 198, + 204, 0, 205, 204, 205, 203, 0, 205, 0, 201, + 203, 0, 204, 0, 200, 206, 205, 206, 0, 207, + 206, 207, 0, 0, 207, 0, 204, 0, 0, 206, + 0, 0, 0, 207, 207, 207, 201, 203, 208, 206, + 208, 205, 209, 208, 209, 206, 210, 209, 210, 0, + 0, 210, 208, 204, 0, 0, 209, 208, 0, 0, + + 210, 207, 207, 0, 0, 210, 206, 0, 205, 209, + 0, 211, 206, 211, 0, 212, 211, 212, 0, 0, + 212, 213, 0, 213, 208, 211, 213, 0, 214, 212, + 214, 0, 210, 214, 212, 213, 209, 0, 0, 215, + 0, 215, 214, 211, 215, 216, 217, 216, 217, 0, + 216, 217, 218, 215, 218, 0, 0, 218, 215, 216, + 217, 212, 214, 219, 216, 219, 218, 0, 219, 217, + 211, 218, 0, 0, 220, 0, 220, 219, 219, 220, + 0, 221, 0, 221, 0, 215, 221, 0, 220, 214, + 0, 216, 224, 0, 224, 221, 217, 224, 218, 259, + + 0, 259, 0, 0, 259, 219, 224, 0, 220, 0, + 0, 0, 0, 259, 221, 0, 223, 0, 223, 0, + 0, 223, 231, 231, 231, 231, 231, 231, 231, 231, + 223, 0, 0, 0, 0, 220, 0, 0, 0, 0, + 0, 221, 222, 222, 222, 222, 222, 222, 222, 222, + 223, 222, 222, 222, 222, 222, 222, 222, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 223, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, + + 222, 222, 222, 222, 228, 228, 228, 228, 228, 228, + 228, 228, 331, 331, 331, 331, 331, 331, 331, 331, + 229, 0, 229, 0, 0, 228, 229, 229, 229, 229, + 229, 229, 229, 229, 230, 230, 230, 230, 230, 230, + 230, 230, 233, 233, 233, 233, 233, 233, 233, 233, + 233, 232, 228, 232, 0, 230, 0, 232, 232, 232, + 232, 232, 232, 232, 232, 234, 234, 234, 234, 234, + 234, 234, 234, 234, 333, 333, 333, 333, 333, 333, + 333, 333, 230, 235, 235, 235, 235, 235, 235, 235, + 235, 235, 236, 237, 236, 237, 0, 236, 237, 238, + + 0, 238, 0, 240, 238, 240, 236, 237, 240, 239, + 0, 239, 0, 238, 239, 236, 0, 240, 0, 237, + 0, 0, 238, 239, 241, 0, 241, 0, 239, 241, + 241, 242, 0, 242, 0, 0, 242, 0, 241, 0, + 240, 0, 236, 0, 0, 242, 237, 0, 243, 238, + 243, 0, 242, 243, 244, 239, 244, 0, 246, 244, + 246, 0, 243, 246, 245, 0, 245, 240, 244, 245, + 0, 0, 246, 0, 246, 0, 243, 244, 245, 242, + 0, 247, 245, 247, 0, 248, 247, 248, 0, 0, + 248, 249, 0, 249, 0, 247, 249, 0, 0, 248, + + 0, 246, 0, 243, 244, 249, 249, 247, 250, 245, + 250, 0, 0, 250, 0, 0, 251, 248, 251, 0, + 249, 251, 250, 0, 0, 0, 250, 0, 0, 0, + 251, 0, 0, 249, 247, 0, 252, 253, 252, 253, + 0, 252, 253, 0, 248, 0, 0, 249, 0, 251, + 252, 253, 254, 250, 254, 0, 0, 254, 253, 255, + 0, 255, 252, 256, 255, 256, 254, 257, 256, 257, + 0, 254, 257, 255, 0, 0, 251, 256, 0, 0, + 256, 257, 0, 0, 0, 253, 258, 0, 258, 252, + 0, 258, 260, 255, 260, 0, 257, 260, 254, 261, + + 258, 261, 0, 0, 261, 0, 260, 256, 0, 0, + 262, 0, 262, 261, 0, 262, 258, 261, 0, 0, + 255, 0, 260, 257, 262, 0, 0, 0, 263, 262, + 263, 0, 0, 263, 264, 0, 264, 0, 0, 264, + 0, 0, 263, 258, 261, 266, 263, 266, 264, 260, + 266, 0, 264, 267, 0, 267, 262, 0, 267, 266, + 268, 0, 268, 0, 269, 268, 269, 267, 0, 269, + 267, 0, 0, 263, 268, 268, 0, 0, 269, 264, + 270, 271, 270, 271, 0, 270, 271, 272, 0, 272, + 0, 0, 272, 269, 270, 271, 0, 267, 273, 0, + + 273, 272, 268, 273, 0, 0, 270, 0, 274, 275, + 274, 275, 273, 274, 275, 275, 276, 273, 276, 272, + 269, 276, 274, 275, 277, 0, 277, 0, 0, 277, + 276, 276, 0, 270, 278, 0, 278, 0, 277, 278, + 279, 0, 279, 274, 273, 279, 272, 0, 278, 278, + 281, 280, 281, 280, 279, 281, 280, 282, 276, 282, + 0, 0, 282, 279, 281, 280, 0, 283, 0, 283, + 274, 282, 283, 0, 0, 0, 278, 280, 282, 0, + 284, 283, 284, 0, 281, 284, 283, 285, 0, 285, + 279, 0, 285, 286, 284, 286, 0, 0, 286, 284, + + 0, 285, 0, 0, 280, 282, 0, 286, 0, 0, + 287, 281, 287, 283, 288, 287, 288, 0, 289, 288, + 289, 285, 286, 289, 287, 291, 284, 291, 288, 290, + 291, 290, 289, 288, 290, 289, 292, 0, 292, 291, + 0, 292, 287, 290, 0, 0, 290, 0, 285, 286, + 292, 292, 0, 293, 0, 293, 0, 291, 293, 0, + 288, 294, 289, 294, 0, 0, 294, 293, 292, 287, + 0, 0, 295, 290, 295, 294, 0, 295, 292, 0, + 296, 0, 296, 0, 291, 296, 295, 297, 0, 297, + 0, 0, 297, 295, 296, 292, 0, 298, 300, 298, + + 300, 297, 298, 300, 0, 299, 296, 299, 0, 0, + 299, 298, 300, 301, 0, 301, 0, 0, 301, 299, + 295, 297, 0, 0, 0, 0, 298, 301, 299, 302, + 303, 302, 303, 296, 302, 303, 304, 305, 304, 305, + 0, 304, 305, 302, 303, 0, 0, 306, 297, 306, + 304, 305, 306, 298, 307, 299, 307, 0, 308, 307, + 308, 306, 309, 308, 309, 0, 0, 309, 307, 310, + 0, 310, 308, 311, 310, 311, 309, 312, 311, 312, + 0, 0, 312, 310, 313, 0, 313, 311, 314, 313, + 314, 312, 315, 314, 315, 0, 0, 315, 313, 316, + + 0, 316, 314, 317, 316, 317, 315, 318, 317, 318, + 0, 0, 318, 316, 319, 0, 319, 317, 320, 319, + 320, 318, 321, 320, 321, 0, 0, 321, 319, 322, + 0, 322, 320, 323, 322, 323, 321, 324, 323, 324, + 0, 0, 324, 322, 325, 0, 325, 323, 326, 325, + 326, 324, 327, 326, 327, 0, 0, 327, 325, 341, + 0, 341, 326, 0, 341, 0, 327, 0, 0, 0, + 0, 0, 0, 341, 327, 329, 329, 329, 329, 329, + 329, 329, 329, 329, 330, 330, 330, 330, 330, 330, + 330, 330, 330, 335, 335, 335, 335, 335, 335, 335, + + 335, 327, 332, 332, 332, 332, 332, 332, 332, 332, + 332, 334, 334, 334, 334, 334, 334, 334, 334, 334, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 337, + 338, 337, 338, 0, 337, 338, 339, 0, 339, 334, + 340, 339, 340, 337, 338, 340, 0, 0, 336, 337, + 339, 0, 0, 342, 340, 342, 0, 340, 342, 0, + 0, 0, 0, 0, 339, 338, 334, 342, 343, 344, + 343, 344, 0, 343, 344, 336, 337, 0, 0, 0, + 0, 0, 343, 344, 340, 345, 0, 345, 0, 0, + 345, 339, 338, 346, 0, 346, 0, 0, 346, 345, + + 343, 347, 0, 347, 0, 0, 347, 346, 346, 348, + 0, 348, 0, 0, 348, 347, 347, 345, 0, 349, + 350, 349, 350, 348, 349, 350, 0, 343, 348, 0, + 0, 0, 0, 349, 350, 346, 351, 352, 351, 352, + 0, 351, 352, 347, 345, 0, 0, 0, 0, 0, + 351, 352, 352, 350, 353, 348, 353, 0, 354, 353, + 354, 0, 355, 354, 355, 0, 0, 355, 353, 351, + 0, 0, 354, 356, 0, 356, 355, 0, 356, 352, + 350, 354, 0, 357, 358, 357, 358, 356, 357, 358, + 0, 0, 356, 0, 0, 0, 351, 357, 358, 359, + + 0, 359, 357, 0, 359, 0, 0, 360, 354, 360, + 0, 0, 360, 359, 0, 0, 0, 0, 358, 356, + 361, 360, 361, 0, 0, 361, 0, 359, 362, 357, + 362, 0, 0, 362, 361, 363, 0, 363, 0, 0, + 363, 360, 362, 362, 0, 358, 364, 0, 364, 363, + 365, 364, 365, 361, 359, 365, 0, 367, 0, 367, + 364, 368, 367, 368, 365, 0, 368, 369, 360, 369, + 362, 367, 369, 0, 370, 368, 370, 0, 0, 370, + 361, 369, 0, 0, 0, 0, 369, 368, 370, 0, + 371, 367, 371, 0, 372, 371, 372, 370, 373, 372, + + 373, 0, 0, 373, 371, 374, 0, 374, 372, 371, + 374, 0, 373, 369, 368, 375, 373, 375, 367, 374, + 375, 376, 0, 376, 370, 377, 376, 377, 0, 375, + 377, 0, 378, 0, 378, 376, 371, 378, 0, 377, + 0, 0, 377, 373, 0, 0, 378, 375, 379, 380, + 379, 380, 0, 379, 380, 0, 381, 0, 381, 0, + 0, 381, 379, 380, 0, 378, 382, 0, 382, 377, + 381, 382, 0, 381, 375, 0, 0, 383, 380, 383, + 382, 384, 383, 384, 0, 385, 384, 385, 0, 0, + 385, 383, 378, 0, 0, 384, 383, 0, 382, 385, + + 381, 386, 387, 386, 387, 380, 386, 387, 388, 0, + 388, 0, 389, 388, 389, 386, 387, 389, 0, 384, + 0, 0, 388, 383, 0, 382, 389, 388, 0, 386, + 390, 0, 390, 389, 0, 390, 387, 391, 0, 391, + 0, 0, 391, 392, 390, 392, 384, 0, 392, 0, + 393, 391, 393, 0, 388, 393, 386, 392, 390, 0, + 389, 0, 0, 387, 393, 392, 391, 0, 394, 393, + 394, 0, 395, 394, 395, 0, 396, 395, 396, 0, + 0, 396, 394, 0, 0, 390, 395, 394, 0, 397, + 396, 397, 392, 391, 397, 0, 393, 0, 0, 0, + + 0, 0, 0, 397, 395, 396, 401, 401, 401, 401, + 401, 401, 401, 401, 394, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 0, 0, 0, 0, 0, 0, + 0, 395, 396, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 0, 399, 402, 402, 402, 402, 402, 402, + 402, 402, 403, 403, 403, 403, 403, 403, 403, 403, + 0, 400, 404, 404, 404, 404, 404, 404, 404, 404, + 399, 405, 408, 405, 408, 0, 405, 408, 0, 403, + 0, 0, 0, 0, 0, 405, 408, 0, 400, 404, + 406, 406, 406, 406, 406, 406, 406, 406, 407, 407, + + 407, 407, 407, 407, 407, 407, 403, 409, 410, 409, + 410, 0, 409, 410, 0, 0, 404, 406, 411, 0, + 411, 409, 410, 411, 412, 407, 412, 0, 0, 412, + 409, 413, 411, 413, 0, 0, 413, 414, 412, 414, + 0, 410, 414, 0, 406, 413, 0, 0, 415, 0, + 415, 414, 407, 415, 414, 0, 416, 409, 416, 0, + 413, 416, 415, 0, 0, 0, 0, 0, 410, 417, + 416, 417, 0, 416, 417, 418, 0, 418, 417, 0, + 418, 414, 0, 417, 0, 0, 0, 413, 419, 418, + 419, 0, 420, 419, 420, 0, 421, 420, 421, 0, + + 416, 421, 419, 0, 0, 0, 420, 422, 418, 422, + 421, 419, 422, 423, 424, 423, 424, 0, 423, 424, + 0, 422, 0, 0, 0, 0, 0, 423, 424, 421, + 0, 425, 426, 425, 426, 418, 425, 426, 419, 427, + 422, 427, 0, 424, 427, 425, 426, 0, 0, 425, + 0, 0, 428, 427, 428, 426, 421, 428, 427, 431, + 430, 431, 430, 0, 431, 430, 428, 422, 0, 0, + 424, 0, 0, 431, 430, 432, 425, 432, 0, 433, + 432, 433, 426, 430, 433, 427, 434, 0, 434, 432, + 0, 434, 432, 433, 0, 0, 0, 435, 0, 435, + + 434, 436, 435, 436, 0, 0, 436, 437, 0, 437, + 430, 435, 437, 433, 0, 436, 435, 0, 438, 432, + 438, 437, 437, 438, 439, 440, 439, 440, 0, 439, + 440, 441, 438, 441, 0, 0, 441, 0, 439, 440, + 433, 0, 442, 435, 442, 441, 443, 442, 443, 437, + 0, 443, 439, 444, 0, 444, 442, 0, 444, 440, + 443, 445, 0, 445, 0, 441, 445, 444, 446, 447, + 446, 447, 0, 446, 447, 445, 448, 0, 448, 439, + 0, 448, 446, 447, 447, 0, 440, 444, 0, 449, + 448, 449, 441, 450, 449, 450, 0, 448, 450, 451, + + 0, 451, 0, 449, 451, 0, 0, 450, 0, 0, + 0, 447, 0, 451, 444, 452, 451, 452, 0, 450, + 452, 0, 0, 449, 448, 453, 454, 453, 454, 452, + 453, 454, 0, 460, 0, 460, 0, 0, 460, 453, + 454, 0, 0, 451, 0, 0, 450, 460, 0, 0, + 449, 461, 460, 461, 454, 462, 461, 462, 0, 463, + 462, 463, 0, 0, 463, 461, 464, 0, 464, 462, + 465, 464, 465, 463, 0, 465, 0, 0, 0, 460, + 464, 454, 0, 0, 465, 463, 0, 466, 465, 466, + 462, 464, 466, 467, 468, 467, 468, 0, 467, 468, + + 469, 466, 469, 0, 0, 469, 0, 467, 468, 0, + 0, 470, 463, 470, 469, 465, 470, 462, 464, 471, + 0, 471, 0, 0, 471, 470, 0, 467, 468, 0, + 472, 0, 472, 471, 473, 472, 473, 0, 0, 473, + 0, 0, 0, 470, 472, 0, 0, 472, 473, 0, + 0, 475, 0, 475, 467, 468, 475, 476, 477, 476, + 477, 0, 476, 477, 478, 475, 478, 0, 475, 478, + 470, 476, 477, 0, 472, 0, 0, 477, 478, 479, + 480, 479, 480, 476, 479, 480, 481, 482, 481, 482, + 0, 481, 482, 479, 480, 475, 0, 483, 0, 483, + + 481, 482, 483, 0, 477, 479, 0, 0, 0, 481, + 476, 483, 0, 484, 485, 484, 485, 0, 484, 485, + 486, 0, 486, 0, 0, 486, 482, 484, 485, 0, + 0, 0, 479, 0, 486, 486, 481, 0, 0, 484, + 485, 487, 488, 487, 488, 0, 487, 488, 0, 489, + 0, 489, 0, 482, 489, 487, 488, 0, 0, 0, + 0, 0, 486, 489, 487, 0, 484, 485, 491, 492, + 491, 492, 0, 491, 492, 493, 488, 493, 0, 494, + 493, 494, 491, 492, 494, 495, 0, 495, 0, 493, + 495, 487, 0, 494, 493, 0, 496, 492, 496, 495, + + 491, 496, 497, 488, 497, 0, 498, 497, 498, 0, + 496, 498, 499, 0, 499, 496, 497, 499, 0, 0, + 498, 493, 0, 501, 492, 501, 499, 491, 501, 502, + 503, 502, 503, 0, 502, 503, 504, 501, 504, 0, + 0, 504, 496, 502, 503, 0, 505, 0, 505, 0, + 504, 505, 502, 506, 507, 506, 507, 0, 506, 507, + 505, 0, 0, 0, 0, 0, 0, 506, 507, 507, + 0, 508, 509, 508, 509, 505, 508, 509, 510, 502, + 510, 0, 0, 510, 0, 508, 509, 0, 0, 511, + 508, 511, 510, 513, 511, 513, 507, 0, 513, 0, + + 0, 0, 505, 511, 0, 0, 509, 513, 514, 515, + 514, 515, 510, 514, 515, 0, 516, 508, 516, 0, + 0, 516, 514, 515, 0, 0, 514, 517, 0, 517, + 516, 0, 517, 509, 0, 518, 0, 518, 0, 510, + 518, 517, 519, 0, 519, 0, 520, 519, 520, 518, + 521, 520, 521, 514, 0, 521, 519, 517, 0, 519, + 520, 0, 0, 518, 521, 524, 522, 524, 522, 521, + 524, 522, 0, 525, 0, 525, 0, 0, 525, 524, + 522, 0, 0, 0, 517, 522, 519, 525, 0, 526, + 518, 526, 0, 0, 526, 527, 521, 527, 0, 528, + + 527, 528, 0, 526, 528, 0, 529, 525, 529, 527, + 0, 529, 522, 528, 531, 0, 531, 0, 0, 531, + 529, 532, 534, 532, 534, 0, 532, 534, 531, 527, + 0, 0, 0, 0, 525, 532, 534, 531, 535, 534, + 535, 0, 0, 535, 532, 537, 538, 537, 538, 0, + 537, 538, 535, 0, 0, 535, 527, 0, 0, 537, + 538, 0, 0, 0, 531, 0, 534, 0, 0, 0, + 0, 532, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 535, 540, 540, 540, 540, 541, 0, 541, + 541, 543, 0, 543, 543, 544, 544, 545, 0, 545, + + 545, 546, 0, 546, 546, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539 + } ; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +#line 1 "frame/ds9lex.L" +/* Copyright (C) 1999-2016 + * Smithsonian Astrophysical Observatory, Cambridge, MA, USA + * For conditions of distribution and use, see copyright notice in "copyright" + */ +#line 12 "frame/ds9lex.L" + #include <stdio.h> + #include <stdlib.h> + #include <string.h> + + #include "util.h" + #include "ds9parser.H" + + extern YYSTYPE* mklval; + extern mkFlexLexer* mklexx; + +/* rules */ +#line 1568 "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 <unistd.h> +#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 1672 "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 >= 540 ) + 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 != 539 ); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + + YY_DO_BEFORE_ACTION; + +do_action: /* This label is used only to access EOF actions. */ + + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + +case 1: +/* rule 1 can match eol */ +YY_RULE_SETUP +#line 33 "frame/ds9lex.L" +{ // special case-- #\n + BEGIN INITIAL; + yyless(0); // put back the terminator + strcpy(mklval->str,""); // feed a blank string + return STRING; + } + YY_BREAK +case 2: +YY_RULE_SETUP +#line 40 "frame/ds9lex.L" +{ // Discard reset of line + BEGIN INITIAL; + int ll = yyleng <(MKBUFSIZE-1) ? yyleng:(MKBUFSIZE-1); + strncpy(mklval->str,yytext,ll); + mklval->str[ll] = '\0'; + return STRING; + } + YY_BREAK +case 3: +YY_RULE_SETUP +#line 48 "frame/ds9lex.L" +{return AMPLIFIER_;} + YY_BREAK +case 4: +YY_RULE_SETUP +#line 49 "frame/ds9lex.L" +{return ANNULUS_;} + YY_BREAK +case 5: +YY_RULE_SETUP +#line 50 "frame/ds9lex.L" +{return ARCMIN_;} + YY_BREAK +case 6: +YY_RULE_SETUP +#line 51 "frame/ds9lex.L" +{return ARCSEC_;} + YY_BREAK +case 7: +YY_RULE_SETUP +#line 52 "frame/ds9lex.L" +{return ARROW_;} + YY_BREAK +case 8: +YY_RULE_SETUP +#line 53 "frame/ds9lex.L" +{return B1950_;} + YY_BREAK +case 9: +YY_RULE_SETUP +#line 54 "frame/ds9lex.L" +{return BACKGROUND_;} + YY_BREAK +case 10: +YY_RULE_SETUP +#line 55 "frame/ds9lex.L" +{return BEGIN_;} + YY_BREAK +case 11: +YY_RULE_SETUP +#line 56 "frame/ds9lex.L" +{return BOX_;} + YY_BREAK +case 12: +YY_RULE_SETUP +#line 57 "frame/ds9lex.L" +{return BOXCIRCLE_;} + YY_BREAK +case 13: +YY_RULE_SETUP +#line 58 "frame/ds9lex.L" +{return BPANDA_;} + YY_BREAK +case 14: +YY_RULE_SETUP +#line 59 "frame/ds9lex.L" +{return CALLBACK_;} + YY_BREAK +case 15: +YY_RULE_SETUP +#line 60 "frame/ds9lex.L" +{return CIRCLE_;} + YY_BREAK +case 16: +YY_RULE_SETUP +#line 61 "frame/ds9lex.L" +{return CIRCLE3D_;} + YY_BREAK +case 17: +YY_RULE_SETUP +#line 62 "frame/ds9lex.L" +{return COLOR_;} + YY_BREAK +case 18: +YY_RULE_SETUP +#line 63 "frame/ds9lex.L" +{return COMPASS_;} + YY_BREAK +case 19: +YY_RULE_SETUP +#line 64 "frame/ds9lex.L" +{return COMPOSITE_;} + YY_BREAK +case 20: +YY_RULE_SETUP +#line 65 "frame/ds9lex.L" +{return CPANDA_;} + YY_BREAK +case 21: +YY_RULE_SETUP +#line 66 "frame/ds9lex.L" +{return CROSS_;} + YY_BREAK +case 22: +YY_RULE_SETUP +#line 67 "frame/ds9lex.L" +{return DASH_;} + YY_BREAK +case 23: +YY_RULE_SETUP +#line 68 "frame/ds9lex.L" +{return DASHLIST_;} + YY_BREAK +case 24: +YY_RULE_SETUP +#line 69 "frame/ds9lex.L" +{return DEBUG_;} + YY_BREAK +case 25: +YY_RULE_SETUP +#line 70 "frame/ds9lex.L" +{return DEGREES_;} + YY_BREAK +case 26: +YY_RULE_SETUP +#line 71 "frame/ds9lex.L" +{return DELETE_;} + YY_BREAK +case 27: +YY_RULE_SETUP +#line 72 "frame/ds9lex.L" +{return DETECTOR_;} + YY_BREAK +case 28: +YY_RULE_SETUP +#line 73 "frame/ds9lex.L" +{return DIAMOND_;} + YY_BREAK +case 29: +YY_RULE_SETUP +#line 74 "frame/ds9lex.L" +{return EDIT_;} + YY_BREAK +case 30: +YY_RULE_SETUP +#line 75 "frame/ds9lex.L" +{return ELLIPSE_;} + YY_BREAK +case 31: +YY_RULE_SETUP +#line 76 "frame/ds9lex.L" +{return ECLIPTIC_;} + YY_BREAK +case 32: +YY_RULE_SETUP +#line 77 "frame/ds9lex.L" +{return EPANDA_;} + YY_BREAK +case 33: +YY_RULE_SETUP +#line 78 "frame/ds9lex.L" +{return END_;} + YY_BREAK +case 34: +YY_RULE_SETUP +#line 79 "frame/ds9lex.L" +{return FALSE_;} + YY_BREAK +case 35: +YY_RULE_SETUP +#line 80 "frame/ds9lex.L" +{return FIELD_;} + YY_BREAK +case 36: +YY_RULE_SETUP +#line 81 "frame/ds9lex.L" +{return FIXED_;} + YY_BREAK +case 37: +YY_RULE_SETUP +#line 82 "frame/ds9lex.L" +{return FK4_;} + YY_BREAK +case 38: +YY_RULE_SETUP +#line 83 "frame/ds9lex.L" +{return FK4_NO_E_;} + YY_BREAK +case 39: +YY_RULE_SETUP +#line 84 "frame/ds9lex.L" +{return FK5_;} + YY_BREAK +case 40: +YY_RULE_SETUP +#line 85 "frame/ds9lex.L" +{return FONT_;} + YY_BREAK +case 41: +YY_RULE_SETUP +#line 86 "frame/ds9lex.L" +{return GALACTIC_;} + YY_BREAK +case 42: +YY_RULE_SETUP +#line 87 "frame/ds9lex.L" +{return GLOBAL_;} + YY_BREAK +case 43: +YY_RULE_SETUP +#line 88 "frame/ds9lex.L" +{return HELIOECLIPTIC_;} + YY_BREAK +case 44: +YY_RULE_SETUP +#line 89 "frame/ds9lex.L" +{return HIGHLITE_;} + YY_BREAK +case 45: +YY_RULE_SETUP +#line 90 "frame/ds9lex.L" +{return ICRS_;} + YY_BREAK +case 46: +YY_RULE_SETUP +#line 91 "frame/ds9lex.L" +{return IGNORE_;} + YY_BREAK +case 47: +YY_RULE_SETUP +#line 92 "frame/ds9lex.L" +{return INCLUDE_;} + YY_BREAK +case 48: +YY_RULE_SETUP +#line 93 "frame/ds9lex.L" +{return IMAGE_;} + YY_BREAK +case 49: +YY_RULE_SETUP +#line 94 "frame/ds9lex.L" +{return KEY_;} + YY_BREAK +case 50: +YY_RULE_SETUP +#line 95 "frame/ds9lex.L" +{return J2000_;} + YY_BREAK +case 51: +YY_RULE_SETUP +#line 96 "frame/ds9lex.L" +{return LINE_;} + YY_BREAK +case 52: +YY_RULE_SETUP +#line 97 "frame/ds9lex.L" +{return LINEAR_;} + YY_BREAK +case 53: +YY_RULE_SETUP +#line 98 "frame/ds9lex.L" +{return MOVE_;} + YY_BREAK +case 54: +YY_RULE_SETUP +#line 99 "frame/ds9lex.L" +{return N_;} + YY_BREAK +case 55: +YY_RULE_SETUP +#line 100 "frame/ds9lex.L" +{return NO_;} + YY_BREAK +case 56: +YY_RULE_SETUP +#line 101 "frame/ds9lex.L" +{return OFF_;} + YY_BREAK +case 57: +YY_RULE_SETUP +#line 102 "frame/ds9lex.L" +{return ON_;} + YY_BREAK +case 58: +YY_RULE_SETUP +#line 103 "frame/ds9lex.L" +{return CPANDA_;} + YY_BREAK +case 59: +YY_RULE_SETUP +#line 104 "frame/ds9lex.L" +{return PHYSICAL_;} + YY_BREAK +case 60: +YY_RULE_SETUP +#line 105 "frame/ds9lex.L" +{return PIE_;} + YY_BREAK +case 61: +YY_RULE_SETUP +#line 106 "frame/ds9lex.L" +{return PIXELS_;} + YY_BREAK +case 62: +YY_RULE_SETUP +#line 107 "frame/ds9lex.L" +{return POINT_;} + YY_BREAK +case 63: +YY_RULE_SETUP +#line 108 "frame/ds9lex.L" +{return POLYGON_;} + YY_BREAK +case 64: +YY_RULE_SETUP +#line 109 "frame/ds9lex.L" +{return PROJECTION_;} + YY_BREAK +case 65: +YY_RULE_SETUP +#line 110 "frame/ds9lex.L" +{return PROPERTY_;} + YY_BREAK +case 66: +YY_RULE_SETUP +#line 111 "frame/ds9lex.L" +{return ROTATE_;} + YY_BREAK +case 67: +YY_RULE_SETUP +#line 112 "frame/ds9lex.L" +{return ROTBOX_;} + YY_BREAK +case 68: +YY_RULE_SETUP +#line 113 "frame/ds9lex.L" +{return RULER_;} + YY_BREAK +case 69: +YY_RULE_SETUP +#line 114 "frame/ds9lex.L" +{return SELECT_;} + YY_BREAK +case 70: +YY_RULE_SETUP +#line 115 "frame/ds9lex.L" +{return SEGMENT_;} + YY_BREAK +case 71: +YY_RULE_SETUP +#line 116 "frame/ds9lex.L" +{return SOURCE_;} + YY_BREAK +case 72: +YY_RULE_SETUP +#line 117 "frame/ds9lex.L" +{return SUPERGALACTIC_;} + 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 2576 "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 >= 540 ) + 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 >= 540 ) + 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 == 539); + + 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); +} + |