unbound/util/configlexer.c

3768 lines
125 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 146
#define YY_END_OF_BUFFER 147
/* 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[1383] =
{ 0,
1, 1, 128, 128, 132, 132, 136, 136, 140, 140,
1, 1, 147, 144, 1, 126, 126, 145, 2, 145,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 128,
129, 129, 130, 145, 132, 133, 133, 134, 145, 139,
136, 137, 137, 138, 145, 140, 141, 141, 142, 145,
143, 127, 2, 131, 145, 143, 144, 0, 1, 2,
2, 2, 2, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 128, 0, 132, 0, 139, 0, 136, 140, 0,
143, 0, 2, 2, 143, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
143, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 143, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 65, 144, 144,
144, 144, 144, 6, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 143, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 143,
144, 144, 144, 144, 29, 144, 144, 144, 144, 144,
144, 12, 13, 144, 15, 14, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 121, 144, 144, 144, 144, 144, 3,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 143,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 135, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
32, 144, 144, 144, 144, 144, 144, 144, 144, 144,
33, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 80, 135,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 79, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 63, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 20,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 30, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 31, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 22, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 26, 144, 27, 144, 144, 144, 66, 144,
67, 144, 64, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 5, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 82, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 23, 144, 144, 144, 144,
107, 106, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 34, 144, 144, 144, 144, 144, 144, 144, 144,
69, 68, 144, 144, 144, 144, 144, 144, 103, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 50, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
54, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 105, 144, 144,
144, 144, 144, 144, 144, 144, 144, 4, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
100, 144, 144, 144, 144, 144, 144, 144, 115, 101,
144, 21, 144, 144, 144, 144, 71, 144, 72, 70,
144, 144, 144, 144, 144, 144, 78, 144, 144, 144,
144, 144, 144, 144, 144, 144, 102, 144, 144, 144,
144, 125, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 62, 144, 144, 144, 144, 144, 144,
144, 144, 28, 144, 144, 17, 144, 144, 144, 16,
144, 87, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 41, 42, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 73, 144, 144, 144,
144, 144, 77, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 81, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 120,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 91, 144, 95, 144, 144,
144, 144, 76, 144, 144, 113, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 94,
144, 144, 144, 144, 43, 44, 144, 49, 96, 144,
108, 104, 144, 144, 37, 144, 98, 144, 144, 144,
144, 144, 7, 144, 61, 112, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
83, 144, 144, 122, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 97, 144, 36, 38,
144, 144, 144, 144, 144, 60, 144, 144, 144, 144,
116, 18, 19, 144, 144, 144, 144, 144, 144, 58,
144, 144, 144, 144, 144, 144, 144, 144, 144, 118,
144, 144, 35, 144, 144, 144, 144, 144, 144, 11,
144, 144, 144, 144, 144, 144, 144, 10, 144, 144,
39, 144, 124, 117, 144, 144, 144, 144, 144, 144,
144, 144, 144, 144, 90, 89, 144, 119, 114, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 45,
144, 123, 144, 144, 144, 144, 40, 144, 144, 144,
84, 86, 144, 144, 144, 88, 144, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
24, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144, 144, 111, 144, 144, 144, 144, 144, 144,
144, 25, 144, 9, 144, 144, 109, 51, 144, 144,
144, 93, 144, 74, 144, 144, 144, 53, 57, 52,
144, 46, 144, 8, 144, 144, 92, 144, 144, 144,
56, 144, 47, 144, 110, 144, 144, 85, 75, 55,
48, 144, 144, 144, 144, 59, 144, 144, 144, 144,
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[1397] =
{ 0,
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
87, 108, 2653, 2569, 50, 2760, 2760, 2760, 129, 94,
70, 104, 122, 90, 92, 115, 126, 95, 84, 132,
135, 138, 50, 146, 148, 157, 167, 160, 151, 2566,
2760, 2760, 2760, 70, 2404, 2760, 2760, 2760, 42, 2139,
1931, 2760, 2760, 2760, 189, 1601, 2760, 2760, 2760, 195,
1479, 2760, 199, 2760, 203, 111, 635, 209, 120, 0,
220, 0, 0, 103, 141, 149, 202, 189, 182, 204,
206, 210, 218, 215, 217, 221, 222, 223, 225, 228,
235, 248, 165, 244, 247, 233, 245, 252, 246, 251,
258, 260, 261, 262, 267, 263, 270, 271, 158, 274,
276, 280, 277, 278, 282, 286, 283, 49, 287, 291,
288, 588, 304, 558, 307, 386, 316, 354, 297, 320,
236, 324, 328, 0, 321, 309, 330, 323, 226, 326,
327, 334, 331, 337, 348, 339, 342, 344, 333, 346,
353, 345, 351, 355, 354, 360, 363, 371, 373, 379,
375, 382, 383, 381, 380, 392, 393, 399, 400, 396,
402, 384, 405, 385, 406, 397, 409, 410, 413, 418,
421, 419, 420, 417, 428, 425, 426, 438, 445, 430,
431, 434, 442, 446, 447, 448, 451, 454, 455, 457,
458, 464, 461, 466, 467, 468, 473, 476, 474, 478,
484, 490, 475, 483, 486, 487, 491, 493, 494, 496,
502, 503, 504, 505, 509, 499, 510, 512, 526, 514,
527, 515, 519, 531, 537, 533, 541, 539, 543, 549,
545, 546, 547, 548, 553, 555, 561, 566, 557, 559,
567, 570, 568, 590, 560, 576, 577, 580, 586, 583,
596, 587, 595, 597, 613, 594, 611, 615, 619, 618,
584, 621, 622, 624, 517, 623, 628, 630, 631, 627,
629, 634, 649, 645, 646, 648, 647, 654, 661, 657,
658, 659, 662, 663, 665, 668, 672, 2760, 674, 669,
676, 677, 679, 2760, 680, 681, 682, 683, 685, 692,
694, 695, 697, 698, 699, 703, 704, 705, 725, 707,
706, 716, 709, 734, 713, 736, 715, 728, 732, 723,
739, 743, 710, 744, 745, 746, 754, 752, 753, 755,
757, 758, 762, 766, 765, 772, 773, 777, 779, 787,
784, 789, 790, 781, 791, 793, 799, 800, 798, 792,
806, 805, 795, 808, 813, 807, 822, 815, 818, 819,
826, 827, 828, 830, 829, 837, 836, 835, 844, 834,
843, 848, 849, 850, 851, 860, 857, 858, 863, 869,
870, 865, 871, 874, 875, 876, 877, 878, 879, 883,
885, 886, 894, 880, 890, 896, 902, 904, 887, 905,
908, 909, 910, 911, 919, 912, 921, 913, 923, 926,
929, 934, 925, 935, 2760, 945, 939, 941, 933, 759,
927, 2760, 2760, 947, 2760, 2760, 948, 949, 950, 961,
965, 958, 952, 960, 959, 974, 968, 978, 966, 986,
988, 971, 980, 982, 989, 992, 990, 994, 998, 996,
1004, 1007, 1006, 1008, 1010, 1011, 1013, 1015, 1016, 1022,
1017, 1029, 1026, 2760, 1027, 1028, 1032, 1034, 1035, 2760,
1036, 1039, 1037, 1040, 1041, 1047, 1043, 1050, 1048, 1051,
1053, 1055, 1059, 1056, 1061, 1073, 1074, 1064, 1072, 1077,
1071, 1079, 1086, 1085, 1087, 1089, 1095, 1091, 1094, 1097,
1098, 1099, 1100, 1101, 1104, 1126, 1106, 1107, 1108, 1109,
1114, 1115, 1116, 1117, 1132, 1138, 1140, 1120, 1141, 1147,
1149, 1143, 1152, 1150, 1156, 1157, 2760, 1163, 1159, 1160,
1165, 1167, 1168, 1112, 1170, 1171, 1173, 1174, 1175, 1182,
2760, 1180, 1183, 1181, 1185, 1186, 1192, 1194, 1204, 1200,
2760, 1207, 1208, 1210, 1211, 1198, 1214, 1215, 1216, 1219,
1222, 1223, 1225, 1230, 1232, 1220, 1234, 1227, 1233, 1235,
1240, 1242, 1243, 1244, 1246, 1250, 1256, 1259, 1257, 1264,
1258, 1260, 1266, 1269, 1267, 1270, 1268, 1271, 2760, 175,
1275, 1273, 1280, 1281, 1291, 1290, 1283, 1284, 1294, 1292,
1293, 1282, 1303, 1304, 1305, 1306, 1309, 1310, 1312, 1313,
1316, 1318, 1319, 1320, 1321, 1323, 1324, 1329, 1326, 1327,
1330, 2760, 1343, 1336, 1337, 1346, 1348, 1356, 1349, 1352,
1354, 1362, 1358, 1364, 1367, 1360, 1370, 1371, 1373, 1374,
1380, 1382, 1378, 1381, 1384, 1386, 2760, 1390, 1388, 1389,
1391, 1395, 1396, 1399, 1401, 1406, 1409, 1410, 1412, 2760,
1415, 1416, 1417, 1423, 1420, 1427, 1424, 1433, 1428, 1430,
1434, 1438, 1437, 1439, 1444, 2760, 1446, 1452, 1449, 1458,
1450, 1456, 1457, 1461, 1462, 1463, 1469, 1465, 1467, 1466,
1470, 1472, 1473, 1476, 1474, 1478, 2760, 1496, 1477, 1481,
1488, 1489, 1480, 1501, 1490, 1502, 1504, 1509, 1506, 1510,
1512, 1511, 1513, 1514, 1517, 1520, 1522, 1528, 1534, 1535,
1536, 2760, 1539, 1540, 1527, 1542, 1549, 1547, 1550, 1551,
1552, 1553, 1554, 1562, 1555, 1556, 1558, 1563, 1559, 1564,
1565, 1566, 1571, 1579, 1568, 1584, 1586, 1588, 1589, 1591,
1590, 1597, 2760, 1596, 2760, 1598, 1599, 1607, 2760, 1605,
2760, 1609, 2760, 1612, 1616, 1611, 1613, 1618, 1619, 1621,
1622, 1624, 1627, 1628, 1629, 1631, 1630, 2760, 1636, 1632,
1640, 1637, 1643, 1644, 1645, 1648, 1656, 1652, 1655, 1659,
1660, 2760, 1662, 1661, 1665, 1675, 1673, 1671, 1676, 1677,
1678, 1679, 1680, 1682, 1687, 1688, 1684, 1690, 1691, 1696,
1694, 1698, 1699, 1700, 1701, 2760, 1703, 1709, 1712, 1711,
2760, 2760, 1714, 1723, 1725, 1715, 1728, 1717, 1729, 1733,
1739, 1744, 1732, 1735, 1740, 1745, 1746, 1747, 1749, 1751,
1754, 2760, 1760, 1756, 1762, 1763, 1753, 1766, 1764, 1775,
2760, 2760, 1768, 1770, 1779, 1780, 1782, 1785, 2760, 1781,
1786, 1787, 1788, 1789, 1791, 1795, 1796, 1805, 1802, 1807,
1808, 1814, 1810, 1806, 1815, 1813, 1826, 2760, 1823, 1828,
1834, 1817, 1830, 1831, 1836, 1833, 1840, 1842, 1848, 1844,
2760, 1850, 1837, 1857, 1846, 1859, 1860, 1867, 1854, 1856,
1863, 1864, 1865, 1870, 1872, 1874, 1877, 2760, 1878, 1880,
1881, 1882, 1885, 1888, 1890, 1892, 1893, 2760, 1895, 1904,
1901, 1903, 1906, 1902, 1908, 1911, 1912, 1913, 1915, 1916,
1919, 1924, 1925, 1934, 1926, 1929, 1940, 1938, 1949, 1950,
1939, 1957, 1942, 1955, 1946, 1953, 1961, 1960, 1967, 1963,
2760, 1965, 1970, 1972, 1973, 1976, 1974, 1977, 2760, 2760,
1983, 2760, 1984, 1987, 1988, 1989, 2760, 1991, 2760, 2760,
1992, 1999, 1993, 2000, 1964, 2003, 2760, 2004, 2007, 2008,
2012, 2013, 2014, 2016, 2015, 2017, 2760, 2018, 2019, 2020,
2022, 2760, 2029, 2035, 2024, 2036, 2040, 2039, 2046, 2045,
2032, 2053, 2049, 2760, 2047, 2055, 2057, 2058, 2059, 2060,
2064, 2065, 2760, 2067, 2074, 2760, 2075, 2061, 2076, 2760,
2078, 2760, 2080, 2082, 2085, 2090, 2087, 2098, 2083, 2091,
2099, 2093, 2101, 2103, 2760, 2760, 2105, 2109, 2112, 2110,
2115, 2117, 2116, 2118, 2119, 2124, 2760, 2125, 2127, 2126,
2128, 2129, 2760, 2133, 2134, 2135, 2138, 2141, 2153, 2155,
2144, 2159, 2161, 2156, 2163, 2165, 2166, 2760, 2167, 2169,
2170, 2174, 2176, 2130, 2177, 2181, 2179, 2171, 2184, 2760,
2187, 2188, 2191, 2193, 2195, 2196, 2198, 2199, 2200, 2203,
2204, 2206, 2209, 2210, 2213, 2760, 2211, 2760, 2216, 2226,
2229, 2232, 2760, 2220, 2222, 2760, 2236, 2237, 2244, 2245,
2247, 2252, 2248, 2238, 2255, 2240, 2256, 2262, 2263, 2760,
2230, 2265, 2264, 2266, 2760, 2760, 2273, 2760, 2760, 2276,
2760, 2760, 2277, 2279, 2760, 2281, 2760, 2288, 2284, 2271,
2267, 2286, 2760, 2293, 2760, 2760, 2290, 2294, 2297, 2298,
2300, 2302, 2305, 2306, 2307, 2308, 2309, 2310, 2312, 2314,
2315, 2228, 2316, 2317, 2319, 2323, 2326, 2328, 2329, 2339,
2760, 2327, 2340, 2760, 2347, 2342, 2335, 2331, 2348, 2352,
2353, 2355, 2361, 2358, 2357, 2359, 2760, 2362, 2760, 2760,
2360, 2364, 2370, 2363, 2365, 2760, 2375, 2371, 2385, 2387,
2760, 2760, 2760, 2388, 2377, 2382, 2392, 2393, 2394, 2760,
2395, 2396, 2400, 2403, 2407, 2409, 2416, 2413, 2415, 2760,
2417, 2419, 2760, 2420, 2421, 2424, 2426, 2427, 2429, 2760,
2425, 2430, 2437, 2432, 2440, 2442, 2443, 2760, 2445, 2446,
2760, 2452, 2760, 2760, 2447, 2455, 2457, 2462, 2464, 2453,
2458, 2470, 2469, 2473, 2760, 2760, 2474, 2760, 2760, 2466,
2475, 2476, 2478, 2481, 2482, 2484, 2486, 2489, 2488, 2760,
2490, 2760, 2491, 2500, 2492, 2494, 2760, 2501, 2502, 2505,
2760, 2760, 2506, 2515, 2513, 2760, 2518, 2517, 2519, 2520,
2525, 2527, 2521, 2528, 2531, 2529, 2507, 2532, 2541, 2543,
2760, 2545, 2542, 2546, 2550, 2553, 2554, 2555, 2556, 2558,
2559, 2561, 2563, 2760, 2564, 2565, 2575, 2580, 2584, 2572,
2586, 2760, 2587, 2760, 2590, 2591, 2760, 2760, 2592, 2594,
2597, 2760, 2598, 2760, 2581, 2605, 2595, 2760, 2760, 2760,
2607, 2760, 2608, 2760, 2610, 2611, 2760, 2613, 2615, 2617,
2760, 2619, 2760, 2621, 2760, 2622, 2623, 2760, 2760, 2760,
2760, 2625, 2627, 2633, 2628, 2760, 2630, 2635, 2636, 2639,
2760, 2760, 2668, 2675, 2682, 2689, 2696, 94, 2703, 2710,
2717, 2724, 2731, 2738, 2745, 2752
} ;
static yyconst flex_int16_t yy_def[1397] =
{ 0,
1382, 1, 1383, 1383, 1384, 1384, 1385, 1385, 1386, 1386,
1387, 1387, 1382, 1388, 1382, 1382, 1382, 1382, 1389, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1390,
1382, 1382, 1382, 1390, 1391, 1382, 1382, 1382, 1391, 1392,
1382, 1382, 1382, 1382, 1392, 1393, 1382, 1382, 1382, 1393,
1394, 1382, 1395, 1382, 1394, 1394, 1388, 1388, 1382, 1396,
1389, 1396, 1389, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1390, 1390, 1391, 1391, 1392, 1392, 1382, 1393, 1393,
1394, 1394, 1395, 1395, 1394, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1394, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1394, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388,
1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1394, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1394,
1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388,
1388, 1382, 1382, 1388, 1382, 1382, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1394,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1394,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1382, 1388, 1382, 1388, 1388, 1388, 1382, 1388,
1382, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388,
1382, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1382, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1382,
1388, 1382, 1388, 1388, 1388, 1388, 1382, 1388, 1382, 1382,
1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388,
1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1382, 1388, 1388, 1382, 1388, 1388, 1388, 1382,
1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1382, 1382, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388,
1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1382, 1388, 1382, 1388, 1388,
1388, 1388, 1382, 1388, 1388, 1382, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1388, 1388, 1388, 1382, 1382, 1388, 1382, 1382, 1388,
1382, 1382, 1388, 1388, 1382, 1388, 1382, 1388, 1388, 1388,
1388, 1388, 1382, 1388, 1382, 1382, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1382, 1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1382, 1382,
1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388,
1382, 1382, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382, 1388, 1388,
1382, 1388, 1382, 1382, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1382, 1382, 1388, 1382, 1382, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1382,
1388, 1382, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388,
1382, 1382, 1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1382, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388, 1388, 1388,
1388, 1382, 1388, 1382, 1388, 1388, 1382, 1382, 1388, 1388,
1388, 1382, 1388, 1382, 1388, 1388, 1388, 1382, 1382, 1382,
1388, 1382, 1388, 1382, 1388, 1388, 1382, 1388, 1388, 1388,
1382, 1388, 1382, 1388, 1382, 1388, 1388, 1382, 1382, 1382,
1382, 1388, 1388, 1388, 1388, 1382, 1388, 1388, 1388, 1388,
1382, 0, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382,
1382, 1382, 1382, 1382, 1382, 1382
} ;
static yyconst flex_int16_t yy_nxt[2800] =
{ 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, 124, 46, 47, 124, 44,
48, 69, 44, 46, 47, 70, 49, 48, 57, 58,
59, 68, 68, 49, 51, 52, 53, 54, 60, 18,
57, 58, 59, 122, 122, 55, 51, 52, 53, 54,
60, 18, 68, 103, 187, 74, 75, 55, 15, 16,
17, 62, 63, 64, 67, 67, 68, 67, 67, 65,
67, 94, 68, 76, 68, 67, 84, 68, 66, 15,
16, 17, 62, 63, 64, 68, 68, 77, 136, 86,
65, 69, 93, 132, 78, 70, 85, 68, 87, 66,
72, 79, 72, 72, 68, 72, 88, 135, 68, 80,
72, 73, 89, 81, 68, 90, 82, 68, 96, 83,
68, 100, 91, 68, 92, 101, 97, 137, 68, 95,
68, 68, 98, 68, 120, 108, 99, 104, 121, 68,
68, 102, 68, 105, 111, 109, 106, 68, 110, 68,
115, 138, 116, 107, 112, 177, 118, 132, 113, 114,
126, 119, 126, 126, 68, 126, 158, 117, 129, 129,
72, 68, 72, 72, 131, 72, 131, 131, 141, 131,
67, 134, 67, 67, 68, 67, 68, 139, 68, 140,
67, 72, 68, 72, 72, 145, 72, 68, 142, 68,
68, 72, 73, 68, 68, 68, 143, 68, 68, 151,
68, 147, 152, 146, 144, 68, 195, 68, 132, 148,
154, 149, 150, 155, 153, 157, 68, 68, 68, 68,
68, 159, 161, 68, 68, 166, 162, 156, 165, 163,
68, 164, 68, 68, 68, 68, 167, 168, 171, 68,
173, 160, 68, 68, 174, 169, 68, 180, 68, 68,
68, 182, 68, 170, 68, 68, 176, 172, 68, 68,
68, 181, 175, 68, 188, 178, 179, 122, 122, 130,
124, 183, 184, 124, 185, 189, 186, 126, 190, 126,
126, 68, 126, 129, 129, 131, 192, 131, 131, 72,
131, 72, 72, 132, 72, 68, 191, 193, 68, 68,
134, 198, 68, 68, 201, 68, 68, 199, 200, 68,
194, 68, 207, 196, 68, 128, 68, 68, 68, 197,
68, 209, 211, 68, 202, 68, 68, 68, 210, 203,
212, 213, 68, 208, 204, 68, 219, 218, 214, 215,
205, 206, 216, 68, 217, 68, 222, 68, 223, 224,
226, 68, 68, 68, 68, 68, 68, 68, 127, 229,
225, 221, 227, 220, 68, 68, 231, 232, 68, 68,
230, 68, 68, 228, 68, 233, 235, 68, 68, 237,
234, 68, 68, 236, 239, 68, 238, 241, 245, 68,
68, 68, 68, 68, 247, 249, 248, 68, 68, 251,
68, 240, 68, 132, 255, 252, 68, 242, 243, 244,
68, 246, 254, 260, 68, 257, 250, 68, 68, 68,
68, 256, 259, 68, 261, 258, 68, 68, 253, 68,
68, 267, 266, 68, 264, 262, 68, 268, 68, 68,
68, 263, 271, 274, 272, 68, 68, 68, 68, 269,
68, 276, 265, 270, 273, 68, 68, 278, 68, 68,
275, 277, 68, 68, 283, 68, 68, 279, 68, 287,
285, 68, 282, 280, 68, 68, 68, 68, 288, 281,
286, 68, 68, 284, 68, 298, 68, 68, 289, 68,
292, 68, 293, 355, 290, 294, 295, 291, 68, 68,
296, 297, 299, 68, 300, 68, 302, 301, 304, 68,
305, 68, 303, 68, 306, 68, 309, 68, 68, 68,
68, 68, 312, 311, 313, 68, 307, 68, 319, 68,
125, 68, 68, 68, 314, 308, 318, 310, 68, 68,
68, 315, 68, 320, 316, 324, 317, 334, 68, 132,
321, 322, 68, 323, 326, 68, 68, 335, 68, 68,
123, 325, 68, 340, 327, 328, 68, 68, 68, 68,
336, 337, 351, 338, 329, 339, 330, 331, 332, 341,
344, 333, 342, 68, 343, 68, 345, 68, 348, 349,
68, 68, 347, 68, 68, 68, 68, 346, 354, 68,
68, 68, 68, 68, 361, 362, 68, 68, 353, 352,
350, 358, 360, 356, 357, 363, 364, 68, 68, 68,
68, 68, 366, 365, 359, 367, 68, 369, 370, 68,
68, 68, 368, 68, 68, 68, 375, 68, 374, 372,
68, 68, 376, 373, 68, 378, 68, 379, 68, 68,
371, 68, 68, 68, 68, 68, 381, 68, 382, 389,
387, 377, 380, 383, 68, 388, 68, 68, 386, 68,
68, 68, 384, 385, 393, 68, 68, 68, 68, 68,
395, 68, 68, 405, 390, 68, 394, 68, 68, 391,
392, 417, 396, 406, 404, 68, 397, 68, 398, 403,
68, 407, 411, 399, 68, 400, 68, 408, 68, 410,
409, 68, 412, 401, 414, 68, 68, 68, 132, 413,
416, 421, 420, 402, 68, 68, 68, 68, 425, 68,
68, 68, 419, 415, 68, 418, 422, 68, 68, 520,
424, 428, 426, 423, 68, 68, 427, 430, 432, 68,
433, 68, 429, 68, 434, 435, 68, 437, 431, 68,
436, 68, 68, 68, 68, 68, 441, 68, 439, 440,
68, 68, 68, 445, 438, 443, 442, 68, 68, 68,
68, 447, 446, 448, 444, 68, 451, 68, 449, 453,
68, 68, 450, 455, 68, 456, 454, 452, 68, 68,
68, 68, 68, 458, 463, 460, 68, 68, 68, 68,
465, 467, 459, 462, 464, 68, 68, 457, 461, 466,
68, 68, 68, 68, 475, 471, 470, 473, 472, 68,
68, 474, 68, 468, 469, 68, 479, 68, 477, 476,
480, 68, 68, 68, 481, 483, 68, 68, 68, 68,
68, 68, 68, 478, 488, 68, 482, 68, 68, 68,
489, 493, 68, 495, 484, 485, 68, 486, 68, 487,
490, 494, 496, 492, 68, 491, 68, 68, 499, 497,
68, 68, 68, 68, 68, 68, 502, 501, 504, 503,
500, 68, 498, 68, 508, 68, 505, 68, 132, 68,
507, 68, 506, 510, 511, 68, 68, 68, 514, 509,
512, 68, 516, 68, 521, 517, 515, 68, 513, 68,
68, 68, 68, 519, 68, 518, 525, 524, 526, 523,
68, 68, 68, 68, 536, 533, 522, 68, 68, 527,
68, 528, 534, 68, 529, 537, 68, 538, 543, 530,
68, 539, 68, 540, 68, 531, 532, 535, 68, 541,
68, 68, 68, 542, 68, 547, 68, 551, 68, 546,
68, 552, 544, 545, 553, 550, 68, 548, 68, 68,
68, 554, 68, 68, 549, 68, 555, 68, 68, 68,
556, 557, 559, 561, 68, 560, 563, 562, 68, 68,
68, 68, 565, 558, 68, 567, 68, 68, 68, 68,
569, 68, 68, 68, 566, 68, 572, 564, 570, 68,
68, 568, 68, 68, 577, 68, 578, 68, 68, 571,
573, 68, 574, 68, 581, 575, 68, 583, 579, 576,
586, 582, 580, 68, 68, 68, 68, 585, 584, 68,
587, 68, 592, 593, 590, 588, 589, 68, 68, 68,
594, 68, 597, 68, 591, 599, 68, 68, 600, 132,
68, 68, 68, 68, 596, 602, 68, 595, 68, 68,
68, 68, 611, 598, 68, 601, 68, 68, 68, 68,
605, 603, 68, 640, 612, 618, 614, 604, 68, 619,
615, 606, 617, 607, 68, 613, 625, 608, 616, 609,
68, 620, 68, 68, 610, 68, 621, 624, 622, 68,
627, 68, 68, 629, 68, 626, 628, 632, 68, 68,
634, 68, 68, 633, 635, 68, 623, 68, 630, 68,
68, 631, 68, 68, 638, 68, 68, 68, 642, 646,
637, 636, 68, 68, 68, 68, 645, 68, 68, 639,
644, 641, 650, 651, 68, 643, 68, 655, 649, 652,
68, 647, 68, 648, 656, 653, 68, 654, 657, 68,
68, 658, 68, 68, 659, 660, 68, 68, 68, 663,
662, 68, 68, 665, 68, 68, 666, 68, 661, 68,
667, 670, 68, 669, 68, 68, 68, 68, 664, 673,
672, 668, 68, 671, 68, 68, 68, 674, 68, 678,
679, 681, 68, 683, 675, 677, 684, 676, 68, 68,
68, 68, 68, 682, 680, 686, 68, 690, 68, 68,
68, 68, 68, 68, 685, 68, 688, 68, 698, 687,
689, 692, 68, 68, 68, 68, 68, 691, 699, 693,
696, 695, 68, 68, 68, 68, 68, 700, 694, 701,
702, 703, 697, 706, 707, 68, 68, 68, 68, 704,
705, 68, 68, 710, 68, 68, 709, 712, 68, 714,
68, 68, 68, 68, 708, 68, 68, 715, 68, 68,
711, 68, 68, 713, 718, 716, 717, 722, 68, 68,
726, 725, 719, 723, 721, 68, 720, 728, 68, 724,
68, 68, 727, 731, 68, 730, 68, 732, 68, 736,
68, 737, 68, 740, 68, 735, 68, 734, 729, 68,
733, 738, 68, 68, 739, 68, 68, 745, 742, 746,
68, 741, 68, 68, 68, 747, 68, 748, 68, 743,
68, 68, 68, 68, 744, 749, 754, 68, 68, 753,
750, 68, 751, 68, 752, 755, 759, 757, 68, 756,
763, 68, 68, 765, 68, 760, 758, 68, 68, 68,
766, 761, 68, 767, 769, 68, 68, 764, 771, 68,
68, 772, 68, 762, 773, 68, 68, 775, 768, 68,
68, 68, 770, 781, 776, 777, 68, 779, 68, 782,
774, 68, 68, 780, 68, 784, 783, 778, 68, 68,
68, 785, 788, 68, 68, 68, 791, 68, 68, 68,
787, 68, 68, 795, 68, 68, 68, 786, 68, 68,
68, 132, 68, 68, 789, 800, 794, 792, 790, 793,
68, 68, 68, 801, 796, 805, 798, 802, 68, 799,
797, 804, 807, 68, 68, 803, 68, 808, 68, 806,
809, 68, 68, 68, 68, 68, 68, 814, 816, 68,
811, 815, 68, 810, 68, 818, 812, 813, 820, 68,
68, 823, 824, 817, 819, 822, 68, 68, 68, 825,
826, 68, 68, 828, 68, 821, 830, 827, 832, 68,
831, 68, 68, 68, 68, 68, 68, 68, 68, 838,
68, 68, 837, 829, 68, 68, 68, 68, 68, 846,
68, 833, 834, 68, 836, 843, 839, 840, 847, 841,
835, 68, 845, 849, 842, 848, 68, 844, 68, 852,
68, 68, 68, 68, 856, 850, 853, 854, 68, 68,
68, 68, 859, 130, 860, 858, 861, 68, 851, 68,
862, 68, 855, 68, 68, 68, 857, 863, 68, 864,
68, 68, 869, 68, 68, 867, 68, 871, 865, 68,
68, 68, 68, 68, 68, 874, 868, 876, 68, 68,
866, 873, 68, 879, 870, 68, 68, 68, 878, 883,
68, 872, 875, 885, 68, 884, 877, 68, 68, 880,
888, 68, 68, 68, 68, 881, 882, 68, 889, 890,
892, 887, 893, 68, 886, 68, 894, 68, 68, 68,
68, 68, 68, 901, 68, 898, 68, 900, 891, 68,
68, 895, 68, 68, 902, 909, 68, 896, 68, 897,
68, 68, 68, 68, 899, 68, 904, 906, 903, 908,
907, 68, 905, 68, 68, 918, 68, 68, 914, 68,
913, 910, 911, 915, 912, 68, 916, 68, 919, 917,
68, 68, 920, 921, 68, 68, 927, 68, 923, 922,
924, 68, 68, 925, 926, 928, 68, 68, 68, 68,
930, 68, 935, 68, 929, 68, 68, 938, 68, 940,
931, 932, 68, 943, 68, 68, 68, 934, 68, 936,
68, 941, 68, 933, 937, 942, 939, 68, 947, 944,
945, 68, 68, 68, 68, 948, 946, 68, 68, 68,
68, 68, 954, 68, 955, 956, 957, 68, 68, 949,
951, 950, 958, 953, 68, 952, 961, 68, 68, 68,
68, 965, 68, 960, 969, 68, 68, 68, 962, 68,
959, 963, 964, 968, 966, 68, 967, 970, 68, 972,
68, 973, 68, 68, 971, 68, 68, 977, 68, 68,
974, 979, 68, 980, 68, 981, 68, 983, 68, 982,
68, 975, 68, 976, 985, 978, 68, 984, 68, 68,
987, 68, 68, 988, 989, 68, 68, 68, 990, 68,
991, 997, 68, 986, 68, 992, 68, 999, 993, 68,
68, 1002, 68, 68, 68, 994, 995, 68, 996, 1001,
68, 1004, 68, 1007, 68, 68, 1005, 68, 1003, 1000,
998, 1011, 1010, 68, 68, 68, 68, 1014, 68, 1015,
68, 1009, 1013, 68, 68, 68, 1006, 68, 68, 1016,
1008, 68, 128, 1012, 1021, 1023, 68, 68, 68, 1018,
1022, 68, 1020, 1017, 1019, 1026, 68, 1029, 1024, 1030,
68, 68, 68, 1025, 68, 1028, 1031, 1033, 68, 1027,
1032, 68, 68, 1034, 1035, 68, 1036, 68, 1040, 68,
1038, 1037, 68, 68, 1042, 68, 68, 68, 1062, 68,
1044, 1045, 68, 1046, 68, 68, 68, 1043, 68, 68,
1039, 1047, 1049, 1048, 1041, 68, 68, 1052, 1050, 68,
68, 68, 1057, 68, 68, 68, 1059, 1051, 1053, 1055,
1056, 68, 68, 1061, 1063, 68, 68, 1054, 1058, 68,
68, 1066, 1060, 1064, 68, 68, 68, 68, 68, 68,
68, 68, 68, 1074, 68, 1073, 68, 1068, 1069, 1065,
1070, 68, 1071, 1076, 68, 1067, 1078, 68, 68, 1072,
1075, 68, 68, 1080, 1081, 1077, 1082, 68, 68, 68,
1086, 68, 1079, 1083, 1085, 68, 1087, 68, 1090, 68,
68, 68, 68, 68, 1094, 1084, 68, 68, 1088, 68,
1092, 1089, 1091, 1093, 1097, 1095, 68, 68, 68, 1096,
68, 1098, 68, 1100, 68, 68, 1102, 68, 1103, 68,
1099, 1106, 68, 68, 1101, 68, 1105, 1110, 1107, 1108,
68, 68, 1113, 68, 1109, 68, 1111, 68, 1112, 1104,
1116, 68, 68, 1114, 68, 1117, 1115, 68, 68, 68,
68, 68, 1119, 1120, 1118, 1122, 68, 68, 68, 68,
68, 68, 68, 1121, 1130, 68, 68, 68, 1149, 1131,
68, 127, 1128, 68, 1134, 1124, 68, 1123, 1126, 1127,
1132, 1125, 1129, 1133, 1135, 68, 1136, 68, 68, 1137,
1138, 68, 1139, 68, 1141, 68, 1142, 68, 68, 68,
1145, 68, 68, 68, 1144, 1147, 68, 1140, 68, 68,
1153, 68, 1150, 68, 1151, 1155, 68, 1143, 1156, 68,
68, 1146, 1154, 68, 1158, 68, 1148, 68, 68, 1152,
68, 68, 68, 1161, 1159, 68, 68, 1169, 68, 1160,
1165, 68, 68, 68, 1163, 68, 1157, 1167, 68, 1170,
1168, 1166, 68, 1164, 68, 1162, 1174, 1172, 68, 1173,
68, 68, 68, 1171, 68, 1175, 1178, 1177, 68, 68,
68, 1179, 68, 1176, 1180, 1181, 68, 68, 1192, 68,
68, 1182, 1183, 1184, 68, 1185, 1222, 68, 68, 1190,
1186, 1187, 1188, 1189, 68, 68, 68, 68, 68, 68,
1195, 1191, 1193, 68, 1194, 68, 1196, 1197, 68, 68,
1199, 68, 1200, 68, 1198, 1201, 68, 1202, 68, 1203,
68, 1204, 68, 1205, 1206, 68, 68, 1207, 1208, 68,
68, 1211, 68, 1212, 68, 1210, 1213, 68, 68, 68,
68, 68, 68, 1209, 68, 1220, 68, 68, 68, 68,
1214, 68, 1216, 1217, 1218, 68, 1221, 1215, 68, 68,
68, 68, 1224, 68, 1219, 1228, 1229, 68, 1223, 1226,
1230, 68, 68, 1232, 68, 1225, 1227, 1231, 1233, 68,
68, 1236, 1235, 1234, 68, 68, 1240, 68, 1241, 68,
68, 68, 68, 68, 68, 68, 68, 68, 1237, 1247,
1238, 1248, 68, 68, 1239, 1242, 1251, 68, 1243, 68,
1249, 1244, 1246, 1245, 68, 1250, 1253, 68, 1254, 68,
68, 1255, 1252, 1257, 68, 68, 68, 68, 68, 1258,
1259, 1256, 68, 1262, 1260, 68, 125, 1263, 1265, 68,
1266, 68, 1261, 1267, 1268, 68, 1269, 68, 68, 68,
1264, 68, 68, 68, 1270, 1272, 68, 68, 68, 68,
1276, 68, 68, 1271, 68, 1274, 1273, 1275, 1280, 68,
1277, 1282, 68, 1281, 68, 68, 1278, 68, 68, 68,
1284, 1279, 1283, 1287, 68, 68, 1285, 68, 1289, 68,
68, 1286, 1290, 1291, 68, 1292, 68, 1295, 68, 1288,
1296, 68, 68, 1293, 1294, 68, 68, 68, 68, 1297,
68, 1302, 1298, 68, 68, 1300, 68, 1299, 68, 1304,
68, 68, 68, 68, 68, 1309, 68, 1301, 1312, 1303,
1307, 1311, 68, 68, 68, 1313, 1305, 68, 68, 68,
1308, 1310, 1314, 1317, 1306, 68, 1315, 68, 1318, 68,
68, 68, 68, 68, 1319, 1320, 1324, 68, 1321, 68,
68, 68, 1316, 68, 68, 1330, 1329, 1323, 1325, 1326,
1322, 1328, 1332, 68, 68, 68, 1334, 68, 68, 1327,
1333, 1337, 68, 1331, 1338, 68, 68, 68, 68, 1342,
68, 68, 1344, 68, 1335, 68, 68, 68, 123, 1340,
1336, 68, 1347, 1343, 68, 1339, 1348, 68, 1341, 1351,
1346, 1349, 68, 68, 1345, 1350, 68, 1352, 68, 68,
1353, 1354, 68, 68, 68, 1357, 68, 68, 1355, 68,
68, 1362, 1356, 1360, 1358, 1359, 1361, 68, 1363, 68,
68, 1365, 68, 68, 1364, 68, 1368, 68, 1369, 68,
1370, 68, 1371, 68, 68, 68, 1373, 68, 1366, 68,
68, 1374, 68, 1367, 1376, 68, 1372, 68, 68, 1377,
1381, 68, 1382, 1382, 1382, 1382, 1382, 1378, 1382, 1375,
1382, 1379, 1382, 1382, 1382, 1382, 1382, 1380, 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, 1382, 71, 71, 71, 71,
122, 122, 1382, 1382, 1382, 122, 122, 124, 124, 1382,
1382, 124, 1382, 124, 126, 1382, 1382, 1382, 1382, 1382,
126, 129, 129, 1382, 1382, 1382, 129, 129, 131, 1382,
1382, 1382, 1382, 1382, 131, 133, 133, 1382, 133, 133,
133, 133, 72, 72, 1382, 72, 72, 72, 72, 13,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382
} ;
static yyconst flex_int16_t yy_chk[2800] =
{ 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, 118, 33, 6, 7, 7, 7, 7, 9, 7,
10, 10, 10, 44, 44, 7, 8, 8, 8, 8,
10, 8, 21, 33, 118, 21, 21, 8, 11, 11,
11, 11, 11, 11, 1388, 20, 29, 20, 20, 11,
20, 29, 24, 21, 25, 20, 24, 28, 11, 12,
12, 12, 12, 12, 12, 74, 22, 22, 74, 25,
12, 69, 28, 66, 22, 69, 24, 26, 26, 12,
19, 22, 19, 19, 23, 19, 26, 66, 27, 23,
19, 19, 27, 23, 30, 27, 23, 31, 31, 23,
32, 32, 27, 75, 27, 32, 31, 75, 34, 30,
35, 76, 31, 39, 39, 35, 31, 34, 39, 36,
109, 32, 38, 34, 36, 35, 34, 93, 35, 37,
37, 76, 37, 34, 36, 109, 38, 600, 36, 36,
55, 38, 55, 55, 79, 55, 93, 37, 60, 60,
63, 78, 63, 63, 65, 63, 65, 65, 79, 65,
68, 63, 68, 68, 77, 68, 80, 77, 81, 78,
68, 71, 82, 71, 71, 83, 71, 84, 80, 85,
83, 71, 71, 86, 87, 88, 81, 89, 139, 88,
90, 84, 89, 83, 82, 96, 139, 91, 131, 85,
91, 86, 87, 91, 90, 92, 94, 97, 99, 95,
92, 94, 95, 100, 98, 99, 95, 91, 98, 96,
101, 97, 102, 103, 104, 106, 100, 101, 104, 105,
106, 94, 107, 108, 106, 102, 110, 112, 111, 113,
114, 114, 112, 103, 115, 117, 108, 105, 116, 119,
121, 113, 107, 120, 119, 110, 111, 123, 123, 129,
125, 114, 115, 125, 116, 120, 117, 127, 121, 127,
127, 136, 127, 130, 130, 132, 136, 132, 132, 133,
132, 133, 133, 135, 133, 138, 135, 137, 140, 141,
133, 142, 137, 143, 144, 149, 142, 142, 143, 144,
138, 146, 146, 140, 147, 128, 148, 152, 150, 141,
145, 148, 150, 153, 145, 151, 155, 154, 149, 145,
151, 152, 156, 147, 145, 157, 157, 156, 153, 154,
145, 145, 154, 158, 155, 159, 160, 161, 161, 162,
163, 160, 165, 164, 162, 163, 172, 174, 126, 166,
162, 159, 164, 158, 166, 167, 168, 169, 170, 176,
167, 168, 169, 165, 171, 170, 172, 173, 175, 174,
171, 177, 178, 173, 176, 179, 175, 178, 181, 184,
180, 182, 183, 181, 183, 185, 184, 186, 187, 187,
185, 177, 190, 191, 190, 188, 192, 179, 180, 180,
188, 182, 189, 194, 193, 191, 186, 189, 194, 195,
196, 190, 193, 197, 195, 192, 198, 199, 188, 200,
201, 201, 200, 203, 198, 196, 202, 202, 204, 205,
206, 197, 205, 208, 206, 207, 209, 213, 208, 203,
210, 210, 199, 204, 207, 214, 211, 212, 215, 216,
209, 211, 212, 217, 217, 218, 219, 213, 220, 221,
219, 226, 216, 214, 221, 222, 223, 224, 222, 215,
220, 225, 227, 218, 228, 230, 230, 232, 223, 275,
225, 233, 226, 275, 224, 227, 228, 224, 229, 231,
229, 229, 231, 234, 232, 236, 233, 232, 235, 235,
236, 238, 234, 237, 237, 239, 240, 241, 242, 243,
244, 240, 243, 242, 243, 245, 238, 246, 247, 249,
124, 250, 255, 247, 244, 239, 246, 241, 248, 251,
253, 245, 252, 248, 245, 252, 245, 255, 256, 257,
249, 250, 258, 251, 253, 260, 271, 256, 259, 262,
122, 252, 254, 261, 254, 254, 266, 263, 261, 264,
257, 258, 271, 259, 254, 260, 254, 254, 254, 262,
265, 254, 263, 267, 264, 265, 266, 268, 269, 269,
270, 269, 268, 272, 273, 276, 274, 267, 274, 280,
277, 281, 278, 279, 280, 281, 282, 67, 273, 272,
270, 278, 279, 276, 277, 282, 283, 284, 285, 287,
286, 283, 285, 284, 278, 286, 288, 288, 289, 290,
291, 292, 287, 289, 293, 294, 294, 295, 293, 291,
296, 300, 295, 292, 297, 297, 299, 299, 301, 302,
290, 303, 305, 306, 307, 308, 301, 309, 302, 310,
308, 296, 300, 303, 310, 309, 311, 312, 307, 313,
314, 315, 305, 306, 314, 316, 317, 318, 321, 320,
316, 323, 333, 322, 311, 325, 315, 327, 322, 312,
313, 333, 317, 322, 321, 330, 318, 319, 319, 320,
328, 323, 327, 319, 329, 319, 324, 324, 326, 326,
325, 331, 328, 319, 330, 332, 334, 335, 336, 329,
332, 337, 336, 319, 338, 339, 337, 340, 341, 341,
342, 430, 335, 331, 343, 334, 338, 345, 344, 430,
340, 344, 342, 339, 346, 347, 343, 346, 348, 348,
349, 349, 345, 354, 350, 351, 351, 353, 347, 350,
352, 352, 353, 355, 360, 356, 357, 363, 355, 356,
359, 357, 358, 361, 354, 359, 358, 362, 361, 366,
364, 363, 362, 364, 360, 365, 365, 368, 364, 367,
369, 370, 364, 369, 367, 370, 368, 366, 371, 372,
373, 375, 374, 371, 376, 373, 380, 378, 377, 376,
378, 380, 372, 375, 377, 381, 379, 370, 374, 379,
382, 383, 384, 385, 387, 384, 383, 386, 385, 387,
388, 386, 386, 381, 382, 389, 390, 392, 389, 388,
390, 390, 391, 393, 391, 393, 394, 395, 396, 397,
398, 399, 404, 389, 398, 400, 392, 401, 402, 409,
399, 403, 405, 405, 394, 395, 403, 396, 406, 397,
400, 404, 406, 402, 407, 401, 408, 410, 409, 407,
411, 412, 413, 414, 416, 418, 412, 411, 414, 413,
410, 415, 408, 417, 418, 419, 415, 423, 420, 431,
417, 421, 416, 420, 421, 429, 422, 424, 424, 419,
422, 427, 426, 428, 431, 427, 424, 426, 423, 434,
437, 438, 439, 429, 443, 428, 439, 438, 440, 437,
442, 445, 444, 440, 445, 442, 434, 441, 449, 441,
447, 441, 443, 452, 441, 446, 446, 447, 452, 441,
448, 448, 453, 449, 454, 441, 441, 444, 450, 450,
451, 455, 457, 451, 456, 456, 458, 460, 460, 455,
459, 461, 453, 454, 462, 459, 461, 457, 463, 462,
464, 463, 465, 466, 458, 467, 464, 468, 469, 471,
465, 466, 468, 470, 470, 469, 472, 471, 473, 475,
476, 472, 475, 467, 477, 477, 478, 479, 481, 483,
479, 482, 484, 485, 476, 487, 482, 473, 479, 486,
489, 478, 488, 490, 487, 491, 488, 492, 494, 481,
483, 493, 484, 495, 491, 485, 498, 493, 489, 486,
496, 492, 490, 501, 499, 496, 497, 495, 494, 500,
497, 502, 502, 503, 500, 498, 499, 504, 503, 505,
504, 506, 507, 508, 501, 509, 509, 507, 510, 510,
511, 512, 513, 514, 506, 512, 515, 505, 517, 518,
519, 520, 517, 508, 544, 511, 521, 522, 523, 524,
515, 513, 528, 544, 518, 524, 520, 514, 516, 525,
521, 516, 523, 516, 525, 519, 528, 516, 522, 516,
526, 526, 527, 529, 516, 532, 526, 527, 526, 530,
530, 531, 534, 532, 533, 529, 531, 535, 535, 536,
538, 539, 540, 536, 539, 538, 526, 541, 533, 542,
543, 534, 545, 546, 542, 547, 548, 549, 546, 550,
541, 540, 552, 554, 550, 553, 549, 555, 556, 543,
548, 545, 555, 556, 557, 547, 558, 560, 554, 557,
566, 552, 560, 553, 562, 558, 559, 559, 562, 562,
563, 563, 564, 565, 563, 564, 567, 568, 569, 567,
566, 570, 576, 569, 571, 572, 570, 573, 565, 578,
571, 574, 574, 573, 575, 579, 577, 580, 568, 577,
576, 572, 581, 575, 582, 583, 584, 578, 585, 582,
583, 585, 586, 587, 579, 581, 588, 580, 587, 589,
591, 588, 592, 586, 584, 590, 590, 594, 593, 595,
597, 594, 596, 598, 589, 602, 592, 601, 604, 591,
593, 596, 603, 604, 612, 607, 608, 595, 605, 597,
602, 601, 606, 605, 610, 611, 609, 606, 598, 607,
608, 609, 603, 612, 613, 613, 614, 615, 616, 610,
611, 617, 618, 616, 619, 620, 615, 618, 621, 620,
622, 623, 624, 625, 614, 626, 627, 621, 629, 630,
617, 628, 631, 619, 624, 622, 623, 628, 634, 635,
633, 631, 625, 629, 627, 633, 626, 635, 636, 630,
637, 639, 634, 638, 640, 637, 641, 638, 638, 642,
643, 643, 646, 646, 642, 641, 644, 640, 636, 645,
639, 644, 647, 648, 645, 649, 650, 651, 648, 652,
653, 647, 651, 654, 652, 653, 655, 654, 656, 649,
659, 660, 658, 661, 650, 655, 658, 662, 663, 656,
655, 664, 655, 665, 655, 659, 663, 661, 666, 660,
667, 667, 668, 669, 669, 664, 662, 671, 672, 673,
671, 665, 675, 672, 674, 674, 677, 668, 676, 676,
679, 677, 680, 666, 678, 678, 681, 680, 673, 683,
682, 684, 675, 687, 681, 682, 685, 684, 687, 688,
679, 689, 691, 685, 688, 690, 689, 683, 692, 693,
690, 691, 694, 694, 695, 696, 697, 698, 700, 699,
693, 697, 701, 701, 702, 703, 705, 692, 704, 709,
706, 61, 713, 710, 695, 706, 700, 698, 696, 699,
711, 712, 715, 708, 702, 711, 704, 708, 708, 705,
703, 710, 713, 714, 716, 709, 717, 714, 719, 712,
715, 718, 720, 722, 721, 723, 724, 720, 722, 725,
717, 721, 726, 716, 727, 724, 718, 719, 726, 735,
728, 729, 730, 723, 725, 728, 729, 730, 731, 731,
733, 733, 734, 735, 736, 727, 737, 734, 738, 738,
737, 737, 739, 740, 741, 742, 743, 745, 746, 744,
747, 749, 743, 736, 744, 748, 750, 751, 752, 752,
755, 739, 740, 753, 742, 749, 745, 746, 753, 747,
741, 754, 751, 755, 748, 754, 756, 750, 757, 758,
758, 759, 761, 760, 762, 756, 759, 760, 764, 762,
766, 767, 767, 56, 768, 766, 770, 770, 757, 768,
772, 772, 761, 776, 774, 777, 764, 774, 775, 775,
778, 779, 780, 780, 781, 778, 782, 782, 776, 783,
784, 785, 787, 786, 790, 785, 779, 787, 789, 792,
777, 784, 791, 791, 781, 793, 794, 795, 790, 795,
796, 783, 786, 797, 798, 796, 789, 799, 797, 792,
800, 800, 801, 804, 803, 793, 794, 805, 801, 803,
805, 799, 806, 808, 798, 807, 807, 806, 809, 810,
811, 812, 813, 814, 814, 811, 817, 813, 804, 815,
816, 808, 818, 819, 815, 822, 821, 809, 820, 810,
822, 823, 824, 825, 812, 827, 817, 819, 816, 821,
820, 828, 818, 830, 829, 833, 833, 836, 828, 838,
827, 823, 824, 829, 825, 834, 829, 835, 834, 830,
837, 839, 835, 836, 843, 840, 841, 844, 838, 837,
839, 841, 845, 839, 840, 842, 842, 846, 847, 848,
844, 849, 849, 850, 843, 857, 851, 853, 854, 855,
845, 846, 853, 858, 855, 856, 859, 848, 858, 850,
863, 856, 864, 847, 851, 857, 854, 860, 863, 859,
860, 865, 866, 870, 867, 864, 860, 868, 871, 872,
873, 874, 871, 875, 872, 873, 874, 876, 877, 865,
867, 866, 875, 870, 879, 868, 878, 878, 884, 880,
881, 882, 883, 877, 886, 886, 882, 885, 879, 892,
876, 880, 881, 885, 883, 889, 884, 887, 887, 890,
890, 891, 893, 894, 889, 896, 891, 895, 895, 903,
892, 897, 897, 898, 898, 899, 900, 902, 905, 900,
899, 893, 902, 894, 904, 896, 909, 903, 910, 904,
906, 906, 907, 907, 908, 911, 912, 913, 909, 908,
909, 914, 914, 905, 915, 909, 916, 916, 910, 917,
919, 920, 920, 921, 922, 911, 912, 923, 913, 919,
924, 922, 925, 925, 926, 927, 923, 929, 921, 917,
915, 930, 929, 931, 934, 932, 930, 933, 933, 934,
935, 927, 932, 936, 937, 938, 924, 939, 940, 935,
926, 941, 51, 931, 940, 942, 942, 943, 945, 937,
941, 946, 939, 936, 938, 944, 944, 947, 943, 948,
948, 951, 947, 943, 953, 946, 949, 950, 955, 945,
949, 949, 950, 951, 952, 956, 953, 954, 957, 952,
955, 954, 958, 957, 959, 960, 985, 962, 985, 959,
962, 963, 963, 964, 964, 965, 967, 960, 966, 968,
956, 965, 967, 966, 958, 971, 973, 973, 968, 974,
975, 976, 978, 978, 981, 983, 982, 971, 973, 975,
976, 982, 984, 984, 986, 986, 988, 974, 981, 989,
990, 990, 983, 988, 991, 992, 993, 995, 994, 996,
998, 999, 1000, 999, 1001, 998, 1005, 992, 993, 989,
994, 1003, 995, 1001, 1011, 991, 1004, 1004, 1006, 996,
1000, 1008, 1007, 1006, 1007, 1003, 1008, 1010, 1009, 1015,
1012, 1013, 1005, 1009, 1011, 1012, 1013, 1016, 1017, 1017,
1018, 1019, 1020, 1028, 1020, 1010, 1021, 1022, 1015, 1024,
1019, 1016, 1018, 1019, 1024, 1021, 1025, 1027, 1029, 1022,
1031, 1025, 1033, 1028, 1034, 1039, 1031, 1035, 1033, 1037,
1027, 1036, 1036, 1040, 1029, 1042, 1035, 1040, 1037, 1038,
1038, 1041, 1043, 1043, 1039, 1044, 1041, 1047, 1042, 1034,
1048, 1048, 1050, 1044, 1049, 1049, 1047, 1051, 1053, 1052,
1054, 1055, 1051, 1052, 1050, 1054, 1056, 1058, 1060, 1059,
1061, 1062, 1084, 1053, 1064, 1064, 1065, 1066, 1084, 1065,
1067, 50, 1061, 1068, 1068, 1056, 1071, 1055, 1059, 1060,
1066, 1058, 1062, 1067, 1069, 1069, 1070, 1070, 1074, 1071,
1072, 1072, 1073, 1073, 1075, 1075, 1076, 1076, 1077, 1079,
1080, 1080, 1081, 1088, 1079, 1082, 1082, 1074, 1083, 1085,
1087, 1087, 1085, 1086, 1086, 1089, 1089, 1077, 1091, 1091,
1092, 1081, 1088, 1093, 1093, 1094, 1083, 1095, 1096, 1086,
1097, 1098, 1099, 1096, 1094, 1100, 1101, 1104, 1102, 1095,
1100, 1103, 1104, 1107, 1098, 1105, 1092, 1102, 1109, 1105,
1103, 1101, 1114, 1099, 1115, 1097, 1111, 1109, 1110, 1110,
1172, 1111, 1131, 1107, 1112, 1112, 1115, 1114, 1117, 1118,
1124, 1117, 1126, 1112, 1118, 1119, 1119, 1120, 1131, 1121,
1123, 1120, 1121, 1122, 1122, 1123, 1172, 1125, 1127, 1128,
1124, 1125, 1126, 1127, 1128, 1129, 1133, 1132, 1134, 1151,
1134, 1129, 1132, 1150, 1133, 1137, 1137, 1140, 1140, 1143,
1144, 1144, 1146, 1146, 1143, 1148, 1149, 1149, 1152, 1150,
1148, 1151, 1157, 1152, 1154, 1154, 1158, 1157, 1158, 1159,
1160, 1161, 1161, 1162, 1162, 1160, 1163, 1163, 1164, 1165,
1166, 1167, 1168, 1159, 1169, 1170, 1170, 1171, 1173, 1174,
1164, 1175, 1166, 1167, 1168, 1176, 1171, 1165, 1177, 1182,
1178, 1179, 1174, 1188, 1169, 1178, 1179, 1187, 1173, 1176,
1180, 1180, 1183, 1183, 1186, 1175, 1177, 1182, 1185, 1185,
1189, 1188, 1187, 1186, 1190, 1191, 1192, 1192, 1193, 1195,
1194, 1196, 1201, 1193, 1198, 1204, 1202, 1205, 1189, 1202,
1190, 1203, 1203, 1208, 1191, 1194, 1207, 1207, 1195, 1215,
1204, 1196, 1201, 1198, 1216, 1205, 1209, 1209, 1210, 1210,
1214, 1214, 1208, 1216, 1217, 1218, 1219, 1221, 1222, 1217,
1218, 1215, 1223, 1222, 1219, 1224, 45, 1223, 1225, 1225,
1226, 1226, 1221, 1227, 1228, 1228, 1229, 1229, 1227, 1231,
1224, 1232, 1234, 1235, 1231, 1234, 1236, 1241, 1237, 1238,
1238, 1239, 1242, 1232, 1244, 1236, 1235, 1237, 1243, 1243,
1239, 1245, 1245, 1244, 1246, 1247, 1241, 1249, 1250, 1255,
1247, 1242, 1246, 1252, 1252, 1260, 1249, 1256, 1256, 1257,
1261, 1250, 1257, 1258, 1258, 1259, 1259, 1262, 1270, 1255,
1263, 1263, 1262, 1260, 1261, 1264, 1267, 1271, 1272, 1264,
1273, 1273, 1267, 1274, 1275, 1271, 1276, 1270, 1277, 1275,
1279, 1278, 1281, 1283, 1285, 1281, 1286, 1272, 1285, 1274,
1278, 1284, 1284, 1288, 1289, 1286, 1276, 1290, 1293, 1307,
1279, 1283, 1288, 1293, 1277, 1295, 1289, 1294, 1294, 1298,
1297, 1299, 1300, 1303, 1295, 1297, 1301, 1301, 1298, 1302,
1304, 1306, 1290, 1305, 1308, 1307, 1306, 1300, 1302, 1303,
1299, 1305, 1309, 1309, 1313, 1310, 1312, 1312, 1314, 1304,
1310, 1315, 1315, 1308, 1316, 1316, 1317, 1318, 1319, 1320,
1320, 1321, 1322, 1322, 1313, 1323, 1325, 1326, 40, 1318,
1314, 14, 1326, 1321, 1330, 1317, 1327, 1327, 1319, 1330,
1325, 1328, 1328, 1345, 1323, 1329, 1329, 1331, 1331, 1333,
1333, 1335, 1335, 1336, 1339, 1340, 1340, 1347, 1336, 1341,
1343, 1347, 1339, 1345, 1341, 1343, 1346, 1346, 1351, 1351,
1353, 1355, 1355, 1356, 1353, 1358, 1359, 1359, 1360, 1360,
1362, 1362, 1364, 1364, 1366, 1367, 1367, 1372, 1356, 1373,
1375, 1372, 1377, 1358, 1374, 1374, 1366, 1378, 1379, 1375,
1380, 1380, 13, 0, 0, 0, 0, 1377, 0, 1373,
0, 1378, 0, 0, 0, 0, 0, 1379, 1383, 1383,
1383, 1383, 1383, 1383, 1383, 1384, 1384, 1384, 1384, 1384,
1384, 1384, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1386,
1386, 1386, 1386, 1386, 1386, 1386, 1387, 1387, 1387, 1387,
1387, 1387, 1387, 1389, 1389, 0, 1389, 1389, 1389, 1389,
1390, 1390, 0, 0, 0, 1390, 1390, 1391, 1391, 0,
0, 1391, 0, 1391, 1392, 0, 0, 0, 0, 0,
1392, 1393, 1393, 0, 0, 0, 1393, 1393, 1394, 0,
0, 0, 0, 0, 1394, 1395, 1395, 0, 1395, 1395,
1395, 1395, 1396, 1396, 0, 1396, 1396, 1396, 1396, 1382,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382,
1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382, 1382
} ;
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 178 "./util/configlexer.lex"
#ifndef YY_NO_UNPUT
#define YY_NO_UNPUT 1
#endif
#ifndef YY_NO_INPUT
#define YY_NO_INPUT 1
#endif
#line 1709 "<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 198 "./util/configlexer.lex"
#line 1896 "<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 >= 1383 )
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] != 2760 );
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 199 "./util/configlexer.lex"
{
LEXOUT(("SP ")); /* ignore */ }
YY_BREAK
case 2:
YY_RULE_SETUP
#line 201 "./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 204 "./util/configlexer.lex"
{ YDVAR(0, VAR_SERVER) }
YY_BREAK
case 4:
YY_RULE_SETUP
#line 205 "./util/configlexer.lex"
{ YDVAR(1, VAR_NUM_THREADS) }
YY_BREAK
case 5:
YY_RULE_SETUP
#line 206 "./util/configlexer.lex"
{ YDVAR(1, VAR_VERBOSITY) }
YY_BREAK
case 6:
YY_RULE_SETUP
#line 207 "./util/configlexer.lex"
{ YDVAR(1, VAR_PORT) }
YY_BREAK
case 7:
YY_RULE_SETUP
#line 208 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_RANGE) }
YY_BREAK
case 8:
YY_RULE_SETUP
#line 209 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) }
YY_BREAK
case 9:
YY_RULE_SETUP
#line 210 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) }
YY_BREAK
case 10:
YY_RULE_SETUP
#line 211 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_NUM_TCP) }
YY_BREAK
case 11:
YY_RULE_SETUP
#line 212 "./util/configlexer.lex"
{ YDVAR(1, VAR_INCOMING_NUM_TCP) }
YY_BREAK
case 12:
YY_RULE_SETUP
#line 213 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP4) }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 214 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP6) }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 215 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_UDP) }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 216 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_TCP) }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 217 "./util/configlexer.lex"
{ YDVAR(1, VAR_TCP_UPSTREAM) }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 218 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_UPSTREAM) }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 219 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_SERVICE_KEY) }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 220 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_SERVICE_PEM) }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 221 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_PORT) }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 222 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_DAEMONIZE) }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 223 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE) }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 224 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE) }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 225 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_INTERFACE) }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 226 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 227 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_RCVBUF) }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 228 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_SNDBUF) }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 229 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_REUSEPORT) }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 230 "./util/configlexer.lex"
{ YDVAR(1, VAR_CHROOT) }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 231 "./util/configlexer.lex"
{ YDVAR(1, VAR_USERNAME) }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 232 "./util/configlexer.lex"
{ YDVAR(1, VAR_DIRECTORY) }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 233 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOGFILE) }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 234 "./util/configlexer.lex"
{ YDVAR(1, VAR_PIDFILE) }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 235 "./util/configlexer.lex"
{ YDVAR(1, VAR_ROOT_HINTS) }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 236 "./util/configlexer.lex"
{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 237 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_BUFFER_SIZE) }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 238 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SIZE) }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 239 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SLABS) }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 240 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SIZE) }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 241 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SLABS) }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 242 "./util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MAX_TTL) }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 243 "./util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MIN_TTL) }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 244 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_HOST_TTL) }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 245 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_LAME_TTL) }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 246 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_SLABS) }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 247 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 248 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 249 "./util/configlexer.lex"
{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 250 "./util/configlexer.lex"
{ YDVAR(1, VAR_JOSTLE_TIMEOUT) }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 251 "./util/configlexer.lex"
{ YDVAR(1, VAR_DELAY_CLOSE) }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 252 "./util/configlexer.lex"
{ YDVAR(1, VAR_TARGET_FETCH_POLICY) }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 253 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 254 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 255 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_GLUE) }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 256 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 257 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 258 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 259 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_CAPS_FOR_ID) }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 260 "./util/configlexer.lex"
{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 261 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_ADDRESS) }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 262 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_DOMAIN) }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 263 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH_KEY) }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 264 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH) }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 265 "./util/configlexer.lex"
{ YDVAR(0, VAR_STUB_ZONE) }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 266 "./util/configlexer.lex"
{ YDVAR(1, VAR_NAME) }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 267 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_ADDR) }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 268 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_HOST) }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 269 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_PRIME) }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 270 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_FIRST) }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 271 "./util/configlexer.lex"
{ YDVAR(0, VAR_FORWARD_ZONE) }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 272 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_ADDR) }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 273 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_HOST) }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 274 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_FIRST) }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 275 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 276 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 277 "./util/configlexer.lex"
{ YDVAR(2, VAR_ACCESS_CONTROL) }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 278 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_IDENTITY) }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 279 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_VERSION) }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 280 "./util/configlexer.lex"
{ YDVAR(1, VAR_IDENTITY) }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 281 "./util/configlexer.lex"
{ YDVAR(1, VAR_VERSION) }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 282 "./util/configlexer.lex"
{ YDVAR(1, VAR_MODULE_CONF) }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 283 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR) }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 284 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR_FILE) }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 285 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 286 "./util/configlexer.lex"
{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 287 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 288 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR) }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 289 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 290 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 291 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 292 "./util/configlexer.lex"
{ YDVAR(1, VAR_BOGUS_TTL) }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 293 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 294 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 295 "./util/configlexer.lex"
{ YDVAR(1, VAR_IGNORE_CD_FLAG) }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 296 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_LOG_LEVEL) }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 297 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SIZE) }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 298 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SLABS) }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 299 "./util/configlexer.lex"
{ YDVAR(1, VAR_NEG_CACHE_SIZE) }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 300 "./util/configlexer.lex"
{
YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 302 "./util/configlexer.lex"
{ YDVAR(1, VAR_ADD_HOLDDOWN) }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 303 "./util/configlexer.lex"
{ YDVAR(1, VAR_DEL_HOLDDOWN) }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 304 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEEP_MISSING) }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 305 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_SYSLOG) }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 306 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_TIME_ASCII) }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 307 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_QUERIES) }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 308 "./util/configlexer.lex"
{ YDVAR(2, VAR_LOCAL_ZONE) }
YY_BREAK
case 107:
YY_RULE_SETUP
#line 309 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA) }
YY_BREAK
case 108:
YY_RULE_SETUP
#line 310 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA_PTR) }
YY_BREAK
case 109:
YY_RULE_SETUP
#line 311 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_INTERVAL) }
YY_BREAK
case 110:
YY_RULE_SETUP
#line 312 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 313 "./util/configlexer.lex"
{ YDVAR(1, VAR_EXTENDED_STATISTICS) }
YY_BREAK
case 112:
YY_RULE_SETUP
#line 314 "./util/configlexer.lex"
{ YDVAR(0, VAR_REMOTE_CONTROL) }
YY_BREAK
case 113:
YY_RULE_SETUP
#line 315 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_ENABLE) }
YY_BREAK
case 114:
YY_RULE_SETUP
#line 316 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_INTERFACE) }
YY_BREAK
case 115:
YY_RULE_SETUP
#line 317 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_PORT) }
YY_BREAK
case 116:
YY_RULE_SETUP
#line 318 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_KEY_FILE) }
YY_BREAK
case 117:
YY_RULE_SETUP
#line 319 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_CERT_FILE) }
YY_BREAK
case 118:
YY_RULE_SETUP
#line 320 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_KEY_FILE) }
YY_BREAK
case 119:
YY_RULE_SETUP
#line 321 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_CERT_FILE) }
YY_BREAK
case 120:
YY_RULE_SETUP
#line 322 "./util/configlexer.lex"
{ YDVAR(1, VAR_PYTHON_SCRIPT) }
YY_BREAK
case 121:
YY_RULE_SETUP
#line 323 "./util/configlexer.lex"
{ YDVAR(0, VAR_PYTHON) }
YY_BREAK
case 122:
YY_RULE_SETUP
#line 324 "./util/configlexer.lex"
{ YDVAR(1, VAR_DOMAIN_INSECURE) }
YY_BREAK
case 123:
YY_RULE_SETUP
#line 325 "./util/configlexer.lex"
{ YDVAR(1, VAR_MINIMAL_RESPONSES) }
YY_BREAK
case 124:
YY_RULE_SETUP
#line 326 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_ROUNDROBIN) }
YY_BREAK
case 125:
YY_RULE_SETUP
#line 327 "./util/configlexer.lex"
{ YDVAR(1, VAR_MAX_UDP_SIZE) }
YY_BREAK
case 126:
/* rule 126 can match eol */
YY_RULE_SETUP
#line 328 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++; }
YY_BREAK
/* Quoted strings. Strip leading and ending quotes */
case 127:
YY_RULE_SETUP
#line 331 "./util/configlexer.lex"
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
YY_BREAK
case YY_STATE_EOF(quotedstring):
#line 332 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 128:
YY_RULE_SETUP
#line 337 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 129:
/* rule 129 can match eol */
YY_RULE_SETUP
#line 338 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end \"");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 130:
YY_RULE_SETUP
#line 340 "./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 131:
YY_RULE_SETUP
#line 352 "./util/configlexer.lex"
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
YY_BREAK
case YY_STATE_EOF(singlequotedstr):
#line 353 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 132:
YY_RULE_SETUP
#line 358 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 133:
/* rule 133 can match eol */
YY_RULE_SETUP
#line 359 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end '");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 134:
YY_RULE_SETUP
#line 361 "./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 135:
YY_RULE_SETUP
#line 373 "./util/configlexer.lex"
{
LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); }
YY_BREAK
case YY_STATE_EOF(include):
#line 375 "./util/configlexer.lex"
{
yyerror("EOF inside include directive");
BEGIN(inc_prev);
}
YY_BREAK
case 136:
YY_RULE_SETUP
#line 379 "./util/configlexer.lex"
{ LEXOUT(("ISP ")); /* ignore */ }
YY_BREAK
case 137:
/* rule 137 can match eol */
YY_RULE_SETUP
#line 380 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++;}
YY_BREAK
case 138:
YY_RULE_SETUP
#line 381 "./util/configlexer.lex"
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
YY_BREAK
case 139:
YY_RULE_SETUP
#line 382 "./util/configlexer.lex"
{
LEXOUT(("Iunquotedstr(%s) ", yytext));
config_start_include_glob(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(include_quoted):
#line 387 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
BEGIN(inc_prev);
}
YY_BREAK
case 140:
YY_RULE_SETUP
#line 391 "./util/configlexer.lex"
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
YY_BREAK
case 141:
/* rule 141 can match eol */
YY_RULE_SETUP
#line 392 "./util/configlexer.lex"
{ yyerror("newline before \" in include name");
cfg_parser->line++; BEGIN(inc_prev); }
YY_BREAK
case 142:
YY_RULE_SETUP
#line 394 "./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 400 "./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 143:
YY_RULE_SETUP
#line 411 "./util/configlexer.lex"
{ LEXOUT(("unquotedstr(%s) ", yytext));
if(--num_args == 0) { BEGIN(INITIAL); }
yylval.str = strdup(yytext); return STRING_ARG; }
YY_BREAK
case 144:
YY_RULE_SETUP
#line 415 "./util/configlexer.lex"
{
ub_c_error_msg("unknown keyword '%s'", yytext);
}
YY_BREAK
case 145:
YY_RULE_SETUP
#line 419 "./util/configlexer.lex"
{
ub_c_error_msg("stray '%s'", yytext);
}
YY_BREAK
case 146:
YY_RULE_SETUP
#line 423 "./util/configlexer.lex"
ECHO;
YY_BREAK
#line 2808 "<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 >= 1383 )
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 >= 1383 )
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 == 1382);
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 423 "./util/configlexer.lex"