initscan.c   [plain text]


#line 2 "scan.c"
/* A lexical scanner generated by flex */

/* Scanner skeleton version:
 * $Header: /Users/Shared/flex/flex/flex/initscan.c,v 1.2 2005/04/02 17:28:54 llattanz 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; \
	yyleng = (int) (yy_cp - yy_bp); \
	yy_hold_char = *yy_cp; \
	*yy_cp = '\0'; \
	yy_c_buf_p = yy_cp;

#define YY_NUM_RULES 166
#define YY_END_OF_BUFFER 167
static yyconst short int yy_accept[779] =
    {   0,
        0,    0,    0,    0,   88,   88,  164,  164,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,  167,  165,
        7,   18,  165,   16,    1,   17,  165,  165,  165,  165,
       15,  109,  101,  102,  109,   94,  109,  108,  109,  109,
      109,  108,  100,   90,  109,  109,   92,   93,   88,   89,
       88,   87,   86,   87,   87,  164,  164,   28,   29,   28,
       28,   28,   28,   28,   28,   31,   30,   32,   31,  114,
      110,  111,  113,  115,  142,  143,  142,  140,  139,  141,

      116,  118,  116,  117,  116,  121,  121,  121,  121,  123,
      125,  123,  123,  123,  123,  124,  152,  156,  152,  155,
      157,  157,  153,  153,  153,  150,  151,  165,   83,  165,
       21,   22,   21,   20,  158,  160,  158,  161,  162,  148,
      148,  149,  148,  148,  148,  148,  148,  148,  148,   82,
       34,   33,   82,   82,   82,   82,   35,   82,   82,   82,
       82,   82,   82,   82,   82,   82,   82,   82,   82,   82,
       82,   82,   82,   82,   82,   82,   26,   23,   26,   24,
        7,   18,    0,   16,    1,   17,    0,    0,    0,   14,
        8,    0,    0,    0,    0,    4,    5,    0,    2,   15,

      101,  102,    0,    0,    0,   96,    0,    0,  106,  106,
        0,  163,  163,  163,   95,    0,  100,   90,    0,    0,
        0,   92,   93,  105,   91,    0,   88,   89,   87,   86,
       86,   84,   85,  164,  164,   28,   29,   28,   28,   28,
       28,   31,   30,   32,  112,  113,  143,  139,  118,    0,
      119,  120,  125,  122,  152,  156,    0,  154,    0,  145,
      153,  153,  153,    0,   83,    0,   21,   22,   21,   19,
      158,  160,  159,  148,  148,  148,  149,  144,  148,  148,
      148,   34,   33,    0,   81,    0,    0,   82,   82,   82,
       82,   82,   82,   82,   82,   82,   82,   82,   82,   82,

       82,   82,   82,   36,   82,   82,   82,   82,   82,   82,
       82,   82,   82,   82,    0,   25,   24,    0,   14,    8,
        0,   12,    0,    0,    0,    0,    0,    4,    5,    0,
        6,    0,   97,    0,   98,    0,    0,  106,  106,    0,
      106,  106,  106,  163,  163,    0,  107,   91,   99,    0,
      105,    0,   84,   85,   28,   28,   28,   27,   28,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,  153,  153,  144,  144,  148,  148,    0,    0,   82,
       82,   82,   82,   82,   44,   82,   82,   82,   49,   82,
       82,   82,   82,   82,   82,   82,   82,   82,   82,   82,

       82,   82,   82,   82,   82,   82,   82,   82,   82,    0,
       82,   82,   82,   82,    0,    0,    0,   12,    0,    0,
        0,    0,    0,    0,    4,    5,    0,  106,  106,  106,
      106,  106,  106,  163,    0,    0,   28,   28,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,  153,  153,  148,  148,   37,   38,   82,   82,   82,
       82,   82,   82,   82,   82,   50,   51,   82,   82,   82,
       56,   82,   82,   82,   82,   82,   82,   82,   61,   82,
       82,   82,   82,   82,   82,   68,    0,    0,    0,   82,
       82,   82,   82,    0,   13,    0,    0,    0,    0,    0,

        0,  106,  106,  106,  106,  106,  106,    0,    0,   28,
       28,  138,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,  153,  153,  148,  148,   39,   82,
       41,   82,   43,   82,   82,   82,   47,   82,   52,   82,
       82,   82,   82,   82,   82,   82,   82,   82,   82,   63,
       82,   82,   66,   82,    0,    0,    0,    0,   82,   82,
       82,   82,    3,    0,    0,    0,    0,  106,  106,  106,
        0,    0,   28,   28,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,  146,  147,  146,  147,
       82,   42,   82,   82,   82,   82,   82,   82,   82,   82,

       82,   82,   82,   82,   82,   79,   62,   82,   65,   82,
        0,    0,    0,    0,   82,   82,   70,   71,    0,   10,
        0,   11,    0,  104,    0,  103,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,   82,   82,
       82,   45,   82,   48,   82,   82,   82,   82,   78,   82,
       60,   82,   64,   67,    0,    0,    0,    0,   80,   82,
        0,  103,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,   82,   82,   82,   46,   82,   82,
       57,   82,   82,   82,    0,    0,    0,    0,   69,    0,
        9,    0,  126,  127,  128,  129,  130,  131,  132,  133,

      134,  135,  136,    0,   82,   82,   82,   82,   82,   82,
       82,   82,    0,    0,    0,    0,    0,  137,   82,   82,
       82,   82,   54,   82,   82,   82,    0,    0,    0,    0,
        0,    0,   82,   82,   82,   53,   82,   59,   82,    0,
        0,    0,    0,    0,    0,   82,   82,   82,   82,   55,
       73,    0,    0,    0,    0,   74,   82,   82,   82,   82,
       72,    0,   76,    0,   82,   82,   82,   75,   77,   82,
       82,   82,   82,   82,   82,   58,   40,    0
    } ;

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

       35,   36,   37,   38,   39,   40,   41,   42,   43,   44,
       45,   46,   47,   48,   49,   50,   51,   52,   53,   54,
       55,   47,   56,   57,   58,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    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[59] =
    {   0,
        1,    1,    2,    1,    3,    1,    1,    1,    4,    1,
        5,    6,    1,    7,    4,    8,    8,    8,    8,    1,
        1,    1,    1,    9,   10,    1,   11,   12,    1,   13,
       14,   14,   14,   14,   14,   14,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,    4,    1,   16
    } ;

static yyconst short int yy_base[868] =
    {   0,
        0,   58,  115,  172,  120,  129, 2722, 2721,  230, 2715,
      136,  141,  288,    0, 2693, 2692,  144,  151,  185,  191,
      178,  188,  344,  347,  375,    0,  125,  131,  147,  216,
      431,  434,  461,    0,  519,    0,  205,  349, 2720, 2726,
      353, 2726, 2716,    0,  360, 2726, 2715,  144,  570, 2706,
        0, 2726,  577, 2726, 2713, 2726,  438, 2726, 2694,  126,
      149,  427,  591, 2726, 2711,  141, 2692, 2726,    0, 2726,
     2709,    0, 2709, 2707,  155, 2706, 2726,    0, 2726, 2705,
     2726,    0, 2672, 2651, 2647,    0, 2702, 2726, 2700, 2726,
     2726, 2673,    0, 2726, 2726, 2726, 2698, 2726,  431, 2726,

     2726, 2726, 2697, 2726,  567, 2726, 2679,  571,  164, 2726,
     2726, 2695,    0, 2677,  573, 2726,    0, 2726, 2693, 2726,
      573, 2684,    0, 2659, 2638, 2726, 2726,  222, 2726,  356,
      448, 2726,  450, 2677,    0, 2726, 2688, 2726,    0,    0,
      198, 2726, 2687, 2631, 2726, 2677,    0, 2652, 2631, 2726,
     2683, 2726, 2681, 2678, 2650, 2649, 2726,  544, 2649,  579,
     2644, 2645,  318,    0, 2633, 2641,  424,  562, 2624,  587,
     2639, 2623, 2628, 2636, 2639, 2614, 2726, 2726, 2663,  612,
      634, 2726, 2664,    0,  637, 2726, 2663,  600, 2626,    0,
        0,  641,  647,  651,  669,    0,    0,  453, 2726,    0,

      672, 2726, 2661, 2607,  605, 2726, 2659, 2626,  620,  657,
      645, 2726,  662,    0, 2726, 2602,  688, 2726, 2656, 2602,
     2646, 2635, 2726,    0, 2726, 2620,    0, 2726,    0,    0,
     2652,    0,    0, 2650, 2726,    0, 2726,    0, 2612, 2608,
      745,    0, 2648, 2726, 2726,    0, 2726,  688, 2726,  773,
     2726, 2726, 2726, 2726,    0, 2726,  673, 2726,    0, 2726,
        0, 2609, 2605,  690, 2726,  698,  707, 2726,  709, 2726,
        0, 2726, 2726,    0,  596, 2589, 2726,  827,    0, 2606,
     2602, 2642, 2726, 2638, 2726, 2603, 2602,    0,  642, 2592,
      563, 2627, 2589,  620, 2588, 2587, 2593,  669, 2580, 2594,

     2582,    0, 2579, 2726, 2580, 2581,  584, 2593,  685,  125,
     2581, 2578, 2577,  688, 2619, 2726,  716, 2579,    0,    0,
      720, 2726, 2619,  884, 2573, 2570, 2580,    0,    0,  723,
     2726,  739, 2726,  805, 2726,  808, 2573,  787,  869,  876,
      930,  881,  973,  800,    0, 2559, 2726, 2726, 2726, 2581,
        0, 2570,    0,    0, 2579, 2568,    0, 2726,    0, 1009,
     2592,  678,  870,  871,  874,  879,  913,  992,  974, 1013,
      885, 2576, 2565,    0, 1067, 2574, 2563, 2557, 2556, 2568,
     2573, 2572, 2561, 2568,    0, 2565, 2548, 2567,    0, 2547,
     2554, 2544, 2559, 2579, 2548, 2560, 2555, 2553, 2552, 2543,

     2547, 2549, 2550, 2548, 2549,  781, 2530, 2548, 2535,  860,
     2536, 2538, 2531, 2527, 2539,  913, 1044, 2726,  917, 1095,
      920, 2542, 2533, 2527,    0,    0, 2534, 1102, 1025, 1142,
     2549, 1028, 1163, 2726, 2523, 2531, 2533, 2517,    0, 2536,
     1058,  894, 1014,  891,  898, 1038, 1080, 1072, 1019, 1083,
     1081, 2530, 2514, 2528, 2512, 2726, 2726, 2515, 2503, 2502,
     2505, 2517, 1148, 2517, 2502,    0,    0, 2502, 2503, 2517,
        0, 2535, 2500, 2508, 2532, 2495, 2490, 2504,    0, 2509,
     2500, 2496, 2488, 2488, 2492,    0,  950, 2503, 2490, 2503,
     2489, 2484, 2500, 2528, 2726,  999, 1103, 2474, 2483, 2477,

     2503, 2505, 1105, 1184, 1082, 1030, 1091, 2488, 2500, 2472,
     2486, 2726,  165, 1145, 1144, 1143, 1147, 1165, 1095, 1148,
     1173, 1189, 1169, 1033, 2470, 2484, 2468, 2482,    0, 2467,
        0, 2469,    0, 1174, 2463, 2478,    0, 2424,    0, 2429,
     2414, 2418, 2438, 2409, 2402, 2408, 2419, 2342, 2345,    0,
     2348, 2336,    0, 2302, 2289, 2270, 2284, 2268, 2264, 2275,
     2258, 2242, 2285, 1166, 2237, 2245, 2256, 1198, 1145, 1201,
     2253, 2252,    0,    0, 1187, 1190, 1192, 1194, 1185, 1209,
     1211, 1212, 1214, 1217, 1218, 1219,    0,    0,    0,    0,
     2257,    0, 2224, 2226, 2211, 2203, 2189, 2182, 2171, 2162,

     2152, 2155, 2150, 2136, 2150,    0,    0, 2129,    0, 2143,
     2147, 2133, 2126, 2121, 2097, 2101,    0,    0, 1237, 2726,
     1239, 2726, 2091, 2726, 2115, 2726, 2117, 2114, 2113, 2109,
     2106, 2074, 2058, 2042, 2026, 2010, 1994, 1224, 1969, 1958,
     1957,    0, 1951,    0, 1949, 1952, 1932, 1931,    0, 1919,
        0, 1883,    0,    0, 1878, 1891, 1890, 1854,    0, 1842,
     1242, 2726, 1843, 1839, 1838, 1837, 1834, 1817, 1812, 1811,
     1805, 1804, 1803, 1808, 1783, 1788, 1771,    0, 1765, 1766,
        0, 1739, 1743, 1732, 1701, 1701, 1216, 1681,    0, 1246,
     2726, 1250, 2726, 2726, 2726, 2726, 2726, 2726, 2726, 2726,

     2726, 2726, 2726, 1699, 1676, 1677, 1681, 1667, 1663, 1668,
     1639, 1636, 1650, 1612,  689, 1607, 1625, 2726, 1615, 1600,
     1598, 1610,    0, 1596, 1590, 1606, 1555, 1558, 1537, 1518,
     1519, 1499, 1485, 1489, 1488,    0, 1473,    0, 1453, 1238,
     1222, 1235, 1235, 1230, 1233, 1236, 1213, 1209, 1227,    0,
     2726, 1222, 1216, 1079, 1005, 2726,  965,  957,  958,  876,
     2726,  782, 2726,  788,  773,  769,  779, 2726, 2726,  689,
      673,  565,  408,  318,   86,    0,    0, 2726, 1274, 1290,
     1306, 1322, 1338, 1354, 1370, 1386, 1402, 1418, 1434, 1450,
     1466, 1482, 1492, 1507, 1516, 1531, 1547, 1556, 1571, 1587,

     1603, 1619, 1635, 1645, 1660, 1670, 1685, 1701, 1717, 1729,
     1739, 1754, 1770, 1786, 1802, 1818, 1828, 1843, 1854, 1241,
     1869, 1885, 1901, 1909, 1916, 1931, 1947, 1963, 1979, 1988,
     1996, 2012, 2028, 2044, 2060, 2076, 2092, 2108, 2124, 2134,
     2149, 2159, 2166, 2181, 2193, 2203, 2218, 2234, 2250, 2266,
     2276, 2291, 2302, 2317, 2333, 2349, 2365, 2375, 2384, 2399,
     2415, 2431, 2440, 2448, 2464, 2480, 2496
    } ;

static yyconst short int yy_def[868] =
    {   0,
      778,  778,  779,  779,  780,  781,  782,  782,  778,    9,
      783,  783,  778,   13,  784,  784,  785,  785,  786,  786,
      787,  787,  788,  788,  778,   25,  789,  789,  790,  790,
      791,  791,  778,   33,  778,   35,  792,  792,  778,  778,
      778,  778,  778,  793,  778,  778,  778,  778,  794,  778,
      795,  778,  778,  778,  778,  778,  778,  778,  778,  796,
      797,  798,  778,  778,  778,  778,  778,  778,  799,  778,
      799,  800,  801,  800,  800,  802,  778,  803,  778,  803,
      778,  804,  804,  804,  803,  805,  778,  778,  805,  778,
      778,  778,  806,  778,  778,  778,  778,  778,  778,  778,

      778,  778,  778,  778,  797,  778,  778,  797,  807,  778,
      778,  778,  808,  778,  797,  778,  809,  778,  809,  778,
      810,  778,  811,  811,  811,  778,  778,  812,  778,  812,
      813,  778,  813,  778,  814,  778,  814,  778,  815,  816,
      816,  778,  816,  816,  778,  816,  817,  817,  817,  778,
      778,  778,  778,  818,  778,  778,  778,  819,  819,  819,
      819,  819,  819,  819,  819,  819,  819,  820,  819,  819,
      819,  819,  819,  819,  819,  819,  778,  778,  821,  778,
      778,  778,  778,  793,  778,  778,  778,  778,  778,  822,
      823,  778,  778,  778,  778,  824,  825,  826,  778,  795,

      778,  778,  778,  778,  827,  778,  778,  778,  828,  828,
      829,  778,  778,  830,  778,  831,  778,  778,  778,  778,
      778,  778,  778,  832,  778,  778,  833,  778,  834,  835,
      835,  836,  837,  838,  778,  839,  778,  840,  840,  840,
      778,  841,  778,  778,  778,  842,  778,  778,  778,  843,
      778,  778,  778,  778,  844,  778,  845,  778,  845,  778,
      846,  846,  846,  847,  778,  847,  848,  778,  848,  778,
      849,  778,  778,  850,  850,  850,  778,  778,  851,  851,
      851,  778,  778,  852,  778,  778,  778,  853,  853,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,

      853,  853,  853,  778,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  854,  778,  778,  778,  855,  856,
      857,  778,  778,  778,  778,  778,  778,  858,  859,  860,
      778,  860,  778,  861,  778,  861,  778,  862,  862,  862,
      778,  862,  862,  778,  863,  864,  778,  778,  778,  778,
      865,  778,  836,  837,  840,  840,  241,  778,  241,  241,
      843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
      843,  846,  846,  278,  278,  851,  851,  778,  778,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,

      853,  853,  853,  853,  853,  853,  853,  853,  853,  778,
      853,  853,  853,  853,  778,  857,  857,  778,  857,  857,
      778,  778,  778,  778,  858,  859,  778,  341,  862,  343,
      341,  862,  343,  778,  778,  778,  840,  840,  360,  778,
      843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
      843,  846,  846,  851,  851,  778,  778,  853,  853,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  853,  853,  778,  778,  778,  853,
      853,  853,  853,  778,  778,  857,  857,  778,  778,  778,

      778,  428,  862,  343,  862,  862,  862,  778,  778,  840,
      840,  778,  843,  843,  843,  843,  843,  843,  843,  843,
      843,  843,  843,  843,  846,  846,  851,  851,  853,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  778,  778,  778,  778,  853,  853,
      853,  853,  778,  866,  778,  778,  778,  862,  862,  862,
      778,  778,  840,  840,  843,  843,  843,  843,  843,  843,
      843,  843,  843,  843,  843,  843,  846,  846,  851,  851,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,

      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,
      778,  778,  778,  778,  853,  853,  853,  853,  866,  778,
      866,  778,  778,  778,  778,  778,  843,  843,  843,  843,
      843,  843,  843,  843,  843,  843,  843,  843,  853,  853,
      853,  853,  853,  853,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  778,  778,  778,  778,  853,  853,
      867,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  843,  853,  853,  853,  853,  853,  853,
      853,  853,  853,  853,  778,  778,  778,  778,  853,  867,
      778,  867,  778,  778,  778,  778,  778,  778,  778,  778,

      778,  778,  778,  778,  853,  853,  853,  853,  853,  853,
      853,  853,  778,  778,  778,  778,  778,  778,  853,  853,
      853,  853,  853,  853,  853,  853,  778,  778,  778,  778,
      778,  778,  853,  853,  853,  853,  853,  853,  853,  778,
      778,  778,  778,  778,  778,  853,  853,  853,  853,  853,
      778,  778,  778,  778,  778,  778,  853,  853,  853,  853,
      778,  778,  778,  778,  853,  853,  853,  778,  778,  853,
      853,  853,  853,  853,  853,  853,  853,    0,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,

      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778
    } ;

static yyconst short int yy_nxt[2785] =
    {   0,
       40,   41,   42,   43,   40,   40,   40,   40,   40,   40,
       40,   40,   40,   40,   40,   40,   40,   40,   40,   40,
       40,   40,   40,   44,   44,   40,   40,   40,   40,   44,
       44,   44,   44,   44,   44,   44,   44,   44,   44,   44,
       44,   44,   44,   44,   44,   44,   44,   44,   44,   44,
       44,   44,   44,   44,   44,   40,   40,   40,   40,   45,
       46,   47,   40,   48,   40,   49,   40,   40,   40,   40,
       40,   40,   50,   40,   40,   40,   40,   40,   40,   40,
       40,   51,   51,   40,   40,   40,   40,   51,   51,   51,
       51,   51,   51,   51,   51,   51,   51,   51,   51,   51,

       51,   51,   51,   51,   51,   51,   51,   51,   51,   51,
       51,   51,   51,   40,   40,   40,   53,   54,   55,   56,
      777,   57,   70,   71,   58,   58,   58,  129,  130,   58,
       73,   70,   74,  129,  130,   59,   75,   87,   88,   89,
       60,   61,   87,   88,   89,  188,   96,   97,  224,  132,
      133,  210,  211,   96,   97,  405,   98,  134,  406,   99,
       99,   99,   99,   98,  213,  213,   99,   99,   99,   99,
       62,   58,   58,   63,   64,   65,   56,  252,   57,   66,
       40,   58,   58,   58,  440,  189,   58,  102,  103,  104,
       40,  252,   67,  102,  103,  104,  225,   60,   61,  275,

       68,  100,  214,  107,  108,  276,  109,  178,  100,  179,
      232,  105,  233,  107,  108,  575,  109,  105,  132,  133,
      180,  180,  180,  180,  265,  266,  134,   62,   58,   58,
       78,   78,   79,   80,   78,   78,   78,   78,   78,   78,
       81,   78,   78,   78,   78,   78,   78,   78,   78,   78,
       78,   78,   78,   82,   82,   78,   78,   78,   78,   82,
       82,   82,   82,   82,   82,   82,   82,   82,   82,   82,
       82,   82,   82,   82,   82,   82,   82,   83,   82,   82,
       82,   82,   82,   82,   84,   78,   78,   78,   90,   90,
       40,   90,   90,   90,   90,   90,   90,   90,   91,   90,

       91,   90,   90,   90,   90,   90,   90,   90,   90,   90,
       92,   93,   93,   90,   90,   90,   90,   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,   93,   90,   90,   90,  111,  112,  296,  111,
      112,  178,  776,  179,  181,  182,  183,  113,  265,  266,
      113,  185,  186,  187,  180,  180,  180,  180,  297,  114,
      115,  116,  114,  115,  116,  117,  117,  118,  119,  120,
      117,  117,  117,  121,  117,  117,  117,  117,  117,  122,
      117,  117,  117,  117,  117,  117,  117,  117,  123,  123,

      117,  117,  117,  117,  123,  123,  123,  123,  123,  123,
      123,  123,  123,  123,  123,  123,  123,  123,  123,  123,
      123,  123,  124,  123,  123,  123,  123,  123,  123,  125,
      126,  117,  127,  136,  137,  138,  136,  137,  138,  206,
      206,  207,  215,  215,  215,  215,  248,  248,  248,  248,
      268,  269,  268,  269,  300,  331,  332,  139,  301,  775,
      139,  140,  141,  142,  143,  140,  140,  140,  144,  140,
      140,  145,  140,  140,  140,  146,  140,  140,  140,  140,
      140,  140,  140,  140,  147,  147,  140,  140,  140,  140,
      147,  147,  147,  147,  147,  147,  147,  147,  147,  147,

      147,  147,  147,  147,  147,  147,  147,  147,  148,  147,
      147,  147,  147,  147,  147,  149,  140,  140,  140,  150,
      151,  152,  153,  154,  150,  150,  150,  150,  150,  150,
      150,  150,  150,  150,  150,  155,  156,  150,  150,  150,
      157,  150,  150,  150,  150,  150,  150,  150,  150,  158,
      159,  160,  161,  162,  163,  164,  164,  165,  164,  164,
      166,  167,  168,  169,  170,  164,  171,  172,  164,  173,
      174,  175,  164,  176,  150,  150,  150,  191,  201,  202,
      203,  258,  213,  213,  204,  289,  213,  213,  213,  213,
      292,  290,  217,  218,  219,  383,  303,  275,  220,  259,

      192,  188,  193,  276,  193,  221,  304,  335,  336,  293,
      193,  222,  384,  193,  194,  195,  774,  193,  196,  223,
      214,  306,  400,  197,  214,  198,  214,  317,  317,  317,
      317,  307,  401,  205,  308,  181,  182,  183,  185,  186,
      187,  189,  321,  322,  323,  339,  340,  205,  321,  322,
      323,  387,  321,  322,  323,  388,  324,  324,  324,  324,
      342,  342,  324,  324,  324,  324,  324,  324,  324,  324,
      321,  322,  323,  201,  202,  203,  341,  344,  344,  204,
      380,  258,  339,  340,  324,  324,  324,  324,  325,  217,
      218,  219,  265,  266,  381,  220,  326,  440,  343,  259,

      265,  266,  221,  248,  248,  248,  248,  678,  222,  268,
      269,  268,  269,  327,  392,  403,  223,  410,  393,  441,
      411,  417,  418,  419,  404,  331,  332,  773,  205,  412,
      413,  317,  317,  317,  317,  420,  420,  420,  420,  729,
      414,  331,  332,  730,  205,  357,  357,  358,  359,  357,
      357,  357,  357,  357,  357,  360,  357,  357,  357,  357,
      357,  357,  357,  357,  357,  357,  357,  357,  360,  360,
      357,  357,  357,  357,  360,  360,  360,  360,  360,  360,
      360,  360,  360,  360,  360,  360,  360,  360,  360,  360,
      360,  360,  360,  360,  360,  360,  360,  360,  360,  360,

      357,  357,  357,  362,  363,  364,  365,  335,  336,  366,
      335,  336,  339,  340,  367,  212,  212,  772,  368,  482,
      771,  369,  770,  370,  769,  483,  371,  374,  374,  768,
      374,  374,  374,  374,  374,  374,  374,  375,  374,  374,
      374,  374,  374,  374,  374,  374,  374,  374,  374,  374,
      375,  375,  374,  374,  374,  374,  375,  375,  375,  375,
      375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
      375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
      375,  375,  374,  374,  374,  421,  322,  323,  428,  440,
      440,  429,  429,  440,  339,  340,  432,  432,  440,  324,

      324,  324,  324,  338,  440,  487,  339,  340,  488,  489,
      440,  442,  444,  440,  443,  495,  496,  440,  451,  418,
      496,  421,  322,  323,  515,  767,  445,  517,  518,  430,
      338,  338,  440,  338,  338,  338,  338,  338,  338,  338,
      338,  338,  338,  338,  338,  338,  338,  338,  338,  338,
      338,  338,  338,  431,  431,  339,  340,  446,  338,  338,
      431,  431,  431,  431,  431,  431,  431,  431,  431,  431,
      431,  431,  431,  431,  431,  431,  431,  431,  431,  431,
      431,  431,  431,  431,  431,  338,  338,  338,  433,  433,
      433,  433,  642,  440,  555,  766,  433,  765,  339,  340,

      556,  495,  496,  433,  433,  433,  433,  433,  433,  360,
      360,  440,  439,  360,  360,  360,  360,  360,  360,  449,
      360,  360,  360,  360,  360,  360,  360,  360,  360,  360,
      360,  360,  440,  440,  360,  360,  360,  360,  440,  447,
      503,  503,  448,  506,  506,  417,  418,  419,  764,  522,
      339,  340,  440,  339,  340,  339,  340,  440,  450,  420,
      420,  420,  420,  516,  360,  360,  360,  375,  375,  586,
      375,  375,  375,  375,  375,  375,  375,  440,  375,  375,
      375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
      519,  440,  375,  375,  375,  375,  497,  418,  419,  440,

      440,  513,  440,  514,  497,  418,  419,  339,  340,  209,
      420,  420,  420,  420,  440,  521,  339,  340,  520,  524,
      569,  569,  375,  375,  375,  502,  502,  763,  523,  581,
      339,  340,  502,  502,  502,  502,  502,  502,  502,  502,
      502,  502,  502,  502,  502,  502,  502,  502,  502,  502,
      502,  502,  502,  502,  502,  502,  502,  504,  504,  504,
      504,  534,  440,  440,  440,  504,  440,  440,  620,  621,
      339,  340,  504,  504,  504,  504,  504,  504,  507,  507,
      507,  507,  576,  535,  440,  579,  507,  577,  440,  536,
      578,  582,  440,  507,  507,  507,  507,  507,  507,  570,

      570,  570,  570,  585,  440,  583,  440,  570,  440,  440,
      580,  440,  593,  440,  570,  570,  570,  570,  570,  570,
      628,  584,  594,  339,  340,  338,  339,  340,  440,  627,
      440,  440,  629,  440,  631,  630,  440,  440,  440,  620,
      621,  620,  621,  440,  691,  692,  632,  715,  691,  692,
      762,  636,  691,  692,  302,  302,  761,  638,  633,  760,
      759,  634,  758,  635,  716,  637,  757,  756,  755,  754,
      753,  752,  751,  674,   52,   52,   52,   52,   52,   52,
       52,   52,   52,   52,   52,   52,   52,   52,   52,   52,
       69,   69,   69,   69,   69,   69,   69,   69,   69,   69,

       69,   69,   69,   69,   69,   69,   72,   72,   72,   72,
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
       72,   72,   76,   76,   76,   76,   76,   76,   76,   76,
       76,   76,   76,   76,   76,   76,   76,   76,   86,   86,
       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
       86,   86,   86,   86,   40,   40,   40,   40,   40,   40,
       40,   40,   40,   40,   40,   40,   40,   40,   40,   40,
       95,   95,   95,   95,   95,   95,   95,   95,   95,   95,
       95,   95,   95,   95,   95,   95,  101,  101,  101,  101,
      101,  101,  101,  101,  101,  101,  101,  101,  101,  101,

      101,  101,  106,  106,  106,  106,  106,  106,  106,  106,
      106,  106,  106,  106,  106,  106,  106,  106,  110,  110,
      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  128,  128,  128,  128,  128,  128,
      128,  128,  128,  128,  128,  128,  128,  128,  128,  128,
      131,  131,  131,  131,  131,  131,  131,  131,  131,  131,
      131,  131,  131,  131,  131,  131,  135,  135,  135,  135,
      135,  135,  135,  135,  135,  135,  135,  135,  135,  135,
      135,  135,  177,  177,  177,  177,  177,  177,  177,  177,
      177,  177,  177,  177,  177,  177,  177,  177,  184,  184,

      184,  184,  750,  749,  184,  184,  184,  190,  190,  190,
      190,  190,  190,  190,  190,  190,  190,  190,  190,  190,
      190,  190,  200,  200,  200,  200,  748,  747,  200,  200,
      200,  209,  746,  209,  209,  209,  209,  209,  209,  209,
      209,  209,  209,  209,  209,  209,  209,  212,  745,  212,
      212,  212,  212,  212,  212,  212,  212,  212,  212,  212,
      212,  212,  212,  216,  216,  216,  744,  743,  216,  216,
      216,  227,  742,  227,  227,  227,  227,  227,  227,  227,
      227,  227,  227,  227,  227,  227,  227,  229,  741,  229,
      229,  229,  229,  229,  229,  229,  229,  229,  229,  229,

      229,  229,  229,  230,  740,  230,  230,  230,  230,  230,
      230,  230,  230,  230,  230,  230,  230,  230,  230,  234,
      234,  234,  234,  234,  234,  234,  234,  234,  234,  234,
      234,  234,  234,  234,  234,  236,  739,  236,  236,  738,
      236,  236,  236,  737,  736,  236,  236,  735,  734,  733,
      236,  238,  238,  238,  238,  732,  731,  238,  238,  238,
      242,  728,  242,  242,  242,  242,  242,  242,  242,  242,
      242,  242,  242,  242,  242,  242,  246,  246,  246,  246,
      727,  726,  246,  246,  246,  251,  725,  251,  251,  251,
      251,  251,  251,  251,  251,  251,  251,  251,  251,  251,

      251,  254,  724,  254,  254,  254,  254,  254,  254,  254,
      254,  254,  723,  254,  254,  254,  254,  255,  722,  721,
      720,  255,  255,  255,  255,  719,  718,  255,  255,  257,
      717,  257,  257,  257,  257,  257,  257,  257,  257,  257,
      257,  257,  257,  257,  257,  261,  261,  261,  261,  714,
      713,  261,  261,  261,  264,  264,  264,  264,  264,  264,
      264,  264,  264,  264,  264,  264,  264,  264,  264,  264,
      267,  267,  267,  267,  712,  267,  267,  267,  267,  267,
      267,  267,  267,  267,  267,  267,  271,  711,  710,  271,
      271,  271,  271,  271,  271,  271,  709,  271,  271,  271,

      271,  271,  273,  708,  273,  273,  273,  273,  273,  273,
      273,  273,  273,  273,  273,  273,  273,  273,  274,  707,
      274,  274,  706,  274,  274,  274,  705,  704,  274,  274,
      703,  702,  701,  274,  279,  279,  279,  279,  700,  699,
      279,  279,  279,  284,  698,  284,  284,  284,  284,  284,
      284,  284,  284,  284,  284,  284,  284,  284,  284,  288,
      288,  697,  288,  288,  696,  695,  694,  288,  288,  315,
      693,  315,  315,  315,  315,  315,  315,  315,  315,  315,
      315,  315,  315,  315,  315,  319,  689,  319,  319,  319,
      319,  319,  319,  319,  319,  319,  319,  319,  319,  319,

      319,  320,  688,  320,  320,  320,  320,  320,  320,  320,
      320,  320,  320,  320,  320,  320,  320,  328,  328,  687,
      686,  328,  328,  328,  329,  329,  685,  684,  329,  329,
      329,  330,  330,  330,  330,  330,  330,  330,  330,  330,
      330,  330,  330,  330,  330,  330,  330,  334,  334,  334,
      334,  334,  334,  334,  334,  334,  334,  334,  334,  334,
      334,  334,  334,  338,  683,  338,  338,  338,  338,  338,
      338,  338,  338,  338,  682,  338,  338,  338,  338,  209,
      681,  209,  209,  209,  209,  209,  209,  209,  209,  209,
      209,  209,  209,  209,  209,  345,  345,  680,  679,  678,

      677,  345,  346,  346,  346,  346,  676,  675,  346,  346,
      346,  346,  351,  673,  351,  351,  351,  351,  351,  351,
      351,  351,  351,  351,  351,  351,  351,  351,  227,  672,
      227,  227,  227,  227,  227,  227,  227,  227,  227,  227,
      227,  227,  227,  227,  229,  671,  229,  229,  229,  229,
      229,  229,  229,  229,  229,  229,  229,  229,  229,  229,
      230,  670,  230,  230,  230,  230,  230,  230,  230,  230,
      230,  230,  230,  230,  230,  230,  353,  669,  353,  353,
      353,  353,  353,  353,  353,  353,  353,  353,  353,  353,
      353,  353,  354,  668,  354,  354,  354,  354,  354,  354,

      354,  354,  354,  354,  354,  354,  354,  354,  234,  234,
      234,  234,  234,  234,  234,  234,  234,  234,  234,  234,
      234,  234,  234,  234,  236,  667,  236,  236,  666,  236,
      236,  236,  665,  664,  236,  236,  663,  662,  661,  236,
      238,  238,  238,  238,  660,  659,  238,  238,  238,  242,
      658,  242,  242,  242,  242,  242,  242,  242,  242,  242,
      242,  242,  242,  242,  242,  246,  246,  246,  246,  657,
      656,  246,  246,  246,  361,  361,  655,  654,  653,  361,
      361,  255,  652,  651,  650,  255,  255,  255,  255,  649,
      648,  255,  255,  257,  647,  257,  257,  257,  257,  257,

      257,  257,  257,  257,  257,  257,  257,  257,  257,  261,
      261,  261,  261,  646,  645,  261,  261,  261,  264,  264,
      264,  264,  264,  264,  264,  264,  264,  264,  264,  264,
      264,  264,  264,  264,  267,  267,  267,  267,  644,  267,
      267,  267,  267,  267,  267,  267,  267,  267,  267,  267,
      271,  643,  642,  271,  271,  271,  271,  271,  271,  271,
      641,  271,  271,  271,  271,  271,  274,  640,  274,  274,
      639,  274,  274,  274,  626,  625,  274,  274,  624,  623,
      622,  274,  279,  279,  279,  279,  563,  618,  279,  279,
      279,  284,  617,  284,  284,  284,  284,  284,  284,  284,

      284,  284,  284,  284,  284,  284,  284,  288,  288,  616,
      288,  288,  615,  614,  613,  288,  288,  315,  612,  315,
      315,  315,  315,  315,  315,  315,  315,  315,  315,  315,
      315,  315,  315,  319,  611,  319,  319,  319,  319,  319,
      319,  319,  319,  319,  319,  319,  319,  319,  319,  320,
      610,  320,  320,  320,  320,  320,  320,  320,  320,  320,
      320,  320,  320,  320,  320,  416,  416,  416,  416,  416,
      416,  416,  416,  416,  416,  416,  416,  416,  416,  416,
      416,  425,  425,  425,  425,  609,  608,  425,  425,  425,
      426,  426,  426,  426,  607,  606,  426,  426,  426,  330,

      330,  330,  330,  330,  330,  330,  330,  330,  330,  330,
      330,  330,  330,  330,  330,  334,  334,  334,  334,  334,
      334,  334,  334,  334,  334,  334,  334,  334,  334,  334,
      334,  338,  605,  338,  338,  338,  338,  338,  338,  338,
      338,  338,  604,  338,  338,  338,  338,  434,  434,  603,
      602,  601,  600,  434,  346,  346,  346,  346,  599,  598,
      346,  346,  346,  346,  351,  597,  351,  351,  351,  351,
      351,  351,  351,  351,  351,  351,  351,  351,  351,  351,
      619,  619,  619,  619,  619,  619,  619,  619,  619,  619,
      619,  619,  619,  619,  619,  619,  690,  690,  690,  690,

      690,  690,  690,  690,  690,  690,  690,  690,  690,  690,
      690,  690,  596,  595,  592,  591,  590,  589,  588,  587,
      574,  573,  572,  571,  568,  567,  566,  565,  564,  563,
      562,  561,  560,  559,  558,  557,  554,  553,  552,  551,
      550,  549,  548,  547,  546,  545,  544,  543,  542,  541,
      540,  539,  538,  537,  533,  532,  531,  530,  529,  528,
      527,  526,  525,  512,  511,  510,  509,  508,  505,  501,
      500,  499,  498,  494,  493,  492,  491,  490,  486,  485,
      484,  481,  480,  479,  478,  477,  476,  475,  474,  473,
      472,  471,  470,  469,  468,  467,  466,  465,  464,  463,

      462,  461,  460,  459,  458,  457,  456,  455,  454,  453,
      452,  440,  438,  437,  436,  435,  347,  427,  424,  423,
      422,  322,  415,  316,  409,  408,  407,  402,  399,  398,
      397,  396,  395,  394,  391,  390,  389,  386,  385,  382,
      379,  378,  285,  282,  377,  376,  278,  373,  372,  243,
      356,  355,  235,  231,  352,  350,  349,  348,  218,  347,
      337,  206,  333,  202,  318,  186,  182,  316,  314,  313,
      312,  311,  310,  309,  305,  299,  298,  295,  294,  291,
      287,  286,  285,  283,  282,  281,  280,  260,  278,  277,
      272,  270,  263,  262,  260,  256,  250,  253,  250,  249,

      247,  245,  244,  243,  241,  240,  239,  237,  235,  228,
      231,  228,  226,  218,  208,  202,  199,  186,  182,  778,
       94,   94,   85,   77,   77,   39,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778
    } ;

static yyconst short int yy_chk[2785] =
    {   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,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,

        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    3,    3,    3,    3,
      775,    3,    5,    5,    3,    3,    3,   27,   27,    3,
        6,    6,    6,   28,   28,    3,    6,   11,   11,   11,
        3,    3,   12,   12,   12,   48,   17,   17,   66,   29,
       29,   60,   60,   18,   18,  310,   17,   29,  310,   17,
       17,   17,   17,   18,   61,   61,   18,   18,   18,   18,
        3,    3,    3,    4,    4,    4,    4,  109,    4,    4,
       21,    4,    4,    4,  513,   48,    4,   19,   19,   19,
       22,  109,    4,   20,   20,   20,   66,    4,    4,  141,

        4,   17,   61,   21,   21,  141,   21,   37,   18,   37,
       75,   19,   75,   22,   22,  513,   22,   20,   30,   30,
       37,   37,   37,   37,  128,  128,   30,    4,    4,    4,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,

       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   23,   23,  163,   24,
       24,   38,  774,   38,   41,   41,   41,   23,  130,  130,
       24,   45,   45,   45,   38,   38,   38,   38,  163,   23,
       23,   23,   24,   24,   24,   25,   25,   25,   25,   25,
       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,

       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
       25,   25,   25,   31,   31,   31,   32,   32,   32,   57,
       57,   57,   62,   62,   62,   62,   99,   99,   99,   99,
      131,  131,  133,  133,  167,  198,  198,   31,  167,  773,
       32,   33,   33,   33,   33,   33,   33,   33,   33,   33,
       33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
       33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
       33,   33,   33,   33,   33,   33,   33,   33,   33,   33,

       33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
       33,   33,   33,   33,   33,   33,   33,   33,   33,   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,   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,   35,
       35,   35,   35,   35,   35,   35,   35,   49,   53,   53,
       53,  121,  105,  105,   53,  158,  108,  108,  115,  115,
      160,  158,   63,   63,   63,  291,  168,  275,   63,  121,

       49,  188,   49,  275,   49,   63,  168,  205,  205,  160,
       49,   63,  291,   49,   49,   49,  772,   49,   49,   63,
      105,  170,  307,   49,  108,   49,  115,  180,  180,  180,
      180,  170,  307,   53,  170,  181,  181,  181,  185,  185,
      185,  188,  192,  192,  192,  209,  209,   63,  193,  193,
      193,  294,  194,  194,  194,  294,  192,  192,  192,  192,
      211,  211,  193,  193,  193,  193,  194,  194,  194,  194,
      195,  195,  195,  201,  201,  201,  210,  213,  213,  201,
      289,  257,  210,  210,  195,  195,  195,  195,  192,  217,
      217,  217,  264,  264,  289,  217,  194,  362,  211,  257,

      266,  266,  217,  248,  248,  248,  248,  771,  217,  267,
      267,  269,  269,  195,  298,  309,  217,  314,  298,  362,
      314,  321,  321,  321,  309,  330,  330,  770,  201,  314,
      314,  317,  317,  317,  317,  321,  321,  321,  321,  715,
      314,  332,  332,  715,  217,  241,  241,  241,  241,  241,
      241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
      241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
      241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
      241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
      241,  241,  241,  241,  241,  241,  241,  241,  241,  241,

      241,  241,  241,  250,  250,  250,  250,  334,  334,  250,
      336,  336,  338,  338,  250,  344,  344,  767,  250,  406,
      766,  250,  765,  250,  764,  406,  250,  278,  278,  762,
      278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
      278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
      278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
      278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
      278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
      278,  278,  278,  278,  278,  324,  324,  324,  339,  363,
      364,  340,  340,  365,  339,  339,  342,  342,  366,  324,

      324,  324,  324,  340,  371,  410,  342,  342,  410,  410,
      444,  363,  365,  442,  364,  416,  416,  445,  371,  419,
      419,  421,  421,  421,  442,  760,  366,  444,  445,  340,
      341,  341,  367,  341,  341,  341,  341,  341,  341,  341,
      341,  341,  341,  341,  341,  341,  341,  341,  341,  341,
      341,  341,  341,  341,  341,  341,  341,  367,  341,  341,
      341,  341,  341,  341,  341,  341,  341,  341,  341,  341,
      341,  341,  341,  341,  341,  341,  341,  341,  341,  341,
      341,  341,  341,  341,  341,  341,  341,  341,  343,  343,
      343,  343,  759,  369,  487,  758,  343,  757,  343,  343,

      487,  496,  496,  343,  343,  343,  343,  343,  343,  360,
      360,  368,  360,  360,  360,  360,  360,  360,  360,  369,
      360,  360,  360,  360,  360,  360,  360,  360,  360,  360,
      360,  360,  370,  443,  360,  360,  360,  360,  449,  368,
      429,  429,  368,  432,  432,  417,  417,  417,  755,  449,
      429,  429,  524,  432,  432,  506,  506,  446,  370,  417,
      417,  417,  417,  443,  360,  360,  360,  375,  375,  524,
      375,  375,  375,  375,  375,  375,  375,  441,  375,  375,
      375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
      446,  448,  375,  375,  375,  375,  420,  420,  420,  447,

      451,  441,  450,  441,  497,  497,  497,  505,  505,  505,
      420,  420,  420,  420,  519,  448,  507,  507,  447,  451,
      503,  503,  375,  375,  375,  428,  428,  754,  450,  519,
      503,  503,  428,  428,  428,  428,  428,  428,  428,  428,
      428,  428,  428,  428,  428,  428,  428,  428,  428,  428,
      428,  428,  428,  428,  428,  428,  428,  430,  430,  430,
      430,  463,  516,  515,  514,  430,  517,  520,  564,  564,
      569,  569,  430,  430,  430,  430,  430,  430,  433,  433,
      433,  433,  514,  463,  518,  517,  433,  515,  523,  463,
      516,  520,  521,  433,  433,  433,  433,  433,  433,  504,

      504,  504,  504,  523,  579,  521,  575,  504,  522,  576,
      518,  577,  534,  578,  504,  504,  504,  504,  504,  504,
      576,  522,  534,  568,  568,  568,  570,  570,  580,  575,
      581,  582,  577,  583,  579,  578,  584,  585,  586,  619,
      619,  621,  621,  638,  661,  661,  580,  687,  690,  690,
      753,  584,  692,  692,  820,  820,  752,  586,  581,  749,
      748,  582,  747,  583,  687,  585,  746,  745,  744,  743,
      742,  741,  740,  638,  779,  779,  779,  779,  779,  779,
      779,  779,  779,  779,  779,  779,  779,  779,  779,  779,
      780,  780,  780,  780,  780,  780,  780,  780,  780,  780,

      780,  780,  780,  780,  780,  780,  781,  781,  781,  781,
      781,  781,  781,  781,  781,  781,  781,  781,  781,  781,
      781,  781,  782,  782,  782,  782,  782,  782,  782,  782,
      782,  782,  782,  782,  782,  782,  782,  782,  783,  783,
      783,  783,  783,  783,  783,  783,  783,  783,  783,  783,
      783,  783,  783,  783,  784,  784,  784,  784,  784,  784,
      784,  784,  784,  784,  784,  784,  784,  784,  784,  784,
      785,  785,  785,  785,  785,  785,  785,  785,  785,  785,
      785,  785,  785,  785,  785,  785,  786,  786,  786,  786,
      786,  786,  786,  786,  786,  786,  786,  786,  786,  786,

      786,  786,  787,  787,  787,  787,  787,  787,  787,  787,
      787,  787,  787,  787,  787,  787,  787,  787,  788,  788,
      788,  788,  788,  788,  788,  788,  788,  788,  788,  788,
      788,  788,  788,  788,  789,  789,  789,  789,  789,  789,
      789,  789,  789,  789,  789,  789,  789,  789,  789,  789,
      790,  790,  790,  790,  790,  790,  790,  790,  790,  790,
      790,  790,  790,  790,  790,  790,  791,  791,  791,  791,
      791,  791,  791,  791,  791,  791,  791,  791,  791,  791,
      791,  791,  792,  792,  792,  792,  792,  792,  792,  792,
      792,  792,  792,  792,  792,  792,  792,  792,  793,  793,

      793,  793,  739,  737,  793,  793,  793,  794,  794,  794,
      794,  794,  794,  794,  794,  794,  794,  794,  794,  794,
      794,  794,  795,  795,  795,  795,  735,  734,  795,  795,
      795,  796,  733,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  797,  732,  797,
      797,  797,  797,  797,  797,  797,  797,  797,  797,  797,
      797,  797,  797,  798,  798,  798,  731,  730,  798,  798,
      798,  799,  729,  799,  799,  799,  799,  799,  799,  799,
      799,  799,  799,  799,  799,  799,  799,  800,  728,  800,
      800,  800,  800,  800,  800,  800,  800,  800,  800,  800,

      800,  800,  800,  801,  727,  801,  801,  801,  801,  801,
      801,  801,  801,  801,  801,  801,  801,  801,  801,  802,
      802,  802,  802,  802,  802,  802,  802,  802,  802,  802,
      802,  802,  802,  802,  802,  803,  726,  803,  803,  725,
      803,  803,  803,  724,  722,  803,  803,  721,  720,  719,
      803,  804,  804,  804,  804,  717,  716,  804,  804,  804,
      805,  714,  805,  805,  805,  805,  805,  805,  805,  805,
      805,  805,  805,  805,  805,  805,  806,  806,  806,  806,
      713,  712,  806,  806,  806,  807,  711,  807,  807,  807,
      807,  807,  807,  807,  807,  807,  807,  807,  807,  807,

      807,  808,  710,  808,  808,  808,  808,  808,  808,  808,
      808,  808,  709,  808,  808,  808,  808,  809,  708,  707,
      706,  809,  809,  809,  809,  705,  704,  809,  809,  810,
      688,  810,  810,  810,  810,  810,  810,  810,  810,  810,
      810,  810,  810,  810,  810,  811,  811,  811,  811,  686,
      685,  811,  811,  811,  812,  812,  812,  812,  812,  812,
      812,  812,  812,  812,  812,  812,  812,  812,  812,  812,
      813,  813,  813,  813,  684,  813,  813,  813,  813,  813,
      813,  813,  813,  813,  813,  813,  814,  683,  682,  814,
      814,  814,  814,  814,  814,  814,  680,  814,  814,  814,

      814,  814,  815,  679,  815,  815,  815,  815,  815,  815,
      815,  815,  815,  815,  815,  815,  815,  815,  816,  677,
      816,  816,  676,  816,  816,  816,  675,  674,  816,  816,
      673,  672,  671,  816,  817,  817,  817,  817,  670,  669,
      817,  817,  817,  818,  668,  818,  818,  818,  818,  818,
      818,  818,  818,  818,  818,  818,  818,  818,  818,  819,
      819,  667,  819,  819,  666,  665,  664,  819,  819,  821,
      663,  821,  821,  821,  821,  821,  821,  821,  821,  821,
      821,  821,  821,  821,  821,  822,  660,  822,  822,  822,
      822,  822,  822,  822,  822,  822,  822,  822,  822,  822,

      822,  823,  658,  823,  823,  823,  823,  823,  823,  823,
      823,  823,  823,  823,  823,  823,  823,  824,  824,  657,
      656,  824,  824,  824,  825,  825,  655,  652,  825,  825,
      825,  826,  826,  826,  826,  826,  826,  826,  826,  826,
      826,  826,  826,  826,  826,  826,  826,  827,  827,  827,
      827,  827,  827,  827,  827,  827,  827,  827,  827,  827,
      827,  827,  827,  828,  650,  828,  828,  828,  828,  828,
      828,  828,  828,  828,  648,  828,  828,  828,  828,  829,
      647,  829,  829,  829,  829,  829,  829,  829,  829,  829,
      829,  829,  829,  829,  829,  830,  830,  646,  645,  643,

      641,  830,  831,  831,  831,  831,  640,  639,  831,  831,
      831,  831,  832,  637,  832,  832,  832,  832,  832,  832,
      832,  832,  832,  832,  832,  832,  832,  832,  833,  636,
      833,  833,  833,  833,  833,  833,  833,  833,  833,  833,
      833,  833,  833,  833,  834,  635,  834,  834,  834,  834,
      834,  834,  834,  834,  834,  834,  834,  834,  834,  834,
      835,  634,  835,  835,  835,  835,  835,  835,  835,  835,
      835,  835,  835,  835,  835,  835,  836,  633,  836,  836,
      836,  836,  836,  836,  836,  836,  836,  836,  836,  836,
      836,  836,  837,  632,  837,  837,  837,  837,  837,  837,

      837,  837,  837,  837,  837,  837,  837,  837,  838,  838,
      838,  838,  838,  838,  838,  838,  838,  838,  838,  838,
      838,  838,  838,  838,  839,  631,  839,  839,  630,  839,
      839,  839,  629,  628,  839,  839,  627,  625,  623,  839,
      840,  840,  840,  840,  616,  615,  840,  840,  840,  841,
      614,  841,  841,  841,  841,  841,  841,  841,  841,  841,
      841,  841,  841,  841,  841,  842,  842,  842,  842,  613,
      612,  842,  842,  842,  843,  843,  611,  610,  608,  843,
      843,  844,  605,  604,  603,  844,  844,  844,  844,  602,
      601,  844,  844,  845,  600,  845,  845,  845,  845,  845,

      845,  845,  845,  845,  845,  845,  845,  845,  845,  846,
      846,  846,  846,  599,  598,  846,  846,  846,  847,  847,
      847,  847,  847,  847,  847,  847,  847,  847,  847,  847,
      847,  847,  847,  847,  848,  848,  848,  848,  597,  848,
      848,  848,  848,  848,  848,  848,  848,  848,  848,  848,
      849,  596,  595,  849,  849,  849,  849,  849,  849,  849,
      594,  849,  849,  849,  849,  849,  850,  593,  850,  850,
      591,  850,  850,  850,  572,  571,  850,  850,  567,  566,
      565,  850,  851,  851,  851,  851,  563,  562,  851,  851,
      851,  852,  561,  852,  852,  852,  852,  852,  852,  852,

      852,  852,  852,  852,  852,  852,  852,  853,  853,  560,
      853,  853,  559,  558,  557,  853,  853,  854,  556,  854,
      854,  854,  854,  854,  854,  854,  854,  854,  854,  854,
      854,  854,  854,  855,  555,  855,  855,  855,  855,  855,
      855,  855,  855,  855,  855,  855,  855,  855,  855,  856,
      554,  856,  856,  856,  856,  856,  856,  856,  856,  856,
      856,  856,  856,  856,  856,  857,  857,  857,  857,  857,
      857,  857,  857,  857,  857,  857,  857,  857,  857,  857,
      857,  858,  858,  858,  858,  552,  551,  858,  858,  858,
      859,  859,  859,  859,  549,  548,  859,  859,  859,  860,

      860,  860,  860,  860,  860,  860,  860,  860,  860,  860,
      860,  860,  860,  860,  860,  861,  861,  861,  861,  861,
      861,  861,  861,  861,  861,  861,  861,  861,  861,  861,
      861,  862,  547,  862,  862,  862,  862,  862,  862,  862,
      862,  862,  546,  862,  862,  862,  862,  863,  863,  545,
      544,  543,  542,  863,  864,  864,  864,  864,  541,  540,
      864,  864,  864,  864,  865,  538,  865,  865,  865,  865,
      865,  865,  865,  865,  865,  865,  865,  865,  865,  865,
      866,  866,  866,  866,  866,  866,  866,  866,  866,  866,
      866,  866,  866,  866,  866,  866,  867,  867,  867,  867,

      867,  867,  867,  867,  867,  867,  867,  867,  867,  867,
      867,  867,  536,  535,  532,  530,  528,  527,  526,  525,
      511,  510,  509,  508,  502,  501,  500,  499,  498,  494,
      493,  492,  491,  490,  489,  488,  485,  484,  483,  482,
      481,  480,  478,  477,  476,  475,  474,  473,  472,  470,
      469,  468,  465,  464,  462,  461,  460,  459,  458,  455,
      454,  453,  452,  440,  438,  437,  436,  435,  431,  427,
      424,  423,  422,  415,  414,  413,  412,  411,  409,  408,
      407,  405,  404,  403,  402,  401,  400,  399,  398,  397,
      396,  395,  394,  393,  392,  391,  390,  388,  387,  386,

      384,  383,  382,  381,  380,  379,  378,  377,  376,  373,
      372,  361,  356,  355,  352,  350,  346,  337,  327,  326,
      325,  323,  318,  315,  313,  312,  311,  308,  306,  305,
      303,  301,  300,  299,  297,  296,  295,  293,  292,  290,
      287,  286,  284,  282,  281,  280,  276,  263,  262,  243,
      240,  239,  234,  231,  226,  222,  221,  220,  219,  216,
      208,  207,  204,  203,  189,  187,  183,  179,  176,  175,
      174,  173,  172,  171,  169,  166,  165,  162,  161,  159,
      156,  155,  154,  153,  151,  149,  148,  146,  144,  143,
      137,  134,  125,  124,  122,  119,  114,  112,  107,  103,

       97,   92,   89,   87,   85,   84,   83,   80,   76,   74,
       73,   71,   67,   65,   59,   55,   50,   47,   43,   39,
       16,   15,   10,    8,    7,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
      778,  778,  778,  778
    } ;

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
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "scan.l"
#define INITIAL 0
/* scan.l - scanner for flex input */
#line 4 "scan.l"
/*-
 * Copyright (c) 1990 The Regents of the University of California.
 * All rights reserved.
 *
 * This code is derived from software contributed to Berkeley by
 * Vern Paxson.
 * 
 * The United States Government has rights in this work pursuant
 * to contract no. DE-AC03-76SF00098 between the United States
 * Department of Energy and the University of California.
 *
 * Redistribution and use in source and binary forms with or without
 * modification are permitted provided that: (1) source distributions retain
 * this entire copyright notice and comment, and (2) distributions including
 * binaries display the following acknowledgement:  ``This product includes
 * software developed by the University of California, Berkeley and its
 * contributors'' in the documentation or other materials provided with the
 * distribution and in all advertising materials mentioning features or use
 * of this software.  Neither the name of the University nor the names of
 * its contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

/* $Header: /Users/Shared/flex/flex/flex/initscan.c,v 1.2 2005/04/02 17:28:54 llattanz Exp $ */

#include "flexdef.h"
#include "parse.h"

#define ACTION_ECHO add_action( yytext )
#define ACTION_IFDEF(def, should_define) \
	{ \
	if ( should_define ) \
		action_define( def, 1 ); \
	}

#define MARK_END_OF_PROLOG mark_prolog();

#define YY_DECL \
	int flexscan()

#define RETURNCHAR \
	yylval = (unsigned char) yytext[0]; \
	return CHAR;

#define RETURNNAME \
	strcpy( nmstr, yytext ); \
	return NAME;

#define PUT_BACK_STRING(str, start) \
	for ( i = strlen( str ) - 1; i >= start; --i ) \
		unput((str)[i])

#define CHECK_REJECT(str) \
	if ( all_upper( str ) ) \
		reject = true;

#define CHECK_YYMORE(str) \
	if ( all_lower( str ) ) \
		yymore_used = true;

#define YY_USER_INIT \
	if ( getenv("POSIXLY_CORRECT") || getenv("POSIX_PEDANTIC")) \
		posix_compat = true;

#define YY_STACK_USED 1
#define YY_NO_TOP_STATE 1
#define SECT2 1
#define SECT2PROLOG 2
#define SECT3 3
#define CODEBLOCK 4
#define PICKUPDEF 5
#define SC 6
#define CARETISBOL 7
#define NUM 8
#define QUOTE 9

#define FIRSTCCL 10
#define CCL 11
#define ACTION 12
#define RECOVER 13
#define COMMENT 14
#define ACTION_STRING 15
#define PERCENT_BRACE_ACTION 16

#define OPTION 17
#define LINEDIR 18

#line 1343 "scan.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 \
	if ( yyleng > 0 ) \
		yy_current_buffer->yy_at_bol = \
				(yytext[yyleng - 1] == '\n'); \
	YY_USER_ACTION

YY_DECL
	{
	register yy_state_type yy_current_state;
	register char *yy_cp, *yy_bp;
	register int yy_act;

#line 99 "scan.l"

	static int bracelevel, didadef, indented_code;
	static int doing_rule_action = false;
	static int option_sense;

	int doing_codeblock = false;
	int i;
	Char nmdef[MAXLINE], myesc();


#line 1508 "scan.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_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_current_state += YY_AT_BOL();
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 >= 779 )
					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] != 2726 );

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 110 "scan.l"
indented_code = true; BEGIN(CODEBLOCK);
	YY_BREAK
case 2:
YY_RULE_SETUP
#line 111 "scan.l"
ACTION_ECHO; yy_push_state( COMMENT );
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 112 "scan.l"
yy_push_state( LINEDIR );
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 113 "scan.l"
return SCDECL;
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 114 "scan.l"
return XSCDECL;
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 115 "scan.l"
{
			++linenum;
			line_directive_out( (FILE *) 0, 1 );
			indented_code = false;
			BEGIN(CODEBLOCK);
			}
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 122 "scan.l"
/* discard */
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 124 "scan.l"
{
			sectnum = 2;
			bracelevel = 0;
			mark_defs1();
			line_directive_out( (FILE *) 0, 1 );
			BEGIN(SECT2PROLOG);
			return SECTEND;
			}
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 133 "scan.l"
yytext_is_array = false; ++linenum;
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 134 "scan.l"
yytext_is_array = true; ++linenum;
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 136 "scan.l"
BEGIN(OPTION); return OPTION_OP;
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 138 "scan.l"
++linenum; /* ignore */
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 139 "scan.l"
++linenum;	/* ignore */
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 141 "scan.l"
synerr( _( "unrecognized '%' directive" ) );
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 143 "scan.l"
{
			strcpy( nmstr, yytext );
			didadef = false;
			BEGIN(PICKUPDEF);
			}
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 149 "scan.l"
RETURNNAME;
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 150 "scan.l"
++linenum; /* allows blank lines in section 1 */
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 151 "scan.l"
ACTION_ECHO; ++linenum; /* maybe end of comment line */
	YY_BREAK


case 19:
YY_RULE_SETUP
#line 156 "scan.l"
ACTION_ECHO; yy_pop_state();
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 157 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 158 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 159 "scan.l"
++linenum; ACTION_ECHO;
	YY_BREAK


case 23:
YY_RULE_SETUP
#line 163 "scan.l"
yy_pop_state();
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 164 "scan.l"
linenum = myctoi( yytext );
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 166 "scan.l"
{
			flex_free( (void *) infilename );
			infilename = copy_string( yytext + 1 );
			infilename[strlen( infilename ) - 1] = '\0';
			}
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 171 "scan.l"
/* ignore spurious characters */
	YY_BREAK


case 27:
YY_RULE_SETUP
#line 175 "scan.l"
++linenum; BEGIN(INITIAL);
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 177 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 179 "scan.l"
{
			++linenum;
			ACTION_ECHO;
			if ( indented_code )
				BEGIN(INITIAL);
			}
	YY_BREAK


case 30:
YY_RULE_SETUP
#line 189 "scan.l"
/* separates name and definition */
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 191 "scan.l"
{
			strcpy( (char *) nmdef, yytext );

			/* Skip trailing whitespace. */
			for ( i = strlen( (char *) nmdef ) - 1;
			      i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t');
			      --i )
				;

			nmdef[i + 1] = '\0';

			ndinstal( nmstr, nmdef );
			didadef = true;
			}
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 206 "scan.l"
{
			if ( ! didadef )
				synerr( _( "incomplete name definition" ) );
			BEGIN(INITIAL);
			++linenum;
			}
	YY_BREAK


case 33:
YY_RULE_SETUP
#line 216 "scan.l"
++linenum; BEGIN(INITIAL);
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 217 "scan.l"
option_sense = true;
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 219 "scan.l"
return '=';
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 221 "scan.l"
option_sense = ! option_sense;
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 223 "scan.l"
csize = option_sense ? 128 : 256;
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 224 "scan.l"
csize = option_sense ? 256 : 128;
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 226 "scan.l"
long_align = option_sense;
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 227 "scan.l"
{
			action_define( "YY_ALWAYS_INTERACTIVE", option_sense );
			}
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 230 "scan.l"
yytext_is_array = option_sense;
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 231 "scan.l"
backing_up_report = option_sense;
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 232 "scan.l"
interactive = ! option_sense;
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 233 "scan.l"
C_plus_plus = option_sense;
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 234 "scan.l"
caseins = ! option_sense;
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 235 "scan.l"
caseins = option_sense;
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 236 "scan.l"
ddebug = option_sense;
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 237 "scan.l"
spprdflt = ! option_sense;
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 238 "scan.l"
useecs = option_sense;
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 239 "scan.l"
{
			useecs = usemecs = false;
			use_read = fullspd = true;
			}
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 243 "scan.l"
{
			useecs = usemecs = false;
			use_read = fulltbl = true;
			}
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 247 "scan.l"
ACTION_IFDEF("YY_NO_INPUT", ! option_sense);
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 248 "scan.l"
interactive = option_sense;
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 249 "scan.l"
lex_compat = option_sense;
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 250 "scan.l"
posix_compat = option_sense;
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 251 "scan.l"
{
			action_define( "YY_MAIN", option_sense );
			do_yywrap = ! option_sense;
			}
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 255 "scan.l"
usemecs = option_sense;
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 256 "scan.l"
{
			action_define( "YY_NEVER_INTERACTIVE", option_sense );
			}
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 259 "scan.l"
performance_report += option_sense ? 1 : -1;
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 260 "scan.l"
yytext_is_array = ! option_sense;
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 261 "scan.l"
use_read = option_sense;
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 262 "scan.l"
reject_really_used = option_sense;
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 263 "scan.l"
action_define( "YY_STACK_USED", option_sense );
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 264 "scan.l"
do_stdinit = option_sense;
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 265 "scan.l"
use_stdout = option_sense;
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 266 "scan.l"
ACTION_IFDEF("YY_NO_UNPUT", ! option_sense);
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 267 "scan.l"
printstats = option_sense;
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 268 "scan.l"
nowarn = ! option_sense;
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 269 "scan.l"
do_yylineno = option_sense;
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 270 "scan.l"
yymore_really_used = option_sense;
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 271 "scan.l"
do_yywrap = option_sense;
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 273 "scan.l"
ACTION_IFDEF("YY_NO_PUSH_STATE", ! option_sense);
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 274 "scan.l"
ACTION_IFDEF("YY_NO_POP_STATE", ! option_sense);
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 275 "scan.l"
ACTION_IFDEF("YY_NO_TOP_STATE", ! option_sense);
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 277 "scan.l"
ACTION_IFDEF("YY_NO_SCAN_BUFFER", ! option_sense);
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 278 "scan.l"
ACTION_IFDEF("YY_NO_SCAN_BYTES", ! option_sense);
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 279 "scan.l"
ACTION_IFDEF("YY_NO_SCAN_STRING", ! option_sense);
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 281 "scan.l"
return OPT_OUTFILE;
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 282 "scan.l"
return OPT_PREFIX;
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 283 "scan.l"
return OPT_YYCLASS;
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 285 "scan.l"
{
			strcpy( nmstr, yytext + 1 );
			nmstr[strlen( nmstr ) - 1] = '\0';
			return NAME;
			}
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 291 "scan.l"
{
			format_synerr( _( "unrecognized %%option: %s" ),
				yytext );
			BEGIN(RECOVER);
			}
	YY_BREAK

case 83:
YY_RULE_SETUP
#line 298 "scan.l"
++linenum; BEGIN(INITIAL);
	YY_BREAK

case 84:
YY_RULE_SETUP
#line 302 "scan.l"
++bracelevel; yyless( 2 );	/* eat only %{ */
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 303 "scan.l"
--bracelevel; yyless( 2 );	/* eat only %} */
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 305 "scan.l"
ACTION_ECHO;	/* indented code in prolog */
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 307 "scan.l"
{	/* non-indented code */
			if ( bracelevel <= 0 )
				{ /* not in %{ ... %} */
				yyless( 0 );	/* put it all back */
				yy_set_bol( 1 );
				mark_prolog();
				BEGIN(SECT2);
				}
			else
				ACTION_ECHO;
			}
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 319 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 320 "scan.l"
++linenum; ACTION_ECHO;
	YY_BREAK
case YY_STATE_EOF(SECT2PROLOG):
#line 322 "scan.l"
{
			mark_prolog();
			sectnum = 0;
			yyterminate(); /* to stop the parser */
			}
	YY_BREAK


case 90:
YY_RULE_SETUP
#line 330 "scan.l"
++linenum; /* allow blank lines in section 2 */
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 332 "scan.l"
{
			indented_code = false;
			doing_codeblock = true;
			bracelevel = 1;
			BEGIN(PERCENT_BRACE_ACTION);
			}
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 339 "scan.l"
BEGIN(SC); return '<';
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 340 "scan.l"
return '^';
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 341 "scan.l"
BEGIN(QUOTE); return '"';
	YY_BREAK
case 95:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 342 "scan.l"
{ 
			BEGIN(NUM);
			if ( lex_compat || posix_compat )
				return BEGIN_REPEAT_POSIX;
			else
				return BEGIN_REPEAT_FLEX;
			}
	YY_BREAK
case 96:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 349 "scan.l"
return '$';
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 351 "scan.l"
{
			bracelevel = 1;
			BEGIN(PERCENT_BRACE_ACTION);

			if ( in_rule )
				{
				doing_rule_action = true;
				in_rule = false;
				return '\n';
				}
			}
	YY_BREAK
case 98:
YY_RULE_SETUP
#line 362 "scan.l"
continued_action = true; ++linenum; return '\n';
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 364 "scan.l"
{
			yyless( yyleng - 2 );	/* put back '/', '*' */
			bracelevel = 0;
			continued_action = false;
			BEGIN(ACTION);
			}
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 371 "scan.l"
/* allow indented rules */
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 373 "scan.l"
{
			/* This rule is separate from the one below because
			 * otherwise we get variable trailing context, so
			 * we can't build the scanner using -{f,F}.
			 */
			bracelevel = 0;
			continued_action = false;
			BEGIN(ACTION);

			if ( in_rule )
				{
				doing_rule_action = true;
				in_rule = false;
				return '\n';
				}
			}
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 390 "scan.l"
{
			bracelevel = 0;
			continued_action = false;
			BEGIN(ACTION);
			unput( '\n' );	/* so <ACTION> sees it */

			if ( in_rule )
				{
				doing_rule_action = true;
				in_rule = false;
				return '\n';
				}
			}
	YY_BREAK
case 103:
#line 405 "scan.l"
case 104:
YY_RULE_SETUP
#line 405 "scan.l"
return EOF_OP;
	YY_BREAK
case 105:
YY_RULE_SETUP
#line 407 "scan.l"
{
			sectnum = 3;
			BEGIN(SECT3);
			yyterminate(); /* to stop the parser */
			}
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 413 "scan.l"
{
			int cclval;

			strcpy( nmstr, yytext );

			/* Check to see if we've already encountered this
			 * ccl.
			 */
			if ( (cclval = ccllookup( (Char *) nmstr )) != 0 )
				{
				if ( input() != ']' )
					synerr( _( "bad character class" ) );

				yylval = cclval;
				++cclreuse;
				return PREVCCL;
				}
			else
				{
				/* We fudge a bit.  We know that this ccl will
				 * soon be numbered as lastccl + 1 by cclinit.
				 */
				cclinstal( (Char *) nmstr, lastccl + 1 );

				/* Push back everything but the leading bracket
				 * so the ccl can be rescanned.
				 */
				yyless( 1 );

				BEGIN(FIRSTCCL);
				return '[';
				}
			}
	YY_BREAK
case 107:
YY_RULE_SETUP
#line 447 "scan.l"
{
			register Char *nmdefptr;
			Char *ndlookup();

			strcpy( nmstr, yytext + 1 );
			nmstr[yyleng - 2] = '\0';  /* chop trailing brace */

			if ( (nmdefptr = ndlookup( nmstr )) == 0 )
				format_synerr(
					_( "undefined definition {%s}" ),
						nmstr );

			else
				{ /* push back name surrounded by ()'s */
				int len = strlen( (char *) nmdefptr );

				if ( lex_compat || nmdefptr[0] == '^' ||
				     (len > 0 && nmdefptr[len - 1] == '$') )
					{ /* don't use ()'s after all */
					PUT_BACK_STRING((char *) nmdefptr, 0);

					if ( nmdefptr[0] == '^' )
						BEGIN(CARETISBOL);
					}

				else
					{
					unput(')');
					PUT_BACK_STRING((char *) nmdefptr, 0);
					unput('(');
					}
				}
			}
	YY_BREAK
case 108:
YY_RULE_SETUP
#line 481 "scan.l"
return (unsigned char) yytext[0];
	YY_BREAK
case 109:
YY_RULE_SETUP
#line 482 "scan.l"
RETURNCHAR;
	YY_BREAK


case 110:
YY_RULE_SETUP
#line 487 "scan.l"
return (unsigned char) yytext[0];
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 488 "scan.l"
BEGIN(SECT2); return '>';
	YY_BREAK
case 112:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 489 "scan.l"
BEGIN(CARETISBOL); return '>';
	YY_BREAK
case 113:
YY_RULE_SETUP
#line 490 "scan.l"
RETURNNAME;
	YY_BREAK
case 114:
YY_RULE_SETUP
#line 491 "scan.l"
{
			format_synerr( _( "bad <start condition>: %s" ),
				yytext );
			}
	YY_BREAK

case 115:
YY_RULE_SETUP
#line 497 "scan.l"
BEGIN(SECT2); return '^';
	YY_BREAK

case 116:
YY_RULE_SETUP
#line 501 "scan.l"
RETURNCHAR;
	YY_BREAK
case 117:
YY_RULE_SETUP
#line 502 "scan.l"
BEGIN(SECT2); return '"';
	YY_BREAK
case 118:
YY_RULE_SETUP
#line 504 "scan.l"
{
			synerr( _( "missing quote" ) );
			BEGIN(SECT2);
			++linenum;
			return '"';
			}
	YY_BREAK


case 119:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 514 "scan.l"
BEGIN(CCL); return '^';
	YY_BREAK
case 120:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 515 "scan.l"
return '^';
	YY_BREAK
case 121:
YY_RULE_SETUP
#line 516 "scan.l"
BEGIN(CCL); RETURNCHAR;
	YY_BREAK


case 122:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 520 "scan.l"
return '-';
	YY_BREAK
case 123:
YY_RULE_SETUP
#line 521 "scan.l"
RETURNCHAR;
	YY_BREAK
case 124:
YY_RULE_SETUP
#line 522 "scan.l"
BEGIN(SECT2); return ']';
	YY_BREAK
case 125:
YY_RULE_SETUP
#line 523 "scan.l"
{
			synerr( _( "bad character class" ) );
			BEGIN(SECT2);
			return ']';
			}
	YY_BREAK


case 126:
YY_RULE_SETUP
#line 531 "scan.l"
BEGIN(CCL); return CCE_ALNUM;
	YY_BREAK
case 127:
YY_RULE_SETUP
#line 532 "scan.l"
BEGIN(CCL); return CCE_ALPHA;
	YY_BREAK
case 128:
YY_RULE_SETUP
#line 533 "scan.l"
BEGIN(CCL); return CCE_BLANK;
	YY_BREAK
case 129:
YY_RULE_SETUP
#line 534 "scan.l"
BEGIN(CCL); return CCE_CNTRL;
	YY_BREAK
case 130:
YY_RULE_SETUP
#line 535 "scan.l"
BEGIN(CCL); return CCE_DIGIT;
	YY_BREAK
case 131:
YY_RULE_SETUP
#line 536 "scan.l"
BEGIN(CCL); return CCE_GRAPH;
	YY_BREAK
case 132:
YY_RULE_SETUP
#line 537 "scan.l"
BEGIN(CCL); return CCE_LOWER;
	YY_BREAK
case 133:
YY_RULE_SETUP
#line 538 "scan.l"
BEGIN(CCL); return CCE_PRINT;
	YY_BREAK
case 134:
YY_RULE_SETUP
#line 539 "scan.l"
BEGIN(CCL); return CCE_PUNCT;
	YY_BREAK
case 135:
YY_RULE_SETUP
#line 540 "scan.l"
BEGIN(CCL); return CCE_SPACE;
	YY_BREAK
case 136:
YY_RULE_SETUP
#line 541 "scan.l"
BEGIN(CCL); return CCE_UPPER;
	YY_BREAK
case 137:
YY_RULE_SETUP
#line 542 "scan.l"
BEGIN(CCL); return CCE_XDIGIT;
	YY_BREAK
case 138:
YY_RULE_SETUP
#line 543 "scan.l"
{
			format_synerr(
				_( "bad character class expression: %s" ),
					yytext );
			BEGIN(CCL); return CCE_ALNUM;
			}
	YY_BREAK


case 139:
YY_RULE_SETUP
#line 552 "scan.l"
{
			yylval = myctoi( yytext );
			return NUMBER;
			}
	YY_BREAK
case 140:
YY_RULE_SETUP
#line 557 "scan.l"
return ',';
	YY_BREAK
case 141:
YY_RULE_SETUP
#line 558 "scan.l"
{
			BEGIN(SECT2);
			if ( lex_compat || posix_compat )
				return END_REPEAT_POSIX;
			else
				return END_REPEAT_FLEX;
			}
	YY_BREAK
case 142:
YY_RULE_SETUP
#line 566 "scan.l"
{
			synerr( _( "bad character inside {}'s" ) );
			BEGIN(SECT2);
			return '}';
			}
	YY_BREAK
case 143:
YY_RULE_SETUP
#line 572 "scan.l"
{
			synerr( _( "missing }" ) );
			BEGIN(SECT2);
			++linenum;
			return '}';
			}
	YY_BREAK


case 144:
YY_RULE_SETUP
#line 582 "scan.l"
bracelevel = 0;
	YY_BREAK
case 145:
YY_RULE_SETUP
#line 584 "scan.l"
ACTION_ECHO; yy_push_state( COMMENT );
	YY_BREAK

case 146:
YY_RULE_SETUP
#line 587 "scan.l"
{
			ACTION_ECHO;
			CHECK_REJECT(yytext);
			}
	YY_BREAK
case 147:
YY_RULE_SETUP
#line 591 "scan.l"
{
			ACTION_ECHO;
			CHECK_YYMORE(yytext);
			}
	YY_BREAK

case 148:
YY_RULE_SETUP
#line 597 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 149:
YY_RULE_SETUP
#line 598 "scan.l"
{
			++linenum;
			ACTION_ECHO;
			if ( bracelevel == 0 ||
			     (doing_codeblock && indented_code) )
				{
				if ( doing_rule_action )
					add_action( "\tYY_BREAK\n" );

				doing_rule_action = doing_codeblock = false;
				BEGIN(SECT2);
				}
			}
	YY_BREAK

/* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */

case 150:
YY_RULE_SETUP
#line 616 "scan.l"
ACTION_ECHO; ++bracelevel;
	YY_BREAK
case 151:
YY_RULE_SETUP
#line 617 "scan.l"
ACTION_ECHO; --bracelevel;
	YY_BREAK
case 152:
YY_RULE_SETUP
#line 618 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 153:
YY_RULE_SETUP
#line 619 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 154:
YY_RULE_SETUP
#line 620 "scan.l"
ACTION_ECHO; /* character constant */
	YY_BREAK
case 155:
YY_RULE_SETUP
#line 621 "scan.l"
ACTION_ECHO; BEGIN(ACTION_STRING);
	YY_BREAK
case 156:
YY_RULE_SETUP
#line 622 "scan.l"
{
			++linenum;
			ACTION_ECHO;
			if ( bracelevel == 0 )
				{
				if ( doing_rule_action )
					add_action( "\tYY_BREAK\n" );

				doing_rule_action = false;
				BEGIN(SECT2);
				}
			}
	YY_BREAK
case 157:
YY_RULE_SETUP
#line 634 "scan.l"
ACTION_ECHO;
	YY_BREAK


case 158:
YY_RULE_SETUP
#line 638 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 159:
YY_RULE_SETUP
#line 639 "scan.l"
ACTION_ECHO;
	YY_BREAK
case 160:
YY_RULE_SETUP
#line 640 "scan.l"
++linenum; ACTION_ECHO;
	YY_BREAK
case 161:
YY_RULE_SETUP
#line 641 "scan.l"
ACTION_ECHO; BEGIN(ACTION);
	YY_BREAK
case 162:
YY_RULE_SETUP
#line 642 "scan.l"
ACTION_ECHO;
	YY_BREAK

case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(ACTION):
case YY_STATE_EOF(ACTION_STRING):
#line 645 "scan.l"
{
			synerr( _( "EOF encountered inside an action" ) );
			yyterminate();
			}
	YY_BREAK
case 163:
YY_RULE_SETUP
#line 651 "scan.l"
{
			yylval = myesc( (Char *) yytext );

			if ( YY_START == FIRSTCCL )
				BEGIN(CCL);

			return CHAR;
			}
	YY_BREAK

case 164:
YY_RULE_SETUP
#line 662 "scan.l"
ECHO;
	YY_BREAK
case YY_STATE_EOF(SECT3):
#line 663 "scan.l"
sectnum = 0; yyterminate();
	YY_BREAK

case 165:
YY_RULE_SETUP
#line 666 "scan.l"
format_synerr( _( "bad character: %s" ), yytext );
	YY_BREAK
case 166:
YY_RULE_SETUP
#line 668 "scan.l"
YY_FATAL_ERROR( "flex scanner jammed" );
	YY_BREAK
#line 2763 "scan.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(SECT2):
case YY_STATE_EOF(CODEBLOCK):
case YY_STATE_EOF(PICKUPDEF):
case YY_STATE_EOF(SC):
case YY_STATE_EOF(CARETISBOL):
case YY_STATE_EOF(NUM):
case YY_STATE_EOF(QUOTE):
case YY_STATE_EOF(FIRSTCCL):
case YY_STATE_EOF(CCL):
case YY_STATE_EOF(RECOVER):
case YY_STATE_EOF(PERCENT_BRACE_ACTION):
case YY_STATE_EOF(OPTION):
case YY_STATE_EOF(LINEDIR):
	yyterminate();

	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;
	yy_current_state += YY_AT_BOL();

	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 >= 779 )
				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 >= 779 )
			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 == 778);

	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 0;

					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;

	yy_current_buffer->yy_at_bol = (c == '\n');

	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 668 "scan.l"



int yywrap()
	{
	if ( --num_input_files > 0 )
		{
		set_input_file( *++input_files );
		return 0;
		}

	else
		return 1;
	}


/* set_input_file - open the given file (if NULL, stdin) for scanning */

void set_input_file( file )
char *file;
	{
	if ( file && strcmp( file, "-" ) )
		{
		infilename = copy_string( file );
		yyin = fopen( infilename, "r" );

		if ( yyin == NULL )
			lerrsf( _( "can't open %s" ), file );
		}

	else
		{
		yyin = stdin;
		infilename = copy_string( "<stdin>" );
		}

	linenum = 1;
	}


/* Wrapper routines for accessing the scanner's malloc routines. */

void *flex_alloc( size )
size_t size;
	{
	return (void *) malloc( size );
	}

void *flex_realloc( ptr, size )
void *ptr;
size_t size;
	{
	return (void *) realloc( ptr, size );
	}

void flex_free( ptr )
void *ptr;
	{
	if ( ptr )
		free( ptr );
	}