unbound/util/configlexer.c

3465 lines
114 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 35
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
/* First, we deal with platform-specific or compiler-specific issues. */
/* begin standard C headers. */
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
/* end standard C headers. */
/* flex integer type definitions */
#ifndef FLEXINT_H
#define FLEXINT_H
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.
*/
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif
#include <inttypes.h>
typedef int8_t flex_int8_t;
typedef uint8_t flex_uint8_t;
typedef int16_t flex_int16_t;
typedef uint16_t flex_uint16_t;
typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t;
#else
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
#endif /* ! C99 */
/* Limits of integral types. */
#ifndef INT8_MIN
#define INT8_MIN (-128)
#endif
#ifndef INT16_MIN
#define INT16_MIN (-32767-1)
#endif
#ifndef INT32_MIN
#define INT32_MIN (-2147483647-1)
#endif
#ifndef INT8_MAX
#define INT8_MAX (127)
#endif
#ifndef INT16_MAX
#define INT16_MAX (32767)
#endif
#ifndef INT32_MAX
#define INT32_MAX (2147483647)
#endif
#ifndef UINT8_MAX
#define UINT8_MAX (255U)
#endif
#ifndef UINT16_MAX
#define UINT16_MAX (65535U)
#endif
#ifndef UINT32_MAX
#define UINT32_MAX (4294967295U)
#endif
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
/* C99 requires __STDC__ to be defined as 1. */
#if defined (__STDC__)
#define YY_USE_CONST
#endif /* defined (__STDC__) */
#endif /* ! __cplusplus */
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative, possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative,
* we want to instead treat it as an 8-bit unsigned char, hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* Enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
#define BEGIN (yy_start) = 1 + 2 *
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YY_START (((yy_start) - 1) / 2)
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart(yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE 16384
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
*/
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
extern int yyleng;
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
*yy_cp = (yy_hold_char); \
YY_RESTORE_YY_MORE_OFFSET \
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, (yytext_ptr) )
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
#endif
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
{
FILE *yy_input_file;
char *yy_ch_buf; /* input buffer */
char *yy_buf_pos; /* current position in input buffer */
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
int yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
* delete it.
*/
int yy_is_our_buffer;
/* Whether this is an "interactive" input source; if so, and
* if we're using stdio for input, then we want to use getc()
* instead of fread(), to make sure we stop fetching input after
* each newline.
*/
int yy_is_interactive;
/* Whether we're considered to be at the beginning of a line.
* If so, '^' rules will be active on the next match, otherwise
* not.
*/
int yy_at_bol;
int yy_bs_lineno; /**< The line count. */
int yy_bs_column; /**< The column count. */
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
/* When an EOF's been seen but there's still some text to process
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
* shouldn't try reading from the input source any more. We might
* still have a bunch of tokens to match, though, because of
* possible backing-up.
*
* When we actually see the EOF, we change the status to "new"
* (via yyrestart()), so that the user can continue scanning by
* just pointing yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
};
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
/* Stack of input buffers. */
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state".
*
* Returns the top of the stack, or NULL.
*/
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)
/* Same as previous macro, but useful when we know that the buffer stack is not
* NULL or when we need an lvalue. For internal use only.
*/
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
static int yy_n_chars; /* number of characters read into yy_ch_buf */
int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 0; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* Flag which is used to allow yywrap()'s to do buffer switches
* instead of setting up a fresh yyin. A bit of a hack ...
*/
static int yy_did_buffer_switch_on_eof;
void yyrestart (FILE *input_file );
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
void yy_delete_buffer (YY_BUFFER_STATE b );
void yy_flush_buffer (YY_BUFFER_STATE b );
void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
void yypop_buffer_state (void );
static void yyensure_buffer_stack (void );
static void yy_load_buffer_state (void );
static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
void *yyalloc (yy_size_t );
void *yyrealloc (void *,yy_size_t );
void yyfree (void * );
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
/* Begin user sect3 */
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern int yylineno;
int yylineno = 1;
extern char *yytext;
#define yytext_ptr yytext
static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
static int yy_get_next_buffer (void );
static void yy_fatal_error (yyconst char msg[] );
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
(yytext_ptr) = yy_bp; \
(yytext_ptr) -= (yy_more_len); \
yyleng = (size_t) (yy_cp - (yytext_ptr)); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
#define YY_NUM_RULES 127
#define YY_END_OF_BUFFER 128
/* 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[1203] =
{ 0,
1, 1, 109, 109, 113, 113, 117, 117, 121, 121,
1, 1, 128, 125, 1, 107, 107, 126, 125, 126,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 109,
110, 110, 111, 126, 113, 114, 114, 115, 126, 120,
117, 118, 118, 119, 126, 121, 122, 122, 123, 126,
124, 108, 124, 112, 126, 124, 125, 0, 1, 0,
125, 0, 2, 0, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 109, 0, 113, 0,
120, 0, 117, 121, 0, 124, 0, 124, 0, 124,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 124, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 124, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
53, 125, 125, 125, 125, 125, 6, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 124, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 124, 125, 125, 125, 125, 21, 125, 125, 125,
125, 125, 12, 13, 125, 15, 14, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 105, 125,
125, 125, 125, 3, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 124, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
116, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 24, 125, 125, 125, 125, 125, 125, 125,
25, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 66,
116, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 65,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 22, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 23, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
17, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 20, 125, 54, 55, 125,
52, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 5, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 68, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 91, 90, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 26,
125, 125, 125, 125, 56, 125, 125, 125, 125, 125,
88, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 45,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 4, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 85,
125, 125, 125, 125, 125, 125, 125, 99, 86, 125,
16, 125, 125, 125, 125, 58, 59, 57, 125, 125,
125, 125, 125, 64, 125, 125, 125, 125, 125, 125,
125, 125, 87, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 73, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 33, 34, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 63, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
67, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 104, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 77, 125, 80, 125, 125,
125, 125, 62, 125, 125, 97, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 35, 36, 125, 41, 81, 125, 92, 89,
125, 29, 125, 83, 125, 125, 125, 125, 125, 7,
125, 51, 96, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 69, 125, 125, 106, 125, 125,
125, 125, 125, 125, 125, 125, 125, 125, 125, 82,
28, 30, 125, 125, 125, 125, 125, 50, 125, 125,
125, 100, 125, 125, 125, 125, 125, 125, 48, 125,
125, 125, 125, 125, 125, 125, 125, 125, 102, 125,
125, 27, 125, 125, 125, 125, 125, 11, 125, 125,
125, 125, 125, 125, 10, 125, 125, 31, 125, 101,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
76, 75, 125, 103, 98, 125, 125, 125, 125, 125,
125, 125, 125, 125, 37, 125, 125, 125, 125, 125,
32, 125, 125, 125, 70, 72, 125, 125, 125, 74,
125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
125, 125, 125, 18, 125, 125, 125, 125, 125, 125,
125, 125, 125, 125, 125, 125, 95, 125, 125, 125,
125, 125, 125, 19, 125, 9, 125, 125, 93, 42,
125, 125, 125, 79, 125, 60, 125, 125, 44, 47,
43, 125, 38, 125, 8, 125, 125, 78, 125, 125,
125, 125, 39, 125, 94, 125, 125, 71, 61, 46,
40, 125, 125, 125, 125, 49, 125, 125, 125, 125,
84, 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, 3, 4, 1, 5, 1, 1, 1,
1, 6, 1, 1, 1, 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[1217] =
{ 0,
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
87, 108, 2319, 2305, 50, 2405, 2405, 2405, 129, 94,
70, 124, 122, 90, 89, 106, 112, 95, 130, 133,
136, 140, 50, 138, 144, 152, 142, 150, 165, 2304,
2405, 2405, 2405, 70, 2303, 2405, 2405, 2405, 42, 2302,
2310, 2405, 2405, 2405, 182, 2298, 2405, 2405, 2405, 186,
2233, 2405, 190, 2405, 194, 154, 1839, 200, 116, 1664,
211, 1241, 2405, 1173, 193, 204, 72, 195, 197, 206,
146, 207, 187, 217, 213, 214, 218, 219, 222, 216,
229, 84, 223, 238, 239, 224, 233, 240, 242, 244,
250, 251, 252, 253, 257, 256, 258, 260, 267, 265,
263, 259, 268, 274, 272, 275, 1108, 291, 795, 294,
717, 298, 700, 574, 303, 276, 307, 313, 185, 297,
306, 314, 308, 310, 312, 315, 321, 317, 324, 336,
325, 320, 328, 329, 330, 332, 341, 331, 342, 344,
338, 347, 353, 361, 359, 351, 369, 366, 373, 375,
367, 376, 377, 378, 379, 380, 381, 383, 384, 385,
389, 111, 386, 391, 398, 407, 413, 392, 404, 396,
412, 419, 417, 390, 418, 421, 423, 427, 430, 424,
432, 434, 435, 433, 443, 441, 444, 446, 453, 449,
450, 452, 456, 454, 458, 464, 460, 461, 462, 466,
467, 474, 481, 483, 468, 478, 487, 490, 491, 484,
494, 500, 497, 498, 501, 502, 510, 507, 506, 508,
513, 509, 533, 515, 518, 519, 520, 528, 521, 529,
531, 538, 542, 534, 544, 550, 562, 546, 556, 561,
564, 563, 567, 568, 569, 570, 573, 576, 575, 590,
581, 588, 589, 594, 596, 597, 525, 598, 599, 600,
2405, 604, 607, 608, 609, 610, 2405, 611, 612, 614,
613, 629, 615, 617, 623, 635, 625, 632, 630, 640,
634, 646, 638, 644, 648, 649, 652, 655, 657, 654,
662, 665, 672, 658, 664, 671, 676, 678, 679, 680,
683, 681, 688, 693, 701, 698, 700, 707, 685, 703,
705, 715, 712, 713, 704, 714, 711, 720, 721, 731,
727, 730, 734, 729, 735, 744, 737, 745, 746, 747,
741, 750, 751, 753, 762, 768, 765, 766, 772, 773,
770, 776, 777, 778, 779, 786, 754, 783, 784, 782,
785, 788, 793, 797, 799, 803, 805, 791, 807, 811,
812, 813, 816, 817, 815, 822, 2405, 829, 828, 825,
827, 830, 2405, 2405, 833, 2405, 2405, 837, 834, 838,
844, 851, 847, 841, 848, 854, 849, 860, 857, 864,
868, 862, 866, 867, 876, 874, 878, 880, 881, 886,
887, 888, 890, 893, 894, 900, 902, 891, 2405, 903,
904, 911, 913, 2405, 905, 914, 915, 909, 920, 907,
925, 922, 932, 930, 933, 935, 937, 917, 939, 946,
945, 943, 944, 954, 950, 956, 959, 951, 960, 953,
962, 963, 987, 965, 968, 967, 971, 973, 974, 975,
983, 999, 991, 989, 979, 997, 976, 995, 1004, 1011,
2405, 1013, 1012, 1014, 1006, 1016, 1017, 1018, 1022, 1020,
1024, 1034, 2405, 1028, 1030, 1031, 1039, 1032, 1045, 1047,
2405, 1048, 1050, 1051, 1054, 1055, 1056, 1057, 1059, 1060,
1064, 1067, 1068, 1070, 1071, 1069, 1073, 1083, 1085, 1077,
1089, 1079, 1086, 1090, 1095, 1093, 1094, 1096, 1097, 2405,
82, 1099, 1101, 1104, 1110, 1112, 1109, 1106, 1117, 1118,
1119, 1121, 1126, 1127, 1128, 1130, 1129, 1133, 1132, 1139,
1140, 1141, 1142, 1144, 1146, 1147, 1152, 1149, 1150, 2405,
1154, 1158, 1157, 1170, 1179, 1160, 1162, 1181, 1182, 1180,
1186, 1184, 1172, 1193, 1194, 1191, 1195, 1192, 1200, 1197,
1202, 1203, 1205, 1207, 1209, 1211, 1214, 1216, 1219, 1222,
1223, 1226, 1229, 1230, 1232, 1233, 1234, 1239, 2405, 1247,
1248, 1245, 1257, 1244, 1241, 1254, 1256, 1258, 1259, 1266,
1263, 1264, 1262, 1267, 1269, 1270, 1272, 1271, 2405, 1286,
1273, 1274, 1288, 1279, 1276, 1287, 1298, 1300, 1301, 1302,
1303, 1304, 1305, 1306, 1311, 1308, 1313, 1321, 1324, 1327,
2405, 1325, 1322, 1312, 1338, 1335, 1332, 1339, 1346, 1340,
1342, 1343, 1344, 1350, 1347, 1352, 1348, 1353, 1356, 1365,
1355, 1371, 1372, 1358, 1381, 2405, 1384, 2405, 2405, 1383,
2405, 1385, 1380, 1366, 1387, 1386, 1390, 1373, 1396, 1394,
1398, 1399, 1400, 1402, 2405, 1404, 1406, 1410, 1405, 1408,
1412, 1275, 1413, 1426, 1414, 1415, 1354, 2405, 1430, 1417,
1424, 1436, 1437, 1423, 1433, 1439, 1440, 1447, 1443, 1449,
1450, 1451, 1452, 1455, 1459, 1456, 1457, 1458, 1460, 1462,
1472, 1464, 2405, 2405, 1482, 1465, 1473, 1478, 1486, 1488,
1494, 1489, 1491, 1496, 1497, 1498, 1499, 1501, 1502, 2405,
1508, 1510, 1506, 1515, 2405, 1513, 1507, 1519, 1523, 1522,
2405, 1526, 1527, 1528, 1529, 1530, 1532, 1536, 1537, 1543,
1544, 1545, 1548, 1554, 1550, 1547, 1555, 1564, 1567, 1568,
1570, 1556, 1553, 1571, 1572, 1576, 1579, 1581, 1582, 2405,
1588, 1573, 1589, 1586, 1594, 1600, 1587, 1596, 1597, 1598,
1602, 1604, 1605, 1607, 1609, 1610, 1613, 1612, 1614, 1624,
1615, 1622, 2405, 1627, 1633, 1626, 1630, 1634, 1635, 1636,
1642, 1643, 1645, 1649, 1647, 1650, 1653, 1660, 1666, 1663,
1670, 1667, 1669, 1671, 1652, 1681, 1672, 1685, 1674, 2405,
1684, 1689, 1691, 1692, 1695, 1693, 1696, 2405, 2405, 1697,
2405, 1701, 1703, 1706, 1707, 2405, 2405, 2405, 1717, 1708,
1710, 1461, 1719, 2405, 1704, 1722, 1714, 1720, 1726, 1727,
1728, 1729, 2405, 1731, 1740, 1730, 1737, 1734, 1741, 1745,
1751, 1747, 1754, 1744, 1755, 1761, 1758, 1757, 1760, 1765,
1766, 1768, 1770, 1769, 1771, 1772, 1773, 1782, 2405, 1785,
1783, 1786, 1794, 1787, 1798, 1790, 1678, 1799, 1800, 1802,
1803, 2405, 2405, 1805, 1807, 1815, 1810, 1812, 1819, 1818,
1820, 1821, 1824, 1826, 1827, 1828, 1829, 2405, 1831, 1836,
1838, 1841, 1853, 1855, 1844, 1859, 1861, 1837, 1863, 1865,
2405, 1830, 1867, 1868, 1870, 1871, 1872, 1873, 1874, 1880,
1877, 1882, 2405, 1884, 1885, 1891, 1886, 1888, 1894, 1895,
1897, 1899, 1901, 1907, 1905, 2405, 1903, 2405, 1904, 1916,
1919, 1920, 2405, 1918, 1922, 2405, 1924, 1925, 1932, 1935,
1937, 1942, 1938, 1906, 1928, 1944, 1950, 1946, 1947, 1951,
1953, 1955, 2405, 2405, 1958, 2405, 2405, 1965, 2405, 2405,
1967, 2405, 1969, 2405, 1975, 1971, 1960, 1962, 1973, 2405,
1980, 2405, 2405, 1977, 1981, 1985, 1987, 1988, 1936, 1989,
1991, 1992, 1974, 1996, 1993, 1997, 1998, 1999, 2005, 1832,
2006, 2008, 2009, 2011, 2405, 2007, 2015, 2405, 2020, 2017,
2021, 2022, 2027, 2028, 2031, 2037, 2033, 2034, 2035, 2405,
2405, 2405, 2036, 2038, 2045, 2042, 2046, 2405, 2050, 2051,
2059, 2405, 2060, 2052, 2054, 2062, 2066, 2065, 2405, 2068,
2072, 2075, 2069, 2079, 2082, 2090, 2087, 2089, 2405, 2091,
2092, 2405, 2094, 2093, 2098, 2099, 2101, 2405, 2076, 2103,
2106, 2108, 2111, 2109, 2405, 2112, 2113, 2405, 2116, 2405,
2118, 2123, 2125, 2130, 2132, 2127, 2120, 2140, 2137, 2139,
2405, 2405, 2141, 2405, 2405, 2133, 2142, 2144, 2146, 2148,
2149, 2151, 2155, 2154, 2405, 2156, 2157, 2161, 2166, 2158,
2405, 2171, 2172, 2165, 2405, 2405, 2168, 2178, 2176, 2405,
2181, 2182, 2183, 2188, 2193, 2189, 2187, 2196, 2194, 2195,
2197, 2201, 2207, 2405, 2209, 2198, 2210, 2214, 2220, 2211,
2215, 2217, 2223, 2224, 2226, 2228, 2405, 2229, 2239, 2241,
2243, 2244, 2246, 2405, 2250, 2405, 2253, 2254, 2405, 2405,
2248, 2258, 2255, 2405, 2261, 2405, 2262, 2231, 2405, 2405,
2405, 2264, 2405, 2265, 2405, 2268, 2270, 2405, 2271, 2273,
2275, 2277, 2405, 2279, 2405, 2280, 2283, 2405, 2405, 2405,
2405, 2286, 2281, 2288, 2291, 2405, 2293, 2295, 2294, 2297,
2405, 2405, 2326, 2332, 2338, 2344, 2350, 61, 2356, 2362,
2368, 2374, 2380, 2386, 2392, 2398
} ;
static yyconst flex_int16_t yy_def[1217] =
{ 0,
1202, 1, 1203, 1203, 1204, 1204, 1205, 1205, 1206, 1206,
1207, 1207, 1202, 1208, 1202, 1202, 1202, 1202, 1209, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1210,
1202, 1202, 1202, 1210, 1211, 1202, 1202, 1202, 1211, 1212,
1202, 1202, 1202, 1202, 1212, 1213, 1202, 1202, 1202, 1213,
1214, 1202, 1215, 1202, 1214, 1214, 1208, 1208, 1202, 1216,
1209, 1216, 1202, 1209, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1210, 1210, 1211, 1211,
1212, 1212, 1202, 1213, 1213, 1214, 1214, 1215, 1215, 1214,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1214, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1214, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1202, 1208, 1208, 1208, 1208, 1208, 1202, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1214, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1214, 1208, 1208, 1208, 1208, 1202, 1208, 1208, 1208,
1208, 1208, 1202, 1202, 1208, 1202, 1202, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208,
1208, 1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1214, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202,
1214, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1202, 1208, 1202, 1202, 1208,
1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1202, 1202, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202,
1208, 1208, 1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208,
1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1202, 1208,
1202, 1208, 1208, 1208, 1208, 1202, 1202, 1202, 1208, 1208,
1208, 1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1202, 1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1202, 1208, 1202, 1208, 1208,
1208, 1208, 1202, 1208, 1208, 1202, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1202, 1202, 1208, 1202, 1202, 1208, 1202, 1202,
1208, 1202, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1202,
1208, 1202, 1202, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1202, 1208, 1208, 1202, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202,
1202, 1202, 1208, 1208, 1208, 1208, 1208, 1202, 1208, 1208,
1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208,
1208, 1202, 1208, 1208, 1208, 1208, 1208, 1202, 1208, 1208,
1208, 1208, 1208, 1208, 1202, 1208, 1208, 1202, 1208, 1202,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1202, 1202, 1208, 1202, 1202, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208,
1202, 1208, 1208, 1208, 1202, 1202, 1208, 1208, 1208, 1202,
1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1202, 1208, 1208, 1208, 1208, 1208, 1208,
1208, 1208, 1208, 1208, 1208, 1208, 1202, 1208, 1208, 1208,
1208, 1208, 1208, 1202, 1208, 1202, 1208, 1208, 1202, 1202,
1208, 1208, 1208, 1202, 1208, 1202, 1208, 1208, 1202, 1202,
1202, 1208, 1202, 1208, 1202, 1208, 1208, 1202, 1208, 1208,
1208, 1208, 1202, 1208, 1202, 1208, 1208, 1202, 1202, 1202,
1202, 1208, 1208, 1208, 1208, 1202, 1208, 1208, 1208, 1208,
1202, 0, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202, 1202, 1202
} ;
static yyconst flex_int16_t yy_nxt[2445] =
{ 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, 119, 46, 47, 119, 44,
48, 69, 44, 46, 47, 70, 49, 48, 57, 58,
59, 67, 68, 49, 51, 52, 53, 54, 60, 18,
57, 58, 59, 117, 117, 55, 51, 52, 53, 54,
60, 18, 68, 100, 68, 75, 76, 55, 15, 16,
17, 62, 63, 64, 127, 67, 68, 67, 67, 65,
67, 68, 68, 77, 133, 67, 85, 68, 66, 15,
16, 17, 62, 63, 64, 151, 87, 69, 68, 88,
65, 70, 92, 68, 68, 227, 86, 89, 90, 66,
72, 73, 72, 72, 68, 72, 68, 78, 91, 81,
72, 74, 68, 82, 79, 68, 83, 93, 68, 84,
68, 80, 68, 97, 68, 111, 68, 98, 68, 101,
94, 105, 68, 95, 68, 102, 127, 96, 103, 108,
137, 106, 112, 99, 107, 104, 113, 68, 115, 109,
130, 114, 116, 121, 110, 121, 121, 73, 121, 124,
124, 72, 73, 72, 72, 126, 72, 126, 126, 68,
126, 67, 129, 67, 67, 68, 67, 68, 131, 68,
134, 67, 72, 73, 72, 72, 68, 72, 68, 68,
132, 139, 72, 74, 140, 68, 68, 135, 68, 68,
68, 68, 136, 147, 68, 68, 68, 138, 146, 142,
152, 68, 141, 157, 148, 68, 143, 149, 144, 145,
68, 68, 68, 154, 68, 156, 68, 155, 158, 159,
153, 150, 68, 68, 68, 68, 162, 160, 68, 68,
68, 68, 68, 164, 170, 68, 161, 68, 171, 68,
68, 163, 166, 167, 68, 165, 68, 68, 127, 168,
169, 176, 174, 173, 117, 117, 177, 119, 172, 121,
119, 121, 121, 175, 121, 178, 124, 124, 126, 127,
126, 126, 179, 126, 72, 73, 72, 72, 68, 72,
68, 181, 68, 180, 68, 129, 68, 68, 186, 68,
183, 188, 68, 68, 187, 182, 68, 68, 194, 184,
68, 68, 68, 68, 68, 196, 198, 185, 68, 199,
68, 195, 189, 68, 68, 201, 68, 190, 202, 68,
207, 204, 191, 68, 197, 68, 209, 200, 192, 193,
205, 68, 203, 68, 208, 206, 212, 210, 68, 68,
214, 68, 215, 213, 211, 68, 216, 68, 68, 68,
68, 68, 68, 68, 217, 68, 68, 68, 68, 220,
223, 68, 68, 68, 68, 228, 234, 221, 68, 218,
68, 230, 219, 222, 231, 225, 127, 241, 224, 68,
233, 226, 229, 235, 68, 68, 239, 237, 236, 68,
68, 68, 238, 68, 240, 68, 68, 232, 244, 68,
245, 243, 68, 246, 68, 68, 68, 68, 242, 249,
252, 250, 247, 68, 251, 68, 68, 254, 68, 248,
256, 68, 68, 255, 68, 68, 68, 253, 68, 260,
68, 263, 68, 68, 68, 264, 68, 259, 68, 68,
68, 257, 262, 258, 261, 265, 68, 267, 269, 270,
68, 268, 271, 68, 266, 68, 68, 273, 272, 68,
274, 277, 68, 68, 278, 275, 68, 281, 276, 68,
68, 279, 68, 68, 68, 283, 284, 286, 68, 68,
68, 68, 68, 285, 287, 68, 280, 68, 290, 282,
68, 127, 68, 68, 289, 292, 306, 68, 288, 301,
68, 68, 300, 68, 291, 68, 68, 293, 294, 335,
68, 303, 302, 305, 68, 304, 68, 295, 68, 296,
297, 298, 68, 307, 299, 308, 310, 312, 68, 309,
311, 313, 314, 68, 68, 68, 68, 319, 315, 68,
68, 68, 68, 320, 316, 68, 125, 68, 68, 317,
318, 323, 326, 68, 325, 322, 327, 328, 321, 329,
68, 68, 68, 333, 324, 330, 68, 332, 68, 68,
68, 68, 68, 338, 331, 336, 68, 339, 334, 68,
68, 68, 68, 68, 68, 68, 68, 68, 341, 68,
342, 346, 337, 347, 343, 68, 348, 68, 345, 357,
340, 68, 68, 344, 68, 349, 68, 68, 352, 358,
68, 350, 68, 360, 351, 353, 68, 356, 68, 362,
68, 68, 359, 354, 68, 363, 68, 68, 364, 68,
68, 361, 368, 355, 68, 365, 68, 127, 369, 373,
366, 372, 374, 68, 68, 370, 367, 377, 68, 371,
68, 68, 68, 68, 375, 68, 376, 68, 381, 383,
68, 123, 378, 379, 384, 68, 382, 380, 385, 386,
68, 387, 68, 68, 388, 68, 68, 68, 389, 68,
390, 391, 392, 68, 68, 68, 68, 68, 393, 122,
394, 396, 68, 68, 401, 398, 395, 397, 402, 68,
399, 68, 68, 68, 400, 404, 68, 68, 403, 68,
405, 409, 408, 68, 407, 410, 68, 68, 68, 68,
411, 412, 68, 68, 413, 68, 68, 432, 416, 418,
417, 414, 406, 419, 68, 420, 415, 68, 68, 423,
68, 422, 68, 424, 68, 68, 421, 425, 68, 68,
68, 68, 427, 431, 68, 68, 68, 68, 68, 433,
68, 434, 426, 68, 428, 68, 430, 120, 429, 68,
435, 68, 438, 437, 439, 68, 436, 68, 440, 68,
441, 443, 442, 68, 68, 127, 444, 68, 68, 68,
447, 448, 445, 449, 68, 451, 453, 68, 446, 68,
68, 68, 68, 452, 454, 68, 68, 456, 450, 68,
68, 462, 460, 68, 461, 455, 68, 457, 459, 68,
68, 68, 458, 68, 468, 471, 68, 463, 472, 68,
464, 469, 68, 473, 68, 465, 68, 475, 68, 68,
68, 466, 467, 476, 474, 470, 68, 479, 68, 480,
68, 483, 68, 68, 477, 482, 484, 478, 68, 68,
68, 481, 68, 68, 485, 68, 68, 486, 487, 492,
489, 491, 68, 490, 68, 68, 68, 68, 494, 68,
488, 68, 493, 68, 496, 68, 68, 68, 497, 68,
495, 501, 68, 504, 68, 500, 498, 68, 499, 507,
502, 503, 68, 505, 68, 68, 508, 68, 506, 68,
512, 68, 513, 514, 511, 68, 68, 68, 68, 510,
515, 518, 68, 68, 509, 68, 68, 520, 68, 517,
521, 127, 68, 516, 68, 68, 523, 68, 522, 68,
68, 532, 519, 68, 524, 68, 68, 68, 68, 526,
539, 68, 545, 538, 534, 68, 547, 535, 525, 68,
537, 68, 527, 68, 528, 533, 536, 68, 529, 68,
530, 68, 540, 544, 546, 531, 68, 543, 68, 541,
551, 548, 550, 68, 68, 68, 68, 552, 68, 68,
68, 554, 68, 555, 68, 549, 68, 542, 556, 558,
68, 561, 68, 68, 68, 553, 68, 563, 564, 557,
560, 68, 559, 566, 568, 562, 565, 68, 567, 68,
68, 569, 68, 68, 570, 571, 68, 68, 68, 68,
574, 68, 68, 575, 576, 578, 68, 577, 572, 68,
68, 68, 68, 68, 584, 68, 573, 582, 583, 68,
586, 68, 587, 581, 579, 68, 585, 68, 68, 580,
589, 68, 68, 593, 588, 68, 68, 68, 68, 68,
590, 68, 591, 68, 592, 595, 68, 601, 68, 602,
118, 68, 68, 594, 68, 598, 603, 596, 599, 68,
68, 68, 604, 68, 597, 606, 600, 609, 68, 68,
68, 68, 68, 605, 68, 68, 607, 612, 608, 611,
614, 68, 68, 68, 68, 616, 68, 610, 68, 68,
613, 68, 68, 615, 68, 622, 68, 617, 618, 68,
68, 625, 68, 619, 68, 73, 621, 620, 627, 623,
626, 624, 68, 633, 68, 632, 630, 629, 634, 628,
631, 68, 68, 68, 68, 635, 68, 636, 68, 637,
640, 641, 639, 68, 68, 68, 68, 68, 642, 68,
638, 643, 68, 644, 68, 68, 648, 68, 645, 68,
646, 68, 647, 68, 649, 656, 68, 653, 68, 651,
658, 68, 650, 659, 68, 68, 652, 661, 68, 654,
660, 68, 68, 73, 68, 68, 68, 657, 655, 664,
663, 68, 666, 68, 668, 669, 68, 68, 667, 68,
68, 662, 670, 665, 671, 672, 68, 675, 68, 68,
68, 68, 673, 678, 68, 68, 68, 674, 68, 68,
682, 68, 68, 68, 68, 68, 68, 68, 68, 755,
676, 68, 681, 687, 677, 679, 680, 688, 68, 68,
68, 683, 685, 694, 690, 691, 686, 684, 693, 692,
68, 689, 68, 68, 68, 68, 68, 68, 68, 698,
68, 700, 699, 68, 68, 68, 696, 702, 706, 695,
705, 707, 697, 68, 68, 701, 68, 68, 703, 68,
708, 704, 709, 711, 68, 712, 714, 68, 710, 713,
68, 68, 68, 717, 68, 68, 68, 716, 68, 68,
68, 725, 68, 715, 68, 68, 68, 68, 68, 726,
68, 718, 760, 719, 720, 721, 722, 68, 68, 724,
723, 727, 730, 68, 68, 68, 728, 729, 733, 731,
732, 734, 68, 68, 735, 68, 68, 68, 68, 68,
736, 741, 68, 738, 739, 742, 68, 737, 68, 743,
68, 68, 68, 740, 68, 746, 68, 68, 68, 748,
68, 745, 68, 751, 68, 68, 68, 68, 744, 68,
756, 747, 750, 757, 749, 68, 68, 752, 68, 763,
753, 759, 68, 764, 754, 68, 758, 761, 68, 68,
765, 68, 68, 766, 762, 68, 768, 769, 770, 68,
771, 68, 68, 68, 68, 767, 777, 68, 68, 68,
68, 68, 68, 68, 68, 907, 68, 68, 775, 772,
776, 782, 773, 774, 68, 68, 787, 781, 778, 779,
68, 780, 785, 783, 68, 792, 784, 786, 68, 789,
68, 68, 790, 68, 788, 793, 68, 791, 68, 68,
68, 68, 799, 68, 68, 802, 795, 803, 68, 68,
68, 794, 68, 797, 804, 68, 796, 68, 798, 800,
805, 68, 801, 807, 68, 68, 806, 808, 68, 68,
68, 68, 68, 813, 68, 814, 815, 816, 68, 68,
809, 810, 811, 817, 820, 68, 68, 68, 812, 68,
68, 824, 68, 832, 819, 68, 68, 68, 68, 822,
821, 818, 823, 827, 825, 828, 68, 826, 829, 68,
68, 831, 68, 68, 68, 68, 833, 836, 68, 830,
837, 68, 838, 68, 68, 840, 842, 839, 68, 68,
68, 68, 834, 841, 835, 844, 68, 845, 68, 68,
68, 846, 68, 847, 68, 853, 68, 68, 848, 68,
855, 68, 68, 843, 68, 68, 68, 68, 849, 850,
851, 857, 858, 859, 68, 852, 68, 861, 68, 68,
865, 856, 68, 854, 864, 68, 68, 68, 68, 867,
863, 868, 860, 862, 68, 68, 869, 68, 866, 68,
877, 68, 68, 873, 68, 68, 73, 878, 870, 871,
874, 879, 68, 880, 872, 68, 876, 882, 68, 68,
875, 68, 68, 68, 68, 884, 68, 881, 887, 886,
68, 883, 889, 68, 950, 885, 68, 68, 890, 891,
892, 68, 893, 68, 68, 68, 888, 68, 68, 68,
894, 896, 895, 68, 899, 68, 68, 897, 68, 68,
68, 898, 68, 906, 904, 900, 68, 902, 903, 68,
908, 68, 68, 901, 68, 910, 909, 905, 68, 68,
68, 68, 68, 68, 912, 921, 68, 911, 917, 68,
913, 914, 68, 68, 918, 915, 68, 68, 920, 68,
919, 916, 923, 68, 925, 924, 68, 68, 929, 68,
68, 926, 68, 68, 927, 930, 933, 68, 68, 922,
68, 68, 68, 68, 68, 68, 932, 928, 931, 935,
934, 937, 936, 938, 68, 68, 939, 68, 68, 68,
942, 941, 68, 943, 940, 946, 68, 945, 947, 948,
68, 68, 68, 953, 68, 68, 951, 68, 956, 68,
944, 949, 68, 954, 68, 952, 955, 68, 957, 959,
68, 68, 68, 68, 958, 960, 68, 962, 68, 68,
68, 68, 68, 68, 68, 961, 969, 981, 68, 68,
68, 68, 967, 68, 972, 964, 68, 965, 1055, 963,
966, 970, 968, 971, 973, 68, 974, 68, 978, 975,
976, 68, 977, 68, 979, 68, 980, 68, 982, 68,
68, 984, 68, 68, 68, 68, 68, 988, 987, 68,
986, 990, 68, 992, 68, 993, 68, 68, 68, 983,
68, 985, 989, 68, 995, 997, 68, 68, 991, 68,
996, 68, 999, 68, 1003, 68, 68, 68, 68, 68,
1001, 1004, 1002, 994, 1000, 1006, 1008, 998, 68, 1007,
68, 68, 68, 1009, 68, 1005, 68, 68, 1020, 1013,
68, 1010, 1014, 1015, 68, 1011, 1012, 68, 68, 68,
68, 1016, 1017, 1018, 68, 1019, 68, 1023, 68, 68,
1021, 1022, 68, 68, 1024, 68, 1044, 68, 1026, 1028,
68, 1029, 68, 1027, 68, 1025, 1030, 68, 1031, 68,
1032, 68, 1033, 68, 1034, 68, 68, 68, 1035, 68,
1037, 1038, 68, 68, 1039, 1040, 1036, 68, 1042, 68,
68, 68, 1041, 68, 68, 68, 1048, 1049, 68, 68,
68, 68, 1043, 1045, 1050, 1046, 1047, 68, 68, 68,
68, 68, 1059, 68, 1053, 1057, 1058, 68, 1061, 68,
1052, 1062, 68, 68, 68, 1051, 1056, 1060, 1063, 68,
68, 1054, 1068, 68, 1069, 68, 68, 68, 68, 68,
68, 1064, 1065, 1074, 68, 1066, 1075, 68, 68, 1067,
1070, 1078, 68, 68, 68, 1071, 68, 1072, 1073, 1076,
1080, 68, 68, 1081, 68, 1083, 1077, 68, 68, 1084,
68, 68, 1079, 1085, 68, 1086, 1082, 68, 68, 1088,
1091, 68, 1089, 1092, 68, 1087, 1090, 1093, 1094, 68,
1095, 68, 68, 68, 68, 68, 68, 1103, 1096, 1098,
68, 68, 1101, 68, 1099, 68, 1097, 1105, 68, 1100,
68, 68, 1102, 68, 68, 68, 1108, 1111, 68, 1106,
68, 1107, 68, 1109, 1104, 68, 1113, 68, 1110, 68,
1114, 1115, 68, 1116, 68, 68, 1118, 1119, 1120, 68,
1112, 68, 68, 68, 68, 1121, 68, 1117, 68, 1122,
68, 68, 1124, 68, 1123, 1127, 68, 68, 68, 68,
68, 1132, 1134, 68, 1126, 1125, 1130, 68, 68, 1136,
68, 1128, 1135, 68, 68, 1140, 1131, 1133, 68, 1129,
68, 1141, 1137, 68, 68, 68, 1138, 1142, 1143, 68,
68, 68, 1139, 1144, 1147, 68, 68, 68, 68, 68,
68, 1151, 1154, 68, 1145, 1146, 1150, 1148, 1149, 68,
1156, 68, 68, 68, 1155, 1159, 68, 68, 1153, 68,
1157, 1160, 68, 1152, 1164, 68, 68, 1166, 68, 1162,
68, 68, 1161, 68, 1158, 127, 1168, 1182, 1165, 1163,
1169, 68, 1170, 68, 1171, 68, 68, 1173, 68, 1167,
68, 1172, 68, 1174, 1175, 68, 68, 68, 1177, 1178,
68, 1176, 1179, 68, 68, 1183, 68, 68, 1180, 1185,
68, 1184, 68, 68, 1188, 68, 1189, 68, 1190, 68,
1191, 68, 68, 68, 1181, 68, 1193, 1186, 68, 1196,
68, 1187, 1194, 68, 1192, 68, 68, 68, 1201, 68,
125, 123, 1197, 1195, 122, 120, 118, 68, 1202, 1202,
1198, 1199, 1202, 1202, 1202, 1200, 40, 40, 40, 40,
40, 40, 45, 45, 45, 45, 45, 45, 50, 50,
50, 50, 50, 50, 56, 56, 56, 56, 56, 56,
61, 61, 61, 61, 61, 61, 71, 71, 71, 71,
71, 71, 117, 117, 1202, 1202, 117, 117, 119, 119,
1202, 119, 1202, 119, 121, 1202, 1202, 1202, 1202, 121,
124, 124, 1202, 1202, 124, 124, 126, 1202, 1202, 1202,
1202, 126, 128, 128, 128, 128, 128, 128, 72, 72,
72, 72, 72, 72, 13, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202
} ;
static yyconst flex_int16_t yy_chk[2445] =
{ 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, 1208, 33, 6, 7, 7, 7, 7, 9, 7,
10, 10, 10, 44, 44, 7, 8, 8, 8, 8,
10, 8, 21, 33, 77, 21, 21, 8, 11, 11,
11, 11, 11, 11, 521, 20, 92, 20, 20, 11,
20, 25, 24, 21, 77, 20, 24, 28, 11, 12,
12, 12, 12, 12, 12, 92, 25, 69, 26, 26,
12, 69, 28, 172, 27, 172, 24, 26, 27, 12,
19, 19, 19, 19, 23, 19, 22, 22, 27, 23,
19, 19, 29, 23, 22, 30, 23, 29, 31, 23,
34, 22, 32, 32, 37, 37, 35, 32, 81, 34,
30, 35, 38, 31, 36, 34, 66, 31, 34, 36,
81, 35, 37, 32, 35, 34, 38, 39, 39, 36,
66, 38, 39, 55, 36, 55, 55, 129, 55, 60,
60, 63, 63, 63, 63, 65, 63, 65, 65, 83,
65, 68, 63, 68, 68, 75, 68, 78, 75, 79,
78, 68, 71, 71, 71, 71, 76, 71, 80, 82,
76, 83, 71, 71, 84, 85, 86, 79, 90, 84,
87, 88, 80, 90, 89, 93, 96, 82, 89, 85,
93, 91, 84, 96, 91, 97, 86, 91, 87, 88,
94, 95, 98, 94, 99, 95, 100, 94, 97, 98,
93, 91, 101, 102, 103, 104, 101, 99, 106, 105,
107, 112, 108, 103, 109, 111, 100, 110, 110, 109,
113, 102, 105, 106, 115, 104, 114, 116, 126, 107,
108, 114, 112, 111, 118, 118, 115, 120, 110, 122,
120, 122, 122, 113, 122, 116, 125, 125, 127, 130,
127, 127, 130, 127, 128, 128, 128, 128, 131, 128,
133, 132, 134, 131, 135, 128, 132, 136, 137, 138,
134, 139, 142, 137, 138, 133, 139, 141, 141, 135,
143, 144, 145, 148, 146, 143, 145, 136, 140, 146,
151, 142, 140, 147, 149, 148, 150, 140, 148, 152,
153, 150, 140, 156, 144, 153, 155, 147, 140, 140,
151, 155, 149, 154, 154, 152, 157, 155, 158, 161,
159, 157, 160, 158, 156, 159, 161, 160, 162, 163,
164, 165, 166, 167, 162, 168, 169, 170, 173, 165,
168, 171, 184, 174, 178, 173, 178, 166, 180, 163,
175, 175, 164, 167, 176, 170, 179, 184, 169, 176,
177, 171, 174, 178, 181, 177, 182, 180, 179, 183,
185, 182, 181, 186, 183, 187, 190, 176, 187, 188,
188, 186, 189, 189, 191, 194, 192, 193, 185, 192,
195, 193, 190, 196, 194, 195, 197, 197, 198, 191,
199, 200, 201, 198, 202, 199, 204, 196, 203, 203,
205, 206, 207, 208, 209, 207, 206, 202, 210, 211,
215, 200, 205, 201, 204, 208, 212, 210, 212, 212,
216, 211, 213, 213, 209, 214, 220, 215, 214, 217,
215, 218, 218, 219, 219, 216, 221, 222, 217, 223,
224, 220, 222, 225, 226, 224, 225, 227, 229, 228,
230, 232, 227, 226, 228, 231, 221, 234, 231, 223,
235, 236, 237, 239, 230, 232, 240, 267, 229, 235,
238, 240, 234, 241, 231, 233, 244, 233, 233, 267,
242, 237, 236, 239, 243, 238, 245, 233, 248, 233,
233, 233, 246, 241, 233, 242, 244, 246, 249, 243,
245, 247, 247, 250, 247, 252, 251, 252, 248, 253,
254, 255, 256, 253, 249, 257, 124, 259, 258, 250,
251, 256, 258, 261, 257, 255, 259, 260, 254, 261,
262, 263, 260, 265, 256, 262, 264, 264, 265, 266,
268, 269, 270, 270, 263, 268, 272, 272, 266, 273,
274, 275, 276, 278, 279, 281, 280, 283, 274, 284,
275, 280, 269, 281, 276, 285, 282, 287, 279, 288,
273, 282, 289, 278, 288, 283, 291, 286, 286, 288,
293, 284, 290, 290, 285, 286, 294, 287, 292, 292,
295, 296, 289, 286, 297, 293, 300, 298, 294, 299,
304, 291, 298, 286, 301, 295, 305, 302, 299, 303,
296, 302, 304, 306, 303, 300, 297, 307, 307, 301,
308, 309, 310, 312, 305, 311, 306, 319, 311, 313,
313, 123, 308, 309, 314, 314, 312, 310, 315, 316,
316, 317, 317, 315, 318, 320, 325, 321, 319, 318,
320, 321, 322, 327, 323, 324, 326, 322, 323, 121,
324, 326, 328, 329, 329, 328, 325, 327, 330, 331,
328, 334, 332, 330, 328, 332, 333, 335, 331, 337,
333, 336, 335, 341, 334, 337, 336, 338, 339, 340,
338, 339, 342, 343, 340, 344, 357, 357, 343, 345,
344, 341, 333, 345, 345, 346, 342, 347, 348, 349,
346, 348, 351, 349, 349, 350, 347, 350, 352, 353,
354, 355, 352, 356, 360, 358, 359, 361, 356, 358,
362, 359, 351, 368, 353, 363, 355, 119, 354, 364,
360, 365, 363, 362, 364, 366, 361, 367, 365, 369,
366, 368, 367, 370, 371, 372, 369, 375, 373, 374,
372, 373, 370, 374, 376, 376, 378, 380, 371, 381,
379, 378, 382, 376, 379, 385, 389, 381, 375, 388,
390, 391, 389, 394, 390, 380, 391, 382, 388, 393,
395, 397, 385, 392, 393, 396, 396, 392, 397, 399,
392, 394, 398, 398, 402, 392, 400, 400, 403, 404,
401, 392, 392, 401, 399, 395, 406, 404, 405, 405,
407, 408, 408, 409, 402, 407, 409, 403, 410, 411,
412, 406, 413, 418, 410, 414, 415, 411, 412, 417,
414, 416, 416, 415, 417, 420, 421, 425, 420, 430,
413, 428, 418, 422, 422, 423, 426, 427, 423, 438,
421, 427, 429, 430, 432, 426, 423, 431, 425, 433,
428, 429, 434, 431, 433, 435, 434, 436, 432, 437,
438, 439, 439, 440, 437, 442, 443, 441, 440, 436,
441, 444, 445, 448, 435, 450, 444, 446, 446, 443,
447, 447, 449, 442, 451, 452, 449, 454, 448, 456,
455, 454, 445, 457, 450, 458, 459, 460, 467, 452,
461, 465, 465, 460, 456, 461, 467, 457, 451, 453,
459, 464, 453, 463, 453, 455, 458, 468, 453, 466,
453, 462, 462, 464, 466, 453, 469, 463, 475, 462,
472, 468, 470, 470, 473, 472, 474, 473, 476, 477,
478, 475, 480, 476, 479, 469, 481, 462, 477, 479,
484, 482, 485, 486, 488, 474, 482, 485, 486, 478,
481, 487, 480, 488, 490, 484, 487, 489, 489, 490,
492, 492, 493, 494, 492, 493, 495, 496, 497, 498,
496, 499, 500, 497, 498, 500, 501, 499, 494, 502,
503, 506, 504, 505, 506, 507, 495, 504, 505, 510,
508, 512, 509, 503, 501, 508, 507, 509, 513, 502,
511, 511, 514, 515, 510, 516, 517, 515, 518, 519,
512, 522, 513, 523, 514, 517, 524, 525, 528, 526,
117, 527, 525, 516, 526, 522, 527, 518, 523, 529,
530, 531, 528, 532, 519, 530, 524, 533, 533, 534,
535, 537, 536, 529, 539, 538, 531, 536, 532, 535,
538, 540, 541, 542, 543, 540, 544, 534, 545, 546,
537, 548, 549, 539, 547, 546, 551, 541, 542, 553,
552, 549, 556, 543, 557, 74, 545, 544, 552, 547,
551, 548, 554, 557, 563, 556, 555, 554, 558, 553,
555, 555, 560, 558, 559, 559, 562, 560, 561, 561,
564, 565, 563, 566, 568, 564, 565, 567, 566, 570,
562, 567, 569, 568, 571, 572, 569, 573, 568, 574,
568, 575, 568, 576, 570, 577, 577, 574, 578, 572,
579, 579, 571, 580, 580, 581, 573, 582, 582, 575,
581, 583, 584, 72, 585, 586, 587, 578, 576, 585,
584, 588, 587, 595, 590, 591, 594, 592, 588, 590,
591, 583, 592, 586, 593, 594, 596, 597, 597, 593,
598, 599, 595, 600, 603, 601, 602, 596, 600, 604,
604, 605, 606, 608, 607, 611, 612, 682, 615, 682,
598, 614, 603, 610, 599, 601, 602, 610, 610, 616,
613, 605, 607, 616, 612, 613, 608, 606, 615, 614,
617, 611, 618, 619, 620, 621, 622, 623, 624, 620,
626, 622, 621, 625, 634, 627, 618, 624, 628, 617,
627, 629, 619, 628, 633, 623, 629, 632, 625, 630,
630, 626, 632, 634, 637, 635, 636, 636, 633, 635,
635, 638, 640, 639, 641, 642, 643, 638, 639, 645,
647, 647, 644, 637, 646, 648, 687, 651, 649, 648,
654, 640, 687, 641, 642, 643, 644, 650, 664, 646,
645, 649, 652, 652, 653, 668, 650, 651, 655, 653,
654, 657, 663, 655, 660, 660, 657, 662, 666, 665,
662, 667, 667, 664, 665, 668, 670, 663, 669, 669,
671, 672, 673, 666, 674, 672, 676, 679, 677, 674,
680, 671, 678, 678, 681, 683, 685, 686, 670, 690,
683, 673, 677, 684, 676, 694, 691, 679, 684, 691,
680, 686, 689, 692, 681, 695, 685, 689, 692, 693,
693, 696, 697, 694, 690, 699, 696, 697, 698, 698,
699, 700, 701, 702, 703, 695, 705, 704, 706, 707,
708, 705, 709, 842, 710, 842, 712, 716, 703, 700,
704, 710, 701, 702, 711, 717, 716, 709, 706, 707,
718, 708, 712, 711, 715, 720, 711, 715, 719, 718,
720, 722, 718, 723, 717, 721, 721, 719, 724, 725,
726, 727, 727, 728, 729, 731, 723, 732, 733, 737,
731, 722, 732, 725, 733, 736, 724, 734, 726, 728,
734, 738, 729, 736, 740, 739, 734, 737, 742, 743,
744, 745, 746, 743, 747, 744, 745, 746, 748, 749,
738, 739, 740, 747, 750, 750, 751, 752, 742, 756,
753, 754, 755, 762, 749, 763, 754, 757, 762, 752,
751, 748, 753, 757, 755, 758, 758, 756, 759, 759,
760, 761, 761, 764, 765, 772, 763, 766, 766, 760,
767, 767, 768, 768, 769, 771, 773, 769, 774, 777,
771, 773, 764, 772, 765, 775, 775, 776, 778, 779,
780, 777, 776, 777, 781, 782, 782, 783, 777, 784,
784, 785, 786, 774, 788, 787, 789, 791, 778, 779,
780, 786, 787, 788, 792, 781, 790, 790, 796, 794,
795, 785, 797, 783, 794, 795, 798, 799, 800, 797,
792, 798, 789, 791, 801, 802, 799, 803, 796, 805,
807, 804, 806, 803, 815, 807, 70, 808, 800, 801,
804, 808, 808, 809, 802, 810, 806, 811, 809, 812,
805, 813, 811, 814, 817, 813, 819, 810, 816, 815,
887, 812, 818, 816, 887, 814, 821, 818, 819, 821,
822, 822, 823, 823, 824, 826, 817, 825, 827, 830,
824, 826, 825, 832, 832, 833, 845, 827, 834, 835,
840, 830, 841, 841, 839, 832, 847, 834, 835, 839,
843, 843, 848, 833, 846, 846, 845, 840, 849, 850,
851, 852, 856, 854, 848, 858, 858, 847, 854, 857,
849, 850, 855, 859, 855, 851, 864, 860, 857, 862,
856, 852, 860, 861, 862, 861, 863, 865, 866, 868,
867, 863, 869, 866, 864, 867, 870, 870, 871, 859,
872, 874, 873, 875, 876, 877, 869, 865, 868, 872,
871, 873, 872, 874, 878, 881, 875, 880, 882, 884,
878, 877, 886, 880, 876, 883, 883, 882, 884, 885,
885, 888, 889, 890, 890, 891, 888, 894, 895, 895,
881, 886, 897, 891, 898, 889, 894, 896, 896, 898,
900, 899, 901, 902, 897, 899, 903, 901, 904, 905,
906, 907, 922, 909, 1010, 900, 909, 922, 910, 918,
911, 67, 906, 912, 912, 903, 915, 904, 1010, 902,
905, 910, 907, 911, 913, 913, 914, 914, 918, 915,
916, 916, 917, 917, 919, 919, 920, 920, 923, 923,
924, 925, 925, 926, 927, 928, 929, 929, 928, 931,
927, 930, 930, 932, 932, 934, 934, 935, 937, 924,
938, 926, 929, 936, 936, 938, 939, 940, 931, 941,
937, 942, 940, 943, 944, 947, 949, 945, 964, 944,
942, 945, 943, 935, 941, 949, 951, 939, 950, 950,
954, 951, 952, 952, 955, 947, 957, 958, 964, 957,
965, 952, 958, 959, 959, 954, 955, 960, 999, 961,
963, 960, 961, 962, 962, 963, 966, 967, 968, 969,
965, 966, 967, 970, 968, 971, 999, 972, 970, 972,
975, 975, 987, 971, 988, 969, 978, 978, 981, 981,
983, 983, 985, 986, 986, 989, 1003, 985, 987, 994,
989, 991, 991, 995, 994, 995, 988, 996, 997, 997,
998, 1000, 996, 1001, 1002, 1005, 1003, 1004, 1004, 1006,
1007, 1008, 998, 1000, 1005, 1001, 1002, 1009, 1011, 1016,
1012, 1013, 1014, 1014, 1008, 1012, 1013, 1017, 1017, 1020,
1007, 1019, 1019, 1021, 1022, 1006, 1011, 1016, 1020, 1023,
1024, 1009, 1025, 1025, 1026, 1027, 1028, 1029, 1033, 1026,
1034, 1021, 1022, 1034, 1036, 1023, 1035, 1035, 1037, 1024,
1027, 1039, 1039, 1040, 1044, 1028, 1045, 1029, 1033, 1036,
1041, 1041, 1043, 1043, 1046, 1045, 1037, 1048, 1047, 1046,
1050, 1053, 1040, 1047, 1051, 1048, 1044, 1052, 1069, 1051,
1054, 1054, 1052, 1055, 1055, 1050, 1053, 1056, 1057, 1057,
1058, 1058, 1056, 1060, 1061, 1064, 1063, 1069, 1060, 1063,
1065, 1066, 1066, 1067, 1064, 1070, 1061, 1071, 1071, 1065,
1072, 1074, 1067, 1073, 1076, 1077, 1074, 1079, 1079, 1072,
1081, 1073, 1087, 1076, 1070, 1082, 1082, 1083, 1077, 1086,
1083, 1084, 1084, 1085, 1085, 1096, 1087, 1088, 1089, 1089,
1081, 1090, 1088, 1093, 1097, 1090, 1098, 1086, 1099, 1093,
1100, 1101, 1097, 1102, 1096, 1100, 1104, 1103, 1106, 1107,
1110, 1106, 1108, 1108, 1099, 1098, 1103, 1114, 1109, 1110,
1117, 1101, 1109, 1112, 1113, 1117, 1104, 1107, 1119, 1102,
1118, 1118, 1112, 1121, 1122, 1123, 1113, 1119, 1121, 1127,
1124, 1126, 1114, 1122, 1125, 1125, 1129, 1130, 1128, 1131,
1136, 1129, 1132, 1132, 1123, 1124, 1128, 1126, 1127, 1133,
1135, 1135, 1137, 1140, 1133, 1138, 1138, 1141, 1131, 1142,
1136, 1139, 1139, 1130, 1143, 1143, 1144, 1145, 1145, 1141,
1146, 1148, 1140, 1168, 1137, 61, 1148, 1168, 1144, 1142,
1149, 1149, 1150, 1150, 1151, 1151, 1152, 1153, 1153, 1146,
1161, 1152, 1155, 1155, 1157, 1157, 1158, 1163, 1161, 1162,
1162, 1158, 1163, 1165, 1167, 1172, 1172, 1174, 1165, 1176,
1176, 1174, 1177, 1179, 1180, 1180, 1181, 1181, 1182, 1182,
1184, 1184, 1186, 1193, 1167, 1187, 1187, 1177, 1192, 1194,
1194, 1179, 1192, 1195, 1186, 1197, 1199, 1198, 1200, 1200,
56, 51, 1195, 1193, 50, 45, 40, 14, 13, 0,
1197, 1198, 0, 0, 0, 1199, 1203, 1203, 1203, 1203,
1203, 1203, 1204, 1204, 1204, 1204, 1204, 1204, 1205, 1205,
1205, 1205, 1205, 1205, 1206, 1206, 1206, 1206, 1206, 1206,
1207, 1207, 1207, 1207, 1207, 1207, 1209, 1209, 1209, 1209,
1209, 1209, 1210, 1210, 0, 0, 1210, 1210, 1211, 1211,
0, 1211, 0, 1211, 1212, 0, 0, 0, 0, 1212,
1213, 1213, 0, 0, 1213, 1213, 1214, 0, 0, 0,
0, 1214, 1215, 1215, 1215, 1215, 1215, 1215, 1216, 1216,
1216, 1216, 1216, 1216, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202,
1202, 1202, 1202, 1202
} ;
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 "config.h"
#include <ctype.h>
#include <string.h>
#include <strings.h>
#include "util/configyyrename.h"
#include "util/config_file.h"
#include "util/configparser.h"
void ub_c_error(const char *message);
#if 0
#define LEXOUT(s) printf s /* used ONLY when debugging */
#else
#define LEXOUT(s)
#endif
/** avoid warning in about fwrite return value */
#define ECHO ub_c_error_msg("syntax error at text: %s", yytext)
/** A parser variable, this is a statement in the config file which is
* of the form variable: value1 value2 ... nargs is the number of values. */
#define YDVAR(nargs, var) \
num_args=(nargs); \
LEXOUT(("v(%s%d) ", yytext, num_args)); \
if(num_args > 0) { BEGIN(val); } \
return (var);
struct inc_state {
char* filename;
int line;
};
static struct inc_state parse_stack[MAXINCLUDES];
static YY_BUFFER_STATE include_stack[MAXINCLUDES];
static int config_include_stack_ptr = 0;
static int inc_prev = 0;
static int num_args = 0;
static void config_start_include(const char* filename)
{
FILE *input;
if(strlen(filename) == 0) {
ub_c_error_msg("empty include file name");
return;
}
if(config_include_stack_ptr >= MAXINCLUDES) {
ub_c_error_msg("includes nested too deeply, skipped (>%d)", MAXINCLUDES);
return;
}
if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
strlen(cfg_parser->chroot)) == 0) {
filename += strlen(cfg_parser->chroot);
}
input = fopen(filename, "r");
if(!input) {
ub_c_error_msg("cannot open include file '%s': %s",
filename, strerror(errno));
return;
}
LEXOUT(("switch_to_include_file(%s) ", filename));
parse_stack[config_include_stack_ptr].filename = cfg_parser->filename;
parse_stack[config_include_stack_ptr].line = cfg_parser->line;
include_stack[config_include_stack_ptr] = YY_CURRENT_BUFFER;
cfg_parser->filename = strdup(filename);
cfg_parser->line = 1;
yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE));
++config_include_stack_ptr;
}
static void config_end_include(void)
{
--config_include_stack_ptr;
free(cfg_parser->filename);
cfg_parser->filename = parse_stack[config_include_stack_ptr].filename;
cfg_parser->line = parse_stack[config_include_stack_ptr].line;
yy_delete_buffer(YY_CURRENT_BUFFER);
yy_switch_to_buffer(include_stack[config_include_stack_ptr]);
}
#ifndef yy_set_bol /* compat definition, for flex 2.4.6 */
#define yy_set_bol(at_bol) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \
yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \
}
#endif
#define YY_NO_INPUT 1
#line 103 "util/configlexer.lex"
#ifndef YY_NO_UNPUT
#define YY_NO_UNPUT 1
#endif
#ifndef YY_NO_INPUT
#define YY_NO_INPUT 1
#endif
#line 1496 "<stdout>"
#define INITIAL 0
#define quotedstring 1
#define singlequotedstr 2
#define include 3
#define include_quoted 4
#define val 5
#ifndef YY_NO_UNISTD_H
/* Special case for "unistd.h", since it is non-ANSI. We include it way
* down here because we want the user's section 1 to have been scanned first.
* The user has a chance to override it with an option.
*/
#include <unistd.h>
#endif
#ifndef YY_EXTRA_TYPE
#define YY_EXTRA_TYPE void *
#endif
static int yy_init_globals (void );
/* Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience. */
int yylex_destroy (void );
int yyget_debug (void );
void yyset_debug (int debug_flag );
YY_EXTRA_TYPE yyget_extra (void );
void yyset_extra (YY_EXTRA_TYPE user_defined );
FILE *yyget_in (void );
void yyset_in (FILE * in_str );
FILE *yyget_out (void );
void yyset_out (FILE * out_str );
int yyget_leng (void );
char *yyget_text (void );
int yyget_lineno (void );
void yyset_lineno (int line_number );
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap (void );
#else
extern int yywrap (void );
#endif
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * );
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void );
#else
static int input (void );
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
unsigned n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif
/* end tables serialization structures and prototypes */
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL_IS_OURS 1
extern int yylex (void);
#define YY_DECL int yylex (void)
#endif /* !YY_DECL */
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
YY_USER_ACTION
/** The main scanner function which does all the work.
*/
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
#line 123 "util/configlexer.lex"
#line 1683 "<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 >= 1203 )
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] != 2405 );
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 124 "util/configlexer.lex"
{
LEXOUT(("SP ")); /* ignore */ }
YY_BREAK
case 2:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 126 "util/configlexer.lex"
{
LEXOUT(("comment(%s) ", yytext)); /* ignore */ }
YY_BREAK
case 3:
YY_RULE_SETUP
#line 128 "util/configlexer.lex"
{ YDVAR(0, VAR_SERVER) }
YY_BREAK
case 4:
YY_RULE_SETUP
#line 129 "util/configlexer.lex"
{ YDVAR(1, VAR_NUM_THREADS) }
YY_BREAK
case 5:
YY_RULE_SETUP
#line 130 "util/configlexer.lex"
{ YDVAR(1, VAR_VERBOSITY) }
YY_BREAK
case 6:
YY_RULE_SETUP
#line 131 "util/configlexer.lex"
{ YDVAR(1, VAR_PORT) }
YY_BREAK
case 7:
YY_RULE_SETUP
#line 132 "util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_RANGE) }
YY_BREAK
case 8:
YY_RULE_SETUP
#line 133 "util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) }
YY_BREAK
case 9:
YY_RULE_SETUP
#line 134 "util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) }
YY_BREAK
case 10:
YY_RULE_SETUP
#line 135 "util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_NUM_TCP) }
YY_BREAK
case 11:
YY_RULE_SETUP
#line 136 "util/configlexer.lex"
{ YDVAR(1, VAR_INCOMING_NUM_TCP) }
YY_BREAK
case 12:
YY_RULE_SETUP
#line 137 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP4) }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 138 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP6) }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 139 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_UDP) }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 140 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_TCP) }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 141 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_DAEMONIZE) }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 142 "util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE) }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 143 "util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_INTERFACE) }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 144 "util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 145 "util/configlexer.lex"
{ YDVAR(1, VAR_SO_RCVBUF) }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 146 "util/configlexer.lex"
{ YDVAR(1, VAR_CHROOT) }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 147 "util/configlexer.lex"
{ YDVAR(1, VAR_USERNAME) }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 148 "util/configlexer.lex"
{ YDVAR(1, VAR_DIRECTORY) }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 149 "util/configlexer.lex"
{ YDVAR(1, VAR_LOGFILE) }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 150 "util/configlexer.lex"
{ YDVAR(1, VAR_PIDFILE) }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 151 "util/configlexer.lex"
{ YDVAR(1, VAR_ROOT_HINTS) }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 152 "util/configlexer.lex"
{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 153 "util/configlexer.lex"
{ YDVAR(1, VAR_MSG_BUFFER_SIZE) }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 154 "util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SIZE) }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 155 "util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SLABS) }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 156 "util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SIZE) }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 157 "util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SLABS) }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 158 "util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MAX_TTL) }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 159 "util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MIN_TTL) }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 160 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_HOST_TTL) }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 161 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_LAME_TTL) }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 162 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_SLABS) }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 163 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 164 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 165 "util/configlexer.lex"
{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 166 "util/configlexer.lex"
{ YDVAR(1, VAR_JOSTLE_TIMEOUT) }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 167 "util/configlexer.lex"
{ YDVAR(1, VAR_TARGET_FETCH_POLICY) }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 168 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 169 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 170 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_GLUE) }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 171 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_DNNSEC_STRIPPED) }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 172 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 173 "util/configlexer.lex"
{ YDVAR(1, VAR_USE_CAPS_FOR_ID) }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 174 "util/configlexer.lex"
{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 175 "util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_ADDRESS) }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 176 "util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_DOMAIN) }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 177 "util/configlexer.lex"
{ YDVAR(0, VAR_STUB_ZONE) }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 178 "util/configlexer.lex"
{ YDVAR(1, VAR_NAME) }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 179 "util/configlexer.lex"
{ YDVAR(1, VAR_STUB_ADDR) }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 180 "util/configlexer.lex"
{ YDVAR(1, VAR_STUB_HOST) }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 181 "util/configlexer.lex"
{ YDVAR(1, VAR_STUB_PRIME) }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 182 "util/configlexer.lex"
{ YDVAR(0, VAR_FORWARD_ZONE) }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 183 "util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_ADDR) }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 184 "util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_HOST) }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 185 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 186 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 187 "util/configlexer.lex"
{ YDVAR(2, VAR_ACCESS_CONTROL) }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 188 "util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_IDENTITY) }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 189 "util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_VERSION) }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 190 "util/configlexer.lex"
{ YDVAR(1, VAR_IDENTITY) }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 191 "util/configlexer.lex"
{ YDVAR(1, VAR_VERSION) }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 192 "util/configlexer.lex"
{ YDVAR(1, VAR_MODULE_CONF) }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 193 "util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR) }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 194 "util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR_FILE) }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 195 "util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 196 "util/configlexer.lex"
{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 197 "util/configlexer.lex"
{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 198 "util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR) }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 199 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 200 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 201 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 202 "util/configlexer.lex"
{ YDVAR(1, VAR_BOGUS_TTL) }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 203 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 204 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 205 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_LOG_LEVEL) }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 206 "util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SIZE) }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 207 "util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SLABS) }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 208 "util/configlexer.lex"
{ YDVAR(1, VAR_NEG_CACHE_SIZE) }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 209 "util/configlexer.lex"
{
YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 211 "util/configlexer.lex"
{ YDVAR(1, VAR_ADD_HOLDDOWN) }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 212 "util/configlexer.lex"
{ YDVAR(1, VAR_DEL_HOLDDOWN) }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 213 "util/configlexer.lex"
{ YDVAR(1, VAR_KEEP_MISSING) }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 214 "util/configlexer.lex"
{ YDVAR(1, VAR_USE_SYSLOG) }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 215 "util/configlexer.lex"
{ YDVAR(1, VAR_LOG_TIME_ASCII) }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 216 "util/configlexer.lex"
{ YDVAR(2, VAR_LOCAL_ZONE) }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 217 "util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA) }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 218 "util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA_PTR) }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 219 "util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_INTERVAL) }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 220 "util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 221 "util/configlexer.lex"
{ YDVAR(1, VAR_EXTENDED_STATISTICS) }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 222 "util/configlexer.lex"
{ YDVAR(0, VAR_REMOTE_CONTROL) }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 223 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_ENABLE) }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 224 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_INTERFACE) }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 225 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_PORT) }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 226 "util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_KEY_FILE) }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 227 "util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_CERT_FILE) }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 228 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_KEY_FILE) }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 229 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_CERT_FILE) }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 230 "util/configlexer.lex"
{ YDVAR(1, VAR_PYTHON_SCRIPT) }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 231 "util/configlexer.lex"
{ YDVAR(0, VAR_PYTHON) }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 232 "util/configlexer.lex"
{ YDVAR(1, VAR_DOMAIN_INSECURE) }
YY_BREAK
case 107:
/* rule 107 can match eol */
YY_RULE_SETUP
#line 233 "util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++; }
YY_BREAK
/* Quoted strings. Strip leading and ending quotes */
case 108:
YY_RULE_SETUP
#line 236 "util/configlexer.lex"
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
YY_BREAK
case YY_STATE_EOF(quotedstring):
#line 237 "util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 109:
YY_RULE_SETUP
#line 242 "util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 110:
/* rule 110 can match eol */
YY_RULE_SETUP
#line 243 "util/configlexer.lex"
{ yyerror("newline inside quoted string, no end \"");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 245 "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 112:
YY_RULE_SETUP
#line 257 "util/configlexer.lex"
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
YY_BREAK
case YY_STATE_EOF(singlequotedstr):
#line 258 "util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 113:
YY_RULE_SETUP
#line 263 "util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 114:
/* rule 114 can match eol */
YY_RULE_SETUP
#line 264 "util/configlexer.lex"
{ yyerror("newline inside quoted string, no end '");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 115:
YY_RULE_SETUP
#line 266 "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 116:
YY_RULE_SETUP
#line 278 "util/configlexer.lex"
{
LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); }
YY_BREAK
case YY_STATE_EOF(include):
#line 280 "util/configlexer.lex"
{
yyerror("EOF inside include directive");
BEGIN(inc_prev);
}
YY_BREAK
case 117:
YY_RULE_SETUP
#line 284 "util/configlexer.lex"
{ LEXOUT(("ISP ")); /* ignore */ }
YY_BREAK
case 118:
/* rule 118 can match eol */
YY_RULE_SETUP
#line 285 "util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++;}
YY_BREAK
case 119:
YY_RULE_SETUP
#line 286 "util/configlexer.lex"
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
YY_BREAK
case 120:
YY_RULE_SETUP
#line 287 "util/configlexer.lex"
{
LEXOUT(("Iunquotedstr(%s) ", yytext));
config_start_include(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(include_quoted):
#line 292 "util/configlexer.lex"
{
yyerror("EOF inside quoted string");
BEGIN(inc_prev);
}
YY_BREAK
case 121:
YY_RULE_SETUP
#line 296 "util/configlexer.lex"
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
YY_BREAK
case 122:
/* rule 122 can match eol */
YY_RULE_SETUP
#line 297 "util/configlexer.lex"
{ yyerror("newline before \" in include name");
cfg_parser->line++; BEGIN(inc_prev); }
YY_BREAK
case 123:
YY_RULE_SETUP
#line 299 "util/configlexer.lex"
{
LEXOUT(("IQE "));
yytext[yyleng - 1] = '\0';
config_start_include(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(val):
#line 305 "util/configlexer.lex"
{
yy_set_bol(1); /* Set beginning of line, so "^" rules match. */
if (config_include_stack_ptr == 0) {
yyterminate();
} else {
fclose(yyin);
config_end_include();
}
}
YY_BREAK
case 124:
YY_RULE_SETUP
#line 315 "util/configlexer.lex"
{ LEXOUT(("unquotedstr(%s) ", yytext));
if(--num_args == 0) { BEGIN(INITIAL); }
yylval.str = strdup(yytext); return STRING_ARG; }
YY_BREAK
case 125:
YY_RULE_SETUP
#line 319 "util/configlexer.lex"
{
ub_c_error_msg("unknown keyword '%s'", yytext);
}
YY_BREAK
case 126:
YY_RULE_SETUP
#line 323 "util/configlexer.lex"
{
ub_c_error_msg("stray '%s'", yytext);
}
YY_BREAK
case 127:
YY_RULE_SETUP
#line 327 "util/configlexer.lex"
ECHO;
YY_BREAK
#line 2501 "<stdout>"
case YY_END_OF_BUFFER:
{
/* Amount of text matched not including the EOB char. */
int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
/* Undo the effects of YY_DO_BEFORE_ACTION. */
*yy_cp = (yy_hold_char);
YY_RESTORE_YY_MORE_OFFSET
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
{
/* We're scanning a new file or input source. It's
* possible that this happened because the user
* just pointed yyin at a new source and called
* yylex(). If so, then we have to assure
* consistency between YY_CURRENT_BUFFER and our
* globals. Here is the right place to do so, because
* this is the first action (other than possibly a
* back-up) that will match for the new input source.
*/
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
}
/* Note that here we test for yy_c_buf_p "<=" to the position
* of the first EOB in the buffer, since yy_c_buf_p will
* already have been incremented past the NUL character
* (since all states make transitions on EOB to the
* end-of-buffer state). Contrast this with the test
* in input().
*/
if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
{ /* This was really a NUL. */
yy_state_type yy_next_state;
(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state( );
/* Okay, we're now positioned to make the NUL
* transition. We couldn't have
* yy_get_previous_state() go ahead and do it
* for us because it doesn't know how to deal
* with the possibility of jamming (and we don't
* want to build jamming into it because then it
* will run more slowly).
*/
yy_next_state = yy_try_NUL_trans( yy_current_state );
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
if ( yy_next_state )
{
/* Consume the NUL. */
yy_cp = ++(yy_c_buf_p);
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
yy_cp = (yy_c_buf_p);
goto yy_find_action;
}
}
else switch ( yy_get_next_buffer( ) )
{
case EOB_ACT_END_OF_FILE:
{
(yy_did_buffer_switch_on_eof) = 0;
if ( yywrap( ) )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
* yytext, we can now set up
* yy_c_buf_p so that if some total
* hoser (like flex itself) wants to
* call the scanner after we return the
* YY_NULL, it'll still work - another
* YY_NULL will get returned.
*/
(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
yy_act = YY_STATE_EOF(YY_START);
goto do_action;
}
else
{
if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE;
}
break;
}
case EOB_ACT_CONTINUE_SCAN:
(yy_c_buf_p) =
(yytext_ptr) + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state( );
yy_cp = (yy_c_buf_p);
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
(yy_c_buf_p) =
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
yy_current_state = yy_get_previous_state( );
yy_cp = (yy_c_buf_p);
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
goto yy_find_action;
}
break;
}
default:
YY_FATAL_ERROR(
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
*
* Returns a code representing an action:
* EOB_ACT_LAST_MATCH -
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
* EOB_ACT_END_OF_FILE - end of file
*/
static int yy_get_next_buffer (void)
{
register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
register char *source = (yytext_ptr);
register int number_to_move, i;
int ret_val;
if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
{ /* Don't try to fill the buffer, so this is an EOF. */
if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
{
/* We matched a single character, the EOB, so
* treat this as a final EOF.
*/
return EOB_ACT_END_OF_FILE;
}
else
{
/* We matched some text prior to the EOB, first
* process it.
*/
return EOB_ACT_LAST_MATCH;
}
}
/* Try to read more data. */
/* First move last chars to start of buffer. */
number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
/* don't do the read, it's not guaranteed to return an EOF,
* just force an EOF
*/
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
else
{
int num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
int yy_c_buf_p_offset =
(int) ((yy_c_buf_p) - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
int new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
else
b->yy_buf_size *= 2;
b->yy_ch_buf = (char *)
/* Include room in for 2 EOB chars. */
yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
}
else
/* Can't grow it, we don't own it. */
b->yy_ch_buf = 0;
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR(
"fatal error - scanner input buffer overflow" );
(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
number_to_move - 1;
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
(yy_n_chars), (size_t) num_to_read );
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
if ( (yy_n_chars) == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
yyrestart(yyin );
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
/* Extend the array by 50%, plus the number we really need. */
yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
}
(yy_n_chars) += number_to_move;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
return ret_val;
}
/* yy_get_previous_state - get the state just before the EOB char was reached */
static yy_state_type yy_get_previous_state (void)
{
register yy_state_type yy_current_state;
register char *yy_cp;
yy_current_state = (yy_start);
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
if ( yy_accept[yy_current_state] )
{
(yy_last_accepting_state) = yy_current_state;
(yy_last_accepting_cpos) = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 1203 )
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 >= 1203 )
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 == 1202);
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void)
#else
static int input (void)
#endif
{
int c;
*(yy_c_buf_p) = (yy_hold_char);
if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
{
/* yy_c_buf_p now points to the character we want to return.
* If this occurs *before* the EOB characters, then it's a
* valid NUL; if not, then we've hit the end of the buffer.
*/
if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
/* This was really a NUL. */
*(yy_c_buf_p) = '\0';
else
{ /* need more input */
int offset = (yy_c_buf_p) - (yytext_ptr);
++(yy_c_buf_p);
switch ( yy_get_next_buffer( ) )
{
case EOB_ACT_LAST_MATCH:
/* This happens because yy_g_n_b()
* sees that we've accumulated a
* token and flags that we need to
* try matching the token before
* proceeding. But for input(),
* there's no matching to consider.
* So convert the EOB_ACT_LAST_MATCH
* to EOB_ACT_END_OF_FILE.
*/
/* Reset buffer status. */
yyrestart(yyin );
/*FALLTHROUGH*/
case EOB_ACT_END_OF_FILE:
{
if ( yywrap( ) )
return EOF;
if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput();
#else
return input();
#endif
}
case EOB_ACT_CONTINUE_SCAN:
(yy_c_buf_p) = (yytext_ptr) + offset;
break;
}
}
}
c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
*(yy_c_buf_p) = '\0'; /* preserve yytext */
(yy_hold_char) = *++(yy_c_buf_p);
return c;
}
#endif /* ifndef YY_NO_INPUT */
/** Immediately switch to a different input stream.
* @param input_file A readable stream.
*
* @note This function does not reset the start condition to @c INITIAL .
*/
void yyrestart (FILE * input_file )
{
if ( ! YY_CURRENT_BUFFER ){
yyensure_buffer_stack ();
YY_CURRENT_BUFFER_LVALUE =
yy_create_buffer(yyin,YY_BUF_SIZE );
}
yy_init_buffer(YY_CURRENT_BUFFER,input_file );
yy_load_buffer_state( );
}
/** Switch to a different input buffer.
* @param new_buffer The new input buffer.
*
*/
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
{
/* TODO. We should be able to replace this entire function body
* with
* yypop_buffer_state();
* yypush_buffer_state(new_buffer);
*/
yyensure_buffer_stack ();
if ( YY_CURRENT_BUFFER == new_buffer )
return;
if ( YY_CURRENT_BUFFER )
{
/* Flush out information for old buffer. */
*(yy_c_buf_p) = (yy_hold_char);
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
YY_CURRENT_BUFFER_LVALUE = new_buffer;
yy_load_buffer_state( );
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
(yy_did_buffer_switch_on_eof) = 1;
}
static void yy_load_buffer_state (void)
{
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
(yy_hold_char) = *(yy_c_buf_p);
}
/** Allocate and initialize an input buffer state.
* @param file A readable stream.
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
*
* @return the allocated buffer state.
*/
YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
yy_init_buffer(b,file );
return b;
}
/** Destroy the buffer.
* @param b a buffer created with yy_create_buffer()
*
*/
void yy_delete_buffer (YY_BUFFER_STATE b )
{
if ( ! b )
return;
if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
yyfree((void *) b->yy_ch_buf );
yyfree((void *) b );
}
#ifndef __cplusplus
extern int isatty (int );
#endif /* __cplusplus */
/* Initializes or reinitializes a buffer.
* This function is sometimes called more than once on the same buffer,
* such as during a yyrestart() or at EOF.
*/
static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
{
int oerrno = errno;
yy_flush_buffer(b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
/* If b is the current buffer, then yy_init_buffer was _probably_
* called from yyrestart() or through yy_get_next_buffer.
* In that case, we don't want to reset the lineno or column.
*/
if (b != YY_CURRENT_BUFFER){
b->yy_bs_lineno = 1;
b->yy_bs_column = 0;
}
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
errno = oerrno;
}
/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
*
*/
void yy_flush_buffer (YY_BUFFER_STATE b )
{
if ( ! b )
return;
b->yy_n_chars = 0;
/* We always need two end-of-buffer characters. The first causes
* a transition to the end-of-buffer state. The second causes
* a jam in that state.
*/
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
b->yy_buf_pos = &b->yy_ch_buf[0];
b->yy_at_bol = 1;
b->yy_buffer_status = YY_BUFFER_NEW;
if ( b == YY_CURRENT_BUFFER )
yy_load_buffer_state( );
}
/** Pushes the new state onto the stack. The new state becomes
* the current state. This function will allocate the stack
* if necessary.
* @param new_buffer The new state.
*
*/
void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
{
if (new_buffer == NULL)
return;
yyensure_buffer_stack();
/* This block is copied from yy_switch_to_buffer. */
if ( YY_CURRENT_BUFFER )
{
/* Flush out information for old buffer. */
*(yy_c_buf_p) = (yy_hold_char);
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
/* Only push if top exists. Otherwise, replace top. */
if (YY_CURRENT_BUFFER)
(yy_buffer_stack_top)++;
YY_CURRENT_BUFFER_LVALUE = new_buffer;
/* copied from yy_switch_to_buffer. */
yy_load_buffer_state( );
(yy_did_buffer_switch_on_eof) = 1;
}
/** Removes and deletes the top of the stack, if present.
* The next element becomes the new top.
*
*/
void yypop_buffer_state (void)
{
if (!YY_CURRENT_BUFFER)
return;
yy_delete_buffer(YY_CURRENT_BUFFER );
YY_CURRENT_BUFFER_LVALUE = NULL;
if ((yy_buffer_stack_top) > 0)
--(yy_buffer_stack_top);
if (YY_CURRENT_BUFFER) {
yy_load_buffer_state( );
(yy_did_buffer_switch_on_eof) = 1;
}
}
/* Allocates the stack if it does not exist.
* Guarantees space for at least one push.
*/
static void yyensure_buffer_stack (void)
{
int num_to_alloc;
if (!(yy_buffer_stack)) {
/* First allocation is just for 2 elements, since we don't know if this
* scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call.
*/
num_to_alloc = 1;
(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
);
if ( ! (yy_buffer_stack) )
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
(yy_buffer_stack_max) = num_to_alloc;
(yy_buffer_stack_top) = 0;
return;
}
if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
/* Increase the buffer to prepare for a possible push. */
int grow_size = 8 /* arbitrary grow size */;
num_to_alloc = (yy_buffer_stack_max) + grow_size;
(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
((yy_buffer_stack),
num_to_alloc * sizeof(struct yy_buffer_state*)
);
if ( ! (yy_buffer_stack) )
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
/* zero only the new slots.*/
memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
(yy_buffer_stack_max) = num_to_alloc;
}
}
/** Setup the input buffer state to scan directly from a user-specified character buffer.
* @param base the character buffer
* @param size the size in bytes of the character buffer
*
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
{
YY_BUFFER_STATE b;
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/* They forgot to leave room for the EOB's. */
return 0;
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0;
b->yy_input_file = 0;
b->yy_n_chars = b->yy_buf_size;
b->yy_is_interactive = 0;
b->yy_at_bol = 1;
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
yy_switch_to_buffer(b );
return b;
}
/** Setup the input buffer state to scan a string. The next call to yylex() will
* scan from a @e copy of @a str.
* @param yystr a NUL-terminated string to scan
*
* @return the newly allocated buffer state object.
* @note If you want to scan bytes that may contain NUL values, then use
* yy_scan_bytes() instead.
*/
YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
{
return yy_scan_bytes(yystr,strlen(yystr) );
}
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
* scan from a @e copy of @a bytes.
* @param bytes the byte buffer to scan
* @param len the number of bytes in the buffer pointed to by @a bytes.
*
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
int i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2;
buf = (char *) yyalloc(n );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
for ( i = 0; i < _yybytes_len; ++i )
buf[i] = yybytes[i];
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
b = yy_scan_buffer(buf,n );
if ( ! b )
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
/* It's okay to grow etc. this buffer, and we should throw it
* away when we're done.
*/
b->yy_is_our_buffer = 1;
return b;
}
#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif
static void yy_fatal_error (yyconst char* msg )
{
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
/* Redefine yyless() so it works in section 3 code. */
#undef yyless
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
(yy_hold_char) = *(yy_c_buf_p); \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
/* Accessor methods (get/set functions) to struct members. */
/** Get the current line number.
*
*/
int yyget_lineno (void)
{
return yylineno;
}
/** Get the input stream.
*
*/
FILE *yyget_in (void)
{
return yyin;
}
/** Get the output stream.
*
*/
FILE *yyget_out (void)
{
return yyout;
}
/** Get the length of the current token.
*
*/
int yyget_leng (void)
{
return yyleng;
}
/** Get the current token.
*
*/
char *yyget_text (void)
{
return yytext;
}
/** Set the current line number.
* @param line_number
*
*/
void yyset_lineno (int line_number )
{
yylineno = line_number;
}
/** Set the input stream. This does not discard the current
* input buffer.
* @param in_str A readable stream.
*
* @see yy_switch_to_buffer
*/
void yyset_in (FILE * in_str )
{
yyin = in_str ;
}
void yyset_out (FILE * out_str )
{
yyout = out_str ;
}
int yyget_debug (void)
{
return yy_flex_debug;
}
void yyset_debug (int bdebug )
{
yy_flex_debug = bdebug ;
}
static int yy_init_globals (void)
{
/* Initialization is the same as for the non-reentrant scanner.
* This function is called from yylex_destroy(), so don't allocate here.
*/
(yy_buffer_stack) = 0;
(yy_buffer_stack_top) = 0;
(yy_buffer_stack_max) = 0;
(yy_c_buf_p) = (char *) 0;
(yy_init) = 0;
(yy_start) = 0;
/* Defined in main.c */
#ifdef YY_STDINIT
yyin = stdin;
yyout = stdout;
#else
yyin = (FILE *) 0;
yyout = (FILE *) 0;
#endif
/* For future reference: Set errno on error, since we are called by
* yylex_init()
*/
return 0;
}
/* yylex_destroy is for both reentrant and non-reentrant scanners. */
int yylex_destroy (void)
{
/* Pop the buffer stack, destroying each element. */
while(YY_CURRENT_BUFFER){
yy_delete_buffer(YY_CURRENT_BUFFER );
YY_CURRENT_BUFFER_LVALUE = NULL;
yypop_buffer_state();
}
/* Destroy the stack itself. */
yyfree((yy_buffer_stack) );
(yy_buffer_stack) = NULL;
/* Reset the globals. This is important in a non-reentrant scanner so the next time
* yylex() is called, initialization will occur. */
yy_init_globals( );
return 0;
}
/*
* Internal utility routines.
*/
#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
{
register int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * s )
{
register int n;
for ( n = 0; s[n]; ++n )
;
return n;
}
#endif
void *yyalloc (yy_size_t size )
{
return (void *) malloc( size );
}
void *yyrealloc (void * ptr, yy_size_t size )
{
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
* because both ANSI C and C++ allow castless assignment from
* any pointer type to void*, and deal with argument conversions
* as though doing an assignment.
*/
return (void *) realloc( (char *) ptr, size );
}
void yyfree (void * ptr )
{
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
}
#define YYTABLES_NAME "yytables"
#line 327 "util/configlexer.lex"