#line 3 "scan.c" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 31 #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 #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; #endif /* ! C99 */ /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ #if __STDC__ #define YY_USE_CONST #endif /* __STDC__ */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #define YY_BUF_SIZE 16384 #endif #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) /* The following is because we cannot portably get our hands on size_t * (without autoconf's help, which isn't available because we want * flex-generated scanners to compile on their own). */ #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef unsigned int yy_size_t; #endif #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. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 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 yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 1; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 201 #define YY_END_OF_BUFFER 202 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[973] = { 0, 0, 0, 0, 0, 122, 122, 199, 199, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 202, 200, 9, 20, 200, 18, 1, 19, 200, 200, 200, 200, 17, 143, 135, 136, 143, 128, 143, 142, 143, 143, 143, 142, 134, 124, 143, 143, 126, 127, 122, 123, 122, 121, 120, 121, 199, 199, 30, 31, 30, 30, 30, 30, 30, 30, 37, 36, 38, 200, 149, 149, 144, 149, 145, 146, 148, 150, 177, 178, 177, 175, 174, 176, 151, 153, 151, 152, 151, 156, 156, 156, 156, 158, 160, 158, 158, 158, 158, 159, 187, 191, 187, 190, 192, 192, 188, 188, 188, 185, 186, 200, 117, 200, 23, 24, 23, 22, 193, 195, 193, 196, 197, 183, 183, 184, 183, 183, 183, 183, 183, 183, 183, 116, 40, 39, 116, 116, 116, 116, 41, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 28, 25, 28, 26, 35, 34, 200, 33, 32, 9, 20, 0, 18, 1, 19, 0, 0, 0, 16, 10, 0, 0, 0, 0, 4, 16, 5, 0, 2, 17, 135, 136, 0, 0, 0, 130, 0, 0, 140, 140, 0, 198, 198, 198, 129, 0, 134, 124, 0, 0, 0, 126, 127, 139, 125, 0, 122, 123, 121, 120, 120, 118, 119, 199, 199, 30, 31, 30, 30, 30, 30, 37, 36, 38, 0, 144, 0, 144, 147, 148, 178, 174, 153, 0, 154, 155, 160, 157, 187, 191, 0, 189, 0, 180, 188, 188, 188, 0, 117, 0, 23, 24, 23, 21, 193, 195, 194, 183, 183, 183, 184, 179, 183, 183, 183, 40, 39, 0, 115, 0, 0, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 42, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 0, 27, 26, 35, 34, 0, 16, 10, 0, 14, 0, 0, 0, 0, 0, 4, 16, 5, 0, 6, 0, 131, 0, 132, 0, 0, 140, 140, 0, 140, 140, 140, 198, 198, 0, 141, 125, 133, 0, 139, 0, 118, 119, 30, 30, 30, 29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 179, 179, 183, 183, 0, 0, 116, 116, 116, 116, 116, 116, 116, 54, 116, 116, 116, 59, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 0, 116, 116, 116, 116, 116, 116, 116, 116, 116, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 4, 8, 5, 0, 140, 140, 140, 140, 140, 140, 198, 141, 0, 0, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 183, 183, 43, 44, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 60, 61, 116, 116, 116, 116, 66, 116, 116, 116, 116, 116, 116, 116, 71, 116, 116, 116, 116, 116, 116, 116, 116, 116, 80, 0, 0, 0, 116, 116, 116, 116, 116, 116, 116, 116, 116, 0, 15, 0, 0, 0, 0, 0, 8, 8, 8, 0, 140, 140, 140, 140, 140, 140, 0, 0, 30, 30, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 183, 183, 45, 116, 116, 47, 116, 51, 116, 116, 116, 116, 57, 116, 116, 62, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 74, 116, 116, 116, 116, 78, 116, 0, 0, 0, 0, 116, 116, 116, 116, 116, 116, 116, 116, 116, 3, 0, 0, 0, 8, 7, 8, 0, 140, 140, 140, 0, 0, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 181, 182, 181, 182, 116, 116, 116, 50, 116, 116, 116, 116, 116, 116, 112, 116, 116, 116, 116, 116, 116, 116, 116, 110, 116, 73, 116, 76, 116, 77, 116, 0, 0, 0, 0, 116, 116, 92, 0, 116, 82, 116, 0, 83, 0, 12, 0, 13, 0, 138, 0, 137, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 116, 116, 116, 116, 116, 116, 55, 116, 58, 116, 116, 116, 116, 116, 109, 116, 70, 116, 116, 75, 116, 79, 0, 0, 0, 0, 90, 111, 0, 0, 0, 0, 0, 0, 116, 116, 0, 0, 0, 0, 0, 0, 137, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 116, 116, 116, 116, 116, 116, 56, 116, 116, 116, 67, 116, 116, 116, 116, 116, 116, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 81, 116, 0, 0, 102, 0, 0, 0, 0, 0, 11, 0, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 0, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 72, 116, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 0, 91, 0, 0, 0, 0, 0, 104, 172, 116, 116, 116, 116, 116, 116, 116, 116, 116, 64, 116, 116, 116, 116, 116, 0, 0, 0, 0, 0, 0, 0, 0, 97, 0, 107, 105, 98, 0, 0, 0, 108, 106, 116, 116, 116, 116, 116, 116, 116, 112, 63, 116, 69, 116, 113, 116, 0, 0, 0, 0, 0, 0, 93, 95, 0, 94, 96, 0, 116, 116, 116, 52, 116, 116, 116, 116, 65, 116, 85, 0, 0, 0, 0, 86, 99, 100, 116, 116, 116, 116, 116, 116, 116, 114, 84, 0, 88, 0, 116, 116, 116, 116, 116, 116, 87, 89, 116, 116, 49, 53, 116, 116, 116, 48, 116, 116, 68, 46, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 6, 7, 8, 9, 1, 10, 11, 11, 12, 13, 14, 15, 11, 16, 17, 17, 17, 17, 17, 17, 17, 18, 19, 20, 21, 1, 22, 23, 24, 11, 1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 48, 27, 28, 29, 30, 31, 1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 48, 57, 58, 59, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[60] = { 0, 1, 1, 2, 1, 3, 4, 1, 1, 1, 5, 1, 6, 7, 1, 8, 5, 9, 9, 9, 9, 1, 1, 1, 1, 10, 11, 1, 12, 13, 1, 14, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 1, 18 } ; static yyconst flex_int16_t yy_base[1070] = { 0, 0, 59, 117, 175, 121, 129, 3236, 3235, 234, 3228, 138, 144, 293, 0, 3206, 3205, 145, 152, 187, 193, 124, 179, 350, 353, 382, 0, 132, 153, 205, 211, 439, 443, 471, 0, 530, 0, 354, 444, 587, 588, 3234, 3240, 217, 3240, 3230, 0, 222, 3240, 3229, 151, 639, 3219, 0, 3240, 592, 3240, 3227, 3240, 226, 3240, 3207, 133, 581, 344, 600, 3240, 3225, 595, 3205, 3240, 0, 3240, 3223, 0, 3223, 310, 3221, 3240, 0, 3240, 3220, 3240, 0, 3186, 3165, 3161, 0, 3217, 3240, 3215, 3240, 449, 3215, 3213, 3240, 3185, 0, 3240, 3240, 3240, 3211, 3240, 438, 3240, 3240, 3240, 3210, 3240, 594, 3240, 3191, 596, 197, 3240, 3240, 3208, 0, 3189, 600, 3240, 0, 3240, 3206, 3240, 157, 3196, 0, 3171, 3150, 3240, 3240, 463, 3240, 603, 616, 3240, 620, 3189, 0, 3240, 3201, 3240, 0, 0, 357, 3240, 3200, 3143, 3240, 3189, 0, 3164, 3143, 3240, 3196, 3240, 3194, 3190, 3162, 3161, 3240, 583, 575, 597, 3157, 3158, 568, 0, 3155, 3145, 3153, 433, 143, 3136, 588, 3151, 3135, 3153, 3139, 3147, 3150, 3125, 3240, 3240, 3174, 621, 0, 3240, 3176, 3240, 3240, 651, 3240, 3175, 0, 657, 3240, 3174, 625, 3136, 0, 0, 690, 695, 699, 718, 0, 3129, 0, 628, 3240, 0, 667, 3240, 3171, 3116, 658, 3240, 3169, 3135, 173, 432, 625, 3240, 358, 0, 3240, 3111, 725, 3240, 3166, 3111, 3155, 3144, 3240, 0, 3240, 3129, 0, 3240, 0, 0, 3162, 0, 0, 3160, 3240, 0, 3240, 0, 3121, 3117, 783, 0, 3158, 3240, 662, 3157, 3155, 3155, 3240, 0, 3240, 725, 3240, 811, 3240, 3240, 3240, 3240, 0, 3240, 185, 3240, 0, 3240, 0, 3115, 3111, 674, 3240, 700, 719, 3240, 726, 3240, 0, 3240, 3240, 0, 697, 3095, 3240, 866, 0, 3112, 3108, 3149, 3240, 3144, 3240, 3109, 3108, 0, 686, 3097, 3097, 623, 3095, 3131, 3093, 645, 3092, 3091, 3097, 3107, 636, 3083, 3097, 3085, 0, 3082, 3240, 3083, 3084, 708, 3096, 718, 717, 3098, 713, 3081, 3080, 895, 3122, 3240, 748, 0, 3240, 3082, 0, 0, 938, 3240, 3123, 945, 3076, 3073, 3083, 0, 3075, 0, 758, 3240, 766, 3240, 767, 3240, 770, 3075, 705, 753, 913, 968, 1011, 1023, 739, 0, 3061, 774, 3240, 3240, 3083, 0, 3072, 0, 0, 3081, 3070, 1060, 3240, 0, 1119, 3094, 826, 916, 907, 913, 1101, 645, 1110, 121, 914, 827, 3078, 3067, 0, 1178, 3076, 3065, 3059, 3058, 3070, 3075, 3066, 3073, 3062, 3069, 3056, 0, 3065, 3048, 3067, 0, 3047, 3054, 3061, 3043, 3058, 3078, 3047, 3059, 3054, 3052, 3051, 3042, 3046, 3048, 3049, 3038, 3046, 3047, 810, 3037, 3029, 3026, 3044, 3031, 983, 3032, 3031, 3024, 3036, 3031, 3024, 3033, 3032, 3018, 3030, 848, 1149, 3240, 852, 1153, 1042, 3033, 3024, 3018, 0, 995, 0, 3025, 1213, 1147, 1253, 3040, 1186, 1274, 3240, 3240, 3014, 3022, 3024, 3008, 0, 3027, 1195, 730, 915, 933, 1014, 1136, 1123, 1188, 1189, 1194, 1190, 3021, 3005, 3019, 3003, 3240, 3240, 3006, 2994, 3034, 2992, 2995, 3007, 3000, 1259, 3006, 2991, 0, 0, 3006, 2990, 2991, 3005, 0, 3023, 2988, 2996, 3020, 2983, 2978, 2992, 0, 2980, 2996, 2987, 2983, 2975, 2990, 2974, 2973, 2977, 0, 813, 2988, 2975, 2977, 2987, 2982, 2966, 2971, 2966, 2982, 2962, 2980, 3009, 3240, 1214, 1220, 2954, 2963, 2957, 0, 1218, 1224, 2983, 2985, 1286, 1298, 1252, 1004, 1009, 2968, 2980, 2952, 2966, 3240, 1160, 1256, 1255, 1263, 1203, 1197, 100, 1276, 1303, 1304, 1124, 1284, 2950, 2964, 2948, 2962, 0, 2947, 183, 0, 2949, 0, 2980, 1279, 2942, 2957, 0, 2949, 2942, 0, 2958, 2943, 2952, 2972, 2943, 2936, 2948, 2968, 2927, 2932, 2929, 0, 2939, 2927, 2927, 2941, 0, 2925, 2927, 2923, 2940, 2924, 2924, 2919, 2932, 2936, 2930, 2929, 2921, 2932, 2915, 2959, 1229, 2915, 2923, 1337, 3240, 2955, 2933, 1299, 1026, 1255, 2932, 2931, 0, 0, 1299, 1315, 925, 1320, 1323, 1325, 1324, 1327, 1328, 1329, 1331, 1330, 0, 0, 0, 0, 2939, 2917, 2903, 0, 1323, 2906, 2914, 2906, 2898, 2896, 2931, 2911, 2900, 2909, 2902, 2905, 2904, 2890, 2904, 0, 2905, 0, 2885, 0, 2920, 0, 2898, 2902, 2893, 2886, 2899, 2895, 2878, 0, 1341, 2882, 0, 2883, 1350, 0, 1350, 3240, 1354, 3240, 2876, 3240, 2900, 3240, 2902, 2901, 2900, 2899, 2898, 2897, 2896, 2895, 2894, 2893, 2892, 1337, 2872, 2874, 2864, 2860, 2862, 2857, 2861, 0, 2855, 0, 2867, 2852, 2855, 2851, 2803, 0, 2796, 0, 2796, 2776, 0, 317, 0, 2753, 2754, 2751, 2728, 0, 0, 2741, 2716, 2725, 1355, 2717, 2732, 2714, 2703, 2672, 2652, 2654, 1329, 2646, 1357, 3240, 2630, 2612, 2597, 2596, 2578, 2574, 2573, 2572, 2569, 2550, 2545, 2552, 2521, 2525, 2513, 2521, 2526, 2520, 2502, 0, 2504, 2496, 2502, 0, 2469, 2447, 2448, 2420, 2427, 2430, 2410, 2410, 1321, 2407, 2421, 2402, 3240, 2407, 2401, 2399, 2393, 2373, 2364, 0, 2384, 2378, 2359, 3240, 2364, 2360, 2373, 2350, 1394, 3240, 1397, 3240, 3240, 3240, 3240, 3240, 3240, 3240, 3240, 3240, 3240, 3240, 2368, 2310, 2298, 2279, 2272, 2257, 2226, 2228, 2221, 2210, 2206, 2220, 2206, 2207, 0, 2192, 2179, 2185, 2143, 808, 2142, 2135, 2114, 2111, 2121, 2104, 2088, 2064, 3240, 2055, 0, 2036, 2035, 2047, 2048, 2036, 3240, 3240, 2024, 2015, 2003, 2009, 1995, 1995, 1991, 2005, 2001, 0, 1984, 1964, 1975, 1963, 1957, 1932, 1924, 1918, 1883, 1881, 1878, 1886, 1891, 3240, 1876, 3240, 3240, 3240, 1876, 1871, 1840, 3240, 3240, 1831, 1828, 1803, 1822, 1813, 1812, 1805, 0, 0, 1812, 0, 1792, 0, 1803, 1803, 1784, 1794, 1759, 1737, 1723, 3240, 3240, 1708, 3240, 3240, 1707, 1701, 1675, 1663, 0, 1663, 1633, 1630, 1373, 0, 1350, 3240, 1369, 1368, 1353, 1356, 3240, 3240, 3240, 1360, 1343, 1347, 1330, 1321, 1265, 1247, 0, 3240, 124, 3240, 405, 419, 551, 585, 661, 729, 812, 3240, 3240, 911, 910, 0, 0, 1013, 1100, 1108, 0, 1192, 1195, 0, 0, 3240, 1408, 1426, 1444, 1462, 1480, 1498, 1516, 1534, 1552, 1570, 1588, 1606, 1624, 1642, 1660, 1671, 1687, 1697, 1713, 1731, 1741, 1757, 1775, 1793, 1811, 1829, 1840, 1856, 1867, 1883, 1901, 1919, 1932, 1943, 1959, 1977, 1995, 2013, 2031, 2042, 2058, 2070, 1352, 2086, 2104, 2120, 2138, 2147, 2154, 2170, 2181, 2197, 2215, 2233, 2243, 2251, 2269, 2287, 2305, 2323, 2341, 2359, 2377, 2395, 2406, 2422, 2433, 2440, 2456, 2469, 2480, 2496, 2514, 2532, 2550, 2561, 2577, 2589, 2605, 2623, 2639, 2657, 2675, 2686, 2695, 2711, 2729, 2747, 2757, 2765, 2783, 2801, 2819, 2830, 2846, 2864, 2882 } ; static yyconst flex_int16_t yy_def[1070] = { 0, 972, 972, 973, 973, 974, 975, 976, 976, 972, 9, 977, 977, 972, 13, 978, 978, 979, 979, 980, 980, 981, 981, 982, 982, 972, 25, 983, 983, 984, 984, 985, 985, 972, 33, 972, 35, 986, 986, 987, 987, 972, 972, 972, 972, 972, 988, 972, 972, 972, 972, 989, 972, 990, 972, 972, 972, 972, 972, 972, 972, 972, 991, 992, 993, 972, 972, 972, 972, 972, 972, 994, 972, 994, 995, 996, 995, 997, 972, 998, 972, 998, 972, 999, 999, 999, 998, 1000, 972, 972, 972, 972, 972, 972, 972, 972, 972, 1001, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 992, 972, 972, 992, 1002, 972, 972, 972, 1003, 972, 992, 972, 1004, 972, 1004, 972, 1005, 972, 1006, 1006, 1006, 972, 972, 1007, 972, 1007, 1008, 972, 1008, 972, 1009, 972, 1009, 972, 1010, 1011, 1011, 972, 1011, 1011, 972, 1011, 1012, 1012, 1012, 972, 972, 972, 972, 1013, 972, 972, 972, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1015, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 972, 972, 1016, 972, 1017, 972, 972, 972, 972, 972, 972, 972, 988, 972, 972, 972, 972, 972, 1018, 1019, 972, 972, 972, 972, 1020, 1018, 1021, 1022, 972, 1023, 972, 972, 972, 972, 1024, 972, 972, 972, 1025, 1025, 1026, 972, 972, 1027, 972, 1028, 972, 972, 972, 972, 972, 972, 972, 1029, 972, 972, 1030, 972, 1031, 1032, 1032, 1033, 1034, 1035, 972, 1036, 972, 1037, 1037, 1037, 972, 1038, 972, 972, 972, 972, 972, 972, 972, 1039, 972, 972, 972, 1040, 972, 972, 972, 972, 1041, 972, 1042, 972, 1042, 972, 1043, 1043, 1043, 1044, 972, 1044, 1045, 972, 1045, 972, 1046, 972, 972, 1047, 1047, 1047, 972, 972, 1048, 1048, 1048, 972, 972, 1049, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1051, 972, 972, 1052, 972, 972, 1053, 1054, 1055, 972, 972, 972, 972, 972, 972, 1056, 1053, 1057, 1058, 972, 1058, 972, 1059, 972, 1059, 972, 1060, 1060, 1060, 972, 1060, 1060, 972, 1061, 1062, 972, 972, 972, 972, 1063, 972, 1064, 1065, 1066, 1066, 972, 972, 380, 380, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1043, 1043, 294, 294, 1048, 1048, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 1055, 1055, 972, 1055, 1055, 972, 972, 972, 972, 1056, 1067, 1057, 972, 364, 1060, 366, 364, 1060, 366, 972, 972, 972, 972, 1066, 1066, 383, 972, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1043, 1043, 1048, 1048, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 1055, 1055, 972, 972, 972, 1067, 1067, 1067, 972, 463, 1060, 366, 1060, 1060, 1060, 972, 972, 1066, 1066, 972, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1043, 1043, 1048, 1048, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 1068, 972, 972, 1067, 972, 1067, 972, 1060, 1060, 1060, 972, 972, 1066, 1066, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1043, 1043, 1048, 1048, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 1050, 1050, 1050, 972, 1050, 1050, 1050, 972, 1050, 1068, 972, 1068, 972, 972, 972, 972, 972, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 1050, 1050, 972, 972, 972, 972, 972, 972, 1050, 1050, 972, 972, 972, 972, 972, 1069, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 1040, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 1050, 1050, 972, 972, 972, 972, 972, 972, 972, 1069, 972, 1069, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 1050, 972, 972, 972, 972, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 972, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 972, 972, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 0, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972 } ; static yyconst flex_int16_t yy_nxt[3300] = { 0, 42, 43, 44, 42, 45, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 46, 46, 42, 42, 42, 42, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 42, 42, 42, 42, 47, 48, 42, 49, 42, 50, 42, 51, 42, 42, 42, 42, 42, 42, 52, 42, 42, 42, 42, 42, 42, 42, 42, 53, 53, 42, 42, 42, 42, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 42, 42, 42, 55, 56, 476, 57, 58, 72, 59, 73, 42, 60, 60, 60, 75, 72, 60, 73, 133, 645, 134, 76, 61, 88, 89, 476, 90, 62, 63, 88, 89, 100, 90, 101, 111, 112, 199, 113, 100, 133, 101, 134, 102, 222, 223, 103, 103, 103, 103, 102, 274, 485, 103, 103, 103, 103, 958, 64, 60, 60, 65, 66, 322, 67, 58, 42, 59, 68, 275, 60, 60, 60, 323, 106, 60, 107, 108, 200, 274, 106, 69, 107, 108, 362, 363, 62, 63, 104, 70, 111, 112, 136, 113, 137, 104, 268, 275, 136, 109, 137, 138, 656, 192, 193, 109, 194, 138, 196, 197, 268, 198, 218, 218, 657, 219, 64, 60, 60, 79, 79, 80, 79, 81, 79, 79, 79, 79, 79, 79, 82, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 83, 83, 79, 79, 79, 79, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 84, 83, 83, 83, 83, 83, 83, 85, 79, 79, 79, 91, 92, 93, 91, 94, 91, 91, 91, 91, 91, 91, 95, 91, 95, 91, 91, 91, 91, 91, 91, 91, 91, 91, 96, 97, 97, 91, 91, 91, 91, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 91, 91, 91, 115, 787, 116, 115, 184, 116, 291, 185, 227, 227, 227, 227, 117, 292, 244, 117, 245, 788, 186, 186, 186, 186, 367, 367, 118, 119, 120, 118, 119, 120, 121, 121, 122, 121, 123, 124, 121, 121, 121, 125, 121, 121, 121, 121, 121, 126, 121, 121, 121, 121, 121, 121, 121, 121, 127, 127, 121, 121, 121, 121, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 127, 127, 127, 127, 127, 127, 129, 130, 121, 131, 140, 959, 141, 142, 140, 184, 141, 142, 185, 257, 258, 364, 259, 264, 264, 264, 264, 362, 363, 186, 186, 186, 186, 319, 281, 143, 282, 320, 960, 143, 144, 145, 146, 144, 147, 144, 144, 144, 148, 144, 144, 149, 144, 144, 144, 150, 144, 144, 144, 144, 144, 144, 144, 144, 151, 151, 144, 144, 144, 144, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, 152, 151, 151, 151, 151, 151, 151, 153, 144, 144, 144, 154, 155, 156, 154, 157, 158, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 159, 160, 154, 154, 154, 161, 154, 154, 154, 154, 154, 154, 154, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 168, 168, 171, 172, 173, 174, 175, 168, 176, 177, 178, 179, 180, 181, 168, 182, 154, 154, 154, 188, 188, 189, 189, 213, 214, 961, 215, 225, 225, 314, 216, 229, 230, 236, 231, 281, 308, 282, 232, 310, 225, 225, 225, 225, 309, 233, 225, 225, 284, 315, 285, 234, 284, 325, 285, 305, 199, 306, 311, 235, 354, 307, 355, 326, 962, 226, 327, 337, 337, 337, 337, 365, 365, 190, 190, 191, 191, 202, 226, 217, 226, 237, 192, 193, 226, 194, 407, 217, 196, 197, 358, 198, 359, 257, 258, 476, 259, 200, 213, 214, 203, 215, 204, 408, 204, 216, 281, 412, 282, 366, 204, 413, 418, 204, 205, 206, 419, 204, 207, 208, 482, 343, 344, 209, 345, 210, 343, 344, 291, 345, 343, 344, 281, 345, 282, 292, 346, 346, 346, 346, 963, 346, 346, 346, 346, 346, 346, 346, 346, 343, 344, 284, 345, 285, 217, 403, 229, 230, 284, 231, 285, 362, 363, 232, 346, 346, 346, 346, 347, 404, 233, 264, 264, 264, 264, 348, 234, 426, 432, 429, 476, 433, 435, 430, 235, 224, 224, 427, 431, 436, 354, 565, 355, 349, 337, 337, 337, 337, 354, 358, 355, 359, 358, 463, 359, 470, 470, 470, 470, 362, 363, 964, 217, 380, 380, 381, 380, 382, 380, 380, 380, 380, 380, 380, 383, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 383, 383, 380, 380, 380, 380, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 380, 380, 380, 385, 386, 387, 388, 476, 476, 389, 522, 542, 965, 543, 390, 452, 523, 543, 391, 611, 880, 392, 487, 393, 881, 612, 394, 397, 397, 477, 397, 397, 397, 397, 397, 397, 397, 397, 398, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, 398, 398, 397, 397, 397, 397, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 397, 397, 397, 439, 440, 476, 441, 464, 464, 442, 443, 476, 476, 476, 476, 444, 445, 451, 452, 361, 453, 446, 447, 476, 455, 344, 448, 345, 966, 479, 480, 476, 454, 454, 454, 454, 478, 967, 486, 346, 346, 346, 346, 566, 705, 465, 361, 361, 567, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 466, 466, 362, 363, 549, 361, 361, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 361, 361, 361, 467, 467, 529, 362, 363, 530, 531, 476, 362, 363, 362, 363, 468, 468, 468, 468, 455, 344, 568, 345, 468, 778, 362, 363, 550, 362, 363, 468, 468, 468, 468, 468, 468, 380, 380, 381, 380, 382, 380, 380, 380, 380, 380, 380, 383, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 383, 383, 380, 380, 380, 380, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 380, 380, 380, 383, 383, 476, 383, 475, 383, 383, 383, 383, 383, 383, 476, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 476, 476, 383, 383, 383, 383, 481, 451, 452, 968, 453, 544, 452, 476, 453, 483, 649, 969, 484, 570, 553, 553, 454, 454, 454, 454, 454, 454, 454, 454, 362, 363, 383, 383, 383, 398, 398, 476, 398, 398, 398, 398, 398, 398, 398, 398, 569, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 556, 556, 398, 398, 398, 398, 476, 476, 476, 639, 362, 363, 476, 476, 542, 476, 543, 549, 572, 544, 452, 476, 453, 628, 629, 970, 630, 574, 971, 696, 571, 697, 398, 398, 398, 552, 552, 563, 573, 564, 643, 644, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 552, 554, 554, 554, 554, 586, 550, 476, 476, 554, 362, 363, 221, 362, 363, 476, 554, 554, 554, 554, 554, 554, 557, 557, 557, 557, 640, 587, 476, 957, 557, 641, 722, 588, 633, 633, 476, 557, 557, 557, 557, 557, 557, 642, 362, 363, 634, 634, 634, 634, 660, 476, 646, 650, 634, 476, 476, 362, 363, 361, 661, 634, 634, 634, 634, 634, 634, 476, 647, 648, 628, 629, 476, 630, 703, 476, 476, 476, 704, 476, 476, 476, 476, 476, 696, 844, 697, 718, 696, 476, 697, 812, 956, 813, 706, 708, 712, 719, 321, 321, 807, 714, 845, 808, 709, 707, 955, 744, 745, 710, 711, 713, 746, 809, 954, 747, 752, 753, 748, 770, 953, 754, 796, 749, 755, 952, 797, 756, 812, 798, 813, 812, 951, 813, 950, 949, 948, 947, 946, 799, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 183, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 195, 195, 195, 195, 945, 944, 195, 195, 195, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 212, 212, 212, 212, 943, 942, 212, 212, 212, 221, 941, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 224, 940, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 228, 228, 228, 939, 938, 228, 228, 228, 239, 937, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 241, 936, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 242, 935, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 248, 934, 248, 248, 248, 933, 248, 248, 248, 932, 931, 248, 248, 930, 929, 928, 248, 248, 250, 250, 250, 250, 927, 926, 250, 250, 250, 254, 925, 924, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 262, 262, 262, 262, 923, 922, 262, 262, 262, 267, 921, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 270, 920, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 919, 270, 270, 270, 270, 270, 271, 918, 271, 917, 916, 271, 271, 271, 271, 915, 914, 271, 271, 273, 913, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 277, 277, 277, 277, 912, 911, 277, 277, 277, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 283, 283, 283, 283, 283, 910, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 287, 909, 287, 908, 287, 287, 287, 287, 287, 287, 287, 907, 287, 287, 287, 287, 287, 287, 289, 906, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 290, 905, 290, 290, 290, 904, 290, 290, 290, 903, 902, 290, 290, 901, 900, 899, 290, 290, 295, 295, 295, 295, 898, 897, 295, 295, 295, 300, 896, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 304, 304, 895, 304, 304, 894, 893, 892, 304, 304, 335, 891, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 338, 890, 889, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 341, 888, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 342, 887, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 350, 350, 886, 885, 350, 350, 350, 352, 352, 884, 883, 352, 352, 352, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 212, 212, 212, 212, 882, 879, 212, 212, 212, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 361, 878, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 877, 361, 361, 361, 361, 361, 221, 876, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 368, 368, 875, 874, 873, 872, 368, 369, 369, 369, 369, 871, 870, 369, 369, 369, 869, 369, 374, 868, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 239, 867, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 241, 866, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 242, 865, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 376, 864, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 377, 863, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 248, 862, 248, 248, 248, 861, 248, 248, 248, 860, 859, 248, 248, 858, 857, 856, 248, 248, 250, 250, 250, 250, 855, 854, 250, 250, 250, 254, 853, 852, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 262, 262, 262, 262, 851, 850, 262, 262, 262, 384, 384, 849, 848, 847, 384, 384, 271, 846, 271, 843, 842, 271, 271, 271, 271, 841, 840, 271, 271, 273, 839, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 277, 277, 277, 277, 838, 837, 277, 277, 277, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 283, 283, 283, 283, 283, 836, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 287, 835, 287, 834, 287, 287, 287, 287, 287, 287, 287, 833, 287, 287, 287, 287, 287, 287, 290, 832, 290, 290, 290, 831, 290, 290, 290, 830, 829, 290, 290, 828, 827, 826, 290, 290, 295, 295, 295, 295, 825, 824, 295, 295, 295, 300, 823, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 304, 304, 822, 304, 304, 821, 820, 819, 304, 304, 335, 818, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 338, 817, 816, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 341, 815, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 342, 814, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, 459, 459, 459, 459, 810, 806, 459, 459, 459, 461, 461, 461, 461, 805, 804, 461, 461, 461, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 361, 803, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 802, 361, 361, 361, 361, 361, 469, 469, 801, 800, 795, 794, 469, 369, 369, 369, 369, 793, 792, 369, 369, 369, 791, 369, 374, 790, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 374, 376, 789, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 377, 786, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 250, 250, 250, 250, 785, 784, 250, 250, 250, 548, 783, 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 695, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 811, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 751, 750, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 727, 726, 725, 724, 723, 722, 721, 720, 717, 716, 715, 702, 701, 700, 629, 699, 698, 624, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 659, 658, 655, 654, 653, 652, 651, 638, 637, 636, 635, 632, 631, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 575, 562, 561, 560, 559, 558, 555, 551, 547, 546, 545, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 528, 527, 526, 525, 524, 521, 520, 519, 518, 517, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 476, 474, 473, 472, 471, 370, 462, 460, 458, 457, 456, 344, 449, 336, 438, 437, 434, 428, 425, 424, 423, 422, 421, 420, 417, 416, 415, 414, 411, 410, 409, 406, 405, 402, 401, 301, 298, 400, 399, 294, 396, 395, 260, 258, 260, 255, 379, 378, 247, 243, 375, 373, 372, 371, 230, 370, 360, 218, 356, 214, 351, 340, 197, 193, 339, 336, 334, 333, 332, 331, 330, 329, 328, 324, 318, 317, 316, 313, 312, 303, 302, 301, 299, 298, 297, 296, 276, 294, 293, 288, 286, 279, 278, 276, 272, 266, 269, 266, 265, 263, 261, 258, 260, 256, 255, 253, 252, 251, 249, 247, 243, 240, 238, 230, 220, 214, 211, 197, 193, 972, 98, 98, 86, 78, 78, 41, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972 } ; static yyconst flex_int16_t yy_chk[3300] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 569, 3, 3, 5, 3, 5, 21, 3, 3, 3, 6, 6, 3, 6, 27, 569, 27, 6, 3, 11, 11, 392, 11, 3, 3, 12, 12, 17, 12, 17, 21, 21, 50, 21, 18, 28, 18, 28, 17, 62, 62, 17, 17, 17, 17, 18, 125, 392, 18, 18, 18, 18, 949, 3, 3, 3, 4, 4, 173, 4, 4, 22, 4, 4, 125, 4, 4, 4, 173, 19, 4, 19, 19, 50, 273, 20, 4, 20, 20, 221, 221, 4, 4, 17, 4, 22, 22, 29, 22, 29, 18, 113, 273, 30, 19, 30, 29, 581, 43, 43, 20, 43, 30, 47, 47, 113, 47, 59, 59, 581, 59, 4, 4, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 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, 23, 736, 23, 24, 37, 24, 145, 37, 64, 64, 64, 64, 23, 145, 76, 24, 76, 736, 37, 37, 37, 37, 225, 225, 23, 23, 23, 24, 24, 24, 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, 31, 951, 31, 31, 32, 38, 32, 32, 38, 92, 92, 222, 92, 103, 103, 103, 103, 222, 222, 38, 38, 38, 38, 172, 132, 31, 132, 172, 952, 32, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 39, 40, 39, 40, 55, 55, 953, 55, 63, 63, 167, 55, 65, 65, 68, 65, 134, 163, 134, 65, 164, 109, 109, 112, 112, 163, 65, 119, 119, 135, 167, 135, 65, 137, 175, 137, 162, 199, 162, 164, 65, 210, 162, 210, 175, 954, 63, 175, 186, 186, 186, 186, 223, 223, 39, 40, 39, 40, 51, 109, 55, 112, 68, 192, 192, 119, 192, 308, 65, 196, 196, 217, 196, 217, 257, 257, 390, 257, 199, 213, 213, 51, 213, 51, 308, 51, 213, 280, 312, 280, 223, 51, 312, 317, 51, 51, 51, 317, 51, 51, 51, 390, 203, 203, 51, 203, 51, 204, 204, 291, 204, 205, 205, 282, 205, 282, 291, 203, 203, 203, 203, 955, 204, 204, 204, 204, 205, 205, 205, 205, 206, 206, 283, 206, 283, 213, 305, 229, 229, 285, 229, 285, 361, 361, 229, 206, 206, 206, 206, 203, 305, 229, 264, 264, 264, 264, 205, 229, 326, 329, 328, 478, 329, 331, 328, 229, 367, 367, 326, 328, 331, 353, 478, 353, 206, 337, 337, 337, 337, 355, 357, 355, 357, 359, 362, 359, 370, 370, 370, 370, 362, 362, 956, 229, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 266, 266, 266, 266, 385, 394, 266, 433, 450, 957, 450, 266, 453, 433, 453, 266, 529, 844, 266, 394, 266, 844, 529, 266, 294, 294, 385, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, 334, 334, 387, 334, 363, 363, 334, 334, 388, 393, 479, 386, 334, 334, 343, 343, 363, 343, 334, 334, 641, 346, 346, 334, 346, 960, 387, 388, 480, 343, 343, 343, 343, 386, 961, 393, 346, 346, 346, 346, 479, 641, 363, 364, 364, 480, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 460, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 365, 365, 439, 556, 556, 439, 439, 481, 557, 557, 365, 365, 366, 366, 366, 366, 455, 455, 481, 455, 366, 964, 366, 366, 460, 633, 633, 366, 366, 366, 366, 366, 366, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 383, 383, 389, 383, 383, 383, 383, 383, 383, 383, 383, 391, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 483, 573, 383, 383, 383, 383, 389, 451, 451, 965, 451, 454, 454, 482, 454, 391, 573, 966, 391, 483, 464, 464, 451, 451, 451, 451, 454, 454, 454, 454, 464, 464, 383, 383, 383, 398, 398, 563, 398, 398, 398, 398, 398, 398, 398, 398, 482, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 398, 467, 467, 398, 398, 398, 398, 484, 485, 487, 563, 467, 467, 486, 477, 543, 568, 543, 549, 485, 544, 544, 567, 544, 550, 550, 968, 550, 487, 969, 625, 484, 625, 398, 398, 398, 463, 463, 477, 486, 477, 567, 568, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 465, 465, 465, 465, 501, 549, 565, 564, 465, 555, 555, 555, 634, 634, 566, 465, 465, 465, 465, 465, 465, 468, 468, 468, 468, 564, 501, 570, 946, 468, 565, 945, 501, 553, 553, 574, 468, 468, 468, 468, 468, 468, 566, 553, 553, 554, 554, 554, 554, 586, 639, 570, 574, 554, 571, 572, 632, 632, 632, 586, 554, 554, 554, 554, 554, 554, 640, 571, 572, 628, 628, 642, 628, 639, 643, 645, 644, 640, 646, 647, 648, 650, 649, 695, 791, 695, 659, 697, 714, 697, 757, 944, 757, 642, 644, 648, 659, 1015, 1015, 755, 650, 791, 755, 645, 643, 943, 689, 689, 646, 647, 649, 689, 755, 942, 689, 693, 693, 689, 714, 941, 693, 747, 689, 693, 940, 747, 693, 811, 747, 811, 813, 936, 813, 935, 934, 933, 931, 929, 747, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 975, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 983, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 988, 988, 988, 988, 928, 927, 988, 988, 988, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 990, 990, 990, 990, 926, 924, 990, 990, 990, 991, 923, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 992, 922, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 993, 993, 993, 921, 918, 993, 993, 993, 994, 915, 994, 994, 994, 994, 994, 994, 994, 994, 994, 994, 994, 994, 994, 994, 994, 994, 995, 914, 995, 995, 995, 995, 995, 995, 995, 995, 995, 995, 995, 995, 995, 995, 995, 995, 996, 913, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 997, 998, 912, 998, 998, 998, 911, 998, 998, 998, 910, 909, 998, 998, 907, 905, 902, 998, 998, 999, 999, 999, 999, 901, 900, 999, 999, 999, 1000, 899, 898, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1001, 1001, 1001, 1001, 897, 896, 1001, 1001, 1001, 1002, 893, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1003, 892, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 891, 1003, 1003, 1003, 1003, 1003, 1004, 887, 1004, 885, 884, 1004, 1004, 1004, 1004, 883, 882, 1004, 1004, 1005, 881, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1006, 1006, 1006, 1006, 880, 879, 1006, 1006, 1006, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1008, 1008, 1008, 1008, 1008, 878, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1009, 877, 1009, 876, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 875, 1009, 1009, 1009, 1009, 1009, 1009, 1010, 874, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1011, 873, 1011, 1011, 1011, 871, 1011, 1011, 1011, 870, 869, 1011, 1011, 868, 867, 866, 1011, 1011, 1012, 1012, 1012, 1012, 865, 864, 1012, 1012, 1012, 1013, 863, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1014, 1014, 860, 1014, 1014, 859, 858, 857, 1014, 1014, 1016, 856, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1017, 854, 852, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1018, 851, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1019, 850, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1020, 1020, 849, 848, 1020, 1020, 1020, 1021, 1021, 847, 846, 1021, 1021, 1021, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1023, 1023, 1023, 1023, 845, 843, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1025, 842, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 841, 1025, 1025, 1025, 1025, 1025, 1026, 840, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1027, 1027, 838, 837, 836, 835, 1027, 1028, 1028, 1028, 1028, 834, 833, 1028, 1028, 1028, 832, 1028, 1029, 831, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1030, 830, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1031, 829, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1032, 828, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1033, 827, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1034, 826, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1036, 825, 1036, 1036, 1036, 810, 1036, 1036, 1036, 809, 808, 1036, 1036, 807, 805, 804, 1036, 1036, 1037, 1037, 1037, 1037, 803, 801, 1037, 1037, 1037, 1038, 800, 799, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1039, 1039, 1039, 1039, 798, 797, 1039, 1039, 1039, 1040, 1040, 796, 794, 793, 1040, 1040, 1041, 792, 1041, 790, 789, 1041, 1041, 1041, 1041, 788, 787, 1041, 1041, 1042, 786, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1043, 1043, 1043, 1043, 785, 784, 1043, 1043, 1043, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1045, 1045, 1045, 1045, 1045, 783, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1046, 781, 1046, 780, 1046, 1046, 1046, 1046, 1046, 1046, 1046, 779, 1046, 1046, 1046, 1046, 1046, 1046, 1047, 777, 1047, 1047, 1047, 776, 1047, 1047, 1047, 775, 774, 1047, 1047, 773, 772, 771, 1047, 1047, 1048, 1048, 1048, 1048, 770, 769, 1048, 1048, 1048, 1049, 768, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1049, 1050, 1050, 767, 1050, 1050, 766, 765, 764, 1050, 1050, 1051, 763, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1052, 762, 761, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1053, 760, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1054, 759, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1056, 1056, 1056, 1056, 756, 754, 1056, 1056, 1056, 1057, 1057, 1057, 1057, 753, 752, 1057, 1057, 1057, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1060, 751, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 750, 1060, 1060, 1060, 1060, 1060, 1061, 1061, 749, 748, 746, 745, 1061, 1062, 1062, 1062, 1062, 744, 741, 1062, 1062, 1062, 740, 1062, 1063, 739, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1064, 738, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1064, 1065, 734, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1066, 1066, 1066, 1066, 733, 731, 1066, 1066, 1066, 1067, 729, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 728, 727, 726, 725, 723, 721, 720, 719, 718, 717, 716, 715, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 701, 699, 692, 690, 687, 686, 685, 684, 683, 682, 681, 679, 677, 675, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 657, 656, 655, 636, 635, 631, 630, 627, 626, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 608, 607, 606, 605, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 591, 590, 588, 587, 585, 583, 580, 578, 577, 576, 575, 561, 560, 559, 558, 552, 551, 547, 546, 545, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, 530, 527, 526, 525, 524, 523, 522, 521, 520, 519, 517, 516, 515, 514, 513, 512, 511, 509, 508, 507, 506, 503, 502, 500, 499, 498, 497, 496, 495, 494, 491, 490, 489, 488, 476, 474, 473, 472, 471, 466, 462, 458, 457, 456, 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 438, 437, 436, 435, 434, 432, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 417, 416, 415, 413, 412, 411, 409, 408, 407, 406, 405, 404, 403, 402, 401, 400, 399, 396, 395, 384, 379, 378, 375, 373, 369, 360, 351, 349, 348, 347, 345, 340, 335, 333, 332, 330, 327, 325, 324, 322, 320, 319, 318, 316, 315, 314, 313, 311, 310, 309, 307, 306, 303, 302, 300, 298, 297, 296, 292, 279, 278, 260, 259, 258, 255, 252, 251, 246, 243, 238, 234, 233, 232, 231, 228, 220, 219, 216, 215, 208, 200, 198, 194, 189, 185, 182, 181, 180, 179, 178, 177, 176, 174, 171, 170, 169, 166, 165, 160, 159, 158, 157, 155, 153, 152, 150, 148, 147, 141, 138, 129, 128, 126, 123, 118, 116, 111, 107, 101, 96, 94, 93, 90, 88, 86, 85, 84, 81, 77, 75, 73, 69, 67, 61, 57, 52, 49, 45, 41, 16, 15, 10, 8, 7, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972 } ; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "scan.l" /* scan.l - scanner for flex input -*-C-*- */ #line 4 "scan.l" /* Copyright (c) 1990 The Regents of the University of California. */ /* All rights reserved. */ /* This code is derived from software contributed to Berkeley by */ /* Vern Paxson. */ /* The United States Government has rights in this work pursuant */ /* to contract no. DE-AC03-76SF00098 between the United States */ /* Department of Energy and the University of California. */ /* This file is part of flex. */ /* Redistribution and use in source and binary forms, with or without */ /* modification, are permitted provided that the following conditions */ /* are met: */ /* 1. Redistributions of source code must retain the above copyright */ /* notice, this list of conditions and the following disclaimer. */ /* 2. Redistributions in binary form must reproduce the above copyright */ /* notice, this list of conditions and the following disclaimer in the */ /* documentation and/or other materials provided with the distribution. */ /* Neither the name of the University nor the names of its contributors */ /* may be used to endorse or promote products derived from this software */ /* without specific prior written permission. */ /* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ /* PURPOSE. */ #include "flexdef.h" #include "parse.h" extern bool tablesverify, tablesext; #define ACTION_ECHO add_action( yytext ) #define ACTION_IFDEF(def, should_define) \ { \ if ( should_define ) \ action_define( def, 1 ); \ } #define ACTION_M4_IFDEF(def, should_define) \ do{ \ if ( should_define ) \ buf_m4_define( &m4defs_buf, def, NULL);\ else \ buf_m4_undefine( &m4defs_buf, def);\ } while(0) #define MARK_END_OF_PROLOG mark_prolog(); #define YY_DECL \ int flexscan() #define RETURNCHAR \ yylval = (unsigned char) yytext[0]; \ return CHAR; #define RETURNNAME \ if(yyleng < MAXLINE) \ { \ strcpy( nmstr, yytext ); \ } \ else \ { \ synerr(_("Input line too long\n")); \ FLEX_EXIT(EXIT_FAILURE); \ } \ return NAME; #define PUT_BACK_STRING(str, start) \ for ( i = strlen( str ) - 1; i >= start; --i ) \ unput((str)[i]) #define CHECK_REJECT(str) \ if ( all_upper( str ) ) \ reject = true; #define CHECK_YYMORE(str) \ if ( all_lower( str ) ) \ yymore_used = true; #define YY_USER_INIT \ if ( getenv("POSIXLY_CORRECT") ) \ posix_compat = true; #line 1600 "scan.c" #define INITIAL 0 #define SECT2 1 #define SECT2PROLOG 2 #define SECT3 3 #define CODEBLOCK 4 #define PICKUPDEF 5 #define SC 6 #define CARETISBOL 7 #define NUM 8 #define QUOTE 9 #define FIRSTCCL 10 #define CCL 11 #define ACTION 12 #define RECOVER 13 #define COMMENT 14 #define ACTION_STRING 15 #define PERCENT_BRACE_ACTION 16 #define OPTION 17 #define LINEDIR 18 #define CODEBLOCK_MATCH_BRACE 19 /* 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 #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif 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 static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = 0; static void yy_push_state (int new_state ); static void yy_pop_state (void ); /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) #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( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 119 "scan.l" static int bracelevel, didadef, indented_code; static int doing_rule_action = false; static int option_sense; int doing_codeblock = false; int i, brace_depth=0, brace_start_line=0; Char nmdef[MAXLINE]; #line 1790 "scan.c" if ( (yy_init) ) { (yy_init) = 0; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 973 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 3240 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: YY_RULE_SETUP #line 130 "scan.l" indented_code = true; BEGIN(CODEBLOCK); YY_BREAK case 2: YY_RULE_SETUP #line 131 "scan.l" ACTION_ECHO; yy_push_state( COMMENT ); YY_BREAK case 3: YY_RULE_SETUP #line 132 "scan.l" yy_push_state( LINEDIR ); YY_BREAK case 4: YY_RULE_SETUP #line 133 "scan.l" return SCDECL; YY_BREAK case 5: YY_RULE_SETUP #line 134 "scan.l" return XSCDECL; YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 135 "scan.l" { ++linenum; line_directive_out( (FILE *) 0, 1 ); indented_code = false; BEGIN(CODEBLOCK); } YY_BREAK case 7: /* rule 7 can match eol */ YY_RULE_SETUP #line 141 "scan.l" { brace_start_line = linenum; ++linenum; buf_linedir( &top_buf, infilename?infilename:"", linenum); brace_depth = 1; yy_push_state(CODEBLOCK_MATCH_BRACE); } YY_BREAK case 8: YY_RULE_SETUP #line 149 "scan.l" synerr( _("malformed '%top' directive") ); YY_BREAK case 9: YY_RULE_SETUP #line 151 "scan.l" /* discard */ YY_BREAK case 10: YY_RULE_SETUP #line 153 "scan.l" { sectnum = 2; bracelevel = 0; mark_defs1(); line_directive_out( (FILE *) 0, 1 ); BEGIN(SECT2PROLOG); return SECTEND; } YY_BREAK case 11: /* rule 11 can match eol */ YY_RULE_SETUP #line 162 "scan.l" yytext_is_array = false; ++linenum; YY_BREAK case 12: /* rule 12 can match eol */ YY_RULE_SETUP #line 163 "scan.l" yytext_is_array = true; ++linenum; YY_BREAK case 13: YY_RULE_SETUP #line 165 "scan.l" BEGIN(OPTION); return OPTION_OP; YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP #line 167 "scan.l" ++linenum; /* ignore */ YY_BREAK case 15: /* rule 15 can match eol */ YY_RULE_SETUP #line 168 "scan.l" ++linenum; /* ignore */ YY_BREAK /* xgettext: no-c-format */ case 16: /* rule 16 can match eol */ YY_RULE_SETUP #line 171 "scan.l" synerr( _( "unrecognized '%' directive" ) ); YY_BREAK case 17: YY_RULE_SETUP #line 173 "scan.l" { if(yyleng < MAXLINE) { strcpy( nmstr, yytext ); } else { synerr( _("Input line too long\n")); FLEX_EXIT(EXIT_FAILURE); } didadef = false; BEGIN(PICKUPDEF); } YY_BREAK case 18: YY_RULE_SETUP #line 188 "scan.l" RETURNNAME; YY_BREAK case 19: /* rule 19 can match eol */ YY_RULE_SETUP #line 189 "scan.l" ++linenum; /* allows blank lines in section 1 */ YY_BREAK case 20: /* rule 20 can match eol */ YY_RULE_SETUP #line 190 "scan.l" ACTION_ECHO; ++linenum; /* maybe end of comment line */ YY_BREAK case 21: YY_RULE_SETUP #line 195 "scan.l" ACTION_ECHO; yy_pop_state(); YY_BREAK case 22: YY_RULE_SETUP #line 196 "scan.l" ACTION_ECHO; YY_BREAK case 23: YY_RULE_SETUP #line 197 "scan.l" ACTION_ECHO; YY_BREAK case 24: /* rule 24 can match eol */ YY_RULE_SETUP #line 198 "scan.l" ++linenum; ACTION_ECHO; YY_BREAK case 25: /* rule 25 can match eol */ YY_RULE_SETUP #line 202 "scan.l" yy_pop_state(); YY_BREAK case 26: YY_RULE_SETUP #line 203 "scan.l" linenum = myctoi( yytext ); YY_BREAK case 27: YY_RULE_SETUP #line 205 "scan.l" { flex_free( (void *) infilename ); infilename = copy_string( yytext + 1 ); infilename[strlen( infilename ) - 1] = '\0'; } YY_BREAK case 28: YY_RULE_SETUP #line 210 "scan.l" /* ignore spurious characters */ YY_BREAK case 29: /* rule 29 can match eol */ YY_RULE_SETUP #line 214 "scan.l" ++linenum; BEGIN(INITIAL); YY_BREAK case 30: YY_RULE_SETUP #line 216 "scan.l" ACTION_ECHO; YY_BREAK case 31: /* rule 31 can match eol */ YY_RULE_SETUP #line 218 "scan.l" { ++linenum; ACTION_ECHO; if ( indented_code ) BEGIN(INITIAL); } YY_BREAK case 32: YY_RULE_SETUP #line 227 "scan.l" { if( --brace_depth == 0){ /* TODO: Matched. */ yy_pop_state(); }else buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 33: YY_RULE_SETUP #line 235 "scan.l" { brace_depth++; buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 34: /* rule 34 can match eol */ YY_RULE_SETUP #line 240 "scan.l" { ++linenum; buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 35: YY_RULE_SETUP #line 245 "scan.l" { buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE): #line 249 "scan.l" { linenum = brace_start_line; synerr(_("Unmatched '{'")); yyterminate(); } YY_BREAK case 36: YY_RULE_SETUP #line 258 "scan.l" /* separates name and definition */ YY_BREAK case 37: YY_RULE_SETUP #line 260 "scan.l" { if(yyleng < MAXLINE) { strcpy( (char *) nmdef, yytext ); } else { synerr( _("Input line too long\n")); FLEX_EXIT(EXIT_FAILURE); } /* Skip trailing whitespace. */ for ( i = strlen( (char *) nmdef ) - 1; i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t'); --i ) ; nmdef[i + 1] = '\0'; ndinstal( nmstr, nmdef ); didadef = true; } YY_BREAK case 38: /* rule 38 can match eol */ YY_RULE_SETUP #line 282 "scan.l" { if ( ! didadef ) synerr( _( "incomplete name definition" ) ); BEGIN(INITIAL); ++linenum; } YY_BREAK case 39: /* rule 39 can match eol */ YY_RULE_SETUP #line 292 "scan.l" ++linenum; BEGIN(INITIAL); YY_BREAK case 40: YY_RULE_SETUP #line 293 "scan.l" option_sense = true; YY_BREAK case 41: YY_RULE_SETUP #line 295 "scan.l" return '='; YY_BREAK case 42: YY_RULE_SETUP #line 297 "scan.l" option_sense = ! option_sense; YY_BREAK case 43: YY_RULE_SETUP #line 299 "scan.l" csize = option_sense ? 128 : 256; YY_BREAK case 44: YY_RULE_SETUP #line 300 "scan.l" csize = option_sense ? 256 : 128; YY_BREAK case 45: YY_RULE_SETUP #line 302 "scan.l" long_align = option_sense; YY_BREAK case 46: YY_RULE_SETUP #line 303 "scan.l" { ACTION_M4_IFDEF( "M4""_YY_ALWAYS_INTERACTIVE", option_sense ); interactive = option_sense; } YY_BREAK case 47: YY_RULE_SETUP #line 307 "scan.l" yytext_is_array = option_sense; YY_BREAK case 48: YY_RULE_SETUP #line 308 "scan.l" ansi_func_defs = option_sense; YY_BREAK case 49: YY_RULE_SETUP #line 309 "scan.l" ansi_func_protos = option_sense; YY_BREAK case 50: YY_RULE_SETUP #line 310 "scan.l" backing_up_report = option_sense; YY_BREAK case 51: YY_RULE_SETUP #line 311 "scan.l" interactive = ! option_sense; YY_BREAK case 52: YY_RULE_SETUP #line 312 "scan.l" bison_bridge_lval = option_sense; YY_BREAK case 53: YY_RULE_SETUP #line 313 "scan.l" { if((bison_bridge_lloc = option_sense)) bison_bridge_lval = true; } YY_BREAK case 54: YY_RULE_SETUP #line 316 "scan.l" C_plus_plus = option_sense; YY_BREAK case 55: YY_RULE_SETUP #line 317 "scan.l" caseins = ! option_sense; YY_BREAK case 56: YY_RULE_SETUP #line 318 "scan.l" caseins = option_sense; YY_BREAK case 57: YY_RULE_SETUP #line 319 "scan.l" ddebug = option_sense; YY_BREAK case 58: YY_RULE_SETUP #line 320 "scan.l" spprdflt = ! option_sense; YY_BREAK case 59: YY_RULE_SETUP #line 321 "scan.l" useecs = option_sense; YY_BREAK case 60: YY_RULE_SETUP #line 322 "scan.l" { useecs = usemecs = false; use_read = fullspd = true; } YY_BREAK case 61: YY_RULE_SETUP #line 326 "scan.l" { useecs = usemecs = false; use_read = fulltbl = true; } YY_BREAK case 62: YY_RULE_SETUP #line 330 "scan.l" ACTION_IFDEF("YY_NO_INPUT", ! option_sense); YY_BREAK case 63: YY_RULE_SETUP #line 331 "scan.l" interactive = option_sense; YY_BREAK case 64: YY_RULE_SETUP #line 332 "scan.l" lex_compat = option_sense; YY_BREAK case 65: YY_RULE_SETUP #line 333 "scan.l" posix_compat = option_sense; YY_BREAK case 66: YY_RULE_SETUP #line 334 "scan.l" { ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense); /* Override yywrap */ if( option_sense == true ) do_yywrap = false; } YY_BREAK case 67: YY_RULE_SETUP #line 340 "scan.l" usemecs = option_sense; YY_BREAK case 68: YY_RULE_SETUP #line 341 "scan.l" { ACTION_M4_IFDEF( "M4""_YY_NEVER_INTERACTIVE", option_sense ); interactive = !option_sense; } YY_BREAK case 69: YY_RULE_SETUP #line 345 "scan.l" performance_report += option_sense ? 1 : -1; YY_BREAK case 70: YY_RULE_SETUP #line 346 "scan.l" yytext_is_array = ! option_sense; YY_BREAK case 71: YY_RULE_SETUP #line 347 "scan.l" use_read = option_sense; YY_BREAK case 72: YY_RULE_SETUP #line 348 "scan.l" reentrant = option_sense; YY_BREAK case 73: YY_RULE_SETUP #line 349 "scan.l" reject_really_used = option_sense; YY_BREAK case 74: YY_RULE_SETUP #line 350 "scan.l" ACTION_M4_IFDEF( "M4""_YY_STACK_USED", option_sense ); YY_BREAK case 75: YY_RULE_SETUP #line 351 "scan.l" do_stdinit = option_sense; YY_BREAK case 76: YY_RULE_SETUP #line 352 "scan.l" use_stdout = option_sense; YY_BREAK case 77: YY_RULE_SETUP #line 353 "scan.l" ACTION_IFDEF("YY_NO_UNISTD_H", ! option_sense); YY_BREAK case 78: YY_RULE_SETUP #line 354 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_UNPUT", ! option_sense); YY_BREAK case 79: YY_RULE_SETUP #line 355 "scan.l" printstats = option_sense; YY_BREAK case 80: YY_RULE_SETUP #line 356 "scan.l" nowarn = ! option_sense; YY_BREAK case 81: YY_RULE_SETUP #line 357 "scan.l" do_yylineno = option_sense; ACTION_M4_IFDEF("M4""_YY_USE_LINENO", option_sense); YY_BREAK case 82: YY_RULE_SETUP #line 358 "scan.l" yymore_really_used = option_sense; YY_BREAK case 83: YY_RULE_SETUP #line 359 "scan.l" do_yywrap = option_sense; YY_BREAK case 84: YY_RULE_SETUP #line 361 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_PUSH_STATE", ! option_sense); YY_BREAK case 85: YY_RULE_SETUP #line 362 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_POP_STATE", ! option_sense); YY_BREAK case 86: YY_RULE_SETUP #line 363 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_TOP_STATE", ! option_sense); YY_BREAK case 87: YY_RULE_SETUP #line 365 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BUFFER", ! option_sense); YY_BREAK case 88: YY_RULE_SETUP #line 366 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BYTES", ! option_sense); YY_BREAK case 89: YY_RULE_SETUP #line 367 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SCAN_STRING", ! option_sense); YY_BREAK case 90: YY_RULE_SETUP #line 369 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_FLEX_ALLOC", ! option_sense); YY_BREAK case 91: YY_RULE_SETUP #line 370 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_FLEX_REALLOC", ! option_sense); YY_BREAK case 92: YY_RULE_SETUP #line 371 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_FLEX_FREE", ! option_sense); YY_BREAK case 93: YY_RULE_SETUP #line 373 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_DEBUG", ! option_sense); YY_BREAK case 94: YY_RULE_SETUP #line 374 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_DEBUG", ! option_sense); YY_BREAK case 95: YY_RULE_SETUP #line 375 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_EXTRA", ! option_sense); YY_BREAK case 96: YY_RULE_SETUP #line 376 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense); YY_BREAK case 97: YY_RULE_SETUP #line 377 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense); YY_BREAK case 98: YY_RULE_SETUP #line 378 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense); YY_BREAK case 99: YY_RULE_SETUP #line 379 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense); YY_BREAK case 100: YY_RULE_SETUP #line 380 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense); YY_BREAK case 101: YY_RULE_SETUP #line 381 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense); YY_BREAK case 102: YY_RULE_SETUP #line 382 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_IN", ! option_sense); YY_BREAK case 103: YY_RULE_SETUP #line 383 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_OUT", ! option_sense); YY_BREAK case 104: YY_RULE_SETUP #line 384 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_OUT", ! option_sense); YY_BREAK case 105: YY_RULE_SETUP #line 385 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LVAL", ! option_sense); YY_BREAK case 106: YY_RULE_SETUP #line 386 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_LVAL", ! option_sense); YY_BREAK case 107: YY_RULE_SETUP #line 387 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LLOC", ! option_sense); YY_BREAK case 108: YY_RULE_SETUP #line 388 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_LLOC", ! option_sense); YY_BREAK case 109: YY_RULE_SETUP #line 390 "scan.l" return OPT_OUTFILE; YY_BREAK case 110: YY_RULE_SETUP #line 391 "scan.l" return OPT_PREFIX; YY_BREAK case 111: YY_RULE_SETUP #line 392 "scan.l" return OPT_YYCLASS; YY_BREAK case 112: YY_RULE_SETUP #line 393 "scan.l" return OPT_HEADER; YY_BREAK case 113: YY_RULE_SETUP #line 394 "scan.l" return OPT_TABLES; YY_BREAK case 114: YY_RULE_SETUP #line 395 "scan.l" { tablesverify = option_sense; if(!tablesext && option_sense) tablesext = true; } YY_BREAK case 115: YY_RULE_SETUP #line 402 "scan.l" { if(yyleng-1 < MAXLINE) { strcpy( nmstr, yytext + 1 ); } else { synerr( _("Input line too long\n")); FLEX_EXIT(EXIT_FAILURE); } nmstr[strlen( nmstr ) - 1] = '\0'; return NAME; } YY_BREAK case 116: YY_RULE_SETUP #line 416 "scan.l" { format_synerr( _( "unrecognized %%option: %s" ), yytext ); BEGIN(RECOVER); } YY_BREAK case 117: /* rule 117 can match eol */ YY_RULE_SETUP #line 423 "scan.l" ++linenum; BEGIN(INITIAL); YY_BREAK case 118: YY_RULE_SETUP #line 427 "scan.l" ++bracelevel; yyless( 2 ); /* eat only %{ */ YY_BREAK case 119: YY_RULE_SETUP #line 428 "scan.l" --bracelevel; yyless( 2 ); /* eat only %} */ YY_BREAK case 120: YY_RULE_SETUP #line 430 "scan.l" ACTION_ECHO; /* indented code in prolog */ YY_BREAK case 121: YY_RULE_SETUP #line 432 "scan.l" { /* non-indented code */ if ( bracelevel <= 0 ) { /* not in %{ ... %} */ yyless( 0 ); /* put it all back */ yy_set_bol( 1 ); mark_prolog(); BEGIN(SECT2); } else ACTION_ECHO; } YY_BREAK case 122: YY_RULE_SETUP #line 444 "scan.l" ACTION_ECHO; YY_BREAK case 123: /* rule 123 can match eol */ YY_RULE_SETUP #line 445 "scan.l" ++linenum; ACTION_ECHO; YY_BREAK case YY_STATE_EOF(SECT2PROLOG): #line 447 "scan.l" { mark_prolog(); sectnum = 0; yyterminate(); /* to stop the parser */ } YY_BREAK case 124: /* rule 124 can match eol */ YY_RULE_SETUP #line 455 "scan.l" ++linenum; /* allow blank lines in section 2 */ YY_BREAK case 125: YY_RULE_SETUP #line 457 "scan.l" { indented_code = false; doing_codeblock = true; bracelevel = 1; BEGIN(PERCENT_BRACE_ACTION); } YY_BREAK case 126: YY_RULE_SETUP #line 464 "scan.l" BEGIN(SC); return '<'; YY_BREAK case 127: YY_RULE_SETUP #line 465 "scan.l" return '^'; YY_BREAK case 128: YY_RULE_SETUP #line 466 "scan.l" BEGIN(QUOTE); return '"'; YY_BREAK case 129: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 467 "scan.l" { BEGIN(NUM); if ( lex_compat || posix_compat ) return BEGIN_REPEAT_POSIX; else return BEGIN_REPEAT_FLEX; } YY_BREAK case 130: /* rule 130 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 474 "scan.l" return '$'; YY_BREAK case 131: YY_RULE_SETUP #line 476 "scan.l" { bracelevel = 1; BEGIN(PERCENT_BRACE_ACTION); if ( in_rule ) { doing_rule_action = true; in_rule = false; return '\n'; } } YY_BREAK case 132: /* rule 132 can match eol */ YY_RULE_SETUP #line 487 "scan.l" continued_action = true; ++linenum; return '\n'; YY_BREAK case 133: YY_RULE_SETUP #line 489 "scan.l" { yyless( yyleng - 2 ); /* put back '/', '*' */ bracelevel = 0; continued_action = false; BEGIN(ACTION); } YY_BREAK case 134: YY_RULE_SETUP #line 496 "scan.l" /* allow indented rules */ YY_BREAK case 135: YY_RULE_SETUP #line 498 "scan.l" { /* This rule is separate from the one below because * otherwise we get variable trailing context, so * we can't build the scanner using -{f,F}. */ bracelevel = 0; continued_action = false; BEGIN(ACTION); if ( in_rule ) { doing_rule_action = true; in_rule = false; return '\n'; } } YY_BREAK case 136: /* rule 136 can match eol */ YY_RULE_SETUP #line 515 "scan.l" { bracelevel = 0; continued_action = false; BEGIN(ACTION); unput( '\n' ); /* so sees it */ if ( in_rule ) { doing_rule_action = true; in_rule = false; return '\n'; } } YY_BREAK case 137: #line 530 "scan.l" case 138: YY_RULE_SETUP #line 530 "scan.l" return EOF_OP; YY_BREAK case 139: YY_RULE_SETUP #line 532 "scan.l" { sectnum = 3; BEGIN(SECT3); outn("/* Begin user sect3 */"); yyterminate(); /* to stop the parser */ } YY_BREAK case 140: YY_RULE_SETUP #line 539 "scan.l" { int cclval; if(yyleng < MAXLINE) { strcpy( nmstr, yytext ); } else { synerr( _("Input line too long\n")); FLEX_EXIT(EXIT_FAILURE); } /* Check to see if we've already encountered this * ccl. */ if ( (cclval = ccllookup( (Char *) nmstr )) != 0 ) { if ( input() != ']' ) synerr( _( "bad character class" ) ); yylval = cclval; ++cclreuse; return PREVCCL; } else { /* We fudge a bit. We know that this ccl will * soon be numbered as lastccl + 1 by cclinit. */ cclinstal( (Char *) nmstr, lastccl + 1 ); /* Push back everything but the leading bracket * so the ccl can be rescanned. */ yyless( 1 ); BEGIN(FIRSTCCL); return '['; } } YY_BREAK /* Check for :space: at the end of the rule so we don't * wrap the expanded regex in '(' ')' -- breaking trailing * context. */ case 141: /* rule 141 can match eol */ YY_RULE_SETUP #line 585 "scan.l" { register Char *nmdefptr; int end_is_ws, end_ch; end_ch = yytext[yyleng-1]; end_is_ws = end_ch != '}' ? 1 : 0; if(yyleng-1 < MAXLINE) { strcpy( nmstr, yytext + 1 ); } else { synerr( _("Input line too long\n")); FLEX_EXIT(EXIT_FAILURE); } nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */ if ( (nmdefptr = ndlookup( nmstr )) == 0 ) format_synerr( _( "undefined definition {%s}" ), nmstr ); else { /* push back name surrounded by ()'s */ int len = strlen( (char *) nmdefptr ); if (end_is_ws) unput(end_ch); if ( lex_compat || nmdefptr[0] == '^' || (len > 0 && nmdefptr[len - 1] == '$') || end_is_ws) { /* don't use ()'s after all */ PUT_BACK_STRING((char *) nmdefptr, 0); if ( nmdefptr[0] == '^' ) BEGIN(CARETISBOL); } else { unput(')'); PUT_BACK_STRING((char *) nmdefptr, 0); unput('('); } } } YY_BREAK case 142: YY_RULE_SETUP #line 633 "scan.l" return (unsigned char) yytext[0]; YY_BREAK case 143: YY_RULE_SETUP #line 634 "scan.l" RETURNCHAR; YY_BREAK case 144: /* rule 144 can match eol */ YY_RULE_SETUP #line 639 "scan.l" ++linenum; /* Allow blank lines & continuations */ YY_BREAK case 145: YY_RULE_SETUP #line 640 "scan.l" return (unsigned char) yytext[0]; YY_BREAK case 146: YY_RULE_SETUP #line 641 "scan.l" BEGIN(SECT2); return '>'; YY_BREAK case 147: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 642 "scan.l" BEGIN(CARETISBOL); return '>'; YY_BREAK case 148: YY_RULE_SETUP #line 643 "scan.l" RETURNNAME; YY_BREAK case 149: YY_RULE_SETUP #line 644 "scan.l" { format_synerr( _( "bad : %s" ), yytext ); } YY_BREAK case 150: YY_RULE_SETUP #line 650 "scan.l" BEGIN(SECT2); return '^'; YY_BREAK case 151: YY_RULE_SETUP #line 654 "scan.l" RETURNCHAR; YY_BREAK case 152: YY_RULE_SETUP #line 655 "scan.l" BEGIN(SECT2); return '"'; YY_BREAK case 153: /* rule 153 can match eol */ YY_RULE_SETUP #line 657 "scan.l" { synerr( _( "missing quote" ) ); BEGIN(SECT2); ++linenum; return '"'; } YY_BREAK case 154: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 667 "scan.l" BEGIN(CCL); return '^'; YY_BREAK case 155: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 668 "scan.l" return '^'; YY_BREAK case 156: YY_RULE_SETUP #line 669 "scan.l" BEGIN(CCL); RETURNCHAR; YY_BREAK case 157: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 673 "scan.l" return '-'; YY_BREAK case 158: YY_RULE_SETUP #line 674 "scan.l" RETURNCHAR; YY_BREAK case 159: YY_RULE_SETUP #line 675 "scan.l" BEGIN(SECT2); return ']'; YY_BREAK case 160: /* rule 160 can match eol */ YY_RULE_SETUP #line 676 "scan.l" { synerr( _( "bad character class" ) ); BEGIN(SECT2); return ']'; } YY_BREAK case 161: YY_RULE_SETUP #line 684 "scan.l" BEGIN(CCL); return CCE_ALNUM; YY_BREAK case 162: YY_RULE_SETUP #line 685 "scan.l" BEGIN(CCL); return CCE_ALPHA; YY_BREAK case 163: YY_RULE_SETUP #line 686 "scan.l" BEGIN(CCL); return CCE_BLANK; YY_BREAK case 164: YY_RULE_SETUP #line 687 "scan.l" BEGIN(CCL); return CCE_CNTRL; YY_BREAK case 165: YY_RULE_SETUP #line 688 "scan.l" BEGIN(CCL); return CCE_DIGIT; YY_BREAK case 166: YY_RULE_SETUP #line 689 "scan.l" BEGIN(CCL); return CCE_GRAPH; YY_BREAK case 167: YY_RULE_SETUP #line 690 "scan.l" BEGIN(CCL); return CCE_LOWER; YY_BREAK case 168: YY_RULE_SETUP #line 691 "scan.l" BEGIN(CCL); return CCE_PRINT; YY_BREAK case 169: YY_RULE_SETUP #line 692 "scan.l" BEGIN(CCL); return CCE_PUNCT; YY_BREAK case 170: YY_RULE_SETUP #line 693 "scan.l" BEGIN(CCL); return CCE_SPACE; YY_BREAK case 171: YY_RULE_SETUP #line 694 "scan.l" BEGIN(CCL); return CCE_UPPER; YY_BREAK case 172: YY_RULE_SETUP #line 695 "scan.l" BEGIN(CCL); return CCE_XDIGIT; YY_BREAK case 173: YY_RULE_SETUP #line 696 "scan.l" { format_synerr( _( "bad character class expression: %s" ), yytext ); BEGIN(CCL); return CCE_ALNUM; } YY_BREAK case 174: YY_RULE_SETUP #line 705 "scan.l" { yylval = myctoi( yytext ); return NUMBER; } YY_BREAK case 175: YY_RULE_SETUP #line 710 "scan.l" return ','; YY_BREAK case 176: YY_RULE_SETUP #line 711 "scan.l" { BEGIN(SECT2); if ( lex_compat || posix_compat ) return END_REPEAT_POSIX; else return END_REPEAT_FLEX; } YY_BREAK case 177: YY_RULE_SETUP #line 719 "scan.l" { synerr( _( "bad character inside {}'s" ) ); BEGIN(SECT2); return '}'; } YY_BREAK case 178: /* rule 178 can match eol */ YY_RULE_SETUP #line 725 "scan.l" { synerr( _( "missing }" ) ); BEGIN(SECT2); ++linenum; return '}'; } YY_BREAK case 179: YY_RULE_SETUP #line 735 "scan.l" bracelevel = 0; YY_BREAK case 180: YY_RULE_SETUP #line 737 "scan.l" ACTION_ECHO; yy_push_state( COMMENT ); YY_BREAK case 181: YY_RULE_SETUP #line 740 "scan.l" { ACTION_ECHO; CHECK_REJECT(yytext); } YY_BREAK case 182: YY_RULE_SETUP #line 744 "scan.l" { ACTION_ECHO; CHECK_YYMORE(yytext); } YY_BREAK case 183: YY_RULE_SETUP #line 750 "scan.l" ACTION_ECHO; YY_BREAK case 184: /* rule 184 can match eol */ YY_RULE_SETUP #line 751 "scan.l" { ++linenum; ACTION_ECHO; if ( bracelevel == 0 || (doing_codeblock && indented_code) ) { if ( doing_rule_action ) add_action( "\tYY_BREAK\n" ); doing_rule_action = doing_codeblock = false; BEGIN(SECT2); } } YY_BREAK /* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */ case 185: YY_RULE_SETUP #line 769 "scan.l" ACTION_ECHO; ++bracelevel; YY_BREAK case 186: YY_RULE_SETUP #line 770 "scan.l" ACTION_ECHO; --bracelevel; YY_BREAK case 187: YY_RULE_SETUP #line 771 "scan.l" ACTION_ECHO; YY_BREAK case 188: YY_RULE_SETUP #line 772 "scan.l" ACTION_ECHO; YY_BREAK case 189: YY_RULE_SETUP #line 773 "scan.l" ACTION_ECHO; /* character constant */ YY_BREAK case 190: YY_RULE_SETUP #line 774 "scan.l" ACTION_ECHO; BEGIN(ACTION_STRING); YY_BREAK case 191: /* rule 191 can match eol */ YY_RULE_SETUP #line 775 "scan.l" { ++linenum; ACTION_ECHO; if ( bracelevel == 0 ) { if ( doing_rule_action ) add_action( "\tYY_BREAK\n" ); doing_rule_action = false; BEGIN(SECT2); } } YY_BREAK case 192: YY_RULE_SETUP #line 787 "scan.l" ACTION_ECHO; YY_BREAK case 193: YY_RULE_SETUP #line 791 "scan.l" ACTION_ECHO; YY_BREAK case 194: YY_RULE_SETUP #line 792 "scan.l" ACTION_ECHO; YY_BREAK case 195: /* rule 195 can match eol */ YY_RULE_SETUP #line 793 "scan.l" ++linenum; ACTION_ECHO; BEGIN(ACTION); YY_BREAK case 196: YY_RULE_SETUP #line 794 "scan.l" ACTION_ECHO; BEGIN(ACTION); YY_BREAK case 197: YY_RULE_SETUP #line 795 "scan.l" ACTION_ECHO; YY_BREAK case YY_STATE_EOF(COMMENT): case YY_STATE_EOF(ACTION): case YY_STATE_EOF(ACTION_STRING): #line 798 "scan.l" { synerr( _( "EOF encountered inside an action" ) ); yyterminate(); } YY_BREAK case 198: YY_RULE_SETUP #line 804 "scan.l" { yylval = myesc( (Char *) yytext ); if ( YY_START == FIRSTCCL ) BEGIN(CCL); return CHAR; } YY_BREAK case 199: /* rule 199 can match eol */ YY_RULE_SETUP #line 815 "scan.l" ECHO; YY_BREAK case YY_STATE_EOF(SECT3): #line 816 "scan.l" sectnum = 0; yyterminate(); YY_BREAK case 200: /* rule 200 can match eol */ YY_RULE_SETUP #line 819 "scan.l" format_synerr( _( "bad character: %s" ), yytext ); YY_BREAK case 201: YY_RULE_SETUP #line 821 "scan.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK #line 3343 "scan.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(SECT2): case YY_STATE_EOF(CODEBLOCK): case YY_STATE_EOF(PICKUPDEF): case YY_STATE_EOF(SC): case YY_STATE_EOF(CARETISBOL): case YY_STATE_EOF(NUM): case YY_STATE_EOF(QUOTE): case YY_STATE_EOF(FIRSTCCL): case YY_STATE_EOF(CCL): case YY_STATE_EOF(RECOVER): case YY_STATE_EOF(PERCENT_BRACE_ACTION): case YY_STATE_EOF(OPTION): case YY_STATE_EOF(LINEDIR): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { 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 { size_t num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart(yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; (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(); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 973 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 973 ) 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 == 972); 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 yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int 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 */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return 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 yytext */ (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 yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int 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**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); 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**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = 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; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param str a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * str ) { return yy_scan_bytes(str,strlen(str) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param bytes the byte buffer to scan * @param len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * bytes, int 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 = len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < len; ++i ) buf[i] = bytes[i]; buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } static void yy_push_state (int new_state ) { if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) { yy_size_t new_size; (yy_start_stack_depth) += YY_START_STACK_INCR; new_size = (yy_start_stack_depth) * sizeof( int ); if ( ! (yy_start_stack) ) (yy_start_stack) = (int *) yyalloc(new_size ); else (yy_start_stack) = (int *) yyrealloc((void *) (yy_start_stack),new_size ); if ( ! (yy_start_stack) ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; BEGIN(new_state); } static void yy_pop_state (void) { if ( --(yy_start_stack_ptr) < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } #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 yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Destroy the start condition stack. */ yyfree((yy_start_stack) ); (yy_start_stack) = NULL; 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 *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #undef YY_NEW_FILE #undef YY_FLUSH_BUFFER #undef yy_set_bol #undef yy_new_buffer #undef yy_set_interactive #undef yytext_ptr #undef YY_DO_BEFORE_ACTION #ifdef YY_DECL_IS_OURS #undef YY_DECL_IS_OURS #undef YY_DECL #endif #line 821 "scan.l" int yywrap() { if ( --num_input_files > 0 ) { set_input_file( *++input_files ); return 0; } else return 1; } /* set_input_file - open the given file (if NULL, stdin) for scanning */ void set_input_file( file ) char *file; { if ( file && strcmp( file, "-" ) ) { infilename = copy_string( file ); yyin = fopen( infilename, "r" ); if ( yyin == NULL ) lerrsf( _( "can't open %s" ), file ); } else { yyin = stdin; infilename = copy_string( "" ); } linenum = 1; } /* Wrapper routines for accessing the scanner's malloc routines. */ void *flex_alloc( size ) size_t size; { return (void *) malloc( size ); } void *flex_realloc( ptr, size ) void *ptr; size_t size; { return (void *) realloc( ptr, size ); } void flex_free( ptr ) void *ptr; { if ( ptr ) free( ptr ); }