diff options
Diffstat (limited to 'util/configlexer.c')
-rw-r--r-- | util/configlexer.c | 3912 |
1 files changed, 3912 insertions, 0 deletions
diff --git a/util/configlexer.c b/util/configlexer.c new file mode 100644 index 000000000000..4e8ed337821e --- /dev/null +++ b/util/configlexer.c @@ -0,0 +1,3912 @@ +#include "config.h" +#include "util/configyyrename.h" + +#line 3 "<stdout>" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 5 +#define YY_FLEX_SUBMINOR_VERSION 35 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> + +/* end standard C headers. */ + +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have <inttypes.h>. 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 <inttypes.h> +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; +#endif /* ! C99 */ + +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + +#endif /* ! FLEXINT_H */ + +#ifdef __cplusplus + +/* The "const" storage-class-modifier is valid. */ +#define YY_USE_CONST + +#else /* ! __cplusplus */ + +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) + +#define YY_USE_CONST + +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ + +#ifdef YY_USE_CONST +#define yyconst const +#else +#define yyconst +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an unsigned + * integer for use as an array index. If the signed char is negative, + * we want to instead treat it as an 8-bit unsigned char, hence the + * double cast. + */ +#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#define BEGIN (yy_start) = 1 + 2 * + +/* Translate the current start state into a value that can be later handed + * to BEGIN to return to the state. The YYSTATE alias is for lex + * compatibility. + */ +#define YY_START (((yy_start) - 1) / 2) +#define YYSTATE YY_START + +/* Action number for EOF rule of a given start state. */ +#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) + +/* Special action meaning "start processing a new file". */ +#define YY_NEW_FILE yyrestart(yyin ) + +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#define YY_BUF_SIZE 16384 +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +extern int yyleng; + +extern FILE *yyin, *yyout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ + } \ + while ( 0 ) + +#define unput(c) yyunput( c, (yytext_ptr) ) + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + int yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; + + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; + + int yy_buffer_status; + +#define YY_BUFFER_NEW 0 +#define YY_BUFFER_NORMAL 1 + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ + +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + * + * Returns the top of the stack, or NULL. + */ +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) + +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] + +/* yy_hold_char holds the character lost when yytext is formed. */ +static char yy_hold_char; +static int yy_n_chars; /* number of characters read into yy_ch_buf */ +int yyleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = (char *) 0; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void yyrestart (FILE *input_file ); +void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); +void yy_delete_buffer (YY_BUFFER_STATE b ); +void yy_flush_buffer (YY_BUFFER_STATE b ); +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state (void ); + +static void yyensure_buffer_stack (void ); +static void yy_load_buffer_state (void ); +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); + +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); + +void *yyalloc (yy_size_t ); +void *yyrealloc (void *,yy_size_t ); +void yyfree (void * ); + +#define yy_new_buffer yy_create_buffer + +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } + +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } + +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ + +typedef unsigned char YY_CHAR; + +FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; + +typedef int yy_state_type; + +extern int yylineno; + +int yylineno = 1; + +extern char *yytext; +#define yytext_ptr yytext + +static yy_state_type yy_get_previous_state (void ); +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +static int yy_get_next_buffer (void ); +static void yy_fatal_error (yyconst char msg[] ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up yytext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + (yytext_ptr) -= (yy_more_len); \ + yyleng = (size_t) (yy_cp - (yytext_ptr)); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; + +#define YY_NUM_RULES 142 +#define YY_END_OF_BUFFER 143 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_accept[1343] = + { 0, + 1, 1, 124, 124, 128, 128, 132, 132, 136, 136, + 1, 1, 143, 140, 1, 122, 122, 141, 2, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 141, 124, + 125, 125, 126, 141, 128, 129, 129, 130, 141, 135, + 132, 133, 133, 134, 141, 136, 137, 137, 138, 141, + 139, 123, 2, 127, 139, 141, 140, 0, 1, 2, + 2, 2, 2, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 124, + 0, 128, 0, 135, 0, 132, 136, 0, 139, 0, + 2, 2, 139, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 139, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 139, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 62, 140, 140, + 140, 140, 140, 6, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 139, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 139, 140, 140, 140, 140, 27, + 140, 140, 140, 140, 140, 12, 13, 140, 15, 14, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 118, 140, 140, 140, 140, + 140, 3, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 131, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 30, + 140, 140, 140, 140, 140, 140, 140, 140, 31, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 77, 131, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 76, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 60, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 20, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 28, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 29, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 22, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 25, 26, 140, 140, 140, 63, 140, 64, + 140, 61, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 5, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 79, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 104, 103, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 32, 140, 140, + 140, 140, 140, 140, 140, 66, 65, 140, 140, 140, + 140, 140, 140, 100, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 51, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 102, 140, 140, 140, 140, 140, 140, 140, 140, + 4, 140, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 97, 140, 140, 140, 140, 140, 140, 140, + 112, 98, 140, 21, 140, 140, 140, 140, 68, 140, + 69, 67, 140, 140, 140, 140, 140, 140, 75, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 99, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 59, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 17, 140, 140, 140, 16, + 140, 84, 140, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 39, 40, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 70, 140, 140, 140, + 140, 140, 74, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 78, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 117, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 88, 140, 92, 140, 140, + 140, 140, 73, 140, 140, 110, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 91, + 140, 140, 140, 140, 41, 42, 140, 47, 93, 140, + + 105, 101, 140, 140, 35, 140, 95, 140, 140, 140, + 140, 140, 7, 140, 58, 109, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 80, 140, 140, 119, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 94, 140, 34, 36, + 140, 140, 140, 140, 140, 57, 140, 140, 140, 140, + 113, 18, 19, 140, 140, 140, 140, 140, 140, 55, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 115, + 140, 140, 33, 140, 140, 140, 140, 140, 140, 11, + + 140, 140, 140, 140, 140, 140, 140, 10, 140, 140, + 37, 140, 121, 114, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 87, 86, 140, 116, 111, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 43, + 140, 120, 140, 140, 140, 140, 38, 140, 140, 140, + 81, 83, 140, 140, 140, 85, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 23, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 108, 140, 140, 140, 140, 140, 140, + 140, 24, 140, 9, 140, 140, 106, 48, 140, 140, + + 140, 90, 140, 71, 140, 140, 140, 50, 54, 49, + 140, 44, 140, 8, 140, 140, 89, 140, 140, 140, + 53, 140, 45, 140, 107, 140, 140, 82, 72, 52, + 46, 140, 140, 140, 140, 56, 140, 140, 140, 140, + 96, 0 + } ; + +static yyconst flex_int32_t yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 1, 5, 6, 1, 1, 1, 7, 1, + 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, + 9, 10, 1, 11, 1, 1, 1, 12, 1, 1, + 1, 1, 1, 1, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 1, 39, 1, 1, 1, 1, 40, 41, 42, 43, + + 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static yyconst flex_int32_t yy_meta[66] = + { 0, + 1, 2, 3, 4, 5, 1, 6, 1, 1, 1, + 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static yyconst flex_int16_t yy_base[1357] = + { 0, + 0, 0, 63, 66, 69, 71, 77, 83, 88, 91, + 129, 135, 483, 443, 95, 3880, 3880, 3880, 107, 110, + 142, 140, 108, 50, 159, 147, 121, 148, 158, 174, + 191, 176, 190, 216, 225, 235, 214, 246, 116, 436, + 3880, 3880, 3880, 94, 402, 3880, 3880, 3880, 96, 335, + 329, 3880, 3880, 3880, 214, 282, 3880, 3880, 3880, 102, + 250, 3880, 289, 3880, 184, 293, 239, 297, 111, 0, + 301, 0, 0, 219, 223, 248, 273, 280, 285, 290, + 286, 283, 310, 294, 291, 297, 309, 316, 232, 319, + 338, 303, 334, 345, 326, 347, 349, 342, 350, 360, + + 343, 376, 370, 384, 371, 368, 187, 375, 374, 137, + 387, 403, 378, 390, 401, 386, 405, 400, 407, 229, + 154, 186, 199, 163, 448, 176, 115, 277, 90, 452, + 463, 0, 432, 441, 318, 433, 442, 439, 437, 465, + 462, 469, 493, 471, 455, 473, 453, 479, 490, 477, + 494, 496, 498, 510, 492, 517, 530, 526, 549, 522, + 525, 532, 542, 534, 536, 541, 544, 545, 556, 529, + 558, 552, 560, 559, 568, 578, 574, 561, 582, 591, + 603, 583, 599, 610, 607, 612, 608, 594, 611, 616, + 617, 618, 624, 640, 629, 635, 649, 637, 639, 658, + + 664, 643, 669, 657, 672, 677, 676, 663, 660, 665, + 680, 688, 679, 690, 698, 705, 699, 701, 703, 706, + 710, 738, 674, 720, 734, 716, 733, 736, 739, 752, + 747, 737, 756, 750, 767, 773, 761, 766, 777, 763, + 790, 771, 781, 791, 804, 797, 849, 800, 812, 789, + 814, 820, 809, 830, 826, 828, 839, 847, 831, 866, + 884, 857, 853, 859, 873, 883, 893, 881, 889, 896, + 892, 902, 909, 906, 910, 911, 916, 912, 926, 935, + 920, 937, 938, 948, 951, 934, 957, 3880, 959, 942, + 962, 965, 954, 3880, 952, 968, 953, 986, 990, 975, + + 978, 981, 1000, 992, 1001, 993, 995, 1041, 1012, 994, + 1033, 1023, 1025, 1019, 1034, 1036, 1046, 1039, 1029, 1050, + 1059, 1070, 1061, 1068, 1078, 1028, 1075, 1071, 1077, 1092, + 1081, 1084, 1085, 1098, 1102, 1103, 1113, 1122, 1121, 1124, + 1126, 1110, 1127, 1129, 1130, 1134, 1136, 1119, 1140, 1142, + 1148, 1168, 1151, 1154, 1146, 1161, 1166, 1167, 1173, 1178, + 1175, 1181, 1179, 1193, 1198, 1199, 1191, 1197, 1210, 1213, + 1212, 1233, 1194, 1218, 1229, 1234, 1239, 1244, 1230, 1231, + 1236, 1242, 1260, 1243, 1238, 1254, 1263, 1271, 1258, 1282, + 1280, 1281, 1276, 1269, 1287, 1290, 1289, 1295, 1296, 1307, + + 1308, 1311, 1316, 1279, 1327, 1328, 1329, 1309, 1339, 3880, + 1341, 1338, 1343, 1336, 1335, 3880, 3880, 1347, 3880, 3880, + 1363, 1367, 1374, 1353, 1404, 1371, 1365, 1357, 1390, 1385, + 1380, 1401, 1398, 1414, 1394, 1399, 1417, 1410, 1426, 1424, + 1429, 1425, 1432, 1438, 1445, 1449, 1450, 1452, 1443, 1457, + 1464, 1467, 1465, 1468, 1459, 3880, 1466, 1476, 1479, 1482, + 1499, 3880, 1487, 1491, 1484, 1493, 1496, 1492, 1509, 1503, + 1506, 1518, 1520, 1526, 1524, 1535, 1472, 1537, 1519, 1543, + 1545, 1536, 1559, 1562, 1553, 1548, 1554, 1573, 1558, 1574, + 1579, 1575, 1584, 1572, 1568, 1582, 1621, 1594, 1583, 1589, + + 1593, 1601, 1600, 1606, 1617, 1639, 1631, 1615, 1634, 1642, + 1649, 1644, 1641, 1656, 1650, 1658, 3880, 1664, 1677, 1659, + 1671, 1682, 1679, 1674, 1685, 1676, 1681, 1691, 1698, 3880, + 1692, 1701, 1694, 1708, 1719, 1720, 1730, 1734, 3880, 1736, + 1737, 1739, 1718, 1728, 1746, 1723, 1747, 1754, 1756, 1761, + 1753, 1763, 1760, 1774, 1764, 1765, 1773, 1783, 1780, 1790, + 1779, 1799, 1787, 1743, 1807, 1800, 1808, 1794, 1804, 1816, + 337, 1812, 1810, 1814, 1811, 3880, 76, 1834, 1817, 1827, + 1853, 1854, 1846, 1838, 1842, 1857, 1843, 1849, 1866, 1850, + 1863, 1877, 1867, 1883, 1873, 1893, 1878, 1881, 1891, 1889, + + 1884, 1900, 1880, 1911, 1907, 1909, 1923, 3880, 1875, 1912, + 1927, 1920, 1936, 1946, 1918, 1928, 1916, 1950, 1947, 1955, + 1956, 1961, 1958, 1953, 1965, 1969, 1970, 1977, 1991, 1979, + 3880, 1985, 1986, 1976, 1996, 1992, 1987, 2006, 1997, 2004, + 2025, 2026, 3880, 2027, 2034, 2016, 2040, 2021, 2044, 2045, + 2046, 2031, 2054, 2047, 2058, 2042, 2043, 2057, 3880, 2069, + 2079, 2075, 2083, 2084, 2070, 2077, 2092, 2074, 2072, 2087, + 2078, 2097, 2082, 2102, 2106, 2107, 2110, 2085, 3880, 2140, + 2112, 2123, 2137, 2125, 2127, 2144, 2131, 2153, 2104, 2136, + 2154, 2152, 2155, 2156, 2159, 2176, 2175, 2160, 2170, 2187, + + 2198, 2199, 2195, 3880, 2200, 2193, 2182, 2210, 2208, 2194, + 2197, 2211, 2209, 2202, 2212, 2214, 2225, 2226, 2232, 2227, + 2234, 2250, 2242, 2252, 2253, 2254, 2235, 2264, 2260, 2280, + 2268, 2271, 3880, 3880, 2281, 2269, 2272, 3880, 2285, 3880, + 2289, 3880, 2291, 2299, 2287, 2276, 2304, 2290, 2306, 2303, + 2318, 2298, 2311, 2330, 2316, 2332, 3880, 2321, 2326, 2341, + 2324, 2336, 2338, 2350, 2349, 2314, 2353, 2360, 2364, 3880, + 2367, 2357, 2375, 2328, 2385, 2371, 2369, 2383, 2387, 2381, + 2390, 2393, 2401, 2400, 2405, 2409, 2397, 2414, 2394, 2427, + 2415, 2417, 2419, 2424, 2436, 2438, 2432, 3880, 3880, 2449, + + 2452, 2441, 2451, 2442, 2471, 2463, 2462, 2473, 2465, 2468, + 2475, 2477, 2469, 2479, 2500, 2487, 2495, 3880, 2490, 2498, + 2509, 2505, 2519, 2510, 2526, 3880, 3880, 2525, 2518, 2521, + 2515, 2528, 2536, 3880, 2537, 2543, 2546, 2560, 2562, 2532, + 2549, 2564, 2569, 2561, 2568, 2570, 2581, 2571, 2585, 2584, + 2586, 2593, 2591, 2601, 2589, 2594, 2595, 2599, 2604, 2605, + 2623, 2624, 2609, 2626, 3880, 2637, 2616, 2639, 2613, 2644, + 2646, 2641, 2643, 2640, 2649, 2652, 2627, 2658, 2651, 2679, + 2661, 3880, 2674, 2671, 2684, 2685, 2666, 2689, 2676, 2693, + 3880, 2695, 2699, 2703, 2698, 2697, 2710, 2719, 2711, 2718, + + 2716, 2724, 2734, 2732, 2736, 2744, 2727, 2742, 2738, 2749, + 2757, 2768, 2758, 2776, 2761, 2774, 2765, 2755, 2785, 2764, + 2791, 2781, 3880, 2787, 2789, 2794, 2792, 2797, 2800, 2801, + 3880, 3880, 2784, 3880, 2814, 2804, 2821, 2823, 3880, 2809, + 3880, 3880, 2820, 2839, 2827, 2837, 2841, 2840, 3880, 2845, + 2831, 2854, 2835, 2848, 2857, 2861, 2859, 2865, 3880, 2871, + 2875, 2862, 2881, 2879, 2891, 2868, 2892, 2903, 2904, 2906, + 2895, 2896, 2914, 2910, 3880, 2907, 2921, 2925, 2917, 2937, + 2943, 2930, 2938, 2942, 2953, 3880, 2941, 2940, 2955, 3880, + 2957, 3880, 2969, 2934, 2970, 2928, 2974, 2951, 2972, 2984, + + 2987, 2976, 2993, 2986, 3880, 3880, 2995, 3000, 3006, 2996, + 3012, 3001, 3009, 3020, 3003, 3018, 3880, 3014, 3021, 3022, + 3030, 3032, 3880, 3046, 3047, 3041, 3045, 3059, 3055, 3061, + 3049, 3063, 3066, 3052, 3075, 3078, 3064, 3880, 3079, 3092, + 3076, 3094, 3081, 3090, 3097, 3112, 3104, 3088, 3109, 3880, + 3114, 3103, 3115, 3111, 3106, 3127, 3110, 3131, 3125, 3143, + 3134, 3141, 3142, 2999, 3153, 3880, 3140, 3880, 3154, 3164, + 3168, 3173, 3880, 3170, 3167, 3880, 3169, 3161, 3183, 3194, + 3186, 3202, 3199, 3187, 3201, 3188, 3206, 3190, 3197, 3880, + 3220, 3213, 3214, 3217, 3880, 3880, 3226, 3880, 3880, 3223, + + 3880, 3880, 3232, 3239, 3880, 3242, 3880, 3224, 3247, 3240, + 3230, 3238, 3880, 3255, 3880, 3880, 3253, 3259, 3246, 3257, + 3268, 3271, 3272, 3264, 3263, 3265, 3266, 3282, 3280, 3296, + 3288, 3275, 3286, 3298, 3290, 3302, 3292, 3307, 3313, 3320, + 3880, 3304, 3325, 3880, 3330, 3323, 3321, 3317, 3324, 3338, + 3337, 3346, 3359, 3343, 3341, 3347, 3880, 3352, 3880, 3880, + 3355, 3363, 3361, 3357, 3362, 3880, 3376, 3373, 3377, 3378, + 3880, 3880, 3880, 3390, 3374, 3386, 3401, 3403, 3389, 3880, + 3394, 3405, 3407, 3399, 3411, 3415, 3424, 3425, 3427, 3880, + 3426, 3417, 3880, 3437, 3430, 3436, 3438, 3448, 3441, 3880, + + 3442, 3452, 3446, 3451, 3455, 3454, 3475, 3880, 3457, 3470, + 3880, 3459, 3880, 3880, 3465, 3489, 3488, 3494, 3495, 3478, + 3486, 3503, 3501, 3502, 3880, 3880, 3498, 3880, 3880, 3492, + 3512, 3505, 3507, 3510, 3509, 3522, 3517, 3531, 3525, 3880, + 3547, 3880, 3528, 3548, 3552, 3551, 3880, 3553, 3549, 3532, + 3880, 3880, 3558, 3564, 3559, 3880, 3566, 3572, 3575, 3582, + 3596, 3591, 3585, 3584, 3598, 3599, 3587, 3588, 3605, 3611, + 3880, 3610, 3602, 3614, 3617, 3619, 3620, 3623, 3625, 3642, + 3641, 3648, 3632, 3880, 3640, 3650, 3656, 3657, 3658, 3659, + 3660, 3880, 3669, 3880, 3661, 3666, 3880, 3880, 3665, 3674, + + 3684, 3880, 3685, 3880, 3675, 3676, 3700, 3880, 3880, 3880, + 3679, 3880, 3701, 3880, 3694, 3692, 3880, 3681, 3709, 3710, + 3880, 3713, 3880, 3714, 3880, 3703, 3717, 3880, 3880, 3880, + 3880, 3716, 3719, 3723, 3724, 3880, 3734, 3711, 3729, 3735, + 3880, 3880, 3788, 3795, 3802, 3809, 3816, 82, 3823, 3830, + 3837, 3844, 3851, 3858, 3865, 3872 + } ; + +static yyconst flex_int16_t yy_def[1357] = + { 0, + 1342, 1, 1343, 1343, 1344, 1344, 1345, 1345, 1346, 1346, + 1347, 1347, 1342, 1348, 1342, 1342, 1342, 1342, 1349, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1350, + 1342, 1342, 1342, 1350, 1351, 1342, 1342, 1342, 1351, 1352, + 1342, 1342, 1342, 1342, 1352, 1353, 1342, 1342, 1342, 1353, + 1354, 1342, 1355, 1342, 1354, 1354, 1348, 1348, 1342, 1356, + 1349, 1356, 1349, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1350, + 1350, 1351, 1351, 1352, 1352, 1342, 1353, 1353, 1354, 1354, + 1355, 1355, 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1354, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, + 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1354, 1348, 1348, 1348, 1348, 1342, + 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1342, 1342, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, + 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1354, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1342, 1354, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1342, 1348, 1342, + 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1348, 1348, + 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1342, 1342, 1348, 1342, 1348, 1348, 1348, 1348, 1342, 1348, + 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1342, + 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + + 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, + 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1348, 1348, + 1348, 1348, 1342, 1348, 1348, 1342, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1342, 1342, 1348, + + 1342, 1342, 1348, 1348, 1342, 1348, 1342, 1348, 1348, 1348, + 1348, 1348, 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1342, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1342, 1342, + 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, + 1342, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, 1348, 1348, + 1342, 1348, 1342, 1342, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1342, 1342, 1348, 1342, 1342, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1342, + 1348, 1342, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, + 1342, 1342, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1342, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, 1348, 1348, + 1348, 1342, 1348, 1342, 1348, 1348, 1342, 1342, 1348, 1348, + + 1348, 1342, 1348, 1342, 1348, 1348, 1348, 1342, 1342, 1342, + 1348, 1342, 1348, 1342, 1348, 1348, 1342, 1348, 1348, 1348, + 1342, 1348, 1342, 1348, 1342, 1348, 1348, 1342, 1342, 1342, + 1342, 1348, 1348, 1348, 1348, 1342, 1348, 1348, 1348, 1348, + 1342, 0, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342 + } ; + +static yyconst flex_int16_t yy_nxt[3946] = + { 0, + 14, 15, 16, 17, 18, 19, 18, 14, 14, 14, + 14, 18, 20, 14, 21, 22, 23, 24, 14, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 14, 34, + 35, 36, 37, 38, 14, 14, 14, 14, 39, 20, + 14, 21, 22, 23, 24, 14, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 14, 34, 35, 36, 37, + 38, 14, 14, 14, 14, 41, 42, 43, 41, 42, + 43, 46, 47, 46, 47, 48, 86, 48, 51, 52, + 53, 54, 67, 18, 51, 52, 53, 54, 68, 18, + 57, 58, 59, 57, 58, 59, 69, 120, 120, 122, + + 70, 44, 122, 86, 44, 127, 127, 49, 72, 49, + 72, 72, 69, 72, 130, 55, 70, 67, 72, 67, + 67, 55, 67, 84, 74, 75, 60, 67, 130, 60, + 15, 16, 17, 62, 63, 64, 15, 16, 17, 62, + 63, 64, 76, 85, 176, 73, 68, 92, 68, 65, + 84, 74, 75, 128, 77, 65, 80, 120, 120, 68, + 81, 78, 89, 82, 93, 90, 83, 66, 79, 76, + 85, 87, 91, 66, 92, 68, 65, 126, 68, 88, + 68, 77, 65, 80, 94, 68, 68, 81, 78, 89, + 82, 93, 90, 83, 95, 79, 68, 68, 87, 91, + + 96, 125, 122, 98, 97, 122, 88, 99, 101, 133, + 102, 94, 68, 173, 68, 124, 103, 124, 124, 104, + 124, 95, 130, 100, 123, 68, 105, 96, 68, 68, + 98, 97, 106, 134, 99, 101, 133, 102, 135, 116, + 173, 109, 107, 103, 117, 108, 104, 113, 150, 114, + 100, 110, 68, 105, 68, 111, 112, 68, 118, 106, + 134, 68, 119, 68, 115, 135, 116, 121, 109, 107, + 68, 117, 108, 68, 113, 150, 114, 68, 110, 136, + 127, 127, 111, 112, 68, 118, 68, 137, 130, 119, + 72, 115, 72, 72, 129, 72, 129, 129, 67, 129, + + 67, 67, 72, 67, 72, 72, 136, 72, 67, 138, + 139, 68, 72, 140, 137, 141, 142, 143, 68, 145, + 128, 68, 146, 68, 68, 189, 147, 132, 68, 68, + 126, 149, 68, 155, 144, 68, 138, 139, 148, 73, + 140, 68, 141, 142, 151, 663, 145, 68, 68, 146, + 156, 160, 152, 147, 68, 153, 68, 68, 149, 158, + 155, 144, 161, 159, 68, 148, 163, 162, 164, 154, + 157, 151, 68, 125, 166, 68, 68, 156, 160, 152, + 68, 68, 153, 68, 165, 68, 158, 68, 68, 161, + 159, 167, 172, 163, 162, 164, 154, 157, 68, 168, + + 169, 166, 171, 175, 170, 174, 68, 180, 68, 68, + 177, 165, 68, 68, 68, 178, 68, 181, 167, 172, + 183, 184, 68, 185, 68, 68, 168, 169, 68, 171, + 175, 170, 174, 182, 180, 179, 186, 177, 68, 68, + 123, 68, 178, 68, 181, 68, 187, 183, 184, 124, + 185, 124, 124, 129, 124, 129, 129, 188, 129, 190, + 182, 191, 179, 186, 72, 192, 72, 72, 193, 72, + 130, 68, 194, 187, 121, 68, 196, 68, 195, 68, + 68, 68, 1342, 202, 188, 203, 190, 205, 191, 204, + 1342, 68, 192, 68, 206, 193, 1342, 1342, 1342, 1342, + + 68, 132, 208, 68, 1342, 195, 207, 68, 197, 68, + 202, 68, 203, 198, 205, 68, 204, 68, 199, 210, + 209, 206, 211, 214, 200, 201, 213, 212, 68, 208, + 68, 68, 68, 207, 68, 197, 68, 216, 217, 222, + 198, 224, 220, 225, 215, 199, 210, 209, 68, 211, + 214, 200, 201, 213, 212, 68, 218, 221, 223, 226, + 68, 227, 230, 68, 68, 217, 219, 68, 68, 220, + 68, 215, 68, 229, 68, 234, 228, 231, 232, 68, + 68, 238, 68, 68, 221, 223, 226, 68, 227, 230, + 68, 233, 239, 219, 68, 240, 68, 68, 68, 68, + + 229, 235, 234, 228, 231, 232, 68, 236, 237, 241, + 242, 244, 68, 243, 247, 1342, 68, 245, 233, 239, + 68, 68, 240, 253, 251, 248, 1342, 1342, 235, 68, + 252, 250, 68, 254, 236, 237, 241, 68, 244, 246, + 243, 68, 249, 258, 255, 68, 130, 259, 68, 68, + 68, 251, 248, 256, 68, 68, 68, 252, 250, 257, + 254, 260, 68, 265, 261, 262, 246, 68, 1342, 249, + 258, 255, 263, 68, 259, 68, 266, 68, 68, 264, + 256, 68, 267, 270, 268, 288, 257, 68, 260, 272, + 265, 261, 262, 269, 271, 68, 68, 273, 68, 263, + + 275, 68, 68, 68, 274, 278, 264, 68, 276, 267, + 68, 268, 68, 277, 68, 68, 272, 68, 68, 279, + 269, 271, 280, 283, 273, 1342, 68, 275, 68, 281, + 284, 274, 282, 285, 289, 276, 68, 68, 1342, 68, + 277, 68, 292, 68, 68, 1342, 279, 294, 68, 280, + 283, 286, 287, 293, 68, 295, 281, 284, 68, 282, + 285, 289, 290, 299, 296, 291, 1342, 1342, 298, 292, + 308, 68, 68, 297, 68, 68, 68, 68, 286, 287, + 293, 300, 295, 301, 1342, 68, 303, 302, 68, 290, + 68, 296, 291, 304, 68, 298, 305, 307, 306, 68, + + 297, 68, 1342, 310, 68, 68, 309, 1342, 300, 68, + 301, 68, 311, 303, 302, 68, 312, 1342, 313, 68, + 304, 325, 315, 305, 307, 306, 323, 130, 68, 68, + 310, 1342, 324, 309, 314, 68, 1342, 329, 68, 311, + 328, 1342, 68, 312, 326, 313, 327, 68, 325, 315, + 68, 1342, 68, 323, 331, 1342, 334, 330, 68, 324, + 1342, 314, 316, 317, 68, 332, 68, 328, 68, 68, + 1342, 326, 318, 327, 319, 320, 321, 68, 333, 322, + 339, 331, 335, 334, 330, 68, 340, 68, 338, 316, + 317, 68, 332, 336, 337, 68, 342, 68, 341, 318, + + 1342, 319, 320, 321, 68, 333, 322, 339, 343, 335, + 344, 68, 348, 340, 345, 338, 346, 352, 349, 68, + 1342, 68, 68, 342, 350, 341, 351, 68, 353, 347, + 68, 68, 354, 1342, 68, 343, 355, 344, 356, 348, + 68, 345, 357, 346, 68, 349, 1342, 68, 68, 68, + 68, 350, 358, 351, 68, 353, 347, 359, 68, 354, + 361, 360, 1342, 355, 68, 356, 363, 362, 1342, 364, + 1342, 365, 68, 68, 366, 68, 68, 369, 372, 358, + 68, 367, 375, 370, 359, 368, 68, 361, 360, 68, + 68, 68, 68, 363, 362, 68, 364, 68, 365, 371, + + 68, 366, 373, 68, 369, 372, 68, 376, 367, 374, + 370, 1342, 368, 68, 377, 378, 68, 380, 379, 68, + 381, 389, 1342, 1342, 68, 382, 371, 1342, 68, 373, + 68, 68, 68, 68, 376, 406, 374, 393, 68, 68, + 390, 377, 378, 388, 380, 379, 395, 381, 389, 391, + 68, 1342, 382, 383, 392, 394, 1342, 68, 384, 399, + 385, 68, 396, 68, 393, 398, 68, 68, 386, 397, + 388, 68, 68, 395, 68, 401, 391, 68, 387, 68, + 383, 392, 394, 400, 68, 384, 399, 385, 68, 396, + 402, 403, 398, 405, 404, 386, 397, 68, 407, 68, + + 408, 409, 401, 410, 411, 387, 68, 412, 68, 68, + 400, 413, 414, 68, 416, 68, 130, 402, 403, 68, + 405, 404, 68, 68, 417, 407, 415, 408, 409, 418, + 68, 411, 419, 421, 412, 420, 68, 425, 413, 414, + 68, 68, 422, 423, 424, 1342, 1342, 429, 68, 426, + 428, 68, 427, 415, 1342, 1342, 1342, 68, 430, 68, + 68, 436, 68, 435, 68, 68, 437, 68, 68, 422, + 423, 424, 68, 431, 68, 438, 426, 428, 68, 427, + 68, 439, 432, 441, 68, 430, 68, 433, 445, 68, + 435, 434, 68, 437, 443, 1342, 446, 442, 444, 68, + + 431, 457, 438, 440, 68, 68, 68, 447, 439, 432, + 441, 68, 448, 68, 433, 449, 68, 68, 434, 68, + 450, 443, 451, 446, 442, 444, 452, 453, 454, 68, + 440, 68, 68, 1342, 447, 68, 68, 68, 458, 448, + 455, 461, 449, 459, 456, 462, 1342, 450, 68, 451, + 68, 68, 463, 452, 453, 454, 68, 464, 460, 465, + 466, 1342, 1342, 470, 471, 458, 467, 68, 68, 68, + 459, 68, 68, 468, 68, 469, 68, 68, 474, 463, + 68, 68, 68, 472, 464, 460, 465, 466, 475, 473, + 470, 471, 68, 467, 476, 477, 68, 478, 68, 480, + + 468, 68, 469, 479, 490, 483, 1342, 68, 482, 68, + 472, 481, 485, 484, 68, 475, 473, 68, 68, 68, + 68, 476, 477, 486, 478, 68, 480, 68, 68, 488, + 479, 490, 483, 68, 68, 482, 489, 487, 481, 485, + 484, 494, 492, 491, 493, 68, 68, 68, 497, 68, + 486, 495, 1342, 498, 68, 500, 488, 1342, 1342, 496, + 506, 501, 1342, 489, 487, 130, 68, 68, 494, 492, + 491, 493, 499, 68, 68, 502, 68, 68, 495, 68, + 498, 68, 500, 503, 504, 68, 496, 513, 501, 505, + 1342, 68, 1342, 515, 514, 68, 517, 1342, 518, 499, + + 1342, 68, 502, 68, 516, 68, 1342, 1342, 522, 68, + 503, 504, 68, 519, 513, 1342, 505, 507, 68, 508, + 515, 514, 509, 68, 520, 518, 521, 510, 68, 525, + 523, 516, 68, 511, 512, 522, 68, 68, 526, 68, + 519, 529, 68, 530, 507, 531, 508, 524, 68, 509, + 527, 520, 68, 521, 510, 68, 525, 523, 528, 532, + 511, 512, 68, 68, 68, 526, 533, 68, 529, 534, + 68, 535, 536, 537, 524, 541, 68, 527, 539, 563, + 543, 68, 538, 68, 540, 528, 532, 68, 68, 542, + 68, 545, 1342, 533, 1342, 68, 534, 68, 535, 536, + + 537, 544, 68, 68, 68, 68, 68, 543, 546, 538, + 68, 540, 554, 547, 68, 551, 542, 68, 545, 549, + 68, 548, 68, 550, 555, 68, 552, 553, 544, 68, + 68, 68, 556, 1342, 68, 546, 557, 68, 558, 554, + 547, 68, 551, 560, 68, 559, 549, 68, 548, 565, + 550, 555, 564, 552, 553, 561, 68, 68, 68, 556, + 562, 567, 68, 557, 68, 558, 566, 571, 568, 570, + 560, 569, 559, 68, 68, 68, 565, 572, 573, 564, + 574, 68, 561, 68, 1342, 576, 68, 562, 567, 575, + 577, 68, 68, 566, 571, 568, 68, 68, 569, 579, + + 68, 578, 580, 581, 572, 573, 68, 582, 1342, 588, + 68, 68, 68, 68, 1342, 590, 575, 130, 591, 589, + 68, 68, 68, 594, 595, 593, 579, 68, 578, 580, + 581, 68, 68, 592, 582, 583, 588, 584, 68, 68, + 601, 585, 590, 586, 68, 591, 589, 600, 587, 1342, + 594, 596, 593, 68, 603, 68, 597, 602, 598, 68, + 592, 608, 583, 605, 584, 604, 606, 601, 585, 68, + 586, 610, 68, 609, 600, 587, 599, 68, 596, 68, + 68, 603, 68, 597, 602, 598, 607, 68, 68, 612, + 605, 611, 604, 606, 68, 613, 68, 68, 614, 615, + + 609, 617, 68, 599, 616, 621, 619, 618, 1342, 68, + 624, 620, 68, 607, 68, 68, 612, 68, 611, 68, + 68, 622, 613, 68, 625, 614, 615, 623, 617, 68, + 68, 616, 68, 619, 618, 626, 68, 624, 620, 68, + 627, 629, 628, 630, 635, 1342, 68, 631, 622, 632, + 656, 625, 633, 634, 623, 638, 68, 68, 68, 636, + 637, 68, 626, 639, 643, 1342, 68, 627, 68, 628, + 640, 635, 68, 641, 68, 68, 632, 68, 642, 633, + 634, 68, 638, 644, 68, 68, 636, 637, 646, 645, + 639, 68, 68, 647, 68, 648, 651, 640, 68, 68, + + 641, 68, 68, 68, 649, 642, 652, 650, 653, 655, + 644, 68, 68, 654, 657, 646, 645, 68, 68, 659, + 647, 68, 648, 651, 660, 68, 658, 1342, 68, 661, + 665, 649, 68, 652, 650, 653, 655, 68, 68, 662, + 654, 664, 68, 669, 666, 68, 68, 667, 68, 68, + 68, 660, 68, 658, 68, 68, 661, 665, 670, 668, + 671, 672, 673, 674, 1342, 68, 662, 675, 664, 677, + 669, 666, 68, 676, 667, 678, 68, 679, 1342, 680, + 68, 68, 698, 681, 68, 670, 668, 68, 68, 673, + 674, 68, 68, 682, 675, 68, 677, 683, 687, 684, + + 676, 68, 678, 685, 68, 68, 680, 688, 686, 693, + 681, 68, 690, 68, 691, 68, 68, 689, 68, 68, + 682, 68, 68, 707, 683, 687, 684, 68, 694, 68, + 685, 68, 692, 695, 688, 686, 693, 699, 68, 690, + 696, 691, 705, 697, 689, 68, 700, 68, 706, 68, + 68, 701, 702, 703, 68, 694, 68, 704, 68, 692, + 695, 68, 708, 709, 699, 68, 68, 696, 711, 705, + 697, 710, 715, 700, 68, 706, 716, 712, 701, 702, + 1342, 1342, 714, 713, 68, 68, 717, 1342, 68, 708, + 709, 68, 718, 68, 68, 711, 68, 1342, 710, 68, + + 724, 723, 1342, 68, 712, 726, 729, 68, 68, 714, + 713, 719, 725, 717, 68, 68, 720, 68, 721, 718, + 722, 727, 728, 68, 68, 68, 731, 724, 723, 68, + 68, 730, 726, 729, 68, 68, 733, 734, 719, 725, + 732, 735, 68, 720, 68, 721, 737, 722, 727, 728, + 736, 738, 739, 731, 68, 740, 1342, 742, 730, 68, + 748, 741, 743, 68, 68, 68, 745, 732, 735, 68, + 744, 747, 68, 737, 746, 749, 750, 736, 68, 739, + 68, 68, 68, 68, 68, 68, 751, 748, 741, 743, + 753, 752, 68, 745, 760, 68, 68, 744, 747, 756, + + 755, 746, 749, 757, 754, 758, 759, 68, 68, 761, + 68, 763, 68, 68, 764, 68, 68, 68, 752, 768, + 68, 68, 68, 68, 1342, 68, 756, 755, 762, 779, + 68, 754, 758, 759, 1342, 68, 761, 765, 763, 767, + 68, 764, 68, 766, 68, 68, 768, 769, 68, 771, + 68, 770, 772, 773, 774, 762, 779, 1342, 775, 776, + 777, 68, 780, 68, 765, 68, 767, 1342, 782, 68, + 766, 1342, 784, 783, 68, 68, 771, 788, 68, 772, + 773, 774, 68, 778, 781, 775, 776, 777, 785, 780, + 68, 68, 68, 68, 68, 782, 786, 68, 68, 784, + + 783, 787, 789, 790, 788, 791, 792, 793, 68, 804, + 778, 781, 796, 68, 68, 785, 794, 797, 795, 799, + 68, 798, 1342, 786, 800, 68, 803, 801, 787, 789, + 790, 68, 68, 68, 793, 68, 68, 68, 68, 796, + 68, 802, 805, 794, 806, 795, 68, 68, 68, 68, + 68, 800, 68, 803, 801, 807, 808, 809, 813, 810, + 811, 1342, 812, 68, 68, 68, 817, 814, 802, 805, + 68, 806, 68, 68, 816, 818, 819, 815, 822, 825, + 68, 824, 807, 808, 809, 813, 810, 811, 68, 812, + 68, 68, 68, 817, 814, 820, 826, 823, 68, 821, + + 827, 816, 68, 819, 815, 828, 68, 68, 824, 68, + 68, 829, 831, 830, 68, 1342, 833, 834, 68, 68, + 832, 850, 820, 68, 823, 68, 821, 68, 68, 68, + 836, 837, 828, 838, 835, 857, 68, 68, 829, 831, + 830, 68, 68, 833, 68, 839, 840, 832, 841, 68, + 842, 843, 68, 844, 68, 845, 68, 836, 837, 68, + 838, 835, 68, 848, 68, 849, 68, 846, 68, 847, + 68, 1342, 839, 840, 68, 841, 68, 842, 843, 68, + 844, 853, 845, 854, 851, 852, 1342, 68, 68, 856, + 848, 68, 849, 855, 846, 68, 847, 858, 68, 860, + + 859, 1342, 68, 862, 865, 68, 864, 68, 853, 68, + 854, 851, 852, 68, 861, 863, 856, 866, 872, 68, + 855, 68, 870, 68, 858, 68, 860, 859, 68, 867, + 862, 68, 68, 864, 873, 68, 868, 871, 68, 68, + 869, 861, 863, 68, 866, 872, 874, 68, 875, 870, + 877, 876, 68, 68, 878, 68, 867, 68, 879, 881, + 882, 880, 68, 868, 871, 68, 883, 869, 884, 890, + 68, 885, 886, 874, 68, 875, 68, 877, 876, 68, + 68, 878, 1342, 889, 891, 879, 881, 68, 880, 68, + 68, 887, 893, 883, 888, 884, 892, 901, 885, 886, + + 68, 68, 895, 68, 894, 896, 68, 68, 897, 68, + 889, 68, 898, 68, 899, 68, 903, 68, 887, 893, + 1342, 888, 904, 892, 900, 68, 905, 902, 68, 895, + 1342, 894, 896, 68, 906, 897, 68, 1342, 68, 898, + 907, 899, 910, 68, 909, 912, 908, 68, 68, 904, + 911, 900, 920, 68, 902, 913, 68, 68, 916, 68, + 1342, 906, 917, 68, 68, 914, 68, 907, 915, 910, + 68, 909, 912, 908, 68, 68, 918, 911, 919, 920, + 923, 68, 913, 921, 68, 916, 924, 68, 927, 917, + 922, 925, 914, 926, 928, 915, 935, 931, 68, 68, + + 68, 930, 68, 918, 932, 919, 68, 68, 68, 68, + 921, 933, 934, 924, 929, 939, 943, 922, 925, 68, + 926, 928, 68, 68, 68, 937, 936, 68, 930, 68, + 938, 68, 68, 68, 941, 942, 940, 68, 933, 68, + 944, 929, 68, 68, 945, 946, 947, 68, 951, 948, + 1342, 68, 937, 936, 68, 949, 1342, 938, 950, 958, + 1342, 68, 68, 940, 68, 68, 952, 944, 953, 959, + 1342, 955, 946, 954, 1342, 68, 948, 68, 68, 68, + 956, 68, 68, 957, 68, 950, 958, 68, 960, 68, + 68, 961, 962, 952, 963, 953, 68, 964, 955, 68, + + 954, 968, 965, 967, 68, 966, 972, 956, 975, 68, + 957, 971, 68, 969, 68, 960, 974, 68, 961, 962, + 970, 963, 68, 68, 964, 1342, 976, 68, 968, 965, + 967, 68, 966, 68, 973, 68, 68, 68, 971, 977, + 969, 68, 978, 974, 979, 989, 980, 970, 68, 68, + 981, 982, 983, 976, 68, 986, 68, 68, 984, 987, + 990, 973, 68, 985, 991, 68, 977, 988, 992, 978, + 68, 979, 68, 980, 68, 993, 68, 981, 982, 983, + 68, 994, 68, 995, 996, 984, 987, 68, 998, 997, + 985, 999, 1000, 68, 988, 68, 68, 1001, 1002, 68, + + 1005, 1004, 68, 68, 1003, 1006, 68, 1011, 994, 1007, + 1342, 996, 68, 1008, 68, 998, 997, 1009, 999, 68, + 1017, 1010, 68, 68, 1001, 68, 1012, 68, 1004, 68, + 68, 1003, 68, 1014, 1011, 68, 1007, 1013, 68, 68, + 1008, 1015, 68, 1016, 1009, 1018, 1019, 68, 1010, 1021, + 1342, 1023, 68, 1012, 1022, 1020, 1342, 1342, 68, 68, + 1014, 68, 1025, 1024, 1013, 68, 1026, 1027, 1015, 68, + 1016, 1028, 1018, 68, 1342, 68, 1021, 68, 68, 68, + 1029, 1022, 1020, 68, 1030, 1031, 68, 1033, 1034, 1025, + 1024, 1035, 68, 1026, 1027, 68, 1032, 68, 1028, 68, + + 68, 1036, 1038, 68, 1037, 1039, 68, 1029, 1040, 68, + 1342, 1030, 1031, 68, 1033, 1034, 1041, 68, 1035, 68, + 1042, 1046, 1043, 1032, 1044, 1342, 1047, 1045, 1036, 68, + 68, 1037, 1039, 68, 68, 1040, 1050, 1048, 1342, 1066, + 1051, 68, 68, 1041, 68, 68, 1049, 1042, 68, 1043, + 1055, 1044, 68, 1047, 1045, 68, 1054, 1052, 1057, 68, + 1053, 1056, 1068, 68, 1048, 1059, 68, 1051, 68, 1058, + 1064, 1060, 68, 1049, 1062, 68, 68, 1055, 68, 68, + 68, 68, 1061, 1054, 1052, 1057, 1063, 1053, 1056, 68, + 1065, 68, 1059, 68, 1067, 68, 1058, 1064, 1060, 1070, + + 1072, 1062, 1069, 1071, 1073, 1074, 1129, 68, 68, 1061, + 68, 1076, 68, 1063, 68, 1075, 1080, 1065, 1077, 1078, + 1342, 1067, 68, 1342, 68, 68, 1070, 1072, 1079, 1069, + 1071, 68, 1074, 68, 68, 1081, 1082, 68, 68, 68, + 1083, 68, 1075, 1080, 68, 1077, 1078, 68, 1084, 1085, + 68, 1086, 68, 1088, 1087, 1079, 68, 1090, 68, 68, + 68, 1091, 1081, 1082, 1089, 1092, 1095, 1083, 68, 1093, + 68, 1094, 1096, 1097, 1098, 1084, 1085, 1099, 1086, 68, + 1088, 1087, 1100, 68, 68, 68, 1101, 68, 1091, 1102, + 68, 1089, 1092, 68, 1103, 1104, 1093, 68, 1094, 68, + + 1097, 68, 68, 1105, 68, 1107, 1106, 1109, 1342, 1100, + 1108, 1110, 1342, 68, 68, 1113, 68, 68, 1114, 68, + 1115, 1103, 1104, 1342, 1111, 1116, 68, 1118, 68, 1120, + 68, 1119, 68, 1106, 1109, 68, 1342, 1108, 1110, 1112, + 1117, 68, 68, 1121, 68, 1114, 1122, 68, 68, 68, + 68, 1111, 68, 68, 1118, 1123, 1120, 1124, 1119, 1125, + 1126, 1127, 1128, 68, 1342, 68, 1112, 1117, 1130, 68, + 1121, 1131, 68, 1122, 1132, 1134, 1133, 1140, 68, 68, + 68, 68, 1123, 1139, 1124, 1135, 1125, 1126, 1127, 1128, + 1138, 68, 68, 1136, 1141, 1130, 1137, 1150, 1131, 68, + + 1143, 1132, 68, 1133, 1140, 68, 68, 68, 68, 1142, + 1139, 68, 1135, 1144, 1151, 1145, 1147, 1138, 1146, 1148, + 1136, 68, 1149, 1137, 68, 68, 68, 1143, 68, 1153, + 1155, 1161, 68, 1154, 1157, 68, 1142, 68, 1156, 68, + 68, 1151, 1145, 1147, 68, 1146, 1148, 1152, 1158, 1149, + 1159, 68, 68, 1160, 1165, 68, 1153, 1155, 68, 1162, + 1154, 68, 68, 1164, 68, 1156, 1166, 1163, 68, 1167, + 68, 1169, 1168, 1170, 1152, 1158, 68, 68, 68, 1171, + 68, 1165, 1172, 1173, 68, 68, 1162, 1174, 1176, 1177, + 1164, 68, 1175, 68, 1163, 68, 1167, 68, 1169, 1168, + + 1170, 68, 68, 68, 68, 1178, 68, 1180, 1181, 68, + 68, 1179, 1182, 68, 1174, 1176, 1177, 1183, 68, 1175, + 68, 1187, 1184, 1188, 68, 1185, 68, 1186, 68, 1189, + 68, 1190, 1178, 1191, 68, 1181, 68, 1192, 1179, 1182, + 68, 1193, 68, 1194, 1183, 68, 1196, 1195, 1187, 1184, + 1188, 68, 1185, 1197, 1186, 68, 1189, 1200, 68, 68, + 1191, 68, 68, 68, 1192, 1198, 1201, 1199, 68, 1202, + 1194, 1203, 1208, 1196, 1195, 68, 68, 1207, 1204, 68, + 1197, 68, 1205, 1209, 68, 68, 1206, 1211, 1213, 1214, + 68, 1210, 1198, 68, 1199, 68, 1202, 68, 1203, 68, + + 68, 68, 1215, 1212, 1207, 1204, 1217, 1216, 1220, 1205, + 1209, 68, 68, 1206, 68, 68, 68, 1218, 1210, 1219, + 1221, 1222, 1225, 1223, 68, 1224, 1226, 68, 68, 1215, + 1212, 1227, 68, 1217, 1216, 1220, 1228, 68, 1229, 68, + 1231, 68, 1230, 68, 1218, 68, 1219, 1221, 1222, 68, + 1223, 1232, 1224, 68, 1233, 68, 1234, 1240, 1235, 1342, + 1236, 1237, 68, 68, 68, 68, 1242, 1231, 68, 1230, + 1247, 1241, 1238, 1243, 68, 68, 68, 1245, 1232, 68, + 68, 1233, 1239, 1234, 68, 1235, 68, 1236, 1237, 68, + 68, 1244, 68, 68, 1246, 68, 1248, 68, 1241, 1238, + + 1243, 1249, 1250, 68, 1245, 1251, 1252, 1253, 68, 1239, + 1255, 1254, 1256, 68, 1342, 1258, 68, 1257, 1244, 1262, + 1342, 1246, 1259, 1248, 68, 1264, 68, 68, 1249, 1250, + 68, 1260, 68, 68, 1253, 1261, 68, 1263, 1254, 68, + 68, 68, 1258, 68, 1257, 68, 1262, 68, 68, 1259, + 68, 1267, 1264, 1265, 1266, 68, 1268, 1270, 1260, 1271, + 68, 1269, 1261, 68, 1263, 1342, 68, 1272, 1276, 68, + 68, 1273, 1275, 1274, 1277, 1342, 1278, 1342, 1267, 1279, + 1265, 1266, 1280, 1268, 1270, 68, 68, 68, 1269, 68, + 68, 68, 1281, 1342, 1272, 1276, 68, 68, 1273, 1275, + + 1274, 1277, 68, 1278, 68, 1282, 1279, 1284, 1283, 1280, + 68, 1285, 1286, 68, 1287, 1289, 1292, 1288, 1291, 1281, + 68, 1294, 68, 68, 1290, 68, 68, 1293, 1297, 68, + 1298, 1342, 1282, 1295, 68, 1283, 68, 68, 1285, 1286, + 68, 1287, 1289, 68, 1288, 1291, 1300, 1296, 68, 68, + 1299, 1290, 68, 1302, 1293, 68, 1301, 68, 68, 1304, + 1295, 68, 1305, 68, 1303, 1306, 1307, 1308, 1309, 1310, + 68, 1312, 1314, 1300, 1296, 1311, 1342, 1299, 68, 68, + 68, 1313, 1315, 1301, 1316, 1317, 68, 1321, 68, 1305, + 1323, 1303, 1306, 1307, 68, 68, 68, 68, 68, 68, + + 1318, 1319, 1311, 68, 68, 1325, 1320, 68, 1313, 1315, + 1327, 1316, 68, 68, 68, 1322, 1324, 68, 1326, 68, + 1328, 1329, 68, 68, 1330, 1331, 1332, 1318, 1319, 1333, + 68, 1334, 68, 1320, 1336, 1342, 1339, 1327, 68, 68, + 1342, 68, 1322, 1324, 1337, 1326, 1341, 68, 68, 68, + 1335, 68, 68, 1332, 68, 68, 1333, 68, 1334, 1340, + 1338, 68, 68, 1339, 1342, 1342, 1342, 68, 1342, 1342, + 1342, 1337, 68, 68, 1342, 1342, 1342, 1335, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1340, 1338, 40, 40, + 40, 40, 40, 40, 40, 45, 45, 45, 45, 45, + + 45, 45, 50, 50, 50, 50, 50, 50, 50, 56, + 56, 56, 56, 56, 56, 56, 61, 61, 61, 61, + 61, 61, 61, 71, 71, 1342, 71, 71, 71, 71, + 120, 120, 1342, 1342, 1342, 120, 120, 122, 122, 1342, + 1342, 122, 1342, 122, 124, 1342, 1342, 1342, 1342, 1342, + 124, 127, 127, 1342, 1342, 1342, 127, 127, 129, 1342, + 1342, 1342, 1342, 1342, 129, 131, 131, 1342, 131, 131, + 131, 131, 72, 72, 1342, 72, 72, 72, 72, 13, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342 + } ; + +static yyconst flex_int16_t yy_chk[3946] = + { 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, 1, 1, 1, 1, 3, 3, 3, 4, 4, + 4, 5, 5, 6, 6, 5, 24, 6, 7, 7, + 7, 7, 1348, 7, 8, 8, 8, 8, 24, 8, + 9, 9, 9, 10, 10, 10, 15, 44, 44, 49, + + 15, 3, 49, 24, 4, 60, 60, 5, 19, 6, + 19, 19, 69, 19, 577, 7, 69, 39, 19, 39, + 39, 8, 39, 23, 20, 20, 9, 39, 129, 10, + 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, + 12, 12, 20, 23, 110, 19, 23, 27, 20, 11, + 23, 20, 20, 127, 21, 12, 22, 121, 121, 27, + 22, 21, 26, 22, 28, 26, 22, 11, 21, 20, + 23, 25, 26, 12, 27, 110, 11, 126, 22, 25, + 21, 21, 12, 22, 29, 26, 28, 22, 21, 26, + 22, 28, 26, 22, 30, 21, 29, 25, 25, 26, + + 30, 124, 123, 31, 30, 123, 25, 31, 32, 65, + 33, 29, 30, 107, 32, 55, 33, 55, 55, 33, + 55, 30, 65, 31, 122, 107, 33, 30, 33, 31, + 31, 30, 34, 74, 31, 32, 65, 33, 75, 37, + 107, 35, 34, 33, 37, 34, 33, 36, 89, 36, + 31, 35, 37, 33, 34, 35, 35, 74, 38, 34, + 74, 75, 38, 35, 36, 75, 37, 120, 35, 34, + 89, 37, 34, 36, 36, 89, 36, 67, 35, 76, + 128, 128, 35, 35, 38, 38, 76, 77, 61, 38, + 63, 36, 63, 63, 66, 63, 66, 66, 68, 66, + + 68, 68, 71, 68, 71, 71, 76, 71, 68, 78, + 79, 77, 71, 80, 77, 81, 82, 83, 78, 84, + 56, 82, 85, 79, 81, 135, 86, 63, 80, 85, + 51, 88, 84, 92, 83, 86, 78, 79, 87, 71, + 80, 92, 81, 82, 90, 571, 84, 87, 83, 85, + 93, 95, 91, 86, 88, 91, 135, 90, 88, 94, + 92, 83, 96, 94, 95, 87, 98, 97, 99, 91, + 93, 90, 93, 50, 101, 571, 91, 93, 95, 91, + 98, 101, 91, 94, 100, 96, 94, 97, 99, 96, + 94, 102, 106, 98, 97, 99, 91, 93, 100, 103, + + 104, 101, 105, 109, 104, 108, 106, 113, 103, 105, + 111, 100, 109, 108, 102, 112, 113, 114, 102, 106, + 116, 117, 104, 118, 116, 111, 103, 104, 114, 105, + 109, 104, 108, 115, 113, 112, 119, 111, 118, 115, + 45, 112, 112, 117, 114, 119, 133, 116, 117, 125, + 118, 125, 125, 130, 125, 130, 130, 134, 130, 136, + 115, 137, 112, 119, 131, 138, 131, 131, 139, 131, + 133, 136, 140, 133, 40, 139, 142, 138, 141, 134, + 137, 14, 13, 144, 134, 145, 136, 147, 137, 146, + 0, 147, 138, 145, 148, 139, 0, 0, 0, 0, + + 141, 131, 150, 140, 0, 141, 149, 142, 143, 144, + 144, 146, 145, 143, 147, 150, 146, 148, 143, 152, + 151, 148, 152, 155, 143, 143, 154, 153, 149, 150, + 155, 143, 151, 149, 152, 143, 153, 157, 158, 162, + 143, 164, 160, 165, 156, 143, 152, 151, 154, 152, + 155, 143, 143, 154, 153, 156, 159, 161, 163, 166, + 160, 167, 170, 161, 158, 158, 159, 170, 157, 160, + 162, 156, 164, 169, 165, 174, 168, 171, 172, 166, + 163, 177, 167, 168, 161, 163, 166, 159, 167, 170, + 172, 173, 178, 159, 169, 179, 171, 174, 173, 178, + + 169, 175, 174, 168, 171, 172, 175, 176, 176, 180, + 181, 183, 177, 182, 185, 0, 176, 184, 173, 178, + 179, 182, 179, 190, 188, 186, 0, 0, 175, 180, + 189, 187, 188, 191, 176, 176, 180, 183, 183, 184, + 182, 181, 186, 195, 192, 185, 187, 196, 184, 189, + 186, 188, 186, 193, 190, 191, 192, 189, 187, 194, + 191, 197, 193, 202, 198, 199, 184, 195, 0, 186, + 195, 192, 200, 196, 196, 198, 203, 199, 194, 201, + 193, 202, 204, 207, 205, 223, 194, 197, 197, 209, + 202, 198, 199, 206, 208, 204, 200, 210, 209, 200, + + 212, 208, 201, 210, 211, 215, 201, 203, 213, 204, + 205, 205, 223, 214, 207, 206, 209, 213, 211, 216, + 206, 208, 217, 219, 210, 0, 212, 212, 214, 218, + 220, 211, 218, 221, 224, 213, 215, 217, 0, 218, + 214, 219, 226, 216, 220, 0, 216, 228, 221, 217, + 219, 222, 222, 227, 226, 229, 218, 220, 224, 218, + 221, 224, 225, 233, 230, 225, 0, 0, 232, 226, + 240, 227, 225, 231, 228, 232, 222, 229, 222, 222, + 227, 234, 229, 235, 0, 231, 237, 236, 234, 225, + 230, 230, 225, 238, 233, 232, 238, 239, 238, 237, + + 231, 240, 0, 242, 238, 235, 241, 0, 234, 242, + 235, 236, 243, 237, 236, 239, 244, 0, 245, 243, + 238, 250, 246, 238, 239, 238, 248, 250, 241, 244, + 242, 0, 249, 241, 245, 246, 0, 254, 248, 243, + 253, 0, 245, 244, 251, 245, 252, 253, 250, 246, + 249, 0, 251, 248, 256, 0, 259, 255, 252, 249, + 0, 245, 247, 247, 255, 257, 256, 253, 254, 259, + 0, 251, 247, 252, 247, 247, 247, 257, 258, 247, + 263, 256, 260, 259, 255, 258, 264, 247, 262, 247, + 247, 263, 257, 261, 261, 262, 266, 264, 265, 247, + + 0, 247, 247, 247, 260, 258, 247, 263, 267, 260, + 268, 265, 271, 264, 269, 262, 270, 275, 272, 268, + 0, 266, 261, 266, 273, 265, 274, 269, 276, 270, + 271, 267, 277, 0, 270, 267, 278, 268, 279, 271, + 272, 269, 280, 270, 274, 272, 0, 273, 275, 276, + 278, 273, 281, 274, 277, 276, 270, 282, 281, 277, + 284, 283, 0, 278, 279, 279, 286, 285, 0, 287, + 0, 289, 286, 280, 290, 282, 283, 293, 297, 281, + 290, 291, 300, 295, 282, 292, 284, 284, 283, 285, + 295, 297, 293, 286, 285, 287, 287, 289, 289, 296, + + 291, 290, 298, 292, 293, 297, 296, 301, 291, 299, + 295, 0, 292, 300, 302, 303, 301, 305, 304, 302, + 306, 310, 0, 0, 298, 307, 296, 0, 299, 298, + 304, 306, 310, 307, 301, 326, 299, 313, 303, 305, + 311, 302, 303, 309, 305, 304, 315, 306, 310, 311, + 309, 0, 307, 308, 312, 314, 0, 314, 308, 319, + 308, 312, 316, 313, 313, 318, 326, 319, 308, 317, + 309, 311, 315, 315, 316, 321, 311, 318, 308, 308, + 308, 312, 314, 320, 317, 308, 319, 308, 320, 316, + 322, 323, 318, 325, 324, 308, 317, 321, 327, 323, + + 328, 329, 321, 330, 331, 308, 324, 332, 322, 328, + 320, 333, 334, 327, 336, 329, 325, 322, 323, 331, + 325, 324, 332, 333, 337, 327, 335, 328, 329, 338, + 330, 331, 339, 341, 332, 340, 334, 345, 333, 334, + 335, 336, 342, 343, 344, 0, 0, 349, 342, 346, + 348, 337, 347, 335, 0, 0, 0, 348, 350, 339, + 338, 354, 340, 353, 341, 343, 355, 344, 345, 342, + 343, 344, 346, 351, 347, 356, 346, 348, 349, 347, + 350, 357, 352, 358, 355, 350, 351, 352, 362, 353, + 353, 352, 354, 355, 360, 0, 363, 359, 361, 356, + + 351, 373, 356, 357, 357, 358, 352, 364, 357, 352, + 358, 359, 365, 361, 352, 366, 360, 363, 352, 362, + 367, 360, 368, 363, 359, 361, 369, 370, 371, 367, + 357, 364, 373, 0, 364, 368, 365, 366, 374, 365, + 372, 376, 366, 375, 372, 376, 0, 367, 369, 368, + 371, 370, 377, 369, 370, 371, 374, 378, 375, 379, + 380, 0, 0, 384, 385, 374, 381, 375, 379, 380, + 375, 372, 376, 382, 381, 383, 385, 377, 388, 377, + 382, 384, 378, 386, 378, 375, 379, 380, 389, 387, + 384, 385, 386, 381, 390, 391, 389, 392, 383, 394, + + 382, 387, 383, 393, 404, 397, 0, 394, 396, 388, + 386, 395, 399, 398, 393, 389, 387, 404, 391, 392, + 390, 390, 391, 400, 392, 395, 394, 397, 396, 402, + 393, 404, 397, 398, 399, 396, 403, 401, 395, 399, + 398, 408, 406, 405, 407, 400, 401, 408, 411, 402, + 400, 409, 0, 412, 403, 414, 402, 0, 0, 409, + 424, 415, 0, 403, 401, 405, 406, 407, 408, 406, + 405, 407, 413, 415, 414, 418, 412, 409, 409, 411, + 412, 413, 414, 421, 422, 418, 409, 426, 415, 423, + 0, 424, 0, 428, 427, 428, 430, 0, 431, 413, + + 0, 421, 418, 427, 429, 422, 0, 0, 435, 426, + 421, 422, 423, 432, 426, 0, 423, 425, 431, 425, + 428, 427, 425, 430, 433, 431, 434, 425, 429, 438, + 436, 429, 435, 425, 425, 435, 433, 436, 439, 432, + 432, 442, 425, 443, 425, 444, 425, 437, 438, 425, + 440, 433, 434, 434, 425, 437, 438, 436, 441, 445, + 425, 425, 440, 442, 439, 439, 446, 441, 442, 447, + 443, 448, 449, 450, 437, 454, 444, 440, 452, 477, + 457, 449, 451, 445, 453, 441, 445, 446, 447, 455, + 448, 459, 0, 446, 0, 450, 447, 455, 448, 449, + + 450, 458, 451, 453, 457, 452, 454, 457, 460, 451, + 477, 453, 468, 461, 458, 465, 455, 459, 459, 463, + 460, 461, 465, 464, 469, 463, 466, 467, 458, 464, + 468, 466, 470, 0, 467, 460, 471, 461, 472, 468, + 461, 470, 465, 474, 471, 473, 463, 469, 461, 479, + 464, 469, 478, 466, 467, 475, 472, 479, 473, 470, + 476, 481, 475, 471, 474, 472, 480, 485, 482, 484, + 474, 483, 473, 476, 482, 478, 479, 486, 487, 478, + 488, 480, 475, 481, 0, 490, 486, 476, 481, 489, + 491, 485, 487, 480, 485, 482, 489, 483, 483, 493, + + 484, 492, 494, 495, 486, 487, 495, 496, 0, 498, + 494, 488, 490, 492, 0, 500, 489, 491, 501, 499, + 496, 499, 493, 504, 505, 503, 493, 500, 492, 494, + 495, 501, 498, 502, 496, 497, 498, 497, 503, 502, + 508, 497, 500, 497, 504, 501, 499, 507, 497, 0, + 504, 506, 503, 508, 510, 505, 506, 509, 506, 497, + 502, 515, 497, 512, 497, 511, 513, 508, 497, 507, + 497, 518, 509, 516, 507, 497, 506, 506, 506, 513, + 510, 510, 512, 506, 509, 506, 514, 511, 515, 520, + 512, 519, 511, 513, 514, 521, 516, 520, 522, 523, + + 516, 525, 518, 506, 524, 529, 527, 526, 0, 521, + 533, 528, 524, 514, 526, 519, 520, 523, 519, 527, + 522, 531, 521, 525, 534, 522, 523, 532, 525, 528, + 531, 524, 533, 527, 526, 535, 529, 533, 528, 532, + 536, 538, 537, 540, 543, 0, 534, 540, 531, 541, + 564, 534, 541, 542, 532, 546, 543, 535, 536, 544, + 545, 546, 535, 547, 551, 0, 544, 536, 537, 537, + 548, 543, 538, 549, 540, 541, 541, 542, 550, 541, + 542, 564, 546, 552, 545, 547, 544, 545, 554, 553, + 547, 551, 548, 555, 549, 556, 559, 548, 553, 550, + + 549, 552, 555, 556, 557, 550, 560, 558, 561, 563, + 552, 557, 554, 562, 565, 554, 553, 561, 559, 567, + 555, 558, 556, 559, 568, 563, 566, 0, 560, 569, + 573, 557, 568, 560, 558, 561, 563, 562, 566, 570, + 562, 572, 569, 579, 574, 565, 567, 575, 573, 575, + 572, 568, 574, 566, 570, 579, 569, 573, 580, 578, + 581, 582, 583, 584, 0, 580, 570, 585, 572, 587, + 579, 574, 578, 586, 575, 588, 584, 589, 0, 590, + 585, 587, 609, 591, 583, 580, 578, 588, 590, 583, + 584, 581, 582, 592, 585, 586, 587, 593, 597, 594, + + 586, 591, 588, 595, 589, 593, 590, 598, 596, 603, + 591, 595, 600, 609, 601, 592, 597, 599, 603, 598, + 592, 594, 601, 617, 593, 597, 594, 600, 604, 599, + 595, 596, 602, 605, 598, 596, 603, 610, 602, 600, + 606, 601, 615, 607, 599, 605, 611, 606, 616, 604, + 610, 612, 613, 614, 617, 604, 615, 614, 612, 602, + 605, 607, 618, 619, 610, 611, 616, 606, 621, 615, + 607, 620, 625, 611, 613, 616, 626, 622, 612, 613, + 0, 0, 624, 623, 614, 619, 627, 0, 618, 618, + 619, 624, 628, 620, 621, 621, 623, 0, 620, 622, + + 632, 630, 0, 625, 622, 634, 637, 626, 627, 624, + 623, 629, 633, 627, 634, 628, 629, 630, 629, 628, + 629, 635, 636, 632, 633, 637, 639, 632, 630, 629, + 636, 638, 634, 637, 635, 639, 641, 642, 629, 633, + 640, 644, 640, 629, 638, 629, 646, 629, 635, 636, + 645, 647, 648, 639, 646, 649, 0, 651, 638, 648, + 657, 650, 652, 641, 642, 644, 654, 640, 644, 652, + 653, 656, 645, 646, 655, 658, 660, 645, 647, 648, + 656, 657, 649, 650, 651, 654, 661, 657, 650, 652, + 663, 662, 653, 654, 670, 658, 655, 653, 656, 666, + + 665, 655, 658, 667, 664, 668, 669, 660, 665, 671, + 669, 673, 668, 662, 674, 666, 671, 661, 662, 678, + 673, 663, 664, 678, 0, 670, 666, 665, 672, 689, + 667, 664, 668, 669, 0, 672, 671, 675, 673, 677, + 674, 674, 689, 676, 675, 676, 678, 680, 677, 681, + 681, 680, 682, 683, 684, 672, 689, 0, 685, 686, + 687, 682, 690, 684, 675, 685, 677, 0, 692, 687, + 676, 0, 694, 693, 690, 683, 681, 698, 680, 682, + 683, 684, 686, 688, 691, 685, 686, 687, 695, 690, + 692, 688, 691, 693, 694, 692, 696, 695, 698, 694, + + 693, 697, 699, 700, 698, 701, 702, 703, 699, 714, + 688, 691, 707, 697, 696, 695, 705, 708, 706, 709, + 707, 708, 0, 696, 710, 700, 713, 711, 697, 699, + 700, 706, 710, 703, 703, 711, 701, 702, 705, 707, + 714, 712, 715, 705, 716, 706, 709, 713, 708, 712, + 715, 710, 716, 713, 711, 717, 718, 719, 723, 720, + 721, 0, 722, 717, 718, 720, 727, 724, 712, 715, + 719, 716, 721, 727, 726, 728, 729, 725, 732, 737, + 723, 736, 717, 718, 719, 723, 720, 721, 722, 722, + 724, 725, 726, 727, 724, 730, 739, 735, 729, 731, + + 741, 726, 728, 729, 725, 743, 731, 736, 736, 732, + 737, 744, 746, 745, 746, 0, 748, 749, 730, 735, + 747, 766, 730, 739, 735, 745, 731, 741, 748, 743, + 751, 752, 743, 753, 750, 774, 752, 744, 744, 746, + 745, 750, 747, 748, 749, 754, 755, 747, 756, 753, + 758, 759, 766, 760, 755, 761, 751, 751, 752, 758, + 753, 750, 761, 764, 759, 765, 774, 762, 754, 763, + 756, 0, 754, 755, 762, 756, 763, 758, 759, 760, + 760, 769, 761, 771, 767, 768, 0, 765, 764, 773, + 764, 767, 765, 772, 762, 772, 763, 775, 768, 777, + + 776, 0, 769, 779, 782, 771, 781, 777, 769, 776, + 771, 767, 768, 773, 778, 780, 773, 783, 789, 780, + 772, 778, 787, 775, 775, 779, 777, 776, 781, 784, + 779, 782, 789, 781, 790, 787, 785, 788, 784, 783, + 786, 778, 780, 785, 783, 789, 791, 786, 792, 787, + 794, 793, 788, 791, 795, 792, 784, 793, 796, 797, + 800, 796, 794, 785, 788, 790, 801, 786, 802, 807, + 797, 803, 804, 791, 795, 792, 796, 794, 793, 802, + 804, 795, 0, 806, 808, 796, 797, 800, 796, 803, + 801, 805, 810, 801, 805, 802, 809, 819, 803, 804, + + 807, 806, 812, 809, 811, 813, 810, 813, 814, 805, + 806, 808, 815, 811, 816, 812, 821, 814, 805, 810, + 0, 805, 822, 809, 817, 816, 823, 820, 819, 812, + 0, 811, 813, 817, 824, 814, 820, 0, 815, 815, + 825, 816, 829, 822, 828, 831, 825, 821, 824, 822, + 830, 817, 840, 831, 820, 832, 829, 823, 836, 830, + 0, 824, 837, 828, 825, 833, 832, 825, 835, 829, + 840, 828, 831, 825, 833, 835, 838, 830, 839, 840, + 843, 836, 832, 841, 837, 836, 844, 841, 847, 837, + 842, 845, 833, 846, 848, 835, 855, 851, 838, 844, + + 839, 850, 842, 838, 852, 839, 845, 843, 846, 848, + 841, 853, 854, 844, 849, 859, 863, 842, 845, 847, + 846, 848, 850, 849, 851, 857, 856, 855, 850, 853, + 858, 852, 856, 857, 861, 862, 860, 858, 853, 854, + 864, 849, 859, 860, 866, 867, 868, 863, 872, 869, + 0, 869, 857, 856, 867, 870, 0, 858, 871, 877, + 0, 861, 862, 860, 864, 877, 873, 864, 873, 878, + 0, 874, 867, 873, 0, 866, 869, 868, 874, 872, + 875, 873, 870, 876, 871, 871, 877, 875, 879, 879, + 876, 880, 881, 873, 883, 873, 878, 884, 874, 881, + + 873, 888, 885, 887, 887, 886, 893, 875, 896, 884, + 876, 892, 883, 889, 889, 879, 895, 880, 880, 881, + 890, 883, 885, 886, 884, 0, 897, 888, 888, 885, + 887, 890, 886, 892, 894, 896, 895, 893, 892, 898, + 889, 894, 899, 895, 900, 909, 901, 890, 897, 899, + 902, 903, 904, 897, 901, 906, 900, 898, 905, 907, + 910, 894, 902, 905, 911, 907, 898, 908, 911, 899, + 904, 900, 903, 901, 905, 912, 909, 902, 903, 904, + 908, 913, 906, 914, 915, 905, 907, 910, 917, 916, + 905, 918, 919, 918, 908, 911, 913, 920, 921, 915, + + 925, 924, 920, 917, 922, 926, 912, 933, 913, 927, + 0, 915, 916, 928, 914, 917, 916, 929, 918, 922, + 940, 930, 933, 919, 920, 924, 935, 925, 924, 921, + 927, 922, 926, 936, 933, 928, 927, 935, 929, 930, + 928, 937, 936, 938, 929, 943, 944, 940, 930, 946, + 0, 948, 935, 935, 947, 945, 0, 0, 943, 937, + 936, 938, 951, 950, 935, 945, 952, 953, 937, 951, + 938, 954, 943, 953, 0, 946, 946, 944, 948, 947, + 955, 947, 945, 950, 956, 957, 954, 960, 961, 951, + 950, 962, 952, 952, 953, 955, 958, 957, 954, 956, + + 962, 963, 965, 958, 964, 966, 966, 955, 967, 960, + 0, 956, 957, 961, 960, 961, 968, 964, 962, 963, + 969, 973, 970, 958, 971, 0, 974, 972, 963, 965, + 967, 964, 966, 971, 972, 967, 978, 976, 0, 996, + 979, 968, 969, 968, 970, 976, 977, 969, 974, 970, + 982, 971, 973, 974, 972, 979, 981, 980, 984, 977, + 980, 983, 998, 978, 976, 987, 996, 979, 982, 985, + 994, 988, 994, 977, 991, 980, 983, 982, 988, 987, + 984, 981, 989, 981, 980, 984, 993, 980, 983, 998, + 995, 985, 987, 989, 997, 991, 985, 994, 988, 1000, + + 1002, 991, 999, 1001, 1003, 1004, 1064, 993, 995, 989, + 999, 1008, 997, 993, 1002, 1007, 1012, 995, 1009, 1010, + 0, 997, 1000, 0, 1004, 1001, 1000, 1002, 1011, 999, + 1001, 1003, 1004, 1007, 1010, 1013, 1014, 1064, 1008, 1012, + 1015, 1015, 1007, 1012, 1009, 1009, 1010, 1013, 1016, 1018, + 1011, 1019, 1018, 1021, 1020, 1011, 1016, 1024, 1014, 1019, + 1020, 1025, 1013, 1014, 1022, 1026, 1029, 1015, 1021, 1027, + 1022, 1028, 1030, 1031, 1032, 1016, 1018, 1033, 1019, 1026, + 1021, 1020, 1034, 1027, 1024, 1025, 1035, 1031, 1025, 1036, + 1034, 1022, 1026, 1029, 1037, 1039, 1027, 1028, 1028, 1030, + + 1031, 1032, 1037, 1040, 1033, 1042, 1041, 1044, 0, 1034, + 1043, 1045, 0, 1035, 1041, 1047, 1036, 1039, 1048, 1043, + 1049, 1037, 1039, 0, 1046, 1051, 1048, 1053, 1044, 1055, + 1040, 1054, 1042, 1041, 1044, 1045, 0, 1043, 1045, 1046, + 1052, 1052, 1047, 1056, 1055, 1048, 1057, 1049, 1057, 1054, + 1046, 1046, 1051, 1053, 1053, 1058, 1055, 1059, 1054, 1060, + 1061, 1062, 1063, 1059, 0, 1056, 1046, 1052, 1065, 1058, + 1056, 1067, 1061, 1057, 1069, 1071, 1070, 1078, 1067, 1062, + 1063, 1060, 1058, 1077, 1059, 1072, 1060, 1061, 1062, 1063, + 1075, 1065, 1069, 1072, 1079, 1065, 1074, 1088, 1067, 1078, + + 1081, 1069, 1070, 1070, 1078, 1075, 1071, 1077, 1074, 1080, + 1077, 1072, 1072, 1082, 1089, 1083, 1085, 1075, 1084, 1086, + 1072, 1079, 1087, 1074, 1081, 1084, 1086, 1081, 1088, 1092, + 1094, 1108, 1080, 1093, 1100, 1089, 1080, 1083, 1097, 1085, + 1082, 1089, 1083, 1085, 1087, 1084, 1086, 1091, 1103, 1087, + 1104, 1092, 1093, 1106, 1112, 1094, 1092, 1094, 1091, 1109, + 1093, 1100, 1108, 1111, 1097, 1097, 1114, 1110, 1111, 1117, + 1103, 1119, 1118, 1120, 1091, 1103, 1112, 1104, 1110, 1121, + 1106, 1112, 1122, 1123, 1119, 1109, 1109, 1124, 1126, 1127, + 1111, 1117, 1125, 1114, 1110, 1120, 1117, 1118, 1119, 1118, + + 1120, 1125, 1124, 1126, 1127, 1128, 1121, 1130, 1131, 1122, + 1123, 1129, 1132, 1132, 1124, 1126, 1127, 1133, 1129, 1125, + 1128, 1137, 1134, 1138, 1133, 1135, 1131, 1136, 1135, 1139, + 1137, 1140, 1128, 1142, 1130, 1131, 1134, 1143, 1129, 1132, + 1136, 1145, 1142, 1146, 1133, 1138, 1148, 1147, 1137, 1134, + 1138, 1139, 1135, 1149, 1136, 1148, 1139, 1152, 1140, 1147, + 1142, 1146, 1149, 1143, 1143, 1150, 1153, 1151, 1145, 1154, + 1146, 1155, 1163, 1148, 1147, 1151, 1150, 1162, 1156, 1155, + 1149, 1154, 1158, 1164, 1152, 1156, 1161, 1167, 1169, 1170, + 1158, 1165, 1150, 1161, 1151, 1164, 1154, 1153, 1155, 1163, + + 1165, 1162, 1174, 1168, 1162, 1156, 1176, 1175, 1179, 1158, + 1164, 1168, 1175, 1161, 1167, 1169, 1170, 1177, 1165, 1178, + 1181, 1182, 1185, 1183, 1176, 1184, 1186, 1179, 1174, 1174, + 1168, 1187, 1181, 1176, 1175, 1179, 1188, 1184, 1189, 1177, + 1192, 1178, 1191, 1182, 1177, 1183, 1178, 1181, 1182, 1185, + 1183, 1194, 1184, 1186, 1195, 1192, 1196, 1203, 1197, 0, + 1198, 1199, 1187, 1188, 1191, 1189, 1205, 1192, 1195, 1191, + 1212, 1204, 1201, 1206, 1196, 1194, 1197, 1209, 1194, 1199, + 1201, 1195, 1202, 1196, 1203, 1197, 1198, 1198, 1199, 1204, + 1202, 1207, 1206, 1205, 1210, 1209, 1215, 1212, 1204, 1201, + + 1206, 1216, 1217, 1215, 1209, 1218, 1219, 1220, 1210, 1202, + 1222, 1221, 1223, 1207, 0, 1227, 1220, 1224, 1207, 1233, + 0, 1210, 1230, 1215, 1221, 1235, 1217, 1216, 1216, 1217, + 1230, 1231, 1218, 1219, 1220, 1232, 1227, 1234, 1221, 1223, + 1224, 1222, 1227, 1232, 1224, 1233, 1233, 1235, 1234, 1230, + 1231, 1238, 1235, 1236, 1237, 1237, 1239, 1243, 1231, 1244, + 1236, 1241, 1232, 1239, 1234, 0, 1243, 1245, 1250, 1238, + 1250, 1246, 1249, 1248, 1253, 0, 1254, 0, 1238, 1255, + 1236, 1237, 1257, 1239, 1243, 1241, 1244, 1249, 1241, 1246, + 1245, 1248, 1258, 0, 1245, 1250, 1253, 1255, 1246, 1249, + + 1248, 1253, 1254, 1254, 1257, 1259, 1255, 1261, 1260, 1257, + 1258, 1262, 1263, 1259, 1264, 1266, 1269, 1265, 1268, 1258, + 1260, 1272, 1264, 1263, 1267, 1267, 1268, 1270, 1275, 1262, + 1276, 0, 1259, 1273, 1261, 1260, 1265, 1266, 1262, 1263, + 1273, 1264, 1266, 1269, 1265, 1268, 1278, 1274, 1272, 1270, + 1277, 1267, 1274, 1280, 1270, 1275, 1279, 1276, 1277, 1282, + 1273, 1278, 1283, 1279, 1281, 1285, 1286, 1287, 1288, 1289, + 1283, 1291, 1295, 1278, 1274, 1290, 0, 1277, 1285, 1281, + 1280, 1293, 1296, 1279, 1299, 1300, 1282, 1306, 1286, 1283, + 1311, 1281, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1295, + + 1301, 1303, 1290, 1299, 1296, 1315, 1305, 1293, 1293, 1296, + 1318, 1299, 1300, 1305, 1306, 1307, 1313, 1311, 1316, 1318, + 1319, 1320, 1301, 1303, 1322, 1324, 1326, 1301, 1303, 1327, + 1316, 1332, 1315, 1305, 1334, 0, 1338, 1318, 1307, 1313, + 0, 1326, 1307, 1313, 1335, 1316, 1340, 1319, 1320, 1338, + 1333, 1322, 1324, 1326, 1332, 1327, 1327, 1333, 1332, 1339, + 1337, 1334, 1335, 1338, 0, 0, 0, 1339, 0, 0, + 0, 1335, 1337, 1340, 0, 0, 0, 1333, 0, 0, + 0, 0, 0, 0, 0, 0, 1339, 1337, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1344, 1344, 1344, 1344, 1344, + + 1344, 1344, 1345, 1345, 1345, 1345, 1345, 1345, 1345, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1347, 1347, 1347, 1347, + 1347, 1347, 1347, 1349, 1349, 0, 1349, 1349, 1349, 1349, + 1350, 1350, 0, 0, 0, 1350, 1350, 1351, 1351, 0, + 0, 1351, 0, 1351, 1352, 0, 0, 0, 0, 0, + 1352, 1353, 1353, 0, 0, 0, 1353, 1353, 1354, 0, + 0, 0, 0, 0, 1354, 1355, 1355, 0, 1355, 1355, + 1355, 1355, 1356, 1356, 0, 1356, 1356, 1356, 1356, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, 1342, + 1342, 1342, 1342, 1342, 1342 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +static int yy_more_flag = 0; +static int yy_more_len = 0; +#define yymore() ((yy_more_flag) = 1) +#define YY_MORE_ADJ (yy_more_len) +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "util/configlexer.lex" +#line 2 "util/configlexer.lex" +/* + * configlexer.lex - lexical analyzer for unbound config file + * + * Copyright (c) 2001-2006, NLnet Labs. All rights reserved + * + * See LICENSE for the license. + * + */ + +#include <ctype.h> +#include <string.h> +#include <strings.h> + +#include "util/config_file.h" +#include "util/configparser.h" +void ub_c_error(const char *message); + +#if 0 +#define LEXOUT(s) printf s /* used ONLY when debugging */ +#else +#define LEXOUT(s) +#endif + +/** avoid warning in about fwrite return value */ +#define ECHO ub_c_error_msg("syntax error at text: %s", yytext) + +/** A parser variable, this is a statement in the config file which is + * of the form variable: value1 value2 ... nargs is the number of values. */ +#define YDVAR(nargs, var) \ + num_args=(nargs); \ + LEXOUT(("v(%s%d) ", yytext, num_args)); \ + if(num_args > 0) { BEGIN(val); } \ + return (var); + +struct inc_state { + char* filename; + int line; +}; +static struct inc_state parse_stack[MAXINCLUDES]; +static YY_BUFFER_STATE include_stack[MAXINCLUDES]; +static int config_include_stack_ptr = 0; +static int inc_prev = 0; +static int num_args = 0; + +static void config_start_include(const char* filename) +{ + FILE *input; + if(strlen(filename) == 0) { + ub_c_error_msg("empty include file name"); + return; + } + if(config_include_stack_ptr >= MAXINCLUDES) { + ub_c_error_msg("includes nested too deeply, skipped (>%d)", MAXINCLUDES); + return; + } + if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, + strlen(cfg_parser->chroot)) == 0) { + filename += strlen(cfg_parser->chroot); + } + input = fopen(filename, "r"); + if(!input) { + ub_c_error_msg("cannot open include file '%s': %s", + filename, strerror(errno)); + return; + } + LEXOUT(("switch_to_include_file(%s) ", filename)); + parse_stack[config_include_stack_ptr].filename = cfg_parser->filename; + parse_stack[config_include_stack_ptr].line = cfg_parser->line; + include_stack[config_include_stack_ptr] = YY_CURRENT_BUFFER; + cfg_parser->filename = strdup(filename); + cfg_parser->line = 1; + yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE)); + ++config_include_stack_ptr; +} + +static void config_end_include(void) +{ + --config_include_stack_ptr; + free(cfg_parser->filename); + cfg_parser->filename = parse_stack[config_include_stack_ptr].filename; + cfg_parser->line = parse_stack[config_include_stack_ptr].line; + yy_delete_buffer(YY_CURRENT_BUFFER); + yy_switch_to_buffer(include_stack[config_include_stack_ptr]); +} + +#ifndef yy_set_bol /* compat definition, for flex 2.4.6 */ +#define yy_set_bol(at_bol) \ + { \ + if ( ! yy_current_buffer ) \ + yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \ + yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \ + } +#endif + +#define YY_NO_INPUT 1 +#line 100 "util/configlexer.lex" +#ifndef YY_NO_UNPUT +#define YY_NO_UNPUT 1 +#endif +#ifndef YY_NO_INPUT +#define YY_NO_INPUT 1 +#endif + +#line 1871 "<stdout>" + +#define INITIAL 0 +#define quotedstring 1 +#define singlequotedstr 2 +#define include 3 +#define include_quoted 4 +#define val 5 + +#ifndef YY_NO_UNISTD_H +/* Special case for "unistd.h", since it is non-ANSI. We include it way + * down here because we want the user's section 1 to have been scanned first. + * The user has a chance to override it with an option. + */ +#include <unistd.h> +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +static int yy_init_globals (void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy (void ); + +int yyget_debug (void ); + +void yyset_debug (int debug_flag ); + +YY_EXTRA_TYPE yyget_extra (void ); + +void yyset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in (void ); + +void yyset_in (FILE * in_str ); + +FILE *yyget_out (void ); + +void yyset_out (FILE * out_str ); + +int yyget_leng (void ); + +char *yyget_text (void ); + +int yyget_lineno (void ); + +void yyset_lineno (int line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int yywrap (void ); +#else +extern int yywrap (void ); +#endif +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy (char *,yyconst char *,int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * ); +#endif + +#ifndef YY_NO_INPUT + +#ifdef __cplusplus +static int yyinput (void ); +#else +static int input (void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#define YY_READ_BUF_SIZE 8192 +#endif + +/* Copy whatever the last rule matched to the standard output. */ +#ifndef ECHO +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + unsigned n; \ + for ( n = 0; n < max_size && \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(yyin); \ + } \ + }\ +\ + +#endif + +/* No semi-colon after return; correct usage is to write "yyterminate();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +#endif + +/* end tables serialization structures and prototypes */ + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL_IS_OURS 1 + +extern int yylex (void); + +#define YY_DECL int yylex (void) +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after yytext and yyleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK break; +#endif + +#define YY_RULE_SETUP \ + YY_USER_ACTION + +/** The main scanner function which does all the work. + */ +YY_DECL +{ + register yy_state_type yy_current_state; + register char *yy_cp, *yy_bp; + register int yy_act; + +#line 120 "util/configlexer.lex" + +#line 2058 "<stdout>" + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! yyin ) + yyin = stdin; + + if ( ! yyout ) + yyout = stdout; + + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } + + yy_load_buffer_state( ); + } + + while ( 1 ) /* loops until end-of-file is reached */ + { + (yy_more_len) = 0; + if ( (yy_more_flag) ) + { + (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); + (yy_more_flag) = 0; + } + yy_cp = (yy_c_buf_p); + + /* Support of yytext. */ + *yy_cp = (yy_hold_char); + + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; + + yy_current_state = (yy_start); +yy_match: + do + { + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 1343 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + ++yy_cp; + } + while ( yy_base[yy_current_state] != 3880 ); + +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 121 "util/configlexer.lex" +{ + LEXOUT(("SP ")); /* ignore */ } + YY_BREAK +case 2: +YY_RULE_SETUP +#line 123 "util/configlexer.lex" +{ + /* note that flex makes the longest match and '.' is any but not nl */ + LEXOUT(("comment(%s) ", yytext)); /* ignore */ } + YY_BREAK +case 3: +YY_RULE_SETUP +#line 126 "util/configlexer.lex" +{ YDVAR(0, VAR_SERVER) } + YY_BREAK +case 4: +YY_RULE_SETUP +#line 127 "util/configlexer.lex" +{ YDVAR(1, VAR_NUM_THREADS) } + YY_BREAK +case 5: +YY_RULE_SETUP +#line 128 "util/configlexer.lex" +{ YDVAR(1, VAR_VERBOSITY) } + YY_BREAK +case 6: +YY_RULE_SETUP +#line 129 "util/configlexer.lex" +{ YDVAR(1, VAR_PORT) } + YY_BREAK +case 7: +YY_RULE_SETUP +#line 130 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_RANGE) } + YY_BREAK +case 8: +YY_RULE_SETUP +#line 131 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 132 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) } + YY_BREAK +case 10: +YY_RULE_SETUP +#line 133 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_NUM_TCP) } + YY_BREAK +case 11: +YY_RULE_SETUP +#line 134 "util/configlexer.lex" +{ YDVAR(1, VAR_INCOMING_NUM_TCP) } + YY_BREAK +case 12: +YY_RULE_SETUP +#line 135 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_IP4) } + YY_BREAK +case 13: +YY_RULE_SETUP +#line 136 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_IP6) } + YY_BREAK +case 14: +YY_RULE_SETUP +#line 137 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_UDP) } + YY_BREAK +case 15: +YY_RULE_SETUP +#line 138 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_TCP) } + YY_BREAK +case 16: +YY_RULE_SETUP +#line 139 "util/configlexer.lex" +{ YDVAR(1, VAR_TCP_UPSTREAM) } + YY_BREAK +case 17: +YY_RULE_SETUP +#line 140 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_UPSTREAM) } + YY_BREAK +case 18: +YY_RULE_SETUP +#line 141 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_SERVICE_KEY) } + YY_BREAK +case 19: +YY_RULE_SETUP +#line 142 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_SERVICE_PEM) } + YY_BREAK +case 20: +YY_RULE_SETUP +#line 143 "util/configlexer.lex" +{ YDVAR(1, VAR_SSL_PORT) } + YY_BREAK +case 21: +YY_RULE_SETUP +#line 144 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_DAEMONIZE) } + YY_BREAK +case 22: +YY_RULE_SETUP +#line 145 "util/configlexer.lex" +{ YDVAR(1, VAR_INTERFACE) } + YY_BREAK +case 23: +YY_RULE_SETUP +#line 146 "util/configlexer.lex" +{ YDVAR(1, VAR_OUTGOING_INTERFACE) } + YY_BREAK +case 24: +YY_RULE_SETUP +#line 147 "util/configlexer.lex" +{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) } + YY_BREAK +case 25: +YY_RULE_SETUP +#line 148 "util/configlexer.lex" +{ YDVAR(1, VAR_SO_RCVBUF) } + YY_BREAK +case 26: +YY_RULE_SETUP +#line 149 "util/configlexer.lex" +{ YDVAR(1, VAR_SO_SNDBUF) } + YY_BREAK +case 27: +YY_RULE_SETUP +#line 150 "util/configlexer.lex" +{ YDVAR(1, VAR_CHROOT) } + YY_BREAK +case 28: +YY_RULE_SETUP +#line 151 "util/configlexer.lex" +{ YDVAR(1, VAR_USERNAME) } + YY_BREAK +case 29: +YY_RULE_SETUP +#line 152 "util/configlexer.lex" +{ YDVAR(1, VAR_DIRECTORY) } + YY_BREAK +case 30: +YY_RULE_SETUP +#line 153 "util/configlexer.lex" +{ YDVAR(1, VAR_LOGFILE) } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 154 "util/configlexer.lex" +{ YDVAR(1, VAR_PIDFILE) } + YY_BREAK +case 32: +YY_RULE_SETUP +#line 155 "util/configlexer.lex" +{ YDVAR(1, VAR_ROOT_HINTS) } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 156 "util/configlexer.lex" +{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) } + YY_BREAK +case 34: +YY_RULE_SETUP +#line 157 "util/configlexer.lex" +{ YDVAR(1, VAR_MSG_BUFFER_SIZE) } + YY_BREAK +case 35: +YY_RULE_SETUP +#line 158 "util/configlexer.lex" +{ YDVAR(1, VAR_MSG_CACHE_SIZE) } + YY_BREAK +case 36: +YY_RULE_SETUP +#line 159 "util/configlexer.lex" +{ YDVAR(1, VAR_MSG_CACHE_SLABS) } + YY_BREAK +case 37: +YY_RULE_SETUP +#line 160 "util/configlexer.lex" +{ YDVAR(1, VAR_RRSET_CACHE_SIZE) } + YY_BREAK +case 38: +YY_RULE_SETUP +#line 161 "util/configlexer.lex" +{ YDVAR(1, VAR_RRSET_CACHE_SLABS) } + YY_BREAK +case 39: +YY_RULE_SETUP +#line 162 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHE_MAX_TTL) } + YY_BREAK +case 40: +YY_RULE_SETUP +#line 163 "util/configlexer.lex" +{ YDVAR(1, VAR_CACHE_MIN_TTL) } + YY_BREAK +case 41: +YY_RULE_SETUP +#line 164 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_HOST_TTL) } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 165 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_LAME_TTL) } + YY_BREAK +case 43: +YY_RULE_SETUP +#line 166 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_SLABS) } + YY_BREAK +case 44: +YY_RULE_SETUP +#line 167 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) } + YY_BREAK +case 45: +YY_RULE_SETUP +#line 168 "util/configlexer.lex" +{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) } + YY_BREAK +case 46: +YY_RULE_SETUP +#line 169 "util/configlexer.lex" +{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 170 "util/configlexer.lex" +{ YDVAR(1, VAR_JOSTLE_TIMEOUT) } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 171 "util/configlexer.lex" +{ YDVAR(1, VAR_TARGET_FETCH_POLICY) } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 172 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) } + YY_BREAK +case 50: +YY_RULE_SETUP +#line 173 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) } + YY_BREAK +case 51: +YY_RULE_SETUP +#line 174 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_GLUE) } + YY_BREAK +case 52: +YY_RULE_SETUP +#line 175 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) } + YY_BREAK +case 53: +YY_RULE_SETUP +#line 176 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) } + YY_BREAK +case 54: +YY_RULE_SETUP +#line 177 "util/configlexer.lex" +{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) } + YY_BREAK +case 55: +YY_RULE_SETUP +#line 178 "util/configlexer.lex" +{ YDVAR(1, VAR_USE_CAPS_FOR_ID) } + YY_BREAK +case 56: +YY_RULE_SETUP +#line 179 "util/configlexer.lex" +{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) } + YY_BREAK +case 57: +YY_RULE_SETUP +#line 180 "util/configlexer.lex" +{ YDVAR(1, VAR_PRIVATE_ADDRESS) } + YY_BREAK +case 58: +YY_RULE_SETUP +#line 181 "util/configlexer.lex" +{ YDVAR(1, VAR_PRIVATE_DOMAIN) } + YY_BREAK +case 59: +YY_RULE_SETUP +#line 182 "util/configlexer.lex" +{ YDVAR(1, VAR_PREFETCH_KEY) } + YY_BREAK +case 60: +YY_RULE_SETUP +#line 183 "util/configlexer.lex" +{ YDVAR(1, VAR_PREFETCH) } + YY_BREAK +case 61: +YY_RULE_SETUP +#line 184 "util/configlexer.lex" +{ YDVAR(0, VAR_STUB_ZONE) } + YY_BREAK +case 62: +YY_RULE_SETUP +#line 185 "util/configlexer.lex" +{ YDVAR(1, VAR_NAME) } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 186 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_ADDR) } + YY_BREAK +case 64: +YY_RULE_SETUP +#line 187 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_HOST) } + YY_BREAK +case 65: +YY_RULE_SETUP +#line 188 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_PRIME) } + YY_BREAK +case 66: +YY_RULE_SETUP +#line 189 "util/configlexer.lex" +{ YDVAR(1, VAR_STUB_FIRST) } + YY_BREAK +case 67: +YY_RULE_SETUP +#line 190 "util/configlexer.lex" +{ YDVAR(0, VAR_FORWARD_ZONE) } + YY_BREAK +case 68: +YY_RULE_SETUP +#line 191 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_ADDR) } + YY_BREAK +case 69: +YY_RULE_SETUP +#line 192 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_HOST) } + YY_BREAK +case 70: +YY_RULE_SETUP +#line 193 "util/configlexer.lex" +{ YDVAR(1, VAR_FORWARD_FIRST) } + YY_BREAK +case 71: +YY_RULE_SETUP +#line 194 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) } + YY_BREAK +case 72: +YY_RULE_SETUP +#line 195 "util/configlexer.lex" +{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) } + YY_BREAK +case 73: +YY_RULE_SETUP +#line 196 "util/configlexer.lex" +{ YDVAR(2, VAR_ACCESS_CONTROL) } + YY_BREAK +case 74: +YY_RULE_SETUP +#line 197 "util/configlexer.lex" +{ YDVAR(1, VAR_HIDE_IDENTITY) } + YY_BREAK +case 75: +YY_RULE_SETUP +#line 198 "util/configlexer.lex" +{ YDVAR(1, VAR_HIDE_VERSION) } + YY_BREAK +case 76: +YY_RULE_SETUP +#line 199 "util/configlexer.lex" +{ YDVAR(1, VAR_IDENTITY) } + YY_BREAK +case 77: +YY_RULE_SETUP +#line 200 "util/configlexer.lex" +{ YDVAR(1, VAR_VERSION) } + YY_BREAK +case 78: +YY_RULE_SETUP +#line 201 "util/configlexer.lex" +{ YDVAR(1, VAR_MODULE_CONF) } + YY_BREAK +case 79: +YY_RULE_SETUP +#line 202 "util/configlexer.lex" +{ YDVAR(1, VAR_DLV_ANCHOR) } + YY_BREAK +case 80: +YY_RULE_SETUP +#line 203 "util/configlexer.lex" +{ YDVAR(1, VAR_DLV_ANCHOR_FILE) } + YY_BREAK +case 81: +YY_RULE_SETUP +#line 204 "util/configlexer.lex" +{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) } + YY_BREAK +case 82: +YY_RULE_SETUP +#line 205 "util/configlexer.lex" +{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) } + YY_BREAK +case 83: +YY_RULE_SETUP +#line 206 "util/configlexer.lex" +{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) } + YY_BREAK +case 84: +YY_RULE_SETUP +#line 207 "util/configlexer.lex" +{ YDVAR(1, VAR_TRUST_ANCHOR) } + YY_BREAK +case 85: +YY_RULE_SETUP +#line 208 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) } + YY_BREAK +case 86: +YY_RULE_SETUP +#line 209 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) } + YY_BREAK +case 87: +YY_RULE_SETUP +#line 210 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) } + YY_BREAK +case 88: +YY_RULE_SETUP +#line 211 "util/configlexer.lex" +{ YDVAR(1, VAR_BOGUS_TTL) } + YY_BREAK +case 89: +YY_RULE_SETUP +#line 212 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) } + YY_BREAK +case 90: +YY_RULE_SETUP +#line 213 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) } + YY_BREAK +case 91: +YY_RULE_SETUP +#line 214 "util/configlexer.lex" +{ YDVAR(1, VAR_IGNORE_CD_FLAG) } + YY_BREAK +case 92: +YY_RULE_SETUP +#line 215 "util/configlexer.lex" +{ YDVAR(1, VAR_VAL_LOG_LEVEL) } + YY_BREAK +case 93: +YY_RULE_SETUP +#line 216 "util/configlexer.lex" +{ YDVAR(1, VAR_KEY_CACHE_SIZE) } + YY_BREAK +case 94: +YY_RULE_SETUP +#line 217 "util/configlexer.lex" +{ YDVAR(1, VAR_KEY_CACHE_SLABS) } + YY_BREAK +case 95: +YY_RULE_SETUP +#line 218 "util/configlexer.lex" +{ YDVAR(1, VAR_NEG_CACHE_SIZE) } + YY_BREAK +case 96: +YY_RULE_SETUP +#line 219 "util/configlexer.lex" +{ + YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) } + YY_BREAK +case 97: +YY_RULE_SETUP +#line 221 "util/configlexer.lex" +{ YDVAR(1, VAR_ADD_HOLDDOWN) } + YY_BREAK +case 98: +YY_RULE_SETUP +#line 222 "util/configlexer.lex" +{ YDVAR(1, VAR_DEL_HOLDDOWN) } + YY_BREAK +case 99: +YY_RULE_SETUP +#line 223 "util/configlexer.lex" +{ YDVAR(1, VAR_KEEP_MISSING) } + YY_BREAK +case 100: +YY_RULE_SETUP +#line 224 "util/configlexer.lex" +{ YDVAR(1, VAR_USE_SYSLOG) } + YY_BREAK +case 101: +YY_RULE_SETUP +#line 225 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_TIME_ASCII) } + YY_BREAK +case 102: +YY_RULE_SETUP +#line 226 "util/configlexer.lex" +{ YDVAR(1, VAR_LOG_QUERIES) } + YY_BREAK +case 103: +YY_RULE_SETUP +#line 227 "util/configlexer.lex" +{ YDVAR(2, VAR_LOCAL_ZONE) } + YY_BREAK +case 104: +YY_RULE_SETUP +#line 228 "util/configlexer.lex" +{ YDVAR(1, VAR_LOCAL_DATA) } + YY_BREAK +case 105: +YY_RULE_SETUP +#line 229 "util/configlexer.lex" +{ YDVAR(1, VAR_LOCAL_DATA_PTR) } + YY_BREAK +case 106: +YY_RULE_SETUP +#line 230 "util/configlexer.lex" +{ YDVAR(1, VAR_STATISTICS_INTERVAL) } + YY_BREAK +case 107: +YY_RULE_SETUP +#line 231 "util/configlexer.lex" +{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) } + YY_BREAK +case 108: +YY_RULE_SETUP +#line 232 "util/configlexer.lex" +{ YDVAR(1, VAR_EXTENDED_STATISTICS) } + YY_BREAK +case 109: +YY_RULE_SETUP +#line 233 "util/configlexer.lex" +{ YDVAR(0, VAR_REMOTE_CONTROL) } + YY_BREAK +case 110: +YY_RULE_SETUP +#line 234 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_ENABLE) } + YY_BREAK +case 111: +YY_RULE_SETUP +#line 235 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_INTERFACE) } + YY_BREAK +case 112: +YY_RULE_SETUP +#line 236 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_PORT) } + YY_BREAK +case 113: +YY_RULE_SETUP +#line 237 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVER_KEY_FILE) } + YY_BREAK +case 114: +YY_RULE_SETUP +#line 238 "util/configlexer.lex" +{ YDVAR(1, VAR_SERVER_CERT_FILE) } + YY_BREAK +case 115: +YY_RULE_SETUP +#line 239 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_KEY_FILE) } + YY_BREAK +case 116: +YY_RULE_SETUP +#line 240 "util/configlexer.lex" +{ YDVAR(1, VAR_CONTROL_CERT_FILE) } + YY_BREAK +case 117: +YY_RULE_SETUP +#line 241 "util/configlexer.lex" +{ YDVAR(1, VAR_PYTHON_SCRIPT) } + YY_BREAK +case 118: +YY_RULE_SETUP +#line 242 "util/configlexer.lex" +{ YDVAR(0, VAR_PYTHON) } + YY_BREAK +case 119: +YY_RULE_SETUP +#line 243 "util/configlexer.lex" +{ YDVAR(1, VAR_DOMAIN_INSECURE) } + YY_BREAK +case 120: +YY_RULE_SETUP +#line 244 "util/configlexer.lex" +{ YDVAR(1, VAR_MINIMAL_RESPONSES) } + YY_BREAK +case 121: +YY_RULE_SETUP +#line 245 "util/configlexer.lex" +{ YDVAR(1, VAR_RRSET_ROUNDROBIN) } + YY_BREAK +case 122: +/* rule 122 can match eol */ +YY_RULE_SETUP +#line 246 "util/configlexer.lex" +{ LEXOUT(("NL\n")); cfg_parser->line++; } + YY_BREAK +/* Quoted strings. Strip leading and ending quotes */ +case 123: +YY_RULE_SETUP +#line 249 "util/configlexer.lex" +{ BEGIN(quotedstring); LEXOUT(("QS ")); } + YY_BREAK +case YY_STATE_EOF(quotedstring): +#line 250 "util/configlexer.lex" +{ + yyerror("EOF inside quoted string"); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } +} + YY_BREAK +case 124: +YY_RULE_SETUP +#line 255 "util/configlexer.lex" +{ LEXOUT(("STR(%s) ", yytext)); yymore(); } + YY_BREAK +case 125: +/* rule 125 can match eol */ +YY_RULE_SETUP +#line 256 "util/configlexer.lex" +{ yyerror("newline inside quoted string, no end \""); + cfg_parser->line++; BEGIN(INITIAL); } + YY_BREAK +case 126: +YY_RULE_SETUP +#line 258 "util/configlexer.lex" +{ + LEXOUT(("QE ")); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } + yytext[yyleng - 1] = '\0'; + yylval.str = strdup(yytext); + if(!yylval.str) + yyerror("out of memory"); + return STRING_ARG; +} + YY_BREAK +/* Single Quoted strings. Strip leading and ending quotes */ +case 127: +YY_RULE_SETUP +#line 270 "util/configlexer.lex" +{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); } + YY_BREAK +case YY_STATE_EOF(singlequotedstr): +#line 271 "util/configlexer.lex" +{ + yyerror("EOF inside quoted string"); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } +} + YY_BREAK +case 128: +YY_RULE_SETUP +#line 276 "util/configlexer.lex" +{ LEXOUT(("STR(%s) ", yytext)); yymore(); } + YY_BREAK +case 129: +/* rule 129 can match eol */ +YY_RULE_SETUP +#line 277 "util/configlexer.lex" +{ yyerror("newline inside quoted string, no end '"); + cfg_parser->line++; BEGIN(INITIAL); } + YY_BREAK +case 130: +YY_RULE_SETUP +#line 279 "util/configlexer.lex" +{ + LEXOUT(("SQE ")); + if(--num_args == 0) { BEGIN(INITIAL); } + else { BEGIN(val); } + yytext[yyleng - 1] = '\0'; + yylval.str = strdup(yytext); + if(!yylval.str) + yyerror("out of memory"); + return STRING_ARG; +} + YY_BREAK +/* include: directive */ +case 131: +YY_RULE_SETUP +#line 291 "util/configlexer.lex" +{ + LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); } + YY_BREAK +case YY_STATE_EOF(include): +#line 293 "util/configlexer.lex" +{ + yyerror("EOF inside include directive"); + BEGIN(inc_prev); +} + YY_BREAK +case 132: +YY_RULE_SETUP +#line 297 "util/configlexer.lex" +{ LEXOUT(("ISP ")); /* ignore */ } + YY_BREAK +case 133: +/* rule 133 can match eol */ +YY_RULE_SETUP +#line 298 "util/configlexer.lex" +{ LEXOUT(("NL\n")); cfg_parser->line++;} + YY_BREAK +case 134: +YY_RULE_SETUP +#line 299 "util/configlexer.lex" +{ LEXOUT(("IQS ")); BEGIN(include_quoted); } + YY_BREAK +case 135: +YY_RULE_SETUP +#line 300 "util/configlexer.lex" +{ + LEXOUT(("Iunquotedstr(%s) ", yytext)); + config_start_include(yytext); + BEGIN(inc_prev); +} + YY_BREAK +case YY_STATE_EOF(include_quoted): +#line 305 "util/configlexer.lex" +{ + yyerror("EOF inside quoted string"); + BEGIN(inc_prev); +} + YY_BREAK +case 136: +YY_RULE_SETUP +#line 309 "util/configlexer.lex" +{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); } + YY_BREAK +case 137: +/* rule 137 can match eol */ +YY_RULE_SETUP +#line 310 "util/configlexer.lex" +{ yyerror("newline before \" in include name"); + cfg_parser->line++; BEGIN(inc_prev); } + YY_BREAK +case 138: +YY_RULE_SETUP +#line 312 "util/configlexer.lex" +{ + LEXOUT(("IQE ")); + yytext[yyleng - 1] = '\0'; + config_start_include(yytext); + BEGIN(inc_prev); +} + YY_BREAK +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(val): +#line 318 "util/configlexer.lex" +{ + yy_set_bol(1); /* Set beginning of line, so "^" rules match. */ + if (config_include_stack_ptr == 0) { + yyterminate(); + } else { + fclose(yyin); + config_end_include(); + } +} + YY_BREAK +case 139: +YY_RULE_SETUP +#line 328 "util/configlexer.lex" +{ LEXOUT(("unquotedstr(%s) ", yytext)); + if(--num_args == 0) { BEGIN(INITIAL); } + yylval.str = strdup(yytext); return STRING_ARG; } + YY_BREAK +case 140: +YY_RULE_SETUP +#line 332 "util/configlexer.lex" +{ + ub_c_error_msg("unknown keyword '%s'", yytext); + } + YY_BREAK +case 141: +YY_RULE_SETUP +#line 336 "util/configlexer.lex" +{ + ub_c_error_msg("stray '%s'", yytext); + } + YY_BREAK +case 142: +YY_RULE_SETUP +#line 340 "util/configlexer.lex" +ECHO; + YY_BREAK +#line 2949 "<stdout>" + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed yyin at a new source and called + * yylex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( yywrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * yytext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ +} /* end of yylex */ + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ +static int yy_get_next_buffer (void) +{ + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + register char *source = (yytext_ptr); + register int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + int num_to_read = + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; + + while ( num_to_read <= 0 ) + { /* Not enough room in the buffer - grow it. */ + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = YY_CURRENT_BUFFER; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + int new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), (size_t) num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + yyrestart(yyin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + } + + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; + + return ret_val; +} + +/* yy_get_previous_state - get the state just before the EOB char was reached */ + + static yy_state_type yy_get_previous_state (void) +{ + register yy_state_type yy_current_state; + register char *yy_cp; + + yy_current_state = (yy_start); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 1343 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + } + + return yy_current_state; +} + +/* yy_try_NUL_trans - try to make a transition on the NUL character + * + * synopsis + * next_state = yy_try_NUL_trans( current_state ); + */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ + register int yy_is_jam; + register char *yy_cp = (yy_c_buf_p); + + register YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 1343 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_is_jam = (yy_current_state == 1342); + + return yy_is_jam ? 0 : yy_current_state; +} + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + int offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + yyrestart(yyin ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( yywrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } + + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ + (yy_hold_char) = *++(yy_c_buf_p); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void yyrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } + + yy_init_buffer(YY_CURRENT_BUFFER,input_file ); + yy_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); + */ + yyensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + yy_load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (yywrap()) processing, but the only time this flag + * is looked at is after yywrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void yy_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); +} + +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_buf_size = size; + + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + yy_init_buffer(b,file ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with yy_create_buffer() + * + */ + void yy_delete_buffer (YY_BUFFER_STATE b ) +{ + + if ( ! b ) + return; + + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + yyfree((void *) b->yy_ch_buf ); + + yyfree((void *) b ); +} + +#ifndef __cplusplus +extern int isatty (int ); +#endif /* __cplusplus */ + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a yyrestart() or at EOF. + */ + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) + +{ + int oerrno = errno; + + yy_flush_buffer(b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* If b is the current buffer, then yy_init_buffer was _probably_ + * called from yyrestart() or through yy_get_next_buffer. + * In that case, we don't want to reset the lineno or column. + */ + if (b != YY_CURRENT_BUFFER){ + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } + + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + + errno = oerrno; +} + +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * + */ + void yy_flush_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) + return; + + b->yy_n_chars = 0; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + if ( b == YY_CURRENT_BUFFER ) + yy_load_buffer_state( ); +} + +/** Pushes the new state onto the stack. The new state becomes + * the current state. This function will allocate the stack + * if necessary. + * @param new_buffer The new state. + * + */ +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + yyensure_buffer_stack(); + + /* This block is copied from yy_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void yypop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } +} + +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +static void yyensure_buffer_stack (void) +{ + int num_to_alloc; + + if (!(yy_buffer_stack)) { + + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ + num_to_alloc = 1; + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } +} + +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + yy_switch_to_buffer(b ); + + return b; +} + +/** Setup the input buffer state to scan a string. The next call to yylex() will + * scan from a @e copy of @a str. + * @param yystr a NUL-terminated string to scan + * + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use + * yy_scan_bytes() instead. + */ +YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) +{ + + return yy_scan_bytes(yystr,strlen(yystr) ); +} + +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will + * scan from a @e copy of @a bytes. + * @param bytes the byte buffer to scan + * @param len the number of bytes in the buffer pointed to by @a bytes. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + int i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) yyalloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = yy_scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +static void yy_fatal_error (yyconst char* msg ) +{ + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} + +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + yytext[yyleng] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + yyleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} + +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} + +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} + +/** Get the length of the current token. + * + */ +int yyget_leng (void) +{ + return yyleng; +} + +/** Get the current token. + * + */ + +char *yyget_text (void) +{ + return yytext; +} + +/** Set the current line number. + * @param line_number + * + */ +void yyset_lineno (int line_number ) +{ + + yylineno = line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param in_str A readable stream. + * + * @see yy_switch_to_buffer + */ +void yyset_in (FILE * in_str ) +{ + yyin = in_str ; +} + +void yyset_out (FILE * out_str ) +{ + yyout = out_str ; +} + +int yyget_debug (void) +{ + return yy_flex_debug; +} + +void yyset_debug (int bdebug ) +{ + yy_flex_debug = bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from yylex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; +#else + yyin = (FILE *) 0; + yyout = (FILE *) 0; +#endif + + /* For future reference: Set errno on error, since we are called by + * yylex_init() + */ + return 0; +} + +/* yylex_destroy is for both reentrant and non-reentrant scanners. */ +int yylex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + yypop_buffer_state(); + } + + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; + + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +{ + register int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * s ) +{ + register int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *yyalloc (yy_size_t size ) +{ + return (void *) malloc( size ); +} + +void *yyrealloc (void * ptr, yy_size_t size ) +{ + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); +} + +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 340 "util/configlexer.lex" + + + |