/* A lexical scanner generated by flex */

/* Scanner skeleton version:
 * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
 */

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5

#include <stdio.h>
#include <errno.h>

/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif


#ifdef __cplusplus

#include <stdlib.h>
#ifndef _WIN32
#include <unistd.h>
#endif

/* 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 162
#define YY_END_OF_BUFFER 163
static yyconst short int yy_accept[797] =
    {   0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,  163,  158,  156,  157,   54,   53,   52,  158,
       41,   42,   49,   46,   38,   47,   28,   51,   26,   36,
       37,   32,   35,   33,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,   43,   44,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  156,   52,
      160,  161,  160,    8,    9,    8,    8,   14,   12,   13,
       16,  162,   16,   16,   20,   18,   19,   20,  156,    0,

       27,    0,    0,   27,    0,   39,   48,    0,   45,   25,
        1,   50,   34,   25,   26,   40,   29,   30,   11,   31,
      155,  155,  155,  155,  155,  155,  155,   62,    0,  155,
      155,  155,  155,  155,   69,    0,  155,  155,  155,  155,
        0,  155,  155,   78,  155,  155,  155,  155,  155,  155,
      155,   89,  155,  155,  155,  155,    0,   95,   96,  155,
      155,  155,  155,  155,    0,  107,  108,  109,  110,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  149,  155,  150,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,

      155,  155,  155,  155,  155,  155,  155,  155,   78,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,   96,
      155,  155,  155,  155,  110,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  156,    0,    0,    0,   10,    0,
        0,  159,    0,    0,    0,    0,   12,   16,   16,   16,
       18,   17,   23,   27,   23,    0,    0,    0,    2,    0,
       25,  155,  155,   57,   58,  155,  155,   21,   26,  155,
      155,   65,  155,  155,  155,    0,  155,  155,  155,  155,
      155,   26,   76,  155,  155,  155,  155,   83,  155,  155,

      155,  155,  155,   90,  155,  155,  155,   26,  155,  155,
      155,  100,  101,  155,  155,  155,  106,  155,   26,  155,
      112,  155,  114,  155,  155,  155,  155,  155,  155,  155,
      124,  155,  126,  155,  155,  131,  155,  155,  134,  155,
      155,  155,  155,  155,  155,  155,  143,  155,  155,  155,
      155,  155,  155,  155,  155,  154,  155,  155,   58,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,   90,
      155,  155,  155,  155,  155,  155,  101,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,

      126,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  143,  155,  155,  155,  155,  155,  155,  155,
        0,    0,    0,    0,    0,   16,   16,    0,   27,    0,
        0,   25,  155,  155,  155,  155,  155,  155,  155,   66,
      155,  155,   27,   70,  155,  155,  155,  155,  155,   79,
      155,   81,  155,   84,  155,   86,  155,   88,  155,  155,
      155,   93,  155,   97,  155,  155,  155,  155,  155,  155,
       24,  111,  113,  155,  155,  155,  118,  155,  121,  155,
      155,  155,  155,  155,  155,  155,  133,  155,  155,  137,
      155,  155,  140,  141,  155,  155,  145,  146,  147,  155,

       22,  155,  155,  153,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  118,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,    0,    0,    0,    4,    0,    0,    0,   16,
       16,    0,    0,   23,  155,   56,   59,   60,  155,   63,
       64,   67,  155,   71,   72,  155,  155,   75,   77,  155,
       82,   85,  155,  155,  155,   94,  155,   99,  155,  155,
      155,  155,  155,  155,  155,  155,  120,  155,  155,  155,

      155,  155,  155,  132,  155,  155,  138,  155,  155,  155,
      155,  155,  152,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,    0,    0,    0,    0,    0,   16,
       16,   23,   55,   61,   68,  155,  155,  155,  155,   91,
      155,   98,  102,  155,  104,  105,  155,  155,  155,  155,
      155,  155,  125,  127,  128,  129,  135,  136,  139,  142,
      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
      155,  155,  155,  155,  155,  129,  155,  155,  155,    0,

        5,    0,    0,    0,    0,    0,   16,   16,   73,  155,
       80,  155,   92,  103,  155,  155,  155,  119,  122,  155,
      130,  144,  148,  151,  155,  155,  155,  155,  155,  155,
        0,    0,    6,    0,    0,    7,   16,   16,   74,  155,
      115,  116,  117,  155,  155,  155,    0,   16,   16,  155,
      123,  155,    0,    0,   16,   16,   87,    0,    3,   16,
       16,   16,   16,   16,   16,   16,   16,   16,    0,   16,
       16,    0,   16,    0,   15,   16,   16,   15,   16,   16,
       16,   16,   16,   16,   16,   16,   16,   16,   16,   16,
       16,   16,   16,   16,   16,    0

    } ;

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

       57,   58,   59,   60,   61,   33,   62,   63,   64,   65,
       66,   67,   33,   68,   69,   70,   71,   72,   73,   74,
       75,   76,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    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[77] =
    {   0,
        1,    2,    3,    1,    1,    1,    4,    1,    1,    1,
        1,    1,    1,    1,    1,    5,    5,    5,    1,    1,
        2,    1,    1,    5,    5,    5,    5,    5,    5,    6,
        6,    6,    6,    6,    6,    6,    6,    6,    6,    6,
        6,    6,    6,    6,    6,    6,    6,    6,    1,    1,
        1,    5,    5,    5,    5,    5,    5,    5,    6,    6,
        6,    6,    6,    6,    6,    6,    6,    6,    6,    6,
        6,    6,    6,    6,    6,    6
    } ;

static yyconst short int yy_base[820] =
    {   0,
        0,   75,   75,   76, 1159,   81,   86,   88,   90,   92,
       94,   96, 1161, 1163, 1158, 1163, 1163, 1154, 1163,   97,
     1139, 1163, 1147, 1163, 1163,   89,   89,   99,  102,  101,
     1163,  102, 1163, 1134,  102,  127,  122,  119,  127,   98,
      112, 1148,  138,    0, 1116, 1115,  144,  149,  153,  156,
      167,  170, 1113, 1127,  165, 1112, 1163, 1163,  157,  176,
      178,  193,  167,   42,  122,  146, 1083, 1082,   92,  196,
      190,  209,  212,  217, 1080, 1093,  156, 1079,  217,  232,
     1163, 1163, 1129, 1163, 1163,  222,  203, 1163, 1141, 1163,
        0, 1163, 1101, 1072, 1163, 1138, 1163, 1116, 1136, 1132,

     1131, 1128, 1127, 1126,  263, 1163, 1163, 1129, 1163,  268,
     1163, 1163, 1163,  274,  281, 1163, 1163, 1163, 1163, 1163,
        0, 1105, 1088, 1094, 1101, 1087, 1085,    0,  256, 1084,
     1094, 1086,  100, 1093,    0,    0,   39, 1097, 1083, 1093,
      287, 1083, 1082, 1071, 1078, 1073, 1086, 1088, 1083,  181,
     1075,    0, 1069, 1071, 1065, 1082, 1098,    0,  274, 1078,
     1076, 1057,  274, 1066,  311,    0,    0,    0, 1068, 1057,
     1072,  204,  291, 1060,  306, 1051,  308,  210, 1067,  313,
     1057, 1047,  248, 1056,    0, 1048,    0, 1050, 1057, 1046,
     1047, 1031, 1015, 1021, 1027, 1014, 1012, 1011, 1020, 1013,

      244, 1019,  186, 1023, 1010, 1019, 1010, 1009,  998, 1005,
     1000, 1012, 1014, 1009,  233,  997,  999,  993, 1009,  283,
     1006, 1004,  986,  287,  997,  987, 1001,  248,  277,  990,
      303,  981,  294,  301,  996,  313,  987,  977,  314,  986,
      981,  987,  977,  978,  372,  366, 1042,  374, 1163,  319,
      380, 1163,  383,  384,  385,  979, 1041,    0, 1014,  984,
     1038, 1163, 1032, 1031, 1030,  386,  388, 1033, 1163,  385,
      391, 1007, 1006,    0, 1001, 1008, 1003, 1163,  397, 1002,
      997,    0,  981,  992,  997, 1018,  996,  982,  982,  979,
      985,  394,    0,  995,  981,  993,  364,    0,  990,  181,

      987,  972,  972,  987,  983,  972,  972, 1001,  965,  974,
      962,    0,  961,  967,  962,  977,    0,  965,  398,  970,
        0,  964,    0,  969,  967,  957,  968,  963,  965,  378,
        0,  959,  952,  946,  945,    0,  939,  959,    0,  948,
      945,  957,  376,  943,  942,  937,  943,  936,  940,  935,
      947,  946,  926,  937,  940,    0,  913,  912,  907,  914,
      909,  908,  903,  888,  899,  903,  903,  890,  890,  887,
      893,  902,  889,  900,  363,  897,  357,  894,  880,  895,
      891,  881,  881,  875,  883,  872,  871,  877,  872,  886,
      880,  875,  879,  877,  868,  878,  873,  875,  244,  869,

      863,  857,  856,  850,  869,  859,  856,  867,  358,  854,
      853,  848,  854,  847,  851,  846,  857,  838,  849,  851,
      321,  377,  396,  414,  854,  857,  856,  427,  444,  451,
      439,  445,  866,  866,  876,  857,  863,  875,  864,    0,
      859,  871, 1163,    0,  870,  856,  412,  868,  848,    0,
      858,    0,  864,    0,  850,    0,  852,    0,  862,  857,
      848,    0,  845,    0,  849,  843,  849,  845,  854,  855,
        0,    0,    0,  840,  847,  838,  849,  848,    0,  843,
      834,  835,  830,  836,  830,  841,    0,  844,  832,    0,
      824,  833,    0,    0,  838,  825,    0,    0,    0,  824,

        0,  829,  832,    0,  790,  790,  799,  781,  787,  798,
      788,  783,  794,  793,  780,  407,  791,  772,  782,  787,
      774,  776,  781,  773,  770,  774,  768,  774,  770,  778,
      779,  765,  771,  763,  773,  772,  767,  759,  760,  755,
      761,  755,  765,  768,  757,  749,  757,  762,  750,  749,
      753,  756,  426,  429,  809, 1163,  436,  444,  750,  769,
      740,  799,  458,  463,  766,    0,    0,    0,  764,    0,
        0,    0,  765,    0,    0,  758,  766,    0,    0,  770,
        0,    0,  759,  773,  775,    0,  770,    0,  769,  769,
      766,  760,  752,  746,  759,  749,    0,  745,  747,  750,

      758,  743,  747,    0,  748,  754,    0,  755,  738,  752,
      735,  740,    0,  707,  705,  706,  699,  707,  710,  700,
      713,  715,  710,  709,  709,  706,  701,  693,  687,  699,
      690,  686,  688,  691,  698,  684,  688,  689,  694,  695,
      679,  692,  676,  681,  456,  463,  468,  470,  687,  716,
      686,  733,    0,    0,    0,  699,  697,  713,  706,    0,
      702,    0,    0,  708,    0,    0,  707,  706,  691,  691,
      703,  698,    0,    0,    0,  688,    0,    0,    0,    0,
      700,  685,  696,  655,  653,  668,  661,  658,  663,  662,
      661,  647,  647,  658,  653,  644,  655,  641,  651,  706,

     1163,  471,  705,  704,  472,  703,  673,  643,    0,  675,
        0,  664,    0,    0,  659,  673,  652,    0,    0,  654,
        0,    0,    0,    0,  640,  630,  625,  638,  618,  620,
      688,  687, 1163,  473,  686, 1163,  640,  611,    0,  649,
        0,    0,    0,  657,  619,  626,  475,  654,  624,  639,
        0,  610,  479,  482,  626,  625,    0,  483,  489,  647,
      614,  634,  575,  569,  540,  522,  492,  496,  497,  506,
      455,  509,  513,  517,  530,  519,  489,  526,  504,  474,
      498,   31,   92,  113,  249,  246,  374,  424,  447,  439,
      482,  462,  498,  480,  537, 1163,  551,  557,  563,  569,

      575,  581,  587,  589,  595,  601,  607,  613,  533,  616,
      621,  627,  633,  639,  645,  651,  657,  663,  669
    } ;

static yyconst short int yy_def[820] =
    {   0,
      796,    1,  797,  797,  798,  798,  799,  799,  800,  800,
      801,  801,  796,  796,  796,  796,  796,  802,  796,  803,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  796,  796,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  796,  805,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      806,  796,  806,  806,  796,  796,  796,  796,  796,  802,

      796,  807,  807,  796,  807,  796,  796,  808,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      804,  804,  804,  804,  804,  804,  804,  804,  796,  804,
      804,  804,  804,  804,  804,  809,  804,  804,  804,  804,
      796,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  810,  804,  804,  804,
      804,  804,  804,  804,  796,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,

      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  796,  805,  805,  805,  796,  805,
      805,  796,  796,  796,  796,  796,  796,  806,  806,  806,
      796,  796,  796,  796,  807,  807,  811,  808,  796,  796,
      796,  804,  804,  804,  804,  804,  804,  796,  796,  804,
      804,  804,  804,  804,  804,  809,  804,  804,  804,  804,
      804,  796,  804,  804,  804,  804,  804,  804,  804,  804,

      804,  804,  804,  804,  804,  804,  804,  810,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  796,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,

      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      805,  805,  812,  805,  796,  806,  806,  811,  813,  811,
      796,  796,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  796,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,

      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  805,  805,  812,  796,  812,  805,  796,  806,
      806,  813,  813,  813,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,

      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  814,  805,  812,  805,  796,  806,
      806,  813,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  814,

      796,  814,  815,  812,  805,  816,  806,  806,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
      814,  815,  796,  805,  816,  796,  806,  806,  804,  804,
      804,  804,  804,  804,  804,  804,  805,  806,  806,  804,
      804,  804,  805,  817,  806,  806,  804,  817,  817,  806,
      806,  806,  806,  806,  806,  806,  806,  806,  796,  818,
      806,  819,  818,  819,  818,  806,  806,  819,  806,  806,
      806,  806,  806,  806,  806,  806,  806,  806,  806,  806,
      806,  806,  806,  806,  806,    0,  796,  796,  796,  796,

      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796
    } ;

static yyconst short int yy_nxt[1240] =
    {   0,
       14,   15,   16,   17,   18,   19,   20,   21,   22,   23,
       24,   25,   26,   27,   28,   29,   29,   29,   30,   31,
       32,   33,   34,   35,   36,   37,   38,   39,   40,   41,
       42,   43,   44,   44,   45,   46,   47,   48,   49,   50,
       51,   52,   53,   54,   55,   56,   44,   44,   57,   58,
       14,   29,   59,   60,   61,   62,   63,   64,   65,   42,
       66,   44,   67,   68,   69,   70,   71,   72,   73,   74,
       75,   76,   77,   78,   44,   44,   79,   82,   82,  287,
       80,  288,   86,   85,   83,   83,   87,   89,   90,   89,
       90,   92,   92,   92,   92,   96,   97,   96,   97,  103,

      784,  108,  152,  104,  110,  110,  110,  216,  111,  116,
       92,  109,   92,  112,   98,  114,   98,  115,  115,  115,
      113,  151,  117,  118,  119,  141,  283,  122,  136,  152,
      123,  785,   93,  129,   93,  153,  124,  284,  125,  154,
      110,  126,  127,  128,  142,  137,  143,  105,  223,  155,
      130,  156,  138,  115,  131,  165,  144,  224,  132,  139,
       94,  146,   94,  147,  133,  145,  158,  148,  140,  134,
      149,  162,  150,  135,  159,  166,  171,  167,  217,  174,
      786,  163,  129,  175,  136,  168,  164,  218,  169,  219,
      172,  170,  173,  176,  177,  189,  190,  182,  178,  141,

      183,  184,  165,  158,  255,  179,  301,  185,  180,  186,
      220,  192,  302,  181,  193,  242,  243,  455,  245,  194,
      456,  195,  246,  253,  196,  197,  128,  254,  198,  211,
      203,  212,  199,  248,  249,  213,  200,  204,  214,  340,
      215,  201,  227,  205,  323,  341,  202,  207,  324,  208,
      135,  166,  206,  167,  367,  228,  368,  229,  209,  256,
      168,  230,  278,  225,  266,  231,  226,  210,  233,  263,
      267,  279,  234,  238,  232,  349,  239,  240,  235,  350,
      787,  236,  185,  110,  110,  110,  237,  378,  250,  271,
      271,  271,  251,  379,  114,  270,  115,  115,  115,  364,

      537,  270,  292,  292,  292,  309,  788,  279,  310,  365,
      315,  311,  316,  102,  538,  317,  323,  278,  325,  110,
      393,  249,  326,  249,  270,  271,  319,  319,  327,  329,
      270,  330,  115,  394,  331,  332,  343,  395,  292,  337,
      344,  333,  396,  384,  338,  385,  334,  335,  386,  339,
      345,  389,  346,  390,  404,  398,  317,  399,  405,  406,
      331,  400,  319,  339,  407,  409,  401,  248,  249,  410,
      415,  402,  403,  245,  416,  248,  249,  246,  411,  249,
      412,  421,  249,  422,  253,  255,  255,  266,  254,  553,
      103,  452,  264,  267,  429,  453,  430,  431,  556,  789,

      432,  432,  432,  278,  278,  480,  271,  271,  271,  292,
      292,  292,  279,  319,  319,  491,  249,  492,  270,  452,
      481,  521,  250,  520,  456,  546,  251,  547,  249,  103,
      250,  249,  554,  429,  251,  430,  432,  423,  556,  576,
      256,  256,  271,  577,  424,  292,  249,  270,  279,  319,
      428,  557,  563,  103,  432,  432,  432,  564,  701,  430,
      432,  432,  432,  617,  652,  249,  563,  618,  558,  428,
      556,  563,  249,  701,  249,  249,  753,  249,  790,  754,
      753,  249,  645,  754,  249,  249,  759,  759,  791,  646,
      432,  249,  647,  759,  776,  754,  432,  769,  769,  754,

      770,  772,  770,  772,  759,  759,  648,  774,  792,  793,
      775,  759,  775,  778,  774,  778,  702,  775,  794,  775,
      703,  778,  777,  778,  795,  704,  774,  734,  731,  747,
      778,  774,  778,  774,  775,  795,  775,  286,  769,  783,
      705,  770,  782,  770,  781,  780,  779,  771,  768,  768,
      774,   81,   81,   81,   81,   81,   81,   84,   84,   84,
       84,   84,   84,   88,   88,   88,   88,   88,   88,   91,
       91,   91,   91,   91,   91,   95,   95,   95,   95,   95,
       95,  100,  100,  100,  100,  100,  100,  102,  102,  102,
      102,  102,  102,  121,  121,  247,  247,  247,  247,  247,

      247,  258,  767,  766,  258,  258,  258,  103,  103,  103,
      103,  103,  103,  268,  268,  268,  268,  268,  268,  308,
      308,  428,  428,  428,  428,  428,  428,  555,  555,  555,
      555,  555,  555,  562,  562,  765,  562,  562,  562,  700,
      700,  700,  700,  700,  700,  732,  732,  732,  732,  732,
      732,  735,  735,  735,  735,  735,  735,  758,  758,  758,
      758,  758,  758,  773,  773,  764,  773,  773,  773,  774,
      774,  763,  774,  774,  774,  762,  761,  760,  757,  757,
      756,  755,  751,  752,  751,  750,  749,  748,  736,  733,
      701,  746,  743,  742,  741,  745,  739,  744,  743,  742,

      741,  740,  739,  738,  737,  736,  556,  733,  701,  724,
      723,  722,  721,  730,  719,  718,  729,  728,  727,  714,
      713,  726,  711,  725,  709,  724,  723,  722,  721,  720,
      719,  718,  717,  716,  715,  714,  713,  712,  711,  710,
      709,  563,  708,  707,  706,  699,  698,  697,  680,  679,
      678,  677,  696,  675,  674,  673,  695,  694,  693,  692,
      691,  690,  666,  665,  689,  663,  662,  688,  660,  687,
      686,  685,  684,  655,  654,  653,  683,  682,  681,  680,
      679,  678,  677,  676,  675,  674,  673,  672,  671,  670,
      669,  668,  667,  666,  665,  664,  663,  662,  661,  660,

      659,  658,  657,  656,  655,  654,  653,  563,  651,  650,
      649,  556,  613,  644,  643,  642,  641,  640,  607,  639,
      638,  604,  637,  636,  635,  634,  633,  632,  597,  631,
      630,  629,  628,  627,  626,  625,  624,  588,  623,  586,
      622,  621,  620,  582,  581,  619,  579,  578,  575,  574,
      616,  572,  571,  570,  615,  568,  567,  566,  614,  613,
      612,  611,  610,  609,  608,  607,  606,  605,  604,  603,
      602,  601,  600,  599,  598,  597,  596,  595,  594,  593,
      592,  591,  590,  589,  588,  587,  586,  585,  584,  501,
      583,  582,  581,  580,  579,  578,  575,  574,  573,  572,

      571,  570,  569,  568,  567,  566,  565,  561,  560,  559,
      504,  552,  551,  550,  499,  498,  497,  549,  548,  494,
      493,  490,  545,  544,  487,  543,  542,  541,  540,  539,
      479,  536,  535,  534,  533,  532,  473,  472,  531,  530,
      529,  528,  527,  526,  464,  525,  462,  524,  523,  458,
      522,  454,  519,  450,  518,  517,  516,  515,  514,  444,
      513,  512,  440,  511,  510,  509,  508,  507,  506,  505,
      504,  503,  502,  501,  500,  499,  498,  497,  496,  495,
      494,  493,  490,  489,  488,  487,  486,  485,  484,  483,
      482,  479,  478,  477,  476,  475,  474,  473,  472,  471,

      470,  469,  468,  467,  466,  465,  464,  278,  463,  462,
      461,  460,  459,  458,  457,  454,  451,  450,  449,  448,
      447,  446,  445,  444,  443,  442,  441,  440,  439,  438,
      437,  436,  435,  434,  433,  269,  264,  103,  103,  261,
      427,  426,  257,  425,  249,  356,  420,  419,  418,  417,
      414,  413,  408,  336,  397,  392,  321,  391,  388,  387,
      312,  383,  382,  381,  380,  377,  376,  298,  375,  374,
      373,  372,  293,  371,  370,  369,  366,  282,  363,  362,
      361,  360,  359,  274,  358,  357,  356,  355,  354,  353,
      352,  351,  348,  347,  342,  336,  328,  322,  321,  320,

      318,  314,  313,  312,  278,  307,  306,  305,  304,  303,
      300,  299,  298,  297,  296,  295,  294,  293,  291,  290,
      289,  285,  282,  281,  280,  277,  276,  275,  274,  273,
      272,  269,  265,  264,  263,  100,  101,   99,  262,  261,
      260,  259,  257,  252,  244,  241,  187,  222,  221,  191,
      188,  187,  161,  160,  157,  120,  107,  106,  101,   99,
      796,   85,   13,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,

      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796
    } ;

static yyconst short int yy_chk[1240] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    2,    3,    4,  137,
        2,  137,    6,    6,    3,    4,    6,    7,    7,    8,
        8,    9,    9,   10,   10,   11,   11,   12,   12,   20,

      782,   26,   64,   20,   27,   27,   27,   64,   28,   30,
        9,   26,   10,   28,   11,   29,   12,   29,   29,   29,
       28,   40,   30,   32,   32,   38,  133,   35,   37,   40,
       35,  783,    9,   36,   10,   40,   35,  133,   35,   41,
       27,   35,   35,   35,   38,   37,   38,   20,   69,   41,
       36,   41,   37,   29,   36,   48,   38,   69,   36,   37,
        9,   39,   10,   39,   36,   38,   43,   39,   37,   36,
       39,   47,   39,   36,   43,   48,   49,   48,   65,   50,
      784,   47,   60,   50,   61,   48,   47,   65,   48,   65,
       49,   48,   49,   50,   51,   55,   55,   52,   51,   62,

       52,   52,   70,   66,   87,   51,  150,   52,   51,   52,
       66,   59,  150,   51,   59,   77,   77,  300,   79,   59,
      300,   59,   79,   86,   59,   59,   59,   86,   60,   63,
       61,   63,   60,   80,   80,   63,   60,   61,   63,  178,
       63,   60,   71,   61,  172,  178,   60,   62,  172,   62,
       60,   70,   61,   70,  203,   71,  203,   71,   62,   87,
       70,   72,  129,   70,  105,   72,   70,   62,   73,  105,
      105,  129,   73,   74,   72,  183,   74,   74,   73,  183,
      785,   73,   74,  110,  110,  110,   73,  215,   80,  114,
      114,  114,   80,  215,  115,  110,  115,  115,  115,  201,

      399,  114,  141,  141,  141,  159,  786,  129,  159,  201,
      163,  159,  163,  105,  399,  163,  228,  165,  173,  110,
      228,  250,  173,  421,  110,  114,  165,  165,  173,  175,
      114,  175,  115,  229,  175,  175,  180,  229,  141,  177,
      180,  175,  229,  220,  177,  220,  175,  175,  220,  177,
      180,  224,  180,  224,  233,  231,  224,  231,  233,  234,
      231,  231,  165,  233,  234,  236,  231,  246,  246,  236,
      239,  231,  231,  245,  239,  248,  248,  245,  236,  422,
      236,  250,  251,  250,  253,  254,  255,  266,  253,  421,
      267,  297,  266,  266,  267,  297,  267,  270,  423,  787,

      270,  270,  270,  279,  319,  330,  271,  271,  271,  292,
      292,  292,  279,  319,  319,  343,  424,  343,  271,  375,
      330,  377,  246,  375,  377,  409,  246,  409,  553,  428,
      248,  554,  422,  428,  248,  428,  270,  251,  557,  447,
      254,  255,  271,  447,  251,  292,  558,  271,  279,  319,
      429,  423,  429,  430,  431,  431,  431,  430,  645,  430,
      432,  432,  432,  516,  563,  646,  563,  516,  424,  564,
      647,  564,  648,  702,  705,  734,  747,  747,  788,  747,
      753,  753,  553,  753,  754,  758,  754,  758,  789,  554,
      431,  759,  557,  759,  771,  747,  432,  768,  769,  753,

      768,  769,  768,  769,  754,  758,  558,  770,  790,  791,
      770,  759,  770,  772,  773,  772,  645,  773,  792,  773,
      646,  774,  771,  774,  793,  647,  770,  705,  702,  734,
      778,  775,  778,  773,  775,  794,  775,  809,  795,  781,
      648,  795,  780,  795,  779,  777,  776,  768,  767,  766,
      775,  797,  797,  797,  797,  797,  797,  798,  798,  798,
      798,  798,  798,  799,  799,  799,  799,  799,  799,  800,
      800,  800,  800,  800,  800,  801,  801,  801,  801,  801,
      801,  802,  802,  802,  802,  802,  802,  803,  803,  803,
      803,  803,  803,  804,  804,  805,  805,  805,  805,  805,

      805,  806,  765,  764,  806,  806,  806,  807,  807,  807,
      807,  807,  807,  808,  808,  808,  808,  808,  808,  810,
      810,  811,  811,  811,  811,  811,  811,  812,  812,  812,
      812,  812,  812,  813,  813,  763,  813,  813,  813,  814,
      814,  814,  814,  814,  814,  815,  815,  815,  815,  815,
      815,  816,  816,  816,  816,  816,  816,  817,  817,  817,
      817,  817,  817,  818,  818,  762,  818,  818,  818,  819,
      819,  761,  819,  819,  819,  760,  756,  755,  752,  750,
      749,  748,  746,  745,  744,  740,  738,  737,  735,  732,
      731,  730,  729,  728,  727,  726,  725,  720,  717,  716,

      715,  712,  710,  708,  707,  706,  704,  703,  700,  699,
      698,  697,  696,  695,  694,  693,  692,  691,  690,  689,
      688,  687,  686,  685,  684,  683,  682,  681,  676,  672,
      671,  670,  669,  668,  667,  664,  661,  659,  658,  657,
      656,  652,  651,  650,  649,  644,  643,  642,  641,  640,
      639,  638,  637,  636,  635,  634,  633,  632,  631,  630,
      629,  628,  627,  626,  625,  624,  623,  622,  621,  620,
      619,  618,  617,  616,  615,  614,  612,  611,  610,  609,
      608,  606,  605,  603,  602,  601,  600,  599,  598,  596,
      595,  594,  593,  592,  591,  590,  589,  587,  585,  584,

      583,  580,  577,  576,  573,  569,  565,  562,  561,  560,
      559,  555,  552,  551,  550,  549,  548,  547,  546,  545,
      544,  543,  542,  541,  540,  539,  538,  537,  536,  535,
      534,  533,  532,  531,  530,  529,  528,  527,  526,  525,
      524,  523,  522,  521,  520,  519,  518,  517,  515,  514,
      513,  512,  511,  510,  509,  508,  507,  506,  505,  503,
      502,  500,  496,  495,  492,  491,  489,  488,  486,  485,
      484,  483,  482,  481,  480,  478,  477,  476,  475,  474,
      470,  469,  468,  467,  466,  465,  463,  461,  460,  459,
      457,  455,  453,  451,  449,  448,  446,  445,  442,  441,

      439,  438,  437,  436,  435,  434,  433,  427,  426,  425,
      420,  419,  418,  417,  416,  415,  414,  413,  412,  411,
      410,  408,  407,  406,  405,  404,  403,  402,  401,  400,
      398,  397,  396,  395,  394,  393,  392,  391,  390,  389,
      388,  387,  386,  385,  384,  383,  382,  381,  380,  379,
      378,  376,  374,  373,  372,  371,  370,  369,  368,  367,
      366,  365,  364,  363,  362,  361,  360,  359,  358,  357,
      355,  354,  353,  352,  351,  350,  349,  348,  347,  346,
      345,  344,  342,  341,  340,  338,  337,  335,  334,  333,
      332,  329,  328,  327,  326,  325,  324,  322,  320,  318,

      316,  315,  314,  313,  311,  310,  309,  308,  307,  306,
      305,  304,  303,  302,  301,  299,  296,  295,  294,  291,
      290,  289,  288,  287,  286,  285,  284,  283,  281,  280,
      277,  276,  275,  273,  272,  268,  265,  264,  263,  261,
      260,  259,  257,  256,  247,  244,  243,  242,  241,  240,
      238,  237,  235,  232,  230,  227,  226,  225,  223,  222,
      221,  219,  218,  217,  216,  214,  213,  212,  211,  210,
      209,  208,  207,  206,  205,  204,  202,  200,  199,  198,
      197,  196,  195,  194,  193,  192,  191,  190,  189,  188,
      186,  184,  182,  181,  179,  176,  174,  171,  170,  169,

      164,  162,  161,  160,  157,  156,  155,  154,  153,  151,
      149,  148,  147,  146,  145,  144,  143,  142,  140,  139,
      138,  134,  132,  131,  130,  127,  126,  125,  124,  123,
      122,  108,  104,  103,  102,  101,  100,   99,   98,   96,
       94,   93,   89,   83,   78,   76,   75,   68,   67,   56,
       54,   53,   46,   45,   42,   34,   23,   21,   18,   15,
       13,    5,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,

      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
      796,  796,  796,  796,  796,  796,  796,  796,  796
    } ;

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 "lexer.l"
#define INITIAL 0
/*

Copyright (c) 2000, Red Hat, Inc.

This file is part of Source-Navigator.

Source-Navigator is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2, or (at your option)
any later version.

Source-Navigator is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License along
with Source-Navigator; see the file COPYING.  If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA.



*/
/*
 * lexer.l
 *
 * Copyright (C) 1998 Cyngus Solutions
 * 
 * Description:
 * A GNU flex scanner for the GNU CHILL programming language.
 *
 * A few of these keywords are not even recognised in the current version
 * of the parser, but we will recognise them anyway in the hope that they
 * will generate warnings/errors to prevent the use of reserved words.
 */
#line 40 "lexer.l"

#include <stdio.h>
#include <string.h>

#include "symtab.h"
#include "snptools.h"
#include "parser.h"
#include "emit.h"

#include "lexinput.h"

#undef YY_INPUT
#define YY_INPUT(buf,r,ms) (r = sn_encoded_input(buf, ms))
 
/* For keeping count of how deep in an #ifdef nest we get. */
static int ifdef_nesting = 0;

#if 0
#define keyword(k) emitarg("keyword", k)
#define symbol(s) emitarg("symbol", s)
#define literal(kind, text) emitarg(kind"literal", text)
#define ident(i) emitarg("ident", i)
#define include(i) emitarg("include", i)
#else
#define keyword(k)
#define symbol(s)
#define literal(kind, text)
#define ident(i)
#define include(i)
#endif

#define COMMENT 1

#define ELSEDIRECTIVE 2

#define PREDIRECTIVE 3

#define DIRECTIVE 4

#define POSTDIRECTIVE 5


/* 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 \
		{ \
		errno=0; \
		while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
			{ \
			if( errno != EINTR) \
				{ \
				YY_FATAL_ERROR( "input in flex scanner failed" ); \
				break; \
				} \
			errno=0; \
			clearerr(yyin); \
			} \
		}
#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 119 "lexer.l"



	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 >= 797 )
					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] != 1163 );

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 121 "lexer.l"
{ BEGIN(COMMENT); sn_advance_column(2); }
	YY_BREAK
case 2:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 123 "lexer.l"
{ sn_advance_column(yyleng); }
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 125 "lexer.l"
{
  char *filename, *end;

  filename = strchr(yytext, '\"');
  if (!filename)
  {
     filename = strchr(yytext, '<');
  }
 
  /* Skip the leading delimiter. */
  filename++;

  end = strchr(filename, '\"');
  if (!end)
  {
     end = strchr(filename, '>');
  }

  /* Lop off the trailing delimiter. */
  *end = 0;

  include(filename);
  emit_include(filename, sn_line(), sn_column() + (filename - yytext - 1), 
	 		 sn_line(), sn_column() + strlen(filename) + 1);

  sn_advance_column(yyleng);
}
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 153 "lexer.l"
{
  sn_advance_line();
  sn_reset_column();
  ifdef_nesting++;
}
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 159 "lexer.l"
{
  sn_advance_line();
  sn_reset_column();
  BEGIN(ELSEDIRECTIVE);
}
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 165 "lexer.l"
{
  assert(ifdef_nesting >= 0);

  sn_advance_line();
  sn_reset_column();

  /* Just left a non-nested #ifdef. */
  ifdef_nesting--;
}
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 175 "lexer.l"
{
  assert(ifdef_nesting >= 0);

  sn_advance_line();
  sn_reset_column();

  ifdef_nesting--;
  if (ifdef_nesting == 0)
  {
    /* Just fallen out of the nesting with this #endif. */
    BEGIN(INITIAL);
  }
}
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 189 "lexer.l"
{
  /* Eat conditional code. */
  sn_advance_column(1);
}
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 194 "lexer.l"
{
  /* Ditto. */
  sn_advance_line();
  sn_reset_column();
}
	YY_BREAK
case 10:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 200 "lexer.l"
{
  /* Ignore all other C preprocessor directives. */
  sn_advance_column(yyleng);
}
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 205 "lexer.l"
{
  sn_advance_column(2);
  BEGIN(PREDIRECTIVE);
}
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 210 "lexer.l"
{
  sn_advance_column(yyleng);
}
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 214 "lexer.l"
{
  sn_advance_line();
  sn_reset_column();
}
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 219 "lexer.l"
{
  unput(yytext[0]);
  BEGIN(DIRECTIVE);
}
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 224 "lexer.l"
{
  char *filename, *end;

  /* Skip leading text. */ 
  filename = strchr(yytext, '\'');
  if (!filename)
  {
    filename = strchr(yytext, '"');
  }

  /* Skip the leading quote marker. */
  filename++;
  
  /* Lop off the trailing quote marker. */
  end = strchr(filename, '\'');
  if (!end)
  {
    end = strchr(filename, '"');
  }
  *end = 0;

  include(filename);
  emit_include(filename, sn_line(), sn_column() + (filename - yytext - 1), 
			sn_line(), sn_column() + strlen(filename) + 1);

  sn_advance_column(yyleng);
  BEGIN(POSTDIRECTIVE);
}
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 253 "lexer.l"
{
  sn_advance_column(yyleng);
  BEGIN(POSTDIRECTIVE);
}
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 258 "lexer.l"
{
  sn_advance_column(2);
  BEGIN(INITIAL);
}
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 263 "lexer.l"
{
  sn_advance_column(yyleng);
}
	YY_BREAK
case 19:
YY_RULE_SETUP
#line 267 "lexer.l"
{
  sn_advance_line();
  sn_reset_column();
  BEGIN(INITIAL);
}
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 273 "lexer.l"
{ sn_advance_column(1); /* eat junk we don't expect */ }
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 275 "lexer.l"
{
   literal("bitstring", yytext);
   sn_advance_column(yyleng);
   return BITLITERAL;
}
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 281 "lexer.l"
{
    literal("boolean", yytext);
    sn_advance_column(yyleng); 
    return BOOLITERAL;
}
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 287 "lexer.l"
{
    literal("char", yytext);
    sn_advance_column(yyleng); 
    return CHARLITERAL;
}
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 293 "lexer.l"
{
    literal("empty", yytext);
    sn_advance_column(yyleng);
    return EMPTYLITERAL;
}
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 299 "lexer.l"
{
    literal("float", yytext);
    sn_advance_column(yyleng); 
    return FLOATLITERAL;
}
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 305 "lexer.l"
{
    literal("integer", yytext);
    sn_advance_column(yyleng);
    return INTLITERAL;
}
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 311 "lexer.l"
{
    literal("string", yytext);
    sn_advance_column(yyleng);
    return STRINGLITERAL;
}
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 317 "lexer.l"
{ symbol("dot"); sn_advance_column(1); return '.'; }
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 318 "lexer.l"
{ symbol("assignment"); sn_advance_column(2); return ASSIGN; }
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 319 "lexer.l"
{ symbol("less-than-or-equal"); sn_advance_column(2); return LESSTHANEQ; }
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 320 "lexer.l"
{ symbol("greater-than-or-equal"); sn_advance_column(2); return GREATERTHANEQ; }
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 321 "lexer.l"
{ symbol("less-than"); sn_advance_column(1); return '<'; }
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 322 "lexer.l"
{ symbol("greater-than"); sn_advance_column(1); return '>'; }
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 323 "lexer.l"
{ symbol("not-equal"); sn_advance_column(2); return NOTEQ; }
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 324 "lexer.l"
{ symbol("equal"); sn_advance_column(1); return '='; }
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 325 "lexer.l"
{ symbol("colon"); sn_advance_column(1); return ':'; }
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 327 "lexer.l"
{
			symbol("semicolon"); 
			yylval.punct.line = sn_line();
			yylval.punct.startcol = sn_column();
			sn_advance_column(1); 
			yylval.punct.endcol = sn_column();
			return ';';
	    }
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 336 "lexer.l"
{ symbol("comma"); sn_advance_column(1); return ','; }
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 337 "lexer.l"
{ symbol("left-tuple-bracket"); sn_advance_column(2); return LEFTTUPLE; }
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 338 "lexer.l"
{ symbol("right-tuple-bracket"); sn_advance_column(2); return RIGHTTUPLE; }
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 339 "lexer.l"
{ symbol("left-parenthesis"); sn_advance_column(1); return '('; }
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 340 "lexer.l"
{ symbol("right-parenthesis"); sn_advance_column(1); return ')'; }
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 341 "lexer.l"
{ symbol("left-square-bracket"); sn_advance_column(1); return LEFTTUPLE; }
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 342 "lexer.l"
{ symbol("right-square-bracket"); sn_advance_column(1); return RIGHTTUPLE; }
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 343 "lexer.l"
{ symbol("arrow"); sn_advance_column(2); return ARROW; }
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 344 "lexer.l"
{ symbol("plus"); sn_advance_column(1); return '+'; }
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 345 "lexer.l"
{ symbol("minus"); sn_advance_column(1); return '-'; }
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 346 "lexer.l"
{ symbol("exponent"); sn_advance_column(2); return EXPONENT; }
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 347 "lexer.l"
{ symbol("asterisk"); sn_advance_column(1); return '*'; }
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 348 "lexer.l"
{ symbol("double-solidus"); sn_advance_column(2); return DOUBLESOLIDUS; }
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 349 "lexer.l"
{ symbol("solidus"); sn_advance_column(1); return '/'; }
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 350 "lexer.l"
{ symbol("sharp"); sn_advance_column(1); return '#'; }
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 351 "lexer.l"
{ symbol("quote"); sn_advance_column(1); return '"'; }
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 352 "lexer.l"
{ symbol("bang"); sn_advance_column(1); return '!'; }
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 354 "lexer.l"
{ keyword("ACCESS"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return ACCESS; }
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 355 "lexer.l"
{ keyword("AFTER"); sn_advance_column(yyleng); return AFTER; }
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 356 "lexer.l"
{ keyword("ALL"); sn_advance_column(yyleng); return ALL; }
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 357 "lexer.l"
{ keyword("AND"); sn_advance_column(yyleng); return AND; }
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 358 "lexer.l"
{ keyword("ANDIF"); sn_advance_column(yyleng); return ANDIF; }
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 359 "lexer.l"
{ keyword("ARRAY"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return ARRAY; }
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 360 "lexer.l"
{ keyword("ASSERT"); sn_advance_column(yyleng); return ASSERT; }
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 361 "lexer.l"
{ keyword("AT"); sn_advance_column(yyleng); return AT; }
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 362 "lexer.l"
{ keyword("BASED"); sn_advance_column(yyleng); return BASED; }
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 363 "lexer.l"
{ keyword("BEGIN"); sn_advance_column(yyleng); return BEG; }
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 364 "lexer.l"
{ keyword("BIN"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return BIN; }
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 365 "lexer.l"
{ keyword("BODY"); sn_advance_column(yyleng); return BODY; }
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 366 "lexer.l"
{ keyword("BOOLS"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return BOOLS; }
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 367 "lexer.l"
{ keyword("BUFFER"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return BUFFER; }
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 368 "lexer.l"
{ keyword("BY"); sn_advance_column(yyleng); return BY; }
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 369 "lexer.l"
{ keyword("CASE"); sn_advance_column(yyleng); return CASE; }
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 370 "lexer.l"
{ keyword("CAUSE"); sn_advance_column(yyleng); return CAUSE; }
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 371 "lexer.l"
{ keyword("CHARS"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return CHARS; }
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 373 "lexer.l"
{ keyword("CONTEXT"); sn_advance_column(yyleng); return CONTEXT; }
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 374 "lexer.l"
{ keyword("CONTINUE"); sn_advance_column(yyleng); return CONTINUE; }
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 375 "lexer.l"
{ keyword("CYCLE"); sn_advance_column(yyleng); return CYCLE; }
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 376 "lexer.l"
{ keyword("DCL"); sn_advance_column(yyleng); return DCL; }
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 377 "lexer.l"
{ keyword("DELAY"); sn_advance_column(yyleng); return DELAY; }
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 378 "lexer.l"
{ keyword("DO"); sn_advance_column(yyleng); return DO; }
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 379 "lexer.l"
{ keyword("DOWN"); sn_advance_column(yyleng); return DOWN; }
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 380 "lexer.l"
{ keyword("DYNAMIC"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return DYNAMIC; }
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 381 "lexer.l"
{ keyword("ELSE"); sn_advance_column(yyleng); return ELSE; }
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 382 "lexer.l"
{ keyword("ELSIF"); sn_advance_column(yyleng); return ELSIF; }
	YY_BREAK
case 83:
YY_RULE_SETUP
#line 383 "lexer.l"
{ keyword("END"); sn_advance_column(yyleng); return END; }
	YY_BREAK
case 84:
YY_RULE_SETUP
#line 384 "lexer.l"
{ keyword("ESAC"); sn_advance_column(yyleng); return ESAC; }
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 385 "lexer.l"
{ keyword("EVENT"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return EVENT; }
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 386 "lexer.l"
{ keyword("EVER"); sn_advance_column(yyleng); return EVER; }
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 388 "lexer.l"
{ keyword("EXCEPTIONS"); sn_advance_column(yyleng); return EXCEPTIONS; }
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 390 "lexer.l"
{ keyword("EXIT"); sn_advance_column(yyleng); return EXIT; }
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 391 "lexer.l"
{ keyword("FI"); sn_advance_column(yyleng); return FI; }
	YY_BREAK
case 90:
YY_RULE_SETUP
#line 392 "lexer.l"
{ keyword("FOR"); sn_advance_column(yyleng); return FOR; }
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 393 "lexer.l"
{ keyword("FORBID"); sn_advance_column(yyleng); return FORBID; }
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 394 "lexer.l"
{ keyword("GENERAL"); sn_advance_column(yyleng); return GENERAL; }
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 395 "lexer.l"
{ keyword("GOTO"); sn_advance_column(yyleng); return GOTO; }
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 396 "lexer.l"
{ keyword("GRANT"); sn_advance_column(yyleng); return GRANT; }
	YY_BREAK
case 95:
YY_RULE_SETUP
#line 397 "lexer.l"
{ keyword("IF"); sn_advance_column(yyleng); return IF; }
	YY_BREAK
case 96:
YY_RULE_SETUP
#line 398 "lexer.l"
{ keyword("IN"); yylval.attrib.text = SN_StrDup(""); sn_advance_column(yyleng); return IN; }
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 399 "lexer.l"
{ keyword("INIT"); sn_advance_column(yyleng); return INIT; }
	YY_BREAK
case 98:
YY_RULE_SETUP
#line 400 "lexer.l"
{ keyword("INLINE"); sn_advance_column(yyleng); return INLINE; }
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 401 "lexer.l"
{ keyword("INOUT"); yylval.attrib.text = SN_StrDup(yytext); sn_advance_column(yyleng); return INOUT; }
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 402 "lexer.l"
{ keyword("LOC"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return LOC; }
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 403 "lexer.l"
{ keyword("MOD"); sn_advance_column(yyleng); return MOD; }
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 405 "lexer.l"
{
			keyword("MODULE");
			yylval.keyword.line = sn_line();
			yylval.keyword.startcol = sn_column();
			sn_advance_column(yyleng); 
			yylval.keyword.endcol = sn_column();
			return MODULE;
		  }
	YY_BREAK
case 103:
YY_RULE_SETUP
#line 414 "lexer.l"
{ keyword("NEWMODE"); sn_advance_column(yyleng); return NEWMODE; }
	YY_BREAK
case 104:
YY_RULE_SETUP
#line 415 "lexer.l"
{ keyword("NONREF"); sn_advance_column(yyleng); return NONREF; }
	YY_BREAK
case 105:
YY_RULE_SETUP
#line 416 "lexer.l"
{ keyword("NOPACK"); sn_advance_column(yyleng); return NOPACK; }
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 417 "lexer.l"
{ keyword("NOT"); sn_advance_column(yyleng); return NOT; }
	YY_BREAK
case 107:
YY_RULE_SETUP
#line 418 "lexer.l"
{ keyword("OD"); sn_advance_column(yyleng); return OD; }
	YY_BREAK
case 108:
YY_RULE_SETUP
#line 419 "lexer.l"
{ keyword("OF"); sn_advance_column(yyleng); return OF; }
	YY_BREAK
case 109:
YY_RULE_SETUP
#line 420 "lexer.l"
{ keyword("ON"); sn_advance_column(yyleng); return ON; }
	YY_BREAK
case 110:
YY_RULE_SETUP
#line 421 "lexer.l"
{ keyword("OR"); sn_advance_column(yyleng); return OR; }
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 422 "lexer.l"
{ keyword("ORIF"); sn_advance_column(yyleng); return ORIF; }
	YY_BREAK
case 112:
YY_RULE_SETUP
#line 423 "lexer.l"
{ keyword("OUT"); yylval.attrib.text = SN_StrDup(yytext); sn_advance_column(yyleng); return OUT; }
	YY_BREAK
case 113:
YY_RULE_SETUP
#line 424 "lexer.l"
{ keyword("PACK"); sn_advance_column(yyleng); return PACK; }
	YY_BREAK
case 114:
YY_RULE_SETUP
#line 425 "lexer.l"
{ keyword("POS"); sn_advance_column(yyleng); return POS; }
	YY_BREAK
case 115:
YY_RULE_SETUP
#line 426 "lexer.l"
{ keyword("POWERSET"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return POWERSET; }
	YY_BREAK
case 116:
YY_RULE_SETUP
#line 427 "lexer.l"
{ keyword("PREFIXED"); sn_advance_column(yyleng); return PREFIXED; }
	YY_BREAK
case 117:
YY_RULE_SETUP
#line 428 "lexer.l"
{ keyword("PRIORITY"); sn_advance_column(yyleng); return PRIORITY; }
	YY_BREAK
case 118:
YY_RULE_SETUP
#line 429 "lexer.l"
{ keyword("PROC"); sn_advance_column(yyleng); return PROC; }
	YY_BREAK
case 119:
YY_RULE_SETUP
#line 430 "lexer.l"
{ keyword("PROCESS"); sn_advance_column(yyleng); return PROCESS; }
	YY_BREAK
case 120:
YY_RULE_SETUP
#line 431 "lexer.l"
{ keyword("RANGE"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return RANGE; }
	YY_BREAK
case 121:
YY_RULE_SETUP
#line 432 "lexer.l"
{ keyword("READ"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return READ; }
	YY_BREAK
case 122:
YY_RULE_SETUP
#line 433 "lexer.l"
{ keyword("RECEIVE"); sn_advance_column(yyleng); return RECEIVE; }
	YY_BREAK
case 123:
YY_RULE_SETUP
#line 434 "lexer.l"
{ keyword("RECURSIVE"); sn_advance_column(yyleng); return RECURSIVE; }
	YY_BREAK
case 124:
YY_RULE_SETUP
#line 435 "lexer.l"
{ keyword("REF"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return REF; }
	YY_BREAK
case 125:
YY_RULE_SETUP
#line 436 "lexer.l"
{ keyword("REGION"); sn_advance_column(yyleng); return REGION; }
	YY_BREAK
case 126:
YY_RULE_SETUP
#line 437 "lexer.l"
{ keyword("REM"); sn_advance_column(yyleng); return REM; }
	YY_BREAK
case 127:
YY_RULE_SETUP
#line 438 "lexer.l"
{ keyword("REMOTE"); sn_advance_column(yyleng); return REMOTE; }
	YY_BREAK
case 128:
YY_RULE_SETUP
#line 439 "lexer.l"
{ keyword("RESULT"); sn_advance_column(yyleng); return RESULT; }
	YY_BREAK
case 129:
YY_RULE_SETUP
#line 440 "lexer.l"
{ keyword("RETURN"); sn_advance_column(yyleng); return RETURN; }
	YY_BREAK
case 130:
YY_RULE_SETUP
#line 441 "lexer.l"
{ keyword("RETURNS"); sn_advance_column(yyleng); return RETURNS; }
	YY_BREAK
case 131:
YY_RULE_SETUP
#line 442 "lexer.l"
{ keyword("ROW"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return ROW; }
	YY_BREAK
case 132:
YY_RULE_SETUP
#line 443 "lexer.l"
{ keyword("SEIZE"); sn_advance_column(yyleng); return SEIZE; }
	YY_BREAK
case 133:
YY_RULE_SETUP
#line 444 "lexer.l"
{ keyword("SEND"); sn_advance_column(yyleng); return SEND; }
	YY_BREAK
case 134:
YY_RULE_SETUP
#line 445 "lexer.l"
{ keyword("SET"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return SET; }
	YY_BREAK
case 135:
YY_RULE_SETUP
#line 446 "lexer.l"
{ keyword("SIGNAL"); sn_advance_column(yyleng); return SIGNAL; }
	YY_BREAK
case 136:
YY_RULE_SETUP
#line 447 "lexer.l"
{ keyword("SIMPLE"); sn_advance_column(yyleng); return SIMPLE; }
	YY_BREAK
case 137:
YY_RULE_SETUP
#line 449 "lexer.l"
{
			keyword("SPEC"); 
			yylval.keyword.line = sn_line();
			yylval.keyword.startcol = sn_column();
			sn_advance_column(yyleng); 
			yylval.keyword.endcol = sn_column();	
			return SPEC;
		  }
	YY_BREAK
case 138:
YY_RULE_SETUP
#line 458 "lexer.l"
{ keyword("START"); sn_advance_column(yyleng); return START; }
	YY_BREAK
case 139:
YY_RULE_SETUP
#line 459 "lexer.l"
{ keyword("STATIC"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return STATIC; }
	YY_BREAK
case 140:
YY_RULE_SETUP
#line 460 "lexer.l"
{ keyword("STEP"); sn_advance_column(yyleng); return STEP; }
	YY_BREAK
case 141:
YY_RULE_SETUP
#line 461 "lexer.l"
{ keyword("STOP"); sn_advance_column(yyleng); return STOP; }
	YY_BREAK
case 142:
YY_RULE_SETUP
#line 462 "lexer.l"
{ keyword("STRUCT"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return STRUCT; }
	YY_BREAK
case 143:
YY_RULE_SETUP
#line 463 "lexer.l"
{ keyword("SYN"); sn_advance_column(yyleng); return SYN; }
	YY_BREAK
case 144:
YY_RULE_SETUP
#line 464 "lexer.l"
{ keyword("SYNMODE"); sn_advance_column(yyleng); return SYNMODE; }
	YY_BREAK
case 145:
YY_RULE_SETUP
#line 465 "lexer.l"
{ keyword("TEXT"); yylval.type.text = SN_StrDup(yytext); sn_advance_column(yyleng); return TEXT; }
	YY_BREAK
case 146:
YY_RULE_SETUP
#line 466 "lexer.l"
{ keyword("THEN"); sn_advance_column(yyleng); return THEN; }
	YY_BREAK
case 147:
YY_RULE_SETUP
#line 467 "lexer.l"
{ keyword("THIS"); sn_advance_column(yyleng); return THIS; }
	YY_BREAK
case 148:
YY_RULE_SETUP
#line 468 "lexer.l"
{ keyword("TIMEOUT"); sn_advance_column(yyleng); return TIMEOUT; }
	YY_BREAK
case 149:
YY_RULE_SETUP
#line 469 "lexer.l"
{ keyword("TO"); sn_advance_column(yyleng); return TO; }
	YY_BREAK
case 150:
YY_RULE_SETUP
#line 470 "lexer.l"
{ keyword("UP"); sn_advance_column(yyleng); return UP; }
	YY_BREAK
case 151:
YY_RULE_SETUP
#line 471 "lexer.l"
{ keyword("VARYING"); sn_advance_column(yyleng); return VARYING; }
	YY_BREAK
case 152:
YY_RULE_SETUP
#line 472 "lexer.l"
{ keyword("WHILE"); sn_advance_column(yyleng); return WHILE; }
	YY_BREAK
case 153:
YY_RULE_SETUP
#line 473 "lexer.l"
{ keyword("WITH"); sn_advance_column(yyleng); return WITH; }
	YY_BREAK
case 154:
YY_RULE_SETUP
#line 474 "lexer.l"
{ keyword("XOR"); sn_advance_column(yyleng); return XOR; }
	YY_BREAK
case 155:
YY_RULE_SETUP
#line 476 "lexer.l"
{ 
			ident(yytext); 
			yylval.id.line = sn_line();
			yylval.id.startcol = sn_column();
			sn_advance_column(yyleng); 
			yylval.id.endcol = sn_column();
			yylval.id.type = unknown;
			yylval.id.name = SN_StrDup(yytext); 
			return NAME;
		  }
	YY_BREAK
case 156:
YY_RULE_SETUP
#line 487 "lexer.l"
{ sn_advance_column(yyleng); /* eat whitespace */ }
	YY_BREAK
case 157:
YY_RULE_SETUP
#line 488 "lexer.l"
{ sn_advance_line(); sn_reset_column(); }
	YY_BREAK
case 158:
YY_RULE_SETUP
#line 490 "lexer.l"
{ sn_advance_column(1); /* silently discard unknown characters */ }
	YY_BREAK
case 159:
YY_RULE_SETUP
#line 492 "lexer.l"
{ BEGIN(INITIAL); sn_advance_column(2); }
	YY_BREAK
case 160:
YY_RULE_SETUP
#line 494 "lexer.l"
{ sn_advance_column(1); }
	YY_BREAK
case 161:
YY_RULE_SETUP
#line 496 "lexer.l"
{ sn_advance_line(); sn_reset_column(); }
	YY_BREAK
case 162:
YY_RULE_SETUP
#line 498 "lexer.l"
ECHO;
	YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(ELSEDIRECTIVE):
case YY_STATE_EOF(PREDIRECTIVE):
case YY_STATE_EOF(DIRECTIVE):
case YY_STATE_EOF(POSTDIRECTIVE):
	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 >= 797 )
				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 >= 797 )
			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 == 796);

	return yy_is_jam ? 0 : yy_current_state;
	}


#ifndef YY_NO_UNPUT
#ifdef YY_USE_PROTOS
static void yyunput( int c, register char *yy_bp )
#else
static void yyunput( c, yy_bp )
int c;
register char *yy_bp;
#endif
	{
	register char *yy_cp = yy_c_buf_p;

	/* undo effects of setting up yytext */
	*yy_cp = yy_hold_char;

	if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
		{ /* need to shift things up to make room */
		/* +2 for EOB chars. */
		register int number_to_move = yy_n_chars + 2;
		register char *dest = &yy_current_buffer->yy_ch_buf[
					yy_current_buffer->yy_buf_size + 2];
		register char *source =
				&yy_current_buffer->yy_ch_buf[number_to_move];

		while ( source > yy_current_buffer->yy_ch_buf )
			*--dest = *--source;

		yy_cp += (int) (dest - source);
		yy_bp += (int) (dest - source);
		yy_current_buffer->yy_n_chars =
			yy_n_chars = yy_current_buffer->yy_buf_size;

		if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
			YY_FATAL_ERROR( "flex scanner push-back overflow" );
		}

	*--yy_cp = (char) c;


	yytext_ptr = yy_bp;
	yy_hold_char = *yy_cp;
	yy_c_buf_p = yy_cp;
	}
#endif	/* ifndef YY_NO_UNPUT */


#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif
	{
	int c;

	*yy_c_buf_p = yy_hold_char;

	if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
		{
		/* yy_c_buf_p now points to the character we want to return.
		 * If this occurs *before* the EOB characters, then it's a
		 * valid NUL; if not, then we've hit the end of the buffer.
		 */
		if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
			/* This was really a NUL. */
			*yy_c_buf_p = '\0';

		else
			{ /* need more input */
			int offset = yy_c_buf_p - yytext_ptr;
			++yy_c_buf_p;

			switch ( yy_get_next_buffer() )
				{
				case EOB_ACT_LAST_MATCH:
					/* This happens because yy_g_n_b()
					 * sees that we've accumulated a
					 * token and flags that we need to
					 * try matching the token before
					 * proceeding.  But for input(),
					 * there's no matching to consider.
					 * So convert the EOB_ACT_LAST_MATCH
					 * to EOB_ACT_END_OF_FILE.
					 */

					/* Reset buffer status. */
					yyrestart( yyin );

					/* fall through */

				case EOB_ACT_END_OF_FILE:
					{
					if ( yywrap() )
						return EOF;

					if ( ! yy_did_buffer_switch_on_eof )
						YY_NEW_FILE;
#ifdef __cplusplus
					return yyinput();
#else
					return input();
#endif
					}

				case EOB_ACT_CONTINUE_SCAN:
					yy_c_buf_p = yytext_ptr + offset;
					break;
				}
			}
		}

	c = *(unsigned char *) yy_c_buf_p;	/* cast for 8-bit char's */
	*yy_c_buf_p = '\0';	/* preserve yytext */
	yy_hold_char = *++yy_c_buf_p;

	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 _WIN32
#include <unistd.h>
#else
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#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 498 "lexer.l"


#define YY_MAIN 0

void
reset()
{
  sn_reset_line();
  sn_reset_column();
  sn_reset_encoding();
}

