2007-10-18 18:49:08 -04:00
|
|
|
#include "util/configyyrename.h"
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 3 "<stdout>"
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_INT_ALIGNED short int
|
|
|
|
|
|
|
|
|
|
/* A lexical scanner generated by flex */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define FLEX_SCANNER
|
|
|
|
|
#define YY_FLEX_MAJOR_VERSION 2
|
|
|
|
|
#define YY_FLEX_MINOR_VERSION 5
|
2008-06-09 05:34:40 -04:00
|
|
|
#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. */
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* begin standard C headers. */
|
2007-10-18 18:49:08 -04:00
|
|
|
#include <stdio.h>
|
2008-06-09 05:34:40 -04:00
|
|
|
#include <string.h>
|
|
|
|
|
#include <errno.h>
|
|
|
|
|
#include <stdlib.h>
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* end standard C headers. */
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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
|
2008-02-29 05:59:26 -05:00
|
|
|
#endif
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#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 */
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif /* ! FLEXINT_H */
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifdef __cplusplus
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* The "const" storage-class-modifier is valid. */
|
|
|
|
|
#define YY_USE_CONST
|
|
|
|
|
|
|
|
|
|
#else /* ! __cplusplus */
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* C99 requires __STDC__ to be defined as 1. */
|
|
|
|
|
#if defined (__STDC__)
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define YY_USE_CONST
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif /* defined (__STDC__) */
|
2007-10-18 18:49:08 -04:00
|
|
|
#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.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
#define BEGIN (yy_start) = 1 + 2 *
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* 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.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_START (((yy_start) - 1) / 2)
|
2007-10-18 18:49:08 -04:00
|
|
|
#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". */
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_NEW_FILE yyrestart(yyin )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define YY_END_OF_BUFFER_CHAR 0
|
|
|
|
|
|
|
|
|
|
/* Size of default input buffer. */
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_BUF_SIZE
|
2007-10-18 18:49:08 -04:00
|
|
|
#define YY_BUF_SIZE 16384
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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
|
2007-10-18 18:49:08 -04:00
|
|
|
typedef struct yy_buffer_state *YY_BUFFER_STATE;
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
extern int yyleng;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
extern FILE *yyin, *yyout;
|
|
|
|
|
|
|
|
|
|
#define EOB_ACT_CONTINUE_SCAN 0
|
|
|
|
|
#define EOB_ACT_END_OF_FILE 1
|
|
|
|
|
#define EOB_ACT_LAST_MATCH 2
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_LESS_LINENO(n)
|
|
|
|
|
|
|
|
|
|
/* Return all but the first "n" matched characters back to the input stream. */
|
2007-10-18 18:49:08 -04:00
|
|
|
#define yyless(n) \
|
|
|
|
|
do \
|
|
|
|
|
{ \
|
|
|
|
|
/* Undo effects of setting up yytext. */ \
|
2008-06-09 05:34:40 -04:00
|
|
|
int yyless_macro_arg = (n); \
|
|
|
|
|
YY_LESS_LINENO(yyless_macro_arg);\
|
|
|
|
|
*yy_cp = (yy_hold_char); \
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RESTORE_YY_MORE_OFFSET \
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
|
|
|
|
|
} \
|
|
|
|
|
while ( 0 )
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define unput(c) yyunput( c, (yytext_ptr) )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_TYPEDEF_YY_SIZE_T
|
|
|
|
|
#define YY_TYPEDEF_YY_SIZE_T
|
|
|
|
|
typedef size_t yy_size_t;
|
|
|
|
|
#endif
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_STRUCT_YY_BUFFER_STATE
|
|
|
|
|
#define YY_STRUCT_YY_BUFFER_STATE
|
2007-10-18 18:49:08 -04:00
|
|
|
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;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
int yy_bs_lineno; /**< The line count. */
|
|
|
|
|
int yy_bs_column; /**< The column count. */
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Whether to try to fill the input buffer when we reach the
|
|
|
|
|
* end of it.
|
|
|
|
|
*/
|
|
|
|
|
int yy_fill_buffer;
|
|
|
|
|
|
|
|
|
|
int yy_buffer_status;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
#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
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
};
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* 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".
|
2008-06-09 05:34:40 -04:00
|
|
|
*
|
|
|
|
|
* Returns the top of the stack, or NULL.
|
2007-10-18 18:49:08 -04:00
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
|
|
|
|
|
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
|
|
|
|
|
: NULL)
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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)]
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* 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;
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_init = 0; /* whether we need to initialize */
|
2007-10-18 18:49:08 -04:00
|
|
|
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;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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 );
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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 );
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void *yyalloc (yy_size_t );
|
|
|
|
|
void *yyrealloc (void *,yy_size_t );
|
|
|
|
|
void yyfree (void * );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define yy_new_buffer yy_create_buffer
|
|
|
|
|
|
|
|
|
|
#define yy_set_interactive(is_interactive) \
|
|
|
|
|
{ \
|
2008-06-09 05:34:40 -04:00
|
|
|
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; \
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#define yy_set_bol(at_bol) \
|
|
|
|
|
{ \
|
2008-06-09 05:34:40 -04:00
|
|
|
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; \
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
|
|
|
|
|
|
|
|
|
|
/* Begin user sect3 */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
typedef unsigned char YY_CHAR;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
typedef int yy_state_type;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
extern int yylineno;
|
|
|
|
|
|
|
|
|
|
int yylineno = 1;
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
extern char *yytext;
|
|
|
|
|
#define yytext_ptr yytext
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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[] );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Done after the current pattern has been matched and before the
|
|
|
|
|
* corresponding action - sets up yytext.
|
|
|
|
|
*/
|
|
|
|
|
#define YY_DO_BEFORE_ACTION \
|
2008-06-09 05:34:40 -04:00
|
|
|
(yytext_ptr) = yy_bp; \
|
|
|
|
|
(yytext_ptr) -= (yy_more_len); \
|
|
|
|
|
yyleng = (size_t) (yy_cp - (yytext_ptr)); \
|
|
|
|
|
(yy_hold_char) = *yy_cp; \
|
2007-10-18 18:49:08 -04:00
|
|
|
*yy_cp = '\0'; \
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
#define YY_NUM_RULES 110
|
|
|
|
|
#define YY_END_OF_BUFFER 111
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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;
|
|
|
|
|
};
|
2008-10-22 08:01:40 -04:00
|
|
|
static yyconst flex_int16_t yy_accept[1001] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2008-10-22 08:01:40 -04:00
|
|
|
1, 1, 94, 94, 98, 98, 102, 102, 106, 106,
|
|
|
|
|
111, 109, 1, 92, 93, 2, 97, 110, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 94, 95, 110,
|
|
|
|
|
96, 110, 98, 99, 100, 110, 105, 102, 103, 104,
|
|
|
|
|
110, 106, 107, 108, 110, 109, 0, 1, 2, 2,
|
|
|
|
|
2, 2, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 94, 0, 98,
|
|
|
|
|
|
|
|
|
|
0, 105, 0, 102, 106, 0, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 49, 109,
|
|
|
|
|
109, 109, 109, 109, 6, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
|
|
|
|
|
109, 109, 109, 20, 109, 109, 109, 109, 12, 13,
|
|
|
|
|
109, 15, 14, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 3, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 101,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 23,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 24, 109, 109,
|
|
|
|
|
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 62, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 61, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 21, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 22, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 17, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 50, 51, 109, 48, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 5,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 64, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
79, 78, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 25, 109, 109, 109, 109,
|
|
|
|
|
|
|
|
|
|
52, 109, 109, 109, 109, 77, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 42, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 4, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 87, 109, 16, 109, 109,
|
|
|
|
|
54, 55, 53, 109, 109, 109, 109, 109, 60, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
68, 109, 109, 109, 109, 109, 109, 109, 109, 31,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 59, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 63, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 70, 109, 109,
|
|
|
|
|
109, 109, 58, 109, 85, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 32,
|
|
|
|
|
|
|
|
|
|
33, 109, 38, 73, 109, 80, 109, 27, 109, 75,
|
|
|
|
|
109, 109, 109, 109, 109, 7, 109, 47, 84, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 65, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 74,
|
|
|
|
|
26, 28, 109, 109, 109, 109, 109, 46, 109, 109,
|
|
|
|
|
109, 88, 109, 109, 109, 109, 109, 45, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 90, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 11, 109, 109, 109, 109, 109, 109, 10,
|
|
|
|
|
109, 109, 29, 109, 89, 109, 109, 109, 109, 109,
|
|
|
|
|
|
|
|
|
|
109, 109, 109, 109, 91, 86, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 109, 109, 34, 109, 109, 109, 109,
|
|
|
|
|
109, 30, 109, 109, 109, 66, 67, 109, 109, 69,
|
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 18, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
109, 109, 109, 83, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
19, 109, 9, 109, 109, 81, 39, 109, 109, 72,
|
|
|
|
|
56, 109, 109, 41, 44, 40, 109, 35, 109, 8,
|
|
|
|
|
109, 71, 109, 109, 109, 36, 109, 82, 109, 57,
|
|
|
|
|
43, 37, 109, 109, 109, 109, 109, 109, 76, 0
|
2008-10-06 05:28:50 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static yyconst flex_int32_t yy_ec[256] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 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,
|
2007-11-28 03:10:45 -05:00
|
|
|
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,
|
2007-10-18 18:49:08 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2007-11-28 03:10:45 -05:00
|
|
|
1, 13, 1, 1, 1, 1, 14, 15, 16, 17,
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-10-06 05:28:50 -04:00
|
|
|
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,
|
2007-10-18 18:49:08 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1
|
|
|
|
|
} ;
|
|
|
|
|
|
2008-10-06 05:28:50 -04:00
|
|
|
static yyconst flex_int32_t yy_meta[40] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-28 03:10:45 -05:00
|
|
|
1, 2, 3, 4, 5, 1, 6, 1, 1, 1,
|
2007-10-18 18:49:08 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2008-10-06 05:28:50 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
static yyconst flex_int16_t yy_base[1012] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2008-10-06 05:28:50 -04:00
|
|
|
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
|
2008-10-22 08:01:40 -04:00
|
|
|
2050, 2036, 50, 2051, 2051, 82, 2051, 89, 33, 84,
|
2008-10-06 05:28:50 -04:00
|
|
|
79, 62, 72, 89, 93, 95, 96, 100, 102, 103,
|
2008-10-22 08:01:40 -04:00
|
|
|
49, 105, 111, 113, 127, 106, 130, 2035, 2051, 2051,
|
|
|
|
|
2051, 145, 2034, 2051, 2051, 118, 2033, 2043, 2051, 2051,
|
|
|
|
|
149, 2031, 2051, 2051, 155, 2030, 159, 163, 0, 166,
|
2008-10-06 05:28:50 -04:00
|
|
|
0, 0, 119, 139, 144, 149, 154, 159, 169, 165,
|
|
|
|
|
161, 168, 167, 170, 174, 173, 176, 184, 178, 183,
|
|
|
|
|
189, 188, 193, 196, 199, 197, 198, 200, 204, 205,
|
2008-10-22 08:01:40 -04:00
|
|
|
208, 209, 211, 212, 217, 220, 218, 2029, 236, 2028,
|
2008-10-06 05:28:50 -04:00
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
240, 2027, 246, 2037, 2025, 250, 239, 243, 245, 246,
|
2008-10-06 05:28:50 -04:00
|
|
|
247, 253, 267, 249, 250, 221, 256, 255, 262, 257,
|
|
|
|
|
258, 259, 270, 282, 272, 264, 289, 286, 295, 297,
|
|
|
|
|
293, 296, 294, 298, 301, 299, 303, 304, 305, 132,
|
|
|
|
|
306, 309, 312, 315, 321, 317, 322, 318, 311, 331,
|
|
|
|
|
337, 341, 61, 324, 332, 343, 344, 345, 348, 354,
|
|
|
|
|
350, 351, 352, 355, 357, 268, 359, 361, 214, 364,
|
|
|
|
|
366, 378, 360, 367, 371, 374, 380, 381, 385, 393,
|
|
|
|
|
389, 390, 391, 397, 394, 396, 398, 404, 419, 408,
|
|
|
|
|
402, 406, 412, 410, 413, 420, 415, 426, 439, 424,
|
|
|
|
|
|
|
|
|
|
427, 432, 438, 441, 446, 445, 447, 449, 452, 455,
|
2008-10-22 08:01:40 -04:00
|
|
|
451, 458, 464, 471, 462, 468, 469, 475, 2024, 477,
|
|
|
|
|
470, 472, 479, 481, 2023, 482, 484, 486, 492, 483,
|
|
|
|
|
485, 495, 497, 505, 498, 506, 507, 509, 513, 514,
|
|
|
|
|
512, 515, 516, 522, 523, 519, 527, 528, 529, 536,
|
|
|
|
|
530, 542, 546, 552, 549, 551, 553, 555, 561, 560,
|
|
|
|
|
557, 554, 563, 565, 569, 566, 575, 573, 578, 580,
|
|
|
|
|
588, 584, 586, 591, 587, 593, 595, 596, 597, 603,
|
|
|
|
|
599, 607, 617, 600, 614, 606, 605, 613, 624, 625,
|
|
|
|
|
627, 622, 615, 629, 630, 635, 636, 639, 632, 643,
|
|
|
|
|
|
|
|
|
|
633, 645, 653, 2022, 651, 649, 655, 656, 2021, 2020,
|
|
|
|
|
657, 2019, 2018, 658, 664, 675, 660, 666, 661, 669,
|
|
|
|
|
670, 672, 676, 680, 685, 678, 689, 695, 690, 700,
|
|
|
|
|
701, 702, 703, 706, 692, 707, 709, 718, 720, 719,
|
|
|
|
|
713, 723, 725, 2017, 721, 729, 726, 731, 732, 735,
|
|
|
|
|
734, 742, 738, 739, 744, 743, 752, 747, 754, 755,
|
|
|
|
|
756, 759, 760, 761, 786, 762, 763, 765, 767, 771,
|
|
|
|
|
773, 769, 770, 792, 796, 790, 780, 784, 805, 2016,
|
|
|
|
|
811, 807, 800, 808, 809, 813, 812, 815, 816, 2015,
|
|
|
|
|
818, 820, 823, 824, 827, 831, 839, 2014, 837, 840,
|
|
|
|
|
|
|
|
|
|
826, 842, 843, 844, 847, 851, 852, 853, 854, 856,
|
|
|
|
|
857, 403, 863, 862, 865, 867, 868, 874, 871, 875,
|
|
|
|
|
873, 2013, 876, 883, 880, 879, 881, 887, 888, 897,
|
|
|
|
|
891, 899, 900, 894, 902, 901, 904, 907, 910, 911,
|
|
|
|
|
912, 915, 914, 923, 2012, 921, 917, 920, 922, 938,
|
|
|
|
|
928, 944, 942, 945, 946, 936, 952, 953, 951, 955,
|
|
|
|
|
949, 957, 962, 964, 966, 968, 969, 970, 971, 973,
|
|
|
|
|
975, 979, 981, 982, 983, 988, 986, 989, 2011, 999,
|
|
|
|
|
1003, 1005, 997, 1001, 1008, 1004, 1009, 1010, 1011, 1013,
|
|
|
|
|
1014, 1016, 2010, 1022, 1015, 1018, 1023, 1026, 1019, 1031,
|
|
|
|
|
|
|
|
|
|
1025, 1027, 1035, 1046, 1037, 1040, 1047, 1048, 1052, 1058,
|
|
|
|
|
1059, 1060, 2009, 1063, 1056, 1071, 1065, 1067, 1077, 1074,
|
|
|
|
|
1076, 1078, 1079, 1080, 1081, 1084, 1082, 1085, 1087, 1086,
|
|
|
|
|
1091, 1096, 1088, 1109, 1110, 2008, 2007, 1112, 2006, 1113,
|
|
|
|
|
1092, 1103, 1114, 1118, 1115, 1119, 1121, 1122, 1123, 2005,
|
|
|
|
|
1125, 1124, 1127, 1131, 1134, 1141, 1130, 1140, 2004, 1148,
|
|
|
|
|
1137, 1151, 1138, 1145, 1149, 1155, 1158, 1159, 1161, 1163,
|
|
|
|
|
1166, 1167, 1169, 1173, 1170, 1171, 1172, 1174, 1175, 1176,
|
|
|
|
|
2003, 2002, 1185, 1177, 1188, 1195, 1203, 1202, 1199, 1205,
|
|
|
|
|
1206, 1207, 1208, 1209, 1211, 2001, 1217, 1220, 1216, 1225,
|
|
|
|
|
|
|
|
|
|
2000, 1223, 1214, 1227, 1230, 1999, 1213, 1235, 1236, 1237,
|
|
|
|
|
1238, 1240, 1244, 1250, 1249, 1251, 1252, 1254, 1257, 1260,
|
|
|
|
|
1267, 1243, 1265, 1271, 1273, 1274, 1998, 1280, 1268, 1281,
|
|
|
|
|
1278, 1283, 1284, 1285, 1287, 1288, 1289, 1290, 1291, 1292,
|
|
|
|
|
1294, 1295, 1296, 1298, 1300, 1306, 1310, 1997, 1313, 1320,
|
|
|
|
|
1316, 1312, 1322, 1321, 1323, 1325, 1328, 1331, 1329, 1333,
|
|
|
|
|
1342, 1346, 1348, 1354, 1339, 1352, 1335, 1358, 1355, 1357,
|
|
|
|
|
1362, 1359, 1363, 1364, 1366, 1996, 1367, 1995, 1371, 1373,
|
|
|
|
|
1994, 1993, 1992, 1381, 1374, 1384, 1178, 1387, 1991, 1378,
|
|
|
|
|
1388, 1380, 1390, 1392, 1393, 1394, 1395, 1403, 1397, 1396,
|
|
|
|
|
|
|
|
|
|
1407, 1400, 1411, 1410, 1413, 1417, 1419, 1420, 1428, 1424,
|
|
|
|
|
1425, 1421, 1427, 1433, 1432, 1431, 1434, 1430, 1436, 1448,
|
|
|
|
|
1990, 1449, 1451, 1457, 1453, 1446, 1459, 1461, 1468, 1989,
|
|
|
|
|
1464, 1470, 1471, 1474, 1475, 1477, 1476, 1478, 1479, 1482,
|
|
|
|
|
1483, 1484, 1988, 1485, 1487, 1489, 1492, 1507, 1509, 1499,
|
|
|
|
|
1511, 1514, 1496, 1517, 1987, 1518, 1520, 1521, 1525, 1504,
|
|
|
|
|
1526, 1527, 1528, 1534, 1531, 1536, 1538, 1539, 1541, 1543,
|
|
|
|
|
1546, 1545, 1547, 1548, 1549, 1553, 1490, 1986, 1438, 1559,
|
|
|
|
|
1556, 1569, 1985, 1560, 1984, 1567, 1571, 1574, 1575, 1577,
|
|
|
|
|
1561, 1578, 1582, 1588, 1584, 1585, 1586, 1589, 1592, 1983,
|
|
|
|
|
|
|
|
|
|
1982, 1595, 1981, 1980, 1600, 1979, 1603, 1978, 1605, 1977,
|
|
|
|
|
1611, 1607, 1593, 1610, 1612, 1976, 1614, 1975, 1974, 1615,
|
|
|
|
|
1616, 1619, 1622, 1623, 1625, 1626, 1627, 1628, 1630, 1633,
|
|
|
|
|
1631, 1634, 1636, 1641, 1645, 1648, 1973, 1637, 1651, 1644,
|
|
|
|
|
1656, 1658, 1659, 1660, 1662, 1668, 1665, 1664, 1666, 1972,
|
|
|
|
|
1971, 1970, 1667, 1669, 1671, 1673, 1677, 1969, 1682, 1678,
|
|
|
|
|
1685, 1968, 1689, 1691, 1692, 1693, 1694, 1967, 1696, 1700,
|
|
|
|
|
1702, 1703, 1709, 1715, 1966, 1712, 1704, 1719, 1720, 1721,
|
|
|
|
|
1723, 1725, 1965, 1726, 1727, 1732, 1728, 1733, 1735, 1964,
|
|
|
|
|
1738, 1736, 1960, 1743, 1956, 1739, 1750, 1752, 1754, 1757,
|
|
|
|
|
|
|
|
|
|
1744, 1765, 1762, 1706, 1955, 1954, 1748, 1763, 1764, 1766,
|
|
|
|
|
1768, 1769, 1770, 1772, 1774, 1950, 1775, 1777, 1780, 1784,
|
|
|
|
|
1776, 1949, 1790, 1786, 1787, 1945, 1944, 1791, 1793, 1943,
|
|
|
|
|
1800, 1797, 1803, 1807, 1801, 1804, 1811, 1808, 1809, 1810,
|
|
|
|
|
1815, 1820, 1937, 1822, 1824, 1826, 1828, 1831, 1833, 1832,
|
|
|
|
|
1837, 1839, 1834, 1909, 1841, 1843, 1850, 1855, 1851, 1858,
|
|
|
|
|
1908, 1859, 1904, 1862, 1863, 1903, 1902, 1865, 1866, 1901,
|
|
|
|
|
1900, 1847, 1869, 1899, 1897, 1896, 1875, 1895, 1872, 1840,
|
|
|
|
|
1878, 1554, 1870, 1880, 1882, 1501, 1884, 1050, 1885, 924,
|
|
|
|
|
777, 683, 1887, 1889, 1890, 1892, 1891, 1894, 571, 2051,
|
|
|
|
|
|
|
|
|
|
1923, 1929, 1935, 1941, 550, 1947, 1953, 1959, 62, 1964,
|
|
|
|
|
1970
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
static yyconst flex_int16_t yy_def[1012] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2008-10-22 08:01:40 -04:00
|
|
|
1000, 1, 1001, 1001, 1002, 1002, 1003, 1003, 1004, 1004,
|
|
|
|
|
1000, 1005, 1000, 1000, 1000, 1006, 1000, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1007, 1000, 1000,
|
|
|
|
|
1000, 1007, 1008, 1000, 1000, 1008, 1009, 1000, 1000, 1000,
|
|
|
|
|
1009, 1010, 1000, 1000, 1010, 1005, 1005, 1000, 1011, 1006,
|
|
|
|
|
1011, 1006, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1007, 1007, 1008,
|
|
|
|
|
|
|
|
|
|
1008, 1009, 1009, 1000, 1010, 1010, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005,
|
|
|
|
|
1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 0,
|
|
|
|
|
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
|
|
|
|
1000
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
static yyconst flex_int16_t yy_nxt[2091] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-28 03:10:45 -05:00
|
|
|
12, 13, 14, 14, 15, 16, 17, 12, 12, 12,
|
2008-09-16 05:08:45 -04:00
|
|
|
12, 12, 18, 19, 12, 20, 21, 22, 23, 12,
|
2008-10-06 05:28:50 -04:00
|
|
|
24, 25, 26, 27, 28, 29, 30, 31, 32, 12,
|
|
|
|
|
33, 34, 35, 36, 37, 12, 12, 12, 12, 39,
|
|
|
|
|
40, 41, 39, 40, 41, 57, 44, 40, 63, 42,
|
|
|
|
|
45, 58, 42, 44, 40, 59, 46, 45, 53, 53,
|
|
|
|
|
54, 57, 102, 46, 48, 49, 49, 50, 55, 40,
|
|
|
|
|
53, 53, 54, 57, 57, 51, 48, 49, 49, 50,
|
|
|
|
|
55, 40, 84, 61, 57, 61, 61, 51, 61, 199,
|
|
|
|
|
56, 57, 56, 56, 62, 56, 57, 64, 70, 71,
|
|
|
|
|
|
|
|
|
|
67, 57, 72, 68, 65, 57, 69, 57, 57, 74,
|
|
|
|
|
73, 66, 57, 77, 57, 57, 81, 57, 57, 75,
|
|
|
|
|
82, 100, 76, 57, 100, 57, 85, 78, 88, 79,
|
|
|
|
|
91, 57, 86, 80, 107, 87, 83, 95, 89, 57,
|
|
|
|
|
93, 90, 57, 96, 57, 92, 184, 97, 98, 98,
|
|
|
|
|
102, 57, 102, 102, 108, 102, 57, 94, 105, 105,
|
|
|
|
|
56, 57, 56, 56, 58, 56, 57, 61, 59, 61,
|
|
|
|
|
61, 57, 61, 57, 109, 110, 113, 57, 62, 57,
|
|
|
|
|
57, 57, 57, 117, 111, 57, 57, 118, 57, 119,
|
|
|
|
|
57, 115, 120, 112, 126, 57, 57, 114, 116, 124,
|
|
|
|
|
|
|
|
|
|
57, 57, 127, 125, 122, 57, 121, 129, 57, 57,
|
|
|
|
|
57, 57, 57, 123, 128, 132, 57, 57, 130, 134,
|
|
|
|
|
57, 57, 139, 57, 57, 135, 57, 133, 131, 57,
|
|
|
|
|
57, 136, 57, 57, 143, 215, 137, 159, 138, 98,
|
|
|
|
|
98, 141, 140, 100, 144, 142, 100, 102, 145, 102,
|
|
|
|
|
102, 57, 102, 105, 105, 57, 146, 57, 57, 57,
|
|
|
|
|
151, 57, 57, 147, 150, 57, 157, 57, 57, 57,
|
|
|
|
|
57, 57, 148, 160, 57, 165, 57, 167, 149, 57,
|
|
|
|
|
57, 161, 57, 152, 57, 158, 162, 164, 153, 163,
|
|
|
|
|
169, 166, 212, 154, 57, 168, 171, 170, 57, 155,
|
|
|
|
|
|
|
|
|
|
156, 57, 173, 172, 174, 57, 57, 57, 57, 57,
|
|
|
|
|
57, 57, 175, 57, 176, 57, 57, 57, 57, 187,
|
|
|
|
|
181, 57, 189, 57, 57, 185, 177, 57, 179, 57,
|
|
|
|
|
57, 180, 178, 57, 57, 190, 57, 183, 182, 193,
|
|
|
|
|
186, 195, 188, 57, 57, 194, 196, 201, 192, 57,
|
|
|
|
|
197, 200, 191, 57, 198, 57, 57, 57, 204, 202,
|
|
|
|
|
57, 206, 57, 57, 57, 205, 57, 57, 210, 57,
|
|
|
|
|
203, 57, 57, 57, 213, 220, 57, 209, 57, 57,
|
|
|
|
|
217, 218, 207, 57, 208, 214, 57, 211, 216, 219,
|
|
|
|
|
57, 225, 57, 57, 226, 224, 221, 57, 223, 222,
|
|
|
|
|
|
|
|
|
|
228, 57, 57, 57, 232, 57, 57, 230, 57, 57,
|
|
|
|
|
57, 233, 231, 235, 57, 57, 57, 227, 57, 246,
|
2008-10-22 08:01:40 -04:00
|
|
|
57, 229, 57, 244, 57, 57, 476, 57, 234, 236,
|
2008-10-06 05:28:50 -04:00
|
|
|
237, 57, 57, 238, 239, 243, 57, 245, 57, 57,
|
|
|
|
|
248, 250, 247, 251, 57, 240, 241, 242, 252, 253,
|
|
|
|
|
57, 57, 249, 57, 257, 255, 254, 57, 57, 57,
|
|
|
|
|
256, 57, 265, 57, 57, 263, 260, 57, 262, 266,
|
|
|
|
|
57, 258, 259, 264, 57, 267, 57, 268, 269, 261,
|
|
|
|
|
57, 57, 57, 57, 57, 271, 270, 57, 273, 57,
|
|
|
|
|
274, 57, 276, 57, 57, 57, 57, 57, 57, 282,
|
|
|
|
|
|
|
|
|
|
277, 280, 272, 275, 57, 278, 281, 57, 285, 57,
|
2008-10-22 08:01:40 -04:00
|
|
|
57, 292, 290, 283, 279, 286, 284, 57, 57, 57,
|
|
|
|
|
294, 57, 291, 287, 57, 57, 57, 57, 57, 289,
|
|
|
|
|
302, 57, 299, 288, 57, 57, 295, 296, 304, 57,
|
|
|
|
|
57, 57, 57, 293, 303, 297, 298, 300, 57, 301,
|
|
|
|
|
56, 307, 305, 309, 57, 308, 306, 310, 57, 311,
|
|
|
|
|
312, 57, 313, 57, 57, 57, 57, 57, 316, 57,
|
|
|
|
|
314, 315, 57, 57, 318, 57, 317, 57, 57, 325,
|
|
|
|
|
320, 57, 326, 57, 322, 57, 319, 57, 327, 323,
|
|
|
|
|
57, 321, 57, 324, 328, 331, 57, 330, 57, 57,
|
|
|
|
|
|
|
|
|
|
57, 333, 332, 57, 335, 57, 334, 57, 57, 57,
|
|
|
|
|
340, 57, 57, 338, 339, 57, 329, 57, 57, 57,
|
|
|
|
|
341, 337, 342, 336, 343, 57, 57, 57, 344, 57,
|
|
|
|
|
346, 350, 345, 347, 57, 348, 57, 57, 351, 57,
|
|
|
|
|
349, 57, 57, 352, 57, 57, 354, 57, 57, 356,
|
|
|
|
|
353, 57, 357, 358, 355, 57, 359, 57, 365, 362,
|
|
|
|
|
363, 57, 360, 57, 361, 57, 364, 57, 57, 57,
|
|
|
|
|
57, 371, 57, 57, 370, 367, 57, 377, 57, 366,
|
|
|
|
|
380, 57, 57, 368, 57, 382, 369, 57, 57, 381,
|
|
|
|
|
57, 372, 57, 384, 373, 57, 378, 57, 379, 374,
|
|
|
|
|
|
|
|
|
|
385, 57, 57, 383, 57, 375, 376, 57, 388, 387,
|
|
|
|
|
386, 390, 57, 57, 57, 57, 391, 389, 57, 57,
|
|
|
|
|
392, 57, 395, 393, 396, 57, 394, 399, 397, 398,
|
|
|
|
|
57, 57, 57, 57, 400, 57, 402, 57, 57, 401,
|
|
|
|
|
403, 57, 405, 57, 57, 406, 57, 57, 404, 412,
|
|
|
|
|
57, 57, 408, 410, 57, 57, 57, 407, 409, 57,
|
|
|
|
|
411, 415, 418, 414, 57, 417, 57, 57, 57, 413,
|
|
|
|
|
422, 57, 57, 57, 57, 57, 416, 57, 434, 57,
|
|
|
|
|
420, 57, 57, 57, 419, 57, 435, 423, 421, 57,
|
|
|
|
|
431, 432, 57, 436, 439, 438, 57, 424, 57, 430,
|
|
|
|
|
|
|
|
|
|
433, 425, 57, 426, 57, 440, 443, 427, 57, 428,
|
|
|
|
|
442, 437, 57, 441, 429, 444, 445, 57, 446, 57,
|
|
|
|
|
57, 57, 447, 57, 57, 57, 450, 57, 57, 452,
|
|
|
|
|
57, 448, 57, 449, 451, 57, 57, 456, 57, 57,
|
|
|
|
|
457, 458, 454, 57, 460, 455, 461, 453, 459, 57,
|
|
|
|
|
462, 57, 57, 463, 57, 57, 57, 466, 465, 57,
|
|
|
|
|
467, 468, 469, 57, 57, 57, 57, 464, 57, 57,
|
|
|
|
|
477, 473, 475, 474, 57, 57, 479, 57, 472, 57,
|
|
|
|
|
57, 470, 482, 57, 471, 57, 57, 57, 57, 478,
|
|
|
|
|
487, 57, 57, 57, 481, 57, 484, 488, 480, 57,
|
|
|
|
|
|
|
|
|
|
57, 483, 486, 57, 491, 489, 57, 490, 493, 57,
|
|
|
|
|
485, 57, 57, 57, 57, 492, 57, 496, 498, 57,
|
|
|
|
|
495, 494, 57, 57, 57, 497, 57, 57, 499, 57,
|
|
|
|
|
504, 500, 57, 57, 57, 57, 57, 509, 501, 511,
|
|
|
|
|
57, 503, 505, 502, 507, 512, 506, 508, 57, 513,
|
|
|
|
|
57, 515, 510, 514, 57, 516, 57, 57, 57, 520,
|
|
|
|
|
521, 57, 517, 57, 57, 57, 519, 57, 522, 57,
|
|
|
|
|
524, 523, 518, 528, 57, 525, 57, 526, 57, 527,
|
|
|
|
|
57, 57, 57, 57, 536, 57, 537, 57, 532, 529,
|
|
|
|
|
530, 57, 539, 57, 57, 57, 538, 531, 57, 533,
|
|
|
|
|
|
|
|
|
|
57, 57, 535, 541, 543, 542, 545, 534, 544, 57,
|
|
|
|
|
546, 57, 547, 57, 540, 57, 57, 57, 548, 550,
|
|
|
|
|
57, 57, 57, 57, 554, 57, 57, 57, 57, 558,
|
|
|
|
|
57, 57, 549, 559, 57, 57, 551, 57, 57, 57,
|
|
|
|
|
553, 552, 563, 57, 567, 555, 557, 57, 561, 57,
|
|
|
|
|
564, 556, 57, 560, 568, 562, 566, 565, 57, 57,
|
|
|
|
|
57, 571, 57, 569, 57, 575, 576, 570, 57, 574,
|
|
|
|
|
57, 57, 57, 577, 572, 57, 582, 57, 580, 57,
|
|
|
|
|
578, 573, 581, 57, 584, 583, 57, 579, 57, 57,
|
|
|
|
|
57, 57, 57, 57, 57, 592, 57, 57, 57, 57,
|
|
|
|
|
|
|
|
|
|
57, 593, 596, 57, 57, 585, 589, 586, 57, 587,
|
|
|
|
|
588, 591, 594, 597, 590, 57, 599, 600, 595, 603,
|
|
|
|
|
598, 57, 57, 601, 57, 57, 57, 57, 602, 606,
|
|
|
|
|
57, 57, 608, 57, 57, 57, 57, 57, 610, 57,
|
|
|
|
|
604, 605, 57, 57, 609, 615, 57, 607, 617, 57,
|
|
|
|
|
57, 616, 57, 57, 611, 612, 613, 57, 619, 614,
|
|
|
|
|
57, 57, 618, 57, 622, 620, 625, 57, 623, 627,
|
|
|
|
|
57, 57, 626, 57, 621, 57, 628, 624, 57, 57,
|
|
|
|
|
634, 57, 57, 57, 57, 57, 57, 57, 57, 57,
|
|
|
|
|
57, 629, 742, 632, 633, 630, 639, 57, 631, 640,
|
|
|
|
|
|
|
|
|
|
57, 638, 635, 636, 641, 637, 642, 57, 643, 644,
|
|
|
|
|
647, 57, 645, 648, 57, 57, 646, 57, 57, 57,
|
|
|
|
|
57, 57, 654, 57, 656, 57, 57, 657, 57, 57,
|
|
|
|
|
650, 649, 57, 652, 658, 57, 651, 57, 653, 57,
|
|
|
|
|
659, 655, 57, 661, 662, 665, 660, 57, 57, 57,
|
|
|
|
|
57, 666, 57, 667, 668, 57, 57, 672, 663, 669,
|
|
|
|
|
664, 57, 57, 57, 57, 676, 57, 670, 671, 57,
|
|
|
|
|
675, 678, 57, 673, 679, 680, 681, 57, 677, 57,
|
|
|
|
|
57, 674, 682, 57, 683, 57, 57, 685, 687, 684,
|
|
|
|
|
57, 690, 57, 57, 689, 57, 57, 57, 686, 57,
|
|
|
|
|
|
|
|
|
|
57, 57, 57, 57, 57, 699, 57, 57, 57, 691,
|
|
|
|
|
57, 692, 57, 704, 701, 688, 693, 702, 57, 694,
|
|
|
|
|
695, 696, 57, 697, 57, 57, 700, 708, 57, 698,
|
|
|
|
|
707, 710, 57, 57, 57, 57, 703, 57, 706, 711,
|
|
|
|
|
57, 57, 712, 57, 705, 57, 715, 57, 709, 719,
|
|
|
|
|
713, 57, 716, 720, 57, 722, 714, 721, 57, 718,
|
|
|
|
|
57, 723, 717, 724, 57, 727, 57, 57, 725, 57,
|
|
|
|
|
57, 57, 726, 730, 57, 57, 57, 731, 57, 57,
|
|
|
|
|
732, 729, 733, 57, 736, 57, 57, 734, 739, 728,
|
|
|
|
|
57, 735, 57, 57, 738, 737, 57, 741, 743, 57,
|
|
|
|
|
|
|
|
|
|
57, 745, 57, 740, 57, 57, 57, 57, 57, 57,
|
|
|
|
|
744, 753, 57, 746, 747, 57, 748, 749, 755, 57,
|
|
|
|
|
752, 750, 57, 57, 758, 57, 754, 751, 757, 57,
|
|
|
|
|
759, 57, 57, 57, 760, 763, 57, 57, 756, 57,
|
|
|
|
|
57, 764, 57, 57, 57, 57, 57, 766, 57, 761,
|
|
|
|
|
57, 767, 762, 770, 768, 771, 765, 769, 57, 772,
|
|
|
|
|
57, 57, 773, 57, 774, 57, 775, 776, 778, 57,
|
|
|
|
|
830, 57, 777, 57, 779, 781, 57, 780, 782, 783,
|
|
|
|
|
57, 785, 57, 57, 786, 784, 57, 57, 57, 57,
|
|
|
|
|
57, 57, 788, 789, 57, 57, 57, 57, 787, 57,
|
|
|
|
|
|
|
|
|
|
796, 57, 57, 790, 57, 799, 829, 794, 57, 791,
|
|
|
|
|
792, 57, 797, 57, 798, 793, 57, 795, 800, 57,
|
|
|
|
|
801, 57, 803, 57, 802, 804, 57, 805, 806, 57,
|
|
|
|
|
57, 808, 57, 57, 811, 807, 810, 57, 57, 57,
|
|
|
|
|
57, 814, 813, 57, 812, 816, 57, 818, 57, 819,
|
|
|
|
|
57, 57, 809, 57, 821, 57, 815, 57, 57, 57,
|
|
|
|
|
57, 57, 817, 823, 825, 57, 57, 822, 57, 832,
|
|
|
|
|
827, 57, 57, 57, 828, 826, 833, 820, 824, 57,
|
|
|
|
|
831, 57, 835, 57, 834, 837, 57, 57, 836, 57,
|
|
|
|
|
57, 838, 839, 840, 57, 843, 57, 57, 57, 842,
|
|
|
|
|
|
|
|
|
|
57, 57, 844, 846, 57, 57, 848, 57, 849, 847,
|
|
|
|
|
841, 850, 57, 845, 851, 57, 852, 57, 853, 57,
|
|
|
|
|
854, 855, 57, 57, 57, 858, 57, 57, 57, 857,
|
|
|
|
|
860, 57, 859, 862, 57, 57, 861, 57, 57, 57,
|
|
|
|
|
57, 868, 57, 57, 856, 57, 57, 863, 57, 57,
|
|
|
|
|
865, 866, 867, 57, 869, 864, 57, 57, 873, 875,
|
|
|
|
|
57, 872, 874, 57, 877, 878, 871, 876, 57, 870,
|
|
|
|
|
57, 57, 57, 883, 57, 884, 57, 57, 57, 57,
|
|
|
|
|
57, 57, 890, 57, 889, 57, 879, 881, 880, 57,
|
|
|
|
|
57, 882, 885, 893, 57, 886, 895, 57, 887, 888,
|
|
|
|
|
|
|
|
|
|
891, 57, 896, 57, 57, 57, 57, 892, 57, 894,
|
|
|
|
|
899, 900, 57, 898, 57, 57, 57, 902, 57, 903,
|
|
|
|
|
905, 57, 931, 901, 57, 897, 906, 57, 908, 907,
|
|
|
|
|
904, 57, 57, 57, 909, 57, 912, 57, 57, 57,
|
|
|
|
|
57, 910, 911, 916, 57, 57, 913, 57, 57, 917,
|
|
|
|
|
57, 57, 919, 918, 922, 57, 57, 914, 915, 920,
|
|
|
|
|
57, 921, 57, 924, 57, 926, 57, 925, 927, 57,
|
|
|
|
|
928, 923, 929, 930, 57, 57, 57, 57, 57, 932,
|
|
|
|
|
57, 57, 57, 933, 57, 936, 57, 57, 57, 57,
|
|
|
|
|
941, 943, 57, 939, 935, 934, 57, 945, 57, 57,
|
|
|
|
|
|
|
|
|
|
944, 937, 57, 57, 949, 57, 940, 942, 938, 57,
|
|
|
|
|
947, 946, 57, 57, 950, 57, 57, 951, 954, 57,
|
|
|
|
|
57, 57, 57, 57, 948, 958, 961, 57, 952, 955,
|
|
|
|
|
953, 957, 57, 963, 57, 956, 57, 962, 57, 966,
|
|
|
|
|
57, 960, 967, 57, 57, 57, 57, 959, 970, 57,
|
|
|
|
|
971, 57, 57, 57, 974, 57, 964, 968, 973, 57,
|
|
|
|
|
965, 975, 57, 57, 969, 972, 976, 57, 977, 978,
|
|
|
|
|
57, 57, 979, 980, 57, 57, 982, 57, 57, 984,
|
|
|
|
|
981, 57, 57, 983, 57, 985, 986, 57, 987, 988,
|
|
|
|
|
57, 990, 57, 991, 57, 992, 57, 57, 993, 57,
|
|
|
|
|
|
|
|
|
|
989, 57, 57, 57, 57, 999, 57, 57, 57, 57,
|
|
|
|
|
995, 57, 57, 57, 57, 57, 57, 996, 997, 994,
|
|
|
|
|
57, 57, 998, 38, 38, 38, 38, 38, 38, 43,
|
|
|
|
|
43, 43, 43, 43, 43, 47, 47, 47, 47, 47,
|
|
|
|
|
47, 52, 52, 52, 52, 52, 52, 60, 60, 57,
|
|
|
|
|
60, 60, 60, 98, 98, 57, 57, 57, 98, 100,
|
|
|
|
|
100, 57, 57, 100, 105, 105, 57, 57, 57, 105,
|
|
|
|
|
61, 61, 57, 61, 61, 61, 57, 57, 57, 57,
|
2008-10-06 05:28:50 -04:00
|
|
|
57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
|
|
|
|
|
57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
|
|
|
|
|
|
|
|
|
|
57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
|
|
|
|
|
57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
|
2008-10-22 08:01:40 -04:00
|
|
|
57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
|
|
|
|
|
57, 57, 57, 57, 57, 57, 57, 106, 104, 103,
|
|
|
|
|
101, 99, 57, 106, 104, 103, 101, 99, 57, 1000,
|
|
|
|
|
11, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
static yyconst flex_int16_t yy_chk[2091] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 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,
|
2008-10-06 05:28:50 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 3,
|
|
|
|
|
3, 3, 4, 4, 4, 19, 5, 5, 19, 3,
|
|
|
|
|
5, 13, 4, 6, 6, 13, 5, 6, 9, 9,
|
2008-10-22 08:01:40 -04:00
|
|
|
9, 31, 1009, 6, 7, 7, 7, 7, 9, 7,
|
2008-10-06 05:28:50 -04:00
|
|
|
10, 10, 10, 153, 22, 7, 8, 8, 8, 8,
|
|
|
|
|
10, 8, 31, 16, 23, 16, 16, 8, 16, 153,
|
|
|
|
|
18, 21, 18, 18, 16, 18, 20, 20, 22, 23,
|
|
|
|
|
|
|
|
|
|
21, 24, 24, 21, 20, 25, 21, 26, 27, 25,
|
|
|
|
|
24, 20, 28, 27, 29, 30, 30, 32, 36, 25,
|
|
|
|
|
30, 46, 26, 33, 46, 34, 32, 28, 33, 29,
|
|
|
|
|
34, 63, 32, 29, 63, 32, 30, 36, 33, 35,
|
|
|
|
|
35, 33, 37, 37, 140, 34, 140, 37, 42, 42,
|
|
|
|
|
51, 64, 51, 51, 64, 51, 65, 35, 55, 55,
|
|
|
|
|
57, 66, 57, 57, 58, 57, 67, 60, 58, 60,
|
|
|
|
|
60, 68, 60, 71, 65, 66, 69, 70, 60, 73,
|
|
|
|
|
72, 69, 74, 73, 67, 76, 75, 74, 77, 75,
|
|
|
|
|
79, 71, 75, 68, 79, 80, 78, 70, 72, 78,
|
|
|
|
|
|
|
|
|
|
82, 81, 80, 78, 76, 83, 75, 82, 84, 86,
|
|
|
|
|
87, 85, 88, 77, 81, 85, 89, 90, 83, 87,
|
|
|
|
|
91, 92, 92, 93, 94, 88, 169, 86, 84, 95,
|
|
|
|
|
97, 89, 96, 116, 95, 169, 90, 116, 91, 99,
|
|
|
|
|
99, 93, 92, 101, 96, 94, 101, 103, 97, 103,
|
|
|
|
|
103, 107, 103, 106, 106, 108, 107, 109, 110, 111,
|
|
|
|
|
112, 114, 115, 108, 111, 112, 114, 118, 117, 120,
|
|
|
|
|
121, 122, 109, 117, 119, 121, 126, 123, 110, 113,
|
|
|
|
|
166, 118, 123, 113, 125, 115, 119, 120, 113, 119,
|
|
|
|
|
125, 122, 166, 113, 124, 124, 127, 126, 128, 113,
|
|
|
|
|
|
|
|
|
|
113, 127, 129, 128, 130, 131, 133, 129, 132, 130,
|
|
|
|
|
134, 136, 131, 135, 132, 137, 138, 139, 141, 143,
|
|
|
|
|
137, 142, 144, 149, 143, 141, 133, 144, 135, 146,
|
|
|
|
|
148, 136, 134, 145, 147, 145, 154, 139, 138, 147,
|
|
|
|
|
142, 149, 143, 150, 155, 148, 150, 155, 146, 151,
|
|
|
|
|
151, 154, 145, 152, 152, 156, 157, 158, 158, 156,
|
|
|
|
|
159, 160, 161, 162, 163, 159, 160, 164, 164, 165,
|
|
|
|
|
157, 167, 173, 168, 167, 173, 170, 163, 171, 174,
|
|
|
|
|
171, 171, 161, 175, 162, 168, 176, 165, 170, 172,
|
|
|
|
|
172, 177, 177, 178, 178, 176, 174, 179, 175, 174,
|
|
|
|
|
|
|
|
|
|
180, 181, 182, 183, 184, 180, 185, 182, 186, 184,
|
2008-10-22 08:01:40 -04:00
|
|
|
187, 185, 183, 187, 191, 412, 188, 179, 192, 193,
|
|
|
|
|
190, 181, 194, 191, 193, 195, 412, 197, 186, 187,
|
2008-10-06 05:28:50 -04:00
|
|
|
188, 189, 196, 189, 189, 190, 200, 192, 198, 201,
|
|
|
|
|
195, 197, 194, 198, 202, 189, 189, 189, 199, 199,
|
|
|
|
|
203, 199, 196, 204, 203, 201, 200, 206, 205, 207,
|
|
|
|
|
202, 208, 210, 211, 209, 208, 206, 210, 207, 211,
|
|
|
|
|
212, 204, 205, 209, 215, 212, 213, 213, 214, 206,
|
|
|
|
|
216, 217, 221, 214, 222, 216, 215, 218, 218, 220,
|
|
|
|
|
220, 223, 222, 224, 226, 230, 227, 231, 228, 229,
|
|
|
|
|
|
|
|
|
|
223, 227, 217, 221, 229, 224, 228, 232, 232, 233,
|
|
|
|
|
235, 235, 234, 230, 226, 232, 231, 234, 236, 237,
|
2008-10-22 08:01:40 -04:00
|
|
|
237, 238, 234, 232, 241, 239, 240, 242, 243, 233,
|
|
|
|
|
245, 246, 242, 232, 244, 245, 238, 239, 247, 247,
|
|
|
|
|
248, 249, 251, 236, 246, 240, 241, 243, 250, 244,
|
|
|
|
|
1005, 250, 248, 252, 252, 251, 249, 253, 253, 254,
|
|
|
|
|
255, 255, 256, 256, 254, 257, 262, 258, 259, 261,
|
|
|
|
|
257, 258, 260, 259, 261, 263, 260, 264, 266, 266,
|
|
|
|
|
263, 265, 267, 999, 265, 268, 262, 267, 268, 265,
|
|
|
|
|
269, 264, 270, 265, 269, 271, 272, 270, 273, 275,
|
|
|
|
|
|
|
|
|
|
271, 273, 272, 274, 275, 276, 274, 277, 278, 279,
|
|
|
|
|
280, 281, 284, 278, 279, 280, 269, 287, 286, 282,
|
|
|
|
|
281, 277, 282, 276, 283, 288, 285, 293, 283, 283,
|
|
|
|
|
285, 289, 284, 286, 292, 287, 289, 290, 290, 291,
|
|
|
|
|
288, 294, 295, 291, 299, 301, 293, 296, 297, 295,
|
|
|
|
|
292, 298, 296, 297, 294, 300, 298, 302, 305, 301,
|
|
|
|
|
302, 306, 299, 305, 300, 303, 303, 307, 308, 311,
|
|
|
|
|
314, 315, 317, 319, 314, 307, 315, 317, 318, 306,
|
|
|
|
|
320, 320, 321, 308, 322, 322, 311, 316, 323, 321,
|
|
|
|
|
326, 316, 324, 324, 316, 992, 318, 325, 319, 316,
|
|
|
|
|
|
|
|
|
|
325, 327, 329, 323, 335, 316, 316, 328, 328, 327,
|
|
|
|
|
326, 330, 330, 331, 332, 333, 331, 329, 334, 336,
|
|
|
|
|
332, 337, 335, 333, 336, 341, 334, 339, 337, 338,
|
|
|
|
|
338, 340, 339, 345, 340, 342, 342, 343, 347, 341,
|
|
|
|
|
343, 346, 345, 348, 349, 346, 351, 350, 343, 352,
|
|
|
|
|
353, 354, 348, 350, 352, 356, 355, 347, 349, 358,
|
|
|
|
|
351, 355, 358, 354, 357, 357, 359, 360, 361, 353,
|
|
|
|
|
362, 362, 363, 364, 366, 367, 356, 368, 370, 369,
|
|
|
|
|
360, 372, 373, 370, 359, 371, 371, 363, 361, 991,
|
|
|
|
|
367, 368, 377, 371, 373, 372, 378, 364, 365, 366,
|
|
|
|
|
|
|
|
|
|
369, 365, 376, 365, 374, 374, 377, 365, 375, 365,
|
|
|
|
|
376, 371, 383, 375, 365, 378, 379, 379, 381, 382,
|
|
|
|
|
384, 385, 382, 381, 387, 386, 385, 388, 389, 387,
|
|
|
|
|
391, 383, 392, 384, 386, 393, 394, 392, 401, 395,
|
|
|
|
|
393, 394, 389, 396, 396, 391, 397, 388, 395, 399,
|
|
|
|
|
399, 397, 400, 399, 402, 403, 404, 402, 401, 405,
|
|
|
|
|
403, 404, 405, 406, 407, 408, 409, 400, 410, 411,
|
|
|
|
|
413, 409, 411, 410, 414, 413, 415, 415, 408, 416,
|
|
|
|
|
417, 406, 418, 419, 407, 421, 418, 420, 423, 414,
|
|
|
|
|
424, 426, 425, 427, 417, 424, 420, 425, 416, 428,
|
|
|
|
|
|
|
|
|
|
429, 419, 423, 431, 428, 426, 434, 427, 430, 430,
|
|
|
|
|
421, 432, 433, 436, 435, 429, 437, 433, 435, 438,
|
|
|
|
|
432, 431, 439, 440, 441, 434, 443, 442, 436, 447,
|
|
|
|
|
441, 437, 448, 446, 449, 444, 990, 447, 438, 449,
|
|
|
|
|
451, 440, 442, 439, 444, 450, 443, 446, 456, 450,
|
|
|
|
|
450, 452, 448, 451, 453, 453, 452, 454, 455, 457,
|
|
|
|
|
458, 461, 454, 459, 457, 458, 456, 460, 459, 462,
|
|
|
|
|
461, 460, 455, 462, 463, 461, 464, 461, 465, 461,
|
|
|
|
|
466, 467, 468, 469, 470, 470, 471, 471, 466, 463,
|
|
|
|
|
464, 472, 473, 473, 474, 475, 472, 465, 477, 467,
|
|
|
|
|
|
|
|
|
|
476, 478, 469, 475, 477, 476, 480, 468, 478, 483,
|
|
|
|
|
481, 480, 482, 484, 474, 481, 486, 482, 483, 485,
|
|
|
|
|
485, 487, 488, 489, 489, 490, 491, 495, 492, 494,
|
|
|
|
|
496, 499, 484, 494, 494, 497, 486, 501, 498, 502,
|
|
|
|
|
488, 487, 498, 500, 502, 490, 492, 503, 496, 505,
|
|
|
|
|
499, 491, 506, 495, 503, 497, 501, 500, 504, 507,
|
|
|
|
|
508, 506, 988, 504, 509, 510, 511, 505, 515, 509,
|
|
|
|
|
510, 511, 512, 512, 507, 514, 517, 517, 516, 518,
|
|
|
|
|
514, 508, 516, 516, 519, 518, 520, 515, 521, 519,
|
|
|
|
|
522, 523, 524, 525, 527, 527, 526, 528, 530, 529,
|
|
|
|
|
|
|
|
|
|
533, 528, 531, 531, 541, 520, 524, 521, 532, 522,
|
|
|
|
|
523, 526, 529, 532, 525, 542, 534, 535, 530, 541,
|
|
|
|
|
533, 534, 535, 538, 538, 540, 543, 545, 540, 544,
|
|
|
|
|
544, 546, 546, 547, 548, 549, 552, 551, 548, 553,
|
|
|
|
|
542, 543, 557, 554, 547, 554, 555, 545, 556, 561,
|
|
|
|
|
563, 555, 558, 556, 549, 551, 552, 564, 558, 553,
|
|
|
|
|
560, 565, 557, 562, 562, 560, 565, 566, 563, 567,
|
|
|
|
|
567, 568, 566, 569, 561, 570, 568, 564, 571, 572,
|
|
|
|
|
574, 573, 575, 576, 577, 574, 578, 579, 580, 584,
|
|
|
|
|
687, 569, 687, 572, 573, 570, 579, 583, 571, 579,
|
|
|
|
|
|
|
|
|
|
585, 578, 575, 576, 580, 577, 583, 586, 584, 585,
|
|
|
|
|
587, 589, 585, 588, 588, 587, 586, 590, 591, 592,
|
|
|
|
|
593, 594, 594, 595, 597, 607, 603, 598, 599, 597,
|
|
|
|
|
590, 589, 598, 592, 599, 602, 591, 600, 593, 604,
|
|
|
|
|
600, 595, 605, 602, 603, 607, 600, 608, 609, 610,
|
|
|
|
|
611, 608, 612, 609, 610, 622, 613, 614, 604, 611,
|
|
|
|
|
605, 615, 614, 616, 617, 618, 618, 612, 613, 619,
|
|
|
|
|
617, 620, 620, 615, 621, 622, 623, 623, 619, 621,
|
|
|
|
|
629, 616, 624, 624, 625, 625, 626, 628, 630, 626,
|
|
|
|
|
631, 633, 628, 630, 632, 632, 633, 634, 629, 635,
|
|
|
|
|
|
|
|
|
|
636, 637, 638, 639, 640, 640, 641, 642, 643, 634,
|
|
|
|
|
644, 634, 645, 645, 642, 631, 634, 643, 646, 635,
|
|
|
|
|
636, 637, 647, 638, 652, 649, 641, 650, 651, 639,
|
|
|
|
|
649, 652, 650, 654, 653, 655, 644, 656, 647, 653,
|
|
|
|
|
657, 659, 654, 658, 646, 660, 657, 667, 651, 661,
|
|
|
|
|
655, 665, 658, 662, 661, 663, 656, 662, 662, 660,
|
|
|
|
|
663, 664, 659, 665, 666, 668, 664, 669, 666, 670,
|
|
|
|
|
668, 672, 667, 671, 671, 673, 674, 672, 675, 677,
|
|
|
|
|
673, 670, 674, 679, 679, 680, 685, 675, 684, 669,
|
|
|
|
|
690, 677, 692, 684, 680, 679, 686, 686, 688, 688,
|
|
|
|
|
|
|
|
|
|
691, 691, 693, 685, 694, 695, 696, 697, 700, 699,
|
|
|
|
|
690, 699, 702, 692, 693, 698, 694, 695, 701, 701,
|
|
|
|
|
698, 696, 704, 703, 704, 705, 700, 697, 703, 706,
|
|
|
|
|
705, 707, 708, 712, 706, 709, 710, 711, 702, 713,
|
|
|
|
|
709, 710, 718, 716, 715, 714, 717, 712, 719, 707,
|
|
|
|
|
779, 713, 708, 715, 714, 716, 711, 714, 726, 717,
|
|
|
|
|
720, 722, 718, 723, 719, 725, 720, 722, 724, 724,
|
|
|
|
|
779, 727, 723, 728, 725, 727, 731, 726, 728, 729,
|
|
|
|
|
729, 732, 732, 733, 733, 731, 734, 735, 737, 736,
|
|
|
|
|
738, 739, 735, 736, 740, 741, 742, 744, 734, 745,
|
|
|
|
|
|
|
|
|
|
744, 746, 777, 737, 747, 747, 777, 741, 753, 738,
|
|
|
|
|
739, 750, 745, 986, 746, 740, 760, 742, 748, 748,
|
|
|
|
|
749, 749, 751, 751, 750, 752, 752, 753, 754, 754,
|
|
|
|
|
756, 757, 757, 758, 760, 756, 759, 759, 761, 762,
|
|
|
|
|
763, 763, 762, 765, 761, 764, 764, 766, 766, 767,
|
|
|
|
|
767, 768, 758, 769, 769, 770, 763, 772, 771, 773,
|
|
|
|
|
774, 775, 765, 771, 773, 776, 982, 770, 781, 781,
|
|
|
|
|
775, 780, 784, 791, 776, 774, 782, 768, 772, 786,
|
|
|
|
|
780, 782, 786, 787, 784, 788, 788, 789, 787, 790,
|
|
|
|
|
792, 789, 790, 791, 793, 794, 795, 796, 797, 793,
|
|
|
|
|
|
|
|
|
|
794, 798, 795, 797, 799, 813, 799, 802, 802, 798,
|
|
|
|
|
792, 805, 805, 796, 807, 807, 809, 809, 811, 812,
|
|
|
|
|
812, 813, 814, 811, 815, 817, 817, 820, 821, 815,
|
|
|
|
|
821, 822, 820, 823, 823, 824, 822, 825, 826, 827,
|
|
|
|
|
828, 829, 829, 831, 814, 830, 832, 824, 833, 838,
|
|
|
|
|
826, 827, 828, 834, 830, 825, 840, 835, 834, 836,
|
|
|
|
|
836, 833, 835, 839, 839, 840, 832, 838, 841, 831,
|
|
|
|
|
842, 843, 844, 845, 845, 846, 848, 847, 849, 853,
|
|
|
|
|
846, 854, 855, 855, 854, 856, 841, 843, 842, 857,
|
|
|
|
|
860, 844, 847, 859, 859, 848, 861, 861, 849, 853,
|
|
|
|
|
|
|
|
|
|
856, 863, 863, 864, 865, 866, 867, 857, 869, 860,
|
|
|
|
|
866, 867, 870, 865, 871, 872, 877, 870, 904, 871,
|
|
|
|
|
873, 873, 904, 869, 876, 864, 874, 874, 877, 876,
|
|
|
|
|
872, 878, 879, 880, 878, 881, 881, 882, 884, 885,
|
|
|
|
|
887, 879, 880, 886, 886, 888, 882, 889, 892, 887,
|
|
|
|
|
891, 896, 889, 888, 894, 894, 901, 884, 885, 891,
|
|
|
|
|
907, 892, 897, 897, 898, 899, 899, 898, 900, 900,
|
|
|
|
|
901, 896, 902, 903, 903, 908, 909, 902, 910, 907,
|
|
|
|
|
911, 912, 913, 908, 914, 911, 915, 917, 921, 918,
|
|
|
|
|
917, 919, 919, 914, 910, 909, 920, 921, 924, 925,
|
|
|
|
|
|
|
|
|
|
920, 912, 923, 928, 928, 929, 915, 918, 913, 932,
|
|
|
|
|
924, 923, 931, 935, 929, 933, 936, 931, 934, 934,
|
|
|
|
|
938, 939, 940, 937, 925, 938, 941, 941, 932, 935,
|
|
|
|
|
933, 937, 942, 944, 944, 936, 945, 942, 946, 947,
|
|
|
|
|
947, 940, 948, 948, 950, 949, 953, 939, 951, 951,
|
|
|
|
|
952, 952, 980, 955, 956, 956, 945, 949, 955, 972,
|
|
|
|
|
946, 957, 957, 959, 950, 953, 958, 958, 959, 960,
|
|
|
|
|
960, 962, 962, 964, 964, 965, 968, 968, 969, 972,
|
|
|
|
|
965, 973, 983, 969, 979, 973, 977, 977, 979, 981,
|
|
|
|
|
981, 984, 984, 985, 985, 987, 987, 989, 989, 993,
|
|
|
|
|
|
|
|
|
|
983, 994, 995, 997, 996, 998, 998, 978, 976, 975,
|
|
|
|
|
994, 974, 971, 970, 967, 966, 963, 995, 996, 993,
|
|
|
|
|
961, 954, 997, 1001, 1001, 1001, 1001, 1001, 1001, 1002,
|
|
|
|
|
1002, 1002, 1002, 1002, 1002, 1003, 1003, 1003, 1003, 1003,
|
|
|
|
|
1003, 1004, 1004, 1004, 1004, 1004, 1004, 1006, 1006, 943,
|
|
|
|
|
1006, 1006, 1006, 1007, 1007, 930, 927, 926, 1007, 1008,
|
|
|
|
|
1008, 922, 916, 1008, 1010, 1010, 906, 905, 895, 1010,
|
|
|
|
|
1011, 1011, 893, 1011, 1011, 1011, 890, 883, 875, 868,
|
|
|
|
|
862, 858, 852, 851, 850, 837, 819, 818, 816, 810,
|
|
|
|
|
808, 806, 804, 803, 801, 800, 785, 783, 778, 755,
|
|
|
|
|
|
|
|
|
|
743, 730, 721, 689, 683, 682, 681, 678, 676, 648,
|
|
|
|
|
627, 606, 601, 596, 582, 581, 559, 550, 539, 537,
|
|
|
|
|
536, 513, 493, 479, 445, 422, 398, 390, 380, 344,
|
|
|
|
|
313, 312, 310, 309, 304, 225, 219, 105, 104, 102,
|
|
|
|
|
100, 98, 56, 52, 48, 47, 43, 38, 12, 11,
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
|
|
|
|
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
static yy_state_type yy_last_accepting_state;
|
|
|
|
|
static char *yy_last_accepting_cpos;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
extern int yy_flex_debug;
|
|
|
|
|
int yy_flex_debug = 0;
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* 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;
|
2008-06-09 05:34:40 -04:00
|
|
|
#define yymore() ((yy_more_flag) = 1)
|
|
|
|
|
#define YY_MORE_ADJ (yy_more_len)
|
2007-10-18 18:49:08 -04:00
|
|
|
#define YY_RESTORE_YY_MORE_OFFSET
|
|
|
|
|
char *yytext;
|
|
|
|
|
#line 1 "util/configlexer.lex"
|
|
|
|
|
#line 2 "util/configlexer.lex"
|
|
|
|
|
/*
|
|
|
|
|
* configlexer.lex - lexical analyzer for unbound config file
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2001-2006, NLnet Labs. All rights reserved
|
|
|
|
|
*
|
|
|
|
|
* See LICENSE for the license.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#include <string.h>
|
|
|
|
|
#include <strings.h>
|
|
|
|
|
|
|
|
|
|
#include "util/configyyrename.h"
|
|
|
|
|
#include "util/config_file.h"
|
|
|
|
|
#include "util/configparser.h"
|
|
|
|
|
void ub_c_error(const char *message);
|
|
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
#define LEXOUT(s) printf s /* used ONLY when debugging */
|
|
|
|
|
#else
|
|
|
|
|
#define LEXOUT(s)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define YDOUT LEXOUT(("v(%s )", yytext))
|
|
|
|
|
|
|
|
|
|
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 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;
|
|
|
|
|
}
|
|
|
|
|
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;
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE));
|
2007-10-18 18:49:08 -04:00
|
|
|
++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 ) \
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-05-22 06:41:13 -04:00
|
|
|
#define YY_NO_INPUT 1
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 88 "util/configlexer.lex"
|
|
|
|
|
#ifndef YY_NO_UNPUT
|
2008-06-09 05:29:44 -04:00
|
|
|
#define YY_NO_UNPUT 1
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif
|
|
|
|
|
#ifndef YY_NO_INPUT
|
|
|
|
|
#define YY_NO_INPUT 1
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 1334 "<stdout>"
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
#define INITIAL 0
|
2007-10-18 18:49:08 -04:00
|
|
|
#define quotedstring 1
|
2007-11-28 03:10:45 -05:00
|
|
|
#define singlequotedstr 2
|
|
|
|
|
#define include 3
|
|
|
|
|
#define include_quoted 4
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#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 );
|
2008-05-22 06:41:13 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Macros after this point can all be overridden by user definitions in
|
|
|
|
|
* section 1.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef YY_SKIP_YYWRAP
|
|
|
|
|
#ifdef __cplusplus
|
2008-06-09 05:34:40 -04:00
|
|
|
extern "C" int yywrap (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
extern int yywrap (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef yytext_ptr
|
2008-06-09 05:34:40 -04:00
|
|
|
static void yy_flex_strncpy (char *,yyconst char *,int );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YY_NEED_STRLEN
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_flex_strlen (yyconst char * );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef YY_NO_INPUT
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
static int yyinput (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
static int input (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#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().
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
#define ECHO fwrite( yytext, yyleng, 1, yyout )
|
2007-10-18 18:49:08 -04:00
|
|
|
#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) \
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
|
2007-10-18 18:49:08 -04:00
|
|
|
{ \
|
2008-06-09 05:34:40 -04:00
|
|
|
int c = '*'; \
|
|
|
|
|
unsigned n; \
|
2007-10-18 18:49:08 -04:00
|
|
|
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; \
|
|
|
|
|
} \
|
2008-06-09 05:34:40 -04:00
|
|
|
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); \
|
|
|
|
|
} \
|
|
|
|
|
}\
|
|
|
|
|
\
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
#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
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* end tables serialization structures and prototypes */
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Default declaration of generated scanner - a define so the user can
|
|
|
|
|
* easily add parameters.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef YY_DECL
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_DECL_IS_OURS 1
|
|
|
|
|
|
|
|
|
|
extern int yylex (void);
|
|
|
|
|
|
|
|
|
|
#define YY_DECL int yylex (void)
|
|
|
|
|
#endif /* !YY_DECL */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** The main scanner function which does all the work.
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_DECL
|
2008-06-09 05:34:40 -04:00
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register yy_state_type yy_current_state;
|
|
|
|
|
register char *yy_cp, *yy_bp;
|
|
|
|
|
register int yy_act;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
#line 107 "util/configlexer.lex"
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 1520 "<stdout>"
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( !(yy_init) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_init) = 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#ifdef YY_USER_INIT
|
|
|
|
|
YY_USER_INIT;
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! (yy_start) )
|
|
|
|
|
(yy_start) = 1; /* first start state */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( ! yyin )
|
|
|
|
|
yyin = stdin;
|
|
|
|
|
|
|
|
|
|
if ( ! yyout )
|
|
|
|
|
yyout = stdout;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! YY_CURRENT_BUFFER ) {
|
|
|
|
|
yyensure_buffer_stack ();
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE =
|
|
|
|
|
yy_create_buffer(yyin,YY_BUF_SIZE );
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_load_buffer_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
while ( 1 ) /* loops until end-of-file is reached */
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_more_len) = 0;
|
|
|
|
|
if ( (yy_more_flag) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
|
|
|
|
|
(yy_more_flag) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Support of yytext. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*yy_cp = (yy_hold_char);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_bp points to the position in yy_ch_buf of the start of
|
|
|
|
|
* the current run.
|
|
|
|
|
*/
|
|
|
|
|
yy_bp = yy_cp;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = (yy_start);
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_match:
|
|
|
|
|
do
|
|
|
|
|
{
|
|
|
|
|
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
|
|
|
|
|
if ( yy_accept[yy_current_state] )
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
|
|
|
(yy_last_accepting_cpos) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
|
|
|
{
|
|
|
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
2008-10-22 08:01:40 -04:00
|
|
|
if ( yy_current_state >= 1001 )
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_c = yy_meta[(unsigned int) yy_c];
|
|
|
|
|
}
|
|
|
|
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
|
|
|
|
++yy_cp;
|
|
|
|
|
}
|
2008-10-22 08:01:40 -04:00
|
|
|
while ( yy_base[yy_current_state] != 2051 );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
yy_find_action:
|
|
|
|
|
yy_act = yy_accept[yy_current_state];
|
|
|
|
|
if ( yy_act == 0 )
|
|
|
|
|
{ /* have to back up */
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_last_accepting_cpos);
|
|
|
|
|
yy_current_state = (yy_last_accepting_state);
|
2007-10-18 18:49:08 -04:00
|
|
|
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 */
|
2008-06-09 05:34:40 -04:00
|
|
|
*yy_cp = (yy_hold_char);
|
|
|
|
|
yy_cp = (yy_last_accepting_cpos);
|
|
|
|
|
yy_current_state = (yy_last_accepting_state);
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_find_action;
|
|
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 108 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("SP ")); /* ignore */ }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 2:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 109 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("comment(%s) ", yytext)); /* ignore */ }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 3:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 110 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ YDOUT; return VAR_SERVER;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 4:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 111 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ YDOUT; return VAR_NUM_THREADS;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 5:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 112 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ YDOUT; return VAR_VERBOSITY;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 6:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 113 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ YDOUT; return VAR_PORT;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 7:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 114 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_OUTGOING_RANGE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 8:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 115 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_OUTGOING_PORT_PERMIT;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 9:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 116 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_OUTGOING_PORT_AVOID;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 10:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 117 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_OUTGOING_NUM_TCP;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 11:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 118 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INCOMING_NUM_TCP;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 12:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 119 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_DO_IP4;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 13:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 120 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_DO_IP6;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 14:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 121 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_DO_UDP;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 15:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 122 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_DO_TCP;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 16:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 123 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_DO_DAEMONIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 17:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 124 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INTERFACE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 18:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 125 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_OUTGOING_INTERFACE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 19:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 126 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INTERFACE_AUTOMATIC;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 20:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 127 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_CHROOT;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 21:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 128 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_USERNAME;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 22:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 129 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_DIRECTORY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 23:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 130 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_LOGFILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 24:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 131 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_PIDFILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 25:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 132 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_ROOT_HINTS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 26:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 133 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_MSG_BUFFER_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 27:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 134 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_MSG_CACHE_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 28:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 135 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_MSG_CACHE_SLABS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 29:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 136 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_RRSET_CACHE_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 30:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 137 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_RRSET_CACHE_SLABS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 31:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 138 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_CACHE_MAX_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 32:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 139 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_HOST_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 33:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 140 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_LAME_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 34:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 141 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_SLABS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 35:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 142 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_NUMHOSTS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 36:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 143 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_LAME_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 37:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 144 "util/configlexer.lex"
|
2008-04-11 10:10:16 -04:00
|
|
|
{ YDOUT; return VAR_NUM_QUERIES_PER_THREAD;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 38:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 145 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_JOSTLE_TIMEOUT;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 39:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 146 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_TARGET_FETCH_POLICY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 40:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 147 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_SHORT_BUFSIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 41:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 148 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_LARGE_QUERIES;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 42:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 149 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_GLUE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 43:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 150 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_DNNSEC_STRIPPED;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 44:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 151 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_REFERRAL_PATH;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 45:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 152 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_USE_CAPS_FOR_ID;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 46:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 153 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_PRIVATE_ADDRESS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 47:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 154 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_PRIVATE_DOMAIN;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 48:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 155 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_STUB_ZONE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 49:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 156 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_NAME;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 50:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 157 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_STUB_ADDR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 51:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 158 "util/configlexer.lex"
|
2008-10-06 05:28:50 -04:00
|
|
|
{ YDOUT; return VAR_STUB_HOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 52:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 159 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_STUB_PRIME;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 53:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 160 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_ZONE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 54:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 161 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_ADDR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 55:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 162 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_HOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 56:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 163 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_DO_NOT_QUERY_ADDRESS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 57:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 164 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_DO_NOT_QUERY_LOCALHOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 58:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 165 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_ACCESS_CONTROL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 59:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 166 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_HIDE_IDENTITY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 60:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 167 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_HIDE_VERSION;}
|
2007-10-19 04:32:36 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 61:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 168 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_IDENTITY;}
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 62:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 169 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_VERSION;}
|
2007-10-22 02:25:46 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 63:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 170 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_MODULE_CONF;}
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 64:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 171 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_DLV_ANCHOR;}
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 65:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 172 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_DLV_ANCHOR_FILE;}
|
2007-11-19 10:32:55 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 66:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 173 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_TRUST_ANCHOR_FILE;}
|
2007-11-20 09:48:33 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 67:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 174 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_TRUSTED_KEYS_FILE;}
|
2007-11-20 09:48:33 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 68:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 175 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_TRUST_ANCHOR;}
|
2008-01-15 04:45:30 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 69:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 176 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_VAL_OVERRIDE_DATE;}
|
2008-02-05 05:23:44 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 70:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 177 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_BOGUS_TTL;}
|
2008-02-20 02:26:03 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 71:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 178 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_VAL_CLEAN_ADDITIONAL;}
|
2008-02-27 04:39:27 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 72:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 179 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_VAL_PERMISSIVE_MODE;}
|
2008-04-09 08:29:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 73:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 180 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_KEY_CACHE_SIZE;}
|
2008-04-09 11:07:37 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 74:
|
|
|
|
|
YY_RULE_SETUP
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 181 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_KEY_CACHE_SLABS;}
|
2008-08-13 10:30:35 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 75:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 182 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_NEG_CACHE_SIZE;}
|
2008-08-21 10:58:39 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 76:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 183 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_VAL_NSEC3_KEYSIZE_ITERATIONS;}
|
2008-08-27 09:02:22 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 77:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 184 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_USE_SYSLOG;}
|
2008-08-29 10:46:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 78:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 185 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_LOCAL_ZONE;}
|
2008-09-03 10:40:09 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 79:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 186 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_LOCAL_DATA;}
|
2008-09-03 10:40:09 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 80:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 187 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_LOCAL_DATA_PTR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
2008-09-03 10:40:09 -04:00
|
|
|
case 81:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2008-09-10 11:23:01 -04:00
|
|
|
#line 188 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_STATISTICS_INTERVAL;}
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 82:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 189 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_STATISTICS_CUMULATIVE;}
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 83:
|
|
|
|
|
YY_RULE_SETUP
|
2008-09-03 10:40:09 -04:00
|
|
|
#line 190 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_EXTENDED_STATISTICS;}
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 84:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 191 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_REMOTE_CONTROL; }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 85:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 192 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_CONTROL_ENABLE; }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 86:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 193 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_CONTROL_INTERFACE; }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 87:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 194 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_CONTROL_PORT; }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 88:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 195 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_SERVER_KEY_FILE; }
|
2008-09-16 05:08:45 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 89:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 196 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_SERVER_CERT_FILE; }
|
2008-09-30 11:04:32 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 90:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 197 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_CONTROL_KEY_FILE; }
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 91:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 198 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ YDOUT; return VAR_CONTROL_CERT_FILE; }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 92:
|
|
|
|
|
/* rule 92 can match eol */
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 199 "util/configlexer.lex"
|
2008-09-10 11:23:01 -04:00
|
|
|
{ LEXOUT(("NL\n")); cfg_parser->line++;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
/* Quoted strings. Strip leading and ending quotes */
|
2008-10-22 08:01:40 -04:00
|
|
|
case 93:
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_RULE_SETUP
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 202 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(quotedstring):
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 203 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2008-09-30 11:04:32 -04:00
|
|
|
case 94:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 207 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 95:
|
2008-10-22 08:01:40 -04:00
|
|
|
/* rule 95 can match eol */
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 208 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 96:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 209 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
LEXOUT(("QE "));
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
yytext[yyleng - 1] = '\0';
|
|
|
|
|
yylval.str = strdup(yytext);
|
|
|
|
|
if(!yylval.str)
|
|
|
|
|
yyerror("out of memory");
|
|
|
|
|
return STRING;
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-11-28 03:10:45 -05:00
|
|
|
/* Single Quoted strings. Strip leading and ending quotes */
|
2008-10-22 08:01:40 -04:00
|
|
|
case 97:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 220 "util/configlexer.lex"
|
2007-11-28 03:10:45 -05:00
|
|
|
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(singlequotedstr):
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 221 "util/configlexer.lex"
|
2007-11-28 03:10:45 -05:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2008-09-30 11:04:32 -04:00
|
|
|
case 98:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 225 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 99:
|
2008-10-22 08:01:40 -04:00
|
|
|
/* rule 99 can match eol */
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 226 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 100:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 227 "util/configlexer.lex"
|
2007-11-28 03:10:45 -05:00
|
|
|
{
|
|
|
|
|
LEXOUT(("SQE "));
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
yytext[yyleng - 1] = '\0';
|
|
|
|
|
yylval.str = strdup(yytext);
|
|
|
|
|
if(!yylval.str)
|
|
|
|
|
yyerror("out of memory");
|
|
|
|
|
return STRING;
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
/* include: directive */
|
2008-10-22 08:01:40 -04:00
|
|
|
case 101:
|
2007-11-28 03:10:45 -05:00
|
|
|
YY_RULE_SETUP
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 238 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("v(%s) ", yytext)); BEGIN(include); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(include):
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 239 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside include directive");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2008-09-16 05:08:45 -04:00
|
|
|
case 102:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 243 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ LEXOUT(("ISP ")); /* ignore */ }
|
2008-09-30 11:04:32 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 103:
|
2008-10-22 08:01:40 -04:00
|
|
|
/* rule 103 can match eol */
|
2008-09-30 11:04:32 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 244 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ LEXOUT(("NL\n")); cfg_parser->line++;}
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 104:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 245 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 105:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 246 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
LEXOUT(("Iunquotedstr(%s) ", yytext));
|
|
|
|
|
config_start_include(yytext);
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(include_quoted):
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 251 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2008-09-30 11:04:32 -04:00
|
|
|
case 106:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 255 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 107:
|
2008-10-22 08:01:40 -04:00
|
|
|
/* rule 107 can match eol */
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 256 "util/configlexer.lex"
|
2008-10-22 08:01:40 -04:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 108:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 257 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
LEXOUT(("IQE "));
|
|
|
|
|
yytext[yyleng - 1] = '\0';
|
|
|
|
|
config_start_include(yytext);
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(INITIAL):
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 263 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
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
|
2008-10-22 08:01:40 -04:00
|
|
|
case 109:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 273 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("unquotedstr(%s) ", yytext));
|
|
|
|
|
yylval.str = strdup(yytext); return STRING; }
|
|
|
|
|
YY_BREAK
|
2008-10-22 08:01:40 -04:00
|
|
|
case 110:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 276 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
ECHO;
|
|
|
|
|
YY_BREAK
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 2233 "<stdout>"
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
case YY_END_OF_BUFFER:
|
|
|
|
|
{
|
|
|
|
|
/* Amount of text matched not including the EOB char. */
|
2008-06-09 05:34:40 -04:00
|
|
|
int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Undo the effects of YY_DO_BEFORE_ACTION. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*yy_cp = (yy_hold_char);
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RESTORE_YY_MORE_OFFSET
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* 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
|
2008-06-09 05:34:40 -04:00
|
|
|
* consistency between YY_CURRENT_BUFFER and our
|
2007-10-18 18:49:08 -04:00
|
|
|
* 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.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
(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;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 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().
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
|
2007-10-18 18:49:08 -04:00
|
|
|
{ /* This was really a NUL. */
|
|
|
|
|
yy_state_type yy_next_state;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* 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 );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( yy_next_state )
|
|
|
|
|
{
|
|
|
|
|
/* Consume the NUL. */
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = ++(yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_current_state = yy_next_state;
|
|
|
|
|
goto yy_match;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_find_action;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
else switch ( yy_get_next_buffer( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
case EOB_ACT_END_OF_FILE:
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_did_buffer_switch_on_eof) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( yywrap( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* 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.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
yy_act = YY_STATE_EOF(YY_START);
|
|
|
|
|
goto do_action;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! (yy_did_buffer_switch_on_eof) )
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_NEW_FILE;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
case EOB_ACT_CONTINUE_SCAN:
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) =
|
|
|
|
|
(yytext_ptr) + yy_amount_of_matched_text;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
|
|
|
|
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_match;
|
|
|
|
|
|
|
|
|
|
case EOB_ACT_LAST_MATCH:
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) =
|
|
|
|
|
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
|
|
|
|
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
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 */
|
2008-06-09 05:34:40 -04:00
|
|
|
} /* end of yylex */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_get_next_buffer (void)
|
|
|
|
|
{
|
|
|
|
|
register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
|
|
|
|
|
register char *source = (yytext_ptr);
|
2007-10-18 18:49:08 -04:00
|
|
|
register int number_to_move, i;
|
|
|
|
|
int ret_val;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_FATAL_ERROR(
|
|
|
|
|
"fatal flex scanner internal error--end of buffer missed" );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
|
2007-10-18 18:49:08 -04:00
|
|
|
{ /* Don't try to fill the buffer, so this is an EOF. */
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* 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. */
|
2008-06-09 05:34:40 -04:00
|
|
|
number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
for ( i = 0; i < number_to_move; ++i )
|
|
|
|
|
*(dest++) = *(source++);
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
|
2007-10-18 18:49:08 -04:00
|
|
|
/* don't do the read, it's not guaranteed to return an EOF,
|
|
|
|
|
* just force an EOF
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
int num_to_read =
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
while ( num_to_read <= 0 )
|
|
|
|
|
{ /* Not enough room in the buffer - grow it. */
|
|
|
|
|
|
|
|
|
|
/* just a shorter name for the current buffer */
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
int yy_c_buf_p_offset =
|
2008-06-09 05:34:40 -04:00
|
|
|
(int) ((yy_c_buf_p) - b->yy_ch_buf);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
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. */
|
2008-06-09 05:34:40 -04:00
|
|
|
yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
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" );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
|
2007-10-18 18:49:08 -04:00
|
|
|
number_to_move - 1;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( num_to_read > YY_READ_BUF_SIZE )
|
|
|
|
|
num_to_read = YY_READ_BUF_SIZE;
|
|
|
|
|
|
|
|
|
|
/* Read in more data. */
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
|
|
|
|
|
(yy_n_chars), (size_t) num_to_read );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_n_chars) == 0 )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
if ( number_to_move == YY_MORE_ADJ )
|
|
|
|
|
{
|
|
|
|
|
ret_val = EOB_ACT_END_OF_FILE;
|
2008-06-09 05:34:40 -04:00
|
|
|
yyrestart(yyin );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
ret_val = EOB_ACT_LAST_MATCH;
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BUFFER_EOF_PENDING;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
ret_val = EOB_ACT_CONTINUE_SCAN;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return ret_val;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_get_previous_state - get the state just before the EOB char was reached */
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static yy_state_type yy_get_previous_state (void)
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register yy_state_type yy_current_state;
|
|
|
|
|
register char *yy_cp;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
yy_current_state = (yy_start);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
|
|
|
|
|
if ( yy_accept[yy_current_state] )
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
|
|
|
(yy_last_accepting_cpos) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
|
|
|
{
|
|
|
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
2008-10-22 08:01:40 -04:00
|
|
|
if ( yy_current_state >= 1001 )
|
2007-10-18 18:49:08 -04:00
|
|
|
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;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_try_NUL_trans - try to make a transition on the NUL character
|
|
|
|
|
*
|
|
|
|
|
* synopsis
|
|
|
|
|
* next_state = yy_try_NUL_trans( current_state );
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
|
|
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
register int yy_is_jam;
|
2008-06-09 05:34:40 -04:00
|
|
|
register char *yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
register YY_CHAR yy_c = 1;
|
|
|
|
|
if ( yy_accept[yy_current_state] )
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
|
|
|
(yy_last_accepting_cpos) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
|
|
|
{
|
|
|
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
2008-10-22 08:01:40 -04:00
|
|
|
if ( yy_current_state >= 1001 )
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_c = yy_meta[(unsigned int) yy_c];
|
|
|
|
|
}
|
|
|
|
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
2008-10-22 08:01:40 -04:00
|
|
|
yy_is_jam = (yy_current_state == 1000);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return yy_is_jam ? 0 : yy_current_state;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_NO_INPUT
|
2008-06-09 05:29:44 -04:00
|
|
|
#ifdef __cplusplus
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yyinput (void)
|
2008-06-09 05:29:44 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
static int input (void)
|
2008-06-09 05:29:44 -04:00
|
|
|
#endif
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
{
|
|
|
|
|
int c;
|
|
|
|
|
|
|
|
|
|
*(yy_c_buf_p) = (yy_hold_char);
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* 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.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
|
2007-10-18 18:49:08 -04:00
|
|
|
/* This was really a NUL. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*(yy_c_buf_p) = '\0';
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ /* need more input */
|
2008-06-09 05:34:40 -04:00
|
|
|
int offset = (yy_c_buf_p) - (yytext_ptr);
|
|
|
|
|
++(yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
switch ( yy_get_next_buffer( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
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. */
|
2008-06-09 05:34:40 -04:00
|
|
|
yyrestart(yyin );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/*FALLTHROUGH*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
case EOB_ACT_END_OF_FILE:
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( yywrap( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
return EOF;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! (yy_did_buffer_switch_on_eof) )
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_NEW_FILE;
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
return yyinput();
|
|
|
|
|
#else
|
|
|
|
|
return input();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
case EOB_ACT_CONTINUE_SCAN:
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + offset;
|
2007-10-18 18:49:08 -04:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return c;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
|
|
|
|
#endif /* ifndef YY_NO_INPUT */
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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 );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_init_buffer(YY_CURRENT_BUFFER,input_file );
|
|
|
|
|
yy_load_buffer_state( );
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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 )
|
2007-10-18 18:49:08 -04:00
|
|
|
return;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* Flush out information for old buffer. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*(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);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE = new_buffer;
|
|
|
|
|
yy_load_buffer_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* 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.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_did_buffer_switch_on_eof) = 1;
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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);
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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 )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BUFFER_STATE b;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
|
2007-10-18 18:49:08 -04:00
|
|
|
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.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! b->yy_ch_buf )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
|
|
|
|
|
|
|
|
|
|
b->yy_is_our_buffer = 1;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_init_buffer(b,file );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return b;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Destroy the buffer.
|
|
|
|
|
* @param b a buffer created with yy_create_buffer()
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yy_delete_buffer (YY_BUFFER_STATE b )
|
|
|
|
|
{
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! b )
|
|
|
|
|
return;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( b->yy_is_our_buffer )
|
2008-06-09 05:34:40 -04:00
|
|
|
yyfree((void *) b->yy_ch_buf );
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yyfree((void *) b );
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#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 )
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
{
|
|
|
|
|
int oerrno = errno;
|
|
|
|
|
|
|
|
|
|
yy_flush_buffer(b );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
b->yy_input_file = file;
|
|
|
|
|
b->yy_fill_buffer = 1;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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;
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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 )
|
2007-10-18 18:49:08 -04:00
|
|
|
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;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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;
|
2008-02-29 05:59:26 -05:00
|
|
|
}
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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;
|
|
|
|
|
}
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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;
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
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;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
|
2007-10-18 18:49:08 -04:00
|
|
|
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;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_switch_to_buffer(b );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return b;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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) );
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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 )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BUFFER_STATE b;
|
|
|
|
|
char *buf;
|
|
|
|
|
yy_size_t n;
|
|
|
|
|
int i;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Get memory for full buffer, including space for trailing EOB's. */
|
2008-06-09 05:34:40 -04:00
|
|
|
n = _yybytes_len + 2;
|
|
|
|
|
buf = (char *) yyalloc(n );
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! buf )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
for ( i = 0; i < _yybytes_len; ++i )
|
|
|
|
|
buf[i] = yybytes[i];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
b = yy_scan_buffer(buf,n );
|
2007-10-18 18:49:08 -04:00
|
|
|
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;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifndef YY_EXIT_FAILURE
|
|
|
|
|
#define YY_EXIT_FAILURE 2
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static void yy_fatal_error (yyconst char* msg )
|
|
|
|
|
{
|
|
|
|
|
(void) fprintf( stderr, "%s\n", msg );
|
|
|
|
|
exit( YY_EXIT_FAILURE );
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Redefine yyless() so it works in section 3 code. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#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 )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Accessor methods (get/set functions) to struct members. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the current line number.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
int yyget_lineno (void)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
return yylineno;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the input stream.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
FILE *yyget_in (void)
|
|
|
|
|
{
|
|
|
|
|
return yyin;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the output stream.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
FILE *yyget_out (void)
|
|
|
|
|
{
|
|
|
|
|
return yyout;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the length of the current token.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
int yyget_leng (void)
|
|
|
|
|
{
|
|
|
|
|
return yyleng;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the current token.
|
|
|
|
|
*
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
char *yyget_text (void)
|
|
|
|
|
{
|
|
|
|
|
return yytext;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Set the current line number.
|
|
|
|
|
* @param line_number
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yyset_lineno (int line_number )
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
yylineno = line_number;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** 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 ;
|
|
|
|
|
}
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void yyset_out (FILE * out_str )
|
|
|
|
|
{
|
|
|
|
|
yyout = out_str ;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
int yyget_debug (void)
|
|
|
|
|
{
|
|
|
|
|
return yy_flex_debug;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void yyset_debug (int bdebug )
|
|
|
|
|
{
|
|
|
|
|
yy_flex_debug = bdebug ;
|
|
|
|
|
}
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
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;
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
yyin = (FILE *) 0;
|
|
|
|
|
yyout = (FILE *) 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* For future reference: Set errno on error, since we are called by
|
|
|
|
|
* yylex_init()
|
|
|
|
|
*/
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* 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();
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Destroy the stack itself. */
|
|
|
|
|
yyfree((yy_buffer_stack) );
|
|
|
|
|
(yy_buffer_stack) = NULL;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Reset the globals. This is important in a non-reentrant scanner so the next time
|
|
|
|
|
* yylex() is called, initialization will occur. */
|
|
|
|
|
yy_init_globals( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
return 0;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/*
|
|
|
|
|
* Internal utility routines.
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#ifndef yytext_ptr
|
2008-06-09 05:34:40 -04:00
|
|
|
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register int i;
|
|
|
|
|
for ( i = 0; i < n; ++i )
|
|
|
|
|
s1[i] = s2[i];
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YY_NEED_STRLEN
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_flex_strlen (yyconst char * s )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register int n;
|
|
|
|
|
for ( n = 0; s[n]; ++n )
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
return n;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void *yyalloc (yy_size_t size )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
return (void *) malloc( size );
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void *yyrealloc (void * ptr, yy_size_t size )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
/* 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 );
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void yyfree (void * ptr )
|
|
|
|
|
{
|
|
|
|
|
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#define YYTABLES_NAME "yytables"
|
|
|
|
|
|
2008-10-22 08:01:40 -04:00
|
|
|
#line 276 "util/configlexer.lex"
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-19 04:32:36 -04:00
|
|
|
|