#include "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 6 #define YY_FLEX_SUBMINOR_VERSION 1 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ /* TODO: this is always defined, so inline it */ #define yyconst const #if defined(__GNUC__) && __GNUC__ >= 3 #define yynoreturn __attribute__((__noreturn__)) #else #define yynoreturn #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an 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 #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) #define YY_LINENO_REWIND_TO(ptr) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ yy_size_t yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ int yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = NULL; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (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 = NULL, *yyout = NULL; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #ifdef yytext_ptr #undef yytext_ptr #endif #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yynoreturn yy_fatal_error (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 = (int) (yy_cp - (yytext_ptr)); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 109 #define YY_END_OF_BUFFER 110 /* 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[914] = { 0, 1, 1, 97, 97, 101, 101, 105, 105, 110, 108, 1, 95, 96, 2, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 109, 97, 98, 109, 99, 109, 104, 101, 102, 103, 109, 105, 106, 107, 109, 108, 0, 1, 2, 2, 2, 2, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 97, 0, 104, 0, 101, 105, 0, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 67, 108, 108, 108, 108, 108, 108, 66, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 53, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 4, 108, 19, 108, 108, 108, 30, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 42, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 33, 108, 108, 108, 108, 108, 77, 14, 15, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 48, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 55, 108, 3, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 39, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 100, 108, 108, 108, 108, 108, 108, 108, 108, 108, 20, 108, 108, 108, 108, 108, 108, 108, 108, 56, 29, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 25, 108, 108, 108, 108, 108, 18, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 16, 108, 37, 108, 108, 108, 108, 108, 108, 108, 17, 108, 108, 108, 108, 108, 12, 13, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 68, 70, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 34, 108, 108, 38, 43, 108, 108, 35, 108, 54, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 6, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 31, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 22, 108, 108, 108, 41, 108, 108, 108, 44, 108, 108, 108, 108, 108, 108, 108, 9, 108, 108, 108, 108, 108, 108, 108, 108, 5, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 89, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 32, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 8, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 50, 108, 47, 87, 108, 108, 108, 108, 108, 108, 108, 108, 108, 24, 10, 108, 108, 108, 108, 108, 45, 108, 108, 108, 108, 61, 108, 108, 108, 108, 108, 108, 108, 11, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 49, 108, 108, 108, 108, 108, 108, 108, 108, 21, 108, 108, 108, 108, 108, 108, 36, 108, 108, 108, 108, 108, 78, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 69, 108, 74, 108, 108, 108, 108, 108, 108, 108, 108, 108, 59, 108, 108, 108, 108, 108, 108, 108, 83, 108, 7, 27, 28, 86, 108, 92, 108, 93, 108, 108, 108, 108, 58, 108, 108, 108, 108, 108, 46, 108, 108, 108, 108, 108, 108, 108, 108, 82, 108, 108, 108, 108, 57, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 62, 23, 108, 75, 76, 108, 108, 108, 64, 108, 108, 108, 108, 108, 90, 91, 108, 108, 108, 26, 108, 108, 108, 63, 108, 108, 65, 60, 108, 108, 108, 108, 108, 88, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 79, 94, 51, 108, 108, 108, 108, 52, 108, 108, 108, 81, 108, 108, 108, 40, 108, 108, 80, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 71, 72, 108, 108, 108, 73, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 84, 108, 108, 108, 85, 0 } ; static yyconst YY_CHAR 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, 1, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 8, 1, 9, 1, 1, 1, 10, 1, 1, 1, 1, 1, 1, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 1, 36, 1, 1, 1, 1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 YY_CHAR yy_meta[62] = { 0, 1, 2, 3, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_uint16_t yy_base[923] = { 0, 0, 0, 59, 62, 66, 70, 73, 76, 2334, 2254, 80, 2582, 2582, 83, 63, 79, 119, 71, 110, 77, 81, 117, 121, 64, 155, 157, 161, 101, 149, 129, 85, 159, 209, 2172, 2582, 2582, 2582, 121, 2032, 2065, 2582, 2582, 213, 2028, 2582, 2582, 147, 1990, 217, 87, 0, 221, 0, 0, 203, 196, 151, 204, 112, 216, 213, 205, 194, 220, 222, 232, 257, 236, 226, 215, 250, 254, 255, 247, 259, 253, 256, 270, 271, 273, 296, 264, 292, 304, 244, 305, 294, 300, 314, 310, 320, 326, 1981, 231, 1937, 356, 1966, 1927, 329, 329, 330, 332, 340, 338, 358, 341, 356, 352, 351, 363, 366, 365, 367, 389, 377, 384, 401, 396, 407, 404, 409, 393, 406, 405, 416, 410, 422, 419, 428, 402, 430, 438, 433, 437, 444, 432, 443, 440, 463, 446, 474, 1919, 478, 475, 458, 480, 473, 470, 1866, 483, 481, 500, 501, 499, 509, 507, 515, 494, 512, 520, 525, 523, 526, 516, 531, 518, 550, 1858, 534, 552, 542, 547, 555, 556, 554, 566, 562, 560, 570, 568, 583, 580, 579, 576, 594, 602, 600, 618, 603, 606, 587, 613, 638, 598, 630, 605, 637, 662, 673, 651, 621, 655, 656, 677, 661, 666, 680, 709, 591, 676, 686, 683, 694, 688, 712, 705, 710, 717, 720, 719, 715, 724, 727, 733, 730, 1850, 716, 1819, 738, 744, 746, 1768, 758, 760, 763, 749, 754, 766, 756, 773, 770, 777, 782, 787, 791, 772, 792, 794, 789, 805, 795, 821, 807, 810, 817, 820, 827, 1690, 828, 830, 838, 833, 848, 841, 847, 851, 850, 855, 882, 871, 872, 875, 867, 884, 890, 868, 894, 883, 892, 893, 898, 901, 888, 908, 917, 926, 922, 909, 940, 925, 928, 937, 939, 949, 953, 950, 946, 956, 957, 955, 959, 968, 971, 961, 991, 981, 970, 972, 975, 997, 996, 987, 999, 1000, 1001, 1007, 1010, 1020, 1013, 1023, 1033, 1028, 1022, 1034, 1018, 1687, 1046, 1040, 1037, 1047, 1079, 1656, 1653, 1609, 1036, 1056, 1089, 1066, 1065, 1059, 1075, 1078, 1083, 1085, 1086, 1103, 1094, 1096, 1101, 1104, 1114, 1077, 1116, 1115, 1578, 1128, 1136, 1137, 1141, 1144, 1143, 1151, 1133, 1138, 1157, 1148, 1155, 1158, 1149, 1488, 1177, 1484, 1170, 1176, 1175, 1165, 1172, 1190, 1174, 1192, 1186, 1166, 1196, 1199, 1448, 1212, 1201, 1209, 1210, 1216, 1218, 1213, 1256, 1234, 1237, 1247, 1236, 1244, 1243, 1263, 1267, 1258, 1253, 1273, 1433, 1275, 1260, 1255, 1281, 1295, 1300, 1287, 1290, 1312, 1403, 1306, 1286, 1313, 1291, 1302, 1307, 1322, 1323, 1394, 1390, 1317, 1316, 1321, 1331, 1333, 1344, 1353, 1359, 1347, 1360, 1362, 1363, 1369, 1366, 1355, 1372, 1377, 1351, 1341, 1373, 1388, 1376, 1380, 1343, 1391, 1382, 1407, 1406, 1410, 1397, 1411, 1401, 1417, 1416, 1422, 1427, 1419, 1420, 1337, 1423, 1304, 1438, 1450, 1449, 1444, 1459, 1441, 1454, 1298, 1467, 1469, 1453, 1460, 1476, 1297, 1230, 1475, 1481, 1486, 1472, 1494, 1474, 1499, 1500, 1485, 1489, 1510, 1511, 1497, 1496, 1518, 1506, 1530, 1512, 1525, 1532, 1225, 1219, 1522, 1535, 1534, 1538, 1523, 1545, 1546, 1531, 1549, 1558, 1214, 1573, 1575, 1211, 1184, 1577, 1572, 1183, 1579, 1164, 1580, 1584, 1565, 1585, 1568, 1559, 1597, 1592, 1591, 1602, 1600, 1616, 1611, 1604, 1610, 1606, 1125, 1627, 1629, 1617, 1613, 1626, 1636, 1630, 1639, 1637, 1642, 1648, 1662, 1652, 1659, 1670, 1660, 1649, 1657, 1664, 1123, 1678, 1680, 1683, 1682, 1692, 1686, 1698, 1603, 1713, 1689, 1055, 1716, 1695, 1718, 1050, 1721, 1727, 1717, 1049, 1726, 1709, 1710, 1736, 1741, 1737, 1731, 1039, 1754, 1742, 1759, 1744, 1764, 1757, 1758, 1755, 1038, 1773, 1772, 1770, 1780, 1775, 1785, 1784, 1791, 1798, 1787, 1792, 1788, 1797, 1805, 1808, 931, 1804, 1822, 1825, 1824, 1827, 1817, 1818, 1830, 1835, 1831, 1841, 930, 1845, 1839, 1840, 1844, 1852, 1851, 1867, 1848, 1869, 1876, 1870, 1862, 1877, 1882, 1884, 1878, 1871, 1890, 1893, 1892, 1900, 1896, 929, 1907, 1898, 1903, 1905, 1915, 1909, 1917, 1918, 1925, 1945, 1948, 1947, 1953, 927, 1941, 881, 864, 1951, 1958, 1940, 1942, 1963, 1970, 1966, 1974, 1956, 800, 797, 1967, 1983, 1982, 1972, 1992, 784, 1993, 1989, 1998, 1996, 752, 1997, 2002, 2007, 2006, 2008, 2014, 2022, 751, 2020, 2019, 2036, 2039, 2033, 2034, 2045, 2040, 2046, 2060, 2052, 750, 2057, 2067, 2069, 2075, 2076, 2027, 2090, 2082, 711, 2077, 2072, 2081, 2083, 2093, 2078, 707, 2101, 2104, 2056, 2120, 2114, 704, 2100, 2123, 2127, 2111, 2118, 2129, 2122, 2134, 2136, 2141, 2142, 2140, 2143, 2144, 2145, 2146, 2155, 2159, 2157, 2173, 2151, 2153, 639, 2167, 629, 2169, 2181, 2187, 2177, 2182, 2178, 2192, 2203, 2198, 626, 2208, 2210, 2216, 2195, 2204, 2201, 2224, 625, 2226, 623, 588, 584, 544, 2223, 524, 2227, 491, 2233, 2234, 2243, 2222, 488, 2236, 2249, 2246, 2250, 2256, 456, 2257, 2258, 2261, 2267, 2270, 2269, 2272, 2268, 454, 2262, 2266, 2281, 2280, 448, 2286, 2291, 2283, 2305, 2307, 2302, 2303, 2304, 2294, 2318, 400, 398, 2309, 383, 381, 2316, 2321, 2322, 347, 2306, 2332, 2329, 2336, 2335, 299, 291, 2346, 2341, 2348, 285, 2349, 2352, 2355, 279, 2339, 2356, 245, 231, 2363, 2369, 2365, 2375, 2370, 211, 2371, 2373, 2377, 2380, 2389, 2379, 2402, 2391, 2392, 2385, 2404, 208, 206, 195, 2405, 2413, 2414, 2421, 163, 2401, 2415, 2422, 160, 2417, 2418, 2430, 158, 2435, 2432, 152, 2444, 2446, 2441, 2447, 2439, 2453, 2460, 2455, 2461, 2464, 150, 103, 2475, 2470, 2467, 75, 2471, 2465, 2481, 2479, 2487, 2480, 2497, 2486, 2491, 2510, 2499, 2512, 72, 2513, 2503, 2516, 68, 2582, 2557, 2561, 2565, 90, 2569, 2573, 82, 2575, 2577 } ; static yyconst flex_int16_t yy_def[923] = { 0, 913, 1, 914, 914, 915, 915, 916, 916, 913, 917, 913, 913, 913, 918, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 919, 913, 913, 913, 919, 920, 913, 913, 913, 920, 921, 913, 913, 921, 917, 917, 913, 922, 918, 922, 918, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 919, 919, 920, 920, 913, 921, 921, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 0, 913, 913, 913, 913, 913, 913, 913, 913, 913 } ; static yyconst flex_uint16_t yy_nxt[2644] = { 0, 10, 11, 12, 12, 13, 14, 10, 10, 10, 10, 15, 10, 16, 17, 10, 10, 10, 18, 19, 20, 21, 22, 23, 24, 25, 10, 26, 27, 28, 29, 30, 10, 31, 10, 32, 33, 15, 10, 16, 17, 10, 10, 10, 18, 19, 20, 21, 22, 23, 24, 25, 10, 26, 27, 28, 29, 30, 10, 31, 10, 32, 35, 36, 37, 35, 36, 37, 40, 41, 41, 42, 40, 41, 41, 42, 45, 45, 46, 45, 45, 46, 50, 95, 55, 53, 51, 53, 53, 50, 64, 48, 68, 51, 76, 38, 56, 57, 38, 49, 49, 91, 43, 58, 49, 69, 43, 49, 49, 47, 55, 49, 47, 49, 87, 49, 64, 49, 68, 54, 76, 49, 56, 57, 65, 93, 93, 91, 70, 58, 59, 69, 73, 66, 60, 67, 71, 49, 61, 49, 87, 105, 62, 63, 90, 74, 49, 72, 49, 75, 65, 98, 98, 49, 70, 49, 59, 49, 73, 66, 60, 67, 71, 88, 61, 49, 77, 105, 62, 63, 90, 74, 81, 72, 78, 75, 84, 89, 103, 79, 85, 82, 80, 92, 83, 49, 49, 49, 49, 88, 86, 49, 77, 49, 49, 49, 49, 49, 81, 49, 78, 109, 84, 89, 103, 79, 85, 82, 80, 92, 83, 48, 102, 48, 48, 95, 86, 95, 95, 48, 100, 48, 48, 53, 101, 53, 53, 104, 106, 107, 49, 49, 49, 108, 110, 93, 93, 111, 102, 49, 49, 49, 49, 119, 49, 112, 100, 49, 120, 49, 101, 49, 49, 104, 106, 107, 49, 54, 49, 108, 110, 113, 49, 111, 114, 115, 116, 49, 49, 119, 118, 112, 49, 121, 120, 122, 124, 123, 125, 139, 49, 49, 126, 49, 128, 127, 49, 113, 117, 49, 49, 49, 49, 49, 135, 49, 118, 130, 129, 121, 49, 122, 124, 123, 125, 139, 49, 49, 126, 49, 128, 127, 131, 136, 117, 49, 140, 137, 132, 141, 135, 49, 133, 130, 129, 142, 134, 49, 49, 143, 49, 138, 49, 98, 98, 49, 49, 144, 131, 136, 49, 49, 140, 137, 132, 141, 49, 145, 133, 146, 49, 142, 134, 147, 148, 143, 49, 138, 95, 149, 95, 95, 49, 144, 150, 49, 49, 151, 49, 152, 156, 153, 154, 145, 49, 146, 49, 49, 157, 147, 148, 155, 160, 49, 164, 149, 159, 49, 49, 158, 150, 165, 49, 151, 49, 152, 156, 153, 154, 49, 161, 49, 49, 49, 157, 162, 168, 155, 160, 166, 167, 171, 159, 49, 169, 158, 172, 49, 163, 49, 49, 175, 174, 170, 176, 49, 161, 178, 173, 49, 177, 162, 49, 182, 49, 180, 49, 49, 49, 188, 49, 49, 49, 49, 163, 49, 49, 175, 174, 170, 176, 179, 49, 178, 173, 49, 177, 181, 49, 182, 183, 180, 184, 185, 49, 186, 49, 187, 49, 49, 189, 190, 198, 49, 49, 192, 49, 179, 191, 49, 49, 193, 49, 181, 49, 194, 183, 196, 184, 185, 49, 186, 49, 187, 49, 199, 189, 190, 198, 49, 200, 192, 201, 197, 191, 195, 49, 202, 203, 49, 49, 49, 204, 196, 49, 206, 49, 49, 205, 49, 207, 199, 209, 210, 49, 218, 200, 49, 201, 197, 49, 195, 208, 202, 203, 49, 49, 49, 204, 213, 216, 206, 211, 49, 205, 49, 207, 212, 49, 210, 214, 49, 49, 215, 49, 217, 49, 219, 208, 49, 49, 49, 49, 220, 226, 213, 216, 49, 211, 222, 49, 221, 228, 212, 223, 225, 214, 224, 49, 215, 49, 217, 227, 49, 229, 230, 49, 231, 49, 220, 49, 49, 49, 232, 245, 222, 49, 221, 49, 233, 223, 225, 49, 224, 49, 235, 49, 234, 227, 236, 229, 230, 49, 231, 238, 49, 49, 237, 243, 49, 49, 244, 272, 49, 49, 233, 251, 49, 263, 253, 49, 235, 246, 234, 49, 236, 49, 239, 49, 49, 238, 49, 49, 237, 243, 240, 241, 244, 272, 49, 242, 247, 251, 252, 49, 253, 254, 49, 246, 49, 248, 49, 49, 239, 249, 49, 49, 250, 267, 255, 262, 240, 241, 49, 49, 49, 242, 247, 256, 252, 265, 257, 254, 258, 264, 268, 248, 49, 266, 259, 249, 49, 49, 250, 260, 273, 262, 49, 49, 275, 274, 261, 49, 277, 256, 269, 265, 257, 276, 49, 264, 268, 49, 49, 266, 259, 49, 270, 271, 49, 260, 273, 49, 278, 49, 275, 274, 261, 279, 277, 49, 269, 281, 280, 276, 282, 284, 288, 283, 285, 49, 49, 286, 49, 287, 49, 49, 49, 49, 278, 289, 49, 49, 49, 279, 49, 49, 290, 281, 280, 49, 282, 284, 49, 283, 285, 49, 292, 286, 49, 287, 291, 293, 298, 49, 294, 289, 296, 295, 297, 49, 299, 49, 290, 300, 49, 49, 49, 49, 301, 49, 302, 49, 292, 49, 303, 49, 291, 293, 49, 307, 294, 49, 296, 295, 297, 49, 299, 49, 49, 300, 304, 306, 49, 305, 301, 308, 302, 49, 310, 49, 303, 309, 49, 311, 49, 307, 49, 49, 312, 49, 49, 313, 49, 315, 314, 49, 304, 306, 317, 305, 49, 308, 49, 316, 310, 49, 319, 309, 320, 311, 326, 321, 49, 318, 312, 49, 49, 313, 324, 315, 314, 323, 49, 49, 317, 49, 322, 327, 49, 316, 325, 329, 319, 49, 320, 330, 49, 321, 328, 318, 333, 334, 49, 49, 324, 49, 49, 323, 331, 335, 49, 332, 322, 327, 339, 336, 325, 329, 337, 49, 338, 330, 49, 49, 328, 341, 49, 49, 340, 346, 49, 344, 342, 343, 345, 335, 49, 49, 49, 49, 339, 336, 347, 49, 337, 49, 338, 49, 49, 49, 353, 341, 348, 49, 340, 346, 49, 344, 342, 343, 345, 350, 352, 49, 49, 349, 354, 356, 347, 355, 357, 358, 49, 359, 351, 360, 353, 49, 348, 361, 49, 49, 49, 49, 49, 49, 49, 350, 352, 363, 370, 349, 49, 356, 49, 49, 357, 358, 362, 359, 351, 49, 364, 366, 49, 49, 368, 365, 49, 369, 49, 49, 49, 367, 49, 363, 49, 371, 374, 373, 372, 375, 376, 49, 362, 49, 49, 49, 364, 366, 49, 377, 368, 365, 379, 369, 49, 378, 381, 367, 380, 383, 49, 382, 374, 373, 49, 375, 376, 385, 384, 49, 49, 386, 49, 49, 49, 377, 389, 390, 379, 392, 49, 378, 381, 49, 380, 383, 49, 382, 387, 388, 393, 49, 394, 49, 384, 49, 49, 386, 395, 396, 402, 49, 389, 390, 391, 392, 49, 49, 408, 49, 49, 49, 49, 49, 387, 388, 406, 407, 394, 49, 49, 420, 49, 49, 395, 396, 402, 403, 49, 49, 391, 397, 49, 404, 408, 398, 405, 399, 49, 49, 409, 415, 406, 407, 400, 412, 413, 401, 49, 410, 49, 49, 49, 403, 411, 414, 49, 397, 49, 49, 416, 398, 49, 399, 421, 417, 409, 49, 418, 49, 400, 412, 413, 401, 49, 410, 49, 49, 419, 422, 411, 414, 423, 424, 425, 426, 416, 49, 49, 49, 421, 417, 427, 428, 418, 429, 49, 430, 49, 431, 434, 49, 432, 433, 419, 422, 49, 435, 423, 49, 49, 49, 443, 449, 49, 437, 49, 49, 427, 428, 436, 49, 49, 430, 49, 431, 434, 438, 49, 440, 49, 49, 441, 435, 439, 442, 444, 49, 49, 49, 446, 437, 445, 49, 447, 49, 436, 49, 49, 49, 49, 451, 448, 438, 450, 440, 49, 49, 441, 49, 439, 442, 444, 49, 452, 49, 446, 453, 445, 49, 447, 457, 49, 454, 49, 456, 455, 451, 448, 458, 450, 464, 49, 49, 49, 49, 49, 49, 465, 49, 452, 49, 49, 453, 466, 468, 467, 457, 49, 454, 474, 456, 455, 49, 469, 458, 459, 49, 460, 49, 49, 478, 461, 462, 465, 470, 49, 49, 463, 472, 49, 468, 467, 473, 471, 477, 49, 476, 49, 49, 469, 49, 459, 49, 460, 475, 49, 478, 461, 462, 49, 470, 480, 479, 463, 472, 49, 481, 49, 473, 471, 477, 482, 476, 49, 483, 484, 486, 485, 49, 49, 475, 488, 49, 49, 487, 489, 492, 49, 479, 49, 49, 490, 49, 491, 49, 494, 49, 482, 49, 49, 483, 495, 486, 485, 49, 49, 493, 488, 49, 49, 487, 489, 498, 49, 49, 49, 499, 490, 497, 491, 496, 494, 500, 49, 501, 49, 502, 495, 503, 49, 508, 511, 493, 49, 504, 49, 49, 507, 498, 49, 505, 509, 514, 49, 497, 49, 496, 49, 517, 506, 501, 49, 49, 512, 49, 49, 508, 511, 49, 513, 504, 49, 510, 507, 49, 49, 505, 509, 49, 49, 515, 516, 49, 518, 49, 506, 521, 523, 520, 512, 49, 522, 49, 49, 524, 513, 49, 526, 510, 49, 529, 519, 525, 49, 531, 49, 515, 516, 49, 49, 530, 527, 49, 49, 520, 532, 528, 522, 49, 49, 524, 49, 49, 526, 49, 49, 529, 519, 525, 49, 531, 533, 534, 535, 537, 49, 530, 527, 536, 538, 49, 532, 528, 49, 539, 540, 49, 541, 544, 542, 49, 49, 49, 543, 545, 49, 49, 533, 534, 535, 537, 49, 49, 546, 536, 538, 547, 548, 549, 49, 539, 49, 550, 541, 49, 542, 49, 49, 49, 543, 552, 551, 560, 49, 553, 558, 49, 49, 49, 546, 49, 49, 547, 556, 549, 554, 49, 557, 49, 49, 559, 49, 49, 562, 572, 555, 552, 551, 49, 565, 553, 558, 49, 49, 49, 561, 563, 564, 569, 556, 49, 554, 571, 557, 49, 49, 559, 49, 566, 562, 567, 555, 49, 49, 49, 565, 49, 49, 568, 570, 49, 561, 563, 564, 569, 573, 574, 49, 49, 575, 577, 49, 576, 580, 566, 579, 567, 578, 582, 585, 49, 49, 583, 584, 568, 570, 581, 49, 587, 588, 49, 573, 574, 590, 49, 49, 622, 49, 576, 49, 49, 49, 49, 578, 582, 585, 49, 49, 583, 584, 586, 589, 581, 49, 49, 588, 591, 592, 593, 49, 594, 595, 49, 596, 49, 49, 49, 599, 49, 597, 598, 49, 49, 49, 602, 49, 586, 589, 49, 49, 600, 604, 591, 592, 593, 612, 594, 595, 49, 49, 601, 49, 49, 599, 603, 597, 598, 605, 49, 49, 602, 49, 606, 607, 49, 608, 600, 604, 609, 610, 49, 49, 613, 611, 49, 49, 601, 614, 49, 49, 603, 49, 49, 605, 49, 624, 49, 615, 606, 607, 618, 608, 49, 616, 609, 610, 617, 619, 613, 611, 49, 620, 49, 614, 49, 49, 623, 621, 49, 49, 626, 49, 49, 615, 49, 625, 618, 49, 627, 616, 49, 628, 617, 619, 631, 634, 629, 620, 632, 633, 637, 49, 49, 621, 635, 49, 626, 642, 49, 49, 49, 625, 636, 49, 627, 630, 638, 628, 49, 49, 631, 634, 629, 49, 632, 633, 641, 640, 49, 49, 635, 639, 644, 49, 49, 643, 49, 645, 636, 647, 646, 630, 638, 648, 651, 649, 49, 49, 652, 49, 49, 49, 641, 640, 654, 650, 49, 639, 644, 653, 49, 643, 49, 645, 49, 49, 646, 49, 656, 648, 651, 649, 49, 655, 661, 657, 49, 49, 658, 49, 49, 650, 659, 49, 49, 653, 660, 662, 663, 49, 49, 664, 667, 669, 656, 665, 49, 49, 666, 655, 49, 657, 668, 671, 658, 674, 675, 676, 659, 49, 49, 49, 660, 662, 49, 680, 49, 49, 667, 49, 670, 665, 49, 49, 666, 673, 677, 49, 668, 671, 672, 49, 49, 49, 678, 681, 49, 49, 679, 682, 49, 680, 49, 49, 49, 684, 670, 683, 686, 685, 49, 673, 677, 688, 49, 687, 672, 689, 49, 49, 678, 49, 49, 49, 679, 690, 694, 695, 49, 49, 49, 684, 693, 683, 49, 685, 49, 691, 692, 688, 699, 687, 49, 689, 49, 49, 696, 701, 49, 697, 49, 690, 49, 695, 698, 49, 703, 49, 693, 49, 700, 49, 702, 691, 692, 704, 699, 49, 705, 49, 49, 49, 696, 701, 706, 697, 708, 49, 707, 99, 698, 709, 703, 710, 97, 712, 700, 713, 702, 96, 711, 704, 49, 49, 49, 714, 715, 49, 722, 49, 49, 716, 718, 49, 707, 49, 717, 709, 49, 710, 49, 712, 719, 713, 720, 49, 711, 721, 49, 49, 725, 714, 49, 728, 49, 724, 49, 716, 718, 723, 726, 727, 717, 94, 49, 49, 731, 733, 719, 732, 720, 49, 49, 721, 49, 49, 725, 729, 49, 49, 49, 724, 730, 751, 49, 723, 726, 727, 49, 49, 49, 734, 731, 735, 736, 732, 49, 737, 739, 740, 738, 49, 49, 729, 49, 742, 741, 743, 730, 49, 99, 745, 763, 97, 96, 49, 49, 734, 49, 735, 736, 49, 49, 737, 739, 740, 738, 49, 49, 744, 746, 742, 741, 743, 49, 747, 748, 745, 49, 49, 749, 750, 49, 752, 755, 756, 753, 754, 758, 49, 757, 49, 759, 760, 49, 744, 746, 49, 49, 49, 49, 747, 748, 49, 49, 49, 749, 750, 761, 762, 755, 756, 49, 754, 758, 49, 757, 764, 759, 760, 766, 765, 49, 49, 769, 771, 49, 767, 768, 770, 773, 772, 774, 49, 761, 762, 49, 775, 776, 778, 49, 780, 49, 764, 49, 49, 766, 765, 777, 49, 769, 49, 779, 767, 768, 770, 49, 772, 49, 782, 781, 783, 49, 49, 49, 49, 49, 49, 49, 785, 786, 784, 787, 49, 777, 49, 789, 49, 779, 49, 788, 49, 790, 791, 794, 782, 781, 783, 801, 49, 793, 49, 792, 795, 94, 49, 786, 784, 787, 49, 49, 796, 789, 49, 49, 797, 788, 798, 790, 49, 794, 799, 800, 802, 49, 803, 793, 49, 792, 795, 49, 804, 805, 49, 806, 49, 49, 796, 807, 812, 49, 797, 49, 798, 808, 809, 811, 799, 49, 802, 810, 803, 813, 814, 49, 49, 49, 804, 49, 49, 806, 815, 816, 817, 807, 49, 49, 819, 49, 818, 808, 809, 811, 820, 824, 49, 810, 821, 49, 814, 822, 49, 49, 823, 825, 826, 49, 815, 49, 49, 49, 827, 830, 49, 49, 818, 828, 831, 49, 49, 49, 49, 49, 821, 49, 829, 822, 832, 835, 823, 825, 826, 49, 49, 833, 49, 834, 827, 49, 838, 836, 837, 828, 49, 839, 841, 49, 842, 843, 840, 913, 829, 844, 832, 49, 49, 49, 49, 49, 49, 833, 49, 834, 845, 846, 838, 836, 837, 49, 848, 49, 841, 849, 49, 49, 840, 847, 850, 844, 851, 852, 49, 913, 853, 49, 855, 854, 49, 49, 845, 846, 49, 856, 49, 857, 848, 861, 862, 49, 863, 49, 49, 847, 850, 49, 851, 852, 49, 49, 853, 859, 855, 854, 858, 860, 49, 864, 49, 856, 865, 857, 49, 49, 49, 867, 49, 866, 49, 868, 49, 872, 49, 49, 870, 869, 871, 859, 49, 873, 858, 860, 49, 864, 49, 49, 865, 874, 876, 879, 875, 867, 877, 866, 49, 49, 878, 49, 49, 883, 870, 869, 871, 880, 881, 873, 49, 49, 49, 882, 49, 49, 884, 874, 49, 49, 875, 887, 877, 885, 890, 886, 878, 49, 889, 49, 888, 891, 49, 880, 881, 897, 49, 893, 49, 882, 894, 49, 884, 49, 49, 892, 895, 887, 899, 885, 49, 886, 49, 900, 889, 901, 888, 49, 49, 896, 898, 49, 49, 893, 49, 902, 894, 49, 49, 903, 908, 892, 49, 904, 899, 905, 49, 49, 49, 900, 906, 901, 907, 49, 49, 896, 898, 912, 49, 910, 909, 902, 911, 913, 49, 903, 49, 913, 913, 904, 49, 905, 913, 913, 913, 913, 906, 49, 907, 49, 49, 913, 913, 49, 913, 910, 909, 913, 911, 34, 34, 34, 34, 39, 39, 39, 39, 44, 44, 44, 44, 52, 52, 913, 52, 93, 93, 98, 98, 53, 53, 913, 53, 9, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913 } ; static yyconst flex_int16_t yy_chk[2644] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 11, 920, 15, 14, 11, 14, 14, 50, 18, 917, 20, 50, 24, 3, 15, 16, 4, 15, 24, 31, 5, 16, 912, 21, 6, 18, 908, 7, 15, 895, 8, 20, 28, 16, 18, 21, 20, 14, 24, 31, 15, 16, 19, 38, 38, 31, 22, 16, 17, 21, 23, 19, 17, 19, 22, 28, 17, 891, 28, 59, 17, 17, 30, 23, 19, 22, 59, 23, 19, 47, 47, 22, 22, 17, 17, 23, 23, 19, 17, 19, 22, 29, 17, 30, 25, 59, 17, 17, 30, 23, 26, 22, 25, 23, 27, 29, 57, 25, 27, 26, 25, 32, 26, 29, 890, 57, 879, 29, 27, 25, 25, 26, 876, 32, 872, 27, 26, 868, 25, 63, 27, 29, 57, 25, 27, 26, 25, 32, 26, 33, 56, 33, 33, 43, 27, 43, 43, 49, 55, 49, 49, 52, 55, 52, 52, 58, 60, 61, 63, 863, 56, 62, 64, 94, 94, 65, 56, 55, 58, 62, 862, 69, 861, 66, 55, 849, 70, 61, 55, 70, 60, 58, 60, 61, 64, 52, 65, 62, 64, 66, 69, 65, 67, 67, 67, 843, 66, 69, 68, 66, 68, 71, 70, 72, 74, 73, 75, 85, 85, 842, 76, 74, 78, 77, 71, 66, 67, 76, 72, 73, 77, 67, 82, 75, 68, 80, 79, 71, 82, 72, 74, 73, 75, 85, 78, 79, 76, 80, 78, 77, 81, 83, 67, 839, 86, 84, 81, 87, 82, 835, 81, 80, 79, 88, 81, 831, 83, 89, 87, 84, 81, 99, 99, 830, 88, 90, 81, 83, 84, 86, 86, 84, 81, 87, 90, 91, 81, 92, 89, 88, 81, 100, 101, 89, 91, 84, 96, 102, 96, 96, 92, 90, 103, 100, 101, 104, 102, 105, 109, 106, 107, 91, 104, 92, 103, 106, 110, 100, 101, 108, 113, 824, 115, 102, 112, 109, 108, 111, 103, 116, 107, 104, 105, 105, 109, 106, 107, 110, 114, 112, 111, 113, 110, 114, 118, 108, 113, 117, 117, 120, 112, 115, 119, 111, 121, 820, 114, 819, 116, 123, 122, 119, 124, 114, 114, 126, 121, 122, 125, 114, 118, 130, 817, 128, 816, 117, 130, 136, 120, 124, 123, 119, 114, 121, 126, 123, 122, 119, 124, 127, 125, 126, 121, 128, 125, 129, 127, 130, 131, 128, 132, 133, 129, 134, 131, 135, 136, 133, 137, 138, 145, 134, 132, 140, 138, 127, 139, 137, 135, 141, 140, 129, 805, 143, 131, 144, 132, 133, 800, 134, 791, 135, 145, 146, 137, 138, 145, 139, 147, 140, 148, 144, 139, 143, 148, 150, 151, 147, 141, 144, 152, 144, 143, 154, 146, 151, 153, 150, 155, 146, 157, 158, 785, 166, 147, 780, 148, 144, 158, 143, 156, 150, 151, 154, 152, 153, 152, 161, 164, 154, 159, 156, 153, 155, 155, 160, 159, 158, 162, 157, 164, 163, 166, 165, 160, 167, 156, 162, 778, 161, 163, 169, 175, 161, 164, 165, 159, 171, 169, 170, 177, 160, 172, 174, 162, 173, 171, 163, 776, 165, 176, 172, 178, 179, 167, 180, 170, 169, 175, 173, 174, 181, 191, 171, 178, 170, 177, 182, 172, 174, 176, 173, 180, 184, 179, 183, 176, 185, 178, 179, 184, 180, 187, 183, 182, 186, 189, 181, 775, 190, 209, 191, 774, 182, 194, 209, 201, 196, 185, 184, 192, 183, 194, 185, 187, 188, 186, 189, 187, 196, 190, 186, 189, 188, 188, 190, 209, 192, 188, 193, 194, 195, 188, 196, 197, 201, 192, 773, 193, 771, 763, 188, 193, 753, 195, 193, 205, 198, 200, 188, 188, 197, 193, 751, 188, 193, 198, 195, 203, 198, 197, 199, 202, 206, 193, 200, 204, 199, 193, 202, 203, 193, 199, 210, 200, 205, 198, 212, 211, 199, 206, 214, 198, 207, 203, 198, 213, 199, 202, 206, 210, 204, 204, 199, 207, 208, 208, 212, 199, 210, 211, 215, 214, 212, 211, 199, 216, 214, 213, 207, 218, 217, 213, 219, 221, 225, 220, 222, 728, 216, 223, 722, 224, 208, 217, 715, 215, 215, 227, 221, 227, 218, 216, 220, 219, 229, 218, 217, 222, 219, 221, 223, 220, 222, 225, 231, 223, 224, 224, 230, 233, 238, 229, 234, 227, 236, 235, 237, 230, 239, 231, 229, 240, 236, 706, 694, 686, 241, 237, 241, 239, 231, 233, 242, 234, 230, 233, 235, 246, 234, 238, 236, 235, 237, 241, 239, 246, 240, 240, 243, 245, 242, 244, 241, 247, 241, 243, 249, 681, 242, 248, 244, 250, 249, 246, 245, 247, 251, 248, 251, 252, 675, 254, 253, 674, 243, 245, 256, 244, 250, 247, 253, 255, 249, 254, 259, 248, 260, 250, 264, 261, 255, 257, 251, 256, 252, 252, 263, 254, 253, 262, 257, 259, 256, 260, 261, 265, 262, 255, 263, 267, 259, 261, 260, 268, 264, 261, 266, 257, 270, 271, 265, 263, 263, 267, 266, 262, 269, 272, 268, 269, 261, 265, 276, 273, 263, 267, 274, 664, 275, 268, 273, 276, 266, 278, 270, 271, 277, 283, 272, 281, 279, 280, 282, 272, 663, 269, 278, 274, 276, 273, 284, 283, 274, 275, 275, 279, 280, 277, 288, 278, 285, 281, 277, 283, 282, 281, 279, 280, 282, 286, 287, 284, 288, 285, 289, 290, 284, 289, 291, 292, 285, 293, 286, 294, 288, 287, 285, 295, 290, 286, 661, 291, 647, 624, 612, 286, 287, 297, 304, 285, 292, 290, 293, 289, 291, 292, 296, 293, 286, 297, 298, 300, 294, 296, 302, 299, 295, 303, 300, 298, 299, 301, 301, 297, 304, 305, 307, 306, 305, 308, 309, 302, 296, 307, 303, 308, 298, 300, 309, 310, 302, 299, 312, 303, 306, 311, 314, 301, 313, 316, 312, 315, 307, 306, 305, 308, 309, 318, 317, 311, 310, 319, 313, 314, 315, 310, 322, 323, 312, 325, 316, 311, 314, 317, 313, 316, 319, 315, 320, 321, 327, 325, 328, 318, 317, 323, 320, 319, 329, 330, 335, 322, 322, 323, 324, 325, 321, 324, 340, 335, 329, 596, 587, 328, 320, 321, 338, 339, 328, 327, 330, 352, 579, 575, 329, 330, 335, 336, 571, 336, 324, 331, 340, 337, 340, 331, 337, 331, 339, 338, 341, 347, 338, 339, 331, 344, 345, 331, 341, 342, 352, 342, 331, 336, 343, 346, 343, 331, 344, 345, 348, 331, 337, 331, 353, 349, 341, 347, 350, 348, 331, 344, 345, 331, 349, 342, 346, 350, 351, 354, 343, 346, 356, 357, 358, 359, 348, 351, 354, 353, 353, 349, 360, 361, 350, 362, 560, 363, 540, 364, 366, 356, 365, 365, 351, 354, 363, 367, 356, 357, 358, 364, 376, 382, 359, 369, 361, 360, 360, 361, 368, 366, 369, 363, 362, 364, 366, 371, 367, 373, 365, 368, 374, 367, 371, 375, 377, 523, 376, 382, 379, 369, 378, 373, 380, 377, 368, 379, 375, 374, 371, 384, 381, 371, 383, 373, 521, 518, 374, 381, 371, 375, 377, 378, 386, 380, 379, 387, 378, 383, 380, 391, 384, 388, 387, 390, 389, 384, 381, 392, 383, 394, 388, 389, 517, 386, 392, 514, 395, 390, 386, 391, 503, 387, 396, 398, 397, 391, 502, 388, 403, 390, 389, 481, 399, 392, 393, 394, 393, 397, 395, 408, 393, 393, 395, 400, 399, 398, 393, 401, 396, 398, 397, 402, 400, 407, 403, 406, 408, 393, 399, 402, 393, 407, 393, 404, 400, 408, 393, 393, 401, 400, 410, 409, 393, 401, 404, 411, 406, 402, 400, 407, 412, 406, 409, 413, 414, 417, 416, 417, 412, 404, 419, 413, 419, 418, 420, 423, 410, 409, 480, 474, 421, 411, 422, 420, 427, 466, 412, 416, 421, 413, 428, 417, 416, 414, 418, 426, 419, 427, 426, 418, 420, 431, 428, 422, 423, 432, 421, 430, 422, 429, 427, 433, 429, 434, 430, 435, 428, 436, 464, 440, 444, 426, 444, 437, 449, 431, 439, 431, 434, 438, 441, 447, 443, 430, 432, 429, 440, 451, 438, 434, 433, 435, 445, 436, 437, 440, 444, 439, 446, 437, 438, 442, 439, 441, 445, 438, 441, 447, 442, 448, 450, 448, 452, 451, 438, 454, 456, 453, 445, 446, 455, 425, 450, 457, 446, 424, 459, 442, 455, 462, 452, 458, 457, 465, 415, 448, 450, 453, 452, 463, 460, 454, 456, 453, 467, 461, 455, 459, 458, 457, 462, 463, 459, 460, 465, 462, 452, 458, 461, 465, 468, 469, 470, 472, 405, 463, 460, 471, 473, 467, 467, 461, 472, 475, 476, 470, 477, 482, 478, 385, 469, 468, 479, 483, 477, 473, 468, 469, 470, 472, 471, 478, 484, 471, 473, 485, 486, 487, 475, 475, 476, 488, 477, 485, 478, 487, 482, 479, 479, 490, 489, 497, 483, 491, 495, 372, 490, 484, 484, 370, 491, 485, 493, 487, 492, 486, 494, 495, 494, 496, 488, 489, 499, 511, 492, 490, 489, 497, 504, 491, 495, 492, 493, 499, 498, 500, 501, 508, 493, 496, 492, 510, 494, 504, 508, 496, 500, 505, 499, 506, 492, 498, 511, 501, 504, 506, 505, 507, 509, 507, 498, 500, 501, 508, 512, 513, 509, 510, 515, 519, 512, 516, 524, 505, 522, 506, 520, 526, 529, 513, 529, 527, 528, 507, 509, 525, 526, 531, 532, 528, 512, 513, 534, 520, 515, 568, 516, 516, 519, 355, 522, 524, 520, 526, 529, 525, 527, 527, 528, 530, 533, 525, 532, 531, 532, 535, 536, 537, 530, 538, 539, 534, 541, 533, 568, 537, 544, 539, 542, 543, 334, 538, 536, 547, 544, 530, 533, 535, 543, 545, 549, 535, 536, 537, 557, 538, 539, 545, 541, 546, 542, 547, 544, 548, 542, 543, 550, 546, 549, 547, 548, 551, 552, 550, 553, 545, 549, 554, 555, 551, 557, 558, 556, 553, 333, 546, 559, 332, 558, 548, 554, 556, 550, 552, 570, 559, 561, 551, 552, 564, 553, 555, 562, 554, 555, 563, 565, 558, 556, 561, 566, 562, 559, 564, 563, 569, 567, 566, 326, 573, 570, 258, 561, 565, 572, 564, 573, 574, 562, 567, 576, 563, 565, 578, 582, 577, 566, 580, 581, 585, 581, 582, 567, 583, 569, 573, 591, 572, 578, 574, 572, 584, 576, 574, 577, 586, 576, 580, 577, 578, 582, 577, 586, 580, 581, 590, 589, 583, 585, 583, 588, 593, 584, 589, 592, 591, 594, 584, 597, 595, 577, 586, 598, 601, 599, 588, 595, 602, 593, 594, 590, 590, 589, 604, 600, 592, 588, 593, 603, 232, 592, 599, 594, 598, 597, 595, 601, 606, 598, 601, 599, 600, 605, 611, 607, 603, 602, 608, 606, 608, 600, 609, 604, 607, 603, 610, 613, 614, 609, 605, 615, 618, 620, 606, 616, 613, 610, 617, 605, 611, 607, 619, 622, 608, 626, 627, 628, 609, 618, 619, 228, 610, 613, 614, 632, 616, 615, 618, 617, 621, 616, 620, 622, 617, 625, 629, 621, 619, 622, 623, 626, 627, 623, 630, 633, 628, 625, 631, 634, 632, 632, 226, 630, 629, 636, 621, 635, 638, 637, 168, 625, 629, 640, 636, 639, 623, 641, 149, 631, 630, 633, 635, 641, 631, 642, 645, 646, 634, 637, 640, 636, 644, 635, 638, 637, 639, 642, 643, 640, 651, 639, 642, 641, 644, 643, 648, 653, 646, 649, 649, 642, 645, 646, 650, 650, 655, 651, 644, 648, 652, 653, 654, 642, 643, 656, 651, 652, 657, 654, 655, 142, 648, 653, 658, 649, 660, 656, 659, 98, 650, 662, 655, 665, 97, 667, 652, 668, 654, 95, 666, 656, 667, 662, 668, 669, 670, 657, 679, 659, 658, 671, 673, 665, 659, 660, 672, 662, 673, 665, 666, 667, 676, 668, 677, 669, 666, 678, 671, 676, 683, 669, 670, 687, 679, 682, 672, 671, 673, 680, 684, 685, 672, 93, 678, 677, 690, 692, 676, 691, 677, 683, 48, 678, 680, 682, 683, 688, 685, 687, 684, 682, 689, 712, 688, 680, 684, 685, 690, 689, 691, 693, 690, 695, 696, 691, 692, 697, 699, 700, 698, 696, 695, 688, 693, 702, 701, 703, 689, 712, 44, 705, 725, 40, 39, 699, 700, 693, 697, 695, 696, 698, 702, 697, 699, 700, 698, 701, 703, 704, 707, 702, 701, 703, 705, 708, 709, 705, 725, 707, 710, 711, 704, 713, 716, 717, 713, 714, 719, 708, 718, 709, 720, 721, 717, 704, 707, 710, 711, 716, 721, 708, 709, 718, 714, 719, 710, 711, 723, 724, 716, 717, 713, 714, 719, 720, 718, 726, 720, 721, 729, 727, 729, 723, 732, 734, 724, 730, 731, 733, 736, 735, 737, 732, 723, 724, 727, 738, 739, 741, 733, 743, 726, 726, 735, 730, 729, 727, 740, 731, 732, 734, 742, 730, 731, 733, 736, 735, 737, 745, 744, 746, 740, 738, 739, 741, 742, 743, 744, 748, 749, 747, 750, 749, 740, 750, 754, 745, 742, 747, 752, 746, 755, 756, 759, 745, 744, 746, 767, 752, 758, 754, 757, 760, 34, 748, 749, 747, 750, 757, 759, 761, 754, 755, 758, 762, 752, 764, 755, 756, 759, 765, 766, 768, 760, 769, 758, 767, 757, 760, 762, 770, 772, 769, 777, 761, 768, 761, 779, 786, 764, 762, 765, 764, 781, 782, 784, 765, 766, 768, 783, 769, 787, 788, 784, 777, 770, 770, 772, 779, 777, 789, 790, 792, 779, 781, 782, 794, 786, 793, 781, 782, 784, 795, 799, 783, 783, 796, 788, 788, 797, 787, 789, 798, 801, 801, 10, 789, 790, 792, 793, 802, 806, 794, 801, 793, 803, 807, 802, 795, 799, 797, 796, 796, 798, 804, 797, 808, 811, 798, 801, 801, 804, 803, 809, 808, 810, 802, 806, 814, 812, 813, 803, 807, 815, 821, 814, 822, 823, 818, 9, 804, 825, 808, 811, 812, 813, 809, 825, 810, 809, 818, 810, 826, 827, 814, 812, 813, 821, 829, 815, 821, 832, 822, 823, 818, 828, 833, 825, 834, 836, 827, 0, 837, 826, 840, 838, 829, 828, 826, 827, 840, 841, 833, 844, 829, 848, 850, 832, 851, 834, 836, 828, 833, 837, 834, 836, 838, 841, 837, 846, 840, 838, 845, 847, 844, 852, 846, 841, 853, 844, 845, 848, 850, 855, 851, 854, 847, 856, 852, 860, 855, 853, 858, 857, 859, 846, 859, 864, 845, 847, 854, 852, 857, 858, 853, 865, 867, 871, 866, 855, 869, 854, 869, 856, 870, 860, 864, 877, 858, 857, 859, 873, 874, 864, 865, 866, 870, 875, 873, 874, 878, 865, 867, 871, 866, 882, 869, 880, 885, 881, 870, 875, 884, 878, 883, 886, 877, 873, 874, 894, 884, 888, 882, 875, 889, 880, 878, 881, 883, 887, 892, 882, 897, 880, 885, 881, 887, 898, 884, 899, 883, 886, 888, 893, 896, 889, 897, 888, 894, 900, 889, 893, 896, 901, 906, 887, 892, 902, 897, 903, 899, 901, 898, 898, 904, 899, 905, 903, 900, 893, 896, 911, 904, 909, 907, 900, 910, 0, 902, 901, 906, 0, 0, 902, 910, 903, 0, 0, 0, 0, 904, 905, 905, 907, 909, 0, 0, 911, 0, 909, 907, 0, 910, 914, 914, 914, 914, 915, 915, 915, 915, 916, 916, 916, 916, 918, 918, 0, 918, 919, 919, 921, 921, 922, 922, 0, 922, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913 } ; 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 "configlexer.lex" #line 2 "configlexer.lex" /* * configlexer.lex - lexical analyzer for NSD config file * * Copyright (c) 2001-2006, NLnet Labs. All rights reserved * * See LICENSE for the license. * */ /* because flex keeps having sign-unsigned compare problems that are unfixed*/ #if defined(__clang__)||(defined(__GNUC__)&&((__GNUC__ >4)||(defined(__GNUC_MINOR__)&&(__GNUC__ ==4)&&(__GNUC_MINOR__ >=2)))) #pragma GCC diagnostic ignored "-Wsign-compare" #endif #include "config.h" #include #include #include #include #ifdef HAVE_GLOB_H # include #endif #include "options.h" #include "configyyrename.h" #include "configparser.h" void c_error(const char *message); #if 0 #define LEXOUT(s) printf s /* used ONLY when debugging */ #else #define LEXOUT(s) #endif struct inc_state { char* filename; int line; YY_BUFFER_STATE buffer; struct inc_state* next; }; static struct inc_state* config_include_stack = NULL; static int inc_depth = 0; static int inc_prev = 0; static int num_args = 0; void init_cfg_parse(void) { config_include_stack = NULL; inc_depth = 0; inc_prev = 0; num_args = 0; } static void config_start_include(const char* filename) { FILE *input; struct inc_state* s; char* nm; if(inc_depth++ > 10000000) { c_error_msg("too many include files"); return; } if(strlen(filename) == 0) { c_error_msg("empty include file name"); return; } s = (struct inc_state*)malloc(sizeof(*s)); if(!s) { c_error_msg("include %s: malloc failure", filename); return; } nm = strdup(filename); if(!nm) { c_error_msg("include %s: strdup failure", filename); free(s); return; } input = fopen(filename, "r"); if(!input) { c_error_msg("cannot open include file '%s': %s", filename, strerror(errno)); free(s); free(nm); return; } LEXOUT(("switch_to_include_file(%s) ", filename)); s->filename = cfg_parser->filename; s->line = cfg_parser->line; s->buffer = YY_CURRENT_BUFFER; s->next = config_include_stack; config_include_stack = s; cfg_parser->filename = nm; cfg_parser->line = 1; yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE)); } static void config_start_include_glob(const char* filename) { /* check for wildcards */ #ifdef HAVE_GLOB glob_t g; size_t i; int r, flags; #endif /* HAVE_GLOB */ if (cfg_parser->chroot) { int l = strlen(cfg_parser->chroot); /* chroot has trailing slash */ if (strncmp(cfg_parser->chroot, filename, l) != 0) { c_error_msg("include file '%s' is not relative to chroot '%s'", filename, cfg_parser->chroot); return; } filename += l - 1; /* strip chroot without trailing slash */ } #ifdef HAVE_GLOB if(!(!strchr(filename, '*') && !strchr(filename, '?') && !strchr(filename, '[') && !strchr(filename, '{') && !strchr(filename, '~'))) { flags = 0 #ifdef GLOB_ERR | GLOB_ERR #endif /* do not set GLOB_NOSORT so the results are sorted and in a predictable order. */ #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); if(r == GLOB_NOMATCH) return; /* no matches for pattern */ 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) { struct inc_state* s = config_include_stack; --inc_depth; if(!s) return; free(cfg_parser->filename); cfg_parser->filename = s->filename; cfg_parser->line = s->line; yy_delete_buffer(YY_CURRENT_BUFFER); yy_switch_to_buffer(s->buffer); config_include_stack = s->next; free(s); } #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 181 "configlexer.lex" #ifndef YY_NO_UNPUT #define YY_NO_UNPUT 1 #endif #ifndef YY_NO_INPUT #define YY_NO_INPUT 1 #endif #line 1526 "" #define INITIAL 0 #define quotedstring 1 #define include 2 #define include_quoted 3 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * _in_str ); FILE *yyget_out (void ); void yyset_out (FILE * _out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int _line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef YY_NO_UNPUT #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 #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ int n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK /*LINTED*/break; #endif #define YY_RULE_SETUP \ 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( ); } { #line 199 "configlexer.lex" #line 1747 "" while ( /*CONSTCOND*/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 >= 914 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 2582 ); 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 200 "configlexer.lex" { LEXOUT(("SP ")); /* ignore */ } YY_BREAK case 2: YY_RULE_SETUP #line 201 "configlexer.lex" { LEXOUT(("comment(%s) ", yytext)); /* ignore */ } YY_BREAK case 3: YY_RULE_SETUP #line 202 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_SERVER;} YY_BREAK case 4: YY_RULE_SETUP #line 203 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_NAME;} YY_BREAK case 5: YY_RULE_SETUP #line 204 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IP_ADDRESS;} YY_BREAK case 6: YY_RULE_SETUP #line 205 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IP_ADDRESS;} YY_BREAK case 7: YY_RULE_SETUP #line 206 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IP_TRANSPARENT;} YY_BREAK case 8: YY_RULE_SETUP #line 207 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IP_FREEBIND;} YY_BREAK case 9: YY_RULE_SETUP #line 208 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DEBUG_MODE;} YY_BREAK case 10: YY_RULE_SETUP #line 209 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_USE_SYSTEMD;} YY_BREAK case 11: YY_RULE_SETUP #line 210 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_HIDE_VERSION;} YY_BREAK case 12: YY_RULE_SETUP #line 211 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IP4_ONLY;} YY_BREAK case 13: YY_RULE_SETUP #line 212 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IP6_ONLY;} YY_BREAK case 14: YY_RULE_SETUP #line 213 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DO_IP4;} YY_BREAK case 15: YY_RULE_SETUP #line 214 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DO_IP6;} YY_BREAK case 16: YY_RULE_SETUP #line 215 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DATABASE;} YY_BREAK case 17: YY_RULE_SETUP #line 216 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IDENTITY;} YY_BREAK case 18: YY_RULE_SETUP #line 217 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_VERSION;} YY_BREAK case 19: YY_RULE_SETUP #line 218 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_NSID;} YY_BREAK case 20: YY_RULE_SETUP #line 219 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_LOGFILE;} YY_BREAK case 21: YY_RULE_SETUP #line 220 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_SERVER_COUNT;} YY_BREAK case 22: YY_RULE_SETUP #line 221 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_TCP_COUNT;} YY_BREAK case 23: YY_RULE_SETUP #line 222 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_TCP_QUERY_COUNT;} YY_BREAK case 24: YY_RULE_SETUP #line 223 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_TCP_TIMEOUT;} YY_BREAK case 25: YY_RULE_SETUP #line 224 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_TCP_MSS;} YY_BREAK case 26: YY_RULE_SETUP #line 225 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_OUTGOING_TCP_MSS;} YY_BREAK case 27: YY_RULE_SETUP #line 226 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IPV4_EDNS_SIZE;} YY_BREAK case 28: YY_RULE_SETUP #line 227 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_IPV6_EDNS_SIZE;} YY_BREAK case 29: YY_RULE_SETUP #line 228 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_PIDFILE;} YY_BREAK case 30: YY_RULE_SETUP #line 229 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_PORT;} YY_BREAK case 31: YY_RULE_SETUP #line 230 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_REUSEPORT;} YY_BREAK case 32: YY_RULE_SETUP #line 231 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_STATISTICS;} YY_BREAK case 33: YY_RULE_SETUP #line 232 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_CHROOT;} YY_BREAK case 34: YY_RULE_SETUP #line 233 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_USERNAME;} YY_BREAK case 35: YY_RULE_SETUP #line 234 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ZONESDIR;} YY_BREAK case 36: YY_RULE_SETUP #line 235 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ZONELISTFILE;} YY_BREAK case 37: YY_RULE_SETUP #line 236 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DIFFFILE;} YY_BREAK case 38: YY_RULE_SETUP #line 237 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_XFRDFILE;} YY_BREAK case 39: YY_RULE_SETUP #line 238 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_XFRDIR;} YY_BREAK case 40: YY_RULE_SETUP #line 239 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_XFRD_RELOAD_TIMEOUT;} YY_BREAK case 41: YY_RULE_SETUP #line 240 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_VERBOSITY;} YY_BREAK case 42: YY_RULE_SETUP #line 241 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ZONE;} YY_BREAK case 43: YY_RULE_SETUP #line 242 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ZONEFILE;} YY_BREAK case 44: YY_RULE_SETUP #line 243 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ZONESTATS;} YY_BREAK case 45: YY_RULE_SETUP #line 244 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ALLOW_NOTIFY;} YY_BREAK case 46: YY_RULE_SETUP #line 245 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_SIZE_LIMIT_XFR;} YY_BREAK case 47: YY_RULE_SETUP #line 246 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_REQUEST_XFR;} YY_BREAK case 48: YY_RULE_SETUP #line 247 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_NOTIFY;} YY_BREAK case 49: YY_RULE_SETUP #line 248 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_NOTIFY_RETRY;} YY_BREAK case 50: YY_RULE_SETUP #line 249 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_PROVIDE_XFR;} YY_BREAK case 51: YY_RULE_SETUP #line 250 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_OUTGOING_INTERFACE;} YY_BREAK case 52: YY_RULE_SETUP #line 251 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ALLOW_AXFR_FALLBACK;} YY_BREAK case 53: YY_RULE_SETUP #line 252 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_KEY;} YY_BREAK case 54: YY_RULE_SETUP #line 253 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ALGORITHM;} YY_BREAK case 55: YY_RULE_SETUP #line 254 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_SECRET;} YY_BREAK case 56: YY_RULE_SETUP #line 255 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_PATTERN;} YY_BREAK case 57: YY_RULE_SETUP #line 256 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_INCLUDEPATTERN;} YY_BREAK case 58: YY_RULE_SETUP #line 257 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_REMOTE_CONTROL;} YY_BREAK case 59: YY_RULE_SETUP #line 258 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_CONTROL_ENABLE;} YY_BREAK case 60: YY_RULE_SETUP #line 259 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_CONTROL_INTERFACE;} YY_BREAK case 61: YY_RULE_SETUP #line 260 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_CONTROL_PORT;} YY_BREAK case 62: YY_RULE_SETUP #line 261 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_SERVER_KEY_FILE;} YY_BREAK case 63: YY_RULE_SETUP #line 262 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_SERVER_CERT_FILE;} YY_BREAK case 64: YY_RULE_SETUP #line 263 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_CONTROL_KEY_FILE;} YY_BREAK case 65: YY_RULE_SETUP #line 264 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_CONTROL_CERT_FILE;} YY_BREAK case 66: YY_RULE_SETUP #line 265 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_AXFR;} YY_BREAK case 67: YY_RULE_SETUP #line 266 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_UDP;} YY_BREAK case 68: YY_RULE_SETUP #line 267 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_SIZE;} YY_BREAK case 69: YY_RULE_SETUP #line 268 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_RATELIMIT;} YY_BREAK case 70: YY_RULE_SETUP #line 269 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_SLIP;} YY_BREAK case 71: YY_RULE_SETUP #line 270 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_IPV4_PREFIX_LENGTH;} YY_BREAK case 72: YY_RULE_SETUP #line 271 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_IPV6_PREFIX_LENGTH;} YY_BREAK case 73: YY_RULE_SETUP #line 272 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_WHITELIST_RATELIMIT;} YY_BREAK case 74: YY_RULE_SETUP #line 273 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_WHITELIST;} YY_BREAK case 75: YY_RULE_SETUP #line 274 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ZONEFILES_CHECK;} YY_BREAK case 76: YY_RULE_SETUP #line 275 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ZONEFILES_WRITE;} YY_BREAK case 77: YY_RULE_SETUP #line 276 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP;} YY_BREAK case 78: YY_RULE_SETUP #line 277 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_ENABLE;} YY_BREAK case 79: YY_RULE_SETUP #line 278 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_SOCKET_PATH; } YY_BREAK case 80: YY_RULE_SETUP #line 279 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_SEND_IDENTITY; } YY_BREAK case 81: YY_RULE_SETUP #line 280 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_SEND_VERSION; } YY_BREAK case 82: YY_RULE_SETUP #line 281 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_IDENTITY; } YY_BREAK case 83: YY_RULE_SETUP #line 282 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_VERSION; } YY_BREAK case 84: YY_RULE_SETUP #line 283 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_LOG_AUTH_QUERY_MESSAGES; } YY_BREAK case 85: YY_RULE_SETUP #line 284 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_DNSTAP_LOG_AUTH_RESPONSE_MESSAGES; } YY_BREAK case 86: YY_RULE_SETUP #line 285 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_LOG_TIME_ASCII;} YY_BREAK case 87: YY_RULE_SETUP #line 286 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_ROUND_ROBIN;} YY_BREAK case 88: YY_RULE_SETUP #line 287 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_MINIMAL_RESPONSES;} YY_BREAK case 89: YY_RULE_SETUP #line 288 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_REFUSE_ANY;} YY_BREAK case 90: YY_RULE_SETUP #line 289 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_MAX_REFRESH_TIME;} YY_BREAK case 91: YY_RULE_SETUP #line 290 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_MIN_REFRESH_TIME;} YY_BREAK case 92: YY_RULE_SETUP #line 291 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_MAX_RETRY_TIME;} YY_BREAK case 93: YY_RULE_SETUP #line 292 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_MIN_RETRY_TIME;} YY_BREAK case 94: YY_RULE_SETUP #line 293 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); return VAR_MULTI_MASTER_CHECK;} YY_BREAK case 95: /* rule 95 can match eol */ YY_RULE_SETUP #line 294 "configlexer.lex" { LEXOUT(("NL\n")); cfg_parser->line++;} YY_BREAK /* Quoted strings. Strip leading and ending quotes */ case 96: YY_RULE_SETUP #line 297 "configlexer.lex" { BEGIN(quotedstring); LEXOUT(("QS ")); } YY_BREAK case YY_STATE_EOF(quotedstring): #line 298 "configlexer.lex" { yyerror("EOF inside quoted string"); BEGIN(INITIAL); } YY_BREAK case 97: YY_RULE_SETUP #line 302 "configlexer.lex" { LEXOUT(("STR(%s) ", yytext)); yymore(); } YY_BREAK case 98: /* rule 98 can match eol */ YY_RULE_SETUP #line 303 "configlexer.lex" { cfg_parser->line++; yymore(); } YY_BREAK case 99: YY_RULE_SETUP #line 304 "configlexer.lex" { LEXOUT(("QE ")); BEGIN(INITIAL); yytext[yyleng - 1] = '\0'; yylval.str = region_strdup(cfg_parser->opt->region, yytext); return STRING; } YY_BREAK /* include: directive */ case 100: YY_RULE_SETUP #line 313 "configlexer.lex" { LEXOUT(("v(%s) ", yytext)); BEGIN(include); } YY_BREAK case YY_STATE_EOF(include): #line 314 "configlexer.lex" { yyerror("EOF inside include directive"); BEGIN(INITIAL); } YY_BREAK case 101: YY_RULE_SETUP #line 318 "configlexer.lex" { LEXOUT(("ISP ")); /* ignore */ } YY_BREAK case 102: /* rule 102 can match eol */ YY_RULE_SETUP #line 319 "configlexer.lex" { LEXOUT(("NL\n")); cfg_parser->line++;} YY_BREAK case 103: YY_RULE_SETUP #line 320 "configlexer.lex" { LEXOUT(("IQS ")); BEGIN(include_quoted); } YY_BREAK case 104: YY_RULE_SETUP #line 321 "configlexer.lex" { LEXOUT(("Iunquotedstr(%s) ", yytext)); config_start_include_glob(yytext); BEGIN(INITIAL); } YY_BREAK case YY_STATE_EOF(include_quoted): #line 326 "configlexer.lex" { yyerror("EOF inside quoted string"); BEGIN(INITIAL); } YY_BREAK case 105: YY_RULE_SETUP #line 330 "configlexer.lex" { LEXOUT(("ISTR(%s) ", yytext)); yymore(); } YY_BREAK case 106: /* rule 106 can match eol */ YY_RULE_SETUP #line 331 "configlexer.lex" { cfg_parser->line++; yymore(); } YY_BREAK case 107: YY_RULE_SETUP #line 332 "configlexer.lex" { LEXOUT(("IQE ")); yytext[yyleng - 1] = '\0'; config_start_include_glob(yytext); BEGIN(INITIAL); } YY_BREAK case YY_STATE_EOF(INITIAL): #line 338 "configlexer.lex" { yy_set_bol(1); /* Set beginning of line, so "^" rules match. */ if (!config_include_stack) { yyterminate(); } else { fclose(yyin); config_end_include(); } } YY_BREAK case 108: YY_RULE_SETUP #line 348 "configlexer.lex" { LEXOUT(("unquotedstr(%s) ", yytext)); yylval.str = region_strdup(cfg_parser->opt->region, yytext); return STRING; } YY_BREAK case 109: YY_RULE_SETUP #line 351 "configlexer.lex" ECHO; YY_BREAK #line 2410 "" case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of user's declarations */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; char *source = (yytext_ptr); yy_size_t 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 = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc((void *) b->yy_ch_buf,(yy_size_t) (b->yy_buf_size + 2) ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = NULL; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart(yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,(yy_size_t) new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { yy_state_type yy_current_state; char *yy_cp; yy_current_state = (yy_start); 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 >= 914 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) 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 >= 914 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; yy_is_jam = (yy_current_state == 913); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return 0; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc((yy_size_t) (b->yy_buf_size + 2) ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { 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; /* After all that talk, this was set to 1 anyways... */ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return NULL; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = NULL; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,(int) strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (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 = (yy_size_t) (_yybytes_len + 2); buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yynoreturn yy_fatal_error (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. */ \ yy_size_t yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param _line_number line number * */ void yyset_lineno (int _line_number ) { yylineno = _line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param _in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * _in_str ) { yyin = _in_str ; } void yyset_out (FILE * _out_str ) { yyout = _out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int _bdebug ) { yy_flex_debug = _bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ (yy_buffer_stack) = NULL; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = NULL; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = NULL; yyout = NULL; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, 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 malloc(size); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return realloc(ptr, size); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 351 "configlexer.lex"