unbound/util/configlexer.c

3531 lines
116 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 133
#define YY_END_OF_BUFFER 134
/* 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[1258] =
{ 0,
1, 1, 115, 115, 119, 119, 123, 123, 127, 127,
1, 1, 134, 131, 1, 113, 113, 132, 2, 132,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 115,
116, 116, 117, 132, 119, 120, 120, 121, 132, 126,
123, 124, 124, 125, 132, 127, 128, 128, 129, 132,
130, 114, 2, 118, 132, 130, 131, 0, 1, 2,
2, 2, 2, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 115, 0, 119, 0,
126, 0, 123, 127, 0, 130, 0, 2, 2, 130,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
130, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
130, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 57, 131, 131,
131, 131, 131, 6, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
130, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 130, 131, 131, 131, 131, 22,
131, 131, 131, 131, 131, 12, 13, 131, 15, 14,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 111, 131, 131, 131, 131, 3,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 130, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 122,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 25, 131, 131, 131, 131, 131, 131, 131,
26, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 70, 122, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 69, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 55, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 23, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 24, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
17, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 20, 21, 131,
58, 59, 131, 56, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 5, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
72, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 97, 96, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 27, 131, 131, 131,
131, 60, 131, 131, 131, 131, 131, 93, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 46, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 95, 131, 131, 131, 131, 131,
131, 131, 4, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
90, 131, 131, 131, 131, 131, 131, 131, 105, 91,
131, 16, 131, 131, 131, 131, 62, 63, 61, 131,
131, 131, 131, 131, 131, 68, 131, 131, 131, 131,
131, 131, 131, 131, 131, 92, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
54, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 77, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 34, 35, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 67, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 71, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 110, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 81, 131, 85, 131, 131, 131, 131, 66, 131,
131, 103, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 84, 131, 131, 131, 131,
36, 37, 131, 42, 86, 131, 98, 94, 131, 30,
131, 88, 131, 131, 131, 131, 131, 7, 131, 53,
102, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 73, 131, 131, 112, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 87, 29,
31, 131, 131, 131, 131, 131, 52, 131, 131, 131,
106, 131, 131, 131, 131, 131, 131, 50, 131, 131,
131, 131, 131, 131, 131, 131, 131, 108, 131, 131,
28, 131, 131, 131, 131, 131, 131, 11, 131, 131,
131, 131, 131, 131, 10, 131, 131, 32, 131, 107,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
80, 79, 131, 109, 104, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 38, 131, 131, 131, 131,
131, 33, 131, 131, 131, 74, 76, 131, 131, 131,
78, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 18, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 101, 131,
131, 131, 131, 131, 131, 131, 19, 131, 9, 131,
131, 99, 43, 131, 131, 131, 83, 131, 64, 131,
131, 131, 45, 49, 44, 131, 39, 131, 8, 131,
131, 82, 131, 131, 131, 48, 131, 40, 131, 100,
131, 131, 75, 65, 47, 41, 131, 131, 131, 131,
51, 131, 131, 131, 131, 89, 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[1272] =
{ 0,
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
87, 108, 2416, 2402, 50, 2519, 2519, 2519, 129, 94,
70, 104, 122, 90, 92, 115, 126, 95, 84, 132,
135, 138, 50, 142, 148, 141, 144, 155, 170, 2401,
2519, 2519, 2519, 70, 2400, 2519, 2519, 2519, 42, 2399,
2271, 2519, 2519, 2519, 187, 2164, 2519, 2519, 2519, 173,
1753, 2519, 191, 2519, 195, 111, 1571, 201, 120, 0,
212, 0, 0, 103, 168, 177, 149, 196, 188, 198,
199, 136, 213, 205, 207, 215, 216, 218, 220, 209,
229, 221, 231, 238, 224, 230, 239, 243, 242, 244,
247, 248, 253, 254, 246, 257, 260, 263, 270, 267,
269, 173, 49, 271, 261, 275, 1526, 286, 1405, 289,
1153, 300, 1029, 779, 293, 747, 306, 310, 0, 303,
307, 313, 290, 309, 296, 314, 320, 316, 323, 335,
324, 319, 322, 328, 282, 326, 329, 330, 342, 332,
336, 333, 346, 352, 358, 365, 340, 368, 364, 372,
375, 366, 374, 376, 377, 378, 379, 382, 381, 384,
385, 386, 388, 390, 391, 393, 394, 411, 414, 413,
410, 399, 416, 425, 421, 402, 419, 423, 427, 433,
435, 428, 438, 439, 441, 440, 448, 446, 450, 447,
459, 455, 456, 457, 458, 461, 463, 464, 470, 466,
467, 468, 473, 472, 487, 492, 477, 483, 486, 493,
495, 499, 496, 498, 505, 511, 507, 509, 512, 508,
510, 521, 518, 517, 520, 526, 524, 546, 528, 530,
531, 532, 535, 533, 541, 544, 540, 542, 547, 554,
566, 572, 556, 559, 563, 573, 578, 577, 574, 582,
584, 585, 583, 586, 589, 600, 591, 599, 601, 602,
610, 607, 608, 609, 611, 612, 618, 2519, 622, 613,
624, 620, 615, 2519, 625, 626, 630, 631, 635, 642,
638, 639, 647, 640, 649, 648, 658, 652, 654, 641,
669, 662, 664, 667, 660, 671, 673, 674, 680, 681,
684, 690, 686, 687, 689, 692, 694, 695, 697, 700,
701, 709, 711, 718, 716, 720, 722, 704, 721, 723,
729, 728, 730, 731, 738, 734, 736, 737, 741, 748,
744, 752, 754, 756, 746, 757, 765, 763, 764, 768,
770, 766, 772, 773, 774, 776, 788, 790, 782, 789,
798, 794, 799, 795, 800, 802, 803, 805, 811, 807,
809, 814, 810, 812, 816, 818, 822, 823, 828, 832,
824, 834, 835, 836, 838, 845, 847, 839, 852, 2519,
854, 855, 840, 856, 857, 2519, 2519, 846, 2519, 2519,
862, 867, 865, 875, 876, 874, 866, 868, 882, 887,
889, 890, 877, 897, 899, 881, 900, 903, 904, 906,
907, 908, 910, 912, 914, 916, 918, 917, 922, 923,
929, 931, 937, 933, 2519, 938, 934, 942, 944, 2519,
936, 940, 945, 946, 949, 951, 953, 956, 958, 964,
965, 963, 966, 970, 971, 973, 981, 977, 979, 983,
989, 985, 987, 991, 988, 994, 993, 995, 999, 1020,
1000, 1001, 1002, 1007, 1006, 1008, 1009, 1016, 1032, 1030,
1010, 1034, 1037, 1039, 1041, 1014, 1042, 1048, 1050, 2519,
1056, 1052, 1043, 1053, 1059, 1060, 1057, 1063, 1045, 1067,
1070, 1077, 2519, 1071, 1073, 1075, 1082, 1074, 1084, 1093,
2519, 1095, 1096, 1089, 1091, 1098, 1099, 1103, 1104, 1101,
1105, 1110, 1112, 1114, 1115, 1116, 1117, 1120, 337, 1124,
1131, 1125, 1133, 1127, 1129, 1135, 1141, 1136, 1139, 1138,
1142, 2519, 403, 1144, 1145, 1149, 1155, 1156, 1159, 1152,
1161, 1163, 1162, 1165, 1171, 1172, 1173, 1174, 1176, 1178,
1181, 1184, 1186, 1187, 1185, 1189, 1191, 1192, 1193, 1194,
1196, 1198, 2519, 1211, 1203, 1205, 1204, 1214, 1223, 1215,
1220, 1226, 1230, 1227, 1233, 1234, 1225, 1236, 1242, 1245,
1241, 1243, 1244, 1248, 2519, 1251, 1249, 1250, 1252, 1256,
1257, 1261, 1263, 1270, 1272, 1267, 1274, 1277, 1278, 1281,
1282, 1284, 1285, 1287, 1289, 1291, 2519, 1299, 1301, 1303,
1309, 1297, 1293, 1300, 1314, 1307, 1310, 1320, 1316, 1317,
1321, 1318, 1322, 1323, 1325, 1324, 2519, 1331, 1328, 1332,
1329, 1335, 1338, 1340, 1341, 1345, 1346, 1349, 1351, 1355,
1352, 1363, 1364, 1365, 1366, 1367, 1369, 1375, 1376, 1377,
2519, 1379, 1382, 1383, 1390, 1387, 1391, 1392, 1393, 1400,
1394, 1397, 1398, 1401, 1404, 1403, 1406, 1407, 1409, 1415,
1412, 1422, 1423, 1427, 1428, 1429, 1435, 2519, 2519, 1437,
2519, 2519, 1439, 2519, 1441, 1436, 1434, 1440, 1442, 1447,
1448, 1452, 1450, 1454, 1456, 1455, 1458, 2519, 1461, 1462,
1466, 1464, 1469, 1470, 1471, 1475, 1482, 1478, 1481, 1485,
2519, 1483, 1486, 1493, 1492, 1499, 1494, 1497, 1501, 1502,
1503, 1505, 1509, 1510, 1507, 1513, 1515, 1518, 1519, 1521,
1520, 1522, 1523, 1524, 1531, 1534, 1535, 2519, 2519, 1537,
1545, 1541, 1547, 1549, 1553, 1557, 1555, 1556, 1559, 1560,
1563, 1564, 1565, 1567, 1569, 1570, 2519, 1579, 1580, 1581,
1590, 2519, 1584, 1573, 1582, 1586, 1594, 2519, 1595, 1596,
1598, 1604, 1605, 1597, 1607, 1608, 1614, 1611, 1616, 1617,
1624, 1620, 1618, 1621, 1634, 1638, 1622, 1640, 1646, 1626,
1635, 1642, 1644, 1649, 1651, 1657, 1653, 2519, 1660, 1645,
1664, 1658, 1666, 1667, 1674, 1661, 1670, 1671, 1672, 1676,
1678, 1679, 1681, 1684, 2519, 1685, 1686, 1687, 1688, 1698,
1689, 1695, 2519, 1701, 1707, 1700, 1703, 1709, 1712, 1713,
1716, 1718, 1719, 1721, 1723, 1724, 1725, 1731, 1735, 1742,
1728, 1746, 1743, 1744, 1747, 1729, 1756, 1749, 1757, 1750,
2519, 1758, 1764, 1766, 1767, 1769, 1770, 1768, 2519, 2519,
1760, 2519, 1778, 1775, 1780, 1782, 2519, 2519, 2519, 1781,
1788, 1784, 1785, 1792, 1797, 2519, 1798, 1787, 1799, 1802,
1803, 1804, 1806, 1809, 1808, 2519, 1812, 1811, 1814, 1810,
1821, 1822, 1825, 1827, 1826, 1833, 1834, 1835, 1841, 1837,
2519, 1839, 1840, 1844, 1845, 1847, 1851, 1849, 1850, 1846,
1853, 1862, 2519, 1864, 1865, 1867, 1872, 1873, 1875, 1877,
1879, 1880, 1878, 1887, 1881, 2519, 2519, 1884, 1895, 1897,
1888, 1899, 1901, 1892, 1903, 1902, 1906, 1909, 1910, 1911,
1912, 1913, 2519, 1915, 1916, 1917, 1918, 1920, 1923, 1927,
1935, 1937, 1939, 1940, 1942, 1944, 2519, 1945, 1947, 1949,
1952, 1953, 1954, 1955, 1956, 1962, 1963, 1965, 2519, 1967,
1969, 1973, 1975, 1976, 1970, 1978, 1977, 1979, 1980, 1990,
1993, 2519, 1984, 2519, 1994, 1998, 2001, 2005, 2519, 2000,
2007, 2519, 2008, 2012, 2010, 2016, 2018, 2023, 2024, 2013,
2026, 2025, 2027, 2036, 2028, 2519, 1986, 2035, 2038, 2037,
2519, 2519, 2041, 2519, 2519, 2044, 2519, 2519, 2048, 2519,
2050, 2519, 2056, 2052, 2054, 2055, 2057, 2519, 2059, 2519,
2519, 2060, 2061, 2064, 2067, 2068, 2071, 2072, 2073, 2074,
2075, 2079, 2081, 2076, 2083, 2087, 2082, 2091, 2092, 2088,
2094, 2097, 2519, 2098, 2107, 2519, 2112, 2104, 2109, 2101,
2114, 2115, 2117, 2121, 2123, 2122, 2125, 2126, 2519, 2519,
2519, 2127, 2130, 2129, 2134, 2135, 2519, 2139, 2140, 2142,
2519, 2150, 2143, 2145, 2152, 2155, 2148, 2519, 2158, 2161,
2162, 2163, 2169, 2171, 2177, 2175, 2180, 2519, 2176, 2182,
2519, 2183, 2184, 2187, 2189, 2190, 2192, 2519, 2185, 2188,
2200, 2193, 2195, 2205, 2519, 2206, 2208, 2519, 2212, 2519,
2209, 2213, 2216, 2218, 2223, 2220, 2225, 2231, 2228, 2230,
2519, 2519, 2235, 2519, 2519, 2224, 2232, 2233, 2236, 2242,
2244, 2245, 2246, 2247, 2248, 2519, 2250, 2251, 2255, 2257,
2262, 2519, 2264, 2263, 2259, 2519, 2519, 2274, 2266, 2276,
2519, 2277, 2278, 2270, 2280, 2291, 2283, 2281, 2286, 2288,
2293, 2294, 2299, 2301, 2302, 2519, 2304, 2306, 2308, 2310,
2312, 2313, 2315, 2314, 2317, 2319, 2322, 2323, 2519, 2324,
2328, 2336, 2340, 2344, 2341, 2348, 2519, 2349, 2519, 2352,
2353, 2519, 2519, 2329, 2355, 2356, 2519, 2357, 2519, 2325,
2360, 2363, 2519, 2519, 2519, 2365, 2519, 2366, 2519, 2369,
2371, 2519, 2372, 2374, 2376, 2519, 2378, 2519, 2380, 2519,
2381, 2382, 2519, 2519, 2519, 2519, 2384, 2385, 2392, 2387,
2519, 2389, 2394, 2395, 2398, 2519, 2519, 2427, 2434, 2441,
2448, 2455, 94, 2462, 2469, 2476, 2483, 2490, 2497, 2504,
2511
} ;
static yyconst flex_int16_t yy_def[1272] =
{ 0,
1257, 1, 1258, 1258, 1259, 1259, 1260, 1260, 1261, 1261,
1262, 1262, 1257, 1263, 1257, 1257, 1257, 1257, 1264, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1265,
1257, 1257, 1257, 1265, 1266, 1257, 1257, 1257, 1266, 1267,
1257, 1257, 1257, 1257, 1267, 1268, 1257, 1257, 1257, 1268,
1269, 1257, 1270, 1257, 1269, 1269, 1263, 1263, 1257, 1271,
1264, 1271, 1264, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1265, 1265, 1266, 1266,
1267, 1267, 1257, 1268, 1268, 1269, 1269, 1270, 1270, 1269,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1269, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1269, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263,
1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1269, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1269, 1263, 1263, 1263, 1263, 1257,
1263, 1263, 1263, 1263, 1263, 1257, 1257, 1263, 1257, 1257,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263, 1257,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1269, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1257, 1269, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1257, 1263,
1257, 1257, 1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1257, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263,
1263, 1257, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1257,
1263, 1257, 1263, 1263, 1263, 1263, 1257, 1257, 1257, 1263,
1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1257, 1257, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1257, 1263, 1257, 1263, 1263, 1263, 1263, 1257, 1263,
1263, 1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263,
1257, 1257, 1263, 1257, 1257, 1263, 1257, 1257, 1263, 1257,
1263, 1257, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1257,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1257, 1263, 1263, 1257, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1257,
1257, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263,
1263, 1263, 1263, 1263, 1257, 1263, 1263, 1257, 1263, 1257,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1257, 1257, 1263, 1257, 1257, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263,
1263, 1257, 1263, 1263, 1263, 1257, 1257, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1257, 1263, 1263, 1263, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263,
1263, 1263, 1263, 1263, 1263, 1263, 1257, 1263, 1257, 1263,
1263, 1257, 1257, 1263, 1263, 1263, 1257, 1263, 1257, 1263,
1263, 1263, 1257, 1257, 1257, 1263, 1257, 1263, 1257, 1263,
1263, 1257, 1263, 1263, 1263, 1257, 1263, 1257, 1263, 1257,
1263, 1263, 1257, 1257, 1257, 1257, 1263, 1263, 1263, 1263,
1257, 1263, 1263, 1263, 1263, 1257, 0, 1257, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257,
1257
} ;
static yyconst flex_int16_t yy_nxt[2559] =
{ 0,
14, 15, 16, 17, 18, 19, 18, 14, 14, 14,
14, 18, 20, 21, 14, 22, 23, 24, 25, 14,
26, 27, 28, 29, 30, 31, 32, 33, 34, 14,
35, 36, 37, 38, 39, 14, 14, 14, 14, 41,
42, 43, 41, 42, 43, 119, 46, 47, 119, 44,
48, 69, 44, 46, 47, 70, 49, 48, 57, 58,
59, 68, 68, 49, 51, 52, 53, 54, 60, 18,
57, 58, 59, 117, 117, 55, 51, 52, 53, 54,
60, 18, 68, 100, 177, 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, 131, 86,
65, 69, 92, 127, 78, 70, 85, 68, 87, 66,
72, 79, 72, 72, 68, 72, 88, 130, 68, 80,
72, 73, 89, 81, 68, 90, 82, 68, 68, 83,
68, 97, 91, 68, 68, 98, 68, 111, 108, 94,
68, 68, 95, 101, 134, 105, 96, 68, 109, 102,
139, 99, 103, 110, 112, 106, 124, 124, 107, 104,
68, 113, 68, 115, 132, 68, 114, 116, 121, 68,
121, 121, 72, 121, 72, 72, 126, 72, 126, 126,
68, 126, 67, 129, 67, 67, 176, 67, 68, 133,
68, 68, 67, 72, 136, 72, 72, 68, 72, 68,
140, 68, 137, 72, 73, 68, 135, 68, 68, 138,
68, 142, 68, 68, 146, 148, 68, 147, 141, 143,
157, 68, 68, 68, 149, 144, 145, 150, 153, 158,
68, 68, 152, 155, 68, 68, 68, 156, 68, 68,
68, 151, 160, 163, 159, 68, 68, 161, 154, 68,
165, 168, 68, 68, 166, 68, 162, 172, 164, 68,
173, 68, 68, 68, 169, 179, 167, 68, 178, 117,
117, 170, 119, 171, 68, 119, 124, 124, 200, 175,
174, 121, 68, 121, 121, 180, 121, 126, 68, 126,
126, 72, 126, 72, 72, 127, 72, 184, 181, 68,
183, 68, 129, 186, 182, 68, 68, 188, 68, 185,
190, 68, 68, 189, 68, 68, 68, 196, 68, 198,
68, 68, 68, 201, 68, 68, 187, 68, 68, 68,
197, 191, 68, 207, 68, 202, 192, 203, 68, 210,
613, 193, 206, 199, 68, 208, 204, 194, 195, 205,
68, 211, 212, 214, 209, 215, 68, 68, 68, 217,
68, 216, 218, 213, 68, 219, 68, 68, 68, 68,
68, 68, 220, 68, 68, 222, 68, 68, 68, 224,
68, 227, 68, 68, 232, 68, 68, 235, 221, 225,
233, 68, 223, 226, 68, 127, 229, 230, 236, 228,
231, 238, 127, 68, 234, 68, 68, 239, 68, 246,
242, 68, 244, 68, 241, 68, 243, 68, 245, 68,
68, 237, 249, 248, 240, 68, 250, 68, 251, 247,
68, 68, 68, 68, 254, 257, 252, 255, 68, 68,
68, 256, 68, 259, 260, 253, 261, 68, 68, 68,
68, 68, 258, 68, 266, 68, 68, 269, 68, 68,
68, 270, 68, 265, 68, 68, 263, 262, 268, 68,
264, 271, 279, 267, 274, 68, 275, 272, 68, 68,
273, 276, 277, 278, 68, 68, 284, 68, 68, 286,
68, 68, 280, 282, 283, 281, 285, 68, 289, 68,
68, 68, 68, 68, 68, 287, 291, 292, 295, 68,
68, 294, 68, 68, 293, 296, 68, 288, 68, 290,
68, 299, 68, 127, 68, 68, 298, 68, 315, 297,
301, 310, 68, 68, 68, 309, 68, 300, 68, 68,
302, 303, 313, 312, 311, 314, 68, 317, 68, 318,
304, 68, 305, 306, 307, 68, 316, 308, 68, 319,
320, 322, 323, 321, 68, 68, 68, 325, 324, 68,
68, 326, 328, 329, 68, 68, 68, 68, 68, 327,
335, 68, 336, 68, 330, 332, 334, 338, 331, 339,
337, 68, 68, 68, 68, 342, 340, 343, 333, 68,
68, 68, 68, 68, 68, 68, 341, 68, 347, 345,
68, 349, 68, 346, 68, 350, 68, 68, 68, 354,
344, 353, 68, 68, 352, 348, 351, 68, 358, 360,
68, 68, 68, 68, 68, 359, 357, 355, 356, 68,
68, 68, 365, 363, 68, 370, 68, 373, 361, 366,
68, 364, 68, 362, 68, 371, 68, 367, 374, 68,
369, 68, 375, 68, 372, 68, 68, 368, 377, 376,
381, 379, 68, 68, 378, 382, 127, 386, 68, 68,
385, 68, 68, 390, 68, 380, 68, 68, 384, 68,
387, 383, 68, 68, 389, 394, 68, 388, 391, 392,
396, 68, 397, 68, 393, 398, 395, 399, 68, 401,
68, 400, 68, 68, 68, 68, 405, 402, 403, 404,
68, 68, 68, 68, 406, 409, 68, 407, 68, 68,
68, 410, 412, 68, 415, 416, 68, 413, 68, 127,
68, 414, 411, 408, 68, 417, 68, 418, 68, 68,
419, 422, 424, 421, 423, 68, 68, 68, 68, 426,
68, 425, 68, 427, 68, 68, 68, 428, 68, 432,
431, 125, 420, 433, 68, 434, 429, 436, 430, 435,
68, 68, 68, 437, 438, 439, 68, 68, 441, 440,
68, 68, 68, 442, 68, 68, 444, 68, 448, 68,
449, 68, 68, 68, 68, 450, 68, 443, 68, 445,
68, 451, 447, 446, 68, 68, 68, 455, 452, 456,
68, 454, 457, 453, 68, 458, 68, 68, 68, 459,
127, 68, 68, 461, 460, 464, 462, 68, 68, 68,
465, 470, 463, 466, 68, 468, 68, 68, 68, 68,
472, 471, 467, 469, 68, 475, 473, 68, 68, 68,
68, 478, 479, 476, 474, 477, 68, 68, 68, 68,
480, 486, 481, 68, 68, 482, 487, 489, 490, 68,
483, 68, 68, 492, 493, 488, 484, 485, 491, 68,
494, 68, 68, 496, 495, 68, 68, 499, 68, 68,
68, 503, 68, 498, 68, 502, 68, 504, 68, 68,
68, 497, 505, 500, 68, 68, 506, 501, 507, 509,
511, 68, 510, 68, 513, 68, 68, 508, 68, 68,
68, 512, 68, 515, 68, 517, 68, 68, 68, 518,
516, 68, 523, 68, 514, 68, 522, 519, 68, 520,
68, 529, 525, 521, 527, 68, 68, 68, 68, 526,
524, 530, 68, 68, 528, 68, 535, 533, 536, 68,
532, 68, 537, 68, 531, 68, 540, 68, 542, 68,
68, 68, 543, 127, 534, 68, 68, 68, 539, 538,
545, 68, 68, 68, 68, 544, 554, 541, 68, 68,
68, 68, 68, 561, 546, 548, 68, 560, 68, 556,
123, 547, 68, 557, 559, 549, 566, 550, 555, 558,
571, 551, 68, 552, 68, 562, 68, 565, 553, 68,
568, 68, 563, 68, 68, 68, 569, 68, 567, 573,
68, 570, 68, 575, 68, 68, 574, 576, 68, 68,
564, 68, 68, 572, 577, 68, 579, 583, 578, 68,
582, 580, 68, 68, 586, 68, 68, 68, 581, 68,
588, 585, 589, 584, 68, 591, 68, 592, 587, 590,
593, 68, 594, 68, 598, 68, 595, 68, 68, 596,
68, 68, 597, 68, 601, 68, 68, 68, 599, 604,
602, 603, 68, 605, 68, 606, 68, 68, 68, 68,
600, 614, 68, 610, 611, 612, 68, 68, 615, 68,
609, 68, 607, 68, 617, 68, 608, 68, 68, 621,
68, 68, 616, 68, 68, 619, 68, 68, 618, 620,
623, 68, 629, 630, 68, 122, 622, 68, 68, 624,
626, 68, 627, 68, 68, 68, 631, 68, 632, 625,
634, 628, 637, 68, 68, 68, 68, 633, 68, 635,
68, 640, 636, 68, 639, 642, 68, 68, 68, 68,
644, 68, 638, 68, 68, 68, 68, 641, 68, 647,
68, 651, 643, 645, 646, 68, 68, 68, 655, 654,
648, 652, 650, 68, 649, 657, 68, 68, 653, 656,
660, 659, 68, 664, 661, 68, 658, 68, 68, 68,
662, 663, 68, 665, 666, 68, 68, 668, 68, 671,
667, 669, 672, 68, 68, 68, 68, 68, 673, 674,
68, 68, 68, 68, 68, 675, 670, 680, 68, 68,
676, 679, 677, 68, 678, 68, 681, 685, 683, 68,
682, 688, 68, 689, 68, 691, 68, 684, 692, 68,
68, 686, 694, 68, 68, 693, 68, 68, 690, 68,
687, 68, 697, 68, 696, 68, 701, 699, 702, 68,
700, 68, 68, 68, 695, 68, 704, 698, 705, 68,
703, 68, 68, 707, 706, 708, 68, 711, 68, 68,
68, 715, 68, 68, 68, 68, 68, 68, 720, 709,
68, 68, 721, 68, 68, 710, 724, 68, 712, 713,
68, 714, 68, 68, 716, 718, 727, 68, 68, 719,
717, 68, 723, 68, 68, 725, 722, 68, 732, 734,
726, 729, 728, 730, 733, 68, 68, 68, 68, 68,
731, 68, 741, 742, 738, 736, 740, 68, 68, 68,
743, 68, 737, 735, 68, 68, 744, 747, 749, 68,
739, 748, 68, 68, 68, 68, 68, 753, 745, 68,
68, 752, 68, 68, 746, 68, 68, 120, 68, 68,
761, 68, 750, 751, 68, 754, 762, 68, 755, 756,
758, 763, 757, 760, 68, 68, 759, 764, 767, 68,
68, 68, 770, 765, 771, 768, 68, 68, 68, 68,
772, 68, 68, 68, 68, 766, 773, 776, 778, 68,
68, 769, 68, 774, 68, 780, 68, 68, 68, 777,
68, 775, 783, 68, 68, 785, 68, 782, 68, 788,
779, 68, 68, 68, 781, 792, 784, 68, 787, 794,
68, 786, 793, 68, 68, 68, 789, 68, 68, 801,
798, 790, 791, 797, 68, 68, 68, 796, 800, 68,
795, 68, 802, 68, 68, 68, 808, 68, 805, 68,
807, 68, 68, 799, 803, 68, 809, 68, 816, 804,
68, 68, 68, 68, 68, 68, 68, 806, 118, 811,
810, 813, 814, 68, 815, 812, 68, 68, 825, 68,
821, 820, 817, 68, 818, 822, 819, 68, 823, 68,
826, 68, 827, 824, 832, 68, 833, 68, 68, 68,
829, 68, 68, 830, 831, 68, 68, 68, 828, 68,
840, 68, 68, 68, 835, 68, 843, 844, 834, 837,
836, 68, 68, 68, 68, 839, 68, 841, 68, 845,
842, 838, 68, 849, 848, 846, 68, 68, 68, 68,
68, 847, 854, 850, 851, 855, 68, 68, 858, 68,
68, 856, 857, 68, 852, 861, 68, 853, 68, 68,
68, 865, 68, 68, 68, 860, 68, 862, 68, 868,
863, 864, 859, 871, 866, 869, 68, 68, 867, 870,
68, 872, 68, 873, 68, 877, 68, 68, 68, 874,
878, 68, 879, 68, 880, 68, 875, 882, 881, 68,
68, 884, 68, 68, 876, 883, 68, 886, 68, 68,
887, 888, 68, 68, 68, 889, 68, 890, 68, 896,
68, 68, 891, 68, 898, 885, 68, 68, 68, 68,
68, 68, 892, 893, 894, 901, 900, 68, 902, 895,
68, 904, 68, 68, 908, 68, 899, 897, 907, 68,
911, 68, 910, 906, 68, 68, 903, 905, 68, 912,
68, 68, 909, 68, 913, 68, 68, 68, 921, 917,
68, 68, 922, 68, 918, 915, 923, 68, 914, 924,
916, 920, 925, 926, 68, 68, 68, 919, 68, 68,
928, 68, 68, 931, 933, 127, 930, 927, 68, 68,
68, 929, 68, 935, 934, 936, 68, 937, 68, 68,
68, 68, 68, 932, 942, 938, 939, 68, 940, 941,
68, 943, 68, 68, 68, 949, 68, 68, 951, 68,
68, 946, 944, 947, 68, 945, 952, 948, 953, 68,
68, 68, 956, 950, 68, 68, 68, 954, 68, 955,
68, 68, 68, 68, 68, 964, 68, 958, 959, 963,
960, 966, 967, 68, 68, 957, 961, 68, 68, 68,
962, 970, 969, 971, 965, 68, 68, 68, 975, 68,
972, 68, 68, 68, 976, 979, 68, 68, 68, 68,
968, 68, 68, 68, 973, 68, 978, 974, 981, 980,
977, 982, 983, 984, 68, 985, 68, 68, 986, 68,
988, 987, 989, 992, 68, 68, 994, 68, 991, 68,
68, 68, 68, 68, 993, 996, 68, 997, 999, 68,
68, 1000, 990, 998, 68, 1001, 1002, 68, 995, 68,
1003, 68, 1004, 68, 68, 68, 1005, 1006, 68, 1007,
1008, 68, 68, 68, 68, 68, 1016, 68, 68, 68,
68, 1017, 68, 1020, 1021, 68, 1014, 1010, 1022, 68,
1009, 1012, 1018, 1019, 1013, 1011, 1015, 68, 1024, 68,
1025, 68, 68, 1027, 68, 1028, 68, 68, 1030, 68,
1023, 68, 1029, 1032, 68, 68, 68, 68, 68, 1036,
1035, 1026, 1034, 1038, 68, 68, 1040, 68, 1041, 68,
1031, 68, 68, 1033, 1037, 68, 1043, 68, 68, 68,
68, 68, 68, 1045, 1039, 1047, 68, 1051, 68, 1044,
1049, 1050, 68, 1046, 1048, 68, 68, 1042, 1056, 1052,
68, 1055, 68, 68, 1074, 1054, 1053, 68, 1057, 68,
68, 1063, 68, 1061, 68, 68, 1058, 1059, 68, 1062,
68, 1060, 1064, 1065, 1066, 68, 68, 68, 68, 68,
68, 1067, 1069, 1072, 1071, 1068, 1073, 68, 68, 68,
68, 1077, 1075, 68, 1078, 1079, 68, 1070, 1076, 1080,
68, 1081, 68, 1082, 68, 1083, 68, 68, 68, 68,
1087, 68, 68, 68, 1086, 1089, 68, 1088, 1091, 68,
68, 1090, 1084, 68, 68, 68, 68, 68, 68, 1085,
1098, 68, 1092, 68, 68, 68, 1094, 1095, 1096, 68,
68, 1093, 1099, 68, 68, 1106, 68, 1097, 1108, 68,
68, 1107, 1102, 68, 1100, 1101, 68, 1104, 1103, 68,
1110, 68, 1105, 1111, 68, 1112, 68, 68, 1109, 68,
1119, 1114, 1118, 68, 68, 68, 1113, 68, 68, 68,
1125, 68, 68, 1116, 1115, 1124, 68, 68, 1117, 1120,
1128, 68, 68, 1130, 68, 68, 1121, 68, 1122, 1123,
68, 1126, 68, 1131, 68, 1127, 1133, 68, 1136, 1134,
68, 1129, 1135, 68, 68, 68, 125, 1132, 1138, 1139,
1141, 68, 1142, 68, 1143, 1137, 1144, 68, 68, 68,
1140, 1145, 68, 1146, 68, 68, 68, 68, 1148, 68,
68, 68, 68, 1152, 68, 68, 1147, 68, 1150, 1149,
1151, 1156, 68, 1153, 1157, 1158, 1154, 68, 68, 1155,
68, 68, 1159, 1162, 68, 68, 1164, 1160, 68, 1166,
68, 1165, 68, 1161, 1167, 68, 68, 68, 1170, 1171,
68, 1163, 68, 68, 68, 68, 1172, 68, 68, 1177,
1168, 1169, 1175, 1173, 68, 1174, 68, 68, 68, 68,
68, 1179, 68, 68, 1176, 1184, 1186, 68, 1182, 68,
1178, 68, 123, 1187, 68, 68, 68, 1180, 68, 1193,
1183, 1185, 68, 1188, 1181, 1189, 68, 1190, 68, 68,
68, 1192, 68, 68, 1195, 68, 1191, 1194, 68, 1196,
68, 1197, 1199, 68, 1200, 68, 68, 1198, 1203, 1201,
1204, 68, 1207, 68, 68, 1209, 68, 1202, 68, 1208,
68, 1212, 68, 1213, 68, 68, 68, 68, 1217, 68,
1206, 68, 1205, 1219, 68, 68, 68, 68, 1210, 1215,
68, 68, 1211, 1218, 1214, 1222, 1216, 1223, 68, 1231,
1221, 1224, 68, 68, 1220, 1225, 68, 1235, 1226, 1227,
68, 68, 1228, 1229, 68, 68, 1232, 68, 68, 68,
1230, 1236, 68, 1233, 1234, 68, 1238, 68, 68, 1237,
1240, 68, 1239, 68, 68, 1243, 68, 1244, 68, 1245,
68, 1246, 68, 68, 68, 1248, 68, 68, 1241, 68,
1249, 68, 1242, 1251, 68, 1247, 68, 68, 1252, 1256,
68, 122, 120, 118, 68, 1257, 1253, 1250, 1257, 1257,
1254, 1257, 1257, 1257, 1257, 1257, 1255, 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, 1257, 71, 71, 71, 71, 117,
117, 1257, 1257, 1257, 117, 117, 119, 119, 1257, 1257,
119, 1257, 119, 121, 1257, 1257, 1257, 1257, 1257, 121,
124, 124, 1257, 1257, 1257, 124, 124, 126, 1257, 1257,
1257, 1257, 1257, 126, 128, 128, 1257, 128, 128, 128,
128, 72, 72, 1257, 72, 72, 72, 72, 13, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257
} ;
static yyconst flex_int16_t yy_chk[2559] =
{ 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, 113, 33, 6, 7, 7, 7, 7, 9, 7,
10, 10, 10, 44, 44, 7, 8, 8, 8, 8,
10, 8, 21, 33, 113, 21, 21, 8, 11, 11,
11, 11, 11, 11, 1263, 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, 82, 23,
32, 32, 27, 36, 34, 32, 37, 37, 36, 30,
35, 77, 31, 34, 77, 35, 31, 38, 36, 34,
82, 32, 34, 36, 37, 35, 60, 60, 35, 34,
75, 38, 39, 39, 75, 112, 38, 39, 55, 76,
55, 55, 63, 55, 63, 63, 65, 63, 65, 65,
79, 65, 68, 63, 68, 68, 112, 68, 78, 76,
80, 81, 68, 71, 79, 71, 71, 84, 71, 85,
83, 90, 80, 71, 71, 83, 78, 86, 87, 81,
88, 84, 89, 92, 88, 90, 95, 89, 83, 85,
95, 91, 96, 93, 91, 86, 87, 91, 93, 96,
94, 97, 92, 94, 99, 98, 100, 94, 105, 101,
102, 91, 98, 101, 97, 103, 104, 99, 93, 106,
103, 105, 107, 115, 103, 108, 100, 109, 102, 110,
110, 111, 109, 114, 106, 115, 104, 116, 114, 118,
118, 107, 120, 108, 145, 120, 125, 125, 145, 111,
110, 122, 133, 122, 122, 116, 122, 127, 135, 127,
127, 128, 127, 128, 128, 130, 128, 133, 130, 131,
132, 134, 128, 135, 131, 132, 136, 137, 138, 134,
139, 142, 137, 138, 143, 139, 141, 141, 146, 143,
144, 147, 148, 146, 150, 152, 136, 140, 151, 529,
142, 140, 157, 151, 149, 147, 140, 148, 153, 154,
529, 140, 150, 144, 154, 152, 149, 140, 140, 149,
155, 155, 156, 157, 153, 158, 159, 156, 162, 160,
158, 159, 161, 156, 160, 162, 163, 161, 164, 165,
166, 167, 163, 169, 168, 165, 170, 171, 172, 167,
173, 170, 174, 175, 174, 176, 177, 177, 164, 168,
175, 182, 166, 169, 186, 543, 172, 172, 178, 171,
173, 179, 181, 178, 176, 180, 179, 180, 183, 186,
182, 187, 184, 185, 181, 188, 183, 184, 185, 189,
192, 178, 189, 188, 180, 190, 190, 191, 191, 187,
193, 194, 196, 195, 194, 197, 192, 195, 198, 200,
197, 196, 199, 199, 200, 193, 201, 202, 203, 204,
205, 201, 198, 206, 206, 207, 208, 209, 210, 211,
212, 210, 209, 205, 214, 213, 203, 202, 208, 217,
204, 211, 217, 207, 213, 218, 214, 212, 219, 215,
212, 215, 215, 216, 216, 220, 221, 221, 223, 223,
224, 222, 218, 219, 220, 218, 222, 225, 226, 227,
230, 228, 231, 226, 229, 224, 228, 229, 232, 234,
233, 231, 235, 232, 230, 233, 237, 225, 236, 227,
239, 236, 240, 241, 242, 244, 235, 243, 245, 234,
237, 240, 247, 245, 248, 239, 246, 236, 238, 249,
238, 238, 243, 242, 241, 244, 250, 247, 253, 248,
238, 254, 238, 238, 238, 255, 246, 238, 251, 249,
250, 252, 252, 251, 252, 256, 259, 254, 253, 258,
257, 255, 257, 258, 260, 263, 261, 262, 264, 256,
263, 265, 264, 267, 259, 261, 262, 266, 260, 267,
265, 268, 266, 269, 270, 270, 268, 271, 261, 272,
273, 274, 271, 275, 276, 280, 269, 283, 275, 273,
277, 277, 282, 274, 279, 279, 281, 285, 286, 283,
272, 282, 287, 288, 281, 276, 280, 289, 288, 290,
291, 292, 294, 300, 290, 289, 287, 285, 286, 293,
296, 295, 295, 293, 298, 297, 299, 299, 291, 295,
297, 294, 305, 292, 302, 297, 303, 295, 300, 304,
296, 301, 301, 306, 298, 307, 308, 295, 303, 302,
307, 305, 309, 310, 304, 308, 311, 312, 313, 314,
311, 315, 312, 316, 316, 306, 317, 318, 310, 319,
313, 309, 320, 321, 315, 320, 328, 314, 317, 318,
322, 322, 323, 323, 319, 324, 321, 325, 325, 327,
324, 326, 326, 329, 327, 330, 331, 328, 329, 330,
332, 331, 333, 334, 332, 335, 336, 333, 337, 338,
335, 336, 338, 339, 339, 340, 341, 338, 345, 126,
340, 338, 337, 334, 342, 341, 343, 342, 344, 346,
343, 345, 347, 344, 346, 348, 349, 347, 352, 349,
350, 348, 351, 350, 353, 354, 355, 351, 356, 355,
354, 124, 343, 356, 359, 357, 352, 358, 353, 357,
357, 360, 358, 359, 360, 361, 362, 364, 362, 361,
361, 363, 365, 363, 366, 367, 365, 368, 369, 370,
370, 371, 373, 369, 374, 371, 372, 364, 375, 366,
376, 372, 368, 367, 377, 378, 381, 376, 373, 377,
379, 375, 378, 374, 380, 379, 382, 383, 384, 380,
385, 388, 393, 382, 381, 385, 383, 386, 398, 387,
386, 391, 384, 387, 389, 389, 391, 392, 394, 395,
393, 392, 388, 389, 401, 398, 394, 403, 407, 402,
408, 403, 404, 401, 395, 402, 406, 404, 405, 413,
405, 406, 405, 416, 409, 405, 407, 409, 410, 410,
405, 411, 412, 412, 413, 408, 405, 405, 411, 414,
414, 415, 417, 416, 415, 418, 419, 419, 420, 421,
422, 423, 423, 418, 424, 422, 425, 424, 426, 428,
427, 417, 425, 420, 429, 430, 426, 421, 427, 429,
431, 431, 430, 432, 433, 434, 437, 428, 441, 433,
436, 432, 442, 436, 438, 438, 439, 443, 444, 439,
437, 445, 444, 446, 434, 447, 443, 439, 448, 441,
449, 450, 446, 442, 448, 452, 450, 451, 453, 447,
445, 451, 454, 455, 449, 456, 456, 454, 457, 458,
453, 459, 458, 457, 452, 460, 461, 462, 463, 463,
465, 461, 464, 464, 455, 467, 466, 468, 460, 459,
466, 469, 471, 472, 473, 465, 471, 462, 475, 474,
476, 477, 481, 478, 467, 469, 486, 477, 478, 473,
123, 468, 470, 474, 476, 470, 481, 470, 472, 475,
486, 470, 480, 470, 479, 479, 482, 480, 470, 483,
483, 484, 479, 485, 487, 493, 484, 499, 482, 488,
488, 485, 489, 491, 492, 494, 489, 492, 491, 497,
479, 495, 496, 487, 493, 498, 495, 499, 494, 500,
498, 496, 501, 504, 502, 505, 508, 506, 497, 502,
505, 501, 506, 500, 507, 508, 509, 509, 504, 507,
510, 514, 512, 515, 514, 510, 512, 512, 513, 513,
516, 517, 513, 520, 517, 518, 519, 521, 515, 520,
518, 519, 522, 521, 523, 522, 524, 525, 526, 527,
516, 530, 528, 526, 527, 528, 530, 532, 531, 534,
525, 535, 523, 531, 533, 533, 524, 536, 538, 537,
540, 539, 532, 537, 541, 535, 544, 545, 534, 536,
539, 546, 547, 548, 550, 121, 538, 547, 548, 540,
544, 549, 545, 551, 553, 552, 549, 554, 550, 541,
552, 546, 555, 555, 556, 557, 558, 551, 559, 553,
560, 558, 554, 561, 557, 560, 562, 565, 563, 564,
562, 566, 556, 567, 568, 569, 570, 559, 571, 565,
572, 569, 561, 563, 564, 575, 577, 576, 574, 572,
566, 570, 568, 574, 567, 576, 578, 580, 571, 575,
579, 578, 581, 582, 579, 579, 577, 587, 582, 584,
580, 581, 583, 583, 584, 585, 586, 586, 588, 589,
585, 587, 590, 591, 589, 592, 593, 590, 591, 592,
594, 597, 598, 596, 599, 593, 588, 596, 600, 601,
593, 594, 593, 602, 593, 603, 597, 601, 599, 606,
598, 604, 604, 605, 605, 607, 607, 600, 608, 608,
609, 602, 610, 610, 611, 609, 612, 613, 606, 614,
603, 615, 613, 616, 612, 623, 618, 615, 619, 622,
616, 618, 624, 619, 611, 620, 621, 614, 622, 626,
620, 621, 627, 624, 623, 625, 625, 628, 629, 630,
632, 632, 628, 631, 633, 634, 636, 635, 638, 626,
639, 641, 638, 638, 640, 627, 641, 642, 629, 630,
643, 631, 644, 645, 633, 635, 644, 646, 647, 636,
634, 648, 640, 649, 651, 642, 639, 650, 649, 651,
643, 646, 645, 647, 650, 652, 653, 654, 655, 656,
648, 657, 658, 659, 655, 653, 657, 658, 659, 660,
660, 662, 654, 652, 663, 664, 662, 665, 666, 666,
656, 665, 665, 667, 668, 669, 671, 670, 663, 672,
673, 669, 670, 674, 664, 676, 675, 119, 677, 678,
678, 679, 667, 668, 681, 671, 679, 680, 672, 673,
675, 680, 674, 677, 682, 683, 676, 681, 684, 684,
685, 686, 687, 682, 690, 685, 697, 687, 696, 690,
693, 693, 698, 695, 699, 683, 695, 698, 700, 700,
701, 686, 703, 696, 702, 702, 704, 706, 705, 699,
707, 697, 705, 709, 710, 707, 712, 704, 711, 711,
701, 713, 714, 715, 703, 715, 706, 716, 710, 717,
718, 709, 716, 719, 717, 722, 712, 720, 723, 725,
722, 713, 714, 720, 725, 724, 727, 719, 724, 728,
718, 726, 726, 729, 730, 731, 732, 732, 729, 735,
731, 733, 734, 723, 727, 736, 733, 737, 740, 728,
738, 739, 741, 740, 742, 743, 744, 730, 117, 735,
734, 737, 738, 745, 739, 736, 746, 747, 750, 750,
745, 744, 741, 752, 742, 746, 743, 751, 746, 753,
751, 754, 752, 747, 756, 755, 757, 757, 758, 756,
754, 759, 760, 754, 755, 761, 762, 763, 753, 764,
764, 765, 766, 67, 759, 774, 768, 769, 758, 761,
760, 768, 769, 770, 775, 763, 773, 765, 776, 770,
766, 762, 771, 774, 773, 771, 777, 779, 780, 784,
781, 771, 780, 775, 776, 781, 782, 783, 784, 785,
786, 782, 783, 788, 777, 787, 787, 779, 789, 790,
793, 791, 792, 794, 797, 786, 791, 788, 800, 794,
789, 790, 785, 797, 792, 795, 795, 801, 793, 796,
796, 798, 798, 799, 802, 803, 803, 810, 799, 800,
804, 804, 805, 805, 806, 807, 801, 809, 807, 806,
812, 811, 809, 816, 802, 810, 811, 813, 813, 814,
814, 815, 817, 818, 819, 816, 815, 816, 820, 821,
821, 822, 816, 823, 823, 812, 824, 826, 827, 828,
829, 831, 817, 818, 819, 827, 826, 832, 828, 820,
830, 830, 836, 834, 835, 837, 824, 822, 834, 835,
838, 838, 837, 832, 839, 840, 829, 831, 841, 839,
842, 843, 836, 844, 840, 845, 846, 847, 848, 844,
851, 856, 849, 848, 845, 842, 849, 849, 841, 850,
843, 847, 851, 852, 850, 853, 854, 846, 852, 855,
854, 858, 860, 857, 859, 61, 856, 853, 857, 859,
862, 855, 871, 862, 860, 863, 863, 864, 864, 865,
868, 866, 867, 858, 871, 865, 866, 874, 867, 868,
873, 873, 875, 880, 876, 881, 882, 883, 883, 888,
881, 875, 873, 876, 884, 874, 884, 880, 885, 885,
887, 889, 889, 882, 890, 891, 892, 887, 893, 888,
895, 894, 900, 898, 897, 898, 899, 891, 892, 897,
893, 900, 901, 901, 902, 890, 894, 903, 905, 904,
895, 904, 903, 905, 899, 906, 907, 908, 909, 910,
906, 912, 913, 909, 910, 914, 914, 915, 920, 916,
902, 918, 919, 917, 907, 921, 913, 908, 916, 915,
912, 916, 917, 918, 922, 919, 924, 925, 920, 926,
922, 921, 924, 927, 927, 928, 929, 929, 926, 930,
933, 931, 932, 935, 928, 931, 938, 932, 934, 934,
941, 935, 925, 933, 944, 938, 939, 939, 930, 940,
940, 942, 941, 943, 946, 945, 942, 943, 947, 944,
945, 948, 949, 950, 951, 952, 954, 954, 955, 956,
957, 955, 958, 958, 959, 959, 951, 947, 960, 960,
946, 949, 956, 957, 950, 948, 952, 961, 962, 962,
963, 963, 964, 965, 965, 966, 966, 968, 969, 969,
961, 970, 968, 971, 971, 972, 973, 974, 975, 975,
974, 964, 973, 976, 976, 977, 978, 978, 980, 980,
970, 981, 985, 972, 975, 982, 982, 983, 984, 987,
986, 988, 989, 984, 977, 986, 993, 990, 1017, 983,
988, 989, 990, 985, 987, 991, 995, 981, 997, 991,
996, 996, 1000, 997, 1017, 995, 993, 998, 998, 1001,
1003, 1005, 1005, 1003, 1004, 1010, 998, 1000, 1006, 1004,
1007, 1001, 1006, 1007, 1008, 1008, 1009, 1012, 1011, 1013,
1015, 1009, 1011, 1014, 1013, 1010, 1015, 1018, 1014, 1020,
1019, 1020, 1018, 1023, 1023, 1026, 1026, 1012, 1019, 1029,
1029, 1031, 1031, 1033, 1034, 1034, 1035, 1036, 1033, 1037,
1039, 1039, 1042, 1043, 1037, 1043, 1044, 1042, 1045, 1045,
1046, 1044, 1035, 1047, 1048, 1049, 1050, 1051, 1054, 1036,
1052, 1052, 1046, 1053, 1057, 1055, 1048, 1049, 1050, 1056,
1060, 1047, 1053, 1058, 1059, 1060, 1061, 1051, 1062, 1062,
1064, 1061, 1056, 1070, 1054, 1055, 1068, 1058, 1057, 1065,
1065, 1069, 1059, 1067, 1067, 1068, 1071, 1072, 1064, 1073,
1075, 1070, 1074, 1074, 1076, 1075, 1069, 1077, 1078, 1082,
1084, 1084, 1083, 1072, 1071, 1083, 1085, 1086, 1073, 1076,
1088, 1088, 1089, 1090, 1090, 1093, 1077, 1094, 1078, 1082,
1097, 1085, 1092, 1092, 1095, 1086, 1094, 1096, 1097, 1095,
1099, 1089, 1096, 1100, 1101, 1102, 56, 1093, 1100, 1101,
1103, 1103, 1104, 1104, 1105, 1099, 1106, 1106, 1109, 1105,
1102, 1107, 1107, 1109, 1110, 1112, 1113, 1119, 1112, 1114,
1120, 1115, 1116, 1116, 1117, 1122, 1110, 1123, 1114, 1113,
1115, 1121, 1121, 1117, 1122, 1123, 1119, 1124, 1126, 1120,
1127, 1131, 1124, 1129, 1129, 1132, 1132, 1126, 1133, 1134,
1134, 1133, 1136, 1127, 1135, 1135, 1146, 1137, 1138, 1139,
1139, 1131, 1140, 1138, 1147, 1148, 1140, 1143, 1149, 1149,
1136, 1137, 1147, 1143, 1150, 1146, 1151, 1152, 1153, 1154,
1155, 1151, 1157, 1158, 1148, 1157, 1159, 1159, 1154, 1160,
1150, 1165, 51, 1160, 1161, 1164, 1163, 1152, 1169, 1169,
1155, 1158, 1174, 1161, 1153, 1163, 1168, 1164, 1170, 1172,
1173, 1168, 1175, 1178, 1172, 1177, 1165, 1170, 1179, 1173,
1180, 1174, 1176, 1176, 1177, 1181, 1182, 1175, 1180, 1178,
1181, 1183, 1184, 1184, 1185, 1187, 1187, 1179, 1188, 1185,
1189, 1190, 1190, 1191, 1191, 1192, 1194, 1193, 1195, 1195,
1183, 1196, 1182, 1197, 1197, 1198, 1200, 1220, 1188, 1193,
1201, 1214, 1189, 1196, 1192, 1201, 1194, 1202, 1202, 1214,
1200, 1203, 1203, 1205, 1198, 1204, 1204, 1220, 1205, 1206,
1206, 1208, 1208, 1210, 1210, 1211, 1215, 1215, 1216, 1218,
1211, 1221, 1221, 1216, 1218, 1222, 1226, 1226, 1228, 1222,
1230, 1230, 1228, 1231, 1233, 1234, 1234, 1235, 1235, 1237,
1237, 1239, 1239, 1241, 1242, 1242, 1247, 1248, 1231, 1250,
1247, 1252, 1233, 1249, 1249, 1241, 1253, 1254, 1250, 1255,
1255, 50, 45, 40, 14, 13, 1252, 1248, 0, 0,
1253, 0, 0, 0, 0, 0, 1254, 1258, 1258, 1258,
1258, 1258, 1258, 1258, 1259, 1259, 1259, 1259, 1259, 1259,
1259, 1260, 1260, 1260, 1260, 1260, 1260, 1260, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1262, 1262, 1262, 1262, 1262,
1262, 1262, 1264, 1264, 0, 1264, 1264, 1264, 1264, 1265,
1265, 0, 0, 0, 1265, 1265, 1266, 1266, 0, 0,
1266, 0, 1266, 1267, 0, 0, 0, 0, 0, 1267,
1268, 1268, 0, 0, 0, 1268, 1268, 1269, 0, 0,
0, 0, 0, 1269, 1270, 1270, 0, 1270, 1270, 1270,
1270, 1271, 1271, 0, 1271, 1271, 1271, 1271, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257,
1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257
} ;
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 1534 "<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 1721 "<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 >= 1258 )
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] != 2519 );
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_DO_DAEMONIZE) }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 140 "util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE) }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 141 "util/configlexer.lex"
{ YDVAR(1, VAR_OUTGOING_INTERFACE) }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 142 "util/configlexer.lex"
{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 143 "util/configlexer.lex"
{ YDVAR(1, VAR_SO_RCVBUF) }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 144 "util/configlexer.lex"
{ YDVAR(1, VAR_SO_SNDBUF) }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 145 "util/configlexer.lex"
{ YDVAR(1, VAR_CHROOT) }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 146 "util/configlexer.lex"
{ YDVAR(1, VAR_USERNAME) }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 147 "util/configlexer.lex"
{ YDVAR(1, VAR_DIRECTORY) }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 148 "util/configlexer.lex"
{ YDVAR(1, VAR_LOGFILE) }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 149 "util/configlexer.lex"
{ YDVAR(1, VAR_PIDFILE) }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 150 "util/configlexer.lex"
{ YDVAR(1, VAR_ROOT_HINTS) }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 151 "util/configlexer.lex"
{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 152 "util/configlexer.lex"
{ YDVAR(1, VAR_MSG_BUFFER_SIZE) }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 153 "util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SIZE) }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 154 "util/configlexer.lex"
{ YDVAR(1, VAR_MSG_CACHE_SLABS) }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 155 "util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SIZE) }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 156 "util/configlexer.lex"
{ YDVAR(1, VAR_RRSET_CACHE_SLABS) }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 157 "util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MAX_TTL) }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 158 "util/configlexer.lex"
{ YDVAR(1, VAR_CACHE_MIN_TTL) }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 159 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_HOST_TTL) }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 160 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_LAME_TTL) }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 161 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_SLABS) }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 162 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 163 "util/configlexer.lex"
{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 164 "util/configlexer.lex"
{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 165 "util/configlexer.lex"
{ YDVAR(1, VAR_JOSTLE_TIMEOUT) }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 166 "util/configlexer.lex"
{ YDVAR(1, VAR_TARGET_FETCH_POLICY) }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 167 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 168 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 169 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_GLUE) }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 170 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 171 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 172 "util/configlexer.lex"
{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 173 "util/configlexer.lex"
{ YDVAR(1, VAR_USE_CAPS_FOR_ID) }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 174 "util/configlexer.lex"
{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 175 "util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_ADDRESS) }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 176 "util/configlexer.lex"
{ YDVAR(1, VAR_PRIVATE_DOMAIN) }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 177 "util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH_KEY) }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 178 "util/configlexer.lex"
{ YDVAR(1, VAR_PREFETCH) }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 179 "util/configlexer.lex"
{ YDVAR(0, VAR_STUB_ZONE) }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 180 "util/configlexer.lex"
{ YDVAR(1, VAR_NAME) }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 181 "util/configlexer.lex"
{ YDVAR(1, VAR_STUB_ADDR) }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 182 "util/configlexer.lex"
{ YDVAR(1, VAR_STUB_HOST) }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 183 "util/configlexer.lex"
{ YDVAR(1, VAR_STUB_PRIME) }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 184 "util/configlexer.lex"
{ YDVAR(0, VAR_FORWARD_ZONE) }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 185 "util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_ADDR) }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 186 "util/configlexer.lex"
{ YDVAR(1, VAR_FORWARD_HOST) }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 187 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 188 "util/configlexer.lex"
{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 189 "util/configlexer.lex"
{ YDVAR(2, VAR_ACCESS_CONTROL) }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 190 "util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_IDENTITY) }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 191 "util/configlexer.lex"
{ YDVAR(1, VAR_HIDE_VERSION) }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 192 "util/configlexer.lex"
{ YDVAR(1, VAR_IDENTITY) }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 193 "util/configlexer.lex"
{ YDVAR(1, VAR_VERSION) }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 194 "util/configlexer.lex"
{ YDVAR(1, VAR_MODULE_CONF) }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 195 "util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR) }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 196 "util/configlexer.lex"
{ YDVAR(1, VAR_DLV_ANCHOR_FILE) }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 197 "util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 198 "util/configlexer.lex"
{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 199 "util/configlexer.lex"
{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 200 "util/configlexer.lex"
{ YDVAR(1, VAR_TRUST_ANCHOR) }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 201 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 202 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 203 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 204 "util/configlexer.lex"
{ YDVAR(1, VAR_BOGUS_TTL) }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 205 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 206 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 207 "util/configlexer.lex"
{ YDVAR(1, VAR_IGNORE_CD_FLAG) }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 208 "util/configlexer.lex"
{ YDVAR(1, VAR_VAL_LOG_LEVEL) }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 209 "util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SIZE) }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 210 "util/configlexer.lex"
{ YDVAR(1, VAR_KEY_CACHE_SLABS) }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 211 "util/configlexer.lex"
{ YDVAR(1, VAR_NEG_CACHE_SIZE) }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 212 "util/configlexer.lex"
{
YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 214 "util/configlexer.lex"
{ YDVAR(1, VAR_ADD_HOLDDOWN) }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 215 "util/configlexer.lex"
{ YDVAR(1, VAR_DEL_HOLDDOWN) }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 216 "util/configlexer.lex"
{ YDVAR(1, VAR_KEEP_MISSING) }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 217 "util/configlexer.lex"
{ YDVAR(1, VAR_USE_SYSLOG) }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 218 "util/configlexer.lex"
{ YDVAR(1, VAR_LOG_TIME_ASCII) }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 219 "util/configlexer.lex"
{ YDVAR(1, VAR_LOG_QUERIES) }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 220 "util/configlexer.lex"
{ YDVAR(2, VAR_LOCAL_ZONE) }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 221 "util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA) }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 222 "util/configlexer.lex"
{ YDVAR(1, VAR_LOCAL_DATA_PTR) }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 223 "util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_INTERVAL) }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 224 "util/configlexer.lex"
{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 225 "util/configlexer.lex"
{ YDVAR(1, VAR_EXTENDED_STATISTICS) }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 226 "util/configlexer.lex"
{ YDVAR(0, VAR_REMOTE_CONTROL) }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 227 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_ENABLE) }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 228 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_INTERFACE) }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 229 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_PORT) }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 230 "util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_KEY_FILE) }
YY_BREAK
case 107:
YY_RULE_SETUP
#line 231 "util/configlexer.lex"
{ YDVAR(1, VAR_SERVER_CERT_FILE) }
YY_BREAK
case 108:
YY_RULE_SETUP
#line 232 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_KEY_FILE) }
YY_BREAK
case 109:
YY_RULE_SETUP
#line 233 "util/configlexer.lex"
{ YDVAR(1, VAR_CONTROL_CERT_FILE) }
YY_BREAK
case 110:
YY_RULE_SETUP
#line 234 "util/configlexer.lex"
{ YDVAR(1, VAR_PYTHON_SCRIPT) }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 235 "util/configlexer.lex"
{ YDVAR(0, VAR_PYTHON) }
YY_BREAK
case 112:
YY_RULE_SETUP
#line 236 "util/configlexer.lex"
{ YDVAR(1, VAR_DOMAIN_INSECURE) }
YY_BREAK
case 113:
/* rule 113 can match eol */
YY_RULE_SETUP
#line 237 "util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++; }
YY_BREAK
/* Quoted strings. Strip leading and ending quotes */
case 114:
YY_RULE_SETUP
#line 240 "util/configlexer.lex"
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
YY_BREAK
case YY_STATE_EOF(quotedstring):
#line 241 "util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 115:
YY_RULE_SETUP
#line 246 "util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 116:
/* rule 116 can match eol */
YY_RULE_SETUP
#line 247 "util/configlexer.lex"
{ yyerror("newline inside quoted string, no end \"");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 117:
YY_RULE_SETUP
#line 249 "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 118:
YY_RULE_SETUP
#line 261 "util/configlexer.lex"
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
YY_BREAK
case YY_STATE_EOF(singlequotedstr):
#line 262 "util/configlexer.lex"
{
yyerror("EOF inside quoted string");
if(--num_args == 0) { BEGIN(INITIAL); }
else { BEGIN(val); }
}
YY_BREAK
case 119:
YY_RULE_SETUP
#line 267 "util/configlexer.lex"
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
YY_BREAK
case 120:
/* rule 120 can match eol */
YY_RULE_SETUP
#line 268 "util/configlexer.lex"
{ yyerror("newline inside quoted string, no end '");
cfg_parser->line++; BEGIN(INITIAL); }
YY_BREAK
case 121:
YY_RULE_SETUP
#line 270 "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 122:
YY_RULE_SETUP
#line 282 "util/configlexer.lex"
{
LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); }
YY_BREAK
case YY_STATE_EOF(include):
#line 284 "util/configlexer.lex"
{
yyerror("EOF inside include directive");
BEGIN(inc_prev);
}
YY_BREAK
case 123:
YY_RULE_SETUP
#line 288 "util/configlexer.lex"
{ LEXOUT(("ISP ")); /* ignore */ }
YY_BREAK
case 124:
/* rule 124 can match eol */
YY_RULE_SETUP
#line 289 "util/configlexer.lex"
{ LEXOUT(("NL\n")); cfg_parser->line++;}
YY_BREAK
case 125:
YY_RULE_SETUP
#line 290 "util/configlexer.lex"
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
YY_BREAK
case 126:
YY_RULE_SETUP
#line 291 "util/configlexer.lex"
{
LEXOUT(("Iunquotedstr(%s) ", yytext));
config_start_include(yytext);
BEGIN(inc_prev);
}
YY_BREAK
case YY_STATE_EOF(include_quoted):
#line 296 "util/configlexer.lex"
{
yyerror("EOF inside quoted string");
BEGIN(inc_prev);
}
YY_BREAK
case 127:
YY_RULE_SETUP
#line 300 "util/configlexer.lex"
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
YY_BREAK
case 128:
/* rule 128 can match eol */
YY_RULE_SETUP
#line 301 "util/configlexer.lex"
{ yyerror("newline before \" in include name");
cfg_parser->line++; BEGIN(inc_prev); }
YY_BREAK
case 129:
YY_RULE_SETUP
#line 303 "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 309 "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 130:
YY_RULE_SETUP
#line 319 "util/configlexer.lex"
{ LEXOUT(("unquotedstr(%s) ", yytext));
if(--num_args == 0) { BEGIN(INITIAL); }
yylval.str = strdup(yytext); return STRING_ARG; }
YY_BREAK
case 131:
YY_RULE_SETUP
#line 323 "util/configlexer.lex"
{
ub_c_error_msg("unknown keyword '%s'", yytext);
}
YY_BREAK
case 132:
YY_RULE_SETUP
#line 327 "util/configlexer.lex"
{
ub_c_error_msg("stray '%s'", yytext);
}
YY_BREAK
case 133:
YY_RULE_SETUP
#line 331 "util/configlexer.lex"
ECHO;
YY_BREAK
#line 2567 "<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 >= 1258 )
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 >= 1258 )
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 == 1257);
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 331 "util/configlexer.lex"