#line 3 "" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define yy_create_buffer preYY_create_buffer #define yy_delete_buffer preYY_delete_buffer #define yy_flex_debug preYY_flex_debug #define yy_init_buffer preYY_init_buffer #define yy_flush_buffer preYY_flush_buffer #define yy_load_buffer_state preYY_load_buffer_state #define yy_switch_to_buffer preYY_switch_to_buffer #define yyin preYYin #define yyleng preYYleng #define yylex preYYlex #define yylineno preYYlineno #define yyout preYYout #define yyrestart preYYrestart #define yytext preYYtext #define yywrap preYYwrap #define yyalloc preYYalloc #define yyrealloc preYYrealloc #define yyfree preYYfree #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 37 #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. */ /* 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 */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE preYYrestart(preYYin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #define YY_BUF_SIZE 262144 #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif extern yy_size_t preYYleng; extern FILE *preYYin, *preYYout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up preYYtext. */ \ 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 preYYtext 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. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ yy_size_t yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via preYYrestart()), so that the user can continue scanning by * just pointing preYYin 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 = 0; /**< 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 preYYtext is formed. */ static char yy_hold_char; static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ yy_size_t preYYleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow preYYwrap()'s to do buffer switches * instead of setting up a fresh preYYin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void preYYrestart (FILE *input_file ); void preYY_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE preYY_create_buffer (FILE *file,int size ); void preYY_delete_buffer (YY_BUFFER_STATE b ); void preYY_flush_buffer (YY_BUFFER_STATE b ); void preYYpush_buffer_state (YY_BUFFER_STATE new_buffer ); void preYYpop_buffer_state (void ); static void preYYensure_buffer_stack (void ); static void preYY_load_buffer_state (void ); static void preYY_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER preYY_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE preYY_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE preYY_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE preYY_scan_bytes (yyconst char *bytes,yy_size_t len ); void *preYYalloc (yy_size_t ); void *preYYrealloc (void *,yy_size_t ); void preYYfree (void * ); #define yy_new_buffer preYY_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ preYYensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ preYY_create_buffer(preYYin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ preYYensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ preYY_create_buffer(preYYin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ #define preYYwrap() 1 #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; FILE *preYYin = (FILE *) 0, *preYYout = (FILE *) 0; typedef int yy_state_type; extern int preYYlineno; int preYYlineno = 1; extern char *preYYtext; #define yytext_ptr preYYtext 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 yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up preYYtext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ preYYleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 185 #define YY_END_OF_BUFFER 186 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_acclist[1366] = { 0, 167, 167, 186, 184, 185, 1, 184, 185, 183, 185, 3, 184, 185, 184, 185, 184, 185, 2, 184, 185, 6, 184, 185, 1, 6, 184, 185, 6, 184, 185, 6, 183, 185, 3, 6, 184, 185, 5, 184, 185, 6, 184, 185, 6, 184, 185, 6, 184, 185, 6, 184, 185, 2, 6, 184, 185, 59, 184, 185, 1, 59, 184, 185, 54, 183, 185, 3, 59, 184, 185, 59, 184, 185, 59, 184, 185, 56, 59, 184, 185, 56, 59, 184, 185, 56, 59, 184, 185, 56, 59, 184, 185, 56, 59, 184, 185, 56, 59, 184, 185, 56, 59, 184, 185, 2, 59, 184, 185, 83, 184, 185, 1, 83, 184, 185, 81, 183, 185, 3, 83, 184, 185, 83, 184, 185, 83, 184, 185, 82, 83, 184, 185, 82, 83, 184, 185, 82, 83, 184, 185, 2, 83, 184, 185, 84, 87, 184, 185, 1, 84, 87, 184, 185, 92, 183, 185, 3, 84, 87, 184, 185, 86, 87, 184, 185, 87, 184, 185, 87, 184, 185, 84, 87, 184, 185, 2, 84, 87, 184, 185, 93, 96, 184, 185, 1, 93, 96, 184, 185, 3, 93, 96, 184, 185, 95, 96, 184, 185, 93, 96, 184, 185, 93, 96, 184, 185, 96, 184, 185, 2, 93, 96, 184, 185, 23, 184, 185, 1, 23, 184, 185, 24, 183, 185, 3, 23, 184, 185, 16, 23, 184, 185, 23, 184, 185, 23, 184, 185, 23, 184, 185, 21, 23, 184, 185,16404, 23, 184, 185, 21, 23, 184, 185,16404, 11, 23, 184, 185, 12, 23, 184, 185, 2, 23, 184, 185, 17, 184, 185, 1, 17, 184, 185, 19, 184, 185, 17, 184, 185, 17, 184, 185, 184, 185, 2, 17, 184, 185, 184, 185, 1, 184, 185, 3, 184, 185, 184, 185, 184, 185, 2, 184, 185, 98, 184, 185, 102, 184, 185, 1, 102, 184, 185, 100, 183, 185, 3, 102, 184, 185, 102, 184, 185, 102, 184, 185, 102, 184, 185, 2, 102, 184, 185, 8298, 184, 185,16487,16489,16490, 184, 185, 109, 184, 185, 110, 184, 185, 108, 184, 185, 184, 185, 112, 184, 185, 184, 185, 179, 184, 185, 1, 179, 184, 185, 167, 179, 184, 185, 166, 183, 185, 3, 179, 184, 185, 170, 179, 184, 185, 162, 179, 184, 185, 171, 179, 184, 185, 179, 184, 185, 179, 184, 185, 169, 179, 184, 185, 163, 179, 184, 185, 179, 184, 185, 2, 179, 184, 185, 76, 184, 185, 1, 76, 184, 185, 75, 183, 185, 3, 76, 184, 185, 76, 184, 185, 76, 184, 185, 2, 76, 184, 185, 74, 76, 184, 185, 1, 74, 76, 184, 185, 74, 76, 184, 185, 74, 75, 183, 185, 3, 74, 76, 184, 185, 73, 76, 184, 185, 74, 76, 184, 185, 74, 76, 184, 185, 2, 74, 76, 184, 185, 139, 141, 184, 185, 1, 141, 184, 185, 140, 183, 185, 3, 139, 141, 184, 185, 141, 184, 185, 141, 184, 185, 139, 141, 184, 185, 141, 184, 185, 141, 184, 185, 2, 139, 141, 184, 185, 33, 36, 184, 185, 1, 33, 36, 184, 185, 35, 183, 185, 3, 33, 36, 184, 185, 36, 184, 185, 33, 36, 184, 185, 33, 36, 184, 185, 2, 33, 36, 184, 185, 142, 164, 184, 185, 1, 142, 164, 184, 185, 144, 183, 185, 3, 142, 164, 184, 185, 164, 184, 185, 142, 164, 184, 185, 142, 164, 184, 185, 163, 164, 184, 185, 2, 142, 164, 184, 185, 141, 184, 185, 141, 184, 185, 141, 184, 185, 141, 184, 185, 152, 156, 157, 184, 185, 1, 152, 157, 184, 185, 153, 183, 185, 3, 152, 156, 157, 184, 185, 156, 157, 184, 185, 152, 156, 157, 184, 185, 157, 184, 185, 2, 152, 156, 157, 184, 185, 149, 151, 184, 185, 1, 151, 184, 185, 150, 183, 185, 3, 149, 151, 184, 185, 151, 184, 185, 149, 151, 184, 185, 149, 151, 184, 185, 2, 149, 151, 184, 185, 160, 161, 184, 185, 1, 161, 184, 185, 3, 160, 161, 184, 185, 160, 161, 184, 185, 160, 161, 184, 185, 2, 160, 161, 184, 185, 65, 184, 185, 1, 65, 184, 185, 66, 183, 185, 3, 65, 184, 185, 65, 184, 185, 65, 184, 185, 64, 65, 184, 185, 65, 184, 185, 64, 65, 184, 185, 2, 65, 184, 185, 72, 184, 185, 1, 72, 184, 185, 70, 183, 185, 3, 72, 184, 185, 72, 184, 185, 72, 184, 185, 68, 72, 184, 185, 72, 184, 185, 2, 72, 184, 185, 71, 72, 184, 185, 69, 72, 184, 185, 177, 184, 185, 1, 177, 184, 185, 3, 177, 184, 185, 174, 177, 184, 185, 177, 184, 185, 177, 184, 185, 177, 184, 185, 2, 177, 184, 185, 178, 184, 185, 1, 178, 184, 185, 3, 178, 184, 185, 176, 178, 184, 185, 178, 184, 185, 178, 184, 185, 178, 184, 185, 2, 178, 184, 185, 60, 184, 185, 58, 184, 185, 1, 58, 184, 185, 3, 58, 184, 185, 58, 184, 185, 58, 184, 185, 58, 184, 185, 2, 58, 184, 185, 32, 184, 185, 1, 32, 184, 185, 30, 183, 185, 3, 32, 184, 185, 29, 32, 184, 185, 32, 184, 185, 25, 32, 184, 185, 26, 32, 184, 185, 32, 184, 185, 32, 184, 185, 31, 32, 184, 185, 2, 32, 184, 185, 40, 184, 185, 1, 40, 184, 185, 3, 40, 184, 185, 37, 40, 184, 185, 40, 184, 185, 40, 184, 185, 40, 184, 185, 2, 40, 184, 185, 126, 184, 185, 1, 126, 184, 185, 125, 126, 184, 185, 3, 126, 184, 185, 126, 184, 185, 126, 184, 185, 2, 126, 184, 185, 129, 130, 184, 185, 1, 129, 130, 184, 185, 128, 183, 185, 3, 129, 130, 184, 185, 129, 184, 185, 129, 184, 185, 129, 130, 184, 185, 129, 184, 185, 2, 129, 130, 184, 185, 181, 182, 6, 6, 5, 6, 6, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 91, 181, 89, 182, 82, 82, 82, 82, 84, 84, 93, 90, 93, 181, 88, 93, 182, 93, 94, 8212, 21,16404, 22, 21,16404, 17, 17, 181, 17, 182, 17, 18, 99, 181, 182, 97, 98, 100, 181, 182, 101, 8298, 8297, 8295, 8298,16487,16489,16490, 110, 109, 110, 108, 112, 112, 107, 167, 168, 113, 181, 114, 182, 163, 165, 74, 74, 73, 139, 115, 117, 181, 116, 182, 139, 33, 34, 33, 182, 33, 142, 143, 142, 182, 142, 138, 138, 181, 152, 156, 152, 156, 154, 156, 181, 155, 156, 182, 152, 156, 149, 146, 148, 181, 147, 149, 182, 149, 160, 158, 160, 181, 159, 160, 182, 160, 64, 61, 64, 68, 67, 69, 173, 181, 172, 182, 175, 60, 57, 28, 181, 38, 181, 38, 182, 39, 125, 130, 181, 182, 130, 181, 182, 4, 56, 56, 56, 56, 56, 48, 56, 56, 56, 56, 56, 56, 91, 91, 181, 89, 89, 182, 82, 82, 82, 77, 82, 82, 85, 4, 84, 90, 93, 90, 90, 93, 181, 88, 93, 88, 88, 93, 182, 4, 93, 15, 15, 21,16404, 17, 181, 17, 182, 4, 17, 181, 182, 4, 4, 99, 181, 182, 4, 111, 168, 113, 113, 181, 114, 114, 182, 116, 182, 4, 139, 119, 33, 182, 4, 33, 142, 182, 4, 142, 136, 137, 156, 181, 156, 182, 4, 152, 156, 4, 156, 145, 149, 182, 4, 149, 160, 181, 160, 182, 4, 160, 64, 172, 182, 27, 28, 181, 132, 132, 181, 131, 131, 182, 4, 130, 180,16391, 16391, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 91, 180, 82, 78, 82, 82, 82, 85, 90, 93, 180, 14, 13, 14, 21,16404, 17, 180, 180, 180, 104, 112, 116, 118, 119, 137, 156, 180, 160, 180, 64, 27,16391, 9, 8199, 56, 56, 49, 52, 50, 50, 56, 56, 56, 56, 56, 56, 56, 56, 79, 82, 80, 82, 82, 13, 21,16404, 121, 64, 8199, 9, 56, 56, 53, 45, 44, 56, 56, 56, 56, 51, 21,16404, 120, 124, 127, 123, 64, 8, 9, 43, 47, 46,16425, 42, 10, 122, 64, 9, 8233, 63, 62, 9, 8233, 135, 134, 9, 133, 9, 55, 9, 9, 9 } ; static yyconst flex_int16_t yy_accept[1286] = { 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, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 6, 9, 11, 14, 16, 18, 21, 24, 28, 31, 34, 38, 41, 44, 47, 50, 53, 57, 60, 64, 67, 71, 74, 77, 81, 85, 89, 93, 97, 101, 105, 109, 112, 116, 119, 123, 126, 129, 133, 137, 141, 145, 149, 154, 157, 162, 166, 169, 172, 176, 181, 185, 190, 195, 199, 203, 207, 210, 215, 218, 222, 225, 229, 233, 236, 239, 242, 247, 250, 255, 259, 263, 267, 270, 274, 277, 280, 283, 285, 289, 291, 294, 297, 299, 301, 304, 307, 310, 314, 317, 321, 324, 327, 330, 334, 340, 342, 345, 348, 351, 353, 356, 358, 361, 365, 369, 372, 376, 380, 384, 388, 391, 394, 398, 402, 405, 409, 412, 416, 419, 423, 426, 429, 433, 437, 442, 446, 450, 455, 459, 463, 467, 472, 476, 480, 483, 488, 491, 494, 498, 501, 504, 509, 513, 518, 521, 526, 529, 533, 537, 542, 546, 551, 554, 559, 562, 566, 570, 574, 579, 582, 585, 588, 591, 596, 601, 604, 610, 614, 619, 622, 628, 632, 636, 639, 644, 647, 651, 655, 660, 664, 668, 673, 677, 681, 686, 689, 693, 696, 700, 703, 706, 710, 713, 717, 721, 724, 728, 731, 735, 738, 741, 745, 748, 752, 756, 760, 763, 767, 771, 775, 778, 781, 784, 788, 791, 795, 799, 803, 806, 809, 812, 816, 819, 822, 826, 830, 833, 836, 839, 843, 846, 850, 853, 857, 861, 864, 868, 872, 875, 878, 882, 886, 889, 893, 897, 901, 904, 907, 910, 914, 917, 921, 925, 929, 932, 935, 939, 943, 948, 951, 956, 959, 962, 966, 969, 974, 975, 976, 976, 977, 978, 979, 980, 981, 981, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 993, 995, 996, 997, 998, 999, 1000, 1000, 1000, 1001, 1002, 1005, 1008, 1009, 1010, 1010, 1010, 1010, 1011, 1013, 1014, 1014, 1016, 1017, 1019, 1021, 1022, 1023, 1023, 1024, 1025, 1026, 1026, 1026, 1027, 1028, 1028, 1029, 1030, 1031, 1031, 1032, 1032, 1033, 1034, 1035, 1039, 1039, 1039, 1040, 1041, 1042, 1043, 1043, 1044, 1044, 1045, 1046, 1047, 1047, 1048, 1050, 1052, 1053, 1054, 1054, 1055, 1056, 1057, 1058, 1059, 1061, 1063, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1065, 1066, 1068, 1069, 1070, 1071, 1073, 1074, 1075, 1077, 1077, 1077, 1077, 1079, 1080, 1081, 1084, 1087, 1089, 1089, 1089, 1090, 1091, 1093, 1096, 1097, 1098, 1101, 1104, 1105, 1106, 1107, 1107, 1108, 1109, 1110, 1111, 1113, 1115, 1116, 1117, 1118, 1118, 1118, 1118, 1120, 1122, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1130, 1130, 1131, 1132, 1133, 1133, 1133, 1133, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1148, 1149, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1157, 1158, 1158, 1158, 1160, 1162, 1163, 1166, 1168, 1169, 1172, 1174, 1175, 1175, 1176, 1176, 1176, 1178, 1180, 1182, 1184, 1185, 1186, 1187, 1189, 1190, 1191, 1192, 1192, 1192, 1193, 1193, 1194, 1195, 1197, 1198, 1200, 1202, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1205, 1207, 1209, 1211, 1213, 1213, 1214, 1215, 1217, 1219, 1222, 1224, 1224, 1224, 1224, 1225, 1227, 1229, 1231, 1233, 1235, 1236, 1238, 1238, 1239, 1239, 1239, 1241, 1242, 1244, 1245, 1247, 1249, 1249, 1250, 1250, 1250, 1251, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1265, 1266, 1268, 1269, 1270, 1270, 1271, 1271, 1274, 1275, 1277, 1277, 1277, 1279, 1281, 1282, 1283, 1284, 1285, 1286, 1286, 1286, 1286, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1288, 1288, 1289, 1291, 1291, 1291, 1293, 1294, 1294, 1295, 1295, 1295, 1295, 1296, 1296, 1297, 1297, 1298, 1299, 1300, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1313, 1314, 1316, 1317, 1317, 1317, 1318, 1318, 1318, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1323, 1323, 1324, 1324, 1325, 1326, 1326, 1326, 1327, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 1334, 1334, 1336, 1336, 1336, 1336, 1337, 1337, 1337, 1337, 1337, 1337, 1337, 1337, 1337, 1338, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1339, 1340, 1341, 1341, 1341, 1341, 1341, 1342, 1342, 1343, 1343, 1344, 1344, 1345, 1346, 1347, 1348, 1348, 1348, 1348, 1348, 1348, 1349, 1349, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1351, 1351, 1351, 1351, 1351, 1352, 1352, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1354, 1355, 1355, 1355, 1355, 1355, 1356, 1356, 1357, 1357, 1357, 1357, 1357, 1357, 1357, 1357, 1357, 1357, 1357, 1358, 1358, 1358, 1358, 1358, 1358, 1358, 1358, 1358, 1359, 1359, 1359, 1359, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 1362, 1362, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1365, 1365, 1365, 1365, 1365, 1365, 1365, 1365, 1365, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 2, 1, 1, 3, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 6, 7, 8, 9, 1, 10, 11, 12, 13, 14, 1, 15, 16, 17, 18, 19, 20, 19, 19, 19, 19, 19, 19, 21, 21, 22, 1, 23, 24, 25, 26, 27, 28, 28, 29, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 30, 31, 32, 1, 28, 1, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 42, 49, 50, 51, 52, 53, 42, 54, 55, 42, 56, 10, 57, 58, 1, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42 } ; static yyconst flex_int32_t yy_meta[60] = { 0, 1, 2, 3, 4, 5, 6, 7, 1, 1, 8, 9, 10, 11, 12, 1, 11, 13, 14, 15, 15, 15, 1, 16, 17, 17, 1, 18, 19, 19, 1, 20, 1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 1, 1, 21, 1 } ; static yyconst flex_int16_t yy_base[1408] = { 0, 0, 4, 9, 68, 127, 0, 186, 0, 244, 254, 264, 271, 330, 0, 388, 392, 420, 424, 483, 0, 541, 545, 577, 0, 632, 0, 691, 0, 749, 753, 758, 764, 768, 783, 841, 899, 793, 811, 958, 0, 1016, 1074, 830, 860, 879, 1022, 872, 890, 1133, 0, 1192, 0, 1239, 0, 1051, 1293, 1297, 1316, 1348, 0, 1068, 1312, 1402, 1460, 1417, 1429, 1519, 0, 0, 0, 1577, 1635, 3255, 6348, 6348, 6348, 6348, 1, 3227, 6348, 6348, 6348, 1694, 6348, 6348, 6348, 2, 3225, 4, 0, 6348, 6348, 6348, 6348, 6348, 3, 3222, 0, 3193, 3192, 0, 2, 3179, 3172, 6348, 6348, 6348, 6348, 6348, 20, 3183, 0, 5, 3169, 6348, 0, 0, 6348, 0, 6348, 3167, 23, 3170, 0, 0, 0, 0, 6348, 25, 3165, 0, 0, 6348, 6348, 6348, 6348, 6348, 3159, 36, 3159, 52, 24, 399, 6348, 6348, 6348, 0, 0, 6348, 44, 3158, 0, 0, 35, 256, 260, 280, 267, 276, 0, 3178, 3176, 6348, 3171, 246, 27, 61, 3170, 296, 244, 3169, 3168, 3161, 3138, 274, 3150, 6348, 6348, 276, 6348, 6348, 6348, 3141, 6348, 292, 3121, 6348, 0, 248, 6348, 6348, 6348, 6348, 6348, 293, 3112, 6348, 6348, 6348, 301, 6348, 6348, 6348, 298, 3110, 6348, 0, 6348, 6348, 0, 3109, 300, 3100, 1727, 3061, 0, 0, 0, 6348, 0, 3093, 301, 3084, 0, 0, 0, 6348, 0, 3090, 303, 3069, 0, 0, 3076, 306, 288, 3034, 34, 0, 6348, 43, 387, 389, 406, 398, 0, 6348, 6348, 0, 3073, 394, 3061, 0, 0, 6348, 0, 395, 3054, 0, 6348, 6348, 6348, 6348, 403, 3047, 0, 324, 3031, 6348, 6348, 6348, 6348, 6348, 416, 3040, 0, 3061, 6348, 6348, 0, 6348, 6348, 6348, 6348, 418, 3037, 0, 6348, 6348, 6348, 6348, 6348, 421, 3035, 0, 6348, 0, 6348, 6348, 6348, 426, 3030, 450, 6348, 6348, 6348, 6348, 6348, 6348, 3020, 6348, 6348, 434, 3024, 6348, 6348, 6348, 6348, 6348, 6348, 442, 3021, 0, 6348, 6348, 6348, 0, 6348, 443, 3020, 6348, 0, 0, 6348, 0, 6348, 444, 3013, 432, 0, 3019, 3014, 0, 6348, 1781, 6348, 445, 0, 541, 464, 0, 2995, 2981, 427, 2973, 545, 2954, 2958, 2959, 2951, 2971, 2957, 0, 430, 2938, 552, 0, 2954, 462, 1835, 0, 559, 547, 1855, 6348, 2953, 563, 581, 6348, 591, 6348, 2956, 788, 0, 2935, 2930, 1875, 6348, 572, 6348, 789, 803, 1895, 565, 6348, 577, 2942, 6348, 282, 583, 1917, 6348, 2929, 761, 6348, 6348, 876, 2927, 589, 2927, 2923, 2916, 2909, 2891, 801, 2889, 803, 6348, 467, 2896, 2900, 593, 771, 0, 6348, 2897, 6348, 775, 6348, 0, 6348, 538, 2881, 1937, 1928, 2847, 2842, 2842, 2834, 2851, 2839, 2820, 2830, 2815, 2799, 0, 6348, 2829, 1977, 0, 6348, 2822, 1997, 6348, 2817, 2778, 790, 2761, 822, 0, 0, 2795, 2787, 2021, 796, 2756, 0, 833, 2788, 2782, 2041, 0, 2785, 2768, 2061, 0, 6348, 2780, 2733, 0, 6348, 0, 2755, 2750, 6348, 0, 6348, 2760, 2746, 589, 2741, 2730, 2719, 6348, 0, 0, 824, 845, 2081, 2690, 2676, 2698, 6348, 6348, 841, 837, 857, 2698, 2657, 2651, 2649, 2649, 2641, 6348, 2638, 2637, 2625, 2626, 2624, 2619, 0, 2633, 0, 0, 2603, 2603, 2594, 6348, 2597, 2593, 2617, 6348, 2615, 891, 0, 795, 0, 878, 851, 0, 905, 0, 6348, 2612, 2593, 895, 917, 1034, 2584, 0, 0, 916, 917, 920, 6348, 914, 2588, 2584, 943, 842, 6348, 2563, 2572, 6348, 2547, 6348, 6348, 2546, 0, 2513, 2508, 2507, 1024, 2501, 2517, 2516, 2496, 2504, 2495, 897, 893, 2490, 2461, 2451, 2451, 2457, 2445, 2448, 2427, 0, 0, 0, 0, 2448, 6348, 2424, 2459, 0, 933, 0, 2424, 2419, 863, 6348, 0, 0, 2444, 0, 0, 2416, 6348, 2442, 6348, 2440, 1012, 2428, 6348, 2423, 6348, 6348, 0, 2403, 6348, 927, 2423, 1046, 2418, 1061, 2393, 2382, 1016, 2106, 2388, 2387, 2386, 2373, 2365, 2363, 2369, 0, 1081, 1022, 2367, 2364, 2381, 6348, 1041, 1028, 6348, 6348, 1078, 1103, 1254, 0, 930, 2382, 6348, 6348, 2366, 1021, 994, 2347, 6348, 2335, 2328, 2331, 2330, 2318, 2322, 2325, 2324, 2325, 949, 2321, 2310, 2313, 2299, 2298, 2308, 2284, 2264, 1076, 2262, 0, 2273, 2277, 0, 2264, 2298, 6348, 1084, 2266, 2280, 1356, 1434, 1437, 1441, 6348, 2251, 2245, 6348, 6348, 1082, 2243, 2165, 1106, 2241, 2225, 2239, 2240, 2266, 6348, 1087, 2229, 0, 1250, 2255, 2253, 6348, 2242, 1301, 1328, 2215, 2214, 2214, 1260, 2212, 2197, 2202, 2191, 2186, 2194, 2056, 1266, 1332, 2055, 1341, 2054, 2053, 2042, 2049, 2042, 2050, 2035, 2033, 2031, 2025, 2042, 2038, 2017, 2026, 2013, 1345, 2019, 2044, 2040, 1996, 1109, 1589, 1594, 1251, 1349, 1446, 1609, 1616, 1998, 2025, 1322, 1988, 6348, 1352, 6348, 1354, 1451, 1988, 2021, 2011, 1974, 1413, 1620, 1625, 2008, 1959, 1476, 1958, 1949, 1940, 1946, 1945, 1951, 1934, 1922, 1479, 6348, 1491, 1929, 1929, 1928, 1924, 1926, 1925, 1916, 1915, 1922, 1261, 1912, 1903, 1906, 1907, 1885, 1888, 1495, 1895, 1878, 1630, 1994, 1257, 6348, 1840, 1860, 1900, 1914, 1367, 1355, 6348, 1482, 6348, 1304, 1420, 1503, 2222, 1886, 6348, 1855, 1906, 1850, 1849, 1846, 1842, 1833, 1831, 1818, 1813, 1798, 1506, 1806, 1806, 1713, 1710, 1700, 1636, 1649, 1633, 1634, 1630, 1619, 1620, 1609, 1607, 1617, 1597, 1454, 1606, 2227, 2232, 1922, 1982, 2014, 0, 1580, 1584, 2239, 1610, 1558, 1509, 1566, 1564, 1541, 1472, 1462, 1461, 1463, 1448, 1444, 0, 1422, 1431, 1425, 1422, 1406, 1398, 1384, 1381, 1378, 1364, 1489, 6348, 0, 2252, 2255, 2026, 2258, 2267, 0, 1373, 1643, 2287, 2293, 1358, 0, 1325, 1321, 1309, 1295, 6348, 1284, 1282, 1280, 1263, 1265, 1087, 1075, 1080, 6348, 2299, 2302, 2313, 2322, 2325, 1082, 1655, 2329, 1880, 1068, 6348, 1041, 1047, 1019, 1000, 995, 901, 895, 834, 750, 2335, 2348, 2360, 2368, 2371, 6348, 1665, 2391, 2281, 736, 719, 712, 697, 531, 433, 2384, 2396, 2407, 2410, 2416, 1670, 2430, 2440, 417, 374, 343, 2445, 2451, 2456, 2465, 2471, 1675, 2476, 2486, 278, 2495, 2500, 2506, 2511, 2515, 1680, 2531, 2520, 233, 2526, 2541, 1756, 2554, 2565, 1934, 2574, 2569, 2037, 2586, 2580, 2057, 2596, 2591, 2086, 2602, 2608, 2612, 2615, 2628, 2634, 2650, 2640, 2656, 2662, 2645, 2673, 2676, 2686, 2690, 2700, 2694, 2705, 2716, 2710, 2721, 2731, 2726, 2736, 2742, 2748, 2755, 2758, 2770, 2773, 2776, 2786, 2789, 2803, 2792, 2808, 2818, 2813, 2824, 2834, 2830, 2840, 2846, 2851, 2858, 2861, 2872, 2875, 2888, 2878, 2893, 2906, 2911, 2917, 2920, 2932, 2935, 2938, 2948, 2951, 2954, 2965, 2968, 2974, 2979, 2986, 2996, 2992, 3002, 3008, 3013, 3019, 3022, 3033, 3037, 3050, 3040, 3055, 3067, 3072, 3078, 3081, 3094, 3097, 3100, 3110, 3113, 3117, 3127, 3130, 3136, 3141, 3148, 3158, 3154, 3164, 3174, 3184, 3190, 3196, 3201, 3208, 3212, 3218, 3222, 3232, 3228, 3238, 3242, 3255, 3258, 3268, 3261, 3273, 3287, 3278, 3292, 3298, 3303, 3309, 3315, 3325, 3328, 3332, 3342, 3345, 3348, 3358, 3361, 3365, 3371, 3375, 3379, 3389, 3396, 3406, 3392, 3412, 3425, 3402, 3435, 3439, 3449, 3452, 3456, 3462, 3466, 3470, 3480, 3484, 3487, 3497, 3503, 3516, 3506, 3526, 3530, 3536, 3542, 3545, 3555, 3561, 3564, 3574, 3577, 3590, 3580, 3595, 3601, 3611, 3614, 3620, 3630, 3635, 3638, 3648, 3651, 3657, 3667, 3670, 3676, 3686, 3693, 3696, 3706, 242, 3712, 3717, 3722, 3732, 3736, 3741, 3746, 3751, 3760, 3756, 3772, 3766, 3777, 3782, 3786, 3790, 3795, 11, 3800, 3805, 3810, 3814, 3820, 3826, 3831, 3836, 3840, 3844, 3849, 3854, 3859, 3864, 3868, 3874, 3880, 3885, 3890, 3894, 3898, 3903, 3908, 3913, 3918, 3922, 3928, 3934, 3939, 3944, 3948, 3952, 3957, 3962, 3967, 3972, 3976, 3982, 3988, 3993, 3998, 4002, 4006, 4011, 4016, 4021, 4026, 4030, 4036, 4042, 4047, 4052, 4056, 4060, 4065, 4070, 4075, 4080, 4084, 4090, 4096, 4101, 4106, 4110, 4114, 4119, 4124, 4129, 4134, 4138, 4144, 4150, 4155, 4160, 4164, 4168, 6348, 4224, 4245, 4266, 4287, 4308, 4329, 4350, 4371, 4392, 4413, 4434, 4455, 4476, 4497, 4518, 4539, 4560, 4581, 4602, 1353, 1565, 1571, 4623, 4644, 4665, 4686, 4707, 4726, 4745, 4766, 4787, 4806, 4825, 4844, 4862, 1586, 4881, 4902, 4921, 4942, 4963, 4984, 5005, 5026, 5047, 1591, 1603, 1674, 5068, 1750, 5089, 5110, 5129, 5148, 5164, 1751, 1758, 5181, 5202, 1759, 5223, 5244, 5265, 5286, 5307, 5328, 5349, 5368, 5387, 5408, 5427, 5446, 5465, 5483, 1760, 5502, 5523, 5542, 5563, 5584, 5605, 5626, 5647, 5668, 1835, 1837, 1855, 1857, 5689, 5710, 5729, 5748, 5769, 5790, 1875, 5811, 5832, 1895, 5853, 5874, 5895, 5916, 5937, 5958, 5979, 5998, 6017, 6038, 6059, 6080, 6099, 6120, 6141, 6162, 6183, 6204, 6225, 6244, 6263, 1932, 6284, 6305, 6326 } ; static yyconst flex_int16_t yy_def[1408] = { 0, 1285, 1285, 1285, 1284, 1284, 5, 1284, 7, 1286, 1286, 1287, 1287, 1284, 13, 1288, 1288, 1289, 1289, 1284, 19, 1290, 1290, 19, 23, 1284, 25, 1284, 27, 1291, 1292, 1285, 1285, 1285, 1285, 1293, 1293, 1294, 1294, 1284, 39, 1293, 1293, 1295, 1295, 1296, 1296, 1297, 1297, 1284, 49, 1284, 51, 51, 53, 1298, 1298, 1299, 1299, 23, 59, 1300, 1300, 1301, 1301, 1302, 1302, 1284, 67, 67, 67, 1303, 1303, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1304, 1304, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1305, 1305, 1305, 1305, 1305, 1305, 1305, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1306, 1306, 1306, 1284, 1307, 1307, 1284, 1307, 1284, 1308, 1284, 1307, 1307, 1309, 1309, 1309, 1284, 1309, 1309, 1310, 1309, 1284, 1284, 1284, 1284, 1284, 1311, 1284, 1284, 1312, 1284, 1312, 1284, 1284, 1284, 1313, 1313, 1284, 1313, 1313, 1314, 1313, 1315, 1315, 1315, 1315, 1315, 1315, 1316, 1317, 1317, 1284, 1317, 1317, 1317, 1284, 1317, 1318, 1284, 1284, 1284, 1284, 1284, 1319, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1320, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1321, 1284, 1284, 1284, 1284, 1284, 1284, 1322, 1284, 1284, 1322, 1284, 1284, 1322, 1284, 1284, 1322, 1323, 1323, 1284, 1323, 1284, 1323, 1323, 1323, 1324, 1324, 1284, 1324, 1284, 1324, 1324, 1320, 1324, 1284, 1284, 1284, 1284, 1325, 1326, 1284, 1325, 1327, 1325, 1284, 1325, 1328, 1284, 1284, 1328, 1284, 1328, 1328, 1328, 1329, 1284, 1329, 1329, 1329, 1329, 1284, 1284, 1284, 1284, 1284, 1284, 1330, 1284, 1330, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1331, 1284, 1284, 1284, 1332, 1284, 1284, 1284, 1284, 1284, 1284, 1333, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1333, 1284, 1334, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1335, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1336, 1284, 1284, 1284, 1337, 1284, 1284, 1284, 1284, 1338, 1338, 1284, 1338, 1284, 1284, 1338, 1284, 1338, 1284, 1284, 1339, 1284, 1284, 1284, 1340, 1340, 1340, 1340, 1341, 1341, 1341, 1341, 1341, 1341, 1341, 1341, 1341, 1341, 1342, 1343, 1344, 1344, 1344, 1344, 1345, 1346, 1347, 1345, 1348, 1349, 1350, 1348, 1284, 1284, 1351, 1284, 1284, 1352, 1284, 1284, 1352, 1353, 1353, 1353, 1353, 1284, 1354, 1284, 1354, 1354, 1354, 1284, 1284, 1355, 1356, 1284, 1356, 1356, 1356, 1284, 1284, 1284, 1284, 1284, 1357, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1358, 1284, 1284, 1284, 1284, 1284, 1284, 1359, 1284, 1284, 1284, 1360, 1284, 1361, 1284, 1284, 1284, 1361, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1362, 1284, 1362, 1362, 1363, 1284, 1363, 1363, 1284, 1284, 1284, 1284, 1284, 1364, 1365, 1366, 1366, 1366, 1364, 1284, 1284, 1367, 1284, 1284, 1367, 1367, 1368, 1368, 1368, 1368, 1369, 1284, 1284, 1369, 1370, 1284, 1371, 1284, 1284, 1284, 1372, 1284, 1284, 1373, 1374, 1284, 1284, 1284, 1284, 1375, 1376, 1284, 1284, 1376, 1284, 1284, 1284, 1284, 1284, 1284, 1377, 1284, 1378, 1379, 1379, 1379, 1379, 1379, 1284, 1379, 1379, 1379, 1379, 1379, 1379, 1380, 1380, 1381, 1381, 1382, 1382, 1382, 1284, 1382, 1382, 1383, 1284, 1284, 1284, 1384, 1385, 1386, 1385, 1387, 1388, 1387, 1389, 1284, 1284, 1284, 1284, 1284, 1390, 1391, 1391, 1391, 1392, 1392, 1392, 1284, 1393, 1393, 1393, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1394, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1395, 1395, 1363, 1363, 1284, 1284, 1284, 1366, 1366, 1364, 1366, 1284, 1284, 1284, 1284, 1367, 1367, 1368, 1368, 1368, 1369, 1284, 1396, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1376, 1284, 1284, 1377, 1397, 1284, 1378, 1284, 1379, 1379, 1379, 1284, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1380, 1382, 1382, 1382, 1382, 1398, 1284, 1284, 1385, 1284, 1284, 1284, 1284, 1390, 1391, 1392, 1393, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1366, 1284, 1284, 1368, 1369, 1399, 1284, 1284, 1284, 1397, 1400, 1284, 1284, 1284, 1284, 1379, 1379, 1284, 1284, 1284, 1379, 1284, 1379, 1379, 1379, 1379, 1379, 1379, 1284, 1284, 1382, 1382, 1382, 1284, 1284, 1284, 1284, 1284, 1390, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1369, 1284, 1284, 1284, 1400, 1400, 1400, 1284, 1400, 1284, 1284, 1284, 1379, 1379, 1284, 1284, 1284, 1284, 1284, 1379, 1379, 1379, 1379, 1284, 1284, 1284, 1390, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1401, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1369, 1284, 1400, 1400, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1402, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1403, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1401, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1369, 1284, 1400, 1400, 1284, 1284, 1284, 1404, 1284, 1284, 1284, 1284, 1403, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1405, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1406, 1400, 1400, 1284, 1284, 1284, 1404, 1284, 1284, 1284, 1284, 1284, 1407, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1400, 1400, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1400, 1400, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1400, 1400, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1400, 1400, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1400, 1400, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1400, 1400, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 0, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284 } ; static yyconst flex_int16_t yy_nxt[6408] = { 0, 1284, 75, 394, 76, 77, 75, 1284, 76, 77, 1284, 75, 395, 76, 77, 341, 341, 341, 78, 342, 342, 342, 78, 349, 349, 349, 79, 78, 381, 382, 79, 398, 349, 349, 361, 79, 460, 361, 362, 372, 356, 362, 390, 373, 354, 460, 355, 357, 358, 364, 341, 365, 461, 401, 342, 378, 378, 378, 385, 80, 390, 461, 386, 80, 379, 402, 403, 833, 80, 81, 82, 83, 84, 85, 81, 81, 86, 81, 81, 81, 81, 81, 81, 81, 81, 81, 87, 81, 81, 81, 81, 81, 81, 81, 88, 81, 89, 89, 81, 81, 81, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 81, 81, 81, 91, 92, 93, 92, 94, 95, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 96, 92, 92, 92, 92, 92, 92, 92, 97, 92, 98, 98, 92, 92, 92, 98, 98, 99, 100, 101, 98, 98, 98, 102, 98, 98, 98, 98, 98, 98, 103, 98, 98, 98, 104, 98, 98, 98, 92, 92, 92, 105, 106, 107, 106, 108, 109, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 110, 106, 106, 106, 106, 106, 106, 106, 111, 106, 112, 112, 106, 106, 106, 112, 112, 112, 112, 113, 112, 112, 112, 114, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 106, 106, 106, 115, 117, 409, 118, 119, 398, 120, 425, 426, 379, 121, 117, 410, 118, 119, 399, 120, 122, 390, 400, 121, 126, 390, 76, 127, 123, 128, 122, 126, 390, 76, 127, 415, 128, 419, 123, 390, 129, 390, 420, 390, 398, 390, 595, 129, 130, 416, 390, 393, 391, 131, 556, 130, 392, 404, 405, 390, 131, 124, 428, 390, 422, 361, 406, 429, 423, 362, 361, 124, 432, 341, 362, 341, 433, 448, 455, 452, 988, 132, 342, 456, 457, 408, 477, 478, 132, 133, 134, 133, 135, 136, 133, 137, 133, 133, 133, 138, 133, 133, 133, 133, 133, 133, 139, 133, 133, 133, 133, 133, 133, 133, 140, 133, 141, 141, 133, 142, 133, 141, 141, 141, 141, 143, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 144, 145, 133, 146, 148, 460, 76, 77, 148, 149, 76, 77, 595, 149, 460, 462, 378, 378, 378, 463, 150, 461, 469, 473, 150, 379, 470, 474, 151, 464, 461, 341, 151, 152, 979, 342, 155, 152, 76, 156, 155, 74, 76, 156, 341, 74, 483, 465, 342, 341, 484, 465, 157, 342, 341, 466, 157, 438, 342, 74, 158, 153, 491, 74, 158, 153, 342, 383, 487, 488, 492, 341, 497, 500, 493, 342, 498, 500, 349, 349, 349, 507, 511, 501, 419, 525, 726, 349, 349, 420, 508, 512, 595, 159, 526, 534, 534, 159, 74, 75, 74, 76, 77, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 78, 74, 74, 74, 74, 74, 74, 74, 79, 74, 160, 160, 74, 74, 74, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 74, 74, 74, 80, 162, 505, 163, 164, 162, 514, 163, 164, 514, 502, 506, 540, 528, 431, 514, 528, 165, 349, 349, 349, 165, 528, 541, 537, 166, 394, 349, 349, 166, 167, 538, 545, 970, 167, 395, 540, 390, 394, 515, 546, 546, 547, 547, 547, 398, 529, 395, 537, 516, 409, 379, 378, 378, 378, 390, 530, 564, 168, 557, 410, 379, 168, 169, 169, 565, 615, 615, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 74, 75, 170, 76, 77, 74, 74, 74, 74, 74, 74, 171, 172, 74, 173, 74, 174, 78, 74, 74, 74, 74, 74, 74, 74, 79, 74, 175, 175, 74, 176, 74, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 74, 74, 74, 80, 177, 178, 179, 180, 181, 177, 182, 183, 177, 177, 184, 177, 177, 177, 177, 177, 177, 185, 177, 177, 177, 177, 177, 177, 177, 186, 187, 188, 188, 177, 189, 177, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 177, 177, 177, 190, 192, 595, 193, 194, 199, 200, 201, 202, 969, 75, 203, 76, 77, 404, 405, 75, 195, 76, 77, 75, 204, 76, 77, 673, 196, 78, 566, 428, 205, 968, 559, 78, 429, 79, 75, 78, 76, 77, 567, 79, 378, 378, 378, 79, 218, 390, 219, 220, 595, 379, 78, 537, 552, 415, 595, 415, 221, 197, 79, 390, 222, 206, 218, 390, 219, 220, 80, 416, 223, 416, 553, 595, 80, 460, 221, 537, 80, 390, 222, 617, 601, 239, 572, 240, 241, 603, 223, 618, 548, 461, 604, 80, 208, 505, 209, 210, 595, 242, 625, 626, 619, 224, 506, 406, 211, 243, 244, 540, 212, 507, 244, 239, 620, 240, 241, 603, 213, 214, 508, 224, 604, 214, 408, 255, 959, 240, 256, 242, 404, 405, 247, 540, 248, 249, 537, 243, 244, 406, 245, 257, 244, 255, 250, 240, 256, 648, 251, 258, 215, 216, 208, 646, 209, 210, 252, 650, 408, 257, 537, 647, 647, 540, 211, 651, 651, 258, 212, 398, 245, 652, 652, 652, 390, 390, 213, 214, 390, 672, 379, 214, 259, 656, 670, 655, 460, 540, 390, 253, 625, 626, 390, 390, 671, 673, 390, 657, 657, 657, 259, 595, 461, 737, 737, 737, 390, 595, 215, 216, 225, 226, 225, 227, 228, 225, 225, 225, 225, 225, 225, 225, 225, 229, 225, 225, 225, 230, 225, 225, 225, 225, 225, 225, 225, 231, 225, 232, 232, 225, 225, 225, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 225, 225, 225, 233, 208, 701, 209, 210, 701, 690, 247, 713, 248, 249, 701, 725, 234, 691, 691, 663, 235, 537, 250, 378, 378, 378, 251, 958, 213, 236, 957, 726, 379, 236, 252, 695, 696, 697, 532, 282, 663, 76, 283, 723, 284, 537, 718, 718, 956, 714, 697, 697, 697, 724, 698, 285, 299, 653, 94, 300, 237, 216, 208, 286, 209, 210, 663, 253, 287, 698, 712, 768, 301, 712, 234, 719, 713, 955, 235, 712, 302, 613, 726, 720, 720, 303, 213, 236, 698, 756, 756, 236, 721, 721, 721, 771, 288, 745, 746, 1284, 954, 379, 747, 698, 772, 950, 748, 749, 761, 769, 944, 750, 943, 304, 778, 751, 752, 942, 237, 216, 260, 261, 260, 262, 263, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 264, 260, 260, 260, 260, 260, 260, 260, 265, 260, 266, 266, 260, 267, 260, 266, 266, 266, 268, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 260, 260, 260, 269, 270, 271, 270, 272, 273, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 274, 270, 270, 270, 270, 270, 270, 270, 275, 270, 276, 276, 270, 277, 270, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 270, 270, 270, 278, 279, 528, 817, 818, 528, 378, 378, 378, 817, 818, 528, 784, 784, 784, 379, 280, 280, 737, 737, 737, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 282, 855, 76, 283, 290, 284, 76, 291, 722, 779, 779, 779, 828, 292, 941, 940, 285, 595, 379, 299, 293, 94, 300, 290, 286, 76, 291, 792, 294, 287, 768, 939, 292, 295, 938, 301, 378, 378, 378, 293, 793, 794, 795, 302, 673, 379, 937, 294, 303, 737, 737, 737, 295, 812, 794, 795, 870, 288, 1284, 726, 771, 296, 824, 824, 759, 696, 760, 761, 769, 772, 936, 825, 825, 350, 761, 701, 304, 350, 701, 780, 296, 297, 297, 762, 701, 726, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 306, 934, 307, 308, 930, 309, 923, 922, 762, 310, 311, 312, 830, 830, 830, 318, 313, 76, 319, 712, 320, 379, 712, 921, 314, 315, 920, 318, 712, 76, 319, 321, 320, 763, 764, 765, 765, 765, 765, 322, 765, 765, 765, 321, 323, 819, 820, 821, 919, 918, 826, 322, 698, 896, 827, 698, 323, 316, 306, 698, 307, 308, 897, 309, 698, 917, 673, 310, 311, 312, 827, 916, 324, 673, 313, 784, 784, 784, 793, 794, 795, 826, 314, 315, 324, 827, 698, 914, 896, 698, 795, 794, 795, 698, 812, 794, 795, 897, 698, 726, 913, 827, 871, 871, 871, 737, 737, 737, 784, 784, 784, 379, 726, 726, 912, 316, 325, 326, 327, 76, 328, 327, 325, 325, 325, 327, 325, 327, 327, 325, 325, 327, 327, 329, 327, 327, 327, 325, 325, 325, 325, 330, 325, 327, 327, 325, 325, 325, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 325, 325, 325, 331, 333, 351, 334, 335, 336, 351, 911, 363, 906, 906, 906, 363, 336, 815, 764, 816, 337, 379, 816, 765, 816, 910, 424, 761, 338, 339, 424, 476, 761, 339, 909, 476, 762, 821, 821, 821, 875, 762, 908, 480, 821, 821, 821, 480, 831, 831, 831, 905, 832, 784, 784, 784, 698, 379, 864, 820, 865, 340, 333, 698, 334, 335, 336, 898, 761, 895, 762, 931, 931, 931, 336, 762, 894, 762, 337, 893, 379, 892, 891, 951, 951, 951, 338, 339, 890, 889, 698, 339, 379, 965, 965, 965, 595, 698, 976, 976, 976, 833, 379, 985, 985, 985, 834, 379, 991, 991, 991, 762, 379, 673, 482, 888, 673, 379, 482, 340, 344, 344, 345, 344, 344, 344, 344, 346, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 347, 347, 344, 344, 344, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 344, 344, 344, 344, 435, 673, 887, 886, 435, 994, 994, 994, 436, 437, 438, 486, 350, 439, 379, 486, 350, 440, 441, 351, 363, 424, 442, 351, 363, 424, 443, 444, 344, 344, 345, 344, 344, 344, 344, 346, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 347, 347, 344, 344, 344, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 344, 344, 344, 344, 535, 885, 866, 867, 868, 504, 535, 535, 884, 476, 535, 480, 504, 476, 845, 480, 883, 535, 535, 535, 542, 698, 868, 868, 868, 542, 542, 542, 882, 482, 542, 486, 542, 482, 881, 486, 880, 542, 542, 542, 551, 698, 953, 953, 953, 551, 551, 551, 879, 351, 551, 878, 551, 351, 877, 698, 876, 551, 551, 551, 554, 390, 868, 868, 868, 554, 554, 554, 835, 363, 554, 875, 554, 363, 873, 698, 822, 554, 554, 555, 398, 698, 558, 863, 901, 902, 903, 558, 558, 558, 862, 861, 558, 860, 558, 833, 997, 997, 997, 558, 558, 558, 569, 698, 859, 379, 904, 569, 569, 569, 904, 858, 569, 857, 504, 698, 856, 854, 853, 569, 569, 569, 570, 571, 572, 573, 852, 574, 851, 850, 849, 575, 576, 848, 847, 846, 577, 698, 845, 843, 578, 579, 591, 842, 903, 903, 903, 591, 591, 591, 841, 840, 591, 839, 591, 838, 865, 821, 865, 591, 591, 591, 593, 698, 837, 836, 761, 593, 593, 593, 835, 829, 593, 777, 593, 762, 903, 903, 903, 593, 593, 593, 460, 828, 774, 823, 599, 822, 927, 928, 929, 599, 599, 599, 353, 698, 599, 698, 600, 1000, 1000, 1000, 814, 599, 599, 599, 606, 698, 379, 762, 613, 606, 606, 606, 613, 813, 606, 811, 606, 1003, 1003, 1003, 810, 606, 606, 606, 609, 809, 379, 698, 808, 609, 609, 609, 807, 806, 609, 805, 609, 804, 803, 698, 802, 609, 609, 609, 504, 801, 1006, 1006, 1006, 621, 621, 621, 800, 799, 621, 379, 504, 798, 797, 796, 791, 621, 621, 621, 702, 702, 703, 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, 351, 351, 351, 702, 702, 702, 702, 702, 702, 351, 351, 702, 702, 702, 351, 351, 351, 351, 351, 351, 351, 351, 704, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 702, 702, 702, 702, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 351, 351, 351, 770, 770, 770, 770, 770, 770, 351, 351, 770, 770, 770, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 770, 770, 770, 770, 872, 872, 872, 790, 832, 899, 867, 900, 789, 379, 900, 868, 900, 788, 787, 761, 786, 907, 907, 907, 761, 832, 785, 783, 762, 782, 379, 781, 719, 762, 925, 902, 926, 926, 903, 926, 929, 929, 929, 532, 761, 532, 641, 761, 777, 929, 929, 929, 776, 762, 775, 774, 762, 833, 773, 698, 631, 767, 762, 967, 967, 967, 766, 762, 698, 932, 932, 932, 694, 832, 833, 933, 933, 933, 379, 832, 757, 945, 928, 946, 946, 929, 946, 762, 613, 754, 762, 761, 753, 698, 761, 947, 948, 949, 724, 683, 762, 681, 698, 762, 949, 949, 949, 949, 949, 949, 744, 952, 952, 952, 698, 832, 833, 960, 948, 961, 379, 743, 833, 698, 742, 741, 698, 761, 833, 740, 961, 949, 961, 739, 762, 738, 762, 762, 736, 735, 761, 734, 962, 963, 964, 733, 732, 731, 698, 762, 964, 964, 964, 964, 964, 964, 730, 698, 729, 728, 698, 698, 727, 659, 833, 398, 971, 963, 972, 698, 762, 532, 698, 966, 966, 966, 761, 832, 972, 964, 972, 716, 379, 762, 715, 762, 711, 710, 761, 973, 974, 975, 975, 975, 975, 698, 709, 762, 975, 975, 975, 708, 707, 698, 706, 705, 698, 700, 698, 699, 628, 698, 977, 977, 977, 694, 832, 698, 692, 762, 623, 379, 978, 978, 978, 623, 833, 980, 974, 981, 613, 762, 613, 981, 975, 981, 688, 761, 982, 983, 984, 687, 698, 761, 686, 698, 762, 984, 984, 984, 685, 698, 762, 984, 984, 984, 684, 698, 986, 986, 986, 683, 832, 682, 681, 833, 698, 379, 987, 987, 987, 680, 698, 679, 678, 833, 677, 989, 983, 990, 762, 676, 990, 984, 990, 675, 762, 761, 982, 983, 984, 698, 761, 984, 984, 984, 762, 984, 984, 984, 698, 762, 993, 993, 993, 674, 698, 698, 989, 983, 990, 833, 698, 992, 992, 992, 698, 832, 761, 669, 668, 833, 379, 990, 984, 990, 667, 762, 666, 665, 762, 664, 662, 761, 661, 762, 995, 995, 995, 660, 832, 698, 762, 659, 623, 379, 698, 996, 996, 996, 698, 999, 999, 999, 563, 833, 998, 998, 998, 658, 832, 762, 1002, 1002, 1002, 379, 833, 398, 1001, 1001, 1001, 398, 832, 1005, 1005, 1005, 762, 379, 1004, 1004, 1004, 654, 832, 649, 1007, 1007, 1007, 379, 832, 833, 1008, 1008, 1008, 379, 1009, 1009, 1009, 1010, 1010, 1010, 833, 832, 649, 379, 833, 532, 379, 532, 529, 833, 1011, 1011, 1011, 644, 643, 833, 1012, 1012, 1012, 642, 641, 833, 1014, 1014, 1014, 379, 833, 1017, 1017, 1017, 640, 833, 1013, 1013, 1013, 639, 832, 833, 1015, 1015, 1015, 379, 638, 833, 1016, 1016, 1016, 379, 832, 637, 833, 636, 635, 379, 634, 1018, 1018, 1018, 1019, 1019, 1019, 633, 832, 833, 379, 632, 631, 379, 1020, 1020, 1020, 630, 1021, 1021, 1021, 833, 1023, 1023, 1023, 629, 833, 379, 1022, 1022, 1022, 833, 832, 1024, 1024, 1024, 628, 379, 1026, 1026, 1026, 623, 379, 833, 1025, 1025, 1025, 622, 832, 1027, 1027, 1027, 572, 379, 1029, 1029, 1029, 833, 379, 1028, 1028, 1028, 503, 832, 1030, 1030, 1030, 833, 379, 502, 1031, 1031, 1031, 379, 832, 833, 1032, 1032, 1032, 379, 616, 833, 613, 1033, 1033, 1033, 1034, 1034, 1034, 487, 832, 833, 379, 611, 502, 379, 610, 833, 1035, 1035, 1035, 1036, 1036, 1036, 1037, 1037, 1037, 833, 832, 477, 379, 608, 833, 379, 1038, 1038, 1038, 1039, 1039, 1039, 1041, 1041, 1041, 833, 607, 605, 379, 502, 602, 833, 598, 1040, 1040, 1040, 597, 832, 1042, 1042, 1042, 833, 379, 1044, 1044, 1044, 596, 379, 1043, 1043, 1043, 594, 832, 833, 1045, 1045, 1045, 379, 502, 833, 1047, 1047, 1047, 379, 1046, 1046, 1046, 592, 832, 833, 1048, 1048, 1048, 379, 590, 833, 1049, 1049, 1049, 379, 832, 1050, 1050, 1050, 589, 379, 833, 588, 1051, 1051, 1051, 1052, 1052, 1052, 587, 832, 833, 379, 586, 585, 379, 833, 1053, 1053, 1053, 1054, 1054, 1054, 1056, 1056, 1056, 584, 583, 833, 379, 582, 581, 833, 1055, 1055, 1055, 580, 832, 1057, 1057, 1057, 568, 379, 425, 833, 563, 421, 379, 562, 833, 561, 1058, 1058, 1058, 413, 832, 1059, 1059, 1059, 833, 379, 412, 1060, 1060, 1060, 1061, 1061, 1061, 411, 832, 833, 379, 412, 560, 379, 402, 833, 1062, 1062, 1062, 1063, 1063, 1063, 1064, 1064, 1064, 833, 832, 398, 379, 550, 549, 379, 1065, 1065, 1065, 1066, 1066, 1066, 1067, 1067, 1067, 381, 832, 833, 379, 543, 532, 379, 833, 1068, 1068, 1068, 1069, 1069, 1069, 527, 524, 833, 1070, 1070, 1070, 379, 832, 1071, 1071, 1071, 522, 379, 520, 833, 1072, 1072, 1072, 519, 518, 833, 1074, 1074, 1074, 379, 1073, 1073, 1073, 517, 832, 833, 1075, 1075, 1075, 379, 513, 833, 1076, 1076, 1076, 379, 832, 1077, 1077, 1077, 510, 379, 833, 1078, 1078, 1078, 1079, 1079, 1079, 509, 832, 833, 379, 503, 502, 379, 833, 1080, 1080, 1080, 499, 1081, 1081, 1081, 1083, 1083, 1083, 343, 343, 833, 379, 343, 490, 833, 1082, 1082, 1082, 343, 832, 1084, 1084, 1084, 343, 379, 343, 833, 481, 343, 379, 479, 833, 1085, 1085, 1085, 343, 832, 1086, 1086, 1086, 833, 379, 475, 1087, 1087, 1087, 1088, 1088, 1088, 471, 832, 833, 379, 468, 458, 379, 454, 453, 833, 1089, 1089, 1089, 1090, 1090, 1090, 1091, 1091, 1091, 833, 832, 451, 379, 449, 447, 379, 1092, 1092, 1092, 1093, 1093, 1093, 445, 1094, 1094, 1094, 833, 832, 379, 434, 431, 833, 379, 1095, 1095, 1095, 1096, 1096, 1096, 343, 833, 343, 1097, 1097, 1097, 379, 832, 1098, 1098, 1098, 343, 379, 421, 833, 1099, 1099, 1099, 418, 414, 833, 1101, 1101, 1101, 379, 1100, 1100, 1100, 413, 832, 833, 1102, 1102, 1102, 379, 412, 411, 833, 398, 398, 379, 1103, 1103, 1103, 398, 832, 398, 833, 387, 343, 379, 1104, 1104, 1104, 377, 374, 833, 1105, 1105, 1105, 370, 833, 369, 1106, 1106, 1106, 379, 832, 1107, 1107, 1107, 366, 379, 343, 833, 1108, 1108, 1108, 833, 1109, 1109, 1109, 360, 832, 379, 1110, 1110, 1110, 379, 1111, 1111, 1111, 359, 353, 833, 1113, 1113, 1113, 379, 1112, 1112, 1112, 352, 832, 833, 1114, 1114, 1114, 379, 1115, 1115, 1115, 343, 832, 379, 343, 833, 343, 379, 1284, 1284, 833, 1116, 1116, 1116, 1117, 1117, 1117, 1119, 1119, 1119, 1284, 833, 1284, 379, 1118, 1118, 1118, 833, 832, 1120, 1120, 1120, 1284, 379, 1122, 1122, 1122, 833, 379, 1284, 1284, 833, 1284, 1121, 1121, 1121, 1284, 832, 1123, 1123, 1123, 833, 379, 1284, 1124, 1124, 1124, 379, 832, 1125, 1125, 1125, 1284, 379, 833, 1126, 1126, 1126, 1284, 1284, 833, 1127, 1127, 1127, 379, 832, 1284, 833, 1284, 1284, 379, 1128, 1128, 1128, 1129, 1129, 1129, 833, 1130, 1130, 1130, 1284, 832, 379, 1284, 1284, 833, 379, 1131, 1131, 1131, 1132, 1132, 1132, 1133, 1133, 1133, 833, 832, 1284, 379, 1284, 833, 379, 1134, 1134, 1134, 1135, 1135, 1135, 1284, 1136, 1136, 1136, 833, 832, 379, 1137, 1137, 1137, 379, 1138, 1138, 1138, 833, 1139, 1139, 1139, 1284, 832, 379, 833, 1284, 1284, 379, 1140, 1140, 1140, 1143, 1143, 1143, 833, 1141, 1141, 1141, 1284, 1284, 833, 1146, 1146, 1146, 379, 1142, 1142, 1142, 1284, 832, 833, 1144, 1144, 1144, 379, 1284, 1284, 833, 1284, 1284, 379, 1284, 1284, 833, 1145, 1145, 1145, 1284, 832, 1284, 1284, 833, 1284, 379, 1147, 1147, 1147, 1284, 1148, 1148, 1148, 833, 832, 379, 833, 1284, 1284, 379, 1149, 1149, 1149, 1150, 1150, 1150, 833, 1151, 1151, 1151, 833, 832, 379, 1152, 1152, 1152, 379, 1153, 1153, 1153, 1284, 1154, 1154, 1154, 1284, 832, 379, 1284, 1284, 833, 379, 1155, 1155, 1155, 1284, 1156, 1156, 1156, 1157, 1157, 1157, 1284, 832, 833, 379, 1284, 1284, 379, 1158, 1158, 1158, 1284, 1284, 833, 1159, 1159, 1159, 1161, 1161, 1161, 833, 1284, 1284, 379, 1284, 1284, 833, 1160, 1160, 1160, 1284, 832, 1284, 1284, 833, 1284, 379, 1162, 1162, 1162, 1284, 1163, 1163, 1163, 833, 832, 379, 1164, 1164, 1164, 379, 833, 1284, 1165, 1165, 1165, 1166, 1166, 1166, 1284, 832, 833, 379, 1284, 1284, 379, 1167, 1167, 1167, 1284, 833, 1284, 1168, 1168, 1168, 1169, 1169, 1169, 1284, 832, 833, 379, 1284, 1284, 379, 1170, 1170, 1170, 1171, 1171, 1171, 1173, 1173, 1173, 833, 1284, 1284, 379, 1284, 1284, 833, 1172, 1172, 1172, 1284, 832, 1174, 1174, 1174, 833, 379, 1284, 1175, 1175, 1175, 379, 832, 1284, 1284, 833, 1284, 379, 1176, 1176, 1176, 1177, 1177, 1177, 833, 1284, 1284, 1178, 1178, 1178, 379, 832, 1284, 1284, 833, 1284, 379, 1179, 1179, 1179, 833, 1284, 1180, 1180, 1180, 1181, 1181, 1181, 1284, 832, 833, 379, 1284, 1284, 379, 1182, 1182, 1182, 1183, 1183, 1183, 833, 1284, 1284, 1184, 1184, 1184, 379, 832, 1284, 1284, 833, 1284, 379, 1185, 1185, 1185, 1186, 1186, 1186, 833, 1284, 1284, 1187, 1187, 1187, 379, 832, 1284, 1284, 833, 1284, 379, 1188, 1188, 1188, 1284, 1284, 833, 1284, 1189, 1189, 1189, 1190, 1190, 1190, 1284, 832, 833, 379, 1284, 1284, 379, 1191, 1191, 1191, 1284, 833, 1284, 1192, 1192, 1192, 1284, 832, 1193, 1193, 1193, 833, 379, 1194, 1194, 1194, 1284, 832, 1284, 1284, 833, 1284, 379, 1195, 1195, 1195, 1284, 1196, 1196, 1196, 833, 832, 1197, 1197, 1197, 1284, 379, 1198, 1198, 1198, 833, 832, 1199, 1199, 1199, 1284, 379, 1201, 1201, 1201, 833, 1200, 1200, 1200, 1284, 832, 833, 1203, 1203, 1203, 379, 833, 1284, 1202, 1202, 1202, 833, 832, 1204, 1204, 1204, 1284, 379, 1205, 1205, 1205, 833, 1206, 1206, 1206, 833, 1207, 1207, 1207, 1284, 833, 1208, 1208, 1208, 1284, 833, 1209, 1209, 1209, 1284, 833, 1210, 1210, 1210, 1284, 833, 1211, 1211, 1211, 833, 1212, 1212, 1212, 1284, 1284, 833, 1213, 1213, 1213, 1284, 1284, 833, 1214, 1214, 1214, 1284, 833, 1215, 1215, 1215, 1284, 833, 1216, 1216, 1216, 833, 1217, 1217, 1217, 833, 1218, 1218, 1218, 1284, 833, 1219, 1219, 1219, 1284, 833, 1220, 1220, 1220, 1284, 833, 1221, 1221, 1221, 1284, 833, 1222, 1222, 1222, 833, 1223, 1223, 1223, 1284, 1284, 833, 1224, 1224, 1224, 1284, 1284, 833, 1225, 1225, 1225, 1284, 833, 1226, 1226, 1226, 1284, 833, 1227, 1227, 1227, 833, 1228, 1228, 1228, 833, 1229, 1229, 1229, 1284, 833, 1230, 1230, 1230, 1284, 833, 1231, 1231, 1231, 1284, 833, 1232, 1232, 1232, 1284, 833, 1233, 1233, 1233, 833, 1234, 1234, 1234, 1284, 1284, 833, 1235, 1235, 1235, 1284, 1284, 833, 1236, 1236, 1236, 1284, 833, 1237, 1237, 1237, 1284, 833, 1238, 1238, 1238, 833, 1239, 1239, 1239, 833, 1240, 1240, 1240, 1284, 833, 1241, 1241, 1241, 1284, 833, 1242, 1242, 1242, 1284, 833, 1243, 1243, 1243, 1284, 833, 1244, 1244, 1244, 833, 1245, 1245, 1245, 1284, 1284, 833, 1246, 1246, 1246, 1284, 1284, 833, 1247, 1247, 1247, 1284, 833, 1248, 1248, 1248, 1284, 833, 1249, 1249, 1249, 833, 1250, 1250, 1250, 833, 1251, 1251, 1251, 1284, 833, 1252, 1252, 1252, 1284, 833, 1253, 1253, 1253, 1284, 833, 1254, 1254, 1254, 1284, 833, 1255, 1255, 1255, 833, 1256, 1256, 1256, 1284, 1284, 833, 1257, 1257, 1257, 1284, 1284, 833, 1258, 1258, 1258, 1284, 833, 1259, 1259, 1259, 1284, 833, 1260, 1260, 1260, 833, 1261, 1261, 1261, 833, 1262, 1262, 1262, 1284, 833, 1263, 1263, 1263, 1284, 833, 1264, 1264, 1264, 1284, 833, 1265, 1265, 1265, 1284, 833, 1266, 1266, 1266, 833, 1267, 1267, 1267, 1284, 1284, 833, 1268, 1268, 1268, 1284, 1284, 833, 1269, 1269, 1269, 1284, 833, 1270, 1270, 1270, 1284, 833, 1271, 1271, 1271, 833, 1272, 1272, 1272, 833, 1273, 1273, 1273, 1284, 833, 1274, 1274, 1274, 1284, 833, 1275, 1275, 1275, 1284, 833, 1276, 1276, 1276, 1284, 833, 1277, 1277, 1277, 833, 1278, 1278, 1278, 1284, 1284, 833, 1279, 1279, 1279, 1284, 1284, 833, 1280, 1280, 1280, 1284, 833, 1281, 1281, 1281, 1284, 833, 1282, 1282, 1282, 833, 1283, 1283, 1283, 833, 1207, 1207, 1207, 1284, 833, 1284, 1284, 1284, 1284, 833, 1284, 1284, 1284, 1284, 833, 1284, 1284, 1284, 1284, 833, 1284, 1284, 1284, 833, 1284, 1284, 1284, 1284, 1284, 833, 1284, 1284, 1284, 1284, 1284, 833, 1284, 1284, 1284, 1284, 833, 1284, 1284, 1284, 1284, 833, 1284, 1284, 1284, 833, 1284, 1284, 1284, 833, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 367, 367, 367, 1284, 367, 367, 1284, 367, 1284, 367, 367, 367, 367, 1284, 367, 367, 367, 367, 367, 367, 367, 368, 368, 368, 1284, 368, 368, 368, 368, 1284, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 371, 371, 371, 1284, 371, 371, 1284, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 1284, 371, 375, 375, 375, 1284, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, 376, 376, 376, 1284, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 380, 380, 380, 1284, 1284, 1284, 1284, 380, 1284, 1284, 1284, 1284, 380, 1284, 1284, 1284, 380, 384, 384, 384, 1284, 1284, 384, 1284, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 1284, 384, 388, 388, 388, 1284, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 389, 389, 389, 1284, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 396, 1284, 1284, 1284, 1284, 1284, 1284, 396, 1284, 1284, 1284, 1284, 396, 1284, 1284, 1284, 396, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 1284, 397, 407, 407, 1284, 1284, 1284, 1284, 1284, 407, 1284, 1284, 1284, 1284, 407, 1284, 1284, 1284, 407, 407, 417, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 417, 1284, 417, 1284, 1284, 1284, 417, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 430, 1284, 430, 1284, 430, 430, 430, 430, 430, 430, 430, 1284, 430, 1284, 430, 430, 430, 1284, 430, 446, 446, 446, 1284, 446, 446, 446, 446, 446, 446, 446, 1284, 446, 446, 446, 446, 446, 446, 446, 446, 446, 450, 450, 450, 1284, 450, 450, 450, 450, 450, 450, 450, 1284, 450, 450, 450, 450, 450, 450, 1284, 450, 450, 459, 459, 459, 1284, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 1284, 459, 1284, 459, 460, 460, 460, 1284, 460, 460, 460, 460, 460, 460, 460, 460, 460, 1284, 460, 460, 460, 1284, 460, 1284, 460, 461, 1284, 461, 1284, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 1284, 461, 1284, 461, 467, 1284, 467, 1284, 467, 467, 467, 467, 467, 467, 467, 1284, 467, 467, 467, 467, 467, 467, 467, 467, 467, 472, 1284, 472, 1284, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 485, 485, 485, 1284, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 489, 489, 489, 1284, 489, 489, 489, 489, 1284, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 494, 494, 494, 1284, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, 495, 1284, 1284, 495, 1284, 495, 1284, 495, 495, 1284, 495, 1284, 495, 1284, 1284, 1284, 495, 496, 496, 496, 1284, 496, 1284, 496, 496, 496, 496, 496, 1284, 496, 1284, 496, 496, 496, 1284, 496, 1284, 496, 504, 1284, 1284, 504, 504, 504, 1284, 1284, 504, 1284, 504, 504, 521, 521, 521, 1284, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 523, 523, 523, 1284, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 367, 367, 367, 1284, 367, 367, 1284, 367, 1284, 367, 367, 367, 367, 1284, 367, 367, 367, 367, 367, 367, 367, 531, 531, 531, 1284, 531, 531, 531, 531, 531, 531, 531, 531, 531, 531, 531, 531, 531, 531, 531, 1284, 531, 533, 533, 533, 1284, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 371, 371, 371, 1284, 371, 371, 1284, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 1284, 371, 536, 536, 536, 1284, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 539, 539, 539, 1284, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 544, 544, 544, 1284, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 380, 380, 380, 1284, 1284, 1284, 1284, 380, 1284, 1284, 1284, 1284, 380, 1284, 1284, 1284, 380, 384, 384, 384, 1284, 1284, 384, 1284, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 1284, 384, 389, 389, 389, 1284, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 396, 1284, 1284, 1284, 1284, 1284, 1284, 396, 1284, 1284, 1284, 1284, 396, 1284, 1284, 1284, 396, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 1284, 397, 407, 407, 1284, 1284, 1284, 1284, 1284, 407, 1284, 1284, 1284, 1284, 407, 1284, 1284, 1284, 407, 407, 417, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 417, 1284, 417, 1284, 1284, 1284, 417, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 430, 1284, 430, 1284, 430, 430, 430, 430, 430, 430, 430, 1284, 430, 1284, 430, 430, 430, 1284, 430, 446, 446, 446, 1284, 446, 446, 446, 446, 446, 446, 446, 1284, 446, 446, 446, 446, 446, 446, 446, 446, 446, 450, 450, 450, 1284, 450, 450, 450, 450, 450, 450, 450, 1284, 450, 450, 450, 450, 450, 450, 1284, 450, 450, 459, 459, 459, 1284, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, 1284, 459, 1284, 459, 460, 460, 460, 1284, 460, 460, 460, 460, 460, 460, 460, 460, 460, 1284, 460, 460, 460, 1284, 460, 1284, 460, 461, 1284, 461, 1284, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, 1284, 461, 1284, 461, 467, 1284, 467, 1284, 467, 467, 467, 467, 467, 467, 467, 1284, 467, 467, 467, 467, 467, 467, 467, 467, 467, 472, 1284, 472, 1284, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 612, 612, 612, 1284, 612, 612, 612, 612, 612, 612, 612, 612, 612, 612, 612, 612, 612, 612, 612, 1284, 612, 614, 614, 614, 1284, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, 495, 1284, 1284, 495, 1284, 495, 1284, 495, 495, 1284, 495, 1284, 495, 1284, 1284, 1284, 495, 496, 496, 496, 1284, 496, 1284, 496, 496, 496, 496, 496, 1284, 496, 1284, 496, 496, 496, 1284, 496, 1284, 496, 624, 624, 624, 1284, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, 627, 627, 627, 1284, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 627, 521, 521, 521, 1284, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 523, 523, 523, 1284, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, 645, 645, 645, 1284, 645, 645, 645, 645, 645, 645, 645, 645, 645, 645, 645, 645, 645, 645, 645, 1284, 645, 367, 367, 367, 1284, 367, 367, 1284, 367, 1284, 367, 367, 367, 367, 1284, 367, 367, 367, 367, 367, 367, 367, 536, 536, 536, 1284, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 537, 537, 537, 1284, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 539, 539, 539, 1284, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 540, 540, 540, 1284, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 371, 371, 371, 1284, 371, 371, 1284, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, 1284, 371, 380, 380, 380, 1284, 1284, 1284, 1284, 380, 1284, 1284, 1284, 1284, 380, 1284, 1284, 1284, 380, 384, 384, 384, 1284, 1284, 384, 1284, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, 1284, 384, 389, 389, 389, 1284, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 1284, 397, 430, 1284, 430, 1284, 430, 430, 430, 430, 430, 430, 430, 1284, 430, 1284, 430, 430, 430, 1284, 430, 446, 446, 446, 1284, 446, 446, 446, 446, 446, 446, 446, 1284, 446, 446, 446, 446, 446, 446, 446, 446, 446, 689, 689, 689, 1284, 689, 689, 689, 689, 689, 689, 689, 689, 689, 689, 689, 689, 689, 689, 689, 1284, 689, 693, 693, 693, 1284, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, 717, 717, 717, 1284, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, 1284, 717, 755, 755, 755, 1284, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 1284, 755, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 869, 1284, 1284, 1284, 869, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 869, 1284, 1284, 869, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 1284, 915, 915, 915, 1284, 915, 915, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 1284, 924, 924, 924, 1284, 924, 924, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 1284, 935, 935, 935, 1284, 935, 935, 73, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284 } ; static yyconst flex_int16_t yy_chk[6408] = { 0, 0, 1, 160, 1, 1, 2, 0, 2, 2, 0, 3, 160, 3, 3, 78, 87, 96, 1, 78, 87, 96, 2, 89, 89, 89, 1, 3, 142, 142, 2, 166, 89, 89, 110, 3, 238, 122, 110, 129, 102, 122, 154, 129, 101, 241, 101, 102, 102, 113, 139, 113, 238, 166, 139, 141, 141, 141, 150, 1, 154, 241, 150, 2, 141, 167, 167, 1207, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 170, 9, 9, 165, 9, 189, 189, 1189, 9, 10, 170, 10, 10, 165, 10, 9, 155, 165, 10, 11, 156, 11, 11, 9, 11, 10, 12, 158, 12, 12, 175, 12, 179, 10, 155, 11, 159, 179, 156, 399, 157, 988, 12, 11, 175, 158, 158, 157, 11, 399, 12, 157, 169, 169, 159, 12, 9, 200, 157, 185, 195, 169, 200, 185, 195, 204, 10, 212, 222, 204, 230, 212, 222, 235, 230, 979, 11, 235, 236, 236, 169, 267, 267, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 15, 243, 15, 15, 16, 15, 16, 16, 970, 16, 245, 242, 143, 143, 143, 242, 15, 243, 251, 257, 16, 143, 251, 257, 15, 243, 245, 264, 16, 15, 969, 264, 17, 16, 17, 17, 18, 17, 18, 18, 274, 18, 285, 244, 274, 293, 285, 244, 17, 293, 301, 244, 18, 244, 301, 17, 17, 15, 313, 18, 18, 16, 313, 143, 303, 303, 321, 329, 337, 339, 321, 329, 337, 339, 347, 347, 347, 350, 354, 339, 419, 364, 968, 347, 347, 419, 350, 354, 959, 17, 364, 369, 369, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 21, 349, 21, 21, 22, 356, 22, 22, 356, 432, 349, 373, 366, 432, 356, 366, 21, 349, 349, 349, 22, 366, 373, 372, 21, 394, 349, 349, 22, 21, 372, 377, 958, 22, 394, 373, 389, 396, 356, 377, 377, 378, 378, 378, 400, 366, 396, 372, 356, 409, 378, 380, 380, 380, 389, 366, 422, 21, 400, 409, 380, 22, 23, 23, 422, 490, 490, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 29, 957, 29, 29, 30, 30, 30, 30, 956, 31, 30, 31, 31, 404, 404, 32, 29, 32, 32, 33, 30, 33, 33, 955, 29, 31, 423, 428, 30, 954, 404, 32, 428, 31, 34, 33, 34, 34, 423, 32, 383, 383, 383, 33, 37, 391, 37, 37, 457, 383, 34, 536, 391, 415, 944, 417, 37, 29, 34, 392, 37, 30, 38, 391, 38, 38, 31, 415, 37, 417, 392, 457, 32, 459, 38, 536, 33, 392, 38, 497, 465, 43, 465, 43, 43, 468, 38, 497, 383, 459, 468, 34, 35, 505, 35, 35, 457, 43, 506, 506, 498, 37, 505, 560, 35, 43, 43, 539, 35, 507, 43, 44, 498, 44, 44, 603, 35, 35, 507, 38, 603, 35, 560, 47, 943, 47, 47, 44, 407, 407, 45, 539, 45, 45, 538, 44, 44, 407, 43, 47, 44, 48, 45, 48, 48, 538, 45, 47, 35, 35, 36, 534, 36, 36, 45, 546, 407, 48, 538, 534, 534, 541, 36, 546, 546, 48, 36, 556, 44, 547, 547, 547, 552, 553, 36, 36, 554, 581, 547, 36, 47, 556, 580, 552, 599, 541, 655, 45, 624, 624, 552, 553, 580, 581, 554, 559, 559, 559, 48, 942, 599, 673, 673, 673, 655, 941, 36, 36, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 41, 631, 41, 41, 631, 615, 46, 642, 46, 46, 631, 661, 41, 615, 615, 573, 41, 648, 46, 548, 548, 548, 46, 940, 41, 41, 939, 661, 548, 41, 46, 626, 626, 626, 647, 55, 573, 55, 55, 660, 55, 648, 647, 647, 938, 642, 628, 628, 628, 660, 626, 55, 61, 548, 61, 61, 41, 41, 42, 55, 42, 42, 573, 46, 55, 628, 641, 703, 61, 641, 42, 651, 713, 937, 42, 641, 61, 691, 936, 651, 651, 61, 42, 42, 626, 691, 691, 42, 652, 652, 652, 706, 55, 682, 682, 758, 934, 652, 682, 628, 706, 930, 682, 682, 758, 703, 923, 682, 922, 61, 713, 682, 682, 921, 42, 42, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 53, 716, 761, 761, 716, 653, 653, 653, 817, 817, 716, 726, 726, 726, 653, 53, 53, 734, 734, 734, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 56, 805, 56, 56, 57, 56, 57, 57, 653, 721, 721, 721, 828, 57, 920, 919, 56, 805, 721, 62, 57, 62, 62, 58, 56, 58, 58, 734, 57, 56, 768, 918, 58, 57, 917, 62, 722, 722, 722, 58, 735, 735, 735, 62, 916, 722, 914, 58, 62, 737, 737, 737, 58, 753, 753, 753, 828, 56, 762, 913, 771, 57, 773, 824, 694, 694, 694, 762, 768, 771, 912, 773, 824, 1304, 694, 823, 62, 1304, 823, 722, 58, 59, 59, 694, 823, 911, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 63, 909, 63, 63, 905, 63, 895, 894, 694, 63, 63, 63, 779, 779, 779, 65, 63, 65, 65, 829, 65, 779, 829, 893, 63, 63, 892, 66, 829, 66, 66, 65, 66, 695, 695, 695, 696, 696, 696, 65, 697, 697, 697, 66, 65, 763, 763, 763, 891, 890, 774, 66, 695, 862, 774, 696, 66, 63, 64, 697, 64, 64, 862, 64, 763, 889, 888, 64, 64, 64, 774, 887, 65, 886, 64, 784, 784, 784, 793, 793, 793, 826, 64, 64, 66, 826, 695, 884, 896, 696, 795, 795, 795, 697, 812, 812, 812, 896, 763, 883, 882, 826, 830, 830, 830, 845, 845, 845, 875, 875, 875, 830, 881, 880, 879, 64, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 71, 1305, 71, 71, 71, 1305, 878, 1306, 871, 871, 871, 1306, 71, 759, 759, 759, 71, 871, 760, 760, 760, 877, 1320, 759, 71, 71, 1320, 1330, 760, 71, 876, 1330, 759, 764, 764, 764, 874, 760, 873, 1331, 765, 765, 765, 1331, 780, 780, 780, 870, 780, 781, 781, 781, 764, 780, 815, 815, 815, 71, 72, 765, 72, 72, 72, 863, 815, 861, 759, 906, 906, 906, 72, 760, 860, 815, 72, 859, 906, 858, 857, 931, 931, 931, 72, 72, 856, 855, 764, 72, 931, 951, 951, 951, 854, 765, 965, 965, 965, 780, 951, 976, 976, 976, 781, 965, 985, 985, 985, 815, 976, 853, 1332, 852, 851, 985, 1332, 72, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 214, 850, 849, 848, 214, 991, 991, 991, 214, 214, 214, 1334, 1340, 214, 991, 1334, 1340, 214, 214, 1341, 1344, 1359, 214, 1341, 1344, 1359, 214, 214, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 370, 847, 819, 819, 819, 370, 370, 370, 846, 1369, 370, 1370, 370, 1369, 844, 1370, 843, 370, 370, 370, 374, 819, 820, 820, 820, 374, 374, 374, 842, 1371, 374, 1372, 374, 1371, 841, 1372, 840, 374, 374, 374, 387, 820, 933, 933, 933, 387, 387, 387, 839, 1379, 387, 838, 387, 1379, 837, 819, 836, 387, 387, 387, 393, 393, 821, 821, 821, 393, 393, 393, 835, 1382, 393, 834, 393, 1382, 832, 820, 822, 393, 393, 393, 401, 821, 401, 814, 866, 866, 866, 401, 401, 401, 813, 811, 401, 810, 401, 933, 994, 994, 994, 401, 401, 401, 434, 866, 809, 994, 1404, 434, 434, 434, 1404, 808, 434, 807, 434, 821, 806, 804, 803, 434, 434, 434, 435, 435, 435, 435, 802, 435, 801, 800, 799, 435, 435, 798, 797, 796, 435, 866, 792, 791, 435, 435, 449, 790, 867, 867, 867, 449, 449, 449, 789, 788, 449, 787, 449, 786, 816, 816, 816, 449, 449, 449, 453, 867, 785, 783, 816, 453, 453, 453, 782, 778, 453, 777, 453, 816, 868, 868, 868, 453, 453, 453, 464, 776, 775, 769, 464, 767, 901, 901, 901, 464, 464, 464, 766, 868, 464, 867, 464, 997, 997, 997, 757, 464, 464, 464, 471, 901, 997, 816, 756, 471, 471, 471, 755, 754, 471, 752, 471, 1000, 1000, 1000, 751, 471, 471, 471, 475, 750, 1000, 868, 749, 475, 475, 475, 748, 747, 475, 746, 475, 745, 744, 901, 743, 475, 475, 475, 499, 742, 1003, 1003, 1003, 499, 499, 499, 741, 740, 499, 1003, 499, 739, 738, 736, 733, 499, 499, 499, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, 831, 831, 831, 732, 831, 864, 864, 864, 731, 831, 865, 865, 865, 730, 729, 864, 728, 872, 872, 872, 865, 872, 727, 725, 864, 724, 872, 723, 720, 865, 899, 899, 899, 900, 900, 900, 902, 902, 902, 718, 899, 717, 714, 900, 711, 903, 903, 903, 710, 899, 709, 708, 900, 831, 707, 902, 704, 700, 864, 953, 953, 953, 699, 865, 903, 907, 907, 907, 693, 907, 872, 908, 908, 908, 907, 908, 692, 925, 925, 925, 926, 926, 926, 899, 689, 688, 900, 925, 686, 902, 926, 927, 927, 927, 685, 683, 925, 681, 903, 926, 928, 928, 928, 929, 929, 929, 680, 932, 932, 932, 927, 932, 953, 945, 945, 945, 932, 679, 907, 928, 678, 677, 929, 945, 908, 676, 946, 946, 946, 675, 925, 674, 945, 926, 672, 671, 946, 670, 947, 947, 947, 669, 668, 667, 927, 946, 948, 948, 948, 949, 949, 949, 666, 928, 665, 664, 929, 947, 662, 659, 932, 656, 960, 960, 960, 948, 945, 645, 949, 952, 952, 952, 960, 952, 961, 961, 961, 644, 952, 946, 643, 960, 639, 638, 961, 962, 962, 962, 963, 963, 963, 947, 637, 961, 964, 964, 964, 636, 635, 948, 634, 633, 949, 630, 962, 629, 627, 963, 966, 966, 966, 625, 966, 964, 622, 960, 618, 966, 967, 967, 967, 616, 952, 971, 971, 971, 614, 961, 612, 972, 972, 972, 610, 971, 973, 973, 973, 607, 962, 972, 602, 963, 971, 974, 974, 974, 601, 964, 972, 975, 975, 975, 597, 973, 977, 977, 977, 596, 977, 594, 589, 966, 974, 977, 978, 978, 978, 588, 975, 587, 586, 967, 585, 980, 980, 980, 971, 584, 981, 981, 981, 583, 972, 980, 982, 982, 982, 973, 981, 983, 983, 983, 980, 984, 984, 984, 974, 981, 987, 987, 987, 582, 975, 982, 989, 989, 989, 977, 983, 986, 986, 986, 984, 986, 989, 579, 578, 978, 986, 990, 990, 990, 577, 989, 576, 575, 980, 574, 572, 990, 571, 981, 992, 992, 992, 570, 992, 982, 990, 568, 565, 992, 983, 993, 993, 993, 984, 996, 996, 996, 563, 987, 995, 995, 995, 562, 995, 989, 999, 999, 999, 995, 986, 558, 998, 998, 998, 557, 998, 1002, 1002, 1002, 990, 998, 1001, 1001, 1001, 549, 1001, 545, 1004, 1004, 1004, 1001, 1004, 992, 1005, 1005, 1005, 1004, 1006, 1006, 1006, 1007, 1007, 1007, 993, 1007, 544, 1006, 996, 533, 1007, 531, 530, 995, 1008, 1008, 1008, 529, 527, 999, 1009, 1009, 1009, 526, 525, 998, 1011, 1011, 1011, 1009, 1002, 1014, 1014, 1014, 522, 1001, 1010, 1010, 1010, 520, 1010, 1004, 1012, 1012, 1012, 1010, 519, 1005, 1013, 1013, 1013, 1012, 1013, 518, 1007, 517, 516, 1013, 515, 1015, 1015, 1015, 1016, 1016, 1016, 513, 1016, 1008, 1015, 512, 511, 1016, 1017, 1017, 1017, 510, 1018, 1018, 1018, 1011, 1020, 1020, 1020, 509, 1014, 1018, 1019, 1019, 1019, 1010, 1019, 1021, 1021, 1021, 508, 1019, 1023, 1023, 1023, 502, 1021, 1013, 1022, 1022, 1022, 501, 1022, 1024, 1024, 1024, 500, 1022, 1026, 1026, 1026, 1016, 1024, 1025, 1025, 1025, 493, 1025, 1027, 1027, 1027, 1017, 1025, 492, 1028, 1028, 1028, 1027, 1028, 1020, 1029, 1029, 1029, 1028, 491, 1019, 489, 1030, 1030, 1030, 1031, 1031, 1031, 488, 1031, 1023, 1030, 484, 483, 1031, 479, 1022, 1032, 1032, 1032, 1033, 1033, 1033, 1034, 1034, 1034, 1026, 1034, 478, 1033, 474, 1025, 1034, 1035, 1035, 1035, 1036, 1036, 1036, 1038, 1038, 1038, 1028, 473, 470, 1036, 469, 466, 1029, 463, 1037, 1037, 1037, 462, 1037, 1039, 1039, 1039, 1031, 1037, 1041, 1041, 1041, 458, 1039, 1040, 1040, 1040, 456, 1040, 1032, 1042, 1042, 1042, 1040, 455, 1034, 1044, 1044, 1044, 1042, 1043, 1043, 1043, 452, 1043, 1035, 1045, 1045, 1045, 1043, 448, 1038, 1046, 1046, 1046, 1045, 1046, 1047, 1047, 1047, 445, 1046, 1037, 444, 1048, 1048, 1048, 1049, 1049, 1049, 443, 1049, 1041, 1048, 442, 441, 1049, 1040, 1050, 1050, 1050, 1051, 1051, 1051, 1053, 1053, 1053, 440, 439, 1044, 1051, 438, 437, 1043, 1052, 1052, 1052, 436, 1052, 1054, 1054, 1054, 433, 1052, 426, 1046, 421, 420, 1054, 416, 1047, 414, 1055, 1055, 1055, 413, 1055, 1056, 1056, 1056, 1049, 1055, 412, 1057, 1057, 1057, 1058, 1058, 1058, 411, 1058, 1050, 1057, 410, 408, 1058, 403, 1053, 1059, 1059, 1059, 1060, 1060, 1060, 1061, 1061, 1061, 1052, 1061, 397, 1060, 386, 385, 1061, 1062, 1062, 1062, 1063, 1063, 1063, 1064, 1064, 1064, 382, 1064, 1055, 1063, 376, 368, 1064, 1056, 1065, 1065, 1065, 1066, 1066, 1066, 365, 362, 1058, 1067, 1067, 1067, 1066, 1067, 1068, 1068, 1068, 361, 1067, 360, 1059, 1069, 1069, 1069, 359, 358, 1061, 1071, 1071, 1071, 1069, 1070, 1070, 1070, 357, 1070, 1062, 1072, 1072, 1072, 1070, 355, 1064, 1073, 1073, 1073, 1072, 1073, 1074, 1074, 1074, 353, 1073, 1065, 1075, 1075, 1075, 1076, 1076, 1076, 352, 1076, 1067, 1075, 342, 341, 1076, 1068, 1077, 1077, 1077, 338, 1078, 1078, 1078, 1080, 1080, 1080, 330, 322, 1071, 1078, 314, 310, 1070, 1079, 1079, 1079, 302, 1079, 1081, 1081, 1081, 294, 1079, 286, 1073, 277, 275, 1081, 268, 1074, 1082, 1082, 1082, 265, 1082, 1083, 1083, 1083, 1076, 1082, 258, 1084, 1084, 1084, 1085, 1085, 1085, 252, 1085, 1077, 1084, 250, 237, 1085, 234, 231, 1080, 1086, 1086, 1086, 1087, 1087, 1087, 1088, 1088, 1088, 1079, 1088, 229, 1087, 223, 221, 1088, 1089, 1089, 1089, 1090, 1090, 1090, 215, 1091, 1091, 1091, 1082, 1091, 1090, 213, 211, 1083, 1091, 1092, 1092, 1092, 1093, 1093, 1093, 205, 1085, 196, 1094, 1094, 1094, 1093, 1094, 1095, 1095, 1095, 186, 1094, 183, 1086, 1096, 1096, 1096, 176, 174, 1088, 1098, 1098, 1098, 1096, 1097, 1097, 1097, 173, 1097, 1089, 1099, 1099, 1099, 1097, 172, 171, 1091, 168, 164, 1099, 1100, 1100, 1100, 162, 1100, 161, 1092, 151, 140, 1100, 1101, 1101, 1101, 138, 130, 1094, 1102, 1102, 1102, 123, 1095, 121, 1103, 1103, 1103, 1102, 1103, 1104, 1104, 1104, 114, 1103, 111, 1098, 1105, 1105, 1105, 1097, 1106, 1106, 1106, 104, 1106, 1105, 1107, 1107, 1107, 1106, 1108, 1108, 1108, 103, 100, 1100, 1110, 1110, 1110, 1108, 1109, 1109, 1109, 99, 1109, 1101, 1111, 1111, 1111, 1109, 1112, 1112, 1112, 97, 1112, 1111, 88, 1103, 79, 1112, 73, 0, 1104, 1113, 1113, 1113, 1114, 1114, 1114, 1116, 1116, 1116, 0, 1106, 0, 1114, 1115, 1115, 1115, 1107, 1115, 1117, 1117, 1117, 0, 1115, 1119, 1119, 1119, 1110, 1117, 0, 0, 1109, 0, 1118, 1118, 1118, 0, 1118, 1120, 1120, 1120, 1112, 1118, 0, 1121, 1121, 1121, 1120, 1121, 1122, 1122, 1122, 0, 1121, 1113, 1123, 1123, 1123, 0, 0, 1116, 1124, 1124, 1124, 1123, 1124, 0, 1115, 0, 0, 1124, 1125, 1125, 1125, 1126, 1126, 1126, 1119, 1127, 1127, 1127, 0, 1127, 1126, 0, 0, 1118, 1127, 1128, 1128, 1128, 1129, 1129, 1129, 1130, 1130, 1130, 1121, 1130, 0, 1129, 0, 1122, 1130, 1131, 1131, 1131, 1132, 1132, 1132, 0, 1133, 1133, 1133, 1124, 1133, 1132, 1134, 1134, 1134, 1133, 1135, 1135, 1135, 1125, 1136, 1136, 1136, 0, 1136, 1135, 1127, 0, 0, 1136, 1137, 1137, 1137, 1140, 1140, 1140, 1128, 1138, 1138, 1138, 0, 0, 1130, 1143, 1143, 1143, 1138, 1139, 1139, 1139, 0, 1139, 1131, 1141, 1141, 1141, 1139, 0, 0, 1133, 0, 0, 1141, 0, 0, 1134, 1142, 1142, 1142, 0, 1142, 0, 0, 1136, 0, 1142, 1144, 1144, 1144, 0, 1145, 1145, 1145, 1137, 1145, 1144, 1140, 0, 0, 1145, 1146, 1146, 1146, 1147, 1147, 1147, 1143, 1148, 1148, 1148, 1139, 1148, 1147, 1149, 1149, 1149, 1148, 1150, 1150, 1150, 0, 1151, 1151, 1151, 0, 1151, 1150, 0, 0, 1142, 1151, 1152, 1152, 1152, 0, 1153, 1153, 1153, 1154, 1154, 1154, 0, 1154, 1145, 1153, 0, 0, 1154, 1155, 1155, 1155, 0, 0, 1146, 1156, 1156, 1156, 1158, 1158, 1158, 1148, 0, 0, 1156, 0, 0, 1149, 1157, 1157, 1157, 0, 1157, 0, 0, 1151, 0, 1157, 1159, 1159, 1159, 0, 1160, 1160, 1160, 1152, 1160, 1159, 1161, 1161, 1161, 1160, 1154, 0, 1162, 1162, 1162, 1163, 1163, 1163, 0, 1163, 1155, 1162, 0, 0, 1163, 1164, 1164, 1164, 0, 1158, 0, 1165, 1165, 1165, 1166, 1166, 1166, 0, 1166, 1157, 1165, 0, 0, 1166, 1167, 1167, 1167, 1168, 1168, 1168, 1170, 1170, 1170, 1160, 0, 0, 1168, 0, 0, 1161, 1169, 1169, 1169, 0, 1169, 1171, 1171, 1171, 1163, 1169, 0, 1172, 1172, 1172, 1171, 1172, 0, 0, 1164, 0, 1172, 1173, 1173, 1173, 1174, 1174, 1174, 1166, 0, 0, 1175, 1175, 1175, 1174, 1175, 0, 0, 1167, 0, 1175, 1176, 1176, 1176, 1170, 0, 1177, 1177, 1177, 1178, 1178, 1178, 0, 1178, 1169, 1177, 0, 0, 1178, 1179, 1179, 1179, 1180, 1180, 1180, 1172, 0, 0, 1181, 1181, 1181, 1180, 1181, 0, 0, 1173, 0, 1181, 1182, 1182, 1182, 1183, 1183, 1183, 1175, 0, 0, 1184, 1184, 1184, 1183, 1184, 0, 0, 1176, 0, 1184, 1185, 1185, 1185, 0, 0, 1178, 0, 1186, 1186, 1186, 1187, 1187, 1187, 0, 1187, 1179, 1186, 0, 0, 1187, 1188, 1188, 1188, 0, 1181, 0, 1190, 1190, 1190, 0, 1190, 1191, 1191, 1191, 1182, 1190, 1192, 1192, 1192, 0, 1192, 0, 0, 1184, 0, 1192, 1193, 1193, 1193, 0, 1194, 1194, 1194, 1185, 1194, 1195, 1195, 1195, 0, 1194, 1196, 1196, 1196, 1187, 1196, 1197, 1197, 1197, 0, 1196, 1199, 1199, 1199, 1188, 1198, 1198, 1198, 0, 1198, 1190, 1201, 1201, 1201, 1198, 1191, 0, 1200, 1200, 1200, 1192, 1200, 1202, 1202, 1202, 0, 1200, 1203, 1203, 1203, 1193, 1204, 1204, 1204, 1194, 1205, 1205, 1205, 0, 1195, 1206, 1206, 1206, 0, 1196, 1208, 1208, 1208, 0, 1197, 1209, 1209, 1209, 0, 1199, 1210, 1210, 1210, 1198, 1211, 1211, 1211, 0, 0, 1201, 1212, 1212, 1212, 0, 0, 1200, 1213, 1213, 1213, 0, 1202, 1214, 1214, 1214, 0, 1203, 1215, 1215, 1215, 1204, 1216, 1216, 1216, 1205, 1217, 1217, 1217, 0, 1206, 1218, 1218, 1218, 0, 1208, 1219, 1219, 1219, 0, 1209, 1220, 1220, 1220, 0, 1210, 1221, 1221, 1221, 1211, 1222, 1222, 1222, 0, 0, 1212, 1223, 1223, 1223, 0, 0, 1213, 1224, 1224, 1224, 0, 1214, 1225, 1225, 1225, 0, 1215, 1226, 1226, 1226, 1216, 1227, 1227, 1227, 1217, 1228, 1228, 1228, 0, 1218, 1229, 1229, 1229, 0, 1219, 1230, 1230, 1230, 0, 1220, 1231, 1231, 1231, 0, 1221, 1232, 1232, 1232, 1222, 1233, 1233, 1233, 0, 0, 1223, 1234, 1234, 1234, 0, 0, 1224, 1235, 1235, 1235, 0, 1225, 1236, 1236, 1236, 0, 1226, 1237, 1237, 1237, 1227, 1238, 1238, 1238, 1228, 1239, 1239, 1239, 0, 1229, 1240, 1240, 1240, 0, 1230, 1241, 1241, 1241, 0, 1231, 1242, 1242, 1242, 0, 1232, 1243, 1243, 1243, 1233, 1244, 1244, 1244, 0, 0, 1234, 1245, 1245, 1245, 0, 0, 1235, 1246, 1246, 1246, 0, 1236, 1247, 1247, 1247, 0, 1237, 1248, 1248, 1248, 1238, 1249, 1249, 1249, 1239, 1250, 1250, 1250, 0, 1240, 1251, 1251, 1251, 0, 1241, 1252, 1252, 1252, 0, 1242, 1253, 1253, 1253, 0, 1243, 1254, 1254, 1254, 1244, 1255, 1255, 1255, 0, 0, 1245, 1256, 1256, 1256, 0, 0, 1246, 1257, 1257, 1257, 0, 1247, 1258, 1258, 1258, 0, 1248, 1259, 1259, 1259, 1249, 1260, 1260, 1260, 1250, 1261, 1261, 1261, 0, 1251, 1262, 1262, 1262, 0, 1252, 1263, 1263, 1263, 0, 1253, 1264, 1264, 1264, 0, 1254, 1265, 1265, 1265, 1255, 1266, 1266, 1266, 0, 0, 1256, 1267, 1267, 1267, 0, 0, 1257, 1268, 1268, 1268, 0, 1258, 1269, 1269, 1269, 0, 1259, 1270, 1270, 1270, 1260, 1271, 1271, 1271, 1261, 1272, 1272, 1272, 0, 1262, 1273, 1273, 1273, 0, 1263, 1274, 1274, 1274, 0, 1264, 1275, 1275, 1275, 0, 1265, 1276, 1276, 1276, 1266, 1277, 1277, 1277, 0, 0, 1267, 1278, 1278, 1278, 0, 0, 1268, 1279, 1279, 1279, 0, 1269, 1280, 1280, 1280, 0, 1270, 1281, 1281, 1281, 1271, 1282, 1282, 1282, 1272, 1283, 1283, 1283, 0, 1273, 0, 0, 0, 0, 1274, 0, 0, 0, 0, 1275, 0, 0, 0, 0, 1276, 0, 0, 0, 1277, 0, 0, 0, 0, 0, 1278, 0, 0, 0, 0, 0, 1279, 0, 0, 0, 0, 1280, 0, 0, 0, 0, 1281, 0, 0, 0, 1282, 0, 0, 0, 1283, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1286, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1290, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1292, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1293, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1295, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1296, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1297, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1298, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1299, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1301, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1307, 1307, 1307, 0, 1307, 1307, 0, 1307, 0, 1307, 1307, 1307, 1307, 0, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1308, 1308, 1308, 0, 1308, 1308, 1308, 1308, 0, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1309, 1309, 1309, 0, 1309, 1309, 0, 1309, 1309, 1309, 1309, 1309, 1309, 1309, 1309, 1309, 1309, 1309, 1309, 0, 1309, 1310, 1310, 1310, 0, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1310, 1311, 1311, 1311, 0, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1311, 1312, 1312, 1312, 0, 0, 0, 0, 1312, 0, 0, 0, 0, 1312, 0, 0, 0, 1312, 1313, 1313, 1313, 0, 0, 1313, 0, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 0, 1313, 1314, 1314, 1314, 0, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1315, 1315, 1315, 0, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1316, 0, 0, 0, 0, 0, 0, 1316, 0, 0, 0, 0, 1316, 0, 0, 0, 1316, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 1317, 0, 1317, 1318, 1318, 0, 0, 0, 0, 0, 1318, 0, 0, 0, 0, 1318, 0, 0, 0, 1318, 1318, 1319, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1319, 0, 1319, 0, 0, 0, 1319, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1322, 0, 1322, 0, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 0, 1322, 0, 1322, 1322, 1322, 0, 1322, 1323, 1323, 1323, 0, 1323, 1323, 1323, 1323, 1323, 1323, 1323, 0, 1323, 1323, 1323, 1323, 1323, 1323, 1323, 1323, 1323, 1324, 1324, 1324, 0, 1324, 1324, 1324, 1324, 1324, 1324, 1324, 0, 1324, 1324, 1324, 1324, 1324, 1324, 0, 1324, 1324, 1325, 1325, 1325, 0, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 0, 1325, 0, 1325, 1326, 1326, 1326, 0, 1326, 1326, 1326, 1326, 1326, 1326, 1326, 1326, 1326, 0, 1326, 1326, 1326, 0, 1326, 0, 1326, 1327, 0, 1327, 0, 1327, 1327, 1327, 1327, 1327, 1327, 1327, 1327, 1327, 1327, 1327, 1327, 1327, 0, 1327, 0, 1327, 1328, 0, 1328, 0, 1328, 1328, 1328, 1328, 1328, 1328, 1328, 0, 1328, 1328, 1328, 1328, 1328, 1328, 1328, 1328, 1328, 1329, 0, 1329, 0, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1333, 1333, 1333, 0, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1333, 1335, 1335, 1335, 0, 1335, 1335, 1335, 1335, 0, 1335, 1335, 1335, 1335, 1335, 1335, 1335, 1335, 1335, 1335, 1335, 1335, 1336, 1336, 1336, 0, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1336, 1337, 0, 0, 1337, 0, 1337, 0, 1337, 1337, 0, 1337, 0, 1337, 0, 0, 0, 1337, 1338, 1338, 1338, 0, 1338, 0, 1338, 1338, 1338, 1338, 1338, 0, 1338, 0, 1338, 1338, 1338, 0, 1338, 0, 1338, 1339, 0, 0, 1339, 1339, 1339, 0, 0, 1339, 0, 1339, 1339, 1342, 1342, 1342, 0, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1343, 1343, 1343, 0, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1345, 1345, 1345, 0, 1345, 1345, 0, 1345, 0, 1345, 1345, 1345, 1345, 0, 1345, 1345, 1345, 1345, 1345, 1345, 1345, 1346, 1346, 1346, 0, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 0, 1346, 1347, 1347, 1347, 0, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1348, 1348, 1348, 0, 1348, 1348, 0, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 0, 1348, 1349, 1349, 1349, 0, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1349, 1350, 1350, 1350, 0, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1351, 1351, 1351, 0, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1351, 1352, 1352, 1352, 0, 0, 0, 0, 1352, 0, 0, 0, 0, 1352, 0, 0, 0, 1352, 1353, 1353, 1353, 0, 0, 1353, 0, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 1353, 0, 1353, 1354, 1354, 1354, 0, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1355, 0, 0, 0, 0, 0, 0, 1355, 0, 0, 0, 0, 1355, 0, 0, 0, 1355, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 1356, 0, 1356, 1357, 1357, 0, 0, 0, 0, 0, 1357, 0, 0, 0, 0, 1357, 0, 0, 0, 1357, 1357, 1358, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1358, 0, 1358, 0, 0, 0, 1358, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1361, 0, 1361, 0, 1361, 1361, 1361, 1361, 1361, 1361, 1361, 0, 1361, 0, 1361, 1361, 1361, 0, 1361, 1362, 1362, 1362, 0, 1362, 1362, 1362, 1362, 1362, 1362, 1362, 0, 1362, 1362, 1362, 1362, 1362, 1362, 1362, 1362, 1362, 1363, 1363, 1363, 0, 1363, 1363, 1363, 1363, 1363, 1363, 1363, 0, 1363, 1363, 1363, 1363, 1363, 1363, 0, 1363, 1363, 1364, 1364, 1364, 0, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 0, 1364, 0, 1364, 1365, 1365, 1365, 0, 1365, 1365, 1365, 1365, 1365, 1365, 1365, 1365, 1365, 0, 1365, 1365, 1365, 0, 1365, 0, 1365, 1366, 0, 1366, 0, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 1366, 0, 1366, 0, 1366, 1367, 0, 1367, 0, 1367, 1367, 1367, 1367, 1367, 1367, 1367, 0, 1367, 1367, 1367, 1367, 1367, 1367, 1367, 1367, 1367, 1368, 0, 1368, 0, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1368, 1373, 1373, 1373, 0, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 0, 1373, 1374, 1374, 1374, 0, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1375, 0, 0, 1375, 0, 1375, 0, 1375, 1375, 0, 1375, 0, 1375, 0, 0, 0, 1375, 1376, 1376, 1376, 0, 1376, 0, 1376, 1376, 1376, 1376, 1376, 0, 1376, 0, 1376, 1376, 1376, 0, 1376, 0, 1376, 1377, 1377, 1377, 0, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1377, 1378, 1378, 1378, 0, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1378, 1380, 1380, 1380, 0, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1380, 1381, 1381, 1381, 0, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1381, 1383, 1383, 1383, 0, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 1383, 0, 1383, 1384, 1384, 1384, 0, 1384, 1384, 0, 1384, 0, 1384, 1384, 1384, 1384, 0, 1384, 1384, 1384, 1384, 1384, 1384, 1384, 1385, 1385, 1385, 0, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1386, 1386, 1386, 0, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1387, 1387, 1387, 0, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1387, 1388, 1388, 1388, 0, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1389, 1389, 1389, 0, 1389, 1389, 0, 1389, 1389, 1389, 1389, 1389, 1389, 1389, 1389, 1389, 1389, 1389, 1389, 0, 1389, 1390, 1390, 1390, 0, 0, 0, 0, 1390, 0, 0, 0, 0, 1390, 0, 0, 0, 1390, 1391, 1391, 1391, 0, 0, 1391, 0, 1391, 1391, 1391, 1391, 1391, 1391, 1391, 1391, 1391, 1391, 1391, 1391, 0, 1391, 1392, 1392, 1392, 0, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1392, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 1393, 0, 1393, 1394, 0, 1394, 0, 1394, 1394, 1394, 1394, 1394, 1394, 1394, 0, 1394, 0, 1394, 1394, 1394, 0, 1394, 1395, 1395, 1395, 0, 1395, 1395, 1395, 1395, 1395, 1395, 1395, 0, 1395, 1395, 1395, 1395, 1395, 1395, 1395, 1395, 1395, 1396, 1396, 1396, 0, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 1396, 0, 1396, 1397, 1397, 1397, 0, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1397, 1398, 1398, 1398, 0, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 1398, 0, 1398, 1399, 1399, 1399, 0, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 1399, 0, 1399, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1401, 1402, 0, 0, 0, 1402, 0, 0, 0, 0, 0, 0, 0, 0, 1402, 0, 0, 1402, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1403, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 1405, 0, 1405, 1405, 1405, 0, 1405, 1405, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 1406, 0, 1406, 1406, 1406, 0, 1406, 1406, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 1407, 0, 1407, 1407, 1407, 0, 1407, 1407, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284 } ; extern int preYY_flex_debug; int preYY_flex_debug = 0; static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; static char *yy_full_match; static int yy_lp; static int yy_looking_for_trail_begin = 0; static int yy_full_lp; static int *yy_full_state; #define YY_TRAILING_MASK 0x2000 #define YY_TRAILING_HEAD_MASK 0x4000 #define REJECT \ { \ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ \ yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ (yy_lp) = (yy_full_lp); /* restore orig. accepting pos. */ \ (yy_state_ptr) = (yy_full_state); /* restore orig. state */ \ yy_current_state = *(yy_state_ptr); /* restore curr. state */ \ ++(yy_lp); \ goto find_rule; \ } #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *preYYtext; #line 1 "pre.l" /****************************************************************************** * * * * Copyright (C) 1997-2013 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * */ #line 19 "pre.l" /* * includes */ #include #include #include #include #include #include #include #include #include #include #include #include #include "pre.h" #include "constexp.h" #include "define.h" #include "doxygen.h" #include "message.h" #include "util.h" #include "defargs.h" #include "debug.h" #include "bufstr.h" #include "portable.h" #include "bufstr.h" #include "arguments.h" #include "entry.h" #include "condparser.h" #include "config.h" #include "filedef.h" #include "memberdef.h" #include "membername.h" // Toggle for some debugging info //#define DBG_CTX(x) fprintf x #define DBG_CTX(x) do { } while(0) #define YY_NEVER_INTERACTIVE 1 struct CondCtx { CondCtx(int line,QCString id,bool b) : lineNr(line),sectionId(id), skip(b) {} int lineNr; QCString sectionId; bool skip; }; struct FileState { FileState(int size) : fileBuf(size), oldFileBuf(0), oldFileBufPos(0) {} int lineNr; BufStr fileBuf; BufStr *oldFileBuf; int oldFileBufPos; YY_BUFFER_STATE bufState; QCString fileName; }; /** @brief Singleton that manages the defines available while * proprocessing files. */ class DefineManager { /** Local class used to hold the defines for a single file */ class DefinesPerFile { public: /** Creates an empty container for defines */ DefinesPerFile() : m_defines(257), m_includedFiles(17) { m_defines.setAutoDelete(TRUE); } /** Destroys the object */ virtual ~DefinesPerFile() { } /** Adds a define in the context of a file. Will replace * an existing define with the same name (redefinition) * @param def The Define object to add. */ void addDefine(Define *def) { Define *d = m_defines.find(def->name); if (d!=0) // redefine { m_defines.remove(d->name); } m_defines.insert(def->name,def); } /** Adds an include file for this file * @param fileName The name of the include file */ void addInclude(const char *fileName) { m_includedFiles.insert(fileName,(void*)0x8); } void collectDefines(DefineDict *dict,QDict &includeStack); private: DefineDict m_defines; QDict m_includedFiles; }; public: friend class DefinesPerFile; /** Returns a reference to the singleton */ static DefineManager &instance() { if (theInstance==0) theInstance = new DefineManager; return *theInstance; } /** Deletes the singleton */ static void deleteInstance() { delete theInstance; theInstance = 0; } /** Starts a context in which defines are collected. * Called at the start of a new file that is preprocessed. * @param fileName the name of the file to process. */ void startContext(const char *fileName) { //printf("DefineManager::startContext()\n"); m_contextDefines.clear(); if (fileName==0) return; DefinesPerFile *dpf = m_fileMap.find(fileName); if (dpf==0) { //printf("New file!\n"); dpf = new DefinesPerFile; m_fileMap.insert(fileName,dpf); } } /** Ends the context started with startContext() freeing any * defines collected within in this context. */ void endContext() { //printf("DefineManager::endContext()\n"); m_contextDefines.clear(); } /** Add an included file to the current context. * If the file has been pre-processed already, all defines are added * to the context. * @param fileName The name of the include file to add to the context. */ void addFileToContext(const char *fileName) { if (fileName==0) return; //printf("DefineManager::addFileToContext(%s)\n",fileName); DefinesPerFile *dpf = m_fileMap.find(fileName); if (dpf==0) { //printf("New file!\n"); dpf = new DefinesPerFile; m_fileMap.insert(fileName,dpf); } else { //printf("existing file!\n"); QDict includeStack(17); dpf->collectDefines(&m_contextDefines,includeStack); } } /** Add a define to the manager object. * @param fileName The file in which the define was found * @param def The Define object to add. */ void addDefine(const char *fileName,Define *def) { if (fileName==0) return; //printf("DefineManager::addDefine(%s,%s)\n",fileName,def->name.data()); Define *d = m_contextDefines.find(def->name); if (d!=0) // redefine { m_contextDefines.remove(d->name); } m_contextDefines.insert(def->name,def); DefinesPerFile *dpf = m_fileMap.find(fileName); if (dpf==0) { dpf = new DefinesPerFile; } dpf->addDefine(def); } /** Add an include relation to the manager object. * @param fromFileName file name in which the include was found. * @param toFileName file name that is included. */ void addInclude(const char *fromFileName,const char *toFileName) { //printf("DefineManager::addInclude(%s,%s)\n",fromFileName,toFileName); if (fromFileName==0 || toFileName==0) return; DefinesPerFile *dpf = m_fileMap.find(fromFileName); if (dpf==0) { dpf = new DefinesPerFile; } dpf->addInclude(toFileName); } /** Returns a Define object given its name or 0 if the Define does * not exist. */ Define *isDefined(const char *name) const { Define *d = m_contextDefines.find(name); if (d && d->undef) d=0; //printf("isDefined(%s)=%p\n",name,d); return d; } /** Returns a reference to the defines found in the current context. */ const DefineDict &defineContext() const { return m_contextDefines; } private: static DefineManager *theInstance; /** Helper function to collect all define for a given file */ void collectDefinesForFile(const char *fileName,DefineDict *dict) { if (fileName==0) return; DefinesPerFile *dpf = m_fileMap.find(fileName); if (dpf) { QDict includeStack(17); dpf->collectDefines(dict,includeStack); } } /** Helper function to return the DefinesPerFile object for a given file name. */ DefinesPerFile *find(const char *fileName) const { if (fileName==0) return 0; return m_fileMap.find(fileName); } /** Creates a new DefineManager object */ DefineManager() : m_fileMap(1009), m_contextDefines(1009) { m_fileMap.setAutoDelete(TRUE); } /** Destroys the object */ virtual ~DefineManager() { } QDict m_fileMap; DefineDict m_contextDefines; }; /** Singleton instance */ DefineManager *DefineManager::theInstance = 0; /** Collects all defines for a file and all files that the file includes. * This function will recursively call itself for each file. * @param dict The dictionary to fill with the defines. A redefine will * replace a previous definition. * @param includeStack The stack of includes, used to stop recursion in * case there is a cyclic include dependency. */ void DefineManager::DefinesPerFile::collectDefines( DefineDict *dict,QDict &includeStack) { //printf("DefinesPerFile::collectDefines #defines=%d\n",m_defines.count()); { QDictIterator di(m_includedFiles); for (di.toFirst();(di.current());++di) { QCString incFile = di.currentKey(); DefinesPerFile *dpf = DefineManager::instance().find(incFile); if (dpf && includeStack.find(incFile)==0) { //printf(" processing include %s\n",incFile.data()); includeStack.insert(incFile,(void*)0x8); dpf->collectDefines(dict,includeStack); } } } { QDictIterator di(m_defines); Define *def; for (di.toFirst();(def=di.current());++di) { Define *d = dict->find(def->name); if (d!=0) // redefine { dict->remove(d->name); } dict->insert(def->name,def); //printf(" adding define %s\n",def->name.data()); } } } /* ----------------------------------------------------------------- * * scanner's state */ static int g_yyLineNr = 1; static int g_yyMLines = 1; static int g_yyColNr = 1; static QCString g_yyFileName; static FileDef *g_yyFileDef; static FileDef *g_inputFileDef; static int g_ifcount = 0; static QStrList *g_pathList = 0; static QStack g_includeStack; static QDict *g_argDict; static int g_defArgs = -1; static QCString g_defName; static QCString g_defText; static QCString g_defLitText; static QCString g_defArgsStr; static QCString g_defExtraSpacing; static bool g_defVarArgs; static int g_level; static int g_lastCContext; static int g_lastCPPContext; static QArray g_levelGuard; static BufStr *g_inputBuf; static int g_inputBufPos; static BufStr *g_outputBuf; static int g_roundCount; static bool g_quoteArg; static DefineDict *g_expandedDict; static int g_findDefArgContext; static bool g_expectGuard; static QCString g_guardName; static QCString g_lastGuardName; static QCString g_incName; static QCString g_guardExpr; static int g_curlyCount; static bool g_nospaces; // add extra spaces during macro expansion static bool g_macroExpansion; // from the configuration static bool g_expandOnlyPredef; // from the configuration static int g_commentCount; static bool g_insideComment; static bool g_isImported; static QCString g_blockName; static int g_condCtx; static bool g_skip; static QStack g_condStack; static bool g_insideCS; // C# has simpler preprocessor static bool g_isSource; static bool g_lexInit = FALSE; static int g_fenceSize = 0; static bool g_ccomment; //DefineDict* getGlobalDefineDict() //{ // return g_globalDefineDict; //} static void setFileName(const char *name) { bool ambig; QFileInfo fi(name); g_yyFileName=fi.absFilePath().utf8(); g_yyFileDef=findFileDef(Doxygen::inputNameDict,g_yyFileName,ambig); if (g_yyFileDef==0) // if this is not an input file check if it is an // include file { g_yyFileDef=findFileDef(Doxygen::includeNameDict,g_yyFileName,ambig); } //printf("setFileName(%s) g_yyFileName=%s g_yyFileDef=%p\n", // name,g_yyFileName.data(),g_yyFileDef); if (g_yyFileDef && g_yyFileDef->isReference()) g_yyFileDef=0; g_insideCS = getLanguageFromFileName(g_yyFileName)==SrcLangExt_CSharp; g_isSource = guessSection(g_yyFileName); } static void incrLevel() { g_level++; g_levelGuard.resize(g_level); g_levelGuard[g_level-1]=FALSE; //printf("%s line %d: incrLevel %d\n",g_yyFileName.data(),g_yyLineNr,g_level); } static void decrLevel() { //printf("%s line %d: decrLevel %d\n",g_yyFileName.data(),g_yyLineNr,g_level); if (g_level > 0) { g_level--; g_levelGuard.resize(g_level); } else { warn(g_yyFileName,g_yyLineNr,"More #endif's than #if's found.\n"); } } static bool otherCaseDone() { if (g_level==0) { warn(g_yyFileName,g_yyLineNr,"Found an #else without a preceding #if.\n"); return TRUE; } else { return g_levelGuard[g_level-1]; } } static void setCaseDone(bool value) { g_levelGuard[g_level-1]=value; } static QDict g_allIncludes(10009); static FileState *checkAndOpenFile(const QCString &fileName,bool &alreadyIncluded) { alreadyIncluded = FALSE; FileState *fs = 0; //printf("checkAndOpenFile(%s)\n",fileName.data()); QFileInfo fi(fileName); if (fi.exists() && fi.isFile()) { static QStrList &exclPatterns = Config_getList("EXCLUDE_PATTERNS"); if (patternMatch(fi,&exclPatterns)) return 0; QCString absName = fi.absFilePath().utf8(); // global guard if (g_curlyCount==0) // not #include inside { ... } { if (g_allIncludes.find(absName)!=0) { alreadyIncluded = TRUE; //printf(" already included 1\n"); return 0; // already done } g_allIncludes.insert(absName,(void *)0x8); } // check include stack for absName QStack tmpStack; g_includeStack.setAutoDelete(FALSE); while ((fs=g_includeStack.pop())) { if (fs->fileName==absName) alreadyIncluded=TRUE; tmpStack.push(fs); } while ((fs=tmpStack.pop())) { g_includeStack.push(fs); } g_includeStack.setAutoDelete(TRUE); if (alreadyIncluded) { //printf(" already included 2\n"); return 0; } //printf("#include %s\n",absName.data()); fs = new FileState(fi.size()+4096); alreadyIncluded = FALSE; if (!readInputFile(absName,fs->fileBuf)) { // error //printf(" error reading\n"); delete fs; fs=0; } else { fs->oldFileBuf = g_inputBuf; fs->oldFileBufPos = g_inputBufPos; } } return fs; } static FileState *findFile(const char *fileName,bool localInclude,bool &alreadyIncluded) { //printf("** findFile(%s,%d) g_yyFileName=%s\n",fileName,localInclude,g_yyFileName.data()); if (portable_isAbsolutePath(fileName)) { FileState *fs = checkAndOpenFile(fileName,alreadyIncluded); if (fs) { setFileName(fileName); g_yyLineNr=1; return fs; } else if (alreadyIncluded) { return 0; } } if (localInclude && !g_yyFileName.isEmpty()) { QFileInfo fi(g_yyFileName); if (fi.exists()) { QCString absName = QCString(fi.dirPath(TRUE).data())+"/"+fileName; FileState *fs = checkAndOpenFile(absName,alreadyIncluded); if (fs) { setFileName(absName); g_yyLineNr=1; return fs; } else if (alreadyIncluded) { return 0; } } } if (g_pathList==0) { return 0; } char *s=g_pathList->first(); while (s) { QCString absName = (QCString)s+"/"+fileName; //printf(" Looking for %s in %s\n",fileName,s); FileState *fs = checkAndOpenFile(absName,alreadyIncluded); if (fs) { setFileName(absName); g_yyLineNr=1; //printf(" -> found it\n"); return fs; } else if (alreadyIncluded) { return 0; } s=g_pathList->next(); } return 0; } static QCString extractTrailingComment(const char *s) { if (s==0) return ""; int i=strlen(s)-1; while (i>=0) { char c=s[i]; switch (c) { case '/': { i--; if (i>=0 && s[i]=='*') // end of a comment block { i--; while (i>0 && !(s[i-1]=='/' && s[i]=='*')) i--; if (i==0) { i++; } // only /*!< or /**< are treated as a comment for the macro name, // otherwise the comment is treated as part of the macro definition return ((s[i+1]=='*' || s[i+1]=='!') && s[i+2]=='<') ? &s[i-1] : ""; } else { return ""; } } break; // whitespace or line-continuation case ' ': case '\t': case '\r': case '\n': case '\\': break; default: return ""; } i--; } return ""; } static int getNextChar(const QCString &expr,QCString *rest,uint &pos); static int getCurrentChar(const QCString &expr,QCString *rest,uint pos); static void unputChar(const QCString &expr,QCString *rest,uint &pos,char c); static void expandExpression(QCString &expr,QCString *rest,int pos); static QCString stringize(const QCString &s) { QCString result; uint i=0; bool inString=FALSE; bool inChar=FALSE; char c,pc; while (i`%s'\n",s.data(),result.data()); return result; } /*! Execute all ## operators in expr. * If the macro name before or after the operator contains a no-rescan * marker (@-) then this is removed (before the concatenated macro name * may be expanded again. */ static void processConcatOperators(QCString &expr) { //printf("processConcatOperators: in=`%s'\n",expr.data()); QRegExp r("[ \\t\\n]*##[ \\t\\n]*"); int l,n,i=0; if (expr.isEmpty()) return; while ((n=r.match(expr,i,&l))!=-1) { //printf("Match: `%s'\n",expr.data()+i); if (n+l+1<(int)expr.length() && expr.at(n+l)=='@' && expr.at(n+l+1)=='-') { // remove no-rescan marker after ID l+=2; } //printf("found `%s'\n",expr.mid(n,l).data()); // remove the ## operator and the surrounding whitespace expr=expr.left(n)+expr.right(expr.length()-n-l); int k=n-1; while (k>=0 && isId(expr.at(k))) k--; if (k>0 && expr.at(k)=='-' && expr.at(k-1)=='@') { // remove no-rescan marker before ID expr=expr.left(k-1)+expr.right(expr.length()-k-1); n-=2; } i=n; } //printf("processConcatOperators: out=`%s'\n",expr.data()); } static void yyunput (int c,char *buf_ptr ); static void returnCharToStream(char c) { unput(c); } static inline void addTillEndOfString(const QCString &expr,QCString *rest, uint &pos,char term,QCString &arg) { int cc; while ((cc=getNextChar(expr,rest,pos))!=EOF && cc!=0) { if (cc=='\\') arg+=(char)cc,cc=getNextChar(expr,rest,pos); else if (cc==term) return; arg+=(char)cc; } } /*! replaces the function macro \a def whose argument list starts at * \a pos in expression \a expr. * Notice that this routine may scan beyond the \a expr string if needed. * In that case the characters will be read from the input file. * The replacement string will be returned in \a result and the * length of the (unexpanded) argument list is stored in \a len. */ static bool replaceFunctionMacro(const QCString &expr,QCString *rest,int pos,int &len,const Define *def,QCString &result) { //printf("replaceFunctionMacro(expr=%s,rest=%s,pos=%d,def=%s) level=%d\n",expr.data(),rest ? rest->data() : 0,pos,def->name.data(),g_level); uint j=pos; len=0; result.resize(0); int cc; while ((cc=getCurrentChar(expr,rest,j))!=EOF && isspace(cc)) { len++; getNextChar(expr,rest,j); } if (cc!='(') { unputChar(expr,rest,j,' '); return FALSE; } getNextChar(expr,rest,j); // eat the `(' character QDict argTable; // list of arguments argTable.setAutoDelete(TRUE); QCString arg; int argCount=0; bool done=FALSE; // PHASE 1: read the macro arguments if (def->nargs==0) { while ((cc=getNextChar(expr,rest,j))!=EOF && cc!=0) { char c = (char)cc; if (c==')') break; } } else { while (!done && (argCountnargs || def->varArgs) && ((cc=getNextChar(expr,rest,j))!=EOF && cc!=0) ) { char c=(char)cc; if (c=='(') // argument is a function => search for matching ) { int level=1; arg+=c; //char term='\0'; while ((cc=getNextChar(expr,rest,j))!=EOF && cc!=0) { char c=(char)cc; //printf("processing %c: term=%c (%d)\n",c,term,term); if (c=='\'' || c=='\"') // skip ('s and )'s inside strings { arg+=c; addTillEndOfString(expr,rest,j,c,arg); } if (c==')') { level--; arg+=c; if (level==0) break; } else if (c=='(') { level++; arg+=c; } else arg+=c; } } else if (c==')' || c==',') // last or next argument found { if (c==',' && argCount==def->nargs-1 && def->varArgs) { arg=arg.stripWhiteSpace(); arg+=','; } else { QCString argKey; argKey.sprintf("@%d",argCount++); // key name arg=arg.stripWhiteSpace(); // add argument to the lookup table argTable.insert(argKey, new QCString(arg)); arg.resize(0); if (c==')') // end of the argument list { done=TRUE; } } } else if (c=='\"') // append literal strings { arg+=c; bool found=FALSE; while (!found && (cc=getNextChar(expr,rest,j))!=EOF && cc!=0) { found = cc=='"'; if (cc=='\\') { c=(char)cc; arg+=c; if ((cc=getNextChar(expr,rest,j))==EOF || cc==0) break; } c=(char)cc; arg+=c; } } else if (c=='\'') // append literal characters { arg+=c; bool found=FALSE; while (!found && (cc=getNextChar(expr,rest,j))!=EOF && cc!=0) { found = cc=='\''; if (cc=='\\') { c=(char)cc; arg+=c; if ((cc=getNextChar(expr,rest,j))==EOF || cc==0) break; } c=(char)cc; arg+=c; } } else // append other characters { arg+=c; } } } // PHASE 2: apply the macro function if (argCount==def->nargs || (argCount>def->nargs && def->varArgs)) // matching parameters lists { uint k=0; // substitution of all formal arguments QCString resExpr; const QCString d=def->definition.stripWhiteSpace(); //printf("Macro definition: %s\n",d.data()); bool inString=FALSE; while (k copy it (is unescaped later) { k+=2; resExpr+="@@"; // we unescape these later } else if (d.at(k+1)=='-') // no-rescan marker { k+=2; resExpr+="@-"; } else // argument marker => read the argument number { QCString key="@"; QCString *subst=0; bool hash=FALSE; int l=k-1; // search for ## backward if (l>=0 && d.at(l)=='"') l--; while (l>=0 && d.at(l)==' ') l--; if (l>0 && d.at(l)=='#' && d.at(l-1)=='#') hash=TRUE; k++; // scan the number while (k='0' && d.at(k)<='9') key+=d.at(k++); if (!hash) { // search for ## forward l=k; if (l<(int)d.length() && d.at(l)=='"') l++; while (l<(int)d.length() && d.at(l)==' ') l++; if (l<(int)d.length()-1 && d.at(l)=='#' && d.at(l+1)=='#') hash=TRUE; } //printf("request key %s result %s\n",key.data(),argTable[key]->data()); if (key.length()>1 && (subst=argTable[key])) { QCString substArg=*subst; //printf("substArg=`%s'\n",substArg.data()); // only if no ## operator is before or after the argument // marker we do macro expansion. if (!hash) expandExpression(substArg,0,0); if (inString) { //printf("`%s'=stringize(`%s')\n",stringize(*subst).data(),subst->data()); // if the marker is inside a string (because a # was put // before the macro name) we must escape " and \ characters resExpr+=stringize(substArg); } else { if (hash && substArg.isEmpty()) { resExpr+="@E"; // empty argument will be remove later on } else if (g_nospaces) { resExpr+=substArg; } else { resExpr+=" "+substArg+" "; } } } } } else // no marker, just copy { if (!inString && d.at(k)=='\"') { inString=TRUE; // entering a literal string } else if (inString && d.at(k)=='\"' && (d.at(k-1)!='\\' || d.at(k-2)=='\\')) { inString=FALSE; // leaving a literal string } resExpr+=d.at(k++); } } len=j-pos; result=resExpr; //printf("result after substitution `%s' expr=`%s'\n", // result.data(),expr.mid(pos,len).data()); return TRUE; } return FALSE; } /*! returns the next identifier in string \a expr by starting at position \a p. * The position of the identifier is returned (or -1 if nothing is found) * and \a l is its length. Any quoted strings are skipping during the search. */ static int getNextId(const QCString &expr,int p,int *l) { int n; while (p<(int)expr.length()) { char c=expr.at(p++); if (isdigit(c)) // skip number { while (p<(int)expr.length() && isId(expr.at(p))) p++; } else if (isalpha(c) || c=='_') // read id { n=p-1; while (p<(int)expr.length() && isId(expr.at(p))) p++; *l=p-n; return n; } else if (c=='"') // skip string { char ppc=0,pc=c; if (p<(int)expr.length()) c=expr.at(p); while (p<(int)expr.length() && (c!='"' || (pc=='\\' && ppc!='\\'))) // continue as long as no " is found, but ignoring \", but not \\" { ppc=pc; pc=c; c=expr.at(p); p++; } if (p<(int)expr.length()) ++p; // skip closing quote } else if (c=='/') // skip C Comment { //printf("Found C comment at p=%d\n",p); char pc=c; if (p<(int)expr.length()) { c=expr.at(p); if (c=='*') // Start of C comment { p++; while (p<(int)expr.length() && !(pc=='*' && c=='/')) { pc=c; c=expr.at(p++); } } } //printf("Found end of C comment at p=%d\n",p); } } return -1; } /*! preforms recursive macro expansion on the string \a expr * starting at position \a pos. * May read additional characters from the input while re-scanning! * If \a expandAll is \c TRUE then all macros in the expression are * expanded, otherwise only the first is expanded. */ static void expandExpression(QCString &expr,QCString *rest,int pos) { //printf("expandExpression(%s,%s)\n",expr.data(),rest ? rest->data() : 0); QCString macroName; QCString expMacro; bool definedTest=FALSE; int i=pos,l,p,len; while ((p=getNextId(expr,i,&l))!=-1) // search for an macro name { bool replaced=FALSE; macroName=expr.mid(p,l); //printf("macroName=%s\n",macroName.data()); if (p<2 || !(expr.at(p-2)=='@' && expr.at(p-1)=='-')) // no-rescan marker? { if (g_expandedDict->find(macroName)==0) // expand macro { Define *def=DefineManager::instance().isDefined(macroName); if (definedTest) // macro name was found after defined { if (def) expMacro = " 1 "; else expMacro = " 0 "; replaced=TRUE; len=l; definedTest=FALSE; } else if (def && def->nargs==-1) // simple macro { // substitute the definition of the macro //printf("macro `%s'->`%s'\n",macroName.data(),def->definition.data()); if (g_nospaces) { expMacro=def->definition.stripWhiteSpace(); } else { expMacro=" "+def->definition.stripWhiteSpace()+" "; } //expMacro=def->definition.stripWhiteSpace(); replaced=TRUE; len=l; //printf("simple macro expansion=`%s'->`%s'\n",macroName.data(),expMacro.data()); } else if (def && def->nargs>=0) // function macro { replaced=replaceFunctionMacro(expr,rest,p+l,len,def,expMacro); len+=l; } else if (macroName=="defined") { //printf("found defined inside macro definition '%s'\n",expr.right(expr.length()-p).data()); definedTest=TRUE; } if (replaced) // expand the macro and rescan the expression { //printf("replacing `%s'->`%s'\n",expr.mid(p,len).data(),expMacro.data()); QCString resultExpr=expMacro; QCString restExpr=expr.right(expr.length()-len-p); processConcatOperators(resultExpr); if (def && !def->nonRecursive) { g_expandedDict->insert(macroName,def); expandExpression(resultExpr,&restExpr,0); g_expandedDict->remove(macroName); } expr=expr.left(p)+resultExpr+restExpr; i=p; //printf("new expression: %s\n",expr.data()); } else // move to the next macro name { //printf("moving to the next macro old=%d new=%d\n",i,p+l); i=p+l; } } else // move to the next macro name { expr=expr.left(p)+"@-"+expr.right(expr.length()-p); //printf("macro already expanded, moving to the next macro expr=%s\n",expr.data()); i=p+l+2; //i=p+l; } } else // no re-scan marker found, skip the macro name { //printf("skipping marked macro\n"); i=p+l; } } } /*! replaces all occurrences of @@@@ in \a s by @@ * and removes all occurrences of @@E. * All identifiers found are replaced by 0L */ QCString removeIdsAndMarkers(const char *s) { //printf("removeIdsAndMarkers(%s)\n",s); const char *p=s; char c; bool inNum=FALSE; QCString result; if (p) { while ((c=*p)) { if (c=='@') // replace @@ with @ and remove @E { if (*(p+1)=='@') { result+=c; } else if (*(p+1)=='E') { // skip } p+=2; } else if (isdigit(c)) // number { result+=c; p++; inNum=TRUE; } else if (c=='d' && !inNum) // identifier starting with a `d' { if (qstrncmp(p,"defined ",8)==0 || qstrncmp(p,"defined(",8)==0) // defined keyword { p+=7; // skip defined } else { result+="0L"; p++; while ((c=*p) && isId(c)) p++; } } else if ((isalpha(c) || c=='_') && !inNum) // replace identifier with 0L { result+="0L"; p++; while ((c=*p) && isId(c)) p++; if (*p=='(') // undefined function macro { p++; int count=1; while ((c=*p++)) { if (c=='(') count++; else if (c==')') { count--; if (count==0) break; } else if (c=='/') { char pc=c; c=*++p; if (c=='*') // start of C comment { while (*p && !(pc=='*' && c=='/')) // search end of comment { pc=c; c=*++p; } p++; } } } } } else if (c=='/') // skip C comments { char pc=c; c=*++p; if (c=='*') // start of C comment { while (*p && !(pc=='*' && c=='/')) // search end of comment { pc=c; c=*++p; } p++; } else // oops, not comment but division { result+=pc; goto nextChar; } } else { nextChar: result+=c; char lc=tolower(c); if (!isId(lc) && lc!='.' /*&& lc!='-' && lc!='+'*/) inNum=FALSE; p++; } } } //printf("removeIdsAndMarkers(%s)=%s\n",s,result.data()); return result; } /*! replaces all occurrences of @@ in \a s by @ * \par assumption: * \a s only contains pairs of @@'s */ QCString removeMarkers(const char *s) { const char *p=s; char c; QCString result; if (p) { while ((c=*p)) { switch(c) { case '@': // replace @@ with @ { if (*(p+1)=='@') { result+=c; } p+=2; } break; case '/': // skip C comments { result+=c; char pc=c; c=*++p; if (c=='*') // start of C comment { while (*p && !(pc=='*' && c=='/')) // search end of comment { if (*p=='@' && *(p+1)=='@') result+=c,p++; else result+=c; pc=c; c=*++p; } if (*p) result+=c,p++; } } break; case '"': // skip string literals { result+=c; char pc=c; c=*++p; while (*p && (c!='"' || pc=='\\')) // no end quote { result+=c; c=*++p; } if (*p) result+=c,p++; } break; case '\'': // skip char literals { result+=c; char pc=c; c=*++p; while (*p && (c!='\'' || pc=='\\')) // no end quote { result+=c; c=*++p; } if (*p) result+=c,p++; } break; default: { result+=c; p++; } break; } } } //printf("RemoveMarkers(%s)=%s\n",s,result.data()); return result; } /*! compute the value of the expression in string \a expr. * If needed the function may read additional characters from the input. */ bool computeExpression(const QCString &expr) { QCString e=expr; expandExpression(e,0,0); //printf("after expansion `%s'\n",e.data()); e = removeIdsAndMarkers(e); if (e.isEmpty()) return FALSE; //printf("parsing `%s'\n",e.data()); return parseconstexp(g_yyFileName,g_yyLineNr,e); } /*! expands the macro definition in \a name * If needed the function may read additional characters from the input */ QCString expandMacro(const QCString &name) { QCString n=name; expandExpression(n,0,0); n=removeMarkers(n); //printf("expandMacro `%s'->`%s'\n",name.data(),n.data()); return n; } Define *newDefine() { Define *def=new Define; def->name = g_defName; def->definition = g_defText.stripWhiteSpace(); def->nargs = g_defArgs; def->fileName = g_yyFileName; def->fileDef = g_yyFileDef; def->lineNr = g_yyLineNr-g_yyMLines; def->columnNr = g_yyColNr; def->varArgs = g_defVarArgs; //printf("newDefine: %s %s file: %s\n",def->name.data(),def->definition.data(), // def->fileDef ? def->fileDef->name().data() : def->fileName.data()); //printf("newDefine: `%s'->`%s'\n",def->name.data(),def->definition.data()); if (!def->name.isEmpty() && Doxygen::expandAsDefinedDict[def->name]) { def->isPredefined=TRUE; } return def; } void addDefine() { if (g_skip) return; // do not add this define as it is inside a // conditional section (cond command) that is disabled. if (!Doxygen::gatherDefines) return; //printf("addDefine %s %s\n",g_defName.data(),g_defArgsStr.data()); //ArgumentList *al = new ArgumentList; //stringToArgumentList(g_defArgsStr,al); MemberDef *md=new MemberDef( g_yyFileName,g_yyLineNr-g_yyMLines,g_yyColNr, "#define",g_defName,g_defArgsStr,0, Public,Normal,FALSE,Member,MemberType_Define,0,0); if (!g_defArgsStr.isEmpty()) { ArgumentList *argList = new ArgumentList; //printf("addDefine() g_defName=`%s' g_defArgsStr=`%s'\n",g_defName.data(),g_defArgsStr.data()); stringToArgumentList(g_defArgsStr,argList); md->setArgumentList(argList); } //printf("Setting initializer for `%s' to `%s'\n",g_defName.data(),g_defText.data()); int l=g_defLitText.find('\n'); if (l>0 && g_defLitText.left(l).stripWhiteSpace()=="\\") { // strip first line if it only contains a slash g_defLitText = g_defLitText.right(g_defLitText.length()-l-1); } else if (l>0) { // align the items on the first line with the items on the second line int k=l+1; const char *p=g_defLitText.data()+k; char c; while ((c=*p++) && (c==' ' || c=='\t')) k++; g_defLitText=g_defLitText.mid(l+1,k-l-1)+g_defLitText.stripWhiteSpace(); } md->setInitializer(g_defLitText.stripWhiteSpace()); //printf("pre.l: md->setFileDef(%p)\n",g_inputFileDef); md->setFileDef(g_inputFileDef); md->setDefinition("#define "+g_defName); MemberName *mn=Doxygen::functionNameSDict->find(g_defName); if (mn==0) { mn = new MemberName(g_defName); Doxygen::functionNameSDict->append(g_defName,mn); } mn->append(md); if (g_yyFileDef) { g_yyFileDef->insertMember(md); } //Define *d; //if ((d=defineDict[g_defName])==0) defineDict.insert(g_defName,newDefine()); } static inline void outputChar(char c) { if (g_includeStack.isEmpty() || g_curlyCount>0) g_outputBuf->addChar(c); } static inline void outputArray(const char *a,int len) { if (g_includeStack.isEmpty() || g_curlyCount>0) g_outputBuf->addArray(a,len); } static void readIncludeFile(const QCString &inc) { static bool searchIncludes = Config_getBool("SEARCH_INCLUDES"); uint i=0; // find the start of the include file name while (i0 && inc.at(s-1)=='"'; // find the end of the include file name while (is) // valid include file name found { // extract include path+name QCString incFileName=inc.mid(s,i-s).stripWhiteSpace(); QCString dosExt = incFileName.right(4); if (dosExt==".exe" || dosExt==".dll" || dosExt==".tlb") { // skip imported binary files (e.g. M$ type libraries) return; } QCString oldFileName = g_yyFileName; FileDef *oldFileDef = g_yyFileDef; int oldLineNr = g_yyLineNr; //printf("Searching for `%s'\n",incFileName.data()); // absIncFileName avoids difficulties for incFileName starting with "../" (bug 641336) QCString absIncFileName = incFileName; { QFileInfo fi(g_yyFileName); if (fi.exists()) { QCString absName = QCString(fi.dirPath(TRUE).data())+"/"+incFileName; QFileInfo fi2(absName); if (fi2.exists()) { absIncFileName=fi2.absFilePath().utf8(); } else if (searchIncludes) // search in INCLUDE_PATH as well { QStrList &includePath = Config_getList("INCLUDE_PATH"); char *s=includePath.first(); while (s) { QFileInfo fi(s); if (fi.exists() && fi.isDir()) { QCString absName = QCString(fi.absFilePath().utf8())+"/"+incFileName; //printf("trying absName=%s\n",absName.data()); QFileInfo fi2(absName); if (fi2.exists()) { absIncFileName=fi2.absFilePath().utf8(); break; } //printf( "absIncFileName = %s\n", absIncFileName.data() ); } s=includePath.next(); } } //printf( "absIncFileName = %s\n", absIncFileName.data() ); } } DefineManager::instance().addInclude(g_yyFileName,absIncFileName); DefineManager::instance().addFileToContext(absIncFileName); // findFile will overwrite g_yyFileDef if found FileState *fs; bool alreadyIncluded = FALSE; //printf("calling findFile(%s)\n",incFileName.data()); if ((fs=findFile(incFileName,localInclude,alreadyIncluded))) // see if the include file can be found { //printf("Found include file!\n"); if (Debug::isFlagSet(Debug::Preprocessor)) { for (i=0;iaddIncludeDependency(ambig ? 0 : incFd,incFileName,localInclude,g_isImported,FALSE); // add included by dependency if (g_yyFileDef) { //printf("Adding include dependency %s->%s\n",oldFileDef->name().data(),incFileName.data()); g_yyFileDef->addIncludedByDependency(oldFileDef,oldFileDef->docName(),localInclude,g_isImported); } } else if (g_inputFileDef) { g_inputFileDef->addIncludeDependency(0,absIncFileName,localInclude,g_isImported,TRUE); } fs->bufState = YY_CURRENT_BUFFER; fs->lineNr = oldLineNr; fs->fileName = oldFileName; // push the state on the stack g_includeStack.push(fs); // set the scanner to the include file // Deal with file changes due to // #include's within { .. } blocks QCString lineStr(g_yyFileName.length()+20); lineStr.sprintf("# 1 \"%s\" 1\n",g_yyFileName.data()); outputArray(lineStr.data(),lineStr.length()); DBG_CTX((stderr,"Switching to include file %s\n",incFileName.data())); g_expectGuard=TRUE; g_inputBuf = &fs->fileBuf; g_inputBufPos=0; preYY_switch_to_buffer(preYY_create_buffer(0,YY_BUF_SIZE)); } else { //printf(" calling findFile(%s) alreadyInc=%d\n",incFileName.data(),alreadyIncluded); if (oldFileDef) { bool ambig; //QCString absPath = incFileName; //if (QDir::isRelativePath(incFileName)) //{ // absPath = QDir::cleanDirPath(oldFileDef->getPath()+"/"+incFileName); // //printf("%s + %s -> resolved path %s\n",oldFileDef->getPath().data(),incFileName.data(),absPath.data()); //} // change to absolute name for bug 641336 FileDef *fd = findFileDef(Doxygen::inputNameDict,absIncFileName,ambig); //printf("%s::findFileDef(%s)=%p\n",oldFileDef->name().data(),incFileName.data(),fd); // add include dependency to the file in which the #include was found oldFileDef->addIncludeDependency(ambig ? 0 : fd,incFileName,localInclude,g_isImported,FALSE); // add included by dependency if (fd) { //printf("Adding include dependency (2) %s->%s ambig=%d\n",oldFileDef->name().data(),fd->name().data(),ambig); fd->addIncludedByDependency(oldFileDef,oldFileDef->docName(),localInclude,g_isImported); } } else if (g_inputFileDef) { g_inputFileDef->addIncludeDependency(0,absIncFileName,localInclude,g_isImported,TRUE); } if (Debug::isFlagSet(Debug::Preprocessor)) { if (alreadyIncluded) { Debug::print(Debug::Preprocessor,0,"#include %s: already included! skipping...\n",incFileName.data()); } else { Debug::print(Debug::Preprocessor,0,"#include %s: not found! skipping...\n",incFileName.data()); } //printf("error: include file %s not found\n",preYYtext); } if (g_curlyCount>0 && !alreadyIncluded) // failed to find #include inside { ... } { warn(g_yyFileName,g_yyLineNr,"include file %s not found, perhaps you forgot to add its directory to INCLUDE_PATH?",incFileName.data()); } } } } /* ----------------------------------------------------------------- */ static void startCondSection(const char *sectId) { //printf("startCondSection: skip=%d stack=%d\n",g_skip,g_condStack.count()); CondParser prs; bool expResult = prs.parse(g_yyFileName,g_yyLineNr,sectId); g_condStack.push(new CondCtx(g_yyLineNr,sectId,g_skip)); if (!expResult) { g_skip=TRUE; } //printf(" expResult=%d skip=%d\n",expResult,g_skip); } static void endCondSection() { if (g_condStack.isEmpty()) { g_skip=FALSE; } else { CondCtx *ctx = g_condStack.pop(); g_skip=ctx->skip; } //printf("endCondSection: skip=%d stack=%d\n",g_skip,g_condStack.count()); } static void forceEndCondSection() { while (!g_condStack.isEmpty()) { g_condStack.pop(); } g_skip=FALSE; } static QCString escapeAt(const char *text) { QCString result; if (text) { char c; const char *p=text; while ((c=*p++)) { if (c=='@') result+="@@"; else result+=c; } } return result; } static char resolveTrigraph(char c) { switch (c) { case '=': return '#'; case '/': return '\\'; case '\'': return '^'; case '(': return '['; case ')': return ']'; case '!': return '|'; case '<': return '{'; case '>': return '}'; case '-': return '~'; } return '?'; } /* ----------------------------------------------------------------- */ #undef YY_INPUT #define YY_INPUT(buf,result,max_size) result=yyread(buf,max_size); static int yyread(char *buf,int max_size) { int bytesInBuf = g_inputBuf->curPos()-g_inputBufPos; int bytesToCopy = QMIN(max_size,bytesInBuf); memcpy(buf,g_inputBuf->data()+g_inputBufPos,bytesToCopy); g_inputBufPos+=bytesToCopy; return bytesToCopy; } /* ----------------------------------------------------------------- */ #line 4252 "" #define INITIAL 0 #define Start 1 #define Command 2 #define SkipCommand 3 #define SkipLine 4 #define SkipString 5 #define CopyLine 6 #define CopyString 7 #define Include 8 #define IncludeID 9 #define EndImport 10 #define DefName 11 #define DefineArg 12 #define DefineText 13 #define SkipCPPBlock 14 #define Ifdef 15 #define Ifndef 16 #define SkipCComment 17 #define ArgCopyCComment 18 #define CopyCComment 19 #define SkipVerbatim 20 #define SkipCPPComment 21 #define RemoveCComment 22 #define RemoveCPPComment 23 #define Guard 24 #define DefinedExpr1 25 #define DefinedExpr2 26 #define SkipDoubleQuote 27 #define SkipSingleQuote 28 #define UndefName 29 #define IgnoreLine 30 #define FindDefineArgs 31 #define ReadString 32 #define CondLineC 33 #define CondLineCpp 34 #define SkipCond 35 #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 preYYlex_destroy (void ); int preYYget_debug (void ); void preYYset_debug (int debug_flag ); YY_EXTRA_TYPE preYYget_extra (void ); void preYYset_extra (YY_EXTRA_TYPE user_defined ); FILE *preYYget_in (void ); void preYYset_in (FILE * in_str ); FILE *preYYget_out (void ); void preYYset_out (FILE * out_str ); yy_size_t preYYget_leng (void ); char *preYYget_text (void ); int preYYget_lineno (void ); void preYYset_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 preYYwrap (void ); #else extern int preYYwrap (void ); #endif #endif static void yyunput (int c,char *buf_ptr ); #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #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 #define YY_READ_BUF_SIZE 262144 #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( preYYtext, preYYleng, 1, preYYout )) {} } 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 = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( preYYin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( preYYin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, preYYin))==0 && ferror(preYYin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(preYYin); \ } \ }\ \ #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 preYYlex (void); #define YY_DECL int preYYlex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after preYYtext and preYYleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( preYYleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (preYYtext[preYYleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 1765 "pre.l" #line 4475 "" if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif /* Create the reject buffer large enough to save one state per allowed character. */ if ( ! (yy_state_buf) ) (yy_state_buf) = (yy_state_type *)preYYalloc(YY_STATE_BUF_SIZE ); if ( ! (yy_state_buf) ) YY_FATAL_ERROR( "out of dynamic memory in preYYlex()" ); if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! preYYin ) preYYin = stdin; if ( ! preYYout ) preYYout = stdout; if ( ! YY_CURRENT_BUFFER ) { preYYensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = preYY_create_buffer(preYYin,YY_BUF_SIZE ); } preYY_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of preYYtext. */ *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_state_ptr) = (yy_state_buf); *(yy_state_ptr)++ = yy_current_state; yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*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 >= 1285 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *(yy_state_ptr)++ = yy_current_state; ++yy_cp; } while ( yy_base[yy_current_state] != 6348 ); yy_find_action: yy_current_state = *--(yy_state_ptr); (yy_lp) = yy_accept[yy_current_state]; find_rule: /* we branch to this label when backing up */ for ( ; ; ) /* until we find what rule we matched */ { if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) { yy_act = yy_acclist[(yy_lp)]; if ( yy_act & YY_TRAILING_HEAD_MASK || (yy_looking_for_trail_begin) ) { if ( yy_act == (yy_looking_for_trail_begin) ) { (yy_looking_for_trail_begin) = 0; yy_act &= ~YY_TRAILING_HEAD_MASK; break; } } else if ( yy_act & YY_TRAILING_MASK ) { (yy_looking_for_trail_begin) = yy_act & ~YY_TRAILING_MASK; (yy_looking_for_trail_begin) |= YY_TRAILING_HEAD_MASK; (yy_full_match) = yy_cp; (yy_full_state) = (yy_state_ptr); (yy_full_lp) = (yy_lp); } else { (yy_full_match) = yy_cp; (yy_full_state) = (yy_state_ptr); (yy_full_lp) = (yy_lp); break; } ++(yy_lp); goto find_rule; } --yy_cp; yy_current_state = *--(yy_state_ptr); (yy_lp) = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 1: YY_RULE_SETUP #line 1767 "pre.l" YY_BREAK case 2: YY_RULE_SETUP #line 1768 "pre.l" YY_BREAK case 3: YY_RULE_SETUP #line 1769 "pre.l" YY_BREAK case 4: YY_RULE_SETUP #line 1770 "pre.l" { // Trigraph unput(resolveTrigraph(preYYtext[2])); } YY_BREAK case 5: YY_RULE_SETUP #line 1773 "pre.l" { BEGIN(Command); g_yyColNr+=preYYleng; g_yyMLines=0;} YY_BREAK case 6: /* rule 6 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 1774 "pre.l" { outputArray(preYYtext,(int)preYYleng); BEGIN(CopyLine); } YY_BREAK case 7: /* rule 7 can match eol */ YY_RULE_SETUP #line 1778 "pre.l" { // constructors? int i; for (i=(int)preYYleng-1;i>=0;i--) { unput(preYYtext[i]); } BEGIN(CopyLine); } YY_BREAK case 8: /* rule 8 can match eol */ #line 1787 "pre.l" case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 1787 "pre.l" { // function like macro static bool skipFuncMacros = Config_getBool("SKIP_FUNCTION_MACROS"); QCString name(preYYtext); name=name.left(name.find('(')).stripWhiteSpace(); Define *def=0; if (skipFuncMacros && name!="Q_PROPERTY" && !( (g_includeStack.isEmpty() || g_curlyCount>0) && g_macroExpansion && (def=DefineManager::instance().isDefined(name)) && /*macroIsAccessible(def) &&*/ (!g_expandOnlyPredef || def->isPredefined) ) ) { outputChar('\n'); g_yyLineNr++; } else // don't skip { int i; for (i=(int)preYYleng-1;i>=0;i--) { unput(preYYtext[i]); } BEGIN(CopyLine); } } YY_BREAK case 10: /* rule 10 can match eol */ YY_RULE_SETUP #line 1817 "pre.l" { QCString text=preYYtext; g_yyLineNr+=text.contains('\n'); outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 11: YY_RULE_SETUP #line 1822 "pre.l" { // count brackets inside the main file if (g_includeStack.isEmpty()) { g_curlyCount++; } outputChar(*preYYtext); } YY_BREAK case 12: YY_RULE_SETUP #line 1829 "pre.l" { // count brackets inside the main file if (g_includeStack.isEmpty() && g_curlyCount>0) { g_curlyCount--; } outputChar(*preYYtext); } YY_BREAK case 13: YY_RULE_SETUP #line 1836 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 14: YY_RULE_SETUP #line 1839 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 15: YY_RULE_SETUP #line 1842 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 16: YY_RULE_SETUP #line 1845 "pre.l" { outputChar(*preYYtext); BEGIN( CopyString ); } YY_BREAK case 17: YY_RULE_SETUP #line 1849 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 18: YY_RULE_SETUP #line 1852 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 19: YY_RULE_SETUP #line 1855 "pre.l" { outputChar(*preYYtext); BEGIN( CopyLine ); } YY_BREAK case 20: /* rule 20 can match eol */ YY_RULE_SETUP #line 1859 "pre.l" { g_expectGuard = FALSE; Define *def=0; //def=g_globalDefineDict->find(preYYtext); //def=DefineManager::instance().isDefined(preYYtext); //printf("Search for define %s found=%d g_includeStack.isEmpty()=%d " // "g_curlyCount=%d g_macroExpansion=%d g_expandOnlyPredef=%d " // "isPreDefined=%d\n",preYYtext,def ? 1 : 0, // g_includeStack.isEmpty(),g_curlyCount,g_macroExpansion,g_expandOnlyPredef, // def ? def->isPredefined : -1 // ); if ((g_includeStack.isEmpty() || g_curlyCount>0) && g_macroExpansion && (def=DefineManager::instance().isDefined(preYYtext)) && /*(def->isPredefined || macroIsAccessible(def)) && */ (!g_expandOnlyPredef || def->isPredefined) ) { //printf("Found it! #args=%d\n",def->nargs); g_roundCount=0; g_defArgsStr=preYYtext; if (def->nargs==-1) // no function macro { QCString result = def->isPredefined ? def->definition : expandMacro(g_defArgsStr); outputArray(result,result.length()); } else // zero or more arguments { g_findDefArgContext = CopyLine; BEGIN(FindDefineArgs); } } else { outputArray(preYYtext,(int)preYYleng); } } YY_BREAK case 21: YY_RULE_SETUP #line 1896 "pre.l" { Define *def=0; if ((g_includeStack.isEmpty() || g_curlyCount>0) && g_macroExpansion && (def=DefineManager::instance().isDefined(preYYtext)) && def->nargs==-1 && /*(def->isPredefined || macroIsAccessible(def)) &&*/ (!g_expandOnlyPredef || def->isPredefined) ) { QCString result=def->isPredefined ? def->definition : expandMacro(preYYtext); outputArray(result,result.length()); } else { outputArray(preYYtext,(int)preYYleng); } } YY_BREAK case 22: /* rule 22 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 1914 "pre.l" { // strip line continuation characters } YY_BREAK case 23: YY_RULE_SETUP #line 1916 "pre.l" { outputChar(*preYYtext); } YY_BREAK case 24: /* rule 24 can match eol */ YY_RULE_SETUP #line 1919 "pre.l" { outputChar('\n'); BEGIN(Start); g_yyLineNr++; g_yyColNr=1; } YY_BREAK case 25: YY_RULE_SETUP #line 1925 "pre.l" { g_defArgsStr+='('; g_roundCount++; } YY_BREAK case 26: YY_RULE_SETUP #line 1929 "pre.l" { g_defArgsStr+=')'; g_roundCount--; if (g_roundCount==0) { QCString result=expandMacro(g_defArgsStr); //printf("g_defArgsStr=`%s'->`%s'\n",g_defArgsStr.data(),result.data()); if (g_findDefArgContext==CopyLine) { outputArray(result,result.length()); BEGIN(g_findDefArgContext); } else // g_findDefArgContext==IncludeID { readIncludeFile(result); g_nospaces=FALSE; BEGIN(Start); } } } YY_BREAK /* ")"{B}*"(" { g_defArgsStr+=preYYtext; } */ case 27: YY_RULE_SETUP #line 1954 "pre.l" { g_defArgsStr+=preYYtext; } YY_BREAK case 28: YY_RULE_SETUP #line 1957 "pre.l" { g_defArgsStr+=preYYtext; BEGIN(ArgCopyCComment); } YY_BREAK case 29: YY_RULE_SETUP #line 1961 "pre.l" { g_defArgsStr+=*preYYtext; BEGIN(ReadString); } YY_BREAK case 30: /* rule 30 can match eol */ YY_RULE_SETUP #line 1965 "pre.l" { g_defArgsStr+=' '; g_yyLineNr++; outputChar('\n'); } YY_BREAK case 31: YY_RULE_SETUP #line 1970 "pre.l" { g_defArgsStr+="@@"; } YY_BREAK case 32: YY_RULE_SETUP #line 1973 "pre.l" { g_defArgsStr+=*preYYtext; } YY_BREAK case 33: YY_RULE_SETUP #line 1976 "pre.l" { g_defArgsStr+=preYYtext; } YY_BREAK case 34: YY_RULE_SETUP #line 1979 "pre.l" { g_defArgsStr+=preYYtext; BEGIN(FindDefineArgs); } YY_BREAK case 35: /* rule 35 can match eol */ YY_RULE_SETUP #line 1983 "pre.l" { g_defArgsStr+=' '; g_yyLineNr++; outputChar('\n'); } YY_BREAK case 36: YY_RULE_SETUP #line 1988 "pre.l" { g_defArgsStr+=preYYtext; } YY_BREAK case 37: YY_RULE_SETUP #line 1991 "pre.l" { g_defArgsStr+=*preYYtext; BEGIN(FindDefineArgs); } YY_BREAK case 38: YY_RULE_SETUP #line 1995 "pre.l" { g_defArgsStr+=preYYtext; } YY_BREAK case 39: YY_RULE_SETUP #line 1998 "pre.l" { g_defArgsStr+=preYYtext; } YY_BREAK case 40: YY_RULE_SETUP #line 2001 "pre.l" { g_defArgsStr+=*preYYtext; } YY_BREAK case 41: YY_RULE_SETUP #line 2004 "pre.l" { g_isImported = preYYtext[1]=='m'; if (g_macroExpansion) BEGIN(IncludeID); } YY_BREAK case 42: YY_RULE_SETUP #line 2009 "pre.l" { g_isImported = preYYtext[1]=='m'; char c[2]; c[0]=preYYtext[preYYleng-1];c[1]='\0'; g_incName=c; BEGIN(Include); } YY_BREAK case 43: YY_RULE_SETUP #line 2016 "pre.l" { //printf("!!!DefName\n"); g_yyColNr+=preYYleng; BEGIN(DefName); } YY_BREAK case 44: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2021 "pre.l" { incrLevel(); g_guardExpr.resize(0); BEGIN(DefinedExpr2); } YY_BREAK case 45: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2026 "pre.l" { //printf("Pre.l: ifdef\n"); incrLevel(); g_guardExpr.resize(0); BEGIN(DefinedExpr1); } YY_BREAK case 46: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 6; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2032 "pre.l" { incrLevel(); g_guardExpr="! "; BEGIN(DefinedExpr2); } YY_BREAK case 47: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 6; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2037 "pre.l" { incrLevel(); g_guardExpr="! "; BEGIN(DefinedExpr1); } YY_BREAK case 48: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 2; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2042 "pre.l" { incrLevel(); g_guardExpr.resize(0); BEGIN(Guard); } YY_BREAK case 49: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2047 "pre.l" { if (!otherCaseDone()) { g_guardExpr.resize(0); BEGIN(Guard); } else { g_ifcount=0; BEGIN(SkipCPPBlock); } } YY_BREAK case 50: /* rule 50 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 4; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2059 "pre.l" { //printf("else g_levelGuard[%d]=%d\n",g_level-1,g_levelGuard[g_level-1]); if (otherCaseDone()) { g_ifcount=0; BEGIN(SkipCPPBlock); } else { setCaseDone(TRUE); //g_levelGuard[g_level-1]=TRUE; } } YY_BREAK case 51: YY_RULE_SETUP #line 2072 "pre.l" { BEGIN(UndefName); } YY_BREAK case 52: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2075 "pre.l" { if (!otherCaseDone()) { g_guardExpr.resize(0); BEGIN(Guard); } } YY_BREAK case 53: /* rule 53 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2082 "pre.l" { //printf("Pre.l: #endif\n"); decrLevel(); } YY_BREAK case 54: /* rule 54 can match eol */ YY_RULE_SETUP #line 2086 "pre.l" { outputChar('\n'); BEGIN(Start); g_yyLineNr++; } YY_BREAK case 55: YY_RULE_SETUP #line 2091 "pre.l" { g_expectGuard = FALSE; } YY_BREAK case 56: YY_RULE_SETUP #line 2094 "pre.l" { // unknown directive BEGIN(IgnoreLine); } YY_BREAK case 57: /* rule 57 can match eol */ YY_RULE_SETUP #line 2097 "pre.l" { outputChar('\n'); g_yyLineNr++; } YY_BREAK case 58: YY_RULE_SETUP #line 2101 "pre.l" YY_BREAK case 59: YY_RULE_SETUP #line 2102 "pre.l" {g_yyColNr+=preYYleng;} YY_BREAK case 60: YY_RULE_SETUP #line 2103 "pre.l" { Define *def; if ((def=DefineManager::instance().isDefined(preYYtext)) /*&& !def->isPredefined*/ && !def->nonRecursive ) { //printf("undefining %s\n",preYYtext); def->undef=TRUE; } BEGIN(Start); } YY_BREAK case 61: /* rule 61 can match eol */ YY_RULE_SETUP #line 2115 "pre.l" { outputChar('\n'); g_guardExpr+=' '; g_yyLineNr++; } YY_BREAK case 62: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 7; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2120 "pre.l" { BEGIN(DefinedExpr2); } YY_BREAK case 63: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 7; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2123 "pre.l" { BEGIN(DefinedExpr1); } YY_BREAK case 64: YY_RULE_SETUP #line 2126 "pre.l" { g_guardExpr+=preYYtext; } YY_BREAK case 65: YY_RULE_SETUP #line 2127 "pre.l" { g_guardExpr+=*preYYtext; } YY_BREAK case 66: /* rule 66 can match eol */ YY_RULE_SETUP #line 2128 "pre.l" { unput(*preYYtext); //printf("Guard: `%s'\n", // g_guardExpr.data()); bool guard=computeExpression(g_guardExpr); setCaseDone(guard); //printf("if g_levelGuard[%d]=%d\n",g_level-1,g_levelGuard[g_level-1]); if (guard) { BEGIN(Start); } else { g_ifcount=0; BEGIN(SkipCPPBlock); } } YY_BREAK case 67: /* rule 67 can match eol */ YY_RULE_SETUP #line 2145 "pre.l" { g_yyLineNr++; outputChar('\n'); } YY_BREAK case 68: YY_RULE_SETUP #line 2146 "pre.l" { if (DefineManager::instance().isDefined(preYYtext) || g_guardName==preYYtext) g_guardExpr+=" 1L "; else g_guardExpr+=" 0L "; g_lastGuardName=preYYtext; BEGIN(Guard); } YY_BREAK case 69: YY_RULE_SETUP #line 2154 "pre.l" { if (DefineManager::instance().isDefined(preYYtext) || g_guardName==preYYtext) g_guardExpr+=" 1L "; else g_guardExpr+=" 0L "; g_lastGuardName=preYYtext; } YY_BREAK case 70: /* rule 70 can match eol */ YY_RULE_SETUP #line 2161 "pre.l" { // should not happen, handle anyway g_yyLineNr++; g_ifcount=0; BEGIN(SkipCPPBlock); } YY_BREAK case 71: YY_RULE_SETUP #line 2166 "pre.l" { BEGIN(Guard); } YY_BREAK case 72: YY_RULE_SETUP #line 2169 "pre.l" YY_BREAK case 73: YY_RULE_SETUP #line 2170 "pre.l" { BEGIN(SkipCommand); } YY_BREAK case 74: /* rule 74 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2171 "pre.l" { BEGIN(SkipLine); } YY_BREAK case 75: /* rule 75 can match eol */ YY_RULE_SETUP #line 2172 "pre.l" { g_yyLineNr++; outputChar('\n'); } YY_BREAK case 76: YY_RULE_SETUP #line 2173 "pre.l" YY_BREAK case 77: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2174 "pre.l" { incrLevel(); g_ifcount++; //printf("#if... depth=%d\n",g_ifcount); } YY_BREAK case 78: YY_RULE_SETUP #line 2179 "pre.l" { //printf("Else! g_ifcount=%d otherCaseDone=%d\n",g_ifcount,otherCaseDone()); if (g_ifcount==0 && !otherCaseDone()) { setCaseDone(TRUE); //outputChar('\n'); BEGIN(Start); } } YY_BREAK case 79: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2188 "pre.l" { if (g_ifcount==0) { if (!otherCaseDone()) { g_guardExpr.resize(0); g_lastGuardName.resize(0); BEGIN(Guard); } else { BEGIN(SkipCPPBlock); } } } YY_BREAK case 80: YY_RULE_SETUP #line 2203 "pre.l" { g_expectGuard = FALSE; decrLevel(); if (--g_ifcount<0) { //outputChar('\n'); BEGIN(Start); } } YY_BREAK case 81: /* rule 81 can match eol */ YY_RULE_SETUP #line 2212 "pre.l" { outputChar('\n'); g_yyLineNr++; BEGIN(SkipCPPBlock); } YY_BREAK case 82: YY_RULE_SETUP #line 2217 "pre.l" { // unknown directive BEGIN(SkipLine); } YY_BREAK case 83: YY_RULE_SETUP #line 2220 "pre.l" YY_BREAK case 84: YY_RULE_SETUP #line 2221 "pre.l" YY_BREAK case 85: YY_RULE_SETUP #line 2222 "pre.l" { } YY_BREAK case 86: YY_RULE_SETUP #line 2223 "pre.l" { BEGIN(SkipString); } YY_BREAK case 87: YY_RULE_SETUP #line 2226 "pre.l" YY_BREAK case 88: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 2; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2227 "pre.l" { } YY_BREAK case 89: YY_RULE_SETUP #line 2229 "pre.l" { g_lastCPPContext=YY_START; BEGIN(RemoveCPPComment); } YY_BREAK case 90: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 2; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2233 "pre.l" { } YY_BREAK case 91: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 2; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2235 "pre.l" { g_lastCContext=YY_START; BEGIN(RemoveCComment); } YY_BREAK case 92: /* rule 92 can match eol */ YY_RULE_SETUP #line 2239 "pre.l" { outputChar('\n'); g_yyLineNr++; BEGIN(SkipCPPBlock); } YY_BREAK case 93: YY_RULE_SETUP #line 2244 "pre.l" { } YY_BREAK case 94: YY_RULE_SETUP #line 2245 "pre.l" { } YY_BREAK case 95: YY_RULE_SETUP #line 2246 "pre.l" { BEGIN(SkipLine); } YY_BREAK case 96: YY_RULE_SETUP #line 2249 "pre.l" { } YY_BREAK case 97: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2250 "pre.l" { g_nospaces=TRUE; g_roundCount=0; g_defArgsStr=preYYtext; g_findDefArgContext = IncludeID; BEGIN(FindDefineArgs); } YY_BREAK case 98: YY_RULE_SETUP #line 2257 "pre.l" { g_nospaces=TRUE; readIncludeFile(expandMacro(preYYtext)); BEGIN(Start); } YY_BREAK case 99: YY_RULE_SETUP #line 2262 "pre.l" { g_incName+=preYYtext; readIncludeFile(g_incName); if (g_isImported) { BEGIN(EndImport); } else { BEGIN(Start); } } YY_BREAK case 100: /* rule 100 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2274 "pre.l" { BEGIN(Start); } YY_BREAK case 101: /* rule 101 can match eol */ YY_RULE_SETUP #line 2277 "pre.l" { outputChar('\n'); g_yyLineNr++; } YY_BREAK case 102: YY_RULE_SETUP #line 2281 "pre.l" { } YY_BREAK case 103: /* rule 103 can match eol */ YY_RULE_SETUP #line 2283 "pre.l" { // define with argument //printf("Define() `%s'\n",preYYtext); g_argDict = new QDict(31); g_argDict->setAutoDelete(TRUE); g_defArgs = 0; g_defArgsStr.resize(0); g_defText.resize(0); g_defLitText.resize(0); g_defName = preYYtext; g_defVarArgs = FALSE; g_defExtraSpacing.resize(0); BEGIN(DefineArg); } YY_BREAK case 104: /* rule 104 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2296 "pre.l" { // special case: define with 1 -> can be "guard" //printf("Define `%s'\n",preYYtext); g_argDict = 0; g_defArgs = -1; g_defArgsStr.resize(0); g_defName = preYYtext; g_defName = g_defName.left(g_defName.length()-1).stripWhiteSpace(); g_defVarArgs = FALSE; //printf("Guard check: %s!=%s || %d\n", // g_defName.data(),g_lastGuardName.data(),g_expectGuard); if (g_curlyCount>0 || g_defName!=g_lastGuardName || !g_expectGuard) { // define may appear in the output QCString tmp=(QCString)"#define "+g_defName; outputArray(tmp.data(),tmp.length()); g_quoteArg=FALSE; g_insideComment=FALSE; g_lastGuardName.resize(0); g_defText="1"; g_defLitText="1"; BEGIN(DefineText); } else // define is a guard => hide { //printf("Found a guard %s\n",preYYtext); g_defText.resize(0); g_defLitText.resize(0); BEGIN(Start); } g_expectGuard=FALSE; } YY_BREAK case 105: /* rule 105 can match eol */ YY_RULE_SETUP #line 2326 "pre.l" { // empty define g_argDict = 0; g_defArgs = -1; g_defName = preYYtext; g_defArgsStr.resize(0); g_defText.resize(0); g_defLitText.resize(0); g_defVarArgs = FALSE; //printf("Guard check: %s!=%s || %d\n", // g_defName.data(),g_lastGuardName.data(),g_expectGuard); if (g_curlyCount>0 || g_defName!=g_lastGuardName || !g_expectGuard) { // define may appear in the output QCString tmp=(QCString)"#define "+g_defName; outputArray(tmp.data(),tmp.length()); g_quoteArg=FALSE; g_insideComment=FALSE; if (g_insideCS) g_defText="1"; // for C#, use "1" as define text BEGIN(DefineText); } else // define is a guard => hide { //printf("Found a guard %s\n",preYYtext); g_guardName = preYYtext; g_lastGuardName.resize(0); BEGIN(Start); } g_expectGuard=FALSE; } YY_BREAK case 106: YY_RULE_SETUP #line 2354 "pre.l" { // define with content //printf("Define `%s'\n",preYYtext); g_argDict = 0; g_defArgs = -1; g_defArgsStr.resize(0); g_defText.resize(0); g_defLitText.resize(0); g_defName = preYYtext; g_defVarArgs = FALSE; QCString tmp=(QCString)"#define "+g_defName+g_defArgsStr; outputArray(tmp.data(),tmp.length()); g_quoteArg=FALSE; g_insideComment=FALSE; BEGIN(DefineText); } YY_BREAK case 107: /* rule 107 can match eol */ YY_RULE_SETUP #line 2369 "pre.l" { g_defExtraSpacing+="\n"; g_yyLineNr++; } YY_BREAK case 108: YY_RULE_SETUP #line 2373 "pre.l" { g_defArgsStr+=preYYtext; } YY_BREAK case 109: YY_RULE_SETUP #line 2374 "pre.l" { g_defArgsStr+=preYYtext; } YY_BREAK case 110: YY_RULE_SETUP #line 2375 "pre.l" { g_defArgsStr+=preYYtext; QCString tmp=(QCString)"#define "+g_defName+g_defArgsStr+g_defExtraSpacing; outputArray(tmp.data(),tmp.length()); g_quoteArg=FALSE; g_insideComment=FALSE; BEGIN(DefineText); } YY_BREAK case 111: YY_RULE_SETUP #line 2383 "pre.l" { // Variadic macro g_defVarArgs = TRUE; g_defArgsStr+=preYYtext; g_argDict->insert("__VA_ARGS__",new int(g_defArgs)); g_defArgs++; } YY_BREAK case 112: YY_RULE_SETUP #line 2389 "pre.l" { //printf("Define addArg(%s)\n",preYYtext); QCString argName=preYYtext; g_defVarArgs = preYYtext[preYYleng-1]=='.'; if (g_defVarArgs) // strip ellipsis { argName=argName.left(argName.length()-3); } argName = argName.stripWhiteSpace(); g_defArgsStr+=preYYtext; g_argDict->insert(argName,new int(g_defArgs)); g_defArgs++; } YY_BREAK /* "/ **"|"/ *!" { g_defText+=preYYtext; g_defLitText+=preYYtext; g_insideComment=TRUE; } "* /" { g_defText+=preYYtext; g_defLitText+=preYYtext; g_insideComment=FALSE; } */ case 113: YY_RULE_SETUP #line 2414 "pre.l" { g_defText+=preYYtext; g_defLitText+=preYYtext; g_lastCContext=YY_START; g_commentCount=1; BEGIN(CopyCComment); } YY_BREAK case 114: YY_RULE_SETUP #line 2421 "pre.l" { outputArray(preYYtext,(int)preYYleng); g_lastCPPContext=YY_START; g_defLitText+=' '; BEGIN(SkipCPPComment); } YY_BREAK case 115: YY_RULE_SETUP #line 2427 "pre.l" { if (preYYtext[0]=='/') outputChar('/'); outputChar('*');outputChar('/'); if (--g_commentCount<=0) { if (g_lastCContext==Start) // small hack to make sure that ^... rule will // match when going to Start... Example: "/*...*/ some stuff..." { YY_CURRENT_BUFFER->yy_at_bol=1; } BEGIN(g_lastCContext); } } YY_BREAK case 116: YY_RULE_SETUP #line 2441 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 117: YY_RULE_SETUP #line 2444 "pre.l" { outputChar('/');outputChar('*'); //g_commentCount++; } YY_BREAK case 118: YY_RULE_SETUP #line 2448 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 119: YY_RULE_SETUP #line 2451 "pre.l" { static bool markdownSupport = Config_getBool("MARKDOWN_SUPPORT"); if (!markdownSupport) { REJECT; } else { outputArray(preYYtext,(int)preYYleng); g_fenceSize=preYYleng; BEGIN(SkipVerbatim); } } YY_BREAK case 120: /* rule 120 can match eol */ YY_RULE_SETUP #line 2464 "pre.l" { outputArray(preYYtext,(int)preYYleng); g_yyLineNr+=QCString(preYYtext).contains('\n'); } YY_BREAK case 121: /* rule 121 can match eol */ YY_RULE_SETUP #line 2468 "pre.l" { outputArray(preYYtext,(int)preYYleng); g_yyLineNr+=QCString(preYYtext).contains('\n'); g_fenceSize=0; if (preYYtext[1]=='f') { g_blockName="f"; } else { QCString bn=&preYYtext[1]; int i = bn.find('{'); // for \code{.c} if (i!=-1) bn=bn.left(i); g_blockName=bn.stripWhiteSpace(); } BEGIN(SkipVerbatim); } YY_BREAK case 122: YY_RULE_SETUP #line 2485 "pre.l" { // escaped @cond outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 123: YY_RULE_SETUP #line 2488 "pre.l" { // conditional section g_ccomment=TRUE; g_condCtx=YY_START; BEGIN(CondLineCpp); } YY_BREAK case 124: YY_RULE_SETUP #line 2493 "pre.l" { // conditional section g_ccomment=FALSE; g_condCtx=YY_START; BEGIN(CondLineC); } YY_BREAK case 125: YY_RULE_SETUP #line 2498 "pre.l" { startCondSection(preYYtext); if (g_skip) { if (YY_START==CondLineC) { // end C comment outputArray("*/",2); g_ccomment=TRUE; } else { g_ccomment=FALSE; } BEGIN(SkipCond); } else { BEGIN(g_condCtx); } } YY_BREAK case 126: YY_RULE_SETUP #line 2519 "pre.l" { // non-guard character unput(*preYYtext); startCondSection(" "); if (g_skip) { if (YY_START==CondLineC) { // end C comment outputArray("*/",2); g_ccomment=TRUE; } else { g_ccomment=FALSE; } BEGIN(SkipCond); } else { BEGIN(g_condCtx); } } YY_BREAK case 127: /* rule 127 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2541 "pre.l" { // no guard if (YY_START==SkipCComment) { g_ccomment=TRUE; // end C comment outputArray("*/",2); } else { g_ccomment=FALSE; } g_condCtx=YY_START; startCondSection(" "); BEGIN(SkipCond); } YY_BREAK case 128: /* rule 128 can match eol */ YY_RULE_SETUP #line 2556 "pre.l" { g_yyLineNr++; outputChar('\n'); } YY_BREAK case 129: YY_RULE_SETUP #line 2557 "pre.l" { } YY_BREAK case 130: YY_RULE_SETUP #line 2558 "pre.l" { } YY_BREAK case 131: YY_RULE_SETUP #line 2559 "pre.l" { g_ccomment=FALSE; } YY_BREAK case 132: YY_RULE_SETUP #line 2560 "pre.l" { g_ccomment=TRUE; } YY_BREAK case 133: /* rule 133 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 9; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2561 "pre.l" { if (!g_skip) { outputArray(preYYtext,(int)preYYleng); } } YY_BREAK case 134: /* rule 134 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 8; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2567 "pre.l" { bool oldSkip = g_skip; endCondSection(); if (oldSkip && !g_skip) { if (g_ccomment) { outputArray("/** ",4); } BEGIN(g_condCtx); } } YY_BREAK case 135: /* rule 135 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 8; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ YY_RULE_SETUP #line 2579 "pre.l" { bool oldSkip = g_skip; endCondSection(); if (oldSkip && !g_skip) { BEGIN(g_condCtx); } } YY_BREAK case 136: YY_RULE_SETUP #line 2587 "pre.l" { /* end of verbatim block */ outputArray(preYYtext,(int)preYYleng); if (preYYtext[1]=='f' && g_blockName=="f") { BEGIN(SkipCComment); } else if (&preYYtext[4]==g_blockName) { BEGIN(SkipCComment); } } YY_BREAK case 137: YY_RULE_SETUP #line 2598 "pre.l" { outputArray(preYYtext,(int)preYYleng); if (g_fenceSize==preYYleng) { BEGIN(SkipCComment); } } YY_BREAK case 138: YY_RULE_SETUP #line 2605 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 139: YY_RULE_SETUP #line 2608 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 140: /* rule 140 can match eol */ YY_RULE_SETUP #line 2611 "pre.l" { g_yyLineNr++; outputChar('\n'); } YY_BREAK case 141: YY_RULE_SETUP #line 2615 "pre.l" { outputChar(*preYYtext); } YY_BREAK case 142: YY_RULE_SETUP #line 2618 "pre.l" { g_defLitText+=preYYtext; g_defText+=escapeAt(preYYtext); } YY_BREAK case 143: YY_RULE_SETUP #line 2622 "pre.l" { g_defLitText+=preYYtext; g_defText+=preYYtext; BEGIN(g_lastCContext); } YY_BREAK case 144: /* rule 144 can match eol */ YY_RULE_SETUP #line 2627 "pre.l" { g_yyLineNr++; outputChar('\n'); g_defLitText+=preYYtext; g_defText+=' '; } YY_BREAK case 145: YY_RULE_SETUP #line 2633 "pre.l" { // see bug 594021 for a usecase for this rule if (g_lastCContext==SkipCPPBlock) { BEGIN(SkipCommand); } else { REJECT; } } YY_BREAK case 146: YY_RULE_SETUP #line 2643 "pre.l" { BEGIN(g_lastCContext); } YY_BREAK case 147: YY_RULE_SETUP #line 2644 "pre.l" YY_BREAK case 148: YY_RULE_SETUP #line 2645 "pre.l" YY_BREAK case 149: YY_RULE_SETUP #line 2646 "pre.l" YY_BREAK case 150: /* rule 150 can match eol */ YY_RULE_SETUP #line 2647 "pre.l" { g_yyLineNr++; outputChar('\n'); } YY_BREAK case 151: YY_RULE_SETUP #line 2648 "pre.l" YY_BREAK case 152: YY_RULE_SETUP #line 2649 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 153: /* rule 153 can match eol */ YY_RULE_SETUP #line 2652 "pre.l" { unput(*preYYtext); BEGIN(g_lastCPPContext); } YY_BREAK case 154: YY_RULE_SETUP #line 2656 "pre.l" { outputChar('/');outputChar('*'); } YY_BREAK case 155: YY_RULE_SETUP #line 2659 "pre.l" { outputChar('/');outputChar('/'); } YY_BREAK case 156: YY_RULE_SETUP #line 2662 "pre.l" { outputArray(preYYtext,(int)preYYleng); } YY_BREAK case 157: YY_RULE_SETUP #line 2665 "pre.l" { outputChar(*preYYtext); } YY_BREAK case 158: YY_RULE_SETUP #line 2668 "pre.l" YY_BREAK case 159: YY_RULE_SETUP #line 2669 "pre.l" YY_BREAK case 160: YY_RULE_SETUP #line 2670 "pre.l" YY_BREAK case 161: YY_RULE_SETUP #line 2671 "pre.l" YY_BREAK case 162: YY_RULE_SETUP #line 2672 "pre.l" { g_quoteArg=TRUE; g_defLitText+=preYYtext; } YY_BREAK case 163: YY_RULE_SETUP #line 2676 "pre.l" { g_defLitText+=preYYtext; if (g_quoteArg) { g_defText+="\""; } if (g_defArgs>0) { int *n; if ((n=(*g_argDict)[preYYtext])) { //if (!g_quoteArg) g_defText+=' '; g_defText+='@'; QCString numStr; numStr.sprintf("%d",*n); g_defText+=numStr; //if (!g_quoteArg) g_defText+=' '; } else { g_defText+=preYYtext; } } else { g_defText+=preYYtext; } if (g_quoteArg) { g_defText+="\""; } g_quoteArg=FALSE; } YY_BREAK case 164: YY_RULE_SETUP #line 2709 "pre.l" { g_defLitText+=preYYtext; g_defText+=preYYtext; } YY_BREAK case 165: /* rule 165 can match eol */ YY_RULE_SETUP #line 2713 "pre.l" { g_defLitText+=preYYtext; outputChar('\n'); g_defText += ' '; g_yyLineNr++; g_yyMLines++; } YY_BREAK case 166: /* rule 166 can match eol */ YY_RULE_SETUP #line 2720 "pre.l" { QCString comment=extractTrailingComment(g_defLitText); g_defLitText+=preYYtext; if (!comment.isEmpty()) { outputArray(comment,comment.length()); g_defLitText=g_defLitText.left(g_defLitText.length()-comment.length()-1); } outputChar('\n'); Define *def=0; //printf("Define name=`%s' text=`%s' litTexti=`%s'\n",g_defName.data(),g_defText.data(),g_defLitText.data()); if (g_includeStack.isEmpty() || g_curlyCount>0) { addDefine(); } def=DefineManager::instance().isDefined(g_defName); if (def==0) // new define { //printf("new define '%s'!\n",g_defName.data()); Define *nd = newDefine(); DefineManager::instance().addDefine(g_yyFileName,nd); // also add it to the local file list if it is a source file //if (g_isSource && g_includeStack.isEmpty()) //{ // g_fileDefineDict->insert(g_defName,nd); //} } else if (def /*&& macroIsAccessible(def)*/) // name already exists { //printf("existing define!\n"); //printf("define found\n"); if (def->undef) // undefined name { def->undef = FALSE; def->name = g_defName; def->definition = g_defText.stripWhiteSpace(); def->nargs = g_defArgs; def->fileName = g_yyFileName.copy(); def->lineNr = g_yyLineNr-g_yyMLines; def->columnNr = g_yyColNr; } else { //printf("error: define %s is defined more than once!\n",g_defName.data()); } } delete g_argDict; g_argDict=0; g_yyLineNr++; g_yyColNr=1; g_lastGuardName.resize(0); BEGIN(Start); } YY_BREAK case 167: YY_RULE_SETUP #line 2774 "pre.l" { g_defText += ' '; g_defLitText+=preYYtext; } YY_BREAK case 168: YY_RULE_SETUP #line 2775 "pre.l" { g_defText += "##"; g_defLitText+=preYYtext; } YY_BREAK case 169: YY_RULE_SETUP #line 2776 "pre.l" { g_defText += "@@"; g_defLitText+=preYYtext; } YY_BREAK case 170: YY_RULE_SETUP #line 2777 "pre.l" { g_defText += *preYYtext; g_defLitText+=preYYtext; if (!g_insideComment) { BEGIN(SkipDoubleQuote); } } YY_BREAK case 171: YY_RULE_SETUP #line 2785 "pre.l" { g_defText += *preYYtext; g_defLitText+=preYYtext; if (!g_insideComment) { BEGIN(SkipSingleQuote); } } YY_BREAK case 172: YY_RULE_SETUP #line 2792 "pre.l" { g_defText += preYYtext; g_defLitText+=preYYtext; } YY_BREAK case 173: YY_RULE_SETUP #line 2793 "pre.l" { g_defText += preYYtext; g_defLitText+=preYYtext; } YY_BREAK case 174: YY_RULE_SETUP #line 2794 "pre.l" { g_defText += *preYYtext; g_defLitText+=preYYtext; BEGIN(DefineText); } YY_BREAK case 175: YY_RULE_SETUP #line 2798 "pre.l" { g_defText += preYYtext; g_defLitText+=preYYtext; } YY_BREAK case 176: YY_RULE_SETUP #line 2801 "pre.l" { g_defText += *preYYtext; g_defLitText+=preYYtext; BEGIN(DefineText); } YY_BREAK case 177: YY_RULE_SETUP #line 2805 "pre.l" { g_defText += *preYYtext; g_defLitText+=preYYtext; } YY_BREAK case 178: YY_RULE_SETUP #line 2806 "pre.l" { g_defText += *preYYtext; g_defLitText+=preYYtext; } YY_BREAK case 179: YY_RULE_SETUP #line 2807 "pre.l" { g_defText += *preYYtext; g_defLitText+=preYYtext; } YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(Start): case YY_STATE_EOF(Command): case YY_STATE_EOF(SkipCommand): case YY_STATE_EOF(SkipLine): case YY_STATE_EOF(SkipString): case YY_STATE_EOF(CopyLine): case YY_STATE_EOF(CopyString): case YY_STATE_EOF(Include): case YY_STATE_EOF(IncludeID): case YY_STATE_EOF(EndImport): case YY_STATE_EOF(DefName): case YY_STATE_EOF(DefineArg): case YY_STATE_EOF(DefineText): case YY_STATE_EOF(SkipCPPBlock): case YY_STATE_EOF(Ifdef): case YY_STATE_EOF(Ifndef): case YY_STATE_EOF(SkipCComment): case YY_STATE_EOF(ArgCopyCComment): case YY_STATE_EOF(CopyCComment): case YY_STATE_EOF(SkipVerbatim): case YY_STATE_EOF(SkipCPPComment): case YY_STATE_EOF(RemoveCComment): case YY_STATE_EOF(RemoveCPPComment): case YY_STATE_EOF(Guard): case YY_STATE_EOF(DefinedExpr1): case YY_STATE_EOF(DefinedExpr2): case YY_STATE_EOF(SkipDoubleQuote): case YY_STATE_EOF(SkipSingleQuote): case YY_STATE_EOF(UndefName): case YY_STATE_EOF(IgnoreLine): case YY_STATE_EOF(FindDefineArgs): case YY_STATE_EOF(ReadString): case YY_STATE_EOF(CondLineC): case YY_STATE_EOF(CondLineCpp): case YY_STATE_EOF(SkipCond): #line 2808 "pre.l" { DBG_CTX((stderr,"End of include file\n")); //printf("Include stack depth=%d\n",g_includeStack.count()); if (g_includeStack.isEmpty()) { DBG_CTX((stderr,"Terminating scanner!\n")); yyterminate(); } else { FileState *fs=g_includeStack.pop(); //fileDefineCache->merge(g_yyFileName,fs->fileName); YY_BUFFER_STATE oldBuf = YY_CURRENT_BUFFER; preYY_switch_to_buffer(fs->bufState ); preYY_delete_buffer(oldBuf ); g_yyLineNr = fs->lineNr; //preYYin = fs->oldYYin; g_inputBuf = fs->oldFileBuf; g_inputBufPos = fs->oldFileBufPos; setFileName(fs->fileName); DBG_CTX((stderr,"######## FileName %s\n",g_yyFileName.data())); // Deal with file changes due to // #include's within { .. } blocks QCString lineStr(15+g_yyFileName.length()); lineStr.sprintf("# %d \"%s\" 2",g_yyLineNr,g_yyFileName.data()); outputArray(lineStr.data(),lineStr.length()); delete fs; fs=0; } } YY_BREAK case 180: *yy_cp = (yy_hold_char); /* undo effects of setting up preYYtext */ (yy_c_buf_p) = yy_cp = yy_bp + 2; YY_DO_BEFORE_ACTION; /* set up preYYtext again */ #line 2840 "pre.l" case 181: YY_RULE_SETUP #line 2840 "pre.l" { if (YY_START==SkipVerbatim || YY_START==SkipCond) { REJECT; } else { outputArray(preYYtext,(int)preYYleng); g_lastCContext=YY_START; g_commentCount=1; if (preYYleng==3) g_lastGuardName.resize(0); // reset guard in case the #define is documented! BEGIN(SkipCComment); } } YY_BREAK case 182: YY_RULE_SETUP #line 2854 "pre.l" { if (YY_START==SkipVerbatim || YY_START==SkipCond) { REJECT; } else { outputArray(preYYtext,(int)preYYleng); g_lastCPPContext=YY_START; if (preYYleng==3) g_lastGuardName.resize(0); // reset guard in case the #define is documented! BEGIN(SkipCPPComment); } } YY_BREAK case 183: /* rule 183 can match eol */ YY_RULE_SETUP #line 2867 "pre.l" { outputChar('\n'); g_yyLineNr++; } YY_BREAK case 184: YY_RULE_SETUP #line 2871 "pre.l" { g_expectGuard = FALSE; outputChar(*preYYtext); } YY_BREAK case 185: YY_RULE_SETUP #line 2876 "pre.l" ECHO; YY_BREAK #line 6595 "" 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 preYYin at a new source and called * preYYlex(). 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 = preYYin; 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 ( preYYwrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * preYYtext, 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 preYYlex */ /* 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) { register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { yy_size_t num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); } 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; preYYrestart(preYYin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) preYYrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); (yy_state_ptr) = (yy_state_buf); *(yy_state_ptr)++ = yy_current_state; for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 59); 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 >= 1285 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *(yy_state_ptr)++ = yy_current_state; } 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 ) { register int yy_is_jam; register YY_CHAR yy_c = 59; 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 >= 1285 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_is_jam = (yy_current_state == 1284); if ( ! yy_is_jam ) *(yy_state_ptr)++ = yy_current_state; return yy_is_jam ? 0 : yy_current_state; } static void yyunput (int c, register char * yy_bp ) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up preYYtext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register yy_size_t number_to_move = (yy_n_chars) + 2; register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } #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 */ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ preYYrestart(preYYin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( preYYwrap( ) ) return EOF; 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 preYYtext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); 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 preYYrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ preYYensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = preYY_create_buffer(preYYin,YY_BUF_SIZE ); } preYY_init_buffer(YY_CURRENT_BUFFER,input_file ); preYY_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void preYY_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * preYYpop_buffer_state(); * preYYpush_buffer_state(new_buffer); */ preYYensure_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; preYY_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (preYYwrap()) processing, but the only time this flag * is looked at is after preYYwrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void preYY_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; preYYin = 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 preYY_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) preYYalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in preYY_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 *) preYYalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in preYY_create_buffer()" ); b->yy_is_our_buffer = 1; preYY_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with preYY_create_buffer() * */ void preYY_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 ) preYYfree((void *) b->yy_ch_buf ); preYYfree((void *) b ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a preYYrestart() or at EOF. */ static void preYY_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; preYY_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then preYY_init_buffer was _probably_ * called from preYYrestart() 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 preYY_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 ) preYY_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 preYYpush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; preYYensure_buffer_stack(); /* This block is copied from preYY_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 preYY_switch_to_buffer. */ preYY_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 preYYpop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; preYY_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { preYY_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 preYYensure_buffer_stack (void) { yy_size_t num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)preYYalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in preYYensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)preYYrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in preYYensure_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 preYY_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 0; b = (YY_BUFFER_STATE) preYYalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in preYY_scan_buffer()" ); b->yy_buf_size = 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 = 0; 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; preYY_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to preYYlex() 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 * preYY_scan_bytes() instead. */ YY_BUFFER_STATE preYY_scan_string (yyconst char * yystr ) { return preYY_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to preYYlex() 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 preYY_scan_bytes (yyconst char * yybytes, yy_size_t _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 = _yybytes_len + 2; buf = (char *) preYYalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in preYY_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 = preYY_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in preYY_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 yy_fatal_error (yyconst 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 preYYtext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ preYYtext[preYYleng] = (yy_hold_char); \ (yy_c_buf_p) = preYYtext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ preYYleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int preYYget_lineno (void) { return preYYlineno; } /** Get the input stream. * */ FILE *preYYget_in (void) { return preYYin; } /** Get the output stream. * */ FILE *preYYget_out (void) { return preYYout; } /** Get the length of the current token. * */ yy_size_t preYYget_leng (void) { return preYYleng; } /** Get the current token. * */ char *preYYget_text (void) { return preYYtext; } /** Set the current line number. * @param line_number * */ void preYYset_lineno (int line_number ) { preYYlineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see preYY_switch_to_buffer */ void preYYset_in (FILE * in_str ) { preYYin = in_str ; } void preYYset_out (FILE * out_str ) { preYYout = out_str ; } int preYYget_debug (void) { return preYY_flex_debug; } void preYYset_debug (int bdebug ) { preYY_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from preYYlex_destroy(), so don't allocate here. */ (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; (yy_state_buf) = 0; (yy_state_ptr) = 0; (yy_full_match) = 0; (yy_lp) = 0; /* Defined in main.c */ #ifdef YY_STDINIT preYYin = stdin; preYYout = stdout; #else preYYin = (FILE *) 0; preYYout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * preYYlex_init() */ return 0; } /* preYYlex_destroy is for both reentrant and non-reentrant scanners. */ int preYYlex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ preYY_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; preYYpop_buffer_state(); } /* Destroy the stack itself. */ preYYfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; preYYfree ( (yy_state_buf) ); (yy_state_buf) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * preYYlex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *preYYalloc (yy_size_t size ) { return (void *) malloc( size ); } void *preYYrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void preYYfree (void * ptr ) { free( (char *) ptr ); /* see preYYrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 2876 "pre.l" /*@ ---------------------------------------------------------------------------- */ static int getNextChar(const QCString &expr,QCString *rest,uint &pos) { //printf("getNextChar(%s,%s,%d)\n",expr.data(),rest ? rest->data() : 0,pos); if (posisEmpty()) { int cc=rest->at(0); *rest=rest->right(rest->length()-1); //printf("%c=rest\n",cc); return cc; } else { int cc=yyinput(); //printf("%d=yyinput() %d\n",cc,EOF); return cc; } } static int getCurrentChar(const QCString &expr,QCString *rest,uint pos) { //printf("getCurrentChar(%s,%s,%d)\n",expr.data(),rest ? rest->data() : 0,pos); if (posisEmpty()) { int cc=rest->at(0); //printf("%c=rest\n",cc); return cc; } else { int cc=yyinput(); returnCharToStream(cc); //unput((char)cc); //printf("%c=yyinput()\n",cc); return cc; } } static void unputChar(const QCString &expr,QCString *rest,uint &pos,char c) { //printf("unputChar(%s,%s,%d,%c)\n",expr.data(),rest ? rest->data() : 0,pos,c); if (posprepend(cs); } else { //unput(c); returnCharToStream(c); } //printf("result: unputChar(%s,%s,%d,%c)\n",expr.data(),rest ? rest->data() : 0,pos,c); } void addSearchDir(const char *dir) { QFileInfo fi(dir); if (fi.isDir()) g_pathList->append(fi.absFilePath().utf8()); } void initPreprocessor() { g_pathList = new QStrList; addSearchDir("."); g_expandedDict = new DefineDict(17); } void cleanUpPreprocessor() { delete g_expandedDict; g_expandedDict=0; delete g_pathList; g_pathList=0; DefineManager::deleteInstance(); } void preprocessFile(const char *fileName,BufStr &input,BufStr &output) { printlex(preYY_flex_debug, TRUE, __FILE__, fileName); uint orgOffset=output.curPos(); //printf("##########################\n%s\n####################\n", // input.data()); g_macroExpansion = Config_getBool("MACRO_EXPANSION"); g_expandOnlyPredef = Config_getBool("EXPAND_ONLY_PREDEF"); g_skip=FALSE; g_curlyCount=0; g_nospaces=FALSE; g_inputBuf=&input; g_inputBufPos=0; g_outputBuf=&output; g_includeStack.setAutoDelete(TRUE); g_includeStack.clear(); g_expandedDict->setAutoDelete(FALSE); g_expandedDict->clear(); g_condStack.clear(); g_condStack.setAutoDelete(TRUE); //g_fileDefineDict->clear(); setFileName(fileName); g_inputFileDef = g_yyFileDef; DefineManager::instance().startContext(g_yyFileName); static bool firstTime=TRUE; if (firstTime) { // add predefined macros char *defStr; QStrList &predefList = Config_getList("PREDEFINED"); QStrListIterator sli(predefList); for (sli.toFirst();(defStr=sli.current());++sli) { QCString ds = defStr; int i_equals=ds.find('='); int i_obrace=ds.find('('); int i_cbrace=ds.find(')'); bool nonRecursive = i_equals>0 && ds.at(i_equals-1)==':'; if (i_obrace==0) continue; // no define name if (i_obrace argDict(17); argDict.setAutoDelete(TRUE); int i=i_obrace+1,p,l,count=0; // gather the formal arguments in a dictionary while (ii) definition+=tmp.mid(i,p-i); int *argIndex; if ((argIndex=argDict[tmp.mid(p,l)])!=0) { QCString marker; marker.sprintf(" @%d ",*argIndex); definition+=marker; } else { definition+=tmp.mid(p,l); } i=p+l; } if (i<(int)tmp.length()) definition+=tmp.mid(i,tmp.length()-i); // add define definition to the dictionary of defines for this file QCString dname = ds.left(i_obrace); if (!dname.isEmpty()) { Define *def = new Define; def->name = dname; def->definition = definition; def->nargs = count; def->isPredefined = TRUE; def->nonRecursive = nonRecursive; def->fileDef = g_yyFileDef; def->fileName = fileName; DefineManager::instance().addDefine(g_yyFileName,def); } //printf("#define `%s' `%s' #nargs=%d\n", // def->name.data(),def->definition.data(),def->nargs); } else if ((i_obrace==-1 || i_obrace>i_equals) && (i_cbrace==-1 || i_cbrace>i_equals) && !ds.isEmpty() && (int)ds.length()>i_equals ) // predefined non-function macro definition { //printf("predefined normal macro '%s'\n",defStr); Define *def = new Define; if (i_equals==-1) // simple define without argument { def->name = ds; def->definition = "1"; // substitute occurrences by 1 (true) } else // simple define with argument { int ine=i_equals - (nonRecursive ? 1 : 0); def->name = ds.left(ine); def->definition = ds.right(ds.length()-i_equals-1); } if (!def->name.isEmpty()) { def->nargs = -1; def->isPredefined = TRUE; def->nonRecursive = nonRecursive; def->fileDef = g_yyFileDef; def->fileName = fileName; DefineManager::instance().addDefine(g_yyFileName,def); } else { delete def; } //printf("#define `%s' `%s' #nargs=%d\n", // def->name.data(),def->definition.data(),def->nargs); } } //firstTime=FALSE; } g_yyLineNr = 1; g_yyColNr = 1; g_level = 0; g_ifcount = 0; BEGIN( Start ); g_expectGuard = guessSection(fileName)==Entry::HEADER_SEC; g_guardName.resize(0); g_lastGuardName.resize(0); g_guardExpr.resize(0); preYYlex(); g_lexInit=TRUE; while (!g_condStack.isEmpty()) { CondCtx *ctx = g_condStack.pop(); QCString sectionInfo = " "; if (ctx->sectionId!=" ") sectionInfo.sprintf(" with label %s ",ctx->sectionId.data()); warn(fileName,ctx->lineNr,"Conditional section%sdoes not have " "a corresponding \\endcond command within this file.",sectionInfo.data()); } // make sure we don't extend a \cond with missing \endcond over multiple files (see bug 624829) forceEndCondSection(); // remove locally defined macros so they can be redefined in another source file //if (g_fileDefineDict->count()>0) //{ // QDictIterator di(*g_fileDefineDict); // Define *d; // for (di.toFirst();(d=di.current());++di) // { // g_globalDefineDict->remove(di.currentKey()); // } // g_fileDefineDict->clear(); //} if (Debug::isFlagSet(Debug::Preprocessor)) { char *orgPos=output.data()+orgOffset; char *newPos=output.data()+output.curPos(); Debug::print(Debug::Preprocessor,0,"Preprocessor output (size: %d bytes):\n",newPos-orgPos); int line=1; Debug::print(Debug::Preprocessor,0,"---------\n00001 "); while (orgPos0) { Debug::print(Debug::Preprocessor,0,"Macros accessible in this file:\n"); Debug::print(Debug::Preprocessor,0,"---------\n"); QDictIterator di(DefineManager::instance().defineContext()); Define *def; for (di.toFirst();(def=di.current());++di) { Debug::print(Debug::Preprocessor,0,"%s ",def->name.data()); } Debug::print(Debug::Preprocessor,0,"\n---------\n"); } else { Debug::print(Debug::Preprocessor,0,"No macros accessible in this file.\n"); } } DefineManager::instance().endContext(); printlex(preYY_flex_debug, FALSE, __FILE__, fileName); } void preFreeScanner() { #if defined(YY_FLEX_SUBMINOR_VERSION) if (g_lexInit) { preYYlex_destroy(); } #endif } #if !defined(YY_FLEX_SUBMINOR_VERSION) extern "C" { // some bogus code to keep the compiler happy // int preYYwrap() { return 1 ; } void preYYdummy() { yy_flex_realloc(0,0); } } #endif