#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 6 #define YY_FLEX_SUBMINOR_VERSION 2 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ #ifndef __cplusplus extern int isatty(int); #endif /* __cplusplus */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #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; /* 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 /* ! C99 */ #endif /* ! FLEXINT_H */ /* TODO: this is always defined, so inline it */ #define yyconst const #if defined(__GNUC__) && __GNUC__ >= 3 #define yynoreturn __attribute__((__noreturn__)) #else #define yynoreturn #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an * integer in range [0..255] for use as an array index. */ #define YY_SC_TO_UI(c) ((YY_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 #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #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 int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires * access to the local variable yy_act. Since yyless() is a macro, it would break * existing scanners that call yyless() from OUTSIDE yylex. * One obvious solution it to make yy_act a global. I tried that, and saw * a 5% performance hit in a non-yylineno scanner, because yy_act is * normally declared as a register variable-- so it is not worth it. */ #define YY_LESS_LINENO(n) \ do { \ int yyl;\ for ( yyl = n; yyl < yyleng; ++yyl )\ if ( yytext[yyl] == '\n' )\ --yylineno;\ }while(0) #define YY_LINENO_REWIND_TO(dst) \ do {\ const char *p;\ for ( p = yy_cp-1; p >= (dst); --p)\ if ( *p == '\n' )\ --yylineno;\ }while(0) /* 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 { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ int yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = NULL; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart ( FILE *input_file ); void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); void yy_delete_buffer ( YY_BUFFER_STATE b ); void yy_flush_buffer ( YY_BUFFER_STATE b ); void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); void yypop_buffer_state ( void ); static void yyensure_buffer_stack ( void ); static void yy_load_buffer_state ( void ); static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); void *yyalloc ( yy_size_t ); void *yyrealloc ( void *, yy_size_t ); void yyfree ( void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef flex_uint8_t YY_CHAR; FILE *yyin = NULL, *yyout = NULL; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #ifdef yytext_ptr #undef yytext_ptr #endif #define yytext_ptr yytext static yy_state_type yy_get_previous_state ( void ); static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); static int yy_get_next_buffer ( void ); static void yynoreturn yy_fatal_error ( const char* msg ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 194 #define YY_END_OF_BUFFER 195 static const flex_int16_t yy_accept[1196] = { 0, 0, 0, 195, 193, 157, 158, 158, 192, 193, 192, 192, 193, 192, 192, 192, 192, 192, 192, 192, 155, 154, 192, 192, 192, 192, 146, 146, 146, 146, 146, 146, 146, 146, 146, 190, 193, 191, 192, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 192, 157, 13, 13, 15, 192, 193, 157, 185, 0, 0, 16, 18, 0, 164, 178, 161, 182, 179, 0, 0, 0, 117, 118, 0, 0, 0, 0, 0, 176, 172, 174, 173, 175, 171, 169, 0, 147, 3, 14, 177, 0, 148, 153, 0, 0, 0, 0, 0, 154, 154, 154, 189, 163, 160, 162, 168, 186, 184, 187, 165, 146, 146, 146, 146, 0, 0, 146, 146, 146, 0, 146, 146, 0, 159, 156, 0, 181, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 83, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 180, 183, 157, 13, 15, 0, 0, 15, 15, 3, 12, 0, 16, 0, 0, 18, 0, 0, 17, 0, 0, 0, 0, 0, 0, 170, 188, 0, 147, 147, 147, 0, 14, 14, 149, 148, 148, 153, 153, 0, 152, 0, 150, 151, 154, 150, 166, 167, 146, 146, 146, 146, 0, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 81, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 28, 146, 146, 146, 146, 67, 146, 85, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 71, 146, 146, 146, 146, 146, 146, 146, 146, 146, 87, 0, 12, 15, 2, 12, 12, 6, 12, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 147, 0, 147, 1, 5, 0, 149, 149, 149, 148, 0, 148, 153, 150, 0, 152, 152, 0, 150, 150, 0, 151, 151, 151, 150, 150, 146, 146, 146, 146, 0, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 21, 146, 146, 32, 146, 27, 146, 146, 146, 146, 146, 146, 146, 146, 49, 146, 146, 146, 146, 146, 146, 26, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 0, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 31, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 2, 12, 12, 6, 12, 12, 12, 6, 5, 7, 8, 0, 0, 16, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 147, 0, 147, 147, 5, 149, 0, 149, 148, 0, 148, 148, 150, 150, 152, 150, 151, 151, 151, 151, 150, 146, 146, 146, 146, 129, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 90, 72, 146, 146, 44, 91, 52, 146, 146, 146, 146, 146, 146, 146, 23, 146, 146, 146, 146, 146, 146, 146, 146, 146, 84, 146, 146, 146, 146, 146, 146, 25, 146, 146, 146, 146, 146, 0, 146, 146, 146, 146, 70, 146, 146, 50, 146, 66, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 12, 12, 6, 7, 8, 12, 12, 12, 5, 7, 8, 0, 0, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 147, 149, 0, 149, 149, 148, 150, 146, 146, 146, 146, 129, 146, 146, 146, 123, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 82, 89, 146, 146, 146, 146, 146, 146, 68, 22, 146, 146, 61, 56, 57, 146, 146, 146, 146, 86, 146, 146, 146, 146, 146, 46, 146, 146, 146, 30, 146, 146, 59, 0, 0, 0, 0, 146, 45, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 88, 12, 12, 12, 7, 8, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 146, 146, 146, 146, 146, 146, 146, 122, 146, 135, 146, 146, 137, 146, 146, 141, 146, 146, 146, 24, 146, 146, 146, 146, 131, 146, 146, 146, 146, 146, 75, 146, 146, 146, 54, 146, 146, 145, 146, 146, 47, 146, 0, 146, 146, 146, 36, 36, 146, 146, 0, 0, 0, 0, 0, 0, 126, 126, 146, 146, 64, 146, 146, 51, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 35, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 120, 121, 0, 0, 0, 0, 0, 123, 19, 123, 39, 146, 146, 146, 132, 133, 146, 146, 146, 146, 146, 146, 138, 146, 146, 146, 33, 34, 146, 146, 74, 146, 69, 125, 125, 146, 73, 146, 55, 124, 124, 0, 146, 0, 80, 146, 0, 43, 37, 37, 146, 146, 0, 0, 0, 0, 0, 0, 62, 146, 63, 29, 53, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 119, 0, 0, 0, 0, 146, 146, 146, 136, 146, 146, 146, 146, 146, 146, 146, 58, 146, 65, 146, 0, 48, 0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 146, 146, 92, 146, 146, 146, 146, 146, 146, 146, 146, 146, 12, 12, 12, 10, 12, 12, 0, 0, 0, 0, 146, 144, 146, 146, 146, 140, 143, 78, 146, 38, 38, 0, 0, 0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 146, 146, 20, 146, 146, 146, 146, 146, 146, 146, 146, 10, 12, 12, 10, 12, 12, 0, 4, 146, 146, 146, 146, 146, 146, 0, 0, 0, 146, 146, 76, 0, 0, 0, 0, 0, 0, 146, 146, 146, 146, 146, 146, 146, 146, 107, 146, 146, 146, 146, 10, 12, 12, 12, 12, 0, 146, 146, 146, 146, 142, 77, 0, 0, 0, 146, 146, 0, 0, 0, 0, 60, 146, 146, 127, 146, 109, 111, 113, 146, 146, 146, 108, 146, 146, 146, 12, 12, 11, 12, 0, 146, 146, 134, 139, 0, 0, 0, 40, 146, 130, 0, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 110, 112, 114, 146, 146, 146, 11, 12, 11, 12, 0, 146, 146, 0, 41, 0, 146, 0, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 115, 116, 146, 146, 146, 11, 12, 12, 0, 146, 105, 0, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 12, 9, 146, 0, 42, 79, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 128, 146, 146, 9, 9, 146, 146, 146, 146, 146, 102, 146, 146, 146, 146, 101, 146, 146, 9, 106, 97, 98, 99, 100, 93, 94, 95, 96, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 104, 146, 146, 103, 0 } ; static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 7, 8, 9, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 26, 28, 29, 30, 17, 31, 32, 33, 1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 42, 60, 61, 62, 63, 64, 1, 65, 66, 67, 68, 69, 70, 71, 72, 73, 42, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 17, 1, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93 } ; static const YY_CHAR yy_meta[94] = { 0, 1, 2, 3, 4, 5, 2, 1, 1, 1, 1, 6, 7, 1, 4, 6, 1, 1, 1, 8, 1, 9, 9, 10, 10, 10, 10, 10, 10, 10, 11, 1, 1, 1, 1, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 1, 1, 1, 1, 13, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 1, 1, 1, 14 } ; static const flex_int16_t yy_base[1306] = { 0, 0, 92, 4005, 4006, 94, 4006, 4006, 3972, 100, 77, 88, 3942, 113, 4006, 3970, 89, 99, 114, 131, 166, 187, 92, 124, 3969, 112, 102, 3936, 95, 115, 85, 139, 188, 108, 110, 178, 155, 4006, 3967, 193, 143, 158, 186, 161, 178, 101, 190, 93, 133, 204, 181, 195, 100, 202, 214, 269, 216, 134, 155, 205, 298, 4006, 4006, 3937, 278, 3924, 242, 4006, 309, 263, 274, 282, 323, 4006, 4006, 4006, 4006, 4006, 209, 302, 339, 4006, 4006, 289, 3966, 300, 143, 276, 4006, 4006, 4006, 4006, 4006, 3980, 4006, 3975, 336, 301, 327, 4006, 356, 365, 387, 416, 270, 436, 0, 396, 454, 0, 473, 4006, 4006, 4006, 4006, 3961, 4006, 4006, 4006, 3960, 3927, 288, 165, 303, 312, 3929, 363, 464, 336, 3976, 308, 382, 445, 4006, 4006, 3985, 4006, 442, 333, 291, 368, 420, 451, 334, 365, 389, 403, 410, 404, 405, 443, 450, 471, 445, 467, 456, 472, 475, 479, 473, 478, 481, 483, 292, 485, 490, 447, 367, 3923, 486, 499, 446, 503, 500, 504, 506, 516, 518, 519, 498, 523, 577, 526, 528, 524, 531, 539, 493, 534, 4006, 4006, 614, 4006, 3925, 576, 3912, 3923, 604, 603, 605, 545, 3919, 3977, 3968, 4006, 665, 757, 3916, 3949, 3948, 584, 594, 596, 732, 4006, 4006, 628, 752, 0, 782, 3946, 0, 3945, 801, 0, 820, 0, 834, 761, 616, 850, 868, 886, 0, 906, 4006, 4006, 594, 337, 596, 595, 3945, 3910, 597, 572, 753, 566, 582, 603, 583, 729, 872, 703, 704, 755, 598, 728, 737, 873, 817, 3909, 773, 789, 841, 801, 752, 800, 805, 819, 842, 730, 770, 605, 821, 823, 874, 875, 838, 877, 884, 3908, 878, 879, 855, 894, 3907, 159, 3906, 896, 897, 923, 900, 901, 902, 904, 903, 905, 908, 906, 911, 909, 910, 836, 924, 920, 926, 3905, 927, 936, 930, 938, 937, 941, 942, 969, 954, 3904, 1006, 1021, 974, 3936, 0, 992, 3935, 939, 3886, 3881, 0, 1029, 1090, 1008, 0, 1023, 1006, 1010, 1009, 1012, 1013, 1021, 1016, 0, 1036, 1104, 4006, 0, 1113, 1133, 0, 1167, 0, 1142, 1185, 0, 1203, 1026, 1054, 0, 1212, 1230, 0, 0, 1248, 1307, 0, 1268, 0, 1004, 1003, 1013, 1006, 0, 1263, 1021, 1008, 1010, 1020, 1048, 1047, 1050, 990, 1079, 1032, 1080, 1122, 1115, 1017, 1123, 1109, 1019, 1139, 1179, 3899, 1185, 1120, 3898, 1234, 1197, 1135, 1203, 1180, 1181, 1136, 1182, 1204, 1236, 3897, 1237, 1240, 1183, 1247, 1261, 1239, 3896, 1110, 1241, 1082, 1287, 1243, 1029, 1273, 1285, 1158, 1286, 1275, 1276, 1277, 1288, 1297, 3895, 1295, 1305, 3928, 1293, 1111, 1304, 1217, 1299, 1316, 1317, 1318, 1319, 1303, 3893, 1322, 1327, 1324, 1331, 1333, 1334, 1335, 1337, 1336, 1339, 1365, 4006, 0, 1387, 0, 1321, 1370, 3887, 0, 0, 0, 0, 3880, 3885, 0, 1434, 0, 1378, 1385, 1377, 766, 1389, 1335, 1394, 1398, 1451, 1460, 1478, 0, 0, 0, 1487, 1506, 1524, 1533, 1551, 0, 1569, 0, 0, 0, 1587, 1646, 0, 0, 0, 1376, 1384, 1396, 1393, 0, 1397, 1453, 1518, 1394, 1507, 1555, 1374, 1455, 1524, 1456, 1458, 1473, 1477, 1542, 1459, 1537, 1427, 1502, 1501, 1505, 1538, 1503, 1565, 3889, 3888, 1577, 1566, 3887, 3886, 1567, 1405, 1543, 1568, 1570, 1571, 1576, 1574, 3885, 1578, 1581, 1556, 1584, 1583, 1596, 1597, 1522, 1612, 3884, 1599, 1614, 1623, 1624, 1615, 1625, 3883, 1628, 1632, 1641, 3882, 1635, 1644, 1637, 1640, 1642, 1661, 3881, 1663, 1645, 3880, 1654, 3879, 1655, 1664, 1666, 1679, 1670, 1671, 1672, 1677, 1674, 1675, 1585, 3878, 1678, 1697, 3872, 0, 0, 0, 3905, 3900, 3856, 0, 0, 0, 3868, 3855, 0, 0, 1716, 1722, 1718, 1721, 1725, 1729, 1730, 1732, 1751, 1777, 1794, 1812, 0, 1830, 0, 1717, 1719, 1727, 1729, 0, 1730, 1395, 1732, 1718, 1721, 1723, 1796, 1743, 1744, 1761, 1797, 1768, 1746, 1731, 1764, 1801, 1786, 1766, 1780, 1782, 1784, 3871, 3870, 3869, 3868, 1824, 1800, 1803, 1807, 3867, 3866, 1808, 1804, 3865, 3864, 3863, 1809, 1810, 1816, 1814, 3862, 1819, 1820, 1825, 1828, 1812, 1900, 1830, 1832, 1822, 3861, 1964, 1868, 3849, 3817, 3811, 3812, 1835, 2057, 3807, 1845, 3793, 1846, 1847, 1850, 1851, 1856, 1865, 1848, 1869, 1866, 1874, 1870, 1873, 1861, 1871, 1965, 3789, 3817, 3800, 3756, 0, 0, 3778, 3787, 3744, 3734, 3727, 1911, 1912, 2000, 1924, 1970, 1971, 1977, 1978, 2080, 1884, 1891, 1967, 1896, 1970, 1975, 1894, 3732, 1950, 3709, 1889, 1952, 3695, 3689, 1893, 3683, 1947, 1957, 1897, 3680, 1953, 1973, 1976, 1955, 3675, 2057, 2058, 1979, 2031, 1983, 3669, 3666, 2029, 2150, 3661, 2047, 2030, 3658, 2034, 2243, 2121, 2061, 2126, 2035, 2122, 2277, 4006, 3653, 2341, 2150, 3631, 3628, 3614, 3594, 3596, 3574, 4006, 3577, 2069, 2152, 3563, 2070, 1985, 3549, 2073, 2123, 2124, 1959, 2126, 2135, 2164, 2142, 2130, 2129, 3535, 3538, 3542, 3506, 3528, 3507, 3474, 3483, 3482, 2166, 2191, 2282, 4006, 3511, 2287, 2070, 2168, 2248, 2170, 2173, 3471, 2174, 3465, 3462, 2165, 3457, 3451, 3448, 2162, 2247, 2217, 2071, 2227, 2234, 3443, 2167, 2235, 2244, 3440, 3435, 2230, 2141, 3432, 2261, 3427, 4006, 3413, 2249, 3407, 2256, 3401, 4006, 3398, 2324, 2312, 3382, 3390, 2250, 2379, 4006, 4006, 3379, 2313, 2079, 3349, 3354, 3347, 3354, 3320, 3322, 3317, 2260, 3303, 3289, 3275, 2273, 2252, 2314, 2322, 2251, 2315, 2323, 2348, 2324, 2329, 2357, 3286, 3262, 3229, 3298, 3258, 3223, 3213, 3220, 2408, 2413, 2424, 4006, 2366, 2367, 2369, 2375, 2383, 2361, 2385, 3218, 2373, 2334, 2381, 2371, 2376, 2389, 2388, 3215, 2390, 3212, 2471, 3195, 2463, 3186, 2392, 2442, 2443, 3192, 3177, 3181, 3185, 3178, 3165, 2393, 2445, 3175, 2444, 2446, 2447, 2452, 2453, 2449, 2398, 2454, 2459, 3228, 3185, 3152, 0, 3171, 3135, 3125, 3136, 2440, 2484, 2481, 3128, 2482, 2455, 2475, 3122, 3119, 3108, 2478, 4006, 3107, 3092, 2545, 3086, 2485, 2488, 2489, 3103, 3070, 3087, 3068, 3057, 3036, 2490, 2492, 3037, 2501, 2494, 2502, 2553, 2505, 2520, 2510, 2512, 0, 3049, 3014, 0, 3042, 3002, 3017, 4006, 2543, 2532, 2527, 3013, 2544, 2521, 2993, 2999, 2987, 2999, 2525, 2993, 2978, 2968, 2959, 0, 2946, 0, 2523, 2530, 2531, 2538, 2533, 2572, 2577, 2576, 2961, 2591, 2539, 2568, 2550, 0, 2971, 2928, 2991, 2918, 2905, 2560, 2581, 2559, 2582, 2586, 2906, 2887, 2890, 2646, 2589, 2571, 0, 2877, 0, 0, 2871, 2634, 2639, 2865, 2606, 2857, 2856, 2855, 2610, 2603, 2604, 2854, 2579, 2601, 2574, 2911, 2841, 0, 2826, 2808, 2816, 2619, 2814, 2605, 2682, 2794, 2687, 4006, 2608, 2810, 2790, 2630, 2631, 2633, 2635, 2636, 2644, 2649, 2655, 2657, 2641, 2652, 2682, 2808, 2807, 2748, 2645, 2646, 2647, 0, 2649, 0, 2570, 2561, 2676, 2674, 2723, 4006, 2461, 2659, 0, 2666, 2668, 2670, 2672, 2675, 2679, 2683, 2685, 2687, 2690, 2477, 2457, 2681, 2691, 2692, 0, 2331, 2202, 2153, 2720, 2072, 2758, 2698, 2701, 2703, 2707, 2709, 2702, 2711, 2713, 2715, 2722, 2721, 2723, 2727, 2728, 1983, 0, 2753, 2794, 4006, 1888, 2734, 2737, 2739, 2740, 2741, 2742, 2744, 2745, 2746, 2750, 1701, 2743, 2747, 0, 0, 2767, 2758, 2765, 2768, 2769, 1629, 2770, 2771, 2773, 2774, 1479, 2776, 2775, 0, 1186, 1051, 840, 702, 571, 496, 440, 407, 245, 2777, 2798, 2786, 2790, 2792, 2793, 2811, 2795, 2799, 2801, 2803, 111, 2802, 2804, 47, 4006, 2883, 2897, 2910, 2918, 2924, 2938, 2952, 2966, 2972, 2980, 2994, 3000, 3008, 3014, 3018, 3032, 3038, 3046, 3052, 3058, 3066, 3074, 3082, 3090, 3104, 3118, 3121, 3135, 3149, 3152, 3161, 3167, 3175, 3189, 3197, 3203, 3209, 3217, 3223, 3231, 3239, 3245, 3253, 3259, 3265, 3271, 3279, 3285, 3293, 3299, 3305, 3308, 3322, 3336, 3350, 3364, 3378, 3392, 3406, 3412, 3426, 3432, 3438, 3446, 3454, 3460, 3474, 3480, 3488, 3496, 3504, 3510, 3518, 3524, 3530, 3536, 3544, 3550, 3556, 3562, 3568, 3582, 3596, 3610, 3624, 3638, 3652, 3666, 3680, 3686, 3692, 3698, 3706, 3714, 3722, 3728, 3736, 3742, 3756, 3770, 3784, 3798, 3812, 3826, 3840, 3854, 3868, 3882, 3896, 3910 } ; static const flex_int16_t yy_def[1306] = { 0, 1195, 1, 1195, 1195, 1195, 1195, 1195, 1195, 1196, 1195, 1195, 1197, 1198, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1199, 1195, 1195, 1195, 1195, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1195, 1195, 1195, 1195, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1195, 1195, 1195, 1195, 1201, 1195, 1195, 1195, 1195, 1196, 1202, 1203, 1202, 1196, 1195, 1195, 1195, 1195, 1195, 1197, 1197, 1198, 1195, 1195, 1204, 1204, 1204, 1204, 1204, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1205, 1195, 1206, 1195, 1195, 1207, 1208, 1195, 1195, 1195, 1209, 1195, 1199, 1210, 1210, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1200, 1200, 1200, 1200, 1202, 1197, 1200, 1200, 1200, 1203, 1200, 1200, 1195, 1195, 1195, 1195, 1195, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1195, 1195, 1195, 1195, 1201, 1195, 1195, 1201, 1201, 1195, 1211, 1195, 1195, 1202, 1203, 1195, 1195, 1196, 1195, 1204, 1195, 1204, 1204, 1204, 1204, 1195, 1195, 1195, 1205, 1212, 1212, 1195, 1206, 1206, 1213, 1214, 1214, 1215, 1215, 1195, 1216, 1195, 1217, 1218, 1210, 1219, 1195, 1195, 1200, 1200, 1200, 1200, 1195, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1195, 1220, 1201, 1195, 1211, 1211, 1221, 1211, 1195, 1195, 1222, 1223, 1224, 1223, 1225, 1226, 1227, 1227, 1227, 1227, 1227, 1227, 1227, 1212, 1195, 1228, 1195, 1229, 1195, 1230, 1231, 1231, 1232, 1195, 1233, 1234, 1235, 1195, 1236, 1237, 1195, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1246, 1246, 1246, 1247, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1195, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1195, 1248, 1248, 1249, 1248, 1250, 1250, 1251, 1252, 1253, 1254, 1195, 1195, 1255, 1256, 1257, 1258, 1258, 1258, 1258, 1258, 1258, 1258, 1258, 1259, 1195, 1260, 1261, 1262, 1263, 1195, 1264, 1265, 1195, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1272, 1273, 1273, 1274, 1275, 1275, 1275, 1275, 1276, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1277, 1277, 1278, 1279, 1280, 1281, 1281, 1281, 1282, 1283, 1284, 1195, 1195, 1285, 1286, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1288, 1289, 1195, 1290, 1291, 1292, 1293, 1275, 1275, 1275, 1275, 1276, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1195, 1195, 1195, 1195, 674, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1277, 1277, 1277, 1279, 1280, 1281, 1281, 1281, 1195, 1195, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1289, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 674, 1275, 1275, 1275, 1275, 1275, 674, 1275, 1275, 1195, 1275, 1275, 1275, 1195, 1275, 674, 1275, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1277, 1277, 1277, 1281, 1281, 1281, 1195, 1195, 1287, 1287, 1195, 1195, 1287, 1287, 1287, 1287, 1287, 1287, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1195, 1275, 1275, 1275, 1275, 1275, 1195, 1275, 1195, 1275, 1195, 1275, 1275, 1195, 1195, 1195, 1275, 1275, 1275, 1195, 1195, 1195, 1195, 1195, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1277, 1277, 1277, 1281, 1281, 1281, 1195, 1195, 1287, 1287, 1195, 1195, 1287, 1287, 1287, 1287, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 674, 1195, 1275, 1195, 1275, 1275, 1275, 1195, 1195, 1195, 1195, 1195, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1277, 1277, 1277, 1294, 1281, 1281, 1195, 1195, 1287, 1287, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1195, 1275, 1195, 1195, 1195, 1275, 1275, 1275, 1195, 1195, 1195, 1195, 1195, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1295, 1277, 1277, 1294, 1281, 1281, 1195, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1195, 1195, 1195, 1275, 1275, 1275, 1195, 1195, 1195, 1296, 1195, 1297, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1295, 1277, 1277, 1281, 1281, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1195, 1195, 1195, 1275, 1275, 1298, 1195, 1299, 1300, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1277, 1277, 1301, 1281, 1195, 1275, 1275, 1275, 1275, 1195, 1195, 1195, 1195, 1275, 1275, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1302, 1277, 1301, 1281, 1195, 1275, 1275, 1195, 1195, 1195, 1275, 1303, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1302, 1277, 1281, 1195, 1275, 1275, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1277, 1304, 1275, 1195, 1195, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1305, 1304, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1305, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 0, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195 } ; static const flex_int16_t yy_nxt[4100] = { 0, 4, 5, 6, 7, 7, 5, 8, 9, 4, 10, 11, 12, 13, 14, 15, 16, 14, 17, 18, 19, 20, 21, 21, 21, 21, 21, 21, 21, 21, 22, 23, 24, 25, 4, 26, 27, 28, 27, 27, 27, 27, 27, 27, 27, 27, 29, 27, 27, 27, 27, 30, 31, 27, 27, 32, 33, 34, 27, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 27, 27, 46, 27, 47, 48, 49, 50, 51, 27, 52, 53, 54, 55, 56, 57, 58, 27, 27, 14, 59, 14, 27, 60, 61, 66, 62, 60, 76, 66, 63, 69, 69, 69, 89, 69, 73, 70, 74, 75, 122, 64, 71, 69, 80, 80, 91, 80, 80, 77, 90, 111, 124, 81, 112, 65, 125, 82, 94, 123, 92, 93, 95, 113, 96, 96, 96, 96, 96, 96, 96, 96, 96, 118, 119, 97, 129, 83, 127, 85, 98, 121, 131, 114, 115, 116, 122, 134, 122, 135, 72, 130, 99, 122, 122, 122, 126, 128, 172, 86, 161, 122, 209, 122, 122, 157, 87, 100, 122, 132, 132, 158, 132, 132, 101, 212, 102, 102, 102, 102, 102, 102, 102, 102, 103, 124, 122, 122, 107, 125, 187, 104, 122, 238, 105, 101, 122, 108, 108, 108, 108, 108, 108, 108, 108, 108, 162, 143, 122, 144, 207, 122, 122, 106, 122, 110, 145, 137, 122, 152, 146, 104, 188, 138, 105, 147, 189, 133, 153, 126, 139, 122, 140, 66, 122, 415, 141, 66, 154, 122, 148, 122, 106, 122, 155, 110, 142, 149, 122, 167, 150, 168, 169, 151, 156, 122, 159, 122, 163, 79, 201, 160, 164, 173, 174, 170, 124, 122, 171, 122, 125, 165, 177, 175, 176, 178, 204, 166, 184, 201, 229, 229, 198, 185, 179, 190, 181, 199, 186, 191, 192, 180, 192, 191, 1195, 209, 193, 220, 122, 99, 69, 69, 69, 78, 69, 220, 70, 194, 209, 201, 126, 71, 69, 202, 69, 69, 69, 206, 69, 209, 237, 195, 122, 222, 211, 71, 69, 205, 210, 213, 80, 80, 202, 80, 80, 182, 222, 216, 239, 81, 183, 122, 242, 82, 122, 122, 217, 217, 217, 217, 217, 217, 217, 217, 217, 241, 122, 284, 247, 72, 129, 122, 202, 83, 219, 85, 102, 102, 102, 102, 102, 102, 102, 102, 103, 223, 223, 223, 223, 223, 223, 223, 223, 223, 367, 86, 122, 122, 100, 122, 122, 246, 87, 225, 219, 101, 259, 102, 102, 102, 102, 102, 102, 102, 102, 103, 108, 108, 108, 108, 108, 108, 108, 108, 108, 227, 122, 228, 122, 243, 122, 122, 260, 225, 101, 289, 103, 103, 103, 103, 103, 103, 103, 103, 103, 122, 132, 132, 248, 132, 132, 230, 122, 230, 105, 227, 231, 231, 231, 231, 231, 231, 231, 231, 231, 107, 122, 122, 122, 265, 122, 261, 101, 122, 108, 108, 108, 108, 108, 108, 108, 108, 108, 122, 105, 262, 264, 263, 230, 238, 230, 249, 110, 234, 234, 234, 234, 234, 234, 234, 234, 234, 238, 122, 133, 122, 122, 266, 122, 122, 122, 294, 240, 122, 122, 250, 244, 251, 252, 122, 253, 288, 110, 254, 245, 267, 268, 122, 272, 255, 122, 256, 257, 258, 122, 122, 122, 269, 122, 274, 270, 122, 122, 273, 122, 271, 122, 279, 122, 122, 275, 278, 277, 122, 276, 280, 122, 282, 286, 122, 281, 122, 122, 122, 315, 283, 122, 122, 291, 122, 285, 292, 287, 295, 298, 296, 293, 297, 300, 122, 301, 122, 122, 302, 124, 306, 122, 122, 125, 122, 317, 122, 299, 304, 122, 318, 303, 122, 308, 305, 310, 307, 122, 312, 311, 313, 196, 309, 319, 320, 322, 323, 314, 209, 316, 191, 192, 320, 192, 191, 325, 326, 193, 209, 323, 209, 333, 354, 126, 122, 369, 372, 366, 194, 122, 122, 355, 355, 324, 334, 122, 368, 375, 335, 373, 122, 122, 195, 217, 217, 217, 217, 217, 217, 217, 217, 217, 122, 122, 122, 122, 122, 376, 378, 197, 203, 122, 377, 122, 203, 403, 203, 203, 203, 203, 203, 203, 204, 385, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 203, 203, 203, 203, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 329, 203, 203, 203, 329, 69, 330, 69, 209, 69, 216, 70, 122, 122, 122, 383, 71, 69, 382, 217, 217, 217, 217, 217, 217, 217, 217, 217, 103, 103, 103, 103, 103, 103, 103, 103, 103, 219, 122, 122, 122, 401, 209, 386, 341, 336, 341, 122, 337, 342, 342, 342, 342, 342, 342, 342, 342, 342, 379, 345, 338, 339, 122, 122, 72, 122, 387, 219, 346, 346, 346, 346, 346, 346, 346, 346, 346, 374, 384, 396, 122, 606, 350, 122, 350, 402, 348, 351, 351, 351, 351, 351, 351, 351, 351, 351, 230, 391, 230, 122, 392, 353, 353, 353, 353, 353, 353, 353, 353, 353, 122, 122, 431, 393, 395, 122, 348, 231, 231, 231, 231, 231, 231, 231, 231, 231, 357, 122, 397, 122, 398, 122, 404, 122, 389, 358, 358, 358, 358, 358, 358, 358, 358, 358, 360, 405, 122, 399, 122, 408, 122, 122, 122, 361, 361, 361, 361, 361, 361, 361, 361, 361, 394, 400, 357, 122, 413, 362, 362, 362, 362, 362, 362, 364, 364, 364, 364, 364, 364, 364, 364, 364, 122, 122, 122, 122, 380, 122, 122, 122, 407, 388, 409, 381, 122, 406, 412, 362, 362, 362, 362, 362, 362, 410, 122, 411, 122, 122, 238, 414, 122, 122, 122, 122, 122, 122, 122, 417, 122, 122, 122, 122, 424, 196, 418, 423, 428, 420, 425, 427, 122, 422, 421, 122, 122, 426, 122, 122, 419, 430, 122, 435, 437, 432, 429, 434, 122, 122, 122, 439, 436, 122, 122, 443, 433, 442, 444, 459, 445, 454, 438, 440, 201, 446, 122, 452, 441, 454, 447, 448, 449, 450, 451, 456, 457, 463, 460, 464, 330, 122, 81, 197, 209, 201, 82, 209, 209, 457, 209, 209, 472, 470, 209, 355, 355, 501, 502, 209, 499, 500, 122, 458, 471, 478, 478, 478, 478, 478, 478, 478, 478, 478, 354, 122, 122, 202, 122, 507, 122, 514, 122, 355, 355, 122, 475, 508, 473, 122, 520, 122, 122, 122, 509, 474, 477, 510, 202, 203, 523, 122, 550, 203, 122, 203, 203, 203, 203, 203, 203, 204, 476, 203, 203, 203, 203, 203, 203, 122, 122, 516, 122, 122, 479, 511, 512, 513, 203, 203, 203, 203, 203, 480, 480, 480, 480, 480, 480, 480, 480, 480, 346, 346, 346, 346, 346, 346, 346, 346, 346, 122, 122, 345, 122, 517, 515, 547, 203, 203, 203, 203, 346, 346, 346, 346, 346, 346, 346, 346, 346, 486, 486, 486, 486, 486, 486, 486, 486, 486, 348, 122, 122, 122, 545, 522, 566, 122, 203, 203, 203, 484, 122, 484, 122, 122, 485, 485, 485, 485, 485, 485, 485, 485, 485, 487, 519, 122, 122, 527, 348, 122, 518, 521, 488, 488, 488, 488, 488, 488, 488, 488, 488, 357, 524, 531, 238, 529, 535, 530, 122, 553, 490, 490, 490, 490, 490, 490, 490, 490, 490, 358, 358, 358, 358, 358, 358, 358, 358, 358, 357, 122, 122, 122, 122, 122, 525, 122, 122, 358, 358, 358, 358, 358, 358, 358, 358, 358, 360, 122, 526, 533, 534, 536, 541, 122, 122, 361, 361, 361, 361, 361, 361, 361, 361, 361, 532, 537, 357, 122, 568, 362, 362, 362, 362, 362, 362, 364, 364, 364, 364, 364, 364, 364, 364, 364, 122, 504, 122, 122, 238, 122, 122, 122, 528, 122, 544, 505, 539, 122, 538, 362, 362, 362, 362, 362, 362, 360, 506, 540, 549, 546, 542, 122, 238, 122, 494, 494, 494, 494, 494, 494, 494, 494, 494, 122, 543, 122, 122, 122, 495, 495, 495, 495, 495, 495, 555, 122, 122, 122, 122, 551, 552, 554, 548, 122, 556, 122, 557, 122, 559, 122, 562, 209, 560, 122, 122, 122, 565, 558, 495, 495, 495, 495, 495, 495, 563, 567, 122, 122, 122, 122, 570, 569, 122, 575, 122, 573, 574, 122, 578, 571, 572, 122, 577, 122, 122, 122, 122, 122, 580, 122, 238, 576, 588, 209, 209, 579, 584, 591, 583, 592, 585, 209, 581, 608, 593, 209, 586, 604, 582, 594, 209, 589, 603, 605, 209, 122, 618, 620, 621, 619, 587, 203, 725, 626, 122, 203, 122, 203, 203, 203, 203, 203, 203, 204, 122, 203, 203, 203, 203, 203, 203, 629, 623, 122, 122, 122, 122, 122, 609, 479, 203, 203, 203, 203, 203, 122, 607, 610, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 611, 479, 122, 624, 650, 203, 203, 203, 203, 639, 480, 480, 480, 480, 480, 480, 480, 480, 480, 612, 612, 612, 612, 612, 612, 612, 612, 612, 122, 613, 122, 122, 632, 122, 122, 203, 203, 203, 614, 614, 614, 614, 614, 614, 614, 614, 614, 487, 122, 630, 633, 634, 122, 637, 122, 635, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, 487, 638, 122, 122, 122, 641, 122, 625, 122, 488, 488, 488, 488, 488, 488, 488, 488, 488, 357, 122, 644, 627, 640, 122, 642, 122, 647, 490, 490, 490, 490, 490, 490, 490, 490, 490, 360, 631, 122, 122, 643, 646, 664, 122, 122, 494, 494, 494, 494, 494, 494, 494, 494, 494, 636, 651, 122, 122, 659, 495, 495, 495, 495, 495, 495, 628, 122, 122, 648, 122, 645, 122, 122, 649, 652, 122, 653, 122, 122, 122, 655, 654, 122, 657, 122, 122, 122, 658, 656, 495, 495, 495, 495, 495, 495, 360, 660, 122, 122, 661, 122, 666, 662, 698, 494, 494, 494, 494, 494, 494, 494, 494, 494, 122, 663, 122, 122, 238, 495, 495, 495, 495, 495, 495, 122, 122, 122, 668, 669, 122, 122, 671, 665, 122, 667, 670, 122, 673, 122, 676, 672, 122, 122, 122, 683, 681, 122, 686, 495, 495, 495, 495, 495, 495, 677, 122, 122, 688, 678, 679, 682, 674, 122, 680, 122, 122, 684, 122, 687, 685, 691, 122, 122, 122, 689, 122, 122, 694, 122, 122, 122, 697, 701, 209, 696, 209, 690, 702, 209, 209, 692, 693, 209, 695, 712, 700, 209, 209, 713, 209, 479, 722, 122, 723, 726, 727, 720, 711, 721, 611, 611, 611, 611, 611, 611, 611, 611, 611, 122, 122, 122, 724, 122, 728, 122, 714, 613, 729, 122, 715, 122, 122, 122, 122, 717, 719, 719, 719, 719, 719, 719, 719, 719, 719, 122, 122, 732, 122, 736, 716, 737, 718, 719, 719, 719, 719, 719, 719, 719, 719, 719, 613, 122, 739, 731, 122, 733, 122, 738, 122, 614, 614, 614, 614, 614, 614, 614, 614, 614, 487, 735, 122, 742, 122, 741, 122, 743, 122, 616, 616, 616, 616, 616, 616, 616, 616, 616, 122, 122, 740, 238, 122, 122, 744, 122, 122, 730, 734, 122, 122, 122, 122, 751, 122, 752, 122, 754, 122, 755, 749, 122, 122, 753, 122, 748, 122, 122, 750, 747, 122, 756, 122, 761, 122, 760, 758, 763, 757, 759, 762, 762, 765, 762, 762, 238, 773, 122, 122, 122, 122, 764, 122, 122, 780, 774, 775, 782, 122, 785, 788, 781, 787, 122, 783, 789, 778, 122, 122, 784, 122, 122, 122, 122, 786, 122, 122, 790, 791, 209, 209, 813, 819, 814, 793, 792, 122, 804, 816, 768, 122, 122, 209, 122, 821, 122, 122, 824, 122, 122, 827, 803, 122, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 767, 767, 767, 767, 767, 767, 767, 767, 767, 766, 766, 766, 766, 766, 808, 209, 209, 805, 805, 238, 805, 805, 209, 209, 817, 818, 122, 815, 1155, 122, 806, 122, 122, 828, 122, 831, 122, 825, 122, 766, 766, 766, 766, 122, 122, 209, 122, 820, 822, 122, 809, 826, 122, 810, 122, 122, 871, 811, 122, 834, 812, 829, 122, 794, 122, 807, 830, 836, 867, 766, 766, 766, 767, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 777, 777, 777, 777, 777, 777, 777, 777, 777, 776, 776, 776, 776, 776, 613, 122, 122, 122, 238, 238, 122, 122, 209, 719, 719, 719, 719, 719, 719, 719, 719, 719, 835, 122, 838, 842, 841, 844, 850, 776, 776, 776, 776, 122, 122, 847, 847, 122, 847, 847, 762, 762, 848, 762, 762, 122, 122, 122, 122, 122, 864, 866, 832, 833, 868, 122, 916, 892, 735, 776, 776, 776, 777, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 840, 840, 840, 840, 840, 840, 840, 840, 840, 839, 839, 839, 839, 839, 122, 122, 122, 122, 238, 122, 238, 869, 122, 122, 872, 209, 879, 209, 122, 209, 851, 897, 870, 874, 122, 122, 875, 849, 878, 839, 839, 839, 839, 122, 856, 122, 857, 873, 876, 877, 209, 907, 727, 727, 888, 122, 865, 122, 122, 986, 122, 1137, 893, 904, 895, 889, 122, 122, 899, 839, 839, 839, 840, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 846, 846, 846, 846, 846, 846, 846, 846, 846, 845, 845, 845, 845, 845, 209, 852, 852, 122, 852, 852, 805, 805, 238, 805, 805, 890, 890, 122, 890, 890, 122, 238, 902, 806, 122, 122, 238, 901, 891, 845, 845, 845, 845, 853, 122, 903, 735, 122, 906, 122, 122, 122, 122, 209, 909, 905, 122, 925, 900, 894, 122, 122, 847, 847, 908, 847, 847, 914, 928, 845, 845, 845, 846, 122, 923, 910, 924, 122, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 855, 855, 855, 855, 855, 855, 855, 855, 855, 854, 854, 854, 854, 854, 122, 122, 122, 122, 912, 852, 852, 926, 852, 852, 122, 122, 122, 927, 929, 931, 932, 122, 934, 915, 209, 209, 122, 209, 930, 854, 854, 854, 854, 209, 911, 933, 1136, 853, 805, 805, 122, 805, 805, 805, 805, 949, 805, 805, 946, 122, 238, 806, 947, 122, 890, 890, 806, 890, 890, 854, 854, 854, 855, 122, 945, 122, 209, 891, 122, 808, 943, 209, 808, 122, 735, 122, 950, 122, 944, 948, 122, 122, 122, 953, 122, 122, 807, 951, 968, 959, 122, 807, 735, 957, 957, 976, 957, 957, 209, 952, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 955, 955, 955, 955, 955, 955, 955, 955, 955, 954, 954, 954, 954, 954, 122, 122, 122, 122, 122, 122, 970, 122, 209, 808, 122, 122, 122, 122, 972, 122, 989, 122, 960, 961, 975, 122, 969, 971, 973, 954, 954, 954, 954, 977, 974, 978, 987, 122, 988, 122, 122, 1121, 990, 122, 122, 957, 957, 122, 957, 957, 122, 122, 122, 1005, 122, 997, 122, 808, 992, 954, 954, 954, 955, 122, 122, 1009, 996, 122, 1006, 1008, 998, 1015, 122, 1010, 122, 1011, 1024, 1007, 1012, 1013, 500, 238, 122, 122, 1025, 122, 1014, 122, 1017, 122, 1026, 1016, 122, 122, 122, 122, 1039, 1044, 1045, 1046, 122, 122, 1029, 1052, 1034, 122, 1028, 1042, 1059, 1040, 1041, 1047, 122, 1048, 1043, 122, 1049, 1050, 1060, 238, 1051, 122, 122, 238, 1083, 994, 238, 1084, 1080, 1053, 122, 1081, 1061, 122, 122, 1082, 122, 1118, 122, 122, 1087, 122, 238, 122, 1062, 1117, 1065, 1065, 122, 1065, 1065, 122, 1068, 122, 1067, 1070, 1071, 1072, 1085, 1073, 1075, 1076, 1077, 122, 1078, 122, 122, 122, 122, 1094, 122, 1098, 122, 1110, 1066, 1100, 1101, 1086, 1102, 1074, 1103, 122, 1095, 1095, 1079, 1095, 1095, 1065, 1065, 1105, 1065, 1065, 122, 122, 1106, 122, 122, 122, 122, 1104, 1107, 122, 1108, 122, 1109, 1111, 122, 122, 122, 122, 1096, 122, 1119, 238, 122, 1066, 1112, 122, 1114, 122, 1120, 122, 1113, 1095, 1095, 1116, 1095, 1095, 122, 1123, 122, 1124, 122, 1125, 122, 1126, 122, 122, 122, 1122, 1127, 122, 1128, 122, 122, 122, 1129, 122, 1130, 122, 1131, 1096, 122, 122, 122, 1132, 1133, 1138, 1139, 1139, 122, 1139, 1139, 122, 122, 122, 1142, 1135, 1143, 122, 1134, 122, 1144, 122, 1145, 122, 1147, 122, 1148, 1141, 1149, 1146, 122, 122, 122, 122, 1140, 1150, 1157, 122, 122, 1154, 1152, 1153, 1139, 1139, 122, 1139, 1139, 122, 1151, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 1171, 122, 1158, 1168, 122, 1159, 1162, 1160, 1161, 122, 1163, 1140, 1164, 1165, 1166, 1167, 122, 1169, 122, 122, 122, 122, 122, 1172, 122, 122, 122, 122, 122, 1182, 1173, 1181, 1183, 1174, 1175, 1176, 1177, 122, 1178, 1179, 1180, 122, 1185, 122, 122, 1188, 122, 1187, 1186, 122, 122, 1190, 122, 122, 122, 122, 1184, 1192, 122, 122, 1099, 122, 122, 1189, 1097, 122, 1191, 1093, 1092, 1194, 1193, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 78, 78, 78, 78, 78, 78, 1091, 78, 78, 78, 78, 78, 78, 78, 84, 84, 1089, 84, 84, 1088, 122, 122, 122, 122, 84, 84, 84, 109, 109, 109, 109, 122, 109, 109, 109, 120, 120, 122, 120, 120, 120, 196, 196, 1069, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 203, 1064, 1063, 122, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 208, 208, 208, 208, 208, 208, 218, 1058, 218, 218, 1057, 218, 218, 218, 221, 221, 1056, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 224, 224, 1055, 224, 224, 224, 226, 226, 226, 226, 1054, 226, 226, 226, 232, 232, 122, 232, 233, 233, 1038, 233, 233, 233, 321, 321, 1037, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 340, 340, 1036, 340, 340, 340, 347, 1035, 347, 347, 122, 347, 347, 347, 349, 349, 1033, 349, 349, 349, 352, 352, 1032, 352, 352, 352, 356, 1031, 356, 1030, 1027, 356, 356, 356, 359, 1023, 359, 359, 1022, 359, 359, 359, 363, 1021, 363, 363, 1020, 363, 363, 363, 365, 1019, 365, 365, 122, 365, 365, 365, 455, 455, 1004, 455, 455, 455, 455, 455, 455, 455, 455, 455, 455, 455, 461, 461, 1003, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 467, 467, 467, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 468, 1002, 1001, 1000, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 469, 469, 469, 84, 999, 995, 993, 122, 122, 84, 84, 84, 208, 208, 208, 208, 208, 208, 481, 991, 481, 481, 122, 481, 481, 481, 482, 482, 122, 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, 347, 986, 347, 347, 985, 347, 347, 347, 483, 483, 984, 483, 483, 483, 349, 349, 983, 349, 349, 349, 489, 981, 489, 489, 980, 489, 489, 489, 352, 352, 979, 352, 352, 352, 491, 122, 491, 491, 967, 491, 491, 491, 356, 966, 356, 965, 964, 356, 356, 356, 492, 492, 963, 492, 492, 492, 359, 962, 359, 359, 958, 359, 359, 359, 493, 493, 956, 493, 493, 493, 361, 361, 122, 361, 363, 122, 363, 363, 122, 363, 363, 363, 496, 942, 496, 496, 941, 496, 496, 496, 497, 497, 940, 497, 497, 497, 365, 939, 365, 365, 938, 365, 365, 365, 498, 498, 937, 498, 498, 498, 120, 120, 936, 120, 120, 120, 503, 503, 503, 455, 455, 935, 455, 455, 455, 455, 455, 455, 455, 455, 455, 455, 455, 590, 590, 122, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 321, 321, 122, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 461, 461, 122, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 596, 596, 122, 596, 596, 596, 596, 596, 596, 596, 596, 596, 596, 596, 597, 597, 922, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 598, 598, 921, 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, 601, 601, 920, 601, 601, 601, 468, 919, 918, 917, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 602, 602, 122, 602, 602, 602, 208, 208, 208, 208, 208, 208, 218, 122, 218, 218, 913, 218, 218, 218, 481, 122, 481, 481, 122, 481, 481, 481, 340, 340, 122, 340, 340, 340, 482, 482, 122, 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, 483, 483, 122, 483, 483, 483, 615, 122, 615, 615, 122, 615, 615, 615, 224, 122, 224, 224, 122, 224, 224, 224, 489, 122, 489, 489, 122, 489, 489, 489, 349, 349, 898, 349, 349, 349, 491, 896, 491, 491, 122, 491, 491, 491, 617, 617, 122, 617, 617, 617, 492, 492, 209, 492, 492, 492, 493, 493, 887, 493, 493, 493, 496, 886, 496, 496, 885, 496, 496, 496, 497, 497, 884, 497, 497, 497, 498, 498, 883, 498, 498, 498, 120, 120, 882, 120, 120, 120, 622, 622, 881, 622, 622, 622, 455, 455, 880, 455, 455, 455, 455, 455, 455, 455, 455, 455, 455, 455, 590, 590, 122, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 704, 704, 122, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 705, 705, 122, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 321, 321, 122, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 596, 596, 863, 596, 596, 596, 596, 596, 596, 596, 596, 596, 596, 596, 597, 597, 862, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 598, 598, 861, 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, 601, 601, 860, 601, 601, 601, 602, 602, 859, 602, 602, 602, 208, 208, 208, 208, 208, 208, 218, 858, 218, 218, 122, 218, 218, 218, 347, 843, 347, 347, 122, 347, 347, 347, 615, 837, 615, 615, 122, 615, 615, 615, 483, 483, 122, 483, 483, 483, 224, 122, 224, 224, 122, 224, 224, 224, 617, 617, 823, 617, 617, 617, 982, 982, 122, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 1018, 1018, 122, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, 122, 802, 766, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, 801, 800, 776, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 799, 798, 839, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 845, 797, 796, 845, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 795, 122, 854, 1090, 1090, 779, 1090, 1090, 1090, 1090, 1090, 1090, 1090, 1090, 1090, 1090, 1090, 1115, 1115, 122, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 954, 772, 771, 954, 1156, 1156, 770, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1170, 1170, 769, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 122, 122, 122, 122, 122, 122, 122, 746, 745, 122, 122, 710, 709, 708, 707, 706, 703, 699, 122, 122, 122, 675, 122, 122, 122, 122, 122, 122, 122, 600, 599, 595, 122, 564, 561, 122, 122, 122, 122, 466, 465, 462, 343, 453, 122, 416, 122, 122, 390, 371, 370, 344, 343, 332, 209, 331, 204, 328, 327, 197, 200, 197, 290, 134, 204, 79, 122, 236, 235, 215, 214, 209, 200, 197, 136, 122, 117, 88, 79, 67, 1195, 3, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195 } ; static const flex_int16_t yy_chk[4100] = { 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 5, 2, 2, 11, 5, 2, 9, 9, 9, 16, 9, 10, 9, 10, 10, 1194, 2, 9, 9, 13, 13, 17, 13, 13, 11, 16, 22, 29, 13, 22, 2, 29, 13, 18, 28, 17, 17, 18, 23, 18, 18, 18, 18, 18, 18, 18, 18, 18, 25, 25, 19, 31, 13, 30, 13, 19, 26, 34, 23, 23, 23, 47, 36, 28, 36, 9, 33, 19, 52, 45, 26, 29, 30, 52, 13, 47, 33, 86, 34, 1191, 45, 13, 20, 29, 35, 35, 45, 35, 35, 20, 86, 20, 20, 20, 20, 20, 20, 20, 20, 20, 32, 48, 57, 21, 32, 57, 20, 31, 122, 20, 21, 40, 21, 21, 21, 21, 21, 21, 21, 21, 21, 48, 40, 58, 40, 78, 41, 286, 20, 43, 21, 40, 39, 122, 43, 41, 20, 58, 39, 20, 41, 59, 35, 43, 32, 39, 44, 39, 66, 50, 286, 39, 66, 43, 42, 42, 32, 20, 46, 44, 21, 39, 42, 51, 50, 42, 50, 50, 42, 44, 53, 46, 49, 49, 78, 69, 46, 49, 53, 53, 51, 55, 54, 51, 56, 55, 49, 54, 53, 53, 54, 70, 49, 56, 71, 104, 104, 64, 56, 54, 59, 55, 64, 56, 60, 60, 54, 60, 60, 79, 87, 60, 97, 1179, 64, 68, 68, 68, 79, 68, 97, 68, 60, 83, 124, 55, 68, 68, 69, 72, 72, 72, 72, 72, 85, 121, 60, 55, 98, 85, 72, 72, 70, 83, 87, 80, 80, 71, 80, 80, 55, 98, 96, 123, 80, 55, 121, 130, 80, 139, 163, 96, 96, 96, 96, 96, 96, 96, 96, 96, 128, 123, 163, 139, 68, 126, 130, 124, 80, 96, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 101, 101, 101, 101, 101, 101, 101, 101, 101, 238, 80, 138, 143, 102, 128, 238, 138, 80, 101, 96, 102, 143, 102, 102, 102, 102, 102, 102, 102, 102, 102, 107, 107, 107, 107, 107, 107, 107, 107, 107, 102, 126, 103, 144, 131, 167, 140, 144, 101, 103, 167, 103, 103, 103, 103, 103, 103, 103, 103, 103, 131, 132, 132, 140, 132, 132, 105, 145, 105, 103, 102, 105, 105, 105, 105, 105, 105, 105, 105, 105, 108, 146, 148, 149, 149, 1178, 145, 108, 147, 108, 108, 108, 108, 108, 108, 108, 108, 108, 141, 103, 146, 148, 147, 110, 142, 110, 141, 108, 110, 110, 110, 110, 110, 110, 110, 110, 110, 127, 1177, 132, 137, 150, 150, 153, 171, 166, 171, 127, 151, 142, 142, 137, 142, 142, 155, 142, 166, 108, 142, 137, 151, 151, 127, 153, 142, 154, 142, 142, 142, 152, 156, 159, 152, 157, 155, 152, 160, 158, 154, 161, 152, 162, 159, 164, 169, 156, 158, 157, 165, 156, 159, 187, 161, 165, 1176, 160, 179, 170, 173, 187, 162, 172, 174, 169, 175, 164, 170, 165, 172, 174, 172, 170, 173, 175, 176, 176, 177, 178, 176, 181, 179, 180, 184, 181, 182, 194, 183, 174, 177, 185, 194, 176, 188, 182, 178, 183, 180, 186, 185, 184, 185, 197, 182, 197, 198, 199, 199, 186, 210, 188, 191, 191, 198, 191, 191, 200, 200, 191, 211, 199, 212, 210, 229, 181, 246, 240, 243, 237, 191, 1175, 244, 229, 229, 199, 211, 181, 239, 246, 212, 244, 247, 249, 191, 216, 216, 216, 216, 216, 216, 216, 216, 216, 237, 240, 239, 243, 255, 247, 249, 197, 205, 248, 248, 272, 205, 272, 205, 205, 205, 205, 205, 205, 205, 255, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 206, 206, 206, 213, 206, 217, 206, 1174, 252, 253, 253, 206, 206, 252, 217, 217, 217, 217, 217, 217, 217, 217, 217, 228, 228, 228, 228, 228, 228, 228, 228, 228, 217, 256, 250, 270, 270, 473, 256, 219, 213, 219, 257, 213, 219, 219, 219, 219, 219, 219, 219, 219, 219, 250, 223, 213, 213, 265, 245, 206, 254, 257, 217, 223, 223, 223, 223, 223, 223, 223, 223, 223, 245, 254, 265, 271, 473, 225, 261, 225, 271, 223, 225, 225, 225, 225, 225, 225, 225, 225, 225, 227, 261, 227, 262, 262, 227, 227, 227, 227, 227, 227, 227, 227, 227, 266, 264, 302, 262, 264, 267, 223, 230, 230, 230, 230, 230, 230, 230, 230, 230, 231, 259, 266, 268, 267, 273, 273, 274, 259, 231, 231, 231, 231, 231, 231, 231, 231, 231, 232, 274, 302, 268, 277, 277, 1173, 263, 269, 232, 232, 232, 232, 232, 232, 232, 232, 232, 263, 269, 234, 283, 283, 232, 232, 232, 232, 232, 232, 234, 234, 234, 234, 234, 234, 234, 234, 234, 251, 258, 275, 276, 251, 278, 281, 282, 276, 258, 278, 251, 279, 275, 282, 232, 232, 232, 232, 232, 232, 279, 284, 281, 288, 289, 290, 284, 291, 292, 293, 295, 294, 296, 298, 288, 297, 300, 301, 299, 295, 319, 289, 294, 299, 291, 296, 298, 304, 293, 292, 290, 303, 297, 305, 307, 290, 301, 309, 305, 307, 303, 300, 304, 308, 311, 310, 309, 305, 312, 313, 313, 303, 312, 314, 322, 314, 317, 308, 310, 330, 314, 315, 315, 311, 317, 314, 314, 314, 314, 314, 318, 318, 324, 322, 324, 328, 314, 332, 319, 333, 328, 332, 335, 334, 318, 336, 337, 335, 333, 339, 354, 354, 368, 369, 338, 366, 367, 379, 318, 334, 341, 341, 341, 341, 341, 341, 341, 341, 341, 355, 367, 366, 330, 369, 372, 373, 379, 374, 355, 355, 368, 337, 373, 336, 385, 385, 388, 375, 372, 374, 336, 339, 375, 328, 329, 388, 418, 418, 329, 381, 329, 329, 329, 329, 329, 329, 329, 338, 329, 329, 329, 329, 329, 329, 377, 376, 381, 378, 1172, 342, 376, 377, 378, 329, 329, 329, 329, 329, 342, 342, 342, 342, 342, 342, 342, 342, 342, 345, 345, 345, 345, 345, 345, 345, 345, 345, 380, 382, 346, 415, 382, 380, 415, 329, 329, 329, 329, 346, 346, 346, 346, 346, 346, 346, 346, 346, 350, 350, 350, 350, 350, 350, 350, 350, 350, 346, 387, 413, 433, 413, 387, 433, 384, 329, 329, 329, 348, 393, 348, 383, 386, 348, 348, 348, 348, 348, 348, 348, 348, 348, 351, 384, 397, 401, 393, 346, 389, 383, 386, 351, 351, 351, 351, 351, 351, 351, 351, 351, 353, 389, 397, 390, 396, 401, 396, 421, 421, 353, 353, 353, 353, 353, 353, 353, 353, 353, 357, 357, 357, 357, 357, 357, 357, 357, 357, 358, 390, 399, 400, 402, 408, 390, 392, 1171, 358, 358, 358, 358, 358, 358, 358, 358, 358, 361, 396, 392, 399, 400, 402, 408, 398, 403, 361, 361, 361, 361, 361, 361, 361, 361, 361, 398, 403, 364, 435, 435, 361, 361, 361, 361, 361, 361, 364, 364, 364, 364, 364, 364, 364, 364, 364, 395, 371, 404, 406, 371, 411, 407, 414, 395, 417, 411, 371, 406, 409, 404, 361, 361, 361, 361, 361, 361, 362, 371, 407, 417, 414, 409, 410, 416, 371, 362, 362, 362, 362, 362, 362, 362, 362, 362, 419, 410, 423, 424, 425, 362, 362, 362, 362, 362, 362, 423, 420, 422, 416, 426, 419, 420, 422, 416, 432, 424, 429, 425, 427, 427, 436, 429, 475, 427, 441, 434, 430, 432, 426, 362, 362, 362, 362, 362, 362, 430, 434, 437, 438, 439, 440, 437, 436, 443, 441, 445, 439, 440, 444, 445, 437, 438, 446, 444, 447, 448, 449, 451, 450, 447, 452, 453, 443, 456, 472, 470, 446, 450, 458, 449, 458, 451, 471, 447, 475, 459, 474, 452, 471, 448, 459, 476, 456, 470, 472, 477, 453, 499, 501, 502, 500, 453, 468, 624, 507, 510, 468, 499, 468, 468, 468, 468, 468, 468, 468, 500, 468, 468, 468, 468, 468, 468, 510, 504, 502, 507, 624, 501, 504, 476, 478, 468, 468, 468, 468, 468, 534, 474, 477, 478, 478, 478, 478, 478, 478, 478, 478, 478, 479, 479, 479, 479, 479, 479, 479, 479, 479, 480, 520, 505, 534, 468, 468, 468, 468, 520, 480, 480, 480, 480, 480, 480, 480, 480, 480, 484, 484, 484, 484, 484, 484, 484, 484, 484, 505, 485, 511, 513, 513, 514, 518, 468, 468, 468, 485, 485, 485, 485, 485, 485, 485, 485, 485, 486, 515, 511, 514, 515, 516, 518, 1167, 516, 486, 486, 486, 486, 486, 486, 486, 486, 486, 487, 487, 487, 487, 487, 487, 487, 487, 487, 488, 519, 522, 521, 525, 522, 523, 506, 508, 488, 488, 488, 488, 488, 488, 488, 488, 488, 490, 506, 525, 508, 521, 549, 523, 512, 530, 490, 490, 490, 490, 490, 490, 490, 490, 490, 494, 512, 519, 524, 524, 529, 549, 517, 535, 494, 494, 494, 494, 494, 494, 494, 494, 494, 517, 535, 509, 544, 544, 494, 494, 494, 494, 494, 494, 509, 526, 530, 533, 536, 526, 537, 538, 533, 536, 540, 537, 539, 529, 542, 539, 538, 543, 542, 546, 545, 585, 543, 540, 494, 494, 494, 494, 494, 494, 495, 545, 547, 548, 546, 552, 552, 547, 585, 495, 495, 495, 495, 495, 495, 495, 495, 495, 550, 548, 553, 556, 561, 495, 495, 495, 495, 495, 495, 554, 555, 557, 554, 555, 559, 1162, 557, 550, 560, 553, 556, 563, 560, 565, 563, 559, 566, 561, 567, 567, 565, 571, 571, 495, 495, 495, 495, 495, 495, 564, 573, 575, 575, 564, 564, 566, 561, 568, 564, 570, 576, 568, 577, 573, 570, 578, 579, 580, 581, 576, 583, 584, 581, 582, 587, 578, 584, 588, 603, 583, 605, 577, 588, 606, 604, 579, 580, 607, 582, 604, 587, 608, 609, 605, 610, 611, 620, 1152, 621, 625, 626, 618, 603, 619, 611, 611, 611, 611, 611, 611, 611, 611, 611, 618, 626, 619, 623, 627, 627, 628, 606, 612, 628, 620, 607, 621, 623, 636, 625, 609, 612, 612, 612, 612, 612, 612, 612, 612, 612, 630, 631, 631, 635, 635, 608, 636, 610, 613, 613, 613, 613, 613, 613, 613, 613, 613, 614, 632, 638, 630, 637, 632, 640, 637, 634, 614, 614, 614, 614, 614, 614, 614, 614, 614, 616, 634, 641, 641, 642, 640, 643, 642, 639, 616, 616, 616, 616, 616, 616, 616, 616, 616, 629, 633, 639, 648, 649, 638, 643, 650, 655, 629, 633, 651, 654, 659, 660, 654, 668, 655, 662, 660, 661, 661, 650, 664, 665, 659, 672, 649, 648, 666, 651, 648, 667, 662, 670, 668, 671, 667, 665, 670, 664, 666, 669, 669, 672, 669, 669, 675, 680, 683, 685, 686, 691, 671, 687, 688, 685, 680, 680, 687, 689, 690, 693, 686, 692, 697, 688, 694, 683, 690, 693, 689, 675, 692, 695, 698, 691, 696, 694, 695, 696, 711, 712, 720, 726, 721, 698, 697, 720, 712, 723, 675, 1141, 730, 714, 721, 730, 734, 726, 734, 723, 738, 738, 711, 669, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 714, 715, 716, 713, 713, 699, 713, 713, 717, 718, 724, 725, 736, 722, 1136, 728, 713, 731, 740, 740, 743, 743, 737, 736, 787, 674, 674, 674, 674, 674, 699, 713, 722, 728, 731, 724, 715, 737, 741, 716, 725, 742, 787, 717, 747, 747, 718, 741, 749, 699, 782, 713, 742, 749, 782, 674, 674, 674, 674, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 681, 719, 752, 756, 748, 745, 746, 758, 763, 809, 719, 719, 719, 719, 719, 719, 719, 719, 719, 748, 755, 752, 756, 755, 758, 763, 681, 681, 681, 681, 745, 746, 760, 760, 761, 760, 760, 762, 762, 761, 762, 762, 778, 781, 825, 1120, 784, 778, 781, 745, 746, 784, 857, 857, 809, 825, 681, 681, 681, 681, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 760, 764, 785, 786, 769, 788, 779, 785, 793, 792, 788, 803, 793, 810, 789, 812, 764, 818, 786, 790, 835, 791, 790, 762, 792, 753, 753, 753, 753, 769, 769, 779, 769, 789, 790, 791, 804, 835, 813, 815, 803, 822, 779, 790, 818, 1118, 829, 1117, 810, 829, 812, 804, 813, 815, 822, 753, 753, 753, 753, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, 811, 765, 765, 824, 765, 765, 805, 805, 823, 805, 805, 808, 808, 826, 808, 808, 834, 843, 826, 805, 827, 830, 837, 824, 808, 759, 759, 759, 759, 765, 831, 827, 830, 823, 834, 841, 851, 873, 870, 808, 841, 831, 843, 870, 823, 811, 865, 837, 847, 847, 837, 847, 847, 851, 873, 759, 759, 759, 759, 869, 865, 843, 869, 765, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, 848, 856, 871, 874, 848, 852, 852, 871, 852, 852, 872, 875, 877, 872, 874, 876, 877, 878, 879, 856, 892, 893, 901, 894, 875, 768, 768, 768, 768, 895, 847, 878, 1116, 852, 888, 888, 876, 888, 888, 889, 889, 901, 889, 889, 897, 879, 896, 888, 898, 897, 890, 890, 889, 890, 890, 768, 768, 768, 768, 903, 896, 900, 888, 890, 904, 892, 893, 889, 894, 902, 903, 896, 902, 898, 895, 900, 906, 905, 908, 908, 914, 923, 888, 904, 923, 914, 932, 889, 905, 912, 912, 932, 912, 912, 943, 906, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 915, 916, 926, 924, 927, 928, 926, 931, 944, 943, 929, 930, 933, 948, 928, 1111, 948, 934, 915, 916, 931, 912, 924, 927, 929, 910, 910, 910, 910, 933, 930, 934, 945, 949, 947, 1110, 953, 1097, 949, 945, 947, 957, 957, 959, 957, 957, 960, 961, 968, 968, 969, 960, 972, 944, 953, 910, 910, 910, 910, 971, 973, 973, 959, 975, 969, 972, 961, 976, 977, 974, 978, 974, 987, 971, 974, 974, 988, 991, 976, 992, 988, 1005, 975, 997, 978, 989, 989, 977, 1006, 1007, 988, 1009, 1005, 1010, 1011, 1012, 1008, 1015, 992, 1016, 997, 987, 991, 1008, 1024, 1006, 1007, 1014, 1017, 1014, 1009, 974, 1014, 1014, 1025, 1027, 1015, 1026, 1024, 1028, 1048, 957, 1033, 1049, 1043, 1017, 1016, 1043, 1026, 1034, 1010, 1047, 1053, 1092, 1012, 1011, 1053, 1051, 1062, 1025, 1027, 1091, 1032, 1032, 1028, 1032, 1032, 1033, 1034, 1014, 1033, 1040, 1040, 1040, 1051, 1040, 1041, 1041, 1041, 1052, 1041, 1048, 1049, 1062, 1043, 1060, 1067, 1067, 1047, 1080, 1032, 1070, 1071, 1052, 1072, 1040, 1073, 1060, 1063, 1063, 1041, 1063, 1063, 1065, 1065, 1075, 1065, 1065, 1070, 1071, 1076, 1072, 1040, 1073, 1074, 1074, 1077, 1041, 1078, 1079, 1079, 1081, 1075, 1085, 1086, 1087, 1063, 1076, 1093, 1093, 1080, 1065, 1085, 1077, 1087, 1078, 1094, 1098, 1086, 1095, 1095, 1089, 1095, 1095, 1100, 1100, 1101, 1101, 1102, 1102, 1103, 1103, 1094, 1104, 1093, 1098, 1104, 1105, 1105, 1112, 1081, 1106, 1106, 1107, 1107, 1108, 1108, 1095, 1109, 1113, 1114, 1109, 1112, 1119, 1121, 1121, 1122, 1121, 1121, 1123, 1127, 1124, 1123, 1114, 1124, 1125, 1113, 1126, 1125, 1128, 1126, 1129, 1128, 1130, 1129, 1122, 1130, 1127, 1119, 1132, 1131, 1133, 1121, 1131, 1138, 1134, 1135, 1135, 1133, 1134, 1139, 1139, 1142, 1139, 1139, 1143, 1132, 1144, 1145, 1146, 1147, 1153, 1148, 1149, 1150, 1154, 1084, 1157, 1151, 1142, 1153, 1138, 1143, 1146, 1144, 1145, 1158, 1147, 1139, 1148, 1149, 1150, 1151, 1159, 1154, 1157, 1160, 1161, 1163, 1164, 1158, 1165, 1166, 1169, 1168, 1180, 1180, 1159, 1169, 1181, 1160, 1161, 1163, 1164, 1182, 1165, 1166, 1168, 1183, 1183, 1184, 1185, 1186, 1187, 1185, 1184, 1181, 1188, 1188, 1189, 1192, 1190, 1193, 1182, 1190, 1083, 1082, 1069, 1068, 1186, 1187, 1064, 1061, 1189, 1059, 1058, 1193, 1192, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1197, 1197, 1197, 1197, 1197, 1197, 1057, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1198, 1198, 1055, 1198, 1198, 1054, 1050, 1046, 1045, 1044, 1198, 1198, 1198, 1199, 1199, 1199, 1199, 1042, 1199, 1199, 1199, 1200, 1200, 1039, 1200, 1200, 1200, 1201, 1201, 1036, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1203, 1031, 1030, 1029, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1204, 1204, 1204, 1204, 1204, 1204, 1205, 1023, 1205, 1205, 1022, 1205, 1205, 1205, 1206, 1206, 1021, 1206, 1206, 1206, 1206, 1206, 1206, 1206, 1206, 1206, 1206, 1206, 1207, 1207, 1020, 1207, 1207, 1207, 1208, 1208, 1208, 1208, 1019, 1208, 1208, 1208, 1209, 1209, 1013, 1209, 1210, 1210, 1003, 1210, 1210, 1210, 1211, 1211, 1001, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1212, 1212, 1000, 1212, 1212, 1212, 1213, 999, 1213, 1213, 998, 1213, 1213, 1213, 1214, 1214, 996, 1214, 1214, 1214, 1215, 1215, 995, 1215, 1215, 1215, 1216, 994, 1216, 993, 990, 1216, 1216, 1216, 1217, 985, 1217, 1217, 984, 1217, 1217, 1217, 1218, 983, 1218, 1218, 981, 1218, 1218, 1218, 1219, 980, 1219, 1219, 970, 1219, 1219, 1219, 1220, 1220, 967, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1221, 1221, 966, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1222, 1222, 1222, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1224, 965, 964, 963, 1224, 1224, 1224, 1224, 1224, 1224, 1224, 1224, 1224, 1224, 1225, 1225, 1225, 1226, 962, 958, 956, 955, 952, 1226, 1226, 1226, 1227, 1227, 1227, 1227, 1227, 1227, 1228, 951, 1228, 1228, 950, 1228, 1228, 1228, 1229, 1229, 946, 1229, 1229, 1229, 1229, 1229, 1229, 1229, 1229, 1229, 1229, 1229, 1230, 942, 1230, 1230, 941, 1230, 1230, 1230, 1231, 1231, 940, 1231, 1231, 1231, 1232, 1232, 939, 1232, 1232, 1232, 1233, 937, 1233, 1233, 936, 1233, 1233, 1233, 1234, 1234, 935, 1234, 1234, 1234, 1235, 925, 1235, 1235, 922, 1235, 1235, 1235, 1236, 921, 1236, 920, 919, 1236, 1236, 1236, 1237, 1237, 918, 1237, 1237, 1237, 1238, 917, 1238, 1238, 913, 1238, 1238, 1238, 1239, 1239, 911, 1239, 1239, 1239, 1240, 1240, 909, 1240, 1241, 907, 1241, 1241, 899, 1241, 1241, 1241, 1242, 887, 1242, 1242, 886, 1242, 1242, 1242, 1243, 1243, 885, 1243, 1243, 1243, 1244, 884, 1244, 1244, 883, 1244, 1244, 1244, 1245, 1245, 882, 1245, 1245, 1245, 1246, 1246, 881, 1246, 1246, 1246, 1247, 1247, 1247, 1248, 1248, 880, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1249, 1249, 868, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1250, 1250, 867, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1251, 1251, 866, 1251, 1251, 1251, 1251, 1251, 1251, 1251, 1251, 1251, 1251, 1251, 1252, 1252, 864, 1252, 1252, 1252, 1252, 1252, 1252, 1252, 1252, 1252, 1252, 1252, 1253, 1253, 863, 1253, 1253, 1253, 1253, 1253, 1253, 1253, 1253, 1253, 1253, 1253, 1254, 1254, 862, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1255, 1255, 861, 1255, 1255, 1255, 1256, 860, 859, 858, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1257, 1257, 855, 1257, 1257, 1257, 1258, 1258, 1258, 1258, 1258, 1258, 1259, 850, 1259, 1259, 849, 1259, 1259, 1259, 1260, 846, 1260, 1260, 844, 1260, 1260, 1260, 1261, 1261, 842, 1261, 1261, 1261, 1262, 1262, 840, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1263, 1263, 838, 1263, 1263, 1263, 1264, 836, 1264, 1264, 833, 1264, 1264, 1264, 1265, 832, 1265, 1265, 828, 1265, 1265, 1265, 1266, 821, 1266, 1266, 820, 1266, 1266, 1266, 1267, 1267, 819, 1267, 1267, 1267, 1268, 817, 1268, 1268, 816, 1268, 1268, 1268, 1269, 1269, 814, 1269, 1269, 1269, 1270, 1270, 807, 1270, 1270, 1270, 1271, 1271, 802, 1271, 1271, 1271, 1272, 801, 1272, 1272, 800, 1272, 1272, 1272, 1273, 1273, 799, 1273, 1273, 1273, 1274, 1274, 798, 1274, 1274, 1274, 1275, 1275, 797, 1275, 1275, 1275, 1276, 1276, 796, 1276, 1276, 1276, 1277, 1277, 795, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1278, 1278, 794, 1278, 1278, 1278, 1278, 1278, 1278, 1278, 1278, 1278, 1278, 1278, 1279, 1279, 783, 1279, 1279, 1279, 1279, 1279, 1279, 1279, 1279, 1279, 1279, 1279, 1280, 1280, 780, 1280, 1280, 1280, 1280, 1280, 1280, 1280, 1280, 1280, 1280, 1280, 1281, 1281, 777, 1281, 1281, 1281, 1281, 1281, 1281, 1281, 1281, 1281, 1281, 1281, 1282, 1282, 775, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1283, 1283, 774, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1284, 1284, 773, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1285, 1285, 772, 1285, 1285, 1285, 1286, 1286, 771, 1286, 1286, 1286, 1287, 1287, 1287, 1287, 1287, 1287, 1288, 770, 1288, 1288, 767, 1288, 1288, 1288, 1289, 757, 1289, 1289, 754, 1289, 1289, 1289, 1290, 751, 1290, 1290, 750, 1290, 1290, 1290, 1291, 1291, 744, 1291, 1291, 1291, 1292, 739, 1292, 1292, 735, 1292, 1292, 1292, 1293, 1293, 733, 1293, 1293, 1293, 1294, 1294, 732, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1295, 1295, 729, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 727, 710, 1296, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 709, 708, 1297, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 707, 706, 1298, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 703, 702, 1299, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 701, 700, 1300, 1301, 1301, 684, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1302, 1302, 682, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 679, 678, 1303, 1304, 1304, 677, 1304, 1304, 1304, 1304, 1304, 1304, 1304, 1304, 1304, 1304, 1304, 1305, 1305, 676, 1305, 1305, 1305, 1305, 1305, 1305, 1305, 1305, 1305, 1305, 1305, 673, 663, 658, 657, 656, 653, 652, 647, 646, 645, 644, 600, 599, 595, 594, 593, 589, 586, 574, 572, 569, 562, 558, 551, 541, 532, 531, 528, 527, 466, 465, 460, 442, 431, 428, 412, 405, 394, 391, 326, 325, 323, 320, 316, 306, 287, 285, 280, 260, 242, 241, 222, 220, 209, 208, 207, 203, 202, 201, 196, 195, 193, 168, 135, 129, 125, 120, 119, 115, 95, 93, 84, 65, 63, 38, 27, 24, 15, 12, 8, 3, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195 } ; /* Table of booleans, true if rule could match eol. */ static const flex_int32_t yy_rule_can_match_eol[195] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; /* This file must be translated to C and modified to build everywhere. Run flex like this: flex --nodefault --noline -olex.yy.c vtkParse.l Modify lex.yy.c: - convert tabs to spaces (2 spaces per tab) - remove extra space from end of lines - remove blank lines from end of file - compile with gcc and "-Wsign-compare", there should be no warnings - add a prototype for isatty - remove unused struct yy_trans_info */ /* We do not care of interactive mode */ #define YY_NEVER_INTERACTIVE 1 /* Do not include unistd.h in generated source. */ #define YY_NO_UNISTD_H /* Skip declaring this function. It is a macro. */ #define YY_SKIP_YYWRAP #ifdef _WIN32 #pragma warning ( disable : 4018 ) #pragma warning ( disable : 4127 ) #pragma warning ( disable : 4131 ) #pragma warning ( disable : 4244 ) #pragma warning ( disable : 4251 ) #pragma warning ( disable : 4267 ) #pragma warning ( disable : 4305 ) #pragma warning ( disable : 4309 ) #pragma warning ( disable : 4706 ) #pragma warning ( disable : 4786 ) #endif #define SKIP_MATCH_MAXLEN 15 /* * Skip ahead until one of the strings is found, * then skip to the end of the line. * Return 0 if no match found. */ static int skip_comment(void); static int skip_trailing_comment(const char *text, size_t l); static int skip_ahead_multi(const char *strings[]); static int skip_ahead_until(const char *text); static int skip_to_next_directive(void); static int skip_conditional_block(void); static void doxygen_comment(void); static void doxygen_cpp_comment(void); static void doxygen_group_start(void); static void doxygen_group_end(void); static void vtk_comment(void); static void vtk_name_comment(void); static void vtk_section_comment(void); static void cpp_comment_line(void); static void blank_line(void); static const char *raw_string(const char *begin); static void preprocessor_directive(const char *text, size_t l); static void print_preprocessor_error(int result, const char *cp, size_t n); static char *get_macro_arguments(void); static void push_buffer(void); static int pop_buffer(void); static void push_include(const char *filename); static void pop_include(void); static void push_macro(MacroInfo *macro); static void pop_macro(void); static int in_macro(void); #define INITIAL 0 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals ( void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy ( void ); int yyget_debug ( void ); void yyset_debug ( int debug_flag ); YY_EXTRA_TYPE yyget_extra ( void ); void yyset_extra ( YY_EXTRA_TYPE user_defined ); FILE *yyget_in ( void ); void yyset_in ( FILE * _in_str ); FILE *yyget_out ( void ); void yyset_out ( FILE * _out_str ); int yyget_leng ( void ); char *yyget_text ( void ); int yyget_lineno ( void ); void yyset_lineno ( int _line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap ( void ); #else extern int yywrap ( void ); #endif #endif #ifndef YY_NO_UNPUT static void yyunput ( int c, char *buf_ptr ); #endif #ifndef yytext_ptr static void yy_flex_strncpy ( char *, const char *, int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen ( const char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput ( void ); #else static int input ( void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ int n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK /*LINTED*/break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { yy_state_type yy_current_state; char *yy_cp, *yy_bp; int yy_act; 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 = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_load_buffer_state( ); } { while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); yy_match: do { 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 >= 1196 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 4006 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: YY_RULE_SETUP { doxygen_comment(); } YY_BREAK case 2: YY_RULE_SETUP { doxygen_comment(); } YY_BREAK case 3: YY_RULE_SETUP { skip_comment(); } YY_BREAK case 4: YY_RULE_SETUP { skip_ahead_until("@end"); } YY_BREAK case 5: YY_RULE_SETUP { doxygen_cpp_comment(); } YY_BREAK case 6: YY_RULE_SETUP { doxygen_cpp_comment(); } YY_BREAK case 7: YY_RULE_SETUP { doxygen_group_start(); } YY_BREAK case 8: YY_RULE_SETUP { doxygen_group_end(); } YY_BREAK case 9: YY_RULE_SETUP { vtk_comment(); } YY_BREAK case 10: YY_RULE_SETUP { vtk_name_comment(); } YY_BREAK case 11: YY_RULE_SETUP { vtk_section_comment(); } YY_BREAK case 12: YY_RULE_SETUP { cpp_comment_line(); } YY_BREAK case 13: /* rule 13 can match eol */ YY_RULE_SETUP { blank_line(); } YY_BREAK case 14: YY_RULE_SETUP /* eat trailing C++ comments */ YY_BREAK case 15: /* rule 15 can match eol */ YY_RULE_SETUP { skip_trailing_comment(yytext, yyleng); preprocessor_directive(yytext, yyleng); } YY_BREAK case 16: /* rule 16 can match eol */ YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(STRING_LITERAL); } YY_BREAK case 17: /* rule 17 can match eol */ YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(CHAR_LITERAL); } YY_BREAK case 18: YY_RULE_SETUP { yylval.str = raw_string(yytext); return(STRING_LITERAL); } YY_BREAK case 19: YY_RULE_SETUP /* ignore EXPORT macros */ YY_BREAK case 20: YY_RULE_SETUP { /* let the wrappers see the parameter */ char *args = get_macro_arguments(); char *cp; size_t l = 0; if (args) { cp = args; if (*cp == '(') { cp++; } while (*cp == ' ' || *cp == '\t') { cp++; } l = vtkParse_SkipId(cp); if (l) { yylval.str = vtkstrndup(cp, l); free(args); return(ID); } free(args); } } YY_BREAK case 21: YY_RULE_SETUP return(AUTO); YY_BREAK case 22: YY_RULE_SETUP return(DOUBLE); YY_BREAK case 23: YY_RULE_SETUP return(FLOAT); YY_BREAK case 24: YY_RULE_SETUP return(INT64__); YY_BREAK case 25: YY_RULE_SETUP return(SHORT); YY_BREAK case 26: YY_RULE_SETUP return(LONG); YY_BREAK case 27: YY_RULE_SETUP return(CHAR); YY_BREAK case 28: YY_RULE_SETUP return(INT); YY_BREAK case 29: YY_RULE_SETUP return(UNSIGNED); YY_BREAK case 30: YY_RULE_SETUP return(SIGNED); YY_BREAK case 31: YY_RULE_SETUP return(VOID); YY_BREAK case 32: YY_RULE_SETUP return(BOOL); YY_BREAK case 33: YY_RULE_SETUP return(CHAR16_T); YY_BREAK case 34: YY_RULE_SETUP return(CHAR32_T); YY_BREAK case 35: YY_RULE_SETUP return(WCHAR_T); YY_BREAK case 36: /* rule 36 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP { yylval.str = (yytext[3] == ':' ? "std::size_t" : "size_t"); return(SIZE_T); } YY_BREAK case 37: /* rule 37 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP { yylval.str = (yytext[3] == ':' ? "std::ssize_t" : "ssize_t"); return(SSIZE_T); } YY_BREAK case 38: /* rule 38 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP { yylval.str = (yytext[3] == ':' ? "std::nullptr_t" : "nullptr_t"); return(NULLPTR_T); } YY_BREAK case 39: YY_RULE_SETUP /* ignore the Q_OBJECT macro from Qt */ YY_BREAK case 40: /* rule 40 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return(PUBLIC); YY_BREAK case 41: /* rule 41 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return(PRIVATE); YY_BREAK case 42: /* rule 42 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return(PROTECTED); YY_BREAK case 43: /* rule 43 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return(PROTECTED); YY_BREAK case 44: YY_RULE_SETUP return(CLASS); YY_BREAK case 45: YY_RULE_SETUP return(STRUCT); YY_BREAK case 46: YY_RULE_SETUP return(PUBLIC); YY_BREAK case 47: YY_RULE_SETUP return(PRIVATE); YY_BREAK case 48: YY_RULE_SETUP return(PROTECTED); YY_BREAK case 49: YY_RULE_SETUP return(ENUM); YY_BREAK case 50: YY_RULE_SETUP return(UNION); YY_BREAK case 51: YY_RULE_SETUP return(VIRTUAL); YY_BREAK case 52: YY_RULE_SETUP return(CONST); YY_BREAK case 53: YY_RULE_SETUP return(VOLATILE); YY_BREAK case 54: YY_RULE_SETUP return(MUTABLE); YY_BREAK case 55: YY_RULE_SETUP return(OPERATOR); YY_BREAK case 56: YY_RULE_SETUP return(FRIEND); YY_BREAK case 57: YY_RULE_SETUP return(INLINE); YY_BREAK case 58: YY_RULE_SETUP return(CONSTEXPR); YY_BREAK case 59: YY_RULE_SETUP return(STATIC); YY_BREAK case 60: YY_RULE_SETUP return(THREAD_LOCAL); YY_BREAK case 61: YY_RULE_SETUP return(EXTERN); YY_BREAK case 62: YY_RULE_SETUP return(TEMPLATE); YY_BREAK case 63: YY_RULE_SETUP return(TYPENAME); YY_BREAK case 64: YY_RULE_SETUP return(TYPEDEF); YY_BREAK case 65: YY_RULE_SETUP return(NAMESPACE); YY_BREAK case 66: YY_RULE_SETUP return(USING); YY_BREAK case 67: YY_RULE_SETUP return(NEW); YY_BREAK case 68: YY_RULE_SETUP return(DELETE); YY_BREAK case 69: YY_RULE_SETUP return(EXPLICIT); YY_BREAK case 70: YY_RULE_SETUP return(THROW); YY_BREAK case 71: YY_RULE_SETUP return(TRY); YY_BREAK case 72: YY_RULE_SETUP return(CATCH); YY_BREAK case 73: YY_RULE_SETUP return(NOEXCEPT); YY_BREAK case 74: YY_RULE_SETUP return(DECLTYPE); YY_BREAK case 75: YY_RULE_SETUP return(DEFAULT); YY_BREAK case 76: YY_RULE_SETUP return(STATIC_CAST); YY_BREAK case 77: YY_RULE_SETUP return(DYNAMIC_CAST); YY_BREAK case 78: YY_RULE_SETUP return(CONST_CAST); YY_BREAK case 79: YY_RULE_SETUP return(REINTERPRET_CAST); YY_BREAK case 80: YY_RULE_SETUP /* irrelevant to wrappers */ YY_BREAK case 81: YY_RULE_SETUP return(OP_LOGIC_AND); YY_BREAK case 82: YY_RULE_SETUP return(OP_AND_EQ); YY_BREAK case 83: YY_RULE_SETUP return(OP_LOGIC_OR); YY_BREAK case 84: YY_RULE_SETUP return(OP_OR_EQ); YY_BREAK case 85: YY_RULE_SETUP return('!'); YY_BREAK case 86: YY_RULE_SETUP return(OP_LOGIC_NEQ); YY_BREAK case 87: YY_RULE_SETUP return('^'); YY_BREAK case 88: YY_RULE_SETUP return(OP_XOR_EQ); YY_BREAK case 89: YY_RULE_SETUP return('&'); YY_BREAK case 90: YY_RULE_SETUP return('|'); YY_BREAK case 91: YY_RULE_SETUP return('~'); YY_BREAK case 92: YY_RULE_SETUP return(IdType); YY_BREAK case 93: YY_RULE_SETUP return(SetVector2Macro); YY_BREAK case 94: YY_RULE_SETUP return(SetVector3Macro); YY_BREAK case 95: YY_RULE_SETUP return(SetVector4Macro); YY_BREAK case 96: YY_RULE_SETUP return(SetVector6Macro); YY_BREAK case 97: YY_RULE_SETUP return(GetVector2Macro); YY_BREAK case 98: YY_RULE_SETUP return(GetVector3Macro); YY_BREAK case 99: YY_RULE_SETUP return(GetVector4Macro); YY_BREAK case 100: YY_RULE_SETUP return(GetVector6Macro); YY_BREAK case 101: YY_RULE_SETUP return(SetVectorMacro); YY_BREAK case 102: YY_RULE_SETUP return(GetVectorMacro); YY_BREAK case 103: YY_RULE_SETUP return(ViewportCoordinateMacro); YY_BREAK case 104: YY_RULE_SETUP return(WorldCoordinateMacro); YY_BREAK case 105: YY_RULE_SETUP ; YY_BREAK case 106: YY_RULE_SETUP return(VTK_BYTE_SWAP_DECL); YY_BREAK case 107: YY_RULE_SETUP return(TypeInt8); YY_BREAK case 108: YY_RULE_SETUP return(TypeUInt8); YY_BREAK case 109: YY_RULE_SETUP return(TypeInt16); YY_BREAK case 110: YY_RULE_SETUP return(TypeUInt16); YY_BREAK case 111: YY_RULE_SETUP return(TypeInt32); YY_BREAK case 112: YY_RULE_SETUP return(TypeUInt32); YY_BREAK case 113: YY_RULE_SETUP return(TypeInt64); YY_BREAK case 114: YY_RULE_SETUP return(TypeUInt64); YY_BREAK case 115: YY_RULE_SETUP return(TypeFloat32); YY_BREAK case 116: YY_RULE_SETUP return(TypeFloat64); YY_BREAK case 117: /* rule 117 can match eol */ YY_RULE_SETUP { size_t i = 1; size_t j; while (yytext[i]==' ' || yytext[i]=='\t' || yytext[i]=='\r' || yytext[i]=='\n') { i++; } j = i; while (yytext[j]!='&') { j++; } yylval.str = vtkstrndup(&yytext[i], j-i); return(LA); } YY_BREAK case 118: /* rule 118 can match eol */ YY_RULE_SETUP { size_t i = 1; size_t j; while (yytext[i]==' ' || yytext[i]=='\t' || yytext[i]=='\r' || yytext[i]=='\n') { i++; } j = i; while (yytext[j]!='*') { j++; } yylval.str = vtkstrndup(&yytext[i], j-i); return(LP); } YY_BREAK case 119: /* rule 119 can match eol */ YY_RULE_SETUP { yylval.str = ""; return(LP); } YY_BREAK case 120: /* rule 120 can match eol */ YY_RULE_SETUP { yylval.str = ""; return(LP); } YY_BREAK case 121: /* rule 121 can match eol */ YY_RULE_SETUP { yylval.str = ""; return(LP); } YY_BREAK case 122: YY_RULE_SETUP return('*'); YY_BREAK case 123: YY_RULE_SETUP /* misc unused win32 macros */ YY_BREAK case 124: /* rule 124 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(OSTREAM); } YY_BREAK case 125: /* rule 125 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(ISTREAM); } YY_BREAK case 126: /* rule 126 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(StdString); } YY_BREAK case 127: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(StdString); } YY_BREAK case 128: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(UnicodeString); } YY_BREAK case 129: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(QT_ID); } YY_BREAK case 130: YY_RULE_SETUP get_macro_arguments(); /* C++11 */ YY_BREAK case 131: YY_RULE_SETUP get_macro_arguments(); /* C++11 */ YY_BREAK case 132: YY_RULE_SETUP get_macro_arguments(); /* C11 */ YY_BREAK case 133: YY_RULE_SETUP get_macro_arguments(); /* C11 */ YY_BREAK case 134: YY_RULE_SETUP return(THREAD_LOCAL); /* C11 */ YY_BREAK case 135: YY_RULE_SETUP /* C11 */ YY_BREAK case 136: YY_RULE_SETUP /* C11 */ YY_BREAK case 137: YY_RULE_SETUP get_macro_arguments(); /* C99 */ YY_BREAK case 138: YY_RULE_SETUP get_macro_arguments(); /* MSVC */ YY_BREAK case 139: YY_RULE_SETUP get_macro_arguments(); /* gcc attributes */ YY_BREAK case 140: YY_RULE_SETUP get_macro_arguments(); /* Windows linkage */ YY_BREAK case 141: YY_RULE_SETUP /* Windows */ YY_BREAK case 142: YY_RULE_SETUP /* gcc/clang/other extension */ YY_BREAK case 143: YY_RULE_SETUP /* MSVC extension */ YY_BREAK case 144: YY_RULE_SETUP { char *args = get_macro_arguments(); if (args && args[0] != '\0' && args[1] != '\0') { size_t l = strlen(args); push_macro(NULL); push_buffer(); macroName = "VTK_LEGACY"; macroUsed = 0; macroEnded = 0; yy_switch_to_buffer(yy_scan_bytes(&args[1], l-2)); } free(args); } YY_BREAK case 145: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(NULLPTR); } YY_BREAK case 146: YY_RULE_SETUP { const char *name = vtkstrndup(yytext, yyleng); MacroInfo *macro = vtkParsePreprocess_GetMacro(preprocessor, name); int expanded = 0; if (macro) { char *args = NULL; const char *emacro = NULL; /* make sure that vtkNotUsed is never expanded */ MacroInfo *ex; ex = vtkParsePreprocess_GetMacro(preprocessor, "vtkNotUsed"); if (ex) { ex->IsExcluded = 1; } if (macro->IsFunction) { args = get_macro_arguments(); if (args) { emacro = vtkParsePreprocess_ExpandMacro(preprocessor, macro, args); if (!emacro) { print_preprocessor_error(VTK_PARSE_MACRO_NUMARGS, NULL, 0); exit(1); } free(args); } } else if (macro->Definition && macro->Definition[0]) { /* first see if macro evaluates to a constant value */ preproc_int_t val; int is_unsigned; int r; macro->IsExcluded = 1; r = vtkParsePreprocess_EvaluateExpression( preprocessor, macro->Definition, &val, &is_unsigned); macro->IsExcluded = 0; /* if it isn't a constant expression, then expand it */ if (r >= VTK_PARSE_MACRO_UNDEFINED) { emacro = vtkParsePreprocess_ExpandMacro(preprocessor, macro, NULL); if (!emacro) { print_preprocessor_error(r, NULL, 0); exit(1); } } } else { /* macros with no definition expand to nothing */ expanded = 1; } if (emacro) { /* invoke the parser on any expanded macros */ push_macro(macro); push_buffer(); yy_switch_to_buffer(yy_scan_string(emacro)); vtkParsePreprocess_FreeMacroExpansion(preprocessor, macro, emacro); expanded = 1; } } if (!expanded) { /* if no macro expansion occurred, return the ID */ yylval.str = name; if (yyleng > 3 && name[0] == 'v' && name[1] == 't' && name[2] == 'k') { return(VTK_ID); } else if (name[0] == 'Q') { return(QT_ID); } else { return(ID); } } } YY_BREAK case 147: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(FLOAT_LITERAL); } YY_BREAK case 148: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(FLOAT_LITERAL); } YY_BREAK case 149: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(FLOAT_LITERAL); } YY_BREAK case 150: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(FLOAT_LITERAL); } YY_BREAK case 151: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(HEX_LITERAL); } YY_BREAK case 152: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(BIN_LITERAL); } YY_BREAK case 153: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(OCT_LITERAL); } YY_BREAK case 154: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(INT_LITERAL); } YY_BREAK case 155: YY_RULE_SETUP { yylval.str = vtkstrndup(yytext, yyleng); return(ZERO); } YY_BREAK case 156: /* rule 156 can match eol */ YY_RULE_SETUP /* escaped newlines */ YY_BREAK case 157: YY_RULE_SETUP /* whitespace */ YY_BREAK case 158: /* rule 158 can match eol */ YY_RULE_SETUP /* whitespace */ YY_BREAK case 159: /* rule 159 can match eol */ YY_RULE_SETUP return(BEGIN_ATTRIB); YY_BREAK case 160: YY_RULE_SETUP return('{'); YY_BREAK case 161: YY_RULE_SETUP return('}'); YY_BREAK case 162: YY_RULE_SETUP return('['); YY_BREAK case 163: YY_RULE_SETUP return(']'); YY_BREAK case 164: YY_RULE_SETUP return('#'); YY_BREAK case 165: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return(OP_RSHIFT_A); YY_BREAK case 166: YY_RULE_SETUP return(OP_LSHIFT_EQ); YY_BREAK case 167: YY_RULE_SETUP return(OP_RSHIFT_EQ); YY_BREAK case 168: YY_RULE_SETUP return(OP_LSHIFT); YY_BREAK case 169: YY_RULE_SETUP return(OP_DOT_POINTER); YY_BREAK case 170: YY_RULE_SETUP return(OP_ARROW_POINTER); YY_BREAK case 171: YY_RULE_SETUP return(OP_ARROW); YY_BREAK case 172: YY_RULE_SETUP return(OP_INCR); YY_BREAK case 173: YY_RULE_SETUP return(OP_DECR); YY_BREAK case 174: YY_RULE_SETUP return(OP_PLUS_EQ); YY_BREAK case 175: YY_RULE_SETUP return(OP_MINUS_EQ); YY_BREAK case 176: YY_RULE_SETUP return(OP_TIMES_EQ); YY_BREAK case 177: YY_RULE_SETUP return(OP_DIVIDE_EQ); YY_BREAK case 178: YY_RULE_SETUP return(OP_REMAINDER_EQ); YY_BREAK case 179: YY_RULE_SETUP return(OP_AND_EQ); YY_BREAK case 180: YY_RULE_SETUP return(OP_OR_EQ); YY_BREAK case 181: YY_RULE_SETUP return(OP_XOR_EQ); YY_BREAK case 182: YY_RULE_SETUP return(OP_LOGIC_AND); YY_BREAK case 183: YY_RULE_SETUP return(OP_LOGIC_OR); YY_BREAK case 184: YY_RULE_SETUP return(OP_LOGIC_EQ); YY_BREAK case 185: YY_RULE_SETUP return(OP_LOGIC_NEQ); YY_BREAK case 186: YY_RULE_SETUP return(OP_LOGIC_LEQ); YY_BREAK case 187: YY_RULE_SETUP return(OP_LOGIC_GEQ); YY_BREAK case 188: YY_RULE_SETUP return(ELLIPSIS); YY_BREAK case 189: YY_RULE_SETUP return(DOUBLE_COLON); YY_BREAK case 190: YY_RULE_SETUP return('['); YY_BREAK case 191: YY_RULE_SETUP return(']'); YY_BREAK case 192: YY_RULE_SETUP return(yytext[0]); YY_BREAK case YY_STATE_EOF(INITIAL): { if (!pop_buffer()) { yyterminate(); } } YY_BREAK case 193: YY_RULE_SETUP { return(OTHER); } YY_BREAK case 194: YY_RULE_SETUP YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of user's declarations */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; char *source = (yytext_ptr); 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 { int 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_LVALUE; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc((void *) b->yy_ch_buf,(yy_size_t) (b->yy_buf_size + 2) ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = NULL; 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_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,(yy_size_t) 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 */ static yy_state_type yy_get_previous_state (void) { yy_state_type yy_current_state; char *yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { 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 >= 1196 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { int yy_is_jam; char *yy_cp = (yy_c_buf_p); 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 >= 1196 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 1195); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT static void yyunput (int c, char * yy_bp ) { 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. */ int number_to_move = (yy_n_chars) + 2; char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; 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) = (int) 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; if ( c == '\n' ){ --yylineno; } (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (int) ((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); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) yylineno++; ; return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc((yy_size_t) (b->yy_buf_size + 2) ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { 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; /* After all that talk, this was set to 1 anyways... */ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (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. */ yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); 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; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return NULL; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = NULL; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (const char * yystr ) { return yy_scan_bytes(yystr,(int) strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = (yy_size_t) (_yybytes_len + 2); buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yynoreturn yy_fatal_error (const char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param _line_number line number * */ void yyset_lineno (int _line_number ) { yylineno = _line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param _in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * _in_str ) { yyin = _in_str ; } void yyset_out (FILE * _out_str ) { yyout = _out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int _bdebug ) { yy_flex_debug = _bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ /* We do not touch yylineno unless the option is enabled. */ yylineno = 1; (yy_buffer_stack) = NULL; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = NULL; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = NULL; yyout = NULL; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, const char * s2, int n ) { int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (const char * s ) { int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return malloc(size); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return realloc(ptr, size); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" /* * Return a parenthetical macro arg list as a new string. */ char *get_macro_arguments() { char *cp = NULL; size_t i = 0; int depth; int ws = 0; int sl = 0; int c1 = input(); if (c1 == '\0') { if (pop_buffer() == 0) { return NULL; } } while (c1 == ' ' || c1 == '\t' || c1 == '\r' || c1 == '\n') { c1 = input(); } cp = (char *)malloc(4); if (c1 != '(') { unput(c1); free(cp); return NULL; } cp[i++] = '('; depth = 1; c1 = input(); for (;;) { ws = 0; sl = 0; /* skip all whitespace */ while (c1 == ' ' || c1 == '\t' || c1 == '\r' || c1 == '\n') { ws = 1; c1 = input(); } if (c1 == '/') { c1 = input(); if (c1 == '*') { /* skip a C style comment */ ws = 1; if (skip_comment() == 0) { return NULL; } c1 = input(); } else if (c1 == '/') { /* skip a C++ style comment */ ws = 1; do { c1 = input(); } while (c1 != '\n' && c1 != '\0'); if (c1 == '\0') { return NULL; } c1 = input(); } else { sl = 1; } } if (ws) { /* add a single space to replace any whitespace */ cp[i++] = ' '; if (i >= 4 && (i & (i-1)) == 0) { char *oldcp = cp; cp = (char *)realloc(cp, 2*i); if (!cp) { free(oldcp); return NULL; } } } if (sl) { /* add a single space to replace any whitespace */ cp[i++] = '/'; if (i >= 4 && (i & (i-1)) == 0) { char *oldcp = cp; cp = (char *)realloc(cp, 2*i); if (!cp) { free(oldcp); return NULL; } } } if (c1 == '\"' || c1 == '\'') { int c2 = c1; int escaped = 2; int firstloop = 1; do { if (escaped) { --escaped; } if (!firstloop) { c1 = input(); } firstloop = 0; if (c1 == '\0') { break; } if (escaped == 0 && c1 == '\\') { escaped = 2; } cp[i++] = (char)c1; if (i >= 4 && (i & (i-1)) == 0) { char *oldcp = cp; cp = (char *)realloc(cp, 2*i); if (!cp) { free(oldcp); return NULL; } } } while (c1 != c2 || escaped); } else if (c1 != '\0') { cp[i++] = (char)c1; if (i >= 4 && (i & (i-1)) == 0) { char *oldcp = cp; cp = (char *)realloc(cp, 2*i); if (!cp) { free(oldcp); return NULL; } } cp[i] = '\0'; if (c1 == '(') { depth++; } if (c1 == ')') { if (--depth == 0) { break; } } } else { return NULL; } c1 = input(); } return cp; } /* * Skip a C-style comment, return 0 if unterminated. */ int skip_comment() { int savelineno = yylineno; int c1 = 0, c2 = input(); for (;;) { if (c2 == 0 || c2 == EOF) { yylineno = savelineno; print_preprocessor_error(VTK_PARSE_SYNTAX_ERROR, "Cannot find end of comment.", 27); exit(1); } if (c1 == '*' && c2 == '/') break; c1 = c2; c2 = input(); } return 1; } /* * If token contains a comment, make sure whole comment is skipped. */ int skip_trailing_comment(const char *text, size_t l) { const char *cp = text; const char *ep = text + l; int incomment = 0; while (cp < ep) { while (cp < ep && *cp != '/' && *cp != '\"') { cp++; }; if (cp >= ep) { break; } else if (cp[0] == '/' && cp[1] == '*') { incomment = 1; cp += 2; while (cp < ep && *cp != '*') { cp++; }; if (cp[0] == '*' && cp[1] == '/') { incomment = 0; cp += 2; } else { cp++; } } else if (cp[0] == '\"') { cp++; while (cp < ep) { while (cp < ep && *cp != '\\' && *cp != '\"') { cp++; }; if (cp >= ep) { break; } else if (*cp == '\"') { cp++; break; } else /* if (*cp == '\\') */ { cp += 2; } } } else { cp++; } } if (incomment) { return skip_comment(); } return 1; } /* * Skip ahead until the next preprocessor directive. * This will eat the '#' that starts the directive. * Return 0 if none found. */ int skip_to_next_directive() { /* state == 0 at the start of a line */ int state = 0; int c; c = input(); while (c != 0 && c != EOF) { /* whitespace */ if (c == ' ' || c == '\t') { c = input(); } /* newline renews the start-of-line state */ else if (c == '\n') { state = 0; c = input(); } /* skip comments */ else if (c == '/') { state = 1; if ( (c = input()) == '*') { if (skip_comment() == 0) { return 0; } c = input(); } } /* skip escaped characters */ else if (c == '\\') { state = 1; if ( (c = input()) == '\r') { if ( (c = input()) == '\n') { c = input(); } } else if (c != 0 && c != EOF) { c = input(); } } /* any other chars except '#' at start of line */ else if (c != '#' || state != 0) { state = 1; c = input(); } else { break; } } return c; } /* * Skip to the next #else or #elif or #endif */ int skip_conditional_block() { static char *linebuf = NULL; static size_t linemaxlen = 80; size_t i; int c; int result; if (linebuf == 0) { linebuf = (char *)malloc(linemaxlen); } for (;;) { if (skip_to_next_directive() == 0) { return 0; } c = input(); while (c == ' ' || c == '\t') { c = input(); } if (c == 0 || c == EOF) { return 0; } /* eat the whole line */ i = 0; linebuf[i++] = '#'; while (c != 0 && c != EOF && c != '\n') { if (i >= linemaxlen-5) { char *oldlinebuf = linebuf; linemaxlen += i+5; linebuf = (char *)realloc(linebuf, linemaxlen); if (!linebuf) { free(oldlinebuf); return 0; } } linebuf[i++] = c; /* be sure to skip escaped newlines */ if (c == '\\') { c = input(); linebuf[i++] = c; if (c == '\r') { c = input(); linebuf[i++] = c; } } c = input(); } linebuf[i++] = c; result = vtkParsePreprocess_HandleDirective(preprocessor, linebuf); if (result != VTK_PARSE_SKIP && result != VTK_PARSE_OK) { print_preprocessor_error(result, linebuf, i); } else if (result != VTK_PARSE_SKIP) { break; } } return 1; } /* * Skip ahead until one of the strings is found, * then skip to the end of the line. */ int skip_ahead_multi(const char *strings[]) { char textbuf[SKIP_MATCH_MAXLEN+1]; int c = 0; size_t i; for (i = 0; i < (SKIP_MATCH_MAXLEN+1); i++) { textbuf[i] = '\0'; } for (;;) { for (i = 0; i < SKIP_MATCH_MAXLEN; i++) { textbuf[i] = textbuf[i+1]; } c = input(); if (c == 0 || c == EOF) { print_preprocessor_error(VTK_PARSE_SYNTAX_ERROR, NULL, 0); return 0; } textbuf[SKIP_MATCH_MAXLEN-1] = c; for (i = 0; strings[i]; i++) { if (strcmp(&textbuf[SKIP_MATCH_MAXLEN-strlen(strings[i])], strings[i]) == 0) { break; } } if (strings[i]) { break; } } while (c != 0 && c != EOF && c != '\n') { c = input(); } return 1; } /* * Skip ahead until the string is found. */ int skip_ahead_until(const char *text) { const char *strings[2]; strings[0] = text; strings[1] = NULL; return skip_ahead_multi(strings); } /* * Called for doxygen C-style comments */ void doxygen_comment() { char linetext[256]; int savelineno = yylineno; int asterisk, isfirstline = 1; int type = DoxygenComment; int l = 0, i = 0, base = yyleng; int c1 = 0, c2 = input(); for (l = 0; l < yyleng; l++) { linetext[l] = yytext[l]; } if (l > 0 && yytext[l-1] == '<') { type = TrailingComment; } for (;;) { if (c2 == 0 || c2 == EOF) { yylineno = savelineno; print_preprocessor_error(VTK_PARSE_SYNTAX_ERROR, "Cannot find end of comment.", 27); exit(1); } if (l < 256) { linetext[l++] = (char)c2; } if (c2 == '\n' || (c1 == '*' && c2 == '/')) { if (l >= 2 && linetext[l-2] == '*' && linetext[l-1] == '/') { l -= 2; } while (l > 0 && (linetext[l-1] == '\n' || linetext[l-1] == '\r' || linetext[l-1] == '\t' || linetext[l-1] == ' ')) { l--; } if (!isfirstline) { /* reduce the base indentation if chars occur before base */ asterisk = 0; for (i = yyleng-3; i < base && i < l; i++) { if (linetext[i] == '*' && asterisk == 0) { asterisk = 1; } else if (linetext[i] != ' ') { break; } } if (i > yyleng-3 && i < l && linetext[i] != ' ' && linetext[i-1] == ' ') { i--; } base = i; } if (l > base) { i = base; l -= base; addCommentLine(&linetext[i], l, type); } else if (c1 != '*' || c2 != '/') { addCommentLine("", 0, type); } if (isfirstline) { isfirstline = 0; base = 256; } l = 0; if (c1 == '*' && c2 == '/') { break; } } c1 = c2; c2 = input(); } } /* * Called for //! and /// doxygen comments (handles just one line) */ void doxygen_cpp_comment() { int type = DoxygenComment; int pos = 2; while (yytext[pos-2] != '/' || yytext[pos-1] != '/') pos++; while (pos < yyleng && yytext[pos-1] == '/' && yytext[pos] == '/') pos++; if (pos < yyleng && yytext[pos] == '!') pos++; if (pos < yyleng && yytext[pos] == '<') { pos++; type = TrailingComment; } addCommentLine(&yytext[pos], yyleng - pos, type); } /* * Called for //@{ */ void doxygen_group_start() { /* Set the "ingroup" marker */ setCommentMemberGroup(1); } /* * Called for //@} */ void doxygen_group_end() { /* Clear the "ingroup" marker */ setCommentMemberGroup(0); } /* * Called for // Description: */ void vtk_comment() { setCommentState(NormalComment); } /* * Called for // .NAME */ void vtk_name_comment() { int pos = 1; while (yytext[pos-1] != 'M' || yytext[pos] != 'E') { pos++; } pos++; setCommentState(NameComment); addCommentLine(&yytext[pos], yyleng - pos, NormalComment); } /* * Called for // .SECTION */ void vtk_section_comment() { int pos = 1; while (yytext[pos-1] != 'O' || yytext[pos] != 'N') { pos++; } pos++; if (pos < yyleng && yytext[pos] == ' ') { pos++; } if (yyleng - pos >= 11 && strncmp(&yytext[pos], "Description", 11) == 0) { setCommentState(DescriptionComment); } else if (yyleng - pos >= 8 && (strncmp(&yytext[pos], "See Also", 8) == 0 || strncmp(&yytext[pos], "see also", 8) == 0)) { setCommentState(SeeAlsoComment); } else if (yyleng - pos >= 7 && strncmp(&yytext[pos], "Caveats", 7) == 0) { setCommentState(CaveatsComment); } else { cpp_comment_line(); } } /* * Called for each line that has a C++ comment but no code, unless the * comment is recognized as beginning a VTK or doxygen comment. */ void cpp_comment_line() { int pos = 2; while (yytext[pos-2] != '/' || yytext[pos-1] != '/') pos++; addCommentLine(&yytext[pos], yyleng - pos, NormalComment); } /* * Called whenever a blank line is encountered. */ void blank_line() { commentBreak(); } /* * Convert a raw string into a non-raw string. */ const char *raw_string(const char *begin) { int savelineno = yylineno; char *textbuf; int c = 0; const char *delim; const char *cp = begin; char *dp; char *result; size_t i, j, n; size_t m = 1024; result = (char *)malloc(m); dp = result; while (*cp != '\"') { *dp++ = *cp++; } --dp; *dp++ = *cp++; delim = cp; for (n = 0;; n++) { if (delim[n] == '(') { break; } } textbuf = (char *)malloc(n+1); for (i = 0; i < n+1; i++) { c = input(); textbuf[i] = c; } while (c != EOF) { if (textbuf[0] == ')' && (n == 0 || strncmp(&textbuf[1], delim, n) == 0)) { break; } j = dp - result; if (j > m - 8) { m += 1024; result = (char *)realloc(result, m); if (!result) { print_preprocessor_error(VTK_PARSE_OUT_OF_MEMORY, NULL, 0); exit(1); } dp = result + j; } if ((*textbuf >= ' ' && *textbuf <= '~') || (*textbuf & 0x80) != 0) { *dp++ = *textbuf; } else switch (*textbuf) { case '\a': *dp++ = '\\'; *dp++ = 'a'; break; case '\b': *dp++ = '\\'; *dp++ = 'b'; break; case '\f': *dp++ = '\\'; *dp++ = 'f'; break; case '\n': *dp++ = '\\'; *dp++ = 'n'; break; case '\r': *dp++ = '\\'; *dp++ = 'r'; break; case '\t': *dp++ = '\\'; *dp++ = 't'; break; case '\v': *dp++ = '\\'; *dp++ = 'v'; break; case '\\': *dp++ = '\\'; *dp++ = '\\'; break; case '\'': *dp++ = '\\'; *dp++ = '\''; break; case '\"': *dp++ = '\\'; *dp++ = '\"'; break; default: sprintf(dp, "\\%3.3o", *textbuf); dp += 4; break; } for (i = 0; i < n; i++) { textbuf[i] = textbuf[i+1]; } c = input(); textbuf[n] = c; } if (c == EOF || '\"' != input()) { yylineno = savelineno; print_preprocessor_error(VTK_PARSE_SYNTAX_ERROR, "Unterminated raw string.", 24); exit(1); } *dp++ = '\"'; c = input(); if (c == '_') { do { *dp++ = c; c = input(); } while (vtkParse_CharType(c, CPRE_XID)); } unput(c); *dp = '\0'; cp = vtkstrdup(result); free(result); free(textbuf); return cp; } /* * buffer stack, used for macro expansion and include files */ static size_t buffer_stack_size = 0; static YY_BUFFER_STATE *buffer_stack = NULL; /* * push the current buffer onto the buffer stack. */ void push_buffer() { size_t n = buffer_stack_size; if (buffer_stack == NULL) { buffer_stack = (YY_BUFFER_STATE *)malloc(4*sizeof(YY_BUFFER_STATE)); } /* grow the stack whenever size reaches a power of two */ else if (n >= 4 && (n & (n-1)) == 0) { buffer_stack = (YY_BUFFER_STATE *)realloc( buffer_stack, 2*n*sizeof(YY_BUFFER_STATE)); if (!buffer_stack) { print_preprocessor_error(VTK_PARSE_OUT_OF_MEMORY, NULL, 0); exit(1); } } buffer_stack[buffer_stack_size++] = YY_CURRENT_BUFFER; } /* * pop the buffer stack and restore the previous buffer */ int pop_buffer() { if (in_macro()) { pop_macro(); } else { pop_include(); } if (buffer_stack_size == 0) { return 0; } yy_delete_buffer(YY_CURRENT_BUFFER); yy_switch_to_buffer(buffer_stack[--buffer_stack_size]); return 1; } /* * include stack, to tell what include is being evaluated */ static size_t include_stack_size = 0; static FileInfo **include_stack = NULL; static int *lineno_stack = NULL; /* * push the current include onto the include stack. */ void push_include(const char *filename) { FileInfo *file_info = NULL; int same_file = 0; size_t n = include_stack_size; if (include_stack == NULL) { include_stack = (FileInfo **)malloc(4*sizeof(FileInfo *)); lineno_stack = (int *)malloc(4*sizeof(int)); } /* grow the stack whenever size reaches a power of two */ else if (n >= 4 && (n & (n-1)) == 0) { include_stack = (FileInfo **)realloc( include_stack, 2*n*sizeof(FileInfo *)); if (!include_stack) { print_preprocessor_error(VTK_PARSE_OUT_OF_MEMORY, NULL, 0); exit(1); } lineno_stack = (int *)realloc( lineno_stack, 2*n*sizeof(int)); if (!lineno_stack) { print_preprocessor_error(VTK_PARSE_OUT_OF_MEMORY, NULL, 0); exit(1); } } lineno_stack[include_stack_size] = yyget_lineno(); yyset_lineno(0); include_stack[include_stack_size++] = data; /* if the file is including itself */ if (filename == data->FileName || (filename != 0 && data->FileName != 0 && strcmp(filename, data->FileName) == 0)) { same_file = 1; } /* make a new fileinfo, but only if we are in the base namespace * and only if the only items added so far are constants */ if (!same_file && currentNamespace == data->Contents && data->Contents->NumberOfItems == data->Contents->NumberOfConstants) { file_info = (FileInfo *)malloc(sizeof(FileInfo)); vtkParse_InitFile(file_info); file_info->FileName = vtkstrdup(filename); file_info->Contents = (NamespaceInfo *)malloc(sizeof(NamespaceInfo)); vtkParse_InitNamespace(file_info->Contents); vtkParse_AddIncludeToFile(data, file_info); file_info->Strings = data->Strings; data = file_info; currentNamespace = file_info->Contents; } } /* * pop the include stack */ void pop_include() { if (include_stack_size > 0) { --include_stack_size; fclose(yyin); yyset_lineno(lineno_stack[include_stack_size]); if (data != include_stack[include_stack_size]) { data = include_stack[include_stack_size]; currentNamespace = data->Contents; } } } /* * macro stack, to tell what macro is being evaluated */ static size_t macro_stack_size = 0; static MacroInfo **macro_stack = NULL; /* * push the current macro onto the macro stack. */ void push_macro(MacroInfo *macro) { size_t n = macro_stack_size; if (macro_stack == NULL) { macro_stack = (MacroInfo **)malloc(4*sizeof(MacroInfo *)); } /* grow the stack whenever size reaches a power of two */ else if (n >= 4 && (n & (n-1)) == 0) { macro_stack = (MacroInfo **)realloc( macro_stack, 2*n*sizeof(MacroInfo *)); if (!macro_stack) { print_preprocessor_error(VTK_PARSE_OUT_OF_MEMORY, NULL, 0); exit(1); } } macro_stack[macro_stack_size++] = macro; if (macro) { macro->IsExcluded = 1; if (macro_stack_size == 1) { macroName = macro->Name; macroUsed = 0; macroEnded = 0; } } } /* * pop the macro stack */ void pop_macro() { MacroInfo *macro; if (macro_stack_size > 0) { macro = macro_stack[--macro_stack_size]; if (macro) { macro->IsExcluded = 0; } } macroEnded = 1; } /* * are we currently processing a macro? */ int in_macro() { return (macro_stack_size > 0); } /* * print a preprocessor error code with filename and line number. */ void print_preprocessor_error(int result, const char *cp, size_t n) { const char *text = ""; switch (result) { case VTK_PARSE_OK: case VTK_PARSE_SKIP: return; case VTK_PARSE_PREPROC_DOUBLE: text = "double in preprocessor conditional"; break; case VTK_PARSE_PREPROC_FLOAT: text = "float in preprocessor conditional"; break; case VTK_PARSE_PREPROC_STRING: text = "string in preprocessor conditional"; break; case VTK_PARSE_MACRO_UNDEFINED: text = "undefined macro"; break; case VTK_PARSE_MACRO_REDEFINED: text = "redefined macro"; break; case VTK_PARSE_FILE_NOT_FOUND: text = "file not found"; break; case VTK_PARSE_FILE_OPEN_ERROR: text = "can\'t open file"; break; case VTK_PARSE_FILE_READ_ERROR: text = "input/output error"; break; case VTK_PARSE_MACRO_NUMARGS: text = "wrong number of macro args"; break; case VTK_PARSE_SYNTAX_ERROR: text = "syntax error"; break; case VTK_PARSE_OUT_OF_MEMORY: text = "out of memory"; break; } /* be silent about missing include files */ if (result == VTK_PARSE_FILE_NOT_FOUND) { return; } print_parser_error(text, cp, n); } /* * print an error with filename and line number. */ void print_parser_error(const char *text, const char *cp, size_t n) { size_t j = 0; const char *fn = "(none)"; if (CommandName) { fprintf(yyout, "%s: ", CommandName); } if (data->FileName) { fn = data->FileName; } fprintf(yyout, "In %s:", fn); for (j = 0; j < include_stack_size; j++) { fprintf(yyout, "%i:\nIn %s:", lineno_stack[j], include_stack[j]->FileName); } fprintf(yyout, "%i:", yylineno); if (cp) { fprintf(yyout, " %s: %*.*s\n", text, (int)n, (int)n, cp); } else if (text) { fprintf(yyout, " %s.\n", text); } else { fprintf(yyout, "\n"); } } /* * Execute a preprocessor directive. */ void preprocessor_directive(const char *text, size_t l) { int result = 0; size_t n = 0; const char *cp = text; const char *ep = text + l; const char *directive = NULL; /* find the directive, store its length in "n" */ while (*cp == ' ' || *cp == '\t') { cp++; } if (*cp == '#') { cp++; } while ((*cp == ' ' || *cp == '\t') && cp < ep) { cp++; } directive = cp; while (*cp >= 'a' && *cp <= 'z' && cp < ep) { cp++; } n = cp - directive; while ((*cp == ' ' || *cp == '\t') && cp < ep) { cp++; } if (n == 7 && strncmp(directive, "include", n) == 0) { /* include files */ int already_loaded = 0; if (*cp == '<' || *cp == '\"') { /* if asked to recurse into header files */ if (Recursive && ep - cp > 3) { const char *dp; dp = vtkParsePreprocess_FindIncludeFile(preprocessor, &cp[1], (*cp != '\"'), &already_loaded); if (dp) { yyin = fopen(dp, "r"); if (yyin) { push_include(dp); push_buffer(); yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE)); return; } } } } } /* let the preprocessor handle the directive */ result = vtkParsePreprocess_HandleDirective(preprocessor, text); if (result == VTK_PARSE_SKIP) { skip_conditional_block(); } else if (result != VTK_PARSE_OK) { print_preprocessor_error(result, text, l); if ((result & VTK_PARSE_FATAL_ERROR) != 0) { exit(1); } } else if (n == 6 && strncmp(directive, "define", n) == 0) { closeComment(); if (ep - cp > 4 && strncmp(cp, "VTK", 3) == 0) { /* macros that start with "VTK" */ MacroInfo *macro; macro = vtkParsePreprocess_GetMacro(preprocessor, cp); if (macro && macro->Definition && !macro->IsFunction) { /* if macro evaluates to a constant, add it as a constant */ macro->IsExcluded = 1; if (guess_constant_type(macro->Definition) == 0) { result = VTK_PARSE_MACRO_UNDEFINED; } macro->IsExcluded = 0; if (result < VTK_PARSE_MACRO_UNDEFINED) { add_constant( vtkstrdup(macro->Name), vtkstrdup(macro->Definition), 0, NULL, 1); } } } } }