unbound/util/configlexer.c

3754 lines
124 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 145
#define YY_END_OF_BUFFER 146
/* 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[1374] =
{ 0,
1, 1, 127, 127, 131, 131, 135, 135, 139, 139,
1, 1, 146, 143, 1, 125, 125, 144, 2, 144,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 127,
128, 128, 129, 144, 131, 132, 132, 133, 144, 138,
135, 136, 136, 137, 144, 139, 140, 140, 141, 144,
142, 126, 2, 130, 144, 142, 143, 0, 1, 2,
2, 2, 2, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 127, 0, 131, 0, 138, 0, 135, 139, 0,
142, 0, 2, 2, 142, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
142, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 142, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 64, 143, 143, 143, 143,
143, 6, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 142, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 142, 143, 143, 143,
143, 29, 143, 143, 143, 143, 143, 12, 13, 143,
15, 14, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 120,
143, 143, 143, 143, 143, 3, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 142, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 134, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 32, 143, 143, 143, 143,
143, 143, 143, 143, 143, 33, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 79, 134, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 78, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
62, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 20, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 30,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 31,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 22, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 26, 143, 27, 143, 143,
143, 65, 143, 66, 143, 63, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
5, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 81, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 23, 143, 143,
143, 143, 106, 105, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 34, 143, 143, 143, 143, 143, 143,
143, 143, 68, 67, 143, 143, 143, 143, 143, 143,
102, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 53, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 104, 143,
143, 143, 143, 143, 143, 143, 143, 143, 4, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 99, 143, 143, 143, 143, 143, 143, 143, 114,
100, 143, 21, 143, 143, 143, 143, 70, 143, 71,
69, 143, 143, 143, 143, 143, 143, 77, 143, 143,
143, 143, 143, 143, 143, 143, 143, 101, 143, 143,
143, 143, 124, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 61, 143, 143, 143, 143, 143,
143, 143, 143, 28, 143, 143, 17, 143, 143, 143,
16, 143, 86, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 41, 42, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 72, 143, 143,
143, 143, 143, 76, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 80, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
119, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 90, 143, 94, 143,
143, 143, 143, 75, 143, 143, 112, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
93, 143, 143, 143, 143, 43, 44, 143, 49, 95,
143, 107, 103, 143, 143, 37, 143, 97, 143, 143,
143, 143, 143, 7, 143, 60, 111, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 82, 143, 143, 121, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 96, 143, 36,
38, 143, 143, 143, 143, 143, 59, 143, 143, 143,
143, 115, 18, 19, 143, 143, 143, 143, 143, 143,
57, 143, 143, 143, 143, 143, 143, 143, 143, 143,
117, 143, 143, 35, 143, 143, 143, 143, 143, 143,
11, 143, 143, 143, 143, 143, 143, 143, 10, 143,
143, 39, 143, 123, 116, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 89, 88, 143, 118, 113,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
45, 143, 122, 143, 143, 143, 143, 40, 143, 143,
143, 83, 85, 143, 143, 143, 87, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 24, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 110, 143, 143, 143, 143, 143,
143, 143, 25, 143, 9, 143, 143, 108, 50, 143,
143, 143, 92, 143, 73, 143, 143, 143, 52, 56,
51, 143, 46, 143, 8, 143, 143, 91, 143, 143,
143, 55, 143, 47, 143, 109, 143, 143, 84, 74,
54, 48, 143, 143, 143, 143, 58, 143, 143, 143,
143, 98, 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[1388] =
{ 0,
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
87, 108, 2567, 2432, 50, 2744, 2744, 2744, 129, 94,
70, 104, 122, 90, 92, 115, 126, 95, 84, 132,
135, 138, 50, 146, 148, 157, 167, 160, 151, 2387,
2744, 2744, 2744, 70, 2247, 2744, 2744, 2744, 42, 2211,
2022, 2744, 2744, 2744, 189, 1580, 2744, 2744, 2744, 195,
1490, 2744, 199, 2744, 203, 111, 1105, 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, 804, 304, 766, 307, 586, 316, 420, 297, 320,
236, 324, 328, 0, 321, 309, 330, 323, 226, 326,
327, 334, 331, 337, 348, 339, 335, 344, 333, 342,
345, 351, 343, 355, 353, 359, 360, 363, 366, 377,
373, 380, 381, 378, 379, 389, 385, 393, 396, 392,
395, 394, 397, 398, 402, 404, 405, 406, 407, 408,
417, 413, 416, 415, 428, 421, 430, 437, 439, 441,
424, 435, 438, 447, 444, 448, 450, 445, 456, 451,
457, 461, 464, 462, 466, 467, 474, 471, 472, 475,
483, 481, 482, 484, 486, 487, 489, 490, 491, 497,
493, 498, 495, 502, 504, 506, 508, 514, 522, 523,
513, 509, 518, 529, 531, 534, 532, 537, 543, 539,
540, 541, 542, 548, 549, 555, 560, 551, 553, 552,
568, 561, 588, 562, 554, 574, 570, 578, 576, 584,
581, 582, 583, 585, 580, 606, 612, 599, 592, 613,
614, 615, 616, 618, 621, 622, 623, 625, 633, 634,
645, 641, 638, 646, 626, 648, 655, 652, 653, 654,
656, 657, 659, 661, 667, 2744, 669, 663, 671, 665,
675, 2744, 672, 676, 677, 678, 680, 686, 685, 689,
693, 690, 695, 697, 699, 698, 718, 700, 705, 727,
708, 706, 704, 712, 701, 723, 725, 730, 709, 733,
736, 737, 739, 742, 748, 741, 747, 750, 752, 755,
757, 758, 624, 759, 761, 771, 779, 776, 778, 785,
762, 781, 764, 787, 784, 789, 790, 796, 792, 793,
800, 798, 795, 806, 802, 814, 805, 815, 816, 818,
819, 821, 827, 824, 825, 834, 836, 826, 832, 838,
839, 840, 852, 853, 849, 854, 860, 861, 850, 862,
856, 865, 866, 867, 871, 868, 873, 876, 878, 884,
870, 880, 882, 890, 891, 892, 896, 897, 898, 899,
900, 908, 901, 910, 912, 902, 915, 922, 914, 923,
926, 2744, 929, 928, 930, 931, 934, 2744, 2744, 933,
2744, 2744, 936, 937, 938, 946, 951, 947, 954, 940,
956, 961, 957, 966, 962, 973, 968, 975, 976, 978,
979, 981, 983, 984, 985, 989, 991, 999, 992, 1000,
993, 1003, 1004, 1005, 1007, 1009, 1012, 1018, 1015, 2744,
1016, 1017, 1023, 1021, 1026, 2744, 1025, 1027, 1028, 1030,
1033, 1038, 1035, 1039, 1041, 1042, 1045, 1048, 1047, 1040,
1051, 1057, 1063, 1056, 1064, 1066, 1068, 1069, 1077, 1078,
1073, 1074, 1084, 1080, 1083, 1086, 1088, 1090, 1092, 1093,
1095, 1118, 1097, 1099, 1098, 1096, 1104, 1102, 1106, 1119,
1130, 1115, 1108, 1128, 1132, 1137, 1135, 1139, 1107, 1145,
1146, 2744, 1152, 1148, 1141, 1149, 1154, 1155, 1157, 1158,
1163, 1161, 1164, 1167, 1170, 2744, 1169, 1171, 1172, 1175,
1179, 1185, 1173, 1191, 1198, 2744, 1200, 1201, 1183, 1194,
1196, 1203, 1197, 1207, 1208, 1204, 1211, 1214, 1222, 1215,
1217, 1223, 1219, 1225, 1228, 1229, 1231, 1233, 1232, 1240,
1230, 1239, 1251, 1245, 1253, 1247, 1249, 1255, 1258, 1256,
1259, 1257, 1261, 2744, 175, 1264, 1262, 1265, 1275, 1284,
1282, 1269, 1280, 1288, 1281, 1289, 1272, 1273, 1290, 1292,
1295, 1298, 1300, 1301, 1302, 1306, 1307, 1308, 1309, 1310,
1312, 1317, 1318, 1315, 1316, 2744, 1329, 1313, 1326, 1332,
1336, 1343, 1337, 1340, 1339, 1349, 1345, 1350, 1354, 1357,
1351, 1361, 1362, 1347, 1368, 1369, 1367, 1370, 1371, 1373,
2744, 1375, 1377, 1378, 1381, 1382, 1383, 1386, 1388, 1390,
1394, 1397, 1399, 2744, 1402, 1403, 1404, 1410, 1407, 1414,
1411, 1418, 1419, 1420, 1421, 1426, 1422, 1424, 1428, 2744,
1437, 1438, 1436, 1447, 1434, 1444, 1445, 1449, 1446, 1450,
1457, 1451, 1454, 1458, 1459, 1455, 1453, 1461, 1462, 2744,
1469, 1465, 1470, 1467, 1477, 1480, 1482, 1481, 1483, 1484,
1489, 1487, 1492, 1494, 1503, 1493, 1496, 1507, 1509, 1510,
1512, 1518, 1519, 1520, 2744, 1524, 1525, 1526, 1516, 1533,
1537, 1527, 1529, 1534, 1538, 1539, 1547, 1543, 1544, 1549,
1550, 1541, 1551, 1552, 1553, 1556, 1566, 1558, 1564, 1559,
1575, 1576, 1578, 1565, 1588, 2744, 1577, 2744, 1584, 1586,
1596, 2744, 1593, 2744, 1598, 2744, 1599, 1600, 1590, 1594,
1603, 1606, 1610, 1604, 1611, 1607, 1614, 1613, 1615, 1618,
2744, 1620, 1616, 1626, 1622, 1628, 1631, 1633, 1632, 1641,
1639, 1640, 1643, 2744, 1645, 1644, 1652, 1658, 1646, 1656,
1657, 1660, 1661, 1662, 1663, 1665, 1667, 1670, 1671, 1673,
1675, 1678, 1679, 1682, 1681, 1683, 1684, 2744, 1687, 1697,
1686, 1694, 2744, 2744, 1700, 1706, 1707, 1708, 1711, 1696,
1713, 1714, 1721, 1718, 1719, 1727, 1726, 1728, 1729, 1730,
1731, 1733, 1734, 2744, 1741, 1735, 1743, 1745, 1737, 1755,
1746, 1758, 2744, 2744, 1756, 1747, 1762, 1763, 1765, 1766,
2744, 1768, 1769, 1770, 1771, 1772, 1774, 1778, 1779, 1786,
1789, 1787, 1790, 1796, 1792, 1793, 1800, 1798, 1808, 1805,
1810, 1817, 1795, 1813, 1815, 1819, 1820, 1822, 1824, 1830,
1826, 2744, 1833, 1827, 1836, 1834, 1838, 1841, 1844, 1843,
1846, 1847, 1848, 1849, 1851, 1852, 1853, 1856, 2744, 1860,
1864, 1858, 1865, 1871, 1861, 1874, 1877, 1879, 2744, 1881,
1888, 1882, 1884, 1890, 1892, 1885, 1893, 1896, 1898, 1899,
1900, 1901, 1905, 1907, 1909, 1912, 1915, 1921, 1920, 1927,
1930, 1924, 1937, 1928, 1931, 1934, 1938, 1944, 1942, 1948,
1941, 2744, 1947, 1952, 1955, 1956, 1960, 1961, 1949, 2744,
2744, 1945, 2744, 1968, 1959, 1966, 1970, 2744, 1972, 2744,
2744, 1973, 1981, 1974, 1982, 1984, 1989, 2744, 1978, 1990,
1992, 1994, 1995, 1996, 1997, 1998, 1999, 2744, 2000, 2001,
2002, 2012, 2744, 2004, 2017, 2006, 2022, 2023, 2024, 2026,
2028, 2014, 2035, 2033, 2744, 2036, 2037, 2040, 2041, 2045,
2042, 2043, 2047, 2744, 2056, 2058, 2744, 2049, 2048, 2050,
2744, 2064, 2744, 2065, 2060, 2067, 2073, 2069, 2075, 2077,
2079, 2081, 2080, 2088, 2082, 2744, 2744, 2089, 2092, 2094,
2097, 2099, 2101, 2100, 2102, 2084, 2103, 2744, 2106, 2108,
2111, 2112, 2113, 2744, 2117, 2118, 2120, 2123, 2125, 2129,
2138, 2131, 2140, 2142, 2135, 2146, 2148, 2143, 2744, 2114,
2150, 2151, 2153, 2155, 2157, 2156, 2160, 2165, 2158, 2167,
2744, 2169, 2171, 2174, 2172, 2178, 2179, 2180, 2182, 2183,
2186, 2185, 2187, 2189, 2193, 2199, 2744, 2192, 2744, 2201,
2206, 2213, 2214, 2744, 2194, 2216, 2744, 2217, 2219, 2222,
2225, 2227, 2232, 2233, 2226, 2235, 2234, 2236, 2242, 2243,
2744, 2202, 2240, 2244, 2248, 2744, 2744, 2255, 2744, 2744,
2258, 2744, 2744, 2259, 2261, 2744, 2263, 2744, 2270, 2266,
2253, 2251, 2271, 2744, 2275, 2744, 2744, 2272, 2278, 2268,
2279, 2286, 2288, 2290, 2281, 2283, 2291, 2292, 2294, 2295,
2297, 2298, 2299, 2300, 2305, 2302, 2308, 2309, 2311, 2312,
2314, 2744, 2310, 2323, 2744, 2330, 2331, 2319, 2321, 2332,
2333, 2335, 2337, 2343, 2341, 2342, 2344, 2744, 2346, 2744,
2744, 2347, 2345, 2352, 2353, 2355, 2744, 2358, 2359, 2363,
2370, 2744, 2744, 2744, 2371, 2360, 2366, 2374, 2376, 2377,
2744, 2380, 2383, 2384, 2386, 2391, 2393, 2399, 2397, 2403,
2744, 2400, 2398, 2744, 2404, 2406, 2408, 2409, 2411, 2413,
2744, 2414, 2415, 2421, 2416, 2424, 2427, 2426, 2744, 2428,
2429, 2744, 2439, 2744, 2744, 2430, 2440, 2443, 2445, 2448,
2436, 2449, 2456, 2453, 2455, 2744, 2744, 2458, 2744, 2744,
2457, 2460, 2461, 2465, 2462, 2467, 2469, 2470, 2473, 2471,
2744, 2474, 2744, 2475, 2484, 2481, 2479, 2744, 2486, 2487,
2490, 2744, 2744, 2492, 2500, 2494, 2744, 2502, 2504, 2498,
2505, 2509, 2510, 2506, 2511, 2516, 2518, 2512, 2514, 2526,
2527, 2744, 2529, 2521, 2531, 2535, 2537, 2539, 2540, 2542,
2544, 2545, 2547, 2548, 2744, 2549, 2550, 2560, 2565, 2569,
2551, 2571, 2744, 2572, 2744, 2575, 2561, 2744, 2744, 2576,
2578, 2580, 2744, 2581, 2744, 2579, 2583, 2587, 2744, 2744,
2744, 2589, 2744, 2590, 2744, 2593, 2595, 2744, 2596, 2598,
2601, 2744, 2603, 2744, 2605, 2744, 2606, 2607, 2744, 2744,
2744, 2744, 2609, 2611, 2616, 2612, 2744, 2617, 2619, 2620,
2623, 2744, 2744, 2652, 2659, 2666, 2673, 2680, 94, 2687,
2694, 2701, 2708, 2715, 2722, 2729, 2736
} ;
static yyconst flex_int16_t yy_def[1388] =
{ 0,
1373, 1, 1374, 1374, 1375, 1375, 1376, 1376, 1377, 1377,
1378, 1378, 1373, 1379, 1373, 1373, 1373, 1373, 1380, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1381,
1373, 1373, 1373, 1381, 1382, 1373, 1373, 1373, 1382, 1383,
1373, 1373, 1373, 1373, 1383, 1384, 1373, 1373, 1373, 1384,
1385, 1373, 1386, 1373, 1385, 1385, 1379, 1379, 1373, 1387,
1380, 1387, 1380, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1381, 1381, 1382, 1382, 1383, 1383, 1373, 1384, 1384,
1385, 1385, 1386, 1386, 1385, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1385, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1385, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379,
1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1385, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1385, 1379, 1379, 1379,
1379, 1373, 1379, 1379, 1379, 1379, 1379, 1373, 1373, 1379,
1373, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373,
1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1385, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1373, 1385, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1373, 1379, 1373, 1379, 1379,
1379, 1373, 1379, 1373, 1379, 1373, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379,
1379, 1379, 1373, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1373, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373,
1373, 1379, 1373, 1379, 1379, 1379, 1379, 1373, 1379, 1373,
1373, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379,
1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1373, 1379, 1379, 1373, 1379, 1379, 1379,
1373, 1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1373, 1373, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379,
1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379, 1373, 1379,
1379, 1379, 1379, 1373, 1379, 1379, 1373, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1379, 1379, 1373, 1373, 1379, 1373, 1373,
1379, 1373, 1373, 1379, 1379, 1373, 1379, 1373, 1379, 1379,
1379, 1379, 1379, 1373, 1379, 1373, 1373, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1373, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379, 1373,
1373, 1379, 1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379,
1379, 1373, 1373, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1373, 1379,
1379, 1373, 1379, 1373, 1373, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1373, 1373, 1379, 1373, 1373,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1373, 1379, 1373, 1379, 1379, 1379, 1379, 1373, 1379, 1379,
1379, 1373, 1373, 1379, 1379, 1379, 1373, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1373, 1379, 1379, 1379, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379, 1379, 1379,
1379, 1379, 1373, 1379, 1373, 1379, 1379, 1373, 1373, 1379,
1379, 1379, 1373, 1379, 1373, 1379, 1379, 1379, 1373, 1373,
1373, 1379, 1373, 1379, 1373, 1379, 1379, 1373, 1379, 1379,
1379, 1373, 1379, 1373, 1379, 1373, 1379, 1379, 1373, 1373,
1373, 1373, 1379, 1379, 1379, 1379, 1373, 1379, 1379, 1379,
1379, 1373, 0, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1373, 1373, 1373, 1373
} ;
static yyconst flex_int16_t yy_nxt[2784] =
{ 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, 200, 68, 68, 68, 199, 68,
194, 68, 206, 196, 68, 68, 68, 68, 210, 197,
68, 208, 211, 68, 201, 68, 207, 68, 209, 202,
213, 68, 68, 218, 203, 68, 217, 212, 68, 214,
204, 205, 215, 216, 221, 68, 222, 223, 225, 68,
68, 68, 68, 68, 220, 219, 228, 68, 224, 226,
230, 68, 229, 231, 68, 68, 68, 68, 68, 68,
68, 232, 227, 233, 68, 235, 68, 68, 68, 68,
68, 128, 237, 240, 244, 68, 234, 68, 68, 68,
246, 238, 236, 68, 247, 248, 132, 239, 242, 243,
68, 241, 68, 250, 251, 245, 253, 68, 256, 68,
68, 68, 249, 68, 259, 254, 68, 68, 258, 68,
68, 260, 68, 68, 265, 263, 257, 252, 68, 68,
266, 264, 255, 68, 68, 261, 68, 269, 68, 68,
262, 272, 270, 68, 68, 274, 68, 68, 271, 267,
276, 268, 275, 68, 68, 68, 68, 273, 68, 68,
281, 68, 68, 68, 285, 68, 283, 68, 286, 68,
68, 280, 278, 277, 68, 284, 68, 279, 68, 282,
68, 68, 287, 290, 288, 68, 68, 289, 294, 295,
68, 292, 293, 296, 68, 68, 300, 291, 297, 301,
302, 68, 298, 68, 68, 299, 68, 304, 303, 68,
307, 68, 68, 68, 68, 68, 310, 309, 311, 305,
68, 68, 317, 68, 68, 68, 68, 68, 312, 306,
316, 308, 68, 68, 68, 333, 313, 318, 321, 314,
68, 315, 68, 322, 319, 320, 132, 324, 68, 332,
68, 338, 68, 68, 68, 68, 68, 68, 127, 323,
68, 335, 325, 326, 68, 336, 343, 334, 337, 340,
341, 68, 327, 339, 328, 329, 330, 342, 68, 331,
348, 345, 346, 344, 68, 68, 68, 68, 68, 351,
68, 347, 352, 68, 68, 68, 68, 68, 68, 426,
350, 349, 358, 355, 357, 68, 68, 354, 353, 359,
68, 365, 361, 68, 363, 360, 356, 68, 68, 362,
68, 366, 367, 364, 68, 68, 68, 68, 68, 68,
372, 68, 371, 68, 369, 68, 373, 68, 370, 68,
375, 68, 376, 68, 68, 368, 379, 68, 68, 68,
68, 378, 68, 386, 374, 384, 377, 68, 68, 380,
385, 68, 68, 383, 381, 68, 390, 68, 382, 68,
68, 68, 68, 68, 392, 387, 68, 68, 68, 405,
68, 68, 391, 388, 68, 407, 389, 393, 408, 394,
68, 395, 400, 401, 402, 68, 396, 68, 397, 68,
404, 406, 68, 412, 403, 68, 398, 409, 68, 68,
413, 68, 410, 68, 132, 418, 399, 414, 417, 68,
68, 411, 68, 422, 68, 419, 416, 68, 415, 68,
68, 68, 428, 68, 68, 421, 68, 420, 125, 423,
436, 424, 429, 68, 427, 425, 430, 431, 68, 432,
68, 68, 433, 68, 437, 434, 68, 68, 435, 68,
438, 68, 68, 441, 68, 68, 439, 68, 68, 442,
68, 447, 68, 449, 68, 444, 123, 68, 68, 443,
445, 452, 440, 450, 446, 448, 68, 68, 68, 451,
68, 68, 454, 68, 459, 456, 68, 68, 68, 68,
461, 455, 460, 453, 68, 458, 68, 457, 68, 462,
68, 68, 68, 463, 467, 466, 464, 468, 465, 469,
471, 68, 68, 470, 68, 68, 68, 475, 68, 473,
472, 476, 68, 68, 68, 477, 479, 68, 68, 68,
68, 478, 68, 68, 474, 68, 480, 484, 68, 485,
68, 489, 68, 491, 68, 481, 68, 482, 492, 483,
486, 490, 68, 68, 68, 488, 487, 493, 68, 68,
68, 68, 68, 68, 68, 498, 497, 500, 499, 494,
68, 496, 68, 495, 68, 501, 68, 132, 505, 503,
508, 502, 506, 504, 68, 68, 512, 507, 68, 510,
68, 68, 68, 68, 513, 68, 68, 511, 68, 68,
68, 515, 68, 521, 520, 519, 509, 518, 68, 68,
514, 516, 517, 68, 528, 522, 68, 523, 68, 68,
524, 531, 532, 68, 68, 525, 533, 530, 68, 534,
68, 526, 527, 537, 529, 68, 536, 68, 68, 535,
68, 68, 538, 68, 542, 68, 68, 68, 547, 541,
546, 68, 545, 68, 68, 68, 548, 549, 539, 540,
543, 68, 68, 551, 544, 68, 68, 68, 550, 68,
556, 68, 554, 552, 68, 558, 555, 68, 68, 68,
68, 560, 557, 68, 553, 68, 562, 68, 68, 68,
68, 564, 68, 561, 567, 68, 559, 68, 563, 565,
68, 68, 68, 68, 68, 573, 572, 68, 566, 68,
68, 568, 569, 68, 581, 578, 576, 570, 68, 68,
571, 574, 579, 575, 577, 68, 68, 580, 68, 582,
68, 68, 587, 585, 588, 68, 68, 583, 584, 68,
68, 592, 68, 589, 594, 68, 68, 595, 132, 591,
68, 586, 68, 590, 68, 68, 597, 68, 68, 68,
68, 68, 593, 606, 68, 596, 68, 68, 68, 68,
68, 600, 609, 598, 612, 608, 613, 68, 611, 599,
68, 68, 618, 601, 619, 602, 607, 610, 625, 603,
68, 604, 68, 614, 68, 621, 605, 68, 615, 68,
616, 68, 620, 68, 622, 623, 626, 68, 68, 628,
68, 68, 627, 629, 68, 624, 68, 68, 617, 68,
68, 632, 630, 68, 631, 68, 68, 640, 634, 68,
636, 68, 68, 68, 68, 68, 633, 68, 639, 635,
638, 68, 644, 637, 647, 68, 645, 68, 654, 643,
641, 642, 646, 68, 648, 649, 68, 650, 68, 68,
68, 651, 68, 68, 652, 68, 68, 653, 657, 68,
68, 655, 661, 68, 659, 660, 68, 68, 656, 68,
658, 68, 663, 664, 68, 68, 665, 68, 667, 662,
68, 68, 68, 68, 68, 68, 677, 666, 672, 668,
673, 68, 68, 676, 671, 675, 669, 68, 678, 68,
670, 68, 674, 68, 680, 68, 684, 68, 68, 68,
68, 68, 679, 68, 68, 682, 68, 68, 681, 683,
686, 68, 692, 700, 68, 68, 685, 68, 687, 690,
689, 693, 68, 68, 68, 695, 68, 691, 688, 694,
68, 68, 68, 701, 68, 697, 696, 68, 698, 703,
68, 702, 68, 68, 68, 705, 699, 707, 68, 68,
68, 68, 68, 708, 68, 68, 704, 68, 68, 68,
68, 706, 711, 709, 710, 715, 719, 718, 68, 720,
712, 68, 714, 713, 68, 716, 721, 717, 68, 68,
724, 68, 68, 723, 725, 68, 729, 68, 730, 68,
728, 68, 68, 68, 722, 727, 68, 731, 726, 68,
733, 732, 734, 68, 68, 738, 739, 737, 735, 68,
68, 68, 68, 68, 740, 68, 741, 68, 736, 68,
68, 747, 742, 68, 68, 68, 746, 743, 68, 744,
68, 745, 68, 752, 748, 756, 68, 750, 749, 68,
758, 68, 753, 751, 68, 68, 68, 759, 754, 68,
760, 762, 68, 68, 757, 764, 68, 755, 765, 766,
68, 68, 68, 68, 68, 761, 68, 768, 68, 763,
68, 769, 772, 770, 774, 775, 68, 773, 68, 68,
68, 767, 771, 776, 777, 778, 68, 68, 68, 68,
781, 68, 68, 68, 784, 68, 68, 68, 780, 68,
68, 68, 788, 68, 68, 779, 793, 68, 782, 68,
794, 68, 68, 785, 797, 783, 786, 789, 787, 68,
790, 791, 68, 68, 68, 68, 68, 792, 800, 68,
796, 68, 132, 795, 68, 68, 68, 798, 68, 806,
803, 801, 799, 807, 802, 68, 804, 810, 805, 68,
808, 68, 68, 809, 68, 815, 816, 812, 68, 814,
68, 68, 68, 817, 811, 818, 68, 68, 68, 68,
822, 68, 819, 813, 823, 68, 68, 821, 824, 68,
68, 68, 820, 68, 830, 68, 68, 829, 825, 68,
826, 68, 68, 68, 68, 68, 838, 835, 68, 828,
68, 68, 827, 839, 831, 832, 68, 68, 68, 837,
833, 834, 840, 841, 836, 842, 844, 68, 68, 68,
68, 843, 130, 845, 846, 848, 68, 847, 68, 851,
68, 850, 68, 852, 853, 68, 68, 849, 68, 854,
68, 68, 68, 856, 855, 68, 68, 857, 68, 68,
859, 861, 68, 68, 863, 68, 68, 68, 68, 866,
68, 858, 68, 860, 68, 868, 862, 865, 68, 871,
68, 864, 870, 68, 68, 68, 867, 875, 877, 876,
869, 68, 68, 68, 872, 68, 68, 68, 68, 885,
873, 880, 881, 874, 68, 884, 879, 883, 68, 68,
68, 878, 68, 68, 68, 68, 892, 68, 889, 68,
891, 882, 68, 68, 893, 68, 886, 68, 887, 900,
68, 68, 888, 68, 68, 68, 68, 890, 68, 68,
894, 897, 898, 895, 899, 896, 68, 906, 68, 68,
907, 909, 68, 901, 904, 902, 905, 903, 68, 68,
68, 910, 908, 68, 911, 68, 68, 914, 918, 919,
68, 68, 913, 68, 915, 917, 912, 916, 68, 68,
68, 68, 68, 68, 926, 68, 68, 68, 929, 68,
931, 920, 921, 68, 923, 68, 922, 68, 68, 68,
925, 927, 934, 932, 928, 930, 924, 68, 68, 933,
68, 935, 939, 936, 68, 68, 938, 68, 68, 937,
68, 68, 68, 68, 68, 945, 68, 946, 947, 948,
68, 68, 940, 942, 941, 949, 943, 952, 68, 68,
944, 68, 68, 956, 68, 68, 951, 68, 68, 960,
68, 954, 68, 950, 955, 953, 957, 68, 959, 961,
68, 963, 68, 958, 964, 68, 962, 68, 965, 68,
968, 68, 68, 970, 68, 971, 68, 972, 68, 68,
974, 973, 68, 976, 966, 68, 68, 967, 68, 978,
68, 980, 969, 68, 979, 68, 68, 975, 68, 68,
68, 68, 988, 68, 68, 68, 990, 981, 68, 982,
68, 977, 68, 68, 983, 993, 68, 68, 984, 985,
986, 992, 987, 68, 995, 994, 68, 998, 991, 68,
989, 68, 996, 68, 68, 1002, 68, 68, 1001, 997,
68, 1005, 68, 1004, 68, 68, 1007, 1000, 68, 1006,
68, 68, 68, 68, 1003, 999, 1014, 68, 1012, 68,
1017, 68, 1013, 1009, 68, 1008, 1011, 68, 1020, 1010,
1015, 1021, 68, 68, 1022, 1016, 68, 1024, 1023, 68,
68, 1019, 68, 68, 1026, 1018, 68, 1028, 1025, 68,
68, 1031, 1027, 68, 68, 1033, 68, 68, 1029, 68,
68, 68, 1035, 1036, 68, 1034, 1037, 68, 68, 1042,
1041, 68, 68, 68, 1038, 1030, 1032, 1039, 68, 1040,
68, 1043, 68, 1048, 68, 68, 68, 1046, 1050, 1045,
68, 1047, 1044, 68, 68, 1052, 68, 1055, 1053, 1049,
1054, 68, 68, 1051, 68, 1057, 68, 68, 68, 68,
68, 68, 68, 68, 68, 1065, 68, 1064, 68, 1059,
1060, 1061, 1056, 128, 68, 1062, 68, 1058, 1069, 68,
1068, 1063, 1066, 1067, 68, 68, 68, 1072, 68, 1071,
68, 1073, 1077, 1074, 1070, 68, 1076, 68, 68, 68,
1078, 1081, 68, 68, 68, 68, 1085, 68, 1075, 68,
68, 68, 68, 1080, 1086, 1082, 1083, 1079, 68, 1084,
68, 1087, 68, 1088, 1090, 1089, 68, 68, 1092, 68,
1091, 68, 1093, 1094, 1097, 68, 1099, 68, 1096, 68,
1098, 68, 68, 68, 68, 1101, 68, 1095, 1102, 1104,
68, 68, 1105, 1107, 68, 1103, 68, 1108, 1100, 68,
1106, 68, 68, 68, 68, 68, 1110, 1111, 68, 1113,
68, 1109, 1114, 68, 68, 68, 68, 1112, 1121, 68,
68, 1135, 68, 1122, 1115, 68, 1119, 68, 1125, 1117,
1126, 68, 1116, 68, 1118, 1123, 1120, 68, 1124, 1127,
68, 1129, 68, 1130, 68, 68, 1128, 1132, 68, 1133,
68, 1136, 68, 68, 1138, 68, 1131, 68, 68, 68,
68, 1141, 68, 1142, 1134, 1140, 1144, 68, 1146, 68,
1147, 68, 1137, 68, 68, 1139, 68, 1149, 1143, 1145,
68, 68, 68, 1150, 68, 68, 1152, 68, 68, 68,
1160, 68, 1151, 1156, 68, 68, 68, 1154, 1158, 1148,
1159, 68, 1157, 68, 68, 1161, 1155, 1153, 68, 1164,
1165, 1168, 1163, 127, 1162, 68, 68, 1166, 68, 68,
1183, 68, 1170, 1172, 68, 1167, 1171, 68, 68, 68,
1169, 1173, 1174, 1175, 68, 68, 68, 68, 68, 1181,
1176, 1178, 68, 1180, 68, 68, 68, 1184, 1177, 125,
68, 1182, 1186, 68, 1185, 68, 1179, 68, 1187, 1188,
68, 68, 1190, 68, 1191, 68, 1189, 1192, 68, 1193,
68, 1194, 68, 68, 68, 1195, 1197, 68, 1196, 1198,
68, 68, 1199, 68, 1200, 68, 1201, 1202, 68, 1203,
68, 1204, 68, 68, 68, 1205, 68, 68, 1211, 68,
68, 68, 68, 1206, 68, 1207, 1208, 68, 1209, 1212,
68, 68, 68, 68, 68, 1221, 68, 1210, 1219, 1220,
1215, 68, 1214, 68, 1217, 68, 1223, 1213, 1216, 1218,
1222, 1224, 68, 68, 68, 68, 1226, 68, 1231, 68,
1232, 1227, 1225, 68, 68, 68, 68, 68, 68, 68,
1238, 1229, 1228, 1239, 68, 68, 1230, 68, 1233, 1242,
68, 68, 68, 1234, 1244, 68, 1235, 1236, 68, 1237,
1240, 1245, 68, 68, 1246, 1241, 68, 1248, 68, 68,
1243, 1249, 68, 1250, 1247, 68, 68, 1251, 68, 123,
1253, 1254, 1256, 68, 1257, 68, 1258, 1252, 1259, 68,
68, 68, 68, 1255, 1260, 68, 68, 1261, 68, 1263,
68, 68, 1262, 68, 1267, 68, 68, 68, 68, 1265,
1266, 1264, 1271, 68, 1268, 1273, 68, 1272, 68, 68,
68, 68, 68, 1275, 68, 1269, 1270, 1274, 68, 1276,
1278, 68, 68, 1280, 1277, 68, 1282, 68, 1281, 1283,
68, 68, 1279, 1286, 1287, 68, 1284, 68, 68, 68,
68, 1288, 68, 68, 68, 1285, 1289, 68, 1293, 68,
1291, 68, 68, 68, 1295, 68, 68, 68, 1290, 1300,
1294, 68, 1292, 68, 1298, 1302, 68, 1303, 68, 68,
1304, 1296, 68, 1299, 68, 1301, 68, 1305, 1297, 1308,
68, 1306, 68, 1309, 68, 1310, 68, 68, 68, 1311,
1315, 68, 68, 68, 68, 1312, 68, 1307, 68, 1313,
68, 1316, 1314, 68, 1317, 1320, 1319, 1323, 68, 68,
1325, 68, 1318, 68, 1324, 1322, 1328, 68, 1329, 68,
1321, 68, 68, 1326, 68, 1333, 68, 68, 1335, 68,
68, 68, 68, 68, 1331, 1327, 1373, 1338, 1342, 1334,
1330, 1339, 68, 68, 1332, 1337, 1340, 68, 1346, 1336,
1341, 68, 1343, 68, 68, 1344, 1345, 68, 68, 1348,
68, 68, 68, 68, 1352, 68, 1347, 1349, 1350, 68,
1354, 68, 68, 1353, 1356, 68, 1355, 68, 68, 1359,
68, 1351, 1360, 68, 1361, 68, 1362, 68, 68, 68,
1364, 68, 1357, 68, 68, 1365, 1358, 1367, 68, 68,
1363, 68, 68, 1368, 1372, 68, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1366, 1369, 1370, 1373, 1373, 1373, 1373,
1373, 1371, 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, 1373,
71, 71, 71, 71, 122, 122, 1373, 1373, 1373, 122,
122, 124, 124, 1373, 1373, 124, 1373, 124, 126, 1373,
1373, 1373, 1373, 1373, 126, 129, 129, 1373, 1373, 1373,
129, 129, 131, 1373, 1373, 1373, 1373, 1373, 131, 133,
133, 1373, 133, 133, 133, 133, 72, 72, 1373, 72,
72, 72, 72, 13, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373
} ;
static yyconst flex_int16_t yy_chk[2784] =
{ 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, 1379, 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, 595, 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, 147, 143, 144,
138, 146, 146, 140, 150, 153, 148, 151, 150, 141,
145, 148, 151, 152, 145, 155, 147, 154, 149, 145,
153, 156, 157, 157, 145, 158, 156, 152, 159, 154,
145, 145, 154, 155, 160, 161, 161, 162, 163, 160,
164, 165, 162, 163, 159, 158, 166, 167, 162, 164,
168, 166, 167, 169, 170, 168, 172, 171, 169, 173,
174, 170, 165, 171, 175, 173, 176, 177, 178, 179,
180, 128, 175, 178, 181, 182, 172, 184, 183, 181,
183, 176, 174, 186, 184, 185, 191, 177, 180, 180,
185, 179, 187, 187, 188, 182, 189, 192, 191, 188,
193, 189, 186, 190, 194, 190, 195, 198, 193, 194,
196, 195, 197, 200, 200, 198, 192, 188, 199, 201,
201, 199, 190, 202, 204, 196, 203, 204, 205, 206,
197, 207, 205, 208, 209, 209, 207, 210, 206, 202,
211, 203, 210, 212, 213, 211, 214, 208, 215, 216,
216, 217, 218, 219, 220, 221, 218, 223, 221, 220,
222, 215, 213, 212, 224, 219, 225, 214, 226, 217,
227, 232, 222, 224, 223, 231, 228, 223, 228, 228,
233, 226, 227, 229, 229, 230, 232, 225, 230, 233,
234, 234, 231, 235, 237, 231, 236, 236, 235, 238,
239, 240, 241, 242, 243, 239, 242, 241, 242, 237,
244, 245, 246, 248, 250, 249, 255, 246, 243, 238,
245, 240, 247, 252, 254, 255, 244, 247, 250, 244,
251, 244, 257, 251, 248, 249, 256, 252, 259, 254,
258, 260, 265, 261, 262, 263, 260, 264, 126, 251,
253, 257, 253, 253, 269, 258, 265, 256, 259, 262,
263, 268, 253, 261, 253, 253, 253, 264, 266, 253,
269, 267, 267, 266, 267, 270, 271, 272, 273, 272,
274, 268, 273, 275, 276, 277, 343, 278, 285, 343,
271, 270, 278, 276, 277, 279, 280, 275, 274, 279,
283, 285, 281, 282, 283, 280, 276, 281, 284, 282,
286, 286, 287, 284, 288, 289, 290, 287, 291, 292,
292, 293, 291, 294, 289, 298, 293, 300, 290, 295,
295, 297, 297, 299, 303, 288, 300, 301, 304, 305,
306, 299, 307, 308, 294, 306, 298, 309, 308, 301,
307, 310, 312, 305, 303, 311, 312, 313, 304, 314,
316, 315, 318, 325, 314, 309, 323, 319, 322, 322,
321, 329, 313, 310, 324, 324, 311, 315, 325, 316,
317, 317, 318, 319, 320, 326, 317, 327, 317, 320,
321, 323, 328, 329, 320, 330, 317, 326, 331, 332,
330, 333, 327, 336, 334, 335, 317, 331, 334, 337,
335, 328, 338, 339, 339, 336, 333, 340, 332, 341,
342, 344, 345, 345, 351, 338, 353, 337, 124, 340,
353, 341, 346, 346, 344, 342, 347, 348, 348, 349,
349, 347, 350, 352, 354, 351, 355, 350, 352, 354,
355, 356, 357, 358, 359, 360, 356, 363, 358, 359,
362, 362, 361, 364, 365, 361, 122, 367, 364, 360,
361, 367, 357, 365, 361, 363, 366, 368, 369, 366,
370, 371, 368, 372, 373, 370, 374, 375, 378, 373,
375, 369, 374, 367, 379, 372, 376, 371, 377, 376,
380, 381, 382, 377, 381, 380, 378, 382, 379, 383,
384, 385, 389, 383, 383, 384, 386, 387, 391, 386,
385, 387, 387, 388, 390, 388, 390, 392, 393, 394,
396, 389, 401, 395, 386, 397, 391, 395, 398, 396,
399, 400, 402, 402, 403, 392, 400, 393, 403, 394,
397, 401, 404, 405, 406, 399, 398, 404, 407, 408,
409, 410, 411, 413, 416, 409, 408, 411, 410, 405,
412, 407, 414, 406, 415, 412, 419, 417, 416, 414,
419, 413, 417, 415, 418, 420, 423, 418, 421, 421,
424, 423, 425, 426, 424, 430, 427, 421, 433, 434,
435, 426, 440, 436, 435, 434, 420, 433, 436, 438,
425, 427, 430, 437, 438, 437, 439, 437, 441, 443,
437, 441, 442, 442, 445, 437, 443, 440, 444, 444,
447, 437, 437, 447, 439, 446, 446, 448, 449, 445,
450, 451, 448, 452, 452, 453, 454, 455, 457, 451,
456, 456, 455, 457, 459, 461, 458, 459, 449, 450,
453, 458, 460, 461, 454, 462, 463, 464, 460, 465,
466, 466, 464, 462, 467, 468, 465, 469, 471, 472,
468, 471, 467, 474, 463, 473, 473, 477, 475, 478,
479, 475, 480, 472, 478, 481, 469, 483, 474, 475,
482, 484, 490, 485, 486, 484, 483, 487, 477, 489,
488, 479, 480, 491, 492, 489, 487, 481, 494, 492,
482, 485, 490, 486, 488, 493, 495, 491, 496, 493,
497, 498, 498, 496, 499, 501, 502, 494, 495, 499,
500, 503, 504, 500, 505, 505, 503, 506, 506, 502,
507, 497, 508, 501, 509, 510, 508, 511, 516, 513,
515, 514, 504, 513, 518, 507, 517, 67, 519, 529,
523, 511, 516, 509, 519, 515, 520, 522, 518, 510,
512, 520, 522, 512, 523, 512, 514, 517, 529, 512,
524, 512, 521, 521, 525, 525, 512, 527, 521, 526,
521, 528, 524, 535, 526, 527, 530, 530, 531, 533,
534, 536, 531, 534, 533, 528, 537, 538, 521, 539,
540, 537, 535, 542, 536, 541, 543, 545, 539, 544,
541, 547, 545, 548, 549, 553, 538, 550, 544, 540,
543, 551, 550, 542, 553, 559, 551, 552, 559, 549,
547, 548, 552, 554, 554, 555, 560, 557, 561, 563,
555, 557, 557, 558, 558, 562, 566, 558, 562, 564,
565, 560, 566, 567, 564, 565, 568, 570, 561, 571,
563, 573, 568, 569, 569, 572, 570, 574, 572, 567,
575, 576, 581, 577, 579, 578, 582, 571, 577, 573,
578, 582, 580, 581, 576, 580, 574, 584, 583, 586,
575, 587, 579, 583, 585, 585, 589, 588, 590, 592,
589, 591, 584, 593, 597, 587, 596, 598, 586, 588,
591, 602, 599, 607, 607, 608, 590, 599, 592, 597,
596, 600, 603, 605, 601, 602, 600, 598, 593, 601,
604, 606, 609, 608, 610, 604, 603, 611, 605, 610,
612, 609, 613, 614, 615, 612, 606, 614, 616, 617,
618, 619, 620, 615, 621, 628, 611, 624, 625, 622,
623, 613, 618, 616, 617, 622, 627, 625, 629, 628,
619, 627, 621, 620, 630, 623, 629, 624, 631, 633,
632, 635, 634, 631, 632, 632, 636, 637, 637, 644,
635, 636, 638, 641, 630, 634, 639, 638, 633, 640,
640, 639, 641, 642, 643, 645, 646, 644, 642, 647,
645, 646, 648, 649, 647, 650, 648, 652, 643, 653,
654, 652, 649, 655, 656, 657, 650, 649, 658, 649,
659, 649, 660, 657, 653, 661, 661, 655, 654, 662,
663, 663, 658, 656, 665, 666, 667, 665, 659, 669,
666, 668, 668, 671, 662, 670, 670, 660, 671, 672,
672, 673, 674, 675, 677, 667, 678, 674, 676, 669,
679, 675, 678, 676, 681, 682, 685, 679, 683, 681,
682, 673, 677, 683, 684, 685, 686, 687, 689, 684,
688, 688, 690, 692, 691, 697, 693, 696, 687, 691,
694, 695, 695, 698, 699, 686, 701, 702, 689, 704,
701, 701, 703, 692, 704, 690, 693, 696, 694, 705,
697, 698, 706, 708, 707, 709, 710, 699, 707, 712,
703, 711, 61, 702, 713, 716, 714, 705, 717, 713,
710, 708, 706, 714, 709, 715, 711, 717, 712, 718,
715, 719, 720, 716, 721, 722, 723, 719, 729, 721,
722, 723, 724, 724, 718, 726, 726, 727, 728, 732,
730, 733, 727, 720, 730, 730, 734, 729, 731, 731,
735, 736, 728, 742, 737, 738, 739, 736, 732, 737,
733, 740, 741, 743, 744, 745, 745, 742, 746, 735,
748, 750, 734, 746, 738, 739, 749, 754, 747, 744,
740, 741, 747, 748, 743, 749, 751, 751, 752, 757,
753, 750, 56, 752, 753, 755, 759, 754, 760, 760,
755, 759, 769, 761, 763, 763, 770, 757, 761, 765,
765, 767, 768, 768, 767, 771, 774, 769, 772, 776,
771, 773, 773, 775, 775, 778, 777, 779, 783, 778,
780, 770, 782, 772, 785, 780, 774, 777, 784, 784,
786, 776, 783, 787, 789, 788, 779, 788, 790, 789,
782, 791, 792, 790, 785, 793, 796, 795, 799, 799,
786, 793, 795, 787, 797, 798, 792, 797, 800, 801,
798, 791, 802, 803, 804, 805, 806, 806, 803, 807,
805, 796, 808, 809, 807, 810, 800, 811, 801, 814,
812, 813, 802, 815, 814, 816, 817, 804, 821, 819,
808, 811, 812, 809, 813, 810, 822, 821, 830, 820,
821, 825, 825, 815, 819, 816, 820, 817, 826, 827,
828, 826, 822, 829, 827, 831, 832, 830, 833, 834,
834, 835, 829, 833, 831, 832, 828, 831, 837, 836,
838, 839, 840, 841, 841, 842, 843, 846, 845, 849,
847, 835, 836, 845, 838, 847, 837, 848, 851, 856,
840, 842, 850, 848, 843, 846, 839, 850, 855, 849,
852, 851, 856, 852, 857, 858, 855, 859, 860, 852,
862, 863, 864, 865, 866, 863, 867, 864, 865, 866,
868, 869, 857, 859, 858, 867, 860, 870, 870, 872,
862, 871, 873, 874, 875, 876, 869, 883, 874, 878,
878, 872, 877, 868, 873, 871, 875, 880, 877, 879,
879, 881, 881, 876, 882, 884, 880, 885, 883, 882,
886, 886, 887, 888, 888, 889, 889, 890, 891, 894,
893, 891, 890, 895, 884, 893, 896, 885, 895, 897,
897, 899, 887, 898, 898, 900, 899, 894, 901, 902,
903, 904, 905, 905, 906, 907, 907, 900, 908, 900,
912, 896, 910, 915, 900, 911, 911, 913, 901, 902,
903, 910, 904, 914, 913, 912, 916, 916, 908, 917,
906, 918, 914, 920, 922, 921, 923, 926, 920, 915,
921, 924, 924, 923, 925, 927, 926, 918, 928, 925,
929, 930, 931, 932, 922, 917, 933, 933, 931, 934,
935, 935, 932, 928, 936, 927, 930, 937, 938, 929,
934, 939, 939, 938, 940, 934, 942, 941, 940, 940,
944, 937, 941, 945, 943, 936, 946, 945, 942, 943,
947, 948, 944, 951, 949, 950, 948, 962, 946, 953,
950, 959, 953, 954, 954, 951, 955, 955, 956, 962,
959, 965, 957, 958, 956, 947, 949, 957, 966, 958,
964, 964, 967, 969, 969, 972, 974, 966, 973, 965,
979, 967, 964, 973, 975, 975, 976, 979, 976, 972,
977, 977, 980, 974, 981, 981, 982, 983, 984, 985,
986, 987, 989, 990, 991, 990, 994, 989, 996, 983,
984, 985, 980, 51, 992, 986, 1002, 982, 995, 995,
994, 987, 991, 992, 997, 998, 999, 998, 1000, 997,
1001, 999, 1003, 1000, 996, 1004, 1002, 1003, 1006, 1007,
1004, 1008, 1008, 1009, 1011, 1012, 1011, 1010, 1001, 1013,
1019, 1018, 1020, 1007, 1012, 1009, 1010, 1006, 1015, 1010,
1016, 1013, 1025, 1015, 1018, 1016, 1022, 1024, 1020, 1026,
1019, 1028, 1022, 1024, 1027, 1027, 1029, 1029, 1026, 1030,
1028, 1031, 1033, 1032, 1035, 1031, 1046, 1025, 1032, 1034,
1034, 1038, 1035, 1039, 1039, 1033, 1040, 1040, 1030, 1041,
1038, 1042, 1044, 1043, 1045, 1047, 1042, 1043, 1049, 1045,
1050, 1041, 1046, 1051, 1052, 1053, 1070, 1044, 1055, 1055,
1056, 1070, 1057, 1056, 1047, 1058, 1052, 1059, 1059, 1050,
1060, 1060, 1049, 1062, 1051, 1057, 1053, 1065, 1058, 1061,
1061, 1063, 1063, 1064, 1064, 1068, 1062, 1066, 1066, 1067,
1067, 1071, 1071, 1072, 1073, 1073, 1065, 1074, 1076, 1075,
1079, 1076, 1077, 1077, 1068, 1075, 1078, 1078, 1080, 1080,
1082, 1082, 1072, 1083, 1085, 1074, 1084, 1084, 1077, 1079,
1086, 1087, 1088, 1085, 1089, 1090, 1087, 1092, 1091, 1093,
1095, 1094, 1086, 1091, 1098, 1095, 1105, 1089, 1093, 1083,
1094, 1096, 1092, 1100, 1122, 1096, 1090, 1088, 1101, 1101,
1102, 1105, 1100, 50, 1098, 1102, 1103, 1103, 1106, 1108,
1122, 1109, 1108, 1110, 1110, 1103, 1109, 1111, 1115, 1112,
1106, 1111, 1112, 1113, 1113, 1114, 1117, 1116, 1118, 1119,
1114, 1116, 1123, 1118, 1119, 1120, 1124, 1123, 1115, 45,
1125, 1120, 1125, 1142, 1124, 1141, 1117, 1128, 1128, 1131,
1131, 1134, 1135, 1135, 1137, 1137, 1134, 1139, 1140, 1140,
1150, 1141, 1139, 1143, 1148, 1142, 1145, 1145, 1143, 1148,
1149, 1151, 1149, 1155, 1150, 1156, 1151, 1152, 1152, 1153,
1153, 1154, 1154, 1157, 1158, 1155, 1159, 1160, 1161, 1161,
1162, 1163, 1164, 1156, 1166, 1157, 1158, 1165, 1159, 1162,
1167, 1168, 1173, 1169, 1170, 1171, 1171, 1160, 1169, 1170,
1165, 1178, 1164, 1179, 1167, 1174, 1174, 1163, 1166, 1168,
1173, 1176, 1176, 1177, 1180, 1181, 1178, 1182, 1183, 1183,
1184, 1179, 1177, 1185, 1186, 1184, 1187, 1193, 1189, 1192,
1193, 1181, 1180, 1194, 1194, 1195, 1182, 1196, 1185, 1198,
1198, 1199, 1206, 1186, 1200, 1200, 1187, 1189, 1207, 1192,
1195, 1201, 1201, 1205, 1205, 1196, 1208, 1207, 1209, 1210,
1199, 1208, 1212, 1209, 1206, 1213, 1214, 1210, 1215, 40,
1213, 1214, 1216, 1216, 1217, 1217, 1218, 1212, 1219, 1219,
1223, 1218, 1222, 1215, 1220, 1220, 1225, 1222, 1226, 1225,
1227, 1228, 1223, 1229, 1229, 1230, 1232, 1233, 1235, 1227,
1228, 1226, 1234, 1234, 1230, 1236, 1236, 1235, 1238, 1237,
1240, 1241, 1246, 1238, 14, 1232, 1233, 1237, 1251, 1240,
1243, 1243, 1247, 1247, 1241, 1248, 1249, 1249, 1248, 1250,
1250, 1252, 1246, 1253, 1254, 1254, 1251, 1255, 1253, 1261,
1258, 1255, 1262, 1263, 1265, 1252, 1258, 1264, 1264, 1266,
1262, 1267, 1268, 1270, 1266, 1269, 1272, 1274, 1261, 1272,
1265, 1277, 1263, 1276, 1269, 1275, 1275, 1276, 1279, 1280,
1277, 1267, 1281, 1270, 1284, 1274, 1286, 1279, 1268, 1284,
1290, 1280, 1285, 1285, 1288, 1286, 1289, 1291, 1294, 1288,
1292, 1292, 1293, 1295, 1298, 1289, 1299, 1281, 1296, 1290,
1297, 1293, 1291, 1304, 1294, 1297, 1296, 1300, 1300, 1301,
1303, 1303, 1295, 1305, 1301, 1299, 1306, 1306, 1307, 1307,
1298, 1308, 1309, 1304, 1310, 1311, 1311, 1312, 1313, 1313,
1314, 1316, 1317, 1321, 1309, 1305, 13, 1317, 1321, 1312,
1308, 1318, 1318, 1327, 1310, 1316, 1319, 1319, 1327, 1314,
1320, 1320, 1322, 1322, 1324, 1324, 1326, 1326, 1330, 1331,
1331, 1336, 1332, 1334, 1337, 1337, 1330, 1332, 1334, 1338,
1342, 1342, 1344, 1338, 1346, 1346, 1344, 1347, 1349, 1350,
1350, 1336, 1351, 1351, 1353, 1353, 1355, 1355, 1357, 1358,
1358, 1363, 1347, 1364, 1366, 1363, 1349, 1365, 1365, 1368,
1357, 1369, 1370, 1366, 1371, 1371, 0, 0, 0, 0,
0, 0, 0, 1364, 1368, 1369, 0, 0, 0, 0,
0, 1370, 1374, 1374, 1374, 1374, 1374, 1374, 1374, 1375,
1375, 1375, 1375, 1375, 1375, 1375, 1376, 1376, 1376, 1376,
1376, 1376, 1376, 1377, 1377, 1377, 1377, 1377, 1377, 1377,
1378, 1378, 1378, 1378, 1378, 1378, 1378, 1380, 1380, 0,
1380, 1380, 1380, 1380, 1381, 1381, 0, 0, 0, 1381,
1381, 1382, 1382, 0, 0, 1382, 0, 1382, 1383, 0,
0, 0, 0, 0, 1383, 1384, 1384, 0, 0, 0,
1384, 1384, 1385, 0, 0, 0, 0, 0, 1385, 1386,
1386, 0, 1386, 1386, 1386, 1386, 1387, 1387, 0, 1387,
1387, 1387, 1387, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373, 1373,
1373, 1373, 1373
} ;
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 1700 "<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 1887 "<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 >= 1374 )
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] != 2744 );
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_TARGET_FETCH_POLICY) }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 252 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 253 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 254 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_GLUE) }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 255 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 256 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 257 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 258 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_CAPS_FOR_ID) }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 259 "./util/configlexer.lex"
{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 260 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_ADDRESS) }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 261 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_DOMAIN) }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 262 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH_KEY) }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 263 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH) }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 264 "./util/configlexer.lex"
{ YDVAR(0, VAR_STUB_ZONE) }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 265 "./util/configlexer.lex"
{ YDVAR(1, VAR_NAME) }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 266 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_ADDR) }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 267 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_HOST) }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 268 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_PRIME) }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 269 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_FIRST) }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 270 "./util/configlexer.lex"
{ YDVAR(0, VAR_FORWARD_ZONE) }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 271 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_ADDR) }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 272 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_HOST) }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 273 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_FIRST) }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 274 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 275 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 276 "./util/configlexer.lex"
{ YDVAR(2, VAR_ACCESS_CONTROL) }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 277 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_IDENTITY) }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 278 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_VERSION) }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 279 "./util/configlexer.lex"
{ YDVAR(1, VAR_IDENTITY) }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 280 "./util/configlexer.lex"
{ YDVAR(1, VAR_VERSION) }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 281 "./util/configlexer.lex"
{ YDVAR(1, VAR_MODULE_CONF) }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 282 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR) }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 283 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR_FILE) }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 284 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 285 "./util/configlexer.lex"
{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 286 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 287 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR) }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 288 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 289 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 290 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 291 "./util/configlexer.lex"
{ YDVAR(1, VAR_BOGUS_TTL) }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 292 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 293 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 294 "./util/configlexer.lex"
{ YDVAR(1, VAR_IGNORE_CD_FLAG) }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 295 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_LOG_LEVEL) }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 296 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SIZE) }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 297 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SLABS) }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 298 "./util/configlexer.lex"
{ YDVAR(1, VAR_NEG_CACHE_SIZE) }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 299 "./util/configlexer.lex"
{
YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 301 "./util/configlexer.lex"
{ YDVAR(1, VAR_ADD_HOLDDOWN) }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 302 "./util/configlexer.lex"
{ YDVAR(1, VAR_DEL_HOLDDOWN) }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 303 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEEP_MISSING) }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 304 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_SYSLOG) }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 305 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_TIME_ASCII) }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 306 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_QUERIES) }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 307 "./util/configlexer.lex"
{ YDVAR(2, VAR_LOCAL_ZONE) }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 308 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA) }
YY_BREAK
case 107:
YY_RULE_SETUP
#line 309 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA_PTR) }
YY_BREAK
case 108:
YY_RULE_SETUP
#line 310 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_INTERVAL) }
YY_BREAK
case 109:
YY_RULE_SETUP
#line 311 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) }
YY_BREAK
case 110:
YY_RULE_SETUP
#line 312 "./util/configlexer.lex"
{ YDVAR(1, VAR_EXTENDED_STATISTICS) }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 313 "./util/configlexer.lex"
{ YDVAR(0, VAR_REMOTE_CONTROL) }
YY_BREAK
case 112:
YY_RULE_SETUP
#line 314 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_ENABLE) }
YY_BREAK
case 113:
YY_RULE_SETUP
#line 315 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_INTERFACE) }
YY_BREAK
case 114:
YY_RULE_SETUP
#line 316 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_PORT) }
YY_BREAK
case 115:
YY_RULE_SETUP
#line 317 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_KEY_FILE) }
YY_BREAK
case 116:
YY_RULE_SETUP
#line 318 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_CERT_FILE) }
YY_BREAK
case 117:
YY_RULE_SETUP
#line 319 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_KEY_FILE) }
YY_BREAK
case 118:
YY_RULE_SETUP
#line 320 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_CERT_FILE) }
YY_BREAK
case 119:
YY_RULE_SETUP
#line 321 "./util/configlexer.lex"
{ YDVAR(1, VAR_PYTHON_SCRIPT) }
YY_BREAK
case 120:
YY_RULE_SETUP
#line 322 "./util/configlexer.lex"
{ YDVAR(0, VAR_PYTHON) }
YY_BREAK
case 121:
YY_RULE_SETUP
#line 323 "./util/configlexer.lex"
{ YDVAR(1, VAR_DOMAIN_INSECURE) }
YY_BREAK
case 122:
YY_RULE_SETUP
#line 324 "./util/configlexer.lex"
{ YDVAR(1, VAR_MINIMAL_RESPONSES) }
YY_BREAK
case 123:
YY_RULE_SETUP
#line 325 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_ROUNDROBIN) }
YY_BREAK
case 124:
YY_RULE_SETUP
#line 326 "./util/configlexer.lex"
{ YDVAR(1, VAR_MAX_UDP_SIZE) }
YY_BREAK
case 125:
/* rule 125 can match eol */
YY_RULE_SETUP
#line 327 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++; }
YY_BREAK
/* Quoted strings. Strip leading and ending quotes */
case 126:
YY_RULE_SETUP
#line 330 "./util/configlexer.lex"
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
YY_BREAK
case YY_STATE_EOF(quotedstring):
#line 331 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 127:
YY_RULE_SETUP
#line 336 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 128:
/* rule 128 can match eol */
YY_RULE_SETUP
#line 337 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end \"");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 129:
YY_RULE_SETUP
#line 339 "./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 130:
YY_RULE_SETUP
#line 351 "./util/configlexer.lex"
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
YY_BREAK
case YY_STATE_EOF(singlequotedstr):
#line 352 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 131:
YY_RULE_SETUP
#line 357 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 132:
/* rule 132 can match eol */
YY_RULE_SETUP
#line 358 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end '");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 133:
YY_RULE_SETUP
#line 360 "./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 134:
YY_RULE_SETUP
#line 372 "./util/configlexer.lex"
{
LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); }
YY_BREAK
case YY_STATE_EOF(include):
#line 374 "./util/configlexer.lex"
{
yyerror("EOF inside include directive");
BEGIN(inc_prev);
}
YY_BREAK
case 135:
YY_RULE_SETUP
#line 378 "./util/configlexer.lex"
{ LEXOUT(("ISP ")); /* ignore */ }
YY_BREAK
case 136:
/* rule 136 can match eol */
YY_RULE_SETUP
#line 379 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++;}
YY_BREAK
case 137:
YY_RULE_SETUP
#line 380 "./util/configlexer.lex"
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
YY_BREAK
case 138:
YY_RULE_SETUP
#line 381 "./util/configlexer.lex"
{
LEXOUT(("Iunquotedstr(%s) ", yytext));
config_start_include_glob(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(include_quoted):
#line 386 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
BEGIN(inc_prev);
}
YY_BREAK
case 139:
YY_RULE_SETUP
#line 390 "./util/configlexer.lex"
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
YY_BREAK
case 140:
/* rule 140 can match eol */
YY_RULE_SETUP
#line 391 "./util/configlexer.lex"
{ yyerror("newline before \" in include name");
cfg_parser->line++; BEGIN(inc_prev); }
YY_BREAK
case 141:
YY_RULE_SETUP
#line 393 "./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 399 "./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 142:
YY_RULE_SETUP
#line 410 "./util/configlexer.lex"
{ LEXOUT(("unquotedstr(%s) ", yytext));
if(--num_args == 0) { BEGIN(INITIAL); }
yylval.str = strdup(yytext); return STRING_ARG; }
YY_BREAK
case 143:
YY_RULE_SETUP
#line 414 "./util/configlexer.lex"
{
ub_c_error_msg("unknown keyword '%s'", yytext);
}
YY_BREAK
case 144:
YY_RULE_SETUP
#line 418 "./util/configlexer.lex"
{
ub_c_error_msg("stray '%s'", yytext);
}
YY_BREAK
case 145:
YY_RULE_SETUP
#line 422 "./util/configlexer.lex"
ECHO;
YY_BREAK
#line 2794 "<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 >= 1374 )
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 >= 1374 )
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 == 1373);
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 422 "./util/configlexer.lex"