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-19 10:32:55 -05:00
|
|
|
#define YY_NUM_RULES 80
|
|
|
|
|
#define YY_END_OF_BUFFER 81
|
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-19 10:32:55 -05:00
|
|
|
static yyconst flex_int16_t yy_accept[709] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-19 10:32:55 -05:00
|
|
|
1, 1, 68, 68, 72, 72, 76, 76, 81, 79,
|
|
|
|
|
1, 66, 67, 2, 80, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 68, 69, 80, 70, 80, 75, 72, 73,
|
|
|
|
|
74, 80, 76, 77, 78, 80, 79, 0, 1, 2,
|
|
|
|
|
2, 2, 2, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 68, 0, 75, 0, 72, 76, 0, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 41, 79, 79, 79, 79,
|
|
|
|
|
6, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 17, 79, 11, 12, 79, 14, 13,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 3, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
|
|
|
|
|
71, 79, 79, 79, 79, 79, 79, 20, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 21, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 53, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 52, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 18, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 19, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 15, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
|
|
|
|
|
79, 79, 79, 79, 42, 43, 40, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 5, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 22, 79, 79, 79, 79, 65, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 38, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 4, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 45, 46, 44, 79, 79, 79,
|
|
|
|
|
|
|
|
|
|
79, 51, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 57, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
28, 79, 79, 79, 79, 79, 50, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 54, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 7, 79, 79, 79, 79, 79, 79, 59,
|
|
|
|
|
79, 79, 79, 79, 49, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 29, 30, 62, 79, 79, 24,
|
|
|
|
|
79, 79, 79, 79, 8, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
|
|
|
|
|
79, 79, 79, 63, 23, 25, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 10, 79, 79, 79, 79, 79, 9,
|
|
|
|
|
26, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 31, 79, 79, 27,
|
|
|
|
|
79, 55, 56, 79, 79, 58, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 16, 79, 79, 79, 79,
|
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 35, 79,
|
|
|
|
|
79, 61, 47, 79, 79, 37, 36, 79, 32, 79,
|
|
|
|
|
60, 79, 79, 79, 33, 79, 79, 48, 39, 34,
|
|
|
|
|
|
|
|
|
|
79, 79, 79, 79, 79, 79, 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-19 10:32:55 -05:00
|
|
|
static yyconst flex_int16_t yy_base[718] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-19 10:32:55 -05:00
|
|
|
0, 0, 35, 38, 49, 53, 59, 63, 1441, 1428,
|
|
|
|
|
42, 1442, 1442, 68, 72, 34, 66, 69, 33, 70,
|
|
|
|
|
72, 75, 73, 77, 81, 84, 88, 86, 89, 92,
|
|
|
|
|
96, 105, 1427, 1442, 1442, 1442, 106, 1426, 1435, 1442,
|
|
|
|
|
1442, 123, 1424, 1442, 1442, 119, 1423, 127, 128, 0,
|
|
|
|
|
131, 0, 0, 125, 126, 90, 127, 135, 132, 133,
|
|
|
|
|
134, 136, 137, 139, 145, 142, 147, 148, 153, 151,
|
|
|
|
|
155, 157, 158, 161, 164, 162, 166, 167, 168, 169,
|
|
|
|
|
171, 1422, 183, 1421, 199, 1430, 1419, 185, 185, 186,
|
|
|
|
|
184, 195, 193, 196, 197, 199, 203, 208, 207, 205,
|
|
|
|
|
|
|
|
|
|
214, 211, 215, 225, 221, 228, 227, 230, 229, 231,
|
|
|
|
|
232, 233, 238, 239, 241, 247, 249, 243, 251, 252,
|
|
|
|
|
253, 255, 256, 260, 262, 266, 272, 263, 280, 276,
|
|
|
|
|
277, 278, 281, 279, 283, 48, 287, 289, 285, 288,
|
|
|
|
|
294, 293, 300, 306, 303, 305, 314, 311, 312, 315,
|
|
|
|
|
313, 334, 318, 319, 317, 325, 321, 323, 341, 324,
|
|
|
|
|
329, 330, 346, 351, 350, 352, 353, 356, 360, 362,
|
|
|
|
|
366, 358, 370, 354, 372, 1418, 376, 377, 378, 379,
|
|
|
|
|
1417, 380, 386, 382, 383, 392, 398, 389, 394, 400,
|
|
|
|
|
401, 397, 402, 404, 406, 405, 421, 410, 418, 420,
|
|
|
|
|
|
|
|
|
|
426, 428, 435, 432, 437, 429, 443, 440, 441, 439,
|
|
|
|
|
442, 448, 449, 450, 453, 454, 467, 463, 465, 466,
|
|
|
|
|
455, 464, 470, 473, 476, 481, 474, 483, 484, 490,
|
|
|
|
|
486, 488, 489, 491, 493, 494, 496, 504, 495, 502,
|
|
|
|
|
505, 510, 514, 1416, 506, 1415, 1414, 508, 1413, 1412,
|
|
|
|
|
521, 522, 520, 517, 519, 528, 530, 531, 535, 538,
|
|
|
|
|
541, 542, 546, 548, 547, 552, 554, 556, 555, 558,
|
|
|
|
|
559, 563, 1411, 565, 566, 567, 568, 570, 578, 575,
|
|
|
|
|
576, 577, 587, 579, 585, 589, 590, 592, 593, 594,
|
|
|
|
|
595, 596, 598, 600, 603, 604, 610, 608, 611, 625,
|
|
|
|
|
|
|
|
|
|
1410, 620, 627, 622, 626, 628, 631, 1409, 632, 634,
|
|
|
|
|
637, 635, 647, 650, 1408, 641, 649, 651, 643, 653,
|
|
|
|
|
654, 661, 655, 656, 667, 657, 663, 673, 671, 672,
|
|
|
|
|
674, 1407, 677, 683, 680, 682, 685, 686, 691, 684,
|
|
|
|
|
692, 693, 694, 695, 697, 1406, 696, 699, 701, 711,
|
|
|
|
|
704, 718, 715, 717, 724, 721, 723, 722, 725, 730,
|
|
|
|
|
733, 741, 745, 729, 742, 746, 747, 1405, 757, 758,
|
|
|
|
|
760, 756, 749, 762, 759, 763, 1404, 764, 766, 768,
|
|
|
|
|
771, 769, 772, 773, 774, 776, 775, 779, 783, 795,
|
|
|
|
|
797, 1403, 793, 794, 801, 798, 802, 803, 804, 805,
|
|
|
|
|
|
|
|
|
|
808, 806, 810, 813, 1402, 1401, 1400, 812, 814, 819,
|
|
|
|
|
824, 826, 829, 827, 831, 832, 1399, 834, 833, 836,
|
|
|
|
|
838, 839, 841, 842, 849, 854, 844, 853, 856, 861,
|
|
|
|
|
862, 864, 865, 866, 867, 868, 870, 885, 888, 871,
|
|
|
|
|
882, 874, 889, 1398, 897, 893, 878, 896, 1397, 898,
|
|
|
|
|
899, 900, 904, 906, 907, 908, 916, 913, 923, 925,
|
|
|
|
|
926, 1396, 932, 933, 910, 931, 940, 936, 918, 920,
|
|
|
|
|
938, 941, 943, 944, 945, 951, 946, 1395, 955, 962,
|
|
|
|
|
948, 958, 956, 964, 973, 971, 969, 975, 976, 982,
|
|
|
|
|
978, 981, 984, 985, 1394, 1393, 1392, 993, 987, 989,
|
|
|
|
|
|
|
|
|
|
995, 1391, 990, 997, 1001, 1002, 1004, 1005, 1006, 1008,
|
|
|
|
|
1018, 1007, 1014, 1020, 1023, 1012, 1024, 1026, 1030, 1027,
|
|
|
|
|
1031, 1033, 1390, 1034, 1042, 1044, 1037, 1045, 1047, 1051,
|
|
|
|
|
1389, 1054, 1048, 1056, 1057, 1059, 1388, 1060, 1061, 1064,
|
|
|
|
|
1065, 1068, 1070, 1072, 1075, 1387, 1078, 1081, 1082, 1084,
|
|
|
|
|
1085, 1086, 1386, 1088, 1090, 1094, 1092, 1096, 1098, 1385,
|
|
|
|
|
1097, 1099, 1102, 1109, 1384, 1110, 1117, 1111, 1113, 1119,
|
|
|
|
|
1112, 1121, 1123, 1122, 1383, 1382, 1381, 1129, 1133, 1380,
|
|
|
|
|
1135, 1141, 1137, 1139, 1379, 1140, 1142, 1146, 1147, 1148,
|
|
|
|
|
1143, 1149, 1150, 1151, 1153, 1155, 1160, 1161, 1162, 1165,
|
|
|
|
|
|
|
|
|
|
1171, 1167, 1168, 1378, 1377, 1376, 1172, 1173, 1183, 1185,
|
|
|
|
|
1175, 1179, 1187, 1189, 1190, 1195, 1196, 1197, 1198, 1199,
|
|
|
|
|
1205, 1206, 1207, 1375, 1202, 1208, 1213, 1209, 1218, 1374,
|
|
|
|
|
1372, 1222, 1224, 1229, 1231, 1219, 1238, 1235, 1236, 1225,
|
|
|
|
|
1237, 1239, 1241, 1242, 1244, 1247, 1364, 1248, 1250, 1348,
|
|
|
|
|
1251, 1347, 1346, 1255, 1252, 1345, 1257, 1258, 1259, 1263,
|
|
|
|
|
1264, 1269, 1260, 1268, 1272, 1344, 1271, 1279, 1280, 1284,
|
|
|
|
|
1288, 1289, 1291, 1293, 1295, 1297, 1301, 1303, 1342, 1306,
|
|
|
|
|
1308, 1341, 1340, 1298, 1310, 1339, 1337, 1312, 1336, 1315,
|
|
|
|
|
1281, 1309, 1321, 1323, 840, 1325, 1327, 736, 612, 536,
|
|
|
|
|
|
|
|
|
|
1316, 1329, 1318, 1330, 1331, 1334, 445, 1442, 1361, 1365,
|
|
|
|
|
1369, 418, 1373, 1377, 338, 1379, 1381
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-11-19 10:32:55 -05:00
|
|
|
static yyconst flex_int16_t yy_def[718] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-11-19 10:32:55 -05:00
|
|
|
708, 1, 709, 709, 710, 710, 711, 711, 708, 712,
|
|
|
|
|
708, 708, 708, 713, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 714, 708, 708, 708, 714, 715, 708, 708,
|
|
|
|
|
708, 715, 716, 708, 708, 716, 712, 712, 708, 717,
|
|
|
|
|
713, 717, 713, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 714, 714, 715, 715, 708, 716, 716, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
|
|
|
|
|
|
|
|
|
|
712, 712, 712, 712, 712, 712, 712, 0, 708, 708,
|
|
|
|
|
708, 708, 708, 708, 708, 708, 708
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-11-19 10:32:55 -05:00
|
|
|
static yyconst flex_int16_t yy_nxt[1480] =
|
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,
|
|
|
|
|
42, 44, 44, 45, 42, 44, 44, 45, 172, 52,
|
|
|
|
|
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,
|
|
|
|
|
48, 98, 97, 48, 99, 92, 48, 103, 48, 48,
|
|
|
|
|
94, 95, 48, 102, 48, 104, 48, 100, 48, 48,
|
|
|
|
|
108, 105, 48, 48, 101, 48, 106, 48, 48, 48,
|
|
|
|
|
48, 107, 48, 110, 116, 109, 82, 82, 87, 87,
|
|
|
|
|
111, 117, 112, 113, 114, 48, 48, 48, 115, 118,
|
|
|
|
|
|
|
|
|
|
84, 119, 84, 84, 48, 120, 48, 48, 48, 121,
|
|
|
|
|
48, 122, 128, 123, 48, 129, 48, 124, 48, 48,
|
|
|
|
|
135, 134, 48, 125, 126, 48, 48, 130, 136, 127,
|
|
|
|
|
131, 138, 48, 132, 140, 133, 48, 139, 48, 48,
|
|
|
|
|
48, 48, 48, 48, 48, 141, 137, 142, 145, 48,
|
|
|
|
|
48, 147, 48, 150, 48, 152, 153, 148, 48, 143,
|
|
|
|
|
48, 144, 48, 48, 48, 146, 48, 48, 156, 158,
|
|
|
|
|
149, 48, 154, 48, 48, 151, 161, 48, 157, 164,
|
|
|
|
|
155, 162, 159, 48, 163, 160, 165, 48, 48, 48,
|
|
|
|
|
48, 48, 48, 169, 48, 176, 48, 171, 48, 48,
|
|
|
|
|
|
|
|
|
|
48, 168, 174, 175, 48, 48, 166, 170, 167, 173,
|
|
|
|
|
181, 48, 182, 180, 48, 177, 48, 48, 178, 179,
|
|
|
|
|
185, 184, 48, 48, 48, 48, 48, 186, 48, 48,
|
|
|
|
|
48, 198, 48, 183, 48, 48, 48, 189, 84, 196,
|
|
|
|
|
48, 48, 187, 195, 188, 48, 197, 190, 191, 201,
|
|
|
|
|
202, 199, 48, 200, 203, 204, 205, 48, 192, 193,
|
|
|
|
|
194, 48, 48, 48, 48, 48, 213, 48, 211, 48,
|
|
|
|
|
208, 48, 210, 48, 206, 207, 212, 48, 215, 214,
|
|
|
|
|
216, 48, 209, 48, 219, 218, 217, 48, 48, 48,
|
|
|
|
|
48, 48, 225, 48, 48, 227, 221, 48, 222, 224,
|
|
|
|
|
|
|
|
|
|
48, 223, 228, 48, 231, 48, 234, 220, 48, 48,
|
|
|
|
|
226, 48, 48, 48, 232, 48, 48, 48, 47, 229,
|
|
|
|
|
239, 48, 230, 236, 233, 235, 237, 242, 244, 48,
|
|
|
|
|
241, 48, 48, 243, 238, 240, 246, 48, 247, 48,
|
|
|
|
|
48, 248, 249, 48, 251, 245, 48, 250, 48, 252,
|
|
|
|
|
48, 48, 48, 48, 48, 253, 48, 254, 256, 48,
|
|
|
|
|
48, 48, 261, 258, 48, 48, 48, 262, 259, 255,
|
|
|
|
|
263, 260, 257, 264, 48, 48, 48, 48, 48, 266,
|
|
|
|
|
265, 48, 267, 268, 48, 48, 270, 48, 269, 274,
|
|
|
|
|
272, 273, 48, 271, 48, 48, 277, 48, 278, 48,
|
|
|
|
|
|
|
|
|
|
48, 48, 48, 279, 48, 48, 48, 48, 275, 276,
|
|
|
|
|
283, 282, 284, 48, 281, 48, 48, 48, 280, 48,
|
|
|
|
|
285, 48, 287, 286, 289, 48, 290, 293, 48, 288,
|
|
|
|
|
48, 48, 48, 48, 291, 292, 298, 294, 301, 48,
|
|
|
|
|
295, 48, 48, 303, 296, 299, 48, 48, 302, 48,
|
|
|
|
|
305, 297, 48, 48, 300, 306, 308, 48, 48, 48,
|
|
|
|
|
304, 307, 309, 48, 310, 48, 48, 48, 315, 48,
|
|
|
|
|
48, 311, 313, 314, 48, 317, 48, 48, 48, 48,
|
|
|
|
|
318, 48, 312, 316, 323, 321, 48, 48, 48, 48,
|
|
|
|
|
48, 320, 325, 328, 322, 319, 48, 324, 48, 327,
|
|
|
|
|
|
|
|
|
|
48, 48, 332, 48, 48, 48, 48, 48, 326, 48,
|
|
|
|
|
337, 48, 330, 329, 48, 48, 342, 338, 333, 48,
|
|
|
|
|
331, 48, 48, 48, 340, 341, 347, 336, 334, 343,
|
|
|
|
|
335, 48, 344, 48, 339, 346, 48, 48, 48, 48,
|
|
|
|
|
345, 348, 48, 48, 351, 48, 48, 352, 48, 350,
|
|
|
|
|
354, 349, 48, 355, 48, 356, 358, 353, 48, 357,
|
|
|
|
|
48, 48, 48, 360, 48, 48, 48, 48, 48, 363,
|
|
|
|
|
364, 359, 48, 362, 48, 365, 366, 368, 48, 361,
|
|
|
|
|
371, 367, 48, 48, 48, 48, 369, 370, 48, 376,
|
|
|
|
|
377, 48, 373, 48, 48, 48, 48, 48, 378, 372,
|
|
|
|
|
|
|
|
|
|
379, 375, 48, 48, 48, 48, 48, 48, 48, 374,
|
|
|
|
|
48, 380, 48, 382, 392, 48, 381, 387, 389, 385,
|
|
|
|
|
388, 384, 48, 383, 393, 386, 48, 391, 48, 48,
|
|
|
|
|
396, 390, 48, 48, 48, 48, 48, 397, 398, 394,
|
|
|
|
|
48, 48, 399, 405, 48, 395, 400, 48, 401, 404,
|
|
|
|
|
402, 406, 48, 48, 403, 407, 48, 48, 48, 408,
|
|
|
|
|
48, 409, 410, 412, 413, 411, 414, 48, 48, 48,
|
|
|
|
|
48, 48, 417, 48, 48, 48, 415, 48, 416, 48,
|
|
|
|
|
48, 421, 48, 48, 48, 48, 48, 48, 425, 418,
|
|
|
|
|
48, 426, 420, 419, 48, 423, 428, 422, 424, 431,
|
|
|
|
|
|
|
|
|
|
429, 432, 427, 433, 48, 48, 48, 436, 48, 48,
|
|
|
|
|
430, 435, 48, 48, 48, 48, 48, 48, 443, 48,
|
|
|
|
|
444, 48, 434, 48, 48, 48, 446, 437, 440, 445,
|
|
|
|
|
48, 438, 439, 442, 449, 48, 441, 48, 48, 447,
|
|
|
|
|
48, 451, 48, 48, 48, 48, 453, 48, 452, 48,
|
|
|
|
|
48, 48, 48, 48, 448, 48, 450, 460, 461, 462,
|
|
|
|
|
48, 454, 455, 456, 48, 48, 458, 48, 468, 459,
|
|
|
|
|
463, 457, 48, 48, 464, 48, 48, 48, 48, 48,
|
|
|
|
|
466, 48, 48, 465, 467, 48, 471, 473, 472, 48,
|
|
|
|
|
475, 477, 476, 48, 469, 470, 48, 474, 478, 48,
|
|
|
|
|
|
|
|
|
|
48, 479, 481, 483, 48, 480, 485, 48, 48, 48,
|
|
|
|
|
48, 48, 484, 482, 488, 48, 489, 48, 48, 48,
|
|
|
|
|
490, 48, 494, 495, 48, 486, 491, 48, 487, 48,
|
|
|
|
|
493, 48, 492, 496, 48, 497, 48, 48, 499, 500,
|
|
|
|
|
498, 502, 48, 48, 48, 501, 503, 48, 507, 48,
|
|
|
|
|
508, 48, 48, 510, 48, 48, 48, 48, 504, 48,
|
|
|
|
|
505, 511, 48, 514, 512, 506, 48, 48, 517, 48,
|
|
|
|
|
521, 516, 515, 48, 509, 48, 519, 524, 518, 522,
|
|
|
|
|
48, 513, 48, 523, 48, 520, 48, 48, 528, 48,
|
|
|
|
|
526, 525, 48, 48, 531, 48, 48, 532, 48, 534,
|
|
|
|
|
|
|
|
|
|
48, 48, 536, 530, 48, 537, 48, 533, 48, 539,
|
|
|
|
|
529, 527, 48, 48, 535, 48, 48, 48, 48, 48,
|
|
|
|
|
538, 545, 544, 48, 541, 48, 542, 543, 546, 48,
|
|
|
|
|
548, 48, 540, 549, 48, 48, 553, 48, 48, 550,
|
|
|
|
|
551, 48, 48, 547, 48, 48, 554, 555, 48, 556,
|
|
|
|
|
558, 559, 560, 48, 552, 48, 48, 557, 48, 48,
|
|
|
|
|
563, 565, 48, 564, 561, 48, 562, 48, 48, 566,
|
|
|
|
|
48, 48, 48, 567, 571, 48, 48, 574, 575, 48,
|
|
|
|
|
576, 48, 577, 48, 572, 568, 48, 573, 569, 48,
|
|
|
|
|
570, 580, 48, 48, 579, 48, 48, 48, 585, 48,
|
|
|
|
|
|
|
|
|
|
584, 48, 583, 48, 578, 48, 587, 48, 48, 48,
|
|
|
|
|
48, 581, 582, 48, 593, 594, 589, 588, 590, 592,
|
|
|
|
|
48, 48, 48, 48, 48, 595, 586, 591, 48, 598,
|
|
|
|
|
48, 596, 48, 48, 48, 603, 599, 601, 600, 604,
|
|
|
|
|
48, 597, 602, 605, 48, 606, 48, 607, 48, 608,
|
|
|
|
|
48, 48, 48, 48, 48, 611, 610, 48, 48, 48,
|
|
|
|
|
48, 48, 48, 615, 48, 609, 48, 620, 612, 613,
|
|
|
|
|
614, 48, 48, 48, 618, 624, 48, 625, 48, 48,
|
|
|
|
|
617, 619, 48, 48, 48, 616, 48, 629, 621, 622,
|
|
|
|
|
48, 623, 626, 630, 48, 631, 48, 627, 48, 633,
|
|
|
|
|
|
|
|
|
|
48, 48, 628, 634, 632, 635, 48, 48, 48, 48,
|
|
|
|
|
48, 637, 638, 48, 640, 636, 48, 48, 48, 48,
|
|
|
|
|
48, 641, 639, 647, 48, 642, 643, 644, 648, 48,
|
|
|
|
|
48, 645, 650, 48, 649, 48, 48, 646, 651, 652,
|
|
|
|
|
48, 653, 48, 654, 655, 656, 48, 48, 48, 48,
|
|
|
|
|
48, 657, 48, 48, 658, 48, 659, 661, 48, 48,
|
|
|
|
|
666, 48, 48, 48, 663, 660, 48, 668, 48, 48,
|
|
|
|
|
48, 48, 669, 670, 48, 48, 665, 664, 662, 48,
|
|
|
|
|
48, 679, 48, 48, 672, 675, 667, 671, 678, 673,
|
|
|
|
|
48, 48, 48, 674, 682, 48, 676, 677, 683, 48,
|
|
|
|
|
|
|
|
|
|
48, 680, 48, 686, 48, 687, 48, 685, 48, 48,
|
|
|
|
|
681, 689, 48, 688, 48, 690, 691, 48, 684, 48,
|
|
|
|
|
48, 48, 695, 48, 692, 694, 48, 48, 693, 48,
|
|
|
|
|
696, 698, 48, 699, 48, 700, 48, 697, 48, 701,
|
|
|
|
|
48, 48, 48, 704, 707, 48, 702, 48, 48, 703,
|
|
|
|
|
48, 48, 48, 48, 705, 48, 48, 48, 48, 48,
|
|
|
|
|
706, 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, 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, 48, 48, 48, 48,
|
|
|
|
|
88, 86, 85, 83, 48, 88, 86, 85, 83, 48,
|
|
|
|
|
708, 9, 708, 708, 708, 708, 708, 708, 708, 708,
|
|
|
|
|
708, 708, 708, 708, 708, 708, 708, 708, 708, 708,
|
|
|
|
|
708, 708, 708, 708, 708, 708, 708, 708, 708, 708,
|
|
|
|
|
708, 708, 708, 708, 708, 708, 708, 708, 708
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-11-19 10:32:55 -05:00
|
|
|
static yyconst flex_int16_t yy_chk[1480] =
|
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,
|
|
|
|
|
5, 5, 5, 5, 6, 6, 6, 6, 19, 136,
|
|
|
|
|
5, 7, 7, 7, 6, 8, 8, 8, 136, 14,
|
|
|
|
|
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,
|
|
|
|
|
64, 63, 62, 66, 63, 57, 65, 66, 67, 68,
|
|
|
|
|
59, 60, 70, 65, 69, 67, 71, 63, 72, 73,
|
|
|
|
|
71, 68, 74, 76, 64, 75, 69, 77, 78, 79,
|
|
|
|
|
80, 70, 81, 73, 79, 72, 83, 83, 88, 88,
|
|
|
|
|
74, 80, 75, 76, 77, 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, 102, 93, 93, 101, 103, 97, 102, 94,
|
|
|
|
|
98, 104, 105, 98, 106, 99, 104, 105, 107, 106,
|
|
|
|
|
109, 108, 110, 111, 112, 107, 103, 108, 111, 113,
|
|
|
|
|
114, 113, 115, 116, 118, 117, 118, 114, 116, 109,
|
|
|
|
|
117, 110, 119, 120, 121, 112, 122, 123, 120, 122,
|
|
|
|
|
115, 124, 118, 125, 128, 116, 125, 126, 121, 128,
|
|
|
|
|
119, 126, 123, 127, 127, 124, 129, 130, 131, 132,
|
|
|
|
|
134, 129, 133, 133, 135, 139, 139, 135, 137, 140,
|
|
|
|
|
|
|
|
|
|
138, 132, 138, 138, 142, 141, 130, 134, 131, 137,
|
|
|
|
|
143, 143, 144, 142, 145, 140, 146, 144, 140, 141,
|
|
|
|
|
147, 146, 148, 149, 151, 147, 150, 148, 155, 153,
|
|
|
|
|
154, 156, 157, 145, 158, 160, 156, 151, 715, 154,
|
|
|
|
|
161, 162, 149, 153, 150, 152, 155, 152, 152, 159,
|
|
|
|
|
159, 157, 159, 158, 160, 161, 162, 163, 152, 152,
|
|
|
|
|
152, 165, 164, 166, 167, 174, 169, 168, 167, 172,
|
|
|
|
|
165, 169, 166, 170, 163, 164, 168, 171, 171, 170,
|
|
|
|
|
172, 173, 165, 175, 175, 174, 173, 177, 178, 179,
|
|
|
|
|
180, 182, 183, 184, 185, 185, 178, 183, 179, 182,
|
|
|
|
|
|
|
|
|
|
188, 180, 185, 186, 187, 189, 189, 177, 192, 187,
|
|
|
|
|
184, 190, 191, 193, 187, 194, 196, 195, 712, 185,
|
|
|
|
|
194, 198, 186, 191, 188, 190, 192, 197, 199, 199,
|
|
|
|
|
196, 200, 197, 198, 193, 195, 201, 201, 202, 202,
|
|
|
|
|
206, 203, 204, 204, 206, 200, 203, 205, 205, 207,
|
|
|
|
|
210, 208, 209, 211, 207, 208, 707, 209, 211, 212,
|
|
|
|
|
213, 214, 214, 213, 215, 216, 221, 215, 213, 210,
|
|
|
|
|
216, 213, 212, 217, 218, 222, 219, 220, 217, 219,
|
|
|
|
|
218, 223, 220, 221, 224, 227, 223, 225, 222, 227,
|
|
|
|
|
225, 226, 226, 224, 228, 229, 230, 231, 231, 232,
|
|
|
|
|
|
|
|
|
|
233, 230, 234, 232, 235, 236, 239, 237, 228, 229,
|
|
|
|
|
236, 235, 237, 240, 234, 238, 241, 245, 233, 248,
|
|
|
|
|
238, 242, 240, 239, 242, 243, 243, 251, 254, 241,
|
|
|
|
|
255, 253, 251, 252, 245, 248, 253, 252, 256, 256,
|
|
|
|
|
252, 257, 258, 258, 252, 254, 259, 700, 257, 260,
|
|
|
|
|
260, 252, 261, 262, 255, 261, 263, 263, 265, 264,
|
|
|
|
|
259, 262, 264, 266, 265, 267, 269, 268, 270, 270,
|
|
|
|
|
271, 266, 268, 269, 272, 272, 274, 275, 276, 277,
|
|
|
|
|
274, 278, 267, 271, 279, 277, 280, 281, 282, 279,
|
|
|
|
|
284, 276, 281, 284, 278, 275, 285, 280, 283, 283,
|
|
|
|
|
|
|
|
|
|
286, 287, 288, 288, 289, 290, 291, 292, 282, 293,
|
|
|
|
|
293, 294, 286, 285, 295, 296, 296, 293, 289, 298,
|
|
|
|
|
287, 297, 299, 699, 294, 295, 302, 292, 290, 297,
|
|
|
|
|
291, 302, 298, 304, 293, 300, 300, 305, 303, 306,
|
|
|
|
|
299, 303, 307, 309, 306, 310, 312, 307, 311, 305,
|
|
|
|
|
310, 304, 316, 311, 319, 312, 314, 309, 313, 313,
|
|
|
|
|
317, 314, 318, 317, 320, 321, 323, 324, 326, 320,
|
|
|
|
|
321, 316, 322, 319, 327, 322, 323, 325, 325, 318,
|
|
|
|
|
328, 324, 329, 330, 328, 331, 326, 327, 333, 334,
|
|
|
|
|
335, 335, 330, 336, 334, 340, 337, 338, 336, 329,
|
|
|
|
|
|
|
|
|
|
337, 333, 339, 341, 342, 343, 344, 347, 345, 331,
|
|
|
|
|
348, 338, 349, 340, 351, 351, 339, 345, 348, 343,
|
|
|
|
|
347, 342, 350, 341, 352, 344, 353, 350, 354, 352,
|
|
|
|
|
355, 349, 356, 358, 357, 355, 359, 356, 357, 353,
|
|
|
|
|
364, 360, 358, 361, 361, 354, 358, 698, 358, 360,
|
|
|
|
|
358, 362, 362, 365, 359, 363, 363, 366, 367, 364,
|
|
|
|
|
373, 365, 366, 369, 370, 367, 371, 372, 369, 370,
|
|
|
|
|
375, 371, 374, 374, 376, 378, 372, 379, 373, 380,
|
|
|
|
|
382, 379, 381, 383, 384, 385, 387, 386, 383, 375,
|
|
|
|
|
388, 384, 378, 376, 389, 381, 386, 380, 382, 389,
|
|
|
|
|
|
|
|
|
|
387, 390, 385, 391, 393, 394, 390, 395, 391, 396,
|
|
|
|
|
388, 394, 395, 397, 398, 399, 400, 402, 402, 401,
|
|
|
|
|
403, 403, 393, 408, 404, 409, 408, 396, 399, 404,
|
|
|
|
|
410, 397, 398, 401, 411, 411, 400, 412, 414, 409,
|
|
|
|
|
413, 413, 415, 416, 419, 418, 415, 420, 414, 421,
|
|
|
|
|
422, 695, 423, 424, 410, 427, 412, 423, 424, 425,
|
|
|
|
|
425, 416, 418, 419, 428, 426, 421, 429, 431, 422,
|
|
|
|
|
426, 420, 430, 431, 427, 432, 433, 434, 435, 436,
|
|
|
|
|
429, 437, 440, 428, 430, 442, 434, 435, 434, 447,
|
|
|
|
|
437, 438, 437, 441, 432, 433, 438, 436, 439, 439,
|
|
|
|
|
|
|
|
|
|
443, 440, 442, 445, 446, 441, 447, 448, 445, 450,
|
|
|
|
|
451, 452, 446, 443, 451, 453, 452, 454, 455, 456,
|
|
|
|
|
453, 465, 457, 458, 458, 448, 454, 457, 450, 469,
|
|
|
|
|
456, 470, 455, 459, 459, 460, 460, 461, 463, 464,
|
|
|
|
|
461, 466, 466, 463, 464, 465, 467, 468, 469, 471,
|
|
|
|
|
470, 467, 472, 472, 473, 474, 475, 477, 468, 481,
|
|
|
|
|
468, 473, 476, 476, 474, 468, 479, 483, 480, 482,
|
|
|
|
|
484, 479, 477, 480, 471, 484, 482, 486, 481, 485,
|
|
|
|
|
487, 475, 486, 485, 485, 483, 488, 489, 490, 491,
|
|
|
|
|
488, 487, 492, 490, 493, 493, 494, 494, 499, 498,
|
|
|
|
|
|
|
|
|
|
500, 503, 500, 492, 498, 501, 501, 494, 504, 504,
|
|
|
|
|
491, 489, 505, 506, 499, 507, 508, 509, 512, 510,
|
|
|
|
|
503, 510, 509, 516, 506, 513, 507, 508, 511, 511,
|
|
|
|
|
513, 514, 505, 514, 515, 517, 518, 518, 520, 515,
|
|
|
|
|
516, 519, 521, 512, 522, 524, 519, 520, 527, 520,
|
|
|
|
|
522, 524, 525, 525, 517, 526, 528, 521, 529, 533,
|
|
|
|
|
528, 530, 530, 529, 526, 532, 527, 534, 535, 532,
|
|
|
|
|
536, 538, 539, 533, 538, 540, 541, 541, 542, 542,
|
|
|
|
|
543, 543, 544, 544, 539, 534, 545, 540, 535, 547,
|
|
|
|
|
536, 548, 548, 549, 547, 550, 551, 552, 554, 554,
|
|
|
|
|
|
|
|
|
|
552, 555, 551, 557, 545, 556, 556, 558, 561, 559,
|
|
|
|
|
562, 549, 550, 563, 563, 564, 558, 557, 559, 562,
|
|
|
|
|
564, 566, 568, 571, 569, 566, 555, 561, 567, 569,
|
|
|
|
|
570, 567, 572, 574, 573, 574, 570, 572, 571, 578,
|
|
|
|
|
578, 568, 573, 579, 579, 581, 581, 582, 583, 583,
|
|
|
|
|
584, 586, 582, 587, 591, 587, 586, 588, 589, 590,
|
|
|
|
|
592, 593, 594, 591, 595, 584, 596, 596, 588, 589,
|
|
|
|
|
590, 597, 598, 599, 594, 600, 600, 601, 602, 603,
|
|
|
|
|
593, 595, 601, 607, 608, 592, 611, 608, 597, 598,
|
|
|
|
|
612, 599, 602, 609, 609, 610, 610, 603, 613, 612,
|
|
|
|
|
|
|
|
|
|
614, 615, 607, 613, 611, 614, 616, 617, 618, 619,
|
|
|
|
|
620, 616, 617, 625, 619, 615, 621, 622, 623, 626,
|
|
|
|
|
628, 620, 618, 627, 627, 621, 622, 623, 628, 629,
|
|
|
|
|
636, 625, 632, 632, 629, 633, 640, 626, 633, 634,
|
|
|
|
|
634, 635, 635, 636, 637, 638, 638, 639, 641, 637,
|
|
|
|
|
642, 639, 643, 644, 640, 645, 641, 643, 646, 648,
|
|
|
|
|
649, 649, 651, 655, 645, 642, 654, 654, 657, 658,
|
|
|
|
|
659, 663, 655, 657, 660, 661, 648, 646, 644, 664,
|
|
|
|
|
662, 667, 667, 665, 659, 662, 651, 658, 665, 660,
|
|
|
|
|
668, 669, 691, 661, 670, 670, 663, 664, 671, 671,
|
|
|
|
|
|
|
|
|
|
672, 668, 673, 674, 674, 675, 675, 673, 676, 684,
|
|
|
|
|
669, 677, 677, 676, 678, 678, 680, 680, 672, 681,
|
|
|
|
|
692, 685, 688, 688, 681, 685, 690, 701, 684, 703,
|
|
|
|
|
690, 693, 693, 694, 694, 696, 696, 692, 697, 697,
|
|
|
|
|
702, 704, 705, 703, 706, 706, 701, 689, 687, 702,
|
|
|
|
|
686, 683, 682, 679, 704, 666, 656, 653, 652, 650,
|
|
|
|
|
705, 709, 709, 709, 709, 710, 710, 710, 710, 711,
|
|
|
|
|
711, 711, 711, 713, 713, 647, 713, 714, 714, 716,
|
|
|
|
|
716, 717, 717, 631, 717, 630, 624, 606, 605, 604,
|
|
|
|
|
585, 580, 577, 576, 575, 565, 560, 553, 546, 537,
|
|
|
|
|
|
|
|
|
|
531, 523, 502, 497, 496, 495, 478, 462, 449, 444,
|
|
|
|
|
417, 407, 406, 405, 392, 377, 368, 346, 332, 315,
|
|
|
|
|
308, 301, 273, 250, 249, 247, 246, 244, 181, 176,
|
|
|
|
|
87, 86, 84, 82, 47, 43, 39, 38, 33, 10,
|
|
|
|
|
9, 708, 708, 708, 708, 708, 708, 708, 708, 708,
|
|
|
|
|
708, 708, 708, 708, 708, 708, 708, 708, 708, 708,
|
|
|
|
|
708, 708, 708, 708, 708, 708, 708, 708, 708, 708,
|
|
|
|
|
708, 708, 708, 708, 708, 708, 708, 708, 708
|
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-19 10:32:55 -05:00
|
|
|
#line 1100 "<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-19 10:32:55 -05:00
|
|
|
#line 1256 "<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-19 10:32:55 -05:00
|
|
|
if ( yy_current_state >= 709 )
|
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-19 10:32:55 -05:00
|
|
|
while ( yy_base[yy_current_state] != 1442 );
|
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:
|
|
|
|
|
/* rule 66 can match eol */
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 164 "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-19 10:32:55 -05:00
|
|
|
case 67:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-19 10:32:55 -05:00
|
|
|
#line 167 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(quotedstring):
|
2007-11-19 10:32:55 -05:00
|
|
|
#line 168 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-10-31 03:46:30 -04:00
|
|
|
case 68:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 172 "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
|
|
|
|
|
case 69:
|
2007-11-19 10:32:55 -05:00
|
|
|
/* rule 69 can match eol */
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 173 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 70:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 174 "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-19 10:32:55 -05:00
|
|
|
case 71:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-19 10:32:55 -05:00
|
|
|
#line 185 "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-19 10:32:55 -05:00
|
|
|
#line 186 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside include directive");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-10-22 02:25:46 -04:00
|
|
|
case 72:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 190 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ LEXOUT(("ISP ")); /* ignore */ }
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 73:
|
2007-11-19 10:32:55 -05:00
|
|
|
/* rule 73 can match eol */
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 191 "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
|
|
|
|
|
case 74:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 192 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 75:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 193 "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-19 10:32:55 -05:00
|
|
|
#line 198 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-10-31 03:46:30 -04:00
|
|
|
case 76:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 202 "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
|
|
|
|
|
case 77:
|
2007-11-19 10:32:55 -05:00
|
|
|
/* rule 77 can match eol */
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 203 "util/configlexer.lex"
|
2007-11-19 10:32:55 -05:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 78:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 204 "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-19 10:32:55 -05:00
|
|
|
#line 210 "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-19 10:32:55 -05:00
|
|
|
case 79:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-19 10:32:55 -05:00
|
|
|
#line 220 "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-19 10:32:55 -05:00
|
|
|
case 80:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-11-19 10:32:55 -05:00
|
|
|
#line 223 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
ECHO;
|
|
|
|
|
YY_BREAK
|
2007-11-19 10:32:55 -05:00
|
|
|
#line 1802 "<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-19 10:32:55 -05:00
|
|
|
if ( yy_current_state >= 709 )
|
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-19 10:32:55 -05:00
|
|
|
if ( yy_current_state >= 709 )
|
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-19 10:32:55 -05:00
|
|
|
yy_is_jam = (yy_current_state == 708);
|
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-19 10:32:55 -05:00
|
|
|
#line 223 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
|