#include "config.h" #include "util/configyyrename.h" #line 3 "" #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 37 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ #if defined(__FreeBSD__) #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS #endif #include #include #else #define __dead2 #endif /* 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(__FreeBSD__) || \ (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #define YY_BUF_SIZE 16384 #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif extern yy_size_t yyleng; 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) ) #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ yy_size_t yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via 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) #define yy_current_buffer YY_CURRENT_BUFFER /* 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 yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ yy_size_t yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow 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,yy_size_t 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[] ) __dead2; /* 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; \ (yytext_ptr) -= (yy_more_len); \ yyleng = (size_t) (yy_cp - (yytext_ptr)); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 142 #define YY_END_OF_BUFFER 143 /* 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[1343] = { 0, 1, 1, 124, 124, 128, 128, 132, 132, 136, 136, 1, 1, 143, 140, 1, 122, 122, 141, 2, 141, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 124, 125, 125, 126, 141, 128, 129, 129, 130, 141, 135, 132, 133, 133, 134, 141, 136, 137, 137, 138, 141, 139, 123, 2, 127, 141, 139, 140, 0, 1, 2, 2, 2, 2, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 124, 0, 128, 0, 135, 0, 132, 136, 0, 139, 0, 2, 2, 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 62, 140, 140, 140, 140, 140, 6, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 139, 140, 140, 140, 140, 27, 140, 140, 140, 140, 140, 12, 13, 140, 15, 14, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 118, 140, 140, 140, 140, 140, 3, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 131, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 30, 140, 140, 140, 140, 140, 140, 140, 140, 31, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 77, 131, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 76, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 60, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 20, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 28, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 29, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 22, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 25, 26, 140, 140, 140, 63, 140, 64, 140, 61, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 5, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 79, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 104, 103, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 32, 140, 140, 140, 140, 140, 140, 140, 66, 65, 140, 140, 140, 140, 140, 140, 100, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 51, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 102, 140, 140, 140, 140, 140, 140, 140, 140, 4, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 97, 140, 140, 140, 140, 140, 140, 140, 112, 98, 140, 21, 140, 140, 140, 140, 68, 140, 69, 67, 140, 140, 140, 140, 140, 140, 75, 140, 140, 140, 140, 140, 140, 140, 140, 140, 99, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 59, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 17, 140, 140, 140, 16, 140, 84, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 39, 40, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 70, 140, 140, 140, 140, 140, 74, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 78, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 117, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 88, 140, 92, 140, 140, 140, 140, 73, 140, 140, 110, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 91, 140, 140, 140, 140, 41, 42, 140, 47, 93, 140, 105, 101, 140, 140, 35, 140, 95, 140, 140, 140, 140, 140, 7, 140, 58, 109, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 80, 140, 140, 119, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 94, 140, 34, 36, 140, 140, 140, 140, 140, 57, 140, 140, 140, 140, 113, 18, 19, 140, 140, 140, 140, 140, 140, 55, 140, 140, 140, 140, 140, 140, 140, 140, 140, 115, 140, 140, 33, 140, 140, 140, 140, 140, 140, 11, 140, 140, 140, 140, 140, 140, 140, 10, 140, 140, 37, 140, 121, 114, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 87, 86, 140, 116, 111, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 43, 140, 120, 140, 140, 140, 140, 38, 140, 140, 140, 81, 83, 140, 140, 140, 85, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 23, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 108, 140, 140, 140, 140, 140, 140, 140, 24, 140, 9, 140, 140, 106, 48, 140, 140, 140, 90, 140, 71, 140, 140, 140, 50, 54, 49, 140, 44, 140, 8, 140, 140, 89, 140, 140, 140, 53, 140, 45, 140, 107, 140, 140, 82, 72, 52, 46, 140, 140, 140, 140, 56, 140, 140, 140, 140, 96, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 5, 6, 1, 1, 1, 7, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 9, 10, 1, 11, 1, 1, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 1, 1, 1, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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[40] = { 0, 1, 2, 3, 4, 5, 1, 6, 1, 1, 1, 1, 7, 1, 1, 1, 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_int16_t yy_base[1357] = { 0, 0, 0, 37, 40, 44, 51, 63, 75, 56, 68, 87, 108, 2577, 2563, 50, 2683, 2683, 2683, 129, 94, 70, 104, 122, 90, 92, 115, 126, 95, 84, 132, 135, 138, 50, 142, 148, 156, 169, 164, 179, 2493, 2683, 2683, 2683, 70, 2371, 2683, 2683, 2683, 42, 2326, 1987, 2683, 2683, 2683, 197, 1681, 2683, 2683, 2683, 154, 1191, 2683, 201, 2683, 205, 111, 1082, 211, 120, 0, 222, 0, 0, 103, 158, 165, 149, 155, 168, 206, 207, 198, 217, 209, 204, 208, 215, 177, 136, 227, 228, 219, 232, 236, 235, 240, 245, 229, 246, 247, 250, 251, 254, 256, 258, 262, 259, 263, 266, 269, 267, 276, 268, 271, 273, 49, 280, 281, 283, 853, 297, 751, 301, 603, 311, 572, 360, 299, 298, 315, 319, 0, 296, 312, 320, 314, 316, 318, 321, 327, 323, 330, 342, 331, 326, 334, 335, 336, 338, 347, 337, 353, 348, 344, 350, 355, 359, 372, 369, 367, 357, 379, 377, 385, 386, 383, 387, 384, 388, 389, 391, 392, 395, 396, 397, 398, 405, 402, 406, 403, 414, 412, 420, 418, 428, 424, 425, 427, 430, 434, 435, 432, 433, 441, 439, 444, 452, 448, 450, 454, 455, 458, 461, 460, 462, 466, 473, 469, 470, 472, 477, 475, 478, 479, 485, 481, 482, 483, 486, 492, 487, 504, 498, 508, 501, 502, 510, 513, 509, 515, 520, 522, 528, 524, 525, 526, 527, 531, 534, 537, 533, 536, 539, 540, 545, 546, 565, 551, 549, 553, 556, 555, 562, 576, 563, 572, 573, 569, 578, 585, 596, 586, 591, 595, 598, 597, 600, 601, 602, 605, 608, 610, 609, 620, 623, 622, 621, 624, 630, 638, 625, 632, 635, 639, 643, 634, 644, 2683, 649, 636, 651, 652, 642, 2683, 653, 656, 658, 660, 662, 668, 664, 666, 667, 669, 674, 675, 677, 697, 680, 678, 690, 681, 686, 683, 692, 689, 699, 702, 706, 707, 709, 710, 712, 715, 716, 726, 722, 718, 724, 728, 732, 733, 735, 738, 739, 743, 747, 753, 755, 757, 763, 740, 759, 762, 765, 767, 768, 749, 775, 772, 774, 778, 779, 787, 776, 789, 791, 793, 783, 794, 797, 805, 801, 803, 808, 810, 784, 804, 814, 813, 820, 827, 828, 812, 829, 835, 831, 836, 824, 837, 839, 840, 841, 843, 844, 846, 848, 854, 850, 856, 861, 862, 866, 851, 868, 871, 872, 873, 874, 883, 875, 884, 876, 886, 887, 894, 895, 889, 902, 2683, 901, 904, 898, 905, 906, 2683, 2683, 890, 2683, 2683, 909, 914, 915, 917, 922, 923, 925, 927, 930, 932, 935, 936, 938, 944, 946, 939, 947, 948, 950, 954, 955, 957, 961, 963, 964, 965, 968, 970, 972, 974, 975, 981, 977, 988, 984, 2683, 986, 987, 991, 993, 994, 2683, 995, 996, 998, 999, 1000, 1002, 1006, 1004, 1007, 1014, 1013, 1009, 1012, 1019, 1029, 1030, 1025, 1028, 1031, 1035, 1037, 1046, 1039, 1043, 1045, 1052, 1048, 1050, 1054, 1051, 1055, 1057, 1060, 1063, 1085, 1065, 1062, 1064, 1067, 1070, 1072, 1074, 1078, 1092, 1097, 1075, 1071, 1103, 1105, 1099, 1095, 1106, 1112, 1113, 2683, 1119, 1120, 1108, 1115, 1116, 1122, 1124, 1129, 1126, 1130, 1132, 1138, 2683, 1135, 1136, 1137, 1140, 1147, 1139, 1149, 1159, 2683, 1161, 1162, 1155, 1157, 1164, 1165, 1167, 1169, 1170, 1171, 1173, 1181, 1176, 1178, 1183, 1182, 1187, 1189, 1190, 1192, 1193, 1194, 1199, 1204, 1210, 1213, 1201, 1218, 1195, 1207, 1211, 1224, 1219, 1222, 1225, 1226, 2683, 174, 1227, 1228, 1229, 1235, 1238, 1234, 1232, 1236, 1240, 1242, 1247, 1253, 1248, 1254, 1255, 1256, 1259, 1258, 1261, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1279, 1278, 1286, 2683, 1292, 1285, 1281, 1288, 1296, 1305, 1297, 1302, 1312, 1313, 1315, 1316, 1317, 1319, 1309, 1322, 1330, 1331, 1327, 1329, 1328, 1334, 2683, 1335, 1336, 1338, 1341, 1343, 1349, 1347, 1348, 1350, 1353, 1359, 2683, 1303, 1360, 1354, 1364, 1367, 1369, 1371, 1378, 1370, 1374, 1372, 1381, 1382, 1383, 1384, 2683, 1393, 1397, 1394, 1401, 1395, 1398, 1402, 1406, 1403, 1385, 1412, 1409, 1410, 1414, 1415, 1411, 1418, 1419, 1421, 2683, 1425, 1422, 1427, 1428, 1434, 1426, 1435, 1436, 1438, 1441, 1447, 1440, 1451, 1442, 1453, 1450, 1460, 1461, 1464, 1463, 1466, 1472, 1478, 1474, 2683, 1477, 1465, 1480, 1486, 1488, 1483, 1489, 1490, 1491, 1498, 1492, 1494, 1495, 1496, 1503, 1500, 1501, 1504, 1507, 1506, 1518, 1519, 1520, 1523, 1524, 1526, 1525, 1532, 2683, 2683, 1533, 1534, 1541, 2683, 1543, 2683, 1547, 2683, 1548, 1549, 1537, 1539, 1553, 1544, 1555, 1556, 1560, 1557, 1562, 1563, 1565, 1566, 2683, 1568, 1569, 1574, 1570, 1572, 1577, 1578, 1582, 1593, 1581, 1585, 1589, 2683, 1591, 1594, 1600, 1607, 1604, 1598, 1606, 1608, 1609, 1610, 1612, 1621, 1613, 1611, 1615, 1622, 1623, 1624, 1626, 1632, 1630, 1631, 1634, 1638, 1640, 1645, 1643, 2683, 2683, 1649, 1641, 1646, 1652, 1656, 1658, 1660, 1668, 1665, 1666, 1671, 1672, 1673, 1674, 1676, 1677, 1679, 1680, 2683, 1688, 1682, 1696, 1697, 1706, 1689, 1704, 2683, 2683, 1685, 1692, 1708, 1709, 1711, 1712, 2683, 1714, 1715, 1716, 1717, 1718, 1720, 1710, 1724, 1732, 1735, 1725, 1736, 1743, 1740, 1741, 1744, 1746, 1754, 1742, 1756, 1762, 1747, 1758, 1760, 1764, 1761, 1766, 1770, 1772, 1771, 2683, 1778, 1775, 1784, 1776, 1783, 1785, 1792, 1788, 1789, 1790, 1791, 1794, 1796, 1797, 1798, 1804, 2683, 1803, 1805, 1806, 1808, 1814, 1818, 1816, 1821, 2683, 1822, 1830, 1826, 1828, 1832, 1829, 1836, 1833, 1839, 1838, 1841, 1843, 1850, 1844, 1848, 1851, 1852, 1863, 1862, 1869, 1870, 1867, 1876, 1873, 1874, 1875, 1877, 1886, 1882, 1888, 1880, 2683, 1890, 1895, 1897, 1899, 1884, 1900, 1898, 2683, 2683, 1891, 2683, 1908, 1901, 1912, 1913, 2683, 1911, 2683, 2683, 1914, 1923, 1915, 1916, 1924, 1930, 2683, 1927, 1925, 1935, 1931, 1937, 1938, 1939, 1933, 1940, 2683, 1941, 1942, 1943, 1947, 1953, 1955, 1957, 1958, 1962, 1965, 1966, 1959, 1968, 1974, 1973, 2683, 1972, 1975, 1980, 1981, 1985, 1982, 1986, 1987, 1996, 1998, 2683, 1992, 1990, 2000, 2683, 2002, 2683, 2006, 2004, 2009, 2014, 2011, 2022, 2007, 2015, 2023, 2017, 2025, 2027, 2683, 2683, 2031, 2033, 2036, 2034, 2038, 2041, 2039, 2042, 2044, 2048, 2683, 2049, 2050, 2051, 2052, 2053, 2683, 2056, 2057, 2058, 2062, 2065, 2077, 2079, 2068, 2083, 2085, 2061, 2087, 2089, 2090, 2683, 2091, 2093, 2094, 2098, 2099, 2095, 2100, 2104, 2107, 2102, 2111, 2683, 2115, 2108, 2118, 2116, 2112, 2122, 2123, 2126, 2128, 2130, 2129, 2131, 2132, 2138, 2059, 2683, 2136, 2683, 2137, 2142, 2150, 2151, 2683, 2147, 2153, 2683, 2154, 2158, 2167, 2155, 2161, 2169, 2170, 2171, 2172, 2173, 2174, 2182, 2178, 2683, 2180, 2181, 2187, 2183, 2683, 2683, 2188, 2683, 2683, 2198, 2683, 2683, 2194, 2201, 2683, 2203, 2683, 2209, 2205, 2192, 2190, 2210, 2683, 2214, 2683, 2683, 2211, 2217, 2207, 2218, 2225, 2227, 2229, 2220, 2222, 2230, 2231, 2233, 2234, 2236, 2237, 2238, 2239, 2244, 2241, 2247, 2248, 2250, 2251, 2253, 2683, 2249, 2262, 2683, 2269, 2270, 2258, 2260, 2271, 2272, 2274, 2276, 2282, 2280, 2281, 2283, 2683, 2285, 2683, 2683, 2286, 2284, 2291, 2292, 2294, 2683, 2297, 2298, 2302, 2309, 2683, 2683, 2683, 2310, 2299, 2305, 2313, 2315, 2316, 2683, 2319, 2322, 2323, 2325, 2330, 2332, 2338, 2336, 2342, 2683, 2339, 2337, 2683, 2343, 2345, 2347, 2348, 2350, 2352, 2683, 2353, 2354, 2360, 2355, 2363, 2366, 2365, 2683, 2367, 2368, 2683, 2378, 2683, 2683, 2369, 2379, 2382, 2384, 2387, 2375, 2388, 2395, 2392, 2394, 2683, 2683, 2397, 2683, 2683, 2396, 2399, 2400, 2404, 2401, 2406, 2408, 2409, 2412, 2410, 2683, 2413, 2683, 2414, 2423, 2420, 2418, 2683, 2425, 2426, 2429, 2683, 2683, 2431, 2439, 2433, 2683, 2441, 2443, 2437, 2444, 2448, 2449, 2445, 2450, 2455, 2457, 2451, 2453, 2465, 2466, 2683, 2468, 2460, 2470, 2474, 2476, 2478, 2479, 2481, 2483, 2484, 2486, 2487, 2683, 2488, 2489, 2499, 2504, 2508, 2490, 2510, 2683, 2511, 2683, 2514, 2500, 2683, 2683, 2515, 2517, 2519, 2683, 2520, 2683, 2518, 2522, 2526, 2683, 2683, 2683, 2528, 2683, 2529, 2683, 2532, 2534, 2683, 2535, 2537, 2540, 2683, 2542, 2683, 2544, 2683, 2545, 2546, 2683, 2683, 2683, 2683, 2548, 2550, 2555, 2551, 2683, 2556, 2558, 2559, 2562, 2683, 2683, 2591, 2598, 2605, 2612, 2619, 94, 2626, 2633, 2640, 2647, 2654, 2661, 2668, 2675 } ; static yyconst flex_int16_t yy_def[1357] = { 0, 1342, 1, 1343, 1343, 1344, 1344, 1345, 1345, 1346, 1346, 1347, 1347, 1342, 1348, 1342, 1342, 1342, 1342, 1349, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1350, 1342, 1342, 1342, 1350, 1351, 1342, 1342, 1342, 1351, 1352, 1342, 1342, 1342, 1342, 1352, 1353, 1342, 1342, 1342, 1353, 1354, 1342, 1355, 1342, 1354, 1354, 1348, 1348, 1342, 1356, 1349, 1356, 1349, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1350, 1350, 1351, 1351, 1352, 1352, 1342, 1353, 1353, 1354, 1354, 1355, 1355, 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1342, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1342, 1342, 1348, 1342, 1342, 1348, 1348, 1342, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1342, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1348, 1348, 1342, 1342, 1342, 1348, 1342, 1348, 1342, 1348, 1348, 1342, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1342, 1348, 1348, 1342, 1342, 1342, 1342, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1342, 0, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342 } ; static yyconst flex_int16_t yy_nxt[2723] = { 0, 14, 15, 16, 17, 18, 19, 18, 14, 14, 14, 14, 18, 20, 21, 14, 22, 23, 24, 25, 14, 26, 27, 28, 29, 30, 31, 32, 33, 34, 14, 35, 36, 37, 38, 39, 14, 14, 14, 14, 41, 42, 43, 41, 42, 43, 122, 46, 47, 122, 44, 48, 69, 44, 46, 47, 70, 49, 48, 57, 58, 59, 68, 68, 49, 51, 52, 53, 54, 60, 18, 57, 58, 59, 120, 120, 55, 51, 52, 53, 54, 60, 18, 68, 101, 183, 74, 75, 55, 15, 16, 17, 62, 63, 64, 67, 67, 68, 67, 67, 65, 67, 93, 68, 76, 68, 67, 84, 68, 66, 15, 16, 17, 62, 63, 64, 68, 68, 77, 134, 86, 65, 69, 92, 130, 78, 70, 85, 68, 87, 66, 72, 79, 72, 72, 68, 72, 88, 133, 68, 80, 72, 73, 89, 81, 68, 90, 82, 68, 68, 83, 68, 98, 91, 150, 68, 99, 95, 127, 127, 94, 68, 68, 96, 102, 137, 106, 97, 68, 68, 103, 68, 100, 104, 109, 135, 107, 68, 68, 108, 105, 68, 68, 113, 110, 114, 138, 130, 111, 112, 68, 116, 68, 118, 149, 139, 117, 119, 136, 124, 115, 124, 124, 72, 124, 72, 72, 129, 72, 129, 129, 68, 129, 67, 132, 67, 67, 68, 67, 68, 68, 68, 68, 67, 72, 143, 72, 72, 68, 72, 68, 140, 68, 142, 72, 73, 145, 146, 141, 147, 68, 68, 68, 144, 152, 68, 148, 153, 68, 68, 156, 155, 158, 68, 151, 163, 159, 161, 68, 68, 68, 154, 160, 68, 68, 162, 164, 68, 167, 68, 157, 68, 68, 165, 169, 68, 68, 176, 170, 68, 68, 68, 68, 166, 68, 168, 68, 173, 172, 68, 178, 171, 177, 68, 68, 174, 68, 175, 184, 180, 181, 120, 120, 127, 127, 122, 185, 182, 122, 130, 179, 130, 187, 124, 186, 124, 124, 129, 124, 129, 129, 72, 129, 72, 72, 68, 72, 68, 189, 68, 188, 68, 132, 68, 68, 194, 68, 191, 196, 68, 68, 195, 190, 68, 68, 202, 192, 68, 68, 68, 68, 68, 204, 206, 193, 68, 207, 68, 203, 197, 68, 68, 213, 68, 198, 209, 68, 216, 68, 199, 68, 205, 68, 128, 208, 200, 201, 218, 210, 212, 68, 211, 68, 214, 215, 68, 217, 222, 219, 220, 68, 221, 68, 224, 225, 223, 68, 68, 68, 68, 68, 68, 68, 226, 68, 68, 227, 229, 68, 68, 68, 68, 231, 238, 234, 68, 68, 228, 68, 68, 232, 240, 242, 241, 230, 68, 245, 68, 233, 236, 237, 68, 235, 68, 244, 239, 247, 68, 130, 248, 68, 68, 253, 68, 243, 68, 68, 68, 68, 246, 250, 252, 68, 254, 68, 258, 249, 68, 259, 251, 255, 68, 257, 68, 256, 68, 260, 68, 68, 266, 263, 68, 264, 68, 68, 68, 268, 261, 262, 68, 265, 270, 68, 68, 269, 68, 68, 267, 68, 275, 68, 68, 68, 278, 68, 68, 68, 279, 68, 68, 68, 272, 271, 274, 277, 68, 273, 280, 283, 276, 288, 68, 285, 281, 68, 68, 282, 68, 284, 286, 287, 68, 68, 68, 289, 294, 68, 295, 68, 296, 292, 290, 293, 68, 291, 68, 299, 68, 68, 68, 68, 68, 302, 301, 68, 308, 68, 68, 297, 68, 68, 309, 68, 68, 303, 298, 307, 300, 68, 68, 304, 313, 68, 305, 68, 306, 130, 312, 68, 68, 310, 324, 311, 315, 126, 68, 68, 314, 68, 323, 316, 317, 68, 327, 329, 68, 68, 325, 326, 68, 318, 68, 319, 320, 321, 328, 330, 322, 68, 68, 331, 332, 333, 335, 68, 334, 336, 337, 68, 68, 68, 68, 342, 68, 68, 68, 125, 343, 68, 338, 339, 68, 68, 68, 340, 341, 350, 346, 349, 345, 348, 352, 344, 68, 68, 68, 68, 68, 68, 354, 347, 353, 351, 68, 356, 68, 357, 68, 68, 68, 355, 68, 68, 361, 359, 68, 68, 68, 364, 358, 360, 362, 68, 365, 68, 68, 68, 369, 363, 68, 366, 68, 367, 68, 368, 68, 375, 68, 373, 68, 68, 68, 68, 374, 378, 372, 370, 68, 68, 371, 68, 68, 380, 68, 68, 376, 68, 379, 390, 68, 393, 377, 68, 68, 381, 68, 395, 389, 391, 382, 68, 383, 68, 388, 392, 68, 384, 396, 385, 68, 68, 394, 68, 68, 397, 68, 386, 401, 68, 130, 398, 68, 402, 405, 406, 68, 387, 68, 399, 68, 410, 68, 400, 404, 403, 68, 68, 407, 68, 408, 409, 68, 68, 68, 414, 416, 68, 411, 412, 417, 68, 418, 68, 413, 123, 415, 68, 419, 68, 420, 68, 421, 68, 425, 422, 68, 68, 423, 68, 424, 68, 68, 428, 429, 426, 68, 427, 68, 68, 68, 430, 68, 68, 435, 432, 436, 68, 68, 437, 433, 68, 431, 68, 434, 68, 438, 68, 68, 439, 442, 68, 441, 443, 445, 68, 450, 68, 68, 68, 447, 446, 68, 444, 68, 448, 68, 68, 68, 449, 453, 440, 451, 452, 68, 458, 455, 457, 68, 454, 456, 68, 68, 68, 461, 68, 459, 463, 462, 68, 68, 68, 464, 68, 68, 68, 465, 68, 68, 469, 68, 460, 68, 474, 68, 68, 470, 121, 68, 466, 68, 476, 467, 471, 468, 68, 68, 473, 472, 477, 68, 478, 68, 475, 480, 68, 68, 68, 68, 68, 68, 483, 482, 485, 484, 481, 479, 68, 68, 489, 68, 130, 486, 68, 68, 488, 491, 487, 68, 68, 497, 492, 68, 493, 490, 68, 68, 495, 68, 68, 68, 502, 498, 68, 494, 496, 506, 500, 68, 68, 499, 68, 503, 505, 504, 501, 68, 68, 507, 68, 508, 68, 513, 509, 68, 517, 68, 516, 510, 68, 68, 519, 68, 68, 511, 512, 518, 514, 68, 521, 68, 68, 68, 522, 68, 526, 515, 520, 68, 68, 525, 68, 531, 523, 530, 68, 529, 68, 68, 68, 524, 532, 68, 527, 68, 533, 68, 528, 68, 68, 534, 68, 535, 537, 539, 68, 538, 541, 68, 540, 68, 68, 68, 543, 536, 68, 545, 68, 68, 68, 68, 547, 68, 68, 68, 544, 68, 542, 68, 548, 68, 68, 546, 68, 555, 554, 68, 68, 68, 560, 549, 550, 551, 68, 553, 552, 556, 558, 563, 68, 557, 559, 68, 68, 68, 68, 561, 562, 564, 68, 567, 68, 569, 68, 566, 570, 571, 68, 565, 68, 68, 574, 68, 576, 68, 68, 68, 577, 130, 68, 568, 68, 573, 579, 68, 572, 68, 68, 68, 68, 578, 68, 575, 588, 68, 68, 68, 595, 68, 68, 580, 582, 68, 590, 594, 591, 68, 602, 581, 68, 593, 589, 583, 601, 584, 592, 68, 596, 585, 68, 586, 68, 597, 68, 598, 587, 600, 68, 603, 68, 68, 605, 68, 606, 604, 608, 68, 68, 610, 68, 68, 609, 599, 68, 68, 614, 68, 611, 68, 607, 68, 612, 613, 68, 68, 615, 68, 621, 617, 68, 68, 68, 68, 68, 68, 620, 624, 616, 619, 625, 618, 68, 627, 68, 628, 623, 626, 622, 629, 68, 630, 68, 634, 68, 631, 68, 68, 632, 68, 68, 633, 68, 637, 68, 68, 68, 635, 68, 639, 640, 68, 641, 68, 642, 643, 68, 68, 68, 636, 644, 646, 68, 638, 68, 68, 130, 68, 68, 68, 68, 645, 651, 652, 68, 647, 68, 654, 650, 68, 656, 648, 68, 657, 649, 68, 68, 653, 68, 660, 655, 658, 659, 68, 68, 663, 661, 68, 662, 68, 68, 68, 68, 68, 68, 671, 665, 68, 672, 68, 68, 68, 664, 68, 673, 68, 668, 68, 669, 666, 676, 674, 68, 68, 670, 675, 667, 679, 68, 68, 68, 68, 677, 68, 68, 682, 68, 678, 681, 684, 686, 680, 68, 68, 68, 68, 68, 68, 68, 68, 683, 687, 685, 68, 68, 694, 68, 690, 688, 689, 68, 68, 698, 68, 700, 691, 693, 68, 692, 695, 697, 68, 68, 696, 699, 703, 702, 68, 68, 704, 68, 735, 707, 701, 68, 705, 706, 68, 68, 708, 68, 68, 68, 711, 68, 709, 710, 68, 713, 712, 715, 716, 68, 68, 68, 68, 68, 717, 718, 68, 68, 68, 719, 68, 724, 714, 68, 720, 68, 721, 723, 722, 68, 68, 68, 68, 725, 733, 68, 68, 727, 726, 729, 734, 68, 68, 730, 728, 738, 68, 736, 731, 68, 740, 68, 68, 68, 68, 737, 68, 732, 741, 742, 68, 744, 745, 68, 68, 68, 68, 68, 746, 739, 750, 748, 743, 749, 751, 68, 68, 68, 753, 68, 68, 752, 747, 68, 68, 68, 754, 757, 68, 760, 759, 68, 68, 68, 68, 756, 68, 68, 764, 755, 68, 68, 769, 68, 68, 758, 770, 68, 68, 68, 68, 761, 762, 765, 763, 773, 68, 68, 68, 767, 68, 776, 68, 68, 68, 766, 768, 772, 775, 68, 771, 783, 68, 68, 774, 68, 777, 779, 782, 778, 784, 781, 68, 68, 780, 68, 68, 68, 68, 791, 785, 786, 788, 790, 68, 792, 68, 793, 787, 68, 68, 795, 68, 797, 794, 68, 789, 798, 68, 799, 68, 68, 68, 68, 68, 804, 68, 68, 68, 803, 68, 796, 68, 68, 800, 68, 68, 812, 68, 68, 801, 802, 814, 805, 813, 806, 807, 808, 811, 809, 68, 68, 68, 810, 818, 68, 68, 68, 68, 822, 816, 819, 820, 815, 68, 68, 68, 824, 825, 68, 823, 68, 817, 68, 826, 68, 68, 821, 827, 68, 68, 68, 829, 828, 830, 68, 834, 68, 68, 68, 832, 833, 68, 836, 68, 68, 831, 68, 68, 839, 68, 68, 68, 841, 68, 838, 68, 844, 835, 68, 68, 837, 848, 68, 68, 843, 840, 68, 842, 849, 850, 68, 845, 68, 846, 68, 68, 853, 854, 847, 68, 852, 68, 851, 857, 856, 68, 858, 68, 68, 68, 68, 68, 68, 68, 68, 862, 68, 859, 864, 866, 855, 865, 68, 68, 68, 68, 860, 68, 873, 861, 867, 68, 68, 68, 863, 68, 868, 871, 870, 68, 872, 68, 68, 869, 68, 883, 68, 68, 878, 882, 68, 874, 875, 68, 877, 879, 876, 68, 880, 68, 881, 68, 885, 884, 890, 891, 68, 68, 887, 68, 889, 888, 68, 68, 68, 68, 886, 68, 68, 898, 68, 68, 128, 68, 901, 893, 68, 892, 895, 68, 68, 894, 903, 68, 909, 897, 899, 68, 68, 900, 896, 902, 905, 906, 904, 68, 910, 68, 907, 68, 68, 68, 68, 68, 908, 68, 68, 68, 68, 68, 916, 68, 917, 918, 919, 68, 68, 911, 913, 912, 920, 914, 923, 68, 921, 915, 68, 68, 925, 927, 922, 68, 68, 68, 68, 68, 931, 68, 68, 926, 924, 930, 933, 928, 932, 68, 934, 68, 935, 68, 929, 68, 68, 68, 939, 68, 941, 68, 943, 936, 942, 68, 68, 68, 945, 944, 68, 68, 937, 68, 947, 938, 940, 949, 68, 68, 68, 950, 951, 68, 68, 68, 68, 68, 946, 68, 959, 68, 68, 68, 961, 952, 948, 953, 68, 68, 68, 68, 954, 68, 955, 956, 957, 963, 965, 68, 958, 68, 966, 68, 968, 964, 68, 68, 960, 962, 972, 68, 971, 68, 68, 68, 975, 68, 68, 976, 974, 68, 970, 68, 68, 967, 68, 969, 68, 68, 977, 973, 986, 68, 982, 68, 68, 68, 978, 979, 984, 981, 980, 989, 983, 985, 990, 68, 68, 991, 993, 988, 68, 992, 68, 68, 995, 987, 68, 68, 68, 68, 68, 997, 994, 68, 1000, 68, 1002, 68, 996, 68, 998, 68, 1008, 68, 68, 1003, 1004, 1005, 68, 1006, 68, 68, 68, 68, 68, 999, 1011, 1001, 1007, 1009, 1010, 68, 1012, 1017, 68, 68, 68, 68, 68, 68, 1021, 1019, 1014, 1013, 1015, 1016, 68, 68, 68, 1022, 68, 1018, 1023, 68, 68, 1020, 68, 1024, 68, 1026, 68, 68, 68, 68, 68, 68, 68, 1034, 1025, 1033, 68, 1031, 1028, 1029, 1030, 1027, 68, 1038, 68, 1036, 68, 68, 68, 1032, 1035, 68, 1040, 1041, 68, 68, 1037, 68, 1046, 1042, 1043, 68, 68, 68, 68, 126, 1044, 1047, 1050, 68, 68, 68, 1039, 1054, 68, 68, 68, 1045, 1049, 68, 1048, 68, 1051, 1052, 1055, 68, 1053, 68, 1056, 68, 1057, 68, 1058, 68, 1059, 68, 68, 1062, 68, 1060, 68, 1063, 1066, 68, 68, 1061, 68, 1065, 1070, 1067, 1068, 68, 68, 1073, 68, 1069, 68, 1071, 1064, 1072, 68, 1076, 68, 68, 1074, 68, 1077, 68, 68, 1075, 68, 68, 1079, 68, 1080, 1078, 1082, 68, 68, 68, 68, 68, 68, 1081, 1090, 68, 68, 68, 68, 1091, 68, 68, 1130, 1088, 68, 1094, 1084, 68, 1086, 1083, 1092, 1087, 1085, 1089, 1093, 1095, 68, 1096, 68, 1100, 1097, 1098, 68, 1099, 68, 1101, 68, 1102, 68, 68, 68, 1105, 68, 68, 68, 1104, 1107, 68, 68, 68, 1109, 68, 1110, 68, 1111, 1113, 68, 68, 1103, 1115, 68, 68, 1106, 1116, 68, 68, 1108, 68, 1118, 1112, 1114, 68, 68, 1120, 1119, 68, 1121, 68, 68, 68, 68, 68, 1129, 1117, 1125, 68, 68, 68, 1123, 1127, 1128, 68, 1133, 1126, 1134, 1132, 68, 1122, 1124, 68, 68, 1135, 68, 68, 68, 1131, 1139, 68, 1142, 1136, 68, 1137, 1140, 1143, 1138, 1141, 68, 1144, 68, 68, 68, 68, 68, 68, 1145, 1147, 1150, 68, 1149, 68, 68, 68, 68, 1151, 1155, 1153, 68, 68, 1156, 68, 1146, 68, 1148, 68, 1154, 1152, 1157, 68, 1158, 1159, 68, 1160, 68, 1161, 68, 1162, 68, 1163, 68, 68, 68, 1164, 1166, 68, 1165, 1167, 68, 68, 1168, 68, 1169, 68, 1170, 1171, 68, 1172, 68, 1173, 68, 68, 68, 1174, 68, 68, 1180, 68, 68, 68, 68, 1175, 68, 1176, 1177, 68, 1178, 1181, 68, 68, 68, 68, 68, 1190, 68, 1179, 1188, 1189, 1184, 68, 1183, 68, 1186, 68, 1192, 1182, 1185, 1187, 1191, 1193, 68, 68, 68, 68, 1195, 68, 1200, 68, 1201, 1196, 1194, 68, 68, 68, 68, 68, 68, 68, 1207, 1198, 1197, 1208, 68, 68, 1199, 68, 1202, 1211, 68, 68, 68, 1203, 1213, 68, 1204, 1205, 68, 1206, 1209, 1214, 68, 68, 1215, 1210, 68, 1217, 68, 68, 1212, 1218, 68, 1219, 1216, 68, 68, 1220, 68, 125, 1222, 1223, 1225, 68, 1226, 68, 1227, 1221, 1228, 68, 68, 68, 68, 1224, 1229, 68, 68, 1230, 68, 1232, 68, 68, 1231, 68, 1236, 68, 68, 68, 68, 1234, 1235, 1233, 1240, 68, 1237, 1242, 68, 1241, 68, 68, 68, 68, 68, 1244, 123, 1238, 1239, 1243, 68, 1245, 1247, 68, 68, 1249, 1246, 68, 1251, 68, 1250, 1252, 68, 68, 1248, 1255, 1256, 68, 1253, 68, 68, 68, 68, 1257, 68, 68, 68, 1254, 1258, 68, 1262, 68, 1260, 68, 68, 68, 1264, 68, 68, 68, 1259, 1269, 1263, 68, 1261, 68, 1267, 1271, 68, 1272, 68, 68, 1273, 1265, 68, 1268, 68, 1270, 68, 1274, 1266, 1277, 68, 1275, 68, 1278, 68, 1279, 68, 68, 68, 1280, 1284, 68, 68, 68, 68, 1281, 68, 1276, 68, 1282, 68, 1285, 1283, 68, 1286, 1289, 1288, 1292, 68, 68, 1294, 68, 1287, 68, 1293, 1291, 1297, 68, 1298, 68, 1290, 68, 68, 1295, 68, 1302, 68, 68, 1304, 68, 68, 68, 68, 68, 1300, 1296, 121, 1307, 1311, 1303, 1299, 1308, 68, 68, 1301, 1306, 1309, 68, 1315, 1305, 1310, 68, 1312, 68, 68, 1313, 1314, 68, 68, 1317, 68, 68, 68, 68, 1321, 68, 1316, 1318, 1319, 68, 1323, 68, 68, 1322, 1325, 68, 1324, 68, 68, 1328, 68, 1320, 1329, 68, 1330, 68, 1331, 68, 68, 68, 1333, 68, 1326, 68, 68, 1334, 1327, 1336, 68, 68, 1332, 68, 68, 1337, 1341, 68, 68, 1342, 1342, 1342, 1342, 1342, 1342, 1335, 1338, 1339, 1342, 1342, 1342, 1342, 1342, 1340, 40, 40, 40, 40, 40, 40, 40, 45, 45, 45, 45, 45, 45, 45, 50, 50, 50, 50, 50, 50, 50, 56, 56, 56, 56, 56, 56, 56, 61, 61, 61, 61, 61, 61, 61, 71, 71, 1342, 71, 71, 71, 71, 120, 120, 1342, 1342, 1342, 120, 120, 122, 122, 1342, 1342, 122, 1342, 122, 124, 1342, 1342, 1342, 1342, 1342, 124, 127, 127, 1342, 1342, 1342, 127, 127, 129, 1342, 1342, 1342, 1342, 1342, 129, 131, 131, 1342, 131, 131, 131, 131, 72, 72, 1342, 72, 72, 72, 72, 13, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342 } ; static yyconst flex_int16_t yy_chk[2723] = { 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, 3, 3, 3, 4, 4, 4, 49, 5, 5, 49, 3, 5, 15, 4, 6, 6, 15, 5, 6, 9, 9, 9, 116, 33, 6, 7, 7, 7, 7, 9, 7, 10, 10, 10, 44, 44, 7, 8, 8, 8, 8, 10, 8, 21, 33, 116, 21, 21, 8, 11, 11, 11, 11, 11, 11, 1348, 20, 29, 20, 20, 11, 20, 29, 24, 21, 25, 20, 24, 28, 11, 12, 12, 12, 12, 12, 12, 74, 22, 22, 74, 25, 12, 69, 28, 66, 22, 69, 24, 26, 26, 12, 19, 22, 19, 19, 23, 19, 26, 66, 27, 23, 19, 19, 27, 23, 30, 27, 23, 31, 89, 23, 32, 32, 27, 89, 34, 32, 31, 60, 60, 30, 35, 77, 31, 34, 77, 35, 31, 78, 36, 34, 75, 32, 34, 36, 75, 35, 38, 76, 35, 34, 79, 37, 37, 36, 37, 78, 577, 36, 36, 88, 38, 39, 39, 88, 79, 38, 39, 76, 55, 37, 55, 55, 63, 55, 63, 63, 65, 63, 65, 65, 82, 65, 68, 63, 68, 68, 85, 68, 80, 81, 86, 84, 68, 71, 83, 71, 71, 87, 71, 83, 80, 92, 82, 71, 71, 84, 85, 81, 86, 90, 91, 98, 83, 91, 93, 87, 91, 95, 94, 93, 92, 94, 96, 90, 98, 94, 96, 97, 99, 100, 91, 95, 101, 102, 97, 99, 103, 102, 104, 93, 105, 107, 100, 104, 106, 108, 110, 104, 109, 111, 113, 110, 101, 114, 103, 115, 107, 106, 112, 112, 105, 111, 117, 118, 108, 119, 109, 117, 113, 114, 121, 121, 128, 128, 123, 118, 115, 123, 133, 112, 129, 133, 125, 119, 125, 125, 130, 125, 130, 130, 131, 130, 131, 131, 134, 131, 136, 135, 137, 134, 138, 131, 135, 139, 140, 141, 137, 142, 145, 140, 141, 136, 142, 144, 144, 138, 146, 147, 148, 151, 149, 146, 148, 139, 143, 149, 154, 145, 143, 150, 153, 154, 155, 143, 151, 152, 157, 156, 143, 161, 147, 157, 127, 150, 143, 143, 159, 152, 153, 160, 152, 159, 155, 156, 158, 158, 162, 159, 160, 163, 161, 162, 164, 165, 163, 166, 168, 164, 165, 167, 169, 170, 166, 171, 172, 167, 169, 173, 174, 175, 176, 171, 177, 174, 178, 180, 168, 177, 179, 172, 179, 181, 180, 170, 182, 184, 181, 173, 176, 176, 184, 175, 183, 183, 178, 185, 186, 187, 186, 188, 185, 190, 189, 182, 192, 193, 190, 191, 184, 187, 189, 195, 191, 194, 195, 186, 196, 196, 188, 192, 198, 194, 199, 193, 197, 197, 200, 201, 203, 200, 202, 201, 204, 203, 205, 205, 198, 199, 206, 202, 207, 208, 209, 206, 210, 207, 204, 212, 212, 211, 213, 214, 215, 216, 217, 218, 216, 215, 219, 221, 209, 208, 211, 214, 220, 210, 217, 219, 213, 223, 223, 221, 218, 225, 226, 218, 222, 220, 222, 222, 224, 229, 227, 224, 228, 228, 229, 230, 230, 226, 225, 227, 231, 225, 232, 233, 234, 235, 236, 237, 233, 236, 235, 238, 240, 241, 239, 231, 242, 240, 241, 243, 244, 237, 232, 239, 234, 245, 246, 238, 245, 249, 238, 248, 238, 250, 244, 252, 251, 242, 249, 243, 246, 126, 253, 255, 245, 247, 248, 247, 247, 258, 252, 254, 256, 257, 250, 251, 254, 247, 259, 247, 247, 247, 253, 255, 247, 260, 262, 256, 257, 258, 260, 263, 259, 261, 261, 264, 261, 266, 265, 266, 267, 268, 269, 124, 267, 270, 262, 263, 271, 273, 272, 264, 265, 273, 270, 272, 269, 271, 275, 268, 274, 277, 276, 275, 278, 281, 277, 270, 276, 274, 279, 279, 282, 280, 286, 283, 290, 278, 280, 284, 284, 282, 293, 285, 287, 287, 281, 283, 285, 289, 289, 291, 292, 295, 293, 286, 296, 290, 297, 291, 298, 292, 299, 300, 301, 298, 302, 303, 300, 304, 299, 303, 297, 295, 305, 306, 296, 307, 310, 305, 309, 312, 301, 314, 304, 311, 313, 313, 302, 316, 311, 306, 315, 315, 310, 311, 307, 308, 308, 317, 309, 312, 318, 308, 316, 308, 319, 320, 314, 321, 322, 317, 323, 308, 321, 324, 325, 318, 328, 322, 325, 326, 327, 308, 329, 319, 326, 330, 330, 320, 324, 323, 331, 332, 327, 333, 328, 329, 334, 335, 342, 334, 336, 336, 331, 332, 337, 337, 338, 348, 333, 122, 335, 338, 339, 339, 340, 340, 341, 343, 345, 342, 344, 341, 343, 345, 344, 346, 347, 348, 349, 346, 350, 347, 351, 349, 355, 350, 352, 353, 353, 352, 354, 359, 367, 355, 352, 354, 351, 356, 352, 357, 356, 358, 360, 357, 359, 361, 358, 360, 362, 363, 367, 364, 368, 362, 364, 363, 365, 361, 366, 365, 374, 370, 369, 366, 370, 357, 368, 369, 371, 374, 372, 373, 379, 371, 372, 372, 373, 375, 376, 377, 375, 377, 376, 376, 378, 380, 378, 381, 382, 383, 379, 384, 385, 383, 386, 375, 387, 388, 389, 394, 384, 120, 388, 380, 390, 390, 381, 385, 382, 391, 392, 387, 386, 391, 393, 392, 395, 389, 394, 396, 397, 398, 399, 401, 403, 397, 396, 399, 398, 395, 393, 400, 402, 403, 404, 405, 400, 408, 418, 402, 405, 401, 406, 407, 411, 406, 413, 407, 404, 411, 409, 409, 412, 414, 415, 418, 412, 421, 408, 409, 424, 414, 422, 423, 413, 424, 421, 423, 422, 415, 425, 426, 425, 427, 425, 428, 426, 425, 429, 430, 430, 429, 425, 431, 432, 432, 433, 436, 425, 425, 431, 427, 434, 434, 435, 437, 438, 435, 439, 439, 428, 433, 440, 441, 438, 442, 444, 436, 443, 443, 442, 444, 445, 446, 437, 445, 447, 440, 448, 446, 449, 441, 450, 451, 447, 453, 448, 450, 452, 452, 451, 454, 455, 453, 457, 458, 454, 457, 449, 459, 459, 460, 461, 463, 464, 461, 465, 466, 467, 458, 468, 455, 470, 461, 469, 471, 460, 474, 469, 468, 475, 473, 472, 474, 463, 464, 465, 476, 467, 466, 470, 472, 477, 479, 471, 473, 480, 477, 478, 481, 475, 476, 478, 482, 481, 483, 483, 485, 480, 484, 485, 486, 479, 487, 484, 488, 489, 490, 490, 492, 488, 491, 491, 493, 482, 494, 487, 493, 495, 486, 499, 496, 500, 498, 492, 501, 489, 498, 502, 509, 503, 505, 504, 508, 494, 496, 505, 500, 504, 501, 67, 509, 495, 497, 503, 499, 497, 508, 497, 502, 506, 506, 497, 513, 497, 507, 506, 512, 506, 497, 507, 510, 510, 511, 514, 512, 520, 513, 511, 515, 515, 516, 518, 521, 522, 516, 506, 518, 519, 522, 523, 519, 524, 514, 526, 520, 521, 525, 527, 523, 528, 529, 525, 531, 532, 533, 529, 536, 534, 528, 533, 524, 527, 534, 526, 535, 536, 537, 537, 532, 535, 531, 538, 542, 540, 543, 542, 538, 540, 540, 541, 541, 544, 545, 541, 546, 545, 547, 548, 549, 543, 550, 547, 548, 552, 549, 553, 550, 551, 551, 555, 554, 544, 552, 554, 556, 546, 557, 558, 61, 559, 560, 561, 568, 553, 559, 560, 562, 555, 566, 562, 558, 563, 564, 556, 569, 565, 557, 564, 570, 561, 565, 568, 563, 566, 567, 567, 572, 571, 569, 573, 570, 571, 574, 575, 578, 579, 580, 581, 573, 584, 582, 583, 581, 585, 572, 582, 583, 586, 578, 587, 579, 574, 586, 584, 588, 590, 580, 585, 575, 589, 589, 591, 592, 593, 587, 595, 594, 592, 596, 588, 591, 594, 596, 590, 597, 598, 599, 600, 601, 602, 603, 604, 593, 597, 595, 606, 605, 604, 611, 600, 598, 599, 610, 607, 609, 612, 611, 601, 603, 609, 602, 605, 607, 613, 615, 606, 610, 614, 613, 616, 644, 614, 614, 644, 617, 612, 623, 615, 616, 617, 618, 618, 619, 620, 621, 621, 622, 619, 620, 624, 623, 622, 625, 626, 627, 629, 628, 625, 626, 627, 628, 630, 632, 633, 629, 634, 632, 624, 635, 629, 636, 629, 630, 629, 638, 639, 637, 640, 633, 641, 641, 646, 635, 634, 637, 642, 642, 645, 638, 636, 647, 647, 645, 639, 648, 649, 649, 652, 650, 654, 646, 653, 640, 650, 651, 651, 653, 654, 655, 656, 657, 658, 669, 655, 648, 660, 657, 652, 658, 661, 660, 662, 664, 663, 661, 665, 662, 656, 663, 666, 668, 664, 667, 667, 670, 669, 671, 672, 675, 670, 666, 673, 674, 674, 665, 676, 677, 680, 678, 681, 668, 680, 680, 685, 682, 683, 671, 672, 675, 673, 683, 684, 686, 687, 677, 688, 686, 691, 689, 693, 676, 678, 682, 685, 690, 681, 693, 695, 692, 684, 694, 687, 689, 692, 688, 694, 691, 696, 697, 690, 699, 698, 706, 700, 701, 695, 696, 698, 700, 701, 702, 703, 703, 697, 705, 702, 706, 707, 708, 705, 710, 699, 708, 708, 709, 709, 711, 712, 713, 715, 714, 716, 717, 718, 713, 714, 707, 720, 721, 710, 719, 722, 722, 724, 723, 711, 712, 724, 715, 723, 716, 717, 718, 721, 719, 725, 726, 727, 720, 728, 728, 729, 731, 730, 732, 726, 729, 730, 725, 732, 735, 736, 736, 737, 745, 735, 746, 727, 737, 739, 739, 748, 731, 741, 741, 743, 744, 744, 743, 745, 747, 749, 749, 750, 752, 747, 748, 751, 751, 753, 754, 746, 755, 756, 754, 758, 759, 761, 756, 762, 753, 760, 760, 750, 763, 764, 752, 764, 767, 765, 759, 755, 768, 758, 765, 766, 769, 761, 771, 762, 766, 772, 769, 771, 763, 776, 768, 773, 767, 774, 773, 775, 775, 777, 774, 778, 779, 780, 784, 781, 783, 779, 785, 776, 781, 783, 772, 782, 782, 786, 787, 788, 777, 789, 790, 778, 784, 791, 792, 790, 780, 793, 785, 788, 787, 794, 789, 795, 801, 786, 797, 801, 796, 802, 795, 800, 800, 791, 792, 803, 794, 796, 793, 804, 796, 805, 797, 806, 803, 802, 807, 808, 808, 809, 805, 807, 806, 805, 810, 811, 812, 813, 804, 814, 815, 815, 816, 817, 56, 820, 819, 810, 828, 809, 812, 819, 824, 811, 821, 829, 828, 814, 816, 821, 822, 817, 813, 820, 823, 824, 822, 825, 829, 823, 825, 830, 831, 841, 832, 833, 825, 835, 836, 837, 838, 839, 836, 840, 837, 838, 839, 842, 845, 830, 832, 831, 840, 833, 843, 843, 841, 835, 844, 846, 845, 847, 842, 848, 849, 853, 847, 850, 851, 851, 856, 846, 844, 850, 853, 848, 852, 852, 854, 854, 855, 857, 849, 858, 860, 855, 859, 859, 861, 861, 863, 856, 862, 862, 864, 863, 866, 864, 867, 869, 857, 866, 868, 858, 860, 870, 870, 868, 871, 871, 872, 873, 874, 875, 876, 872, 867, 877, 878, 878, 879, 880, 880, 873, 869, 873, 883, 881, 884, 885, 873, 886, 874, 875, 876, 883, 885, 887, 877, 889, 886, 888, 888, 884, 890, 892, 879, 881, 893, 894, 892, 895, 897, 893, 896, 896, 899, 897, 895, 898, 890, 901, 900, 887, 902, 889, 903, 905, 898, 894, 906, 906, 903, 904, 907, 908, 899, 900, 905, 902, 901, 909, 904, 905, 910, 910, 909, 911, 912, 908, 913, 911, 911, 912, 914, 907, 915, 916, 917, 914, 918, 916, 913, 922, 919, 920, 921, 928, 915, 919, 917, 921, 928, 924, 933, 922, 924, 925, 925, 926, 926, 930, 927, 929, 936, 918, 933, 920, 927, 929, 930, 935, 935, 940, 940, 937, 938, 943, 945, 946, 946, 944, 936, 935, 937, 938, 944, 947, 951, 947, 950, 943, 948, 948, 953, 945, 957, 950, 952, 952, 954, 955, 956, 958, 960, 961, 962, 961, 951, 960, 963, 957, 954, 955, 956, 953, 964, 965, 965, 963, 966, 967, 971, 958, 962, 968, 967, 968, 969, 970, 964, 972, 973, 969, 970, 976, 974, 973, 977, 51, 971, 974, 978, 978, 979, 981, 966, 981, 980, 982, 983, 972, 977, 988, 976, 987, 979, 980, 982, 984, 980, 985, 983, 989, 984, 991, 985, 994, 987, 993, 999, 991, 995, 988, 997, 993, 996, 996, 1000, 989, 1002, 995, 1000, 997, 998, 998, 1001, 1003, 1003, 999, 1004, 1001, 994, 1002, 1007, 1008, 1008, 1010, 1004, 1009, 1009, 1011, 1013, 1007, 1012, 1014, 1011, 1015, 1012, 1010, 1014, 1016, 1018, 1019, 1020, 1021, 1022, 1013, 1024, 1024, 1025, 1026, 1065, 1025, 1034, 1027, 1065, 1021, 1028, 1028, 1016, 1031, 1019, 1015, 1026, 1020, 1018, 1022, 1027, 1029, 1029, 1030, 1030, 1034, 1031, 1032, 1032, 1033, 1033, 1035, 1035, 1036, 1036, 1037, 1039, 1040, 1040, 1041, 1044, 1039, 1042, 1042, 1043, 1045, 1044, 1048, 1045, 1046, 1046, 1047, 1047, 1052, 1037, 1049, 1049, 1055, 1041, 1051, 1051, 1054, 1043, 1053, 1053, 1046, 1048, 1056, 1057, 1055, 1054, 1058, 1056, 1059, 1061, 1060, 1062, 1063, 1064, 1052, 1060, 1067, 1069, 1064, 1058, 1062, 1063, 1070, 1070, 1061, 1071, 1069, 1074, 1057, 1059, 1071, 1072, 1072, 1075, 1077, 1080, 1067, 1077, 1078, 1080, 1072, 1081, 1074, 1078, 1081, 1075, 1079, 1079, 1082, 1082, 1083, 1084, 1085, 1086, 1087, 1083, 1085, 1088, 1089, 1087, 1091, 1092, 1088, 1094, 1089, 1094, 1092, 1093, 1097, 1097, 1111, 1084, 1110, 1086, 1103, 1093, 1091, 1100, 1100, 1103, 1104, 1104, 1106, 1106, 1108, 1109, 1109, 1119, 1110, 1108, 1112, 1117, 1111, 1114, 1114, 1112, 1117, 1118, 1120, 1118, 1124, 1119, 1125, 1120, 1121, 1121, 1122, 1122, 1123, 1123, 1126, 1127, 1124, 1128, 1129, 1130, 1130, 1131, 1132, 1133, 1125, 1135, 1126, 1127, 1134, 1128, 1131, 1136, 1137, 1142, 1138, 1139, 1140, 1140, 1129, 1138, 1139, 1134, 1147, 1133, 1148, 1136, 1143, 1143, 1132, 1135, 1137, 1142, 1145, 1145, 1146, 1149, 1150, 1147, 1151, 1152, 1152, 1153, 1148, 1146, 1154, 1155, 1153, 1156, 1162, 1158, 1161, 1162, 1150, 1149, 1163, 1163, 1164, 1151, 1165, 1154, 1167, 1167, 1168, 1175, 1155, 1169, 1169, 1156, 1158, 1176, 1161, 1164, 1170, 1170, 1174, 1174, 1165, 1177, 1176, 1178, 1179, 1168, 1177, 1181, 1178, 1175, 1182, 1183, 1179, 1184, 50, 1182, 1183, 1185, 1185, 1186, 1186, 1187, 1181, 1188, 1188, 1192, 1187, 1191, 1184, 1189, 1189, 1194, 1191, 1195, 1194, 1196, 1197, 1192, 1198, 1198, 1199, 1201, 1202, 1204, 1196, 1197, 1195, 1203, 1203, 1199, 1205, 1205, 1204, 1207, 1206, 1209, 1210, 1215, 1207, 45, 1201, 1202, 1206, 1220, 1209, 1212, 1212, 1216, 1216, 1210, 1217, 1218, 1218, 1217, 1219, 1219, 1221, 1215, 1222, 1223, 1223, 1220, 1224, 1222, 1230, 1227, 1224, 1231, 1232, 1234, 1221, 1227, 1233, 1233, 1235, 1231, 1236, 1237, 1239, 1235, 1238, 1241, 1243, 1230, 1241, 1234, 1246, 1232, 1245, 1238, 1244, 1244, 1245, 1248, 1249, 1246, 1236, 1250, 1239, 1253, 1243, 1255, 1248, 1237, 1253, 1259, 1249, 1254, 1254, 1257, 1255, 1258, 1260, 1263, 1257, 1261, 1261, 1262, 1264, 1267, 1258, 1268, 1250, 1265, 1259, 1266, 1262, 1260, 1273, 1263, 1266, 1265, 1269, 1269, 1270, 1272, 1272, 1264, 1274, 1270, 1268, 1275, 1275, 1276, 1276, 1267, 1277, 1278, 1273, 1279, 1280, 1280, 1281, 1282, 1282, 1283, 1285, 1286, 1290, 1278, 1274, 40, 1286, 1290, 1281, 1277, 1287, 1287, 1296, 1279, 1285, 1288, 1288, 1296, 1283, 1289, 1289, 1291, 1291, 1293, 1293, 1295, 1295, 1299, 1300, 1300, 1305, 1301, 1303, 1306, 1306, 1299, 1301, 1303, 1307, 1311, 1311, 1313, 1307, 1315, 1315, 1313, 1316, 1318, 1319, 1319, 1305, 1320, 1320, 1322, 1322, 1324, 1324, 1326, 1327, 1327, 1332, 1316, 1333, 1335, 1332, 1318, 1334, 1334, 1337, 1326, 1338, 1339, 1335, 1340, 1340, 14, 13, 0, 0, 0, 0, 0, 1333, 1337, 1338, 0, 0, 0, 0, 0, 1339, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 1345, 1345, 1345, 1345, 1345, 1345, 1345, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1347, 1347, 1347, 1347, 1347, 1347, 1347, 1349, 1349, 0, 1349, 1349, 1349, 1349, 1350, 1350, 0, 0, 0, 1350, 1350, 1351, 1351, 0, 0, 1351, 0, 1351, 1352, 0, 0, 0, 0, 0, 1352, 1353, 1353, 0, 0, 0, 1353, 1353, 1354, 0, 0, 0, 0, 0, 1354, 1355, 1355, 0, 1355, 1355, 1355, 1355, 1356, 1356, 0, 1356, 1356, 1356, 1356, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342 } ; 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 static int yy_more_flag = 0; static int yy_more_len = 0; #define yymore() ((yy_more_flag) = 1) #define YY_MORE_ADJ (yy_more_len) #define YY_RESTORE_YY_MORE_OFFSET char *yytext; /* * configlexer.lex - lexical analyzer for unbound config file * * Copyright (c) 2001-2006, NLnet Labs. All rights reserved * * See LICENSE for the license. * */ #include #include #include #ifdef HAVE_GLOB_H # include #endif #include "util/config_file.h" #include "util/configparser.h" void ub_c_error(const char *message); #if 0 #define LEXOUT(s) printf s /* used ONLY when debugging */ #else #define LEXOUT(s) #endif /** avoid warning in about fwrite return value */ #define ECHO ub_c_error_msg("syntax error at text: %s", yytext) /** A parser variable, this is a statement in the config file which is * of the form variable: value1 value2 ... nargs is the number of values. */ #define YDVAR(nargs, var) \ num_args=(nargs); \ LEXOUT(("v(%s%d) ", yytext, num_args)); \ if(num_args > 0) { BEGIN(val); } \ return (var); struct inc_state { char* filename; int line; }; static struct inc_state parse_stack[MAXINCLUDES]; static YY_BUFFER_STATE include_stack[MAXINCLUDES]; static int config_include_stack_ptr = 0; static int inc_prev = 0; static int num_args = 0; static void config_start_include(const char* filename) { FILE *input; if(strlen(filename) == 0) { ub_c_error_msg("empty include file name"); return; } if(config_include_stack_ptr >= MAXINCLUDES) { ub_c_error_msg("includes nested too deeply, skipped (>%d)", MAXINCLUDES); return; } if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, strlen(cfg_parser->chroot)) == 0) { filename += strlen(cfg_parser->chroot); } input = fopen(filename, "r"); if(!input) { ub_c_error_msg("cannot open include file '%s': %s", filename, strerror(errno)); return; } LEXOUT(("switch_to_include_file(%s) ", filename)); parse_stack[config_include_stack_ptr].filename = cfg_parser->filename; parse_stack[config_include_stack_ptr].line = cfg_parser->line; include_stack[config_include_stack_ptr] = YY_CURRENT_BUFFER; cfg_parser->filename = strdup(filename); cfg_parser->line = 1; yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE)); ++config_include_stack_ptr; } static void config_start_include_glob(const char* filename) { /* check for wildcards */ #ifdef HAVE_GLOB glob_t g; size_t i; int r, flags; if(!(!strchr(filename, '*') && !strchr(filename, '?') && !strchr(filename, '[') && !strchr(filename, '{') && !strchr(filename, '~'))) { flags = 0 #ifdef GLOB_ERR | GLOB_ERR #endif #ifdef GLOB_NOSORT | GLOB_NOSORT #endif #ifdef GLOB_BRACE | GLOB_BRACE #endif #ifdef GLOB_TILDE | GLOB_TILDE #endif ; memset(&g, 0, sizeof(g)); r = glob(filename, flags, NULL, &g); if(r) { /* some error */ globfree(&g); config_start_include(filename); /* let original deal with it */ return; } /* process files found, if any */ for(i=0; i<(size_t)g.gl_pathc; i++) { config_start_include(g.gl_pathv[i]); } globfree(&g); return; } #endif /* HAVE_GLOB */ config_start_include(filename); } static void config_end_include(void) { --config_include_stack_ptr; free(cfg_parser->filename); cfg_parser->filename = parse_stack[config_include_stack_ptr].filename; cfg_parser->line = parse_stack[config_include_stack_ptr].line; yy_delete_buffer(YY_CURRENT_BUFFER); yy_switch_to_buffer(include_stack[config_include_stack_ptr]); } #ifndef yy_set_bol /* compat definition, for flex 2.4.6 */ #define yy_set_bol(at_bol) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \ yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \ } #endif #define YY_NO_INPUT 1 #ifndef YY_NO_UNPUT #define YY_NO_UNPUT 1 #endif #ifndef YY_NO_INPUT #define YY_NO_INPUT 1 #endif #define INITIAL 0 #define quotedstring 1 #define singlequotedstr 2 #define include 3 #define include_quoted 4 #define val 5 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); yy_size_t yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 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 do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ 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 \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { yy_state_type yy_current_state; char *yy_cp, *yy_bp; int yy_act; if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { (yy_more_len) = 0; if ( (yy_more_flag) ) { (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); (yy_more_flag) = 0; } yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_match: do { 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 >= 1343 ) 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] != 2683 ); 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 { LEXOUT(("SP ")); /* ignore */ } YY_BREAK case 2: YY_RULE_SETUP { /* note that flex makes the longest match and '.' is any but not nl */ LEXOUT(("comment(%s) ", yytext)); /* ignore */ } YY_BREAK case 3: YY_RULE_SETUP { YDVAR(0, VAR_SERVER) } YY_BREAK case 4: YY_RULE_SETUP { YDVAR(1, VAR_NUM_THREADS) } YY_BREAK case 5: YY_RULE_SETUP { YDVAR(1, VAR_VERBOSITY) } YY_BREAK case 6: YY_RULE_SETUP { YDVAR(1, VAR_PORT) } YY_BREAK case 7: YY_RULE_SETUP { YDVAR(1, VAR_OUTGOING_RANGE) } YY_BREAK case 8: YY_RULE_SETUP { YDVAR(1, VAR_OUTGOING_PORT_PERMIT) } YY_BREAK case 9: YY_RULE_SETUP { YDVAR(1, VAR_OUTGOING_PORT_AVOID) } YY_BREAK case 10: YY_RULE_SETUP { YDVAR(1, VAR_OUTGOING_NUM_TCP) } YY_BREAK case 11: YY_RULE_SETUP { YDVAR(1, VAR_INCOMING_NUM_TCP) } YY_BREAK case 12: YY_RULE_SETUP { YDVAR(1, VAR_DO_IP4) } YY_BREAK case 13: YY_RULE_SETUP { YDVAR(1, VAR_DO_IP6) } YY_BREAK case 14: YY_RULE_SETUP { YDVAR(1, VAR_DO_UDP) } YY_BREAK case 15: YY_RULE_SETUP { YDVAR(1, VAR_DO_TCP) } YY_BREAK case 16: YY_RULE_SETUP { YDVAR(1, VAR_TCP_UPSTREAM) } YY_BREAK case 17: YY_RULE_SETUP { YDVAR(1, VAR_SSL_UPSTREAM) } YY_BREAK case 18: YY_RULE_SETUP { YDVAR(1, VAR_SSL_SERVICE_KEY) } YY_BREAK case 19: YY_RULE_SETUP { YDVAR(1, VAR_SSL_SERVICE_PEM) } YY_BREAK case 20: YY_RULE_SETUP { YDVAR(1, VAR_SSL_PORT) } YY_BREAK case 21: YY_RULE_SETUP { YDVAR(1, VAR_DO_DAEMONIZE) } YY_BREAK case 22: YY_RULE_SETUP { YDVAR(1, VAR_INTERFACE) } YY_BREAK case 23: YY_RULE_SETUP { YDVAR(1, VAR_OUTGOING_INTERFACE) } YY_BREAK case 24: YY_RULE_SETUP { YDVAR(1, VAR_INTERFACE_AUTOMATIC) } YY_BREAK case 25: YY_RULE_SETUP { YDVAR(1, VAR_SO_RCVBUF) } YY_BREAK case 26: YY_RULE_SETUP { YDVAR(1, VAR_SO_SNDBUF) } YY_BREAK case 27: YY_RULE_SETUP { YDVAR(1, VAR_CHROOT) } YY_BREAK case 28: YY_RULE_SETUP { YDVAR(1, VAR_USERNAME) } YY_BREAK case 29: YY_RULE_SETUP { YDVAR(1, VAR_DIRECTORY) } YY_BREAK case 30: YY_RULE_SETUP { YDVAR(1, VAR_LOGFILE) } YY_BREAK case 31: YY_RULE_SETUP { YDVAR(1, VAR_PIDFILE) } YY_BREAK case 32: YY_RULE_SETUP { YDVAR(1, VAR_ROOT_HINTS) } YY_BREAK case 33: YY_RULE_SETUP { YDVAR(1, VAR_EDNS_BUFFER_SIZE) } YY_BREAK case 34: YY_RULE_SETUP { YDVAR(1, VAR_MSG_BUFFER_SIZE) } YY_BREAK case 35: YY_RULE_SETUP { YDVAR(1, VAR_MSG_CACHE_SIZE) } YY_BREAK case 36: YY_RULE_SETUP { YDVAR(1, VAR_MSG_CACHE_SLABS) } YY_BREAK case 37: YY_RULE_SETUP { YDVAR(1, VAR_RRSET_CACHE_SIZE) } YY_BREAK case 38: YY_RULE_SETUP { YDVAR(1, VAR_RRSET_CACHE_SLABS) } YY_BREAK case 39: YY_RULE_SETUP { YDVAR(1, VAR_CACHE_MAX_TTL) } YY_BREAK case 40: YY_RULE_SETUP { YDVAR(1, VAR_CACHE_MIN_TTL) } YY_BREAK case 41: YY_RULE_SETUP { YDVAR(1, VAR_INFRA_HOST_TTL) } YY_BREAK case 42: YY_RULE_SETUP { YDVAR(1, VAR_INFRA_LAME_TTL) } YY_BREAK case 43: YY_RULE_SETUP { YDVAR(1, VAR_INFRA_CACHE_SLABS) } YY_BREAK case 44: YY_RULE_SETUP { YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) } YY_BREAK case 45: YY_RULE_SETUP { YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) } YY_BREAK case 46: YY_RULE_SETUP { YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) } YY_BREAK case 47: YY_RULE_SETUP { YDVAR(1, VAR_JOSTLE_TIMEOUT) } YY_BREAK case 48: YY_RULE_SETUP { YDVAR(1, VAR_TARGET_FETCH_POLICY) } YY_BREAK case 49: YY_RULE_SETUP { YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) } YY_BREAK case 50: YY_RULE_SETUP { YDVAR(1, VAR_HARDEN_LARGE_QUERIES) } YY_BREAK case 51: YY_RULE_SETUP { YDVAR(1, VAR_HARDEN_GLUE) } YY_BREAK case 52: YY_RULE_SETUP { YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) } YY_BREAK case 53: YY_RULE_SETUP { YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) } YY_BREAK case 54: YY_RULE_SETUP { YDVAR(1, VAR_HARDEN_REFERRAL_PATH) } YY_BREAK case 55: YY_RULE_SETUP { YDVAR(1, VAR_USE_CAPS_FOR_ID) } YY_BREAK case 56: YY_RULE_SETUP { YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) } YY_BREAK case 57: YY_RULE_SETUP { YDVAR(1, VAR_PRIVATE_ADDRESS) } YY_BREAK case 58: YY_RULE_SETUP { YDVAR(1, VAR_PRIVATE_DOMAIN) } YY_BREAK case 59: YY_RULE_SETUP { YDVAR(1, VAR_PREFETCH_KEY) } YY_BREAK case 60: YY_RULE_SETUP { YDVAR(1, VAR_PREFETCH) } YY_BREAK case 61: YY_RULE_SETUP { YDVAR(0, VAR_STUB_ZONE) } YY_BREAK case 62: YY_RULE_SETUP { YDVAR(1, VAR_NAME) } YY_BREAK case 63: YY_RULE_SETUP { YDVAR(1, VAR_STUB_ADDR) } YY_BREAK case 64: YY_RULE_SETUP { YDVAR(1, VAR_STUB_HOST) } YY_BREAK case 65: YY_RULE_SETUP { YDVAR(1, VAR_STUB_PRIME) } YY_BREAK case 66: YY_RULE_SETUP { YDVAR(1, VAR_STUB_FIRST) } YY_BREAK case 67: YY_RULE_SETUP { YDVAR(0, VAR_FORWARD_ZONE) } YY_BREAK case 68: YY_RULE_SETUP { YDVAR(1, VAR_FORWARD_ADDR) } YY_BREAK case 69: YY_RULE_SETUP { YDVAR(1, VAR_FORWARD_HOST) } YY_BREAK case 70: YY_RULE_SETUP { YDVAR(1, VAR_FORWARD_FIRST) } YY_BREAK case 71: YY_RULE_SETUP { YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) } YY_BREAK case 72: YY_RULE_SETUP { YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) } YY_BREAK case 73: YY_RULE_SETUP { YDVAR(2, VAR_ACCESS_CONTROL) } YY_BREAK case 74: YY_RULE_SETUP { YDVAR(1, VAR_HIDE_IDENTITY) } YY_BREAK case 75: YY_RULE_SETUP { YDVAR(1, VAR_HIDE_VERSION) } YY_BREAK case 76: YY_RULE_SETUP { YDVAR(1, VAR_IDENTITY) } YY_BREAK case 77: YY_RULE_SETUP { YDVAR(1, VAR_VERSION) } YY_BREAK case 78: YY_RULE_SETUP { YDVAR(1, VAR_MODULE_CONF) } YY_BREAK case 79: YY_RULE_SETUP { YDVAR(1, VAR_DLV_ANCHOR) } YY_BREAK case 80: YY_RULE_SETUP { YDVAR(1, VAR_DLV_ANCHOR_FILE) } YY_BREAK case 81: YY_RULE_SETUP { YDVAR(1, VAR_TRUST_ANCHOR_FILE) } YY_BREAK case 82: YY_RULE_SETUP { YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) } YY_BREAK case 83: YY_RULE_SETUP { YDVAR(1, VAR_TRUSTED_KEYS_FILE) } YY_BREAK case 84: YY_RULE_SETUP { YDVAR(1, VAR_TRUST_ANCHOR) } YY_BREAK case 85: YY_RULE_SETUP { YDVAR(1, VAR_VAL_OVERRIDE_DATE) } YY_BREAK case 86: YY_RULE_SETUP { YDVAR(1, VAR_VAL_SIG_SKEW_MIN) } YY_BREAK case 87: YY_RULE_SETUP { YDVAR(1, VAR_VAL_SIG_SKEW_MAX) } YY_BREAK case 88: YY_RULE_SETUP { YDVAR(1, VAR_BOGUS_TTL) } YY_BREAK case 89: YY_RULE_SETUP { YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) } YY_BREAK case 90: YY_RULE_SETUP { YDVAR(1, VAR_VAL_PERMISSIVE_MODE) } YY_BREAK case 91: YY_RULE_SETUP { YDVAR(1, VAR_IGNORE_CD_FLAG) } YY_BREAK case 92: YY_RULE_SETUP { YDVAR(1, VAR_VAL_LOG_LEVEL) } YY_BREAK case 93: YY_RULE_SETUP { YDVAR(1, VAR_KEY_CACHE_SIZE) } YY_BREAK case 94: YY_RULE_SETUP { YDVAR(1, VAR_KEY_CACHE_SLABS) } YY_BREAK case 95: YY_RULE_SETUP { YDVAR(1, VAR_NEG_CACHE_SIZE) } YY_BREAK case 96: YY_RULE_SETUP { YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) } YY_BREAK case 97: YY_RULE_SETUP { YDVAR(1, VAR_ADD_HOLDDOWN) } YY_BREAK case 98: YY_RULE_SETUP { YDVAR(1, VAR_DEL_HOLDDOWN) } YY_BREAK case 99: YY_RULE_SETUP { YDVAR(1, VAR_KEEP_MISSING) } YY_BREAK case 100: YY_RULE_SETUP { YDVAR(1, VAR_USE_SYSLOG) } YY_BREAK case 101: YY_RULE_SETUP { YDVAR(1, VAR_LOG_TIME_ASCII) } YY_BREAK case 102: YY_RULE_SETUP { YDVAR(1, VAR_LOG_QUERIES) } YY_BREAK case 103: YY_RULE_SETUP { YDVAR(2, VAR_LOCAL_ZONE) } YY_BREAK case 104: YY_RULE_SETUP { YDVAR(1, VAR_LOCAL_DATA) } YY_BREAK case 105: YY_RULE_SETUP { YDVAR(1, VAR_LOCAL_DATA_PTR) } YY_BREAK case 106: YY_RULE_SETUP { YDVAR(1, VAR_STATISTICS_INTERVAL) } YY_BREAK case 107: YY_RULE_SETUP { YDVAR(1, VAR_STATISTICS_CUMULATIVE) } YY_BREAK case 108: YY_RULE_SETUP { YDVAR(1, VAR_EXTENDED_STATISTICS) } YY_BREAK case 109: YY_RULE_SETUP { YDVAR(0, VAR_REMOTE_CONTROL) } YY_BREAK case 110: YY_RULE_SETUP { YDVAR(1, VAR_CONTROL_ENABLE) } YY_BREAK case 111: YY_RULE_SETUP { YDVAR(1, VAR_CONTROL_INTERFACE) } YY_BREAK case 112: YY_RULE_SETUP { YDVAR(1, VAR_CONTROL_PORT) } YY_BREAK case 113: YY_RULE_SETUP { YDVAR(1, VAR_SERVER_KEY_FILE) } YY_BREAK case 114: YY_RULE_SETUP { YDVAR(1, VAR_SERVER_CERT_FILE) } YY_BREAK case 115: YY_RULE_SETUP { YDVAR(1, VAR_CONTROL_KEY_FILE) } YY_BREAK case 116: YY_RULE_SETUP { YDVAR(1, VAR_CONTROL_CERT_FILE) } YY_BREAK case 117: YY_RULE_SETUP { YDVAR(1, VAR_PYTHON_SCRIPT) } YY_BREAK case 118: YY_RULE_SETUP { YDVAR(0, VAR_PYTHON) } YY_BREAK case 119: YY_RULE_SETUP { YDVAR(1, VAR_DOMAIN_INSECURE) } YY_BREAK case 120: YY_RULE_SETUP { YDVAR(1, VAR_MINIMAL_RESPONSES) } YY_BREAK case 121: YY_RULE_SETUP { YDVAR(1, VAR_RRSET_ROUNDROBIN) } YY_BREAK case 122: /* rule 122 can match eol */ YY_RULE_SETUP { LEXOUT(("NL\n")); cfg_parser->line++; } YY_BREAK /* Quoted strings. Strip leading and ending quotes */ case 123: YY_RULE_SETUP { BEGIN(quotedstring); LEXOUT(("QS ")); } YY_BREAK case YY_STATE_EOF(quotedstring): { yyerror("EOF inside quoted string"); if(--num_args == 0) { BEGIN(INITIAL); } else { BEGIN(val); } } YY_BREAK case 124: YY_RULE_SETUP { LEXOUT(("STR(%s) ", yytext)); yymore(); } YY_BREAK case 125: /* rule 125 can match eol */ YY_RULE_SETUP { yyerror("newline inside quoted string, no end \""); cfg_parser->line++; BEGIN(INITIAL); } YY_BREAK case 126: YY_RULE_SETUP { LEXOUT(("QE ")); if(--num_args == 0) { BEGIN(INITIAL); } else { BEGIN(val); } yytext[yyleng - 1] = '\0'; yylval.str = strdup(yytext); if(!yylval.str) yyerror("out of memory"); return STRING_ARG; } YY_BREAK /* Single Quoted strings. Strip leading and ending quotes */ case 127: YY_RULE_SETUP { BEGIN(singlequotedstr); LEXOUT(("SQS ")); } YY_BREAK case YY_STATE_EOF(singlequotedstr): { yyerror("EOF inside quoted string"); if(--num_args == 0) { BEGIN(INITIAL); } else { BEGIN(val); } } YY_BREAK case 128: YY_RULE_SETUP { LEXOUT(("STR(%s) ", yytext)); yymore(); } YY_BREAK case 129: /* rule 129 can match eol */ YY_RULE_SETUP { yyerror("newline inside quoted string, no end '"); cfg_parser->line++; BEGIN(INITIAL); } YY_BREAK case 130: YY_RULE_SETUP { LEXOUT(("SQE ")); if(--num_args == 0) { BEGIN(INITIAL); } else { BEGIN(val); } yytext[yyleng - 1] = '\0'; yylval.str = strdup(yytext); if(!yylval.str) yyerror("out of memory"); return STRING_ARG; } YY_BREAK /* include: directive */ case 131: YY_RULE_SETUP { LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); } YY_BREAK case YY_STATE_EOF(include): { yyerror("EOF inside include directive"); BEGIN(inc_prev); } YY_BREAK case 132: YY_RULE_SETUP { LEXOUT(("ISP ")); /* ignore */ } YY_BREAK case 133: /* rule 133 can match eol */ YY_RULE_SETUP { LEXOUT(("NL\n")); cfg_parser->line++;} YY_BREAK case 134: YY_RULE_SETUP { LEXOUT(("IQS ")); BEGIN(include_quoted); } YY_BREAK case 135: YY_RULE_SETUP { LEXOUT(("Iunquotedstr(%s) ", yytext)); config_start_include_glob(yytext); BEGIN(inc_prev); } YY_BREAK case YY_STATE_EOF(include_quoted): { yyerror("EOF inside quoted string"); BEGIN(inc_prev); } YY_BREAK case 136: YY_RULE_SETUP { LEXOUT(("ISTR(%s) ", yytext)); yymore(); } YY_BREAK case 137: /* rule 137 can match eol */ YY_RULE_SETUP { yyerror("newline before \" in include name"); cfg_parser->line++; BEGIN(inc_prev); } YY_BREAK case 138: YY_RULE_SETUP { LEXOUT(("IQE ")); yytext[yyleng - 1] = '\0'; config_start_include_glob(yytext); BEGIN(inc_prev); } YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(val): { yy_set_bol(1); /* Set beginning of line, so "^" rules match. */ if (config_include_stack_ptr == 0) { yyterminate(); } else { fclose(yyin); config_end_include(); } } YY_BREAK case 139: YY_RULE_SETUP { LEXOUT(("unquotedstr(%s) ", yytext)); if(--num_args == 0) { BEGIN(INITIAL); } yylval.str = strdup(yytext); return STRING_ARG; } YY_BREAK case 140: YY_RULE_SETUP { ub_c_error_msg("unknown keyword '%s'", yytext); } YY_BREAK case 141: YY_RULE_SETUP { ub_c_error_msg("stray '%s'", yytext); } YY_BREAK case 142: YY_RULE_SETUP ECHO; YY_BREAK case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; char *source = (yytext_ptr); int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { yy_size_t num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { yy_size_t new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ 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; if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { yy_state_type yy_current_state; char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1343 ) 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 ) { int yy_is_jam; char *yy_cp = (yy_c_buf_p); YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1343 ) 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 == 1342); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ 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); 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 ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { yy_size_t num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ 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*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 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 yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; yy_size_t i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void 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. * */ yy_size_t 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 ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { 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"