unbound/util/configlexer.c

3609 lines
120 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 140
#define YY_END_OF_BUFFER 141
/* 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[1315] =
{ 0,
1, 1, 122, 122, 126, 126, 130, 130, 134, 134,
1, 1, 141, 138, 1, 120, 120, 139, 2, 139,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 122,
123, 123, 124, 139, 126, 127, 127, 128, 139, 133,
130, 131, 131, 132, 139, 134, 135, 135, 136, 139,
137, 121, 2, 125, 139, 137, 138, 0, 1, 2,
2, 2, 2, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 122, 0,
126, 0, 133, 0, 130, 134, 0, 137, 0, 2,
2, 137, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 137, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 137, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 62, 138, 138, 138, 138, 138, 6,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
137, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 137,
138, 138, 138, 138, 27, 138, 138, 138, 138, 138,
12, 13, 138, 15, 14, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 118,
138, 138, 138, 138, 3, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 137, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 129,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 30, 138, 138, 138, 138, 138, 138, 138,
31, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 77, 129, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 76, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
60, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 20, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 28, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 29, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 22, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 25,
26, 138, 138, 138, 63, 138, 64, 138, 61, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 5, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 79, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 104, 103, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 32, 138, 138, 138, 138, 138, 138,
66, 65, 138, 138, 138, 138, 138, 138, 100, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 51,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 102, 138, 138, 138,
138, 138, 138, 138, 4, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 97, 138, 138, 138, 138,
138, 138, 138, 112, 98, 138, 21, 138, 138, 138,
138, 68, 138, 69, 67, 138, 138, 138, 138, 138,
138, 75, 138, 138, 138, 138, 138, 138, 138, 138,
138, 99, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 59, 138, 138, 138,
138, 138, 138, 138, 138, 138, 17, 138, 138, 138,
16, 138, 84, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 39, 40, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 70, 138, 138,
138, 138, 138, 74, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 78, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 117,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 88, 138, 92, 138, 138, 138,
138, 73, 138, 138, 110, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 91, 138,
138, 138, 138, 41, 42, 138, 47, 93, 138, 105,
101, 138, 35, 138, 95, 138, 138, 138, 138, 138,
7, 138, 58, 109, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 80, 138, 138,
119, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 94, 34, 36, 138, 138, 138, 138,
138, 57, 138, 138, 138, 113, 18, 19, 138, 138,
138, 138, 138, 138, 55, 138, 138, 138, 138, 138,
138, 138, 138, 138, 115, 138, 138, 33, 138, 138,
138, 138, 138, 138, 11, 138, 138, 138, 138, 138,
138, 10, 138, 138, 37, 138, 114, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 87, 86, 138,
116, 111, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 43, 138, 138, 138, 138, 138, 38, 138,
138, 138, 81, 83, 138, 138, 138, 85, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 23, 138, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 108, 138, 138, 138, 138,
138, 138, 138, 24, 138, 9, 138, 138, 106, 48,
138, 138, 138, 90, 138, 71, 138, 138, 138, 50,
54, 49, 138, 44, 138, 8, 138, 138, 89, 138,
138, 138, 53, 138, 45, 138, 107, 138, 138, 82,
72, 52, 46, 138, 138, 138, 138, 56, 138, 138,
138, 138, 96, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 5, 6, 1, 1, 1, 7, 1,
1, 1, 1, 1, 8, 1, 1, 1, 1, 1,
9, 10, 1, 11, 1, 1, 1, 12, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 13, 1, 1, 1, 1, 14, 15, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
38, 39, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static yyconst flex_int32_t yy_meta[40] =
{ 0,
1, 2, 3, 4, 5, 1, 6, 1, 1, 1,
1, 7, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1
} ;
static yyconst flex_int16_t yy_base[1329] =
{ 0,
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
87, 108, 2523, 2509, 50, 2623, 2623, 2623, 129, 94,
70, 104, 122, 90, 92, 115, 126, 95, 84, 132,
135, 138, 50, 142, 148, 156, 169, 164, 144, 2508,
2623, 2623, 2623, 70, 2507, 2623, 2623, 2623, 42, 2506,
2516, 2623, 2623, 2623, 188, 2504, 2623, 2623, 2623, 182,
2436, 2623, 197, 2623, 201, 111, 2269, 207, 120, 0,
218, 0, 0, 103, 158, 165, 152, 184, 194, 203,
204, 146, 216, 200, 205, 213, 219, 220, 136, 221,
227, 223, 234, 238, 228, 236, 240, 244, 248, 226,
250, 249, 255, 252, 256, 258, 257, 262, 268, 265,
270, 266, 274, 275, 49, 278, 281, 279, 2196, 294,
939, 298, 804, 309, 783, 397, 296, 357, 313, 317,
0, 310, 294, 319, 312, 315, 316, 318, 325, 321,
329, 339, 332, 322, 330, 328, 336, 337, 344, 334,
350, 345, 347, 346, 354, 361, 367, 369, 355, 377,
373, 379, 385, 381, 383, 371, 384, 382, 386, 387,
392, 393, 395, 396, 405, 399, 401, 406, 416, 407,
408, 423, 425, 427, 410, 421, 424, 433, 430, 434,
436, 431, 442, 437, 443, 447, 450, 448, 452, 453,
460, 457, 458, 461, 469, 467, 468, 470, 282, 472,
474, 476, 480, 478, 477, 479, 484, 482, 495, 501,
502, 490, 503, 504, 509, 506, 514, 512, 516, 522,
519, 520, 521, 523, 526, 529, 533, 530, 531, 534,
532, 540, 541, 560, 549, 544, 548, 551, 550, 557,
561, 558, 566, 567, 568, 571, 584, 593, 580, 583,
586, 573, 483, 592, 594, 595, 597, 598, 603, 601,
604, 615, 611, 616, 614, 622, 625, 618, 624, 626,
629, 628, 630, 2623, 635, 632, 637, 641, 640, 2623,
642, 643, 644, 646, 647, 659, 648, 656, 657, 660,
664, 665, 667, 687, 670, 668, 677, 671, 673, 676,
679, 683, 685, 689, 692, 694, 700, 699, 696, 702,
706, 712, 709, 714, 718, 720, 722, 723, 724, 725,
727, 730, 737, 738, 742, 744, 750, 726, 746, 748,
754, 753, 755, 756, 763, 759, 761, 762, 766, 773,
769, 777, 779, 781, 771, 782, 790, 788, 789, 793,
795, 791, 797, 798, 799, 801, 813, 815, 807, 814,
823, 819, 824, 820, 825, 827, 828, 829, 830, 832,
831, 835, 841, 834, 844, 851, 837, 840, 852, 854,
857, 858, 859, 860, 868, 861, 862, 872, 870, 875,
874, 878, 876, 885, 2623, 888, 887, 889, 890, 893,
2623, 2623, 892, 2623, 2623, 895, 896, 899, 905, 910,
901, 913, 911, 915, 920, 916, 924, 926, 932, 927,
934, 921, 935, 937, 942, 944, 945, 947, 948, 949,
952, 953, 956, 958, 959, 965, 967, 973, 969, 2623,
976, 970, 971, 978, 2623, 977, 980, 982, 983, 986,
985, 987, 990, 992, 995, 993, 997, 996, 999, 1014,
1015, 1010, 1000, 1017, 1018, 1020, 1028, 1024, 1025, 1031,
1035, 1026, 1033, 1037, 1034, 1038, 1040, 1041, 1047, 1066,
1048, 1045, 1053, 1050, 1051, 1060, 1056, 1063, 1078, 1076,
1073, 1055, 1088, 1080, 1083, 1092, 1090, 1094, 1095, 2623,
1101, 1054, 1097, 1098, 1100, 1103, 1102, 1108, 1107, 1110,
1114, 1120, 2623, 1117, 1125, 1126, 1128, 1129, 1118, 1139,
2623, 1141, 1142, 1144, 1122, 1135, 1145, 1149, 1151, 1152,
1153, 1161, 1157, 1150, 1162, 1163, 1164, 1167, 1169, 1170,
1171, 1172, 1174, 1173, 1185, 1191, 1178, 1189, 1179, 1192,
1195, 1200, 1194, 1199, 1197, 1201, 2623, 181, 1203, 1204,
1202, 1210, 1214, 1213, 1211, 1215, 1223, 1220, 1221, 1231,
1224, 1232, 1233, 1227, 1234, 1237, 1240, 1243, 1245, 1247,
1249, 1248, 1250, 1251, 1253, 1255, 1254, 1257, 2623, 1263,
1264, 1265, 1268, 1272, 1280, 1276, 1281, 1287, 1283, 1286,
1292, 1293, 1285, 1295, 1301, 1303, 1300, 1302, 1307, 1304,
2623, 1308, 1309, 1310, 1317, 1311, 1314, 1318, 1319, 1327,
1333, 2623, 1334, 1335, 1320, 1342, 1329, 1346, 1338, 1348,
1350, 1351, 1352, 1353, 1354, 1355, 1357, 2623, 1367, 1368,
1366, 1374, 1373, 1359, 1365, 1380, 1375, 1377, 1386, 1383,
1384, 1387, 1388, 1390, 1391, 1393, 1385, 2623, 1397, 1394,
1399, 1401, 1407, 1398, 1409, 1412, 1402, 1414, 1419, 1422,
1424, 1426, 1427, 1431, 1435, 1423, 1436, 1437, 1440, 1448,
1451, 1452, 2623, 1450, 1447, 1454, 1464, 1457, 1460, 1462,
1465, 1472, 1466, 1468, 1469, 1470, 1476, 1474, 1477, 1482,
1475, 1493, 1478, 1494, 1484, 1499, 1496, 1486, 1505, 2623,
2623, 1502, 1508, 1515, 2623, 1512, 2623, 1514, 2623, 1516,
1517, 1520, 1521, 1522, 1523, 1525, 1528, 1529, 1531, 1526,
1532, 1533, 1534, 2623, 1540, 1541, 1542, 1544, 1545, 1547,
1549, 1554, 1561, 1550, 1557, 1560, 2623, 1563, 1562, 1569,
1578, 1574, 1576, 1577, 1579, 1580, 1581, 1583, 1590, 1586,
1582, 1592, 1593, 1584, 1595, 1597, 1606, 1602, 1603, 1605,
1609, 1608, 1616, 1611, 2623, 2623, 1618, 1629, 1621, 1614,
1631, 1635, 1639, 1620, 1636, 1637, 1641, 1638, 1642, 1645,
1646, 1648, 1651, 2623, 1654, 1658, 1655, 1662, 1660, 1665,
2623, 2623, 1670, 1666, 1671, 1672, 1676, 1675, 2623, 1677,
1680, 1681, 1682, 1683, 1685, 1690, 1695, 1699, 1700, 1696,
1703, 1706, 1704, 1702, 1705, 1718, 1722, 1719, 1724, 1712,
1709, 1725, 1726, 1732, 1727, 1734, 1736, 1742, 1738, 2623,
1745, 1739, 1748, 1729, 1750, 1751, 1758, 1755, 1756, 1759,
1760, 1761, 1763, 1764, 1765, 1768, 2623, 1772, 1770, 1775,
1771, 1785, 1773, 1778, 2623, 1787, 1796, 1783, 1793, 1802,
1804, 1789, 1795, 1805, 1806, 1807, 1808, 1810, 1812, 1814,
1816, 1823, 1828, 1834, 1824, 1831, 1837, 1836, 1838, 1839,
1822, 1845, 1841, 1849, 1846, 2623, 1850, 1855, 1857, 1859,
1861, 1862, 1860, 2623, 2623, 1852, 2623, 1870, 1867, 1872,
1874, 2623, 1876, 2623, 2623, 1873, 1884, 1877, 1888, 1878,
1891, 2623, 1886, 1892, 1895, 1897, 1898, 1899, 1901, 1900,
1902, 2623, 1903, 1904, 1905, 1907, 1920, 1909, 1921, 1925,
1924, 1928, 1914, 1917, 1936, 1934, 2623, 1930, 1938, 1941,
1942, 1944, 1946, 1945, 1943, 1958, 2623, 1947, 1950, 1951,
2623, 1959, 2623, 1962, 1961, 1964, 1972, 1966, 1977, 1969,
1974, 1979, 1980, 1982, 1983, 2623, 2623, 1985, 1990, 1995,
1987, 1992, 1998, 2000, 2001, 2003, 2004, 2623, 1415, 2005,
2007, 2008, 2009, 2623, 2011, 2013, 2012, 2014, 2017, 2022,
2032, 2026, 2034, 2036, 2019, 2041, 2043, 2623, 2044, 2046,
2037, 2048, 2050, 2051, 2052, 2053, 2059, 2060, 2062, 2623,
2064, 2065, 2066, 2070, 2071, 2072, 2073, 2074, 2075, 2077,
2078, 2081, 2088, 2085, 2623, 2084, 2623, 2093, 2098, 2101,
2105, 2623, 2094, 2100, 2623, 2107, 2103, 2116, 2113, 2118,
2120, 2122, 2111, 2124, 2123, 2125, 2134, 2126, 2623, 2133,
2135, 2136, 2137, 2623, 2623, 2141, 2623, 2623, 2146, 2623,
2623, 2148, 2623, 2151, 2623, 2157, 2153, 2155, 2138, 2156,
2623, 2159, 2623, 2623, 2162, 2163, 2164, 2173, 2175, 2177,
2166, 2168, 2170, 2179, 2180, 2181, 2184, 2185, 2187, 2188,
2189, 2190, 2193, 2197, 2195, 2198, 2205, 2623, 2199, 2209,
2623, 2212, 2216, 2206, 2218, 2219, 2222, 2220, 2224, 2231,
2227, 2228, 2229, 2623, 2623, 2623, 2230, 2232, 2234, 2240,
2241, 2623, 2244, 2245, 2252, 2623, 2623, 2623, 2253, 2246,
2248, 2256, 2258, 2262, 2623, 2260, 2266, 2267, 2265, 2274,
2277, 2283, 2282, 2285, 2623, 2286, 2287, 2623, 2289, 2288,
2293, 2294, 2295, 2297, 2623, 2279, 2290, 2305, 2307, 2300,
2310, 2623, 2311, 2312, 2623, 2314, 2623, 2317, 2318, 2321,
2323, 2327, 2328, 2329, 2335, 2332, 2334, 2623, 2623, 2333,
2623, 2623, 2336, 2340, 2341, 2344, 2342, 2347, 2349, 2350,
2353, 2351, 2623, 2354, 2356, 2364, 2361, 2359, 2623, 2366,
2367, 2370, 2623, 2623, 2372, 2380, 2373, 2623, 2378, 2384,
2385, 2386, 2388, 2389, 2390, 2391, 2392, 2394, 2396, 2397,
2403, 2407, 2623, 2409, 2405, 2411, 2414, 2418, 2415, 2419,
2420, 2424, 2426, 2428, 2429, 2623, 2421, 2432, 2442, 2444,
2446, 2447, 2450, 2623, 2453, 2623, 2456, 2457, 2623, 2623,
2451, 2461, 2458, 2623, 2464, 2623, 2465, 2467, 2468, 2623,
2623, 2623, 2471, 2623, 2473, 2623, 2475, 2476, 2623, 2478,
2480, 2482, 2623, 2484, 2623, 2487, 2623, 2488, 2489, 2623,
2623, 2623, 2623, 2493, 2492, 2495, 2430, 2623, 2498, 2501,
2499, 2503, 2623, 2623, 2531, 2538, 2545, 2552, 2559, 94,
2566, 2573, 2580, 2587, 2594, 2601, 2608, 2615
} ;
static yyconst flex_int16_t yy_def[1329] =
{ 0,
1314, 1, 1315, 1315, 1316, 1316, 1317, 1317, 1318, 1318,
1319, 1319, 1314, 1320, 1314, 1314, 1314, 1314, 1321, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1322,
1314, 1314, 1314, 1322, 1323, 1314, 1314, 1314, 1323, 1324,
1314, 1314, 1314, 1314, 1324, 1325, 1314, 1314, 1314, 1325,
1326, 1314, 1327, 1314, 1326, 1326, 1320, 1320, 1314, 1328,
1321, 1328, 1321, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1322, 1322,
1323, 1323, 1324, 1324, 1314, 1325, 1325, 1326, 1326, 1327,
1327, 1326, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1326, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1326, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1314,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1326, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1326,
1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320,
1314, 1314, 1320, 1314, 1314, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314,
1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1326, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1314, 1326, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314,
1314, 1320, 1320, 1320, 1314, 1320, 1314, 1320, 1314, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1314, 1314, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320,
1314, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1314, 1314, 1320, 1314, 1320, 1320, 1320,
1320, 1314, 1320, 1314, 1314, 1320, 1320, 1320, 1320, 1320,
1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320,
1314, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1314, 1314, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320,
1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1314, 1320, 1314, 1320, 1320, 1320,
1320, 1314, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320,
1320, 1320, 1320, 1314, 1314, 1320, 1314, 1314, 1320, 1314,
1314, 1320, 1314, 1320, 1314, 1320, 1320, 1320, 1320, 1320,
1314, 1320, 1314, 1314, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320,
1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1314, 1314, 1314, 1320, 1320, 1320, 1320,
1320, 1314, 1320, 1320, 1320, 1314, 1314, 1314, 1320, 1320,
1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1314, 1320, 1320, 1314, 1320, 1320,
1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320,
1320, 1314, 1320, 1320, 1314, 1320, 1314, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1314, 1314, 1320,
1314, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1314, 1320,
1320, 1320, 1314, 1314, 1320, 1320, 1320, 1314, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1314, 1320, 1320, 1320, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1320, 1320, 1314, 1320, 1320, 1320, 1320,
1320, 1320, 1320, 1314, 1320, 1314, 1320, 1320, 1314, 1314,
1320, 1320, 1320, 1314, 1320, 1314, 1320, 1320, 1320, 1314,
1314, 1314, 1320, 1314, 1320, 1314, 1320, 1320, 1314, 1320,
1320, 1320, 1314, 1320, 1314, 1320, 1314, 1320, 1320, 1314,
1314, 1314, 1314, 1320, 1320, 1320, 1320, 1314, 1320, 1320,
1320, 1320, 1314, 0, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314
} ;
static yyconst flex_int16_t yy_nxt[2663] =
{ 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, 121, 46, 47, 121, 44,
48, 69, 44, 46, 47, 70, 49, 48, 57, 58,
59, 68, 68, 49, 51, 52, 53, 54, 60, 18,
57, 58, 59, 119, 119, 55, 51, 52, 53, 54,
60, 18, 68, 100, 181, 74, 75, 55, 15, 16,
17, 62, 63, 64, 67, 67, 68, 67, 67, 65,
67, 93, 68, 76, 68, 67, 84, 68, 66, 15,
16, 17, 62, 63, 64, 68, 68, 77, 133, 86,
65, 69, 92, 129, 78, 70, 85, 68, 87, 66,
72, 79, 72, 72, 68, 72, 88, 132, 68, 80,
72, 73, 89, 81, 68, 90, 82, 68, 68, 83,
68, 97, 91, 149, 68, 98, 68, 117, 68, 94,
68, 118, 95, 101, 68, 105, 96, 136, 68, 102,
68, 99, 103, 108, 134, 106, 68, 68, 107, 104,
141, 68, 112, 109, 113, 126, 126, 110, 111, 123,
115, 123, 123, 129, 123, 116, 68, 135, 72, 114,
72, 72, 128, 72, 128, 128, 68, 128, 67, 131,
67, 67, 68, 67, 137, 68, 68, 68, 67, 72,
138, 72, 72, 142, 72, 68, 144, 139, 68, 72,
73, 68, 68, 68, 140, 68, 148, 145, 68, 68,
68, 143, 151, 146, 159, 152, 68, 150, 68, 147,
68, 155, 68, 157, 154, 160, 68, 158, 164, 153,
68, 68, 68, 162, 68, 161, 165, 68, 68, 68,
68, 156, 167, 163, 68, 174, 168, 68, 68, 166,
68, 170, 68, 176, 169, 171, 68, 68, 172, 175,
68, 68, 173, 68, 68, 182, 178, 119, 119, 126,
126, 121, 179, 177, 121, 183, 68, 271, 180, 184,
123, 186, 123, 123, 128, 123, 128, 128, 72, 128,
72, 72, 129, 72, 68, 185, 187, 68, 68, 131,
68, 68, 192, 68, 68, 189, 194, 68, 193, 188,
68, 68, 68, 190, 68, 200, 68, 202, 68, 68,
191, 68, 204, 201, 205, 195, 68, 68, 68, 68,
196, 207, 68, 203, 211, 197, 68, 68, 214, 129,
206, 198, 199, 68, 208, 210, 216, 209, 212, 68,
215, 68, 213, 68, 219, 68, 221, 217, 218, 68,
220, 68, 222, 68, 68, 68, 68, 68, 68, 68,
223, 224, 226, 225, 68, 68, 228, 68, 68, 127,
231, 68, 235, 68, 229, 237, 227, 68, 68, 68,
68, 241, 129, 239, 230, 238, 233, 234, 68, 232,
242, 236, 244, 68, 247, 68, 68, 68, 240, 68,
250, 245, 68, 68, 249, 68, 68, 251, 68, 68,
256, 254, 248, 243, 68, 68, 257, 255, 246, 68,
68, 252, 68, 260, 68, 68, 253, 263, 261, 68,
68, 265, 68, 68, 262, 258, 267, 259, 266, 68,
68, 68, 68, 264, 68, 272, 68, 275, 68, 68,
68, 68, 68, 276, 68, 68, 68, 338, 269, 268,
274, 277, 68, 270, 273, 280, 281, 68, 278, 282,
283, 279, 284, 68, 68, 68, 68, 285, 68, 286,
290, 68, 287, 291, 68, 289, 68, 292, 68, 295,
288, 68, 68, 68, 68, 68, 298, 297, 68, 293,
304, 68, 68, 68, 68, 68, 68, 305, 294, 299,
303, 296, 68, 68, 300, 309, 68, 301, 308, 302,
129, 68, 68, 68, 306, 320, 307, 311, 325, 68,
68, 310, 68, 68, 312, 313, 319, 323, 68, 68,
68, 321, 322, 68, 314, 68, 315, 316, 317, 324,
326, 318, 68, 327, 328, 68, 68, 330, 68, 337,
329, 331, 332, 333, 68, 68, 68, 68, 339, 68,
68, 335, 334, 68, 336, 68, 68, 346, 342, 344,
345, 341, 348, 68, 340, 347, 68, 68, 68, 349,
68, 343, 353, 350, 68, 352, 68, 68, 68, 351,
68, 68, 68, 359, 68, 355, 357, 68, 360, 68,
356, 354, 68, 68, 68, 68, 68, 362, 68, 68,
68, 358, 363, 368, 364, 361, 370, 369, 68, 68,
367, 68, 68, 373, 365, 366, 68, 68, 371, 68,
68, 375, 68, 68, 385, 68, 388, 374, 68, 68,
372, 68, 390, 376, 386, 68, 384, 68, 377, 68,
378, 68, 383, 387, 68, 379, 68, 380, 68, 392,
391, 68, 68, 389, 68, 381, 393, 396, 129, 401,
397, 68, 400, 394, 68, 382, 68, 398, 395, 399,
68, 405, 68, 402, 68, 68, 68, 68, 68, 68,
409, 411, 68, 404, 403, 413, 406, 407, 412, 68,
68, 408, 410, 414, 68, 415, 68, 416, 68, 417,
68, 420, 68, 418, 419, 68, 68, 68, 68, 421,
424, 68, 422, 68, 68, 68, 425, 427, 68, 430,
431, 68, 428, 68, 125, 68, 429, 426, 423, 68,
432, 68, 433, 68, 68, 434, 437, 439, 436, 438,
68, 68, 68, 68, 441, 68, 440, 68, 442, 68,
68, 68, 443, 68, 447, 446, 124, 435, 448, 68,
449, 444, 451, 445, 450, 68, 68, 68, 452, 453,
454, 68, 68, 456, 455, 68, 68, 68, 457, 68,
68, 68, 68, 68, 68, 462, 68, 68, 467, 68,
458, 463, 68, 68, 471, 459, 68, 469, 460, 464,
461, 465, 466, 68, 68, 468, 68, 470, 472, 68,
68, 68, 68, 68, 68, 476, 475, 478, 477, 474,
68, 481, 68, 473, 68, 479, 68, 129, 68, 485,
68, 480, 484, 482, 486, 490, 483, 68, 488, 68,
68, 68, 68, 491, 68, 68, 489, 68, 68, 487,
493, 68, 499, 68, 497, 498, 496, 68, 506, 492,
494, 495, 68, 68, 500, 68, 501, 68, 68, 502,
509, 510, 68, 68, 503, 511, 68, 512, 68, 68,
504, 505, 515, 507, 68, 514, 68, 68, 508, 68,
519, 122, 517, 513, 68, 518, 68, 68, 523, 68,
68, 68, 522, 524, 68, 68, 516, 525, 68, 520,
68, 68, 526, 527, 521, 529, 531, 68, 530, 68,
533, 68, 68, 68, 537, 68, 528, 532, 68, 68,
68, 535, 68, 538, 68, 68, 536, 68, 68, 68,
534, 539, 68, 546, 68, 68, 545, 68, 68, 68,
540, 68, 68, 541, 542, 551, 549, 543, 544, 550,
547, 554, 68, 548, 557, 553, 68, 68, 552, 68,
68, 555, 68, 560, 558, 561, 68, 68, 68, 562,
68, 556, 565, 68, 567, 68, 68, 68, 568, 129,
68, 559, 68, 68, 570, 563, 564, 68, 566, 68,
68, 569, 68, 68, 579, 68, 68, 68, 68, 602,
586, 571, 68, 573, 585, 68, 582, 572, 68, 593,
581, 574, 580, 575, 583, 68, 584, 576, 68, 577,
68, 587, 68, 591, 578, 68, 588, 595, 589, 592,
68, 594, 68, 596, 68, 599, 68, 68, 601, 68,
68, 600, 68, 68, 68, 68, 590, 605, 597, 68,
68, 598, 68, 604, 606, 608, 68, 612, 603, 68,
68, 618, 68, 607, 68, 611, 610, 68, 68, 609,
68, 68, 614, 615, 613, 616, 619, 68, 620, 625,
617, 68, 621, 68, 68, 622, 68, 68, 623, 624,
627, 68, 68, 68, 68, 68, 628, 626, 629, 68,
630, 631, 632, 68, 68, 68, 68, 635, 633, 68,
634, 68, 68, 68, 68, 68, 68, 640, 641, 643,
68, 68, 645, 636, 639, 637, 644, 68, 646, 638,
648, 68, 642, 68, 68, 647, 68, 68, 652, 68,
649, 68, 68, 68, 68, 68, 68, 660, 650, 651,
654, 661, 68, 68, 653, 68, 68, 68, 655, 657,
662, 658, 68, 68, 659, 68, 68, 663, 656, 68,
665, 664, 668, 68, 68, 68, 68, 666, 667, 68,
671, 673, 68, 670, 669, 68, 675, 68, 672, 68,
68, 68, 68, 68, 676, 68, 68, 68, 674, 68,
687, 683, 677, 679, 678, 68, 68, 68, 686, 680,
68, 682, 684, 681, 68, 689, 685, 692, 68, 691,
688, 693, 68, 68, 696, 68, 697, 68, 68, 68,
690, 694, 695, 698, 68, 68, 700, 68, 703, 699,
704, 701, 68, 68, 68, 68, 68, 705, 706, 68,
68, 68, 68, 68, 712, 702, 68, 711, 707, 68,
68, 68, 68, 708, 717, 709, 713, 710, 720, 68,
714, 68, 716, 715, 721, 68, 68, 68, 718, 722,
68, 724, 723, 725, 68, 728, 719, 727, 68, 729,
68, 726, 68, 68, 68, 68, 68, 68, 731, 68,
733, 68, 732, 735, 737, 738, 736, 68, 68, 68,
68, 740, 730, 739, 734, 68, 68, 68, 743, 68,
742, 744, 68, 747, 741, 68, 68, 68, 68, 68,
68, 751, 68, 68, 756, 68, 68, 745, 757, 68,
68, 68, 746, 68, 68, 748, 749, 750, 760, 68,
755, 68, 752, 754, 68, 763, 68, 68, 753, 759,
762, 68, 758, 765, 68, 68, 68, 761, 68, 68,
766, 769, 764, 68, 771, 770, 767, 68, 68, 68,
774, 1064, 68, 768, 775, 778, 773, 777, 779, 68,
68, 772, 68, 68, 68, 780, 68, 781, 786, 68,
776, 784, 68, 782, 68, 785, 68, 68, 68, 790,
68, 68, 68, 789, 68, 783, 68, 68, 68, 68,
68, 787, 799, 788, 68, 798, 68, 791, 68, 792,
793, 794, 795, 801, 797, 68, 68, 796, 68, 800,
804, 68, 807, 805, 68, 802, 803, 68, 806, 808,
68, 809, 810, 811, 68, 812, 68, 68, 68, 68,
814, 813, 68, 68, 68, 68, 819, 68, 68, 817,
68, 68, 821, 68, 68, 68, 68, 815, 824, 823,
818, 826, 68, 68, 68, 829, 68, 68, 816, 68,
820, 68, 68, 833, 825, 822, 68, 828, 835, 68,
827, 834, 68, 68, 68, 68, 830, 831, 838, 832,
839, 68, 836, 837, 841, 842, 68, 843, 68, 68,
68, 68, 68, 68, 68, 68, 68, 847, 68, 840,
849, 850, 68, 851, 68, 68, 844, 68, 845, 68,
855, 846, 852, 858, 68, 68, 848, 68, 68, 856,
68, 68, 857, 68, 853, 854, 68, 863, 68, 867,
68, 875, 68, 68, 859, 860, 862, 864, 861, 866,
865, 68, 869, 68, 868, 870, 874, 68, 68, 68,
68, 68, 871, 68, 68, 872, 873, 68, 68, 882,
68, 885, 877, 68, 879, 886, 68, 68, 876, 888,
68, 878, 68, 887, 68, 881, 883, 68, 68, 880,
890, 884, 68, 68, 68, 889, 891, 68, 68, 68,
892, 893, 68, 68, 68, 68, 899, 68, 900, 901,
902, 894, 68, 895, 896, 897, 903, 68, 68, 898,
906, 68, 68, 910, 68, 68, 68, 68, 68, 918,
908, 68, 905, 913, 68, 904, 907, 909, 911, 914,
68, 68, 912, 915, 68, 917, 68, 68, 68, 68,
916, 68, 919, 922, 68, 924, 68, 925, 68, 926,
68, 68, 928, 927, 68, 930, 920, 68, 921, 923,
68, 932, 68, 68, 933, 934, 931, 68, 68, 929,
68, 68, 68, 68, 942, 68, 68, 68, 944, 935,
68, 936, 68, 68, 68, 68, 937, 68, 938, 947,
68, 939, 940, 946, 941, 68, 948, 68, 950, 68,
945, 68, 943, 954, 953, 68, 952, 68, 68, 949,
959, 951, 956, 957, 68, 955, 68, 68, 68, 68,
68, 958, 68, 967, 68, 963, 68, 960, 68, 964,
970, 974, 961, 965, 68, 68, 68, 962, 966, 971,
68, 972, 969, 68, 976, 973, 68, 968, 68, 68,
68, 68, 981, 68, 978, 975, 983, 68, 68, 980,
977, 68, 68, 979, 68, 985, 986, 68, 987, 68,
984, 68, 68, 68, 68, 982, 992, 988, 989, 68,
990, 991, 68, 993, 68, 68, 68, 998, 68, 68,
68, 1000, 1003, 996, 994, 997, 68, 995, 68, 999,
68, 1002, 1004, 68, 68, 1005, 1001, 68, 1007, 68,
68, 68, 68, 68, 68, 68, 68, 68, 1015, 68,
1014, 68, 1009, 1010, 1006, 1011, 68, 1012, 1017, 68,
1008, 1018, 68, 68, 1013, 1016, 68, 68, 1020, 1021,
68, 1022, 68, 1026, 1024, 1023, 68, 1019, 68, 1025,
68, 1027, 1030, 68, 68, 68, 68, 68, 68, 68,
1036, 1028, 68, 68, 1029, 1032, 1031, 1034, 1033, 1035,
68, 68, 1038, 68, 68, 1037, 68, 1041, 68, 1040,
1042, 68, 1039, 1045, 68, 1044, 68, 1046, 1047, 68,
1049, 68, 68, 1052, 68, 68, 1050, 68, 1043, 68,
1048, 1055, 68, 1053, 68, 1051, 1054, 68, 1056, 1058,
68, 1057, 68, 68, 1059, 68, 68, 68, 1061, 68,
68, 68, 1069, 68, 68, 68, 68, 1060, 1070, 68,
1073, 68, 1067, 1074, 68, 1063, 1065, 1071, 68, 1072,
1066, 1062, 1068, 1075, 68, 1077, 68, 1078, 68, 68,
1079, 1076, 1080, 68, 1081, 68, 68, 1083, 68, 1085,
68, 1082, 68, 68, 68, 68, 1089, 1088, 1084, 1087,
1091, 68, 68, 1093, 68, 1094, 68, 68, 68, 1096,
1086, 1090, 68, 68, 68, 68, 68, 68, 1098, 68,
68, 1092, 1102, 68, 1097, 1106, 68, 68, 1100, 1104,
68, 1107, 1105, 1095, 1103, 68, 68, 1101, 1111, 1099,
68, 1110, 68, 68, 1109, 68, 1108, 68, 1112, 68,
1117, 1114, 1116, 68, 1115, 68, 1113, 1118, 68, 1119,
68, 1121, 68, 1120, 68, 68, 68, 68, 68, 1122,
1124, 1127, 1126, 1123, 1128, 68, 68, 68, 68, 68,
68, 1132, 1130, 68, 1133, 1125, 1131, 1134, 68, 1135,
68, 1129, 1136, 68, 1137, 68, 1138, 68, 68, 68,
1142, 68, 1140, 1141, 68, 68, 68, 1144, 68, 1143,
68, 1145, 68, 1139, 1146, 68, 1147, 68, 1148, 68,
1149, 68, 68, 68, 1151, 1155, 68, 68, 1150, 68,
68, 68, 68, 1152, 1153, 68, 1156, 68, 120, 68,
68, 68, 1163, 1154, 1159, 1164, 1165, 68, 68, 1161,
1158, 68, 1167, 1168, 68, 1157, 1160, 1162, 68, 1166,
68, 68, 68, 1170, 68, 1175, 68, 1169, 1176, 68,
68, 68, 68, 68, 68, 1182, 68, 1181, 1171, 1172,
1173, 1174, 68, 68, 1177, 1185, 68, 68, 68, 1178,
68, 1179, 1180, 1187, 68, 68, 1188, 1183, 68, 1190,
68, 1184, 68, 1191, 68, 1192, 1186, 68, 68, 68,
1189, 68, 1193, 1195, 1196, 1198, 68, 1194, 1199, 68,
1200, 68, 1197, 1201, 68, 68, 1202, 68, 68, 68,
68, 68, 68, 1203, 1205, 68, 68, 68, 1209, 68,
1211, 1204, 68, 1206, 1207, 1208, 1213, 68, 1210, 68,
1215, 1212, 68, 68, 68, 1219, 68, 1216, 1214, 68,
68, 1221, 1217, 68, 1223, 68, 1222, 1218, 1224, 68,
68, 68, 1227, 1228, 68, 68, 68, 68, 68, 1220,
1229, 1230, 68, 68, 68, 1226, 68, 1234, 1225, 68,
1232, 68, 68, 68, 1236, 68, 68, 1231, 68, 1241,
1235, 68, 1233, 68, 1239, 1243, 68, 1244, 68, 68,
1245, 1237, 68, 1240, 68, 68, 1242, 1246, 1238, 1249,
68, 1247, 68, 1250, 1251, 1252, 68, 68, 68, 1256,
68, 68, 68, 68, 68, 1253, 68, 1248, 68, 68,
1257, 1261, 1260, 1255, 1264, 68, 1254, 68, 1258, 68,
1266, 68, 1259, 68, 1265, 1269, 68, 68, 1263, 1270,
68, 68, 68, 68, 1262, 1274, 68, 1267, 68, 1276,
68, 68, 68, 1272, 68, 1268, 1271, 1278, 129, 1279,
1275, 1309, 1273, 1280, 68, 1281, 68, 1282, 68, 68,
1277, 1284, 68, 68, 1283, 68, 1285, 1286, 68, 68,
68, 1288, 1289, 68, 1287, 1290, 68, 68, 1293, 68,
68, 1291, 1295, 68, 1294, 68, 1297, 68, 68, 1296,
68, 1300, 68, 1301, 68, 1302, 68, 1292, 1303, 68,
68, 68, 1305, 1298, 68, 68, 1308, 68, 1299, 1306,
68, 68, 1304, 68, 1313, 68, 127, 125, 124, 122,
120, 68, 1314, 1314, 1307, 1310, 1314, 1311, 1314, 1314,
1312, 40, 40, 40, 40, 40, 40, 40, 45, 45,
45, 45, 45, 45, 45, 50, 50, 50, 50, 50,
50, 50, 56, 56, 56, 56, 56, 56, 56, 61,
61, 61, 61, 61, 61, 61, 71, 71, 1314, 71,
71, 71, 71, 119, 119, 1314, 1314, 1314, 119, 119,
121, 121, 1314, 1314, 121, 1314, 121, 123, 1314, 1314,
1314, 1314, 1314, 123, 126, 126, 1314, 1314, 1314, 126,
126, 128, 1314, 1314, 1314, 1314, 1314, 128, 130, 130,
1314, 130, 130, 130, 130, 72, 72, 1314, 72, 72,
72, 72, 13, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314
} ;
static yyconst flex_int16_t yy_chk[2663] =
{ 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, 115, 33, 6, 7, 7, 7, 7, 9, 7,
10, 10, 10, 44, 44, 7, 8, 8, 8, 8,
10, 8, 21, 33, 115, 21, 21, 8, 11, 11,
11, 11, 11, 11, 1320, 20, 29, 20, 20, 11,
20, 29, 24, 21, 25, 20, 24, 28, 11, 12,
12, 12, 12, 12, 12, 74, 22, 22, 74, 25,
12, 69, 28, 66, 22, 69, 24, 26, 26, 12,
19, 22, 19, 19, 23, 19, 26, 66, 27, 23,
19, 19, 27, 23, 30, 27, 23, 31, 89, 23,
32, 32, 27, 89, 34, 32, 39, 39, 82, 30,
35, 39, 31, 34, 77, 35, 31, 77, 36, 34,
75, 32, 34, 36, 75, 35, 38, 76, 35, 34,
82, 37, 37, 36, 37, 60, 60, 36, 36, 55,
38, 55, 55, 568, 55, 38, 78, 76, 63, 37,
63, 63, 65, 63, 65, 65, 79, 65, 68, 63,
68, 68, 84, 68, 78, 80, 81, 85, 68, 71,
79, 71, 71, 83, 71, 86, 84, 80, 83, 71,
71, 87, 88, 90, 81, 92, 88, 85, 100, 91,
95, 83, 91, 86, 95, 91, 93, 90, 96, 87,
94, 93, 97, 94, 92, 96, 98, 94, 100, 91,
99, 102, 101, 98, 104, 97, 101, 103, 105, 107,
106, 93, 103, 99, 108, 109, 103, 110, 112, 102,
109, 105, 111, 111, 104, 106, 113, 114, 107, 110,
116, 118, 108, 117, 209, 116, 112, 120, 120, 127,
127, 122, 113, 111, 122, 117, 133, 209, 114, 118,
124, 133, 124, 124, 129, 124, 129, 129, 130, 129,
130, 130, 132, 130, 135, 132, 134, 136, 137, 130,
138, 134, 139, 140, 144, 136, 141, 139, 140, 135,
146, 141, 145, 137, 143, 143, 150, 145, 147, 148,
138, 142, 147, 144, 148, 142, 149, 152, 154, 153,
142, 150, 151, 146, 153, 142, 155, 159, 156, 128,
149, 142, 142, 156, 151, 152, 158, 151, 154, 157,
157, 158, 155, 166, 160, 161, 162, 158, 159, 160,
161, 162, 163, 164, 168, 165, 167, 163, 169, 170,
164, 165, 167, 166, 171, 172, 169, 173, 174, 126,
172, 176, 175, 177, 170, 177, 168, 175, 178, 180,
181, 181, 185, 179, 171, 178, 174, 174, 179, 173,
182, 176, 183, 186, 185, 182, 187, 183, 180, 184,
188, 184, 189, 192, 187, 188, 190, 189, 191, 194,
194, 192, 186, 182, 193, 195, 195, 193, 184, 196,
198, 190, 197, 198, 199, 200, 191, 201, 199, 202,
203, 203, 201, 204, 200, 196, 205, 197, 204, 206,
207, 205, 208, 202, 210, 210, 211, 213, 212, 215,
214, 216, 213, 214, 218, 263, 217, 263, 207, 206,
212, 215, 222, 208, 211, 217, 218, 219, 216, 219,
219, 216, 220, 220, 221, 223, 224, 221, 226, 222,
225, 225, 222, 226, 228, 224, 227, 227, 229, 230,
223, 231, 232, 233, 230, 234, 233, 232, 235, 228,
237, 236, 238, 239, 241, 237, 240, 238, 229, 234,
236, 231, 242, 243, 235, 242, 246, 235, 241, 235,
247, 245, 249, 248, 239, 246, 240, 243, 251, 250,
252, 242, 244, 251, 244, 244, 245, 249, 253, 254,
255, 247, 248, 256, 244, 262, 244, 244, 244, 250,
252, 244, 259, 253, 254, 260, 257, 256, 261, 262,
255, 257, 258, 258, 264, 258, 265, 266, 264, 267,
268, 260, 259, 270, 261, 269, 271, 270, 267, 268,
269, 266, 272, 273, 265, 271, 275, 272, 274, 273,
278, 267, 277, 274, 276, 276, 279, 277, 280, 275,
282, 281, 283, 283, 286, 279, 281, 285, 285, 287,
280, 278, 289, 288, 291, 292, 293, 287, 294, 295,
297, 282, 288, 294, 289, 286, 296, 295, 298, 299,
293, 296, 300, 299, 291, 292, 301, 302, 297, 303,
306, 301, 305, 308, 307, 309, 309, 300, 310, 307,
298, 311, 311, 302, 307, 312, 306, 313, 303, 304,
304, 314, 305, 308, 315, 304, 316, 304, 319, 313,
312, 318, 317, 310, 320, 304, 314, 317, 321, 322,
318, 323, 321, 315, 322, 304, 324, 319, 316, 320,
325, 326, 326, 323, 327, 328, 329, 330, 338, 331,
330, 332, 332, 325, 324, 334, 327, 328, 333, 333,
334, 329, 331, 335, 335, 336, 336, 337, 339, 338,
340, 341, 337, 339, 340, 342, 341, 343, 344, 342,
345, 346, 343, 347, 348, 345, 346, 348, 349, 349,
350, 351, 348, 355, 125, 350, 348, 347, 344, 352,
351, 353, 352, 354, 356, 353, 355, 357, 354, 356,
358, 359, 357, 362, 359, 360, 358, 361, 360, 363,
364, 365, 361, 366, 365, 364, 123, 353, 366, 369,
367, 362, 368, 363, 367, 367, 370, 368, 369, 370,
371, 372, 374, 372, 371, 371, 373, 375, 373, 376,
377, 378, 379, 381, 380, 378, 384, 382, 383, 387,
374, 379, 388, 383, 387, 375, 385, 385, 376, 380,
377, 381, 382, 386, 389, 384, 390, 386, 388, 391,
392, 393, 394, 396, 397, 392, 391, 394, 393, 390,
395, 397, 399, 389, 398, 395, 401, 400, 403, 401,
402, 396, 400, 398, 402, 406, 399, 404, 404, 407,
406, 408, 409, 407, 413, 410, 404, 416, 417, 403,
409, 418, 419, 421, 417, 418, 416, 419, 421, 408,
410, 413, 420, 423, 420, 422, 420, 424, 426, 420,
424, 425, 425, 432, 420, 426, 427, 427, 428, 430,
420, 420, 430, 422, 429, 429, 431, 433, 423, 434,
434, 121, 432, 428, 435, 433, 436, 437, 438, 438,
439, 440, 437, 439, 441, 442, 431, 440, 443, 435,
444, 445, 441, 442, 436, 444, 446, 446, 445, 447,
448, 449, 452, 453, 453, 448, 443, 447, 451, 456,
454, 451, 457, 454, 458, 459, 452, 461, 460, 462,
449, 454, 463, 462, 464, 466, 461, 465, 468, 467,
456, 469, 473, 457, 458, 467, 465, 459, 460, 466,
463, 470, 472, 464, 473, 469, 470, 471, 468, 474,
475, 471, 476, 476, 474, 477, 478, 479, 482, 478,
477, 472, 481, 480, 483, 483, 485, 481, 484, 484,
486, 475, 487, 488, 486, 479, 480, 492, 482, 489,
491, 485, 494, 495, 491, 493, 512, 502, 497, 512,
498, 487, 496, 489, 497, 498, 494, 488, 490, 502,
493, 490, 492, 490, 495, 501, 496, 490, 500, 490,
499, 499, 504, 500, 490, 505, 499, 504, 499, 501,
503, 503, 507, 505, 506, 508, 508, 509, 511, 513,
514, 509, 515, 511, 517, 516, 499, 515, 506, 519,
518, 507, 520, 514, 516, 518, 521, 522, 513, 524,
529, 529, 522, 517, 535, 521, 520, 525, 526, 519,
527, 528, 525, 526, 524, 527, 530, 536, 532, 535,
528, 530, 532, 532, 533, 533, 534, 537, 533, 534,
537, 538, 544, 539, 540, 541, 538, 536, 539, 543,
540, 541, 542, 542, 545, 546, 547, 545, 543, 548,
544, 549, 550, 551, 552, 554, 553, 550, 551, 553,
557, 559, 555, 546, 549, 547, 554, 555, 556, 548,
558, 558, 552, 556, 560, 557, 563, 561, 562, 565,
559, 564, 562, 566, 571, 569, 570, 572, 560, 561,
564, 573, 572, 575, 563, 574, 573, 576, 565, 569,
574, 570, 578, 579, 571, 577, 581, 575, 566, 584,
577, 576, 580, 580, 582, 583, 585, 578, 579, 586,
583, 585, 587, 582, 581, 588, 587, 589, 584, 590,
592, 591, 593, 594, 588, 595, 597, 596, 586, 598,
600, 595, 589, 591, 590, 600, 601, 602, 598, 592,
603, 594, 596, 593, 604, 602, 597, 605, 606, 604,
601, 605, 605, 607, 608, 609, 609, 613, 610, 608,
603, 606, 607, 610, 611, 612, 612, 614, 615, 611,
616, 613, 617, 615, 618, 616, 620, 617, 618, 619,
622, 623, 624, 626, 622, 614, 627, 620, 619, 625,
628, 629, 635, 619, 627, 619, 623, 619, 630, 630,
624, 637, 626, 625, 631, 631, 633, 634, 628, 633,
639, 635, 634, 636, 636, 639, 629, 638, 638, 640,
640, 637, 641, 642, 643, 644, 645, 646, 642, 647,
644, 654, 643, 646, 649, 650, 647, 655, 651, 649,
650, 652, 641, 651, 645, 653, 652, 657, 655, 658,
654, 656, 656, 659, 653, 660, 661, 667, 659, 662,
663, 663, 664, 665, 669, 666, 670, 657, 669, 669,
674, 671, 658, 672, 677, 660, 661, 662, 672, 673,
667, 675, 664, 666, 676, 675, 678, 999, 665, 671,
674, 679, 670, 677, 680, 686, 681, 673, 682, 683,
678, 681, 676, 684, 683, 682, 679, 685, 687, 688,
686, 999, 689, 680, 687, 690, 685, 689, 691, 695,
690, 684, 694, 691, 692, 692, 696, 694, 698, 698,
688, 697, 699, 695, 700, 697, 697, 701, 703, 702,
704, 705, 706, 701, 702, 696, 708, 711, 707, 709,
713, 699, 711, 700, 710, 710, 715, 703, 718, 704,
705, 706, 707, 713, 709, 712, 714, 708, 717, 712,
716, 716, 719, 717, 722, 714, 715, 719, 718, 722,
723, 723, 724, 726, 726, 728, 728, 724, 730, 731,
731, 730, 732, 733, 734, 735, 736, 736, 740, 734,
737, 738, 738, 739, 741, 742, 743, 732, 741, 740,
735, 743, 745, 746, 747, 747, 748, 749, 733, 750,
737, 751, 754, 751, 742, 739, 752, 746, 753, 755,
745, 752, 756, 753, 759, 758, 748, 749, 756, 750,
758, 760, 754, 755, 760, 761, 762, 762, 763, 764,
761, 765, 766, 767, 771, 768, 774, 766, 770, 759,
768, 769, 769, 770, 772, 773, 763, 775, 764, 776,
774, 765, 771, 777, 778, 779, 767, 780, 777, 775,
782, 781, 776, 784, 772, 773, 790, 782, 783, 787,
787, 794, 794, 789, 778, 779, 781, 783, 780, 784,
783, 788, 789, 791, 788, 790, 793, 792, 795, 796,
798, 793, 791, 797, 799, 791, 792, 800, 801, 801,
802, 805, 796, 803, 798, 806, 805, 807, 795, 808,
806, 797, 809, 807, 808, 800, 802, 810, 814, 799,
810, 803, 813, 815, 816, 809, 810, 818, 817, 820,
813, 814, 821, 822, 823, 824, 821, 825, 822, 823,
824, 815, 826, 816, 817, 818, 825, 827, 830, 820,
828, 828, 829, 832, 834, 831, 833, 835, 832, 840,
830, 841, 827, 835, 840, 826, 829, 831, 833, 836,
836, 838, 834, 837, 837, 839, 839, 842, 843, 845,
838, 854, 841, 844, 844, 846, 846, 847, 847, 848,
849, 852, 851, 849, 848, 853, 842, 851, 843, 845,
853, 855, 855, 856, 856, 857, 854, 858, 859, 852,
857, 860, 861, 862, 863, 863, 864, 865, 865, 858,
866, 858, 869, 871, 868, 873, 858, 870, 859, 869,
874, 860, 861, 868, 862, 878, 870, 872, 872, 876,
866, 882, 864, 877, 876, 879, 874, 883, 877, 871,
882, 873, 879, 880, 880, 878, 881, 884, 885, 886,
887, 881, 888, 889, 889, 886, 890, 883, 891, 887,
892, 895, 884, 888, 901, 892, 895, 885, 888, 893,
893, 894, 891, 896, 897, 894, 894, 890, 898, 897,
899, 900, 902, 903, 899, 896, 904, 902, 905, 901,
898, 904, 907, 900, 916, 907, 908, 908, 909, 909,
905, 910, 913, 911, 912, 903, 916, 910, 911, 919,
912, 913, 918, 918, 920, 926, 921, 923, 923, 928,
930, 927, 930, 920, 918, 921, 927, 919, 933, 926,
929, 929, 931, 931, 934, 933, 928, 935, 935, 936,
937, 938, 940, 939, 941, 943, 944, 945, 944, 946,
943, 948, 937, 938, 934, 939, 953, 940, 946, 954,
936, 947, 947, 949, 941, 945, 951, 950, 949, 950,
952, 951, 958, 955, 953, 952, 956, 948, 955, 954,
959, 956, 960, 960, 961, 965, 962, 964, 963, 968,
965, 958, 969, 970, 959, 962, 961, 963, 962, 964,
966, 972, 968, 975, 974, 966, 976, 972, 978, 970,
974, 980, 969, 977, 977, 976, 981, 978, 979, 979,
981, 982, 983, 984, 984, 985, 982, 988, 975, 991,
980, 989, 989, 985, 992, 983, 988, 990, 990, 992,
993, 991, 994, 995, 993, 996, 997, 1000, 995, 1001,
1002, 1003, 1005, 1005, 1007, 1006, 1008, 994, 1006, 1009,
1009, 1015, 1002, 1010, 1010, 997, 1000, 1007, 1012, 1008,
1001, 996, 1003, 1011, 1011, 1013, 1013, 1014, 1014, 1021,
1015, 1012, 1016, 1016, 1017, 1017, 1019, 1020, 1020, 1022,
1022, 1019, 1023, 1024, 1025, 1026, 1026, 1025, 1021, 1024,
1027, 1027, 1028, 1029, 1029, 1031, 1031, 1032, 1033, 1033,
1023, 1026, 1034, 1035, 1036, 1037, 1038, 1039, 1035, 1040,
1041, 1028, 1039, 1042, 1034, 1043, 1046, 1044, 1037, 1041,
1043, 1044, 1042, 1032, 1040, 1048, 1053, 1038, 1050, 1036,
1049, 1049, 1054, 1050, 1048, 1057, 1046, 1051, 1051, 1056,
1057, 1053, 1056, 1063, 1054, 1059, 1051, 1058, 1058, 1059,
1060, 1061, 1061, 1060, 1062, 1065, 1064, 1066, 1068, 1062,
1064, 1067, 1066, 1063, 1068, 1070, 1067, 1071, 1072, 1073,
1089, 1073, 1071, 1076, 1076, 1065, 1072, 1079, 1079, 1082,
1082, 1070, 1084, 1084, 1086, 1087, 1087, 1088, 1090, 1086,
1092, 1092, 1089, 1090, 1095, 1096, 1097, 1096, 1101, 1095,
1102, 1097, 1103, 1088, 1098, 1098, 1099, 1099, 1100, 1100,
1101, 1104, 1105, 1106, 1103, 1107, 1107, 1108, 1102, 1109,
1110, 1111, 1112, 1104, 1105, 1113, 1108, 1115, 119, 1114,
1116, 1119, 1115, 1106, 1111, 1116, 1117, 1117, 1124, 1113,
1110, 1120, 1120, 1122, 1122, 1109, 1112, 1114, 1123, 1119,
1125, 1126, 1128, 1124, 1127, 1129, 1129, 1123, 1130, 1131,
1132, 1133, 1137, 1130, 1138, 1139, 1139, 1138, 1125, 1126,
1127, 1128, 1140, 1141, 1131, 1143, 1143, 1144, 1150, 1132,
1151, 1133, 1137, 1145, 1145, 1149, 1149, 1140, 1152, 1151,
1153, 1141, 1156, 1152, 1154, 1153, 1144, 1159, 1157, 1158,
1150, 67, 1154, 1157, 1158, 1160, 1160, 1156, 1161, 1161,
1162, 1176, 1159, 1163, 1163, 1162, 1164, 1164, 1166, 1167,
1170, 1169, 1177, 1166, 1169, 1171, 1172, 1173, 1173, 1174,
1176, 1167, 1180, 1170, 1171, 1172, 1178, 1178, 1174, 1179,
1180, 1177, 1181, 1183, 1184, 1186, 1186, 1181, 1179, 1188,
1189, 1189, 1183, 1190, 1191, 1191, 1190, 1184, 1192, 1192,
1193, 1194, 1195, 1196, 1196, 1200, 1197, 1195, 1203, 1188,
1197, 1200, 1204, 1205, 1207, 1194, 1206, 1206, 1193, 1208,
1204, 1209, 1210, 1212, 1208, 1211, 1214, 1203, 1215, 1214,
1207, 1218, 1205, 1217, 1211, 1216, 1216, 1217, 1220, 1221,
1218, 1209, 1222, 1212, 1225, 1227, 1215, 1220, 1210, 1225,
1229, 1221, 1226, 1226, 1227, 1229, 1230, 1231, 1232, 1233,
1233, 1234, 1235, 1236, 1237, 1230, 1238, 1222, 1239, 1240,
1234, 1238, 1237, 1232, 1241, 1241, 1231, 1245, 1235, 1242,
1244, 1244, 1236, 1246, 1242, 1247, 1247, 1249, 1240, 1248,
1248, 1250, 1251, 1257, 1239, 1252, 1252, 1245, 1253, 1254,
1254, 1255, 1307, 1250, 1258, 1246, 1249, 1257, 61, 1258,
1253, 1307, 1251, 1259, 1259, 1260, 1260, 1261, 1261, 1262,
1255, 1263, 1263, 1271, 1262, 1265, 1265, 1267, 1267, 1268,
1273, 1271, 1272, 1272, 1268, 1273, 1275, 1277, 1278, 1278,
1279, 1275, 1283, 1283, 1279, 1285, 1287, 1287, 1288, 1285,
1290, 1291, 1291, 1292, 1292, 1294, 1294, 1277, 1296, 1296,
1298, 1299, 1299, 1288, 1305, 1304, 1306, 1306, 1290, 1304,
1309, 1311, 1298, 1310, 1312, 1312, 56, 51, 50, 45,
40, 14, 13, 0, 1305, 1309, 0, 1310, 0, 0,
1311, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1316, 1316,
1316, 1316, 1316, 1316, 1316, 1317, 1317, 1317, 1317, 1317,
1317, 1317, 1318, 1318, 1318, 1318, 1318, 1318, 1318, 1319,
1319, 1319, 1319, 1319, 1319, 1319, 1321, 1321, 0, 1321,
1321, 1321, 1321, 1322, 1322, 0, 0, 0, 1322, 1322,
1323, 1323, 0, 0, 1323, 0, 1323, 1324, 0, 0,
0, 0, 0, 1324, 1325, 1325, 0, 0, 0, 1325,
1325, 1326, 0, 0, 0, 0, 0, 1326, 1327, 1327,
0, 1327, 1327, 1327, 1327, 1328, 1328, 0, 1328, 1328,
1328, 1328, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314,
1314, 1314
} ;
static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;
extern int yy_flex_debug;
int yy_flex_debug = 0;
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
*/
#define REJECT reject_used_but_not_detected
static int yy_more_flag = 0;
static int yy_more_len = 0;
#define yymore() ((yy_more_flag) = 1)
#define YY_MORE_ADJ (yy_more_len)
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "./util/configlexer.lex"
#line 2 "./util/configlexer.lex"
/*
* configlexer.lex - lexical analyzer for unbound config file
*
* Copyright (c) 2001-2006, NLnet Labs. All rights reserved
*
* See LICENSE for the license.
*
*/
#include <ctype.h>
#include <string.h>
#include <strings.h>
#include "util/config_file.h"
#include "util/configparser.h"
void ub_c_error(const char *message);
#if 0
#define LEXOUT(s) printf s /* used ONLY when debugging */
#else
#define LEXOUT(s)
#endif
/** avoid warning in about fwrite return value */
#define ECHO ub_c_error_msg("syntax error at text: %s", yytext)
/** A parser variable, this is a statement in the config file which is
* of the form variable: value1 value2 ... nargs is the number of values. */
#define YDVAR(nargs, var) \
num_args=(nargs); \
LEXOUT(("v(%s%d) ", yytext, num_args)); \
if(num_args > 0) { BEGIN(val); } \
return (var);
struct inc_state {
char* filename;
int line;
};
static struct inc_state parse_stack[MAXINCLUDES];
static YY_BUFFER_STATE include_stack[MAXINCLUDES];
static int config_include_stack_ptr = 0;
static int inc_prev = 0;
static int num_args = 0;
static void config_start_include(const char* filename)
{
FILE *input;
if(strlen(filename) == 0) {
ub_c_error_msg("empty include file name");
return;
}
if(config_include_stack_ptr >= MAXINCLUDES) {
ub_c_error_msg("includes nested too deeply, skipped (>%d)", MAXINCLUDES);
return;
}
if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
strlen(cfg_parser->chroot)) == 0) {
filename += strlen(cfg_parser->chroot);
}
input = fopen(filename, "r");
if(!input) {
ub_c_error_msg("cannot open include file '%s': %s",
filename, strerror(errno));
return;
}
LEXOUT(("switch_to_include_file(%s) ", filename));
parse_stack[config_include_stack_ptr].filename = cfg_parser->filename;
parse_stack[config_include_stack_ptr].line = cfg_parser->line;
include_stack[config_include_stack_ptr] = YY_CURRENT_BUFFER;
cfg_parser->filename = strdup(filename);
cfg_parser->line = 1;
yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE));
++config_include_stack_ptr;
}
static void config_end_include(void)
{
--config_include_stack_ptr;
free(cfg_parser->filename);
cfg_parser->filename = parse_stack[config_include_stack_ptr].filename;
cfg_parser->line = parse_stack[config_include_stack_ptr].line;
yy_delete_buffer(YY_CURRENT_BUFFER);
yy_switch_to_buffer(include_stack[config_include_stack_ptr]);
}
#ifndef yy_set_bol /* compat definition, for flex 2.4.6 */
#define yy_set_bol(at_bol) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \
yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \
}
#endif
#define YY_NO_INPUT 1
#line 100 "./util/configlexer.lex"
#ifndef YY_NO_UNPUT
#define YY_NO_UNPUT 1
#endif
#ifndef YY_NO_INPUT
#define YY_NO_INPUT 1
#endif
#line 1577 "<stdout>"
#define INITIAL 0
#define quotedstring 1
#define singlequotedstr 2
#define include 3
#define include_quoted 4
#define val 5
#ifndef YY_NO_UNISTD_H
/* Special case for "unistd.h", since it is non-ANSI. We include it way
* down here because we want the user's section 1 to have been scanned first.
* The user has a chance to override it with an option.
*/
#include <unistd.h>
#endif
#ifndef YY_EXTRA_TYPE
#define YY_EXTRA_TYPE void *
#endif
static int yy_init_globals (void );
/* Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience. */
int yylex_destroy (void );
int yyget_debug (void );
void yyset_debug (int debug_flag );
YY_EXTRA_TYPE yyget_extra (void );
void yyset_extra (YY_EXTRA_TYPE user_defined );
FILE *yyget_in (void );
void yyset_in (FILE * in_str );
FILE *yyget_out (void );
void yyset_out (FILE * out_str );
int yyget_leng (void );
char *yyget_text (void );
int yyget_lineno (void );
void yyset_lineno (int line_number );
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap (void );
#else
extern int yywrap (void );
#endif
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * );
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void );
#else
static int input (void );
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
unsigned n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif
/* end tables serialization structures and prototypes */
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL_IS_OURS 1
extern int yylex (void);
#define YY_DECL int yylex (void)
#endif /* !YY_DECL */
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
YY_USER_ACTION
/** The main scanner function which does all the work.
*/
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
#line 120 "./util/configlexer.lex"
#line 1764 "<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 >= 1315 )
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] != 2623 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
if ( yy_act == 0 )
{ /* have to back up */
yy_cp = (yy_last_accepting_cpos);
yy_current_state = (yy_last_accepting_state);
yy_act = yy_accept[yy_current_state];
}
YY_DO_BEFORE_ACTION;
do_action: /* This label is used only to access EOF actions. */
switch ( yy_act )
{ /* beginning of action switch */
case 0: /* must back up */
/* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = (yy_hold_char);
yy_cp = (yy_last_accepting_cpos);
yy_current_state = (yy_last_accepting_state);
goto yy_find_action;
case 1:
YY_RULE_SETUP
#line 121 "./util/configlexer.lex"
{
LEXOUT(("SP ")); /* ignore */ }
YY_BREAK
case 2:
YY_RULE_SETUP
#line 123 "./util/configlexer.lex"
{
/* note that flex makes the longest match and '.' is any but not nl */
LEXOUT(("comment(%s) ", yytext)); /* ignore */ }
YY_BREAK
case 3:
YY_RULE_SETUP
#line 126 "./util/configlexer.lex"
{ YDVAR(0, VAR_SERVER) }
YY_BREAK
case 4:
YY_RULE_SETUP
#line 127 "./util/configlexer.lex"
{ YDVAR(1, VAR_NUM_THREADS) }
YY_BREAK
case 5:
YY_RULE_SETUP
#line 128 "./util/configlexer.lex"
{ YDVAR(1, VAR_VERBOSITY) }
YY_BREAK
case 6:
YY_RULE_SETUP
#line 129 "./util/configlexer.lex"
{ YDVAR(1, VAR_PORT) }
YY_BREAK
case 7:
YY_RULE_SETUP
#line 130 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_RANGE) }
YY_BREAK
case 8:
YY_RULE_SETUP
#line 131 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) }
YY_BREAK
case 9:
YY_RULE_SETUP
#line 132 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) }
YY_BREAK
case 10:
YY_RULE_SETUP
#line 133 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_NUM_TCP) }
YY_BREAK
case 11:
YY_RULE_SETUP
#line 134 "./util/configlexer.lex"
{ YDVAR(1, VAR_INCOMING_NUM_TCP) }
YY_BREAK
case 12:
YY_RULE_SETUP
#line 135 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP4) }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 136 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_IP6) }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 137 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_UDP) }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 138 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_TCP) }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 139 "./util/configlexer.lex"
{ YDVAR(1, VAR_TCP_UPSTREAM) }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 140 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_UPSTREAM) }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 141 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_SERVICE_KEY) }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 142 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_SERVICE_PEM) }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 143 "./util/configlexer.lex"
{ YDVAR(1, VAR_SSL_PORT) }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 144 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_DAEMONIZE) }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 145 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE) }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 146 "./util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_INTERFACE) }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 147 "./util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 148 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_RCVBUF) }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 149 "./util/configlexer.lex"
{ YDVAR(1, VAR_SO_SNDBUF) }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 150 "./util/configlexer.lex"
{ YDVAR(1, VAR_CHROOT) }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 151 "./util/configlexer.lex"
{ YDVAR(1, VAR_USERNAME) }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 152 "./util/configlexer.lex"
{ YDVAR(1, VAR_DIRECTORY) }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 153 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOGFILE) }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 154 "./util/configlexer.lex"
{ YDVAR(1, VAR_PIDFILE) }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 155 "./util/configlexer.lex"
{ YDVAR(1, VAR_ROOT_HINTS) }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 156 "./util/configlexer.lex"
{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 157 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_BUFFER_SIZE) }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 158 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SIZE) }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 159 "./util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SLABS) }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 160 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SIZE) }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 161 "./util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SLABS) }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 162 "./util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MAX_TTL) }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 163 "./util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MIN_TTL) }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 164 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_HOST_TTL) }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 165 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_LAME_TTL) }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 166 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_SLABS) }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 167 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 168 "./util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 169 "./util/configlexer.lex"
{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 170 "./util/configlexer.lex"
{ YDVAR(1, VAR_JOSTLE_TIMEOUT) }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 171 "./util/configlexer.lex"
{ YDVAR(1, VAR_TARGET_FETCH_POLICY) }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 172 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 173 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 174 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_GLUE) }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 175 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 176 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 177 "./util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 178 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_CAPS_FOR_ID) }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 179 "./util/configlexer.lex"
{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 180 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_ADDRESS) }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 181 "./util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_DOMAIN) }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 182 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH_KEY) }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 183 "./util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH) }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 184 "./util/configlexer.lex"
{ YDVAR(0, VAR_STUB_ZONE) }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 185 "./util/configlexer.lex"
{ YDVAR(1, VAR_NAME) }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 186 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_ADDR) }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 187 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_HOST) }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 188 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_PRIME) }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 189 "./util/configlexer.lex"
{ YDVAR(1, VAR_STUB_FIRST) }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 190 "./util/configlexer.lex"
{ YDVAR(0, VAR_FORWARD_ZONE) }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 191 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_ADDR) }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 192 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_HOST) }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 193 "./util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_FIRST) }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 194 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 195 "./util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 196 "./util/configlexer.lex"
{ YDVAR(2, VAR_ACCESS_CONTROL) }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 197 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_IDENTITY) }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 198 "./util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_VERSION) }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 199 "./util/configlexer.lex"
{ YDVAR(1, VAR_IDENTITY) }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 200 "./util/configlexer.lex"
{ YDVAR(1, VAR_VERSION) }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 201 "./util/configlexer.lex"
{ YDVAR(1, VAR_MODULE_CONF) }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 202 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR) }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 203 "./util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR_FILE) }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 204 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 205 "./util/configlexer.lex"
{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 206 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 207 "./util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR) }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 208 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 209 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 210 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 211 "./util/configlexer.lex"
{ YDVAR(1, VAR_BOGUS_TTL) }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 212 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 213 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 214 "./util/configlexer.lex"
{ YDVAR(1, VAR_IGNORE_CD_FLAG) }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 215 "./util/configlexer.lex"
{ YDVAR(1, VAR_VAL_LOG_LEVEL) }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 216 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SIZE) }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 217 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SLABS) }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 218 "./util/configlexer.lex"
{ YDVAR(1, VAR_NEG_CACHE_SIZE) }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 219 "./util/configlexer.lex"
{
YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 221 "./util/configlexer.lex"
{ YDVAR(1, VAR_ADD_HOLDDOWN) }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 222 "./util/configlexer.lex"
{ YDVAR(1, VAR_DEL_HOLDDOWN) }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 223 "./util/configlexer.lex"
{ YDVAR(1, VAR_KEEP_MISSING) }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 224 "./util/configlexer.lex"
{ YDVAR(1, VAR_USE_SYSLOG) }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 225 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_TIME_ASCII) }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 226 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOG_QUERIES) }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 227 "./util/configlexer.lex"
{ YDVAR(2, VAR_LOCAL_ZONE) }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 228 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA) }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 229 "./util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA_PTR) }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 230 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_INTERVAL) }
YY_BREAK
case 107:
YY_RULE_SETUP
#line 231 "./util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) }
YY_BREAK
case 108:
YY_RULE_SETUP
#line 232 "./util/configlexer.lex"
{ YDVAR(1, VAR_EXTENDED_STATISTICS) }
YY_BREAK
case 109:
YY_RULE_SETUP
#line 233 "./util/configlexer.lex"
{ YDVAR(0, VAR_REMOTE_CONTROL) }
YY_BREAK
case 110:
YY_RULE_SETUP
#line 234 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_ENABLE) }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 235 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_INTERFACE) }
YY_BREAK
case 112:
YY_RULE_SETUP
#line 236 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_PORT) }
YY_BREAK
case 113:
YY_RULE_SETUP
#line 237 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_KEY_FILE) }
YY_BREAK
case 114:
YY_RULE_SETUP
#line 238 "./util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_CERT_FILE) }
YY_BREAK
case 115:
YY_RULE_SETUP
#line 239 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_KEY_FILE) }
YY_BREAK
case 116:
YY_RULE_SETUP
#line 240 "./util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_CERT_FILE) }
YY_BREAK
case 117:
YY_RULE_SETUP
#line 241 "./util/configlexer.lex"
{ YDVAR(1, VAR_PYTHON_SCRIPT) }
YY_BREAK
case 118:
YY_RULE_SETUP
#line 242 "./util/configlexer.lex"
{ YDVAR(0, VAR_PYTHON) }
YY_BREAK
case 119:
YY_RULE_SETUP
#line 243 "./util/configlexer.lex"
{ YDVAR(1, VAR_DOMAIN_INSECURE) }
YY_BREAK
case 120:
/* rule 120 can match eol */
YY_RULE_SETUP
#line 244 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++; }
YY_BREAK
/* Quoted strings. Strip leading and ending quotes */
case 121:
YY_RULE_SETUP
#line 247 "./util/configlexer.lex"
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
YY_BREAK
case YY_STATE_EOF(quotedstring):
#line 248 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 122:
YY_RULE_SETUP
#line 253 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 123:
/* rule 123 can match eol */
YY_RULE_SETUP
#line 254 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end \"");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 124:
YY_RULE_SETUP
#line 256 "./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 125:
YY_RULE_SETUP
#line 268 "./util/configlexer.lex"
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
YY_BREAK
case YY_STATE_EOF(singlequotedstr):
#line 269 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 126:
YY_RULE_SETUP
#line 274 "./util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 127:
/* rule 127 can match eol */
YY_RULE_SETUP
#line 275 "./util/configlexer.lex"
{ yyerror("newline inside quoted string, no end '");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 128:
YY_RULE_SETUP
#line 277 "./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 129:
YY_RULE_SETUP
#line 289 "./util/configlexer.lex"
{
LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); }
YY_BREAK
case YY_STATE_EOF(include):
#line 291 "./util/configlexer.lex"
{
yyerror("EOF inside include directive");
BEGIN(inc_prev);
}
YY_BREAK
case 130:
YY_RULE_SETUP
#line 295 "./util/configlexer.lex"
{ LEXOUT(("ISP ")); /* ignore */ }
YY_BREAK
case 131:
/* rule 131 can match eol */
YY_RULE_SETUP
#line 296 "./util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++;}
YY_BREAK
case 132:
YY_RULE_SETUP
#line 297 "./util/configlexer.lex"
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
YY_BREAK
case 133:
YY_RULE_SETUP
#line 298 "./util/configlexer.lex"
{
LEXOUT(("Iunquotedstr(%s) ", yytext));
config_start_include(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(include_quoted):
#line 303 "./util/configlexer.lex"
{
yyerror("EOF inside quoted string");
BEGIN(inc_prev);
}
YY_BREAK
case 134:
YY_RULE_SETUP
#line 307 "./util/configlexer.lex"
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
YY_BREAK
case 135:
/* rule 135 can match eol */
YY_RULE_SETUP
#line 308 "./util/configlexer.lex"
{ yyerror("newline before \" in include name");
cfg_parser->line++; BEGIN(inc_prev); }
YY_BREAK
case 136:
YY_RULE_SETUP
#line 310 "./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 316 "./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 137:
YY_RULE_SETUP
#line 326 "./util/configlexer.lex"
{ LEXOUT(("unquotedstr(%s) ", yytext));
if(--num_args == 0) { BEGIN(INITIAL); }
yylval.str = strdup(yytext); return STRING_ARG; }
YY_BREAK
case 138:
YY_RULE_SETUP
#line 330 "./util/configlexer.lex"
{
ub_c_error_msg("unknown keyword '%s'", yytext);
}
YY_BREAK
case 139:
YY_RULE_SETUP
#line 334 "./util/configlexer.lex"
{
ub_c_error_msg("stray '%s'", yytext);
}
YY_BREAK
case 140:
YY_RULE_SETUP
#line 338 "./util/configlexer.lex"
ECHO;
YY_BREAK
#line 2645 "<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 >= 1315 )
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 >= 1315 )
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 == 1314);
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 338 "./util/configlexer.lex"