
#line 3 "mon_lex.c"

#define  YY_INT_ALIGNED short int

/* A lexical scanner generated by flex */

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 6
#define YY_FLEX_SUBMINOR_VERSION 4
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif

/* First, we deal with  platform-specific or compiler-specific issues. */

/* begin standard C headers. */
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>

/* end standard C headers. */

/* flex integer type definitions */

#ifndef FLEXINT_H
#define FLEXINT_H

/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */

#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L

/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
 * if you want the limit (max/min) macros for int types. 
 */
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif

#include <inttypes.h>
typedef int8_t flex_int8_t;
typedef uint8_t flex_uint8_t;
typedef int16_t flex_int16_t;
typedef uint16_t flex_uint16_t;
typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t;
#else
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
typedef unsigned char flex_uint8_t; 
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;

/* Limits of integral types. */
#ifndef INT8_MIN
#define INT8_MIN               (-128)
#endif
#ifndef INT16_MIN
#define INT16_MIN              (-32767-1)
#endif
#ifndef INT32_MIN
#define INT32_MIN              (-2147483647-1)
#endif
#ifndef INT8_MAX
#define INT8_MAX               (127)
#endif
#ifndef INT16_MAX
#define INT16_MAX              (32767)
#endif
#ifndef INT32_MAX
#define INT32_MAX              (2147483647)
#endif
#ifndef UINT8_MAX
#define UINT8_MAX              (255U)
#endif
#ifndef UINT16_MAX
#define UINT16_MAX             (65535U)
#endif
#ifndef UINT32_MAX
#define UINT32_MAX             (4294967295U)
#endif

#ifndef SIZE_MAX
#define SIZE_MAX               (~(size_t)0)
#endif

#endif /* ! C99 */

#endif /* ! FLEXINT_H */

/* begin standard C++ headers. */

/* TODO: this is always defined, so inline it */
#define yyconst const

#if defined(__GNUC__) && __GNUC__ >= 3
#define yynoreturn __attribute__((__noreturn__))
#else
#define yynoreturn
#endif

/* Returned upon end-of-file. */
#define YY_NULL 0

/* Promotes a possibly negative, possibly signed char to an
 *   integer in range [0..255] for use as an array index.
 */
#define YY_SC_TO_UI(c) ((YY_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. */
#ifndef YY_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k.
 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
 * Ditto for the __ia64__ case accordingly.
 */
#define YY_BUF_SIZE 32768
#else
#define YY_BUF_SIZE 16384
#endif /* __ia64__ */
#endif

/* The state buf must be large enough to hold one state per character in the main buffer.
 */
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif

#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
#endif

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
    
    #define YY_LESS_LINENO(n)
    #define YY_LINENO_REWIND_TO(ptr)
    
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
	do \
		{ \
		/* Undo effects of setting up yytext. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
		*yy_cp = (yy_hold_char); \
		YY_RESTORE_YY_MORE_OFFSET \
		(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
		YY_DO_BEFORE_ACTION; /* set up yytext again */ \
		} \
	while ( 0 )
#define unput(c) yyunput( c, (yytext_ptr)  )

#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
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.
	 */
	int 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;

    int yy_bs_lineno; /**< The line count. */
    int yy_bs_column; /**< The column count. */

	/* 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

	};
#endif /* !YY_STRUCT_YY_BUFFER_STATE */

/* Stack of input buffers. */
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */

/* 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".
 *
 * Returns the top of the stack, or NULL.
 */
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
                          : NULL)
/* Same as previous macro, but useful when we know that the buffer stack is not
 * NULL or when we need an lvalue. For internal use only.
 */
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]

/* 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 = NULL;
static int yy_init = 0;		/* 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 ( FILE *input_file  );
void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer  );
YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size  );
void yy_delete_buffer ( YY_BUFFER_STATE b  );
void yy_flush_buffer ( YY_BUFFER_STATE b  );
void yypush_buffer_state ( YY_BUFFER_STATE new_buffer  );
void yypop_buffer_state ( void );

static void yyensure_buffer_stack ( void );
static void yy_load_buffer_state ( void );
static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file  );
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )

YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size  );
YY_BUFFER_STATE yy_scan_string ( const char *yy_str  );
YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len  );

void *yyalloc ( yy_size_t  );
void *yyrealloc ( void *, yy_size_t  );
void yyfree ( void *  );

#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
	{ \
	if ( ! YY_CURRENT_BUFFER ){ \
        yyensure_buffer_stack (); \
		YY_CURRENT_BUFFER_LVALUE =    \
            yy_create_buffer( yyin, YY_BUF_SIZE ); \
	} \
	YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
	}
#define yy_set_bol(at_bol) \
	{ \
	if ( ! YY_CURRENT_BUFFER ){\
        yyensure_buffer_stack (); \
		YY_CURRENT_BUFFER_LVALUE =    \
            yy_create_buffer( yyin, YY_BUF_SIZE ); \
	} \
	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
	}
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

/* Begin user sect3 */
typedef flex_uint8_t YY_CHAR;

FILE *yyin = NULL, *yyout = NULL;

typedef int yy_state_type;

extern int yylineno;
int yylineno = 1;

extern char *yytext;
#ifdef yytext_ptr
#undef yytext_ptr
#endif
#define yytext_ptr yytext

static yy_state_type yy_get_previous_state ( void );
static yy_state_type yy_try_NUL_trans ( yy_state_type current_state  );
static int yy_get_next_buffer ( void );
static void yynoreturn yy_fatal_error ( const char* msg  );

/* Done after the current pattern has been matched and before the
 * corresponding action - sets up yytext.
 */
#define YY_DO_BEFORE_ACTION \
	(yytext_ptr) = yy_bp; \
	(yytext_ptr) -= (yy_more_len); \
	yyleng = (int) (yy_cp - (yytext_ptr)); \
	(yy_hold_char) = *yy_cp; \
	*yy_cp = '\0'; \
	(yy_c_buf_p) = yy_cp;
#define YY_NUM_RULES 330
#define YY_END_OF_BUFFER 331
/* This struct is not used in this scanner,
   but its presence is necessary. */
struct yy_trans_info
	{
	flex_int32_t yy_verify;
	flex_int32_t yy_nxt;
	};
static const flex_int16_t yy_acclist[1568] =
    {   0,
      139,  320,  139,  320,  139,  139,  139,  139,  120,  139,
      120,  139,  139,  139,  139,  139,  139,  320,  139,  320,
      139,  275,  320,  139,  275,  320,  139,  320,  139,  320,
      139,  320,  139,  320,  139,  142,  139,  142,  138,  139,
      138,  139,  139,  139,  331,  329,  330,  139,  330,  140,
      329,  330,  118,  329,  330,  329,  330,  329,  330,  329,
      330,  329,  330,  327,  329,  330,  329,  330,  320,  322,
      325,  329,  330,  317,  320,  322,  325,  329,  330,  322,
      325,  329,  330,  322,  325,  329,  330,   99,  329,  330,
      326,  329,  330,  325,  329,  330,  132,  325,  329,  330,

      325,  329,  330,  131,  325,  329,  330,  325,  329,  330,
      325,  329,  330,  329,  330,  129,  329,  330,  329,  330,
      329,  330,  130,  329,  330,  329,  330,  329,  330,  329,
      330,  329,  330,  329,  330,  329,  330,    1,  329,  330,
        3,  329,  330,   39,  329,  330,    4,  329,  330,    5,
       98,  329,  330,   98,  329,  330,   22,   98,  329,  330,
       27,   98,  329,  330,   98,  329,  330,   37,   98,  329,
      330,   38,   98,  329,  330,   40,   98,  329,  330,   41,
       98,  329,  330,   98,  329,  330,   98,  329,  330,   48,
       98,  329,  330,   53,   98,  329,  330,   61,   98,  329,

      330,   98,  329,  330,   63,   98,  329,  330,   66,   98,
      329,  330,   69,   98,  329,  330,   77,   98,  329,  330,
       59,   98,  329,  330,   98,  329,  330,   93,   98,  329,
      330,   94,   98,  329,  330,   35,   98,  329,  330,   98,
      329,  330,   84,   98,  329,  330,    2,  329,  330,  120,
      329,  330,  120,  139,  330,  119,  329,  330,  120,  327,
      329,  330,  120,  326,  329,  330,  143,  329,  330,  143,
      327,  329,  330,  143,  326,  329,  330,  146,  329,  330,
      146,  329,  330,  146,  329,  330,  146,  327,  329,  330,
      146,  326,  329,  330,  311,  329,  330,  307,  329,  330,

      308,  329,  330,  314,  329,  330,  315,  329,  330,  329,
      330,  317,  320,  322,  325,  329,  330,  322,  325,  329,
      330,  312,  329,  330,  313,  329,  330,  325,  329,  330,
    16680,  297,  325,  329,  330,  298,  325,  329,  330,  299,
      325,  329,  330,  300,  325,  329,  330,  325,  329,  330,
      329,  330,  301,  329,  330,  329,  330,  302,  329,  330,
      303,  329,  330,  304,  329,  330,  305,  329,  330,  306,
      329,  330,  309,  329,  330,  310,  329,  330,  329,  330,
      211,  329,  330,  271,  329,  330,  272,  329,  330,  201,
      329,  330,  203,  329,  330,  204,  329,  330,  202,  329,

      330,  275,  320,  322,  325,  329,  330,  206,  329,  330,
      326,  329,  330,  207,  329,  330,  215,  275,  325,  329,
      330,  222,  275,  325,  329,  330,  223,  275,  325,  329,
      330,  243,  275,  325,  329,  330,  227,  275,  325,  329,
      330,  258,  275,  325,  329,  330,  275,  329,  330,  263,
      275,  329,  330,  252,  275,  329,  330,  264,  275,  329,
      330,  275,  329,  330,  275,  329,  330,  260,  275,  329,
      330,  253,  275,  329,  330,  275,  329,  330,  245,  275,
      329,  330,  261,  275,  329,  330,  259,  275,  329,  330,
      216,  275,  329,  330,  217,  275,  329,  330,  273,  329,

      330,  274,  329,  330,  212,  329,  330,  100,  329,  330,
      147,  325,  329,  330,  154,  325,  329,  330,  155,  325,
      329,  330,  175,  325,  329,  330,  159,  325,  329,  330,
      190,  325,  329,  330,  195,  329,  330,  184,  329,  330,
      196,  329,  330,  329,  330,  329,  330,  192,  329,  330,
      185,  329,  330,  329,  330,  177,  329,  330,  193,  329,
      330,  191,  329,  330,  148,  329,  330,  149,  329,  330,
      329,  330,  142,  329,  330,  142,  329,  330,  142,  329,
      330,  142,  329,  330,  142,  329,  330,  138,  329,  330,
      127,  329,  330,  125,  329,  330,  126,  329,  330,  128,

      329,  330,  139,  324,  318,  319,  321,  121,  123,  124,
      122,  295,  320,  322,  325,  322,  325,  325,  317,  320,
      322,  325,  317,  320,  322,  325,  134,  135,  133,  325,
      117,  101,  323,   98,   98,    6,   98,   98,   98,   98,
       13,   98,   11,   98,   12,   98,   14,   98,   15,   98,
       17,   98,   16,   98,   98,   19,   98,   98,   20,   98,
       98,   98,   98,   98,   29,   98,   98,   34,   98,   98,
       98,   98,   98,   98,   98,   42,   98,   44,   98,   98,
       98,   98,   98,   50,   98,   98,   26,   98,   98,   54,
       98,   98,   98,   98,   98,   60,   98,   98,   62,   98,

       98,   98,   98,   98,   98,   98,   98,   98,   79,   98,
       98,   98,   98,   78,   98,   98,   86,   98,   98,   89,
       98,   90,   98,   98,   98,   98,   98,  120,  120,  139,
      143,  146,  146,  146,  317,  320,  322,  325, 8488,  294,
      325,  284,  294,  325,  294,  285,  294,  325,  286,  294,
      325,  287,  294,  288,  294,  291,  294,  294,  323,  210,
      213,  275,  320,  322,  325,  275,  325,  275,  205,  209,
      208,  275,  325,  246,  275,  325,  247,  275,  325,  221,
      275,  325,  270,  275,  275,  325,  248,  275,  325,  244,
      275,  220,  275,  249,  275,  250,  275,  251,  275,  262,

      275,  275,  218,  275,  228,  229,  230,  231,  232,  233,
      234,  269,  275,  219,  275,  275,  323,  275,  214,  325,
      178,  325,  179,  325,  153,  325,  325,  180,  325,  176,
      152,  181,  182,  183,  194,  150,  160,  161,  162,  163,
      164,  165,  166,  151,  328,  142,  142,  142,  138,  295,
      320,  322,  325,  322,  325,  325,  317,  320,  322,  325,
      136,  137,  102,  141,   98,   98,   98,   98,   98,   98,
       98,   98,   98,   98,   98,   98,   98,   98,   24,   98,
       28,   98,   98,   30,   98,   26,   98,   32,   98,   98,
       98,   98,   36,   98,   98,   98,   98,   98,   98,   98,

       98,   49,   98,   98,   98,   51,   98,   98,   53,   98,
       98,   98,   98,   98,   98,   98,   98,   98,   65,   98,
       98,   67,   98,   68,   98,   98,   98,   75,   98,   98,
       98,   98,   82,   98,   81,   98,   98,   98,   98,   98,
       98,   98,   98,   98,   98,   98,   98,   98,   98,  144,
      146,  145,  146,  294,  325,  294,  289,  294,  290,  294,
      292,  294,  293,  294,  275,  320,  322,  325,  275,  325,
      241,  275,  254,  325,  255,  325,  226,  275,  256,  325,
      224,  275,  257,  265,  275,  266,  275,  267,  275,  268,
      275,  225,  275,  235,  236,  237,  238,  239,  240,  242,

      275,  173,  186,  325,  187,  325,  158,  188,  325,  156,
      189,  198,  197,  200,  199,  157,  167,  168,  169,  170,
      171,  172,  174,  320,  322,  325,  322,  325,  325,  317,
      320,  322,  325,  115,  104,  106,  111,  113,   98,   98,
       98,   98,   10,   98,   98,   98,   98,   98,   98,   98,
       25,   98,   98,   98,   98,   23,   98,   98,   98,   98,
       98,   98,   98,   33,   98,   98,   35,   98,   98,   37,
       98,   38,   98,   39,   98,   40,   98,   98,   45,   98,
       98,   47,   98,   48,   98,   98,   98,   98,   98,   98,
       98,   98,   56,   98,   98,   59,   98,   61,   98,   98,

       98,   64,   98,   66,   98,   98,   98,   98,   98,   98,
       98,   98,   98,   98,   98,   77,   98,   98,   98,   98,
       98,   84,   98,   85,   98,   98,   98,   98,   98,   92,
       98,   98,   95,   98,   98,   98,  294,  325,  294,  275,
      320,  322,  325,  275,  325,  320,  322,  325,  322,  325,
      325,  317,  320,  322,  325,  110,  107,  105,  116,  112,
      114,   98,   98,   98,   98,   98,   11,   98,   98,   13,
       98,   14,   98,   98,   98,   98,   98,   98,   98,   98,
       98,   98,   98,   98,   98,   83,   98,   98,   98,   98,
       98,   98,   98,   98,   98,   98,   98,   98,   58,   98,

       98,   57,   98,   98,   63,   98,   98,   67,   98,   98,
       98,   70,   98,   98,   98,   98,   98,   98,   98,   76,
       98,   98,   98,   80,   98,   98,   98,   98,   98,   98,
       89,   98,   98,   90,   98,   98,   94,   98,   98,  280,
      275,  320,  322,  325,  275,  325,  320,  322,  325,  322,
      325,  325,  317,  320,  322,  325,  108,  103,   98,    7,
       98,   98,   98,   98,   98,   98,   98,   98,   98,   98,
       98,   98,   28,   98,   31,   98,   30,   98,   98,   27,
       98,   34,   98,   36,   98,   43,   98,   46,   98,   98,
       98,   98,   98,   98,   98,   98,   98,   55,   98,   98,

       98,   68,   98,   98,   71,   98,   98,   98,   98,   72,
       98,   75,   98,   98,   98,   79,   98,   98,   82,   98,
       98,   98,   98,   91,   98,   93,   98,   98,  276,  283,
      281,  275,  320,  322,  325,  275,  325,  320,  322,  325,
      322,  325,  325,  317,  320,  322,  325,  109,   98,   98,
       98,   98,   98,   98,   17,   98,   98,   98,   21,   98,
       22,   98,   98,   98,   98,   32,   98,   98,   98,   98,
       52,   98,   98,   54,   98,   98,   98,   98,   98,   64,
       98,   98,   73,   98,   98,   74,   98,   98,   98,   98,
       98,   98,   98,   98,   96,   98,  282,  275,  320,  322,

      325,  275,  325,  316,  320,  322,  325,  316,  322,  325,
      316,  325,  316,  317,  320,  322,  325,   98,    9,   98,
       98,   98,   98,   98,   98,   98,   98,   98,   98,   98,
       98,   98,   98,   98,   98,   98,   98,   62,   98,   98,
       98,   98,   98,   98,   98,   98,   87,   98,   88,   98,
      279,  275,  316,  320,  322,  325,  275,  316,  325,  320,
      322,  325,  322,  325,  325,  317,  320,  322,  325,    6,
       98,    8,   98,   15,   98,   98,   98,   98,   98,   23,
       98,   98,   98,   49,   98,   98,   98,   98,   98,   98,
       57,   98,   60,   98,   69,   98,   98,   98,   98,   98,

       98,   98,   86,   98,  278,  277,  275,  320,  322,  325,
      275,  325,   12,   98,   98,   18,   98,   98,   25,   98,
       98,   98,   98,   98,   55,   98,   56,   98,   98,   98,
       98,   98,   80,   98,   98,   16,   98,   98,   98,   50,
       98,   98,   98,   71,   98,   72,   98,   78,   98,   98,
       81,   98,   20,   98,   29,   98,   98,   98,   98,   98,
       97,   98,   98,   73,   98,   74,   98
    } ;

static const flex_int16_t yy_accept[939] =
    {   0,
        1,    3,    5,    6,    7,    8,    9,   11,   13,   14,
       15,   16,   17,   19,   21,   24,   27,   29,   31,   33,
       35,   37,   39,   41,   43,   44,   45,   46,   48,   50,
       53,   56,   58,   60,   62,   64,   67,   69,   74,   80,
       84,   88,   91,   94,   97,  101,  104,  108,  111,  114,
      116,  119,  121,  123,  126,  128,  130,  132,  134,  136,
      138,  141,  144,  147,  150,  154,  157,  161,  165,  168,
      172,  176,  180,  184,  187,  190,  194,  198,  202,  205,
      209,  213,  217,  221,  225,  228,  232,  236,  240,  243,
      247,  250,  253,  256,  259,  263,  267,  270,  274,  278,

      281,  284,  287,  291,  295,  298,  301,  304,  307,  310,
      312,  318,  322,  325,  328,  332,  336,  340,  344,  348,
      351,  353,  356,  358,  361,  364,  367,  370,  373,  376,
      379,  381,  384,  387,  390,  393,  396,  399,  402,  408,
      411,  414,  417,  422,  427,  432,  437,  442,  447,  450,
      454,  458,  462,  465,  468,  472,  476,  479,  483,  487,
      491,  495,  499,  502,  505,  508,  511,  515,  519,  523,
      527,  531,  535,  538,  541,  544,  546,  548,  551,  554,
      556,  559,  562,  565,  568,  571,  573,  576,  579,  582,
      585,  588,  591,  594,  597,  600,  603,  604,  605,  606,

      607,  608,  609,  610,  611,  612,  613,  616,  618,  619,
      623,  627,  628,  629,  630,  630,  630,  631,  631,  631,
      631,  631,  631,  632,  632,  632,  633,  633,  633,  633,
      633,  634,  634,  635,  636,  638,  639,  640,  641,  643,
      645,  647,  649,  651,  653,  655,  656,  658,  659,  661,
      662,  663,  664,  665,  667,  668,  670,  671,  672,  673,
      674,  675,  676,  678,  680,  681,  682,  683,  684,  686,
      687,  689,  690,  692,  693,  694,  695,  696,  698,  699,
      701,  702,  703,  704,  705,  706,  707,  708,  709,  711,
      712,  713,  714,  716,  717,  719,  720,  722,  724,  725,

      726,  727,  728,  729,  731,  732,  733,  734,  735,  739,
      739,  740,  742,  745,  746,  749,  752,  754,  756,  758,
      760,  761,  762,  766,  768,  769,  770,  771,  772,  774,
      777,  780,  783,  785,  787,  790,  792,  794,  796,  798,
      800,  802,  803,  805,  805,  806,  807,  808,  809,  810,
      811,  812,  814,  816,  818,  819,  820,  821,  823,  825,
      827,  828,  830,  831,  832,  833,  834,  835,  836,  836,
      837,  837,  838,  839,  840,  841,  842,  843,  844,  845,
      845,  846,  847,  848,  849,  850,  851,  854,  856,  857,
      861,  862,  863,  863,  863,  863,  863,  863,  863,  863,

      863,  863,  864,  864,  864,  864,  864,  864,  865,  866,
      867,  868,  869,  870,  871,  872,  873,  874,  875,  876,
      877,  878,  879,  881,  883,  884,  886,  888,  890,  891,
      892,  893,  895,  896,  897,  898,  899,  900,  901,  902,
      904,  905,  906,  908,  909,  911,  912,  913,  914,  915,
      916,  917,  918,  919,  921,  922,  924,  926,  927,  928,
      930,  931,  932,  933,  935,  937,  938,  939,  940,  941,
      942,  943,  944,  945,  946,  947,  948,  949,  950,  952,
      954,  954,  956,  957,  959,  961,  963,  965,  969,  971,
      973,  975,  977,  979,  981,  983,  984,  986,  988,  990,

      992,  994,  995,  996,  997,  998,  999, 1000, 1002, 1003,
     1005, 1007, 1008, 1010, 1011, 1012, 1013, 1014, 1015, 1016,
     1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1027, 1029,
     1030, 1034, 1034, 1034, 1034, 1034, 1035, 1036, 1037, 1037,
     1038, 1039, 1039, 1039, 1039, 1039, 1040, 1041, 1042, 1043,
     1045, 1046, 1047, 1048, 1049, 1050, 1051, 1053, 1054, 1055,
     1056, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1066, 1067,
     1069, 1070, 1072, 1074, 1076, 1078, 1079, 1081, 1082, 1084,
     1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1095, 1096,
     1098, 1100, 1101, 1102, 1104, 1106, 1107, 1108, 1109, 1110,

     1111, 1112, 1113, 1114, 1115, 1116, 1118, 1119, 1120, 1121,
     1122, 1124, 1126, 1127, 1128, 1129, 1130, 1132, 1133, 1135,
     1136, 1137, 1137, 1137, 1137, 1139, 1140, 1144, 1146, 1149,
     1151, 1152, 1156, 1157, 1157, 1158, 1158, 1159, 1160, 1161,
     1161, 1162, 1163, 1164, 1165, 1166, 1167, 1169, 1170, 1172,
     1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183,
     1184, 1185, 1186, 1188, 1189, 1190, 1191, 1192, 1193, 1194,
     1195, 1196, 1197, 1198, 1199, 1201, 1202, 1204, 1205, 1207,
     1208, 1210, 1211, 1212, 1214, 1215, 1216, 1217, 1218, 1219,
     1220, 1222, 1223, 1224, 1226, 1227, 1228, 1229, 1230, 1231,

     1233, 1234, 1236, 1237, 1239, 1240, 1240, 1241, 1241, 1241,
     1241, 1245, 1247, 1250, 1252, 1253, 1257, 1257, 1258, 1259,
     1260, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270,
     1271, 1272, 1273, 1275, 1277, 1279, 1280, 1282, 1284, 1286,
     1288, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298,
     1300, 1301, 1302, 1304, 1305, 1307, 1308, 1309, 1310, 1312,
     1314, 1315, 1316, 1318, 1319, 1321, 1322, 1323, 1324, 1326,
     1328, 1329, 1329, 1329, 1330, 1331, 1332, 1332, 1336, 1338,
     1341, 1343, 1344, 1348, 1349, 1350, 1351, 1352, 1353, 1354,
     1355, 1357, 1358, 1359, 1361, 1363, 1364, 1365, 1366, 1368,

     1369, 1370, 1371, 1373, 1374, 1376, 1377, 1378, 1379, 1380,
     1382, 1383, 1385, 1386, 1388, 1389, 1390, 1391, 1392, 1393,
     1394, 1395, 1397, 1397, 1397, 1398, 1402, 1404, 1408, 1411,
     1413, 1418, 1419, 1421, 1422, 1423, 1424, 1425, 1426, 1427,
     1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437,
     1438, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1449,
     1451, 1452, 1452, 1457, 1460, 1463, 1465, 1466, 1470, 1472,
     1474, 1476, 1477, 1478, 1479, 1480, 1482, 1483, 1484, 1486,
     1487, 1488, 1489, 1490, 1491, 1493, 1495, 1497, 1498, 1499,
     1500, 1501, 1502, 1503, 1505, 1506, 1507, 1511, 1513, 1515,

     1516, 1518, 1519, 1521, 1522, 1523, 1524, 1525, 1527, 1529,
     1530, 1531, 1532, 1533, 1535, 1536, 1538, 1539, 1540, 1542,
     1543, 1544, 1546, 1548, 1550, 1551, 1553, 1555, 1557, 1558,
     1559, 1560, 1561, 1563, 1564, 1566, 1568, 1568
    } ;

static const YY_CHAR 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,    4,    5,    6,    7,    8,    9,   10,   11,   12,
       13,   14,   15,   16,   17,   18,   19,   20,   21,   22,
       23,   24,   25,   26,   27,   28,   29,   30,   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,   56,   57,   58,   59,   60,   61,   62,
       63,    1,   64,    1,   65,    1,   66,   67,   68,   69,

       70,   71,   72,   73,   74,   75,   76,   77,   78,   79,
       80,   81,   82,   83,   84,   85,   86,   87,   88,   89,
       90,   91,    1,   92,    1,   93,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    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 const YY_CHAR yy_meta[94] =
    {   0,
        1,    2,    3,    4,    1,    5,    1,    6,    6,    6,
        1,    7,    1,    1,    6,    8,    1,    9,    1,   10,
       10,   10,   10,   10,   10,   10,   10,   10,   10,   11,
        1,    1,    1,    1,   12,   12,   13,   13,   13,   13,
       13,   13,   14,   14,   14,   14,   14,   14,   14,   14,
       14,   14,   14,   14,   14,   14,   14,   14,   14,   14,
       14,   14,    1,    1,   15,   13,   13,   13,   13,   13,
       13,   14,   14,   14,   14,   14,   14,   14,   14,   14,
       14,   14,   14,   14,   14,   14,   14,   14,   14,   14,
       14,    1,    1

    } ;

static const flex_int16_t yy_base[978] =
    {   0,
        0,    0,   92,   97,  130,    0,  222,  227,  232,  237,
      243,  269,  302,    0,  395,    0,  488,    0,  580,    0,
      669,  762,  855,  948,  969,  984, 1426, 3456,  100, 3456,
     3456,    0,   85,   94,  266, 3456,  114, 1045,   89,  603,
     1383, 3456, 3456,  632,    0,  564,  569,   37,  658,  173,
     3456,  190,  186,  667,  209,  196,  216,  214,  209,    0,
     3456, 3456, 3456, 3456,  670, 1080,  762,  666,  662,  542,
      583,  672,  760,  583,  595,  764, 1132,  596,    0,  844,
      581,  679, 1180,  763,  669,  621,  658,    0,  635,    0,
     3456,    0,  240, 3456,    0,    0,    0,    0,    0,    0,

        0,    0,    0,    0, 3456, 3456, 3456,  913, 3456,  583,
       91, 1350, 3456, 3456, 1267, 1337,  691,  748,  692,  714,
     1407,  759,  760,    0,    0,    0,  748,    0, 3456, 3456,
     1323, 1068, 3456, 3456, 3456,  969, 3456, 3456, 1418, 1321,
     1265, 1234, 1470,  836,  854,  977,  837,  962, 1075, 1097,
      966,  774,  854, 1093,  775, 1165,  829,  776,  832,  835,
      986, 1089, 3456, 3456, 1153, 3456,  858,  856,  860, 1163,
        0,  853,  866,  856, 3456,  930,  938, 3456, 1235,  922,
     3456, 3456, 3456,  948,  961,    0,    0,  107, 1211, 1201,
     1199,    0, 3456, 3456, 3456, 3456,  260,    0,  237, 1252,

     1290, 3456, 3456, 3456, 3456,    0, 1522, 1300, 1322, 1122,
     1155, 3456, 3456, 3456,  982,  975,  979,  977, 1035, 1040,
     1029, 1043, 3456, 1044, 1087, 3456, 1093, 1082, 1108, 1108,
     3456, 1221,    0, 1115,    0, 1141, 1147, 1170,    0, 1154,
     1165, 1174,    0, 1173,    0, 1164,    0, 1176, 1182, 1250,
     1180, 1335, 1247,    0, 1206, 1266, 1340, 1304, 1297, 1307,
     1318, 1319,    0,    0, 1330, 1310, 1334, 1318,    0, 1351,
        0, 1341,    0, 1338, 1349, 1503, 1332,    0, 1335,    0,
     1359, 1403, 1409, 1405, 1411, 1513, 1412, 1395, 1417, 1412,
     1425, 1434,    0, 1516,    0, 1423, 1469, 1514, 1484, 1472,

     1517, 1526,    0,  280,    0,    0, 1201, 1188,  257, 1573,
     3456, 1600, 1668, 1626,    0,    0,    0, 1534, 1536,    0,
     3456, 3456, 1720, 1441, 1778, 3456, 3456, 3456, 1636, 1493,
     1653, 1695,    0, 1754, 1801, 1518,    0, 1150, 1654, 1655,
        0, 1525,    0, 1507, 3456, 3456, 3456, 3456, 3456, 3456,
     3456,    0,    0,    0, 1556, 3456, 1557, 1132, 1128,    0,
     1560, 1125, 1561, 3456, 1122, 1656, 1719, 3456, 1562, 3456,
     1730, 3456, 3456, 3456, 3456, 3456, 3456, 3456, 3456, 1634,
        0,    0, 1110, 1077,    0,    0, 1830, 1853, 1861,  279,
     3456, 3456, 1647, 1645, 1700, 1727, 1726, 1710, 1745, 1757,

     1770, 3456, 1771, 1771, 1760, 1788, 1776,  969,  855, 1796,
     1783, 1788, 1789, 1854, 1829, 1834, 1840, 1846, 1848, 1867,
     1856, 1866, 1863, 1868, 1873, 1866,    0, 1875, 1864, 1876,
     1859, 1866, 1870, 1868, 1872, 1869, 1875, 1889, 1890,    0,
     1873, 1890, 1899, 1900, 1912, 1907, 1925, 1923, 1922, 1908,
     1904, 1916, 1926,    0, 1914, 1926, 1921, 1928, 1962, 1918,
     1932, 1941, 1966,    0,    0, 1924, 1944, 1934, 1935, 1967,
     1970, 1961, 1974, 1982, 1977, 1971, 1985, 1984,  907,  836,
      833, 2051, 2036,    0,    0,    0,    0, 2103, 2074,    0,
        0,    0,    0,    0,    0, 3456,    0,    0,    0,    0,

        0, 3456, 3456, 3456, 3456, 3456, 3456,    0, 3456,    0,
        0, 3456,    0, 3456, 3456, 3456, 3456, 3456, 3456, 3456,
     3456, 3456, 3456, 3456, 3456, 3456, 3456, 2155, 2084, 2126,
      565, 1987, 2042, 2040, 2030, 3456, 3456, 3456, 2042, 3456,
     3456, 2031, 2092, 2086, 2094, 2088, 2098, 2143, 2082,    0,
     2099, 2109, 2110, 2117, 2114, 2118,    0, 2107, 2162, 2163,
     2156, 2157, 2147, 2165, 2166, 2180, 2146,    0, 2160,    0,
     2155,    0,    0,    0,    0, 2156,    0, 2154,    0, 2176,
     2176, 2176, 2172, 2180, 2167, 2195, 2192,    0, 2199,    0,
        0, 2214, 2197, 2209,    0, 2195, 2202, 2202, 2202, 2218,

     2209, 2204, 2225, 2209, 2211,  762, 2226, 2224,  723, 2227,
        0, 2211, 2254, 2230, 2223, 2225,    0, 2232,    0, 2231,
     2239,    0,  770, 2287,  750,  730, 2315, 2303, 2367, 2338,
     2346,  611, 3456, 2256, 3456, 2262, 3456, 3456, 3456, 2277,
     3456, 2282, 2276, 2270, 2295, 2343,    0,  629,    0,    0,
     2356, 2345,  624, 2350, 2347, 2346, 2348, 2369, 2367, 2371,
     2365, 2359,    0, 2374, 2360, 2376, 2376, 2382, 2401, 2372,
     2370, 2386, 2372, 2371,    0, 2415,    0, 2420,    0, 2410,
        0, 2419, 2404,    0, 2405, 2425, 2409, 2406, 2409, 2416,
        0, 2419, 2418,    0, 2421, 2410, 2434, 2416, 2432,    0,

     2423,    0, 2415,    0, 2420,    0,  656,  583,  581,    0,
     2487, 2510, 2539, 2520, 2562,  672, 2463, 3456, 3456, 2482,
        0, 2484, 2485, 2486, 2515, 2509, 2530, 2524, 2533, 2534,
     2547, 2537,  236,    0,    0, 2553,    0,    0,    0,    0,
        0, 2540, 2559, 2556, 2570, 2555, 2559, 2565, 2569,    0,
     2576, 2575,    0, 2576,    0, 2578, 2580, 2587,    0,    0,
     2592, 2589, 2576, 2595,    0, 2577, 2580, 2593,    0,    0,
     2593,  270,    0, 3456, 3456, 3456,  258, 2646, 2669, 2698,
     2679, 2721,  764, 3456, 2609, 2611, 2598, 2614, 2637, 2674,
        0, 2688, 2693,    0,    0, 2680, 2681, 2685,    0, 2689,

     2713, 2697,    0,  198,    0, 2733, 2716, 2698, 2708,    0,
     2702,    0, 2730,    0, 2734, 2718, 2730, 2737, 2737, 2730,
     2724,    0,  235,    0, 3456, 2789, 2766, 2841, 2812, 2820,
      948, 2748,    0, 2765, 2781, 2786, 2779, 2809, 2834, 2823,
     2820, 2838, 2837, 2836, 2833, 2829, 2828, 2836, 2836, 2848,
        0, 2835, 2877, 2851, 2842, 2843, 2854, 2852,    0,    0,
        0,   94, 2942, 2913,    0,    0,    0, 1175,    0,    0,
        0, 2857, 2842, 2858, 2888,    0, 2869, 2893,    0, 2895,
     2887, 2891, 2905, 2888,    0,    0,    0, 2907, 2915, 2909,
     2921, 2931, 2940,    0, 3456, 3456,    0, 2969,    0, 2958,

        0, 2952,    0, 2960, 2947, 2949, 2967,    0,    0, 2949,
     2950, 2959, 2961,    0, 2963,    0, 2964, 2972,    0, 2982,
     2983,    0,    0,    0, 2984,    0,    0,    0, 2983, 2984,
     2985, 2972,    0, 2981,    0,    0, 3456, 3065, 3080, 3095,
     3110, 3125, 3140,  632, 3150, 3165, 3171, 3186, 3201, 3216,
     3231, 3246, 3260, 3265, 3280, 3286, 3292, 1049, 3299, 3314,
     3320, 3335, 3350, 3365, 3380, 3395, 3407, 3415, 3426, 1267,
     3433, 1269, 3441, 1272, 1520, 1604, 1618
    } ;

static const flex_int16_t yy_def[978] =
    {   0,
      937,    1,  938,  938,  937,    5,  939,  939,  940,  940,
      941,  941,  937,   13,  937,   15,  937,   17,  938,   19,
      942,  942,  943,  943,  938,  938,  937,  937,  937,  937,
      937,  944,  937,  937,  937,  937,  945,  937,   38,   38,
       40,  937,  937,   38,   44,   44,   44,   44,   44,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  946,
      937,  937,  937,  937,  947,  947,  947,  947,  947,  947,
      947,  947,  947,  947,  947,  947,  947,  947,  947,  947,
      947,  947,  947,  947,  947,  947,  947,  947,  947,  947,
      937,  948,  948,  937,  948,  948,  949,  949,  949,  950,

      951,  952,  950,  950,  937,  937,  937,  937,  937,  945,
       38,   40,  937,  937,  953,  953,  116,  116,  116,  116,
      953,  121,  121,  121,  121,  121,  121,  121,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  954,  937,
      937,  937,  954,  143,  143,  143,  143,  143,  954,  954,
      150,  150,  150,  150,  150,  150,  150,  150,  150,  150,
      150,  150,  937,  937,  937,  937,   44,   44,   44,   44,
       44,   44,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  955,  956,  956,  956,  956,
      956,  957,  937,  937,  937,  937,  937,  958,  937,  937,

      937,  937,  937,  937,  937,  959,  937,  207,  207,  207,
      207,  937,  937,  937,  937,  937,  209,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  960,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,

      961,  961,  962,  962,  963,  964,  965,  966,  207,  937,
      937,  967,  967,  967,  313,  313,  314,  314,  314,  314,
      937,  937,  150,  323,  323,  937,  937,  937,  323,  323,
      323,  323,  325,  323,  323,  325,  325,  325,  325,  325,
      325,  325,  325,  937,  937,  937,  937,  937,  937,  937,
      937,  325,  325,  325,  325,  937,  209,  209,  209,  209,
      209,  209,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      955,  956,  956,  956,  957,  959,  937,  387,  387,  387,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,

      937,  937,  937,  937,  937,  937,  937,  960,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  965,  966,
      968,  969,  969,  483,  483,  483,  483,  325,  488,  325,
      389,  389,  325,  389,  325,  937,  325,  325,  325,  325,

      325,  937,  937,  937,  937,  937,  937,  325,  937,  389,
      389,  937,  389,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  528,  528,
      528,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,

      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  970,  971,  937,  530,  937,  325,  627,  937,  629,
      629,  629,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,

      961,  961,  961,  961,  961,  972,  973,  937,  937,  974,
      627,  711,  937,  713,  713,  713,  937,  937,  937,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  937,  975,  937,  937,  937,  937,  711,  778,  937,
      780,  780,  780,  937,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,

      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  937,  976,  937,  778,  826,  937,  828,  828,
      828,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      977,  937,  826,  863,  828,  829,  830,  828,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  937,  937,  863,  863,  961,  961,

      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,  961,  961,  961,  961,
      961,  961,  961,  961,  961,  961,    0,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937
    } ;

static const flex_int16_t yy_nxt[3550] =
    {   0,
       28,   29,   30,   29,   28,   31,   28,   32,   33,   34,
       28,   28,   28,   28,   35,   36,   28,   37,   28,   38,
       39,   38,   38,   38,   38,   38,   38,   40,   41,   28,
       42,   28,   43,   28,   28,   28,   44,   45,   46,   47,
       48,   49,   50,   51,   52,   28,   28,   53,   28,   28,
       54,   28,   28,   55,   56,   57,   28,   28,   58,   59,
       28,   28,   28,   28,   28,   44,   45,   46,   47,   48,
       49,   50,   51,   52,   28,   28,   53,   28,   28,   54,
       28,   28,   55,   56,   57,   28,   28,   58,   59,   28,
       28,   28,   28,   29,   30,   29,  219,   60,   29,   30,

       29,  197,   60,  197,  199,  199,  896,   36,  210,  211,
      309,  309,   36,  200,  200,  200,  200,  200,  200,  200,
      200,  202,  203,  204,   43,  219,  383,  384,  205,   43,
       28,   29,   30,   29,   28,   28,   28,   28,   28,   28,
       28,   28,   28,   28,   28,   36,   28,   28,   28,   28,
       28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
       61,   28,   43,   62,   63,   64,   65,   66,   67,   68,
       69,   70,   71,   72,   73,   74,   75,   76,   77,   78,
       79,   80,   81,   82,   83,   84,   85,   86,   87,   88,
       89,   90,   28,   28,   79,   65,   66,   67,   68,   69,

       70,   71,   72,   73,   74,   75,   76,   77,   78,   79,
       80,   81,   82,   83,   84,   85,   86,   87,   88,   89,
       90,   28,   91,   93,   30,   93,  222,   94,   93,   30,
       93,  223,   94,   29,   30,   29,  224,   95,   29,   30,
       29,  304,   95,  304,   29,   30,   29,   98,  101,  227,
      861,  228,   98,  102,   96,  222,  199,  199,  103,   96,
      223,  197,  846,  197,   99,  224,  229,  230,  231,   99,
       29,   30,   29,  825,  101,  104,  390,  390,  227,  102,
      228,  304,  823,  304,  103,  201,  201,  201,  201,  201,
      201,  201,  201,  201,  201,  229,  230,  231,  531,  531,

      798,  104,   28,   29,   30,   29,   28,   28,  105,   32,
       33,   34,   28,  106,  107,   28,  108,   36,  109,  110,
       28,   38,  111,   38,   38,   38,   38,   38,   38,  112,
      112,  113,   28,  114,   43,   28,   28,   28,  115,  116,
      117,  118,  119,  120,  121,  122,  123,  121,  121,  124,
      121,  121,  121,  121,  121,  121,  125,  121,  126,  121,
      121,  127,  128,  121,  129,  130,   28,  115,  116,  117,
      118,  119,  120,  121,  122,  123,  121,  121,  124,  121,
      121,  121,  121,  121,  121,  125,  121,  126,  121,  121,
      127,  128,  121,   28,   28,   28,   29,   30,   29,  131,

       28,   28,   32,   33,  132,   28,  133,  134,  135,  136,
       36,  137,  110,  138,  139,   39,   38,   38,   38,   38,
       38,   38,   40,   41,   28,   28,  140,  141,  142,   28,
       28,  143,  144,  145,  146,  147,  148,  149,  150,  151,
      149,  149,  152,  153,  149,  149,  154,  155,  156,  157,
      149,  158,  159,  160,  161,  162,  149,  163,  164,  149,
      143,  144,  145,  146,  147,  148,  149,  150,  151,  149,
      149,  152,  153,  149,  149,  154,  155,  156,  157,  149,
      158,  159,  160,  161,  162,  149,  165,   28,   28,   29,
       30,   29,   28,   28,   28,   32,   33,   34,   28,   28,

       28,   28,   35,   36,   28,   28,   28,   38,  111,   38,
       38,   38,   38,   38,   38,  112,  112,   28,  166,   28,
       43,   28,   28,   28,  167,  168,  169,  170,  171,  172,
       28,  173,  174,   28,   28,  175,  176,   28,   28,  177,
      178,  179,  180,   28,  181,  182,  183,  184,  185,   28,
       28,   28,   28,  167,  168,  169,  170,  171,  172,   28,
      173,  174,   28,   28,  175,  176,   28,   28,  177,  178,
      179,  180,   28,  181,  182,  183,  184,  185,   28,   28,
       28,   29,   30,   29,  632,  632,  258,   32,   33,   34,
      937,  937,  937,  214,   35,   36,  776,  937,  775,   38,

      111,   38,   38,   38,   38,   38,   38,  112,  112,  217,
      186,  215,   43,  218,  216,  258,   44,   44,   44,   44,
       44,   44,  208,  208,  208,  208,  208,  208,  208,  208,
      716,  716,  212,  259,  265,  266,  279,  284,  217,   59,
      215,  198,  218,  216,  198,   44,   44,   44,   44,   44,
       44,  209,  209,  209,  209,  209,  209,  209,  209,  209,
      209,  300,  259,  265,  266,  279,  284,  773,   59,   28,
       29,   30,   29,   28,   28,   28,   28,   28,   28,   28,
       28,   28,   28,   28,   36,   28,   28,   28,  728,  188,
      300,  783,  783,  725,  301,  302,  189,  190,   28,   28,

       28,   43,   28,   28,   28,  220,  252,  191,  225,  234,
      253,  256,  260,  254,  221,  285,  226,  235,  298,  286,
      299,  257,  255,  301,  302,  236,  237,  287,  261,  312,
      312,   28,   28,  710,  220,  252,  191,  225,  234,  253,
      256,  260,  254,  221,  285,  226,  235,  298,  286,  299,
      257,  255,  312,  710,  236,  237,  287,  261,  312,  312,
       28,   28,   28,   29,   30,   29,   28,   28,   28,   28,
       28,   28,   28,   28,   28,   28,   28,   36,   28,   28,
       28,  312,  188,  831,  831,  707,  312,  695,  316,  189,
      190,   28,   28,   28,   43,   28,   28,   28,  246,  296,

      191,  247,  262,  267,  263,  248,  317,  320,  268,  249,
      264,  269,  250,  251,  270,  312,  297,  316,  271,  318,
      319,  325,  325,  325,   28,   28,  692,  246,  296,  191,
      247,  262,  267,  263,  248,  317,  320,  268,  249,  264,
      269,  250,  251,  270,  622,  297,  480,  271,  318,  319,
      325,  325,  325,   28,   28,   28,   29,   30,   29,   28,
       28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
       36,   28,   28,   28,  331,  324,  325,  324,  324,  325,
      353,  280,  325,  214,   28,   28,   28,   43,   28,   28,
       28,  281,  332,  341,  359,  324,  357,  282,  360,  358,

      364,  325,  283,  331,  324,  325,  324,  324,  325,  353,
      280,  325,  479,  365,  333,  366,  367,   28,   28,  546,
      281,  332,  341,  359,  324,  357,  282,  360,  358,  364,
      325,  283,  201,  201,  201,  201,  201,  201,  201,  201,
      201,  201,  365,  333,  366,  367,   28,   28,   28,   29,
       30,   29,   28,   28,   28,   28,   28,   28,   28,   28,
       28,   28,   28,   36,   28,   28,   28,  868,  868,  368,
       29,   30,   29,  379,  408,  369,  370,   28,   28,   28,
       43,   28,   28,   28,   36,   29,   30,   29,  201,  201,
      201,  201,  201,  201,  201,  201,  201,  201,  368,   36,

      324,   43,  379,  324,  369,  370,  193,  231,  194,  337,
       28,   28,  195,  325,  334,  324,   43,  335,  324,  196,
      380,  193,  393,  194,  394,  339,  340,  195,  336,  324,
      395,  396,  324,  325,  196,  193,  231,  194,  337,   28,
       28,  195,  325,  334,  324,  354,  335,  324,  196,  380,
      193,  393,  194,  394,  339,  340,  195,  336,  198,  395,
      396,  198,  325,  196,  207,  207,  207,  207,  207,  207,
      207,  207,  208,  208,  354,  397,  398,  322,  399,  400,
      401,  209,  209,  209,  209,  209,  209,  200,  200,  200,
      200,  200,  200,  200,  200,  937,  937,  937,  937,  937,

      937,  937,  937,  937,  397,  398,  392,  399,  400,  401,
      209,  209,  209,  209,  209,  209,  238,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  239,  240,  402,  403,
      342,  343,  405,  241,  242,  243,  325,  244,  245,  391,
      325,  390,  390,  515,  338,  238,  513,  404,  355,  511,
      406,  391,  407,  510,  409,  239,  240,  402,  403,  342,
      343,  405,  241,  242,  243,  325,  244,  245,  272,  325,
      273,  496,  274,  338,  390,  390,  404,  355,  275,  406,
      276,  407,  277,  409,  392,  344,  278,  345,  346,  347,
      348,  349,  350,  351,  868,  868,  410,  272,  480,  273,

      361,  274,  411,  362,  414,  415,  479,  275,  412,  276,
      416,  277,  352,  417,  363,  278,  288,  418,  289,  413,
      419,  290,  420,  291,  292,  410,  408,  293,  214,  361,
      213,  411,  362,  414,  415,  294,  423,  412,  295,  416,
      212,  352,  417,  363,  356,  288,  418,  289,  413,  419,
      290,  420,  291,  292,  429,  371,  293,  372,  373,  374,
      375,  376,  377,  378,  294,  423,  328,  295,  310,  311,
      310,  200,  200,  200,  200,  200,  200,  200,  200,  706,
      706,  772,  772,  429,  777,  777,  209,  209,  209,  209,
      209,  209,  209,  209,  209,  209,  311,  327,  421,  422,

      427,  428,  430,  312,  312,  312,  312,  312,  313,  201,
      201,  201,  201,  201,  201,  201,  201,  201,  201,  388,
      388,  388,  388,  388,  388,  388,  388,  421,  422,  427,
      428,  430,  312,  312,  312,  312,  312,  313,  937,  937,
      937,  389,  389,  389,  389,  389,  389,  389,  389,  389,
      389,  433,  434,  326,  435,  321,  209,  209,  209,  209,
      209,  209,  209,  209,  209,  209,  937,  436,  437,  438,
      439,  440,  441,  312,  312,  315,  312,  312,  312,  937,
      433,  434,  424,  435,  431,  444,  445,  442,  446,  449,
      425,  432,  426,  443,  450,  451,  436,  437,  438,  439,

      440,  441,  312,  312,  315,  312,  312,  312,  937,  937,
      937,  424,  213,  431,  444,  445,  442,  446,  449,  425,
      432,  426,  443,  450,  451,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  323,  207,  207,
      207,  207,  207,  207,  207,  208,  208,  452,  454,  455,
      456,  461,  462,  453,  324,  324,  324,  324,  324,  324,
      489,  389,  389,  389,  389,  389,  389,  389,  389,  389,
      463,  464,  465,  467,  470,  466,  452,  454,  455,  456,
      461,  462,  453,  324,  324,  324,  324,  324,  324,  324,
      209,  209,  209,  209,  209,  209,  209,  209,  209,  463,

      464,  465,  467,  470,  466,  471,  324,  324,  329,  324,
      324,  330,  489,  389,  491,  389,  389,  389,  389,  389,
      389,  389,  937,  474,  937,  475,  502,  503,  504,  505,
      506,  507,  824,  824,  471,  324,  324,  329,  324,  324,
      330,  387,  387,  387,  387,  387,  387,  387,  387,  388,
      388,  457,  474,  472,  475,  458,  468,  447,  389,  389,
      389,  389,  389,  389,  448,  478,  469,  459,  460,  473,
      476,  495,  477,  937,  310,  311,  310,  484,  501,  486,
      457,  485,  472,  487,  458,  468,  447,  389,  389,  389,
      389,  389,  389,  448,  478,  469,  459,  460,  473,  476,

      495,  477,  311,  481,  508,  509,  484,  501,  486,  937,
      485,  937,  487,  512,  514,  520,  862,  862,  937,  389,
      389,  389,  389,  389,  389,  389,  389,  389,  389,  481,
      895,  895,  937,  508,  509,  937,  482,  482,  482,  482,
      482,  482,  512,  514,  520,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  489,  389,  389,  389,  389,
      389,  389,  389,  389,  389,  482,  482,  482,  482,  482,
      482,  481,  489,  389,  492,  389,  389,  389,  389,  389,
      389,  389,  527,  532,  490,  937,  937,  389,  389,  389,
      389,  389,  389,  389,  389,  389,  389,  497,  499,  516,

      533,  498,  500,  517,  482,  482,  482,  482,  482,  482,
      937,  527,  532,  490,  489,  389,  389,  389,  389,  389,
      389,  389,  389,  389,  937,  937,  497,  499,  516,  533,
      498,  500,  517,  482,  482,  482,  482,  482,  482,  488,
      387,  387,  387,  387,  387,  387,  387,  388,  388,  521,
      522,  523,  524,  525,  526,  534,  489,  489,  489,  489,
      489,  489,  518,  535,  536,  537,  519,  325,  937,  937,
      937,  937,  937,  489,  389,  389,  389,  389,  389,  389,
      389,  389,  389,  538,  534,  489,  489,  489,  489,  489,
      489,  518,  535,  536,  537,  519,  325,  325,  937,  937,

      937,  937,  937,  937,  937,  937,  937,  493,  539,  540,
      541,  542,  538,  543,  325,  325,  325,  325,  325,  325,
      489,  389,  494,  389,  389,  389,  389,  389,  389,  389,
      544,  545,  547,  548,  549,  550,  493,  539,  540,  541,
      542,  937,  543,  325,  325,  325,  325,  325,  325,  528,
      528,  528,  528,  528,  528,  528,  528,  529,  529,  544,
      545,  547,  548,  549,  550,  553,  530,  530,  530,  530,
      530,  530,  529,  529,  529,  529,  529,  529,  529,  529,
      530,  530,  530,  530,  530,  530,  530,  530,  530,  530,
      551,  554,  552,  555,  553,  530,  530,  530,  530,  530,

      530,  556,  557,  558,  559,  561,  562,  560,  563,  564,
      565,  566,  567,  569,  570,  568,  571,  572,  573,  551,
      554,  552,  555,  574,  575,  576,  577,  578,  579,  580,
      556,  557,  558,  559,  561,  562,  560,  563,  564,  565,
      566,  567,  569,  570,  568,  571,  572,  573,  581,  582,
      583,  586,  574,  575,  576,  577,  578,  579,  580,  589,
      584,  587,  590,  591,  592,  593,  585,  594,  588,  595,
      596,  597,  598,  937,  604,  937,  605,  581,  582,  583,
      586,  606,  609,  937,  610,  611,  612,  937,  589,  584,
      587,  590,  591,  592,  593,  585,  594,  588,  595,  596,

      597,  598,  599,  604,  600,  605,  607,  613,  614,  601,
      606,  609,  602,  610,  611,  612,  603,  615,  616,  617,
      608,  618,  619,  620,  621,  937,  937,  937,  937,  937,
      937,  599,  937,  600,  937,  607,  613,  614,  601,  624,
      633,  602,  937,  937,  937,  603,  615,  616,  617,  608,
      618,  619,  620,  621,  624,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  633,
      530,  530,  530,  530,  530,  530,  530,  530,  530,  530,
      937,  937,  634,  635,  636,  637,  638,  625,  625,  625,
      625,  625,  625,  628,  530,  530,  530,  530,  530,  530,

      530,  530,  530,  630,  630,  630,  630,  630,  630,  630,
      630,  634,  635,  636,  637,  638,  625,  625,  625,  625,
      625,  625,  627,  528,  528,  528,  528,  528,  528,  528,
      529,  529,  639,  640,  641,  642,  643,  646,  647,  628,
      628,  628,  628,  628,  628,  631,  631,  631,  631,  631,
      631,  631,  631,  631,  631,  648,  649,  650,  651,  652,
      653,  639,  640,  641,  642,  643,  646,  647,  628,  628,
      628,  628,  628,  628,  629,  629,  629,  629,  629,  629,
      629,  629,  630,  630,  648,  649,  650,  651,  652,  653,
      644,  631,  631,  631,  631,  631,  631,  645,  654,  655,

      656,  657,  658,  659,  660,  937,  663,  664,  665,  666,
      667,  937,  670,  668,  671,  672,  673,  661,  674,  644,
      631,  631,  631,  631,  631,  631,  645,  654,  655,  656,
      657,  658,  659,  660,  662,  663,  664,  665,  666,  667,
      669,  670,  668,  671,  672,  673,  661,  674,  675,  676,
      677,  678,  679,  680,  681,  682,  683,  684,  685,  686,
      687,  688,  690,  662,  691,  689,  693,  694,  696,  697,
      700,  701,  702,  703,  704,  937,  705,  675,  676,  677,
      678,  679,  680,  681,  682,  683,  684,  685,  686,  687,
      688,  690,  698,  691,  689,  693,  694,  696,  697,  700,

      701,  702,  703,  704,  699,  705,  709,  709,  709,  709,
      709,  709,  709,  709,  937,  717,  718,  719,  720,  721,
      722,  698,  712,  631,  631,  631,  631,  631,  631,  631,
      631,  631,  937,  699,  711,  629,  629,  629,  629,  629,
      629,  629,  630,  630,  717,  718,  719,  720,  721,  722,
      723,  712,  712,  712,  712,  712,  712,  714,  714,  714,
      714,  714,  714,  714,  714,  715,  715,  715,  715,  715,
      715,  715,  715,  715,  715,  937,  937,  937,  937,  723,
      712,  712,  712,  712,  712,  712,  713,  713,  713,  713,
      713,  713,  713,  713,  714,  714,  724,  726,  727,  729,

      730,  731,  732,  715,  715,  715,  715,  715,  715,  733,
      734,  735,  736,  737,  738,  739,  740,  741,  742,  937,
      745,  746,  747,  748,  749,  724,  726,  727,  729,  730,
      731,  732,  715,  715,  715,  715,  715,  715,  733,  734,
      735,  736,  737,  738,  739,  740,  741,  742,  743,  745,
      746,  747,  748,  749,  744,  750,  751,  752,  753,  754,
      755,  756,  757,  758,  759,  760,  761,  763,  764,  765,
      766,  767,  762,  768,  769,  770,  771,  743,  937,  937,
      937,  937,  937,  744,  750,  751,  752,  753,  754,  755,
      756,  757,  758,  759,  760,  761,  763,  764,  765,  766,

      767,  762,  768,  769,  770,  771,  778,  713,  713,  713,
      713,  713,  713,  713,  714,  714,  937,  937,  784,  785,
      786,  787,  788,  779,  779,  779,  779,  779,  779,  779,
      715,  715,  715,  715,  715,  715,  715,  715,  715,  781,
      781,  781,  781,  781,  781,  781,  781,  784,  785,  786,
      787,  788,  779,  779,  779,  779,  779,  779,  780,  780,
      780,  780,  780,  780,  780,  780,  781,  781,  789,  791,
      792,  793,  794,  790,  795,  782,  782,  782,  782,  782,
      782,  782,  782,  782,  782,  782,  782,  782,  782,  782,
      782,  796,  797,  799,  800,  801,  802,  789,  791,  792,

      793,  794,  790,  795,  782,  782,  782,  782,  782,  782,
      803,  804,  805,  808,  809,  810,  811,  812,  813,  806,
      796,  797,  799,  800,  801,  802,  807,  814,  815,  816,
      817,  818,  819,  820,  821,  822,  937,  937,  937,  803,
      804,  805,  808,  809,  810,  811,  812,  813,  806,  832,
      833,  834,  835,  937,  937,  807,  814,  815,  816,  817,
      818,  819,  820,  821,  822,  826,  780,  780,  780,  780,
      780,  780,  780,  781,  781,  937,  937,  836,  832,  833,
      834,  835,  827,  827,  827,  827,  827,  827,  827,  782,
      782,  782,  782,  782,  782,  782,  782,  782,  829,  829,

      829,  829,  829,  829,  829,  829,  836,  937,  937,  937,
      937,  827,  827,  827,  827,  827,  827,  828,  828,  828,
      828,  828,  828,  828,  828,  829,  829,  837,  838,  839,
      840,  841,  842,  843,  830,  830,  830,  830,  830,  830,
      830,  830,  830,  830,  830,  830,  830,  830,  830,  830,
      844,  845,  849,  850,  851,  852,  837,  838,  839,  840,
      841,  842,  843,  830,  830,  830,  830,  830,  830,  847,
      853,  854,  855,  856,  857,  858,  848,  859,  860,  844,
      845,  849,  850,  851,  852,  864,  830,  830,  830,  830,
      830,  830,  830,  830,  830,  869,  937,  937,  847,  853,

      854,  855,  856,  857,  858,  848,  859,  860,  863,  828,
      828,  828,  828,  828,  828,  828,  829,  829,  937,  937,
      870,  871,  872,  873,  869,  864,  864,  864,  864,  864,
      864,  866,  866,  866,  866,  866,  866,  866,  866,  867,
      867,  867,  867,  867,  867,  867,  867,  867,  867,  870,
      871,  872,  873,  937,  864,  864,  864,  864,  864,  864,
      865,  865,  865,  865,  865,  865,  865,  865,  866,  866,
      874,  875,  876,  877,  878,  879,  880,  867,  867,  867,
      867,  867,  867,  881,  882,  883,  884,  885,  886,  887,
      937,  890,  891,  892,  893,  894,  899,  900,  901,  874,

      875,  876,  877,  878,  879,  880,  867,  867,  867,  867,
      867,  867,  881,  882,  883,  884,  885,  886,  887,  888,
      890,  891,  892,  893,  894,  899,  900,  901,  902,  903,
      904,  889,  898,  867,  867,  867,  867,  867,  867,  867,
      867,  867,  905,  906,  907,  908,  909,  910,  888,  937,
      937,  937,  937,  937,  937,  911,  912,  902,  903,  904,
      889,  897,  865,  865,  865,  865,  865,  865,  865,  866,
      866,  905,  906,  907,  908,  909,  910,  913,  898,  898,
      898,  898,  898,  898,  911,  912,  914,  915,  898,  867,
      867,  867,  867,  867,  867,  867,  867,  867,  916,  917,

      918,  919,  920,  921,  922,  923,  913,  898,  898,  898,
      898,  898,  898,  924,  925,  914,  915,  926,  927,  928,
      929,  930,  931,  932,  933,  934,  935,  916,  917,  918,
      919,  920,  921,  922,  923,  936,  937,  937,  937,  937,
      937,  937,  924,  925,  937,  937,  926,  927,  928,  929,
      930,  931,  932,  933,  934,  935,  937,  937,  937,  937,
      937,  937,  937,  937,  936,   28,   28,   28,   28,   28,
       28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
       92,   92,   92,   92,   92,   92,   92,   92,   92,   92,
       92,   92,   92,   92,   92,   97,   97,   97,   97,   97,

       97,   97,   97,   97,   97,   97,   97,   97,   97,   97,
      100,  100,  100,  100,  100,  100,  100,  100,  100,  100,
      100,  100,  100,  100,  100,  187,  187,  187,  187,  187,
      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,
      192,  192,  192,  192,  192,  192,  192,  192,  192,  192,
      192,  192,  192,  192,  192,  206,  937,  937,  937,  937,
      206,  206,  206,  206,  206,  232,  232,  937,  232,  232,
      232,  232,  232,  232,  232,  232,  232,  232,  232,  232,
      233,  937,  937,  233,  233,  233,  303,  303,  937,  303,
      937,  303,  303,  303,  303,  303,  303,  303,  303,  303,

      303,  305,  305,  937,  305,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  305,  306,  306,  937,  306,
      306,  306,  306,  306,  306,  306,  306,  306,  306,  306,
      306,  307,  307,  937,  307,  307,  307,  307,  307,  307,
      307,  307,  307,  307,  307,  307,  308,  308,  937,  308,
      308,  308,  308,  308,  308,  308,  308,  308,  308,  308,
      308,  314,  314,  314,  937,  937,  937,  937,  937,  314,
      314,  937,  314,  314,  325,  937,  937,  325,  325,  325,
      381,  381,  937,  381,  381,  381,  381,  381,  381,  381,
      381,  381,  381,  381,  381,  382,  937,  937,  382,  382,

      382,  385,  937,  937,  385,  385,  385,  386,  386,  386,
      386,  386,  386,  386,  232,  232,  937,  232,  232,  232,
      232,  232,  232,  232,  232,  232,  232,  232,  232,  233,
      937,  937,  233,  233,  233,  303,  303,  937,  303,  937,
      303,  303,  303,  303,  303,  303,  303,  303,  303,  303,
      305,  305,  937,  305,  305,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  306,  306,  937,  306,  306,
      306,  306,  306,  306,  306,  306,  306,  306,  306,  306,
      307,  307,  937,  307,  307,  307,  307,  307,  307,  307,
      307,  307,  307,  307,  307,  308,  308,  937,  308,  308,

      308,  308,  308,  308,  308,  308,  308,  308,  308,  308,
      483,  937,  937,  937,  937,  937,  483,  937,  937,  483,
      483,  623,  937,  937,  937,  937,  937,  623,  623,  626,
      937,  937,  937,  937,  937,  626,  937,  937,  626,  626,
      708,  937,  937,  937,  937,  708,  708,  774,  937,  937,
      937,  937,  937,  774,  774,   27,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,

      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937
    } ;

static const flex_int16_t yy_chk[3550] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    3,    3,    3,   48,    3,    4,    4,

        4,   29,    4,   29,   33,   33,  862,    3,   39,   39,
      111,  111,    4,   34,   34,   34,   34,   34,   34,   34,
       34,   37,   37,   37,    3,   48,  188,  188,   37,    4,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,

        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    7,    7,    7,   50,    7,    8,    8,
        8,   52,    8,    9,    9,    9,   53,    7,   10,   10,
       10,   93,    8,   93,   11,   11,   11,    9,   11,   55,
      823,   56,   10,   11,    7,   50,  199,  199,   11,    8,
       52,  197,  804,  197,    9,   53,   57,   58,   59,   10,
       12,   12,   12,  777,   12,   11,  309,  309,   55,   12,
       56,  304,  772,  304,   12,   35,   35,   35,   35,   35,
       35,   35,   35,   35,   35,   57,   58,   59,  390,  390,

      733,   12,   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,
       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,   15,   15,   15,   15,   15,

       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
       15,   15,   15,   15,   15,   15,   15,   15,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,

       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
       17,   19,   19,   19,  531,  531,   70,   19,   19,   19,
      110,  110,  110,   46,   19,   19,  709,  110,  708,   19,

       19,   19,   19,   19,   19,   19,   19,   19,   19,   47,
       19,   46,   19,   47,   46,   70,   19,   19,   19,   19,
       19,   19,   40,   40,   40,   40,   40,   40,   40,   40,
      632,  632,   40,   71,   74,   75,   78,   81,   47,   19,
       46,  944,   47,   46,  944,   19,   19,   19,   19,   19,
       19,   44,   44,   44,   44,   44,   44,   44,   44,   44,
       44,   86,   71,   74,   75,   78,   81,  707,   19,   21,
       21,   21,   21,   21,   21,   21,   21,   21,   21,   21,
       21,   21,   21,   21,   21,   21,   21,   21,  653,   21,
       86,  716,  716,  648,   87,   89,   21,   21,   21,   21,

       21,   21,   21,   21,   21,   49,   68,   21,   54,   65,
       68,   69,   72,   68,   49,   82,   54,   65,   85,   82,
       85,   69,   68,   87,   89,   65,   65,   82,   72,  117,
      119,   21,   21,  626,   49,   68,   21,   54,   65,   68,
       69,   72,   68,   49,   82,   54,   65,   85,   82,   85,
       69,   68,  120,  625,   65,   65,   82,   72,  117,  119,
       21,   21,   22,   22,   22,   22,   22,   22,   22,   22,
       22,   22,   22,   22,   22,   22,   22,   22,   22,   22,
       22,  120,   22,  783,  783,  623,  118,  609,  118,   22,
       22,   22,   22,   22,   22,   22,   22,   22,   67,   84,

       22,   67,   73,   76,   73,   67,  122,  127,   76,   67,
       73,   76,   67,   67,   76,  118,   84,  118,   76,  123,
      123,  152,  155,  158,   22,   22,  606,   67,   84,   22,
       67,   73,   76,   73,   67,  122,  127,   76,   67,   73,
       76,   67,   67,   76,  481,   84,  480,   76,  123,  123,
      152,  155,  158,   22,   22,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,  144,  147,  157,  144,  147,  159,
      157,   80,  160,  145,   23,   23,   23,   23,   23,   23,
       23,   80,  145,  153,  168,  145,  167,   80,  169,  167,

      172,  153,   80,  144,  147,  157,  144,  147,  159,  157,
       80,  160,  479,  173,  145,  174,  174,   23,   23,  409,
       80,  145,  153,  168,  145,  167,   80,  169,  167,  172,
      153,   80,  108,  108,  108,  108,  108,  108,  108,  108,
      108,  108,  173,  145,  174,  174,   23,   23,   24,   24,
       24,   24,   24,   24,   24,   24,   24,   24,   24,   24,
       24,   24,   24,   24,   24,   24,   24,  831,  831,  176,
       25,   25,   25,  180,  408,  177,  177,   24,   24,   24,
       24,   24,   24,   24,   25,   26,   26,   26,  136,  136,
      136,  136,  136,  136,  136,  136,  136,  136,  176,   26,

      148,   25,  180,  148,  177,  177,   25,  184,   25,  148,
       24,   24,   25,  151,  146,  146,   26,  146,  146,   25,
      185,   26,  215,   26,  216,  151,  151,   26,  146,  148,
      217,  218,  148,  161,   26,   25,  184,   25,  148,   24,
       24,   25,  151,  146,  146,  161,  146,  146,   25,  185,
       26,  215,   26,  216,  151,  151,   26,  146,  958,  217,
      218,  958,  161,   26,   38,   38,   38,   38,   38,   38,
       38,   38,   38,   38,  161,  219,  220,  132,  221,  222,
      224,   38,   38,   38,   38,   38,   38,  132,  132,  132,
      132,  132,  132,  132,  132,  149,  149,  149,  149,  149,

      149,  149,  149,  149,  219,  220,  384,  221,  222,  224,
       38,   38,   38,   38,   38,   38,   66,  150,  150,  150,
      150,  150,  150,  150,  150,  150,   66,   66,  225,  227,
      154,  154,  228,   66,   66,   66,  162,   66,   66,  383,
      154,  210,  210,  365,  150,   66,  362,  227,  162,  359,
      229,  210,  230,  358,  234,   66,   66,  225,  227,  154,
      154,  228,   66,   66,   66,  162,   66,   66,   77,  154,
       77,  338,   77,  150,  211,  211,  227,  162,   77,  229,
       77,  230,   77,  234,  211,  156,   77,  156,  156,  156,
      156,  156,  156,  156,  868,  868,  236,   77,  308,   77,

      170,   77,  237,  170,  240,  241,  307,   77,  238,   77,
      242,   77,  156,  244,  170,   77,   83,  246,   83,  238,
      248,   83,  249,   83,   83,  236,  232,   83,  191,  170,
      190,  237,  170,  240,  241,   83,  251,  238,   83,  242,
      189,  156,  244,  170,  165,   83,  246,   83,  238,  248,
       83,  249,   83,   83,  255,  179,   83,  179,  179,  179,
      179,  179,  179,  179,   83,  251,  142,   83,  115,  115,
      115,  200,  200,  200,  200,  200,  200,  200,  200,  970,
      970,  972,  972,  255,  974,  974,  115,  115,  115,  115,
      115,  115,  115,  115,  115,  115,  115,  141,  250,  250,

      253,  253,  256,  115,  115,  115,  115,  115,  115,  201,
      201,  201,  201,  201,  201,  201,  201,  201,  201,  208,
      208,  208,  208,  208,  208,  208,  208,  250,  250,  253,
      253,  256,  115,  115,  115,  115,  115,  115,  116,  116,
      116,  209,  209,  209,  209,  209,  209,  209,  209,  209,
      209,  258,  259,  140,  260,  131,  116,  116,  116,  116,
      116,  116,  116,  116,  116,  116,  116,  261,  262,  265,
      266,  267,  268,  116,  116,  116,  116,  116,  116,  112,
      258,  259,  252,  260,  257,  272,  274,  270,  275,  277,
      252,  257,  252,  270,  279,  281,  261,  262,  265,  266,

      267,  268,  116,  116,  116,  116,  116,  116,  121,  121,
      121,  252,   41,  257,  272,  274,  270,  275,  277,  252,
      257,  252,  270,  279,  281,   27,  121,  121,  121,  121,
      121,  121,  121,  121,  121,  121,  121,  139,  139,  139,
      139,  139,  139,  139,  139,  139,  139,  282,  283,  284,
      285,  287,  288,  282,  139,  139,  139,  139,  139,  139,
      324,  324,  324,  324,  324,  324,  324,  324,  324,  324,
      289,  290,  291,  292,  296,  291,  282,  283,  284,  285,
      287,  288,  282,  139,  139,  139,  139,  139,  139,  143,
      143,  143,  143,  143,  143,  143,  143,  143,  143,  289,

      290,  291,  292,  296,  291,  297,  143,  143,  143,  143,
      143,  143,  330,  330,  330,  330,  330,  330,  330,  330,
      330,  330,    0,  299,    0,  300,  344,  344,  344,  344,
      344,  344,  975,  975,  297,  143,  143,  143,  143,  143,
      143,  207,  207,  207,  207,  207,  207,  207,  207,  207,
      207,  286,  299,  298,  300,  286,  294,  276,  207,  207,
      207,  207,  207,  207,  276,  302,  294,  286,  286,  298,
      301,  336,  301,    0,  310,  310,  310,  318,  342,  319,
      286,  318,  298,  319,  286,  294,  276,  207,  207,  207,
      207,  207,  207,  276,  302,  294,  286,  286,  298,  301,

      336,  301,  310,  312,  355,  357,  318,  342,  319,    0,
      318,    0,  319,  361,  363,  369,  976,  976,    0,  312,
      312,  312,  312,  312,  312,  312,  312,  312,  312,  314,
      977,  977,    0,  355,  357,    0,  312,  312,  312,  312,
      312,  312,  361,  363,  369,  314,  314,  314,  314,  314,
      314,  314,  314,  314,  314,  329,  329,  329,  329,  329,
      329,  329,  329,  329,  329,  312,  312,  312,  312,  312,
      312,  313,  331,  331,  331,  331,  331,  331,  331,  331,
      331,  331,  380,  393,  329,    0,    0,  313,  313,  313,
      313,  313,  313,  313,  313,  313,  313,  339,  340,  366,

      394,  339,  340,  366,  313,  313,  313,  313,  313,  313,
        0,  380,  393,  329,  332,  332,  332,  332,  332,  332,
      332,  332,  332,  332,    0,    0,  339,  340,  366,  394,
      339,  340,  366,  313,  313,  313,  313,  313,  313,  323,
      323,  323,  323,  323,  323,  323,  323,  323,  323,  371,
      371,  371,  371,  371,  371,  395,  323,  323,  323,  323,
      323,  323,  367,  396,  397,  398,  367,  323,    0,    0,
        0,    0,    0,  334,  334,  334,  334,  334,  334,  334,
      334,  334,  334,  399,  395,  323,  323,  323,  323,  323,
      323,  367,  396,  397,  398,  367,  323,  325,  325,  325,

      325,  325,  325,  325,  325,  325,  325,  334,  400,  401,
      403,  404,  399,  405,  325,  325,  325,  325,  325,  325,
      335,  335,  335,  335,  335,  335,  335,  335,  335,  335,
      406,  407,  410,  411,  412,  413,  334,  400,  401,  403,
      404,    0,  405,  325,  325,  325,  325,  325,  325,  387,
      387,  387,  387,  387,  387,  387,  387,  387,  387,  406,
      407,  410,  411,  412,  413,  415,  387,  387,  387,  387,
      387,  387,  388,  388,  388,  388,  388,  388,  388,  388,
      389,  389,  389,  389,  389,  389,  389,  389,  389,  389,
      414,  416,  414,  417,  415,  387,  387,  387,  387,  387,

      387,  418,  419,  420,  421,  422,  423,  421,  424,  425,
      426,  428,  429,  430,  431,  429,  432,  433,  434,  414,
      416,  414,  417,  435,  436,  437,  438,  439,  441,  442,
      418,  419,  420,  421,  422,  423,  421,  424,  425,  426,
      428,  429,  430,  431,  429,  432,  433,  434,  443,  444,
      445,  446,  435,  436,  437,  438,  439,  441,  442,  448,
      445,  447,  449,  450,  451,  452,  445,  453,  447,  455,
      456,  457,  458,    0,  460,    0,  461,  443,  444,  445,
      446,  462,  466,    0,  467,  468,  469,    0,  448,  445,
      447,  449,  450,  451,  452,  445,  453,  447,  455,  456,

      457,  458,  459,  460,  459,  461,  463,  470,  471,  459,
      462,  466,  459,  467,  468,  469,  459,  472,  473,  474,
      463,  475,  476,  477,  478,    0,    0,    0,    0,    0,
        0,  459,    0,  459,    0,  463,  470,  471,  459,  483,
      532,  459,    0,    0,    0,  459,  472,  473,  474,  463,
      475,  476,  477,  478,  482,  483,  483,  483,  483,  483,
      483,  483,  483,  483,  483,    0,    0,    0,    0,  532,
      482,  482,  482,  482,  482,  482,  482,  482,  482,  482,
        0,    0,  533,  534,  535,  539,  542,  482,  482,  482,
      482,  482,  482,  489,  489,  489,  489,  489,  489,  489,

      489,  489,  489,  529,  529,  529,  529,  529,  529,  529,
      529,  533,  534,  535,  539,  542,  482,  482,  482,  482,
      482,  482,  488,  488,  488,  488,  488,  488,  488,  488,
      488,  488,  543,  544,  545,  546,  547,  549,  551,  488,
      488,  488,  488,  488,  488,  530,  530,  530,  530,  530,
      530,  530,  530,  530,  530,  552,  553,  554,  555,  556,
      558,  543,  544,  545,  546,  547,  549,  551,  488,  488,
      488,  488,  488,  488,  528,  528,  528,  528,  528,  528,
      528,  528,  528,  528,  552,  553,  554,  555,  556,  558,
      548,  528,  528,  528,  528,  528,  528,  548,  559,  560,

      561,  562,  563,  564,  565,    0,  567,  569,  571,  576,
      578,    0,  581,  580,  582,  583,  584,  566,  585,  548,
      528,  528,  528,  528,  528,  528,  548,  559,  560,  561,
      562,  563,  564,  565,  566,  567,  569,  571,  576,  578,
      580,  581,  580,  582,  583,  584,  566,  585,  586,  587,
      589,  592,  593,  594,  596,  597,  598,  599,  600,  601,
      602,  603,  604,  566,  605,  603,  607,  608,  610,  612,
      614,  615,  616,  618,  620,    0,  621,  586,  587,  589,
      592,  593,  594,  596,  597,  598,  599,  600,  601,  602,
      603,  604,  613,  605,  603,  607,  608,  610,  612,  614,

      615,  616,  618,  620,  613,  621,  624,  624,  624,  624,
      624,  624,  624,  624,    0,  634,  636,  640,  642,  643,
      644,  613,  628,  628,  628,  628,  628,  628,  628,  628,
      628,  628,    0,  613,  627,  627,  627,  627,  627,  627,
      627,  627,  627,  627,  634,  636,  640,  642,  643,  644,
      645,  627,  627,  627,  627,  627,  627,  630,  630,  630,
      630,  630,  630,  630,  630,  631,  631,  631,  631,  631,
      631,  631,  631,  631,  631,    0,    0,    0,    0,  645,
      627,  627,  627,  627,  627,  627,  629,  629,  629,  629,
      629,  629,  629,  629,  629,  629,  646,  651,  652,  654,

      655,  656,  657,  629,  629,  629,  629,  629,  629,  658,
      659,  660,  661,  662,  664,  665,  666,  667,  668,    0,
      670,  671,  672,  673,  674,  646,  651,  652,  654,  655,
      656,  657,  629,  629,  629,  629,  629,  629,  658,  659,
      660,  661,  662,  664,  665,  666,  667,  668,  669,  670,
      671,  672,  673,  674,  669,  676,  678,  680,  682,  683,
      685,  686,  687,  688,  689,  690,  692,  693,  695,  696,
      697,  698,  692,  699,  701,  703,  705,  669,    0,    0,
        0,    0,    0,  669,  676,  678,  680,  682,  683,  685,
      686,  687,  688,  689,  690,  692,  693,  695,  696,  697,

      698,  692,  699,  701,  703,  705,  711,  711,  711,  711,
      711,  711,  711,  711,  711,  711,    0,    0,  717,  720,
      722,  723,  724,  711,  711,  711,  711,  711,  711,  712,
      712,  712,  712,  712,  712,  712,  712,  712,  712,  714,
      714,  714,  714,  714,  714,  714,  714,  717,  720,  722,
      723,  724,  711,  711,  711,  711,  711,  711,  713,  713,
      713,  713,  713,  713,  713,  713,  713,  713,  725,  726,
      727,  728,  729,  725,  730,  713,  713,  713,  713,  713,
      713,  715,  715,  715,  715,  715,  715,  715,  715,  715,
      715,  731,  732,  736,  742,  743,  744,  725,  726,  727,

      728,  729,  725,  730,  713,  713,  713,  713,  713,  713,
      745,  746,  747,  749,  751,  752,  754,  756,  757,  748,
      731,  732,  736,  742,  743,  744,  748,  758,  761,  762,
      763,  764,  766,  767,  768,  771,    0,    0,    0,  745,
      746,  747,  749,  751,  752,  754,  756,  757,  748,  785,
      786,  787,  788,    0,    0,  748,  758,  761,  762,  763,
      764,  766,  767,  768,  771,  778,  778,  778,  778,  778,
      778,  778,  778,  778,  778,    0,    0,  789,  785,  786,
      787,  788,  778,  778,  778,  778,  778,  778,  779,  779,
      779,  779,  779,  779,  779,  779,  779,  779,  781,  781,

      781,  781,  781,  781,  781,  781,  789,    0,    0,    0,
        0,  778,  778,  778,  778,  778,  778,  780,  780,  780,
      780,  780,  780,  780,  780,  780,  780,  790,  792,  793,
      796,  797,  798,  800,  780,  780,  780,  780,  780,  780,
      782,  782,  782,  782,  782,  782,  782,  782,  782,  782,
      801,  802,  807,  808,  809,  811,  790,  792,  793,  796,
      797,  798,  800,  780,  780,  780,  780,  780,  780,  806,
      813,  815,  816,  817,  818,  819,  806,  820,  821,  801,
      802,  807,  808,  809,  811,  827,  827,  827,  827,  827,
      827,  827,  827,  827,  827,  832,    0,    0,  806,  813,

      815,  816,  817,  818,  819,  806,  820,  821,  826,  826,
      826,  826,  826,  826,  826,  826,  826,  826,    0,    0,
      834,  835,  836,  837,  832,  826,  826,  826,  826,  826,
      826,  829,  829,  829,  829,  829,  829,  829,  829,  830,
      830,  830,  830,  830,  830,  830,  830,  830,  830,  834,
      835,  836,  837,    0,  826,  826,  826,  826,  826,  826,
      828,  828,  828,  828,  828,  828,  828,  828,  828,  828,
      838,  839,  840,  841,  842,  843,  844,  828,  828,  828,
      828,  828,  828,  845,  846,  847,  848,  849,  850,  852,
        0,  854,  855,  856,  857,  858,  872,  873,  874,  838,

      839,  840,  841,  842,  843,  844,  828,  828,  828,  828,
      828,  828,  845,  846,  847,  848,  849,  850,  852,  853,
      854,  855,  856,  857,  858,  872,  873,  874,  875,  877,
      878,  853,  864,  864,  864,  864,  864,  864,  864,  864,
      864,  864,  880,  881,  882,  883,  884,  888,  853,    0,
        0,    0,    0,    0,    0,  889,  890,  875,  877,  878,
      853,  863,  863,  863,  863,  863,  863,  863,  863,  863,
      863,  880,  881,  882,  883,  884,  888,  891,  863,  863,
      863,  863,  863,  863,  889,  890,  892,  893,  898,  898,
      898,  898,  898,  898,  898,  898,  898,  898,  900,  902,

      904,  905,  906,  907,  910,  911,  891,  863,  863,  863,
      863,  863,  863,  912,  913,  892,  893,  915,  917,  918,
      920,  921,  925,  929,  930,  931,  932,  900,  902,  904,
      905,  906,  907,  910,  911,  934,    0,    0,    0,    0,
        0,    0,  912,  913,    0,    0,  915,  917,  918,  920,
      921,  925,  929,  930,  931,  932,    0,    0,    0,    0,
        0,    0,    0,    0,  934,  938,  938,  938,  938,  938,
      938,  938,  938,  938,  938,  938,  938,  938,  938,  938,
      939,  939,  939,  939,  939,  939,  939,  939,  939,  939,
      939,  939,  939,  939,  939,  940,  940,  940,  940,  940,

      940,  940,  940,  940,  940,  940,  940,  940,  940,  940,
      941,  941,  941,  941,  941,  941,  941,  941,  941,  941,
      941,  941,  941,  941,  941,  942,  942,  942,  942,  942,
      942,  942,  942,  942,  942,  942,  942,  942,  942,  942,
      943,  943,  943,  943,  943,  943,  943,  943,  943,  943,
      943,  943,  943,  943,  943,  945,    0,    0,    0,    0,
      945,  945,  945,  945,  945,  946,  946,    0,  946,  946,
      946,  946,  946,  946,  946,  946,  946,  946,  946,  946,
      947,    0,    0,  947,  947,  947,  948,  948,    0,  948,
        0,  948,  948,  948,  948,  948,  948,  948,  948,  948,

      948,  949,  949,    0,  949,  949,  949,  949,  949,  949,
      949,  949,  949,  949,  949,  949,  950,  950,    0,  950,
      950,  950,  950,  950,  950,  950,  950,  950,  950,  950,
      950,  951,  951,    0,  951,  951,  951,  951,  951,  951,
      951,  951,  951,  951,  951,  951,  952,  952,    0,  952,
      952,  952,  952,  952,  952,  952,  952,  952,  952,  952,
      952,  953,  953,  953,    0,    0,    0,    0,    0,  953,
      953,    0,  953,  953,  954,    0,    0,  954,  954,  954,
      955,  955,    0,  955,  955,  955,  955,  955,  955,  955,
      955,  955,  955,  955,  955,  956,    0,    0,  956,  956,

      956,  957,    0,    0,  957,  957,  957,  959,  959,  959,
      959,  959,  959,  959,  960,  960,    0,  960,  960,  960,
      960,  960,  960,  960,  960,  960,  960,  960,  960,  961,
        0,    0,  961,  961,  961,  962,  962,    0,  962,    0,
      962,  962,  962,  962,  962,  962,  962,  962,  962,  962,
      963,  963,    0,  963,  963,  963,  963,  963,  963,  963,
      963,  963,  963,  963,  963,  964,  964,    0,  964,  964,
      964,  964,  964,  964,  964,  964,  964,  964,  964,  964,
      965,  965,    0,  965,  965,  965,  965,  965,  965,  965,
      965,  965,  965,  965,  965,  966,  966,    0,  966,  966,

      966,  966,  966,  966,  966,  966,  966,  966,  966,  966,
      967,    0,    0,    0,    0,    0,  967,    0,    0,  967,
      967,  968,    0,    0,    0,    0,    0,  968,  968,  969,
        0,    0,    0,    0,    0,  969,    0,    0,  969,  969,
      971,    0,    0,    0,    0,  971,  971,  973,    0,    0,
        0,    0,    0,  973,  973,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,

      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937,  937,
      937,  937,  937,  937,  937,  937,  937,  937,  937
    } ;

extern int yy_flex_debug;
int yy_flex_debug = 0;

static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
static char *yy_full_match;
static int yy_lp;
static int yy_looking_for_trail_begin = 0;
static int yy_full_lp;
static int *yy_full_state;
#define YY_TRAILING_MASK 0x2000
#define YY_TRAILING_HEAD_MASK 0x4000
#define REJECT \
{ \
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
(yy_lp) = (yy_full_lp); /* restore orig. accepting pos. */ \
(yy_state_ptr) = (yy_full_state); /* restore orig. state */ \
yy_current_state = *(yy_state_ptr); /* restore curr. state */ \
++(yy_lp); \
goto find_rule; \
}

static int yy_more_flag = 0;
static int yy_more_len = 0;
#define yymore() ((yy_more_flag) = 1)
#define YY_MORE_ADJ (yy_more_len)
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "mon_lex.l"
/* -*- C -*-
 *
 * mon_lex.l - Lexer for the VICE built-in monitor.
 *
 * Written by
 *  Daniel Sladic <sladic@eecg.toronto.edu>
 *  Andreas Boose <viceteam@t-online.de>
 *  Thomas Giesel <skoe@directbox.com>
 *
 * This file is part of VICE, the Versatile Commodore Emulator.
 * See README for copyright notice.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 *  02111-1307  USA.
 *
 */
#line 31 "mon_lex.l"

/* Lexer for x64 monitor */

#include "vice.h"

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

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

#ifdef HAVE_IO_H
#include <io.h>
#endif

#include "lib.h"
#include "mon_command.h"
#include "montypes.h"
#include "asm.h"
#include "mon_parse.h"
#include "types.h"


/* prototype */
void free_buffer(void);
void make_buffer(char *str);

#define YY_ALWAYS_INTERACTIVE 1
#define YY_NO_UNISTD_H

#undef min
#define min(a,b) ((a) < (b) ? (a) : (b))

int new_cmd = 1, quote = 0, opt_asm = 0, cur_len = 0, last_len = 0, dont_match_reg_a = 0;
int temp, push_back;

#ifndef YY_SKIP_YYWRAP
static int yywrap(void);
#endif

YY_BUFFER_STATE my_state;

#define YY_USER_ACTION { last_len = cur_len; cur_len += yyleng; }

static int hexint(char n) {
    if ((n >= '0') && (n <= '9')) {
        return n - '0';
    } else if ((n >= 'a') && (n <= 'f')) {
        return n - ('a' - 0x0a);
    } else if ((n >= 'A') && (n <= 'F')) {
        return n - ('A' - 0x0a);
    }
    return 0;
}

/* remove escaped codes from string and replace them by their actual character
   codes. */
static void unescape(char *s) {
    char *d = s;
    int n;
    while (*s) {
        if (*s == '\\') {
            s++;
            switch (*s) {
                case '\\': *d = '\\'; break; /* backslash */
                case 'n': *d = '\n'; break; /* lf */
                case 'r': *d = '\r'; break; /* cr */
                case '"': *d = '"';  break; /* quote */
                case 'x': /* hex codes */
                    s++; if (*s == 0) { goto send; }
                    n = hexint(*s) << 4;
                    s++; if (*s == 0) { goto send; }
                    *d = n | hexint(*s);
                    break;
                default:
                    *d = '\\'; d++;
                    if (*s == 0) { goto send; }
                    *d = *s;
                    break;
            }
        } else {
            *d = *s;
        }
        s++;d++;
    }
send:
    *d = 0;
}

#line 1855 "mon_lex.c"
#define YY_NO_INPUT 1

#line 1858 "mon_lex.c"

#define INITIAL 0
#define FNAME 1
#define CMD 2
#define STR 3
#define ROL 4
#define ROLQ 5
#define ASM_MODE 6
#define COND_MODE 7
#define REG_ASGN 8
#define LABEL_ASGN 9
#define BNAME 10
#define CTYPE 11
#define RADIX 12

#ifndef YY_NO_UNISTD_H
/* Special case for "unistd.h", since it is non-ANSI. We include it way
 * down here because we want the user's section 1 to have been scanned first.
 * The user has a chance to override it with an option.
 */
#include <unistd.h>
#endif

#ifndef YY_EXTRA_TYPE
#define YY_EXTRA_TYPE void *
#endif

static int yy_init_globals ( void );

/* Accessor methods to globals.
   These are made visible to non-reentrant scanners for convenience. */

int yylex_destroy ( void );

int yyget_debug ( void );

void yyset_debug ( int debug_flag  );

YY_EXTRA_TYPE yyget_extra ( void );

void yyset_extra ( YY_EXTRA_TYPE user_defined  );

FILE *yyget_in ( void );

void yyset_in  ( FILE * _in_str  );

FILE *yyget_out ( void );

void yyset_out  ( FILE * _out_str  );

			int yyget_leng ( void );

char *yyget_text ( void );

int yyget_lineno ( void );

void yyset_lineno ( int _line_number  );

/* Macros after this point can all be overridden by user definitions in
 * section 1.
 */

#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap ( void );
#else
extern int yywrap ( void );
#endif
#endif

#ifndef YY_NO_UNPUT
    
#endif

#ifndef yytext_ptr
static void yy_flex_strncpy ( char *, const char *, int );
#endif

#ifdef YY_NEED_STRLEN
static int yy_flex_strlen ( const char * );
#endif

#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput ( void );
#else
static int input ( void );
#endif

#endif

/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k */
#define YY_READ_BUF_SIZE 16384
#else
#define YY_READ_BUF_SIZE 8192
#endif /* __ia64__ */
#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 do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
#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_LVALUE->yy_is_interactive ) \
		{ \
		int c = '*'; \
		int 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 = (int) fread(buf, 1, (yy_size_t) 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

/* end tables serialization structures and prototypes */

/* Default declaration of generated scanner - a define so the user can
 * easily add parameters.
 */
#ifndef YY_DECL
#define YY_DECL_IS_OURS 1

extern int yylex (void);

#define YY_DECL int yylex (void)
#endif /* !YY_DECL */

/* 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 /*LINTED*/break;
#endif

#define YY_RULE_SETUP \
	YY_USER_ACTION

/** The main scanner function which does all the work.
 */
YY_DECL
{
	yy_state_type yy_current_state;
	char *yy_cp, *yy_bp;
	int yy_act;
    
	if ( !(yy_init) )
		{
		(yy_init) = 1;

#ifdef YY_USER_INIT
		YY_USER_INIT;
#endif

        /* Create the reject buffer large enough to save one state per allowed character. */
        if ( ! (yy_state_buf) )
            (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
            if ( ! (yy_state_buf) )
                YY_FATAL_ERROR( "out of dynamic memory in yylex()" );

		if ( ! (yy_start) )
			(yy_start) = 1;	/* first start state */

		if ( ! yyin )
			yyin = stdin;

		if ( ! yyout )
			yyout = stdout;

		if ( ! YY_CURRENT_BUFFER ) {
			yyensure_buffer_stack ();
			YY_CURRENT_BUFFER_LVALUE =
				yy_create_buffer( yyin, YY_BUF_SIZE );
		}

		yy_load_buffer_state(  );
		}

	{
#line 133 "mon_lex.l"



#line 137 "mon_lex.l"
   if (new_cmd) {
      if (!(asm_mode && opt_asm)) {
         last_len = cur_len = 0;
      }
      if (asm_mode) {
         BEGIN (ASM_MODE);
         opt_asm = 0;
      } else {
         BEGIN (CMD);
      }
      new_cmd = 0;
   }


#line 2110 "mon_lex.c"

	while ( /*CONSTCOND*/1 )		/* loops until end-of-file is reached */
		{
		(yy_more_len) = 0;
		if ( (yy_more_flag) )
			{
			(yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
			(yy_more_flag) = 0;
			}
		yy_cp = (yy_c_buf_p);

		/* Support of yytext. */
		*yy_cp = (yy_hold_char);

		/* yy_bp points to the position in yy_ch_buf of the start of
		 * the current run.
		 */
		yy_bp = yy_cp;

		yy_current_state = (yy_start);

		(yy_state_ptr) = (yy_state_buf);
		*(yy_state_ptr)++ = yy_current_state;

yy_match:
		do
			{
			YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*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 >= 938 )
					yy_c = yy_meta[yy_c];
				}
			yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
			*(yy_state_ptr)++ = yy_current_state;
			++yy_cp;
			}
		while ( yy_base[yy_current_state] != 3456 );

yy_find_action:
		yy_current_state = *--(yy_state_ptr);
		(yy_lp) = yy_accept[yy_current_state];
find_rule: /* we branch to this label when backing up */
		for ( ; ; ) /* until we find what rule we matched */
			{
			if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
				{
				yy_act = yy_acclist[(yy_lp)];
				if ( yy_act & YY_TRAILING_HEAD_MASK ||
				     (yy_looking_for_trail_begin) )
					{
					if ( yy_act == (yy_looking_for_trail_begin) )
						{
						(yy_looking_for_trail_begin) = 0;
						yy_act &= ~YY_TRAILING_HEAD_MASK;
						break;
						}
					}
				else if ( yy_act & YY_TRAILING_MASK )
					{
					(yy_looking_for_trail_begin) = yy_act & ~YY_TRAILING_MASK;
					(yy_looking_for_trail_begin) |= YY_TRAILING_HEAD_MASK;
					}
				else
					{
					(yy_full_match) = yy_cp;
					(yy_full_state) = (yy_state_ptr);
					(yy_full_lp) = (yy_lp);
					break;
					}
				++(yy_lp);
				goto find_rule;
				}
			--yy_cp;
			yy_current_state = *--(yy_state_ptr);
			(yy_lp) = 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 1:
YY_RULE_SETUP
#line 152 "mon_lex.l"
{ BEGIN(ROL);           return CMD_COMMENT; }
	YY_BREAK
case 2:
YY_RULE_SETUP
#line 153 "mon_lex.l"
{ BEGIN(INITIAL);       return CONVERT_OP; }
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 154 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_ENTER_DATA; }
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 155 "mon_lex.l"
{ BEGIN(ROL);           return CMD_DISK; }
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 156 "mon_lex.l"
{ opt_asm = 1; BEGIN(INITIAL); return CMD_ASSEMBLE; }
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 157 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_ADD_LABEL; }
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 158 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_ATTACH; }
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 159 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_AUTOSTART; }
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 160 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_AUTOLOAD; }
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 161 "mon_lex.l"
{ BEGIN(BNAME);         return CMD_BANK; }
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 162 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_BLOAD; }
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 163 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_BLOCK_READ; }
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 164 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_BREAK; }
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 165 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_BSAVE; }
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 166 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_BACKTRACE; }
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 167 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_BLOCK_WRITE; }
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 168 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_BVERIFY; }
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 169 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_CARTFREEZE; }
	YY_BREAK
case 19:
YY_RULE_SETUP
#line 170 "mon_lex.l"
{ BEGIN(ROLQ);          return CMD_CHDIR; }
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 171 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_CLEAR_LABELS; }
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 172 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_COMMAND; }
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 173 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_COMPARE; }
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 174 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_CONDITION; }
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 175 "mon_lex.l"
{ BEGIN(CTYPE);         return CMD_CPU; }
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 176 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_CPUHISTORY; }
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 177 "mon_lex.l"
{ BEGIN(ROL);           return CMD_DIR; }
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 178 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_DISASSEMBLE; }
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 179 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_DELETE; }
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 180 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_DEL_LABEL; }
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 181 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_DEVICE; }
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 182 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_DETACH; }
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 183 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_CHECKPT_OFF; }
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 184 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_DUMP; }
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 185 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_CHECKPT_ON; }
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 186 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_EXIT; }
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 187 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_EXPORT; }
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 188 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_FILL; }
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 189 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_GOTO; }
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 190 "mon_lex.l"
{ BEGIN(ROL);           return CMD_HELP; }
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 191 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_HUNT; }
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 192 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_TEXT_DISPLAY; }
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 193 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_SCREENCODE_DISPLAY; }
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 194 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_IGNORE; }
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 195 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_IO; }
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 196 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_JPDB; }
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 197 "mon_lex.l"
{ BEGIN(ROL);           return CMD_KEYBUF; }
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 198 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_LIST; }
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 199 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_LOAD; }
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 200 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_BASICLOAD; }
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 201 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_LOAD_LABELS; }
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 202 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_LOG; }
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 203 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_LOGNAME; }
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 204 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_MEM_DISPLAY; }
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 205 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_CHAR_DISPLAY; }
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 206 "mon_lex.l"
{ BEGIN(FNAME);       return CMD_MEMMAPSAVE; }
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 207 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_MEMMAPSHOW; }
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 208 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_MEMMAPZAP; }
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 209 "mon_lex.l"
{ BEGIN(ROLQ);           return CMD_MKDIR; }
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 210 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_MOVE; }
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 211 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_SPRITE_DISPLAY; }
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 212 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_NEXT; }
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 213 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_PLAYBACK; }
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 214 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_PRINT; }
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 215 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_PROFILE; }
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 216 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_PWD; }
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 217 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_QUIT; }
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 218 "mon_lex.l"
{ BEGIN(RADIX);         return CMD_RADIX; }
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 219 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_RECORD; }
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 220 "mon_lex.l"
{ BEGIN(REG_ASGN);      return CMD_REGISTERS; }
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 221 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_MON_RESET; }
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 222 "mon_lex.l"
{ BEGIN(INITIAL);    return CMD_RESOURCE_GET; }
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 223 "mon_lex.l"
{ BEGIN(INITIAL);    return CMD_RESOURCE_SET; }
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 224 "mon_lex.l"
{ BEGIN(FNAME); return CMD_LOAD_RESOURCES; }
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 225 "mon_lex.l"
{ BEGIN(FNAME); return CMD_SAVE_RESOURCES; }
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 226 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_RETURN; }
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 227 "mon_lex.l"
{ BEGIN(ROLQ);           return CMD_RMDIR; }
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 228 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_SAVE; }
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 229 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_SAVE_LABELS; }
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 230 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_SCREEN; }
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 231 "mon_lex.l"
{ BEGIN(FNAME);        return CMD_SCREENSHOT; }
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 232 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_SHOW_LABELS; }
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 233 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_SIDEFX; }
	YY_BREAK
case 83:
YY_RULE_SETUP
#line 234 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_DUMMY; }
	YY_BREAK
case 84:
YY_RULE_SETUP
#line 235 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_STEP; }
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 236 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_MON_STOP; }
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 237 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_STOPWATCH; }
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 238 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_TAPECTRL; }
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 239 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_TAPEOFFS; }
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 240 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_TRACE; }
	YY_BREAK
case 90:
YY_RULE_SETUP
#line 241 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_UNTIL; }
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 242 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_UNDUMP; }
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 243 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_UPDB; }
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 244 "mon_lex.l"
{ BEGIN(FNAME);         return CMD_VERIFY; }
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 245 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_WATCH; }
	YY_BREAK
case 95:
YY_RULE_SETUP
#line 246 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_WARP; }
	YY_BREAK
case 96:
YY_RULE_SETUP
#line 248 "mon_lex.l"
{
                BEGIN(INITIAL);
#if YYDEBUG
                return CMD_YYDEBUG;
#else
                return 0;
#endif
            }
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 256 "mon_lex.l"
{ BEGIN(INITIAL);       return CMD_MAINCPU_TRACE; }
	YY_BREAK

/* this is not a real command, but could be a label name for a label assignment */
case 98:
YY_RULE_SETUP
#line 259 "mon_lex.l"
{ BEGIN(LABEL_ASGN); yylval.str = lib_strdup(yytext); return CMD_LABEL_ASGN; }
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 261 "mon_lex.l"
{ new_cmd = 1; return CMD_SEP; }
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 262 "mon_lex.l"
{ new_cmd = 1; BEGIN(INITIAL); return CMD_SEP; }
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 264 "mon_lex.l"
{ yylval.i = e_ON; return TOGGLE; }
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 265 "mon_lex.l"
{ yylval.i = e_OFF; return TOGGLE; }
	YY_BREAK
case 103:
YY_RULE_SETUP
#line 266 "mon_lex.l"
{ yylval.i = e_TOGGLE; return TOGGLE; }
	YY_BREAK
case 104:
YY_RULE_SETUP
#line 268 "mon_lex.l"
{ return FLAT; }
	YY_BREAK
case 105:
YY_RULE_SETUP
#line 269 "mon_lex.l"
{ return GRAPH; }
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 270 "mon_lex.l"
{ return FUNC; }
	YY_BREAK
case 107:
YY_RULE_SETUP
#line 271 "mon_lex.l"
{ return DEPTH; }
	YY_BREAK
case 108:
YY_RULE_SETUP
#line 272 "mon_lex.l"
{ return DISASS; }
	YY_BREAK
case 109:
YY_RULE_SETUP
#line 273 "mon_lex.l"
{ return PROFILE_CONTEXT; }
	YY_BREAK
case 110:
YY_RULE_SETUP
#line 274 "mon_lex.l"
{ return CLEAR; }
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 276 "mon_lex.l"
{ yylval.i = e_load; return MEM_OP; }
	YY_BREAK
case 112:
YY_RULE_SETUP
#line 277 "mon_lex.l"
{ yylval.i = e_store; return MEM_OP; }
	YY_BREAK
case 113:
YY_RULE_SETUP
#line 278 "mon_lex.l"
{ yylval.i = e_load; return MEM_OP; }
	YY_BREAK
case 114:
YY_RULE_SETUP
#line 279 "mon_lex.l"
{ yylval.i = e_store; return MEM_OP; }
	YY_BREAK
case 115:
YY_RULE_SETUP
#line 280 "mon_lex.l"
{ yylval.i = e_exec; return MEM_OP; }
	YY_BREAK
case 116:
YY_RULE_SETUP
#line 282 "mon_lex.l"
{ return RESET; }
	YY_BREAK
case 117:
YY_RULE_SETUP
#line 284 "mon_lex.l"
{ BEGIN (COND_MODE); return IF; }
	YY_BREAK
case 118:
YY_RULE_SETUP
#line 286 "mon_lex.l"
{ if (!quote) {
                     quote = 1;
                     BEGIN (STR);
                  }
                }
	YY_BREAK
case 119:
YY_RULE_SETUP
#line 292 "mon_lex.l"
{ if (quote) {
                     if ((yyleng > 1) && (yytext[yyleng - 2] == '\\')) {
                         yymore(); /* skip escaped quote */
                     } else if (((yyleng < 4) || (yytext[yyleng - 4] != '\\')) &&
                                (yyleng > 2) && (yytext[yyleng - 3] == '\\') &&
                                (yytext[yyleng - 2] == '"')) {
                         /* special case, \"" at end of string */
                         yylval.str = lib_strdup(yytext);
                         yylval.str[yyleng -1] = 0;
                         unescape(yylval.str);
                         quote = 0;
                         BEGIN (INITIAL);
                         return STRING;
                     } else {
                         quote = 0;
                         BEGIN (INITIAL);
                     }
                  }
                }
	YY_BREAK
case 120:
YY_RULE_SETUP
#line 312 "mon_lex.l"
{ if (yytext[yyleng - 1] == '\\') {
                     yymore(); /* skip escaped quote */
                  } else {
                     yylval.str = lib_strdup(yytext);
                     unescape(yylval.str);
                     return STRING;
                  }
                }
	YY_BREAK
/* prefixes for numbers */
case 121:
YY_RULE_SETUP
#line 322 "mon_lex.l"
{ yylval.i = e_hexadecimal; return INPUT_SPEC; }
	YY_BREAK
case 122:
YY_RULE_SETUP
#line 323 "mon_lex.l"
{ yylval.i = e_decimal; return INPUT_SPEC; }
	YY_BREAK
case 123:
YY_RULE_SETUP
#line 324 "mon_lex.l"
{ yylval.i = e_binary; return INPUT_SPEC; }
	YY_BREAK
case 124:
YY_RULE_SETUP
#line 325 "mon_lex.l"
{ yylval.i = e_octal; return INPUT_SPEC; }
	YY_BREAK
/* \.TA		{ yylval.i = e_text_ascii; return INPUT_SPEC; } */
/* \.TP		{ yylval.i = e_text_petscii; return INPUT_SPEC; } */
/* \.\>		{ yylval.i = e_6502_asm; return INPUT_SPEC; } */
/* \.S		{ yylval.i = e_sprite; return INPUT_SPEC; } */
/* \.C		{ yylval.i = e_character; return INPUT_SPEC; } */
/* used by the "radix" command */
case 125:
YY_RULE_SETUP
#line 333 "mon_lex.l"
{ yylval.i = e_decimal; return RADIX_TYPE; }
	YY_BREAK
case 126:
YY_RULE_SETUP
#line 334 "mon_lex.l"
{ yylval.i = e_hexadecimal; return RADIX_TYPE; }
	YY_BREAK
case 127:
YY_RULE_SETUP
#line 335 "mon_lex.l"
{ yylval.i = e_binary; return RADIX_TYPE; }
	YY_BREAK
case 128:
YY_RULE_SETUP
#line 336 "mon_lex.l"
{ yylval.i = e_octal; return RADIX_TYPE; }
	YY_BREAK
/* <RADIX>C		{ yylval.i = e_character; return RADIX_TYPE; } */
/* <RADIX>S		{ yylval.i = e_sprite; return RADIX_TYPE; } */
/* <RADIX>TA		{ yylval.i = e_text_ascii; return RADIX_TYPE; } */
/* <RADIX>TP		{ yylval.i = e_text_petscii; return RADIX_TYPE; } */
/* used (currently) by the "memory" command */
case 129:
YY_RULE_SETUP
#line 343 "mon_lex.l"
{ yylval.i = e_hexadecimal; return RADIX_TYPE; }
	YY_BREAK
case 130:
YY_RULE_SETUP
#line 344 "mon_lex.l"
{ yylval.i = e_octal; return RADIX_TYPE; }
	YY_BREAK
/* 'b' and 'd' are ambiguous (could be either radix or hex value),
    work around this by only accepting uppercase 'B' and 'D' as the
    (fortunately, rarely used) radix argument to the memory command */
case 131:
YY_RULE_SETUP
#line 348 "mon_lex.l"
{ if (yytext[0] == 'D') {
                        yylval.i = e_decimal; return RADIX_TYPE;
                      } else {
                        yylval.i = 0x0d; return H_NUMBER;
                      }
                    }
	YY_BREAK
case 132:
YY_RULE_SETUP
#line 354 "mon_lex.l"
{ if (yytext[0] == 'B') {
                        yylval.i = e_binary; return RADIX_TYPE;
                      } else {
                        yylval.i = 0x0b; return H_NUMBER;
                      }
                    }
	YY_BREAK
case 133:
YY_RULE_SETUP
#line 361 "mon_lex.l"
{ return MEM_COMP; }
	YY_BREAK
case 134:
YY_RULE_SETUP
#line 362 "mon_lex.l"
{ return MEM_DISK8; }
	YY_BREAK
case 135:
YY_RULE_SETUP
#line 363 "mon_lex.l"
{ return MEM_DISK9; }
	YY_BREAK
case 136:
YY_RULE_SETUP
#line 364 "mon_lex.l"
{ return MEM_DISK10; }
	YY_BREAK
case 137:
YY_RULE_SETUP
#line 365 "mon_lex.l"
{ return MEM_DISK11; }
	YY_BREAK
case 138:
YY_RULE_SETUP
#line 367 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return CPUTYPE; }
	YY_BREAK
case 139:
YY_RULE_SETUP
#line 369 "mon_lex.l"

	YY_BREAK
case 140:
/* rule 140 can match eol */
YY_RULE_SETUP
#line 370 "mon_lex.l"
{ dont_match_reg_a = 0;
                 new_cmd = 1;
                 opt_asm = 0;
                 quote = 0;
                 BEGIN(INITIAL);
                 return TRAIL;
               }
	YY_BREAK
case 141:
YY_RULE_SETUP
#line 378 "mon_lex.l"
{ yytext[yyleng-1] = '\0';
                yylval.str = lib_strdup(yytext+1);
                BEGIN (INITIAL); return FILENAME; }
	YY_BREAK
case 142:
YY_RULE_SETUP
#line 382 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); BEGIN (INITIAL); return BANKNAME; }
	YY_BREAK
case 143:
YY_RULE_SETUP
#line 384 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return R_O_L; }
	YY_BREAK

case 144:
YY_RULE_SETUP
#line 387 "mon_lex.l"
{ yytext[yyleng-1] = '\0';
              yylval.str = lib_strdup(yytext+1);
              BEGIN (INITIAL); return R_O_L_Q; }
	YY_BREAK
case 145:
YY_RULE_SETUP
#line 390 "mon_lex.l"
{ yytext[yyleng-1] = '\0';
              yylval.str = lib_strdup(yytext+1);
              BEGIN (INITIAL); return R_O_L_Q; }
	YY_BREAK
case 146:
YY_RULE_SETUP
#line 393 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return R_O_L_Q; }
	YY_BREAK

/* see monitor.c and montypes.h for the commented list */

case 147:
YY_RULE_SETUP
#line 398 "mon_lex.l"
{ yylval.i = e_A; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09/z80 */
	YY_BREAK
case 148:
YY_RULE_SETUP
#line 399 "mon_lex.l"
{ yylval.i = e_X; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09 */
	YY_BREAK
case 149:
YY_RULE_SETUP
#line 400 "mon_lex.l"
{ yylval.i = e_Y; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09 */
	YY_BREAK
case 150:
YY_RULE_SETUP
#line 401 "mon_lex.l"
{ yylval.i = e_PC; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09/z80 */
	YY_BREAK
case 151:
YY_RULE_SETUP
#line 402 "mon_lex.l"
{ yylval.i = e_SP; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09/z80 */
	YY_BREAK
case 152:
YY_RULE_SETUP
#line 403 "mon_lex.l"
{ yylval.i = e_FLAGS; return MON_REGISTER; }	/* 65xx/c64dtv/658xx */
	YY_BREAK
case 153:
YY_RULE_SETUP
#line 404 "mon_lex.l"
{ yylval.i = e_FLAGS; return MON_REGISTER; }	/* 6x09 */
	YY_BREAK
case 154:
YY_RULE_SETUP
#line 406 "mon_lex.l"
{ yylval.i = e_B; return MON_REGISTER; }		/* 658xx/6x09/z80 */
	YY_BREAK
case 155:
YY_RULE_SETUP
#line 407 "mon_lex.l"
{ yylval.i = e_C; return MON_REGISTER; }		/* 658xx/z80 */
	YY_BREAK
case 156:
YY_RULE_SETUP
#line 408 "mon_lex.l"
{ yylval.i = e_DPR; return MON_REGISTER; }	/* 658xx */
	YY_BREAK
case 157:
YY_RULE_SETUP
#line 409 "mon_lex.l"
{ yylval.i = e_PBR; return MON_REGISTER; }	/* 658xx */
	YY_BREAK
case 158:
YY_RULE_SETUP
#line 410 "mon_lex.l"
{ yylval.i = e_DBR; return MON_REGISTER; }	/* 658xx */
	YY_BREAK
case 159:
YY_RULE_SETUP
#line 411 "mon_lex.l"
{ yylval.i = e_E; return MON_REGISTER; }		/* 658xx/6309/z80 */
	YY_BREAK
case 160:
YY_RULE_SETUP
#line 413 "mon_lex.l"
{ yylval.i = e_R3; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 161:
YY_RULE_SETUP
#line 414 "mon_lex.l"
{ yylval.i = e_R4; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 162:
YY_RULE_SETUP
#line 415 "mon_lex.l"
{ yylval.i = e_R5; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 163:
YY_RULE_SETUP
#line 416 "mon_lex.l"
{ yylval.i = e_R6; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 164:
YY_RULE_SETUP
#line 417 "mon_lex.l"
{ yylval.i = e_R7; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 165:
YY_RULE_SETUP
#line 418 "mon_lex.l"
{ yylval.i = e_R8; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 166:
YY_RULE_SETUP
#line 419 "mon_lex.l"
{ yylval.i = e_R9; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 167:
YY_RULE_SETUP
#line 420 "mon_lex.l"
{ yylval.i = e_R10; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 168:
YY_RULE_SETUP
#line 421 "mon_lex.l"
{ yylval.i = e_R11; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 169:
YY_RULE_SETUP
#line 422 "mon_lex.l"
{ yylval.i = e_R12; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 170:
YY_RULE_SETUP
#line 423 "mon_lex.l"
{ yylval.i = e_R13; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 171:
YY_RULE_SETUP
#line 424 "mon_lex.l"
{ yylval.i = e_R14; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 172:
YY_RULE_SETUP
#line 425 "mon_lex.l"
{ yylval.i = e_R15; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 173:
YY_RULE_SETUP
#line 426 "mon_lex.l"
{ yylval.i = e_ACM; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 174:
YY_RULE_SETUP
#line 427 "mon_lex.l"
{ yylval.i = e_YXM; return MON_REGISTER; }	/* c64dtv */
	YY_BREAK
case 175:
YY_RULE_SETUP
#line 429 "mon_lex.l"
{ yylval.i = e_D; return MON_REGISTER; }		/* 6x09/z80 */
	YY_BREAK
case 176:
YY_RULE_SETUP
#line 430 "mon_lex.l"
{ yylval.i = e_DP; return MON_REGISTER; }		/* 6x09 */
	YY_BREAK
case 177:
YY_RULE_SETUP
#line 431 "mon_lex.l"
{ yylval.i = e_U; return MON_REGISTER; }		/* 6x09 */
	YY_BREAK
case 178:
YY_RULE_SETUP
#line 433 "mon_lex.l"
{ yylval.i = e_AF; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 179:
YY_RULE_SETUP
#line 434 "mon_lex.l"
{ yylval.i = e_BC; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 180:
YY_RULE_SETUP
#line 435 "mon_lex.l"
{ yylval.i = e_DE; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 181:
YY_RULE_SETUP
#line 436 "mon_lex.l"
{ yylval.i = e_HL; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 182:
YY_RULE_SETUP
#line 437 "mon_lex.l"
{ yylval.i = e_IX; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 183:
YY_RULE_SETUP
#line 438 "mon_lex.l"
{ yylval.i = e_IY; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 184:
YY_RULE_SETUP
#line 439 "mon_lex.l"
{ yylval.i = e_I; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 185:
YY_RULE_SETUP
#line 440 "mon_lex.l"
{ yylval.i = e_R; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 186:
YY_RULE_SETUP
#line 441 "mon_lex.l"
{ yylval.i = e_AF2; return MON_REGISTER; }	/* z80 */
	YY_BREAK
case 187:
YY_RULE_SETUP
#line 442 "mon_lex.l"
{ yylval.i = e_BC2; return MON_REGISTER; }	/* z80 */
	YY_BREAK
case 188:
YY_RULE_SETUP
#line 443 "mon_lex.l"
{ yylval.i = e_DE2; return MON_REGISTER; }	/* z80 */
	YY_BREAK
case 189:
YY_RULE_SETUP
#line 444 "mon_lex.l"
{ yylval.i = e_HL2; return MON_REGISTER; }	/* z80 */
	YY_BREAK
case 190:
YY_RULE_SETUP
#line 446 "mon_lex.l"
{ yylval.i = e_F; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 191:
YY_RULE_SETUP
#line 447 "mon_lex.l"
{ yylval.i = e_W; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 192:
YY_RULE_SETUP
#line 448 "mon_lex.l"
{ yylval.i = e_Q; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 193:
YY_RULE_SETUP
#line 449 "mon_lex.l"
{ yylval.i = e_V; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 194:
YY_RULE_SETUP
#line 450 "mon_lex.l"
{ yylval.i = e_MD; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 195:
YY_RULE_SETUP
#line 452 "mon_lex.l"
{ yylval.i = e_H; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 196:
YY_RULE_SETUP
#line 453 "mon_lex.l"
{ yylval.i = e_L; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 197:
YY_RULE_SETUP
#line 454 "mon_lex.l"
{ yylval.i = e_IXL; return MON_REGISTER; }	/* z80 */
	YY_BREAK
case 198:
YY_RULE_SETUP
#line 455 "mon_lex.l"
{ yylval.i = e_IXH; return MON_REGISTER; }	/* z80 */
	YY_BREAK
case 199:
YY_RULE_SETUP
#line 456 "mon_lex.l"
{ yylval.i = e_IYL; return MON_REGISTER; }	/* z80 */
	YY_BREAK
case 200:
YY_RULE_SETUP
#line 457 "mon_lex.l"
{ yylval.i = e_IYH; return MON_REGISTER; }	/* z80 */
	YY_BREAK

/* FIXME: currently no operator precedence is implemented (so all operators */
/* have the same precedence - ie evaluation is strictly left to right. */
/* The table below shows the operator precedence in C, which we probably want */
/* to use, should we implement this at some point. */
/* Category           Operator                             Associativity */
/* --------------------------------------------------------------------- */
/* Postfix            () [] -> . ++ - -                    Left to right */
/* Unary              + - ! ~ ++ - - (type)* & sizeof      Right to left */
/* Multiplicative     * / %                                Left to right */
/* Additive           + -                                  Left to right */
/* Shift              << >>                                Left to right */
/* Relational         < <= > >=                            Left to right */
/* Equality           == !=                                Left to right */
/* Bitwise AND        &                                    Left to right */
/* Bitwise XOR        ^                                    Left to right */
/* Bitwise OR         |                                    Left to right */
/* Logical AND        &&                                   Left to right */
/* Logical OR         ||                                   Left to right */
/* Conditional        ?:                                   Right to left */
/* Assignment         = += -= *= /= %= >>= <<= &= ^= |=    Right to left */
/* Comma              ,                                    Left to right */

case 201:
YY_RULE_SETUP
#line 484 "mon_lex.l"
{ yylval.i = e_MUL; return COND_OP; }             /* Multiplicative */
	YY_BREAK
case 202:
YY_RULE_SETUP
#line 485 "mon_lex.l"
{ yylval.i = e_DIV; return COND_OP; }             /* Multiplicative */
	YY_BREAK
case 203:
YY_RULE_SETUP
#line 486 "mon_lex.l"
{ yylval.i = e_ADD; return COND_OP; }             /* Additive */
	YY_BREAK
case 204:
YY_RULE_SETUP
#line 487 "mon_lex.l"
{ yylval.i = e_SUB; return COND_OP; }             /* Additive */
	YY_BREAK
case 205:
YY_RULE_SETUP
#line 488 "mon_lex.l"
{ yylval.i = e_LTE; return COND_OP; }             /* Relational */
	YY_BREAK
case 206:
YY_RULE_SETUP
#line 489 "mon_lex.l"
{ yylval.i = e_LT;  return COND_OP; }             /* Relational */
	YY_BREAK
case 207:
YY_RULE_SETUP
#line 490 "mon_lex.l"
{ yylval.i = e_GT;  return COND_OP; }             /* Relational */
	YY_BREAK
case 208:
YY_RULE_SETUP
#line 491 "mon_lex.l"
{ yylval.i = e_GTE; return COND_OP; }             /* Relational */
	YY_BREAK
case 209:
YY_RULE_SETUP
#line 492 "mon_lex.l"
{ yylval.i = e_EQU; return COND_OP; }             /* Equality */
	YY_BREAK
case 210:
YY_RULE_SETUP
#line 493 "mon_lex.l"
{ yylval.i = e_NEQ; return COND_OP; }             /* Equality */
	YY_BREAK
case 211:
YY_RULE_SETUP
#line 494 "mon_lex.l"
{ yylval.i = e_BINARY_AND; return COND_OP; }      /* Bitwise AND */
	YY_BREAK
case 212:
YY_RULE_SETUP
#line 495 "mon_lex.l"
{ yylval.i = e_BINARY_OR; return COND_OP; }       /* Bitwise OR */
	YY_BREAK
case 213:
YY_RULE_SETUP
#line 496 "mon_lex.l"
{ yylval.i = e_LOGICAL_AND; return COND_OP; }     /* Logical AND */
	YY_BREAK
case 214:
YY_RULE_SETUP
#line 497 "mon_lex.l"
{ yylval.i = e_LOGICAL_OR;  return COND_OP; }     /* Logical OR */
	YY_BREAK
case 215:
YY_RULE_SETUP
#line 499 "mon_lex.l"
{ yylval.i = e_A; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09/z80 */
	YY_BREAK
case 216:
YY_RULE_SETUP
#line 500 "mon_lex.l"
{ yylval.i = e_X; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09 */
	YY_BREAK
case 217:
YY_RULE_SETUP
#line 501 "mon_lex.l"
{ yylval.i = e_Y; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09 */
	YY_BREAK
case 218:
YY_RULE_SETUP
#line 502 "mon_lex.l"
{ yylval.i = e_PC; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09/z80 */
	YY_BREAK
case 219:
YY_RULE_SETUP
#line 503 "mon_lex.l"
{ yylval.i = e_SP; return MON_REGISTER; }		/* 65xx/c64dtv/658xx/6x09/z80 */
	YY_BREAK
case 220:
YY_RULE_SETUP
#line 504 "mon_lex.l"
{ yylval.i = e_FLAGS; return MON_REGISTER; }	/* 65xx/c64dtv/658xx */
	YY_BREAK
case 221:
YY_RULE_SETUP
#line 505 "mon_lex.l"
{ yylval.i = e_FLAGS; return MON_REGISTER; }	/* 6x09 */
	YY_BREAK
case 222:
YY_RULE_SETUP
#line 507 "mon_lex.l"
{ yylval.i = e_B; return MON_REGISTER; }		/* 658xx/6x09/z80 */
	YY_BREAK
case 223:
YY_RULE_SETUP
#line 508 "mon_lex.l"
{ yylval.i = e_C; return MON_REGISTER; }		/* 658xx/z80 */
	YY_BREAK
case 224:
YY_RULE_SETUP
#line 509 "mon_lex.l"
{ yylval.i = e_DPR; return MON_REGISTER; }		/* 658xx */
	YY_BREAK
case 225:
YY_RULE_SETUP
#line 510 "mon_lex.l"
{ yylval.i = e_PBR; return MON_REGISTER; }		/* 658xx */
	YY_BREAK
case 226:
YY_RULE_SETUP
#line 511 "mon_lex.l"
{ yylval.i = e_DBR; return MON_REGISTER; }		/* 658xx */
	YY_BREAK
case 227:
YY_RULE_SETUP
#line 512 "mon_lex.l"
{ yylval.i = e_E; return MON_REGISTER; }		/* 658xx/6309/z80 */
	YY_BREAK
case 228:
YY_RULE_SETUP
#line 514 "mon_lex.l"
{ yylval.i = e_R3; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 229:
YY_RULE_SETUP
#line 515 "mon_lex.l"
{ yylval.i = e_R4; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 230:
YY_RULE_SETUP
#line 516 "mon_lex.l"
{ yylval.i = e_R5; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 231:
YY_RULE_SETUP
#line 517 "mon_lex.l"
{ yylval.i = e_R6; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 232:
YY_RULE_SETUP
#line 518 "mon_lex.l"
{ yylval.i = e_R7; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 233:
YY_RULE_SETUP
#line 519 "mon_lex.l"
{ yylval.i = e_R8; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 234:
YY_RULE_SETUP
#line 520 "mon_lex.l"
{ yylval.i = e_R9; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 235:
YY_RULE_SETUP
#line 521 "mon_lex.l"
{ yylval.i = e_R10; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 236:
YY_RULE_SETUP
#line 522 "mon_lex.l"
{ yylval.i = e_R11; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 237:
YY_RULE_SETUP
#line 523 "mon_lex.l"
{ yylval.i = e_R12; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 238:
YY_RULE_SETUP
#line 524 "mon_lex.l"
{ yylval.i = e_R13; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 239:
YY_RULE_SETUP
#line 525 "mon_lex.l"
{ yylval.i = e_R14; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 240:
YY_RULE_SETUP
#line 526 "mon_lex.l"
{ yylval.i = e_R15; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 241:
YY_RULE_SETUP
#line 527 "mon_lex.l"
{ yylval.i = e_ACM; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 242:
YY_RULE_SETUP
#line 528 "mon_lex.l"
{ yylval.i = e_YXM; return MON_REGISTER; }		/* c64dtv */
	YY_BREAK
case 243:
YY_RULE_SETUP
#line 530 "mon_lex.l"
{ yylval.i = e_D; return MON_REGISTER; }		/* 6x09/z80 */
	YY_BREAK
case 244:
YY_RULE_SETUP
#line 531 "mon_lex.l"
{ yylval.i = e_DP; return MON_REGISTER; }		/* 6x09 */
	YY_BREAK
case 245:
YY_RULE_SETUP
#line 532 "mon_lex.l"
{ yylval.i = e_U; return MON_REGISTER; }		/* 6x09 */
	YY_BREAK
case 246:
YY_RULE_SETUP
#line 534 "mon_lex.l"
{ yylval.i = e_AF; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 247:
YY_RULE_SETUP
#line 535 "mon_lex.l"
{ yylval.i = e_BC; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 248:
YY_RULE_SETUP
#line 536 "mon_lex.l"
{ yylval.i = e_DE; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 249:
YY_RULE_SETUP
#line 537 "mon_lex.l"
{ yylval.i = e_HL; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 250:
YY_RULE_SETUP
#line 538 "mon_lex.l"
{ yylval.i = e_IX; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 251:
YY_RULE_SETUP
#line 539 "mon_lex.l"
{ yylval.i = e_IY; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 252:
YY_RULE_SETUP
#line 540 "mon_lex.l"
{ yylval.i = e_I; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 253:
YY_RULE_SETUP
#line 541 "mon_lex.l"
{ yylval.i = e_R; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 254:
YY_RULE_SETUP
#line 542 "mon_lex.l"
{ yylval.i = e_AF2; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 255:
YY_RULE_SETUP
#line 543 "mon_lex.l"
{ yylval.i = e_BC2; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 256:
YY_RULE_SETUP
#line 544 "mon_lex.l"
{ yylval.i = e_DE2; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 257:
YY_RULE_SETUP
#line 545 "mon_lex.l"
{ yylval.i = e_HL2; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 258:
YY_RULE_SETUP
#line 547 "mon_lex.l"
{ yylval.i = e_F; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 259:
YY_RULE_SETUP
#line 548 "mon_lex.l"
{ yylval.i = e_W; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 260:
YY_RULE_SETUP
#line 549 "mon_lex.l"
{ yylval.i = e_Q; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 261:
YY_RULE_SETUP
#line 550 "mon_lex.l"
{ yylval.i = e_V; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 262:
YY_RULE_SETUP
#line 551 "mon_lex.l"
{ yylval.i = e_MD; return MON_REGISTER; }		/* 6309 */
	YY_BREAK
case 263:
YY_RULE_SETUP
#line 553 "mon_lex.l"
{ yylval.i = e_H; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 264:
YY_RULE_SETUP
#line 554 "mon_lex.l"
{ yylval.i = e_L; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 265:
YY_RULE_SETUP
#line 555 "mon_lex.l"
{ yylval.i = e_IXH; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 266:
YY_RULE_SETUP
#line 556 "mon_lex.l"
{ yylval.i = e_IXL; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 267:
YY_RULE_SETUP
#line 557 "mon_lex.l"
{ yylval.i = e_IYH; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 268:
YY_RULE_SETUP
#line 558 "mon_lex.l"
{ yylval.i = e_IYL; return MON_REGISTER; }		/* z80 */
	YY_BREAK
case 269:
YY_RULE_SETUP
#line 560 "mon_lex.l"
{ yylval.i = e_Rasterline; return MON_REGISTER; }		/* rasterline */
	YY_BREAK
case 270:
YY_RULE_SETUP
#line 561 "mon_lex.l"
{ yylval.i = e_Cycle; return MON_REGISTER; }		/* cycle in line */
	YY_BREAK
case 271:
YY_RULE_SETUP
#line 563 "mon_lex.l"
{ return L_PAREN; }
	YY_BREAK
case 272:
YY_RULE_SETUP
#line 564 "mon_lex.l"
{ return R_PAREN; }
	YY_BREAK
case 273:
YY_RULE_SETUP
#line 565 "mon_lex.l"
{ return L_BRACKET; }
	YY_BREAK
case 274:
YY_RULE_SETUP
#line 566 "mon_lex.l"
{ return R_BRACKET; }
	YY_BREAK
case 275:
YY_RULE_SETUP
#line 568 "mon_lex.l"
{yylval.str= lib_strdup(yytext); return BANKNAME; }
	YY_BREAK

case 276:
YY_RULE_SETUP
#line 571 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 277:
YY_RULE_SETUP
#line 573 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 278:
YY_RULE_SETUP
#line 575 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 279:
YY_RULE_SETUP
#line 577 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 280:
YY_RULE_SETUP
#line 579 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 281:
YY_RULE_SETUP
#line 581 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 282:
YY_RULE_SETUP
#line 583 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 283:
YY_RULE_SETUP
#line 585 "mon_lex.l"
{
    yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 284:
YY_RULE_SETUP
#line 587 "mon_lex.l"
{ return REG_AF; }
	YY_BREAK
case 285:
YY_RULE_SETUP
#line 588 "mon_lex.l"
{ return REG_BC; }
	YY_BREAK
case 286:
YY_RULE_SETUP
#line 589 "mon_lex.l"
{ return REG_DE; }
	YY_BREAK
case 287:
YY_RULE_SETUP
#line 590 "mon_lex.l"
{ return REG_HL; }
	YY_BREAK
case 288:
YY_RULE_SETUP
#line 591 "mon_lex.l"
{ return REG_IX; }
	YY_BREAK
case 289:
YY_RULE_SETUP
#line 592 "mon_lex.l"
{ return REG_IXH; }
	YY_BREAK
case 290:
YY_RULE_SETUP
#line 593 "mon_lex.l"
{ return REG_IXL; }
	YY_BREAK
case 291:
YY_RULE_SETUP
#line 594 "mon_lex.l"
{ return REG_IY; }
	YY_BREAK
case 292:
YY_RULE_SETUP
#line 595 "mon_lex.l"
{ return REG_IYH; }
	YY_BREAK
case 293:
YY_RULE_SETUP
#line 596 "mon_lex.l"
{ return REG_IYL; }
	YY_BREAK
case 294:
YY_RULE_SETUP
#line 597 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return OPCODE; }
	YY_BREAK
case 295:
YY_RULE_SETUP
#line 598 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return LABEL; }
	YY_BREAK
case 296:
/* rule 296 can match eol */
YY_RULE_SETUP
#line 600 "mon_lex.l"
{ if (!dont_match_reg_a) return REG_A;
                                        yylval.i = 0x0a; return H_NUMBER; }
	YY_BREAK
case 297:
YY_RULE_SETUP
#line 602 "mon_lex.l"
{ return REG_B; }
	YY_BREAK
case 298:
YY_RULE_SETUP
#line 603 "mon_lex.l"
{ return REG_C; }
	YY_BREAK
case 299:
YY_RULE_SETUP
#line 604 "mon_lex.l"
{ return REG_D; }
	YY_BREAK
case 300:
YY_RULE_SETUP
#line 605 "mon_lex.l"
{ return REG_E; }
	YY_BREAK
case 301:
YY_RULE_SETUP
#line 606 "mon_lex.l"
{ return REG_H; }
	YY_BREAK
case 302:
YY_RULE_SETUP
#line 607 "mon_lex.l"
{ return REG_L; }
	YY_BREAK
case 303:
YY_RULE_SETUP
#line 608 "mon_lex.l"
{ return REG_S; }
	YY_BREAK
case 304:
YY_RULE_SETUP
#line 609 "mon_lex.l"
{ return REG_U; }
	YY_BREAK
case 305:
YY_RULE_SETUP
#line 610 "mon_lex.l"
{ return REG_X; }
	YY_BREAK
case 306:
YY_RULE_SETUP
#line 611 "mon_lex.l"
{ return REG_Y; }
	YY_BREAK
case 307:
YY_RULE_SETUP
#line 613 "mon_lex.l"
{ dont_match_reg_a = 1; return L_PAREN; }
	YY_BREAK
case 308:
YY_RULE_SETUP
#line 614 "mon_lex.l"
{ dont_match_reg_a = 0; return R_PAREN; }
	YY_BREAK
case 309:
YY_RULE_SETUP
#line 615 "mon_lex.l"
{ dont_match_reg_a = 1; return L_BRACKET; }
	YY_BREAK
case 310:
YY_RULE_SETUP
#line 616 "mon_lex.l"
{ dont_match_reg_a = 0; return R_BRACKET; }
	YY_BREAK
case 311:
YY_RULE_SETUP
#line 617 "mon_lex.l"
{ dont_match_reg_a = 1; return ARG_IMMEDIATE; }
	YY_BREAK
case 312:
YY_RULE_SETUP
#line 618 "mon_lex.l"
{ dont_match_reg_a = 0; return INST_SEP; }
	YY_BREAK
case 313:
YY_RULE_SETUP
#line 619 "mon_lex.l"
{ dont_match_reg_a = 1; return LESS_THAN; }
	YY_BREAK
case 314:
YY_RULE_SETUP
#line 620 "mon_lex.l"
{ return PLUS; }
	YY_BREAK
case 315:
YY_RULE_SETUP
#line 621 "mon_lex.l"
{ return MINUS; }
	YY_BREAK

case 316:
YY_RULE_SETUP
#line 624 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return H_RANGE_GUESS; }
	YY_BREAK
case 317:
YY_RULE_SETUP
#line 625 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return B_NUMBER_GUESS; }
	YY_BREAK
case 318:
YY_RULE_SETUP
#line 626 "mon_lex.l"
{ yylval.i = (int)strtol(yytext+1, NULL, 2); return B_NUMBER; }
	YY_BREAK
case 319:
YY_RULE_SETUP
#line 627 "mon_lex.l"
{ yylval.i = (int)strtol(yytext+1, NULL, 8); return O_NUMBER; }
	YY_BREAK
case 320:
YY_RULE_SETUP
#line 628 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return O_NUMBER_GUESS; }
	YY_BREAK
case 321:
YY_RULE_SETUP
#line 629 "mon_lex.l"
{ yylval.i = (int)strtol(yytext+1, NULL, 10); return D_NUMBER; }
	YY_BREAK
case 322:
YY_RULE_SETUP
#line 630 "mon_lex.l"
{ yylval.str = lib_strdup(yytext); return D_NUMBER_GUESS; }
	YY_BREAK
case 323:
YY_RULE_SETUP
#line 631 "mon_lex.l"
{ yylval.i = 0x00; return MASK; }
	YY_BREAK
case 324:
YY_RULE_SETUP
#line 632 "mon_lex.l"
{ yylval.i = (int)strtol(yytext+1, NULL, 16); return H_NUMBER; }
	YY_BREAK
case 325:
YY_RULE_SETUP
#line 633 "mon_lex.l"
{ yylval.i = (int)strtol(yytext, NULL, 16); return H_NUMBER; }
	YY_BREAK

case 326:
YY_RULE_SETUP
#line 636 "mon_lex.l"
{ return EQUALS; }
	YY_BREAK
case 327:
YY_RULE_SETUP
#line 637 "mon_lex.l"
{ return COMMA; }
	YY_BREAK
/* After a label assignment there may be a ; comment to EOL */
case 328:
YY_RULE_SETUP
#line 640 "mon_lex.l"
{ return LABEL_ASGN_COMMENT; }
	YY_BREAK
case 329:
/* rule 329 can match eol */
YY_RULE_SETUP
#line 642 "mon_lex.l"
{ return yytext[0]; }
	YY_BREAK
case 330:
YY_RULE_SETUP
#line 644 "mon_lex.l"
ECHO;
	YY_BREAK
#line 3965 "mon_lex.c"
			case YY_STATE_EOF(INITIAL):
			case YY_STATE_EOF(FNAME):
			case YY_STATE_EOF(CMD):
			case YY_STATE_EOF(STR):
			case YY_STATE_EOF(ROL):
			case YY_STATE_EOF(ROLQ):
			case YY_STATE_EOF(ASM_MODE):
			case YY_STATE_EOF(COND_MODE):
			case YY_STATE_EOF(REG_ASGN):
			case YY_STATE_EOF(LABEL_ASGN):
			case YY_STATE_EOF(BNAME):
			case YY_STATE_EOF(CTYPE):
			case YY_STATE_EOF(RADIX):
				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_LVALUE->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_LVALUE->yy_n_chars;
			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
			YY_CURRENT_BUFFER_LVALUE->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_LVALUE->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_LVALUE->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 user's declarations */
} /* 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 (void)
{
    	char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
	char *source = (yytext_ptr);
	int number_to_move, i;
	int ret_val;

	if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
		YY_FATAL_ERROR(
		"fatal flex scanner internal error--end of buffer missed" );

	if ( YY_CURRENT_BUFFER_LVALUE->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_LVALUE->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_LVALUE->yy_n_chars = (yy_n_chars) = 0;

	else
		{
			int num_to_read =
			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;

		while ( num_to_read <= 0 )
			{ /* Not enough room in the buffer - grow it. */

			YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );

			}

		if ( num_to_read > YY_READ_BUF_SIZE )
			num_to_read = YY_READ_BUF_SIZE;

		/* Read in more data. */
		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
			(yy_n_chars), num_to_read );

		YY_CURRENT_BUFFER_LVALUE->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_LVALUE->yy_buffer_status =
				YY_BUFFER_EOF_PENDING;
			}
		}

	else
		ret_val = EOB_ACT_CONTINUE_SCAN;

	if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
		/* Extend the array by 50%, plus the number we really need. */
		int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size  );
		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
		/* "- 2" to take care of EOB's */
		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
	}

	(yy_n_chars) += number_to_move;
	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;

	(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->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 (void)
{
	yy_state_type yy_current_state;
	char *yy_cp;
    
	yy_current_state = (yy_start);

	(yy_state_ptr) = (yy_state_buf);
	*(yy_state_ptr)++ = yy_current_state;

	for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
		{
		YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
		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 >= 938 )
				yy_c = yy_meta[yy_c];
			}
		yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
		*(yy_state_ptr)++ = yy_current_state;
		}

	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 );
 */
    static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
{
	int yy_is_jam;
    
	YY_CHAR yy_c = 1;
	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 >= 938 )
			yy_c = yy_meta[yy_c];
		}
	yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
	yy_is_jam = (yy_current_state == 937);
	if ( ! yy_is_jam )
		*(yy_state_ptr)++ = yy_current_state;

		return yy_is_jam ? 0 : yy_current_state;
}

#ifndef YY_NO_UNPUT

#endif

#ifndef YY_NO_INPUT
#ifdef __cplusplus
    static int yyinput (void)
#else
    static int input  (void)
#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_LVALUE->yy_ch_buf[(yy_n_chars)] )
			/* This was really a NUL. */
			*(yy_c_buf_p) = '\0';

		else
			{ /* need more input */
			int offset = (int) ((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 );

					/*FALLTHROUGH*/

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

	return c;
}
#endif	/* ifndef YY_NO_INPUT */

/** Immediately switch to a different input stream.
 * @param input_file A readable stream.
 * 
 * @note This function does not reset the start condition to @c INITIAL .
 */
    void yyrestart  (FILE * input_file )
{
    
	if ( ! YY_CURRENT_BUFFER ){
        yyensure_buffer_stack ();
		YY_CURRENT_BUFFER_LVALUE =
            yy_create_buffer( yyin, YY_BUF_SIZE );
	}

	yy_init_buffer( YY_CURRENT_BUFFER, input_file );
	yy_load_buffer_state(  );
}

/** Switch to a different input buffer.
 * @param new_buffer The new input buffer.
 * 
 */
    void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
{
    
	/* TODO. We should be able to replace this entire function body
	 * with
	 *		yypop_buffer_state();
	 *		yypush_buffer_state(new_buffer);
     */
	yyensure_buffer_stack ();
	if ( YY_CURRENT_BUFFER == new_buffer )
		return;

	if ( YY_CURRENT_BUFFER )
		{
		/* Flush out information for old buffer. */
		*(yy_c_buf_p) = (yy_hold_char);
		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	YY_CURRENT_BUFFER_LVALUE = 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;
}

static void yy_load_buffer_state  (void)
{
    	(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
	(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
	(yy_hold_char) = *(yy_c_buf_p);
}

/** Allocate and initialize an input buffer state.
 * @param file A readable stream.
 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
 * 
 * @return the allocated buffer state.
 */
    YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
{
	YY_BUFFER_STATE b;
    
	b = (YY_BUFFER_STATE) yyalloc( 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 *) yyalloc( (yy_size_t) (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;
}

/** Destroy the buffer.
 * @param b a buffer created with yy_create_buffer()
 * 
 */
    void yy_delete_buffer (YY_BUFFER_STATE  b )
{
    
	if ( ! b )
		return;

	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;

	if ( b->yy_is_our_buffer )
		yyfree( (void *) b->yy_ch_buf  );

	yyfree( (void *) b  );
}

/* Initializes or reinitializes a buffer.
 * This function is sometimes called more than once on the same buffer,
 * such as during a yyrestart() or at EOF.
 */
    static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )

{
	int oerrno = errno;
    
	yy_flush_buffer( b );

	b->yy_input_file = file;
	b->yy_fill_buffer = 1;

    /* If b is the current buffer, then yy_init_buffer was _probably_
     * called from yyrestart() or through yy_get_next_buffer.
     * In that case, we don't want to reset the lineno or column.
     */
    if (b != YY_CURRENT_BUFFER){
        b->yy_bs_lineno = 1;
        b->yy_bs_column = 0;
    }

        b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
    
	errno = oerrno;
}

/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
 * 
 */
    void yy_flush_buffer (YY_BUFFER_STATE  b )
{
    	if ( ! b )
		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(  );
}

/** Pushes the new state onto the stack. The new state becomes
 *  the current state. This function will allocate the stack
 *  if necessary.
 *  @param new_buffer The new state.
 *  
 */
void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
{
    	if (new_buffer == NULL)
		return;

	yyensure_buffer_stack();

	/* This block is copied from yy_switch_to_buffer. */
	if ( YY_CURRENT_BUFFER )
		{
		/* Flush out information for old buffer. */
		*(yy_c_buf_p) = (yy_hold_char);
		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	/* Only push if top exists. Otherwise, replace top. */
	if (YY_CURRENT_BUFFER)
		(yy_buffer_stack_top)++;
	YY_CURRENT_BUFFER_LVALUE = new_buffer;

	/* copied from yy_switch_to_buffer. */
	yy_load_buffer_state(  );
	(yy_did_buffer_switch_on_eof) = 1;
}

/** Removes and deletes the top of the stack, if present.
 *  The next element becomes the new top.
 *  
 */
void yypop_buffer_state (void)
{
    	if (!YY_CURRENT_BUFFER)
		return;

	yy_delete_buffer(YY_CURRENT_BUFFER );
	YY_CURRENT_BUFFER_LVALUE = NULL;
	if ((yy_buffer_stack_top) > 0)
		--(yy_buffer_stack_top);

	if (YY_CURRENT_BUFFER) {
		yy_load_buffer_state(  );
		(yy_did_buffer_switch_on_eof) = 1;
	}
}

/* Allocates the stack if it does not exist.
 *  Guarantees space for at least one push.
 */
static void yyensure_buffer_stack (void)
{
	yy_size_t num_to_alloc;
    
	if (!(yy_buffer_stack)) {

		/* First allocation is just for 2 elements, since we don't know if this
		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
		 * immediate realloc on the next call.
         */
      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
		(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
								(num_to_alloc * sizeof(struct yy_buffer_state*)
								);
		if ( ! (yy_buffer_stack) )
			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );

		memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));

		(yy_buffer_stack_max) = num_to_alloc;
		(yy_buffer_stack_top) = 0;
		return;
	}

	if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){

		/* Increase the buffer to prepare for a possible push. */
		yy_size_t grow_size = 8 /* arbitrary grow size */;

		num_to_alloc = (yy_buffer_stack_max) + grow_size;
		(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
								((yy_buffer_stack),
								num_to_alloc * sizeof(struct yy_buffer_state*)
								);
		if ( ! (yy_buffer_stack) )
			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );

		/* zero only the new slots.*/
		memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
		(yy_buffer_stack_max) = num_to_alloc;
	}
}

/** Setup the input buffer state to scan directly from a user-specified character buffer.
 * @param base the character buffer
 * @param size the size in bytes of the character buffer
 * 
 * @return the newly allocated buffer state object.
 */
YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
{
	YY_BUFFER_STATE b;
    
	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 NULL;

	b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );

	b->yy_buf_size = (int) (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 = NULL;
	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;
}

/** Setup the input buffer state to scan a string. The next call to yylex() will
 * scan from a @e copy of @a str.
 * @param yystr a NUL-terminated string to scan
 * 
 * @return the newly allocated buffer state object.
 * @note If you want to scan bytes that may contain NUL values, then use
 *       yy_scan_bytes() instead.
 */
YY_BUFFER_STATE yy_scan_string (const char * yystr )
{
    
	return yy_scan_bytes( yystr, (int) strlen(yystr) );
}

/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
 * scan from a @e copy of @a bytes.
 * @param yybytes the byte buffer to scan
 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
 * 
 * @return the newly allocated buffer state object.
 */
YY_BUFFER_STATE yy_scan_bytes  (const char * yybytes, int  _yybytes_len )
{
	YY_BUFFER_STATE b;
	char *buf;
	yy_size_t n;
	int i;
    
	/* Get memory for full buffer, including space for trailing EOB's. */
	n = (yy_size_t) (_yybytes_len + 2);
	buf = (char *) yyalloc( n  );
	if ( ! buf )
		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );

	for ( i = 0; i < _yybytes_len; ++i )
		buf[i] = yybytes[i];

	buf[_yybytes_len] = buf[_yybytes_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;
}

#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif

static void yynoreturn yy_fatal_error (const char* msg )
{
			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. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
		yytext[yyleng] = (yy_hold_char); \
		(yy_c_buf_p) = yytext + yyless_macro_arg; \
		(yy_hold_char) = *(yy_c_buf_p); \
		*(yy_c_buf_p) = '\0'; \
		yyleng = yyless_macro_arg; \
		} \
	while ( 0 )

/* Accessor  methods (get/set functions) to struct members. */

/** Get the current line number.
 * 
 */
int yyget_lineno  (void)
{
    
    return yylineno;
}

/** Get the input stream.
 * 
 */
FILE *yyget_in  (void)
{
        return yyin;
}

/** Get the output stream.
 * 
 */
FILE *yyget_out  (void)
{
        return yyout;
}

/** Get the length of the current token.
 * 
 */
int yyget_leng  (void)
{
        return yyleng;
}

/** Get the current token.
 * 
 */

char *yyget_text  (void)
{
        return yytext;
}

/** Set the current line number.
 * @param _line_number line number
 * 
 */
void yyset_lineno (int  _line_number )
{
    
    yylineno = _line_number;
}

/** Set the input stream. This does not discard the current
 * input buffer.
 * @param _in_str A readable stream.
 * 
 * @see yy_switch_to_buffer
 */
void yyset_in (FILE *  _in_str )
{
        yyin = _in_str ;
}

void yyset_out (FILE *  _out_str )
{
        yyout = _out_str ;
}

int yyget_debug  (void)
{
        return yy_flex_debug;
}

void yyset_debug (int  _bdebug )
{
        yy_flex_debug = _bdebug ;
}

static int yy_init_globals (void)
{
        /* Initialization is the same as for the non-reentrant scanner.
     * This function is called from yylex_destroy(), so don't allocate here.
     */

    (yy_buffer_stack) = NULL;
    (yy_buffer_stack_top) = 0;
    (yy_buffer_stack_max) = 0;
    (yy_c_buf_p) = NULL;
    (yy_init) = 0;
    (yy_start) = 0;

    (yy_state_buf) = 0;
    (yy_state_ptr) = 0;
    (yy_full_match) = 0;
    (yy_lp) = 0;

/* Defined in main.c */
#ifdef YY_STDINIT
    yyin = stdin;
    yyout = stdout;
#else
    yyin = NULL;
    yyout = NULL;
#endif

    /* For future reference: Set errno on error, since we are called by
     * yylex_init()
     */
    return 0;
}

/* yylex_destroy is for both reentrant and non-reentrant scanners. */
int yylex_destroy  (void)
{
    
    /* Pop the buffer stack, destroying each element. */
	while(YY_CURRENT_BUFFER){
		yy_delete_buffer( YY_CURRENT_BUFFER  );
		YY_CURRENT_BUFFER_LVALUE = NULL;
		yypop_buffer_state();
	}

	/* Destroy the stack itself. */
	yyfree((yy_buffer_stack) );
	(yy_buffer_stack) = NULL;

    yyfree ( (yy_state_buf) );
    (yy_state_buf)  = NULL;

    /* Reset the globals. This is important in a non-reentrant scanner so the next time
     * yylex() is called, initialization will occur. */
    yy_init_globals( );

    return 0;
}

/*
 * Internal utility routines.
 */

#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, const char * s2, int n )
{
		
	int i;
	for ( i = 0; i < n; ++i )
		s1[i] = s2[i];
}
#endif

#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (const char * s )
{
	int n;
	for ( n = 0; s[n]; ++n )
		;

	return n;
}
#endif

void *yyalloc (yy_size_t  size )
{
			return malloc(size);
}

void *yyrealloc  (void * ptr, yy_size_t  size )
{
		
	/* 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 realloc(ptr, size);
}

void yyfree (void * ptr )
{
			free( (char *) ptr );	/* see yyrealloc() for (char *) cast */
}

#define YYTABLES_NAME "yytables"

#line 644 "mon_lex.l"


void free_buffer(void)
{
   yy_delete_buffer(my_state);
}

void make_buffer(char *str)
{
    my_state = yy_scan_buffer(str, strlen(str) + 2);
    assert(my_state);
}

#ifndef YY_SKIP_YYWRAP
static int yywrap(void)
{
    return 1;
}
#endif

