unbound/util/configlexer.c

3810 lines
127 KiB
C
Raw Normal View History

#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 36
#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;
/* Limits of integral types. */
#ifndef INT8_MIN
#define INT8_MIN (-128)
#endif
#ifndef INT16_MIN
#define INT16_MIN (-32767-1)
#endif
#ifndef INT32_MIN
#define INT32_MIN (-2147483647-1)
#endif
#ifndef INT8_MAX
#define INT8_MAX (127)
#endif
#ifndef INT16_MAX
#define INT16_MAX (32767)
#endif
#ifndef INT32_MAX
#define INT32_MAX (2147483647)
#endif
#ifndef UINT8_MAX
#define UINT8_MAX (255U)
#endif
#ifndef UINT16_MAX
#define UINT16_MAX (65535U)
#endif
#ifndef UINT32_MAX
#define UINT32_MAX (4294967295U)
#endif
#endif /* ! C99 */
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
/* C99 requires __STDC__ to be defined as 1. */
#if defined (__STDC__)
#define YY_USE_CONST
#endif /* defined (__STDC__) */
#endif /* ! __cplusplus */
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative, possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative,
* we want to instead treat it as an 8-bit unsigned char, hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* Enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
#define BEGIN (yy_start) = 1 + 2 *
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YY_START (((yy_start) - 1) / 2)
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart(yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE 16384
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
*/
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
#endif
extern yy_size_t yyleng;
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
*yy_cp = (yy_hold_char); \
YY_RESTORE_YY_MORE_OFFSET \
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, (yytext_ptr) )
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
{
FILE *yy_input_file;
char *yy_ch_buf; /* input buffer */
char *yy_buf_pos; /* current position in input buffer */
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
yy_size_t yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
* delete it.
*/
int yy_is_our_buffer;
/* Whether this is an "interactive" input source; if so, and
* if we're using stdio for input, then we want to use getc()
* instead of fread(), to make sure we stop fetching input after
* each newline.
*/
int yy_is_interactive;
/* Whether we're considered to be at the beginning of a line.
* If so, '^' rules will be active on the next match, otherwise
* not.
*/
int yy_at_bol;
int yy_bs_lineno; /**< The line count. */
int yy_bs_column; /**< The column count. */
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
/* When an EOF's been seen but there's still some text to process
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
* shouldn't try reading from the input source any more. We might
* still have a bunch of tokens to match, though, because of
* possible backing-up.
*
* When we actually see the EOF, we change the status to "new"
* (via yyrestart()), so that the user can continue scanning by
* just pointing yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
};
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
/* Stack of input buffers. */
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state".
*
* Returns the top of the stack, or NULL.
*/
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)
/* Same as previous macro, but useful when we know that the buffer stack is not
* NULL or when we need an lvalue. For internal use only.
*/
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
yy_size_t yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 0; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* Flag which is used to allow yywrap()'s to do buffer switches
* instead of setting up a fresh yyin. A bit of a hack ...
*/
static int yy_did_buffer_switch_on_eof;
void yyrestart (FILE *input_file );
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
void yy_delete_buffer (YY_BUFFER_STATE b );
void yy_flush_buffer (YY_BUFFER_STATE b );
void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
void yypop_buffer_state (void );
static void yyensure_buffer_stack (void );
static void yy_load_buffer_state (void );
static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
void *yyalloc (yy_size_t );
void *yyrealloc (void *,yy_size_t );
void yyfree (void * );
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
/* Begin user sect3 */
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern int yylineno;
int yylineno = 1;
extern char *yytext;
#define yytext_ptr yytext
static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
static int yy_get_next_buffer (void );
static void yy_fatal_error (yyconst char msg[] );
/* 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 149
#define YY_END_OF_BUFFER 150
/* 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[1420] =
{ 0,
1, 1, 131, 131, 135, 135, 139, 139, 143, 143,
1, 1, 150, 147, 1, 129, 129, 148, 2, 148,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 131,
132, 132, 133, 148, 135, 136, 136, 137, 148, 142,
139, 140, 140, 141, 148, 143, 144, 144, 145, 148,
146, 130, 2, 134, 148, 146, 147, 0, 1, 2,
2, 2, 2, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 131, 0, 135, 0, 142, 0, 139, 143,
0, 146, 0, 2, 2, 146, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 146, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 146, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 65, 147, 147, 147, 147, 147, 6,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 146, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 146, 147,
147, 147, 147, 29, 147, 147, 147, 147, 147, 147,
147, 147, 12, 13, 147, 15, 14, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 122, 147, 147, 147, 147, 147,
3, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 146, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
138, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 32, 147, 147, 147, 147, 147,
147, 147, 147, 147, 33, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 80, 138, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 79, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 63, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 20, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 30, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 31, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 22, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 26, 147, 27, 147, 147, 147, 66, 147,
67, 147, 64, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 5, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 82, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 23, 147,
147, 147, 147, 107, 106, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 34, 147, 147, 147, 147, 147,
147, 147, 147, 69, 68, 147, 147, 147, 147, 147,
147, 147, 103, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 50, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 54, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 105, 147, 147, 147, 147, 147, 147,
147, 147, 147, 4, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 100, 147, 147,
147, 147, 147, 147, 147, 116, 101, 147, 127, 147,
21, 147, 147, 147, 147, 71, 147, 72, 70, 147,
147, 147, 147, 147, 147, 78, 147, 147, 147, 147,
147, 147, 147, 147, 147, 102, 147, 147, 147, 147,
126, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 62, 147, 147, 147, 147, 147, 147, 147,
147, 28, 147, 147, 17, 147, 147, 147, 16, 147,
87, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 41, 42, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 73, 147, 147,
147, 147, 147, 77, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 81, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
121, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 91, 147, 95,
147, 147, 147, 147, 76, 147, 147, 114, 147, 147,
147, 128, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 94, 147, 147, 147, 147, 43, 44, 147,
49, 96, 147, 108, 104, 147, 147, 37, 147, 98,
147, 147, 147, 147, 147, 7, 147, 61, 113, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 83, 147, 147, 123, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
97, 147, 36, 38, 147, 147, 147, 147, 147, 60,
147, 147, 147, 147, 117, 18, 19, 147, 147, 147,
147, 147, 147, 147, 58, 147, 147, 147, 147, 147,
147, 147, 147, 147, 119, 147, 147, 35, 147, 147,
147, 147, 147, 147, 11, 147, 147, 147, 147, 147,
147, 147, 10, 147, 147, 39, 147, 125, 118, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
90, 89, 147, 120, 115, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 45, 147, 124, 147, 147,
147, 147, 40, 147, 147, 147, 84, 86, 109, 147,
147, 147, 88, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 24, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
112, 147, 147, 147, 147, 147, 147, 147, 25, 147,
9, 147, 147, 110, 51, 147, 147, 147, 93, 147,
74, 147, 147, 147, 53, 57, 52, 147, 46, 147,
8, 147, 147, 92, 147, 147, 147, 56, 147, 47,
147, 111, 147, 147, 85, 75, 55, 48, 147, 147,
147, 147, 59, 147, 147, 147, 147, 99, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 5, 6, 1, 1, 1, 7, 1,
1, 1, 1, 1, 8, 1, 1, 1, 1, 1,
9, 10, 1, 11, 1, 1, 1, 12, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 13, 1, 1, 1, 1, 14, 15, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
38, 39, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static yyconst flex_int32_t yy_meta[40] =
{ 0,
1, 2, 3, 4, 5, 1, 6, 1, 1, 1,
1, 7, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1
} ;
static yyconst flex_int16_t yy_base[1434] =
{ 0,
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
87, 108, 2308, 1868, 50, 2836, 2836, 2836, 129, 94,
70, 104, 130, 90, 92, 115, 127, 95, 84, 111,
137, 148, 50, 150, 155, 157, 163, 171, 178, 1613,
2836, 2836, 2836, 70, 1321, 2836, 2836, 2836, 42, 1271,
1231, 2836, 2836, 2836, 195, 1162, 2836, 2836, 2836, 141,
980, 2836, 202, 2836, 206, 122, 800, 212, 120, 0,
223, 0, 0, 103, 147, 154, 158, 192, 199, 207,
208, 205, 209, 221, 218, 220, 224, 225, 229, 230,
231, 238, 251, 236, 247, 250, 237, 248, 256, 259,
167, 263, 254, 249, 264, 265, 271, 273, 274, 125,
275, 277, 284, 278, 281, 285, 288, 286, 289, 292,
296, 298, 763, 308, 643, 315, 616, 326, 439, 381,
319, 301, 330, 334, 0, 327, 331, 337, 314, 305,
333, 335, 343, 340, 346, 349, 356, 350, 339, 352,
49, 359, 361, 353, 354, 368, 364, 373, 371, 342,
374, 384, 385, 392, 393, 391, 375, 394, 397, 404,
406, 403, 182, 395, 405, 407, 408, 409, 412, 413,
414, 419, 422, 420, 421, 426, 430, 427, 431, 434,
444, 447, 448, 441, 445, 449, 456, 454, 455, 458,
452, 461, 463, 468, 474, 472, 465, 475, 477, 478,
479, 489, 483, 491, 493, 499, 485, 495, 487, 496,
500, 502, 503, 504, 511, 512, 510, 514, 517, 518,
519, 521, 525, 524, 535, 529, 530, 541, 537, 542,
543, 540, 548, 556, 552, 553, 554, 560, 561, 562,
569, 565, 563, 566, 573, 567, 575, 576, 595, 585,
583, 587, 593, 589, 579, 596, 601, 602, 603, 620,
605, 613, 624, 623, 632, 606, 622, 631, 634, 633,
636, 637, 639, 641, 642, 644, 652, 645, 662, 658,
661, 666, 646, 667, 674, 660, 670, 672, 673, 675,
678, 680, 685, 2836, 687, 682, 689, 690, 692, 2836,
691, 693, 694, 695, 698, 707, 696, 705, 709, 712,
710, 715, 717, 718, 738, 721, 719, 729, 723, 722,
731, 728, 747, 736, 740, 743, 749, 745, 750, 756,
757, 759, 762, 775, 760, 761, 769, 778, 771, 773,
781, 780, 786, 787, 788, 791, 793, 799, 797, 805,
807, 798, 808, 810, 816, 817, 815, 809, 823, 822,
812, 825, 830, 824, 839, 832, 835, 836, 843, 844,
845, 847, 846, 854, 853, 852, 861, 851, 860, 865,
866, 867, 868, 877, 874, 875, 880, 886, 887, 882,
888, 891, 892, 893, 894, 895, 896, 900, 902, 903,
911, 897, 907, 913, 919, 921, 922, 904, 924, 925,
928, 927, 931, 935, 929, 939, 941, 942, 943, 949,
951, 944, 953, 2836, 963, 957, 959, 960, 964, 966,
945, 967, 2836, 2836, 968, 2836, 2836, 974, 969, 973,
981, 986, 987, 979, 989, 991, 996, 999, 1000, 1002,
1007, 1009, 1010, 1003, 1011, 1013, 1018, 1016, 1020, 1022,
1025, 1033, 1034, 1032, 1036, 1037, 1039, 1026, 1041, 1043,
1049, 1051, 1057, 1053, 2836, 1055, 1040, 1060, 1056, 1062,
2836, 1063, 1064, 1066, 1068, 1067, 1070, 1074, 1075, 1076,
1077, 1082, 1078, 1080, 1081, 1085, 1098, 1100, 1102, 1097,
1103, 1104, 1105, 1107, 1117, 1110, 1111, 1114, 1123, 1119,
1121, 1125, 1122, 1128, 1130, 1131, 1133, 1156, 1134, 1135,
1141, 1136, 1140, 1143, 1144, 1142, 1146, 1148, 1169, 1170,
1168, 1174, 1175, 1152, 1177, 1181, 1179, 1180, 1184, 1186,
2836, 1197, 1191, 1185, 1195, 1198, 1200, 1201, 1202, 1206,
1205, 1209, 1207, 1217, 2836, 1213, 1215, 1214, 1222, 1226,
1230, 1228, 1238, 1241, 2836, 1245, 1242, 1247, 1234, 1248,
1251, 1252, 1253, 1255, 1218, 1256, 1257, 1262, 1265, 1259,
1264, 1266, 1269, 1270, 1276, 1275, 1278, 1279, 1282, 1281,
1286, 1296, 1299, 1287, 1301, 1293, 1295, 1303, 1308, 1305,
1307, 1306, 1310, 2836, 239, 1313, 1311, 1314, 1322, 1324,
1328, 1318, 1329, 1331, 1330, 1337, 1320, 1341, 1338, 1342,
1344, 1346, 1349, 1347, 1353, 1350, 1357, 1351, 1359, 1362,
1363, 1365, 1367, 1368, 1370, 1372, 1371, 1373, 2836, 1383,
1379, 1381, 1380, 1385, 1397, 1394, 1395, 1398, 1404, 1401,
1405, 1406, 1414, 1403, 1416, 1409, 1417, 1424, 1425, 1422,
1426, 1428, 1418, 2836, 1432, 1433, 1431, 1438, 1434, 1439,
1440, 1441, 1443, 1451, 1445, 1456, 2836, 1458, 1457, 1463,
1465, 1466, 1470, 1467, 1474, 1471, 1475, 1476, 1478, 1487,
1477, 1479, 1489, 2836, 1497, 1498, 1494, 1505, 1481, 1501,
1502, 1504, 1506, 1507, 1514, 1508, 1511, 1515, 1516, 1512,
1510, 1518, 1519, 1522, 2836, 1539, 1537, 1521, 1523, 1525,
1540, 1541, 1524, 1547, 1548, 1550, 1553, 1555, 1552, 1556,
1557, 1558, 1554, 1565, 1560, 1562, 1573, 1576, 1582, 1583,
1579, 2836, 1585, 1586, 1587, 1588, 1597, 1590, 1593, 1595,
1598, 1599, 1600, 1608, 1602, 1604, 1609, 1610, 1605, 1611,
1615, 1616, 1620, 1622, 1627, 1633, 1631, 1635, 1636, 1639,
1637, 1649, 2836, 1638, 2836, 1645, 1646, 1653, 2836, 1655,
2836, 1659, 2836, 1660, 1661, 1652, 1664, 1665, 1666, 1668,
1670, 1672, 1673, 1675, 1676, 1677, 1680, 1685, 2836, 1678,
1684, 1693, 1682, 1686, 1688, 1701, 1695, 1709, 1691, 1705,
1713, 1710, 2836, 1707, 1714, 1717, 1718, 1720, 1726, 1724,
1727, 1728, 1729, 1730, 1732, 1733, 1737, 1734, 1740, 1741,
1742, 1746, 1744, 1750, 1753, 1751, 1752, 1754, 2836, 1759,
1757, 1767, 1765, 2836, 2836, 1769, 1770, 1777, 1778, 1780,
1766, 1783, 1784, 1791, 1788, 1790, 1796, 1797, 1798, 1799,
1800, 1801, 1803, 1804, 2836, 1811, 1805, 1813, 1814, 1807,
1821, 1817, 1825, 2836, 2836, 1829, 1826, 1831, 1832, 1838,
1836, 1835, 2836, 1840, 1841, 1842, 1843, 1850, 1854, 1844,
1846, 1857, 1858, 1859, 1862, 1869, 1865, 1866, 1870, 1879,
1881, 2836, 1873, 1886, 1875, 1889, 1895, 1883, 1891, 1892,
1894, 1896, 1898, 1900, 1906, 1902, 2836, 1908, 1907, 1914,
1911, 1918, 1919, 1926, 1915, 1913, 1922, 1923, 1924, 1931,
1928, 1937, 1932, 2836, 1935, 1940, 1941, 1946, 1948, 1947,
1949, 1951, 1955, 2836, 1958, 1964, 1960, 1961, 1966, 1962,
1969, 1970, 1972, 1974, 1976, 1975, 1979, 1983, 1984, 1986,
1989, 1992, 1999, 1997, 2003, 2009, 2001, 2005, 2012, 2008,
2011, 2013, 2014, 2021, 2018, 2024, 2022, 2836, 2023, 2029,
2031, 2032, 2036, 2037, 2033, 2836, 2836, 2035, 2836, 2044,
2836, 2045, 2048, 2049, 2050, 2836, 2052, 2836, 2836, 2053,
2060, 2054, 2061, 2063, 2069, 2836, 2070, 2064, 2072, 2074,
2075, 2076, 2078, 2079, 2080, 2836, 2081, 2083, 2089, 2082,
2836, 2092, 2097, 2093, 2098, 2099, 2104, 2105, 2102, 2108,
2116, 2112, 2836, 2113, 2115, 2122, 2114, 2118, 2123, 2124,
2131, 2836, 2134, 2135, 2836, 2136, 2137, 2138, 2836, 2141,
2836, 2142, 2144, 2145, 2146, 2151, 2152, 2163, 2153, 2156,
2164, 2158, 2166, 2167, 2836, 2836, 2168, 2174, 2178, 2176,
2180, 2182, 2183, 2184, 2186, 2189, 2190, 2836, 2192, 2193,
2196, 2194, 2197, 2836, 2201, 2195, 2207, 2208, 2202, 2205,
2211, 2213, 2223, 2225, 2214, 2228, 2230, 2219, 2836, 2231,
2235, 2232, 2240, 2237, 2241, 2242, 2243, 2249, 2246, 2253,
2836, 2257, 2250, 2260, 2254, 2258, 2262, 2264, 2266, 2269,
2268, 2271, 2272, 2274, 2277, 2280, 2278, 2836, 2284, 2836,
2285, 2287, 2297, 2298, 2836, 2293, 2300, 2836, 2302, 2296,
2310, 2836, 2311, 2303, 2314, 2316, 2317, 2318, 2319, 2320,
2328, 2324, 2836, 2326, 2327, 2333, 2329, 2836, 2836, 2334,
2836, 2836, 2344, 2836, 2836, 2340, 2347, 2836, 2349, 2836,
2355, 2351, 2338, 2336, 2356, 2836, 2360, 2836, 2836, 2357,
2363, 2353, 2364, 2371, 2373, 2375, 2366, 2368, 2376, 2377,
2379, 2380, 2381, 2383, 2384, 2387, 2390, 2392, 2394, 2395,
2396, 2397, 2398, 2400, 2836, 2404, 2406, 2836, 2412, 2408,
2415, 2416, 2419, 2420, 2421, 2424, 2431, 2427, 2425, 2428,
2836, 2432, 2836, 2836, 2429, 2435, 2446, 2439, 2441, 2836,
2453, 2443, 2456, 2458, 2836, 2836, 2836, 2460, 2447, 2463,
2465, 2466, 2464, 2467, 2836, 2473, 2474, 2476, 2477, 2485,
2487, 2494, 2491, 2496, 2836, 2493, 2468, 2836, 2497, 2499,
2501, 2502, 2503, 2505, 2836, 2506, 2507, 2509, 2513, 2516,
2519, 2518, 2836, 2520, 2517, 2836, 2532, 2836, 2836, 2521,
2533, 2535, 2537, 2540, 2543, 2528, 2544, 2550, 2548, 2478,
2836, 2836, 2549, 2836, 2836, 2551, 2552, 2553, 2556, 2559,
2561, 2554, 2562, 2564, 2563, 2836, 2565, 2836, 2567, 2577,
2578, 2571, 2836, 2581, 2579, 2569, 2836, 2836, 2836, 2584,
2586, 2592, 2836, 2593, 2595, 2596, 2597, 2600, 2602, 2603,
2605, 2606, 2608, 2607, 2609, 2617, 2618, 2836, 2621, 2610,
2622, 2626, 2632, 2627, 2629, 2634, 2636, 2637, 2639, 2640,
2836, 2642, 2643, 2651, 2653, 2658, 2655, 2662, 2836, 2663,
2836, 2666, 2667, 2836, 2836, 2668, 2670, 2673, 2836, 2674,
2836, 2671, 2681, 2682, 2836, 2836, 2836, 2684, 2836, 2685,
2836, 2688, 2675, 2836, 2677, 2693, 2697, 2836, 2699, 2836,
2701, 2836, 2694, 2702, 2836, 2836, 2836, 2836, 2704, 2705,
2710, 2707, 2836, 2711, 2713, 2712, 2715, 2836, 2836, 2744,
2751, 2758, 2765, 2772, 94, 2779, 2786, 2793, 2800, 2807,
2814, 2821, 2828
} ;
static yyconst flex_int16_t yy_def[1434] =
{ 0,
1419, 1, 1420, 1420, 1421, 1421, 1422, 1422, 1423, 1423,
1424, 1424, 1419, 1425, 1419, 1419, 1419, 1419, 1426, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1427,
1419, 1419, 1419, 1427, 1428, 1419, 1419, 1419, 1428, 1429,
1419, 1419, 1419, 1419, 1429, 1430, 1419, 1419, 1419, 1430,
1431, 1419, 1432, 1419, 1431, 1431, 1425, 1425, 1419, 1433,
1426, 1433, 1426, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1427, 1427, 1428, 1428, 1429, 1429, 1419, 1430,
1430, 1431, 1431, 1432, 1432, 1431, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1431, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1431, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1419,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1431, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1431, 1425,
1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1419, 1419, 1425, 1419, 1419, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425,
1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1431, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1419, 1431, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1419, 1425, 1419, 1425, 1425, 1425, 1419, 1425,
1419, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425,
1425, 1425, 1425, 1419, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1419, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1419, 1419, 1425, 1419, 1425,
1419, 1425, 1425, 1425, 1425, 1419, 1425, 1419, 1419, 1425,
1425, 1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425,
1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1419, 1425, 1425, 1419, 1425, 1425, 1425, 1419, 1425,
1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1419, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425, 1425,
1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425, 1419,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1419, 1425, 1425,
1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1419, 1425, 1425, 1425, 1425, 1419, 1419, 1425,
1419, 1419, 1425, 1419, 1419, 1425, 1425, 1419, 1425, 1419,
1425, 1425, 1425, 1425, 1425, 1419, 1425, 1419, 1419, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1419, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1419, 1425, 1419, 1419, 1425, 1425, 1425, 1425, 1425, 1419,
1425, 1425, 1425, 1425, 1419, 1419, 1419, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1419, 1425, 1425,
1425, 1425, 1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1419, 1425, 1425, 1419, 1425, 1419, 1419, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1419, 1419, 1425, 1419, 1419, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1419, 1425, 1419, 1425, 1425,
1425, 1425, 1419, 1425, 1425, 1425, 1419, 1419, 1419, 1425,
1425, 1425, 1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425, 1425,
1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1425,
1419, 1425, 1425, 1425, 1425, 1425, 1425, 1425, 1419, 1425,
1419, 1425, 1425, 1419, 1419, 1425, 1425, 1425, 1419, 1425,
1419, 1425, 1425, 1425, 1419, 1419, 1419, 1425, 1419, 1425,
1419, 1425, 1425, 1419, 1425, 1425, 1425, 1419, 1425, 1419,
1425, 1419, 1425, 1425, 1419, 1419, 1419, 1419, 1425, 1425,
1425, 1425, 1419, 1425, 1425, 1425, 1425, 1419, 0, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419
} ;
static yyconst flex_int16_t yy_nxt[2876] =
{ 0,
14, 15, 16, 17, 18, 19, 18, 14, 14, 14,
14, 18, 20, 21, 14, 22, 23, 24, 25, 14,
26, 27, 28, 29, 30, 31, 32, 33, 34, 14,
35, 36, 37, 38, 39, 14, 14, 14, 14, 41,
42, 43, 41, 42, 43, 125, 46, 47, 125, 44,
48, 69, 44, 46, 47, 70, 49, 48, 57, 58,
59, 68, 68, 49, 51, 52, 53, 54, 60, 18,
57, 58, 59, 123, 123, 55, 51, 52, 53, 54,
60, 18, 68, 104, 214, 74, 75, 55, 15, 16,
17, 62, 63, 64, 67, 67, 68, 67, 67, 65,
67, 95, 68, 76, 68, 67, 85, 68, 66, 15,
16, 17, 62, 63, 64, 68, 68, 77, 137, 87,
65, 69, 94, 68, 78, 70, 86, 68, 88, 66,
72, 79, 72, 72, 133, 72, 89, 68, 96, 68,
72, 73, 68, 90, 130, 130, 91, 80, 136, 68,
97, 81, 179, 92, 82, 93, 83, 84, 98, 68,
68, 101, 68, 138, 99, 102, 68, 68, 100, 68,
68, 105, 109, 140, 112, 68, 116, 106, 117, 68,
107, 103, 110, 68, 113, 111, 139, 108, 114, 115,
68, 121, 169, 118, 68, 122, 127, 119, 127, 127,
238, 127, 120, 72, 68, 72, 72, 132, 72, 132,
132, 68, 132, 67, 135, 67, 67, 68, 67, 68,
68, 68, 141, 67, 72, 142, 72, 72, 147, 72,
68, 143, 68, 68, 72, 73, 68, 68, 144, 145,
146, 68, 68, 68, 149, 153, 148, 154, 68, 68,
68, 133, 150, 156, 151, 152, 157, 155, 159, 68,
68, 68, 68, 68, 161, 163, 68, 160, 68, 164,
158, 68, 167, 165, 166, 68, 68, 68, 168, 171,
173, 172, 170, 68, 162, 68, 68, 68, 175, 68,
68, 182, 176, 68, 184, 174, 68, 68, 68, 178,
68, 68, 183, 189, 68, 177, 180, 181, 68, 191,
68, 123, 123, 133, 185, 186, 187, 68, 125, 188,
192, 125, 130, 130, 190, 198, 68, 127, 193, 127,
127, 132, 127, 132, 132, 72, 132, 72, 72, 133,
72, 197, 194, 68, 196, 68, 135, 68, 195, 68,
201, 68, 68, 204, 68, 68, 202, 203, 68, 205,
199, 68, 68, 211, 68, 68, 68, 200, 68, 213,
212, 68, 206, 68, 224, 215, 68, 207, 216, 217,
68, 218, 208, 68, 223, 68, 68, 68, 209, 210,
222, 226, 219, 131, 221, 220, 68, 68, 227, 228,
230, 233, 225, 68, 68, 68, 68, 68, 232, 68,
229, 235, 231, 236, 234, 68, 68, 68, 68, 68,
68, 68, 237, 240, 68, 68, 68, 239, 242, 249,
245, 68, 68, 68, 68, 251, 243, 253, 68, 68,
129, 241, 68, 68, 244, 252, 68, 256, 246, 247,
248, 257, 250, 133, 259, 255, 68, 68, 254, 68,
68, 68, 260, 265, 68, 262, 68, 68, 68, 264,
68, 266, 269, 68, 258, 68, 263, 68, 271, 261,
68, 272, 267, 273, 68, 274, 68, 68, 268, 68,
68, 68, 277, 275, 278, 68, 280, 68, 270, 68,
279, 68, 276, 68, 282, 68, 284, 68, 68, 281,
283, 68, 68, 289, 68, 68, 68, 285, 293, 291,
287, 288, 68, 68, 68, 286, 68, 294, 292, 68,
68, 68, 290, 68, 295, 304, 68, 68, 298, 302,
303, 68, 68, 296, 300, 301, 297, 68, 310, 68,
305, 299, 68, 68, 68, 68, 312, 308, 306, 311,
68, 307, 309, 315, 68, 68, 68, 313, 68, 318,
317, 319, 68, 68, 68, 68, 325, 68, 68, 68,
314, 68, 326, 324, 316, 68, 320, 68, 68, 321,
331, 68, 322, 330, 323, 68, 327, 68, 328, 133,
329, 68, 333, 347, 342, 68, 332, 68, 68, 334,
335, 346, 341, 68, 68, 68, 345, 68, 68, 336,
343, 337, 338, 339, 344, 68, 340, 351, 128, 349,
350, 354, 68, 348, 68, 68, 68, 352, 358, 353,
355, 356, 357, 68, 68, 68, 68, 362, 68, 68,
359, 68, 363, 68, 68, 126, 68, 68, 68, 360,
361, 369, 366, 368, 68, 365, 371, 364, 370, 372,
68, 376, 68, 68, 68, 367, 373, 374, 68, 68,
377, 378, 68, 375, 68, 68, 68, 68, 383, 382,
68, 380, 68, 379, 68, 384, 381, 68, 386, 68,
387, 68, 68, 68, 68, 68, 68, 68, 68, 389,
68, 390, 395, 385, 397, 388, 391, 68, 396, 68,
394, 68, 68, 392, 68, 393, 398, 68, 401, 68,
68, 68, 403, 68, 68, 68, 413, 402, 415, 399,
68, 68, 400, 68, 417, 404, 414, 412, 68, 405,
68, 406, 68, 411, 416, 68, 407, 68, 408, 68,
419, 68, 68, 420, 421, 418, 409, 425, 68, 68,
422, 68, 68, 68, 133, 124, 410, 426, 429, 424,
423, 68, 430, 68, 431, 68, 428, 68, 427, 434,
68, 432, 68, 68, 433, 435, 437, 436, 68, 68,
68, 439, 443, 68, 444, 68, 445, 438, 446, 68,
68, 68, 68, 442, 448, 440, 447, 68, 441, 68,
68, 68, 68, 452, 68, 450, 451, 68, 68, 68,
456, 449, 454, 453, 68, 68, 68, 68, 458, 457,
459, 455, 68, 462, 68, 460, 464, 68, 68, 461,
466, 68, 467, 465, 463, 68, 68, 68, 68, 68,
469, 474, 471, 68, 68, 68, 68, 476, 478, 470,
473, 475, 68, 68, 468, 472, 477, 68, 68, 68,
68, 486, 482, 481, 484, 483, 68, 68, 485, 68,
479, 480, 68, 490, 68, 488, 487, 491, 68, 68,
68, 492, 494, 68, 68, 68, 68, 68, 68, 68,
489, 499, 68, 493, 68, 68, 68, 500, 504, 68,
506, 495, 496, 68, 497, 68, 498, 501, 505, 507,
503, 68, 502, 68, 68, 511, 68, 68, 509, 68,
68, 68, 508, 68, 513, 514, 515, 68, 516, 512,
510, 68, 517, 68, 68, 133, 68, 68, 519, 518,
522, 68, 520, 68, 523, 68, 526, 524, 521, 68,
528, 68, 68, 529, 527, 68, 68, 525, 68, 68,
68, 68, 534, 530, 532, 68, 68, 538, 540, 539,
531, 68, 133, 68, 535, 537, 533, 536, 68, 68,
541, 68, 542, 68, 547, 543, 550, 551, 68, 548,
544, 68, 68, 553, 68, 68, 545, 546, 552, 68,
555, 68, 68, 68, 556, 68, 549, 557, 68, 554,
68, 561, 68, 560, 68, 558, 565, 68, 68, 564,
566, 567, 559, 562, 68, 68, 68, 568, 68, 68,
563, 68, 68, 68, 569, 68, 572, 570, 573, 571,
575, 68, 574, 68, 577, 68, 580, 68, 68, 68,
579, 576, 68, 581, 68, 68, 68, 583, 68, 68,
68, 586, 68, 582, 578, 584, 68, 68, 68, 68,
68, 592, 68, 68, 68, 591, 585, 68, 597, 587,
588, 589, 590, 595, 596, 600, 593, 601, 594, 68,
68, 599, 68, 598, 68, 68, 68, 68, 602, 68,
607, 605, 68, 68, 608, 609, 68, 604, 603, 68,
612, 68, 614, 68, 68, 68, 615, 133, 606, 611,
68, 610, 68, 68, 617, 68, 68, 68, 68, 616,
626, 613, 68, 68, 68, 68, 68, 630, 68, 620,
68, 618, 627, 629, 68, 644, 635, 619, 68, 631,
632, 621, 634, 622, 131, 633, 636, 623, 628, 624,
68, 68, 68, 637, 625, 641, 68, 68, 638, 68,
639, 68, 68, 68, 645, 649, 68, 68, 68, 643,
642, 646, 650, 68, 651, 647, 652, 68, 640, 68,
68, 648, 68, 68, 68, 655, 653, 68, 68, 68,
654, 68, 657, 659, 663, 68, 68, 68, 662, 68,
68, 656, 129, 658, 68, 661, 684, 660, 68, 667,
68, 666, 68, 668, 664, 665, 68, 669, 672, 670,
68, 671, 673, 68, 68, 675, 674, 68, 676, 68,
68, 678, 677, 68, 68, 68, 680, 68, 68, 68,
682, 68, 683, 687, 68, 686, 68, 68, 68, 690,
679, 68, 68, 128, 685, 681, 688, 68, 68, 689,
68, 68, 695, 68, 68, 696, 691, 698, 68, 68,
692, 694, 693, 701, 699, 68, 702, 68, 68, 697,
700, 68, 704, 68, 703, 68, 708, 68, 68, 68,
68, 706, 68, 68, 705, 68, 68, 707, 710, 716,
68, 717, 68, 126, 68, 709, 68, 711, 714, 713,
68, 68, 68, 68, 719, 718, 715, 712, 721, 68,
68, 724, 725, 68, 68, 720, 68, 722, 68, 68,
727, 68, 68, 68, 723, 68, 730, 729, 726, 68,
732, 68, 735, 734, 68, 68, 728, 68, 731, 68,
68, 733, 68, 68, 68, 68, 736, 738, 742, 737,
746, 68, 68, 68, 745, 68, 739, 68, 741, 743,
740, 748, 750, 744, 751, 747, 68, 68, 752, 68,
68, 756, 749, 68, 757, 68, 68, 68, 68, 755,
754, 68, 758, 759, 761, 753, 68, 760, 68, 68,
68, 765, 766, 762, 68, 763, 68, 68, 68, 767,
68, 773, 768, 68, 68, 68, 68, 764, 774, 769,
68, 68, 68, 68, 770, 68, 771, 68, 772, 779,
775, 776, 783, 68, 777, 778, 780, 785, 68, 68,
68, 781, 784, 786, 787, 68, 789, 68, 68, 68,
782, 791, 68, 68, 792, 793, 68, 68, 68, 68,
68, 68, 795, 68, 788, 797, 796, 800, 790, 68,
798, 68, 806, 794, 802, 803, 68, 799, 801, 68,
68, 804, 805, 68, 68, 809, 68, 68, 68, 68,
68, 812, 68, 68, 68, 808, 68, 68, 68, 816,
68, 68, 807, 68, 68, 68, 68, 68, 810, 821,
813, 825, 811, 814, 817, 815, 822, 818, 819, 68,
823, 68, 68, 68, 820, 827, 830, 828, 824, 68,
68, 826, 68, 831, 68, 68, 68, 68, 68, 68,
68, 829, 68, 837, 68, 839, 838, 68, 832, 834,
843, 833, 835, 836, 840, 68, 841, 842, 68, 846,
847, 68, 848, 845, 68, 68, 849, 68, 68, 68,
68, 855, 68, 850, 853, 68, 844, 68, 854, 68,
68, 68, 68, 851, 68, 861, 68, 68, 860, 852,
68, 68, 68, 68, 856, 124, 857, 68, 68, 869,
859, 866, 68, 862, 68, 863, 858, 870, 871, 68,
864, 865, 868, 68, 867, 68, 875, 68, 68, 68,
68, 68, 872, 876, 873, 877, 879, 68, 68, 882,
883, 68, 881, 874, 68, 68, 884, 68, 880, 878,
885, 68, 68, 68, 887, 886, 68, 68, 68, 888,
68, 893, 68, 891, 68, 68, 895, 68, 68, 68,
68, 890, 68, 898, 68, 892, 68, 68, 68, 897,
68, 889, 900, 68, 894, 68, 903, 68, 901, 896,
902, 899, 908, 68, 904, 907, 909, 68, 905, 68,
906, 68, 68, 910, 912, 68, 68, 915, 913, 68,
68, 911, 68, 919, 916, 918, 68, 920, 68, 68,
68, 68, 68, 914, 68, 68, 68, 924, 927, 68,
926, 928, 68, 68, 68, 917, 68, 921, 68, 922,
935, 923, 68, 68, 68, 68, 68, 925, 933, 68,
929, 68, 932, 930, 931, 934, 940, 68, 68, 68,
944, 68, 68, 936, 937, 945, 939, 938, 941, 68,
68, 942, 68, 943, 946, 68, 68, 949, 953, 954,
68, 948, 68, 68, 950, 952, 947, 951, 68, 68,
68, 68, 68, 68, 961, 68, 68, 68, 964, 68,
966, 956, 955, 68, 958, 68, 68, 957, 969, 68,
960, 962, 967, 68, 963, 965, 959, 68, 68, 968,
971, 68, 970, 68, 68, 977, 972, 68, 68, 973,
68, 974, 68, 68, 68, 68, 68, 981, 68, 982,
983, 975, 68, 976, 978, 979, 68, 984, 988, 68,
68, 68, 980, 987, 68, 985, 992, 68, 68, 986,
68, 68, 68, 990, 989, 68, 991, 68, 995, 993,
996, 68, 997, 68, 998, 68, 994, 999, 68, 1000,
1001, 68, 1002, 68, 68, 1006, 68, 68, 68, 1008,
68, 1009, 68, 1010, 68, 1012, 1003, 1011, 68, 68,
68, 1014, 1004, 68, 1005, 68, 68, 68, 1007, 1016,
68, 68, 1017, 1018, 68, 68, 68, 1013, 68, 1019,
68, 1020, 1026, 68, 68, 1022, 1021, 68, 1015, 68,
1028, 1031, 68, 68, 1023, 1024, 1030, 1025, 68, 68,
68, 68, 1036, 68, 1029, 1033, 1027, 68, 1032, 1034,
68, 1040, 68, 68, 68, 1039, 68, 1043, 68, 1044,
1042, 68, 68, 1038, 68, 1035, 68, 68, 68, 1037,
1045, 68, 1041, 1050, 1052, 68, 68, 1055, 68, 1047,
1051, 68, 1046, 1049, 68, 1048, 1058, 1053, 1059, 68,
1060, 68, 1054, 68, 1061, 68, 1062, 68, 1057, 1065,
68, 68, 1056, 68, 68, 68, 68, 1067, 1070, 1064,
68, 1072, 1066, 68, 68, 68, 68, 1068, 1074, 1063,
1075, 68, 1076, 68, 68, 68, 1073, 68, 68, 68,
1077, 1069, 1071, 1078, 1080, 1079, 68, 68, 1083, 1081,
68, 68, 68, 1088, 68, 68, 68, 1090, 1082, 1084,
1086, 1087, 68, 68, 1092, 68, 68, 1093, 1085, 1089,
1094, 68, 68, 1091, 68, 1097, 68, 68, 68, 1095,
68, 68, 68, 68, 68, 68, 1096, 1105, 1104, 1099,
1100, 68, 1101, 1107, 68, 68, 1102, 1098, 1109, 68,
68, 68, 1103, 1112, 68, 1111, 68, 68, 1108, 1106,
68, 1113, 1114, 1117, 68, 68, 68, 68, 68, 1118,
68, 1110, 1115, 1121, 68, 68, 68, 1125, 1122, 1123,
1116, 1120, 1124, 68, 1119, 1126, 68, 68, 68, 68,
68, 1128, 1129, 68, 68, 1127, 68, 68, 68, 1133,
1134, 1130, 1138, 68, 68, 68, 1132, 1137, 68, 1131,
68, 1135, 1142, 1139, 1140, 68, 68, 1145, 68, 68,
68, 1143, 1136, 1144, 1141, 1148, 68, 1146, 68, 1147,
68, 1149, 68, 1152, 68, 68, 68, 1151, 68, 1153,
1150, 68, 68, 1155, 68, 68, 68, 68, 68, 68,
1164, 1154, 1163, 68, 68, 1167, 1168, 68, 1161, 68,
68, 1157, 1169, 68, 1159, 68, 68, 1156, 1158, 1160,
1162, 68, 1165, 1166, 1171, 68, 1172, 68, 1170, 1174,
68, 1175, 68, 68, 68, 1173, 1178, 68, 1177, 68,
1176, 1180, 68, 68, 68, 68, 1184, 1183, 68, 1182,
1186, 68, 68, 1179, 1188, 68, 68, 1181, 1189, 68,
68, 1185, 68, 1191, 68, 1192, 68, 1187, 68, 1194,
68, 68, 1193, 68, 68, 1198, 68, 1203, 1190, 68,
68, 1196, 68, 1200, 1204, 1201, 68, 68, 1199, 68,
1207, 1195, 1197, 1202, 1208, 68, 1206, 1419, 68, 68,
68, 1209, 68, 1214, 68, 68, 1205, 1213, 1217, 1210,
1211, 1215, 68, 68, 1212, 1218, 68, 1216, 68, 68,
68, 68, 68, 1219, 1221, 1224, 68, 1223, 68, 68,
68, 68, 1225, 1229, 1227, 68, 68, 1230, 68, 1220,
68, 1222, 68, 1228, 1226, 1231, 68, 1232, 1233, 68,
1234, 68, 1235, 68, 1236, 68, 1237, 68, 68, 68,
1238, 1240, 68, 1239, 1241, 68, 68, 1242, 68, 1243,
68, 1244, 1245, 68, 1246, 68, 1247, 68, 68, 68,
1248, 68, 68, 68, 1255, 68, 68, 1253, 1249, 68,
1250, 1251, 68, 1252, 68, 1256, 68, 68, 68, 68,
68, 1265, 68, 1254, 1263, 1264, 68, 1259, 68, 1267,
68, 1261, 1258, 1268, 68, 1257, 1262, 68, 68, 1269,
1260, 68, 68, 68, 1266, 1275, 68, 68, 1276, 68,
68, 68, 1270, 68, 68, 1419, 1271, 68, 1273, 1272,
1282, 68, 1274, 68, 1277, 68, 1278, 1283, 68, 68,
1279, 1281, 1419, 1280, 1286, 68, 1284, 1288, 68, 1289,
68, 1285, 68, 1290, 1287, 68, 68, 68, 68, 68,
68, 1291, 1293, 1294, 1292, 68, 68, 1296, 68, 68,
68, 1298, 1307, 1299, 1334, 1295, 1301, 68, 1302, 68,
1297, 1303, 1304, 68, 1300, 68, 68, 1305, 68, 68,
1306, 68, 1308, 68, 68, 68, 1312, 68, 68, 68,
1316, 68, 1310, 1311, 1309, 68, 1313, 1318, 68, 68,
68, 68, 68, 68, 1317, 1320, 1419, 1314, 1315, 1319,
68, 1321, 1322, 1323, 68, 68, 1325, 68, 1327, 68,
1326, 1328, 68, 1324, 1329, 68, 68, 1332, 1330, 1333,
68, 68, 68, 68, 68, 68, 68, 1335, 68, 1339,
1331, 68, 1337, 68, 68, 68, 68, 68, 1341, 68,
1346, 68, 1336, 68, 1338, 1344, 1342, 1340, 1348, 68,
68, 68, 1350, 68, 1349, 1345, 68, 1347, 68, 1355,
1343, 1354, 1351, 1352, 68, 68, 1353, 68, 68, 68,
1357, 1361, 68, 1356, 68, 68, 1358, 68, 68, 68,
68, 68, 68, 1362, 1360, 1366, 1365, 1359, 1369, 68,
68, 1363, 1371, 68, 68, 1370, 1364, 1374, 68, 68,
1368, 68, 1372, 1375, 68, 1367, 68, 1379, 68, 68,
1381, 68, 68, 1377, 68, 68, 1373, 1419, 1376, 1419,
1384, 1380, 1385, 68, 1386, 68, 1378, 68, 1383, 1387,
68, 1382, 1388, 1389, 68, 68, 1390, 1391, 68, 68,
68, 1394, 68, 68, 1392, 68, 68, 68, 1393, 68,
1395, 1396, 1398, 68, 68, 1400, 68, 68, 1399, 1402,
68, 1401, 1403, 1397, 1405, 68, 68, 1404, 1406, 68,
1407, 68, 1408, 68, 68, 1410, 68, 68, 1409, 68,
1411, 1413, 68, 68, 68, 68, 1418, 68, 1414, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1412, 1415, 1416,
1419, 1419, 1419, 1417, 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, 1419, 71, 71, 71, 71, 123, 123, 1419, 1419,
1419, 123, 123, 125, 125, 1419, 1419, 125, 1419, 125,
127, 1419, 1419, 1419, 1419, 1419, 127, 130, 130, 1419,
1419, 1419, 130, 130, 132, 1419, 1419, 1419, 1419, 1419,
132, 134, 134, 1419, 134, 134, 134, 134, 72, 72,
1419, 72, 72, 72, 72, 13, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419
} ;
static yyconst flex_int16_t yy_chk[2876] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 3,
3, 3, 4, 4, 4, 49, 5, 5, 49, 3,
5, 15, 4, 6, 6, 15, 5, 6, 9, 9,
9, 151, 33, 6, 7, 7, 7, 7, 9, 7,
10, 10, 10, 44, 44, 7, 8, 8, 8, 8,
10, 8, 21, 33, 151, 21, 21, 8, 11, 11,
11, 11, 11, 11, 1425, 20, 29, 20, 20, 11,
20, 29, 24, 21, 25, 20, 24, 28, 11, 12,
12, 12, 12, 12, 12, 74, 22, 22, 74, 25,
12, 69, 28, 30, 22, 69, 24, 26, 26, 12,
19, 22, 19, 19, 66, 19, 26, 110, 30, 27,
19, 19, 23, 27, 60, 60, 27, 23, 66, 31,
31, 23, 110, 27, 23, 27, 23, 23, 31, 75,
32, 32, 34, 75, 31, 32, 76, 35, 31, 36,
77, 34, 35, 77, 36, 37, 37, 34, 37, 101,
34, 32, 35, 38, 36, 35, 76, 34, 36, 36,
39, 39, 101, 37, 173, 39, 55, 38, 55, 55,
173, 55, 38, 63, 78, 63, 63, 65, 63, 65,
65, 79, 65, 68, 63, 68, 68, 82, 68, 80,
81, 83, 78, 68, 71, 79, 71, 71, 84, 71,
85, 80, 86, 84, 71, 71, 87, 88, 81, 82,
83, 89, 90, 91, 85, 89, 84, 90, 94, 97,
92, 615, 86, 92, 87, 88, 92, 91, 93, 95,
98, 104, 96, 93, 95, 96, 103, 94, 99, 96,
92, 100, 99, 97, 98, 102, 105, 106, 100, 103,
105, 104, 102, 107, 95, 108, 109, 111, 107, 112,
114, 113, 107, 115, 115, 106, 113, 116, 118, 109,
117, 119, 114, 119, 120, 108, 111, 112, 121, 120,
122, 124, 124, 132, 115, 116, 117, 140, 126, 118,
121, 126, 131, 131, 119, 140, 139, 128, 122, 128,
128, 133, 128, 133, 133, 134, 133, 134, 134, 136,
134, 139, 136, 137, 138, 141, 134, 142, 137, 138,
143, 149, 144, 145, 160, 143, 143, 144, 145, 146,
141, 146, 148, 148, 150, 154, 155, 142, 147, 150,
149, 152, 147, 153, 160, 152, 157, 147, 153, 154,
156, 155, 147, 159, 159, 158, 161, 167, 147, 147,
158, 162, 156, 130, 157, 156, 162, 163, 163, 164,
165, 168, 161, 166, 164, 165, 168, 174, 167, 169,
164, 170, 166, 171, 169, 172, 170, 175, 171, 176,
177, 178, 172, 175, 179, 180, 181, 174, 177, 183,
180, 182, 184, 185, 183, 185, 178, 187, 186, 188,
129, 176, 187, 189, 179, 186, 190, 190, 181, 182,
182, 191, 184, 194, 192, 189, 191, 195, 188, 192,
193, 196, 193, 197, 201, 194, 198, 199, 197, 196,
200, 198, 201, 202, 191, 203, 195, 207, 203, 193,
204, 204, 199, 205, 206, 206, 205, 208, 200, 209,
210, 211, 209, 207, 210, 213, 212, 217, 202, 219,
211, 212, 208, 214, 214, 215, 216, 218, 220, 213,
215, 216, 221, 221, 222, 223, 224, 217, 225, 223,
219, 220, 227, 225, 226, 218, 228, 226, 224, 229,
230, 231, 222, 232, 227, 234, 234, 233, 229, 233,
233, 236, 237, 228, 231, 232, 228, 235, 239, 239,
235, 230, 242, 238, 240, 241, 241, 237, 236, 240,
243, 236, 238, 244, 245, 246, 247, 242, 244, 247,
246, 247, 248, 249, 250, 253, 251, 252, 254, 256,
243, 251, 252, 250, 245, 255, 248, 257, 258, 249,
257, 265, 249, 256, 249, 261, 253, 260, 254, 262,
255, 264, 258, 266, 261, 263, 257, 259, 266, 259,
259, 265, 260, 267, 268, 269, 264, 271, 276, 259,
262, 259, 259, 259, 263, 272, 259, 270, 127, 268,
269, 273, 270, 267, 277, 274, 273, 271, 276, 272,
274, 275, 275, 278, 275, 280, 279, 280, 281, 282,
277, 283, 281, 284, 285, 125, 286, 288, 293, 278,
279, 286, 284, 285, 287, 283, 288, 282, 287, 289,
290, 293, 296, 291, 289, 284, 290, 291, 292, 294,
294, 295, 297, 292, 298, 299, 295, 300, 300, 299,
301, 297, 302, 296, 306, 301, 298, 303, 303, 305,
305, 307, 308, 311, 309, 312, 313, 314, 317, 307,
315, 308, 314, 302, 316, 306, 309, 318, 315, 316,
313, 319, 321, 311, 320, 312, 317, 322, 320, 323,
324, 327, 322, 326, 330, 329, 328, 321, 329, 318,
332, 328, 319, 331, 331, 323, 328, 327, 334, 324,
325, 325, 335, 326, 330, 336, 325, 338, 325, 333,
333, 337, 339, 334, 335, 332, 325, 339, 340, 341,
336, 342, 345, 346, 343, 123, 325, 340, 343, 338,
337, 347, 344, 349, 345, 350, 342, 344, 341, 348,
348, 346, 352, 351, 347, 349, 351, 350, 353, 354,
355, 353, 356, 356, 357, 357, 358, 352, 359, 359,
362, 358, 67, 355, 361, 354, 360, 360, 354, 361,
363, 368, 364, 365, 371, 363, 364, 367, 365, 366,
369, 362, 367, 366, 370, 369, 374, 372, 371, 370,
372, 368, 373, 373, 376, 372, 375, 377, 378, 372,
377, 375, 378, 376, 374, 379, 380, 381, 383, 382,
379, 384, 381, 388, 386, 385, 384, 386, 388, 380,
383, 385, 389, 387, 378, 382, 387, 390, 391, 392,
393, 395, 392, 391, 394, 393, 395, 396, 394, 394,
389, 390, 397, 398, 400, 397, 396, 398, 398, 399,
401, 399, 401, 402, 403, 404, 405, 406, 407, 412,
397, 406, 408, 400, 409, 410, 418, 407, 411, 413,
413, 402, 403, 411, 404, 414, 405, 408, 412, 414,
410, 415, 409, 416, 417, 418, 419, 420, 416, 422,
421, 425, 415, 423, 420, 421, 422, 424, 423, 419,
417, 426, 424, 427, 428, 429, 432, 441, 426, 425,
429, 430, 427, 431, 430, 433, 433, 431, 428, 436,
435, 437, 438, 436, 433, 435, 439, 432, 440, 442,
445, 449, 441, 437, 439, 450, 448, 449, 451, 450,
438, 454, 61, 451, 442, 448, 440, 445, 452, 453,
452, 455, 452, 456, 453, 452, 456, 457, 457, 454,
452, 458, 459, 459, 460, 464, 452, 452, 458, 461,
461, 462, 463, 465, 462, 466, 455, 463, 468, 460,
467, 467, 469, 466, 470, 464, 471, 471, 478, 470,
472, 473, 465, 468, 474, 472, 473, 474, 475, 476,
469, 477, 487, 479, 475, 480, 478, 476, 479, 477,
481, 481, 480, 482, 483, 484, 487, 486, 489, 483,
486, 482, 488, 488, 490, 492, 493, 490, 494, 496,
495, 493, 497, 489, 484, 490, 498, 499, 500, 501,
503, 499, 504, 505, 502, 498, 492, 506, 504, 494,
495, 496, 497, 502, 503, 507, 500, 508, 501, 510,
507, 506, 508, 505, 509, 511, 512, 513, 509, 514,
514, 512, 516, 517, 515, 516, 518, 511, 510, 515,
519, 520, 521, 521, 523, 519, 522, 522, 513, 518,
524, 517, 525, 526, 524, 527, 529, 530, 532, 523,
529, 520, 533, 531, 536, 534, 535, 533, 537, 527,
538, 525, 530, 532, 544, 544, 538, 526, 528, 534,
535, 528, 537, 528, 56, 536, 539, 528, 531, 528,
541, 539, 540, 540, 528, 541, 542, 543, 540, 545,
540, 547, 548, 546, 545, 549, 549, 554, 550, 543,
542, 546, 550, 553, 552, 547, 553, 555, 540, 552,
556, 548, 557, 558, 559, 556, 554, 561, 560, 563,
555, 562, 558, 560, 564, 566, 568, 567, 563, 564,
585, 557, 51, 559, 569, 562, 585, 561, 570, 569,
572, 568, 571, 570, 566, 567, 579, 571, 574, 572,
573, 573, 576, 574, 577, 577, 576, 576, 577, 578,
580, 579, 578, 581, 582, 583, 581, 584, 586, 587,
583, 590, 584, 588, 588, 587, 591, 589, 592, 591,
580, 593, 594, 50, 586, 582, 589, 596, 595, 590,
597, 598, 596, 600, 599, 597, 592, 599, 601, 604,
593, 595, 594, 602, 600, 606, 603, 607, 602, 598,
601, 603, 605, 605, 604, 608, 609, 610, 612, 611,
609, 607, 613, 617, 606, 616, 618, 608, 611, 619,
622, 620, 627, 45, 619, 610, 620, 612, 617, 616,
621, 623, 625, 624, 622, 621, 618, 613, 624, 626,
629, 627, 628, 628, 630, 623, 631, 625, 632, 634,
630, 633, 636, 638, 626, 635, 633, 632, 629, 637,
635, 639, 638, 637, 640, 641, 631, 642, 634, 643,
644, 636, 645, 647, 646, 648, 639, 641, 645, 640,
650, 651, 653, 652, 648, 650, 642, 654, 644, 646,
643, 652, 654, 647, 655, 651, 656, 657, 655, 655,
658, 659, 653, 660, 660, 664, 659, 661, 662, 658,
657, 666, 661, 662, 664, 656, 663, 663, 665, 667,
673, 668, 669, 665, 670, 666, 668, 669, 671, 670,
672, 673, 671, 677, 675, 676, 679, 667, 675, 672,
678, 680, 681, 682, 672, 683, 672, 685, 672, 680,
676, 677, 684, 684, 678, 679, 681, 686, 686, 689,
688, 682, 685, 688, 689, 690, 691, 691, 692, 694,
683, 693, 693, 696, 694, 695, 695, 697, 698, 701,
699, 702, 697, 709, 690, 699, 698, 702, 692, 700,
700, 703, 709, 696, 705, 706, 707, 701, 703, 705,
706, 707, 708, 710, 711, 712, 712, 708, 713, 714,
716, 715, 721, 717, 720, 711, 715, 718, 719, 719,
722, 723, 710, 728, 724, 729, 733, 730, 713, 724,
716, 728, 714, 717, 720, 718, 726, 721, 722, 727,
726, 726, 731, 732, 723, 730, 733, 731, 727, 734,
735, 729, 736, 734, 739, 737, 743, 738, 740, 741,
742, 732, 745, 740, 746, 742, 741, 744, 735, 737,
746, 736, 738, 739, 743, 747, 744, 745, 748, 749,
750, 751, 751, 748, 749, 750, 753, 753, 754, 755,
756, 758, 758, 754, 757, 759, 747, 760, 757, 757,
761, 762, 763, 755, 765, 764, 766, 769, 763, 756,
764, 767, 768, 770, 759, 40, 760, 771, 772, 772,
762, 769, 773, 765, 774, 766, 761, 773, 774, 775,
767, 768, 771, 777, 770, 776, 778, 778, 779, 781,
784, 780, 775, 779, 776, 780, 782, 786, 787, 787,
788, 782, 786, 777, 796, 788, 790, 790, 784, 781,
792, 792, 794, 795, 795, 794, 797, 798, 799, 796,
800, 801, 801, 799, 802, 803, 803, 804, 805, 806,
810, 798, 807, 806, 813, 800, 811, 808, 814, 805,
815, 797, 808, 819, 802, 812, 812, 817, 810, 804,
811, 807, 817, 816, 813, 816, 818, 820, 814, 824,
815, 818, 822, 819, 821, 821, 825, 825, 822, 826,
827, 820, 828, 829, 826, 828, 830, 830, 829, 831,
832, 833, 834, 824, 835, 836, 838, 834, 837, 837,
836, 838, 839, 840, 841, 827, 843, 831, 842, 832,
845, 833, 844, 846, 847, 845, 848, 835, 843, 851,
839, 850, 842, 840, 841, 844, 851, 853, 861, 852,
856, 856, 857, 846, 847, 857, 850, 848, 852, 858,
859, 852, 860, 853, 858, 862, 863, 861, 864, 865,
865, 860, 866, 864, 862, 863, 859, 862, 867, 868,
869, 870, 871, 872, 872, 873, 874, 877, 876, 880,
878, 867, 866, 876, 869, 878, 879, 868, 881, 882,
871, 873, 879, 881, 874, 877, 870, 883, 887, 880,
883, 886, 882, 888, 889, 890, 883, 892, 891, 886,
890, 887, 894, 895, 896, 897, 900, 895, 901, 896,
897, 888, 898, 889, 891, 892, 899, 898, 902, 902,
903, 904, 894, 901, 905, 899, 906, 907, 908, 900,
14, 906, 909, 904, 903, 913, 905, 915, 909, 907,
910, 910, 911, 911, 913, 918, 908, 914, 914, 915,
916, 916, 917, 919, 920, 921, 921, 917, 922, 923,
923, 924, 924, 925, 926, 928, 918, 926, 925, 929,
928, 930, 919, 931, 920, 936, 930, 935, 922, 932,
932, 933, 933, 934, 937, 938, 939, 929, 934, 935,
941, 935, 940, 940, 943, 936, 935, 945, 931, 942,
942, 946, 946, 947, 937, 938, 945, 939, 948, 950,
949, 951, 951, 952, 943, 948, 941, 953, 947, 949,
955, 956, 957, 958, 960, 955, 956, 959, 959, 960,
958, 961, 962, 953, 963, 950, 964, 966, 965, 952,
961, 967, 957, 966, 968, 968, 969, 970, 970, 963,
967, 971, 962, 965, 972, 964, 973, 969, 974, 974,
975, 973, 969, 977, 975, 975, 976, 978, 972, 979,
980, 976, 971, 981, 979, 982, 983, 981, 984, 978,
985, 986, 980, 984, 987, 989, 986, 982, 989, 977,
990, 990, 991, 991, 992, 995, 987, 998, 993, 994,
992, 983, 985, 993, 995, 994, 1000, 1002, 1002, 998,
1003, 1004, 1005, 1007, 1007, 1010, 1012, 1011, 1000, 1002,
1004, 1005, 1011, 1013, 1013, 1014, 1018, 1014, 1003, 1010,
1015, 1015, 1017, 1012, 1019, 1019, 1020, 1021, 1022, 1017,
1023, 1024, 1025, 1027, 1030, 1028, 1018, 1028, 1027, 1021,
1022, 1029, 1023, 1030, 1032, 1034, 1024, 1020, 1033, 1033,
1035, 1036, 1025, 1036, 1039, 1035, 1037, 1038, 1032, 1029,
1040, 1037, 1038, 1041, 1042, 1044, 1047, 1045, 1041, 1042,
1048, 1034, 1039, 1046, 1046, 1049, 1050, 1049, 1047, 1048,
1040, 1045, 1048, 1051, 1044, 1050, 1053, 1054, 1056, 1057,
1058, 1053, 1054, 1060, 1062, 1051, 1063, 1064, 1065, 1060,
1062, 1056, 1066, 1066, 1067, 1069, 1058, 1065, 1070, 1057,
1072, 1063, 1070, 1067, 1068, 1068, 1071, 1073, 1073, 1074,
1077, 1071, 1064, 1072, 1069, 1078, 1078, 1074, 1080, 1077,
1079, 1079, 1081, 1082, 1082, 1083, 1084, 1081, 1085, 1083,
1080, 1086, 1087, 1085, 1089, 1090, 1092, 1096, 1091, 1093,
1096, 1084, 1095, 1095, 1099, 1099, 1100, 1100, 1092, 1097,
1098, 1087, 1101, 1101, 1090, 1102, 1105, 1086, 1089, 1091,
1093, 1108, 1097, 1098, 1103, 1103, 1104, 1104, 1102, 1106,
1106, 1107, 1107, 1110, 1112, 1105, 1111, 1111, 1110, 1114,
1108, 1113, 1113, 1115, 1116, 1117, 1117, 1116, 1119, 1115,
1118, 1118, 1123, 1112, 1120, 1120, 1125, 1114, 1122, 1122,
1126, 1117, 1124, 1124, 1127, 1125, 1128, 1119, 1129, 1127,
1131, 1130, 1126, 1132, 1133, 1131, 1134, 1136, 1123, 1135,
1137, 1129, 1136, 1133, 1137, 1134, 1139, 1141, 1132, 1142,
1142, 1128, 1130, 1135, 1143, 1146, 1141, 13, 1150, 1143,
1144, 1144, 1147, 1150, 1149, 1154, 1139, 1149, 1154, 1144,
1146, 1151, 1151, 1153, 1147, 1155, 1155, 1153, 1156, 1157,
1158, 1159, 1160, 1156, 1158, 1161, 1162, 1160, 1164, 1165,
1161, 1167, 1162, 1167, 1165, 1166, 1170, 1170, 1184, 1157,
1183, 1159, 1176, 1166, 1164, 1173, 1173, 1176, 1177, 1177,
1179, 1179, 1181, 1182, 1182, 1192, 1183, 1181, 1185, 1190,
1184, 1187, 1187, 1185, 1190, 1191, 1193, 1191, 1197, 1192,
1198, 1193, 1194, 1194, 1195, 1195, 1196, 1196, 1199, 1200,
1197, 1201, 1202, 1203, 1204, 1204, 1205, 1202, 1198, 1206,
1199, 1200, 1207, 1201, 1208, 1205, 1209, 1210, 1211, 1212,
1213, 1214, 1214, 1203, 1212, 1213, 1216, 1208, 1217, 1217,
1220, 1210, 1207, 1219, 1219, 1206, 1211, 1221, 1222, 1220,
1209, 1223, 1224, 1225, 1216, 1226, 1226, 1229, 1227, 1228,
1230, 1235, 1221, 1227, 1232, 0, 1222, 1236, 1224, 1223,
1236, 1238, 1225, 1239, 1228, 1242, 1229, 1237, 1237, 1249,
1230, 1235, 0, 1232, 1241, 1241, 1238, 1243, 1243, 1244,
1244, 1239, 1248, 1248, 1242, 1250, 1253, 1251, 1252, 1254,
1267, 1249, 1251, 1252, 1250, 1256, 1257, 1254, 1258, 1259,
1300, 1257, 1267, 1258, 1300, 1253, 1260, 1260, 1261, 1261,
1256, 1262, 1263, 1263, 1259, 1266, 1262, 1264, 1264, 1269,
1266, 1270, 1269, 1271, 1272, 1273, 1273, 1274, 1276, 1277,
1278, 1278, 1271, 1272, 1270, 1279, 1274, 1280, 1280, 1285,
1282, 1281, 1284, 1290, 1279, 1282, 0, 1276, 1277, 1281,
1296, 1284, 1285, 1287, 1287, 1291, 1291, 1292, 1293, 1293,
1292, 1294, 1294, 1290, 1295, 1295, 1297, 1298, 1296, 1299,
1299, 1303, 1298, 1306, 1307, 1308, 1312, 1303, 1309, 1309,
1297, 1310, 1307, 1311, 1313, 1315, 1314, 1317, 1311, 1319,
1317, 1326, 1306, 1322, 1308, 1314, 1312, 1310, 1320, 1320,
1321, 1325, 1322, 1324, 1321, 1315, 1330, 1319, 1331, 1331,
1313, 1330, 1324, 1325, 1332, 1334, 1326, 1335, 1336, 1337,
1334, 1338, 1338, 1332, 1339, 1340, 1335, 1341, 1342, 1344,
1343, 1345, 1350, 1339, 1337, 1343, 1342, 1336, 1346, 1346,
1347, 1340, 1349, 1349, 1351, 1347, 1341, 1352, 1352, 1354,
1345, 1355, 1350, 1353, 1353, 1344, 1356, 1357, 1357, 1358,
1359, 1359, 1360, 1355, 1362, 1363, 1351, 0, 1354, 0,
1363, 1358, 1364, 1364, 1365, 1365, 1356, 1367, 1362, 1366,
1366, 1360, 1367, 1368, 1368, 1370, 1370, 1372, 1372, 1373,
1376, 1377, 1377, 1382, 1373, 1378, 1380, 1393, 1376, 1395,
1378, 1380, 1383, 1383, 1384, 1388, 1388, 1390, 1384, 1392,
1392, 1390, 1393, 1382, 1396, 1396, 1403, 1395, 1397, 1397,
1399, 1399, 1401, 1401, 1404, 1404, 1409, 1410, 1403, 1412,
1409, 1411, 1411, 1414, 1416, 1415, 1417, 1417, 1412, 0,
0, 0, 0, 0, 0, 0, 0, 1410, 1414, 1415,
0, 0, 0, 1416, 1420, 1420, 1420, 1420, 1420, 1420,
1420, 1421, 1421, 1421, 1421, 1421, 1421, 1421, 1422, 1422,
1422, 1422, 1422, 1422, 1422, 1423, 1423, 1423, 1423, 1423,
1423, 1423, 1424, 1424, 1424, 1424, 1424, 1424, 1424, 1426,
1426, 0, 1426, 1426, 1426, 1426, 1427, 1427, 0, 0,
0, 1427, 1427, 1428, 1428, 0, 0, 1428, 0, 1428,
1429, 0, 0, 0, 0, 0, 1429, 1430, 1430, 0,
0, 0, 1430, 1430, 1431, 0, 0, 0, 0, 0,
1431, 1432, 1432, 0, 1432, 1432, 1432, 1432, 1433, 1433,
0, 1433, 1433, 1433, 1433, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419, 1419,
1419, 1419, 1419, 1419, 1419
} ;
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>
#ifdef HAVE_GLOB_H
# include <glob.h>
#endif
#include "util/config_file.h"
#include "util/configparser.h"
void ub_c_error(const char *message);
#if 0
#define LEXOUT(s) printf s /* used ONLY when debugging */
#else
#define LEXOUT(s)
#endif
/** avoid warning in about fwrite return value */
#define ECHO ub_c_error_msg("syntax error at text: %s", yytext)
/** A parser variable, this is a statement in the config file which is
* of the form variable: value1 value2 ... nargs is the number of values. */
#define YDVAR(nargs, var) \
num_args=(nargs); \
LEXOUT(("v(%s%d) ", yytext, num_args)); \
if(num_args > 0) { BEGIN(val); } \
return (var);
struct inc_state {
char* filename;
int line;
YY_BUFFER_STATE buffer;
struct inc_state* next;
};
static struct inc_state* config_include_stack = NULL;
static int inc_depth = 0;
static int inc_prev = 0;
static int num_args = 0;
void init_cfg_parse(void)
{
config_include_stack = NULL;
inc_depth = 0;
inc_prev = 0;
num_args = 0;
}
static void config_start_include(const char* filename)
{
FILE *input;
struct inc_state* s;
char* nm;
if(inc_depth++ > 100000) {
ub_c_error_msg("too many include files");
return;
}
if(strlen(filename) == 0) {
ub_c_error_msg("empty include file name");
return;
}
s = (struct inc_state*)malloc(sizeof(*s));
if(!s) {
ub_c_error_msg("include %s: malloc failure", filename);
return;
}
if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
strlen(cfg_parser->chroot)) == 0) {
filename += strlen(cfg_parser->chroot);
}
nm = strdup(filename);
if(!nm) {
ub_c_error_msg("include %s: strdup failure", filename);
free(s);
return;
}
input = fopen(filename, "r");
if(!input) {
ub_c_error_msg("cannot open include file '%s': %s",
filename, strerror(errno));
free(s);
free(nm);
return;
}
LEXOUT(("switch_to_include_file(%s)\n", filename));
s->filename = cfg_parser->filename;
s->line = cfg_parser->line;
s->buffer = YY_CURRENT_BUFFER;
s->next = config_include_stack;
config_include_stack = s;
cfg_parser->filename = nm;
cfg_parser->line = 1;
yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE));
}
static void config_start_include_glob(const char* filename)
{
/* check for wildcards */
#ifdef HAVE_GLOB
glob_t g;
size_t i;
int r, flags;
if(!(!strchr(filename, '*') && !strchr(filename, '?') && !strchr(filename, '[') &&
!strchr(filename, '{') && !strchr(filename, '~'))) {
flags = 0
#ifdef GLOB_ERR
| GLOB_ERR
#endif
#ifdef GLOB_NOSORT
| GLOB_NOSORT
#endif
#ifdef GLOB_BRACE
| GLOB_BRACE
#endif
#ifdef GLOB_TILDE
| GLOB_TILDE
#endif
;
memset(&g, 0, sizeof(g));
r = glob(filename, flags, NULL, &g);
if(r) {
/* some error */
globfree(&g);
if(r == GLOB_NOMATCH)
return; /* no matches for pattern */
config_start_include(filename); /* let original deal with it */
return;
}
/* process files found, if any */
for(i=0; i<(size_t)g.gl_pathc; i++) {
config_start_include(g.gl_pathv[i]);
}
globfree(&g);
return;
}
#endif /* HAVE_GLOB */
config_start_include(filename);
}
static void config_end_include(void)
{
struct inc_state* s = config_include_stack;
--inc_depth;
if(!s) return;
free(cfg_parser->filename);
cfg_parser->filename = s->filename;
cfg_parser->line = s->line;
yy_delete_buffer(YY_CURRENT_BUFFER);
yy_switch_to_buffer(s->buffer);
config_include_stack = s->next;
free(s);
}
#ifndef yy_set_bol /* compat definition, for flex 2.4.6 */
#define yy_set_bol(at_bol) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \
yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \
}
#endif
#define YY_NO_INPUT 1
#line 177 "./util/configlexer.lex"
#ifndef YY_NO_UNPUT
#define YY_NO_UNPUT 1
#endif
#ifndef YY_NO_INPUT
#define YY_NO_INPUT 1
#endif
#line 1736 "<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 );
yy_size_t yyget_leng (void );
char *yyget_text (void );
int yyget_lineno (void );
void yyset_lineno (int line_number );
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap (void );
#else
extern int yywrap (void );
#endif
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * );
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void );
#else
static int input (void );
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
size_t n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif
/* end tables serialization structures and prototypes */
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL_IS_OURS 1
extern int yylex (void);
#define YY_DECL int yylex (void)
#endif /* !YY_DECL */
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
YY_USER_ACTION
/** The main scanner function which does all the work.
*/
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
#line 197 "./util/configlexer.lex"
#line 1923 "<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 >= 1420 )
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] != 2836 );
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 198 "./util/configlexer.lex"
{
LEXOUT(("SP ")); /* ignore */ }
YY_BREAK
case 2:
YY_RULE_SETUP
#line 200 "./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 203 "./util/configlexer.lex"
{ YDVAR(0, VAR_SERVER) }
YY_BREAK
case 4:
YY_RULE_SETUP
#line 204 "./util/configlexer.lex"
{ YDVAR(1, VAR_NUM_THREADS) }
YY_BREAK
case 5:
YY_RULE_SETUP
#line 205 "./util/configlexer.lex"
{ YDVAR(1, VAR_VERBOSITY) }
YY_BREAK
case 6:
YY_RULE_SETUP
#line 206 "./util/configlexer.lex"
{ YDVAR(1, VAR_PORT) }
YY_BREAK
case 7:
YY_RULE_SETUP
#line 207 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_RANGE) }
YY_BREAK
case 8:
YY_RULE_SETUP
#line 208 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) }
YY_BREAK
case 9:
YY_RULE_SETUP
#line 209 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) }
YY_BREAK
case 10:
YY_RULE_SETUP
#line 210 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_NUM_TCP) }
YY_BREAK
case 11:
YY_RULE_SETUP
#line 211 "./util/configlexer.lex"
{ YDVAR(1, VAR_INCOMING_NUM_TCP) }
YY_BREAK
case 12:
YY_RULE_SETUP
#line 212 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP4) }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 213 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP6) }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 214 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_UDP) }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 215 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_TCP) }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 216 "./util/configlexer.lex"
{ YDVAR(1, VAR_TCP_UPSTREAM) }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 217 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_UPSTREAM) }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 218 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_SERVICE_KEY) }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 219 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_SERVICE_PEM) }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 220 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_PORT) }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 221 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_DAEMONIZE) }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 222 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE) }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 223 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE) }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 224 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_INTERFACE) }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 225 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 226 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_RCVBUF) }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 227 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_SNDBUF) }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 228 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_REUSEPORT) }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 229 "./util/configlexer.lex"
{ YDVAR(1, VAR_CHROOT) }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 230 "./util/configlexer.lex"
{ YDVAR(1, VAR_USERNAME) }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 231 "./util/configlexer.lex"
{ YDVAR(1, VAR_DIRECTORY) }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 232 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOGFILE) }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 233 "./util/configlexer.lex"
{ YDVAR(1, VAR_PIDFILE) }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 234 "./util/configlexer.lex"
{ YDVAR(1, VAR_ROOT_HINTS) }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 235 "./util/configlexer.lex"
{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 236 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_BUFFER_SIZE) }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 237 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SIZE) }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 238 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SLABS) }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 239 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SIZE) }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 240 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SLABS) }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 241 "./util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MAX_TTL) }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 242 "./util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MIN_TTL) }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 243 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_HOST_TTL) }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 244 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_LAME_TTL) }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 245 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_SLABS) }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 246 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 247 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 248 "./util/configlexer.lex"
{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 249 "./util/configlexer.lex"
{ YDVAR(1, VAR_JOSTLE_TIMEOUT) }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 250 "./util/configlexer.lex"
{ YDVAR(1, VAR_DELAY_CLOSE) }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 251 "./util/configlexer.lex"
{ YDVAR(1, VAR_TARGET_FETCH_POLICY) }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 252 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 253 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 254 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_GLUE) }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 255 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 256 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 257 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 258 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_CAPS_FOR_ID) }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 259 "./util/configlexer.lex"
{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 260 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_ADDRESS) }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 261 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_DOMAIN) }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 262 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH_KEY) }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 263 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH) }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 264 "./util/configlexer.lex"
{ YDVAR(0, VAR_STUB_ZONE) }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 265 "./util/configlexer.lex"
{ YDVAR(1, VAR_NAME) }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 266 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_ADDR) }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 267 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_HOST) }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 268 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_PRIME) }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 269 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_FIRST) }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 270 "./util/configlexer.lex"
{ YDVAR(0, VAR_FORWARD_ZONE) }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 271 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_ADDR) }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 272 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_HOST) }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 273 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_FIRST) }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 274 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 275 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 276 "./util/configlexer.lex"
{ YDVAR(2, VAR_ACCESS_CONTROL) }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 277 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_IDENTITY) }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 278 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_VERSION) }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 279 "./util/configlexer.lex"
{ YDVAR(1, VAR_IDENTITY) }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 280 "./util/configlexer.lex"
{ YDVAR(1, VAR_VERSION) }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 281 "./util/configlexer.lex"
{ YDVAR(1, VAR_MODULE_CONF) }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 282 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR) }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 283 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR_FILE) }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 284 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 285 "./util/configlexer.lex"
{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 286 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 287 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR) }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 288 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 289 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 290 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 291 "./util/configlexer.lex"
{ YDVAR(1, VAR_BOGUS_TTL) }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 292 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 293 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 294 "./util/configlexer.lex"
{ YDVAR(1, VAR_IGNORE_CD_FLAG) }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 295 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_LOG_LEVEL) }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 296 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SIZE) }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 297 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SLABS) }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 298 "./util/configlexer.lex"
{ YDVAR(1, VAR_NEG_CACHE_SIZE) }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 299 "./util/configlexer.lex"
{
YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 301 "./util/configlexer.lex"
{ YDVAR(1, VAR_ADD_HOLDDOWN) }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 302 "./util/configlexer.lex"
{ YDVAR(1, VAR_DEL_HOLDDOWN) }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 303 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEEP_MISSING) }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 304 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_SYSLOG) }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 305 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_TIME_ASCII) }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 306 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_QUERIES) }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 307 "./util/configlexer.lex"
{ YDVAR(2, VAR_LOCAL_ZONE) }
YY_BREAK
case 107:
YY_RULE_SETUP
#line 308 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA) }
YY_BREAK
case 108:
YY_RULE_SETUP
#line 309 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA_PTR) }
YY_BREAK
case 109:
YY_RULE_SETUP
#line 310 "./util/configlexer.lex"
{ YDVAR(1, VAR_UNBLOCK_LAN_ZONES) }
YY_BREAK
case 110:
YY_RULE_SETUP
#line 311 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_INTERVAL) }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 312 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) }
YY_BREAK
case 112:
YY_RULE_SETUP
#line 313 "./util/configlexer.lex"
{ YDVAR(1, VAR_EXTENDED_STATISTICS) }
YY_BREAK
case 113:
YY_RULE_SETUP
#line 314 "./util/configlexer.lex"
{ YDVAR(0, VAR_REMOTE_CONTROL) }
YY_BREAK
case 114:
YY_RULE_SETUP
#line 315 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_ENABLE) }
YY_BREAK
case 115:
YY_RULE_SETUP
#line 316 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_INTERFACE) }
YY_BREAK
case 116:
YY_RULE_SETUP
#line 317 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_PORT) }
YY_BREAK
case 117:
YY_RULE_SETUP
#line 318 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_KEY_FILE) }
YY_BREAK
case 118:
YY_RULE_SETUP
#line 319 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_CERT_FILE) }
YY_BREAK
case 119:
YY_RULE_SETUP
#line 320 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_KEY_FILE) }
YY_BREAK
case 120:
YY_RULE_SETUP
#line 321 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_CERT_FILE) }
YY_BREAK
case 121:
YY_RULE_SETUP
#line 322 "./util/configlexer.lex"
{ YDVAR(1, VAR_PYTHON_SCRIPT) }
YY_BREAK
case 122:
YY_RULE_SETUP
#line 323 "./util/configlexer.lex"
{ YDVAR(0, VAR_PYTHON) }
YY_BREAK
case 123:
YY_RULE_SETUP
#line 324 "./util/configlexer.lex"
{ YDVAR(1, VAR_DOMAIN_INSECURE) }
YY_BREAK
case 124:
YY_RULE_SETUP
#line 325 "./util/configlexer.lex"
{ YDVAR(1, VAR_MINIMAL_RESPONSES) }
YY_BREAK
case 125:
YY_RULE_SETUP
#line 326 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_ROUNDROBIN) }
YY_BREAK
case 126:
YY_RULE_SETUP
#line 327 "./util/configlexer.lex"
{ YDVAR(1, VAR_MAX_UDP_SIZE) }
YY_BREAK
case 127:
YY_RULE_SETUP
#line 328 "./util/configlexer.lex"
{ YDVAR(1, VAR_DNS64_PREFIX) }
YY_BREAK
case 128:
YY_RULE_SETUP
#line 329 "./util/configlexer.lex"
{ YDVAR(1, VAR_DNS64_SYNTHALL) }
YY_BREAK
case 129:
/* rule 129 can match eol */
YY_RULE_SETUP
#line 330 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++; }
YY_BREAK
/* Quoted strings. Strip leading and ending quotes */
case 130:
YY_RULE_SETUP
#line 333 "./util/configlexer.lex"
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
YY_BREAK
case YY_STATE_EOF(quotedstring):
#line 334 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 131:
YY_RULE_SETUP
#line 339 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 132:
/* rule 132 can match eol */
YY_RULE_SETUP
#line 340 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end \"");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 133:
YY_RULE_SETUP
#line 342 "./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 134:
YY_RULE_SETUP
#line 354 "./util/configlexer.lex"
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
YY_BREAK
case YY_STATE_EOF(singlequotedstr):
#line 355 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 135:
YY_RULE_SETUP
#line 360 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 136:
/* rule 136 can match eol */
YY_RULE_SETUP
#line 361 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end '");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 137:
YY_RULE_SETUP
#line 363 "./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 138:
YY_RULE_SETUP
#line 375 "./util/configlexer.lex"
{
LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); }
YY_BREAK
case YY_STATE_EOF(include):
#line 377 "./util/configlexer.lex"
{
yyerror("EOF inside include directive");
BEGIN(inc_prev);
}
YY_BREAK
case 139:
YY_RULE_SETUP
#line 381 "./util/configlexer.lex"
{ LEXOUT(("ISP ")); /* ignore */ }
YY_BREAK
case 140:
/* rule 140 can match eol */
YY_RULE_SETUP
#line 382 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++;}
YY_BREAK
case 141:
YY_RULE_SETUP
#line 383 "./util/configlexer.lex"
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
YY_BREAK
case 142:
YY_RULE_SETUP
#line 384 "./util/configlexer.lex"
{
LEXOUT(("Iunquotedstr(%s) ", yytext));
config_start_include_glob(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(include_quoted):
#line 389 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
BEGIN(inc_prev);
}
YY_BREAK
case 143:
YY_RULE_SETUP
#line 393 "./util/configlexer.lex"
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
YY_BREAK
case 144:
/* rule 144 can match eol */
YY_RULE_SETUP
#line 394 "./util/configlexer.lex"
{ yyerror("newline before \" in include name");
cfg_parser->line++; BEGIN(inc_prev); }
YY_BREAK
case 145:
YY_RULE_SETUP
#line 396 "./util/configlexer.lex"
{
LEXOUT(("IQE "));
yytext[yyleng - 1] = '\0';
config_start_include_glob(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(val):
#line 402 "./util/configlexer.lex"
{
LEXOUT(("LEXEOF "));
yy_set_bol(1); /* Set beginning of line, so "^" rules match. */
if (!config_include_stack) {
yyterminate();
} else {
fclose(yyin);
config_end_include();
}
}
YY_BREAK
case 146:
YY_RULE_SETUP
#line 413 "./util/configlexer.lex"
{ LEXOUT(("unquotedstr(%s) ", yytext));
if(--num_args == 0) { BEGIN(INITIAL); }
yylval.str = strdup(yytext); return STRING_ARG; }
YY_BREAK
case 147:
YY_RULE_SETUP
#line 417 "./util/configlexer.lex"
{
ub_c_error_msg("unknown keyword '%s'", yytext);
}
YY_BREAK
case 148:
YY_RULE_SETUP
#line 421 "./util/configlexer.lex"
{
ub_c_error_msg("stray '%s'", yytext);
}
YY_BREAK
case 149:
YY_RULE_SETUP
#line 425 "./util/configlexer.lex"
ECHO;
YY_BREAK
#line 2850 "<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
{
yy_size_t num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
int yy_c_buf_p_offset =
(int) ((yy_c_buf_p) - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
yy_size_t new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
else
b->yy_buf_size *= 2;
b->yy_ch_buf = (char *)
/* Include room in for 2 EOB chars. */
yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
}
else
/* Can't grow it, we don't own it. */
b->yy_ch_buf = 0;
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR(
"fatal error - scanner input buffer overflow" );
(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
number_to_move - 1;
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
(yy_n_chars), num_to_read );
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
if ( (yy_n_chars) == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
yyrestart(yyin );
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
/* Extend the array by 50%, plus the number we really need. */
yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
}
(yy_n_chars) += number_to_move;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
return ret_val;
}
/* yy_get_previous_state - get the state just before the EOB char was reached */
static yy_state_type yy_get_previous_state (void)
{
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 >= 1420 )
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 >= 1420 )
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 == 1419);
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void)
#else
static int input (void)
#endif
{
int c;
*(yy_c_buf_p) = (yy_hold_char);
if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
{
/* yy_c_buf_p now points to the character we want to return.
* If this occurs *before* the EOB characters, then it's a
* valid NUL; if not, then we've hit the end of the buffer.
*/
if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
/* This was really a NUL. */
*(yy_c_buf_p) = '\0';
else
{ /* need more input */
yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
++(yy_c_buf_p);
switch ( yy_get_next_buffer( ) )
{
case EOB_ACT_LAST_MATCH:
/* This happens because yy_g_n_b()
* sees that we've accumulated a
* token and flags that we need to
* try matching the token before
* proceeding. But for input(),
* there's no matching to consider.
* So convert the EOB_ACT_LAST_MATCH
* to EOB_ACT_END_OF_FILE.
*/
/* Reset buffer status. */
yyrestart(yyin );
/*FALLTHROUGH*/
case EOB_ACT_END_OF_FILE:
{
if ( yywrap( ) )
return EOF;
if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput();
#else
return input();
#endif
}
case EOB_ACT_CONTINUE_SCAN:
(yy_c_buf_p) = (yytext_ptr) + offset;
break;
}
}
}
c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
*(yy_c_buf_p) = '\0'; /* preserve yytext */
(yy_hold_char) = *++(yy_c_buf_p);
return c;
}
#endif /* ifndef YY_NO_INPUT */
/** Immediately switch to a different input stream.
* @param input_file A readable stream.
*
* @note This function does not reset the start condition to @c INITIAL .
*/
void yyrestart (FILE * input_file )
{
if ( ! YY_CURRENT_BUFFER ){
yyensure_buffer_stack ();
YY_CURRENT_BUFFER_LVALUE =
yy_create_buffer(yyin,YY_BUF_SIZE );
}
yy_init_buffer(YY_CURRENT_BUFFER,input_file );
yy_load_buffer_state( );
}
/** Switch to a different input buffer.
* @param new_buffer The new input buffer.
*
*/
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
{
/* TODO. We should be able to replace this entire function body
* with
* yypop_buffer_state();
* yypush_buffer_state(new_buffer);
*/
yyensure_buffer_stack ();
if ( YY_CURRENT_BUFFER == new_buffer )
return;
if ( YY_CURRENT_BUFFER )
{
/* Flush out information for old buffer. */
*(yy_c_buf_p) = (yy_hold_char);
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
YY_CURRENT_BUFFER_LVALUE = new_buffer;
yy_load_buffer_state( );
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
(yy_did_buffer_switch_on_eof) = 1;
}
static void yy_load_buffer_state (void)
{
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
(yy_hold_char) = *(yy_c_buf_p);
}
/** Allocate and initialize an input buffer state.
* @param file A readable stream.
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
*
* @return the allocated buffer state.
*/
YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
yy_init_buffer(b,file );
return b;
}
/** Destroy the buffer.
* @param b a buffer created with yy_create_buffer()
*
*/
void yy_delete_buffer (YY_BUFFER_STATE b )
{
if ( ! b )
return;
if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
yyfree((void *) b->yy_ch_buf );
yyfree((void *) b );
}
/* Initializes or reinitializes a buffer.
* This function is sometimes called more than once on the same buffer,
* such as during a yyrestart() or at EOF.
*/
static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
{
int oerrno = errno;
yy_flush_buffer(b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
/* If b is the current buffer, then yy_init_buffer was _probably_
* called from yyrestart() or through yy_get_next_buffer.
* In that case, we don't want to reset the lineno or column.
*/
if (b != YY_CURRENT_BUFFER){
b->yy_bs_lineno = 1;
b->yy_bs_column = 0;
}
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
errno = oerrno;
}
/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
*
*/
void yy_flush_buffer (YY_BUFFER_STATE b )
{
if ( ! b )
return;
b->yy_n_chars = 0;
/* We always need two end-of-buffer characters. The first causes
* a transition to the end-of-buffer state. The second causes
* a jam in that state.
*/
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
b->yy_buf_pos = &b->yy_ch_buf[0];
b->yy_at_bol = 1;
b->yy_buffer_status = YY_BUFFER_NEW;
if ( b == YY_CURRENT_BUFFER )
yy_load_buffer_state( );
}
/** Pushes the new state onto the stack. The new state becomes
* the current state. This function will allocate the stack
* if necessary.
* @param new_buffer The new state.
*
*/
void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
{
if (new_buffer == NULL)
return;
yyensure_buffer_stack();
/* This block is copied from yy_switch_to_buffer. */
if ( YY_CURRENT_BUFFER )
{
/* Flush out information for old buffer. */
*(yy_c_buf_p) = (yy_hold_char);
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
/* Only push if top exists. Otherwise, replace top. */
if (YY_CURRENT_BUFFER)
(yy_buffer_stack_top)++;
YY_CURRENT_BUFFER_LVALUE = new_buffer;
/* copied from yy_switch_to_buffer. */
yy_load_buffer_state( );
(yy_did_buffer_switch_on_eof) = 1;
}
/** Removes and deletes the top of the stack, if present.
* The next element becomes the new top.
*
*/
void yypop_buffer_state (void)
{
if (!YY_CURRENT_BUFFER)
return;
yy_delete_buffer(YY_CURRENT_BUFFER );
YY_CURRENT_BUFFER_LVALUE = NULL;
if ((yy_buffer_stack_top) > 0)
--(yy_buffer_stack_top);
if (YY_CURRENT_BUFFER) {
yy_load_buffer_state( );
(yy_did_buffer_switch_on_eof) = 1;
}
}
/* Allocates the stack if it does not exist.
* Guarantees space for at least one push.
*/
static void yyensure_buffer_stack (void)
{
yy_size_t num_to_alloc;
if (!(yy_buffer_stack)) {
/* First allocation is just for 2 elements, since we don't know if this
* scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call.
*/
num_to_alloc = 1;
(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
);
if ( ! (yy_buffer_stack) )
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
(yy_buffer_stack_max) = num_to_alloc;
(yy_buffer_stack_top) = 0;
return;
}
if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
/* Increase the buffer to prepare for a possible push. */
int grow_size = 8 /* arbitrary grow size */;
num_to_alloc = (yy_buffer_stack_max) + grow_size;
(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
((yy_buffer_stack),
num_to_alloc * sizeof(struct yy_buffer_state*)
);
if ( ! (yy_buffer_stack) )
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
/* zero only the new slots.*/
memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
(yy_buffer_stack_max) = num_to_alloc;
}
}
/** Setup the input buffer state to scan directly from a user-specified character buffer.
* @param base the character buffer
* @param size the size in bytes of the character buffer
*
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
{
YY_BUFFER_STATE b;
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/* They forgot to leave room for the EOB's. */
return 0;
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0;
b->yy_input_file = 0;
b->yy_n_chars = b->yy_buf_size;
b->yy_is_interactive = 0;
b->yy_at_bol = 1;
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
yy_switch_to_buffer(b );
return b;
}
/** Setup the input buffer state to scan a string. The next call to yylex() will
* scan from a @e copy of @a str.
* @param yystr a NUL-terminated string to scan
*
* @return the newly allocated buffer state object.
* @note If you want to scan bytes that may contain NUL values, then use
* yy_scan_bytes() instead.
*/
YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
{
return yy_scan_bytes(yystr,strlen(yystr) );
}
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
* scan from a @e copy of @a bytes.
* @param yybytes the byte buffer to scan
* @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
*
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
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.
*
*/
yy_size_t yyget_leng (void)
{
return yyleng;
}
/** Get the current token.
*
*/
char *yyget_text (void)
{
return yytext;
}
/** Set the current line number.
* @param line_number
*
*/
void yyset_lineno (int line_number )
{
yylineno = line_number;
}
/** Set the input stream. This does not discard the current
* input buffer.
* @param in_str A readable stream.
*
* @see yy_switch_to_buffer
*/
void yyset_in (FILE * in_str )
{
yyin = in_str ;
}
void yyset_out (FILE * out_str )
{
yyout = out_str ;
}
int yyget_debug (void)
{
return yy_flex_debug;
}
void yyset_debug (int bdebug )
{
yy_flex_debug = bdebug ;
}
static int yy_init_globals (void)
{
/* Initialization is the same as for the non-reentrant scanner.
* This function is called from yylex_destroy(), so don't allocate here.
*/
(yy_buffer_stack) = 0;
(yy_buffer_stack_top) = 0;
(yy_buffer_stack_max) = 0;
(yy_c_buf_p) = (char *) 0;
(yy_init) = 0;
(yy_start) = 0;
/* Defined in main.c */
#ifdef YY_STDINIT
yyin = stdin;
yyout = stdout;
#else
yyin = (FILE *) 0;
yyout = (FILE *) 0;
#endif
/* For future reference: Set errno on error, since we are called by
* yylex_init()
*/
return 0;
}
/* yylex_destroy is for both reentrant and non-reentrant scanners. */
int yylex_destroy (void)
{
/* Pop the buffer stack, destroying each element. */
while(YY_CURRENT_BUFFER){
yy_delete_buffer(YY_CURRENT_BUFFER );
YY_CURRENT_BUFFER_LVALUE = NULL;
yypop_buffer_state();
}
/* Destroy the stack itself. */
yyfree((yy_buffer_stack) );
(yy_buffer_stack) = NULL;
/* Reset the globals. This is important in a non-reentrant scanner so the next time
* yylex() is called, initialization will occur. */
yy_init_globals( );
return 0;
}
/*
* Internal utility routines.
*/
#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
{
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 425 "./util/configlexer.lex"