2009-03-24 08:47:56 -04:00
|
|
|
#include "config.h"
|
2007-10-18 18:49:08 -04:00
|
|
|
#include "util/configyyrename.h"
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#line 3 "<stdout>"
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_INT_ALIGNED short int
|
|
|
|
|
|
|
|
|
|
/* A lexical scanner generated by flex */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define FLEX_SCANNER
|
|
|
|
|
#define YY_FLEX_MAJOR_VERSION 2
|
|
|
|
|
#define YY_FLEX_MINOR_VERSION 5
|
2009-03-24 08:53:25 -04:00
|
|
|
#define YY_FLEX_SUBMINOR_VERSION 35
|
2008-06-09 05:34:40 -04:00
|
|
|
#if YY_FLEX_SUBMINOR_VERSION > 0
|
|
|
|
|
#define FLEX_BETA
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* First, we deal with platform-specific or compiler-specific issues. */
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* begin standard C headers. */
|
2007-10-18 18:49:08 -04:00
|
|
|
#include <stdio.h>
|
2008-06-09 05:34:40 -04:00
|
|
|
#include <string.h>
|
|
|
|
|
#include <errno.h>
|
|
|
|
|
#include <stdlib.h>
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* end standard C headers. */
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* flex integer type definitions */
|
|
|
|
|
|
|
|
|
|
#ifndef FLEXINT_H
|
|
|
|
|
#define FLEXINT_H
|
|
|
|
|
|
|
|
|
|
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
|
|
|
|
|
|
2009-03-24 08:53:25 -04:00
|
|
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
|
|
|
|
|
* if you want the limit (max/min) macros for int types.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __STDC_LIMIT_MACROS
|
|
|
|
|
#define __STDC_LIMIT_MACROS 1
|
2008-02-29 05:59:26 -05:00
|
|
|
#endif
|
2007-10-19 04:37:27 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
typedef int8_t flex_int8_t;
|
|
|
|
|
typedef uint8_t flex_uint8_t;
|
|
|
|
|
typedef int16_t flex_int16_t;
|
|
|
|
|
typedef uint16_t flex_uint16_t;
|
|
|
|
|
typedef int32_t flex_int32_t;
|
|
|
|
|
typedef uint32_t flex_uint32_t;
|
|
|
|
|
#else
|
|
|
|
|
typedef signed char flex_int8_t;
|
|
|
|
|
typedef short int flex_int16_t;
|
|
|
|
|
typedef int flex_int32_t;
|
|
|
|
|
typedef unsigned char flex_uint8_t;
|
|
|
|
|
typedef unsigned short int flex_uint16_t;
|
|
|
|
|
typedef unsigned int flex_uint32_t;
|
2009-03-13 05:27:37 -04:00
|
|
|
#endif /* ! C99 */
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Limits of integral types. */
|
|
|
|
|
#ifndef INT8_MIN
|
|
|
|
|
#define INT8_MIN (-128)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef INT16_MIN
|
|
|
|
|
#define INT16_MIN (-32767-1)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef INT32_MIN
|
|
|
|
|
#define INT32_MIN (-2147483647-1)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef INT8_MAX
|
|
|
|
|
#define INT8_MAX (127)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef INT16_MAX
|
|
|
|
|
#define INT16_MAX (32767)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef INT32_MAX
|
|
|
|
|
#define INT32_MAX (2147483647)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef UINT8_MAX
|
|
|
|
|
#define UINT8_MAX (255U)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef UINT16_MAX
|
|
|
|
|
#define UINT16_MAX (65535U)
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef UINT32_MAX
|
|
|
|
|
#define UINT32_MAX (4294967295U)
|
|
|
|
|
#endif
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif /* ! FLEXINT_H */
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifdef __cplusplus
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* The "const" storage-class-modifier is valid. */
|
|
|
|
|
#define YY_USE_CONST
|
|
|
|
|
|
|
|
|
|
#else /* ! __cplusplus */
|
|
|
|
|
|
2009-03-24 08:53:25 -04:00
|
|
|
/* C99 requires __STDC__ to be defined as 1. */
|
|
|
|
|
#if defined (__STDC__)
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define YY_USE_CONST
|
|
|
|
|
|
2009-03-24 08:53:25 -04:00
|
|
|
#endif /* defined (__STDC__) */
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif /* ! __cplusplus */
|
|
|
|
|
|
|
|
|
|
#ifdef YY_USE_CONST
|
|
|
|
|
#define yyconst const
|
|
|
|
|
#else
|
|
|
|
|
#define yyconst
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Returned upon end-of-file. */
|
|
|
|
|
#define YY_NULL 0
|
|
|
|
|
|
|
|
|
|
/* Promotes a possibly negative, possibly signed char to an unsigned
|
|
|
|
|
* integer for use as an array index. If the signed char is negative,
|
|
|
|
|
* we want to instead treat it as an 8-bit unsigned char, hence the
|
|
|
|
|
* double cast.
|
|
|
|
|
*/
|
|
|
|
|
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
|
|
|
|
|
|
|
|
|
|
/* Enter a start condition. This macro really ought to take a parameter,
|
|
|
|
|
* but we do it the disgusting crufty way forced on us by the ()-less
|
|
|
|
|
* definition of BEGIN.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
#define BEGIN (yy_start) = 1 + 2 *
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Translate the current start state into a value that can be later handed
|
|
|
|
|
* to BEGIN to return to the state. The YYSTATE alias is for lex
|
|
|
|
|
* compatibility.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_START (((yy_start) - 1) / 2)
|
2007-10-18 18:49:08 -04:00
|
|
|
#define YYSTATE YY_START
|
|
|
|
|
|
|
|
|
|
/* Action number for EOF rule of a given start state. */
|
|
|
|
|
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
|
|
|
|
|
|
|
|
|
|
/* Special action meaning "start processing a new file". */
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_NEW_FILE yyrestart(yyin )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define YY_END_OF_BUFFER_CHAR 0
|
|
|
|
|
|
|
|
|
|
/* Size of default input buffer. */
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_BUF_SIZE
|
2007-10-18 18:49:08 -04:00
|
|
|
#define YY_BUF_SIZE 16384
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* The state buf must be large enough to hold one state per character in the main buffer.
|
|
|
|
|
*/
|
|
|
|
|
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
|
|
|
|
|
|
|
|
|
|
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
|
|
|
|
|
#define YY_TYPEDEF_YY_BUFFER_STATE
|
2007-10-18 18:49:08 -04:00
|
|
|
typedef struct yy_buffer_state *YY_BUFFER_STATE;
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
extern int yyleng;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
extern FILE *yyin, *yyout;
|
|
|
|
|
|
|
|
|
|
#define EOB_ACT_CONTINUE_SCAN 0
|
|
|
|
|
#define EOB_ACT_END_OF_FILE 1
|
|
|
|
|
#define EOB_ACT_LAST_MATCH 2
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_LESS_LINENO(n)
|
|
|
|
|
|
|
|
|
|
/* Return all but the first "n" matched characters back to the input stream. */
|
2007-10-18 18:49:08 -04:00
|
|
|
#define yyless(n) \
|
|
|
|
|
do \
|
|
|
|
|
{ \
|
|
|
|
|
/* Undo effects of setting up yytext. */ \
|
2008-06-09 05:34:40 -04:00
|
|
|
int yyless_macro_arg = (n); \
|
|
|
|
|
YY_LESS_LINENO(yyless_macro_arg);\
|
|
|
|
|
*yy_cp = (yy_hold_char); \
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RESTORE_YY_MORE_OFFSET \
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
|
|
|
|
|
} \
|
|
|
|
|
while ( 0 )
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define unput(c) yyunput( c, (yytext_ptr) )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_TYPEDEF_YY_SIZE_T
|
|
|
|
|
#define YY_TYPEDEF_YY_SIZE_T
|
2009-03-24 08:53:25 -04:00
|
|
|
typedef size_t yy_size_t;
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_STRUCT_YY_BUFFER_STATE
|
|
|
|
|
#define YY_STRUCT_YY_BUFFER_STATE
|
2007-10-18 18:49:08 -04:00
|
|
|
struct yy_buffer_state
|
|
|
|
|
{
|
|
|
|
|
FILE *yy_input_file;
|
|
|
|
|
|
|
|
|
|
char *yy_ch_buf; /* input buffer */
|
|
|
|
|
char *yy_buf_pos; /* current position in input buffer */
|
|
|
|
|
|
|
|
|
|
/* Size of input buffer in bytes, not including room for EOB
|
|
|
|
|
* characters.
|
|
|
|
|
*/
|
|
|
|
|
yy_size_t yy_buf_size;
|
|
|
|
|
|
|
|
|
|
/* Number of characters read into yy_ch_buf, not including EOB
|
|
|
|
|
* characters.
|
|
|
|
|
*/
|
|
|
|
|
int yy_n_chars;
|
|
|
|
|
|
|
|
|
|
/* Whether we "own" the buffer - i.e., we know we created it,
|
|
|
|
|
* and can realloc() it to grow it, and should free() it to
|
|
|
|
|
* delete it.
|
|
|
|
|
*/
|
|
|
|
|
int yy_is_our_buffer;
|
|
|
|
|
|
|
|
|
|
/* Whether this is an "interactive" input source; if so, and
|
|
|
|
|
* if we're using stdio for input, then we want to use getc()
|
|
|
|
|
* instead of fread(), to make sure we stop fetching input after
|
|
|
|
|
* each newline.
|
|
|
|
|
*/
|
|
|
|
|
int yy_is_interactive;
|
|
|
|
|
|
|
|
|
|
/* Whether we're considered to be at the beginning of a line.
|
|
|
|
|
* If so, '^' rules will be active on the next match, otherwise
|
|
|
|
|
* not.
|
|
|
|
|
*/
|
|
|
|
|
int yy_at_bol;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
int yy_bs_lineno; /**< The line count. */
|
|
|
|
|
int yy_bs_column; /**< The column count. */
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Whether to try to fill the input buffer when we reach the
|
|
|
|
|
* end of it.
|
|
|
|
|
*/
|
|
|
|
|
int yy_fill_buffer;
|
|
|
|
|
|
|
|
|
|
int yy_buffer_status;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
#define YY_BUFFER_NEW 0
|
|
|
|
|
#define YY_BUFFER_NORMAL 1
|
|
|
|
|
/* When an EOF's been seen but there's still some text to process
|
|
|
|
|
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
|
|
|
|
|
* shouldn't try reading from the input source any more. We might
|
|
|
|
|
* still have a bunch of tokens to match, though, because of
|
|
|
|
|
* possible backing-up.
|
|
|
|
|
*
|
|
|
|
|
* When we actually see the EOF, we change the status to "new"
|
|
|
|
|
* (via yyrestart()), so that the user can continue scanning by
|
|
|
|
|
* just pointing yyin at a new input file.
|
|
|
|
|
*/
|
|
|
|
|
#define YY_BUFFER_EOF_PENDING 2
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
};
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Stack of input buffers. */
|
|
|
|
|
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
|
|
|
|
|
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
|
|
|
|
|
static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* We provide macros for accessing buffer states in case in the
|
|
|
|
|
* future we want to put the buffer states in a more general
|
|
|
|
|
* "scanner state".
|
2008-06-09 05:34:40 -04:00
|
|
|
*
|
|
|
|
|
* Returns the top of the stack, or NULL.
|
2007-10-18 18:49:08 -04:00
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
|
|
|
|
|
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
|
|
|
|
|
: NULL)
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Same as previous macro, but useful when we know that the buffer stack is not
|
|
|
|
|
* NULL or when we need an lvalue. For internal use only.
|
|
|
|
|
*/
|
|
|
|
|
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_hold_char holds the character lost when yytext is formed. */
|
|
|
|
|
static char yy_hold_char;
|
|
|
|
|
static int yy_n_chars; /* number of characters read into yy_ch_buf */
|
|
|
|
|
int yyleng;
|
|
|
|
|
|
|
|
|
|
/* Points to current character in buffer. */
|
|
|
|
|
static char *yy_c_buf_p = (char *) 0;
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_init = 0; /* whether we need to initialize */
|
2007-10-18 18:49:08 -04:00
|
|
|
static int yy_start = 0; /* start state number */
|
|
|
|
|
|
|
|
|
|
/* Flag which is used to allow yywrap()'s to do buffer switches
|
|
|
|
|
* instead of setting up a fresh yyin. A bit of a hack ...
|
|
|
|
|
*/
|
|
|
|
|
static int yy_did_buffer_switch_on_eof;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void yyrestart (FILE *input_file );
|
|
|
|
|
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
|
|
|
|
|
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
|
|
|
|
|
void yy_delete_buffer (YY_BUFFER_STATE b );
|
|
|
|
|
void yy_flush_buffer (YY_BUFFER_STATE b );
|
|
|
|
|
void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
|
|
|
|
|
void yypop_buffer_state (void );
|
|
|
|
|
|
|
|
|
|
static void yyensure_buffer_stack (void );
|
|
|
|
|
static void yy_load_buffer_state (void );
|
|
|
|
|
static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
|
|
|
|
|
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
|
|
|
|
|
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void *yyalloc (yy_size_t );
|
|
|
|
|
void *yyrealloc (void *,yy_size_t );
|
|
|
|
|
void yyfree (void * );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#define yy_new_buffer yy_create_buffer
|
|
|
|
|
|
|
|
|
|
#define yy_set_interactive(is_interactive) \
|
|
|
|
|
{ \
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! YY_CURRENT_BUFFER ){ \
|
|
|
|
|
yyensure_buffer_stack (); \
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE = \
|
|
|
|
|
yy_create_buffer(yyin,YY_BUF_SIZE ); \
|
|
|
|
|
} \
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#define yy_set_bol(at_bol) \
|
|
|
|
|
{ \
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! YY_CURRENT_BUFFER ){\
|
|
|
|
|
yyensure_buffer_stack (); \
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE = \
|
|
|
|
|
yy_create_buffer(yyin,YY_BUF_SIZE ); \
|
|
|
|
|
} \
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
|
|
|
|
|
|
|
|
|
|
/* Begin user sect3 */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
typedef unsigned char YY_CHAR;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
typedef int yy_state_type;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
extern int yylineno;
|
|
|
|
|
|
|
|
|
|
int yylineno = 1;
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
extern char *yytext;
|
|
|
|
|
#define yytext_ptr yytext
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static yy_state_type yy_get_previous_state (void );
|
|
|
|
|
static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
|
|
|
|
|
static int yy_get_next_buffer (void );
|
|
|
|
|
static void yy_fatal_error (yyconst char msg[] );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Done after the current pattern has been matched and before the
|
|
|
|
|
* corresponding action - sets up yytext.
|
|
|
|
|
*/
|
|
|
|
|
#define YY_DO_BEFORE_ACTION \
|
2008-06-09 05:34:40 -04:00
|
|
|
(yytext_ptr) = yy_bp; \
|
|
|
|
|
(yytext_ptr) -= (yy_more_len); \
|
|
|
|
|
yyleng = (size_t) (yy_cp - (yytext_ptr)); \
|
|
|
|
|
(yy_hold_char) = *yy_cp; \
|
2007-10-18 18:49:08 -04:00
|
|
|
*yy_cp = '\0'; \
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
#define YY_NUM_RULES 125
|
|
|
|
|
#define YY_END_OF_BUFFER 126
|
2008-06-09 05:34:40 -04:00
|
|
|
/* This struct is not used in this scanner,
|
|
|
|
|
but its presence is necessary. */
|
|
|
|
|
struct yy_trans_info
|
|
|
|
|
{
|
|
|
|
|
flex_int32_t yy_verify;
|
|
|
|
|
flex_int32_t yy_nxt;
|
|
|
|
|
};
|
2009-08-25 04:46:33 -04:00
|
|
|
static yyconst flex_int16_t yy_accept[1178] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2009-08-25 04:46:33 -04:00
|
|
|
1, 1, 107, 107, 111, 111, 115, 115, 119, 119,
|
|
|
|
|
1, 1, 126, 123, 1, 105, 105, 124, 123, 124,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 107,
|
|
|
|
|
108, 108, 109, 124, 111, 112, 112, 113, 124, 118,
|
|
|
|
|
115, 116, 116, 117, 124, 119, 120, 120, 121, 124,
|
|
|
|
|
122, 106, 122, 110, 124, 122, 123, 0, 1, 0,
|
|
|
|
|
123, 0, 2, 0, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 107, 0, 111, 0, 118, 0,
|
|
|
|
|
115, 119, 0, 122, 0, 122, 0, 122, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 122, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 122,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 51, 123, 123, 123, 123, 123, 6,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 122, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 122, 123, 123, 123, 123, 20, 123, 123, 123,
|
|
|
|
|
123, 123, 12, 13, 123, 15, 14, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 103, 123, 123,
|
|
|
|
|
123, 123, 3, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 122, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 114, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 23,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 24, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 64, 114, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 63, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 21, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 22, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 17, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 52,
|
|
|
|
|
53, 123, 50, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 5, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 66,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 89, 88, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
25, 123, 123, 123, 123, 54, 123, 123, 123, 123,
|
|
|
|
|
123, 86, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 43,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 4, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 83,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 97, 84, 123,
|
|
|
|
|
16, 123, 123, 123, 56, 57, 55, 123, 123, 123,
|
|
|
|
|
123, 123, 62, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 85, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 71, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
31, 32, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 61, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 65, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
102, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 75, 123, 78, 123, 123, 123, 123,
|
|
|
|
|
60, 123, 123, 95, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 33,
|
|
|
|
|
34, 123, 39, 79, 123, 90, 87, 123, 27, 123,
|
|
|
|
|
81, 123, 123, 123, 123, 123, 7, 123, 49, 94,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 67, 123, 123, 104, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 80, 26, 28, 123, 123,
|
|
|
|
|
123, 123, 123, 48, 123, 123, 123, 98, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 46, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 100, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 11, 123, 123, 123, 123, 123, 123, 10,
|
|
|
|
|
123, 123, 29, 123, 99, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 74, 73, 123, 101, 96,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 35,
|
|
|
|
|
123, 123, 123, 123, 123, 30, 123, 123, 123, 68,
|
|
|
|
|
70, 123, 123, 123, 72, 123, 123, 123, 123, 123,
|
|
|
|
|
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 18, 123,
|
|
|
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
|
|
|
123, 93, 123, 123, 123, 123, 123, 123, 19, 123,
|
|
|
|
|
9, 123, 123, 91, 40, 123, 123, 123, 77, 123,
|
|
|
|
|
58, 123, 123, 42, 45, 41, 123, 36, 123, 8,
|
|
|
|
|
123, 123, 76, 123, 123, 123, 123, 37, 123, 92,
|
|
|
|
|
123, 123, 69, 59, 44, 38, 123, 123, 123, 123,
|
|
|
|
|
47, 123, 123, 123, 123, 82, 0
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static yyconst flex_int32_t yy_ec[256] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
|
|
|
|
|
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2007-11-28 03:10:45 -05:00
|
|
|
1, 2, 1, 5, 6, 1, 1, 1, 7, 1,
|
|
|
|
|
1, 1, 1, 1, 8, 1, 1, 1, 1, 1,
|
|
|
|
|
9, 10, 1, 11, 1, 1, 1, 12, 1, 1,
|
2007-10-18 18:49:08 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2007-11-28 03:10:45 -05:00
|
|
|
1, 13, 1, 1, 1, 1, 14, 15, 16, 17,
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-10-06 05:28:50 -04:00
|
|
|
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
|
|
|
|
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
|
|
|
|
38, 39, 1, 1, 1, 1, 1, 1, 1, 1,
|
2007-10-18 18:49:08 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1
|
|
|
|
|
} ;
|
|
|
|
|
|
2008-10-06 05:28:50 -04:00
|
|
|
static yyconst flex_int32_t yy_meta[40] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2009-02-06 05:19:16 -05:00
|
|
|
1, 2, 3, 3, 4, 1, 5, 1, 1, 1,
|
|
|
|
|
1, 6, 1, 1, 1, 1, 1, 1, 1, 1,
|
2007-10-18 18:49:08 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2008-10-06 05:28:50 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
static yyconst flex_int16_t yy_base[1192] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2008-10-06 05:28:50 -04:00
|
|
|
0, 0, 37, 40, 44, 51, 63, 75, 56, 68,
|
2009-08-25 04:46:33 -04:00
|
|
|
87, 108, 2270, 2256, 50, 2359, 2359, 2359, 129, 94,
|
|
|
|
|
70, 124, 122, 71, 89, 105, 112, 92, 110, 94,
|
|
|
|
|
130, 135, 61, 133, 147, 141, 153, 150, 167, 2255,
|
|
|
|
|
2359, 2359, 2359, 58, 2254, 2359, 2359, 2359, 42, 2250,
|
|
|
|
|
2199, 2359, 2359, 2359, 184, 2118, 2359, 2359, 2359, 152,
|
|
|
|
|
2067, 2359, 190, 2359, 194, 160, 1958, 200, 166, 1628,
|
|
|
|
|
211, 1432, 2359, 1319, 163, 193, 157, 195, 72, 204,
|
|
|
|
|
196, 206, 62, 212, 209, 213, 214, 215, 216, 217,
|
|
|
|
|
222, 228, 227, 235, 236, 238, 240, 242, 226, 244,
|
|
|
|
|
|
|
|
|
|
245, 249, 250, 252, 254, 256, 259, 260, 262, 257,
|
|
|
|
|
264, 266, 267, 268, 1239, 281, 1175, 291, 1127, 299,
|
|
|
|
|
1086, 999, 292, 944, 303, 309, 784, 302, 306, 312,
|
|
|
|
|
274, 103, 304, 276, 313, 310, 321, 322, 317, 320,
|
|
|
|
|
314, 323, 324, 330, 333, 328, 334, 332, 335, 354,
|
|
|
|
|
340, 355, 338, 358, 357, 365, 368, 364, 366, 347,
|
|
|
|
|
356, 369, 370, 373, 374, 375, 376, 380, 381, 383,
|
|
|
|
|
386, 389, 395, 392, 391, 398, 400, 404, 401, 405,
|
|
|
|
|
409, 410, 412, 413, 421, 416, 419, 423, 424, 429,
|
|
|
|
|
425, 430, 435, 441, 433, 437, 442, 443, 445, 447,
|
|
|
|
|
|
|
|
|
|
451, 449, 448, 450, 456, 454, 469, 462, 464, 457,
|
|
|
|
|
468, 473, 476, 478, 480, 481, 489, 485, 486, 487,
|
|
|
|
|
493, 492, 490, 494, 499, 498, 519, 500, 504, 503,
|
|
|
|
|
506, 511, 507, 514, 516, 517, 528, 520, 523, 539,
|
|
|
|
|
548, 529, 541, 542, 547, 550, 551, 552, 553, 555,
|
|
|
|
|
556, 559, 570, 567, 571, 572, 577, 579, 580, 581,
|
|
|
|
|
582, 563, 590, 2359, 594, 583, 588, 592, 586, 2359,
|
|
|
|
|
597, 599, 600, 602, 608, 606, 607, 611, 609, 620,
|
|
|
|
|
614, 621, 113, 630, 618, 616, 623, 632, 635, 636,
|
|
|
|
|
639, 640, 643, 642, 649, 650, 645, 647, 653, 654,
|
|
|
|
|
|
|
|
|
|
655, 656, 661, 665, 669, 673, 675, 677, 680, 686,
|
|
|
|
|
682, 684, 690, 689, 691, 674, 692, 695, 698, 699,
|
|
|
|
|
707, 703, 705, 711, 704, 713, 719, 716, 720, 721,
|
|
|
|
|
725, 726, 727, 728, 729, 736, 743, 739, 742, 751,
|
|
|
|
|
732, 749, 740, 747, 754, 761, 757, 759, 762, 760,
|
|
|
|
|
764, 766, 768, 772, 771, 780, 781, 770, 782, 784,
|
|
|
|
|
773, 790, 791, 792, 797, 798, 2359, 805, 802, 801,
|
|
|
|
|
803, 808, 2359, 2359, 170, 2359, 2359, 804, 810, 817,
|
|
|
|
|
824, 815, 809, 816, 822, 825, 829, 833, 834, 837,
|
|
|
|
|
826, 838, 839, 844, 849, 850, 852, 853, 854, 858,
|
|
|
|
|
|
|
|
|
|
859, 861, 863, 862, 871, 877, 865, 2359, 873, 874,
|
|
|
|
|
880, 875, 2359, 882, 883, 885, 889, 892, 890, 893,
|
|
|
|
|
899, 897, 895, 900, 903, 902, 909, 916, 915, 913,
|
|
|
|
|
917, 924, 905, 921, 927, 922, 928, 929, 933, 935,
|
|
|
|
|
958, 934, 939, 936, 940, 941, 942, 950, 952, 959,
|
|
|
|
|
943, 946, 965, 968, 966, 971, 982, 2359, 977, 983,
|
|
|
|
|
975, 979, 984, 987, 985, 988, 991, 995, 1002, 2359,
|
|
|
|
|
998, 1000, 1001, 1003, 1007, 1014, 1017, 2359, 1018, 1020,
|
|
|
|
|
1010, 1021, 1024, 1026, 1028, 1029, 1030, 1034, 1036, 1035,
|
|
|
|
|
1037, 1043, 1039, 1052, 1056, 1038, 1045, 1055, 1057, 1058,
|
|
|
|
|
|
|
|
|
|
1063, 1060, 1064, 1061, 1062, 2359, 683, 1065, 1066, 1068,
|
|
|
|
|
1072, 1082, 1084, 1069, 1076, 1086, 1085, 1092, 1094, 1095,
|
|
|
|
|
1096, 1097, 1098, 1099, 1104, 1101, 1106, 1103, 1109, 1110,
|
|
|
|
|
1114, 1111, 1112, 1115, 2359, 1119, 1123, 1125, 1129, 1140,
|
|
|
|
|
1136, 1137, 1143, 1141, 1147, 1150, 1144, 1148, 1159, 1160,
|
|
|
|
|
1156, 1153, 1162, 1163, 1164, 1165, 1168, 1169, 1173, 1172,
|
|
|
|
|
1170, 1174, 1185, 1187, 1189, 1192, 1177, 1196, 1198, 1199,
|
|
|
|
|
1200, 1201, 2359, 1207, 1210, 1209, 1216, 1212, 1213, 1215,
|
|
|
|
|
1219, 1220, 1222, 1228, 1224, 1227, 1225, 1229, 1231, 1233,
|
|
|
|
|
1234, 1236, 2359, 1242, 1235, 1238, 1248, 1246, 1250, 1249,
|
|
|
|
|
|
|
|
|
|
1255, 1257, 1260, 1263, 1262, 1264, 1271, 1272, 1273, 1274,
|
|
|
|
|
1283, 1286, 1284, 2359, 1288, 1275, 1277, 1300, 1291, 1292,
|
|
|
|
|
1297, 1306, 1298, 1302, 1304, 1305, 1308, 1307, 1310, 1312,
|
|
|
|
|
1314, 1316, 1326, 1319, 1331, 1315, 1327, 1337, 1338, 2359,
|
|
|
|
|
2359, 1341, 2359, 1342, 1334, 1336, 1343, 1344, 1351, 1346,
|
|
|
|
|
1352, 1354, 1356, 1358, 1355, 1360, 2359, 1357, 1363, 1368,
|
|
|
|
|
1364, 1370, 1371, 1378, 1381, 1387, 1372, 1379, 1383, 2359,
|
|
|
|
|
1394, 1373, 1385, 1395, 1397, 1400, 1401, 1402, 1404, 1405,
|
|
|
|
|
1408, 1409, 1411, 1413, 1412, 1419, 1416, 1417, 1418, 1423,
|
|
|
|
|
1421, 1432, 1424, 2359, 2359, 1430, 1434, 1435, 1446, 1442,
|
|
|
|
|
|
|
|
|
|
1450, 1448, 1449, 1452, 1453, 1456, 1457, 1459, 1461, 1462,
|
|
|
|
|
2359, 1468, 1472, 1473, 1478, 2359, 1466, 1464, 1476, 1483,
|
|
|
|
|
1484, 2359, 1485, 1486, 1488, 1489, 1491, 1492, 1497, 1498,
|
|
|
|
|
1504, 1500, 1506, 1507, 1515, 1509, 1508, 1511, 1523, 1525,
|
|
|
|
|
1527, 1529, 1535, 1512, 1531, 1538, 1540, 1542, 1543, 2359,
|
|
|
|
|
1549, 1516, 1550, 1532, 1548, 1558, 1552, 1554, 1555, 1556,
|
|
|
|
|
1559, 1561, 1562, 1567, 1563, 1569, 1565, 1570, 1573, 1581,
|
|
|
|
|
1577, 1584, 2359, 1585, 1591, 1587, 1589, 1592, 1593, 1594,
|
|
|
|
|
1595, 1598, 1605, 1604, 1601, 1606, 1621, 1624, 1630, 1615,
|
|
|
|
|
1631, 1628, 1608, 1629, 1609, 1637, 1633, 1643, 1635, 2359,
|
|
|
|
|
|
|
|
|
|
1636, 1645, 1649, 1646, 1651, 1653, 1654, 2359, 2359, 1650,
|
|
|
|
|
2359, 1657, 1642, 1661, 2359, 2359, 2359, 1671, 1664, 1667,
|
|
|
|
|
1672, 1676, 2359, 1665, 1677, 1673, 1679, 1680, 1683, 1682,
|
|
|
|
|
1684, 2359, 1688, 1687, 1690, 1696, 1699, 1686, 1701, 1700,
|
|
|
|
|
1709, 1710, 1703, 1707, 1716, 1713, 1717, 1719, 1723, 1720,
|
|
|
|
|
1725, 1726, 1728, 1729, 1724, 1730, 1739, 2359, 1741, 1731,
|
|
|
|
|
1743, 1749, 1750, 1754, 1738, 1751, 1758, 1760, 1762, 1764,
|
|
|
|
|
2359, 2359, 1765, 1767, 1768, 1770, 1771, 1775, 1777, 1778,
|
|
|
|
|
1780, 1781, 1784, 1785, 1786, 2359, 1787, 1788, 1789, 1793,
|
|
|
|
|
1796, 1804, 1798, 1809, 1813, 1791, 1815, 1817, 2359, 1818,
|
|
|
|
|
|
|
|
|
|
1820, 1806, 1822, 1824, 1826, 1827, 1828, 1834, 1831, 1836,
|
|
|
|
|
2359, 1838, 1839, 1840, 1843, 1846, 1845, 1847, 1848, 1849,
|
|
|
|
|
1853, 1859, 1856, 2359, 1857, 2359, 1861, 1867, 1869, 1871,
|
|
|
|
|
2359, 1873, 1874, 2359, 1875, 1876, 1883, 1885, 1884, 1891,
|
|
|
|
|
1879, 1892, 1893, 1900, 1896, 1894, 1901, 1897, 1907, 2359,
|
|
|
|
|
2359, 1903, 2359, 2359, 1914, 2359, 2359, 1916, 2359, 1918,
|
|
|
|
|
2359, 1924, 1920, 1911, 1908, 1923, 2359, 1926, 2359, 2359,
|
|
|
|
|
1929, 1931, 1932, 1936, 1938, 1922, 1939, 1941, 1942, 1943,
|
|
|
|
|
1945, 1946, 1947, 1948, 1949, 1952, 1956, 1957, 1959, 1960,
|
|
|
|
|
1967, 2359, 1961, 1971, 2359, 1969, 1974, 1977, 1980, 1981,
|
|
|
|
|
|
|
|
|
|
1983, 1989, 1986, 1985, 1987, 2359, 2359, 2359, 1988, 1990,
|
|
|
|
|
1998, 1991, 1994, 2359, 2003, 1999, 2010, 2359, 2013, 2005,
|
|
|
|
|
2011, 2016, 2017, 2015, 2359, 2019, 2024, 2025, 2026, 2032,
|
|
|
|
|
2036, 2033, 2038, 2040, 2359, 2042, 2043, 2045, 2044, 2049,
|
|
|
|
|
2050, 2052, 2359, 2046, 2054, 2057, 2059, 2062, 2064, 2359,
|
|
|
|
|
2063, 2066, 2359, 2075, 2359, 2060, 2076, 2078, 2083, 2085,
|
|
|
|
|
2071, 2086, 2092, 2091, 2093, 2359, 2359, 2088, 2359, 2359,
|
|
|
|
|
2095, 2096, 2098, 2099, 2101, 2102, 2103, 2107, 2105, 2359,
|
|
|
|
|
2108, 2109, 2113, 2119, 2121, 2359, 2124, 2120, 2110, 2359,
|
|
|
|
|
2359, 2126, 2136, 2134, 2359, 2139, 2138, 2140, 2141, 2146,
|
|
|
|
|
|
|
|
|
|
2142, 2148, 2149, 2150, 2128, 2151, 2153, 2160, 2359, 2162,
|
|
|
|
|
2163, 2164, 2169, 2172, 2166, 2175, 2173, 2177, 2178, 2180,
|
|
|
|
|
2181, 2359, 2184, 2192, 2195, 2197, 2198, 2202, 2359, 2204,
|
|
|
|
|
2359, 2207, 2208, 2359, 2359, 2174, 2210, 2211, 2359, 2212,
|
|
|
|
|
2359, 2199, 2214, 2359, 2359, 2359, 2221, 2359, 2222, 2359,
|
|
|
|
|
2224, 2215, 2359, 2225, 2228, 2232, 2234, 2359, 2236, 2359,
|
|
|
|
|
2229, 2237, 2359, 2359, 2359, 2359, 2240, 2239, 2246, 2242,
|
|
|
|
|
2359, 2247, 2249, 2248, 2253, 2359, 2359, 2280, 2286, 2292,
|
|
|
|
|
2298, 2304, 542, 2310, 2316, 2322, 2328, 2334, 2340, 2346,
|
|
|
|
|
2352
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
static yyconst flex_int16_t yy_def[1192] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2009-08-25 04:46:33 -04:00
|
|
|
1177, 1, 1178, 1178, 1179, 1179, 1180, 1180, 1181, 1181,
|
|
|
|
|
1182, 1182, 1177, 1183, 1177, 1177, 1177, 1177, 1184, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1185,
|
|
|
|
|
1177, 1177, 1177, 1185, 1186, 1177, 1177, 1177, 1186, 1187,
|
|
|
|
|
1177, 1177, 1177, 1177, 1187, 1188, 1177, 1177, 1177, 1188,
|
|
|
|
|
1189, 1177, 1190, 1177, 1189, 1189, 1183, 1183, 1177, 1191,
|
|
|
|
|
1184, 1191, 1177, 1184, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1185, 1185, 1186, 1186, 1187, 1187,
|
|
|
|
|
1177, 1188, 1188, 1189, 1189, 1190, 1190, 1189, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1189, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1189,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1189, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1189, 1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1177, 1177, 1183, 1177, 1177, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183, 1183,
|
|
|
|
|
1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1189, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1177, 1189, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1177, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1177, 1177, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1177, 1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1177, 1183,
|
|
|
|
|
1177, 1183, 1183, 1183, 1177, 1177, 1177, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1177, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1177, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1177, 1183, 1177, 1183, 1183, 1183, 1183,
|
|
|
|
|
1177, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1177, 1183, 1177, 1177, 1183, 1177, 1177, 1183, 1177, 1183,
|
|
|
|
|
1177, 1183, 1183, 1183, 1183, 1183, 1177, 1183, 1177, 1177,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1177, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1177, 1177, 1177, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1177, 1183, 1183, 1183, 1177, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1183, 1183, 1177, 1183, 1177, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1177, 1177, 1183, 1177, 1177,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1177, 1183, 1183, 1183, 1177,
|
|
|
|
|
1177, 1183, 1183, 1183, 1177, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183,
|
|
|
|
|
1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183,
|
|
|
|
|
1183, 1177, 1183, 1183, 1183, 1183, 1183, 1183, 1177, 1183,
|
|
|
|
|
1177, 1183, 1183, 1177, 1177, 1183, 1183, 1183, 1177, 1183,
|
|
|
|
|
1177, 1183, 1183, 1177, 1177, 1177, 1183, 1177, 1183, 1177,
|
|
|
|
|
1183, 1183, 1177, 1183, 1183, 1183, 1183, 1177, 1183, 1177,
|
|
|
|
|
1183, 1183, 1177, 1177, 1177, 1177, 1183, 1183, 1183, 1183,
|
|
|
|
|
1177, 1183, 1183, 1183, 1183, 1177, 0, 1177, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177,
|
|
|
|
|
1177
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
static yyconst flex_int16_t yy_nxt[2399] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
2009-02-06 05:19:16 -05:00
|
|
|
14, 15, 16, 17, 18, 19, 18, 14, 14, 14,
|
|
|
|
|
14, 18, 20, 21, 14, 22, 23, 24, 25, 14,
|
|
|
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 14,
|
|
|
|
|
35, 36, 37, 38, 39, 14, 14, 14, 14, 41,
|
2009-08-25 04:46:33 -04:00
|
|
|
42, 43, 41, 42, 43, 117, 46, 47, 117, 44,
|
2009-02-27 04:38:11 -05:00
|
|
|
48, 69, 44, 46, 47, 70, 49, 48, 57, 58,
|
2009-08-25 04:46:33 -04:00
|
|
|
59, 115, 115, 49, 51, 52, 53, 54, 60, 18,
|
2009-08-12 11:26:47 -04:00
|
|
|
57, 58, 59, 68, 68, 55, 51, 52, 53, 54,
|
2009-08-25 04:46:33 -04:00
|
|
|
60, 18, 68, 68, 68, 75, 76, 55, 15, 16,
|
|
|
|
|
17, 62, 63, 64, 99, 67, 137, 67, 67, 65,
|
|
|
|
|
|
|
|
|
|
67, 68, 133, 77, 68, 67, 68, 85, 66, 15,
|
|
|
|
|
16, 17, 62, 63, 64, 68, 86, 68, 87, 91,
|
|
|
|
|
65, 93, 68, 179, 68, 68, 88, 92, 89, 66,
|
|
|
|
|
72, 73, 72, 72, 68, 72, 68, 78, 90, 81,
|
|
|
|
|
72, 74, 68, 82, 79, 68, 83, 68, 96, 84,
|
|
|
|
|
351, 80, 97, 68, 100, 122, 122, 94, 107, 68,
|
|
|
|
|
101, 95, 68, 102, 104, 68, 109, 69, 98, 68,
|
|
|
|
|
103, 70, 125, 108, 105, 68, 111, 106, 129, 68,
|
|
|
|
|
113, 112, 68, 110, 114, 119, 128, 119, 119, 131,
|
|
|
|
|
119, 72, 73, 72, 72, 124, 72, 124, 124, 446,
|
|
|
|
|
|
|
|
|
|
124, 67, 127, 67, 67, 68, 67, 68, 68, 130,
|
|
|
|
|
132, 67, 72, 73, 72, 72, 68, 72, 68, 138,
|
|
|
|
|
135, 68, 72, 74, 68, 68, 68, 68, 68, 68,
|
|
|
|
|
134, 143, 145, 144, 68, 146, 136, 139, 68, 68,
|
|
|
|
|
68, 140, 151, 141, 142, 149, 152, 68, 68, 147,
|
|
|
|
|
68, 153, 68, 148, 68, 154, 68, 68, 158, 156,
|
|
|
|
|
159, 68, 68, 155, 68, 150, 68, 157, 68, 68,
|
|
|
|
|
161, 68, 68, 167, 68, 160, 68, 163, 68, 68,
|
|
|
|
|
68, 164, 162, 172, 115, 115, 68, 165, 68, 166,
|
|
|
|
|
170, 173, 169, 168, 117, 122, 122, 117, 174, 171,
|
|
|
|
|
|
|
|
|
|
119, 178, 119, 119, 124, 119, 124, 124, 181, 124,
|
|
|
|
|
72, 73, 72, 72, 125, 72, 68, 175, 68, 177,
|
|
|
|
|
182, 127, 68, 176, 68, 68, 68, 183, 184, 68,
|
|
|
|
|
190, 180, 68, 68, 68, 68, 68, 191, 185, 193,
|
|
|
|
|
68, 194, 68, 186, 68, 68, 68, 68, 187, 192,
|
|
|
|
|
68, 199, 68, 203, 188, 189, 195, 196, 198, 68,
|
|
|
|
|
197, 202, 204, 201, 200, 207, 68, 68, 68, 68,
|
|
|
|
|
68, 206, 209, 205, 208, 210, 68, 68, 68, 213,
|
|
|
|
|
68, 68, 68, 211, 212, 68, 68, 68, 68, 215,
|
|
|
|
|
214, 218, 68, 68, 221, 68, 225, 216, 68, 224,
|
|
|
|
|
|
|
|
|
|
222, 68, 227, 125, 68, 217, 228, 68, 220, 219,
|
|
|
|
|
68, 233, 68, 68, 223, 230, 68, 68, 234, 226,
|
|
|
|
|
232, 68, 68, 229, 68, 68, 239, 238, 68, 231,
|
|
|
|
|
237, 68, 235, 68, 240, 68, 68, 68, 243, 236,
|
|
|
|
|
244, 68, 68, 247, 241, 68, 242, 68, 249, 68,
|
|
|
|
|
245, 246, 248, 68, 68, 68, 253, 68, 256, 68,
|
|
|
|
|
68, 68, 68, 68, 257, 250, 68, 252, 68, 68,
|
|
|
|
|
251, 255, 258, 264, 68, 254, 68, 260, 261, 265,
|
|
|
|
|
68, 68, 259, 262, 263, 68, 266, 270, 68, 267,
|
|
|
|
|
68, 271, 68, 68, 269, 268, 274, 68, 68, 68,
|
|
|
|
|
|
|
|
|
|
278, 68, 68, 276, 68, 68, 68, 272, 277, 279,
|
|
|
|
|
68, 68, 68, 273, 282, 125, 68, 275, 68, 68,
|
|
|
|
|
281, 298, 280, 68, 284, 293, 68, 292, 68, 68,
|
|
|
|
|
283, 68, 68, 285, 286, 68, 294, 295, 296, 297,
|
|
|
|
|
68, 68, 67, 287, 300, 288, 289, 290, 299, 303,
|
|
|
|
|
291, 68, 302, 68, 68, 301, 304, 305, 306, 68,
|
|
|
|
|
68, 307, 68, 68, 68, 68, 311, 68, 68, 308,
|
|
|
|
|
309, 68, 317, 310, 314, 68, 316, 319, 313, 68,
|
|
|
|
|
318, 312, 68, 68, 68, 320, 324, 315, 321, 68,
|
|
|
|
|
323, 68, 68, 68, 68, 68, 328, 322, 68, 327,
|
|
|
|
|
|
|
|
|
|
68, 325, 68, 329, 68, 326, 68, 330, 332, 68,
|
|
|
|
|
334, 68, 68, 333, 68, 339, 331, 337, 68, 68,
|
|
|
|
|
68, 68, 338, 68, 342, 336, 68, 347, 68, 335,
|
|
|
|
|
68, 343, 68, 68, 350, 68, 340, 348, 341, 344,
|
|
|
|
|
354, 346, 68, 352, 68, 353, 349, 68, 68, 345,
|
|
|
|
|
355, 68, 68, 358, 125, 68, 363, 68, 362, 68,
|
|
|
|
|
359, 68, 68, 356, 367, 68, 68, 68, 68, 357,
|
|
|
|
|
361, 360, 366, 68, 364, 365, 371, 68, 368, 369,
|
|
|
|
|
373, 68, 375, 370, 374, 68, 68, 68, 376, 68,
|
|
|
|
|
372, 377, 68, 378, 68, 125, 68, 381, 68, 379,
|
|
|
|
|
|
|
|
|
|
380, 68, 68, 68, 68, 382, 384, 68, 383, 385,
|
|
|
|
|
68, 68, 390, 387, 391, 68, 68, 68, 388, 68,
|
|
|
|
|
393, 386, 389, 68, 392, 68, 398, 394, 68, 396,
|
|
|
|
|
397, 68, 68, 68, 399, 400, 401, 68, 68, 68,
|
|
|
|
|
68, 68, 402, 407, 68, 405, 406, 408, 68, 395,
|
|
|
|
|
409, 68, 68, 404, 68, 68, 403, 411, 412, 68,
|
|
|
|
|
410, 68, 413, 68, 414, 415, 68, 416, 419, 68,
|
|
|
|
|
420, 68, 68, 68, 68, 421, 68, 417, 68, 422,
|
|
|
|
|
68, 418, 68, 68, 68, 68, 73, 426, 423, 427,
|
|
|
|
|
428, 425, 68, 68, 68, 424, 68, 429, 430, 434,
|
|
|
|
|
|
|
|
|
|
431, 432, 125, 68, 68, 433, 436, 435, 437, 68,
|
|
|
|
|
68, 439, 441, 68, 68, 68, 68, 68, 442, 440,
|
|
|
|
|
68, 68, 68, 444, 449, 447, 448, 68, 68, 68,
|
|
|
|
|
438, 443, 455, 458, 68, 445, 68, 68, 68, 456,
|
|
|
|
|
450, 68, 460, 451, 459, 68, 68, 462, 452, 68,
|
|
|
|
|
68, 68, 463, 457, 453, 454, 68, 467, 464, 466,
|
|
|
|
|
461, 68, 68, 470, 68, 68, 68, 469, 471, 465,
|
|
|
|
|
68, 68, 472, 68, 68, 68, 468, 68, 473, 474,
|
|
|
|
|
476, 477, 478, 68, 479, 68, 68, 68, 481, 68,
|
|
|
|
|
484, 475, 68, 483, 68, 68, 480, 68, 485, 487,
|
|
|
|
|
|
|
|
|
|
482, 68, 68, 486, 68, 68, 493, 68, 491, 68,
|
|
|
|
|
489, 68, 68, 494, 68, 68, 488, 68, 490, 492,
|
|
|
|
|
497, 68, 499, 500, 496, 68, 495, 68, 68, 68,
|
|
|
|
|
501, 504, 506, 68, 68, 498, 68, 505, 507, 125,
|
|
|
|
|
68, 68, 503, 502, 509, 68, 68, 68, 68, 508,
|
|
|
|
|
518, 68, 68, 68, 68, 68, 125, 524, 68, 530,
|
|
|
|
|
510, 512, 68, 520, 68, 525, 521, 529, 523, 511,
|
|
|
|
|
68, 68, 526, 513, 522, 514, 519, 68, 68, 515,
|
|
|
|
|
68, 516, 531, 68, 536, 528, 517, 68, 532, 68,
|
|
|
|
|
527, 68, 533, 535, 68, 68, 68, 68, 537, 68,
|
|
|
|
|
|
|
|
|
|
68, 540, 534, 68, 539, 543, 538, 68, 541, 546,
|
|
|
|
|
68, 123, 68, 68, 68, 68, 542, 548, 549, 68,
|
|
|
|
|
550, 545, 68, 544, 553, 547, 68, 552, 551, 68,
|
|
|
|
|
68, 554, 68, 68, 555, 556, 68, 557, 68, 559,
|
|
|
|
|
68, 68, 68, 560, 562, 561, 68, 68, 68, 68,
|
|
|
|
|
68, 68, 566, 558, 567, 68, 573, 68, 568, 570,
|
|
|
|
|
563, 565, 569, 571, 68, 572, 564, 68, 68, 68,
|
|
|
|
|
68, 577, 68, 68, 68, 68, 68, 68, 68, 585,
|
|
|
|
|
68, 68, 576, 575, 68, 579, 574, 121, 68, 586,
|
|
|
|
|
578, 582, 580, 583, 68, 588, 68, 68, 68, 581,
|
|
|
|
|
|
|
|
|
|
584, 587, 589, 590, 68, 593, 68, 68, 68, 68,
|
|
|
|
|
68, 68, 591, 68, 596, 68, 68, 595, 68, 592,
|
|
|
|
|
599, 68, 68, 68, 68, 594, 68, 68, 600, 597,
|
|
|
|
|
598, 68, 605, 601, 602, 68, 608, 68, 606, 120,
|
|
|
|
|
604, 68, 603, 610, 607, 609, 612, 613, 68, 68,
|
|
|
|
|
617, 614, 68, 68, 618, 68, 68, 611, 616, 68,
|
|
|
|
|
68, 615, 68, 620, 619, 68, 623, 624, 68, 626,
|
|
|
|
|
621, 68, 68, 625, 68, 68, 68, 68, 622, 631,
|
|
|
|
|
68, 68, 68, 627, 68, 68, 68, 118, 628, 68,
|
|
|
|
|
629, 632, 630, 636, 634, 633, 640, 68, 641, 68,
|
|
|
|
|
|
|
|
|
|
635, 68, 637, 643, 68, 639, 642, 638, 68, 644,
|
|
|
|
|
68, 68, 68, 68, 650, 646, 645, 651, 648, 68,
|
|
|
|
|
649, 68, 68, 653, 68, 68, 652, 68, 68, 647,
|
|
|
|
|
657, 68, 68, 654, 68, 660, 68, 68, 656, 68,
|
|
|
|
|
68, 68, 664, 68, 655, 68, 68, 68, 68, 669,
|
|
|
|
|
68, 116, 658, 670, 68, 663, 661, 659, 68, 662,
|
|
|
|
|
68, 68, 68, 665, 667, 673, 675, 68, 672, 68,
|
|
|
|
|
666, 668, 68, 671, 68, 68, 68, 679, 674, 681,
|
|
|
|
|
676, 677, 680, 68, 68, 68, 68, 68, 678, 68,
|
|
|
|
|
687, 686, 683, 688, 682, 68, 68, 689, 68, 684,
|
|
|
|
|
|
|
|
|
|
68, 691, 695, 68, 68, 690, 685, 693, 692, 68,
|
|
|
|
|
68, 694, 68, 698, 68, 697, 68, 68, 68, 68,
|
|
|
|
|
68, 73, 68, 696, 68, 706, 68, 68, 68, 699,
|
|
|
|
|
707, 68, 712, 700, 703, 701, 702, 705, 68, 68,
|
|
|
|
|
704, 708, 711, 68, 714, 715, 68, 709, 68, 68,
|
|
|
|
|
68, 710, 716, 68, 68, 68, 68, 717, 68, 713,
|
|
|
|
|
720, 718, 722, 68, 68, 724, 68, 68, 68, 68,
|
|
|
|
|
68, 721, 68, 719, 727, 68, 68, 729, 723, 726,
|
|
|
|
|
68, 732, 68, 68, 68, 68, 728, 730, 725, 731,
|
|
|
|
|
68, 68, 736, 68, 738, 68, 733, 68, 737, 68,
|
|
|
|
|
|
|
|
|
|
744, 741, 734, 735, 739, 740, 68, 68, 745, 68,
|
|
|
|
|
743, 742, 68, 68, 68, 750, 68, 68, 748, 749,
|
|
|
|
|
68, 68, 751, 68, 68, 68, 757, 746, 68, 68,
|
|
|
|
|
68, 68, 747, 68, 73, 68, 68, 756, 752, 755,
|
|
|
|
|
762, 753, 68, 754, 68, 766, 68, 68, 758, 759,
|
|
|
|
|
761, 760, 765, 763, 68, 767, 764, 772, 68, 773,
|
|
|
|
|
68, 68, 68, 771, 68, 68, 768, 769, 68, 68,
|
|
|
|
|
770, 68, 779, 68, 68, 782, 68, 775, 68, 783,
|
|
|
|
|
68, 774, 777, 776, 68, 68, 787, 778, 68, 780,
|
|
|
|
|
68, 784, 781, 785, 788, 68, 68, 68, 68, 786,
|
|
|
|
|
|
|
|
|
|
68, 68, 793, 68, 68, 794, 795, 789, 796, 68,
|
|
|
|
|
68, 790, 68, 797, 791, 800, 68, 792, 68, 68,
|
|
|
|
|
68, 68, 804, 68, 68, 799, 801, 68, 68, 807,
|
|
|
|
|
802, 803, 798, 805, 808, 68, 809, 68, 806, 68,
|
|
|
|
|
811, 68, 812, 68, 68, 813, 820, 68, 810, 815,
|
|
|
|
|
68, 816, 68, 817, 68, 68, 819, 821, 818, 823,
|
|
|
|
|
68, 68, 68, 814, 68, 824, 68, 68, 68, 822,
|
|
|
|
|
68, 68, 832, 68, 68, 68, 825, 68, 826, 68,
|
|
|
|
|
834, 68, 68, 827, 837, 68, 828, 829, 830, 68,
|
|
|
|
|
836, 838, 831, 68, 840, 835, 68, 68, 844, 68,
|
|
|
|
|
|
|
|
|
|
833, 68, 843, 68, 68, 68, 68, 68, 846, 847,
|
|
|
|
|
68, 839, 842, 68, 848, 841, 68, 68, 68, 845,
|
|
|
|
|
68, 68, 850, 852, 863, 853, 849, 68, 856, 851,
|
|
|
|
|
73, 857, 855, 68, 854, 858, 68, 859, 861, 860,
|
|
|
|
|
68, 68, 68, 68, 866, 68, 865, 68, 68, 68,
|
|
|
|
|
868, 870, 862, 864, 68, 68, 871, 68, 68, 869,
|
|
|
|
|
872, 68, 68, 68, 873, 68, 68, 867, 874, 68,
|
|
|
|
|
878, 875, 880, 68, 877, 876, 68, 68, 882, 68,
|
|
|
|
|
884, 879, 881, 68, 68, 68, 885, 886, 68, 68,
|
|
|
|
|
888, 68, 68, 883, 68, 68, 68, 887, 68, 68,
|
|
|
|
|
|
|
|
|
|
68, 896, 68, 890, 891, 895, 889, 892, 68, 893,
|
|
|
|
|
899, 68, 68, 68, 902, 68, 894, 898, 901, 68,
|
|
|
|
|
897, 68, 68, 907, 900, 68, 903, 904, 68, 68,
|
|
|
|
|
908, 68, 68, 905, 911, 68, 68, 68, 68, 906,
|
|
|
|
|
68, 68, 68, 68, 912, 910, 913, 915, 909, 914,
|
|
|
|
|
68, 68, 916, 68, 917, 68, 918, 920, 919, 921,
|
|
|
|
|
924, 68, 68, 68, 923, 926, 68, 928, 922, 927,
|
|
|
|
|
68, 925, 68, 931, 68, 929, 68, 68, 934, 68,
|
|
|
|
|
68, 935, 68, 68, 932, 930, 933, 68, 937, 68,
|
|
|
|
|
68, 938, 68, 68, 936, 940, 68, 68, 68, 68,
|
|
|
|
|
|
|
|
|
|
68, 68, 946, 68, 939, 68, 949, 950, 68, 944,
|
|
|
|
|
68, 941, 942, 947, 948, 951, 68, 943, 68, 945,
|
|
|
|
|
953, 68, 955, 952, 954, 68, 956, 68, 957, 68,
|
|
|
|
|
68, 959, 68, 961, 68, 958, 68, 960, 68, 68,
|
|
|
|
|
68, 965, 964, 68, 963, 967, 68, 969, 68, 970,
|
|
|
|
|
68, 68, 68, 972, 962, 68, 966, 68, 68, 68,
|
|
|
|
|
68, 68, 968, 974, 976, 68, 980, 973, 68, 68,
|
|
|
|
|
978, 68, 981, 68, 979, 977, 985, 971, 975, 68,
|
|
|
|
|
984, 68, 983, 68, 986, 68, 68, 68, 68, 982,
|
|
|
|
|
990, 68, 987, 991, 992, 68, 68, 68, 989, 994,
|
|
|
|
|
|
|
|
|
|
988, 993, 995, 68, 68, 68, 68, 999, 68, 68,
|
|
|
|
|
998, 996, 68, 68, 1000, 68, 1005, 1003, 1002, 68,
|
|
|
|
|
68, 1004, 1001, 68, 997, 1006, 68, 1007, 68, 1008,
|
|
|
|
|
68, 1009, 68, 1010, 68, 68, 68, 1014, 68, 1011,
|
|
|
|
|
1013, 68, 1012, 68, 68, 1016, 1015, 1018, 68, 1017,
|
|
|
|
|
68, 68, 1020, 68, 68, 68, 1025, 68, 68, 68,
|
|
|
|
|
68, 68, 1019, 1021, 68, 1022, 1023, 1026, 68, 68,
|
|
|
|
|
68, 68, 68, 68, 1029, 1024, 1033, 1034, 1035, 68,
|
|
|
|
|
1028, 68, 1031, 68, 1037, 1027, 68, 1032, 1030, 68,
|
|
|
|
|
1038, 1036, 68, 68, 1043, 68, 1044, 68, 68, 68,
|
|
|
|
|
|
|
|
|
|
68, 68, 68, 68, 1039, 1049, 68, 1040, 1041, 1050,
|
|
|
|
|
68, 68, 1042, 1045, 1053, 68, 1046, 68, 1051, 1047,
|
|
|
|
|
1048, 1055, 68, 68, 1052, 68, 1056, 68, 68, 68,
|
|
|
|
|
1054, 68, 1058, 1059, 1060, 1061, 68, 68, 68, 1057,
|
|
|
|
|
1068, 1063, 1064, 1066, 68, 68, 1062, 1067, 68, 1069,
|
|
|
|
|
68, 1070, 68, 1065, 68, 68, 68, 68, 68, 1071,
|
|
|
|
|
1073, 68, 68, 1076, 68, 1074, 68, 1072, 1080, 68,
|
|
|
|
|
1075, 68, 68, 1077, 68, 68, 68, 1078, 68, 125,
|
|
|
|
|
1081, 1083, 1082, 68, 1084, 1079, 1086, 68, 68, 1088,
|
|
|
|
|
68, 1085, 1087, 1089, 1090, 68, 1091, 68, 68, 1094,
|
|
|
|
|
|
|
|
|
|
68, 1092, 1095, 68, 68, 68, 1097, 68, 68, 1096,
|
|
|
|
|
68, 68, 1093, 68, 68, 68, 1099, 68, 1102, 68,
|
|
|
|
|
68, 68, 68, 1107, 1109, 68, 1098, 1101, 1105, 1100,
|
|
|
|
|
123, 68, 68, 68, 1103, 1110, 68, 1106, 68, 1108,
|
|
|
|
|
68, 1104, 1111, 1115, 1113, 1112, 68, 1114, 68, 1116,
|
|
|
|
|
68, 68, 68, 68, 68, 1117, 1118, 1122, 68, 1119,
|
|
|
|
|
68, 68, 68, 68, 1129, 68, 1127, 1126, 1121, 1125,
|
|
|
|
|
1123, 1120, 68, 1131, 68, 68, 68, 1130, 68, 1124,
|
|
|
|
|
1134, 68, 1128, 1135, 68, 68, 68, 68, 1139, 68,
|
|
|
|
|
68, 1141, 68, 68, 1152, 1132, 68, 1136, 1133, 1137,
|
|
|
|
|
|
|
|
|
|
121, 1143, 1140, 1144, 68, 1138, 1145, 68, 1146, 68,
|
|
|
|
|
68, 68, 1142, 1148, 68, 1147, 68, 1149, 1150, 68,
|
|
|
|
|
68, 1153, 68, 68, 68, 1151, 68, 68, 1154, 1155,
|
|
|
|
|
1157, 1156, 1158, 68, 68, 1160, 68, 68, 1159, 1163,
|
|
|
|
|
68, 68, 1161, 1164, 68, 1165, 68, 1166, 68, 68,
|
|
|
|
|
1168, 68, 68, 1167, 68, 1162, 1169, 1171, 68, 68,
|
|
|
|
|
68, 68, 120, 1172, 1176, 68, 118, 116, 68, 1177,
|
|
|
|
|
1177, 1170, 1177, 1177, 1173, 1174, 1177, 1177, 1177, 1175,
|
|
|
|
|
40, 40, 40, 40, 40, 40, 45, 45, 45, 45,
|
|
|
|
|
45, 45, 50, 50, 50, 50, 50, 50, 56, 56,
|
|
|
|
|
|
|
|
|
|
56, 56, 56, 56, 61, 61, 61, 61, 61, 61,
|
|
|
|
|
71, 71, 71, 71, 71, 71, 115, 115, 1177, 1177,
|
|
|
|
|
115, 115, 117, 117, 1177, 117, 1177, 117, 119, 1177,
|
|
|
|
|
1177, 1177, 1177, 119, 122, 122, 1177, 1177, 122, 122,
|
|
|
|
|
124, 1177, 1177, 1177, 1177, 124, 126, 126, 126, 126,
|
|
|
|
|
126, 126, 72, 72, 72, 72, 72, 72, 13, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
static yyconst flex_int16_t yy_chk[2399] =
|
2007-10-18 18:49:08 -04:00
|
|
|
{ 0,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2008-10-06 05:28:50 -04:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 3,
|
2009-08-12 11:26:47 -04:00
|
|
|
3, 3, 4, 4, 4, 49, 5, 5, 49, 3,
|
2009-02-06 05:19:16 -05:00
|
|
|
5, 15, 4, 6, 6, 15, 5, 6, 9, 9,
|
2009-08-25 04:46:33 -04:00
|
|
|
9, 44, 44, 6, 7, 7, 7, 7, 9, 7,
|
|
|
|
|
10, 10, 10, 33, 83, 7, 8, 8, 8, 8,
|
|
|
|
|
10, 8, 21, 24, 79, 21, 21, 8, 11, 11,
|
|
|
|
|
11, 11, 11, 11, 33, 20, 83, 20, 20, 11,
|
|
|
|
|
|
|
|
|
|
20, 25, 79, 21, 28, 20, 30, 24, 11, 12,
|
|
|
|
|
12, 12, 12, 12, 12, 132, 25, 26, 26, 28,
|
|
|
|
|
12, 30, 29, 132, 27, 283, 26, 29, 27, 12,
|
|
|
|
|
19, 19, 19, 19, 23, 19, 22, 22, 27, 23,
|
|
|
|
|
19, 19, 31, 23, 22, 34, 23, 32, 32, 23,
|
|
|
|
|
283, 22, 32, 36, 34, 60, 60, 31, 36, 35,
|
|
|
|
|
34, 31, 38, 34, 35, 37, 37, 69, 32, 77,
|
|
|
|
|
34, 69, 66, 36, 35, 75, 38, 35, 75, 39,
|
|
|
|
|
39, 38, 375, 37, 39, 55, 66, 55, 55, 77,
|
|
|
|
|
55, 63, 63, 63, 63, 65, 63, 65, 65, 375,
|
|
|
|
|
|
|
|
|
|
65, 68, 63, 68, 68, 76, 68, 78, 81, 76,
|
|
|
|
|
78, 68, 71, 71, 71, 71, 80, 71, 82, 84,
|
|
|
|
|
81, 85, 71, 71, 84, 86, 87, 88, 89, 90,
|
|
|
|
|
80, 88, 90, 89, 91, 90, 82, 84, 99, 93,
|
|
|
|
|
92, 85, 93, 86, 87, 92, 93, 94, 95, 90,
|
|
|
|
|
96, 94, 97, 91, 98, 95, 100, 101, 99, 97,
|
|
|
|
|
100, 102, 103, 96, 104, 92, 105, 98, 106, 110,
|
|
|
|
|
102, 107, 108, 108, 109, 101, 111, 104, 112, 113,
|
|
|
|
|
114, 105, 103, 112, 116, 116, 131, 106, 134, 107,
|
|
|
|
|
110, 113, 109, 108, 118, 123, 123, 118, 114, 111,
|
|
|
|
|
|
|
|
|
|
120, 131, 120, 120, 125, 120, 125, 125, 134, 125,
|
|
|
|
|
126, 126, 126, 126, 128, 126, 133, 128, 129, 130,
|
|
|
|
|
135, 126, 136, 129, 130, 135, 141, 136, 137, 139,
|
|
|
|
|
139, 133, 140, 137, 138, 142, 143, 140, 138, 142,
|
|
|
|
|
146, 143, 144, 138, 148, 145, 147, 149, 138, 141,
|
|
|
|
|
153, 147, 151, 151, 138, 138, 144, 145, 146, 160,
|
|
|
|
|
145, 150, 152, 149, 148, 154, 150, 152, 161, 155,
|
|
|
|
|
154, 153, 156, 152, 155, 157, 158, 156, 159, 160,
|
|
|
|
|
157, 162, 163, 158, 159, 164, 165, 166, 167, 162,
|
|
|
|
|
161, 165, 168, 169, 168, 170, 172, 163, 171, 171,
|
|
|
|
|
|
|
|
|
|
169, 172, 173, 175, 174, 164, 174, 173, 167, 166,
|
|
|
|
|
176, 178, 177, 179, 170, 175, 178, 180, 179, 172,
|
|
|
|
|
177, 181, 182, 174, 183, 184, 184, 183, 186, 176,
|
|
|
|
|
182, 187, 180, 185, 185, 188, 189, 191, 188, 181,
|
|
|
|
|
189, 190, 192, 192, 186, 195, 187, 193, 194, 196,
|
|
|
|
|
190, 191, 193, 194, 197, 198, 198, 199, 201, 200,
|
|
|
|
|
203, 202, 204, 201, 202, 195, 206, 197, 205, 210,
|
|
|
|
|
196, 200, 203, 208, 208, 199, 209, 205, 206, 209,
|
|
|
|
|
211, 207, 204, 207, 207, 212, 210, 213, 213, 210,
|
|
|
|
|
214, 214, 215, 216, 212, 211, 217, 218, 219, 220,
|
|
|
|
|
|
|
|
|
|
221, 217, 223, 219, 222, 221, 224, 215, 220, 222,
|
|
|
|
|
226, 225, 228, 216, 225, 230, 229, 218, 231, 233,
|
|
|
|
|
224, 234, 223, 232, 226, 229, 234, 228, 235, 236,
|
|
|
|
|
225, 227, 238, 227, 227, 239, 230, 231, 232, 233,
|
|
|
|
|
237, 242, 1183, 227, 236, 227, 227, 227, 235, 239,
|
|
|
|
|
227, 240, 238, 243, 244, 237, 240, 241, 241, 245,
|
|
|
|
|
241, 242, 246, 247, 248, 249, 246, 250, 251, 243,
|
|
|
|
|
244, 252, 251, 245, 249, 262, 250, 253, 248, 254,
|
|
|
|
|
252, 247, 253, 255, 256, 254, 258, 249, 255, 257,
|
|
|
|
|
257, 258, 259, 260, 261, 266, 262, 256, 269, 261,
|
|
|
|
|
|
|
|
|
|
267, 259, 263, 263, 268, 260, 265, 265, 267, 271,
|
|
|
|
|
269, 272, 273, 268, 274, 275, 266, 273, 276, 277,
|
|
|
|
|
275, 279, 274, 278, 278, 272, 281, 280, 286, 271,
|
|
|
|
|
285, 278, 280, 282, 282, 287, 276, 280, 277, 278,
|
|
|
|
|
286, 279, 284, 284, 288, 285, 281, 289, 290, 278,
|
|
|
|
|
287, 291, 292, 290, 294, 293, 295, 297, 294, 298,
|
|
|
|
|
291, 295, 296, 288, 299, 299, 300, 301, 302, 289,
|
|
|
|
|
293, 292, 298, 303, 296, 297, 303, 304, 300, 301,
|
|
|
|
|
305, 305, 307, 302, 306, 306, 316, 307, 308, 308,
|
|
|
|
|
304, 309, 309, 310, 311, 507, 312, 313, 310, 311,
|
|
|
|
|
|
|
|
|
|
312, 314, 313, 315, 317, 314, 316, 318, 315, 317,
|
|
|
|
|
319, 320, 320, 319, 321, 322, 325, 323, 319, 321,
|
|
|
|
|
323, 318, 319, 324, 322, 326, 327, 324, 328, 325,
|
|
|
|
|
326, 327, 329, 330, 328, 329, 330, 331, 332, 333,
|
|
|
|
|
334, 335, 331, 336, 341, 334, 335, 336, 336, 324,
|
|
|
|
|
337, 338, 343, 333, 339, 337, 332, 339, 340, 344,
|
|
|
|
|
338, 342, 340, 340, 341, 342, 345, 343, 346, 347,
|
|
|
|
|
347, 348, 350, 346, 349, 348, 351, 344, 352, 349,
|
|
|
|
|
353, 345, 358, 355, 354, 361, 127, 353, 350, 354,
|
|
|
|
|
355, 352, 356, 357, 359, 351, 360, 356, 357, 361,
|
|
|
|
|
|
|
|
|
|
358, 359, 362, 363, 364, 360, 363, 362, 364, 365,
|
|
|
|
|
366, 366, 368, 370, 369, 371, 378, 368, 369, 366,
|
|
|
|
|
372, 383, 379, 371, 380, 378, 379, 382, 384, 380,
|
|
|
|
|
365, 370, 382, 385, 385, 372, 381, 386, 391, 383,
|
|
|
|
|
381, 387, 387, 381, 386, 388, 389, 389, 381, 390,
|
|
|
|
|
392, 393, 390, 384, 381, 381, 394, 394, 391, 393,
|
|
|
|
|
388, 395, 396, 397, 397, 398, 399, 396, 398, 392,
|
|
|
|
|
400, 401, 399, 402, 404, 403, 395, 407, 400, 401,
|
|
|
|
|
403, 404, 405, 405, 406, 409, 410, 412, 409, 406,
|
|
|
|
|
412, 402, 411, 411, 414, 415, 407, 416, 412, 415,
|
|
|
|
|
|
|
|
|
|
410, 417, 419, 414, 418, 420, 421, 423, 419, 422,
|
|
|
|
|
417, 421, 424, 422, 426, 425, 416, 433, 418, 420,
|
|
|
|
|
425, 427, 427, 428, 424, 430, 423, 429, 428, 431,
|
|
|
|
|
429, 432, 434, 434, 436, 426, 432, 433, 435, 435,
|
|
|
|
|
437, 438, 431, 430, 437, 439, 442, 440, 444, 436,
|
|
|
|
|
442, 443, 445, 446, 447, 451, 124, 448, 452, 452,
|
|
|
|
|
438, 440, 448, 444, 449, 449, 445, 451, 447, 439,
|
|
|
|
|
441, 450, 449, 441, 446, 441, 443, 453, 455, 441,
|
|
|
|
|
454, 441, 453, 456, 459, 450, 441, 461, 454, 459,
|
|
|
|
|
449, 462, 455, 457, 457, 460, 463, 465, 460, 464,
|
|
|
|
|
|
|
|
|
|
466, 463, 456, 467, 462, 466, 461, 468, 464, 469,
|
|
|
|
|
471, 122, 472, 473, 469, 474, 465, 472, 473, 475,
|
|
|
|
|
474, 468, 481, 467, 477, 471, 476, 476, 475, 477,
|
|
|
|
|
479, 479, 480, 482, 479, 480, 483, 481, 484, 483,
|
|
|
|
|
485, 486, 487, 484, 486, 485, 488, 490, 489, 491,
|
|
|
|
|
496, 493, 490, 482, 491, 492, 497, 497, 492, 494,
|
|
|
|
|
487, 489, 493, 495, 494, 496, 488, 498, 495, 499,
|
|
|
|
|
500, 501, 502, 504, 505, 501, 503, 508, 509, 511,
|
|
|
|
|
510, 514, 500, 499, 511, 503, 498, 121, 515, 512,
|
|
|
|
|
502, 508, 504, 509, 512, 514, 513, 517, 516, 505,
|
|
|
|
|
|
|
|
|
|
510, 513, 515, 516, 518, 519, 519, 520, 521, 522,
|
|
|
|
|
523, 524, 517, 526, 522, 528, 525, 521, 527, 518,
|
|
|
|
|
525, 529, 530, 532, 533, 520, 531, 534, 526, 523,
|
|
|
|
|
524, 536, 531, 527, 528, 537, 534, 538, 532, 119,
|
|
|
|
|
530, 539, 529, 537, 533, 536, 539, 540, 541, 542,
|
|
|
|
|
543, 540, 540, 544, 544, 543, 547, 538, 542, 545,
|
|
|
|
|
548, 541, 546, 546, 545, 552, 549, 550, 551, 552,
|
|
|
|
|
547, 549, 550, 551, 553, 554, 555, 556, 548, 554,
|
|
|
|
|
557, 558, 561, 553, 560, 559, 562, 117, 553, 567,
|
|
|
|
|
553, 555, 553, 559, 557, 556, 563, 563, 564, 564,
|
|
|
|
|
|
|
|
|
|
558, 565, 560, 566, 566, 562, 565, 561, 568, 567,
|
|
|
|
|
569, 570, 571, 572, 574, 569, 568, 575, 571, 574,
|
|
|
|
|
572, 576, 575, 577, 578, 579, 576, 580, 577, 570,
|
|
|
|
|
581, 581, 582, 578, 583, 584, 585, 587, 580, 586,
|
|
|
|
|
584, 588, 588, 589, 579, 590, 591, 595, 592, 594,
|
|
|
|
|
596, 115, 582, 594, 594, 587, 585, 583, 598, 586,
|
|
|
|
|
597, 600, 599, 589, 591, 597, 599, 601, 596, 602,
|
|
|
|
|
590, 592, 603, 595, 605, 604, 606, 603, 598, 605,
|
|
|
|
|
600, 601, 604, 607, 608, 609, 610, 616, 602, 617,
|
|
|
|
|
611, 610, 607, 612, 606, 611, 613, 613, 612, 608,
|
|
|
|
|
|
|
|
|
|
615, 616, 619, 619, 620, 615, 609, 618, 617, 621,
|
|
|
|
|
623, 618, 618, 622, 624, 621, 625, 626, 622, 628,
|
|
|
|
|
627, 74, 629, 620, 630, 630, 631, 636, 632, 623,
|
|
|
|
|
631, 634, 636, 624, 627, 625, 626, 629, 633, 637,
|
|
|
|
|
628, 632, 635, 635, 638, 639, 645, 633, 646, 638,
|
|
|
|
|
639, 634, 642, 642, 644, 647, 648, 644, 650, 637,
|
|
|
|
|
647, 645, 649, 649, 651, 651, 652, 655, 653, 658,
|
|
|
|
|
654, 648, 656, 646, 654, 659, 661, 656, 650, 653,
|
|
|
|
|
660, 660, 662, 663, 667, 672, 655, 658, 652, 659,
|
|
|
|
|
664, 668, 664, 665, 666, 669, 661, 673, 665, 666,
|
|
|
|
|
|
|
|
|
|
673, 669, 662, 663, 667, 668, 671, 674, 674, 675,
|
|
|
|
|
672, 671, 676, 677, 678, 679, 679, 680, 677, 678,
|
|
|
|
|
681, 682, 680, 683, 685, 684, 686, 675, 687, 688,
|
|
|
|
|
689, 686, 676, 691, 72, 690, 693, 685, 681, 684,
|
|
|
|
|
691, 682, 696, 683, 692, 696, 697, 698, 687, 688,
|
|
|
|
|
690, 689, 693, 692, 700, 697, 692, 701, 699, 702,
|
|
|
|
|
702, 703, 701, 700, 704, 705, 698, 699, 706, 707,
|
|
|
|
|
699, 708, 708, 709, 710, 712, 718, 704, 717, 713,
|
|
|
|
|
712, 703, 706, 705, 713, 714, 717, 707, 719, 709,
|
|
|
|
|
715, 714, 710, 715, 718, 720, 721, 723, 724, 715,
|
|
|
|
|
|
|
|
|
|
725, 726, 724, 727, 728, 725, 726, 719, 727, 729,
|
|
|
|
|
730, 720, 732, 728, 721, 731, 731, 723, 733, 734,
|
|
|
|
|
737, 736, 735, 738, 744, 730, 732, 735, 752, 738,
|
|
|
|
|
733, 734, 729, 736, 739, 739, 740, 740, 737, 741,
|
|
|
|
|
742, 742, 743, 745, 754, 744, 752, 743, 741, 746,
|
|
|
|
|
746, 747, 747, 748, 748, 749, 751, 753, 749, 755,
|
|
|
|
|
755, 751, 753, 745, 757, 756, 758, 759, 760, 754,
|
|
|
|
|
756, 761, 762, 762, 763, 765, 757, 767, 757, 764,
|
|
|
|
|
764, 766, 768, 757, 767, 769, 758, 759, 760, 771,
|
|
|
|
|
766, 768, 761, 770, 770, 765, 772, 774, 775, 776,
|
|
|
|
|
|
|
|
|
|
763, 777, 774, 775, 778, 779, 780, 781, 777, 778,
|
|
|
|
|
782, 769, 772, 785, 779, 771, 784, 783, 786, 776,
|
|
|
|
|
793, 795, 781, 783, 793, 784, 780, 790, 787, 782,
|
|
|
|
|
70, 788, 786, 787, 785, 788, 788, 789, 791, 790,
|
|
|
|
|
792, 794, 789, 791, 796, 797, 795, 799, 801, 796,
|
|
|
|
|
798, 801, 792, 794, 813, 798, 802, 802, 804, 799,
|
|
|
|
|
803, 803, 810, 805, 804, 806, 807, 797, 805, 812,
|
|
|
|
|
812, 806, 813, 814, 810, 807, 819, 824, 818, 820,
|
|
|
|
|
820, 812, 814, 818, 821, 826, 821, 822, 822, 825,
|
|
|
|
|
825, 827, 828, 819, 830, 829, 831, 824, 838, 834,
|
|
|
|
|
|
|
|
|
|
833, 834, 835, 827, 828, 833, 826, 829, 836, 830,
|
|
|
|
|
837, 837, 840, 839, 840, 843, 831, 836, 839, 844,
|
|
|
|
|
835, 841, 842, 845, 838, 846, 841, 842, 845, 847,
|
|
|
|
|
846, 848, 850, 843, 849, 849, 855, 851, 852, 844,
|
|
|
|
|
853, 854, 856, 860, 850, 848, 851, 852, 847, 851,
|
|
|
|
|
865, 857, 853, 859, 854, 861, 855, 857, 856, 859,
|
|
|
|
|
862, 862, 863, 866, 861, 864, 864, 866, 860, 865,
|
|
|
|
|
867, 863, 868, 869, 869, 867, 870, 873, 874, 874,
|
|
|
|
|
875, 875, 876, 877, 870, 868, 873, 878, 877, 879,
|
|
|
|
|
880, 878, 881, 882, 876, 880, 883, 884, 885, 887,
|
|
|
|
|
|
|
|
|
|
888, 889, 887, 896, 879, 890, 890, 891, 891, 884,
|
|
|
|
|
893, 881, 882, 888, 889, 892, 892, 883, 902, 885,
|
|
|
|
|
894, 894, 896, 893, 895, 895, 897, 897, 898, 898,
|
|
|
|
|
900, 901, 901, 903, 903, 900, 904, 902, 905, 906,
|
|
|
|
|
907, 907, 906, 909, 905, 908, 908, 910, 910, 912,
|
|
|
|
|
912, 913, 914, 914, 904, 915, 907, 917, 916, 918,
|
|
|
|
|
919, 920, 909, 916, 918, 921, 922, 915, 923, 925,
|
|
|
|
|
920, 922, 923, 927, 921, 919, 929, 913, 917, 928,
|
|
|
|
|
928, 929, 927, 930, 930, 932, 933, 935, 936, 925,
|
|
|
|
|
935, 941, 930, 936, 937, 937, 939, 938, 933, 939,
|
|
|
|
|
|
|
|
|
|
932, 938, 940, 940, 942, 943, 946, 944, 945, 948,
|
|
|
|
|
943, 941, 944, 947, 945, 952, 952, 948, 947, 949,
|
|
|
|
|
965, 949, 946, 964, 942, 955, 955, 958, 958, 960,
|
|
|
|
|
960, 962, 963, 963, 976, 966, 962, 968, 968, 964,
|
|
|
|
|
966, 971, 965, 972, 973, 972, 971, 974, 974, 973,
|
|
|
|
|
975, 977, 976, 978, 979, 980, 981, 981, 982, 983,
|
|
|
|
|
984, 985, 975, 977, 986, 978, 979, 982, 987, 988,
|
|
|
|
|
67, 989, 990, 993, 985, 980, 989, 990, 991, 991,
|
|
|
|
|
984, 996, 987, 994, 994, 983, 997, 988, 986, 998,
|
|
|
|
|
996, 993, 999, 1000, 1001, 1001, 1002, 1004, 1003, 1005,
|
|
|
|
|
|
|
|
|
|
1009, 1002, 1010, 1012, 997, 1010, 1013, 998, 999, 1011,
|
|
|
|
|
1011, 1016, 1000, 1003, 1015, 1015, 1004, 1020, 1012, 1005,
|
|
|
|
|
1009, 1017, 1017, 1021, 1013, 1019, 1019, 1024, 1022, 1023,
|
|
|
|
|
1016, 1026, 1021, 1022, 1023, 1024, 1027, 1028, 1029, 1020,
|
|
|
|
|
1032, 1027, 1028, 1030, 1030, 1032, 1026, 1031, 1031, 1033,
|
|
|
|
|
1033, 1034, 1034, 1029, 1036, 1037, 1039, 1038, 1044, 1036,
|
|
|
|
|
1038, 1040, 1041, 1041, 1042, 1039, 1045, 1037, 1046, 1046,
|
|
|
|
|
1040, 1047, 1056, 1042, 1048, 1051, 1049, 1044, 1052, 61,
|
|
|
|
|
1047, 1049, 1048, 1061, 1051, 1045, 1054, 1054, 1057, 1057,
|
|
|
|
|
1058, 1052, 1056, 1058, 1059, 1059, 1060, 1060, 1062, 1063,
|
|
|
|
|
|
|
|
|
|
1068, 1061, 1064, 1064, 1063, 1065, 1068, 1071, 1072, 1065,
|
|
|
|
|
1073, 1074, 1062, 1075, 1076, 1077, 1072, 1079, 1075, 1078,
|
|
|
|
|
1081, 1082, 1089, 1081, 1083, 1083, 1071, 1074, 1078, 1073,
|
|
|
|
|
56, 1084, 1088, 1085, 1076, 1084, 1087, 1079, 1092, 1082,
|
|
|
|
|
1105, 1077, 1085, 1092, 1088, 1087, 1094, 1089, 1093, 1093,
|
|
|
|
|
1097, 1096, 1098, 1099, 1101, 1094, 1096, 1100, 1100, 1097,
|
|
|
|
|
1102, 1103, 1104, 1106, 1107, 1107, 1105, 1104, 1099, 1103,
|
|
|
|
|
1101, 1098, 1108, 1110, 1110, 1111, 1112, 1108, 1115, 1102,
|
|
|
|
|
1113, 1113, 1106, 1114, 1114, 1117, 1136, 1116, 1118, 1118,
|
|
|
|
|
1119, 1120, 1120, 1121, 1136, 1111, 1123, 1115, 1112, 1116,
|
|
|
|
|
|
|
|
|
|
51, 1123, 1119, 1124, 1124, 1117, 1125, 1125, 1126, 1126,
|
|
|
|
|
1127, 1142, 1121, 1128, 1128, 1127, 1130, 1130, 1132, 1132,
|
|
|
|
|
1133, 1137, 1137, 1138, 1140, 1133, 1143, 1152, 1138, 1140,
|
|
|
|
|
1143, 1142, 1147, 1147, 1149, 1151, 1151, 1154, 1149, 1155,
|
|
|
|
|
1155, 1161, 1152, 1156, 1156, 1157, 1157, 1159, 1159, 1162,
|
|
|
|
|
1162, 1168, 1167, 1161, 1170, 1154, 1167, 1169, 1169, 1172,
|
|
|
|
|
1174, 1173, 50, 1170, 1175, 1175, 45, 40, 14, 13,
|
|
|
|
|
0, 1168, 0, 0, 1172, 1173, 0, 0, 0, 1174,
|
|
|
|
|
1178, 1178, 1178, 1178, 1178, 1178, 1179, 1179, 1179, 1179,
|
|
|
|
|
1179, 1179, 1180, 1180, 1180, 1180, 1180, 1180, 1181, 1181,
|
|
|
|
|
|
|
|
|
|
1181, 1181, 1181, 1181, 1182, 1182, 1182, 1182, 1182, 1182,
|
|
|
|
|
1184, 1184, 1184, 1184, 1184, 1184, 1185, 1185, 0, 0,
|
|
|
|
|
1185, 1185, 1186, 1186, 0, 1186, 0, 1186, 1187, 0,
|
|
|
|
|
0, 0, 0, 1187, 1188, 1188, 0, 0, 1188, 1188,
|
|
|
|
|
1189, 0, 0, 0, 0, 1189, 1190, 1190, 1190, 1190,
|
|
|
|
|
1190, 1190, 1191, 1191, 1191, 1191, 1191, 1191, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177,
|
|
|
|
|
1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
static yy_state_type yy_last_accepting_state;
|
|
|
|
|
static char *yy_last_accepting_cpos;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
extern int yy_flex_debug;
|
|
|
|
|
int yy_flex_debug = 0;
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* The intent behind this definition is that it'll catch
|
|
|
|
|
* any uses of REJECT which flex missed.
|
|
|
|
|
*/
|
|
|
|
|
#define REJECT reject_used_but_not_detected
|
|
|
|
|
static int yy_more_flag = 0;
|
|
|
|
|
static int yy_more_len = 0;
|
2008-06-09 05:34:40 -04:00
|
|
|
#define yymore() ((yy_more_flag) = 1)
|
|
|
|
|
#define YY_MORE_ADJ (yy_more_len)
|
2007-10-18 18:49:08 -04:00
|
|
|
#define YY_RESTORE_YY_MORE_OFFSET
|
|
|
|
|
char *yytext;
|
|
|
|
|
#line 1 "util/configlexer.lex"
|
|
|
|
|
#line 2 "util/configlexer.lex"
|
|
|
|
|
/*
|
|
|
|
|
* configlexer.lex - lexical analyzer for unbound config file
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2001-2006, NLnet Labs. All rights reserved
|
|
|
|
|
*
|
|
|
|
|
* See LICENSE for the license.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#include <string.h>
|
|
|
|
|
#include <strings.h>
|
|
|
|
|
|
|
|
|
|
#include "util/configyyrename.h"
|
|
|
|
|
#include "util/config_file.h"
|
|
|
|
|
#include "util/configparser.h"
|
|
|
|
|
void ub_c_error(const char *message);
|
|
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
#define LEXOUT(s) printf s /* used ONLY when debugging */
|
|
|
|
|
#else
|
|
|
|
|
#define LEXOUT(s)
|
|
|
|
|
#endif
|
|
|
|
|
|
2009-04-17 08:14:43 -04:00
|
|
|
/** avoid warning in about fwrite return value */
|
|
|
|
|
#define ECHO ub_c_error_msg("syntax error at text: %s", yytext)
|
|
|
|
|
|
2009-02-06 05:19:16 -05:00
|
|
|
/** A parser variable, this is a statement in the config file which is
|
|
|
|
|
* of the form variable: value1 value2 ... nargs is the number of values. */
|
|
|
|
|
#define YDVAR(nargs, var) \
|
|
|
|
|
num_args=(nargs); \
|
|
|
|
|
LEXOUT(("v(%s%d) ", yytext, num_args)); \
|
|
|
|
|
if(num_args > 0) { BEGIN(val); } \
|
|
|
|
|
return (var);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
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;
|
2009-02-06 05:19:16 -05:00
|
|
|
static int inc_prev = 0;
|
|
|
|
|
static int num_args = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|
2009-01-06 10:47:15 -05:00
|
|
|
if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
|
|
|
|
|
strlen(cfg_parser->chroot)) == 0) {
|
|
|
|
|
filename += strlen(cfg_parser->chroot);
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
input = fopen(filename, "r");
|
|
|
|
|
if(!input) {
|
|
|
|
|
ub_c_error_msg("cannot open include file '%s': %s",
|
|
|
|
|
filename, strerror(errno));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
LEXOUT(("switch_to_include_file(%s) ", filename));
|
|
|
|
|
parse_stack[config_include_stack_ptr].filename = cfg_parser->filename;
|
|
|
|
|
parse_stack[config_include_stack_ptr].line = cfg_parser->line;
|
|
|
|
|
include_stack[config_include_stack_ptr] = YY_CURRENT_BUFFER;
|
|
|
|
|
cfg_parser->filename = strdup(filename);
|
|
|
|
|
cfg_parser->line = 1;
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE));
|
2007-10-18 18:49:08 -04:00
|
|
|
++config_include_stack_ptr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void config_end_include(void)
|
|
|
|
|
{
|
|
|
|
|
--config_include_stack_ptr;
|
|
|
|
|
free(cfg_parser->filename);
|
|
|
|
|
cfg_parser->filename = parse_stack[config_include_stack_ptr].filename;
|
|
|
|
|
cfg_parser->line = parse_stack[config_include_stack_ptr].line;
|
|
|
|
|
yy_delete_buffer(YY_CURRENT_BUFFER);
|
|
|
|
|
yy_switch_to_buffer(include_stack[config_include_stack_ptr]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifndef yy_set_bol /* compat definition, for flex 2.4.6 */
|
|
|
|
|
#define yy_set_bol(at_bol) \
|
|
|
|
|
{ \
|
|
|
|
|
if ( ! yy_current_buffer ) \
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-05-22 06:41:13 -04:00
|
|
|
#define YY_NO_INPUT 1
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 103 "util/configlexer.lex"
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_NO_UNPUT
|
2008-06-09 05:29:44 -04:00
|
|
|
#define YY_NO_UNPUT 1
|
2008-06-09 05:34:40 -04:00
|
|
|
#endif
|
|
|
|
|
#ifndef YY_NO_INPUT
|
|
|
|
|
#define YY_NO_INPUT 1
|
|
|
|
|
#endif
|
|
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 1478 "<stdout>"
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
#define INITIAL 0
|
2007-10-18 18:49:08 -04:00
|
|
|
#define quotedstring 1
|
2007-11-28 03:10:45 -05:00
|
|
|
#define singlequotedstr 2
|
|
|
|
|
#define include 3
|
|
|
|
|
#define include_quoted 4
|
2009-02-06 05:19:16 -05:00
|
|
|
#define val 5
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_NO_UNISTD_H
|
|
|
|
|
/* Special case for "unistd.h", since it is non-ANSI. We include it way
|
|
|
|
|
* down here because we want the user's section 1 to have been scanned first.
|
|
|
|
|
* The user has a chance to override it with an option.
|
|
|
|
|
*/
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef YY_EXTRA_TYPE
|
|
|
|
|
#define YY_EXTRA_TYPE void *
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
static int yy_init_globals (void );
|
|
|
|
|
|
2009-03-24 08:53:25 -04:00
|
|
|
/* Accessor methods to globals.
|
|
|
|
|
These are made visible to non-reentrant scanners for convenience. */
|
|
|
|
|
|
|
|
|
|
int yylex_destroy (void );
|
|
|
|
|
|
|
|
|
|
int yyget_debug (void );
|
|
|
|
|
|
|
|
|
|
void yyset_debug (int debug_flag );
|
|
|
|
|
|
|
|
|
|
YY_EXTRA_TYPE yyget_extra (void );
|
|
|
|
|
|
|
|
|
|
void yyset_extra (YY_EXTRA_TYPE user_defined );
|
|
|
|
|
|
|
|
|
|
FILE *yyget_in (void );
|
|
|
|
|
|
|
|
|
|
void yyset_in (FILE * in_str );
|
|
|
|
|
|
|
|
|
|
FILE *yyget_out (void );
|
|
|
|
|
|
|
|
|
|
void yyset_out (FILE * out_str );
|
|
|
|
|
|
|
|
|
|
int yyget_leng (void );
|
|
|
|
|
|
|
|
|
|
char *yyget_text (void );
|
|
|
|
|
|
|
|
|
|
int yyget_lineno (void );
|
|
|
|
|
|
|
|
|
|
void yyset_lineno (int line_number );
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Macros after this point can all be overridden by user definitions in
|
|
|
|
|
* section 1.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef YY_SKIP_YYWRAP
|
|
|
|
|
#ifdef __cplusplus
|
2008-06-09 05:34:40 -04:00
|
|
|
extern "C" int yywrap (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
extern int yywrap (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef yytext_ptr
|
2008-06-09 05:34:40 -04:00
|
|
|
static void yy_flex_strncpy (char *,yyconst char *,int );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YY_NEED_STRLEN
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_flex_strlen (yyconst char * );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef YY_NO_INPUT
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
static int yyinput (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
static int input (void );
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Amount of stuff to slurp up with each read. */
|
|
|
|
|
#ifndef YY_READ_BUF_SIZE
|
|
|
|
|
#define YY_READ_BUF_SIZE 8192
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Copy whatever the last rule matched to the standard output. */
|
|
|
|
|
#ifndef ECHO
|
|
|
|
|
/* This used to be an fputs(), but since the string might contain NUL's,
|
|
|
|
|
* we now use fwrite().
|
|
|
|
|
*/
|
2009-03-24 08:53:25 -04:00
|
|
|
#define ECHO fwrite( yytext, yyleng, 1, yyout )
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
|
|
|
|
|
* is returned in "result".
|
|
|
|
|
*/
|
|
|
|
|
#ifndef YY_INPUT
|
|
|
|
|
#define YY_INPUT(buf,result,max_size) \
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
|
2007-10-18 18:49:08 -04:00
|
|
|
{ \
|
2008-06-09 05:34:40 -04:00
|
|
|
int c = '*'; \
|
2009-03-24 08:53:25 -04:00
|
|
|
unsigned n; \
|
2007-10-18 18:49:08 -04:00
|
|
|
for ( n = 0; n < max_size && \
|
|
|
|
|
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
|
|
|
|
|
buf[n] = (char) c; \
|
|
|
|
|
if ( c == '\n' ) \
|
|
|
|
|
buf[n++] = (char) c; \
|
|
|
|
|
if ( c == EOF && ferror( yyin ) ) \
|
|
|
|
|
YY_FATAL_ERROR( "input in flex scanner failed" ); \
|
|
|
|
|
result = n; \
|
|
|
|
|
} \
|
2008-06-09 05:34:40 -04:00
|
|
|
else \
|
|
|
|
|
{ \
|
|
|
|
|
errno=0; \
|
|
|
|
|
while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
|
|
|
|
|
{ \
|
|
|
|
|
if( errno != EINTR) \
|
|
|
|
|
{ \
|
|
|
|
|
YY_FATAL_ERROR( "input in flex scanner failed" ); \
|
|
|
|
|
break; \
|
|
|
|
|
} \
|
|
|
|
|
errno=0; \
|
|
|
|
|
clearerr(yyin); \
|
|
|
|
|
} \
|
|
|
|
|
}\
|
|
|
|
|
\
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* No semi-colon after return; correct usage is to write "yyterminate();" -
|
|
|
|
|
* we don't want an extra ';' after the "return" because that will cause
|
|
|
|
|
* some compilers to complain about unreachable statements.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef yyterminate
|
|
|
|
|
#define yyterminate() return YY_NULL
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Number of entries by which start-condition stack grows. */
|
|
|
|
|
#ifndef YY_START_STACK_INCR
|
|
|
|
|
#define YY_START_STACK_INCR 25
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Report a fatal error. */
|
|
|
|
|
#ifndef YY_FATAL_ERROR
|
|
|
|
|
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* end tables serialization structures and prototypes */
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Default declaration of generated scanner - a define so the user can
|
|
|
|
|
* easily add parameters.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef YY_DECL
|
2008-06-09 05:34:40 -04:00
|
|
|
#define YY_DECL_IS_OURS 1
|
|
|
|
|
|
|
|
|
|
extern int yylex (void);
|
|
|
|
|
|
|
|
|
|
#define YY_DECL int yylex (void)
|
|
|
|
|
#endif /* !YY_DECL */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Code executed at the beginning of each rule, after yytext and yyleng
|
|
|
|
|
* have been set up.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef YY_USER_ACTION
|
|
|
|
|
#define YY_USER_ACTION
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Code executed at the end of each rule. */
|
|
|
|
|
#ifndef YY_BREAK
|
|
|
|
|
#define YY_BREAK break;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define YY_RULE_SETUP \
|
|
|
|
|
YY_USER_ACTION
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** The main scanner function which does all the work.
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_DECL
|
2008-06-09 05:34:40 -04:00
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register yy_state_type yy_current_state;
|
|
|
|
|
register char *yy_cp, *yy_bp;
|
|
|
|
|
register int yy_act;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 123 "util/configlexer.lex"
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 1665 "<stdout>"
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( !(yy_init) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_init) = 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#ifdef YY_USER_INIT
|
|
|
|
|
YY_USER_INIT;
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! (yy_start) )
|
|
|
|
|
(yy_start) = 1; /* first start state */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( ! yyin )
|
|
|
|
|
yyin = stdin;
|
|
|
|
|
|
|
|
|
|
if ( ! yyout )
|
|
|
|
|
yyout = stdout;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! YY_CURRENT_BUFFER ) {
|
|
|
|
|
yyensure_buffer_stack ();
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE =
|
|
|
|
|
yy_create_buffer(yyin,YY_BUF_SIZE );
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_load_buffer_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
while ( 1 ) /* loops until end-of-file is reached */
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_more_len) = 0;
|
|
|
|
|
if ( (yy_more_flag) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
|
|
|
|
|
(yy_more_flag) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Support of yytext. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*yy_cp = (yy_hold_char);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_bp points to the position in yy_ch_buf of the start of
|
|
|
|
|
* the current run.
|
|
|
|
|
*/
|
|
|
|
|
yy_bp = yy_cp;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = (yy_start);
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_match:
|
|
|
|
|
do
|
|
|
|
|
{
|
|
|
|
|
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
|
|
|
|
|
if ( yy_accept[yy_current_state] )
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
|
|
|
(yy_last_accepting_cpos) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
|
|
|
{
|
|
|
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
2009-08-25 04:46:33 -04:00
|
|
|
if ( yy_current_state >= 1178 )
|
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;
|
|
|
|
|
}
|
2009-08-25 04:46:33 -04:00
|
|
|
while ( yy_base[yy_current_state] != 2359 );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
yy_find_action:
|
|
|
|
|
yy_act = yy_accept[yy_current_state];
|
|
|
|
|
if ( yy_act == 0 )
|
|
|
|
|
{ /* have to back up */
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_last_accepting_cpos);
|
|
|
|
|
yy_current_state = (yy_last_accepting_state);
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_act = yy_accept[yy_current_state];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
YY_DO_BEFORE_ACTION;
|
|
|
|
|
|
|
|
|
|
do_action: /* This label is used only to access EOF actions. */
|
|
|
|
|
|
|
|
|
|
switch ( yy_act )
|
|
|
|
|
{ /* beginning of action switch */
|
|
|
|
|
case 0: /* must back up */
|
|
|
|
|
/* undo the effects of YY_DO_BEFORE_ACTION */
|
2008-06-09 05:34:40 -04:00
|
|
|
*yy_cp = (yy_hold_char);
|
|
|
|
|
yy_cp = (yy_last_accepting_cpos);
|
|
|
|
|
yy_current_state = (yy_last_accepting_state);
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_find_action;
|
|
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 124 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{
|
|
|
|
|
LEXOUT(("SP ")); /* ignore */ }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 2:
|
2009-02-06 05:19:16 -05:00
|
|
|
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
|
|
|
|
(yy_c_buf_p) = yy_cp -= 1;
|
|
|
|
|
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 126 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{
|
|
|
|
|
LEXOUT(("comment(%s) ", yytext)); /* ignore */ }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 3:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 128 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(0, VAR_SERVER) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 4:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 129 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_NUM_THREADS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 5:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 130 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_VERBOSITY) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 6:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 131 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_PORT) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 7:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 132 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_OUTGOING_RANGE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 8:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 133 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 9:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 134 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 10:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 135 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_OUTGOING_NUM_TCP) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 11:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 136 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_INCOMING_NUM_TCP) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 12:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 137 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_DO_IP4) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 13:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 138 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_DO_IP6) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 14:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 139 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_DO_UDP) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 15:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 140 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_DO_TCP) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 16:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 141 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_DO_DAEMONIZE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 17:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 142 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_INTERFACE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 18:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 143 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_OUTGOING_INTERFACE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 19:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 144 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 20:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 145 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_CHROOT) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 21:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 146 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_USERNAME) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 22:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 147 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_DIRECTORY) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 23:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 148 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_LOGFILE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 24:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 149 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_PIDFILE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 25:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 150 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_ROOT_HINTS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 26:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 151 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_MSG_BUFFER_SIZE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 27:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 152 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_MSG_CACHE_SIZE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 28:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 153 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_MSG_CACHE_SLABS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 29:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 154 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_RRSET_CACHE_SIZE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 30:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 155 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_RRSET_CACHE_SLABS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 31:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 156 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ YDVAR(1, VAR_CACHE_MAX_TTL) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 32:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 157 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_CACHE_MIN_TTL) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 33:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 158 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_INFRA_HOST_TTL) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 34:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 159 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_INFRA_LAME_TTL) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 35:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 160 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_INFRA_CACHE_SLABS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 36:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 161 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 37:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 162 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 38:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 163 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 39:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 164 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_JOSTLE_TIMEOUT) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 40:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 165 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_TARGET_FETCH_POLICY) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 41:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 166 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 42:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 167 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 43:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 168 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_HARDEN_GLUE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 44:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 169 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_HARDEN_DNNSEC_STRIPPED) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 45:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 170 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 46:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 171 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_USE_CAPS_FOR_ID) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 47:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 172 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 48:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 173 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_PRIVATE_ADDRESS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 49:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 174 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_PRIVATE_DOMAIN) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 50:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 175 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(0, VAR_STUB_ZONE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 51:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 176 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_NAME) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 52:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 177 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_STUB_ADDR) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 53:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 178 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_STUB_HOST) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 54:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 179 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_STUB_PRIME) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 55:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 180 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(0, VAR_FORWARD_ZONE) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 56:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 181 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_FORWARD_ADDR) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 57:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 182 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_FORWARD_HOST) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 58:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 183 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 59:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 184 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 60:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 185 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(2, VAR_ACCESS_CONTROL) }
|
2007-10-19 04:32:36 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 61:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 186 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_HIDE_IDENTITY) }
|
2007-10-19 10:02:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 62:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 187 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_HIDE_VERSION) }
|
2007-10-22 02:25:46 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 63:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 188 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_IDENTITY) }
|
2007-10-31 03:46:30 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 64:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 189 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_VERSION) }
|
2007-11-01 11:32:27 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 65:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 190 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_MODULE_CONF) }
|
2007-11-19 10:32:55 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 66:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 191 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_DLV_ANCHOR) }
|
2007-11-20 09:48:33 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 67:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 192 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_DLV_ANCHOR_FILE) }
|
2007-11-20 09:48:33 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 68:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 193 "util/configlexer.lex"
|
2009-04-14 06:10:11 -04:00
|
|
|
{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) }
|
2008-01-15 04:45:30 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 69:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 194 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) }
|
2008-02-05 05:23:44 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 70:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 195 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) }
|
2008-02-20 02:26:03 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 71:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 196 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_TRUST_ANCHOR) }
|
2008-02-27 04:39:27 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 72:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 197 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) }
|
2008-04-09 08:29:53 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 73:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 198 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) }
|
2008-04-09 11:07:37 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 74:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 199 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
|
2008-08-13 10:30:35 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 75:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 200 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_BOGUS_TTL) }
|
2008-08-21 10:58:39 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 76:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 201 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) }
|
2008-08-27 09:02:22 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 77:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 202 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) }
|
2008-08-29 10:46:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 78:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 203 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_VAL_LOG_LEVEL) }
|
2008-09-03 10:40:09 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 79:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 204 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_KEY_CACHE_SIZE) }
|
2008-09-03 10:40:09 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 80:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 205 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_KEY_CACHE_SLABS) }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
2008-09-03 10:40:09 -04:00
|
|
|
case 81:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2009-07-20 10:22:29 -04:00
|
|
|
#line 206 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ YDVAR(1, VAR_NEG_CACHE_SIZE) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 82:
|
|
|
|
|
YY_RULE_SETUP
|
2009-08-12 11:26:47 -04:00
|
|
|
#line 207 "util/configlexer.lex"
|
|
|
|
|
{
|
|
|
|
|
YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 83:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 209 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_ADD_HOLDDOWN) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 84:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 210 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_DEL_HOLDDOWN) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 85:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 211 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_KEEP_MISSING) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 86:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 212 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_USE_SYSLOG) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 87:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 213 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_LOG_TIME_ASCII) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 88:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 214 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(2, VAR_LOCAL_ZONE) }
|
2008-09-16 05:08:45 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 89:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 215 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_LOCAL_DATA) }
|
2008-09-30 11:04:32 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 90:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 216 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_LOCAL_DATA_PTR) }
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 91:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 217 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_STATISTICS_INTERVAL) }
|
2008-10-22 08:01:40 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 92:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 218 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) }
|
2008-10-22 10:36:46 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 93:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 219 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_EXTENDED_STATISTICS) }
|
2009-02-06 07:51:45 -05:00
|
|
|
YY_BREAK
|
|
|
|
|
case 94:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 220 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(0, VAR_REMOTE_CONTROL) }
|
2009-03-18 10:02:46 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 95:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 221 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_CONTROL_ENABLE) }
|
2009-03-25 10:47:47 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 96:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 222 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_CONTROL_INTERFACE) }
|
2009-03-25 10:47:47 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 97:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 223 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_CONTROL_PORT) }
|
2009-04-06 10:09:33 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 98:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 224 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_SERVER_KEY_FILE) }
|
2009-04-06 10:09:33 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 99:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 225 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_SERVER_CERT_FILE) }
|
2009-04-14 06:10:11 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 100:
|
|
|
|
|
YY_RULE_SETUP
|
2009-04-17 08:14:43 -04:00
|
|
|
#line 226 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_CONTROL_KEY_FILE) }
|
2009-07-20 10:22:29 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 101:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 227 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_CONTROL_CERT_FILE) }
|
2009-08-12 11:26:47 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case 102:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 228 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ YDVAR(1, VAR_PYTHON_SCRIPT) }
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_BREAK
|
2009-08-12 11:26:47 -04:00
|
|
|
case 103:
|
2008-09-10 11:23:01 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 229 "util/configlexer.lex"
|
|
|
|
|
{ YDVAR(0, VAR_PYTHON) }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 104:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 230 "util/configlexer.lex"
|
|
|
|
|
{ YDVAR(1, VAR_DOMAIN_INSECURE) }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case 105:
|
|
|
|
|
/* rule 105 can match eol */
|
|
|
|
|
YY_RULE_SETUP
|
2009-08-12 11:26:47 -04:00
|
|
|
#line 231 "util/configlexer.lex"
|
2009-08-25 04:46:33 -04:00
|
|
|
{ LEXOUT(("NL\n")); cfg_parser->line++; }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
/* Quoted strings. Strip leading and ending quotes */
|
|
|
|
|
case 106:
|
|
|
|
|
YY_RULE_SETUP
|
|
|
|
|
#line 234 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ BEGIN(quotedstring); LEXOUT(("QS ")); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(quotedstring):
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 235 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
2009-02-06 05:19:16 -05:00
|
|
|
if(--num_args == 0) { BEGIN(INITIAL); }
|
2009-02-06 05:45:40 -05:00
|
|
|
else { BEGIN(val); }
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 107:
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 240 "util/configlexer.lex"
|
2008-10-22 10:36:46 -04:00
|
|
|
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
|
2008-10-22 08:01:40 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 108:
|
|
|
|
|
/* rule 108 can match eol */
|
2008-10-22 08:01:40 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 241 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ yyerror("newline inside quoted string, no end \"");
|
|
|
|
|
cfg_parser->line++; BEGIN(INITIAL); }
|
2008-10-22 10:36:46 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 109:
|
2008-10-22 10:36:46 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 243 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
LEXOUT(("QE "));
|
2009-02-06 05:19:16 -05:00
|
|
|
if(--num_args == 0) { BEGIN(INITIAL); }
|
2009-02-06 05:45:40 -05:00
|
|
|
else { BEGIN(val); }
|
2007-10-18 18:49:08 -04:00
|
|
|
yytext[yyleng - 1] = '\0';
|
|
|
|
|
yylval.str = strdup(yytext);
|
|
|
|
|
if(!yylval.str)
|
|
|
|
|
yyerror("out of memory");
|
2009-04-09 11:23:14 -04:00
|
|
|
return STRING_ARG;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2007-11-28 03:10:45 -05:00
|
|
|
/* Single Quoted strings. Strip leading and ending quotes */
|
2009-08-25 04:46:33 -04:00
|
|
|
case 110:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 255 "util/configlexer.lex"
|
2007-11-28 03:10:45 -05:00
|
|
|
{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); }
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(singlequotedstr):
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 256 "util/configlexer.lex"
|
2007-11-28 03:10:45 -05:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
2009-02-06 05:19:16 -05:00
|
|
|
if(--num_args == 0) { BEGIN(INITIAL); }
|
2009-02-06 05:45:40 -05:00
|
|
|
else { BEGIN(val); }
|
2007-11-28 03:10:45 -05:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 111:
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 261 "util/configlexer.lex"
|
2008-10-22 10:36:46 -04:00
|
|
|
{ LEXOUT(("STR(%s) ", yytext)); yymore(); }
|
2008-10-22 08:01:40 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 112:
|
|
|
|
|
/* rule 112 can match eol */
|
2008-10-22 08:01:40 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 262 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ yyerror("newline inside quoted string, no end '");
|
|
|
|
|
cfg_parser->line++; BEGIN(INITIAL); }
|
2008-10-22 10:36:46 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 113:
|
2008-10-22 10:36:46 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 264 "util/configlexer.lex"
|
2007-11-28 03:10:45 -05:00
|
|
|
{
|
|
|
|
|
LEXOUT(("SQE "));
|
2009-02-06 05:19:16 -05:00
|
|
|
if(--num_args == 0) { BEGIN(INITIAL); }
|
2009-02-06 05:45:40 -05:00
|
|
|
else { BEGIN(val); }
|
2007-11-28 03:10:45 -05:00
|
|
|
yytext[yyleng - 1] = '\0';
|
|
|
|
|
yylval.str = strdup(yytext);
|
|
|
|
|
if(!yylval.str)
|
|
|
|
|
yyerror("out of memory");
|
2009-04-09 11:23:14 -04:00
|
|
|
return STRING_ARG;
|
2007-11-28 03:10:45 -05:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
/* include: directive */
|
2009-08-25 04:46:33 -04:00
|
|
|
case 114:
|
2007-11-28 03:10:45 -05:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 276 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{
|
|
|
|
|
LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(include):
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 278 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside include directive");
|
2009-02-06 05:19:16 -05:00
|
|
|
BEGIN(inc_prev);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 115:
|
2009-03-18 10:02:46 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 282 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ LEXOUT(("ISP ")); /* ignore */ }
|
2009-04-14 06:10:11 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 116:
|
|
|
|
|
/* rule 116 can match eol */
|
2009-04-14 06:10:11 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 283 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ LEXOUT(("NL\n")); cfg_parser->line++;}
|
2009-07-20 10:22:29 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 117:
|
2009-07-20 10:22:29 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 284 "util/configlexer.lex"
|
2009-08-12 11:26:47 -04:00
|
|
|
{ LEXOUT(("IQS ")); BEGIN(include_quoted); }
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 118:
|
2009-08-12 11:26:47 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 285 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
LEXOUT(("Iunquotedstr(%s) ", yytext));
|
|
|
|
|
config_start_include(yytext);
|
2009-02-06 05:19:16 -05:00
|
|
|
BEGIN(inc_prev);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(include_quoted):
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 290 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
yyerror("EOF inside quoted string");
|
2009-02-06 05:19:16 -05:00
|
|
|
BEGIN(inc_prev);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 119:
|
2008-10-06 05:28:50 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 294 "util/configlexer.lex"
|
2008-10-22 10:36:46 -04:00
|
|
|
{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); }
|
2008-10-22 08:01:40 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 120:
|
|
|
|
|
/* rule 120 can match eol */
|
2008-10-22 08:01:40 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 295 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{ yyerror("newline before \" in include name");
|
|
|
|
|
cfg_parser->line++; BEGIN(inc_prev); }
|
2008-10-22 10:36:46 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 121:
|
2008-10-22 10:36:46 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 297 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
LEXOUT(("IQE "));
|
|
|
|
|
yytext[yyleng - 1] = '\0';
|
|
|
|
|
config_start_include(yytext);
|
2009-02-06 05:19:16 -05:00
|
|
|
BEGIN(inc_prev);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
YY_BREAK
|
|
|
|
|
case YY_STATE_EOF(INITIAL):
|
2009-02-06 05:19:16 -05:00
|
|
|
case YY_STATE_EOF(val):
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 303 "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
|
2009-08-25 04:46:33 -04:00
|
|
|
case 122:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 313 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
{ LEXOUT(("unquotedstr(%s) ", yytext));
|
2009-02-06 05:19:16 -05:00
|
|
|
if(--num_args == 0) { BEGIN(INITIAL); }
|
2009-04-09 11:23:14 -04:00
|
|
|
yylval.str = strdup(yytext); return STRING_ARG; }
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 123:
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 317 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{
|
|
|
|
|
ub_c_error_msg("unknown keyword '%s'", yytext);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 124:
|
2009-02-06 05:19:16 -05:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 321 "util/configlexer.lex"
|
2009-02-06 05:19:16 -05:00
|
|
|
{
|
|
|
|
|
ub_c_error_msg("stray '%s'", yytext);
|
|
|
|
|
}
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
case 125:
|
2009-02-06 05:19:16 -05:00
|
|
|
YY_RULE_SETUP
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 325 "util/configlexer.lex"
|
2007-10-18 18:49:08 -04:00
|
|
|
ECHO;
|
|
|
|
|
YY_BREAK
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 2473 "<stdout>"
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
case YY_END_OF_BUFFER:
|
|
|
|
|
{
|
|
|
|
|
/* Amount of text matched not including the EOB char. */
|
2008-06-09 05:34:40 -04:00
|
|
|
int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Undo the effects of YY_DO_BEFORE_ACTION. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*yy_cp = (yy_hold_char);
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_RESTORE_YY_MORE_OFFSET
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* We're scanning a new file or input source. It's
|
|
|
|
|
* possible that this happened because the user
|
|
|
|
|
* just pointed yyin at a new source and called
|
|
|
|
|
* yylex(). If so, then we have to assure
|
2008-06-09 05:34:40 -04:00
|
|
|
* consistency between YY_CURRENT_BUFFER and our
|
2007-10-18 18:49:08 -04:00
|
|
|
* globals. Here is the right place to do so, because
|
|
|
|
|
* this is the first action (other than possibly a
|
|
|
|
|
* back-up) that will match for the new input source.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Note that here we test for yy_c_buf_p "<=" to the position
|
|
|
|
|
* of the first EOB in the buffer, since yy_c_buf_p will
|
|
|
|
|
* already have been incremented past the NUL character
|
|
|
|
|
* (since all states make transitions on EOB to the
|
|
|
|
|
* end-of-buffer state). Contrast this with the test
|
|
|
|
|
* in input().
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
|
2007-10-18 18:49:08 -04:00
|
|
|
{ /* This was really a NUL. */
|
|
|
|
|
yy_state_type yy_next_state;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* Okay, we're now positioned to make the NUL
|
|
|
|
|
* transition. We couldn't have
|
|
|
|
|
* yy_get_previous_state() go ahead and do it
|
|
|
|
|
* for us because it doesn't know how to deal
|
|
|
|
|
* with the possibility of jamming (and we don't
|
|
|
|
|
* want to build jamming into it because then it
|
|
|
|
|
* will run more slowly).
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
yy_next_state = yy_try_NUL_trans( yy_current_state );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( yy_next_state )
|
|
|
|
|
{
|
|
|
|
|
/* Consume the NUL. */
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = ++(yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_current_state = yy_next_state;
|
|
|
|
|
goto yy_match;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_find_action;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
else switch ( yy_get_next_buffer( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
case EOB_ACT_END_OF_FILE:
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_did_buffer_switch_on_eof) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( yywrap( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* Note: because we've taken care in
|
|
|
|
|
* yy_get_next_buffer() to have set up
|
|
|
|
|
* yytext, we can now set up
|
|
|
|
|
* yy_c_buf_p so that if some total
|
|
|
|
|
* hoser (like flex itself) wants to
|
|
|
|
|
* call the scanner after we return the
|
|
|
|
|
* YY_NULL, it'll still work - another
|
|
|
|
|
* YY_NULL will get returned.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
yy_act = YY_STATE_EOF(YY_START);
|
|
|
|
|
goto do_action;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! (yy_did_buffer_switch_on_eof) )
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_NEW_FILE;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
case EOB_ACT_CONTINUE_SCAN:
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) =
|
|
|
|
|
(yytext_ptr) + yy_amount_of_matched_text;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
|
|
|
|
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_match;
|
|
|
|
|
|
|
|
|
|
case EOB_ACT_LAST_MATCH:
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) =
|
|
|
|
|
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_current_state = yy_get_previous_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_cp = (yy_c_buf_p);
|
|
|
|
|
yy_bp = (yytext_ptr) + YY_MORE_ADJ;
|
2007-10-18 18:49:08 -04:00
|
|
|
goto yy_find_action;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
YY_FATAL_ERROR(
|
|
|
|
|
"fatal flex scanner internal error--no action found" );
|
|
|
|
|
} /* end of action switch */
|
|
|
|
|
} /* end of scanning one token */
|
2008-06-09 05:34:40 -04:00
|
|
|
} /* end of yylex */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_get_next_buffer - try to read in a new buffer
|
|
|
|
|
*
|
|
|
|
|
* Returns a code representing an action:
|
|
|
|
|
* EOB_ACT_LAST_MATCH -
|
|
|
|
|
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
|
|
|
|
|
* EOB_ACT_END_OF_FILE - end of file
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_get_next_buffer (void)
|
|
|
|
|
{
|
|
|
|
|
register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
|
|
|
|
|
register char *source = (yytext_ptr);
|
2007-10-18 18:49:08 -04:00
|
|
|
register int number_to_move, i;
|
|
|
|
|
int ret_val;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_FATAL_ERROR(
|
|
|
|
|
"fatal flex scanner internal error--end of buffer missed" );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
|
2007-10-18 18:49:08 -04:00
|
|
|
{ /* Don't try to fill the buffer, so this is an EOF. */
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* We matched a single character, the EOB, so
|
|
|
|
|
* treat this as a final EOF.
|
|
|
|
|
*/
|
|
|
|
|
return EOB_ACT_END_OF_FILE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
/* We matched some text prior to the EOB, first
|
|
|
|
|
* process it.
|
|
|
|
|
*/
|
|
|
|
|
return EOB_ACT_LAST_MATCH;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Try to read more data. */
|
|
|
|
|
|
|
|
|
|
/* First move last chars to start of buffer. */
|
2008-06-09 05:34:40 -04:00
|
|
|
number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
for ( i = 0; i < number_to_move; ++i )
|
|
|
|
|
*(dest++) = *(source++);
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
|
2007-10-18 18:49:08 -04:00
|
|
|
/* don't do the read, it's not guaranteed to return an EOF,
|
|
|
|
|
* just force an EOF
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
int num_to_read =
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
while ( num_to_read <= 0 )
|
|
|
|
|
{ /* Not enough room in the buffer - grow it. */
|
|
|
|
|
|
|
|
|
|
/* just a shorter name for the current buffer */
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
int yy_c_buf_p_offset =
|
2008-06-09 05:34:40 -04:00
|
|
|
(int) ((yy_c_buf_p) - b->yy_ch_buf);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( b->yy_is_our_buffer )
|
|
|
|
|
{
|
|
|
|
|
int new_size = b->yy_buf_size * 2;
|
|
|
|
|
|
|
|
|
|
if ( new_size <= 0 )
|
|
|
|
|
b->yy_buf_size += b->yy_buf_size / 8;
|
|
|
|
|
else
|
|
|
|
|
b->yy_buf_size *= 2;
|
|
|
|
|
|
|
|
|
|
b->yy_ch_buf = (char *)
|
|
|
|
|
/* Include room in for 2 EOB chars. */
|
2008-06-09 05:34:40 -04:00
|
|
|
yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
/* Can't grow it, we don't own it. */
|
|
|
|
|
b->yy_ch_buf = 0;
|
|
|
|
|
|
|
|
|
|
if ( ! b->yy_ch_buf )
|
|
|
|
|
YY_FATAL_ERROR(
|
|
|
|
|
"fatal error - scanner input buffer overflow" );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
|
2007-10-18 18:49:08 -04:00
|
|
|
number_to_move - 1;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( num_to_read > YY_READ_BUF_SIZE )
|
|
|
|
|
num_to_read = YY_READ_BUF_SIZE;
|
|
|
|
|
|
|
|
|
|
/* Read in more data. */
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
|
2009-03-24 08:53:25 -04:00
|
|
|
(yy_n_chars), (size_t) num_to_read );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_n_chars) == 0 )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
if ( number_to_move == YY_MORE_ADJ )
|
|
|
|
|
{
|
|
|
|
|
ret_val = EOB_ACT_END_OF_FILE;
|
2008-06-09 05:34:40 -04:00
|
|
|
yyrestart(yyin );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
ret_val = EOB_ACT_LAST_MATCH;
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BUFFER_EOF_PENDING;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
ret_val = EOB_ACT_CONTINUE_SCAN;
|
|
|
|
|
|
2009-03-24 08:53:25 -04:00
|
|
|
if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
|
|
|
|
|
/* Extend the array by 50%, plus the number we really need. */
|
|
|
|
|
yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
|
|
|
|
|
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
|
|
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -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
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return ret_val;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_get_previous_state - get the state just before the EOB char was reached */
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static yy_state_type yy_get_previous_state (void)
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register yy_state_type yy_current_state;
|
|
|
|
|
register char *yy_cp;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
yy_current_state = (yy_start);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
|
|
|
|
|
if ( yy_accept[yy_current_state] )
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
|
|
|
(yy_last_accepting_cpos) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
|
|
|
{
|
|
|
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
2009-08-25 04:46:33 -04:00
|
|
|
if ( yy_current_state >= 1178 )
|
2007-10-18 18:49:08 -04:00
|
|
|
yy_c = yy_meta[(unsigned int) yy_c];
|
|
|
|
|
}
|
|
|
|
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return yy_current_state;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* yy_try_NUL_trans - try to make a transition on the NUL character
|
|
|
|
|
*
|
|
|
|
|
* synopsis
|
|
|
|
|
* next_state = yy_try_NUL_trans( current_state );
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
|
|
|
|
|
{
|
2007-10-19 10:02:53 -04:00
|
|
|
register int yy_is_jam;
|
2008-06-09 05:34:40 -04:00
|
|
|
register char *yy_cp = (yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
register YY_CHAR yy_c = 1;
|
|
|
|
|
if ( yy_accept[yy_current_state] )
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
|
|
|
(yy_last_accepting_cpos) = yy_cp;
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
|
|
|
{
|
|
|
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
2009-08-25 04:46:33 -04:00
|
|
|
if ( yy_current_state >= 1178 )
|
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];
|
2009-08-25 04:46:33 -04:00
|
|
|
yy_is_jam = (yy_current_state == 1177);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return yy_is_jam ? 0 : yy_current_state;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef YY_NO_INPUT
|
2008-06-09 05:29:44 -04:00
|
|
|
#ifdef __cplusplus
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yyinput (void)
|
2008-06-09 05:29:44 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
static int input (void)
|
2008-06-09 05:29:44 -04:00
|
|
|
#endif
|
2008-02-29 05:23:52 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
{
|
|
|
|
|
int c;
|
|
|
|
|
|
|
|
|
|
*(yy_c_buf_p) = (yy_hold_char);
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* yy_c_buf_p now points to the character we want to return.
|
|
|
|
|
* If this occurs *before* the EOB characters, then it's a
|
|
|
|
|
* valid NUL; if not, then we've hit the end of the buffer.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
|
2007-10-18 18:49:08 -04:00
|
|
|
/* This was really a NUL. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*(yy_c_buf_p) = '\0';
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ /* need more input */
|
2008-06-09 05:34:40 -04:00
|
|
|
int offset = (yy_c_buf_p) - (yytext_ptr);
|
|
|
|
|
++(yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
switch ( yy_get_next_buffer( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
case EOB_ACT_LAST_MATCH:
|
|
|
|
|
/* This happens because yy_g_n_b()
|
|
|
|
|
* sees that we've accumulated a
|
|
|
|
|
* token and flags that we need to
|
|
|
|
|
* try matching the token before
|
|
|
|
|
* proceeding. But for input(),
|
|
|
|
|
* there's no matching to consider.
|
|
|
|
|
* So convert the EOB_ACT_LAST_MATCH
|
|
|
|
|
* to EOB_ACT_END_OF_FILE.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* Reset buffer status. */
|
2008-06-09 05:34:40 -04:00
|
|
|
yyrestart(yyin );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/*FALLTHROUGH*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
case EOB_ACT_END_OF_FILE:
|
|
|
|
|
{
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( yywrap( ) )
|
2007-10-18 18:49:08 -04:00
|
|
|
return EOF;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( ! (yy_did_buffer_switch_on_eof) )
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_NEW_FILE;
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
return yyinput();
|
|
|
|
|
#else
|
|
|
|
|
return input();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
case EOB_ACT_CONTINUE_SCAN:
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_c_buf_p) = (yytext_ptr) + offset;
|
2007-10-18 18:49:08 -04:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
|
|
|
|
|
*(yy_c_buf_p) = '\0'; /* preserve yytext */
|
|
|
|
|
(yy_hold_char) = *++(yy_c_buf_p);
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return c;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
|
|
|
|
#endif /* ifndef YY_NO_INPUT */
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Immediately switch to a different input stream.
|
|
|
|
|
* @param input_file A readable stream.
|
|
|
|
|
*
|
|
|
|
|
* @note This function does not reset the start condition to @c INITIAL .
|
|
|
|
|
*/
|
|
|
|
|
void yyrestart (FILE * input_file )
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
if ( ! YY_CURRENT_BUFFER ){
|
|
|
|
|
yyensure_buffer_stack ();
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE =
|
|
|
|
|
yy_create_buffer(yyin,YY_BUF_SIZE );
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_init_buffer(YY_CURRENT_BUFFER,input_file );
|
|
|
|
|
yy_load_buffer_state( );
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Switch to a different input buffer.
|
|
|
|
|
* @param new_buffer The new input buffer.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/* TODO. We should be able to replace this entire function body
|
|
|
|
|
* with
|
|
|
|
|
* yypop_buffer_state();
|
|
|
|
|
* yypush_buffer_state(new_buffer);
|
|
|
|
|
*/
|
|
|
|
|
yyensure_buffer_stack ();
|
|
|
|
|
if ( YY_CURRENT_BUFFER == new_buffer )
|
2007-10-18 18:49:08 -04:00
|
|
|
return;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( YY_CURRENT_BUFFER )
|
2007-10-18 18:49:08 -04:00
|
|
|
{
|
|
|
|
|
/* Flush out information for old buffer. */
|
2008-06-09 05:34:40 -04:00
|
|
|
*(yy_c_buf_p) = (yy_hold_char);
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
|
2007-10-18 18:49:08 -04:00
|
|
|
}
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
YY_CURRENT_BUFFER_LVALUE = new_buffer;
|
|
|
|
|
yy_load_buffer_state( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
/* We don't actually know whether we did this switch during
|
|
|
|
|
* EOF (yywrap()) processing, but the only time this flag
|
|
|
|
|
* is looked at is after yywrap() is called, so it's safe
|
|
|
|
|
* to go ahead and always set it.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
(yy_did_buffer_switch_on_eof) = 1;
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static void yy_load_buffer_state (void)
|
|
|
|
|
{
|
|
|
|
|
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
|
|
|
|
|
(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
|
|
|
|
|
yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
|
|
|
|
|
(yy_hold_char) = *(yy_c_buf_p);
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Allocate and initialize an input buffer state.
|
|
|
|
|
* @param file A readable stream.
|
|
|
|
|
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
|
|
|
|
|
*
|
|
|
|
|
* @return the allocated buffer state.
|
|
|
|
|
*/
|
|
|
|
|
YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BUFFER_STATE b;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! b )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
|
|
|
|
|
|
|
|
|
|
b->yy_buf_size = size;
|
|
|
|
|
|
|
|
|
|
/* yy_ch_buf has to be 2 characters longer than the size given because
|
|
|
|
|
* we need to put in 2 end-of-buffer characters.
|
|
|
|
|
*/
|
2008-06-09 05:34:40 -04:00
|
|
|
b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! b->yy_ch_buf )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
|
|
|
|
|
|
|
|
|
|
b->yy_is_our_buffer = 1;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_init_buffer(b,file );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return b;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Destroy the buffer.
|
|
|
|
|
* @param b a buffer created with yy_create_buffer()
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yy_delete_buffer (YY_BUFFER_STATE b )
|
|
|
|
|
{
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! b )
|
|
|
|
|
return;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
if ( b->yy_is_our_buffer )
|
2008-06-09 05:34:40 -04:00
|
|
|
yyfree((void *) b->yy_ch_buf );
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yyfree((void *) b );
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#ifndef __cplusplus
|
|
|
|
|
extern int isatty (int );
|
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
|
|
/* Initializes or reinitializes a buffer.
|
|
|
|
|
* This function is sometimes called more than once on the same buffer,
|
|
|
|
|
* such as during a yyrestart() or at EOF.
|
|
|
|
|
*/
|
|
|
|
|
static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
{
|
|
|
|
|
int oerrno = errno;
|
|
|
|
|
|
|
|
|
|
yy_flush_buffer(b );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
b->yy_input_file = file;
|
|
|
|
|
b->yy_fill_buffer = 1;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* If b is the current buffer, then yy_init_buffer was _probably_
|
|
|
|
|
* called from yyrestart() or through yy_get_next_buffer.
|
|
|
|
|
* In that case, we don't want to reset the lineno or column.
|
|
|
|
|
*/
|
|
|
|
|
if (b != YY_CURRENT_BUFFER){
|
|
|
|
|
b->yy_bs_lineno = 1;
|
|
|
|
|
b->yy_bs_column = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
|
|
|
|
|
|
|
|
|
|
errno = oerrno;
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
|
|
|
|
|
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yy_flush_buffer (YY_BUFFER_STATE b )
|
|
|
|
|
{
|
|
|
|
|
if ( ! b )
|
2007-10-18 18:49:08 -04:00
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
b->yy_n_chars = 0;
|
|
|
|
|
|
|
|
|
|
/* We always need two end-of-buffer characters. The first causes
|
|
|
|
|
* a transition to the end-of-buffer state. The second causes
|
|
|
|
|
* a jam in that state.
|
|
|
|
|
*/
|
|
|
|
|
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
|
|
|
|
|
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
|
|
|
|
|
|
|
|
|
|
b->yy_buf_pos = &b->yy_ch_buf[0];
|
|
|
|
|
|
|
|
|
|
b->yy_at_bol = 1;
|
|
|
|
|
b->yy_buffer_status = YY_BUFFER_NEW;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ( b == YY_CURRENT_BUFFER )
|
|
|
|
|
yy_load_buffer_state( );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** Pushes the new state onto the stack. The new state becomes
|
|
|
|
|
* the current state. This function will allocate the stack
|
|
|
|
|
* if necessary.
|
|
|
|
|
* @param new_buffer The new state.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
|
|
|
|
|
{
|
|
|
|
|
if (new_buffer == NULL)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
yyensure_buffer_stack();
|
|
|
|
|
|
|
|
|
|
/* This block is copied from yy_switch_to_buffer. */
|
|
|
|
|
if ( YY_CURRENT_BUFFER )
|
|
|
|
|
{
|
|
|
|
|
/* Flush out information for old buffer. */
|
|
|
|
|
*(yy_c_buf_p) = (yy_hold_char);
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Only push if top exists. Otherwise, replace top. */
|
|
|
|
|
if (YY_CURRENT_BUFFER)
|
|
|
|
|
(yy_buffer_stack_top)++;
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE = new_buffer;
|
|
|
|
|
|
|
|
|
|
/* copied from yy_switch_to_buffer. */
|
|
|
|
|
yy_load_buffer_state( );
|
|
|
|
|
(yy_did_buffer_switch_on_eof) = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** Removes and deletes the top of the stack, if present.
|
|
|
|
|
* The next element becomes the new top.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yypop_buffer_state (void)
|
|
|
|
|
{
|
|
|
|
|
if (!YY_CURRENT_BUFFER)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
yy_delete_buffer(YY_CURRENT_BUFFER );
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE = NULL;
|
|
|
|
|
if ((yy_buffer_stack_top) > 0)
|
|
|
|
|
--(yy_buffer_stack_top);
|
|
|
|
|
|
|
|
|
|
if (YY_CURRENT_BUFFER) {
|
|
|
|
|
yy_load_buffer_state( );
|
|
|
|
|
(yy_did_buffer_switch_on_eof) = 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Allocates the stack if it does not exist.
|
|
|
|
|
* Guarantees space for at least one push.
|
|
|
|
|
*/
|
|
|
|
|
static void yyensure_buffer_stack (void)
|
|
|
|
|
{
|
|
|
|
|
int num_to_alloc;
|
|
|
|
|
|
|
|
|
|
if (!(yy_buffer_stack)) {
|
|
|
|
|
|
|
|
|
|
/* First allocation is just for 2 elements, since we don't know if this
|
|
|
|
|
* scanner will even need a stack. We use 2 instead of 1 to avoid an
|
|
|
|
|
* immediate realloc on the next call.
|
|
|
|
|
*/
|
|
|
|
|
num_to_alloc = 1;
|
|
|
|
|
(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
|
|
|
|
|
(num_to_alloc * sizeof(struct yy_buffer_state*)
|
|
|
|
|
);
|
2009-03-24 08:53:25 -04:00
|
|
|
if ( ! (yy_buffer_stack) )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
|
|
|
|
|
|
|
|
|
|
(yy_buffer_stack_max) = num_to_alloc;
|
|
|
|
|
(yy_buffer_stack_top) = 0;
|
|
|
|
|
return;
|
2008-02-29 05:59:26 -05:00
|
|
|
}
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Increase the buffer to prepare for a possible push. */
|
|
|
|
|
int grow_size = 8 /* arbitrary grow size */;
|
|
|
|
|
|
|
|
|
|
num_to_alloc = (yy_buffer_stack_max) + grow_size;
|
|
|
|
|
(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
|
|
|
|
|
((yy_buffer_stack),
|
|
|
|
|
num_to_alloc * sizeof(struct yy_buffer_state*)
|
|
|
|
|
);
|
2009-03-24 08:53:25 -04:00
|
|
|
if ( ! (yy_buffer_stack) )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
|
2008-06-09 05:34:40 -04:00
|
|
|
|
|
|
|
|
/* zero only the new slots.*/
|
|
|
|
|
memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
|
|
|
|
|
(yy_buffer_stack_max) = num_to_alloc;
|
|
|
|
|
}
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Setup the input buffer state to scan directly from a user-specified character buffer.
|
|
|
|
|
* @param base the character buffer
|
|
|
|
|
* @param size the size in bytes of the character buffer
|
|
|
|
|
*
|
|
|
|
|
* @return the newly allocated buffer state object.
|
|
|
|
|
*/
|
|
|
|
|
YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
|
|
|
|
|
{
|
|
|
|
|
YY_BUFFER_STATE b;
|
|
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( size < 2 ||
|
|
|
|
|
base[size-2] != YY_END_OF_BUFFER_CHAR ||
|
|
|
|
|
base[size-1] != YY_END_OF_BUFFER_CHAR )
|
|
|
|
|
/* They forgot to leave room for the EOB's. */
|
|
|
|
|
return 0;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! b )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
|
|
|
|
|
|
|
|
|
|
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
|
|
|
|
|
b->yy_buf_pos = b->yy_ch_buf = base;
|
|
|
|
|
b->yy_is_our_buffer = 0;
|
|
|
|
|
b->yy_input_file = 0;
|
|
|
|
|
b->yy_n_chars = b->yy_buf_size;
|
|
|
|
|
b->yy_is_interactive = 0;
|
|
|
|
|
b->yy_at_bol = 1;
|
|
|
|
|
b->yy_fill_buffer = 0;
|
|
|
|
|
b->yy_buffer_status = YY_BUFFER_NEW;
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
yy_switch_to_buffer(b );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
return b;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Setup the input buffer state to scan a string. The next call to yylex() will
|
|
|
|
|
* scan from a @e copy of @a str.
|
2009-03-24 08:53:25 -04:00
|
|
|
* @param yystr a NUL-terminated string to scan
|
2008-06-09 05:34:40 -04:00
|
|
|
*
|
|
|
|
|
* @return the newly allocated buffer state object.
|
|
|
|
|
* @note If you want to scan bytes that may contain NUL values, then use
|
|
|
|
|
* yy_scan_bytes() instead.
|
|
|
|
|
*/
|
|
|
|
|
YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
return yy_scan_bytes(yystr,strlen(yystr) );
|
|
|
|
|
}
|
2008-06-09 05:29:44 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
|
|
|
|
|
* scan from a @e copy of @a bytes.
|
|
|
|
|
* @param bytes the byte buffer to scan
|
|
|
|
|
* @param len the number of bytes in the buffer pointed to by @a bytes.
|
|
|
|
|
*
|
|
|
|
|
* @return the newly allocated buffer state object.
|
|
|
|
|
*/
|
|
|
|
|
YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
YY_BUFFER_STATE b;
|
|
|
|
|
char *buf;
|
|
|
|
|
yy_size_t n;
|
|
|
|
|
int i;
|
2008-06-09 05:34:40 -04:00
|
|
|
|
2007-10-18 18:49:08 -04:00
|
|
|
/* Get memory for full buffer, including space for trailing EOB's. */
|
2008-06-09 05:34:40 -04:00
|
|
|
n = _yybytes_len + 2;
|
|
|
|
|
buf = (char *) yyalloc(n );
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! buf )
|
|
|
|
|
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
for ( i = 0; i < _yybytes_len; ++i )
|
|
|
|
|
buf[i] = yybytes[i];
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
b = yy_scan_buffer(buf,n );
|
2007-10-18 18:49:08 -04:00
|
|
|
if ( ! b )
|
|
|
|
|
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
|
|
|
|
|
|
|
|
|
|
/* It's okay to grow etc. this buffer, and we should throw it
|
|
|
|
|
* away when we're done.
|
|
|
|
|
*/
|
|
|
|
|
b->yy_is_our_buffer = 1;
|
|
|
|
|
|
|
|
|
|
return b;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifndef YY_EXIT_FAILURE
|
|
|
|
|
#define YY_EXIT_FAILURE 2
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static void yy_fatal_error (yyconst char* msg )
|
|
|
|
|
{
|
|
|
|
|
(void) fprintf( stderr, "%s\n", msg );
|
|
|
|
|
exit( YY_EXIT_FAILURE );
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Redefine yyless() so it works in section 3 code. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
#undef yyless
|
|
|
|
|
#define yyless(n) \
|
|
|
|
|
do \
|
|
|
|
|
{ \
|
|
|
|
|
/* Undo effects of setting up yytext. */ \
|
|
|
|
|
int yyless_macro_arg = (n); \
|
|
|
|
|
YY_LESS_LINENO(yyless_macro_arg);\
|
|
|
|
|
yytext[yyleng] = (yy_hold_char); \
|
|
|
|
|
(yy_c_buf_p) = yytext + yyless_macro_arg; \
|
|
|
|
|
(yy_hold_char) = *(yy_c_buf_p); \
|
|
|
|
|
*(yy_c_buf_p) = '\0'; \
|
|
|
|
|
yyleng = yyless_macro_arg; \
|
|
|
|
|
} \
|
|
|
|
|
while ( 0 )
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Accessor methods (get/set functions) to struct members. */
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the current line number.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
int yyget_lineno (void)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
return yylineno;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the input stream.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
FILE *yyget_in (void)
|
|
|
|
|
{
|
|
|
|
|
return yyin;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the output stream.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
FILE *yyget_out (void)
|
|
|
|
|
{
|
|
|
|
|
return yyout;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the length of the current token.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
int yyget_leng (void)
|
|
|
|
|
{
|
|
|
|
|
return yyleng;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Get the current token.
|
|
|
|
|
*
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
char *yyget_text (void)
|
|
|
|
|
{
|
|
|
|
|
return yytext;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Set the current line number.
|
|
|
|
|
* @param line_number
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
void yyset_lineno (int line_number )
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
yylineno = line_number;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/** Set the input stream. This does not discard the current
|
|
|
|
|
* input buffer.
|
|
|
|
|
* @param in_str A readable stream.
|
|
|
|
|
*
|
|
|
|
|
* @see yy_switch_to_buffer
|
|
|
|
|
*/
|
|
|
|
|
void yyset_in (FILE * in_str )
|
|
|
|
|
{
|
|
|
|
|
yyin = in_str ;
|
|
|
|
|
}
|
2007-10-19 04:32:36 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void yyset_out (FILE * out_str )
|
|
|
|
|
{
|
|
|
|
|
yyout = out_str ;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
int yyget_debug (void)
|
|
|
|
|
{
|
|
|
|
|
return yy_flex_debug;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void yyset_debug (int bdebug )
|
|
|
|
|
{
|
|
|
|
|
yy_flex_debug = bdebug ;
|
|
|
|
|
}
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_init_globals (void)
|
|
|
|
|
{
|
|
|
|
|
/* Initialization is the same as for the non-reentrant scanner.
|
|
|
|
|
* This function is called from yylex_destroy(), so don't allocate here.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
(yy_buffer_stack) = 0;
|
|
|
|
|
(yy_buffer_stack_top) = 0;
|
|
|
|
|
(yy_buffer_stack_max) = 0;
|
|
|
|
|
(yy_c_buf_p) = (char *) 0;
|
|
|
|
|
(yy_init) = 0;
|
|
|
|
|
(yy_start) = 0;
|
|
|
|
|
|
|
|
|
|
/* Defined in main.c */
|
|
|
|
|
#ifdef YY_STDINIT
|
|
|
|
|
yyin = stdin;
|
|
|
|
|
yyout = stdout;
|
2007-10-18 18:49:08 -04:00
|
|
|
#else
|
2008-06-09 05:34:40 -04:00
|
|
|
yyin = (FILE *) 0;
|
|
|
|
|
yyout = (FILE *) 0;
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* For future reference: Set errno on error, since we are called by
|
|
|
|
|
* yylex_init()
|
|
|
|
|
*/
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* yylex_destroy is for both reentrant and non-reentrant scanners. */
|
|
|
|
|
int yylex_destroy (void)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/* Pop the buffer stack, destroying each element. */
|
|
|
|
|
while(YY_CURRENT_BUFFER){
|
|
|
|
|
yy_delete_buffer(YY_CURRENT_BUFFER );
|
|
|
|
|
YY_CURRENT_BUFFER_LVALUE = NULL;
|
|
|
|
|
yypop_buffer_state();
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Destroy the stack itself. */
|
|
|
|
|
yyfree((yy_buffer_stack) );
|
|
|
|
|
(yy_buffer_stack) = NULL;
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/* Reset the globals. This is important in a non-reentrant scanner so the next time
|
|
|
|
|
* yylex() is called, initialization will occur. */
|
|
|
|
|
yy_init_globals( );
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
return 0;
|
|
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
/*
|
|
|
|
|
* Internal utility routines.
|
|
|
|
|
*/
|
2007-10-18 18:49:08 -04:00
|
|
|
|
|
|
|
|
#ifndef yytext_ptr
|
2008-06-09 05:34:40 -04:00
|
|
|
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register int i;
|
|
|
|
|
for ( i = 0; i < n; ++i )
|
|
|
|
|
s1[i] = s2[i];
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YY_NEED_STRLEN
|
2008-06-09 05:34:40 -04:00
|
|
|
static int yy_flex_strlen (yyconst char * s )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
register int n;
|
|
|
|
|
for ( n = 0; s[n]; ++n )
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
return n;
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
#endif
|
|
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void *yyalloc (yy_size_t size )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
return (void *) malloc( size );
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
2007-10-18 18:49:08 -04:00
|
|
|
|
2008-06-09 05:34:40 -04:00
|
|
|
void *yyrealloc (void * ptr, yy_size_t size )
|
|
|
|
|
{
|
2007-10-18 18:49:08 -04:00
|
|
|
/* The cast to (char *) in the following accommodates both
|
|
|
|
|
* implementations that use char* generic pointers, and those
|
|
|
|
|
* that use void* generic pointers. It works with the latter
|
|
|
|
|
* because both ANSI C and C++ allow castless assignment from
|
|
|
|
|
* any pointer type to void*, and deal with argument conversions
|
|
|
|
|
* as though doing an assignment.
|
|
|
|
|
*/
|
|
|
|
|
return (void *) realloc( (char *) ptr, size );
|
2008-06-09 05:34:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void yyfree (void * ptr )
|
|
|
|
|
{
|
|
|
|
|
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#define YYTABLES_NAME "yytables"
|
|
|
|
|
|
2009-08-25 04:46:33 -04:00
|
|
|
#line 325 "util/configlexer.lex"
|
2008-02-29 05:59:26 -05:00
|
|
|
|
2007-10-19 10:02:53 -04:00
|
|
|
|
2007-10-19 04:32:36 -04:00
|
|
|
|