#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 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; #endif /* ! C99 */ /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* 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 extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 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,int len ); void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ (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 107 #define YY_END_OF_BUFFER 108 /* 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[975] = { 0, 1, 1, 91, 91, 95, 95, 99, 99, 103, 103, 108, 106, 1, 89, 90, 2, 94, 107, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 91, 92, 107, 93, 107, 95, 96, 97, 107, 102, 99, 100, 101, 107, 103, 104, 105, 107, 106, 0, 1, 2, 2, 2, 2, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 91, 0, 95, 0, 102, 0, 99, 103, 0, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 48, 106, 106, 106, 106, 106, 6, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 20, 106, 106, 106, 106, 12, 13, 106, 15, 14, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 3, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 98, 106, 106, 106, 106, 106, 106, 106, 106, 23, 106, 106, 106, 106, 106, 106, 106, 24, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 60, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 59, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 21, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 22, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 17, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 49, 50, 47, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 5, 106, 106, 106, 106, 106, 106, 106, 106, 62, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 77, 76, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 25, 106, 106, 106, 106, 106, 106, 106, 106, 75, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 41, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 4, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 84, 106, 16, 106, 106, 52, 53, 51, 106, 106, 106, 106, 106, 58, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 66, 106, 106, 106, 106, 106, 106, 106, 106, 31, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 57, 106, 106, 106, 106, 106, 106, 106, 106, 106, 61, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 68, 106, 106, 106, 106, 56, 106, 82, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 32, 33, 106, 71, 106, 106, 27, 106, 73, 106, 106, 106, 106, 106, 7, 106, 46, 81, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 63, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 72, 26, 28, 106, 106, 106, 106, 106, 45, 106, 106, 106, 85, 106, 106, 106, 106, 106, 44, 106, 106, 106, 106, 106, 106, 87, 106, 106, 106, 106, 106, 106, 106, 11, 106, 106, 106, 106, 106, 106, 10, 106, 106, 29, 106, 86, 106, 106, 106, 106, 106, 106, 106, 106, 106, 88, 83, 106, 106, 106, 106, 106, 106, 106, 106, 106, 34, 106, 106, 106, 106, 106, 30, 106, 106, 106, 64, 65, 106, 106, 67, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 18, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 80, 106, 106, 106, 106, 106, 106, 19, 106, 9, 106, 106, 78, 38, 106, 106, 70, 54, 106, 106, 40, 43, 39, 106, 35, 106, 8, 106, 69, 106, 106, 106, 36, 106, 79, 106, 55, 42, 37, 106, 106, 106, 106, 106, 106, 74, 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, 1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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[39] = { 0, 1, 2, 3, 4, 5, 1, 6, 1, 1, 1, 1, 1, 1, 1, 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[986] = { 0, 0, 0, 36, 39, 43, 50, 62, 74, 55, 67, 1998, 1984, 49, 1999, 1999, 81, 1999, 88, 32, 83, 76, 48, 78, 60, 89, 94, 86, 95, 103, 96, 98, 105, 101, 117, 111, 125, 1983, 1999, 1999, 1999, 136, 1982, 1999, 1999, 130, 1981, 1991, 1999, 1999, 144, 1979, 1999, 1999, 140, 1978, 148, 152, 0, 155, 0, 0, 148, 150, 143, 152, 154, 156, 162, 159, 158, 163, 164, 161, 167, 169, 176, 181, 182, 172, 187, 188, 190, 191, 196, 192, 198, 197, 199, 202, 203, 205, 206, 207, 214, 215, 1977, 229, 1976, 233, 1975, 239, 1985, 1973, 243, 236, 208, 229, 218, 239, 245, 246, 242, 238, 248, 249, 251, 256, 257, 253, 268, 261, 269, 271, 277, 273, 281, 284, 280, 282, 283, 285, 286, 289, 290, 292, 293, 294, 297, 298, 310, 314, 299, 303, 315, 311, 307, 319, 328, 330, 318, 323, 332, 334, 326, 340, 342, 348, 336, 344, 345, 349, 346, 351, 356, 352, 358, 368, 360, 362, 366, 372, 374, 376, 377, 373, 384, 380, 388, 381, 394, 391, 387, 395, 397, 414, 401, 400, 402, 408, 404, 405, 407, 411, 425, 434, 418, 421, 433, 435, 438, 440, 441, 442, 443, 445, 449, 446, 456, 463, 459, 460, 461, 466, 1972, 468, 464, 471, 473, 472, 1971, 474, 475, 477, 491, 478, 476, 488, 487, 497, 498, 490, 500, 503, 504, 505, 507, 511, 508, 510, 525, 509, 519, 522, 527, 529, 530, 535, 537, 543, 540, 545, 546, 548, 554, 553, 550, 512, 556, 547, 559, 563, 565, 569, 566, 577, 574, 575, 576, 581, 582, 583, 584, 585, 592, 588, 595, 605, 591, 602, 593, 601, 608, 611, 609, 614, 616, 618, 617, 620, 621, 622, 619, 623, 628, 635, 639, 1970, 642, 631, 643, 633, 1969, 1968, 644, 1967, 1966, 645, 655, 661, 652, 646, 653, 659, 662, 666, 656, 673, 680, 676, 681, 671, 687, 688, 689, 690, 692, 693, 694, 696, 702, 709, 705, 706, 711, 713, 1965, 715, 714, 707, 717, 720, 721, 727, 728, 664, 731, 729, 732, 735, 737, 739, 740, 742, 743, 744, 768, 745, 747, 750, 752, 753, 774, 766, 765, 755, 780, 762, 781, 784, 787, 1964, 793, 789, 790, 791, 795, 796, 797, 798, 1963, 804, 805, 807, 809, 806, 819, 822, 1962, 823, 821, 813, 825, 826, 829, 830, 836, 837, 838, 839, 842, 412, 846, 840, 848, 849, 850, 764, 851, 852, 855, 1961, 857, 864, 860, 858, 862, 869, 866, 873, 876, 877, 878, 881, 884, 882, 887, 885, 889, 890, 891, 892, 894, 895, 1960, 898, 900, 902, 905, 917, 919, 922, 915, 918, 924, 930, 932, 928, 934, 935, 936, 929, 926, 937, 945, 942, 946, 947, 957, 961, 963, 949, 958, 964, 967, 971, 1959, 977, 979, 980, 976, 981, 983, 984, 986, 987, 988, 990, 991, 993, 1958, 997, 994, 995, 998, 1002, 1000, 1001, 1007, 1008, 1016, 1021, 1011, 1020, 1022, 1024, 1027, 1035, 1038, 1039, 1957, 1031, 1042, 1046, 1037, 1052, 1048, 1050, 1051, 1053, 1054, 1055, 1056, 1057, 1059, 1060, 1061, 1065, 1073, 1062, 1079, 1082, 1956, 1955, 1954, 951, 1076, 1083, 1084, 1086, 1087, 1088, 1091, 1092, 1093, 1953, 1095, 1094, 1097, 1100, 1099, 1108, 1105, 1109, 1952, 1114, 1110, 1117, 1120, 1121, 1122, 1123, 1126, 1130, 1129, 1131, 1132, 1136, 1133, 1143, 1139, 1141, 1142, 1144, 1951, 1950, 1147, 1148, 1152, 1159, 1169, 1171, 1154, 1165, 1157, 1167, 1172, 1175, 1178, 1949, 1184, 1186, 1182, 1187, 1183, 1185, 1192, 1194, 1948, 1193, 1197, 1198, 1199, 1200, 1205, 1206, 1213, 1207, 1214, 1215, 1223, 1216, 1227, 1229, 1220, 1233, 1235, 1237, 1238, 1947, 1245, 1230, 1248, 1228, 1250, 1251, 1242, 1244, 1254, 1256, 1257, 1258, 1261, 1262, 1264, 1265, 1267, 1269, 1946, 1272, 1279, 1276, 1278, 1281, 1287, 1280, 1270, 1291, 1290, 1283, 1293, 1305, 1309, 1307, 1315, 1301, 1313, 1298, 1316, 1314, 1318, 1320, 1321, 1323, 1324, 1325, 1945, 1326, 1944, 1331, 1336, 1943, 1942, 1941, 1338, 1339, 1340, 1344, 1348, 1940, 1343, 1349, 1351, 1352, 1353, 1354, 1356, 1361, 1357, 1368, 1358, 1369, 1373, 1372, 1376, 1378, 1360, 1385, 1382, 1384, 1386, 1389, 1392, 1388, 1393, 1394, 1390, 1396, 1407, 1939, 1408, 1410, 1416, 1412, 1405, 1418, 1420, 1427, 1938, 1424, 1429, 1430, 1432, 1434, 1436, 1435, 1437, 1438, 1441, 1442, 1444, 1937, 1445, 1446, 1447, 1450, 1463, 1466, 1457, 1468, 1452, 1936, 1471, 1473, 1460, 1475, 1477, 1479, 1480, 1481, 1487, 1484, 1489, 1491, 1492, 1497, 1493, 1495, 1499, 1501, 1507, 1503, 1505, 1509, 1935, 1398, 1511, 1515, 1523, 1934, 1522, 1933, 1524, 1525, 1529, 1531, 1534, 1526, 1532, 1536, 1543, 1540, 1539, 1542, 1544, 1508, 1932, 1931, 1548, 1930, 1556, 1558, 1929, 1560, 1928, 1566, 1562, 1550, 1553, 1564, 1927, 1568, 1926, 1925, 1570, 1571, 1572, 1579, 1576, 1580, 1581, 1582, 1583, 1585, 1586, 1588, 1589, 1590, 1591, 1598, 1600, 1924, 1601, 1604, 1606, 1607, 1609, 1610, 1611, 1617, 1619, 1620, 1612, 1621, 1923, 1922, 1921, 1622, 1628, 1633, 1623, 1627, 1920, 1636, 1638, 1643, 1919, 1645, 1639, 1648, 1647, 1649, 1918, 1650, 1653, 1661, 1651, 1663, 1668, 1917, 1669, 1659, 1672, 1671, 1673, 1676, 1678, 1916, 1679, 1681, 1684, 1685, 1688, 1686, 1912, 1689, 1690, 1908, 1693, 1907, 1695, 1700, 1703, 1705, 1708, 1709, 1715, 1712, 1713, 1906, 1902, 1716, 1718, 1719, 1720, 1723, 1721, 1724, 1727, 1725, 1901, 1729, 1730, 1739, 1741, 1733, 1897, 1743, 1746, 1731, 1896, 1895, 1750, 1753, 1889, 1754, 1748, 1756, 1761, 1758, 1763, 1764, 1769, 1765, 1767, 1776, 1777, 1861, 1779, 1768, 1771, 1784, 1789, 1780, 1786, 1794, 1796, 1797, 1859, 1798, 1800, 1802, 1807, 1804, 1811, 1856, 1812, 1855, 1817, 1814, 1854, 1853, 1821, 1818, 1852, 1850, 1808, 1822, 1849, 1655, 1454, 1825, 1391, 1828, 1034, 1830, 758, 1831, 1834, 1836, 697, 1838, 654, 1839, 558, 353, 174, 1841, 1842, 1843, 1845, 1844, 1847, 114, 1999, 1875, 1881, 1887, 1893, 100, 1899, 1905, 1911, 61, 1916, 1922 } ; static yyconst flex_int16_t yy_def[986] = { 0, 974, 1, 975, 975, 976, 976, 977, 977, 978, 978, 974, 979, 974, 974, 974, 980, 974, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 981, 974, 974, 974, 981, 982, 974, 974, 982, 983, 974, 974, 974, 983, 984, 974, 974, 984, 979, 979, 974, 985, 980, 985, 980, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 981, 981, 982, 982, 983, 983, 974, 984, 984, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 0, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974 } ; static yyconst flex_int16_t yy_nxt[2038] = { 0, 12, 13, 14, 14, 15, 16, 17, 12, 12, 12, 12, 12, 18, 19, 12, 20, 21, 22, 23, 12, 24, 25, 26, 27, 28, 29, 30, 31, 12, 32, 33, 34, 35, 36, 12, 12, 12, 12, 38, 39, 40, 38, 39, 40, 56, 43, 39, 62, 41, 44, 57, 41, 43, 39, 58, 45, 44, 52, 52, 53, 56, 100, 45, 47, 48, 48, 49, 54, 39, 52, 52, 53, 56, 71, 50, 47, 48, 48, 49, 54, 39, 72, 60, 69, 60, 60, 50, 60, 56, 55, 56, 55, 55, 61, 55, 56, 63, 66, 56, 67, 55, 56, 68, 64, 70, 73, 56, 56, 56, 65, 56, 75, 76, 56, 74, 56, 79, 56, 89, 83, 80, 77, 86, 56, 84, 78, 56, 85, 82, 56, 91, 87, 90, 98, 88, 81, 98, 56, 94, 96, 96, 93, 95, 103, 103, 100, 92, 100, 100, 55, 100, 55, 55, 57, 55, 56, 60, 58, 60, 60, 56, 60, 56, 105, 56, 106, 56, 61, 56, 111, 56, 56, 107, 56, 56, 56, 56, 108, 116, 56, 115, 56, 117, 109, 56, 118, 56, 113, 56, 110, 112, 121, 114, 56, 56, 122, 125, 123, 119, 56, 56, 124, 56, 56, 56, 120, 126, 129, 56, 56, 56, 56, 127, 131, 56, 56, 136, 56, 56, 56, 56, 128, 132, 133, 140, 130, 56, 56, 144, 134, 56, 135, 96, 96, 138, 137, 98, 141, 139, 98, 100, 56, 100, 100, 142, 100, 103, 103, 56, 146, 56, 56, 148, 143, 56, 145, 147, 56, 56, 154, 56, 56, 149, 56, 156, 56, 157, 150, 56, 56, 162, 151, 155, 56, 164, 163, 158, 152, 153, 159, 56, 56, 160, 56, 167, 56, 161, 165, 169, 56, 168, 170, 56, 56, 56, 56, 56, 56, 56, 171, 172, 56, 56, 166, 56, 56, 56, 177, 180, 56, 56, 56, 175, 186, 173, 56, 181, 183, 174, 56, 176, 185, 56, 56, 179, 178, 56, 56, 182, 187, 56, 56, 189, 188, 192, 56, 191, 190, 56, 184, 56, 193, 56, 194, 56, 195, 56, 197, 56, 196, 198, 199, 56, 200, 56, 202, 56, 56, 56, 201, 56, 56, 206, 56, 56, 56, 208, 203, 56, 205, 56, 214, 56, 210, 56, 207, 204, 215, 56, 209, 56, 211, 212, 213, 56, 56, 56, 220, 56, 56, 221, 223, 56, 56, 216, 219, 56, 217, 218, 56, 56, 227, 226, 56, 222, 225, 56, 56, 228, 56, 230, 224, 56, 56, 56, 241, 56, 56, 229, 56, 56, 239, 232, 56, 56, 231, 56, 238, 233, 234, 56, 243, 240, 56, 463, 242, 245, 56, 244, 235, 236, 237, 246, 247, 248, 56, 56, 56, 250, 249, 56, 252, 56, 56, 56, 56, 260, 56, 56, 258, 251, 56, 255, 257, 261, 254, 259, 253, 56, 262, 263, 56, 56, 56, 256, 56, 56, 265, 56, 267, 56, 268, 264, 56, 56, 56, 56, 56, 56, 56, 56, 270, 274, 266, 271, 272, 269, 275, 276, 56, 56, 279, 56, 56, 283, 273, 278, 277, 280, 56, 56, 285, 56, 287, 284, 56, 56, 56, 282, 56, 56, 56, 56, 56, 56, 281, 286, 289, 292, 288, 297, 56, 295, 296, 56, 290, 294, 56, 293, 56, 291, 56, 56, 312, 300, 298, 302, 56, 303, 56, 304, 305, 56, 299, 301, 56, 306, 56, 56, 56, 56, 309, 56, 307, 308, 56, 56, 311, 56, 310, 56, 56, 314, 313, 315, 56, 318, 56, 56, 316, 319, 56, 317, 322, 323, 320, 56, 56, 56, 56, 325, 326, 324, 56, 56, 56, 56, 56, 327, 332, 56, 330, 331, 56, 56, 56, 321, 56, 329, 333, 334, 328, 335, 56, 56, 341, 336, 56, 338, 339, 56, 56, 337, 56, 342, 343, 56, 340, 56, 56, 56, 56, 56, 56, 56, 56, 347, 348, 349, 350, 56, 344, 346, 56, 352, 56, 345, 56, 351, 356, 354, 56, 355, 353, 56, 56, 56, 56, 56, 359, 357, 361, 362, 358, 56, 56, 56, 56, 56, 368, 371, 56, 360, 56, 56, 369, 56, 363, 56, 373, 364, 372, 374, 56, 365, 56, 375, 403, 56, 370, 366, 367, 56, 56, 378, 376, 377, 379, 380, 56, 56, 56, 56, 381, 56, 56, 56, 382, 56, 56, 383, 386, 384, 388, 56, 387, 389, 56, 56, 56, 390, 56, 385, 56, 392, 56, 56, 56, 393, 56, 396, 391, 56, 56, 401, 394, 395, 397, 399, 56, 56, 56, 398, 56, 56, 406, 400, 56, 404, 56, 407, 56, 56, 411, 56, 56, 56, 56, 402, 56, 423, 405, 56, 409, 56, 56, 408, 56, 429, 412, 56, 410, 469, 420, 56, 421, 56, 56, 56, 413, 56, 419, 431, 414, 422, 415, 56, 424, 428, 416, 417, 427, 56, 56, 425, 418, 56, 430, 434, 56, 435, 56, 56, 56, 436, 56, 432, 56, 56, 56, 56, 426, 439, 440, 433, 438, 56, 56, 56, 56, 437, 56, 444, 442, 445, 56, 446, 447, 441, 449, 443, 56, 448, 56, 56, 56, 450, 56, 56, 451, 454, 56, 56, 455, 453, 457, 456, 452, 56, 56, 56, 56, 56, 464, 56, 460, 461, 462, 56, 466, 56, 56, 56, 56, 56, 458, 465, 56, 459, 56, 56, 474, 56, 471, 56, 468, 56, 475, 56, 467, 470, 56, 473, 476, 480, 56, 478, 477, 56, 56, 56, 472, 479, 56, 56, 483, 56, 56, 482, 56, 485, 56, 56, 56, 56, 481, 56, 56, 486, 491, 56, 484, 56, 487, 56, 488, 494, 56, 492, 490, 496, 489, 498, 495, 499, 493, 501, 56, 500, 56, 56, 56, 503, 497, 56, 502, 56, 506, 56, 507, 56, 56, 56, 504, 56, 508, 56, 56, 56, 56, 509, 516, 514, 505, 56, 515, 510, 56, 56, 56, 511, 56, 512, 56, 513, 518, 584, 517, 522, 56, 56, 519, 523, 56, 524, 56, 56, 521, 526, 56, 525, 527, 520, 56, 530, 528, 531, 532, 56, 56, 529, 56, 56, 56, 535, 56, 56, 533, 56, 56, 56, 539, 56, 56, 543, 56, 56, 56, 544, 56, 56, 534, 56, 56, 56, 536, 538, 537, 548, 56, 56, 540, 542, 56, 546, 552, 550, 541, 56, 547, 549, 545, 56, 56, 56, 553, 56, 551, 554, 56, 555, 556, 560, 56, 559, 561, 56, 56, 557, 56, 56, 56, 562, 564, 56, 566, 558, 565, 56, 567, 56, 563, 56, 56, 56, 56, 56, 56, 56, 56, 575, 56, 56, 56, 56, 576, 579, 56, 568, 572, 569, 570, 574, 571, 577, 56, 582, 573, 56, 583, 580, 56, 578, 581, 56, 56, 56, 588, 56, 56, 56, 590, 585, 56, 56, 56, 56, 56, 592, 56, 587, 56, 56, 591, 597, 599, 598, 56, 589, 586, 56, 56, 56, 593, 594, 595, 56, 601, 596, 56, 604, 602, 56, 56, 56, 56, 600, 609, 56, 607, 608, 56, 56, 56, 56, 56, 603, 610, 56, 605, 616, 56, 606, 56, 56, 56, 56, 615, 611, 56, 56, 614, 612, 613, 56, 620, 56, 621, 622, 56, 617, 56, 618, 624, 619, 625, 627, 56, 623, 56, 626, 56, 628, 56, 56, 629, 631, 56, 634, 630, 56, 636, 632, 637, 56, 56, 56, 56, 56, 56, 638, 633, 639, 641, 56, 56, 56, 635, 640, 56, 56, 56, 56, 646, 642, 647, 648, 56, 56, 56, 652, 649, 643, 644, 645, 56, 56, 56, 56, 651, 653, 650, 56, 655, 656, 56, 659, 657, 658, 56, 56, 56, 56, 654, 661, 56, 662, 56, 663, 56, 56, 660, 665, 664, 56, 667, 56, 56, 670, 666, 56, 669, 56, 56, 668, 671, 56, 672, 56, 56, 56, 678, 673, 56, 56, 674, 56, 56, 682, 56, 679, 56, 56, 680, 56, 675, 686, 676, 56, 685, 56, 56, 56, 56, 677, 56, 684, 688, 689, 56, 692, 681, 56, 56, 683, 56, 691, 687, 690, 693, 56, 694, 697, 56, 700, 695, 698, 56, 696, 56, 699, 56, 701, 705, 702, 56, 56, 56, 56, 703, 56, 708, 56, 56, 704, 56, 56, 56, 56, 709, 710, 707, 711, 56, 714, 717, 712, 706, 56, 713, 56, 56, 56, 719, 715, 56, 56, 716, 720, 721, 56, 56, 723, 56, 56, 56, 56, 718, 56, 56, 56, 730, 56, 56, 722, 725, 726, 727, 729, 731, 56, 56, 728, 724, 56, 56, 733, 734, 56, 735, 56, 738, 739, 736, 56, 732, 56, 56, 56, 740, 56, 56, 56, 56, 56, 56, 56, 737, 56, 746, 56, 742, 743, 744, 741, 745, 747, 56, 748, 56, 56, 749, 56, 750, 56, 751, 752, 754, 56, 804, 56, 753, 56, 755, 757, 756, 56, 758, 759, 56, 761, 56, 56, 762, 56, 760, 56, 56, 56, 56, 56, 764, 765, 56, 56, 763, 56, 56, 56, 56, 772, 766, 56, 775, 56, 770, 56, 767, 768, 56, 773, 774, 56, 769, 776, 56, 771, 777, 56, 779, 56, 778, 780, 56, 782, 56, 784, 56, 781, 56, 783, 56, 56, 56, 788, 787, 56, 786, 790, 56, 792, 56, 793, 56, 56, 56, 785, 56, 789, 56, 795, 56, 797, 56, 791, 56, 796, 56, 799, 56, 56, 56, 822, 56, 801, 803, 802, 56, 806, 794, 807, 798, 805, 800, 56, 56, 56, 56, 56, 809, 811, 56, 810, 56, 56, 808, 56, 812, 56, 813, 817, 56, 56, 816, 56, 56, 56, 814, 818, 820, 56, 823, 56, 815, 821, 56, 819, 824, 56, 825, 56, 826, 56, 827, 56, 828, 56, 829, 56, 832, 56, 831, 56, 56, 56, 834, 830, 833, 56, 835, 836, 56, 56, 56, 56, 56, 842, 56, 56, 837, 56, 56, 56, 56, 839, 840, 841, 843, 847, 838, 56, 849, 56, 56, 846, 848, 56, 851, 56, 56, 845, 56, 56, 56, 56, 844, 858, 852, 857, 56, 850, 56, 56, 56, 56, 56, 853, 855, 854, 56, 56, 856, 860, 863, 864, 56, 859, 867, 56, 865, 56, 56, 861, 862, 869, 56, 866, 56, 870, 56, 56, 56, 56, 56, 873, 56, 874, 56, 868, 872, 876, 56, 871, 56, 879, 56, 875, 878, 877, 880, 56, 56, 882, 56, 56, 56, 881, 883, 56, 886, 56, 56, 884, 56, 885, 890, 56, 56, 56, 887, 56, 56, 56, 893, 896, 56, 891, 56, 892, 888, 894, 889, 56, 898, 895, 56, 900, 56, 899, 901, 56, 56, 903, 904, 56, 56, 897, 56, 56, 905, 56, 56, 56, 56, 902, 56, 56, 56, 907, 56, 910, 56, 56, 56, 915, 56, 906, 909, 913, 908, 917, 56, 911, 56, 919, 56, 914, 918, 56, 916, 56, 912, 56, 923, 920, 56, 56, 922, 56, 921, 56, 925, 928, 56, 924, 56, 56, 56, 926, 56, 56, 56, 927, 56, 931, 929, 932, 935, 56, 56, 937, 56, 56, 930, 936, 940, 56, 934, 56, 938, 941, 56, 933, 942, 939, 944, 56, 945, 56, 56, 56, 948, 56, 949, 56, 947, 56, 943, 950, 56, 56, 951, 952, 56, 56, 953, 56, 946, 954, 56, 56, 955, 956, 56, 56, 957, 960, 56, 959, 958, 56, 962, 56, 56, 961, 964, 56, 965, 56, 966, 56, 56, 967, 56, 56, 56, 56, 56, 973, 56, 963, 56, 56, 969, 56, 56, 56, 56, 56, 970, 971, 56, 968, 56, 972, 37, 37, 37, 37, 37, 37, 42, 42, 42, 42, 42, 42, 46, 46, 46, 46, 46, 46, 51, 51, 51, 51, 51, 51, 59, 59, 56, 59, 59, 59, 96, 96, 56, 56, 56, 96, 98, 98, 56, 56, 98, 103, 103, 56, 56, 56, 103, 60, 60, 56, 60, 60, 60, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 104, 102, 101, 99, 97, 56, 104, 102, 101, 99, 97, 56, 974, 11, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974 } ; static yyconst flex_int16_t yy_chk[2038] = { 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, 3, 3, 3, 4, 4, 4, 19, 5, 5, 19, 3, 5, 13, 4, 6, 6, 13, 5, 6, 9, 9, 9, 22, 983, 6, 7, 7, 7, 7, 9, 7, 10, 10, 10, 24, 24, 7, 8, 8, 8, 8, 10, 8, 24, 16, 22, 16, 16, 8, 16, 21, 18, 23, 18, 18, 16, 18, 20, 20, 21, 27, 21, 979, 25, 21, 20, 23, 25, 26, 28, 30, 20, 31, 26, 27, 33, 25, 29, 29, 32, 33, 31, 29, 28, 32, 35, 31, 28, 973, 31, 30, 34, 34, 32, 33, 45, 32, 29, 45, 36, 36, 41, 41, 35, 36, 54, 54, 50, 34, 50, 50, 56, 50, 56, 56, 57, 56, 64, 59, 57, 59, 59, 62, 59, 63, 62, 65, 63, 66, 59, 67, 68, 70, 69, 64, 73, 68, 71, 72, 65, 73, 74, 72, 75, 74, 66, 79, 74, 966, 70, 76, 67, 69, 76, 71, 77, 78, 76, 79, 77, 74, 80, 81, 78, 82, 83, 85, 75, 80, 83, 84, 87, 86, 88, 81, 85, 89, 90, 90, 91, 92, 93, 106, 82, 86, 87, 93, 84, 94, 95, 106, 88, 108, 89, 97, 97, 91, 90, 99, 94, 92, 99, 101, 107, 101, 101, 95, 101, 104, 104, 105, 108, 113, 109, 110, 105, 112, 107, 109, 110, 111, 112, 114, 115, 111, 116, 114, 119, 115, 111, 117, 118, 119, 111, 113, 121, 121, 120, 116, 111, 111, 117, 120, 122, 117, 123, 124, 125, 118, 122, 126, 124, 125, 127, 128, 126, 129, 130, 127, 131, 132, 128, 129, 133, 134, 123, 135, 136, 137, 134, 137, 138, 139, 142, 132, 142, 130, 143, 138, 140, 131, 146, 133, 141, 140, 145, 136, 135, 141, 144, 139, 142, 150, 147, 144, 143, 147, 151, 146, 145, 154, 140, 148, 148, 149, 149, 152, 150, 153, 152, 158, 151, 153, 154, 155, 155, 156, 157, 159, 160, 162, 156, 157, 161, 161, 163, 165, 965, 163, 158, 164, 160, 166, 168, 168, 165, 169, 162, 159, 169, 170, 164, 167, 166, 167, 167, 171, 175, 172, 173, 173, 174, 174, 176, 177, 179, 170, 172, 176, 170, 171, 182, 178, 180, 179, 181, 175, 178, 180, 183, 181, 184, 183, 177, 187, 186, 188, 189, 190, 191, 182, 192, 189, 187, 184, 193, 401, 183, 185, 186, 185, 185, 196, 191, 188, 197, 401, 190, 193, 194, 192, 185, 185, 185, 194, 195, 195, 198, 195, 199, 197, 196, 200, 199, 201, 202, 203, 204, 206, 205, 207, 204, 198, 206, 202, 203, 207, 201, 205, 200, 208, 208, 209, 210, 211, 212, 202, 209, 216, 211, 213, 213, 215, 215, 210, 217, 219, 218, 221, 222, 226, 223, 225, 217, 222, 212, 218, 219, 216, 223, 224, 228, 227, 227, 231, 224, 229, 221, 226, 225, 227, 229, 230, 230, 232, 232, 229, 233, 234, 235, 228, 236, 238, 241, 239, 237, 257, 227, 231, 234, 237, 233, 242, 242, 240, 241, 243, 235, 239, 240, 238, 244, 236, 245, 246, 257, 245, 243, 247, 247, 248, 248, 249, 250, 250, 244, 246, 249, 251, 251, 252, 259, 253, 254, 256, 252, 253, 255, 254, 256, 258, 255, 964, 260, 259, 258, 260, 261, 261, 262, 264, 260, 262, 263, 260, 264, 265, 263, 266, 267, 268, 265, 267, 268, 266, 269, 270, 271, 272, 273, 269, 274, 275, 272, 273, 278, 274, 280, 263, 276, 271, 275, 276, 270, 277, 281, 279, 282, 277, 277, 279, 280, 282, 284, 278, 283, 283, 284, 285, 281, 286, 288, 287, 292, 289, 290, 291, 293, 288, 289, 290, 291, 294, 285, 287, 299, 293, 301, 286, 295, 292, 298, 295, 296, 296, 294, 298, 300, 304, 307, 311, 301, 299, 307, 308, 300, 310, 312, 962, 308, 316, 310, 313, 313, 304, 309, 314, 311, 345, 309, 315, 315, 309, 314, 316, 321, 309, 317, 317, 345, 319, 312, 309, 309, 318, 320, 320, 318, 319, 321, 322, 322, 323, 324, 325, 323, 326, 327, 328, 324, 329, 960, 325, 328, 326, 330, 330, 329, 331, 332, 333, 339, 332, 331, 327, 334, 334, 335, 338, 337, 335, 340, 338, 333, 341, 342, 343, 335, 337, 339, 341, 343, 344, 347, 340, 346, 348, 348, 342, 349, 346, 350, 349, 351, 352, 353, 353, 354, 355, 357, 344, 358, 361, 347, 359, 351, 360, 361, 350, 365, 365, 354, 956, 352, 407, 358, 367, 359, 407, 364, 363, 355, 356, 357, 367, 356, 360, 356, 362, 362, 364, 356, 356, 363, 366, 368, 362, 356, 369, 366, 370, 370, 372, 373, 374, 375, 373, 372, 368, 376, 377, 378, 379, 362, 376, 377, 369, 375, 381, 382, 385, 383, 374, 384, 382, 379, 383, 391, 384, 385, 378, 387, 381, 386, 386, 390, 387, 389, 389, 392, 393, 389, 392, 394, 395, 393, 391, 395, 394, 390, 396, 397, 398, 399, 403, 402, 400, 398, 399, 400, 402, 404, 404, 405, 406, 408, 409, 396, 403, 410, 397, 412, 415, 413, 414, 409, 416, 406, 413, 414, 418, 405, 408, 417, 412, 415, 419, 419, 417, 416, 420, 421, 422, 410, 418, 423, 425, 422, 424, 427, 421, 426, 424, 428, 429, 430, 431, 420, 432, 433, 425, 430, 435, 423, 436, 426, 437, 427, 433, 438, 431, 429, 436, 428, 438, 435, 439, 432, 440, 442, 439, 439, 443, 440, 442, 437, 441, 441, 444, 445, 452, 446, 447, 451, 445, 443, 446, 447, 448, 449, 450, 453, 448, 452, 450, 444, 455, 451, 449, 454, 456, 457, 449, 461, 449, 525, 449, 454, 525, 453, 458, 458, 462, 455, 459, 459, 460, 460, 463, 457, 462, 464, 461, 463, 456, 465, 467, 464, 468, 469, 470, 467, 465, 468, 469, 471, 472, 472, 473, 470, 474, 475, 476, 476, 477, 478, 481, 479, 482, 483, 481, 481, 484, 471, 486, 487, 485, 473, 475, 474, 485, 488, 489, 477, 479, 492, 483, 489, 487, 478, 490, 484, 486, 482, 493, 491, 494, 490, 495, 488, 491, 496, 492, 493, 497, 501, 496, 498, 954, 497, 494, 504, 498, 499, 499, 502, 502, 504, 495, 503, 503, 505, 506, 501, 507, 508, 505, 509, 510, 511, 512, 513, 513, 514, 515, 516, 519, 514, 517, 517, 506, 510, 507, 508, 512, 509, 515, 518, 520, 511, 526, 521, 518, 520, 516, 519, 521, 527, 528, 529, 529, 530, 531, 531, 526, 532, 533, 534, 537, 536, 533, 538, 528, 540, 539, 532, 539, 541, 540, 542, 530, 527, 541, 543, 546, 534, 536, 537, 545, 543, 538, 547, 547, 545, 548, 549, 550, 551, 542, 552, 552, 550, 551, 554, 553, 555, 556, 558, 546, 553, 557, 548, 559, 560, 549, 561, 562, 559, 563, 558, 554, 566, 567, 557, 555, 556, 568, 563, 572, 563, 566, 574, 560, 569, 561, 568, 562, 568, 570, 573, 567, 575, 569, 570, 571, 571, 576, 572, 574, 577, 577, 573, 578, 580, 575, 581, 582, 584, 580, 585, 581, 583, 582, 576, 583, 584, 586, 589, 587, 578, 583, 590, 591, 592, 593, 590, 585, 591, 592, 594, 595, 597, 596, 593, 586, 587, 589, 596, 598, 599, 601, 595, 597, 594, 604, 599, 600, 600, 603, 601, 602, 602, 613, 603, 611, 598, 605, 605, 606, 606, 607, 607, 608, 604, 610, 608, 616, 612, 617, 610, 615, 611, 612, 614, 614, 615, 613, 616, 618, 616, 619, 620, 621, 621, 616, 622, 623, 617, 624, 625, 625, 626, 622, 627, 636, 623, 629, 618, 630, 619, 631, 629, 632, 630, 635, 633, 620, 639, 627, 632, 633, 634, 636, 624, 638, 637, 626, 640, 635, 631, 634, 637, 647, 638, 641, 645, 643, 639, 642, 641, 640, 643, 642, 642, 644, 648, 645, 646, 649, 644, 648, 646, 650, 651, 651, 652, 647, 653, 654, 655, 657, 652, 653, 650, 654, 659, 659, 664, 655, 649, 660, 657, 664, 665, 666, 666, 659, 670, 667, 660, 667, 668, 668, 671, 671, 672, 673, 674, 675, 665, 676, 678, 680, 678, 686, 677, 670, 673, 674, 675, 677, 679, 679, 681, 676, 672, 683, 682, 681, 682, 684, 683, 685, 686, 687, 684, 688, 680, 689, 687, 690, 688, 693, 691, 696, 952, 692, 694, 695, 685, 697, 693, 755, 690, 691, 692, 689, 692, 694, 704, 695, 698, 700, 696, 701, 697, 703, 698, 700, 702, 702, 755, 705, 701, 706, 703, 705, 704, 709, 706, 707, 707, 710, 710, 711, 711, 712, 709, 713, 715, 714, 716, 717, 713, 714, 718, 719, 712, 720, 722, 723, 724, 722, 715, 725, 725, 730, 719, 950, 716, 717, 728, 723, 724, 734, 718, 726, 726, 720, 727, 727, 729, 729, 728, 730, 732, 733, 733, 735, 735, 732, 736, 734, 737, 738, 739, 739, 738, 741, 737, 740, 740, 742, 742, 743, 743, 744, 746, 736, 747, 739, 745, 745, 748, 747, 749, 741, 751, 746, 752, 749, 750, 775, 753, 775, 756, 751, 753, 752, 757, 757, 744, 758, 748, 756, 750, 760, 758, 762, 763, 767, 762, 764, 764, 763, 765, 768, 760, 766, 765, 769, 766, 770, 772, 771, 769, 773, 770, 774, 767, 771, 773, 778, 778, 787, 768, 774, 788, 772, 780, 780, 781, 781, 783, 783, 785, 786, 786, 789, 787, 785, 791, 791, 789, 794, 795, 796, 795, 788, 794, 798, 796, 797, 797, 799, 800, 801, 802, 803, 803, 804, 798, 805, 806, 807, 808, 800, 801, 802, 804, 808, 799, 809, 810, 810, 812, 807, 809, 813, 813, 814, 815, 806, 816, 817, 818, 822, 805, 820, 814, 819, 819, 812, 820, 821, 823, 827, 830, 815, 817, 816, 831, 828, 818, 822, 828, 829, 829, 821, 833, 833, 830, 834, 838, 823, 827, 835, 835, 831, 837, 837, 840, 839, 841, 843, 846, 840, 844, 841, 949, 834, 839, 844, 851, 838, 845, 847, 847, 843, 846, 845, 848, 848, 850, 851, 853, 852, 854, 850, 852, 855, 855, 856, 858, 853, 859, 854, 860, 860, 861, 863, 856, 862, 865, 866, 863, 868, 868, 861, 870, 862, 858, 865, 859, 871, 871, 866, 872, 873, 873, 872, 874, 874, 875, 876, 877, 877, 878, 870, 876, 881, 878, 882, 883, 884, 886, 875, 885, 887, 889, 882, 888, 885, 891, 892, 899, 891, 895, 881, 884, 888, 883, 893, 893, 886, 894, 895, 897, 889, 894, 898, 892, 906, 887, 902, 902, 897, 903, 905, 899, 907, 898, 909, 905, 908, 908, 903, 910, 911, 913, 906, 914, 919, 912, 907, 920, 911, 909, 912, 915, 915, 916, 918, 918, 923, 910, 916, 921, 921, 914, 924, 919, 922, 922, 913, 923, 920, 925, 925, 926, 926, 927, 929, 930, 930, 931, 931, 929, 933, 924, 932, 932, 946, 933, 934, 934, 936, 936, 939, 927, 938, 938, 943, 939, 942, 942, 947, 943, 951, 951, 947, 946, 953, 955, 955, 957, 953, 958, 958, 959, 959, 961, 961, 963, 963, 967, 968, 969, 971, 970, 972, 972, 957, 948, 945, 968, 944, 941, 940, 937, 935, 969, 970, 928, 967, 917, 971, 975, 975, 975, 975, 975, 975, 976, 976, 976, 976, 976, 976, 977, 977, 977, 977, 977, 977, 978, 978, 978, 978, 978, 978, 980, 980, 904, 980, 980, 980, 981, 981, 901, 900, 896, 981, 982, 982, 890, 880, 982, 984, 984, 879, 869, 867, 984, 985, 985, 864, 985, 985, 985, 857, 849, 842, 836, 832, 826, 825, 824, 811, 793, 792, 790, 784, 782, 779, 777, 776, 761, 759, 754, 731, 721, 708, 699, 669, 663, 662, 661, 658, 656, 628, 609, 588, 579, 565, 564, 544, 535, 524, 523, 522, 500, 480, 466, 434, 411, 388, 380, 371, 336, 306, 305, 303, 302, 297, 220, 214, 103, 102, 100, 98, 96, 55, 51, 47, 46, 42, 37, 12, 11, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974 } ; 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; #line 1 "util/configlexer.lex" #line 2 "util/configlexer.lex" /* * configlexer.lex - lexical analyzer for unbound config file * * Copyright (c) 2001-2006, NLnet Labs. All rights reserved * * See LICENSE for the license. * */ #include "config.h" #include #include #include #include "util/configyyrename.h" #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 #define YDOUT LEXOUT(("v(%s )", yytext)) 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 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; } 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_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 #line 88 "util/configlexer.lex" #ifndef YY_NO_UNPUT #define YY_NO_UNPUT 1 #endif #ifndef YY_NO_INPUT #define YY_NO_INPUT 1 #endif #line 1313 "" #define INITIAL 0 #define quotedstring 1 #define singlequotedstr 2 #define include 3 #define include_quoted 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef 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 fwrite( yytext, yyleng, 1, yyout ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ unsigned 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 { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 107 "util/configlexer.lex" #line 1499 "" 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 { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 975 ) 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] != 1999 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: YY_RULE_SETUP #line 108 "util/configlexer.lex" { LEXOUT(("SP ")); /* ignore */ } YY_BREAK case 2: YY_RULE_SETUP #line 109 "util/configlexer.lex" { LEXOUT(("comment(%s) ", yytext)); /* ignore */ } YY_BREAK case 3: YY_RULE_SETUP #line 110 "util/configlexer.lex" { YDOUT; return VAR_SERVER;} YY_BREAK case 4: YY_RULE_SETUP #line 111 "util/configlexer.lex" { YDOUT; return VAR_NUM_THREADS;} YY_BREAK case 5: YY_RULE_SETUP #line 112 "util/configlexer.lex" { YDOUT; return VAR_VERBOSITY;} YY_BREAK case 6: YY_RULE_SETUP #line 113 "util/configlexer.lex" { YDOUT; return VAR_PORT;} YY_BREAK case 7: YY_RULE_SETUP #line 114 "util/configlexer.lex" { YDOUT; return VAR_OUTGOING_RANGE;} YY_BREAK case 8: YY_RULE_SETUP #line 115 "util/configlexer.lex" { YDOUT; return VAR_OUTGOING_PORT_PERMIT;} YY_BREAK case 9: YY_RULE_SETUP #line 116 "util/configlexer.lex" { YDOUT; return VAR_OUTGOING_PORT_AVOID;} YY_BREAK case 10: YY_RULE_SETUP #line 117 "util/configlexer.lex" { YDOUT; return VAR_OUTGOING_NUM_TCP;} YY_BREAK case 11: YY_RULE_SETUP #line 118 "util/configlexer.lex" { YDOUT; return VAR_INCOMING_NUM_TCP;} YY_BREAK case 12: YY_RULE_SETUP #line 119 "util/configlexer.lex" { YDOUT; return VAR_DO_IP4;} YY_BREAK case 13: YY_RULE_SETUP #line 120 "util/configlexer.lex" { YDOUT; return VAR_DO_IP6;} YY_BREAK case 14: YY_RULE_SETUP #line 121 "util/configlexer.lex" { YDOUT; return VAR_DO_UDP;} YY_BREAK case 15: YY_RULE_SETUP #line 122 "util/configlexer.lex" { YDOUT; return VAR_DO_TCP;} YY_BREAK case 16: YY_RULE_SETUP #line 123 "util/configlexer.lex" { YDOUT; return VAR_DO_DAEMONIZE;} YY_BREAK case 17: YY_RULE_SETUP #line 124 "util/configlexer.lex" { YDOUT; return VAR_INTERFACE;} YY_BREAK case 18: YY_RULE_SETUP #line 125 "util/configlexer.lex" { YDOUT; return VAR_OUTGOING_INTERFACE;} YY_BREAK case 19: YY_RULE_SETUP #line 126 "util/configlexer.lex" { YDOUT; return VAR_INTERFACE_AUTOMATIC;} YY_BREAK case 20: YY_RULE_SETUP #line 127 "util/configlexer.lex" { YDOUT; return VAR_CHROOT;} YY_BREAK case 21: YY_RULE_SETUP #line 128 "util/configlexer.lex" { YDOUT; return VAR_USERNAME;} YY_BREAK case 22: YY_RULE_SETUP #line 129 "util/configlexer.lex" { YDOUT; return VAR_DIRECTORY;} YY_BREAK case 23: YY_RULE_SETUP #line 130 "util/configlexer.lex" { YDOUT; return VAR_LOGFILE;} YY_BREAK case 24: YY_RULE_SETUP #line 131 "util/configlexer.lex" { YDOUT; return VAR_PIDFILE;} YY_BREAK case 25: YY_RULE_SETUP #line 132 "util/configlexer.lex" { YDOUT; return VAR_ROOT_HINTS;} YY_BREAK case 26: YY_RULE_SETUP #line 133 "util/configlexer.lex" { YDOUT; return VAR_MSG_BUFFER_SIZE;} YY_BREAK case 27: YY_RULE_SETUP #line 134 "util/configlexer.lex" { YDOUT; return VAR_MSG_CACHE_SIZE;} YY_BREAK case 28: YY_RULE_SETUP #line 135 "util/configlexer.lex" { YDOUT; return VAR_MSG_CACHE_SLABS;} YY_BREAK case 29: YY_RULE_SETUP #line 136 "util/configlexer.lex" { YDOUT; return VAR_RRSET_CACHE_SIZE;} YY_BREAK case 30: YY_RULE_SETUP #line 137 "util/configlexer.lex" { YDOUT; return VAR_RRSET_CACHE_SLABS;} YY_BREAK case 31: YY_RULE_SETUP #line 138 "util/configlexer.lex" { YDOUT; return VAR_CACHE_MAX_TTL;} YY_BREAK case 32: YY_RULE_SETUP #line 139 "util/configlexer.lex" { YDOUT; return VAR_INFRA_HOST_TTL;} YY_BREAK case 33: YY_RULE_SETUP #line 140 "util/configlexer.lex" { YDOUT; return VAR_INFRA_LAME_TTL;} YY_BREAK case 34: YY_RULE_SETUP #line 141 "util/configlexer.lex" { YDOUT; return VAR_INFRA_CACHE_SLABS;} YY_BREAK case 35: YY_RULE_SETUP #line 142 "util/configlexer.lex" { YDOUT; return VAR_INFRA_CACHE_NUMHOSTS;} YY_BREAK case 36: YY_RULE_SETUP #line 143 "util/configlexer.lex" { YDOUT; return VAR_INFRA_CACHE_LAME_SIZE;} YY_BREAK case 37: YY_RULE_SETUP #line 144 "util/configlexer.lex" { YDOUT; return VAR_NUM_QUERIES_PER_THREAD;} YY_BREAK case 38: YY_RULE_SETUP #line 145 "util/configlexer.lex" { YDOUT; return VAR_TARGET_FETCH_POLICY;} YY_BREAK case 39: YY_RULE_SETUP #line 146 "util/configlexer.lex" { YDOUT; return VAR_HARDEN_SHORT_BUFSIZE;} YY_BREAK case 40: YY_RULE_SETUP #line 147 "util/configlexer.lex" { YDOUT; return VAR_HARDEN_LARGE_QUERIES;} YY_BREAK case 41: YY_RULE_SETUP #line 148 "util/configlexer.lex" { YDOUT; return VAR_HARDEN_GLUE;} YY_BREAK case 42: YY_RULE_SETUP #line 149 "util/configlexer.lex" { YDOUT; return VAR_HARDEN_DNNSEC_STRIPPED;} YY_BREAK case 43: YY_RULE_SETUP #line 150 "util/configlexer.lex" { YDOUT; return VAR_HARDEN_REFERRAL_PATH;} YY_BREAK case 44: YY_RULE_SETUP #line 151 "util/configlexer.lex" { YDOUT; return VAR_USE_CAPS_FOR_ID;} YY_BREAK case 45: YY_RULE_SETUP #line 152 "util/configlexer.lex" { YDOUT; return VAR_PRIVATE_ADDRESS;} YY_BREAK case 46: YY_RULE_SETUP #line 153 "util/configlexer.lex" { YDOUT; return VAR_PRIVATE_DOMAIN;} YY_BREAK case 47: YY_RULE_SETUP #line 154 "util/configlexer.lex" { YDOUT; return VAR_STUB_ZONE;} YY_BREAK case 48: YY_RULE_SETUP #line 155 "util/configlexer.lex" { YDOUT; return VAR_NAME;} YY_BREAK case 49: YY_RULE_SETUP #line 156 "util/configlexer.lex" { YDOUT; return VAR_STUB_ADDR;} YY_BREAK case 50: YY_RULE_SETUP #line 157 "util/configlexer.lex" { YDOUT; return VAR_STUB_HOST;} YY_BREAK case 51: YY_RULE_SETUP #line 158 "util/configlexer.lex" { YDOUT; return VAR_FORWARD_ZONE;} YY_BREAK case 52: YY_RULE_SETUP #line 159 "util/configlexer.lex" { YDOUT; return VAR_FORWARD_ADDR;} YY_BREAK case 53: YY_RULE_SETUP #line 160 "util/configlexer.lex" { YDOUT; return VAR_FORWARD_HOST;} YY_BREAK case 54: YY_RULE_SETUP #line 161 "util/configlexer.lex" { YDOUT; return VAR_DO_NOT_QUERY_ADDRESS;} YY_BREAK case 55: YY_RULE_SETUP #line 162 "util/configlexer.lex" { YDOUT; return VAR_DO_NOT_QUERY_LOCALHOST;} YY_BREAK case 56: YY_RULE_SETUP #line 163 "util/configlexer.lex" { YDOUT; return VAR_ACCESS_CONTROL;} YY_BREAK case 57: YY_RULE_SETUP #line 164 "util/configlexer.lex" { YDOUT; return VAR_HIDE_IDENTITY;} YY_BREAK case 58: YY_RULE_SETUP #line 165 "util/configlexer.lex" { YDOUT; return VAR_HIDE_VERSION;} YY_BREAK case 59: YY_RULE_SETUP #line 166 "util/configlexer.lex" { YDOUT; return VAR_IDENTITY;} YY_BREAK case 60: YY_RULE_SETUP #line 167 "util/configlexer.lex" { YDOUT; return VAR_VERSION;} YY_BREAK case 61: YY_RULE_SETUP #line 168 "util/configlexer.lex" { YDOUT; return VAR_MODULE_CONF;} YY_BREAK case 62: YY_RULE_SETUP #line 169 "util/configlexer.lex" { YDOUT; return VAR_DLV_ANCHOR;} YY_BREAK case 63: YY_RULE_SETUP #line 170 "util/configlexer.lex" { YDOUT; return VAR_DLV_ANCHOR_FILE;} YY_BREAK case 64: YY_RULE_SETUP #line 171 "util/configlexer.lex" { YDOUT; return VAR_TRUST_ANCHOR_FILE;} YY_BREAK case 65: YY_RULE_SETUP #line 172 "util/configlexer.lex" { YDOUT; return VAR_TRUSTED_KEYS_FILE;} YY_BREAK case 66: YY_RULE_SETUP #line 173 "util/configlexer.lex" { YDOUT; return VAR_TRUST_ANCHOR;} YY_BREAK case 67: YY_RULE_SETUP #line 174 "util/configlexer.lex" { YDOUT; return VAR_VAL_OVERRIDE_DATE;} YY_BREAK case 68: YY_RULE_SETUP #line 175 "util/configlexer.lex" { YDOUT; return VAR_BOGUS_TTL;} YY_BREAK case 69: YY_RULE_SETUP #line 176 "util/configlexer.lex" { YDOUT; return VAR_VAL_CLEAN_ADDITIONAL;} YY_BREAK case 70: YY_RULE_SETUP #line 177 "util/configlexer.lex" { YDOUT; return VAR_VAL_PERMISSIVE_MODE;} YY_BREAK case 71: YY_RULE_SETUP #line 178 "util/configlexer.lex" { YDOUT; return VAR_KEY_CACHE_SIZE;} YY_BREAK case 72: YY_RULE_SETUP #line 179 "util/configlexer.lex" { YDOUT; return VAR_KEY_CACHE_SLABS;} YY_BREAK case 73: YY_RULE_SETUP #line 180 "util/configlexer.lex" { YDOUT; return VAR_NEG_CACHE_SIZE;} YY_BREAK case 74: YY_RULE_SETUP #line 181 "util/configlexer.lex" { YDOUT; return VAR_VAL_NSEC3_KEYSIZE_ITERATIONS;} YY_BREAK case 75: YY_RULE_SETUP #line 182 "util/configlexer.lex" { YDOUT; return VAR_USE_SYSLOG;} YY_BREAK case 76: YY_RULE_SETUP #line 183 "util/configlexer.lex" { YDOUT; return VAR_LOCAL_ZONE;} YY_BREAK case 77: YY_RULE_SETUP #line 184 "util/configlexer.lex" { YDOUT; return VAR_LOCAL_DATA;} YY_BREAK case 78: YY_RULE_SETUP #line 185 "util/configlexer.lex" { YDOUT; return VAR_STATISTICS_INTERVAL;} YY_BREAK case 79: YY_RULE_SETUP #line 186 "util/configlexer.lex" { YDOUT; return VAR_STATISTICS_CUMULATIVE;} YY_BREAK case 80: YY_RULE_SETUP #line 187 "util/configlexer.lex" { YDOUT; return VAR_EXTENDED_STATISTICS;} YY_BREAK case 81: YY_RULE_SETUP #line 188 "util/configlexer.lex" { YDOUT; return VAR_REMOTE_CONTROL; } YY_BREAK case 82: YY_RULE_SETUP #line 189 "util/configlexer.lex" { YDOUT; return VAR_CONTROL_ENABLE; } YY_BREAK case 83: YY_RULE_SETUP #line 190 "util/configlexer.lex" { YDOUT; return VAR_CONTROL_INTERFACE; } YY_BREAK case 84: YY_RULE_SETUP #line 191 "util/configlexer.lex" { YDOUT; return VAR_CONTROL_PORT; } YY_BREAK case 85: YY_RULE_SETUP #line 192 "util/configlexer.lex" { YDOUT; return VAR_SERVER_KEY_FILE; } YY_BREAK case 86: YY_RULE_SETUP #line 193 "util/configlexer.lex" { YDOUT; return VAR_SERVER_CERT_FILE; } YY_BREAK case 87: YY_RULE_SETUP #line 194 "util/configlexer.lex" { YDOUT; return VAR_CONTROL_KEY_FILE; } YY_BREAK case 88: YY_RULE_SETUP #line 195 "util/configlexer.lex" { YDOUT; return VAR_CONTROL_CERT_FILE; } YY_BREAK case 89: /* rule 89 can match eol */ YY_RULE_SETUP #line 196 "util/configlexer.lex" { LEXOUT(("NL\n")); cfg_parser->line++;} YY_BREAK /* Quoted strings. Strip leading and ending quotes */ case 90: YY_RULE_SETUP #line 199 "util/configlexer.lex" { BEGIN(quotedstring); LEXOUT(("QS ")); } YY_BREAK case YY_STATE_EOF(quotedstring): #line 200 "util/configlexer.lex" { yyerror("EOF inside quoted string"); BEGIN(INITIAL); } YY_BREAK case 91: YY_RULE_SETUP #line 204 "util/configlexer.lex" { LEXOUT(("STR(%s) ", yytext)); yymore(); } YY_BREAK case 92: /* rule 92 can match eol */ YY_RULE_SETUP #line 205 "util/configlexer.lex" { cfg_parser->line++; yymore(); } YY_BREAK case 93: YY_RULE_SETUP #line 206 "util/configlexer.lex" { LEXOUT(("QE ")); BEGIN(INITIAL); yytext[yyleng - 1] = '\0'; yylval.str = strdup(yytext); if(!yylval.str) yyerror("out of memory"); return STRING; } YY_BREAK /* Single Quoted strings. Strip leading and ending quotes */ case 94: YY_RULE_SETUP #line 217 "util/configlexer.lex" { BEGIN(singlequotedstr); LEXOUT(("SQS ")); } YY_BREAK case YY_STATE_EOF(singlequotedstr): #line 218 "util/configlexer.lex" { yyerror("EOF inside quoted string"); BEGIN(INITIAL); } YY_BREAK case 95: YY_RULE_SETUP #line 222 "util/configlexer.lex" { LEXOUT(("STR(%s) ", yytext)); yymore(); } YY_BREAK case 96: /* rule 96 can match eol */ YY_RULE_SETUP #line 223 "util/configlexer.lex" { cfg_parser->line++; yymore(); } YY_BREAK case 97: YY_RULE_SETUP #line 224 "util/configlexer.lex" { LEXOUT(("SQE ")); BEGIN(INITIAL); yytext[yyleng - 1] = '\0'; yylval.str = strdup(yytext); if(!yylval.str) yyerror("out of memory"); return STRING; } YY_BREAK /* include: directive */ case 98: YY_RULE_SETUP #line 235 "util/configlexer.lex" { LEXOUT(("v(%s) ", yytext)); BEGIN(include); } YY_BREAK case YY_STATE_EOF(include): #line 236 "util/configlexer.lex" { yyerror("EOF inside include directive"); BEGIN(INITIAL); } YY_BREAK case 99: YY_RULE_SETUP #line 240 "util/configlexer.lex" { LEXOUT(("ISP ")); /* ignore */ } YY_BREAK case 100: /* rule 100 can match eol */ YY_RULE_SETUP #line 241 "util/configlexer.lex" { LEXOUT(("NL\n")); cfg_parser->line++;} YY_BREAK case 101: YY_RULE_SETUP #line 242 "util/configlexer.lex" { LEXOUT(("IQS ")); BEGIN(include_quoted); } YY_BREAK case 102: YY_RULE_SETUP #line 243 "util/configlexer.lex" { LEXOUT(("Iunquotedstr(%s) ", yytext)); config_start_include(yytext); BEGIN(INITIAL); } YY_BREAK case YY_STATE_EOF(include_quoted): #line 248 "util/configlexer.lex" { yyerror("EOF inside quoted string"); BEGIN(INITIAL); } YY_BREAK case 103: YY_RULE_SETUP #line 252 "util/configlexer.lex" { LEXOUT(("ISTR(%s) ", yytext)); yymore(); } YY_BREAK case 104: /* rule 104 can match eol */ YY_RULE_SETUP #line 253 "util/configlexer.lex" { cfg_parser->line++; yymore(); } YY_BREAK case 105: YY_RULE_SETUP #line 254 "util/configlexer.lex" { LEXOUT(("IQE ")); yytext[yyleng - 1] = '\0'; config_start_include(yytext); BEGIN(INITIAL); } YY_BREAK case YY_STATE_EOF(INITIAL): #line 260 "util/configlexer.lex" { 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 106: YY_RULE_SETUP #line 270 "util/configlexer.lex" { LEXOUT(("unquotedstr(%s) ", yytext)); yylval.str = strdup(yytext); return STRING; } YY_BREAK case 107: YY_RULE_SETUP #line 273 "util/configlexer.lex" ECHO; YY_BREAK #line 2197 "" case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), (size_t) 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) { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 975 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 975 ) 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 == 974); 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 */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); 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 bytes the byte buffer to scan * @param len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _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. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } 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 ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 273 "util/configlexer.lex"