/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /cvs/root/flex/flex/skel.c,v 1.2 2004/05/07 00:28:17 jkh Exp $
*/
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif
#ifdef __cplusplus
#include <stdlib.h>
#include <unistd.h>
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
#if __STDC__
#define YY_USE_PROTOS
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#pragma warn -rch
#pragma warn -use
#include <io.h>
#include <stdlib.h>
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
#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.
*/
#define BEGIN yy_start = 1 + 2 *
/* 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.
*/
#define YY_START ((yy_start - 1) / 2)
#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". */
#define YY_NEW_FILE yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#define YY_BUF_SIZE 16384
typedef struct yy_buffer_state *YY_BUFFER_STATE;
extern int yyleng;
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
/* The funky do-while in the following #define is used to turn the definition
* int a single C statement (which needs a semi-colon terminator). This
* avoids problems with code like:
*
* if ( condition_holds )
* yyless( 5 );
* else
* do_something_else();
*
* Prior to using the do-while the compiler would get upset at the
* "else" because it interpreted the "if" statement as being all
* done when it reached the ';' after the yyless() call.
*/
/* Return all but the first 'n' matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
*yy_cp = yy_hold_char; \
YY_RESTORE_YY_MORE_OFFSET \
yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, yytext_ptr )
/* The following is because we cannot portably get our hands on size_t
* (without autoconf's help, which isn't available because we want
* flex-generated scanners to compile on their own).
*/
typedef unsigned int yy_size_t;
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;
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#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
};
static YY_BUFFER_STATE yy_current_buffer = 0;
/* 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".
*/
#define YY_CURRENT_BUFFER yy_current_buffer
/* 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;
static int yy_init = 1; /* whether we need to initialize */
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;
void yyrestart YY_PROTO(( FILE *input_file ));
void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
void yy_load_buffer_state YY_PROTO(( void ));
YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
static void yy_flex_free YY_PROTO(( void * ));
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern char *yytext;
#define yytext_ptr yytext
static yy_state_type yy_get_previous_state YY_PROTO(( void ));
static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
static int yy_get_next_buffer YY_PROTO(( void ));
static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
yytext_ptr = yy_bp; \
yytext_ptr -= yy_more_len; \
yyleng = (int) (yy_cp - yytext_ptr); \
yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 227
#define YY_END_OF_BUFFER 228
static yyconst short int yy_accept[1487] =
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 228, 227, 1, 197, 151, 206, 227, 200,
161, 156, 207, 190, 189, 160, 154, 186, 155, 195,
199, 171, 171, 188, 187, 145, 142, 144, 226, 226,
226, 226, 226, 226, 226, 193, 227, 194, 158, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 191, 157,
192, 159, 221, 221, 220, 208, 221, 210, 210, 209,
224, 224, 224, 224, 205, 203, 203, 204, 204, 204,
201, 202, 204, 204, 204, 204, 204, 204, 204, 204,
204, 205, 205, 205, 204, 204, 148, 150, 0, 225,
166, 152, 167, 165, 162, 163, 222, 164, 173, 0,
0, 0, 171, 170, 147, 143, 149, 146, 226, 226,
226, 226, 226, 226, 226, 226, 196, 169, 226, 66,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 44, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 175, 226, 226,
174, 226, 153, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 168, 153, 219, 215,
0, 216, 213, 211, 212, 214, 0, 223, 204, 204,
204, 0, 0, 204, 173, 0, 0, 170, 172, 171,
170, 226, 226, 226, 226, 177, 179, 178, 226, 226,
226, 152, 198, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 77, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 91, 226,
226, 226, 226, 226, 226, 226, 226, 7, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 151, 226,
175, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 177, 179, 226, 135, 226, 90, 226, 58,
226, 226, 226, 174, 218, 217, 204, 173, 0, 0,
0, 170, 171, 170, 0, 226, 180, 176, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
47, 226, 226, 226, 226, 226, 226, 226, 226, 3,
226, 45, 226, 226, 49, 4, 226, 226, 226, 69,
226, 226, 226, 180, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 0, 226, 226, 226, 226, 84, 226,
226, 226, 226, 226, 226, 226, 226, 226, 6, 226,
226, 226, 226, 226, 226, 24, 28, 226, 26, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 90, 93, 226, 218, 217, 173, 0,
0, 170, 0, 171, 170, 170, 181, 183, 184, 183,
185, 226, 226, 226, 226, 75, 226, 226, 226, 226,
226, 226, 226, 68, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 8, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
139, 0, 226, 226, 226, 226, 226, 65, 226, 226,
226, 226, 226, 226, 19, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 25, 226, 226, 226, 27,
226, 226, 226, 226, 226, 226, 183, 226, 35, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 0,
0, 0, 170, 170, 170, 170, 0, 182, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 92, 226,
226, 226, 226, 226, 226, 226, 226, 63, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 74, 226, 226, 226, 226, 226, 226, 226, 226,
88, 57, 94, 226, 0, 67, 226, 226, 226, 34,
226, 226, 226, 226, 226, 226, 5, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 29, 226, 226, 226, 226, 226, 61,
226, 226, 46, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 104, 60, 226, 226, 226, 226, 226, 0, 0,
170, 170, 0, 170, 170, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 48, 226, 175, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
2, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 56, 226, 226, 226, 226, 18, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 78, 226, 226, 226, 226, 226, 226, 226, 226,
226, 31, 9, 24, 28, 226, 226, 26, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 0, 0, 0, 170,
170, 170, 170, 0, 226, 226, 226, 226, 226, 226,
226, 226, 226, 86, 226, 226, 226, 226, 226, 226,
226, 64, 226, 226, 226, 226, 226, 226, 59, 226,
226, 226, 226, 226, 226, 226, 226, 226, 72, 226,
226, 226, 226, 141, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 12, 226, 226, 226, 226,
15, 226, 226, 226, 226, 226, 62, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
0, 0, 170, 170, 0, 170, 170, 226, 41, 226,
226, 226, 226, 226, 226, 87, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 33, 11, 226, 226, 226, 226,
226, 85, 226, 134, 226, 226, 226, 226, 226, 226,
226, 226, 32, 10, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 119, 120, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 122, 226, 226, 226, 0, 0, 0,
170, 170, 170, 170, 0, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 14,
226, 226, 226, 17, 140, 226, 226, 226, 226, 226,
226, 226, 226, 13, 226, 226, 226, 16, 30, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 121, 36, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 106, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 0, 0, 170, 170,
0, 170, 170, 226, 226, 226, 226, 226, 73, 226,
226, 226, 226, 95, 103, 81, 226, 226, 226, 226,
226, 23, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 24, 26,
226, 226, 226, 226, 226, 226, 226, 89, 226, 226,
226, 226, 226, 226, 112, 226, 226, 226, 226, 105,
226, 226, 226, 226, 226, 226, 226, 226, 226, 0,
0, 0, 170, 170, 170, 170, 0, 226, 226, 226,
226, 226, 76, 22, 226, 226, 226, 226, 226, 79,
226, 226, 226, 226, 226, 226, 226, 226, 71, 70,
226, 226, 226, 226, 128, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 96, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 0, 0,
170, 170, 0, 170, 170, 226, 43, 226, 226, 40,
226, 226, 226, 226, 80, 226, 226, 138, 21, 226,
226, 226, 226, 226, 226, 54, 20, 226, 226, 226,
226, 226, 226, 226, 126, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 55, 226, 0, 0,
0, 170, 170, 170, 170, 0, 226, 226, 226, 226,
226, 226, 226, 82, 226, 226, 226, 226, 226, 226,
133, 226, 226, 226, 226, 226, 226, 226, 226, 226,
37, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
0, 170, 170, 170, 0, 170, 170, 42, 226, 130,
39, 226, 226, 226, 226, 226, 226, 226, 226, 226,
226, 226, 226, 226, 226, 226, 101, 226, 110, 226,
226, 226, 111, 226, 226, 226, 226, 226, 226, 124,
226, 0, 170, 170, 170, 170, 170, 226, 226, 226,
226, 226, 226, 226, 132, 38, 226, 125, 226, 226,
226, 226, 226, 226, 98, 113, 226, 226, 226, 115,
226, 226, 226, 226, 226, 170, 170, 170, 170, 226,
131, 226, 226, 226, 52, 226, 226, 226, 226, 226,
226, 226, 117, 226, 226, 116, 107, 108, 226, 127,
170, 170, 170, 129, 226, 226, 226, 53, 226, 226,
97, 226, 226, 226, 226, 226, 226, 123, 170, 226,
226, 83, 226, 51, 99, 226, 102, 226, 226, 226,
226, 136, 226, 226, 226, 226, 226, 137, 226, 226,
118, 114, 226, 50, 226, 226, 100, 226, 226, 226,
226, 226, 226, 226, 109, 0
} ;
static yyconst int yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 2, 3, 4,
1, 1, 3, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 3, 5, 6, 7, 8, 9, 10, 11, 12,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 24, 25, 24, 26, 26, 27, 28, 29,
30, 31, 1, 1, 32, 32, 33, 34, 35, 32,
36, 36, 37, 36, 36, 38, 36, 39, 36, 40,
36, 36, 41, 42, 43, 44, 36, 36, 36, 36,
45, 46, 47, 48, 49, 1, 50, 51, 52, 53,
54, 55, 56, 57, 58, 36, 59, 60, 61, 62,
63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
73, 74, 75, 76, 77, 78, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static yyconst int yy_meta[79] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
2, 2, 2, 2, 2, 2, 3, 1, 1, 1,
1, 2, 2, 2, 2, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
2, 2, 2, 2, 2, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1
} ;
static yyconst short int yy_base[1582] =
{ 0,
0, 0, 77, 82, 87, 89, 91, 93, 0, 0,
126, 202, 1905, 1906, 1906, 1906, 69, 1906, 1900, 1906,
1873, 72, 1906, 1906, 1906, 1872, 1871, 1906, 1870, 1906,
73, 261, 93, 1872, 1906, 1868, 71, 1867, 314, 369,
1857, 1852, 1853, 71, 1859, 1906, 1888, 1906, 1861, 98,
1824, 70, 115, 118, 58, 67, 97, 48, 172, 129,
82, 100, 107, 180, 134, 191, 69, 1835, 1906, 96,
1906, 1906, 1906, 1906, 1906, 1906, 421, 1906, 1906, 1906,
1906, 1906, 1869, 1873, 1906, 1906, 1906, 145, 1856, 161,
1906, 1906, 1855, 1854, 1853, 1852, 1906, 1851, 149, 1850,
1849, 1816, 1814, 1810, 120, 1906, 1906, 1906, 1871, 1906,
1906, 1906, 1906, 1906, 1906, 1906, 1906, 1906, 246, 1847,
1846, 0, 277, 0, 1906, 1906, 1906, 1906, 474, 0,
1837, 1833, 1832, 1829, 1827, 1827, 1906, 1906, 140, 0,
1808, 155, 1801, 1796, 1799, 145, 1795, 251, 158, 170,
1794, 1797, 1791, 1791, 1807, 1790, 1805, 1796, 143, 1787,
1789, 1798, 1787, 0, 1795, 208, 1781, 204, 1775, 1796,
194, 1782, 1791, 1793, 1786, 1774, 1768, 1771, 1778, 1782,
1770, 1781, 0, 1768, 256, 254, 1764, 261, 1768, 1779,
1778, 1769, 190, 1770, 1763, 1759, 223, 1756, 1760, 1770,
1764, 1763, 1766, 1761, 1752, 1750, 1906, 1906, 1906, 1906,
385, 1906, 1906, 1906, 1906, 1906, 0, 1906, 1906, 1906,
1906, 1763, 1747, 1906, 391, 1787, 1786, 0, 0, 408,
1785, 510, 1769, 1772, 262, 0, 356, 0, 1760, 1754,
1757, 0, 0, 1752, 1742, 1755, 1741, 1752, 1747, 1748,
1739, 1735, 1728, 1746, 1740, 1744, 1744, 1728, 1742, 1736,
1738, 1725, 1735, 1718, 1725, 1717, 388, 1722, 0, 1713,
1713, 265, 151, 1720, 222, 1711, 1725, 1728, 240, 1709,
388, 1718, 1713, 1709, 1704, 1744, 1716, 1701, 0, 1708,
0, 1713, 1704, 1697, 1709, 1695, 1702, 1707, 1691, 400,
1693, 1690, 1704, 272, 409, 1707, 1696, 1705, 1683, 1684,
1693, 1682, 1700, 412, 1679, 0, 1693, 0, 1674, 0,
277, 1679, 1685, 0, 490, 0, 1906, 496, 1716, 1715,
1714, 1713, 526, 1712, 0, 1711, 1712, 0, 219, 285,
1715, 1714, 397, 1668, 1666, 1670, 1682, 1680, 1677, 1669,
0, 1668, 1673, 1662, 1668, 370, 1674, 1671, 293, 0,
417, 0, 1661, 1654, 0, 0, 1650, 1664, 1663, 0,
1666, 1666, 1650, 1688, 1652, 1661, 1642, 1643, 1658, 1641,
1646, 1651, 1643, 424, 1643, 1633, 1633, 1640, 1636, 1635,
1643, 1646, 1638, 1634, 1633, 1643, 1627, 1641, 0, 1631,
1625, 1614, 1618, 1619, 1631, 1617, 1624, 1627, 0, 1630,
1625, 349, 414, 369, 1618, 281, 1614, 224, 386, 1605,
1626, 426, 433, 1605, 1609, 1620, 505, 516, 1608, 1649,
1603, 1619, 1616, 1617, 0, 1612, 1906, 1906, 567, 1637,
1636, 1635, 0, 573, 1634, 1633, 0, 1636, 0, 1635,
0, 1594, 1592, 1603, 1586, 0, 1600, 1602, 1591, 1593,
1600, 1582, 1579, 0, 1586, 1577, 1584, 1589, 1588, 1575,
1573, 1579, 1574, 1574, 1582, 1586, 1568, 1584, 1566, 1562,
1580, 1567, 1559, 1569, 1570, 1567, 1574, 1561, 1559, 1571,
1570, 1551, 1564, 1562, 1567, 1552, 1558, 1560, 1559, 1545,
0, 1556, 1554, 1557, 1547, 1551, 1533, 0, 1555, 551,
1541, 1540, 1533, 1532, 0, 1539, 1532, 1544, 1538, 1535,
1544, 1525, 1526, 1541, 1523, 0, 1523, 1522, 1527, 0,
1528, 1531, 1534, 498, 1519, 1519, 1558, 1513, 1530, 1521,
1525, 518, 1526, 1512, 1520, 551, 1523, 1509, 1517, 411,
1516, 1515, 1514, 1511, 1508, 434, 1505, 1514, 1505, 1535,
1534, 1533, 1532, 1531, 1530, 1529, 0, 0, 1503, 1491,
1489, 1494, 1502, 1490, 1491, 1499, 1477, 1492, 0, 1477,
1486, 1489, 1474, 1475, 1467, 1485, 1488, 0, 1471, 1470,
1481, 547, 1481, 1467, 1476, 1479, 1464, 1462, 1461, 1463,
1470, 0, 1472, 1472, 1462, 1469, 1459, 1465, 74, 1463,
0, 0, 0, 1468, 1455, 0, 1450, 1442, 1456, 0,
1445, 1444, 437, 470, 1451, 433, 0, 1443, 1460, 1454,
1449, 1457, 1435, 1443, 1453, 1440, 1432, 1442, 1443, 1430,
1429, 1438, 1445, 0, 1428, 1427, 1426, 1428, 1423, 0,
1423, 1420, 0, 1435, 1428, 1423, 1412, 1423, 1420, 1432,
1414, 1415, 1420, 1415, 1420, 1407, 1408, 1415, 1407, 508,
1405, 0, 0, 1407, 1397, 1418, 1411, 1400, 1438, 1437,
1436, 1435, 0, 1434, 1433, 1409, 1392, 1408, 1389, 1404,
1396, 1403, 1386, 1393, 1388, 0, 1388, 1399, 1381, 1376,
1396, 1395, 1391, 1374, 1378, 1391, 1376, 1374, 1383, 1384,
0, 1377, 1367, 1376, 1374, 1377, 1376, 1361, 1361, 1358,
1368, 1371, 1370, 0, 1369, 1359, 1353, 1359, 1906, 1369,
1369, 1357, 1353, 1357, 1354, 1363, 1344, 1345, 1360, 1343,
1348, 0, 1338, 553, 23, 559, 133, 238, 272, 346,
385, 0, 0, 406, 0, 440, 449, 458, 476, 477,
488, 502, 490, 521, 524, 519, 522, 536, 543, 555,
552, 551, 563, 567, 570, 567, 557, 557, 559, 576,
560, 573, 580, 584, 582, 581, 609, 610, 611, 612,
613, 614, 615, 0, 583, 576, 595, 592, 581, 598,
582, 587, 601, 0, 598, 601, 606, 602, 599, 591,
600, 0, 591, 595, 610, 600, 602, 601, 0, 612,
612, 601, 602, 603, 617, 619, 614, 615, 0, 610,
611, 615, 619, 0, 618, 615, 628, 634, 623, 635,
624, 618, 630, 633, 632, 641, 626, 630, 631, 629,
643, 644, 641, 634, 652, 0, 645, 645, 641, 637,
0, 656, 649, 639, 655, 644, 0, 653, 648, 660,
660, 663, 667, 668, 660, 661, 666, 659, 655, 660,
675, 675, 668, 678, 674, 674, 671, 663, 673, 671,
707, 708, 709, 710, 0, 711, 712, 691, 0, 681,
689, 693, 677, 691, 677, 0, 698, 685, 687, 698,
689, 686, 689, 700, 695, 688, 696, 710, 695, 709,
714, 696, 705, 712, 0, 0, 707, 700, 715, 712,
705, 0, 708, 0, 721, 711, 708, 706, 723, 722,
727, 714, 0, 0, 717, 726, 725, 717, 719, 728,
733, 739, 739, 734, 723, 725, 738, 728, 740, 729,
735, 734, 0, 0, 739, 732, 735, 750, 740, 743,
737, 739, 752, 742, 741, 753, 758, 750, 745, 748,
747, 750, 744, 769, 761, 760, 753, 795, 796, 797,
798, 799, 800, 801, 0, 763, 772, 782, 770, 779,
767, 767, 769, 771, 771, 775, 773, 778, 784, 776,
774, 795, 788, 793, 779, 789, 782, 802, 802, 0,
803, 786, 805, 0, 0, 788, 794, 807, 802, 791,
812, 804, 814, 0, 807, 807, 798, 0, 0, 799,
800, 803, 819, 818, 810, 815, 806, 815, 808, 817,
811, 823, 0, 0, 831, 827, 814, 821, 830, 827,
818, 829, 821, 840, 840, 0, 828, 838, 839, 836,
846, 847, 845, 837, 841, 851, 874, 875, 876, 877,
0, 878, 879, 843, 858, 859, 858, 844, 0, 858,
845, 860, 866, 0, 0, 0, 855, 868, 893, 853,
853, 0, 853, 873, 857, 865, 870, 871, 855, 863,
880, 877, 864, 873, 884, 868, 881, 882, 874, 875,
874, 887, 892, 876, 894, 895, 896, 0, 897, 886,
900, 888, 883, 891, 0, 901, 905, 902, 897, 0,
908, 910, 899, 908, 910, 906, 910, 898, 909, 940,
941, 942, 943, 944, 945, 946, 0, 911, 908, 923,
915, 922, 0, 0, 930, 932, 931, 929, 922, 0,
933, 919, 934, 923, 927, 933, 925, 926, 0, 0,
942, 928, 942, 939, 0, 930, 939, 940, 938, 952,
953, 938, 937, 952, 946, 952, 953, 950, 0, 943,
949, 959, 957, 961, 966, 957, 955, 965, 961, 969,
968, 960, 964, 971, 968, 964, 960, 975, 1003, 1004,
1005, 1006, 0, 1007, 1008, 970, 0, 984, 972, 0,
978, 987, 981, 992, 0, 980, 987, 0, 0, 981,
994, 997, 994, 995, 991, 0, 0, 990, 1002, 1003,
1004, 989, 989, 995, 0, 989, 1006, 996, 1003, 1004,
1001, 1012, 1002, 1003, 999, 1010, 1008, 1021, 1017, 1012,
1010, 1013, 1017, 1010, 1017, 1009, 0, 1029, 1053, 1054,
1055, 1056, 1057, 1058, 1059, 0, 1019, 1022, 1021, 1026,
1022, 1042, 1035, 0, 1045, 1032, 1037, 1030, 1030, 1031,
0, 1042, 1040, 1046, 1047, 1036, 1038, 1054, 1041, 1059,
0, 1059, 1049, 1062, 1044, 1060, 1045, 1061, 1049, 1067,
1050, 1046, 1062, 1052, 1072, 1069, 1054, 1072, 1058, 1074,
1101, 0, 1102, 1103, 0, 1104, 0, 0, 1078, 0,
0, 1072, 1082, 1075, 1076, 1071, 1084, 1071, 1076, 1084,
1088, 1093, 1077, 1091, 1086, 1089, 0, 1080, 0, 1081,
1092, 1093, 0, 1098, 1085, 1096, 1093, 1102, 1092, 0,
1105, 1133, 0, 1134, 0, 1135, 0, 1096, 1100, 1106,
1103, 1109, 1100, 1101, 0, 0, 1116, 0, 1118, 1109,
1119, 1111, 1117, 1113, 0, 0, 1115, 1117, 1117, 0,
1118, 1113, 1116, 1129, 1118, 0, 1158, 0, 0, 1119,
0, 1127, 1118, 1122, 0, 1123, 1138, 1126, 1126, 1125,
1140, 1134, 1148, 1144, 1131, 0, 0, 0, 1138, 0,
1906, 0, 1906, 0, 1143, 1148, 1135, 0, 1138, 1137,
0, 1138, 1153, 1141, 1159, 1147, 1162, 0, 1906, 1145,
1147, 0, 1160, 0, 0, 1147, 0, 1146, 1148, 1166,
1151, 0, 1153, 1163, 1158, 1155, 1170, 0, 1158, 1165,
0, 0, 1161, 0, 1174, 1161, 0, 1172, 1176, 1174,
1181, 1184, 1167, 1182, 0, 1906, 1236, 1239, 1242, 1245,
1248, 1251, 1253, 1255, 1257, 1258, 1259, 1260, 1262, 1264,
1265, 1267, 1268, 1270, 1272, 1274, 1276, 1277, 1279, 1281,
1283, 1284, 1286, 1288, 1290, 1292, 1294, 1296, 1298, 1299,
1301, 1303, 1305, 1306, 1308, 1310, 1312, 1314, 1316, 1318,
1320, 1321, 1323, 1325, 1327, 1328, 1330, 1332, 1334, 1336,
1338, 1340, 1342, 1343, 1345, 1347, 1349, 1350, 1352, 1354,
1356, 1358, 1360, 1362, 1364, 1365, 1367, 1369, 1371, 1372,
1374, 1376, 1378, 1380, 1382, 1384, 1386, 1387, 1389, 1390,
1392, 1393, 1395, 1396, 1397, 1399, 1400, 1401, 1402, 1403,
1404
} ;
static yyconst short int yy_def[1582] =
{ 0,
1486, 1, 1487, 1487, 1488, 1488, 1489, 1489, 1490, 1490,
1491, 1491, 1486, 1486, 1486, 1486, 1486, 1486, 1492, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 32, 1486, 1486, 1486, 1486, 1486, 1486, 39,
40, 40, 40, 40, 40, 1486, 1486, 1486, 1486, 39,
39, 39, 39, 39, 39, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1492, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1493, 1493,
1494, 1495, 1493, 1496, 1486, 1486, 1486, 1486, 39, 40,
40, 40, 40, 40, 40, 40, 1486, 1486, 129, 129,
40, 40, 40, 40, 40, 40, 129, 40, 129, 40,
40, 40, 40, 40, 40, 40, 40, 40, 129, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1497, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1498, 1498, 1499, 1500, 1495, 1498,
1501, 129, 40, 40, 40, 40, 40, 40, 232, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 232, 232, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 1486, 1502, 1486, 1486, 1486, 1503,
1504, 1505, 1486, 1506, 1507, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 1486, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 1486, 1486, 1486, 1508,
1509, 1510, 1511, 1486, 1512, 1513, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 1486, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 1486,
1514, 1515, 1516, 1517, 1486, 1518, 1519, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 1486, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 1520, 1521,
1486, 1522, 1523, 1524, 1525, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 1486, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 1486, 1526, 1527, 1528,
1529, 1486, 1530, 1531, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
1532, 1533, 1486, 1534, 1535, 1536, 1537, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 1486, 1538, 1539,
1540, 1541, 1486, 1542, 1543, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 1544, 1545, 1486, 1546,
1547, 1548, 1549, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 1486,
1550, 1551, 1552, 1553, 1486, 1554, 1555, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 1556, 1557,
1486, 1558, 1559, 1560, 1561, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 1486, 1562,
1563, 1564, 1565, 1486, 1566, 1567, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
1568, 1569, 1486, 1570, 1571, 1572, 1573, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 1486, 1574, 1575, 1576, 1486, 1577, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 1578, 1486, 1579, 1580, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
1486, 1581, 1486, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 1486, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 0, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486
} ;
static yyconst short int yy_nxt[1985] =
{ 0,
14, 15, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
33, 33, 33, 33, 33, 33, 34, 35, 36, 37,
38, 39, 39, 39, 39, 40, 41, 40, 42, 40,
43, 44, 45, 40, 46, 47, 48, 49, 14, 50,
51, 52, 53, 54, 55, 56, 40, 57, 40, 58,
59, 60, 61, 62, 40, 63, 64, 65, 66, 40,
67, 40, 68, 40, 69, 70, 71, 72, 74, 74,
75, 112, 76, 74, 74, 75, 117, 76, 79, 79,
79, 79, 82, 82, 82, 82, 851, 80, 107, 80,
126, 113, 118, 134, 83, 167, 83, 159, 135, 84,
168, 84, 123, 123, 123, 123, 123, 123, 123, 147,
160, 204, 77, 161, 162, 207, 148, 77, 86, 87,
88, 205, 163, 726, 89, 90, 180, 91, 92, 93,
94, 727, 95, 181, 96, 182, 108, 183, 127, 220,
139, 164, 140, 97, 98, 99, 100, 141, 165, 142,
186, 143, 184, 166, 1486, 185, 144, 145, 149, 187,
221, 208, 150, 101, 219, 102, 151, 154, 219, 155,
152, 153, 177, 156, 157, 195, 854, 103, 104, 158,
220, 178, 239, 196, 247, 224, 197, 179, 248, 198,
265, 105, 266, 106, 86, 87, 88, 242, 253, 240,
89, 90, 254, 91, 92, 93, 94, 377, 95, 378,
96, 169, 219, 170, 255, 171, 219, 243, 172, 97,
98, 99, 100, 188, 173, 174, 256, 189, 175, 310,
448, 449, 190, 199, 176, 191, 192, 193, 200, 101,
194, 102, 201, 277, 281, 311, 202, 203, 272, 278,
273, 282, 274, 103, 104, 225, 225, 225, 225, 225,
225, 315, 121, 380, 275, 528, 381, 105, 529, 106,
119, 119, 119, 119, 119, 119, 120, 121, 385, 316,
386, 855, 120, 120, 120, 120, 230, 230, 230, 230,
230, 230, 230, 121, 250, 339, 450, 449, 251, 295,
120, 120, 120, 120, 120, 120, 252, 297, 296, 375,
298, 299, 303, 300, 301, 433, 304, 856, 305, 410,
376, 340, 122, 129, 129, 129, 129, 129, 129, 129,
121, 411, 434, 525, 526, 129, 129, 129, 129, 130,
130, 130, 130, 130, 130, 130, 130, 130, 468, 469,
470, 471, 130, 129, 129, 129, 129, 129, 129, 130,
130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
130, 130, 130, 130, 130, 1486, 121, 857, 518, 341,
130, 130, 130, 130, 325, 325, 325, 325, 325, 325,
328, 328, 328, 328, 328, 328, 519, 121, 130, 130,
130, 130, 130, 130, 209, 342, 210, 333, 333, 333,
333, 333, 333, 333, 121, 522, 388, 523, 465, 369,
211, 211, 211, 211, 211, 211, 370, 389, 405, 530,
858, 531, 532, 406, 537, 449, 452, 412, 371, 413,
428, 414, 453, 415, 454, 416, 212, 472, 520, 859,
213, 429, 417, 667, 473, 418, 668, 419, 490, 521,
474, 430, 214, 535, 740, 491, 215, 741, 216, 536,
492, 735, 217, 232, 232, 232, 232, 232, 232, 232,
674, 675, 736, 860, 861, 232, 232, 232, 232, 437,
437, 437, 437, 437, 437, 439, 439, 439, 439, 439,
439, 862, 121, 232, 232, 232, 232, 232, 232, 336,
336, 336, 336, 336, 336, 336, 737, 863, 738, 864,
865, 336, 336, 336, 336, 444, 444, 444, 444, 444,
444, 444, 121, 647, 541, 866, 542, 867, 648, 336,
336, 336, 336, 336, 336, 543, 649, 546, 544, 780,
868, 545, 547, 781, 655, 548, 549, 869, 870, 550,
656, 551, 552, 871, 872, 553, 439, 439, 439, 439,
439, 439, 444, 444, 444, 444, 444, 444, 444, 622,
660, 623, 873, 624, 661, 625, 707, 874, 662, 848,
663, 875, 708, 709, 710, 852, 849, 626, 876, 877,
878, 850, 879, 880, 881, 853, 882, 883, 884, 885,
886, 887, 888, 889, 890, 562, 789, 228, 683, 895,
567, 794, 898, 899, 900, 901, 902, 903, 904, 905,
906, 907, 908, 909, 911, 912, 913, 914, 915, 916,
917, 918, 919, 920, 921, 922, 923, 924, 910, 925,
926, 927, 928, 929, 930, 931, 932, 933, 934, 935,
936, 937, 938, 939, 940, 941, 942, 943, 944, 945,
946, 947, 948, 949, 950, 951, 952, 953, 954, 955,
956, 957, 752, 958, 959, 960, 961, 962, 963, 964,
965, 966, 967, 968, 969, 970, 971, 972, 973, 974,
975, 976, 977, 978, 979, 980, 981, 982, 983, 984,
985, 986, 987, 789, 990, 683, 895, 794, 995, 996,
997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006,
1008, 1010, 1011, 1012, 1013, 1014, 1009, 1007, 1015, 1016,
1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026,
1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036,
1037, 1038, 1039, 1040, 1041, 644, 1042, 1043, 1044, 1045,
1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055,
1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065,
1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075,
1076, 789, 990, 228, 895, 1081, 794, 995, 1084, 1085,
1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095,
1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 899,
1105, 1106, 1107, 925, 1108, 1109, 1110, 1111, 1112, 1113,
1114, 1115, 1116, 1117, 943, 1118, 1119, 755, 1120, 1121,
1122, 1123, 1124, 1125, 1126, 526, 1127, 530, 1128, 1129,
1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139,
1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149,
990, 1152, 895, 1081, 995, 1157, 1158, 1159, 1160, 1162,
1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172,
1173, 1174, 1161, 1175, 1176, 1177, 1178, 1179, 1180, 1181,
1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191,
1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1202,
1203, 1204, 1205, 1206, 1207, 1208, 1209, 1201, 1210, 1211,
1212, 1213, 1215, 1216, 1217, 1218, 990, 1152, 228, 1081,
1223, 995, 1157, 1226, 1227, 1228, 1214, 1229, 1230, 1231,
1232, 1233, 1235, 1236, 1237, 1234, 1238, 1239, 1240, 1241,
1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251,
1252, 1253, 1254, 1255, 1256, 1257, 1258, 856, 861, 1259,
1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269,
1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 1152,
1281, 1081, 1223, 1157, 1286, 1287, 1288, 1289, 1290, 1291,
1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301,
1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311,
1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321,
1322, 1323, 1324, 1325, 1326, 1327, 1328, 1329, 1330, 1152,
1281, 228, 1223, 1335, 1157, 1286, 1338, 1339, 1340, 1341,
1342, 1343, 1344, 1345, 1346, 1347, 1227, 1020, 1024, 1348,
1349, 1034, 1038, 526, 530, 1350, 1351, 1352, 1353, 1354,
1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364,
1365, 1366, 1367, 1368, 1369, 1370, 1371, 1281, 1223, 1335,
1286, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386,
1387, 1388, 1389, 1391, 1392, 1393, 1394, 1395, 1396, 1397,
1398, 1399, 1400, 1401, 1402, 1403, 1390, 1404, 1405, 1281,
1335, 1286, 1410, 1411, 1412, 1413, 1414, 1338, 1415, 1416,
1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426,
1427, 1428, 1429, 1430, 1335, 1434, 1435, 1436, 1437, 1438,
1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448,
1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 1459,
1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469,
1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479,
1480, 1481, 1482, 1483, 1484, 1485, 73, 73, 73, 78,
78, 78, 81, 81, 81, 14, 14, 14, 85, 85,
85, 109, 109, 109, 226, 226, 227, 227, 229, 231,
326, 329, 329, 330, 330, 332, 334, 334, 438, 440,
440, 441, 441, 442, 442, 445, 445, 446, 560, 560,
561, 561, 563, 563, 564, 565, 565, 566, 566, 679,
679, 680, 680, 681, 681, 682, 682, 684, 684, 685,
787, 787, 788, 788, 790, 790, 791, 792, 792, 793,
793, 891, 891, 892, 892, 893, 893, 894, 894, 896,
896, 897, 988, 988, 989, 989, 991, 991, 992, 993,
993, 994, 994, 1077, 1077, 1078, 1078, 1079, 1079, 1080,
1080, 1082, 1082, 1083, 1150, 1150, 1151, 1151, 1153, 1153,
1154, 1155, 1155, 1156, 1156, 1219, 1219, 1220, 1220, 1221,
1221, 1222, 1222, 1224, 1224, 1225, 1279, 1279, 1280, 1280,
1282, 1282, 1283, 1284, 1284, 1285, 1285, 1331, 1331, 1332,
1332, 1333, 1333, 1334, 1334, 1336, 1336, 1337, 1372, 1372,
1373, 1374, 1374, 1375, 1376, 1376, 1377, 1406, 1407, 1407,
1408, 1409, 1431, 1432, 1433, 1449, 847, 846, 845, 844,
843, 842, 841, 840, 839, 838, 837, 836, 835, 834,
833, 832, 831, 830, 829, 828, 827, 826, 825, 824,
823, 822, 821, 820, 819, 818, 817, 816, 815, 814,
813, 812, 811, 810, 809, 808, 807, 806, 805, 804,
803, 802, 801, 800, 799, 798, 797, 796, 795, 794,
567, 683, 443, 789, 562, 435, 786, 785, 784, 783,
782, 779, 778, 777, 776, 672, 775, 774, 773, 772,
771, 770, 769, 768, 767, 766, 765, 764, 763, 762,
761, 760, 759, 758, 757, 756, 755, 754, 753, 752,
751, 750, 749, 748, 747, 746, 745, 744, 743, 742,
739, 734, 733, 732, 731, 730, 729, 728, 611, 725,
724, 723, 722, 721, 720, 719, 718, 717, 716, 715,
714, 713, 712, 711, 706, 705, 704, 703, 702, 701,
700, 699, 698, 697, 696, 695, 694, 693, 692, 691,
690, 689, 688, 687, 686, 567, 335, 683, 443, 228,
562, 331, 678, 677, 676, 673, 672, 671, 670, 669,
666, 665, 664, 659, 658, 657, 654, 653, 652, 320,
568, 651, 650, 646, 645, 644, 643, 642, 641, 640,
639, 638, 637, 636, 635, 634, 633, 632, 631, 630,
629, 628, 627, 621, 620, 619, 618, 617, 616, 615,
614, 613, 612, 611, 610, 609, 608, 607, 606, 605,
604, 603, 602, 601, 600, 599, 598, 597, 596, 595,
594, 593, 592, 591, 590, 324, 589, 588, 587, 586,
585, 584, 583, 582, 581, 580, 579, 578, 577, 576,
575, 574, 573, 572, 571, 570, 569, 568, 568, 567,
335, 443, 562, 331, 559, 558, 557, 556, 555, 451,
554, 540, 539, 538, 534, 533, 527, 524, 517, 516,
515, 514, 513, 512, 511, 510, 509, 508, 507, 506,
505, 504, 503, 502, 501, 500, 499, 498, 497, 496,
495, 494, 493, 489, 488, 487, 486, 485, 484, 483,
482, 481, 447, 269, 480, 479, 478, 291, 477, 476,
475, 467, 466, 464, 463, 462, 461, 365, 460, 459,
458, 457, 456, 455, 451, 451, 447, 121, 335, 443,
228, 331, 121, 436, 435, 432, 324, 431, 427, 426,
425, 424, 423, 422, 421, 420, 409, 408, 407, 404,
403, 402, 401, 400, 399, 398, 397, 338, 396, 395,
394, 393, 392, 391, 390, 387, 384, 383, 382, 379,
374, 373, 372, 368, 367, 366, 365, 364, 363, 362,
361, 360, 359, 358, 357, 356, 355, 354, 353, 352,
351, 350, 349, 348, 347, 346, 345, 344, 343, 338,
337, 335, 331, 121, 327, 221, 324, 323, 322, 321,
320, 319, 318, 238, 317, 314, 313, 312, 309, 308,
307, 306, 302, 294, 293, 292, 291, 290, 289, 288,
287, 286, 285, 284, 283, 280, 279, 276, 271, 270,
269, 268, 267, 264, 263, 262, 261, 260, 259, 258,
257, 249, 246, 245, 244, 241, 238, 237, 236, 235,
234, 233, 228, 121, 110, 224, 223, 222, 220, 219,
219, 220, 220, 220, 220, 220, 117, 218, 206, 146,
138, 137, 136, 133, 132, 131, 128, 125, 124, 116,
115, 114, 111, 110, 1486, 13, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486
} ;
static yyconst short int yy_chk[1985] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 3, 3,
3, 22, 3, 4, 4, 4, 31, 4, 5, 5,
6, 6, 7, 7, 8, 8, 745, 5, 17, 6,
37, 22, 31, 44, 7, 58, 8, 55, 44, 7,
58, 8, 33, 33, 33, 33, 33, 33, 33, 52,
55, 67, 3, 55, 56, 70, 52, 4, 11, 11,
11, 67, 56, 609, 11, 11, 61, 11, 11, 11,
11, 609, 11, 61, 11, 61, 17, 61, 37, 105,
50, 57, 50, 11, 11, 11, 11, 50, 57, 50,
63, 50, 62, 57, 33, 62, 50, 50, 53, 63,
90, 70, 53, 11, 88, 11, 53, 54, 99, 54,
53, 53, 60, 54, 54, 65, 747, 11, 11, 54,
90, 60, 139, 65, 146, 105, 65, 60, 146, 65,
159, 11, 159, 11, 12, 12, 12, 142, 149, 139,
12, 12, 149, 12, 12, 12, 12, 273, 12, 273,
12, 59, 88, 59, 150, 59, 99, 142, 59, 12,
12, 12, 12, 64, 59, 59, 150, 64, 59, 193,
339, 339, 64, 66, 59, 64, 64, 64, 66, 12,
64, 12, 66, 168, 171, 193, 66, 66, 166, 168,
166, 171, 166, 12, 12, 119, 119, 119, 119, 119,
119, 197, 119, 275, 166, 418, 275, 12, 418, 12,
32, 32, 32, 32, 32, 32, 32, 32, 279, 197,
279, 748, 32, 32, 32, 32, 123, 123, 123, 123,
123, 123, 123, 123, 148, 235, 340, 340, 148, 185,
32, 32, 32, 32, 32, 32, 148, 186, 185, 272,
186, 186, 188, 186, 186, 321, 188, 749, 188, 304,
272, 235, 32, 39, 39, 39, 39, 39, 39, 39,
39, 304, 321, 416, 416, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 359, 359,
359, 359, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39, 40, 40,
40, 40, 40, 40, 40, 40, 356, 750, 412, 237,
40, 40, 40, 40, 211, 211, 211, 211, 211, 211,
225, 225, 225, 225, 225, 225, 412, 225, 40, 40,
40, 40, 40, 40, 77, 237, 77, 230, 230, 230,
230, 230, 230, 230, 230, 414, 281, 414, 356, 267,
77, 77, 77, 77, 77, 77, 267, 281, 300, 419,
751, 419, 419, 300, 423, 423, 343, 305, 267, 305,
314, 305, 343, 305, 343, 305, 77, 361, 413, 754,
77, 314, 305, 550, 361, 305, 550, 305, 384, 413,
361, 314, 77, 422, 626, 384, 77, 626, 77, 422,
384, 623, 77, 129, 129, 129, 129, 129, 129, 129,
556, 556, 623, 756, 757, 129, 129, 129, 129, 325,
325, 325, 325, 325, 325, 328, 328, 328, 328, 328,
328, 758, 328, 129, 129, 129, 129, 129, 129, 232,
232, 232, 232, 232, 232, 232, 624, 759, 624, 760,
761, 232, 232, 232, 232, 333, 333, 333, 333, 333,
333, 333, 333, 534, 427, 762, 427, 763, 534, 232,
232, 232, 232, 232, 232, 427, 534, 428, 427, 670,
764, 427, 428, 670, 542, 428, 428, 765, 766, 428,
542, 428, 428, 767, 768, 428, 439, 439, 439, 439,
439, 439, 444, 444, 444, 444, 444, 444, 444, 510,
546, 510, 769, 510, 546, 510, 592, 770, 546, 744,
546, 771, 592, 592, 592, 746, 744, 510, 772, 773,
774, 744, 775, 776, 777, 746, 778, 779, 780, 781,
782, 783, 784, 785, 786, 787, 788, 789, 790, 791,
792, 793, 795, 796, 797, 798, 799, 800, 801, 802,
803, 805, 806, 806, 807, 808, 809, 810, 811, 813,
814, 815, 816, 817, 818, 820, 821, 822, 806, 823,
824, 825, 826, 827, 828, 830, 831, 832, 833, 835,
836, 837, 838, 839, 840, 841, 842, 843, 844, 845,
846, 847, 848, 849, 850, 850, 851, 852, 853, 854,
855, 857, 858, 859, 860, 862, 863, 864, 865, 866,
868, 869, 870, 871, 872, 873, 874, 875, 876, 877,
878, 879, 880, 881, 882, 883, 884, 885, 886, 887,
888, 889, 890, 891, 892, 893, 894, 896, 897, 898,
900, 901, 902, 903, 904, 905, 907, 908, 909, 910,
911, 912, 913, 914, 915, 916, 911, 910, 917, 918,
919, 920, 921, 922, 923, 924, 927, 928, 929, 930,
931, 933, 935, 936, 937, 938, 939, 940, 941, 942,
945, 946, 947, 948, 949, 950, 951, 952, 953, 954,
955, 956, 957, 958, 959, 960, 961, 962, 965, 966,
967, 968, 969, 970, 971, 972, 973, 974, 975, 976,
977, 978, 979, 980, 981, 982, 983, 984, 985, 986,
987, 988, 989, 990, 991, 992, 993, 994, 996, 997,
998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007,
1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017,
1018, 1019, 1021, 1022, 1023, 1026, 1027, 1028, 1029, 1030,
1031, 1032, 1033, 1035, 1036, 1037, 1040, 1041, 1042, 1043,
1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1055,
1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065,
1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076,
1077, 1078, 1079, 1080, 1082, 1083, 1084, 1085, 1086, 1087,
1088, 1090, 1091, 1092, 1093, 1097, 1098, 1099, 1100, 1101,
1103, 1104, 1086, 1105, 1106, 1107, 1108, 1109, 1110, 1111,
1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121,
1122, 1123, 1124, 1125, 1126, 1127, 1129, 1130, 1131, 1132,
1133, 1134, 1136, 1137, 1138, 1139, 1141, 1131, 1142, 1143,
1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153,
1154, 1155, 1156, 1158, 1159, 1160, 1145, 1161, 1162, 1165,
1166, 1167, 1168, 1169, 1171, 1167, 1172, 1173, 1174, 1175,
1176, 1177, 1178, 1181, 1182, 1183, 1184, 1186, 1187, 1188,
1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198,
1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209,
1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219,
1220, 1221, 1222, 1224, 1225, 1226, 1228, 1229, 1231, 1232,
1233, 1234, 1236, 1237, 1240, 1241, 1242, 1243, 1244, 1245,
1248, 1249, 1250, 1251, 1252, 1253, 1254, 1256, 1257, 1258,
1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268,
1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1278, 1279,
1280, 1281, 1282, 1283, 1284, 1285, 1287, 1288, 1289, 1290,
1291, 1292, 1293, 1295, 1296, 1297, 1298, 1299, 1300, 1302,
1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1312, 1313,
1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323,
1324, 1325, 1326, 1327, 1328, 1329, 1330, 1331, 1333, 1334,
1336, 1339, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349,
1350, 1351, 1352, 1353, 1354, 1355, 1356, 1358, 1360, 1361,
1362, 1364, 1365, 1366, 1367, 1368, 1352, 1369, 1371, 1372,
1374, 1376, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1387,
1389, 1390, 1391, 1392, 1393, 1394, 1397, 1398, 1399, 1401,
1402, 1403, 1404, 1405, 1407, 1410, 1412, 1413, 1414, 1416,
1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1429,
1435, 1436, 1437, 1439, 1440, 1442, 1443, 1444, 1445, 1446,
1447, 1450, 1451, 1453, 1456, 1458, 1459, 1460, 1461, 1463,
1464, 1465, 1466, 1467, 1469, 1470, 1473, 1475, 1476, 1478,
1479, 1480, 1481, 1482, 1483, 1484, 1487, 1487, 1487, 1488,
1488, 1488, 1489, 1489, 1489, 1490, 1490, 1490, 1491, 1491,
1491, 1492, 1492, 1492, 1493, 1493, 1494, 1494, 1495, 1496,
1497, 1498, 1498, 1499, 1499, 1500, 1501, 1501, 1502, 1503,
1503, 1504, 1504, 1505, 1505, 1506, 1506, 1507, 1508, 1508,
1509, 1509, 1510, 1510, 1511, 1512, 1512, 1513, 1513, 1514,
1514, 1515, 1515, 1516, 1516, 1517, 1517, 1518, 1518, 1519,
1520, 1520, 1521, 1521, 1522, 1522, 1523, 1524, 1524, 1525,
1525, 1526, 1526, 1527, 1527, 1528, 1528, 1529, 1529, 1530,
1530, 1531, 1532, 1532, 1533, 1533, 1534, 1534, 1535, 1536,
1536, 1537, 1537, 1538, 1538, 1539, 1539, 1540, 1540, 1541,
1541, 1542, 1542, 1543, 1544, 1544, 1545, 1545, 1546, 1546,
1547, 1548, 1548, 1549, 1549, 1550, 1550, 1551, 1551, 1552,
1552, 1553, 1553, 1554, 1554, 1555, 1556, 1556, 1557, 1557,
1558, 1558, 1559, 1560, 1560, 1561, 1561, 1562, 1562, 1563,
1563, 1564, 1564, 1565, 1565, 1566, 1566, 1567, 1568, 1568,
1569, 1570, 1570, 1571, 1572, 1572, 1573, 1574, 1575, 1575,
1576, 1577, 1578, 1579, 1580, 1581, 743, 741, 740, 739,
738, 737, 736, 735, 734, 733, 732, 731, 730, 728,
727, 726, 725, 723, 722, 721, 720, 719, 718, 717,
716, 715, 714, 713, 712, 710, 709, 708, 707, 706,
705, 704, 703, 702, 701, 700, 699, 698, 697, 695,
694, 693, 692, 691, 690, 689, 688, 687, 686, 685,
684, 682, 681, 680, 679, 678, 677, 676, 675, 674,
671, 669, 668, 667, 666, 665, 664, 663, 662, 661,
660, 659, 658, 657, 656, 655, 654, 652, 651, 649,
648, 647, 646, 645, 643, 642, 641, 640, 639, 638,
637, 636, 635, 634, 633, 632, 631, 630, 629, 628,
625, 622, 621, 619, 618, 617, 615, 614, 610, 608,
607, 606, 605, 604, 603, 601, 600, 599, 598, 597,
596, 595, 594, 593, 591, 590, 589, 587, 586, 585,
584, 583, 582, 581, 580, 578, 577, 576, 575, 574,
573, 572, 571, 570, 569, 566, 565, 564, 563, 562,
561, 560, 559, 558, 557, 555, 554, 553, 552, 551,
549, 548, 547, 545, 544, 543, 541, 540, 539, 538,
537, 536, 535, 533, 532, 531, 529, 528, 527, 525,
524, 523, 522, 521, 520, 519, 518, 517, 516, 514,
513, 512, 511, 509, 507, 506, 505, 504, 503, 502,
500, 499, 498, 497, 496, 495, 494, 493, 492, 491,
490, 489, 488, 487, 486, 485, 484, 483, 482, 481,
480, 479, 478, 477, 476, 475, 474, 473, 472, 471,
470, 469, 468, 467, 466, 465, 463, 462, 461, 460,
459, 458, 457, 455, 454, 453, 452, 450, 448, 446,
445, 442, 441, 440, 436, 434, 433, 432, 431, 430,
429, 426, 425, 424, 421, 420, 417, 415, 411, 410,
408, 407, 406, 405, 404, 403, 402, 401, 400, 398,
397, 396, 395, 394, 393, 392, 391, 390, 389, 388,
387, 386, 385, 383, 382, 381, 380, 379, 378, 377,
376, 375, 374, 373, 372, 371, 369, 368, 367, 364,
363, 358, 357, 355, 354, 353, 352, 350, 349, 348,
347, 346, 345, 344, 342, 341, 337, 336, 334, 332,
331, 330, 329, 323, 322, 319, 317, 315, 313, 312,
311, 310, 309, 308, 307, 306, 303, 302, 301, 299,
298, 297, 296, 295, 294, 293, 292, 290, 288, 287,
286, 285, 284, 283, 282, 280, 278, 277, 276, 274,
271, 270, 268, 266, 265, 264, 263, 262, 261, 260,
259, 258, 257, 256, 255, 254, 253, 252, 251, 250,
249, 248, 247, 246, 245, 244, 241, 240, 239, 234,
233, 231, 227, 226, 223, 222, 206, 205, 204, 203,
202, 201, 200, 199, 198, 196, 195, 194, 192, 191,
190, 189, 187, 184, 182, 181, 180, 179, 178, 177,
176, 175, 174, 173, 172, 170, 169, 167, 165, 163,
162, 161, 160, 158, 157, 156, 155, 154, 153, 152,
151, 147, 145, 144, 143, 141, 136, 135, 134, 133,
132, 131, 121, 120, 109, 104, 103, 102, 101, 100,
98, 96, 95, 94, 93, 89, 84, 83, 68, 51,
49, 47, 45, 43, 42, 41, 38, 36, 34, 29,
27, 26, 21, 19, 13, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486,
1486, 1486, 1486, 1486
} ;
static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;
/* 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;
#define yymore() (yy_more_flag = 1)
#define YY_MORE_ADJ yy_more_len
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "cfg.lex"
#define INITIAL 0
/*
* $Id: cfg.lex 1781 2007-03-09 11:31:04Z miconda $
*
* scanner for cfg files
*
* Copyright (C) 2001-2003 FhG Fokus
* Copyright (C) 2005-2006 Voice Sistem S.R.L.
* Copyright (C) 2006 enum.at
*
* This file is part of openser, a free SIP server.
*
* openser is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version
*
* openser is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* History:
* -------
* 2003-01-29 src_port added (jiri)
* 2003-01-23 mhomed added (jiri)
* 2003-03-19 replaced all the mallocs/frees w/ pkg_malloc/pkg_free (andrei)
* 2003-04-01 added dst_port, proto (tcp, udp, tls), af(inet, inet6) (andrei)
* 2003-04-05 s/reply_route/failure_route, onreply_route introduced (jiri)
* 2003-04-12 added force_rport, chdir and wdir (andrei)
* 2003-04-22 strip_tail added (jiri)
* 2003-07-03 tls* (disable, certificate, private_key, ca_list, verify,
* require_certificate added (andrei)
* 2003-07-06 more tls config. vars added: tls_method, tls_port_no (andrei)
* 2003-10-02 added {,set_}advertised_{address,port} (andrei)
* 2003-10-07 added hex and octal numbers support (andrei)
* 2003-10-10 replaced len_gt w/ msg:len (andrei)
* 2003-10-13 added fifo_dir (andrei)
* 2003-10-28 added tcp_accept_aliases (andrei)
* 2003-11-29 added {tcp_send, tcp_connect, tls_*}_timeout (andrei)
* 2004-03-30 added DISABLE_CORE and OPEN_FD_LIMIT (andrei)
* 2004-04-28 added sock_mode (replaces fifo_mode), sock_user &
* sock_group (andrei)
* 2004-05-03 applied multicast support patch from janakj
* added MCAST_TTL (andrei)
* 2005-07-08 added tcp_connection_lifetime, tcp_poll_method,
* tcp_max_connections (andrei)
* 2004-10-08 more escapes: \", \xHH, \nnn and minor optimizations (andrei)
* 2004-10-19 added FROM_URI and TO_URI (andrei)
* 2004-11-30 added force_send_socket
* 2005-11-22 added tos configurability (thanks to Andreas Granig)
* 2005-11-29 added serialize_branches and next_branches (bogdan)
* 2006-12-22 functions for script and branch flags added (bogdan)
* 2007-01-11 auto_aliases option added (bogdan)
* 2007-01-25 disable_dns_failover option added (bogdan)
*/
#line 63 "cfg.lex"
#include "cfg.tab.h"
#include "dprint.h"
#include "globals.h"
#include "mem/mem.h"
#include <string.h>
#include <stdlib.h>
#include "ip_addr.h"
/* states */
#define INITIAL_S 0
#define COMMENT_S 1
#define COMMENT_LN_S 2
#define STRING_S 3
#define SCRIPTVAR_S 4
#define STR_BUF_ALLOC_UNIT 128
struct str_buf{
char* s;
char* crt;
int left;
};
static int comment_nest=0;
static int state=0;
static struct str_buf s_buf;
int line=1;
int np=0;
int svar_tlen=0;
int column=1;
int startcolumn=1;
static char* addchar(struct str_buf *, char);
static char* addstr(struct str_buf *, char*, int);
static void count();
/* start conditions */
#define STRING1 1
#define STRING2 2
#define COMMENT 3
#define COMMENT_LN 4
#define SCRIPTVARS 5
/* action keywords */
/*ACTION LVALUES*/
/* condition keywords */
/* hack -- the second element in first line is referable
as either uri or status; it only would makes sense to
call it "uri" from route{} and status from onreply_route{}
*/
/* operators */
/* variables */
/* config vars. */
/* values */
/*NUMBER 0|(([-+])?[1-9]{DIGIT}*)*/
#line 1432 "lex.yy.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap YY_PROTO(( void ));
#else
extern int yywrap YY_PROTO(( void ));
#endif
#endif
#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen YY_PROTO(( yyconst char * ));
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
#endif
#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif
#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines. This will fail
* miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
* or sizeof(void*) != sizeof(int).
*/
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( yy_current_buffer->yy_is_interactive ) \
{ \
int c = '*', n; \
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; \
} \
else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
&& ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" );
#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
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#endif
/* 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
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
#line 356 "cfg.lex"
#line 1587 "lex.yy.c"
if ( yy_init )
{
yy_init = 0;
#ifdef YY_USER_INIT
YY_USER_INIT;
#endif
if ( ! yy_start )
yy_start = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
if ( ! yy_current_buffer )
yy_current_buffer =
yy_create_buffer( yyin, YY_BUF_SIZE );
yy_load_buffer_state();
}
while ( 1 ) /* loops until end-of-file is reached */
{
yy_more_len = 0;
if ( yy_more_flag )
{
yy_more_len = yy_c_buf_p - yytext_ptr;
yy_more_flag = 0;
}
yy_cp = yy_c_buf_p;
/* Support of yytext. */
*yy_cp = yy_hold_char;
/* yy_bp points to the position in yy_ch_buf of the start of
* the current run.
*/
yy_bp = yy_cp;
yy_current_state = yy_start;
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 1487 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
while ( yy_base[yy_current_state] != 1906 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
if ( yy_act == 0 )
{ /* have to back up */
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
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 */
*yy_cp = yy_hold_char;
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
goto yy_find_action;
case 1:
YY_RULE_SETUP
#line 359 "cfg.lex"
{ count(); }
YY_BREAK
case 2:
YY_RULE_SETUP
#line 361 "cfg.lex"
{count(); yylval.strval=yytext; return FORWARD; }
YY_BREAK
case 3:
YY_RULE_SETUP
#line 362 "cfg.lex"
{ count(); yylval.strval=yytext; return DROP; }
YY_BREAK
case 4:
YY_RULE_SETUP
#line 363 "cfg.lex"
{ count(); yylval.strval=yytext; return EXIT; }
YY_BREAK
case 5:
YY_RULE_SETUP
#line 364 "cfg.lex"
{ count(); yylval.strval=yytext; return RETURN; }
YY_BREAK
case 6:
YY_RULE_SETUP
#line 365 "cfg.lex"
{ count(); yylval.strval=yytext; return SEND; }
YY_BREAK
case 7:
YY_RULE_SETUP
#line 366 "cfg.lex"
{ count(); yylval.strval=yytext; return LOG_TOK; }
YY_BREAK
case 8:
YY_RULE_SETUP
#line 367 "cfg.lex"
{ count(); yylval.strval=yytext; return ERROR; }
YY_BREAK
case 9:
YY_RULE_SETUP
#line 368 "cfg.lex"
{ count(); yylval.strval=yytext; return SETFLAG; }
YY_BREAK
case 10:
YY_RULE_SETUP
#line 369 "cfg.lex"
{ count(); yylval.strval=yytext; return RESETFLAG; }
YY_BREAK
case 11:
YY_RULE_SETUP
#line 370 "cfg.lex"
{ count(); yylval.strval=yytext; return ISFLAGSET; }
YY_BREAK
case 12:
YY_RULE_SETUP
#line 371 "cfg.lex"
{ count(); yylval.strval=yytext; return SETBFLAG; }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 372 "cfg.lex"
{ count(); yylval.strval=yytext; return RESETBFLAG; }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 373 "cfg.lex"
{ count(); yylval.strval=yytext; return ISBFLAGSET; }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 374 "cfg.lex"
{ count(); yylval.strval=yytext; return SETSFLAG; }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 375 "cfg.lex"
{ count(); yylval.strval=yytext; return RESETSFLAG; }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 376 "cfg.lex"
{ count(); yylval.strval=yytext; return ISSFLAGSET; }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 377 "cfg.lex"
{ count(); yylval.strval=yytext; return MSGLEN; }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 378 "cfg.lex"
{ count(); yylval.strval=yytext; return ROUTE; }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 379 "cfg.lex"
{ count(); yylval.strval=yytext;
return ROUTE_ONREPLY; }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 381 "cfg.lex"
{ count(); yylval.strval=yytext;
return ROUTE_FAILURE; }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 383 "cfg.lex"
{ count(); yylval.strval=yytext; return ROUTE_BRANCH; }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 384 "cfg.lex"
{ count(); yylval.strval=yytext; return ROUTE_ERROR; }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 385 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_HOST; }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 386 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_HOSTPORT; }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 387 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_USER; }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 388 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_USERPASS; }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 389 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_PORT; }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 390 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_URI; }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 391 "cfg.lex"
{ count(); yylval.strval=yytext; return REVERT_URI; }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 392 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_DSTURI; }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 393 "cfg.lex"
{ count(); yylval.strval=yytext; return RESET_DSTURI; }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 394 "cfg.lex"
{ count(); yylval.strval=yytext; return ISDSTURISET; }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 395 "cfg.lex"
{ count(); yylval.strval=yytext; return PREFIX; }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 396 "cfg.lex"
{ count(); yylval.strval=yytext; return STRIP; }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 397 "cfg.lex"
{ count(); yylval.strval=yytext; return STRIP_TAIL; }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 398 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_TIME_STAMP; }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 399 "cfg.lex"
{ count(); yylval.strval=yytext; return RESET_TIME_STAMP; }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 400 "cfg.lex"
{ count(); yylval.strval=yytext; return DIFF_TIME_STAMP; }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 401 "cfg.lex"
{ count(); yylval.strval=yytext;
return APPEND_BRANCH; }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 403 "cfg.lex"
{ count(); yylval.strval=yytext; return FORCE_RPORT; }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 404 "cfg.lex"
{ count(); yylval.strval=yytext; return FORCE_LOCAL_RPORT; }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 405 "cfg.lex"
{ count(); yylval.strval=yytext;
return FORCE_TCP_ALIAS; }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 407 "cfg.lex"
{ count(); yylval.strval=yytext; return IF; }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 408 "cfg.lex"
{ count(); yylval.strval=yytext; return ELSE; }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 410 "cfg.lex"
{ count(); yylval.strval=yytext; return SWITCH; }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 411 "cfg.lex"
{ count(); yylval.strval=yytext; return CASE; }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 412 "cfg.lex"
{ count(); yylval.strval=yytext; return DEFAULT; }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 413 "cfg.lex"
{ count(); yylval.strval=yytext; return SBREAK; }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 415 "cfg.lex"
{ count(); yylval.strval=yytext;
return SET_ADV_ADDRESS; }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 417 "cfg.lex"
{ count(); yylval.strval=yytext;
return SET_ADV_PORT; }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 419 "cfg.lex"
{ count(); yylval.strval=yytext;
return FORCE_SEND_SOCKET; }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 421 "cfg.lex"
{ count(); yylval.strval=yytext;
return SERIALIZE_BRANCHES; }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 423 "cfg.lex"
{ count(); yylval.strval=yytext;
return NEXT_BRANCHES; }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 425 "cfg.lex"
{ count(); yylval.strval=yytext;
return USE_BLACKLIST; }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 428 "cfg.lex"
{ count(); yylval.strval=yytext; return MAX_LEN; }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 430 "cfg.lex"
{ count(); yylval.strval=yytext; return METHOD; }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 431 "cfg.lex"
{ count(); yylval.strval=yytext; return URI; }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 432 "cfg.lex"
{ count(); yylval.strval=yytext; return FROM_URI; }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 433 "cfg.lex"
{ count(); yylval.strval=yytext; return TO_URI; }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 434 "cfg.lex"
{ count(); yylval.strval=yytext; return SRCIP; }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 435 "cfg.lex"
{ count(); yylval.strval=yytext; return SRCPORT; }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 436 "cfg.lex"
{ count(); yylval.strval=yytext; return DSTIP; }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 437 "cfg.lex"
{ count(); yylval.strval=yytext; return DSTPORT; }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 438 "cfg.lex"
{ count(); yylval.strval=yytext; return PROTO; }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 439 "cfg.lex"
{ count(); yylval.strval=yytext; return AF; }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 440 "cfg.lex"
{ count(); yylval.strval=yytext; return MYSELF; }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 442 "cfg.lex"
{ count(); yylval.strval=yytext; return DEBUG; }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 443 "cfg.lex"
{ count(); yylval.strval=yytext; return FORK; }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 444 "cfg.lex"
{ yylval.strval=yytext; return LOGSTDERROR; }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 445 "cfg.lex"
{ yylval.strval=yytext; return LOGFACILITY; }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 446 "cfg.lex"
{ yylval.strval=yytext; return LOGNAME; }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 447 "cfg.lex"
{ yylval.strval=yytext; return AVP_ALIASES; }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 448 "cfg.lex"
{ count(); yylval.strval=yytext; return LISTEN; }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 449 "cfg.lex"
{ count(); yylval.strval=yytext; return ALIAS; }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 450 "cfg.lex"
{ count(); yylval.strval=yytext; return AUTO_ALIASES; }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 451 "cfg.lex"
{ count(); yylval.strval=yytext; return DNS; }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 452 "cfg.lex"
{ count(); yylval.strval=yytext; return REV_DNS; }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 453 "cfg.lex"
{ count(); yylval.strval=yytext;
return DNS_TRY_IPV6; }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 455 "cfg.lex"
{ count(); yylval.strval=yytext;
return DNS_RETR_TIME; }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 457 "cfg.lex"
{ count(); yylval.strval=yytext;
return DNS_RETR_NO; }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 459 "cfg.lex"
{ count(); yylval.strval=yytext;
return DNS_SERVERS_NO; }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 461 "cfg.lex"
{ count(); yylval.strval=yytext;
return DNS_USE_SEARCH; }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 463 "cfg.lex"
{ count(); yylval.strval=yytext; return PORT; }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 464 "cfg.lex"
{ count(); yylval.strval=yytext; return MAXBUFFER; }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 465 "cfg.lex"
{ count(); yylval.strval=yytext; return CHILDREN; }
YY_BREAK
case 87:
YY_RULE_SETUP
#line 466 "cfg.lex"
{ count(); yylval.strval=yytext; return CHECK_VIA; }
YY_BREAK
case 88:
YY_RULE_SETUP
#line 467 "cfg.lex"
{ count(); yylval.strval=yytext; return MEMLOG; }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 468 "cfg.lex"
{ count(); yylval.strval=yytext; return SIP_WARNING; }
YY_BREAK
case 90:
YY_RULE_SETUP
#line 469 "cfg.lex"
{ count(); yylval.strval=yytext; return USER; }
YY_BREAK
case 91:
YY_RULE_SETUP
#line 470 "cfg.lex"
{ count(); yylval.strval=yytext; return GROUP; }
YY_BREAK
case 92:
YY_RULE_SETUP
#line 471 "cfg.lex"
{ count(); yylval.strval=yytext; return CHROOT; }
YY_BREAK
case 93:
YY_RULE_SETUP
#line 472 "cfg.lex"
{ count(); yylval.strval=yytext; return WDIR; }
YY_BREAK
case 94:
YY_RULE_SETUP
#line 473 "cfg.lex"
{ count(); yylval.strval=yytext; return MHOMED; }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 474 "cfg.lex"
{ count(); yylval.strval=yytext; return DISABLE_TCP; }
YY_BREAK
case 96:
YY_RULE_SETUP
#line 475 "cfg.lex"
{ count(); yylval.strval=yytext; return TCP_CHILDREN; }
YY_BREAK
case 97:
YY_RULE_SETUP
#line 476 "cfg.lex"
{ count(); yylval.strval=yytext;
return TCP_ACCEPT_ALIASES; }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 478 "cfg.lex"
{ count(); yylval.strval=yytext;
return TCP_SEND_TIMEOUT; }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 480 "cfg.lex"
{ count(); yylval.strval=yytext;
return TCP_CONNECT_TIMEOUT; }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 482 "cfg.lex"
{ count(); yylval.strval=yytext;
return TCP_CON_LIFETIME; }
YY_BREAK
case 101:
YY_RULE_SETUP
#line 484 "cfg.lex"
{ count(); yylval.strval=yytext;
return TCP_POLL_METHOD; }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 486 "cfg.lex"
{ count(); yylval.strval=yytext;
return TCP_MAX_CONNECTIONS; }
YY_BREAK
case 103:
YY_RULE_SETUP
#line 488 "cfg.lex"
{ count(); yylval.strval=yytext; return DISABLE_TLS; }
YY_BREAK
case 104:
YY_RULE_SETUP
#line 489 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_PORT_NO; }
YY_BREAK
case 105:
YY_RULE_SETUP
#line 490 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_PORT_NO; }
YY_BREAK
case 106:
YY_RULE_SETUP
#line 491 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_METHOD; }
YY_BREAK
case 107:
YY_RULE_SETUP
#line 492 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_VERIFY_CLIENT; }
YY_BREAK
case 108:
YY_RULE_SETUP
#line 493 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_VERIFY_SERVER; }
YY_BREAK
case 109:
YY_RULE_SETUP
#line 494 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_REQUIRE_CLIENT_CERTIFICATE;}
YY_BREAK
case 110:
YY_RULE_SETUP
#line 496 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_CERTIFICATE; }
YY_BREAK
case 111:
YY_RULE_SETUP
#line 498 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_PRIVATE_KEY; }
YY_BREAK
case 112:
YY_RULE_SETUP
#line 500 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_CA_LIST; }
YY_BREAK
case 113:
YY_RULE_SETUP
#line 502 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_CIPHERS_LIST; }
YY_BREAK
case 114:
YY_RULE_SETUP
#line 504 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_HANDSHAKE_TIMEOUT; }
YY_BREAK
case 115:
YY_RULE_SETUP
#line 506 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_SEND_TIMEOUT; }
YY_BREAK
case 116:
YY_RULE_SETUP
#line 508 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_SERVER_DOMAIN; }
YY_BREAK
case 117:
YY_RULE_SETUP
#line 510 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_CLIENT_DOMAIN; }
YY_BREAK
case 118:
YY_RULE_SETUP
#line 512 "cfg.lex"
{ count(); yylval.strval=yytext;
return TLS_CLIENT_DOMAIN_AVP; }
YY_BREAK
case 119:
YY_RULE_SETUP
#line 514 "cfg.lex"
{ count(); yylval.strval=yytext; return SOCK_MODE; }
YY_BREAK
case 120:
YY_RULE_SETUP
#line 515 "cfg.lex"
{ count(); yylval.strval=yytext; return SOCK_USER; }
YY_BREAK
case 121:
YY_RULE_SETUP
#line 516 "cfg.lex"
{ count(); yylval.strval=yytext; return SOCK_GROUP; }
YY_BREAK
case 122:
YY_RULE_SETUP
#line 517 "cfg.lex"
{ count(); yylval.strval=yytext; return UNIX_SOCK; }
YY_BREAK
case 123:
YY_RULE_SETUP
#line 518 "cfg.lex"
{ count(); yylval.strval=yytext; return UNIX_SOCK_CHILDREN; }
YY_BREAK
case 124:
YY_RULE_SETUP
#line 519 "cfg.lex"
{ count(); yylval.strval=yytext; return UNIX_TX_TIMEOUT; }
YY_BREAK
case 125:
YY_RULE_SETUP
#line 520 "cfg.lex"
{ count(); yylval.strval=yytext; return SERVER_SIGNATURE; }
YY_BREAK
case 126:
YY_RULE_SETUP
#line 521 "cfg.lex"
{ count(); yylval.strval=yytext; return SERVER_HEADER; }
YY_BREAK
case 127:
YY_RULE_SETUP
#line 522 "cfg.lex"
{ count(); yylval.strval=yytext; return USER_AGENT_HEADER; }
YY_BREAK
case 128:
YY_RULE_SETUP
#line 523 "cfg.lex"
{ count(); yylval.strval=yytext; return REPLY_TO_VIA; }
YY_BREAK
case 129:
YY_RULE_SETUP
#line 524 "cfg.lex"
{ count(); yylval.strval=yytext;
return ADVERTISED_ADDRESS; }
YY_BREAK
case 130:
YY_RULE_SETUP
#line 526 "cfg.lex"
{ count(); yylval.strval=yytext;
return ADVERTISED_PORT; }
YY_BREAK
case 131:
YY_RULE_SETUP
#line 528 "cfg.lex"
{ count(); yylval.strval=yytext;
return DISABLE_CORE; }
YY_BREAK
case 132:
YY_RULE_SETUP
#line 530 "cfg.lex"
{ count(); yylval.strval=yytext;
return OPEN_FD_LIMIT; }
YY_BREAK
case 133:
YY_RULE_SETUP
#line 532 "cfg.lex"
{ count(); yylval.strval=yytext;
return MCAST_LOOPBACK; }
YY_BREAK
case 134:
YY_RULE_SETUP
#line 534 "cfg.lex"
{ count(); yylval.strval=yytext;
return MCAST_TTL; }
YY_BREAK
case 135:
YY_RULE_SETUP
#line 536 "cfg.lex"
{ count(); yylval.strval=yytext;
return TOS; }
YY_BREAK
case 136:
YY_RULE_SETUP
#line 538 "cfg.lex"
{ count(); yylval.strval=yytext;
return DISABLE_DNS_FAILOVER; }
YY_BREAK
case 137:
YY_RULE_SETUP
#line 540 "cfg.lex"
{ count(); yylval.strval=yytext;
return DISABLE_DNS_BLACKLIST; }
YY_BREAK
case 138:
YY_RULE_SETUP
#line 542 "cfg.lex"
{ count(); yylval.strval=yytext;
return DST_BLACKLIST; }
YY_BREAK
case 139:
YY_RULE_SETUP
#line 545 "cfg.lex"
{ count(); yylval.strval=yytext; return MPATH; }
YY_BREAK
case 140:
YY_RULE_SETUP
#line 546 "cfg.lex"
{ count(); yylval.strval=yytext; return LOADMODULE; }
YY_BREAK
case 141:
YY_RULE_SETUP
#line 547 "cfg.lex"
{ count(); yylval.strval=yytext; return MODPARAM; }
YY_BREAK
case 142:
YY_RULE_SETUP
#line 549 "cfg.lex"
{ count(); return EQUAL; }
YY_BREAK
case 143:
YY_RULE_SETUP
#line 550 "cfg.lex"
{ count(); return EQUAL_T; }
YY_BREAK
case 144:
YY_RULE_SETUP
#line 551 "cfg.lex"
{ count(); return GT; }
YY_BREAK
case 145:
YY_RULE_SETUP
#line 552 "cfg.lex"
{ count(); return LT; }
YY_BREAK
case 146:
YY_RULE_SETUP
#line 553 "cfg.lex"
{ count(); return GTE; }
YY_BREAK
case 147:
YY_RULE_SETUP
#line 554 "cfg.lex"
{ count(); return LTE; }
YY_BREAK
case 148:
YY_RULE_SETUP
#line 555 "cfg.lex"
{ count(); return DIFF; }
YY_BREAK
case 149:
YY_RULE_SETUP
#line 556 "cfg.lex"
{ count(); return MATCH; }
YY_BREAK
case 150:
YY_RULE_SETUP
#line 557 "cfg.lex"
{ count(); return NOTMATCH; }
YY_BREAK
case 151:
YY_RULE_SETUP
#line 558 "cfg.lex"
{ count(); return NOT; }
YY_BREAK
case 152:
YY_RULE_SETUP
#line 559 "cfg.lex"
{ count(); return AND; }
YY_BREAK
case 153:
YY_RULE_SETUP
#line 560 "cfg.lex"
{ count(); return OR; }
YY_BREAK
case 154:
YY_RULE_SETUP
#line 561 "cfg.lex"
{ count(); return PLUS; }
YY_BREAK
case 155:
YY_RULE_SETUP
#line 562 "cfg.lex"
{ count(); return MINUS; }
YY_BREAK
case 156:
YY_RULE_SETUP
#line 563 "cfg.lex"
{ count(); return BAND; }
YY_BREAK
case 157:
YY_RULE_SETUP
#line 564 "cfg.lex"
{ count(); return BOR; }
YY_BREAK
case 158:
YY_RULE_SETUP
#line 565 "cfg.lex"
{ count(); return BXOR; }
YY_BREAK
case 159:
YY_RULE_SETUP
#line 566 "cfg.lex"
{ count(); return BNOT; }
YY_BREAK
case 160:
YY_RULE_SETUP
#line 567 "cfg.lex"
{ count(); return MULT; }
YY_BREAK
case 161:
YY_RULE_SETUP
#line 568 "cfg.lex"
{ count(); return MODULO; }
YY_BREAK
case 162:
YY_RULE_SETUP
#line 569 "cfg.lex"
{ count(); return PLUSEQ; }
YY_BREAK
case 163:
YY_RULE_SETUP
#line 570 "cfg.lex"
{ count(); return MINUSEQ; }
YY_BREAK
case 164:
YY_RULE_SETUP
#line 571 "cfg.lex"
{ count(); return SLASHEQ; }
YY_BREAK
case 165:
YY_RULE_SETUP
#line 572 "cfg.lex"
{ count(); return MULTEQ; }
YY_BREAK
case 166:
YY_RULE_SETUP
#line 573 "cfg.lex"
{ count(); return MODULOEQ; }
YY_BREAK
case 167:
YY_RULE_SETUP
#line 574 "cfg.lex"
{ count(); return BANDEQ; }
YY_BREAK
case 168:
YY_RULE_SETUP
#line 575 "cfg.lex"
{ count(); return BOREQ; }
YY_BREAK
case 169:
YY_RULE_SETUP
#line 576 "cfg.lex"
{ count(); return BXOREQ; }
YY_BREAK
case 170:
YY_RULE_SETUP
#line 580 "cfg.lex"
{ count(); yylval.strval=yytext; return IPV6ADDR; }
YY_BREAK
case 171:
YY_RULE_SETUP
#line 581 "cfg.lex"
{ count(); yylval.intval=atoi(yytext);return NUMBER; }
YY_BREAK
case 172:
YY_RULE_SETUP
#line 582 "cfg.lex"
{ count(); yylval.intval=(int)strtol(yytext, 0, 16);
return NUMBER; }
YY_BREAK
case 173:
YY_RULE_SETUP
#line 584 "cfg.lex"
{ count(); yylval.intval=(int)strtol(yytext, 0, 8);
return NUMBER; }
YY_BREAK
case 174:
YY_RULE_SETUP
#line 586 "cfg.lex"
{ count(); yylval.intval=1; return NUMBER; }
YY_BREAK
case 175:
YY_RULE_SETUP
#line 587 "cfg.lex"
{ count(); yylval.intval=0; return NUMBER; }
YY_BREAK
case 176:
YY_RULE_SETUP
#line 588 "cfg.lex"
{ count(); yylval.intval=0; return NULLV; }
YY_BREAK
case 177:
YY_RULE_SETUP
#line 589 "cfg.lex"
{ count(); return TCP; }
YY_BREAK
case 178:
YY_RULE_SETUP
#line 590 "cfg.lex"
{ count(); return UDP; }
YY_BREAK
case 179:
YY_RULE_SETUP
#line 591 "cfg.lex"
{ count(); return TLS; }
YY_BREAK
case 180:
YY_RULE_SETUP
#line 592 "cfg.lex"
{ count(); yylval.intval=AF_INET; return NUMBER; }
YY_BREAK
case 181:
YY_RULE_SETUP
#line 593 "cfg.lex"
{ count();
#ifdef USE_IPV6
yylval.intval=AF_INET6;
#else
yylval.intval=-1; /* no match*/
#endif
return NUMBER; }
YY_BREAK
case 182:
YY_RULE_SETUP
#line 600 "cfg.lex"
{ count(); yylval.strval=yytext; return SSLv23; }
YY_BREAK
case 183:
YY_RULE_SETUP
#line 601 "cfg.lex"
{ count(); yylval.strval=yytext; return SSLv2; }
YY_BREAK
case 184:
YY_RULE_SETUP
#line 602 "cfg.lex"
{ count(); yylval.strval=yytext; return SSLv3; }
YY_BREAK
case 185:
YY_RULE_SETUP
#line 603 "cfg.lex"
{ count(); yylval.strval=yytext; return TLSv1; }
YY_BREAK
case 186:
YY_RULE_SETUP
#line 605 "cfg.lex"
{ count(); return COMMA; }
YY_BREAK
case 187:
YY_RULE_SETUP
#line 606 "cfg.lex"
{ count(); return SEMICOLON; }
YY_BREAK
case 188:
YY_RULE_SETUP
#line 607 "cfg.lex"
{ count(); return COLON; }
YY_BREAK
case 189:
YY_RULE_SETUP
#line 608 "cfg.lex"
{ count(); return RPAREN; }
YY_BREAK
case 190:
YY_RULE_SETUP
#line 609 "cfg.lex"
{ count(); return LPAREN; }
YY_BREAK
case 191:
YY_RULE_SETUP
#line 610 "cfg.lex"
{ count(); return LBRACE; }
YY_BREAK
case 192:
YY_RULE_SETUP
#line 611 "cfg.lex"
{ count(); return RBRACE; }
YY_BREAK
case 193:
YY_RULE_SETUP
#line 612 "cfg.lex"
{ count(); return LBRACK; }
YY_BREAK
case 194:
YY_RULE_SETUP
#line 613 "cfg.lex"
{ count(); return RBRACK; }
YY_BREAK
case 195:
YY_RULE_SETUP
#line 614 "cfg.lex"
{ count(); return DOT; }
YY_BREAK
case 196:
YY_RULE_SETUP
#line 615 "cfg.lex"
{count(); } /* eat the escaped CR */
YY_BREAK
case 197:
YY_RULE_SETUP
#line 616 "cfg.lex"
{ count();/* return CR;*/ }
YY_BREAK
case 198:
YY_RULE_SETUP
#line 617 "cfg.lex"
{ count(); return ANY; }
YY_BREAK
case 199:
YY_RULE_SETUP
#line 618 "cfg.lex"
{ count(); return SLASH; }
YY_BREAK
case 200:
YY_RULE_SETUP
#line 620 "cfg.lex"
{ count(); np=0; state=SCRIPTVAR_S;
svar_tlen = yyleng;
yymore();
BEGIN(SCRIPTVARS);
}
YY_BREAK
case 201:
YY_RULE_SETUP
#line 625 "cfg.lex"
{ count(); np++; yymore(); svar_tlen = yyleng; }
YY_BREAK
case 202:
YY_RULE_SETUP
#line 626 "cfg.lex"
{
count();
if(np==0 || np==1) {
if(np==0)
{
addstr(&s_buf, yytext, yyleng-1);
unput(yytext[yyleng-1]);
yyleng--;
} else {
addstr(&s_buf, yytext, yyleng);
np--;
}
state=INITIAL_S;
BEGIN(INITIAL);
yylval.strval=s_buf.s;
memset(&s_buf, 0, sizeof(s_buf));
return SCRIPTVAR;
} else {
np--;
yymore();
svar_tlen = yyleng;
}
}
YY_BREAK
case 203:
YY_RULE_SETUP
#line 649 "cfg.lex"
{
count();
if(np==0) {
addstr(&s_buf, yytext, yyleng-1);
unput(yytext[yyleng-1]);
yyleng--;
state=INITIAL_S;
BEGIN(INITIAL);
yylval.strval=s_buf.s;
memset(&s_buf, 0, sizeof(s_buf));
return SCRIPTVAR;
} else {
yymore();
svar_tlen = yyleng;
}
}
YY_BREAK
case 204:
YY_RULE_SETUP
#line 665 "cfg.lex"
{
count();
if(np==0) {
addstr(&s_buf, yytext, svar_tlen);
while(yyleng>svar_tlen) {
unput(yytext[yyleng-1]);
yyleng--;
}
state=INITIAL_S;
BEGIN(INITIAL);
yylval.strval=s_buf.s;
memset(&s_buf, 0, sizeof(s_buf));
return SCRIPTVAR;
} else {
yymore();
svar_tlen = yyleng;
}
}
YY_BREAK
case 205:
YY_RULE_SETUP
#line 683 "cfg.lex"
{ yymore(); svar_tlen = yyleng; }
YY_BREAK
case 206:
YY_RULE_SETUP
#line 685 "cfg.lex"
{ count(); state=STRING_S; BEGIN(STRING1); }
YY_BREAK
case 207:
YY_RULE_SETUP
#line 686 "cfg.lex"
{ count(); state=STRING_S; BEGIN(STRING2); }
YY_BREAK
case 208:
YY_RULE_SETUP
#line 689 "cfg.lex"
{ count(); state=INITIAL_S; BEGIN(INITIAL);
yytext[yyleng-1]=0; yyleng--;
addstr(&s_buf, yytext, yyleng);
yylval.strval=s_buf.s;
memset(&s_buf, 0, sizeof(s_buf));
return STRING;
}
YY_BREAK
case 209:
YY_RULE_SETUP
#line 696 "cfg.lex"
{ count(); state=INITIAL_S; BEGIN(INITIAL);
yytext[yyleng-1]=0; yyleng--;
addstr(&s_buf, yytext, yyleng);
yylval.strval=s_buf.s;
memset(&s_buf, 0, sizeof(s_buf));
return STRING;
}
YY_BREAK
case 210:
YY_RULE_SETUP
#line 703 "cfg.lex"
{ yymore(); }
YY_BREAK
case 211:
YY_RULE_SETUP
#line 705 "cfg.lex"
{ count(); addchar(&s_buf, '\n'); }
YY_BREAK
case 212:
YY_RULE_SETUP
#line 706 "cfg.lex"
{ count(); addchar(&s_buf, '\r'); }
YY_BREAK
case 213:
YY_RULE_SETUP
#line 707 "cfg.lex"
{ count(); addchar(&s_buf, '\a'); }
YY_BREAK
case 214:
YY_RULE_SETUP
#line 708 "cfg.lex"
{ count(); addchar(&s_buf, '\t'); }
YY_BREAK
case 215:
YY_RULE_SETUP
#line 709 "cfg.lex"
{ count(); addchar(&s_buf, '"'); }
YY_BREAK
case 216:
YY_RULE_SETUP
#line 710 "cfg.lex"
{ count(); addchar(&s_buf, '\\'); }
YY_BREAK
case 217:
YY_RULE_SETUP
#line 711 "cfg.lex"
{ count(); addchar(&s_buf,
(char)strtol(yytext+2, 0, 16)); }
YY_BREAK
/* don't allow \[0-7]{1}, it will eat the backreferences from
subst_uri if allowed (although everybody should use '' in subt_uri) */
case 218:
YY_RULE_SETUP
#line 715 "cfg.lex"
{ count(); addchar(&s_buf,
(char)strtol(yytext+1, 0, 8)); }
YY_BREAK
case 219:
YY_RULE_SETUP
#line 717 "cfg.lex"
{ count(); } /* eat escaped CRs */
YY_BREAK
case 220:
YY_RULE_SETUP
#line 718 "cfg.lex"
{ count();addchar(&s_buf, *yytext); }
YY_BREAK
case 221:
YY_RULE_SETUP
#line 719 "cfg.lex"
{ addchar(&s_buf, *yytext); }
YY_BREAK
case 222:
YY_RULE_SETUP
#line 722 "cfg.lex"
{ count(); comment_nest++; state=COMMENT_S;
BEGIN(COMMENT); }
YY_BREAK
case 223:
YY_RULE_SETUP
#line 724 "cfg.lex"
{ count(); comment_nest--;
if (comment_nest==0){
state=INITIAL_S;
BEGIN(INITIAL);
}
}
YY_BREAK
case 224:
YY_RULE_SETUP
#line 730 "cfg.lex"
{ count(); };
YY_BREAK
case 225:
YY_RULE_SETUP
#line 732 "cfg.lex"
{ count(); }
YY_BREAK
case 226:
YY_RULE_SETUP
#line 734 "cfg.lex"
{ count(); addstr(&s_buf, yytext, yyleng);
yylval.strval=s_buf.s;
memset(&s_buf, 0, sizeof(s_buf));
return ID; }
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(STRING1):
case YY_STATE_EOF(STRING2):
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(COMMENT_LN):
case YY_STATE_EOF(SCRIPTVARS):
#line 740 "cfg.lex"
{
switch(state){
case STRING_S:
LOG(L_CRIT, "ERROR: cfg. parser: unexpected EOF in"
" unclosed string\n");
if (s_buf.s){
pkg_free(s_buf.s);
memset(&s_buf, 0,
sizeof(s_buf));
}
break;
case COMMENT_S:
LOG(L_CRIT, "ERROR: cfg. parser: unexpected EOF:"
" %d comments open\n", comment_nest);
break;
case COMMENT_LN_S:
LOG(L_CRIT, "ERROR: unexpected EOF:"
"comment line open\n");
break;
}
return 0;
}
YY_BREAK
case 227:
YY_RULE_SETUP
#line 763 "cfg.lex"
ECHO;
YY_BREAK
#line 2973 "lex.yy.c"
case YY_END_OF_BUFFER:
{
/* Amount of text matched not including the EOB char. */
int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
/* Undo the effects of YY_DO_BEFORE_ACTION. */
*yy_cp = yy_hold_char;
YY_RESTORE_YY_MORE_OFFSET
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
{
/* 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
* consistency between yy_current_buffer and our
* 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.
*/
yy_n_chars = yy_current_buffer->yy_n_chars;
yy_current_buffer->yy_input_file = yyin;
yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
}
/* 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().
*/
if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
{ /* This was really a NUL. */
yy_state_type yy_next_state;
yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
/* 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 );
yy_bp = yytext_ptr + YY_MORE_ADJ;
if ( yy_next_state )
{
/* Consume the NUL. */
yy_cp = ++yy_c_buf_p;
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
yy_cp = yy_c_buf_p;
goto yy_find_action;
}
}
else switch ( yy_get_next_buffer() )
{
case EOB_ACT_END_OF_FILE:
{
yy_did_buffer_switch_on_eof = 0;
if ( yywrap() )
{
/* 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.
*/
yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
yy_act = YY_STATE_EOF(YY_START);
goto do_action;
}
else
{
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
}
break;
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p =
yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
yy_c_buf_p =
&yy_current_buffer->yy_ch_buf[yy_n_chars];
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
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 */
} /* end of yylex */
/* 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
*/
static int yy_get_next_buffer()
{
register char *dest = yy_current_buffer->yy_ch_buf;
register char *source = yytext_ptr;
register int number_to_move, i;
int ret_val;
if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
if ( yy_current_buffer->yy_fill_buffer == 0 )
{ /* Don't try to fill the buffer, so this is an EOF. */
if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
{
/* 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. */
number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
/* don't do the read, it's not guaranteed to return an EOF,
* just force an EOF
*/
yy_current_buffer->yy_n_chars = yy_n_chars = 0;
else
{
int num_to_read =
yy_current_buffer->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
#ifdef YY_USES_REJECT
YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
#else
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = yy_current_buffer;
int yy_c_buf_p_offset =
(int) (yy_c_buf_p - b->yy_ch_buf);
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. */
yy_flex_realloc( (void *) b->yy_ch_buf,
b->yy_buf_size + 2 );
}
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" );
yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = yy_current_buffer->yy_buf_size -
number_to_move - 1;
#endif
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
yy_n_chars, num_to_read );
yy_current_buffer->yy_n_chars = yy_n_chars;
}
if ( yy_n_chars == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
yyrestart( yyin );
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
yy_current_buffer->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
yy_n_chars += number_to_move;
yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
return ret_val;
}
/* yy_get_previous_state - get the state just before the EOB char was reached */
static yy_state_type yy_get_previous_state()
{
register yy_state_type yy_current_state;
register char *yy_cp;
yy_current_state = yy_start;
for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 1487 )
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;
}
/* yy_try_NUL_trans - try to make a transition on the NUL character
*
* synopsis
* next_state = yy_try_NUL_trans( current_state );
*/
#ifdef YY_USE_PROTOS
static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
#else
static yy_state_type yy_try_NUL_trans( yy_current_state )
yy_state_type yy_current_state;
#endif
{
register int yy_is_jam;
register char *yy_cp = yy_c_buf_p;
register YY_CHAR yy_c = 1;
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 1487 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 1486);
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_UNPUT
#ifdef YY_USE_PROTOS
static void yyunput( int c, register char *yy_bp )
#else
static void yyunput( c, yy_bp )
int c;
register char *yy_bp;
#endif
{
register char *yy_cp = yy_c_buf_p;
/* undo effects of setting up yytext */
*yy_cp = yy_hold_char;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
/* +2 for EOB chars. */
register int number_to_move = yy_n_chars + 2;
register char *dest = &yy_current_buffer->yy_ch_buf[
yy_current_buffer->yy_buf_size + 2];
register char *source =
&yy_current_buffer->yy_ch_buf[number_to_move];
while ( source > yy_current_buffer->yy_ch_buf )
*--dest = *--source;
yy_cp += (int) (dest - source);
yy_bp += (int) (dest - source);
yy_current_buffer->yy_n_chars =
yy_n_chars = yy_current_buffer->yy_buf_size;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
YY_FATAL_ERROR( "flex scanner push-back overflow" );
}
*--yy_cp = (char) c;
yytext_ptr = yy_bp;
yy_hold_char = *yy_cp;
yy_c_buf_p = yy_cp;
}
#endif /* ifndef YY_NO_UNPUT */
#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif
{
int c;
*yy_c_buf_p = yy_hold_char;
if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
{
/* 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.
*/
if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
/* This was really a NUL. */
*yy_c_buf_p = '\0';
else
{ /* need more input */
int offset = yy_c_buf_p - yytext_ptr;
++yy_c_buf_p;
switch ( yy_get_next_buffer() )
{
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. */
yyrestart( yyin );
/* fall through */
case EOB_ACT_END_OF_FILE:
{
if ( yywrap() )
return EOF;
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput();
#else
return input();
#endif
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p = yytext_ptr + offset;
break;
}
}
}
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;
return c;
}
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )
#else
void yyrestart( input_file )
FILE *input_file;
#endif
{
if ( ! yy_current_buffer )
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
yy_init_buffer( yy_current_buffer, input_file );
yy_load_buffer_state();
}
#ifdef YY_USE_PROTOS
void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
#else
void yy_switch_to_buffer( new_buffer )
YY_BUFFER_STATE new_buffer;
#endif
{
if ( yy_current_buffer == new_buffer )
return;
if ( yy_current_buffer )
{
/* Flush out information for old buffer. */
*yy_c_buf_p = yy_hold_char;
yy_current_buffer->yy_buf_pos = yy_c_buf_p;
yy_current_buffer->yy_n_chars = yy_n_chars;
}
yy_current_buffer = new_buffer;
yy_load_buffer_state();
/* 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.
*/
yy_did_buffer_switch_on_eof = 1;
}
#ifdef YY_USE_PROTOS
void yy_load_buffer_state( void )
#else
void yy_load_buffer_state()
#endif
{
yy_n_chars = yy_current_buffer->yy_n_chars;
yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
yyin = yy_current_buffer->yy_input_file;
yy_hold_char = *yy_c_buf_p;
}
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
#else
YY_BUFFER_STATE yy_create_buffer( file, size )
FILE *file;
int size;
#endif
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
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.
*/
b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
yy_init_buffer( b, file );
return b;
}
#ifdef YY_USE_PROTOS
void yy_delete_buffer( YY_BUFFER_STATE b )
#else
void yy_delete_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( ! b )
return;
if ( b == yy_current_buffer )
yy_current_buffer = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
yy_flex_free( (void *) b->yy_ch_buf );
yy_flex_free( (void *) b );
}
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#endif
#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
#else
void yy_init_buffer( b, file )
YY_BUFFER_STATE b;
FILE *file;
#endif
{
yy_flush_buffer( b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
#if YY_ALWAYS_INTERACTIVE
b->yy_is_interactive = 1;
#else
#if YY_NEVER_INTERACTIVE
b->yy_is_interactive = 0;
#else
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
#endif
#endif
}
#ifdef YY_USE_PROTOS
void yy_flush_buffer( YY_BUFFER_STATE b )
#else
void yy_flush_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( ! b )
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;
if ( b == yy_current_buffer )
yy_load_buffer_state();
}
#ifndef YY_NO_SCAN_BUFFER
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
#else
YY_BUFFER_STATE yy_scan_buffer( base, size )
char *base;
yy_size_t size;
#endif
{
YY_BUFFER_STATE b;
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;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
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;
yy_switch_to_buffer( b );
return b;
}
#endif
#ifndef YY_NO_SCAN_STRING
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
#else
YY_BUFFER_STATE yy_scan_string( yy_str )
yyconst char *yy_str;
#endif
{
int len;
for ( len = 0; yy_str[len]; ++len )
;
return yy_scan_bytes( yy_str, len );
}
#endif
#ifndef YY_NO_SCAN_BYTES
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
#else
YY_BUFFER_STATE yy_scan_bytes( bytes, len )
yyconst char *bytes;
int len;
#endif
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
int i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = len + 2;
buf = (char *) yy_flex_alloc( n );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
for ( i = 0; i < len; ++i )
buf[i] = bytes[i];
buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
b = yy_scan_buffer( buf, n );
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;
}
#endif
#ifndef YY_NO_PUSH_STATE
#ifdef YY_USE_PROTOS
static void yy_push_state( int new_state )
#else
static void yy_push_state( new_state )
int new_state;
#endif
{
if ( yy_start_stack_ptr >= yy_start_stack_depth )
{
yy_size_t new_size;
yy_start_stack_depth += YY_START_STACK_INCR;
new_size = yy_start_stack_depth * sizeof( int );
if ( ! yy_start_stack )
yy_start_stack = (int *) yy_flex_alloc( new_size );
else
yy_start_stack = (int *) yy_flex_realloc(
(void *) yy_start_stack, new_size );
if ( ! yy_start_stack )
YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
}
yy_start_stack[yy_start_stack_ptr++] = YY_START;
BEGIN(new_state);
}
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state()
{
if ( --yy_start_stack_ptr < 0 )
YY_FATAL_ERROR( "start-condition stack underflow" );
BEGIN(yy_start_stack[yy_start_stack_ptr]);
}
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state()
{
return yy_start_stack[yy_start_stack_ptr - 1];
}
#endif
#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif
#ifdef YY_USE_PROTOS
static void yy_fatal_error( yyconst char msg[] )
#else
static void yy_fatal_error( msg )
char msg[];
#endif
{
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
/* Redefine yyless() so it works in section 3 code. */
#undef yyless
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
yytext[yyleng] = yy_hold_char; \
yy_c_buf_p = yytext + n; \
yy_hold_char = *yy_c_buf_p; \
*yy_c_buf_p = '\0'; \
yyleng = n; \
} \
while ( 0 )
/* Internal utility routines. */
#ifndef yytext_ptr
#ifdef YY_USE_PROTOS
static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
#else
static void yy_flex_strncpy( s1, s2, n )
char *s1;
yyconst char *s2;
int n;
#endif
{
register int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#endif
#ifdef YY_NEED_STRLEN
#ifdef YY_USE_PROTOS
static int yy_flex_strlen( yyconst char *s )
#else
static int yy_flex_strlen( s )
yyconst char *s;
#endif
{
register int n;
for ( n = 0; s[n]; ++n )
;
return n;
}
#endif
#ifdef YY_USE_PROTOS
static void *yy_flex_alloc( yy_size_t size )
#else
static void *yy_flex_alloc( size )
yy_size_t size;
#endif
{
return (void *) malloc( size );
}
#ifdef YY_USE_PROTOS
static void *yy_flex_realloc( void *ptr, yy_size_t size )
#else
static void *yy_flex_realloc( ptr, size )
void *ptr;
yy_size_t size;
#endif
{
/* 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 );
}
#ifdef YY_USE_PROTOS
static void yy_flex_free( void *ptr )
#else
static void yy_flex_free( ptr )
void *ptr;
#endif
{
free( ptr );
}
#if YY_MAIN
int main()
{
yylex();
return 0;
}
#endif
#line 763 "cfg.lex"
static char* addchar(struct str_buf* dst, char c)
{
return addstr(dst, &c, 1);
}
static char* addstr(struct str_buf* dst_b, char* src, int len)
{
char *tmp;
unsigned size;
unsigned used;
if (dst_b->left<(len+1)){
used=(unsigned)(dst_b->crt-dst_b->s);
size=used+len+1;
/* round up to next multiple */
size+= STR_BUF_ALLOC_UNIT-size%STR_BUF_ALLOC_UNIT;
tmp=pkg_malloc(size);
if (tmp==0) goto error;
if (dst_b->s){
memcpy(tmp, dst_b->s, used);
pkg_free(dst_b->s);
}
dst_b->s=tmp;
dst_b->crt=dst_b->s+used;
dst_b->left=size-used;
}
memcpy(dst_b->crt, src, len);
dst_b->crt+=len;
*(dst_b->crt)=0;
dst_b->left-=len;
return dst_b->s;
error:
LOG(L_CRIT, "ERROR:lex:addstr: memory allocation error\n");
return 0;
}
static void count()
{
int i;
startcolumn=column;
for (i=0; i<yyleng;i++){
if (yytext[i]=='\n'){
line++;
column=startcolumn=1;
}else if (yytext[i]=='\t'){
column++;
/*column+=8 -(column%8);*/
}else{
column++;
}
}
}
int yywrap() { return 1; }
syntax highlighted by Code2HTML, v. 0.9.1