/* 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 170
#define YY_END_OF_BUFFER 171
static yyconst short int yy_accept[1036] =
    {   0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
      171,  170,    1,  149,  116,  150,  170,  117,  151,  141,
      140,  139,  119,  136,  120,  147,  146,  122,  122,  138,
      137,  111,  108,  110,  169,  169,  169,  169,  169,  169,
      144,  170,  145,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  142,  118,  143,  164,  164,  152,  164,  154,
      154,  153,  167,  167,  167,  167,  114,    0,  168,  117,
      165,  124,    0,    0,    0,  122,  121,  113,  109,  115,
      112,  169,  169,  169,  169,  169,  169,  169,  148,  169,

       49,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,   32,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  126,  169,  125,  169,  118,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  118,  163,  159,    0,  160,  157,  155,  156,  158,
        0,  166,  124,    0,    0,  121,  123,  122,  121,  169,
      169,  169,  127,  129,  128,  169,  169,  169,  117,  169,
      169,  169,  169,  169,  169,  169,   57,  169,  169,  169,

      169,  169,  169,  169,  169,  169,  169,  169,  169,   68,
      169,  169,  169,  169,  169,    9,  169,  169,  169,  169,
      169,  169,  169,  169,  116,  126,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  127,  129,  169,  169,
       67,  169,   41,  169,  169,  169,  125,  162,  161,  124,
        0,    0,    0,  121,  122,  121,    0,  169,  130,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,    6,  169,   33,  169,  169,   18,  169,
      169,   88,  169,  169,   52,  169,  169,  169,  130,  169,

      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,    0,  169,  169,  169,   59,  169,  169,  169,  169,
      169,  169,  169,  169,    7,  169,  169,  169,   19,   23,
       21,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,    0,   70,  169,  162,  161,  124,
        0,    0,  121,    0,  122,  121,  121,  131,  133,  134,
      133,  135,  169,  169,  169,   56,  169,  169,  169,  169,
       51,  169,  169,  169,  169,   10,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,    0,  169,  169,  169,  169,

       48,  169,  169,  169,  169,  169,   15,  169,  169,  169,
      169,  169,   20,  169,   22,  169,  169,  169,  169,  169,
      169,  133,  169,  169,   27,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
        0,    0,  169,    0,    0,    0,  121,  121,  121,  121,
        0,  132,  169,  169,  169,  169,  169,  169,   69,  169,
       46,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,   55,  169,  169,  169,  169,  169,  169,  169,
       65,   40,   71,  169,    0,   50,  169,  169,   26,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,

       24,  169,  169,  169,  169,  169,   44,  169,  169,   41,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,   78,   43,  169,  169,
        0,    0,  169,    0,    0,  121,  121,    0,  121,  121,
      169,  169,  169,  169,  169,  169,  126,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,    2,  169,
      169,  169,  169,  169,   39,  169,  169,  169,  169,   14,
      169,  169,  169,  169,   58,  169,  169,  169,  169,  169,
       11,   19,   23,   21,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,

      169,  169,  169,  169,  169,  169,  169,    0,    0,    0,
        0,    0,  121,  121,  121,  121,    0,  169,  169,  169,
      169,  169,   62,  169,   47,  169,  169,   89,  169,  169,
      169,  169,  169,  169,  169,  169,   42,  169,  169,  169,
      169,  169,  169,  169,  107,  169,  169,  169,  169,  169,
      169,  169,  169,    8,  169,  169,  169,  169,  169,  169,
      169,  169,  169,   45,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,   37,   38,    0,    0,  121,  121,    0,  121,
      121,   30,  169,  169,  169,   63,  169,  169,  169,  169,

      169,   91,   92,  169,  169,  169,  169,  169,   13,  169,
      169,  169,   61,  169,  105,  169,  169,  169,   12,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,   94,  169,    0,
        0,    0,  121,  121,  121,  121,    0,  169,  169,  169,
      169,  169,  169,  169,  169,   93,  169,  169,  169,  169,
      169,  169,  106,  169,  169,  169,  169,  169,  169,   25,
      169,  169,  169,  169,  169,  169,  169,  169,  169,   60,
       28,   64,  169,  169,  169,  169,  169,  169,  169,   80,

      169,  169,  169,  169,   81,  169,  169,    0,    0,  121,
      121,    0,  121,  121,  169,  169,  169,  169,   72,   77,
      169,   90,  169,  169,    3,    4,    5,  169,  169,  169,
      169,  169,  169,   19,   21,   98,  169,  169,   66,  169,
      169,  169,  169,   85,  169,  169,   79,  169,  169,  169,
      169,  169,    0,    0,    0,  121,  121,  121,  121,    0,
      169,  169,  169,  169,  169,  169,  169,  169,   54,   53,
      169,  169,  169,   99,  169,  169,  169,  169,  169,   73,
      169,  169,  169,  169,  169,  169,  169,  169,  169,    0,
        0,  121,  121,    0,  121,  121,   31,  169,  169,   29,

      169,   17,  169,  169,  169,   16,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      169,    0,    0,    0,  121,  121,  121,  121,    0,  169,
      169,  169,  169,  169,  104,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
        0,  121,  121,  121,    0,  121,  121,  169,  101,  169,
      169,  169,  169,  169,  169,  169,  169,   83,  169,   84,
      169,  169,  169,   96,    0,  121,  121,  121,  121,  121,
      169,  169,  169,  103,   97,  169,  169,  169,  169,   75,
      169,  169,   87,  169,  121,  121,  121,  121,  169,  102,

       36,  169,  169,  169,  169,  169,  169,  169,  121,  121,
      121,  100,  169,  169,   74,  169,  169,  169,   95,  121,
      169,   35,   76,  169,  169,  169,  169,  169,  169,   86,
      169,   34,  169,   82,    0
    } ;

static yyconst int yy_ec[256] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    2,    2,    3,
        1,    1,    2,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    2,    4,    5,    6,    1,    1,    7,    8,    9,
       10,   11,   12,   13,   14,   15,   16,   17,   18,   19,
       20,   21,   21,   22,   21,   23,   23,   24,   25,   26,
       27,   28,    1,    1,   29,   29,   30,   31,   32,   29,
       33,   33,   34,   33,   33,   35,   33,   36,   33,   37,
       33,   33,   38,   39,   40,   41,   33,   33,   33,   33,
       42,   43,   44,    1,   45,    1,   46,   47,   48,   49,

       50,   51,   52,   53,   54,   33,   55,   56,   57,   58,
       59,   60,   61,   62,   63,   64,   65,   66,   67,   68,
       69,   33,   70,   71,   72,   73,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    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[74] =
    {   0,
        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,    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
    } ;

static yyconst short int yy_base[1130] =
    {   0,
        0,    0,   72,   73,   74,   77,   78,   79,    0,    0,
     1403, 1404, 1404, 1404, 1375, 1404, 1398, 1393, 1404, 1404,
     1404, 1404, 1404, 1404, 1404, 1404, 1388,  100,   84, 1374,
     1404, 1370,   60, 1369,  152,  205, 1359, 1356,   53, 1362,
     1404, 1389, 1404,   85, 1329, 1337,  103,  182,   38,   37,
       35,   54,  211, 1330,   77,   50,  104,  213,  183,  229,
      118, 1338, 1404, 1316, 1404, 1404, 1404, 1404,  290, 1404,
     1404, 1404, 1404, 1404, 1370, 1374, 1404, 1381, 1404, 1404,
     1404,  279, 1359, 1358,    0,  296,    0, 1404, 1404, 1404,
     1404,  342,    0, 1349, 1345, 1342, 1340, 1340, 1404,   61,

        0, 1322, 1326, 1314, 1323,  219, 1325, 1308, 1307, 1310,
     1304, 1304, 1320, 1303, 1314,   84,  104, 1301, 1303, 1312,
     1301,    0, 1309, 1307, 1294,  110, 1288, 1309,  184, 1295,
     1304, 1300, 1288, 1286, 1298, 1286, 1297,    0, 1284,  199,
      261, 1280,  204, 1284, 1295, 1294, 1285,   80, 1282, 1279,
     1275, 1292, 1271, 1275, 1285, 1279, 1278, 1281, 1276, 1267,
     1265, 1404, 1404, 1404,  320, 1404, 1404, 1404, 1404, 1404,
        0, 1404,  358, 1303, 1302,    0,    0,  377, 1301,  385,
     1285,  205,    0,  219,    0, 1278, 1272, 1275,    0, 1270,
     1273, 1270, 1261, 1257, 1250, 1268,    0, 1253, 1267, 1261,

     1263, 1250, 1260, 1251, 1243, 1246, 1254,  277, 1246,    0,
     1237, 1237, 1244, 1235, 1249, 1252,  133, 1233,   69, 1242,
     1237, 1233, 1268, 1241,    0,    0, 1240, 1231, 1224, 1236,
     1222, 1229, 1234,  114, 1221, 1218, 1232, 1214,  377, 1234,
     1223, 1232, 1210, 1211, 1220, 1228, 1227,  289, 1206, 1220,
        0, 1201, 1244, 1205, 1204, 1210,    0,  426,    0,  432,
     1240, 1239, 1238, 1237,  440, 1236,    0, 1235, 1236,  175,
      213, 1239, 1238,  222, 1193, 1191, 1195, 1197, 1196, 1201,
     1190, 1196, 1200,    0,  234,    0, 1190, 1183,    0, 1179,
     1193, 1197, 1196, 1190,    0, 1193, 1193, 1177, 1214, 1189,

     1184, 1176,  239, 1176, 1166, 1166, 1173, 1169, 1168, 1176,
     1179, 1168, 1167, 1162, 1176,    0, 1166, 1160, 1149, 1153,
     1167, 1153, 1160, 1163, 1167, 1161, 1164, 1153,  245, 1149,
      287, 1140, 1161,  269,  311,  281, 1145, 1157,  305,  417,
     1144, 1184, 1139, 1155,  358,    0, 1150, 1404, 1404,  467,
     1174, 1173, 1172,    0,  473, 1171, 1170,    0, 1173,    0,
     1172,    0, 1131, 1142, 1125,    0, 1139, 1142, 1124, 1121,
        0, 1128, 1123, 1123, 1131,    0, 1118,  448, 1122, 1133,
     1115, 1111, 1123, 1116, 1114, 1126, 1107, 1120, 1118, 1123,
     1108, 1114, 1116, 1115, 1101, 1112, 1110, 1104, 1108, 1090,

        0, 1112, 1105, 1097, 1090, 1089,    0, 1088, 1089, 1101,
     1103, 1085,    0, 1085,    0, 1092, 1095, 1098,  446, 1083,
     1083, 1121, 1077, 1076, 1093, 1075, 1088,  328, 1085,  197,
     1088, 1074, 1082,  307, 1081, 1080, 1079, 1076, 1073,  293,
     1067, 1066, 1070, 1099, 1098, 1097, 1096, 1095, 1094, 1093,
        0,    0, 1057, 1055, 1060, 1068, 1046, 1061,    0, 1060,
        0, 1047, 1058,  365, 1045, 1047, 1042, 1045,  321, 1054,
     1040, 1038,    0, 1051, 1051, 1049, 1039, 1045,  357, 1043,
        0,    0,    0, 1048, 1035,    0, 1023, 1037,    0, 1026,
     1033, 1025, 1042, 1036, 1037, 1039, 1017, 1030, 1017, 1016,

        0, 1017, 1016, 1015, 1017, 1012,    0, 1012, 1009,    0,
     1008, 1025, 1022, 1015, 1010, 1009, 1021, 1003, 1006, 1011,
      998,  999, 1006,  998, 1000,  995,    0,    0,  997,  987,
      991,  991,  990, 1027, 1026, 1025, 1024,    0, 1023, 1022,
      983,  999,  980,  995,  987,  982,  994,  974,  992,  991,
      973,  975,  984,  982,  982,  970,  979,  980,  982,  972,
      975,  959,  969,  972,    0,  971,  961,  955,  961, 1404,
      972,  960,  956,  968,    0,  948,  416,  952,  362,  961,
        0,  950,    0,  949,  950,  948,  957,  955,  940,  949,
      956,  943,  950,  943,  940,  948,  940,  931,  945,  940,

      928,  925,  925,  940,  934,  939,  941,  921,  920,  959,
      958,  957,  956,  955,  954,  953,    0,  912,  929,  924,
      911,  926,    0,  258,    0,  909,  905,    0,  904,  918,
      905,  916,  906,  906,  903,  345,    0,  898,  905,  904,
      897,  896,  898,  900,    0,  893,  904,  908,  900,  889,
      891,  890,  361,    0,  902,  893,  884,  886,  898,  889,
      877,  891,  878,    0,  891,  884,  889,  876,  886,  884,
      888,  878,  877,  867,  870,  883,  881,  872,  880,  873,
      868,  858, 1404, 1404,  897,  896,  895,  894,    0,  893,
      892,    0,  859,  865,  867,    0,  853,  419,  852,  848,

      849,    0,    0,  846,  858,  861,  451,  856,    0,   46,
       57,   82,    0,   98,    0,  120,  133,  164,    0,  211,
      216,  227,  272,  293,  310,  318,  322,  364,  364,  371,
      378,  376,  384,  388,  391,  404,  420,  407,  409,  427,
      429,  452,  444,  440,  444,  444,  440,  465,  458,  490,
      491,  492,  493,  494,  495,  496,    0,  467,  477,  465,
      462,  465,  463,  462,  472,    0,  465,  485,  485,  472,
      470,  474,    0,  471,  477,  490,  473,  494,  486,    0,
      477,  478,  481,  494,  487,  492,  483,  485,  497,    0,
        0,    0,  505,  501,  488,  499,  490,  501,  510,    0,

      498,  508,  509,  506,    0,  513,  505,  539,  540,  541,
      542,    0,  543,  544,  523,  524,  523,  522,    0,    0,
      509,    0,  511,  519,    0,    0,    0,  507,  515,  532,
      515,  524,  535,  522,  523,    0,  539,  523,    0,  541,
      530,  544,  533,    0,  543,  537,    0,  548,  549,  538,
      543,  547,  574,  575,  576,  577,  578,  579,  580,    0,
      542,  557,  548,  555,  564,  560,  552,  558,    0,    0,
      565,  564,  561,    0,  557,  571,  554,  569,  564,    0,
      557,  572,  577,  574,  570,  578,  577,  574,  570,  606,
      607,  608,  609,    0,  610,  611,    0,  587,  575,    0,

      589,    0,  591,  594,  586,    0,  585,  581,  581,  580,
      597,  593,  594,  590,  586,  606,  602,  603,  595,  599,
      591,  633,  634,  635,  636,  637,  638,  639,    0,  602,
      601,  601,  612,  605,    0,  615,  606,  608,  610,  628,
      628,  618,  611,  627,  614,  610,  618,  616,  633,  619,
      660,    0,  661,  662,    0,  663,    0,  638,    0,  632,
      640,  627,  642,  647,  631,  645,  632,    0,  643,    0,
      634,  635,  638,    0,  677,    0,  678,    0,  679,    0,
      641,  645,  642,    0,    0,  659,  650,  660,  652,    0,
      655,  659,    0,  664,    0,  691,    0,    0,  653,    0,

        0,  668,  656,  656,  655,  671,  671,  665, 1404,    0,
     1404,    0,  662,  661,    0,  662,  668,  674,    0, 1404,
      679,    0,    0,  665,  683,  669,  669,  688,  672,    0,
      672,    0,  687,    0, 1404,  737,  740,  743,  746,  749,
      751,  753,  755,  756,  757,  758,  760,  762,  763,  765,
      766,  768,  770,  772,  774,  775,  777,  779,  781,  782,
      784,  786,  788,  790,  792,  794,  796,  797,  799,  801,
      803,  804,  806,  808,  810,  812,  814,  816,  818,  819,
      821,  823,  825,  826,  828,  830,  832,  834,  836,  838,
      840,  841,  843,  845,  847,  848,  850,  852,  854,  856,

      858,  860,  862,  863,  865,  867,  869,  870,  872,  874,
      876,  878,  880,  882,  884,  885,  887,  888,  890,  891,
      893,  894,  895,  897,  898,  899,  900,  901,  902
    } ;

static yyconst short int yy_def[1130] =
    {   0,
     1035,    1, 1036, 1036, 1037, 1037, 1038, 1038, 1039, 1039,
     1035, 1035, 1035, 1035, 1035, 1035, 1040, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,   28, 1035,
     1035, 1035, 1035, 1035, 1035,   35,   36,   36,   36,   36,
     1035, 1035, 1035,   35,   35,   35,   35,   35,   35,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1040, 1035, 1035,
     1035, 1041, 1041, 1042, 1043, 1041, 1044, 1035, 1035, 1035,
     1035,   35,   36,   36,   36,   36,   36,   36, 1035,   92,

       92,   36,   36,   36,   36,   36,   92,   36,   36,   36,
       36,   36,   36,   36,   36,   92,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1045, 1035, 1046, 1046, 1047, 1048, 1043, 1046, 1049,   92,
       36,   36,   36,   36,   36,  180,   36,   36,   36,   36,
       36,   36,   36,   36,  180,   36,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36, 1035, 1050, 1035,
     1035, 1051, 1052, 1053, 1035, 1054, 1055,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36, 1035,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36, 1035,   36,   36, 1035, 1035, 1035,
     1056, 1057, 1058, 1059, 1035, 1060, 1061,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36, 1035,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
     1035, 1035,   36, 1035, 1062, 1063, 1064, 1065, 1035, 1066,
     1067,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36, 1035,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
     1035, 1035,   36, 1068, 1069, 1035, 1070, 1071, 1072, 1073,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36, 1035,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36, 1035, 1035, 1035,
     1074, 1075, 1076, 1077, 1035, 1078, 1079,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36, 1035, 1035, 1080, 1081, 1035, 1082, 1083, 1084,
     1085,   36,   36,   36,   36,   36,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36, 1035,
     1086, 1087, 1088, 1089, 1035, 1090, 1091,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36, 1092, 1093, 1035,
     1094, 1095, 1096, 1097,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36, 1035, 1098, 1099, 1100, 1101, 1035, 1102, 1103,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36, 1104,
     1105, 1035, 1106, 1107, 1108, 1109,   36,   36,   36,   36,

       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36, 1035, 1110, 1111, 1112, 1113, 1035, 1114, 1115,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
     1116, 1117, 1035, 1118, 1119, 1120, 1121,   36,   36,   36,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36, 1035, 1122, 1123, 1124, 1035, 1125,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36, 1126, 1035, 1127, 1128,   36,   36,

       36,   36,   36,   36,   36,   36,   36,   36, 1035, 1129,
     1035,   36,   36,   36,   36,   36,   36,   36,   36, 1035,
       36,   36,   36,   36,   36,   36,   36,   36,   36,   36,
       36,   36,   36,   36,    0, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,

     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035
    } ;

static yyconst short int yy_nxt[1478] =
    {   0,
       12,   13,   14,   15,   16,   17,   18,   19,   20,   21,
       22,   23,   24,   25,   26,   27,   28,   29,   29,   29,
       29,   29,   29,   30,   31,   32,   33,   34,   35,   35,
       35,   35,   36,   37,   36,   36,   36,   38,   39,   40,
       36,   41,   42,   43,   12,   44,   45,   46,   47,   48,
       49,   50,   36,   51,   36,   52,   53,   54,   55,   56,
       36,   57,   58,   59,   60,   36,   61,   36,   62,   63,
       64,   65,   12,   67,   67,   71,   68,   68,   71,   74,
       74,   72,   96,  116,   72,  122,   89,   97,   75,   75,
      120,  117,  123,   76,   76,  773,  118,  124,  121,  119,

       86,   86,   86,   86,   86,   86,   86,  125,  139,  186,
      774,  140,  126,  307,   69,   69,   82,   82,   82,   82,
       82,   82,   83,   84,  308,  244,  187,  135,   83,   83,
       83,   83,   90,  100,  136,  101,  137,  204,  138,  205,
      102,  245,  103,  775,  104,   83,   83,   83,   83,   83,
       83, 1035,  107,  141,  206,  215,  108,  776,  321,  207,
      109,  216,  142,  322,  110,  111,  159,   85,   92,   92,
       92,   92,   92,   92,   92,   84,  160,  304,  777,  305,
       92,   92,   92,   92,   93,   93,   93,   93,   93,   93,
       93,   93,   93,  359,  360,  778,   93,   92,   92,   92,

       92,   92,   92,   93,   93,   93,   93,   93,   93,   93,
       93,   93,   93,   93,   93,   93,   93,   93,   93,   93,
       93,   93,   93,   93,   93,   93,   93,   93, 1035,  779,
      150,  361,  360,   93,   93,   93,   93,  112,  151,  113,
      219,  152,  517,  114,  153,  270,  518,  220,  230,  115,
       93,   93,   93,   93,   93,   93,  127,  231,  128,  272,
      129,  237,  143,  130,  780,  238,  144,  239,  192,  131,
      271,  145,  193,  132,  146,  147,  148,  154,  781,  133,
      194,  149,  155,  363,  273,  364,  156,  373,  782,  386,
      157,  158,  163,  374,  164,  173,  173,  173,  173,  173,

      173,  387,   84,  412,  413,  697,  165,  165,  165,  165,
      165,  165,  178,  178,  178,  178,  178,  178,  178,   84,
      232,  698,  420,  233,  294,  501,  234,  235,  421,  422,
      360,  295,  166,  340,  423,  167,  258,  258,  258,  258,
      258,  258,  783,  296,  341,  424,  415,  168,  416,  417,
      427,  169,  428,  170,  342,  529,  530,  171,  180,  180,
      180,  180,  180,  180,  180,  522,  784,  429,  523,  785,
      180,  180,  180,  180,  260,  260,  260,  260,  260,  260,
      514,   84,  556,  557,  558,  786,  515,  180,  180,  180,
      180,  180,  180,  265,  265,  265,  265,  265,  265,  265,

       84,  268,  268,  268,  268,  268,  268,  268,  707,  708,
      441,  550,  567,  268,  268,  268,  268,  442,  551,  655,
      568,  327,  723,  724,  656,  787,  788,  328,  789,  329,
      268,  268,  268,  268,  268,  268,  330,  766,  790,  791,
      792,  331,  348,  348,  348,  348,  348,  348,  350,  350,
      350,  350,  350,  350,  793,   84,  355,  355,  355,  355,
      355,  355,  355,   84,  430,  794,  762,  795,  651,  431,
      796,  797,  432,  433,  763,  652,  434,  798,  435,  436,
      653,  799,  437,  350,  350,  350,  350,  350,  350,  355,
      355,  355,  355,  355,  355,  355,  464,  504,  770,  465,

      800,  801,  505,  802,  466,  803,  771,  804,  805,  806,
      506,  807,  467,  612,  752,  176,  689,  812,  617,  757,
      815,  816,  817,  818,  819,  820,  821,  822,  692,  823,
      824,  825,  826,  827,  828,  829,  830,  831,  832,  833,
      834,  583,  835,  836,  837,  838,  413,  415,  839,  840,
      841,  842,  843,  844,  845,  846,  847,  848,  849,  850,
      851,  852,  752,  855,  689,  812,  757,  860,  861,  862,
      864,  865,  866,  867,  868,  869,  870,  871,  872,  873,
      874,  875,  876,  863,  877,  878,  879,  880,  881,  882,
      883,  884,  885,  886,  887,  888,  889,  752,  855,  176,

      812,  894,  757,  860,  897,  898,  899,  900,  901,  902,
      903,  904,  905,  906,  907,  908,  909,  910,  911,  912,
      913,  914,  915,  916,  917,  918,  919,  920,  921,  855,
      924,  812,  894,  860,  929,  930,  931,  932,  933,  934,
      935,  936,  937,  938,  939,  940,  941,  942,  943,  944,
      945,  946,  947,  948,  949,  950,  855,  924,  176,  894,
      955,  860,  929,  958,  959,  960,  961,  897,  962,  413,
      415,  963,  964,  965,  966,  967,  968,  969,  970,  971,
      972,  973,  974,  924,  894,  955,  929,  981,  982,  983,
      984,  985,  986,  988,  989,  990,  991,  992,  993,  994,

      924,  955,  929,  999, 1000, 1001,  987, 1002, 1003, 1004,
     1005, 1006, 1007, 1008,  955, 1012, 1013, 1014, 1015, 1016,
     1017, 1018, 1019, 1021, 1022, 1023, 1024, 1025, 1026, 1027,
     1028, 1029, 1030, 1031, 1032, 1033, 1034,   66,   66,   66,
       70,   70,   70,   73,   73,   73,   12,   12,   12,   78,
       78,   78,  174,  174,  175,  175,  177,  179,  259,  261,
      261,  262,  262,  264,  266,  266,  349,  351,  351,  352,
      352,  353,  353,  356,  356,  357,  444,  444,  445,  445,
      447,  447,  448,  449,  449,  450,  450,  534,  534,  535,
      535,  536,  536,  537,  537,  539,  539,  540,  610,  610,

      611,  611,  613,  613,  614,  615,  615,  616,  616,  685,
      685,  686,  686,  687,  687,  688,  688,  690,  690,  691,
      750,  750,  751,  751,  753,  753,  754,  755,  755,  756,
      756,  808,  808,  809,  809,  810,  810,  811,  811,  813,
      813,  814,  853,  853,  854,  854,  856,  856,  857,  858,
      858,  859,  859,  890,  890,  891,  891,  892,  892,  893,
      893,  895,  895,  896,  922,  922,  923,  923,  925,  925,
      926,  927,  927,  928,  928,  951,  951,  952,  952,  953,
      953,  954,  954,  956,  956,  957,  975,  975,  976,  977,
      977,  978,  979,  979,  980,  995,  996,  996,  997,  998,

     1009, 1010, 1011, 1020,  772,  769,  768,  767,  766,  765,
      764,  761,  760,  759,  758,  757,  617,  689,  538,  752,
      612,  749,  748,  747,  746,  745,  744,  743,  742,  741,
      740,  739,  738,  737,  736,  735,  734,  733,  732,  703,
      702,  731,  730,  729,  728,  727,  726,  725,  722,  721,
      720,  719,  718,  717,  716,  715,  714,  713,  712,  711,
      710,  709,  706,  705,  704,  702,  703,  702,  701,  700,
      699,  696,  695,  694,  693,  692,  617,  451,  689,  538,
      176,  612,  446,  684,  683,  682,  681,  680,  679,  678,
      677,  676,  675,  674,  673,  672,  671,  670,  669,  668,

      667,  666,  665,  664,  663,  662,  661,  660,  659,  658,
      657,  654,  650,  649,  648,  647,  646,  645,  644,  643,
      642,  641,  640,  639,  638,  637,  636,  635,  634,  633,
      632,  631,  630,  629,  628,  627,  626,  625,  624,  623,
      622,  621,  620,  619,  618,  617,  451,  538,  354,  612,
      446,  346,  609,  608,  607,  606,  605,  604,  603,  602,
      601,  600,  527,  599,  598,  597,  596,  595,  594,  593,
      592,  591,  590,  589,  588,  587,  586,  585,  584,  583,
      582,  581,  580,  579,  578,  577,  576,  575,  574,  573,
      572,  571,  570,  569,  481,  566,  565,  564,  563,  562,

      561,  560,  559,  555,  554,  553,  552,  549,  548,  547,
      546,  545,  544,  543,  542,  541,  451,  267,  538,  354,
      176,  446,  263,  533,  532,  531,  528,  527,  526,  525,
      524,  521,  520,  519,  516,  513,  512,  511,  510,  509,
      452,  508,  507,  503,  502,  501,  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,  463,
      257,  462,  461,  460,  459,  458,  457,  456,  455,  454,
      453,  452,  452,  451,  267,  354,  446,  263,  443,  440,

      439,  362,  438,  426,  425,  419,  418,  414,  411,  410,
      409,  408,  407,  406,  405,  404,  403,  402,  401,  400,
      399,  398,  397,  396,  395,  394,  393,  392,  391,  390,
      389,  388,  385,  384,  383,  358,  210,  382,  381,  380,
      379,  378,  226,  377,  376,  375,  372,  371,  370,  369,
      368,  284,  367,  366,  365,  362,  362,  358,   84,  267,
      354,  176,  263,   84,  347,  346,  251,  345,  344,  257,
      343,  339,  338,  337,  336,  335,  334,  333,  332,  326,
      325,  324,  323,  320,  319,  318,  317,  316,  315,  314,
      313,  312,  311,  310,  309,  306,  303,  302,  301,  300,

      299,  298,  297,  293,  292,  291,  290,  289,  288,  287,
      286,  285,  284,  283,  282,  281,  280,  279,  278,  277,
      276,  275,  274,  269,  267,  263,   84,  257,  256,  255,
      254,  253,  252,  251,  185,  250,  249,  248,  247,  246,
      243,  242,  241,  240,  236,  229,  228,  227,  226,  225,
      224,  223,  222,  221,  218,  217,  214,  213,  212,  211,
      210,  209,  208,  203,  202,  201,  200,  199,  198,  197,
      196,  195,  191,  190,  189,  188,  185,  184,  183,  182,
      181,  176,   84,   79,   81,  172,  162,  161,  134,  106,
      105,   99,   98,   95,   94,   91,   88,   87,   81,   80,

       79,   77, 1035,   11, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035
    } ;

static yyconst short int yy_chk[1478] =
    {   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,    3,    4,    5,    3,    4,    6,    7,
        8,    5,   39,   49,    6,   51,   33,   39,    7,    8,
       50,   49,   51,    7,    8,  710,   49,   51,   50,   49,

       29,   29,   29,   29,   29,   29,   29,   52,   56,  100,
      711,   56,   52,  219,    3,    4,   28,   28,   28,   28,
       28,   28,   28,   28,  219,  148,  100,   55,   28,   28,
       28,   28,   33,   44,   55,   44,   55,  116,   55,  116,
       44,  148,   44,  712,   44,   28,   28,   28,   28,   28,
       28,   29,   47,   57,  117,  126,   47,  714,  234,  117,
       47,  126,   57,  234,   47,   47,   61,   28,   35,   35,
       35,   35,   35,   35,   35,   35,   61,  217,  716,  217,
       35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
       35,   35,   35,  270,  270,  717,   35,   35,   35,   35,

       35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
       35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
       35,   36,   36,   36,   36,   36,   36,   36,   36,  718,
       59,  271,  271,   36,   36,   36,   36,   48,   59,   48,
      129,   59,  430,   48,   59,  182,  430,  129,  140,   48,
       36,   36,   36,   36,   36,   36,   53,  140,   53,  184,
       53,  143,   58,   53,  720,  143,   58,  143,  106,   53,
      182,   58,  106,   53,   58,   58,   58,   60,  721,   53,
      106,   58,   60,  274,  184,  274,   60,  285,  722,  303,
       60,   60,   69,  285,   69,   82,   82,   82,   82,   82,

       82,  303,   82,  329,  329,  624,   69,   69,   69,   69,
       69,   69,   86,   86,   86,   86,   86,   86,   86,   86,
      141,  624,  334,  141,  208,  723,  141,  141,  334,  335,
      335,  208,   69,  248,  336,   69,  165,  165,  165,  165,
      165,  165,  724,  208,  248,  336,  331,   69,  331,  331,
      339,   69,  339,   69,  248,  440,  440,   69,   92,   92,
       92,   92,   92,   92,   92,  434,  725,  339,  434,  726,
       92,   92,   92,   92,  173,  173,  173,  173,  173,  173,
      428,  173,  469,  469,  469,  727,  428,   92,   92,   92,
       92,   92,   92,  178,  178,  178,  178,  178,  178,  178,

      178,  180,  180,  180,  180,  180,  180,  180,  636,  636,
      345,  464,  479,  180,  180,  180,  180,  345,  464,  579,
      479,  239,  653,  653,  579,  728,  729,  239,  730,  239,
      180,  180,  180,  180,  180,  180,  239,  731,  732,  733,
      734,  239,  258,  258,  258,  258,  258,  258,  260,  260,
      260,  260,  260,  260,  735,  260,  265,  265,  265,  265,
      265,  265,  265,  265,  340,  736,  698,  737,  577,  340,
      738,  739,  340,  340,  698,  577,  340,  740,  340,  340,
      577,  741,  340,  350,  350,  350,  350,  350,  350,  355,
      355,  355,  355,  355,  355,  355,  378,  419,  707,  378,

      742,  743,  419,  744,  378,  745,  707,  746,  747,  748,
      419,  749,  378,  750,  751,  752,  753,  754,  755,  756,
      758,  759,  760,  761,  762,  763,  764,  765,  767,  768,
      769,  770,  771,  772,  774,  775,  776,  777,  778,  779,
      781,  782,  783,  784,  785,  786,  787,  788,  789,  793,
      794,  795,  796,  797,  798,  799,  801,  802,  803,  804,
      806,  807,  808,  809,  810,  811,  813,  814,  815,  816,
      817,  818,  821,  823,  824,  828,  829,  830,  831,  832,
      833,  834,  835,  816,  837,  838,  840,  841,  842,  843,
      845,  846,  848,  849,  850,  851,  852,  853,  854,  855,

      856,  857,  858,  859,  861,  862,  863,  864,  865,  866,
      867,  868,  871,  872,  873,  875,  876,  877,  878,  879,
      881,  882,  883,  884,  885,  886,  887,  888,  889,  890,
      891,  892,  893,  895,  896,  898,  899,  901,  903,  904,
      905,  907,  908,  909,  910,  911,  912,  913,  914,  915,
      916,  917,  918,  919,  920,  921,  922,  923,  924,  925,
      926,  927,  928,  930,  931,  932,  933,  934,  936,  937,
      938,  939,  940,  941,  942,  943,  944,  945,  946,  947,
      948,  949,  950,  951,  953,  954,  956,  958,  960,  961,
      962,  963,  964,  965,  966,  967,  969,  971,  972,  973,

      975,  977,  979,  981,  982,  983,  964,  986,  987,  988,
      989,  991,  992,  994,  996,  999, 1002, 1003, 1004, 1005,
     1006, 1007, 1008, 1013, 1014, 1016, 1017, 1018, 1021, 1024,
     1025, 1026, 1027, 1028, 1029, 1031, 1033, 1036, 1036, 1036,
     1037, 1037, 1037, 1038, 1038, 1038, 1039, 1039, 1039, 1040,
     1040, 1040, 1041, 1041, 1042, 1042, 1043, 1044, 1045, 1046,
     1046, 1047, 1047, 1048, 1049, 1049, 1050, 1051, 1051, 1052,
     1052, 1053, 1053, 1054, 1054, 1055, 1056, 1056, 1057, 1057,
     1058, 1058, 1059, 1060, 1060, 1061, 1061, 1062, 1062, 1063,
     1063, 1064, 1064, 1065, 1065, 1066, 1066, 1067, 1068, 1068,

     1069, 1069, 1070, 1070, 1071, 1072, 1072, 1073, 1073, 1074,
     1074, 1075, 1075, 1076, 1076, 1077, 1077, 1078, 1078, 1079,
     1080, 1080, 1081, 1081, 1082, 1082, 1083, 1084, 1084, 1085,
     1085, 1086, 1086, 1087, 1087, 1088, 1088, 1089, 1089, 1090,
     1090, 1091, 1092, 1092, 1093, 1093, 1094, 1094, 1095, 1096,
     1096, 1097, 1097, 1098, 1098, 1099, 1099, 1100, 1100, 1101,
     1101, 1102, 1102, 1103, 1104, 1104, 1105, 1105, 1106, 1106,
     1107, 1108, 1108, 1109, 1109, 1110, 1110, 1111, 1111, 1112,
     1112, 1113, 1113, 1114, 1114, 1115, 1116, 1116, 1117, 1118,
     1118, 1119, 1120, 1120, 1121, 1122, 1123, 1123, 1124, 1125,

     1126, 1127, 1128, 1129,  708,  706,  705,  704,  701,  700,
      699,  697,  695,  694,  693,  691,  690,  688,  687,  686,
      685,  682,  681,  680,  679,  678,  677,  676,  675,  674,
      673,  672,  671,  670,  669,  668,  667,  666,  665,  663,
      662,  661,  660,  659,  658,  657,  656,  655,  652,  651,
      650,  649,  648,  647,  646,  644,  643,  642,  641,  640,
      639,  638,  635,  634,  633,  632,  631,  630,  629,  627,
      626,  622,  621,  620,  619,  618,  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,  589,  588,  587,  586,  585,  584,  582,
      580,  578,  576,  574,  573,  572,  571,  569,  568,  567,
      566,  564,  563,  562,  561,  560,  559,  558,  557,  556,
      555,  554,  553,  552,  551,  550,  549,  548,  547,  546,
      545,  544,  543,  542,  541,  540,  539,  537,  536,  535,
      534,  533,  532,  531,  530,  529,  526,  525,  524,  523,
      522,  521,  520,  519,  518,  517,  516,  515,  514,  513,
      512,  511,  509,  508,  506,  505,  504,  503,  502,  500,
      499,  498,  497,  496,  495,  494,  493,  492,  491,  490,
      488,  487,  485,  484,  480,  478,  477,  476,  475,  474,

      472,  471,  470,  468,  467,  466,  465,  463,  462,  460,
      458,  457,  456,  455,  454,  453,  450,  449,  448,  447,
      446,  445,  444,  443,  442,  441,  439,  438,  437,  436,
      435,  433,  432,  431,  429,  427,  426,  425,  424,  423,
      422,  421,  420,  418,  417,  416,  414,  412,  411,  410,
      409,  408,  406,  405,  404,  403,  402,  400,  399,  398,
      397,  396,  395,  394,  393,  392,  391,  390,  389,  388,
      387,  386,  385,  384,  383,  382,  381,  380,  379,  377,
      375,  374,  373,  372,  370,  369,  368,  367,  365,  364,
      363,  361,  359,  357,  356,  353,  352,  351,  347,  344,

      343,  342,  341,  338,  337,  333,  332,  330,  328,  327,
      326,  325,  324,  323,  322,  321,  320,  319,  318,  317,
      315,  314,  313,  312,  311,  310,  309,  308,  307,  306,
      305,  304,  302,  301,  300,  299,  298,  297,  296,  294,
      293,  292,  291,  290,  288,  287,  283,  282,  281,  280,
      279,  278,  277,  276,  275,  273,  272,  269,  268,  266,
      264,  263,  262,  261,  256,  255,  254,  253,  252,  250,
      249,  247,  246,  245,  244,  243,  242,  241,  240,  238,
      237,  236,  235,  233,  232,  231,  230,  229,  228,  227,
      224,  223,  222,  221,  220,  218,  216,  215,  214,  213,

      212,  211,  209,  207,  206,  205,  204,  203,  202,  201,
      200,  199,  198,  196,  195,  194,  193,  192,  191,  190,
      188,  187,  186,  181,  179,  175,  174,  161,  160,  159,
      158,  157,  156,  155,  154,  153,  152,  151,  150,  149,
      147,  146,  145,  144,  142,  139,  137,  136,  135,  134,
      133,  132,  131,  130,  128,  127,  125,  124,  123,  121,
      120,  119,  118,  115,  114,  113,  112,  111,  110,  109,
      108,  107,  105,  104,  103,  102,   98,   97,   96,   95,
       94,   84,   83,   78,   76,   75,   64,   62,   54,   46,
       45,   42,   40,   38,   37,   34,   32,   30,   27,   18,

       17,   15,   11, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035,
     1035, 1035, 1035, 1035, 1035, 1035, 1035
    } ;

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,v 1.64 2004/11/30 16:28:23 andrei Exp $
 *
 * scanner for cfg files
 *
 * Copyright (C) 2001-2003 FhG Fokus
 *
 * This file is part of ser, a free SIP server.
 *
 * ser 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
 *
 * For a license to use the ser software under conditions
 * other than those described here, or to purchase support for this
 * software, please contact iptel.org by e-mail at the following addresses:
 *    info@iptel.org
 *
 * ser 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)
 *  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
 */
#line 59 "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 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 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

/* 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 */
/* config vars. */
/* values */
#line 1161 "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 281 "cfg.lex"



#line 1316 "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 >= 1036 )
					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] != 1404 );

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 284 "cfg.lex"
{ count(); }
	YY_BREAK
case 2:
YY_RULE_SETUP
#line 286 "cfg.lex"
{count(); yylval.strval=yytext; return FORWARD; }
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 287 "cfg.lex"
{count(); yylval.strval=yytext; return FORWARD_TCP; }
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 288 "cfg.lex"
{count(); yylval.strval=yytext; return FORWARD_TLS; }
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 289 "cfg.lex"
{count(); yylval.strval=yytext; return FORWARD_UDP; }
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 290 "cfg.lex"
{ count(); yylval.strval=yytext; return DROP; }
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 291 "cfg.lex"
{ count(); yylval.strval=yytext; return SEND; }
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 292 "cfg.lex"
{ count(); yylval.strval=yytext; return SEND_TCP; }
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 293 "cfg.lex"
{ count(); yylval.strval=yytext; return LOG_TOK; }
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 294 "cfg.lex"
{ count(); yylval.strval=yytext; return ERROR; }
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 295 "cfg.lex"
{ count(); yylval.strval=yytext; return SETFLAG; }
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 296 "cfg.lex"
{ count(); yylval.strval=yytext; return RESETFLAG; }
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 297 "cfg.lex"
{ count(); yylval.strval=yytext; return ISFLAGSET; }
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 298 "cfg.lex"
{ count(); yylval.strval=yytext; return MSGLEN; }
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 299 "cfg.lex"
{ count(); yylval.strval=yytext; return ROUTE; }
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 300 "cfg.lex"
{ count(); yylval.strval=yytext;
								return ROUTE_ONREPLY; }
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 302 "cfg.lex"
{ count(); yylval.strval=yytext;
								return ROUTE_FAILURE; }
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 304 "cfg.lex"
{ count(); yylval.strval=yytext; return EXEC; }
	YY_BREAK
case 19:
YY_RULE_SETUP
#line 305 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_HOST; }
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 306 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_HOSTPORT; }
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 307 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_USER; }
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 308 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_USERPASS; }
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 309 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_PORT; }
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 310 "cfg.lex"
{ count(); yylval.strval=yytext; return SET_URI; }
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 311 "cfg.lex"
{ count(); yylval.strval=yytext; return REVERT_URI; }
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 312 "cfg.lex"
{ count(); yylval.strval=yytext; return PREFIX; }
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 313 "cfg.lex"
{ count(); yylval.strval=yytext; return STRIP; }
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 314 "cfg.lex"
{ count(); yylval.strval=yytext; return STRIP_TAIL; }
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 315 "cfg.lex"
{ count(); yylval.strval=yytext; 
								return APPEND_BRANCH; }
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 317 "cfg.lex"
{ count(); yylval.strval=yytext; return FORCE_RPORT; }
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 318 "cfg.lex"
{ count(); yylval.strval=yytext;
								return FORCE_TCP_ALIAS; }
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 320 "cfg.lex"
{ count(); yylval.strval=yytext; return IF; }
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 321 "cfg.lex"
{ count(); yylval.strval=yytext; return ELSE; }
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 323 "cfg.lex"
{ count(); yylval.strval=yytext;
										return SET_ADV_ADDRESS; }
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 325 "cfg.lex"
{ count(); yylval.strval=yytext;
										return SET_ADV_PORT; }
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 327 "cfg.lex"
{	count(); yylval.strval=yytext;
									return FORCE_SEND_SOCKET; }
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 330 "cfg.lex"
{ count(); yylval.strval=yytext; return URIHOST; }
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 331 "cfg.lex"
{ count(); yylval.strval=yytext; return URIPORT; }
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 333 "cfg.lex"
{ count(); yylval.strval=yytext; return MAX_LEN; }
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 335 "cfg.lex"
{ count(); yylval.strval=yytext; return METHOD; }
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 336 "cfg.lex"
{ count(); yylval.strval=yytext; return URI; }
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 337 "cfg.lex"
{ count(); yylval.strval=yytext; return FROM_URI; }
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 338 "cfg.lex"
{ count(); yylval.strval=yytext; return TO_URI; }
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 339 "cfg.lex"
{ count(); yylval.strval=yytext; return SRCIP; }
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 340 "cfg.lex"
{ count(); yylval.strval=yytext; return SRCPORT; }
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 341 "cfg.lex"
{ count(); yylval.strval=yytext; return DSTIP; }
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 342 "cfg.lex"
{ count(); yylval.strval=yytext; return DSTPORT; }
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 343 "cfg.lex"
{ count(); yylval.strval=yytext; return PROTO; }
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 344 "cfg.lex"
{ count(); yylval.strval=yytext; return AF; }
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 345 "cfg.lex"
{ count(); yylval.strval=yytext; return MYSELF; }
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 347 "cfg.lex"
{ count(); yylval.strval=yytext; return DEBUG; }
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 348 "cfg.lex"
{ count(); yylval.strval=yytext; return FORK; }
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 349 "cfg.lex"
{ yylval.strval=yytext; return LOGSTDERROR; }
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 350 "cfg.lex"
{ yylval.strval=yytext; return LOGFACILITY; }
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 351 "cfg.lex"
{ count(); yylval.strval=yytext; return LISTEN; }
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 352 "cfg.lex"
{ count(); yylval.strval=yytext; return ALIAS; }
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 353 "cfg.lex"
{ count(); yylval.strval=yytext; return DNS; }
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 354 "cfg.lex"
{ count(); yylval.strval=yytext; return REV_DNS; }
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 355 "cfg.lex"
{ count(); yylval.strval=yytext; return PORT; }
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 356 "cfg.lex"
{ count(); yylval.strval=yytext; return STAT; }
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 357 "cfg.lex"
{ count(); yylval.strval=yytext; return MAXBUFFER; }
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 358 "cfg.lex"
{ count(); yylval.strval=yytext; return CHILDREN; }
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 359 "cfg.lex"
{ count(); yylval.strval=yytext; return CHECK_VIA; }
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 360 "cfg.lex"
{ count(); yylval.strval=yytext; return SYN_BRANCH; }
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 361 "cfg.lex"
{ count(); yylval.strval=yytext; return MEMLOG; }
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 362 "cfg.lex"
{ count(); yylval.strval=yytext; return SIP_WARNING; }
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 363 "cfg.lex"
{ count(); yylval.strval=yytext; return USER; }
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 364 "cfg.lex"
{ count(); yylval.strval=yytext; return GROUP; }
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 365 "cfg.lex"
{ count(); yylval.strval=yytext; return CHROOT; }
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 366 "cfg.lex"
{ count(); yylval.strval=yytext; return WDIR; }
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 367 "cfg.lex"
{ count(); yylval.strval=yytext; return MHOMED; }
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 368 "cfg.lex"
{ count(); yylval.strval=yytext; return DISABLE_TCP; }
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 369 "cfg.lex"
{ count(); yylval.strval=yytext; return TCP_CHILDREN; }
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 370 "cfg.lex"
{ count(); yylval.strval=yytext;
									return TCP_ACCEPT_ALIASES; }
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 372 "cfg.lex"
{ count(); yylval.strval=yytext;
									return TCP_SEND_TIMEOUT; }
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 374 "cfg.lex"
{ count(); yylval.strval=yytext;
									return TCP_CONNECT_TIMEOUT; }
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 376 "cfg.lex"
{ count(); yylval.strval=yytext; return DISABLE_TLS; }
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 377 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_PORT_NO; }
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 378 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_PORT_NO; }
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 379 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_METHOD; }
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 380 "cfg.lex"
{ count(); yylval.strval=yytext; return TLS_VERIFY; }
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 381 "cfg.lex"
{ count(); yylval.strval=yytext;
										return TLS_REQUIRE_CERTIFICATE; }
	YY_BREAK
case 83:
YY_RULE_SETUP
#line 383 "cfg.lex"
{ count(); yylval.strval=yytext; 
										return TLS_CERTIFICATE; }
	YY_BREAK
case 84:
YY_RULE_SETUP
#line 385 "cfg.lex"
{ count(); yylval.strval=yytext; 
										return TLS_PRIVATE_KEY; }
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 387 "cfg.lex"
{ count(); yylval.strval=yytext; 
										return TLS_CA_LIST; }
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 389 "cfg.lex"
{ count(); yylval.strval=yytext;
										return TLS_HANDSHAKE_TIMEOUT; }
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 391 "cfg.lex"
{ count(); yylval.strval=yytext;
										return TLS_SEND_TIMEOUT; }
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 393 "cfg.lex"
{ count(); yylval.strval=yytext; return FIFO; }
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 394 "cfg.lex"
{ count(); yylval.strval=yytext; return FIFO_DIR; }
	YY_BREAK
case 90:
YY_RULE_SETUP
#line 395 "cfg.lex"
{ count(); yylval.strval=yytext; return FIFO_DB_URL; }
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 396 "cfg.lex"
{ count(); yylval.strval=yytext; return SOCK_MODE; }
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 397 "cfg.lex"
{ count(); yylval.strval=yytext; return SOCK_USER; }
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 398 "cfg.lex"
{ count(); yylval.strval=yytext; return SOCK_GROUP; }
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 399 "cfg.lex"
{ count(); yylval.strval=yytext; return UNIX_SOCK; }
	YY_BREAK
case 95:
YY_RULE_SETUP
#line 400 "cfg.lex"
{ count(); yylval.strval=yytext; return UNIX_SOCK_CHILDREN; }
	YY_BREAK
case 96:
YY_RULE_SETUP
#line 401 "cfg.lex"
{ count(); yylval.strval=yytext; return UNIX_TX_TIMEOUT; }
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 402 "cfg.lex"
{ count(); yylval.strval=yytext; return SERVER_SIGNATURE; }
	YY_BREAK
case 98:
YY_RULE_SETUP
#line 403 "cfg.lex"
{ count(); yylval.strval=yytext; return SERVER_NAME; }
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 404 "cfg.lex"
{ count(); yylval.strval=yytext; return REPLY_TO_VIA; }
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 405 "cfg.lex"
{	count(); yylval.strval=yytext;
									return ADVERTISED_ADDRESS; }
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 407 "cfg.lex"
{	count(); yylval.strval=yytext;
									return ADVERTISED_PORT; }
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 409 "cfg.lex"
{	count(); yylval.strval=yytext;
									return DISABLE_CORE; }
	YY_BREAK
case 103:
YY_RULE_SETUP
#line 411 "cfg.lex"
{	count(); yylval.strval=yytext;
									return OPEN_FD_LIMIT; }
	YY_BREAK
case 104:
YY_RULE_SETUP
#line 413 "cfg.lex"
{	count(); yylval.strval=yytext;
									return MCAST_LOOPBACK; }
	YY_BREAK
case 105:
YY_RULE_SETUP
#line 415 "cfg.lex"
{	count(); yylval.strval=yytext;
									return MCAST_TTL; }
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 417 "cfg.lex"
{ count(); yylval.strval=yytext; return LOADMODULE; }
	YY_BREAK
case 107:
YY_RULE_SETUP
#line 418 "cfg.lex"
{ count(); yylval.strval=yytext; return MODPARAM; }
	YY_BREAK
case 108:
YY_RULE_SETUP
#line 420 "cfg.lex"
{ count(); return EQUAL; }
	YY_BREAK
case 109:
YY_RULE_SETUP
#line 421 "cfg.lex"
{ count(); return EQUAL_T; }
	YY_BREAK
case 110:
YY_RULE_SETUP
#line 422 "cfg.lex"
{ count(); return GT; }
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 423 "cfg.lex"
{ count(); return LT; }
	YY_BREAK
case 112:
YY_RULE_SETUP
#line 424 "cfg.lex"
{ count(); return GTE; }
	YY_BREAK
case 113:
YY_RULE_SETUP
#line 425 "cfg.lex"
{ count(); return LTE; }
	YY_BREAK
case 114:
YY_RULE_SETUP
#line 426 "cfg.lex"
{ count(); return DIFF; }
	YY_BREAK
case 115:
YY_RULE_SETUP
#line 427 "cfg.lex"
{ count(); return MATCH; }
	YY_BREAK
case 116:
YY_RULE_SETUP
#line 428 "cfg.lex"
{ count(); return NOT; }
	YY_BREAK
case 117:
YY_RULE_SETUP
#line 429 "cfg.lex"
{ count(); return AND; }
	YY_BREAK
case 118:
YY_RULE_SETUP
#line 430 "cfg.lex"
{ count(); return OR;  }
	YY_BREAK
case 119:
YY_RULE_SETUP
#line 431 "cfg.lex"
{ count(); return PLUS; }
	YY_BREAK
case 120:
YY_RULE_SETUP
#line 432 "cfg.lex"
{ count(); return MINUS; }
	YY_BREAK
case 121:
YY_RULE_SETUP
#line 436 "cfg.lex"
{ count(); yylval.strval=yytext; return IPV6ADDR; }
	YY_BREAK
case 122:
YY_RULE_SETUP
#line 437 "cfg.lex"
{ count(); yylval.intval=atoi(yytext);return NUMBER; }
	YY_BREAK
case 123:
YY_RULE_SETUP
#line 438 "cfg.lex"
{ count(); yylval.intval=(int)strtol(yytext, 0, 16);
							return NUMBER; }
	YY_BREAK
case 124:
YY_RULE_SETUP
#line 440 "cfg.lex"
{ count(); yylval.intval=(int)strtol(yytext, 0, 8);
							return NUMBER; }
	YY_BREAK
case 125:
YY_RULE_SETUP
#line 442 "cfg.lex"
{ count(); yylval.intval=1; return NUMBER; }
	YY_BREAK
case 126:
YY_RULE_SETUP
#line 443 "cfg.lex"
{ count(); yylval.intval=0; return NUMBER; }
	YY_BREAK
case 127:
YY_RULE_SETUP
#line 444 "cfg.lex"
{ count(); return TCP; }
	YY_BREAK
case 128:
YY_RULE_SETUP
#line 445 "cfg.lex"
{ count(); return UDP; }
	YY_BREAK
case 129:
YY_RULE_SETUP
#line 446 "cfg.lex"
{ count(); return TLS; }
	YY_BREAK
case 130:
YY_RULE_SETUP
#line 447 "cfg.lex"
{ count(); yylval.intval=AF_INET; return NUMBER; }
	YY_BREAK
case 131:
YY_RULE_SETUP
#line 448 "cfg.lex"
{ count();
						#ifdef USE_IPV6
						  yylval.intval=AF_INET6;
						#else
						  yylval.intval=-1; /* no match*/
						#endif
						  return NUMBER; }
	YY_BREAK
case 132:
YY_RULE_SETUP
#line 455 "cfg.lex"
{ count(); yylval.strval=yytext; return SSLv23; }
	YY_BREAK
case 133:
YY_RULE_SETUP
#line 456 "cfg.lex"
{ count(); yylval.strval=yytext; return SSLv2; }
	YY_BREAK
case 134:
YY_RULE_SETUP
#line 457 "cfg.lex"
{ count(); yylval.strval=yytext; return SSLv3; }
	YY_BREAK
case 135:
YY_RULE_SETUP
#line 458 "cfg.lex"
{ count(); yylval.strval=yytext; return TLSv1; }
	YY_BREAK
case 136:
YY_RULE_SETUP
#line 460 "cfg.lex"
{ count(); return COMMA; }
	YY_BREAK
case 137:
YY_RULE_SETUP
#line 461 "cfg.lex"
{ count(); return SEMICOLON; }
	YY_BREAK
case 138:
YY_RULE_SETUP
#line 462 "cfg.lex"
{ count(); return COLON; }
	YY_BREAK
case 139:
YY_RULE_SETUP
#line 463 "cfg.lex"
{ count(); return STAR; }
	YY_BREAK
case 140:
YY_RULE_SETUP
#line 464 "cfg.lex"
{ count(); return RPAREN; }
	YY_BREAK
case 141:
YY_RULE_SETUP
#line 465 "cfg.lex"
{ count(); return LPAREN; }
	YY_BREAK
case 142:
YY_RULE_SETUP
#line 466 "cfg.lex"
{ count(); return LBRACE; }
	YY_BREAK
case 143:
YY_RULE_SETUP
#line 467 "cfg.lex"
{ count(); return RBRACE; }
	YY_BREAK
case 144:
YY_RULE_SETUP
#line 468 "cfg.lex"
{ count(); return LBRACK; }
	YY_BREAK
case 145:
YY_RULE_SETUP
#line 469 "cfg.lex"
{ count(); return RBRACK; }
	YY_BREAK
case 146:
YY_RULE_SETUP
#line 470 "cfg.lex"
{ count(); return SLASH; }
	YY_BREAK
case 147:
YY_RULE_SETUP
#line 471 "cfg.lex"
{ count(); return DOT; }
	YY_BREAK
case 148:
YY_RULE_SETUP
#line 472 "cfg.lex"
{count(); } /* eat the escaped CR */
	YY_BREAK
case 149:
YY_RULE_SETUP
#line 473 "cfg.lex"
{ count();/* return CR;*/ }
	YY_BREAK
case 150:
YY_RULE_SETUP
#line 476 "cfg.lex"
{ count(); state=STRING_S; BEGIN(STRING1); }
	YY_BREAK
case 151:
YY_RULE_SETUP
#line 477 "cfg.lex"
{ count(); state=STRING_S; BEGIN(STRING2); }
	YY_BREAK
case 152:
YY_RULE_SETUP
#line 480 "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 153:
YY_RULE_SETUP
#line 487 "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 154:
YY_RULE_SETUP
#line 494 "cfg.lex"
{ yymore(); }
	YY_BREAK
case 155:
YY_RULE_SETUP
#line 496 "cfg.lex"
{ count(); addchar(&s_buf, '\n'); }
	YY_BREAK
case 156:
YY_RULE_SETUP
#line 497 "cfg.lex"
{ count(); addchar(&s_buf, '\r'); }
	YY_BREAK
case 157:
YY_RULE_SETUP
#line 498 "cfg.lex"
{ count(); addchar(&s_buf, '\a'); }
	YY_BREAK
case 158:
YY_RULE_SETUP
#line 499 "cfg.lex"
{ count(); addchar(&s_buf, '\t'); }
	YY_BREAK
case 159:
YY_RULE_SETUP
#line 500 "cfg.lex"
{ count(); addchar(&s_buf, '"');  }
	YY_BREAK
case 160:
YY_RULE_SETUP
#line 501 "cfg.lex"
{ count(); addchar(&s_buf, '\\'); } 
	YY_BREAK
case 161:
YY_RULE_SETUP
#line 502 "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 162:
YY_RULE_SETUP
#line 506 "cfg.lex"
{ count(); addchar(&s_buf, 
											(char)strtol(yytext+1, 0, 8));  }
	YY_BREAK
case 163:
YY_RULE_SETUP
#line 508 "cfg.lex"
{ count(); } /* eat escaped CRs */
	YY_BREAK
case 164:
YY_RULE_SETUP
#line 509 "cfg.lex"
{ addchar(&s_buf, *yytext); }
	YY_BREAK
case 165:
YY_RULE_SETUP
#line 512 "cfg.lex"
{ count(); comment_nest++; state=COMMENT_S;
										BEGIN(COMMENT); }
	YY_BREAK
case 166:
YY_RULE_SETUP
#line 514 "cfg.lex"
{ count(); comment_nest--;
										if (comment_nest==0){
											state=INITIAL_S;
											BEGIN(INITIAL);
										}
								}
	YY_BREAK
case 167:
YY_RULE_SETUP
#line 520 "cfg.lex"
{ count(); };
	YY_BREAK
case 168:
YY_RULE_SETUP
#line 522 "cfg.lex"
{ count(); } 
	YY_BREAK
case 169:
YY_RULE_SETUP
#line 524 "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):
#line 530 "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 170:
YY_RULE_SETUP
#line 553 "cfg.lex"
ECHO;
	YY_BREAK
#line 2339 "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 >= 1036 )
				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 >= 1036 )
			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 == 1035);

	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 553 "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++;
		}
	}
}




syntax highlighted by Code2HTML, v. 0.9.1