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-10-22 02:25:46 -04:00
|
|
|
#define YY_NUM_RULES 77
|
|
|
|
|
#define YY_END_OF_BUFFER 78
|
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-10-22 02:25:46 -04:00
|
|
|
static yyconst flex_int16_t yy_accept[665] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-10-22 02:25:46 -04:00
|
|
|
1, 1, 65, 65, 69, 69, 73, 73, 78, 76,
|
|
|
|
|
1, 63, 64, 2, 77, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 65, 66, 77, 67, 77, 72, 69, 70, 71,
|
|
|
|
|
77, 73, 74, 75, 77, 76, 0, 1, 2, 2,
|
|
|
|
|
2, 2, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 65, 0,
|
|
|
|
|
72, 0, 69, 73, 0, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 39, 76, 76, 76,
|
|
|
|
|
76, 6, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
17, 76, 11, 12, 76, 14, 13, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 3,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 68, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 20, 76, 76, 76, 76, 76, 76, 21, 76,
|
|
|
|
|
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 50, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 49, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 18, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 19, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 15,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 40, 41, 38, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 5, 76, 76, 76, 76, 76,
|
|
|
|
|
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 22, 76,
|
|
|
|
|
76, 76, 76, 62, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 37, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 4,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 43, 44, 42, 76, 76, 76,
|
|
|
|
|
48, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 54, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
|
|
|
|
|
76, 76, 47, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 51, 76, 76, 76, 76, 76, 76, 7, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 56, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 28, 29,
|
|
|
|
|
59, 76, 76, 24, 76, 76, 76, 76, 8, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 60, 23, 25, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 10, 76, 76, 76, 76,
|
|
|
|
|
76, 9, 26, 76, 76, 76, 76, 76, 76, 76,
|
|
|
|
|
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 30, 76, 76,
|
|
|
|
|
27, 76, 52, 53, 76, 76, 55, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 16, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 76, 76, 76, 76, 76, 34, 76, 76,
|
|
|
|
|
58, 45, 76, 36, 35, 76, 31, 76, 57, 76,
|
|
|
|
|
76, 32, 76, 76, 46, 33, 76, 76, 76, 76,
|
|
|
|
|
76, 76, 61, 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,
|
|
|
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 1,
|
|
|
|
|
35, 36, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 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-19 10:02:53 -04:00
|
|
|
static yyconst flex_int32_t yy_meta[37] =
|
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,
|
|
|
|
|
1, 1, 1, 1, 1, 1
|
|
|
|
|
} ;
|
|
|
|
|
|
2007-10-22 02:25:46 -04:00
|
|
|
static yyconst flex_int16_t yy_base[674] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-10-22 02:25:46 -04:00
|
|
|
0, 0, 34, 37, 48, 52, 58, 62, 1353, 1340,
|
|
|
|
|
41, 1354, 1354, 67, 71, 65, 66, 32, 68, 70,
|
2007-10-19 10:02:53 -04:00
|
|
|
71, 33, 72, 78, 36, 82, 85, 84, 87, 92,
|
2007-10-22 02:25:46 -04:00
|
|
|
100, 1339, 1354, 1354, 1354, 101, 1338, 1347, 1354, 1354,
|
|
|
|
|
116, 1336, 1354, 1354, 119, 1335, 123, 124, 0, 127,
|
2007-10-19 10:02:53 -04:00
|
|
|
0, 0, 107, 121, 128, 122, 125, 126, 129, 137,
|
|
|
|
|
131, 141, 132, 144, 133, 135, 146, 149, 150, 81,
|
2007-10-22 02:25:46 -04:00
|
|
|
152, 155, 157, 158, 159, 161, 160, 163, 1334, 176,
|
|
|
|
|
1333, 191, 1342, 1331, 181, 162, 182, 185, 164, 188,
|
2007-10-19 10:02:53 -04:00
|
|
|
190, 178, 189, 193, 196, 202, 206, 199, 213, 209,
|
|
|
|
|
|
|
|
|
|
216, 215, 217, 207, 218, 220, 221, 227, 224, 228,
|
|
|
|
|
235, 238, 232, 239, 240, 236, 241, 244, 245, 256,
|
|
|
|
|
254, 263, 248, 260, 261, 264, 262, 266, 268, 270,
|
|
|
|
|
272, 283, 271, 278, 276, 289, 291, 284, 293, 299,
|
|
|
|
|
295, 296, 301, 297, 320, 302, 304, 305, 306, 311,
|
|
|
|
|
307, 312, 314, 321, 317, 328, 331, 332, 339, 346,
|
2007-10-22 02:25:46 -04:00
|
|
|
344, 342, 345, 347, 351, 353, 1330, 355, 357, 358,
|
|
|
|
|
359, 1329, 360, 366, 362, 372, 363, 369, 376, 377,
|
2007-10-19 10:02:53 -04:00
|
|
|
381, 383, 384, 385, 386, 387, 389, 393, 390, 398,
|
|
|
|
|
401, 412, 409, 411, 413, 419, 416, 418, 415, 421,
|
|
|
|
|
|
|
|
|
|
422, 425, 429, 424, 432, 443, 439, 441, 442, 431,
|
|
|
|
|
440, 446, 449, 452, 457, 450, 459, 460, 466, 462,
|
|
|
|
|
464, 465, 467, 469, 470, 472, 480, 471, 478, 481,
|
2007-10-22 02:25:46 -04:00
|
|
|
1328, 482, 1327, 1326, 484, 1325, 1324, 491, 490, 493,
|
2007-10-19 10:02:53 -04:00
|
|
|
489, 492, 496, 502, 503, 505, 510, 513, 512, 518,
|
2007-10-22 02:25:46 -04:00
|
|
|
521, 522, 523, 525, 527, 507, 530, 526, 533, 1323,
|
2007-10-19 10:02:53 -04:00
|
|
|
536, 535, 537, 538, 541, 548, 545, 546, 547, 557,
|
|
|
|
|
549, 555, 559, 560, 562, 563, 564, 565, 569, 574,
|
2007-10-22 02:25:46 -04:00
|
|
|
568, 570, 577, 582, 1322, 590, 588, 578, 587, 592,
|
|
|
|
|
593, 1321, 594, 600, 601, 602, 603, 612, 1320, 609,
|
2007-10-19 10:02:53 -04:00
|
|
|
|
|
|
|
|
610, 614, 615, 616, 617, 620, 619, 618, 625, 626,
|
2007-10-22 02:25:46 -04:00
|
|
|
627, 637, 630, 636, 635, 1319, 639, 641, 648, 642,
|
|
|
|
|
643, 649, 650, 651, 653, 654, 1318, 655, 662, 659,
|
2007-10-19 10:02:53 -04:00
|
|
|
661, 674, 676, 664, 675, 684, 680, 682, 681, 683,
|
2007-10-22 02:25:46 -04:00
|
|
|
687, 689, 700, 703, 691, 697, 704, 706, 1317, 712,
|
|
|
|
|
716, 719, 708, 715, 721, 1316, 718, 722, 723, 724,
|
|
|
|
|
725, 727, 728, 729, 732, 731, 739, 747, 748, 1315,
|
2007-10-19 10:02:53 -04:00
|
|
|
736, 749, 757, 740, 750, 753, 756, 759, 760, 761,
|
2007-10-22 02:25:46 -04:00
|
|
|
764, 765, 1314, 1313, 1312, 772, 766, 767, 777, 773,
|
|
|
|
|
781, 778, 783, 784, 1311, 785, 786, 791, 789, 796,
|
2007-10-19 10:02:53 -04:00
|
|
|
|
|
|
|
|
793, 797, 799, 800, 805, 806, 804, 807, 811, 812,
|
2007-10-22 02:25:46 -04:00
|
|
|
809, 819, 829, 815, 825, 831, 832, 833, 1310, 839,
|
|
|
|
|
837, 835, 836, 1309, 838, 847, 848, 850, 856, 863,
|
|
|
|
|
841, 860, 862, 1308, 869, 871, 867, 873, 875, 868,
|
|
|
|
|
874, 876, 877, 882, 878, 880, 884, 887, 891, 1307,
|
2007-10-19 10:02:53 -04:00
|
|
|
892, 899, 896, 898, 900, 907, 914, 916, 910, 919,
|
2007-10-22 02:25:46 -04:00
|
|
|
903, 917, 904, 927, 1306, 1305, 1304, 920, 922, 930,
|
|
|
|
|
1303, 931, 932, 934, 935, 937, 940, 939, 941, 953,
|
|
|
|
|
942, 955, 945, 956, 957, 949, 959, 962, 964, 963,
|
|
|
|
|
965, 1302, 970, 980, 972, 969, 982, 983, 985, 977,
|
|
|
|
|
|
|
|
|
|
984, 990, 1301, 992, 993, 994, 996, 999, 1001, 1003,
|
|
|
|
|
1007, 1300, 1008, 1012, 1009, 1014, 1015, 1016, 1299, 1018,
|
|
|
|
|
1020, 1022, 1024, 1026, 1028, 1298, 1029, 1030, 1032, 1041,
|
|
|
|
|
1042, 1040, 1045, 1047, 1034, 1051, 1052, 1055, 1297, 1296,
|
|
|
|
|
1295, 1059, 1062, 1294, 1064, 1070, 1066, 1054, 1293, 1068,
|
|
|
|
|
1072, 1071, 1075, 1076, 1079, 1077, 1078, 1080, 1081, 1083,
|
|
|
|
|
1085, 1089, 1091, 1099, 1095, 1093, 1292, 1291, 1290, 1096,
|
|
|
|
|
1100, 1105, 1113, 1106, 1108, 1114, 1116, 1118, 1120, 1122,
|
|
|
|
|
1123, 1126, 1128, 1129, 1133, 1289, 1130, 1134, 1136, 1141,
|
|
|
|
|
1140, 1288, 1287, 1144, 1147, 1154, 1156, 1146, 1162, 1161,
|
|
|
|
|
|
|
|
|
|
1163, 1151, 1158, 1165, 1164, 1168, 1171, 1285, 1172, 1174,
|
|
|
|
|
1277, 1175, 1261, 1260, 1178, 1176, 1259, 1181, 1182, 1180,
|
|
|
|
|
1183, 1187, 1184, 1191, 1197, 1256, 1196, 1193, 1199, 1206,
|
|
|
|
|
1211, 1203, 1213, 1215, 1217, 1220, 1223, 1255, 1226, 1227,
|
|
|
|
|
1254, 1253, 1216, 1250, 1249, 1229, 1207, 1230, 1110, 1231,
|
|
|
|
|
1237, 842, 1239, 1240, 693, 660, 1233, 1242, 1243, 1245,
|
|
|
|
|
1244, 1247, 388, 1354, 1274, 1278, 1282, 329, 1286, 1290,
|
|
|
|
|
108, 1292, 1294
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-10-22 02:25:46 -04:00
|
|
|
static yyconst flex_int16_t yy_def[674] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2007-10-22 02:25:46 -04:00
|
|
|
664, 1, 665, 665, 666, 666, 667, 667, 664, 668,
|
|
|
|
|
664, 664, 664, 669, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 670, 664, 664, 664, 670, 671, 664, 664, 664,
|
|
|
|
|
671, 672, 664, 664, 672, 668, 668, 664, 673, 669,
|
|
|
|
|
673, 669, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 670, 670,
|
|
|
|
|
671, 671, 664, 672, 672, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 668, 668, 668, 668, 668, 668, 668,
|
|
|
|
|
668, 668, 668, 0, 664, 664, 664, 664, 664, 664,
|
|
|
|
|
664, 664, 664
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-10-22 02:25:46 -04:00
|
|
|
static yyconst flex_int16_t yy_nxt[1391] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
|
|
|
|
10, 11, 12, 12, 13, 14, 10, 10, 10, 10,
|
|
|
|
|
10, 15, 10, 10, 16, 17, 10, 18, 10, 19,
|
|
|
|
|
20, 21, 22, 23, 24, 25, 26, 10, 27, 28,
|
|
|
|
|
29, 30, 31, 10, 10, 10, 33, 34, 35, 33,
|
|
|
|
|
34, 35, 48, 47, 47, 36, 49, 47, 36, 38,
|
|
|
|
|
39, 39, 40, 38, 39, 39, 40, 56, 62, 41,
|
|
|
|
|
43, 43, 44, 41, 43, 43, 44, 67, 51, 45,
|
|
|
|
|
51, 51, 46, 45, 46, 46, 47, 47, 52, 47,
|
|
|
|
|
57, 47, 47, 47, 53, 59, 54, 61, 58, 47,
|
2007-10-19 10:02:53 -04:00
|
|
|
65, 55, 47, 47, 60, 47, 47, 63, 47, 74,
|
|
|
|
|
|
|
|
|
|
72, 64, 68, 47, 79, 79, 105, 69, 81, 66,
|
|
|
|
|
70, 47, 77, 71, 73, 75, 78, 81, 47, 81,
|
|
|
|
|
81, 76, 84, 84, 46, 48, 46, 46, 51, 49,
|
|
|
|
|
51, 51, 47, 47, 88, 86, 47, 47, 52, 47,
|
|
|
|
|
47, 91, 47, 47, 47, 92, 47, 98, 47, 87,
|
|
|
|
|
89, 93, 47, 90, 94, 47, 100, 47, 101, 97,
|
|
|
|
|
47, 47, 99, 47, 103, 96, 47, 95, 47, 47,
|
|
|
|
|
47, 47, 47, 47, 47, 47, 102, 111, 104, 79,
|
|
|
|
|
79, 106, 112, 107, 84, 84, 109, 114, 108, 47,
|
|
|
|
|
110, 113, 81, 47, 81, 81, 47, 120, 115, 47,
|
|
|
|
|
|
|
|
|
|
47, 47, 123, 121, 47, 116, 122, 47, 128, 117,
|
|
|
|
|
47, 124, 127, 47, 125, 118, 119, 47, 47, 131,
|
|
|
|
|
47, 126, 133, 129, 47, 132, 47, 47, 47, 47,
|
|
|
|
|
130, 47, 47, 134, 135, 47, 138, 136, 47, 47,
|
|
|
|
|
140, 143, 141, 47, 145, 146, 47, 47, 137, 47,
|
|
|
|
|
47, 47, 47, 139, 149, 47, 47, 142, 152, 47,
|
|
|
|
|
153, 147, 150, 144, 148, 47, 151, 47, 154, 156,
|
|
|
|
|
155, 47, 47, 47, 47, 47, 160, 47, 157, 47,
|
|
|
|
|
162, 47, 47, 47, 159, 165, 166, 47, 163, 47,
|
|
|
|
|
161, 158, 164, 167, 47, 47, 171, 173, 168, 172,
|
|
|
|
|
|
|
|
|
|
47, 169, 47, 170, 47, 176, 47, 47, 47, 175,
|
|
|
|
|
47, 177, 47, 47, 174, 47, 47, 47, 47, 190,
|
|
|
|
|
191, 180, 47, 47, 187, 47, 178, 186, 47, 46,
|
|
|
|
|
179, 47, 47, 181, 182, 188, 189, 192, 193, 47,
|
|
|
|
|
194, 196, 47, 47, 183, 184, 185, 200, 197, 195,
|
|
|
|
|
47, 199, 202, 47, 204, 47, 47, 47, 47, 201,
|
|
|
|
|
198, 203, 47, 206, 47, 208, 47, 205, 47, 47,
|
|
|
|
|
47, 47, 214, 47, 47, 220, 210, 47, 211, 213,
|
|
|
|
|
47, 212, 207, 47, 216, 221, 209, 47, 47, 223,
|
|
|
|
|
215, 217, 47, 219, 47, 47, 47, 47, 47, 47,
|
|
|
|
|
|
|
|
|
|
47, 47, 228, 231, 47, 225, 224, 218, 233, 47,
|
|
|
|
|
222, 234, 47, 226, 230, 232, 229, 227, 235, 236,
|
|
|
|
|
47, 237, 47, 47, 47, 239, 47, 47, 238, 47,
|
|
|
|
|
47, 240, 47, 47, 241, 47, 47, 243, 249, 245,
|
|
|
|
|
47, 248, 47, 47, 246, 242, 244, 247, 250, 251,
|
|
|
|
|
47, 47, 47, 47, 47, 253, 252, 47, 254, 255,
|
|
|
|
|
47, 47, 257, 47, 256, 261, 259, 260, 47, 258,
|
|
|
|
|
47, 47, 264, 47, 265, 47, 47, 47, 47, 266,
|
|
|
|
|
47, 47, 47, 47, 262, 263, 270, 269, 271, 47,
|
|
|
|
|
268, 47, 47, 47, 267, 47, 272, 278, 274, 273,
|
|
|
|
|
|
|
|
|
|
47, 47, 47, 47, 47, 275, 285, 47, 279, 282,
|
|
|
|
|
276, 277, 280, 47, 47, 287, 47, 283, 47, 281,
|
|
|
|
|
286, 47, 289, 47, 47, 298, 284, 290, 292, 47,
|
|
|
|
|
288, 291, 47, 47, 47, 293, 47, 47, 47, 294,
|
|
|
|
|
299, 47, 295, 297, 47, 301, 47, 47, 47, 47,
|
|
|
|
|
300, 302, 47, 296, 307, 305, 47, 47, 47, 47,
|
|
|
|
|
47, 304, 309, 312, 303, 306, 47, 308, 47, 311,
|
|
|
|
|
47, 47, 316, 47, 47, 47, 47, 319, 310, 47,
|
|
|
|
|
47, 47, 314, 313, 320, 47, 323, 324, 47, 47,
|
|
|
|
|
315, 322, 327, 47, 325, 318, 328, 317, 47, 47,
|
|
|
|
|
|
|
|
|
|
321, 47, 329, 47, 47, 47, 326, 330, 332, 333,
|
|
|
|
|
331, 47, 47, 47, 47, 338, 335, 336, 339, 334,
|
|
|
|
|
47, 47, 337, 47, 341, 47, 47, 47, 47, 47,
|
|
|
|
|
47, 47, 344, 345, 346, 349, 47, 47, 47, 340,
|
|
|
|
|
347, 47, 342, 348, 352, 343, 47, 47, 47, 356,
|
|
|
|
|
47, 351, 47, 47, 47, 350, 354, 357, 353, 47,
|
|
|
|
|
47, 47, 47, 358, 47, 47, 47, 359, 360, 355,
|
|
|
|
|
47, 47, 47, 47, 365, 47, 363, 369, 362, 366,
|
|
|
|
|
361, 367, 371, 364, 370, 47, 47, 47, 372, 368,
|
|
|
|
|
374, 47, 47, 47, 47, 47, 375, 376, 47, 383,
|
|
|
|
|
|
|
|
|
|
47, 377, 47, 373, 47, 378, 382, 379, 47, 380,
|
|
|
|
|
384, 47, 381, 385, 47, 47, 387, 47, 390, 47,
|
|
|
|
|
388, 386, 391, 47, 389, 392, 47, 47, 393, 47,
|
|
|
|
|
47, 395, 47, 47, 47, 47, 47, 397, 47, 47,
|
|
|
|
|
47, 400, 47, 47, 394, 401, 396, 47, 399, 403,
|
|
|
|
|
47, 47, 398, 407, 408, 406, 402, 404, 47, 47,
|
|
|
|
|
47, 47, 405, 411, 47, 409, 410, 47, 47, 412,
|
|
|
|
|
47, 47, 47, 418, 419, 47, 47, 47, 47, 413,
|
|
|
|
|
415, 420, 414, 47, 47, 417, 421, 424, 47, 47,
|
|
|
|
|
416, 422, 47, 426, 47, 47, 47, 47, 428, 427,
|
|
|
|
|
|
|
|
|
|
47, 423, 47, 425, 47, 433, 434, 47, 47, 435,
|
|
|
|
|
47, 47, 440, 429, 431, 47, 47, 47, 47, 430,
|
|
|
|
|
47, 432, 47, 47, 438, 450, 47, 436, 439, 437,
|
|
|
|
|
47, 443, 445, 444, 441, 449, 47, 442, 446, 447,
|
|
|
|
|
47, 448, 47, 47, 47, 455, 47, 47, 47, 47,
|
|
|
|
|
47, 465, 47, 47, 452, 451, 456, 454, 47, 47,
|
|
|
|
|
453, 47, 460, 457, 461, 458, 462, 47, 459, 464,
|
|
|
|
|
466, 47, 467, 47, 47, 468, 463, 469, 47, 47,
|
|
|
|
|
47, 472, 47, 471, 47, 47, 47, 47, 47, 47,
|
|
|
|
|
473, 47, 474, 47, 479, 47, 480, 475, 47, 483,
|
|
|
|
|
|
|
|
|
|
481, 470, 47, 47, 476, 486, 477, 47, 485, 47,
|
|
|
|
|
47, 47, 478, 490, 47, 47, 488, 484, 47, 482,
|
|
|
|
|
491, 47, 493, 497, 492, 47, 487, 47, 47, 489,
|
2007-10-22 02:25:46 -04:00
|
|
|
47, 47, 494, 47, 495, 502, 498, 496, 47, 499,
|
|
|
|
|
503, 47, 47, 47, 505, 47, 47, 501, 47, 500,
|
|
|
|
|
47, 47, 47, 47, 511, 510, 47, 507, 515, 508,
|
|
|
|
|
47, 504, 509, 512, 47, 506, 47, 47, 47, 519,
|
|
|
|
|
47, 514, 516, 47, 47, 47, 47, 513, 520, 518,
|
|
|
|
|
47, 47, 524, 47, 521, 517, 522, 525, 47, 523,
|
|
|
|
|
526, 47, 527, 47, 47, 47, 47, 529, 528, 530,
|
|
|
|
|
|
|
|
|
|
531, 47, 532, 47, 47, 47, 535, 47, 538, 539,
|
|
|
|
|
47, 540, 47, 541, 47, 533, 536, 537, 47, 47,
|
|
|
|
|
47, 534, 544, 47, 543, 47, 47, 47, 549, 47,
|
|
|
|
|
548, 47, 547, 47, 551, 47, 542, 47, 545, 47,
|
|
|
|
|
47, 47, 546, 47, 557, 47, 553, 558, 554, 552,
|
|
|
|
|
556, 47, 47, 47, 560, 550, 47, 559, 47, 555,
|
|
|
|
|
563, 561, 47, 47, 562, 47, 47, 564, 566, 567,
|
|
|
|
|
47, 565, 568, 47, 569, 47, 570, 47, 571, 47,
|
|
|
|
|
572, 47, 47, 47, 573, 574, 47, 47, 47, 47,
|
|
|
|
|
47, 47, 47, 575, 47, 583, 47, 576, 577, 578,
|
|
|
|
|
|
|
|
|
|
47, 586, 47, 581, 47, 587, 47, 47, 580, 582,
|
|
|
|
|
47, 47, 579, 584, 591, 592, 47, 47, 585, 47,
|
|
|
|
|
588, 47, 589, 593, 47, 47, 590, 47, 595, 47,
|
|
|
|
|
596, 47, 597, 47, 47, 594, 599, 47, 600, 47,
|
|
|
|
|
47, 47, 602, 598, 47, 47, 608, 47, 601, 604,
|
|
|
|
|
603, 47, 47, 605, 611, 47, 610, 47, 47, 606,
|
|
|
|
|
609, 612, 47, 607, 613, 47, 614, 47, 616, 47,
|
|
|
|
|
615, 617, 47, 47, 47, 47, 47, 620, 618, 47,
|
|
|
|
|
619, 621, 47, 47, 626, 47, 47, 47, 623, 47,
|
|
|
|
|
628, 47, 47, 47, 47, 47, 629, 630, 47, 622,
|
|
|
|
|
|
|
|
|
|
625, 624, 47, 634, 47, 632, 638, 47, 47, 627,
|
|
|
|
|
47, 631, 633, 637, 47, 639, 641, 47, 47, 635,
|
|
|
|
|
636, 642, 47, 644, 47, 645, 47, 47, 47, 640,
|
|
|
|
|
647, 47, 643, 646, 47, 648, 649, 47, 47, 652,
|
|
|
|
|
47, 47, 47, 650, 47, 653, 651, 655, 47, 656,
|
|
|
|
|
47, 47, 657, 47, 47, 47, 47, 663, 47, 654,
|
|
|
|
|
47, 47, 659, 658, 47, 47, 47, 47, 660, 661,
|
|
|
|
|
47, 47, 47, 662, 32, 32, 32, 32, 37, 37,
|
|
|
|
|
37, 37, 42, 42, 42, 42, 50, 50, 47, 50,
|
|
|
|
|
79, 79, 84, 84, 51, 51, 47, 51, 47, 47,
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-22 02:25:46 -04:00
|
|
|
47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
|
|
|
|
|
47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
|
2007-10-18 18:49:08 -04:00
|
|
|
47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
|
|
|
|
|
47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
|
2007-10-19 10:02:53 -04:00
|
|
|
47, 47, 85, 83, 82, 80, 47, 85, 83, 82,
|
2007-10-22 02:25:46 -04:00
|
|
|
80, 47, 664, 9, 664, 664, 664, 664, 664, 664,
|
|
|
|
|
664, 664, 664, 664, 664, 664, 664, 664, 664, 664,
|
|
|
|
|
664, 664, 664, 664, 664, 664, 664, 664, 664, 664,
|
|
|
|
|
664, 664, 664, 664, 664, 664, 664, 664, 664, 664
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2007-10-22 02:25:46 -04:00
|
|
|
static yyconst flex_int16_t yy_chk[1391] =
|
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,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 3, 3, 3, 4,
|
|
|
|
|
4, 4, 11, 18, 22, 3, 11, 25, 4, 5,
|
|
|
|
|
5, 5, 5, 6, 6, 6, 6, 18, 22, 5,
|
|
|
|
|
7, 7, 7, 6, 8, 8, 8, 25, 14, 7,
|
|
|
|
|
14, 14, 15, 8, 15, 15, 16, 17, 14, 19,
|
|
|
|
|
19, 20, 21, 23, 16, 20, 17, 21, 19, 24,
|
2007-10-19 10:02:53 -04:00
|
|
|
24, 17, 70, 26, 20, 28, 27, 23, 29, 29,
|
|
|
|
|
|
2007-10-22 02:25:46 -04:00
|
|
|
28, 23, 26, 30, 36, 36, 70, 26, 671, 24,
|
2007-10-19 10:02:53 -04:00
|
|
|
27, 31, 31, 27, 28, 29, 31, 41, 53, 41,
|
|
|
|
|
41, 30, 45, 45, 47, 48, 47, 47, 50, 48,
|
|
|
|
|
50, 50, 54, 56, 55, 53, 57, 58, 50, 55,
|
|
|
|
|
59, 58, 61, 63, 65, 59, 66, 63, 60, 54,
|
|
|
|
|
56, 60, 62, 57, 60, 64, 65, 67, 66, 62,
|
|
|
|
|
68, 69, 64, 71, 68, 61, 72, 60, 73, 74,
|
|
|
|
|
75, 77, 76, 86, 78, 89, 67, 76, 69, 80,
|
|
|
|
|
80, 71, 77, 72, 85, 85, 74, 86, 73, 92,
|
|
|
|
|
75, 78, 82, 87, 82, 82, 88, 89, 87, 90,
|
|
|
|
|
|
|
|
|
|
93, 91, 92, 90, 94, 88, 91, 95, 96, 88,
|
|
|
|
|
98, 93, 95, 96, 93, 88, 88, 97, 104, 99,
|
|
|
|
|
100, 94, 101, 97, 99, 100, 102, 101, 103, 105,
|
|
|
|
|
98, 106, 107, 102, 103, 109, 106, 104, 108, 110,
|
|
|
|
|
108, 111, 109, 113, 112, 113, 111, 116, 105, 112,
|
|
|
|
|
114, 115, 117, 107, 115, 118, 119, 110, 118, 123,
|
|
|
|
|
119, 113, 116, 111, 114, 121, 117, 120, 120, 122,
|
|
|
|
|
121, 124, 125, 127, 122, 126, 126, 128, 123, 129,
|
|
|
|
|
128, 130, 133, 131, 125, 131, 131, 135, 129, 134,
|
|
|
|
|
127, 124, 130, 132, 132, 138, 135, 137, 133, 136,
|
|
|
|
|
|
|
|
|
|
136, 133, 137, 134, 139, 140, 141, 142, 144, 139,
|
|
|
|
|
140, 141, 143, 146, 138, 147, 148, 149, 151, 150,
|
2007-10-22 02:25:46 -04:00
|
|
|
150, 144, 150, 152, 147, 153, 142, 146, 155, 668,
|
2007-10-19 10:02:53 -04:00
|
|
|
143, 145, 154, 145, 145, 148, 149, 151, 152, 156,
|
|
|
|
|
153, 155, 157, 158, 145, 145, 145, 158, 156, 154,
|
|
|
|
|
159, 157, 160, 162, 162, 161, 163, 160, 164, 159,
|
|
|
|
|
156, 161, 165, 164, 166, 166, 168, 163, 169, 170,
|
|
|
|
|
171, 173, 174, 175, 177, 178, 169, 174, 170, 173,
|
|
|
|
|
178, 171, 165, 176, 176, 178, 168, 179, 180, 180,
|
2007-10-22 02:25:46 -04:00
|
|
|
175, 176, 181, 177, 182, 183, 184, 185, 186, 663,
|
2007-10-19 10:02:53 -04:00
|
|
|
|
|
|
|
|
187, 189, 185, 188, 188, 182, 181, 176, 190, 190,
|
|
|
|
|
179, 191, 191, 183, 187, 189, 186, 184, 192, 193,
|
|
|
|
|
193, 194, 194, 192, 195, 196, 199, 197, 195, 198,
|
|
|
|
|
196, 197, 200, 201, 198, 204, 202, 200, 204, 202,
|
|
|
|
|
203, 203, 210, 205, 202, 199, 201, 202, 205, 206,
|
|
|
|
|
207, 211, 208, 209, 206, 208, 207, 212, 209, 210,
|
|
|
|
|
213, 216, 212, 214, 211, 216, 214, 215, 215, 213,
|
|
|
|
|
217, 218, 219, 220, 220, 221, 222, 219, 223, 221,
|
|
|
|
|
224, 225, 228, 226, 217, 218, 225, 224, 226, 229,
|
|
|
|
|
223, 227, 230, 232, 222, 235, 227, 238, 229, 228,
|
|
|
|
|
|
|
|
|
|
241, 239, 238, 242, 240, 230, 243, 243, 239, 240,
|
|
|
|
|
232, 235, 239, 244, 245, 245, 246, 241, 256, 239,
|
|
|
|
|
244, 247, 247, 249, 248, 256, 242, 248, 250, 250,
|
|
|
|
|
246, 249, 251, 252, 253, 251, 254, 258, 255, 252,
|
|
|
|
|
257, 257, 253, 255, 259, 259, 262, 261, 263, 264,
|
|
|
|
|
258, 261, 265, 254, 266, 264, 267, 268, 269, 266,
|
|
|
|
|
271, 263, 268, 271, 262, 265, 272, 267, 270, 270,
|
|
|
|
|
273, 274, 275, 275, 276, 277, 278, 278, 269, 281,
|
|
|
|
|
279, 282, 273, 272, 278, 280, 280, 281, 283, 288,
|
|
|
|
|
274, 279, 284, 284, 282, 277, 286, 276, 289, 287,
|
|
|
|
|
|
|
|
|
|
278, 286, 287, 290, 291, 293, 283, 288, 290, 291,
|
|
|
|
|
289, 294, 295, 296, 297, 297, 294, 295, 298, 293,
|
|
|
|
|
300, 301, 296, 298, 301, 302, 303, 304, 305, 308,
|
|
|
|
|
307, 306, 304, 305, 306, 309, 309, 310, 311, 300,
|
|
|
|
|
307, 313, 302, 308, 312, 303, 315, 314, 312, 317,
|
|
|
|
|
317, 311, 318, 320, 321, 310, 314, 318, 313, 319,
|
|
|
|
|
322, 323, 324, 319, 325, 326, 328, 320, 321, 315,
|
2007-10-22 02:25:46 -04:00
|
|
|
330, 656, 331, 329, 326, 334, 324, 331, 323, 328,
|
2007-10-19 10:02:53 -04:00
|
|
|
322, 329, 333, 325, 332, 332, 335, 333, 334, 330,
|
|
|
|
|
336, 337, 339, 338, 340, 336, 337, 338, 341, 342,
|
|
|
|
|
|
2007-10-22 02:25:46 -04:00
|
|
|
342, 339, 345, 335, 655, 339, 341, 339, 346, 339,
|
2007-10-19 10:02:53 -04:00
|
|
|
343, 343, 340, 344, 344, 347, 346, 348, 350, 353,
|
|
|
|
|
347, 345, 351, 350, 348, 352, 354, 351, 353, 357,
|
|
|
|
|
352, 355, 355, 358, 359, 360, 361, 358, 362, 363,
|
|
|
|
|
364, 361, 366, 365, 354, 362, 357, 371, 360, 364,
|
|
|
|
|
367, 374, 359, 368, 369, 367, 363, 365, 368, 369,
|
|
|
|
|
372, 375, 366, 373, 376, 371, 372, 377, 373, 374,
|
|
|
|
|
378, 379, 380, 380, 381, 381, 382, 387, 388, 375,
|
|
|
|
|
377, 382, 376, 386, 390, 379, 386, 389, 389, 392,
|
|
|
|
|
378, 387, 391, 391, 393, 394, 396, 397, 393, 392,
|
|
|
|
|
|
|
|
|
|
399, 388, 398, 390, 401, 399, 400, 400, 402, 401,
|
|
|
|
|
403, 404, 406, 394, 397, 407, 405, 406, 408, 396,
|
|
|
|
|
411, 398, 409, 410, 404, 414, 414, 402, 405, 403,
|
|
|
|
|
412, 409, 410, 409, 407, 413, 415, 408, 411, 412,
|
|
|
|
|
413, 412, 416, 417, 418, 420, 422, 423, 421, 425,
|
2007-10-22 02:25:46 -04:00
|
|
|
420, 431, 431, 652, 416, 415, 421, 418, 426, 427,
|
2007-10-19 10:02:53 -04:00
|
|
|
417, 428, 426, 422, 427, 423, 428, 429, 425, 430,
|
|
|
|
|
432, 432, 433, 433, 430, 435, 429, 436, 437, 440,
|
|
|
|
|
435, 439, 436, 438, 438, 441, 439, 442, 443, 445,
|
|
|
|
|
440, 446, 440, 444, 444, 447, 445, 440, 448, 448,
|
|
|
|
|
|
|
|
|
|
446, 437, 449, 451, 441, 452, 442, 453, 451, 454,
|
|
|
|
|
452, 455, 443, 456, 461, 463, 454, 449, 456, 447,
|
|
|
|
|
457, 459, 458, 462, 457, 457, 453, 458, 462, 455,
|
|
|
|
|
460, 468, 459, 469, 460, 469, 463, 461, 464, 464,
|
2007-10-22 02:25:46 -04:00
|
|
|
470, 470, 472, 473, 473, 474, 475, 468, 476, 464,
|
|
|
|
|
478, 477, 479, 481, 479, 478, 483, 475, 483, 476,
|
|
|
|
|
486, 472, 477, 480, 480, 474, 482, 484, 485, 487,
|
|
|
|
|
487, 482, 484, 488, 490, 489, 491, 481, 488, 486,
|
|
|
|
|
496, 493, 491, 495, 489, 485, 489, 493, 500, 490,
|
|
|
|
|
494, 494, 495, 497, 498, 501, 499, 497, 496, 498,
|
|
|
|
|
|
|
|
|
|
499, 502, 500, 504, 505, 506, 504, 507, 507, 508,
|
|
|
|
|
508, 509, 509, 510, 510, 501, 505, 506, 511, 513,
|
|
|
|
|
515, 502, 514, 514, 513, 516, 517, 518, 520, 520,
|
|
|
|
|
518, 521, 517, 522, 522, 523, 511, 524, 515, 525,
|
|
|
|
|
527, 528, 516, 529, 529, 535, 524, 530, 525, 523,
|
|
|
|
|
528, 532, 530, 531, 532, 521, 533, 531, 534, 527,
|
|
|
|
|
535, 533, 536, 537, 534, 548, 538, 536, 538, 542,
|
|
|
|
|
542, 537, 543, 543, 545, 545, 546, 547, 547, 550,
|
|
|
|
|
548, 546, 552, 551, 550, 551, 553, 554, 556, 557,
|
|
|
|
|
555, 558, 559, 552, 560, 560, 561, 553, 554, 555,
|
|
|
|
|
|
|
|
|
|
562, 563, 563, 558, 566, 564, 565, 570, 557, 559,
|
|
|
|
|
564, 571, 556, 561, 571, 572, 572, 574, 562, 575,
|
|
|
|
|
565, 649, 566, 573, 573, 576, 570, 577, 575, 578,
|
|
|
|
|
576, 579, 577, 580, 581, 574, 579, 582, 580, 583,
|
|
|
|
|
584, 587, 582, 578, 585, 588, 589, 589, 581, 584,
|
|
|
|
|
583, 591, 590, 585, 594, 594, 591, 598, 595, 587,
|
|
|
|
|
590, 595, 602, 588, 596, 596, 597, 597, 599, 603,
|
|
|
|
|
598, 600, 600, 599, 601, 605, 604, 603, 601, 606,
|
|
|
|
|
602, 604, 607, 609, 610, 610, 612, 616, 606, 615,
|
|
|
|
|
615, 620, 618, 619, 621, 623, 616, 618, 622, 605,
|
|
|
|
|
|
|
|
|
|
609, 607, 624, 622, 628, 620, 627, 627, 625, 612,
|
|
|
|
|
629, 619, 621, 625, 632, 628, 630, 630, 647, 623,
|
|
|
|
|
624, 631, 631, 633, 633, 634, 634, 643, 635, 629,
|
|
|
|
|
636, 636, 632, 635, 637, 637, 639, 639, 640, 646,
|
|
|
|
|
646, 648, 650, 640, 657, 648, 643, 651, 651, 653,
|
|
|
|
|
653, 654, 654, 658, 659, 661, 660, 662, 662, 650,
|
|
|
|
|
645, 644, 658, 657, 642, 641, 638, 626, 659, 660,
|
|
|
|
|
617, 614, 613, 661, 665, 665, 665, 665, 666, 666,
|
|
|
|
|
666, 666, 667, 667, 667, 667, 669, 669, 611, 669,
|
|
|
|
|
670, 670, 672, 672, 673, 673, 608, 673, 593, 592,
|
|
|
|
|
|
|
|
|
|
586, 569, 568, 567, 549, 544, 541, 540, 539, 526,
|
|
|
|
|
519, 512, 503, 492, 471, 467, 466, 465, 450, 434,
|
2007-10-19 10:02:53 -04:00
|
|
|
424, 419, 395, 385, 384, 383, 370, 356, 349, 327,
|
|
|
|
|
316, 299, 292, 285, 260, 237, 236, 234, 233, 231,
|
|
|
|
|
172, 167, 84, 83, 81, 79, 46, 42, 38, 37,
|
2007-10-22 02:25:46 -04:00
|
|
|
32, 10, 9, 664, 664, 664, 664, 664, 664, 664,
|
|
|
|
|
664, 664, 664, 664, 664, 664, 664, 664, 664, 664,
|
|
|
|
|
664, 664, 664, 664, 664, 664, 664, 664, 664, 664,
|
|
|
|
|
664, 664, 664, 664, 664, 664, 664, 664, 664, 664
|
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-10-22 02:25:46 -04:00
|
|
|
#line 1065 "<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-10-22 02:25:46 -04:00
|
|
|
#line 1221 "<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-10-22 02:25:46 -04:00
|
|
|
if ( yy_current_state >= 665 )
|
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-10-22 02:25:46 -04:00
|
|
|
while ( yy_base[yy_current_state] != 1354 );
|
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-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_HOST_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 29:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 127 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_LAME_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 30:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 128 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_SLABS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 31:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 129 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_NUMHOSTS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 32:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 130 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_INFRA_CACHE_LAME_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 33:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 131 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_NUM_QUERIES_PER_THREAD;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 34:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 132 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_TARGET_FETCH_POLICY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 35:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 133 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_SHORT_BUFSIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 36:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 134 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_LARGE_QUERIES;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 37:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 135 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_HARDEN_GLUE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 38:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 136 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_STUB_ZONE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 39:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 137 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_NAME;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 40:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 138 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_STUB_ADDR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 41:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 139 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_STUB_HOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 42:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 140 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_ZONE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 43:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 141 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_ADDR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 44:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 142 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_FORWARD_HOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 45:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 143 "util/configlexer.lex"
|
2007-10-19 10:02:53 -04:00
|
|
|
{ YDOUT; return VAR_DO_NOT_QUERY_ADDRESS;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 46:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 144 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_DO_NOT_QUERY_LOCALHOST;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 47:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 145 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_HIDE_IDENTITY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 48:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 146 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_HIDE_VERSION;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 49:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 147 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_IDENTITY;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 50:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 148 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_VERSION;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 51:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 149 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_MODULE_CONF;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 52:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 150 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_TRUST_ANCHOR_FILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 53:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 151 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_TRUSTED_KEYS_FILE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 54:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 152 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_TRUST_ANCHOR;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 55:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 153 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_VAL_OVERRIDE_DATE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 56:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 154 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_BOGUS_TTL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 57:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 155 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_VAL_CLEAN_ADDITIONAL;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 58:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 156 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_VAL_PERMISSIVE_MODE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 59:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 157 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_KEY_CACHE_SIZE;}
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 60:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 158 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_KEY_CACHE_SLABS;}
|
2007-10-19 04:32:36 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 61:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 159 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_VAL_NSEC3_KEYSIZE_ITERATIONS;}
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 62:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 160 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ YDOUT; return VAR_USE_SYSLOG;}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 63:
|
|
|
|
|
/* rule 63 can match eol */
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 161 "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-10-22 02:25:46 -04:00
|
|
|
case 64:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-10-22 02:25:46 -04:00
|
|
|
#line 164 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(quotedstring):
|
2007-10-22 02:25:46 -04:00
|
|
|
#line 165 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-10-19 04:32:36 -04:00
|
|
|
case 65:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 169 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 66:
|
2007-10-22 02:25:46 -04:00
|
|
|
/* rule 66 can match eol */
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 170 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 67:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 171 "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-10-22 02:25:46 -04:00
|
|
|
case 68:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-10-22 02:25:46 -04:00
|
|
|
#line 182 "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-10-22 02:25:46 -04:00
|
|
|
#line 183 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside include directive");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 69:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 187 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ LEXOUT(("ISP ")); /* ignore */ }
|
2007-10-19 04:32:36 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 70:
|
2007-10-22 02:25:46 -04:00
|
|
|
/* rule 70 can match eol */
|
2007-10-19 04:32:36 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 188 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ LEXOUT(("NL\n")); cfg_parser->line++;}
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 71:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 189 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 72:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 190 "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-10-22 02:25:46 -04:00
|
|
|
#line 195 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-10-19 04:32:36 -04:00
|
|
|
case 73:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 199 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 74:
|
2007-10-22 02:25:46 -04:00
|
|
|
/* rule 74 can match eol */
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 200 "util/configlexer.lex"
|
2007-10-22 02:25:46 -04:00
|
|
|
{ cfg_parser->line++; yymore(); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 75:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 201 "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-10-22 02:25:46 -04:00
|
|
|
#line 207 "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-10-22 02:25:46 -04:00
|
|
|
case 76:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-10-22 02:25:46 -04:00
|
|
|
#line 217 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("unquotedstr(%s) ", yytext));
|
|
|
|
|
yylval.str = strdup(yytext); return STRING; }
|
|
|
|
|
YY_BREAK
|
2007-10-22 02:25:46 -04:00
|
|
|
case 77:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2007-10-22 02:25:46 -04:00
|
|
|
#line 220 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
ECHO;
|
|
|
|
|
YY_BREAK
|
2007-10-22 02:25:46 -04:00
|
|
|
#line 1752 "<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-10-22 02:25:46 -04:00
|
|
|
if ( yy_current_state >= 665 )
|
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-10-22 02:25:46 -04:00
|
|
|
if ( yy_current_state >= 665 )
|
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-10-22 02:25:46 -04:00
|
|
|
yy_is_jam = (yy_current_state == 664);
|
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-10-22 02:25:46 -04:00
|
|
|
#line 220 "util/configlexer.lex"
|
2007-10-19 04:32:36 -04:00
|
|
|
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
|