2007-10-18 18:49:08 -04:00
|
|
|
#include "util/configyyrename.h"
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#line 3 "<stdout>"
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2007-10-19 10:02:53 -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
|
2007-10-19 10:02:53 -04:00
|
|
|
#define YY_FLEX_SUBMINOR_VERSION 33
|
|
|
|
|
#if YY_FLEX_SUBMINOR_VERSION > 0
|
|
|
|
|
#define FLEX_BETA
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* First, we deal with platform-specific or compiler-specific issues. */
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/* begin standard C headers. */
|
2007-10-18 18:49:08 -04:00
|
|
|
#include <stdio.h>
|
2007-10-19 10:02:53 -04:00
|
|
|
#include <string.h>
|
|
|
|
|
#include <errno.h>
|
|
|
|
|
#include <stdlib.h>
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/* end standard C headers. */
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 __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
|
2007-10-19 04:32:36 -04:00
|
|
|
#endif
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 */
|
2007-10-19 04:11:57 -04:00
|
|
|
|
2007-10-19 10:02:53 -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
|
2007-10-19 04:11:57 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#endif /* ! FLEXINT_H */
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#ifdef __cplusplus
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* The "const" storage-class-modifier is valid. */
|
|
|
|
|
#define YY_USE_CONST
|
|
|
|
|
|
|
|
|
|
#else /* ! __cplusplus */
|
|
|
|
|
|
|
|
|
|
#if __STDC__
|
|
|
|
|
|
|
|
|
|
#define YY_USE_CONST
|
|
|
|
|
|
|
|
|
|
#endif /* __STDC__ */
|
|
|
|
|
#endif /* ! __cplusplus */
|
|
|
|
|
|
|
|
|
|
#ifdef YY_USE_CONST
|
|
|
|
|
#define yyconst const
|
|
|
|
|
#else
|
|
|
|
|
#define yyconst
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Returned upon end-of-file. */
|
|
|
|
|
#define YY_NULL 0
|
|
|
|
|
|
|
|
|
|
/* Promotes a possibly negative, possibly signed char to an unsigned
|
|
|
|
|
* integer for use as an array index. If the signed char is negative,
|
|
|
|
|
* we want to instead treat it as an 8-bit unsigned char, hence the
|
|
|
|
|
* double cast.
|
|
|
|
|
*/
|
|
|
|
|
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
|
|
|
|
|
|
|
|
|
|
/* Enter a start condition. This macro really ought to take a parameter,
|
|
|
|
|
* but we do it the disgusting crufty way forced on us by the ()-less
|
|
|
|
|
* definition of BEGIN.
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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.
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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". */
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -04:00
|
|
|
#ifndef YY_BUF_SIZE
|
2007-10-18 18:49:08 -04:00
|
|
|
#define YY_BUF_SIZE 16384
|
2007-10-19 10:02:53 -04:00
|
|
|
#endif
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
#endif
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
extern int yyleng;
|
2007-10-19 10:02:53 -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
|
|
|
|
|
|
2007-10-19 10:02:53 -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. */ \
|
2007-10-19 10:02:53 -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 \
|
2007-10-19 10:02:53 -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 )
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#define unput(c) yyunput( c, (yytext_ptr) )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* The following is because we cannot portably get our hands on size_t
|
|
|
|
|
* (without autoconf's help, which isn't available because we want
|
|
|
|
|
* flex-generated scanners to compile on their own).
|
|
|
|
|
*/
|
2007-10-19 04:11:57 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#ifndef YY_TYPEDEF_YY_SIZE_T
|
|
|
|
|
#define YY_TYPEDEF_YY_SIZE_T
|
|
|
|
|
typedef unsigned int yy_size_t;
|
|
|
|
|
#endif
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -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
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
};
|
2007-10-19 10:02:53 -04:00
|
|
|
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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".
|
2007-10-19 10:02:53 -04:00
|
|
|
*
|
|
|
|
|
* Returns the top of the stack, or NULL.
|
2007-10-18 18:49:08 -04:00
|
|
|
*/
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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) \
|
|
|
|
|
{ \
|
2007-10-19 10:02:53 -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) \
|
|
|
|
|
{ \
|
2007-10-19 10:02:53 -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
|
|
|
}
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
typedef int yy_state_type;
|
2007-10-19 10:02:53 -04:00
|
|
|
|
|
|
|
|
extern int yylineno;
|
|
|
|
|
|
|
|
|
|
int yylineno = 1;
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
extern char *yytext;
|
|
|
|
|
#define yytext_ptr yytext
|
|
|
|
|
|
2007-10-19 10:02:53 -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 \
|
2007-10-19 10:02:53 -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'; \
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_c_buf_p) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
#define YY_NUM_RULES 82
|
|
|
|
|
#define YY_END_OF_BUFFER 83
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
};
|
2007-11-20 09:48:33 -05:00
|
|
|
static yyconst flex_int16_t yy_accept[723] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-20 09:48:33 -05:00
|
|
|
1, 1, 70, 70, 74, 74, 78, 78, 83, 81,
|
|
|
|
|
1, 68, 69, 2, 82, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 70, 71, 82, 72, 82, 77, 74, 75,
|
|
|
|
|
76, 82, 78, 79, 80, 82, 81, 0, 1, 2,
|
|
|
|
|
2, 2, 2, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 70, 0, 77, 0, 74, 78, 0, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 41, 81,
|
|
|
|
|
81, 81, 81, 6, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 17, 81, 11,
|
|
|
|
|
12, 81, 14, 13, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 3, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
|
|
|
|
|
81, 81, 81, 81, 81, 81, 73, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 20, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 21, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 53,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 52, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 18, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 19, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
|
|
|
|
|
81, 15, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 42, 43, 40, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 5, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 67, 66, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 22, 81, 81,
|
|
|
|
|
81, 81, 65, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 38, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 4, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 45, 46,
|
|
|
|
|
44, 81, 81, 81, 81, 51, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 57, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 28, 81, 81, 81, 81, 81,
|
|
|
|
|
50, 81, 81, 81, 81, 81, 81, 81, 81, 54,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 7, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 59, 81, 81, 81, 81, 49, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 29, 30,
|
|
|
|
|
62, 81, 81, 24, 81, 81, 81, 81, 8, 81,
|
|
|
|
|
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 63, 23, 25,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 10, 81, 81,
|
|
|
|
|
81, 81, 81, 9, 26, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
31, 81, 81, 27, 81, 55, 56, 81, 81, 58,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 16,
|
|
|
|
|
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
81, 81, 35, 81, 81, 61, 47, 81, 81, 37,
|
|
|
|
|
|
|
|
|
|
36, 81, 32, 81, 60, 81, 81, 81, 33, 81,
|
|
|
|
|
81, 48, 39, 34, 81, 81, 81, 81, 81, 81,
|
|
|
|
|
64, 0
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-10-19 10:02:53 -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,
|
|
|
|
|
1, 2, 1, 5, 6, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 7, 1, 1, 1, 1, 1,
|
|
|
|
|
8, 9, 1, 10, 1, 1, 1, 11, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 12, 1, 1, 1, 1, 13, 14, 15, 16,
|
|
|
|
|
|
|
|
|
|
17, 18, 19, 20, 21, 1, 22, 23, 24, 25,
|
2007-10-31 03:46:30 -04:00
|
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
|
|
|
|
36, 37, 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
|
|
|
|
|
} ;
|
|
|
|
|
|
2007-10-31 03:46:30 -04:00
|
|
|
static yyconst flex_int32_t yy_meta[38] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
|
|
|
|
1, 2, 3, 4, 4, 1, 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-10-31 03:46:30 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
static yyconst flex_int16_t yy_base[732] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-20 09:48:33 -05:00
|
|
|
0, 0, 35, 38, 49, 53, 59, 63, 1469, 1456,
|
|
|
|
|
42, 1470, 1470, 68, 72, 34, 66, 69, 33, 70,
|
2007-11-19 10:32:55 -05:00
|
|
|
72, 75, 73, 77, 81, 84, 88, 86, 89, 92,
|
2007-11-20 09:48:33 -05:00
|
|
|
96, 105, 1455, 1470, 1470, 1470, 106, 1454, 1463, 1470,
|
|
|
|
|
1470, 123, 1452, 1470, 1470, 119, 1451, 127, 128, 0,
|
2007-11-19 10:32:55 -05:00
|
|
|
131, 0, 0, 125, 126, 90, 127, 135, 132, 133,
|
2007-11-20 09:48:33 -05:00
|
|
|
134, 136, 137, 139, 145, 142, 147, 153, 155, 151,
|
|
|
|
|
157, 158, 159, 160, 162, 164, 166, 168, 169, 171,
|
|
|
|
|
172, 1450, 184, 1449, 200, 1458, 1447, 188, 186, 187,
|
|
|
|
|
185, 196, 194, 197, 198, 200, 204, 209, 208, 206,
|
|
|
|
|
|
|
|
|
|
215, 221, 212, 216, 229, 226, 232, 228, 233, 230,
|
|
|
|
|
234, 237, 238, 241, 240, 244, 250, 251, 252, 248,
|
|
|
|
|
255, 257, 258, 263, 265, 269, 264, 273, 275, 281,
|
|
|
|
|
277, 282, 283, 284, 286, 287, 288, 48, 289, 291,
|
|
|
|
|
298, 292, 301, 304, 306, 312, 309, 314, 321, 317,
|
|
|
|
|
310, 318, 320, 337, 324, 323, 325, 331, 327, 330,
|
|
|
|
|
344, 334, 345, 347, 348, 354, 355, 357, 359, 361,
|
|
|
|
|
373, 369, 371, 379, 377, 378, 380, 381, 1446, 384,
|
|
|
|
|
385, 386, 387, 1445, 389, 396, 390, 401, 392, 408,
|
|
|
|
|
394, 405, 410, 412, 399, 335, 414, 415, 416, 425,
|
|
|
|
|
|
|
|
|
|
422, 428, 421, 432, 437, 443, 440, 442, 444, 450,
|
|
|
|
|
447, 449, 446, 452, 453, 456, 460, 455, 468, 469,
|
|
|
|
|
475, 471, 473, 478, 462, 481, 480, 482, 484, 489,
|
|
|
|
|
486, 492, 495, 501, 497, 499, 500, 502, 504, 505,
|
|
|
|
|
507, 508, 515, 516, 517, 519, 520, 1444, 523, 1443,
|
|
|
|
|
1442, 526, 1441, 1440, 529, 527, 528, 535, 536, 544,
|
|
|
|
|
539, 547, 537, 549, 553, 554, 557, 541, 564, 565,
|
|
|
|
|
561, 566, 559, 570, 571, 573, 569, 579, 1439, 577,
|
|
|
|
|
583, 584, 585, 586, 592, 589, 588, 590, 594, 602,
|
|
|
|
|
596, 603, 598, 607, 604, 608, 609, 612, 619, 611,
|
|
|
|
|
|
|
|
|
|
614, 621, 626, 616, 623, 636, 1438, 642, 640, 628,
|
|
|
|
|
638, 647, 648, 630, 645, 1437, 651, 654, 655, 657,
|
|
|
|
|
661, 668, 1436, 656, 664, 669, 670, 671, 672, 678,
|
|
|
|
|
673, 674, 680, 682, 684, 691, 685, 690, 692, 1435,
|
|
|
|
|
693, 701, 695, 698, 704, 705, 707, 709, 710, 711,
|
|
|
|
|
712, 713, 714, 1434, 718, 717, 715, 724, 736, 738,
|
|
|
|
|
739, 737, 741, 743, 749, 745, 747, 746, 748, 756,
|
|
|
|
|
753, 758, 768, 762, 765, 769, 770, 1433, 776, 780,
|
|
|
|
|
783, 779, 772, 785, 782, 786, 1432, 787, 789, 791,
|
|
|
|
|
794, 792, 795, 796, 797, 799, 798, 802, 806, 818,
|
|
|
|
|
|
|
|
|
|
820, 1431, 816, 824, 826, 821, 833, 817, 819, 829,
|
|
|
|
|
830, 831, 832, 838, 841, 844, 1430, 1429, 1428, 842,
|
|
|
|
|
836, 848, 853, 854, 855, 857, 858, 859, 1427, 861,
|
|
|
|
|
860, 863, 864, 865, 866, 869, 876, 880, 870, 882,
|
|
|
|
|
883, 886, 893, 890, 891, 894, 1426, 1425, 895, 897,
|
|
|
|
|
902, 912, 900, 906, 908, 914, 916, 1424, 922, 918,
|
|
|
|
|
919, 921, 1423, 923, 924, 927, 930, 934, 933, 937,
|
|
|
|
|
945, 950, 952, 954, 938, 1422, 960, 961, 868, 958,
|
|
|
|
|
964, 962, 944, 946, 966, 967, 969, 970, 971, 977,
|
|
|
|
|
972, 1421, 981, 988, 974, 982, 984, 990, 999, 997,
|
|
|
|
|
|
|
|
|
|
995, 1000, 1001, 1008, 1005, 1007, 1010, 1011, 1420, 1419,
|
|
|
|
|
1418, 1019, 1013, 720, 1016, 1417, 1017, 1020, 1023, 1024,
|
|
|
|
|
1027, 1028, 1032, 1031, 1041, 1030, 1042, 1044, 1045, 1034,
|
|
|
|
|
1048, 1053, 1049, 1057, 1056, 1058, 1416, 1059, 1061, 1063,
|
|
|
|
|
1062, 1069, 1070, 1077, 1415, 1074, 1079, 1081, 1082, 1083,
|
|
|
|
|
1414, 1084, 1085, 1086, 1088, 1091, 1095, 1101, 1092, 1413,
|
|
|
|
|
1104, 1106, 1096, 1107, 1111, 1112, 1412, 1119, 1108, 1120,
|
|
|
|
|
1113, 1116, 1122, 1411, 1123, 1126, 1128, 1137, 1410, 1130,
|
|
|
|
|
1136, 1138, 1140, 1141, 1143, 1144, 1146, 1148, 1409, 1408,
|
|
|
|
|
1407, 1152, 1156, 1406, 1160, 1166, 1162, 1153, 1405, 1164,
|
|
|
|
|
|
|
|
|
|
1165, 1170, 1171, 1172, 1175, 1173, 1174, 1176, 1177, 1178,
|
|
|
|
|
1180, 1185, 1186, 1190, 1192, 1191, 1195, 1404, 1403, 1402,
|
|
|
|
|
1196, 1200, 1207, 1209, 1199, 1201, 1211, 1214, 1212, 1218,
|
|
|
|
|
1220, 1221, 1222, 1228, 1224, 1229, 1231, 1401, 1230, 1232,
|
|
|
|
|
1237, 1234, 1241, 1400, 1399, 1244, 1249, 1254, 1256, 1245,
|
|
|
|
|
1262, 1260, 1247, 1261, 1263, 1265, 1264, 1266, 1267, 1268,
|
|
|
|
|
1398, 1272, 1274, 1396, 1270, 1388, 1372, 1277, 1275, 1371,
|
|
|
|
|
1281, 1282, 1283, 1288, 1290, 1293, 1285, 1295, 1296, 1369,
|
|
|
|
|
1305, 1306, 1292, 1315, 1319, 1302, 1307, 1322, 1324, 1325,
|
|
|
|
|
1327, 1328, 1367, 1332, 1333, 1366, 1365, 1316, 1336, 1364,
|
|
|
|
|
|
|
|
|
|
1363, 1342, 1362, 1339, 1358, 1334, 1345, 1347, 1309, 1349,
|
|
|
|
|
1352, 1299, 639, 463, 1337, 1350, 1354, 1357, 1355, 1361,
|
|
|
|
|
429, 1470, 1385, 1389, 1393, 369, 1397, 1401, 267, 1403,
|
|
|
|
|
1405
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
static yyconst flex_int16_t yy_def[732] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-20 09:48:33 -05:00
|
|
|
722, 1, 723, 723, 724, 724, 725, 725, 722, 726,
|
|
|
|
|
722, 722, 722, 727, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 728, 722, 722, 722, 728, 729, 722, 722,
|
|
|
|
|
722, 729, 730, 722, 722, 730, 726, 726, 722, 731,
|
|
|
|
|
727, 731, 727, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 728, 728, 729, 729, 722, 730, 730, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
|
|
|
|
|
726, 0, 722, 722, 722, 722, 722, 722, 722, 722,
|
|
|
|
|
722
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
static yyconst flex_int16_t yy_nxt[1508] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
|
|
|
|
10, 11, 12, 12, 13, 14, 10, 10, 10, 10,
|
2007-11-19 10:32:55 -05:00
|
|
|
10, 15, 16, 10, 17, 18, 10, 19, 10, 20,
|
|
|
|
|
21, 22, 23, 24, 25, 26, 27, 10, 28, 29,
|
|
|
|
|
30, 31, 32, 10, 10, 10, 10, 34, 35, 36,
|
|
|
|
|
34, 35, 36, 49, 48, 48, 37, 50, 54, 37,
|
|
|
|
|
39, 40, 40, 41, 39, 40, 40, 41, 59, 48,
|
2007-11-20 09:48:33 -05:00
|
|
|
42, 44, 44, 45, 42, 44, 44, 45, 175, 52,
|
2007-11-19 10:32:55 -05:00
|
|
|
46, 52, 52, 47, 46, 47, 47, 48, 55, 53,
|
|
|
|
|
48, 48, 60, 48, 48, 56, 48, 62, 48, 57,
|
|
|
|
|
61, 64, 48, 68, 58, 48, 63, 48, 65, 48,
|
|
|
|
|
|
|
|
|
|
48, 48, 66, 48, 77, 75, 67, 48, 71, 82,
|
|
|
|
|
82, 73, 69, 72, 74, 70, 48, 80, 91, 76,
|
|
|
|
|
78, 81, 87, 87, 84, 79, 84, 84, 47, 49,
|
|
|
|
|
47, 47, 52, 50, 52, 52, 48, 48, 48, 89,
|
|
|
|
|
90, 93, 53, 48, 48, 48, 48, 48, 48, 96,
|
2007-11-20 09:48:33 -05:00
|
|
|
48, 98, 97, 48, 99, 92, 48, 104, 48, 102,
|
|
|
|
|
94, 95, 48, 103, 48, 105, 48, 100, 48, 48,
|
|
|
|
|
48, 48, 109, 48, 101, 48, 106, 48, 107, 48,
|
|
|
|
|
48, 108, 48, 48, 111, 117, 110, 82, 82, 112,
|
|
|
|
|
113, 87, 87, 118, 115, 114, 48, 48, 48, 116,
|
|
|
|
|
|
|
|
|
|
119, 84, 120, 84, 84, 48, 121, 48, 48, 48,
|
|
|
|
|
122, 48, 123, 129, 124, 48, 130, 48, 125, 48,
|
|
|
|
|
48, 136, 135, 48, 126, 127, 48, 48, 131, 138,
|
|
|
|
|
128, 132, 48, 137, 133, 140, 134, 48, 142, 48,
|
|
|
|
|
48, 48, 141, 48, 48, 48, 143, 139, 48, 48,
|
|
|
|
|
144, 48, 48, 147, 149, 48, 152, 154, 150, 48,
|
|
|
|
|
145, 48, 48, 48, 146, 155, 48, 84, 48, 48,
|
|
|
|
|
148, 158, 160, 151, 48, 48, 48, 157, 153, 164,
|
|
|
|
|
48, 156, 159, 163, 48, 165, 48, 167, 48, 161,
|
|
|
|
|
162, 166, 48, 48, 48, 48, 171, 48, 48, 48,
|
|
|
|
|
|
|
|
|
|
48, 173, 48, 48, 177, 178, 170, 168, 179, 48,
|
|
|
|
|
174, 176, 48, 169, 172, 48, 184, 48, 185, 180,
|
|
|
|
|
48, 48, 181, 48, 183, 48, 182, 188, 48, 48,
|
|
|
|
|
187, 48, 48, 189, 48, 48, 48, 201, 48, 186,
|
|
|
|
|
190, 48, 48, 199, 192, 48, 48, 191, 48, 198,
|
|
|
|
|
193, 194, 204, 205, 200, 48, 48, 202, 48, 48,
|
|
|
|
|
203, 195, 196, 197, 206, 48, 48, 242, 48, 47,
|
|
|
|
|
48, 207, 48, 208, 214, 211, 209, 213, 210, 216,
|
|
|
|
|
48, 215, 48, 218, 48, 219, 217, 212, 48, 48,
|
|
|
|
|
48, 48, 48, 223, 221, 48, 48, 48, 48, 220,
|
|
|
|
|
|
|
|
|
|
48, 48, 229, 48, 225, 48, 226, 48, 228, 227,
|
|
|
|
|
48, 222, 48, 231, 235, 224, 48, 238, 230, 48,
|
|
|
|
|
232, 48, 234, 48, 236, 48, 48, 48, 241, 237,
|
|
|
|
|
243, 246, 48, 48, 240, 239, 48, 233, 248, 48,
|
|
|
|
|
48, 245, 250, 48, 244, 247, 249, 251, 48, 252,
|
|
|
|
|
253, 48, 254, 48, 48, 48, 256, 48, 48, 255,
|
|
|
|
|
48, 48, 257, 48, 48, 258, 48, 48, 260, 266,
|
|
|
|
|
262, 48, 265, 48, 48, 263, 259, 261, 264, 48,
|
|
|
|
|
48, 270, 48, 267, 48, 269, 48, 272, 271, 48,
|
|
|
|
|
274, 48, 48, 48, 273, 48, 276, 48, 278, 279,
|
|
|
|
|
|
|
|
|
|
48, 280, 277, 48, 268, 275, 48, 283, 48, 284,
|
|
|
|
|
48, 48, 48, 48, 285, 48, 48, 281, 48, 48,
|
|
|
|
|
282, 289, 288, 290, 291, 287, 48, 48, 48, 286,
|
|
|
|
|
48, 48, 296, 295, 48, 299, 293, 48, 48, 48,
|
|
|
|
|
48, 294, 300, 292, 304, 301, 48, 48, 48, 302,
|
|
|
|
|
48, 297, 48, 298, 307, 48, 303, 308, 48, 309,
|
|
|
|
|
48, 311, 310, 305, 48, 48, 315, 312, 48, 314,
|
|
|
|
|
48, 306, 48, 313, 316, 48, 48, 48, 318, 317,
|
|
|
|
|
48, 48, 48, 323, 48, 319, 321, 320, 48, 322,
|
|
|
|
|
48, 325, 326, 324, 48, 48, 48, 48, 331, 48,
|
|
|
|
|
|
|
|
|
|
48, 48, 329, 48, 333, 48, 335, 48, 328, 48,
|
|
|
|
|
330, 332, 327, 48, 48, 48, 336, 340, 48, 48,
|
|
|
|
|
48, 334, 48, 48, 337, 48, 338, 48, 339, 341,
|
|
|
|
|
48, 345, 48, 350, 48, 348, 349, 48, 346, 48,
|
|
|
|
|
352, 48, 342, 344, 343, 351, 354, 48, 355, 48,
|
|
|
|
|
48, 48, 353, 48, 356, 347, 48, 357, 48, 48,
|
|
|
|
|
361, 358, 48, 359, 360, 48, 48, 48, 48, 362,
|
|
|
|
|
364, 365, 48, 367, 368, 48, 363, 366, 370, 48,
|
|
|
|
|
48, 48, 48, 48, 48, 48, 369, 373, 374, 48,
|
|
|
|
|
378, 48, 375, 48, 376, 48, 48, 371, 381, 377,
|
|
|
|
|
|
|
|
|
|
372, 48, 48, 48, 48, 387, 48, 386, 380, 48,
|
|
|
|
|
383, 379, 48, 382, 388, 48, 48, 385, 48, 389,
|
|
|
|
|
48, 48, 48, 48, 48, 48, 48, 384, 48, 48,
|
|
|
|
|
390, 48, 391, 550, 397, 48, 399, 395, 392, 394,
|
|
|
|
|
401, 393, 398, 396, 403, 400, 402, 48, 48, 48,
|
|
|
|
|
48, 404, 48, 405, 48, 408, 48, 48, 48, 48,
|
|
|
|
|
48, 409, 410, 417, 48, 406, 411, 48, 418, 48,
|
|
|
|
|
412, 407, 413, 48, 414, 416, 48, 415, 419, 48,
|
|
|
|
|
48, 48, 424, 48, 421, 422, 425, 48, 423, 426,
|
|
|
|
|
48, 48, 420, 48, 48, 429, 48, 48, 48, 427,
|
|
|
|
|
|
|
|
|
|
48, 428, 48, 48, 433, 48, 48, 48, 48, 48,
|
|
|
|
|
48, 437, 430, 48, 438, 432, 431, 48, 435, 440,
|
|
|
|
|
434, 436, 443, 441, 444, 439, 445, 48, 48, 48,
|
|
|
|
|
48, 48, 48, 442, 447, 48, 448, 48, 449, 450,
|
|
|
|
|
48, 48, 48, 48, 48, 446, 451, 48, 452, 48,
|
|
|
|
|
457, 458, 48, 48, 454, 48, 460, 456, 453, 48,
|
|
|
|
|
459, 461, 455, 463, 48, 48, 48, 465, 48, 48,
|
|
|
|
|
48, 48, 48, 467, 48, 48, 48, 48, 466, 48,
|
|
|
|
|
48, 48, 474, 462, 464, 475, 476, 48, 468, 469,
|
|
|
|
|
470, 48, 472, 48, 48, 473, 477, 48, 471, 482,
|
|
|
|
|
|
|
|
|
|
478, 48, 48, 515, 48, 48, 48, 480, 48, 481,
|
|
|
|
|
492, 48, 479, 48, 485, 487, 486, 48, 491, 48,
|
|
|
|
|
483, 484, 489, 48, 490, 48, 488, 48, 497, 48,
|
|
|
|
|
48, 494, 48, 48, 48, 48, 493, 498, 48, 502,
|
|
|
|
|
496, 48, 495, 503, 48, 48, 504, 499, 48, 48,
|
|
|
|
|
500, 508, 512, 501, 505, 48, 48, 48, 506, 507,
|
|
|
|
|
509, 48, 510, 48, 511, 48, 513, 514, 516, 48,
|
|
|
|
|
517, 48, 48, 48, 521, 48, 522, 48, 48, 524,
|
|
|
|
|
48, 48, 48, 48, 518, 48, 519, 525, 48, 528,
|
|
|
|
|
526, 520, 48, 48, 531, 48, 535, 530, 529, 48,
|
|
|
|
|
|
|
|
|
|
533, 48, 523, 538, 532, 536, 48, 527, 48, 537,
|
|
|
|
|
48, 48, 48, 534, 542, 540, 48, 539, 48, 48,
|
|
|
|
|
545, 48, 48, 546, 48, 548, 551, 48, 48, 544,
|
|
|
|
|
48, 48, 553, 547, 48, 48, 541, 543, 48, 48,
|
|
|
|
|
549, 48, 48, 48, 559, 48, 555, 552, 558, 556,
|
|
|
|
|
557, 560, 48, 48, 554, 48, 48, 563, 562, 48,
|
|
|
|
|
48, 564, 565, 567, 48, 568, 561, 48, 48, 48,
|
|
|
|
|
48, 574, 48, 48, 48, 572, 573, 569, 566, 570,
|
|
|
|
|
48, 48, 571, 575, 577, 48, 578, 579, 48, 580,
|
|
|
|
|
48, 576, 48, 48, 48, 48, 48, 48, 585, 48,
|
|
|
|
|
|
|
|
|
|
588, 589, 48, 48, 581, 590, 48, 48, 586, 587,
|
|
|
|
|
582, 591, 48, 583, 584, 48, 594, 48, 48, 48,
|
|
|
|
|
593, 592, 48, 48, 48, 595, 598, 48, 597, 599,
|
|
|
|
|
48, 48, 601, 48, 48, 596, 603, 48, 602, 48,
|
|
|
|
|
607, 48, 604, 608, 600, 609, 606, 48, 48, 48,
|
|
|
|
|
610, 48, 48, 605, 48, 48, 612, 48, 613, 48,
|
|
|
|
|
615, 617, 618, 48, 48, 616, 619, 48, 611, 614,
|
|
|
|
|
620, 48, 621, 48, 622, 48, 48, 48, 625, 623,
|
|
|
|
|
624, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
|
|
|
634, 48, 626, 627, 628, 629, 48, 48, 639, 632,
|
|
|
|
|
|
|
|
|
|
638, 48, 48, 48, 631, 633, 48, 48, 635, 630,
|
|
|
|
|
48, 48, 48, 636, 643, 637, 640, 644, 48, 645,
|
|
|
|
|
48, 647, 48, 48, 641, 48, 642, 648, 646, 48,
|
|
|
|
|
649, 48, 48, 48, 651, 48, 652, 650, 654, 48,
|
|
|
|
|
48, 48, 48, 48, 656, 48, 653, 661, 48, 657,
|
|
|
|
|
655, 658, 48, 662, 664, 48, 48, 663, 48, 659,
|
|
|
|
|
48, 660, 671, 665, 666, 48, 667, 48, 669, 668,
|
|
|
|
|
670, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
|
|
|
675, 48, 673, 48, 680, 48, 48, 677, 48, 682,
|
|
|
|
|
672, 674, 48, 48, 48, 683, 48, 684, 678, 48,
|
|
|
|
|
|
|
|
|
|
679, 48, 676, 48, 48, 681, 48, 48, 686, 689,
|
|
|
|
|
48, 685, 692, 48, 687, 693, 48, 48, 48, 688,
|
|
|
|
|
48, 690, 695, 699, 691, 696, 48, 48, 694, 697,
|
|
|
|
|
48, 698, 700, 48, 701, 48, 48, 703, 48, 48,
|
|
|
|
|
704, 702, 705, 48, 48, 48, 707, 48, 48, 706,
|
|
|
|
|
48, 708, 709, 48, 710, 712, 48, 713, 48, 714,
|
|
|
|
|
48, 48, 711, 48, 715, 48, 48, 716, 48, 48,
|
|
|
|
|
717, 721, 48, 48, 48, 48, 48, 48, 48, 718,
|
|
|
|
|
48, 719, 48, 48, 720, 33, 33, 33, 33, 38,
|
|
|
|
|
38, 38, 38, 43, 43, 43, 43, 51, 51, 48,
|
|
|
|
|
|
|
|
|
|
51, 82, 82, 87, 87, 52, 52, 48, 52, 48,
|
2007-11-19 10:32:55 -05:00
|
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
|
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
|
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
|
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
2007-11-20 09:48:33 -05:00
|
|
|
48, 48, 48, 48, 48, 48, 48, 48, 88, 86,
|
|
|
|
|
85, 83, 48, 88, 86, 85, 83, 48, 722, 9,
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
|
|
|
|
|
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
static yyconst flex_int16_t yy_chk[1508] =
|
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,
|
2007-10-31 03:46:30 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 3, 3, 3,
|
2007-11-19 10:32:55 -05:00
|
|
|
4, 4, 4, 11, 19, 16, 3, 11, 16, 4,
|
2007-11-20 09:48:33 -05:00
|
|
|
5, 5, 5, 5, 6, 6, 6, 6, 19, 138,
|
|
|
|
|
5, 7, 7, 7, 6, 8, 8, 8, 138, 14,
|
2007-11-19 10:32:55 -05:00
|
|
|
7, 14, 14, 15, 8, 15, 15, 17, 17, 14,
|
|
|
|
|
18, 20, 20, 21, 23, 17, 22, 21, 24, 18,
|
|
|
|
|
20, 22, 25, 25, 18, 26, 21, 28, 23, 27,
|
|
|
|
|
|
|
|
|
|
29, 56, 24, 30, 30, 29, 24, 31, 27, 37,
|
|
|
|
|
37, 28, 25, 27, 28, 26, 32, 32, 56, 29,
|
|
|
|
|
30, 32, 46, 46, 42, 31, 42, 42, 48, 49,
|
|
|
|
|
48, 48, 51, 49, 51, 51, 54, 55, 57, 54,
|
|
|
|
|
55, 58, 51, 59, 60, 61, 58, 62, 63, 61,
|
2007-11-20 09:48:33 -05:00
|
|
|
64, 63, 62, 66, 63, 57, 65, 66, 67, 65,
|
|
|
|
|
59, 60, 70, 65, 68, 67, 69, 63, 71, 72,
|
|
|
|
|
73, 74, 71, 75, 64, 76, 68, 77, 69, 78,
|
|
|
|
|
79, 70, 80, 81, 73, 79, 72, 83, 83, 74,
|
|
|
|
|
75, 88, 88, 80, 77, 76, 91, 89, 90, 78,
|
|
|
|
|
|
|
|
|
|
81, 85, 89, 85, 85, 93, 90, 92, 94, 95,
|
|
|
|
|
91, 96, 92, 95, 93, 97, 96, 100, 93, 99,
|
|
|
|
|
98, 101, 100, 103, 93, 93, 101, 104, 97, 103,
|
|
|
|
|
94, 98, 102, 102, 98, 105, 99, 106, 107, 108,
|
|
|
|
|
105, 110, 106, 107, 109, 111, 108, 104, 112, 113,
|
|
|
|
|
109, 115, 114, 112, 114, 116, 117, 118, 115, 120,
|
|
|
|
|
110, 117, 118, 119, 111, 119, 121, 729, 122, 123,
|
|
|
|
|
113, 121, 123, 116, 124, 127, 125, 120, 117, 127,
|
|
|
|
|
126, 119, 122, 126, 128, 128, 129, 130, 131, 124,
|
|
|
|
|
125, 129, 130, 132, 133, 134, 134, 135, 136, 137,
|
|
|
|
|
|
|
|
|
|
139, 136, 140, 142, 140, 140, 133, 131, 141, 141,
|
|
|
|
|
137, 139, 143, 132, 135, 144, 145, 145, 146, 142,
|
|
|
|
|
147, 151, 142, 146, 144, 148, 143, 149, 150, 152,
|
|
|
|
|
148, 153, 149, 150, 156, 155, 157, 158, 159, 147,
|
|
|
|
|
151, 160, 158, 156, 153, 162, 196, 152, 154, 155,
|
|
|
|
|
154, 154, 161, 161, 157, 161, 163, 159, 164, 165,
|
|
|
|
|
160, 154, 154, 154, 162, 166, 167, 196, 168, 726,
|
|
|
|
|
169, 163, 170, 164, 169, 167, 165, 168, 166, 171,
|
|
|
|
|
172, 170, 173, 173, 171, 174, 172, 167, 175, 176,
|
|
|
|
|
174, 177, 178, 178, 176, 180, 181, 182, 183, 175,
|
|
|
|
|
|
|
|
|
|
185, 187, 186, 189, 181, 191, 182, 186, 185, 183,
|
|
|
|
|
195, 177, 188, 188, 190, 180, 192, 192, 187, 190,
|
|
|
|
|
188, 193, 189, 194, 190, 197, 198, 199, 195, 191,
|
|
|
|
|
197, 200, 203, 201, 194, 193, 200, 188, 202, 202,
|
|
|
|
|
721, 199, 204, 204, 198, 201, 203, 205, 205, 206,
|
|
|
|
|
207, 207, 208, 208, 206, 209, 210, 213, 211, 209,
|
|
|
|
|
212, 210, 211, 214, 215, 212, 218, 216, 214, 218,
|
|
|
|
|
216, 217, 217, 225, 714, 216, 213, 215, 216, 219,
|
|
|
|
|
220, 221, 222, 219, 223, 220, 221, 223, 222, 224,
|
|
|
|
|
225, 227, 226, 228, 224, 229, 227, 231, 229, 230,
|
|
|
|
|
|
|
|
|
|
230, 231, 228, 232, 219, 226, 233, 234, 235, 235,
|
|
|
|
|
236, 237, 234, 238, 236, 239, 240, 232, 241, 242,
|
|
|
|
|
233, 240, 239, 241, 242, 238, 243, 244, 245, 237,
|
|
|
|
|
246, 247, 247, 246, 249, 255, 244, 252, 256, 257,
|
|
|
|
|
255, 245, 256, 243, 257, 256, 258, 259, 263, 256,
|
|
|
|
|
261, 249, 268, 252, 260, 260, 256, 261, 262, 262,
|
|
|
|
|
264, 264, 263, 258, 265, 266, 268, 265, 267, 267,
|
|
|
|
|
273, 259, 271, 266, 269, 269, 270, 272, 271, 270,
|
|
|
|
|
277, 274, 275, 276, 276, 272, 274, 273, 280, 275,
|
|
|
|
|
278, 278, 280, 277, 281, 282, 283, 284, 285, 287,
|
|
|
|
|
|
|
|
|
|
286, 288, 283, 285, 287, 289, 289, 291, 282, 293,
|
|
|
|
|
284, 286, 281, 290, 292, 295, 290, 294, 294, 296,
|
|
|
|
|
297, 288, 300, 298, 291, 301, 292, 304, 293, 295,
|
|
|
|
|
299, 299, 302, 302, 305, 300, 301, 303, 299, 310,
|
|
|
|
|
304, 314, 296, 298, 297, 303, 306, 306, 308, 311,
|
|
|
|
|
713, 309, 305, 308, 309, 299, 315, 310, 312, 313,
|
|
|
|
|
314, 311, 317, 312, 313, 318, 319, 324, 320, 315,
|
|
|
|
|
318, 319, 321, 321, 322, 325, 317, 320, 325, 322,
|
|
|
|
|
326, 327, 328, 329, 331, 332, 324, 328, 329, 330,
|
|
|
|
|
333, 333, 330, 334, 331, 335, 337, 326, 336, 332,
|
|
|
|
|
|
|
|
|
|
327, 338, 336, 339, 341, 343, 343, 342, 335, 344,
|
|
|
|
|
338, 334, 342, 337, 344, 345, 346, 341, 347, 345,
|
|
|
|
|
348, 349, 350, 351, 352, 353, 357, 339, 356, 355,
|
|
|
|
|
346, 514, 347, 514, 353, 358, 356, 351, 348, 350,
|
|
|
|
|
358, 349, 355, 352, 360, 357, 359, 359, 362, 360,
|
|
|
|
|
361, 361, 363, 362, 364, 365, 366, 368, 367, 369,
|
|
|
|
|
365, 366, 367, 371, 371, 363, 368, 370, 372, 372,
|
|
|
|
|
368, 364, 368, 374, 368, 370, 375, 369, 373, 373,
|
|
|
|
|
376, 377, 379, 383, 375, 376, 380, 379, 377, 381,
|
|
|
|
|
382, 380, 374, 385, 381, 384, 384, 386, 388, 382,
|
|
|
|
|
|
|
|
|
|
389, 383, 390, 392, 389, 391, 393, 394, 395, 397,
|
|
|
|
|
396, 393, 385, 398, 394, 388, 386, 399, 391, 396,
|
|
|
|
|
390, 392, 399, 397, 400, 395, 401, 403, 408, 400,
|
|
|
|
|
409, 401, 406, 398, 404, 404, 405, 405, 406, 407,
|
|
|
|
|
410, 411, 412, 413, 407, 403, 408, 421, 409, 414,
|
|
|
|
|
414, 415, 415, 420, 411, 416, 420, 413, 410, 422,
|
|
|
|
|
416, 421, 412, 423, 423, 424, 425, 425, 426, 427,
|
|
|
|
|
428, 431, 430, 427, 432, 433, 434, 435, 426, 479,
|
|
|
|
|
436, 439, 435, 422, 424, 436, 437, 437, 428, 430,
|
|
|
|
|
431, 438, 433, 440, 441, 434, 438, 442, 432, 443,
|
|
|
|
|
|
|
|
|
|
439, 444, 445, 479, 443, 446, 449, 441, 450, 442,
|
|
|
|
|
453, 453, 440, 451, 446, 449, 446, 454, 452, 455,
|
|
|
|
|
444, 445, 451, 452, 451, 456, 450, 457, 459, 460,
|
|
|
|
|
461, 455, 462, 459, 464, 465, 454, 460, 466, 465,
|
|
|
|
|
457, 467, 456, 466, 469, 468, 467, 461, 470, 475,
|
|
|
|
|
462, 471, 475, 464, 468, 483, 471, 484, 469, 470,
|
|
|
|
|
472, 472, 473, 473, 474, 474, 477, 478, 480, 480,
|
|
|
|
|
481, 477, 478, 482, 483, 481, 484, 485, 486, 486,
|
|
|
|
|
487, 488, 489, 491, 482, 495, 482, 487, 490, 490,
|
|
|
|
|
488, 482, 493, 496, 494, 497, 498, 493, 491, 494,
|
|
|
|
|
|
|
|
|
|
496, 498, 485, 500, 495, 499, 501, 489, 500, 499,
|
|
|
|
|
499, 502, 503, 497, 504, 502, 505, 501, 506, 504,
|
|
|
|
|
507, 507, 508, 508, 513, 512, 515, 515, 517, 506,
|
|
|
|
|
512, 518, 518, 508, 519, 520, 503, 505, 521, 522,
|
|
|
|
|
513, 526, 524, 523, 524, 530, 520, 517, 523, 521,
|
|
|
|
|
522, 525, 525, 527, 519, 528, 529, 528, 527, 531,
|
|
|
|
|
533, 529, 530, 532, 532, 533, 526, 535, 534, 536,
|
|
|
|
|
538, 539, 539, 541, 540, 536, 538, 534, 531, 534,
|
|
|
|
|
542, 543, 535, 540, 542, 546, 543, 544, 544, 546,
|
|
|
|
|
547, 541, 548, 549, 550, 552, 553, 554, 552, 555,
|
|
|
|
|
|
|
|
|
|
555, 556, 556, 559, 547, 557, 557, 563, 553, 554,
|
|
|
|
|
548, 558, 558, 549, 550, 561, 562, 562, 564, 569,
|
|
|
|
|
561, 559, 565, 566, 571, 563, 566, 572, 565, 568,
|
|
|
|
|
568, 570, 570, 573, 575, 564, 572, 576, 571, 577,
|
|
|
|
|
577, 580, 573, 578, 569, 580, 576, 581, 578, 582,
|
|
|
|
|
581, 583, 584, 575, 585, 586, 583, 587, 584, 588,
|
|
|
|
|
586, 588, 592, 592, 598, 587, 593, 593, 582, 585,
|
|
|
|
|
595, 595, 596, 597, 597, 600, 601, 596, 601, 598,
|
|
|
|
|
600, 602, 603, 604, 606, 607, 605, 608, 609, 610,
|
|
|
|
|
610, 611, 602, 603, 604, 605, 612, 613, 615, 608,
|
|
|
|
|
|
|
|
|
|
614, 614, 616, 615, 607, 609, 617, 621, 611, 606,
|
|
|
|
|
625, 622, 626, 612, 622, 613, 616, 623, 623, 624,
|
|
|
|
|
624, 626, 627, 629, 617, 628, 621, 627, 625, 630,
|
|
|
|
|
628, 631, 632, 633, 630, 635, 631, 629, 633, 634,
|
|
|
|
|
636, 639, 637, 640, 635, 642, 632, 641, 641, 636,
|
|
|
|
|
634, 637, 643, 642, 646, 646, 650, 643, 653, 639,
|
|
|
|
|
647, 640, 653, 647, 648, 648, 649, 649, 651, 650,
|
|
|
|
|
652, 652, 654, 651, 655, 657, 656, 658, 659, 660,
|
|
|
|
|
657, 665, 655, 662, 663, 663, 669, 659, 668, 668,
|
|
|
|
|
654, 656, 671, 672, 673, 669, 677, 671, 660, 674,
|
|
|
|
|
|
|
|
|
|
662, 675, 658, 683, 676, 665, 678, 679, 673, 676,
|
|
|
|
|
712, 672, 679, 686, 674, 681, 681, 682, 687, 675,
|
|
|
|
|
709, 677, 683, 687, 678, 684, 684, 698, 682, 685,
|
|
|
|
|
685, 686, 688, 688, 689, 689, 690, 691, 691, 692,
|
|
|
|
|
692, 690, 694, 694, 695, 706, 698, 699, 715, 695,
|
|
|
|
|
704, 699, 702, 702, 704, 707, 707, 708, 708, 710,
|
|
|
|
|
710, 716, 706, 711, 711, 717, 719, 715, 718, 705,
|
|
|
|
|
716, 720, 720, 703, 701, 700, 697, 696, 693, 717,
|
|
|
|
|
680, 718, 670, 667, 719, 723, 723, 723, 723, 724,
|
|
|
|
|
724, 724, 724, 725, 725, 725, 725, 727, 727, 666,
|
|
|
|
|
|
|
|
|
|
727, 728, 728, 730, 730, 731, 731, 664, 731, 661,
|
|
|
|
|
645, 644, 638, 620, 619, 618, 599, 594, 591, 590,
|
|
|
|
|
589, 579, 574, 567, 560, 551, 545, 537, 516, 511,
|
|
|
|
|
510, 509, 492, 476, 463, 458, 448, 447, 429, 419,
|
|
|
|
|
418, 417, 402, 387, 378, 354, 340, 323, 316, 307,
|
|
|
|
|
279, 254, 253, 251, 250, 248, 184, 179, 87, 86,
|
|
|
|
|
84, 82, 47, 43, 39, 38, 33, 10, 9, 722,
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
|
|
|
|
|
|
|
|
|
|
722, 722, 722, 722, 722, 722, 722
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
static yy_state_type yy_last_accepting_state;
|
|
|
|
|
static char *yy_last_accepting_cpos;
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -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);
|
|
|
|
|
|
|
|
|
|
#define YY_NO_UNPUT
|
|
|
|
|
|
|
|
|
|
#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;
|
2007-10-19 10:02:53 -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 ) \
|
2007-10-19 10:02:53 -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
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 1114 "<stdout>"
|
2007-10-19 10:02:53 -04:00
|
|
|
|
|
|
|
|
#define INITIAL 0
|
2007-10-18 18:49:08 -04:00
|
|
|
#define quotedstring 1
|
|
|
|
|
#define include 2
|
|
|
|
|
#define include_quoted 3
|
|
|
|
|
|
2007-10-19 10:02:53 -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 );
|
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
|
2007-10-19 10:02:53 -04:00
|
|
|
extern "C" int yywrap (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2007-10-19 10:02:53 -04:00
|
|
|
extern int yywrap (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef yytext_ptr
|
2007-10-19 10:02:53 -04:00
|
|
|
static void yy_flex_strncpy (char *,yyconst char *,int );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YY_NEED_STRLEN
|
2007-10-19 10:02:53 -04:00
|
|
|
static int yy_flex_strlen (yyconst char * );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef YY_NO_INPUT
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
static int yyinput (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2007-10-19 10:02:53 -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().
|
|
|
|
|
*/
|
|
|
|
|
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
|
|
|
|
|
* is returned in "result".
|
|
|
|
|
*/
|
|
|
|
|
#ifndef YY_INPUT
|
|
|
|
|
#define YY_INPUT(buf,result,max_size) \
|
2007-10-19 10:02:53 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
|
2007-10-18 18:49:08 -04:00
|
|
|
{ \
|
2007-10-19 10:02:53 -04:00
|
|
|
int c = '*'; \
|
|
|
|
|
size_t 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; \
|
|
|
|
|
} \
|
2007-10-19 10:02:53 -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
|
|
|
|
|
|
2007-10-19 10:02:53 -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
|
2007-10-19 10:02:53 -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
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/** The main scanner function which does all the work.
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_DECL
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
#line 98 "util/configlexer.lex"
|
|
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 1270 "<stdout>"
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
if ( !(yy_init) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_init) = 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#ifdef YY_USER_INIT
|
|
|
|
|
YY_USER_INIT;
|
|
|
|
|
#endif
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_load_buffer_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
while ( 1 ) /* loops until end-of-file is reached */
|
|
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_more_len) = 0;
|
|
|
|
|
if ( (yy_more_flag) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
|
|
|
|
|
(yy_more_flag) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Support of yytext. */
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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] )
|
|
|
|
|
{
|
2007-10-19 10:02:53 -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];
|
2007-11-20 09:48:33 -05:00
|
|
|
if ( yy_current_state >= 723 )
|
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;
|
|
|
|
|
}
|
2007-11-20 09:48:33 -05:00
|
|
|
while ( yy_base[yy_current_state] != 1470 );
|
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 */
|
2007-10-19 10:02:53 -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 */
|
2007-10-19 10:02:53 -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
|
|
|
|
|
#line 99 "util/configlexer.lex"
|
|
|
|
|
{ LEXOUT(("SP ")); /* ignore */ }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 2:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 100 "util/configlexer.lex"
|
|
|
|
|
{ LEXOUT(("comment(%s) ", yytext)); /* ignore */ }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 3:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 101 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_SERVER;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 4:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 102 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_NUM_THREADS;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 5:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 103 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_VERBOSITY;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 6:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 104 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_PORT;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 7:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 105 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_OUTGOING_PORT;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 8:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 106 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_OUTGOING_RANGE;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 9:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 107 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_OUTGOING_NUM_TCP;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 10:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 108 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_INCOMING_NUM_TCP;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 11:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 109 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_DO_IP4;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 12:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 110 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_DO_IP6;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 13:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 111 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_DO_UDP;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 14:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 112 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_DO_TCP;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 15:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 113 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_INTERFACE;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 16:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 114 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
{ YDOUT; return VAR_OUTGOING_INTERFACE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 17:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 115 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
{ YDOUT; return VAR_CHROOT;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 18:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 116 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
{ YDOUT; return VAR_USERNAME;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 19:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 117 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
{ YDOUT; return VAR_DIRECTORY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 20:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 118 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
{ YDOUT; return VAR_LOGFILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 21:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 119 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
{ YDOUT; return VAR_PIDFILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 22:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 120 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_ROOT_HINTS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 23:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 121 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_MSG_BUFFER_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 24:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 122 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_MSG_CACHE_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 25:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 123 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_MSG_CACHE_SLABS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 26:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 124 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_RRSET_CACHE_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 27:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 125 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_RRSET_CACHE_SLABS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 28:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 126 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_CACHE_MAX_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 29:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 127 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_HOST_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 30:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 128 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_LAME_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 31:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 129 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_SLABS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 32:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 130 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_NUMHOSTS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 33:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 131 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_LAME_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 34:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 132 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_NUM_QUERIES_PER_THREAD;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 35:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 133 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_TARGET_FETCH_POLICY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 36:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 134 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_SHORT_BUFSIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 37:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 135 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_LARGE_QUERIES;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 38:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 136 "util/configlexer.lex"
|
2007-10-31 03:46:30 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_GLUE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 39:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 137 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_DNNSEC_STRIPPED;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 40:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 138 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_STUB_ZONE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 41:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 139 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_NAME;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 42:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 140 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_STUB_ADDR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 43:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 141 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_STUB_HOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 44:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 142 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_ZONE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 45:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 143 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_ADDR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 46:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 144 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_HOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 47:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 145 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_DO_NOT_QUERY_ADDRESS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 48:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 146 "util/configlexer.lex"
|
2007-11-01 11:32:27 -04:00
|
|
|
{ YDOUT; return VAR_DO_NOT_QUERY_LOCALHOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 49:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 147 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_ACCESS_CONTROL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 50:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 148 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_HIDE_IDENTITY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 51:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 149 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_HIDE_VERSION;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 52:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 150 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_IDENTITY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 53:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 151 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_VERSION;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 54:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 152 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_MODULE_CONF;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 55:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 153 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_TRUST_ANCHOR_FILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 56:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 154 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_TRUSTED_KEYS_FILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 57:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 155 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_TRUST_ANCHOR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 58:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 156 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_VAL_OVERRIDE_DATE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 59:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 157 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_BOGUS_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 60:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 158 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_VAL_CLEAN_ADDITIONAL;}
|
2007-10-19 04:32:36 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 61:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 159 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_VAL_PERMISSIVE_MODE;}
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 62:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 160 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_KEY_CACHE_SIZE;}
|
2007-10-22 02:25:46 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 63:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 161 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_KEY_CACHE_SLABS;}
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 64:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 162 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_VAL_NSEC3_KEYSIZE_ITERATIONS;}
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 65:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 163 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ YDOUT; return VAR_USE_SYSLOG;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 66:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 164 "util/configlexer.lex"
|
2007-11-20 09:48:33 -05:00
|
|
|
{ YDOUT; return VAR_LOCAL_ZONE;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 67:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 165 "util/configlexer.lex"
|
|
|
|
|
{ YDOUT; return VAR_LOCAL_DATA;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 68:
|
|
|
|
|
/* rule 68 can match eol */
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 166 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("NL\n")); cfg_parser->line++;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
/* Quoted strings. Strip leading and ending quotes */
|
2007-11-20 09:48:33 -05:00
|
|
|
case 69:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 169 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(quotedstring):
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 170 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 70:
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 174 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 71:
|
|
|
|
|
/* rule 71 can match eol */
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 175 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 72:
|
2007-11-19 10:32:55 -05:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 176 "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
|
|
|
|
|
/* include: directive */
|
2007-11-20 09:48:33 -05:00
|
|
|
case 73:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 187 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("v(%s) ", yytext)); BEGIN(include); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(include):
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 188 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside include directive");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 74:
|
2007-10-22 02:25:46 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 192 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ LEXOUT(("ISP ")); /* ignore */ }
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 75:
|
|
|
|
|
/* rule 75 can match eol */
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 193 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ LEXOUT(("NL\n")); cfg_parser->line++;}
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 76:
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 194 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 77:
|
2007-11-19 10:32:55 -05:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 195 "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):
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 200 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 78:
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 204 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 79:
|
|
|
|
|
/* rule 79 can match eol */
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 205 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 80:
|
2007-11-19 10:32:55 -05:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 206 "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):
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 212 "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
|
2007-11-20 09:48:33 -05:00
|
|
|
case 81:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 222 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("unquotedstr(%s) ", yytext));
|
|
|
|
|
yylval.str = strdup(yytext); return STRING; }
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
case 82:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 225 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
ECHO;
|
|
|
|
|
YY_BREAK
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 1826 "<stdout>"
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
case YY_END_OF_BUFFER:
|
|
|
|
|
{
|
|
|
|
|
/* Amount of text matched not including the EOB char. */
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -04:00
|
|
|
*yy_cp = (yy_hold_char);
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RESTORE_YY_MORE_OFFSET
|
|
|
|
|
|
2007-10-19 10:02:53 -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
|
2007-10-19 10:02:53 -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.
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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().
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 );
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( yy_next_state )
|
|
|
|
|
{
|
|
|
|
|
/* Consume the NUL. */
|
2007-10-19 10:02:53 -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
|
|
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_find_action;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
else switch ( yy_get_next_buffer( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
case EOB_ACT_END_OF_FILE:
|
|
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_did_buffer_switch_on_eof) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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.
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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
|
|
|
|
|
{
|
2007-10-19 10:02:53 -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:
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_c_buf_p) =
|
|
|
|
|
(yytext_ptr) + yy_amount_of_matched_text;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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:
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_c_buf_p) =
|
|
|
|
|
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 */
|
2007-10-19 10:02:53 -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
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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" );
|
|
|
|
|
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -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++);
|
|
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
2007-10-19 10:02:53 -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 */
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
int yy_c_buf_p_offset =
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -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" );
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
|
2007-10-18 18:49:08 -04:00
|
|
|
number_to_move - 1;
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
|
|
|
|
|
(yy_n_chars), num_to_read );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
yyrestart(yyin );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
ret_val = EOB_ACT_LAST_MATCH;
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
(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
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return ret_val;
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_get_previous_state - get the state just before the EOB char was reached */
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
|
|
|
|
|
yy_current_state = (yy_start);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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] )
|
|
|
|
|
{
|
2007-10-19 10:02:53 -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];
|
2007-11-20 09:48:33 -05:00
|
|
|
if ( yy_current_state >= 723 )
|
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;
|
2007-10-19 10:02:53 -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 );
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -04:00
|
|
|
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
|
|
|
|
|
{
|
|
|
|
|
register int yy_is_jam;
|
|
|
|
|
register char *yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
register YY_CHAR yy_c = 1;
|
|
|
|
|
if ( yy_accept[yy_current_state] )
|
|
|
|
|
{
|
2007-10-19 10:02:53 -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];
|
2007-11-20 09:48:33 -05:00
|
|
|
if ( yy_current_state >= 723 )
|
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];
|
2007-11-20 09:48:33 -05:00
|
|
|
yy_is_jam = (yy_current_state == 722);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return yy_is_jam ? 0 : yy_current_state;
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
#ifndef YY_NO_INPUT
|
2007-10-19 04:37:27 -04:00
|
|
|
#ifdef __cplusplus
|
2007-10-19 10:02:53 -04:00
|
|
|
static int yyinput (void)
|
2007-10-19 04:37:27 -04:00
|
|
|
#else
|
2007-10-19 10:02:53 -04:00
|
|
|
static int input (void)
|
2007-10-19 04:37:27 -04:00
|
|
|
#endif
|
2007-10-19 04:11:57 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
{
|
|
|
|
|
int c;
|
|
|
|
|
|
|
|
|
|
*(yy_c_buf_p) = (yy_hold_char);
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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.
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -04:00
|
|
|
*(yy_c_buf_p) = '\0';
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ /* need more input */
|
2007-10-19 10:02:53 -04:00
|
|
|
int offset = (yy_c_buf_p) - (yytext_ptr);
|
|
|
|
|
++(yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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. */
|
2007-10-19 10:02:53 -04:00
|
|
|
yyrestart(yyin );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/*FALLTHROUGH*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
case EOB_ACT_END_OF_FILE:
|
|
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
if ( yywrap( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
return EOF;
|
|
|
|
|
|
2007-10-19 10:02:53 -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:
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + offset;
|
2007-10-18 18:49:08 -04:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
|
|
|
|
#endif /* ifndef YY_NO_INPUT */
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
}
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_init_buffer(YY_CURRENT_BUFFER,input_file );
|
|
|
|
|
yy_load_buffer_state( );
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
if ( YY_CURRENT_BUFFER )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* Flush out information for old buffer. */
|
2007-10-19 10:02:53 -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
|
|
|
}
|
|
|
|
|
|
2007-10-19 10:02:53 -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.
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -04:00
|
|
|
(yy_did_buffer_switch_on_eof) = 1;
|
|
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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);
|
|
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -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.
|
|
|
|
|
*/
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_init_buffer(b,file );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return b;
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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 )
|
2007-10-19 10:02:53 -04:00
|
|
|
yyfree((void *) b->yy_ch_buf );
|
2007-10-19 04:11:57 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yyfree((void *) b );
|
|
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 )
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 04:32:36 -04:00
|
|
|
}
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/* 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*)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
|
|
|
|
|
|
|
|
|
|
/* Increase the buffer to prepare for a possible push. */
|
|
|
|
|
int grow_size = 8 /* arbitrary grow size */;
|
|
|
|
|
|
|
|
|
|
num_to_alloc = (yy_buffer_stack_max) + grow_size;
|
|
|
|
|
(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
|
|
|
|
|
((yy_buffer_stack),
|
|
|
|
|
num_to_alloc * sizeof(struct yy_buffer_state*)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
|
}
|
|
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -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;
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
yy_switch_to_buffer(b );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return b;
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 str 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) );
|
|
|
|
|
}
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Get memory for full buffer, including space for trailing EOB's. */
|
2007-10-19 10:02:53 -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()" );
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
for ( i = 0; i < _yybytes_len; ++i )
|
|
|
|
|
buf[i] = yybytes[i];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifndef YY_EXIT_FAILURE
|
|
|
|
|
#define YY_EXIT_FAILURE 2
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/* Redefine yyless() so it works in section 3 code. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/* Accessor methods (get/set functions) to struct members. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/** Get the current line number.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
int yyget_lineno (void)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
return yylineno;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/** Get the input stream.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
FILE *yyget_in (void)
|
|
|
|
|
{
|
|
|
|
|
return yyin;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/** Get the output stream.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
FILE *yyget_out (void)
|
|
|
|
|
{
|
|
|
|
|
return yyout;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/** Get the length of the current token.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
int yyget_leng (void)
|
|
|
|
|
{
|
|
|
|
|
return yyleng;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/** Get the current token.
|
|
|
|
|
*
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
char *yyget_text (void)
|
|
|
|
|
{
|
|
|
|
|
return yytext;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -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-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
void yyset_out (FILE * out_str )
|
|
|
|
|
{
|
|
|
|
|
yyout = out_str ;
|
|
|
|
|
}
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
int yyget_debug (void)
|
|
|
|
|
{
|
|
|
|
|
return yy_flex_debug;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
void yyset_debug (int bdebug )
|
|
|
|
|
{
|
|
|
|
|
yy_flex_debug = bdebug ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int yy_init_globals (void)
|
|
|
|
|
{
|
|
|
|
|
/* Initialization is the same as for the non-reentrant scanner.
|
|
|
|
|
* This function is called from yylex_destroy(), so don't allocate here.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
(yy_buffer_stack) = 0;
|
|
|
|
|
(yy_buffer_stack_top) = 0;
|
|
|
|
|
(yy_buffer_stack_max) = 0;
|
|
|
|
|
(yy_c_buf_p) = (char *) 0;
|
|
|
|
|
(yy_init) = 0;
|
|
|
|
|
(yy_start) = 0;
|
|
|
|
|
|
|
|
|
|
/* Defined in main.c */
|
|
|
|
|
#ifdef YY_STDINIT
|
|
|
|
|
yyin = stdin;
|
|
|
|
|
yyout = stdout;
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2007-10-19 10:02:53 -04:00
|
|
|
yyin = (FILE *) 0;
|
|
|
|
|
yyout = (FILE *) 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/* Destroy the stack itself. */
|
|
|
|
|
yyfree((yy_buffer_stack) );
|
|
|
|
|
(yy_buffer_stack) = NULL;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
return 0;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
/*
|
|
|
|
|
* Internal utility routines.
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#ifndef yytext_ptr
|
2007-10-19 10:02:53 -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];
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YY_NEED_STRLEN
|
2007-10-19 10:02:53 -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;
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
void *yyalloc (yy_size_t size )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
return (void *) malloc( size );
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2007-10-19 10:02:53 -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 );
|
2007-10-19 10:02:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void yyfree (void * ptr )
|
|
|
|
|
{
|
|
|
|
|
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#define YYTABLES_NAME "yytables"
|
|
|
|
|
|
2007-11-20 09:48:33 -05:00
|
|
|
#line 225 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
|