#line 2 "mix_scanner.c"

#line 4 "mix_scanner.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 5
#define YY_FLEX_SUBMINOR_VERSION 31
#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
#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;
#endif /* ! C99 */

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

#endif /* ! FLEXINT_H */

#ifdef __cplusplus

/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST

#else	/* ! __cplusplus */

#if __STDC__

#define YY_USE_CONST

#endif	/* __STDC__ */
#endif	/* ! __cplusplus */

#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif

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

/* Promotes a possibly negative, possibly signed char to an unsigned
 * integer for use as an array index.  If the signed char is negative,
 * we want to instead treat it as an 8-bit unsigned char, hence the
 * double cast.
 */
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)

/* Enter a start condition.  This macro really ought to take a parameter,
 * but we do it the disgusting crufty way forced on us by the ()-less
 * definition of BEGIN.
 */
#define BEGIN (yy_start) = 1 + 2 *

/* Translate the current start state into a value that can be later handed
 * to BEGIN to return to the state.  The YYSTATE alias is for lex
 * compatibility.
 */
#define YY_START (((yy_start) - 1) / 2)
#define YYSTATE YY_START

/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)

/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart(yyin  )

#define YY_END_OF_BUFFER_CHAR 0

/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE 16384
#endif

#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#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)
    
/* 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)  )

/* The following is because we cannot portably get our hands on size_t
 * (without autoconf's help, which isn't available because we want
 * flex-generated scanners to compile on their own).
 */

#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef unsigned int yy_size_t;
#endif

#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.
	 */
	yy_size_t yy_buf_size;

	/* Number of characters read into yy_ch_buf, not including EOB
	 * characters.
	 */
	int yy_n_chars;

	/* Whether we "own" the buffer - i.e., we know we created it,
	 * and can realloc() it to grow it, and should free() it to
	 * delete it.
	 */
	int yy_is_our_buffer;

	/* Whether this is an "interactive" input source; if so, and
	 * if we're using stdio for input, then we want to use getc()
	 * instead of fread(), to make sure we stop fetching input after
	 * each newline.
	 */
	int yy_is_interactive;

	/* Whether we're considered to be at the beginning of a line.
	 * If so, '^' rules will be active on the next match, otherwise
	 * not.
	 */
	int yy_at_bol;

    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 = 0; /**< 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 = (char *) 0;
static int yy_init = 1;		/* whether we need to initialize */
static int yy_start = 0;	/* start state number */

/* Flag which is used to allow yywrap()'s to do buffer switches
 * instead of setting up a fresh yyin.  A bit of a hack ...
 */
static int yy_did_buffer_switch_on_eof;

void yyrestart (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 (yyconst char *yy_str  );
YY_BUFFER_STATE yy_scan_bytes (yyconst 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 */

#define yywrap(n) 1
#define YY_SKIP_YYWRAP

typedef unsigned char YY_CHAR;

FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;

typedef int yy_state_type;

extern int yylineno;

int yylineno = 1;

extern char 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 yy_fatal_error (yyconst char msg[]  );

/* Done after the current pattern has been matched and before the
 * corresponding action - sets up yytext.
 */
#define YY_DO_BEFORE_ACTION \
	(yytext_ptr) = yy_bp; \
	yyleng = (size_t) (yy_cp - yy_bp); \
	(yy_hold_char) = *yy_cp; \
	*yy_cp = '\0'; \
	if ( yyleng >= YYLMAX ) \
		YY_FATAL_ERROR( "token too large, exceeds YYLMAX" ); \
	yy_flex_strncpy( yytext, (yytext_ptr), yyleng + 1 ); \
	(yy_c_buf_p) = yy_cp;

#define YY_NUM_RULES 71
#define YY_END_OF_BUFFER 72
/* 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 yyconst flex_int16_t yy_acclist[336] =
    {   0,
       72,    2,   71,    3,   71,    1,    2,   71,   10,   71,
        4,   10,   71,   11,   71,   10,   71,    9,   10,   71,
    16392,   25,   71,   12,   25,   71,   13,   71,   24,   25,
       71,   25,   71,   24,   25,   71,   24,   25,   71,   24,
       25,   71,   24,   25,   71,   24,   25,   71,   24,   25,
       71,   48,   71,   47,   71,   48,   71,   48,   71,   48,
       71,   48,   71,   48,   71,   52,   71,   51,   71,   52,
       71,   52,   71,   52,   71,   52,   71,   55,   71,   71,
       55,   71,   55,   71,   55,   71,   55,   71,   63,   71,
       62,   63,   71,   62,   71,   59,   63,   71,   63,   71,

       63,   71,   60,   63,   71,   63,   71,   61,   63,   71,
       70,   71,   69,   70,   71,   69,   71,   70,   71,   70,
       71,   70,   71,   70,   71,   70,   71,   35,   71,   34,
       35,   71,   35,   71,   34,   35,   71,   34,   35,   71,
       35,   71,   34,   35,   71,   35,   71,   34,   35,   71,
       35,   71,   34,   35,   71,    1,    4,    9,16392,    7,
        9,16392,    5,    9,16392,    9,16392,    9,16392,   12,
       24,   24,   24,   23,   22,   24,   24,   24,   24,   24,
       24,   24,   24,   24,   46,   46,   44,   46,   46,   36,
       45,   46,   50,   49,   50,   36,   54,   54,   36,   58,

       56,   57,   56,   60,   60,   61,   61,   61,   67,   68,
       68,   68,   66,   67,   64,   66,   67,   65,   66,   67,
       34,   34,   34,   26,   34,   34,   34,   28,   34,   30,
       34,   32,   24,   24,   24,   24,   24,   24,   24,   24,
       24,   24,   43,   40,   42,   38,   39,   37,   38,   39,
       53,   57,   57,   68,   68,   34,   34,   34,   34,   34,
       34,   26,   27,   28,   29,   30,   31,   32,   33,   24,
       24,   23,   20,   22,   15,   23,   17,   23,   16,   23,
       24,   44,   40,   41,   68,   68,   68,   34,   34,   34,
       34,   34,   27,   29,   31,   33, 8200,   21,   23,   21,

       14,   23,   41,   39,   37,   68,   68,   34,   34,   34,
        6, 8200,   21,   23,   21,   21,   34,   34,   34,   21,
       23,   21,   21,   19,   21,   21,   23,   21,   21,   21,
       18,   19,   21,   18,   21
    } ;

static yyconst flex_int16_t yy_accept[427] =
    {   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,    2,    4,    6,    9,   11,
       14,   16,   18,   22,   24,   27,   29,   32,   34,   37,
       40,   43,   46,   49,   52,   54,   56,   58,   60,   62,
       64,   66,   68,   70,   72,   74,   76,   78,   80,   81,
       83,   85,   87,   89,   91,   94,   96,   99,  101,  103,
      106,  108,  111,  113,  116,  118,  120,  122,  124,  126,
      128,  130,  133,  135,  138,  141,  143,  146,  148,  151,
      153,  156,  157,  158,  158,  160,  163,  166,  166,  168,

      170,  171,  171,  171,  172,  173,  174,  175,  176,  177,
      178,  179,  180,  181,  182,  183,  184,  185,  186,  186,
      186,  186,  186,  186,  186,  187,  189,  190,  191,  191,
      191,  191,  191,  193,  193,  193,  194,  194,  194,  194,
      194,  194,  196,  197,  197,  197,  198,  198,  198,  198,
      198,  198,  199,  200,  200,  200,  201,  202,  203,  205,
      205,  206,  207,  208,  209,  210,  210,  210,  210,  210,
      210,  211,  211,  212,  213,  215,  218,  221,  221,  221,
      221,  221,  221,  221,  222,  223,  224,  224,  225,  226,
      227,  228,  228,  229,  230,  230,  231,  232,  232,  233,

      233,  233,  234,  235,  236,  237,  238,  239,  240,  241,
      242,  243,  243,  243,  243,  243,  243,  243,  244,  244,
      245,  246,  246,  246,  246,  246,  248,  248,  251,  251,
      251,  251,  251,  251,  251,  251,  251,  251,  252,  253,
      254,  254,  254,  254,  254,  254,  255,  256,  256,  256,
      256,  256,  257,  258,  259,  260,  260,  261,  262,  262,
      262,  264,  264,  264,  266,  266,  266,  268,  268,  268,
      270,  270,  270,  271,  272,  273,  275,  277,  279,  281,
      282,  282,  282,  282,  283,  283,  283,  283,  285,  285,
      285,  285,  285,  285,  285,  285,  285,  285,  285,  285,

      285,  285,  285,  285,  285,  285,  285,  285,  285,  286,
      287,  288,  289,  289,  289,  289,  289,  290,  291,  291,
      291,  291,  292,  293,  294,  295,  296,  297,  297,  298,
      300,  300,  301,  303,  304,  304,  304,  304,  304,  304,
      304,  304,  304,  304,  304,  305,  305,  305,  306,  307,
      308,  308,  308,  308,  308,  308,  308,  308,  309,  310,
      311,  313,  315,  316,  316,  316,  317,  317,  317,  317,
      317,  317,  317,  317,  317,  317,  317,  317,  317,  318,
      318,  318,  318,  318,  319,  320,  322,  323,  324,  324,
      324,  325,  326,  326,  326,  326,  326,  326,  326,  326,

      326,  326,  326,  326,  326,  328,  329,  330,  331,  331,
      331,  331,  333,  334,  334,  334,  334,  334,  334,  334,
      335,  336,  336,  336,  336,  336
    } ;

static yyconst flex_int32_t 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,    1,    5,    1,    6,    1,    1,    6,    7,
        8,    9,   10,   11,   12,    6,   13,   14,   14,   14,
       14,   14,   14,   14,   14,   14,   14,   15,    6,    6,
       16,    6,    1,    6,   17,   18,   19,   20,   21,   22,
       23,   24,   25,   26,   26,   27,   26,   28,   29,   26,
       30,   31,   26,   26,   32,   26,   26,   26,   26,   26,
        1,    1,    1,    1,    1,    1,   17,   18,   19,   20,

       21,   22,   23,   24,   25,   26,   26,   27,   26,   28,
       29,   26,   30,   31,   26,   26,   32,   26,   26,   26,
       26,   26,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1
    } ;

static yyconst flex_int32_t yy_meta[33] =
    {   0,
        1,    2,    3,    4,    5,    6,    7,    8,    9,   10,
       11,   10,   12,   13,   12,   14,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13
    } ;

static yyconst flex_int16_t yy_base[568] =
    {   0,
      801,    0,    9,    0,   41,    0,   73,    0,  105,    0,
      137,    0,  169,    0,  201,    0,  233,    0,  256,  257,
      262,  263,  268,  269,  790, 3128, 3128,    0, 3128,    0,
     3128,  270,  283, 3128,    3, 3128,  289,  277,  303,  317,
      343,  760,  265,  752, 3128, 3128,  357,  324,  372,  380,
      395, 3128, 3128,  426,  294,  440,  463, 3128, 3128,  471,
      300,  479,  496, 3128, 3128, 3128,  314,  326,  328,  755,
      334,  749, 3128, 3128, 3128,  510,  340,  447,  524,  538,
     3128,  564,  386,  578,  587,  423,  493,  431,  601,  437,
      604,    0,    4,  748,  389,  607,  608,  612,  320,  615,

      361,  449,  611,    0,  625,  632,  496, 3128,  646,    0,
      660,    0,  732,  723,  720,  705,  706, 3128,  460,  614,
        0,  708,  696,    0,  628, 3128,  674,    0,  679,  670,
      689,  699, 3128,  714,    0, 3128,  476,  719,    0,  695,
      732, 3128,    0,  746,    0, 3128,  515,  751,    0,  650,
      758,  649,    0,  766,    0, 3128,  569,  654,  657,  729,
      643,  640,    0,  629, 3128,  743,  771,  784,  798,  829,
      853,  768,  860,  867, 3128, 3128, 3128,  881,    0,  888,
      789,  894,  896,  904,  918,  944,  958, 3128,  956,  965,
      979,  982, 3128,  985,  988, 3128,  992,  998, 3128,  897,

      606,  998, 1005, 1012, 1019, 1026, 1040, 1054,  376,  458,
     1057, 1079, 1094, 1125, 1156,  623, 1001, 3128, 1043, 3128,
     3128, 1061,  898, 1152, 1063, 3128,  599, 3128, 1166, 1176,
     1191, 1205, 1219, 1227, 1235, 1243, 1257, 3128,    0,  581,
        0, 1260, 1274, 1051, 1065, 1298, 1305, 1313, 1320, 1327,
     1335,    0, 1344, 1353, 1362, 1160, 1371, 1380,  569, 1394,
     3128,  551, 1397, 3128,  541, 1400, 3128,  540, 1403, 3128,
      500,  484, 1399, 1406, 1420, 3128, 1424, 1427, 1430,  582,
     1433,    0, 1448, 3128, 1451,  512, 1457, 3128, 1455, 1462,
     1469, 1477, 1486, 1496, 1506, 1516, 1188, 1526, 1536,  651,

     1551, 1565, 1573, 1581,  499, 1595, 1598,    0, 1605, 1612,
     1619,  490, 1196, 1626, 1633, 1641, 1650, 1659, 1666, 1202,
     1668, 1676, 1685, 3128, 3128, 3128, 3128,  450, 3128, 1699,
      466,    0, 1634, 3128, 1214, 1232, 1696, 1703, 1711, 1720,
     1730, 1738, 1324, 1740, 3128, 1748, 1758, 3128, 1766, 1773,
     1781, 1789, 1797, 1805, 1812, 1819, 1827, 1836, 1845, 1854,
     3128, 1868,    0,  463, 1704,    0, 1866, 1874, 1882, 1890,
     1897, 1904, 1912, 1921, 1931, 1941, 1950, 1958,  437, 1332,
     1965, 1972, 1980, 1989, 1998, 2012,    0,    0,  429, 1973,
     3128,    0, 2010, 2018, 1464, 1474, 2025, 2032, 2040, 2049,

     2059,    0, 2068, 2076, 2090,    0,    0,    0,  426,  398,
     2033, 3128,    0,    0, 2088, 2096, 2104, 2112,  372, 3128,
     3128, 2120, 2128,  366, 3128, 2143, 2157,  349, 2170,  287,
     2182, 2194, 2199, 2204,  674, 2216,  684, 2222,  694,  338,
      337,  858, 2227, 1003, 2234, 2246, 1024, 2251, 2263, 1171,
     2276, 2284, 2297, 1303, 2310, 1318, 2316,  326,  312,  298,
      297, 1404, 1460, 2321, 2333, 2338, 1491, 2343, 2350, 2363,
     2371, 2384, 2398, 2412, 2418, 2423, 2428, 2433, 2445, 2458,
     2472, 2478, 1521, 2483, 2490, 2498, 2511, 2523, 2529, 2535,
     2548,  277,  276, 1603, 2554, 2560, 2567, 2574, 1610, 2581,

     2594, 2608, 2622, 2636, 2642, 2647, 2659, 2672, 2679, 2686,
     2694, 1725, 2702, 2715, 2727, 2733, 2739, 2752, 2765, 2770,
     1753, 2776, 2783, 2788, 1771, 2795, 2807, 2818, 2829, 1810,
     2836, 2843, 2849, 1895, 2856, 2862, 2868, 2874, 2881, 2893,
     2904, 2915, 2926, 2933, 2939, 2946, 2953, 1926, 2959, 2966,
     2978, 2989, 3000, 3011, 3025, 3036, 3043, 2054, 3049, 3056,
     3063, 3073, 3084, 3091, 3097, 3107, 3114
    } ;

static yyconst flex_int16_t yy_def[568] =
    {   0,
      426,  426,  425,    3,  425,    5,  425,    7,  425,    9,
      425,   11,  425,   13,  425,   15,  425,   17,   17,   17,
       17,   17,   17,   17,  425,  425,  425,  427,  425,  425,
      425,  428,  429,  425,  425,  425,  425,  430,  431,  432,
      432,   41,   41,   41,  425,  425,  425,  433,  433,  434,
      425,  425,  425,  425,  435,  435,  436,  425,  425,  425,
      437,  437,  438,  425,  425,  425,  439,  439,  439,  440,
      439,  441,  425,  425,  425,  425,  442,  443,  442,  425,
      425,  425,  444,  444,  445,  444,   84,  444,   84,  444,
       84,  427,  425,  428,  429,  429,  429,  425,  446,  429,

      425,  447,  447,   37,  430,  448,  425,  425,  431,   41,
      449,   41,   41,   41,   41,   41,   41,  425,  450,  450,
       47,  425,   49,   51,  451,  425,  425,   51,  425,  434,
      130,  452,  425,  453,   51,  425,  454,  454,   54,   56,
      436,  425,  141,  455,  141,  425,  456,  456,   60,   62,
      438,  425,  151,  457,  151,  425,  439,  458,  439,  439,
      459,  460,  461,  460,  425,  462,  462,  425,  425,  425,
      425,  463,  463,  464,  425,  425,  425,  465,  170,  466,
      467,  468,  467,  425,  425,  469,  470,  425,  471,  469,
      185,  472,  425,  185,  473,  425,  185,  474,  425,  425,

      425,  425,  475,  476,  477,  478,  479,  479,  208,  208,
      208,  425,  425,  425,  425,  480,  480,  425,  481,  425,
      425,  482,  483,  484,  483,  425,  425,  425,  485,  486,
      425,  487,  488,  425,  489,  490,  491,  425,  492,  493,
      168,  462,  425,  494,  494,  495,  464,  425,  466,  249,
      496,  184,  497,  498,  425,  499,  499,  500,  501,  501,
      425,  502,  502,  425,  503,  503,  425,  504,  504,  425,
      425,  425,  505,  506,  507,  425,  425,  425,  425,  208,
      508,  214,  480,  425,  425,  481,  481,  425,  425,  482,
      290,  509,  425,  510,  511,  425,  512,  512,  513,  425,

      514,  515,  516,  517,  518,  518,  519,  243,  425,  494,
      520,  425,  521,  521,  522,  496,  523,  498,  524,  525,
      525,  526,  500,  425,  425,  425,  425,  425,  425,  527,
      528,  529,  425,  425,  425,  530,  530,  531,  509,  532,
      511,  533,  534,  534,  425,  535,  513,  425,  536,  520,
      425,  521,  537,  425,  524,  355,  538,  425,  525,  539,
      425,  540,  541,  542,  425,  543,  425,  530,  544,  425,
      533,  371,  545,  425,  534,  546,  547,  537,  425,  548,
      548,  549,  538,  550,  539,  551,  552,  553,  554,  555,
      425,  556,  557,  544,  425,  558,  558,  559,  545,  560,

      546,  354,  548,  561,  551,  552,  553,  556,  562,  555,
      555,  425,  563,  370,  558,  564,  565,  561,  566,  425,
      425,  567,  564,  425,    0,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,

      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425
    } ;

static yyconst flex_int16_t yy_nxt[3161] =
    {   0,
      425,   93,   27,   93,  101,   93,  101,   93,   28,   29,
       30,   31,   30,   29,   29,   29,   29,   29,   29,   29,
       29,   29,   32,   29,   29,   33,   33,   33,   33,   33,
       33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
       33,   34,   35,   36,   35,   34,   34,   34,   34,   37,
       38,   34,   38,   34,   39,   34,   34,   40,   41,   42,
       41,   43,   41,   41,   41,   41,   41,   41,   41,   44,
       41,   41,   41,   45,   45,   46,   45,   45,   45,   45,
       45,   47,   48,   45,   48,   45,   49,   45,   50,   51,
       51,   51,   51,   51,   51,   51,   51,   51,   51,   51,

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

       72,   73,   74,   75,   74,   73,   73,   73,   73,   76,
       77,   78,   77,   73,   79,   73,   74,   80,   80,   80,
       80,   80,   80,   80,   80,   80,   80,   80,   80,   80,
       80,   80,   80,   81,   81,   59,   81,   81,   81,   81,
       81,   82,   83,   81,   83,   81,   84,   81,   81,   85,
       85,   85,   85,   85,   85,   85,   85,   85,   85,   85,
       85,   85,   85,   85,   85,   86,   86,   86,   86,   87,
       87,   88,   88,   88,   88,   89,   89,   90,   90,   90,
       90,   91,   91,   94,   98,  104,   98,   96,  240,  239,
      105,   96,  115,   97,  116,  106,   99,  102,  102,  106,

      102,  103,  139,  102,  107,  108,  107,  140,  149,  163,
      164,  102,  102,  150,  102,  103,  109,  102,  107,  108,
      107,   98,  156,   98,  162,  102,  102,  157,  102,  103,
      111,  102,  121,  122,  156,  122,  156,  123,  240,  159,
      160,  157,  156,  113,  107,  108,  107,  157,  168,  164,
      162,  102,  102,  169,  102,  103,  111,  102,  118,  118,
      118,   95,  101,  118,  101,  119,  119,  118,  119,  120,
      365,  119,  118,  125,  126,  125,  365,  278,  126,  278,
      119,  119,  126,  119,  120,  123,  119,  127,  129,  130,
       98,  130,   98,  131,  184,  128,  133,  133,  133,  185,

      420,  133,   99,  119,  119,  133,  119,  120,  134,  119,
      118,  135,  135,  135,  135,  135,  135,  135,  135,  135,
      135,  135,  135,  135,  135,  135,  135,  136,  136,  136,
      365,  184,  136,  365,  137,  137,  191,  137,  138,  184,
      137,  142,  142,  142,  194,  184,  142,  182,  137,  137,
      197,  137,  138,  140,  137,  171,  172,  202,  172,  279,
      173,  279,  203,  143,  136,  136,  136,  365,  212,  136,
      365,  137,  137,  213,  137,  138,  144,  137,  146,  147,
      147,  361,  147,  148,  231,  147,  152,  147,  147,  232,
      147,  148,  150,  147,  192,  193,  192,  107,  108,  107,

      182,  238,  153,  146,  147,  147,  191,  147,  148,  154,
      147,  165,  165,  165,  334,  329,  165,  165,  166,  166,
      165,  166,  167,  234,  166,  175,  175,  175,  235,  328,
      176,  177,  166,  166,  175,  166,  167,  169,  166,  165,
      165,  165,  327,  326,  165,  165,  166,  166,  165,  166,
      167,  178,  166,  325,  179,  179,  179,  179,  179,  179,
      179,  179,  179,  179,  179,  179,  179,  179,  179,  179,
      180,  324,  181,  181,  182,  181,  183,  425,  181,  187,
      188,  187,  157,  333,  180,  333,  181,  181,  182,  181,
      183,  185,  181,  180,  239,  181,  181,  182,  181,  183,

      189,  181,  195,  196,  195,  198,  199,  198,   98,  200,
       98,  200,  300,   98,  194,   98,   98,  197,   98,  202,
       99,   99,  212,  102,  203,  218,  119,  213,   99,  217,
      218,  217,  201,  102,  102,  272,  102,  103,  105,  102,
      102,  102,  163,  102,  103,  205,  102,  107,  108,  107,
      237,  238,  237,  163,  102,  102,  161,  102,  103,  109,
      102,  107,  108,  107,  300,  425,  348,  239,  102,  102,
      159,  102,  103,  151,  102,  219,  220,  219,  129,  227,
      221,  227,  141,  131,  221,  222,  141,  223,  223,  224,
      223,  225,  151,  223,  226,  222,  151,  223,  223,  224,

      223,  225,  158,  223,  228,  222,  158,  223,  223,  224,
      223,  225,  229,  223,  226,  133,  133,  133,  141,  124,
      133,  215,  119,  119,  133,  119,  120,  231,  119,  118,
      211,  137,  232,  136,  136,  136,  210,  156,  136,  209,
      137,  137,  157,  137,  138,  144,  137,  136,  136,  136,
      208,  241,  136,  207,  137,  137,  242,  137,  138,  234,
      137,   94,  163,  147,  235,  146,  147,  147,  161,  147,
      148,  154,  147,  146,  147,  147,  171,  147,  148,  241,
      147,  173,  117,  166,  242,  165,  165,  165,  114,  425,
      165,  165,  166,  166,  165,  166,  167,  252,  166,  175,

      175,  175,  253,   27,  176,  177,  166,  166,  175,  166,
      167,  169,  166,  425,  170,  170,  170,  170,  170,  170,
      170,  170,  170,  170,  170,  170,  170,  170,  170,  170,
      165,  165,  165,  425,  425,  165,  165,  166,  166,  165,
      166,  167,  178,  166,  425,  179,  179,  179,  179,  179,
      179,  179,  179,  179,  179,  179,  179,  179,  179,  179,
      179,  244,  244,  425,  244,  245,  170,  244,  244,  244,
      170,  244,  245,  173,  244,  244,  244,  425,  244,  245,
      246,  244,  165,  165,  165,  425,  425,  165,  165,  166,
      166,  165,  166,  167,  425,  166,  248,  249,  200,  249,

      200,  250,  255,  256,  252,  256,  293,  257,  181,  253,
      180,  294,  181,  181,  182,  181,  183,  271,  181,  187,
      188,  187,  425,  425,  180,  425,  181,  181,  182,  181,
      183,  185,  181,  425,  186,  186,  186,  186,  186,  186,
      186,  186,  186,  186,  186,  186,  186,  186,  186,  186,
      180,  425,  181,  181,  182,  181,  183,  189,  181,  260,
      261,  260,  180,  425,  181,  181,  182,  181,  183,  425,
      181,  180,  425,  181,  181,  182,  181,  183,  189,  181,
      192,  193,  192,  263,  264,  263,  195,  196,  195,  266,
      267,  266,  191,  198,  199,  198,  425,  425,  194,  269,

      270,  269,  217,  218,  217,  197,  102,  102,  425,  102,
      103,  186,  102,  102,  102,  186,  102,  103,  203,  102,
      102,  102,  425,  102,  103,  273,  102,  102,  102,  425,
      102,  103,  204,  102,  102,  102,  204,  102,  103,  205,
      102,  275,  276,  275,  287,  288,  287,  425,  102,  102,
      425,  102,  103,  111,  102,  277,  108,  277,  107,  309,
      107,  425,  102,  102,  310,  102,  103,  111,  102,  289,
      290,  293,  290,  309,  291,  223,  294,  244,  310,  280,
      118,  118,  118,  425,  425,  118,  425,  119,  119,  118,
      119,  120,  425,  119,  118,  118,  118,  118,  425,  425,

      118,  425,  119,  119,  118,  119,  120,  213,  119,  118,
      214,  214,  214,  214,  214,  214,  214,  214,  214,  214,
      214,  214,  214,  214,  214,  214,  118,  118,  118,  425,
      425,  118,  425,  119,  119,  118,  119,  120,  281,  119,
      118,  282,  282,  282,  282,  282,  282,  282,  282,  282,
      282,  282,  282,  282,  282,  282,  282,  283,  284,  283,
      296,  297,  284,  297,  425,  298,  284,  425,  255,  215,
      425,  285,  222,  257,  223,  223,  224,  223,  225,  214,
      223,  226,  222,  214,  223,  223,  224,  223,  225,  229,
      223,  226,  136,  136,  136,  425,  296,  136,  425,  137,

      137,  298,  137,  138,  351,  137,  136,  136,  136,  352,
      358,  136,  425,  137,  137,  359,  137,  138,  232,  137,
      136,  136,  136,  425,  224,  136,  425,  137,  137,  345,
      137,  138,  301,  137,  146,  147,  147,  425,  147,  148,
      367,  147,  146,  147,  147,  368,  147,  148,  235,  147,
      146,  147,  147,  425,  147,  148,  303,  147,  306,  238,
      306,  165,  165,  165,  425,  425,  165,  165,  166,  166,
      165,  166,  167,  242,  166,  165,  165,  165,  425,  425,
      165,  165,  166,  166,  165,  166,  167,  307,  166,  425,
      308,  308,  308,  308,  308,  308,  308,  308,  308,  308,

      308,  308,  308,  308,  308,  308,  244,  244,  425,  244,
      245,  233,  244,  244,  244,  233,  244,  245,  246,  244,
      312,  313,  313,  425,  313,  314,  236,  313,  248,  425,
      236,  425,  374,  250,  312,  313,  313,  375,  313,  314,
      402,  313,  312,  313,  313,  403,  313,  314,  315,  313,
      180,  425,  181,  181,  182,  181,  183,  253,  181,  180,
      425,  181,  181,  182,  181,  183,  317,  181,  319,  425,
      320,  320,  182,  320,  321,  425,  320,  319,  425,  320,
      320,  182,  320,  321,  257,  320,  319,  425,  320,  320,
      182,  320,  321,  322,  320,  260,  261,  260,  263,  264,

      263,  266,  267,  266,  269,  270,  269,  102,  102,  425,
      102,  103,  243,  102,  102,  102,  243,  102,  103,  273,
      102,  275,  276,  330,  331,  277,  108,  277,  278,  108,
      278,  279,  108,  279,  118,  118,  118,  425,  425,  118,
      425,  119,  119,  118,  119,  120,  425,  119,  118,  217,
      218,  217,  219,  220,  219,  425,  425,  221,  287,  288,
      287,  221,  335,  336,  336,  425,  336,  337,  174,  336,
      289,  425,  174,  425,  224,  291,  335,  336,  336,  345,
      336,  337,  414,  336,  335,  336,  336,  415,  336,  337,
      338,  336,  222,  425,  223,  223,  224,  223,  225,  254,

      223,  226,  222,  254,  223,  223,  224,  223,  225,  294,
      223,  226,  222,  425,  223,  223,  224,  223,  225,  340,
      223,  226,  342,  425,  343,  343,  224,  343,  344,  295,
      343,  345,  342,  295,  343,  343,  224,  343,  344,  298,
      343,  345,  342,  425,  343,  343,  224,  343,  344,  346,
      343,  345,  136,  136,  136,  425,  425,  136,  425,  137,
      137,  425,  137,  138,  425,  137,  136,  136,  136,  425,
      425,  136,  425,  137,  137,  425,  137,  138,  301,  137,
      146,  147,  147,  425,  147,  148,  425,  147,  146,  147,
      147,  425,  147,  148,  303,  147,  306,  238,  306,  165,

      165,  165,  425,  425,  165,  165,  166,  166,  165,  166,
      167,  311,  166,  244,  244,  311,  244,  245,  258,  244,
      244,  244,  258,  244,  245,  310,  244,  244,  244,  425,
      244,  245,  349,  244,  351,  333,  108,  333,  313,  352,
      312,  313,  313,  425,  313,  314,  425,  313,  312,  313,
      313,  425,  313,  314,  315,  313,  180,  425,  181,  181,
      182,  181,  183,  425,  181,  180,  425,  181,  181,  182,
      181,  183,  317,  181,  354,  355,  358,  355,  425,  356,
      320,  359,  319,  425,  320,  320,  182,  320,  321,  425,
      320,  319,  425,  320,  320,  182,  320,  321,  322,  320,

      275,  276,  362,  331,  367,  390,  391,  390,  336,  368,
      335,  336,  336,  425,  336,  337,  425,  336,  335,  336,
      336,  425,  336,  337,  338,  336,  222,  425,  223,  223,
      224,  223,  225,  299,  223,  226,  222,  299,  223,  223,
      224,  223,  225,  340,  223,  226,  370,  371,  374,  371,
      425,  372,  343,  375,  342,  425,  343,  343,  224,  343,
      344,  353,  343,  345,  342,  353,  343,  343,  224,  343,
      344,  346,  343,  345,  244,  244,  425,  244,  245,  360,
      244,  244,  244,  360,  244,  245,  349,  244,  312,  313,
      313,  425,  313,  314,  425,  313,  312,  313,  313,  425,

      313,  314,  352,  313,  312,  313,  313,  425,  313,  314,
      377,  313,  379,  380,  380,  425,  380,  381,  369,  380,
      354,  425,  369,  425,  425,  356,  379,  380,  380,  425,
      380,  381,  425,  380,  379,  380,  380,  425,  380,  381,
      382,  380,  319,  425,  320,  320,  182,  320,  321,  425,
      320,  319,  425,  320,  320,  182,  320,  321,  359,  320,
      319,  425,  320,  320,  182,  320,  321,  384,  320,  275,
      276,  386,  331,  335,  336,  336,  425,  336,  337,  425,
      336,  335,  336,  336,  425,  336,  337,  368,  336,  335,
      336,  336,  425,  336,  337,  393,  336,  395,  396,  396,

      425,  396,  397,  376,  396,  370,  425,  376,  425,  425,
      372,  395,  396,  396,  425,  396,  397,  425,  396,  395,
      396,  396,  425,  396,  397,  398,  396,  342,  425,  343,
      343,  224,  343,  344,  404,  343,  345,  342,  404,  343,
      343,  224,  343,  344,  375,  343,  345,  342,  425,  343,
      343,  224,  343,  344,  400,  343,  345,  312,  313,  313,
      425,  313,  314,  425,  313,  312,  313,  313,  425,  313,
      314,  377,  313,  402,  411,  412,  411,  380,  403,  379,
      380,  380,  425,  380,  381,  425,  380,  379,  380,  380,
      425,  380,  381,  382,  380,  319,  425,  320,  320,  182,

      320,  321,  425,  320,  319,  425,  320,  320,  182,  320,
      321,  384,  320,  275,  276,  405,  331,  335,  336,  336,
      425,  336,  337,  425,  336,  335,  336,  336,  425,  336,
      337,  393,  336,  414,  411,  412,  411,  396,  415,  395,
      396,  396,  425,  396,  397,  425,  396,  395,  396,  396,
      425,  396,  397,  398,  396,  342,  425,  343,  343,  224,
      343,  344,  416,  343,  345,  342,  416,  343,  343,  224,
      343,  344,  400,  343,  345,  379,  380,  380,  425,  380,
      381,  403,  380,  379,  380,  380,  425,  380,  381,  417,
      380,  275,  276,  405,  331,  395,  396,  396,  425,  396,

      397,  415,  396,  395,  396,  396,  425,  396,  397,  422,
      396,  379,  380,  380,  425,  380,  381,  425,  380,  379,
      380,  380,  425,  380,  381,  417,  380,  395,  396,  396,
      425,  396,  397,  425,  396,  395,  396,  396,  425,  396,
      397,  422,  396,   26,   26,   26,   26,   26,   26,   26,
       26,   26,   26,   26,   26,   26,   26,   92,   92,  425,
       92,   92,   92,   92,   92,   92,   92,   92,   92,   92,
       92,  100,  425,  100,  425,  425,  425,  425,  425,  425,
      425,  425,  100,  110,  110,  110,  425,  425,  425,  425,
      110,  110,  425,  110,  110,  112,  112,  112,  425,  425,

      425,  425,  112,  112,  425,  112,  112,  124,  124,  425,
      425,  124,  132,  132,  425,  425,  132,  145,  145,  145,
      425,  425,  145,  425,  145,  145,  425,  145,  145,  155,
      155,  155,  425,  155,  155,  174,  174,  425,  425,  174,
      190,  425,  190,  190,  190,  190,  190,   99,  425,   99,
      425,  425,  425,  425,  425,  425,  425,  425,   99,  206,
      206,  425,  206,  206,  111,  111,  111,  425,  425,  425,
      425,  111,  111,  425,  111,  111,  216,  216,  216,  216,
      216,  216,  216,  216,  216,  216,  216,  216,  216,  216,
      230,  425,  230,  230,  230,  230,  230,  230,  134,  134,

      134,  425,  425,  134,  425,  134,  134,  134,  134,  134,
      134,  144,  144,  144,  425,  425,  144,  425,  144,  144,
      425,  144,  144,  154,  154,  154,  425,  154,  154,  247,
      247,  425,  247,  247,  178,  178,  178,  425,  425,  178,
      178,  178,  178,  178,  178,  178,  251,  251,  425,  425,
      251,  258,  258,  425,  425,  258,  190,  425,  190,  190,
      190,  190,  190,  259,  259,  259,  259,  259,  259,  259,
      259,  259,  259,  259,  259,  259,  259,  189,  425,  189,
      189,  189,  189,  189,  262,  262,  262,  262,  262,  262,
      262,  262,  262,  262,  262,  262,  262,  262,  265,  265,

      265,  265,  265,  265,  265,  265,  265,  265,  265,  265,
      265,  265,  268,  268,  268,  268,  268,  268,  268,  268,
      268,  268,  268,  268,  268,  268,  204,  204,  425,  204,
      204,  274,  274,  425,  274,  274,  205,  205,  425,  205,
      205,  206,  206,  425,  206,  206,  112,  112,  112,  425,
      425,  425,  425,  112,  112,  425,  112,  112,  216,  216,
      216,  216,  216,  216,  216,  216,  216,  216,  216,  216,
      216,  216,  286,  286,  286,  286,  286,  286,  286,  286,
      286,  286,  286,  286,  286,  286,  292,  292,  425,  425,
      292,  299,  299,  425,  425,  299,  229,  425,  229,  229,

      229,  229,  229,  229,  230,  425,  230,  230,  230,  230,
      230,  230,  233,  233,  233,  425,  425,  233,  425,  233,
      233,  425,  233,  233,  302,  302,  302,  425,  425,  302,
      425,  302,  302,  425,  302,  302,  236,  236,  236,  425,
      236,  236,  304,  304,  304,  425,  304,  304,  305,  305,
      305,  305,  305,  305,  305,  305,  305,  305,  305,  305,
      305,  305,  246,  246,  425,  246,  246,  316,  316,  316,
      425,  316,  316,  254,  425,  254,  254,  254,  254,  254,
      318,  425,  318,  318,  318,  318,  318,  323,  425,  323,
      323,  323,  323,  323,  259,  259,  259,  259,  259,  259,

      259,  259,  259,  259,  259,  259,  259,  259,  262,  262,
      262,  262,  262,  262,  262,  262,  262,  262,  262,  262,
      262,  262,  265,  265,  265,  265,  265,  265,  265,  265,
      265,  265,  265,  265,  265,  265,  268,  268,  268,  268,
      268,  268,  268,  268,  268,  268,  268,  268,  268,  268,
      273,  273,  425,  273,  273,  274,  274,  425,  274,  274,
      332,  332,  332,  332,  332,  332,  332,  332,  332,  332,
      332,  332,  332,  281,  281,  281,  425,  425,  281,  425,
      281,  281,  281,  281,  281,  281,  339,  339,  339,  425,
      339,  339,  295,  425,  295,  295,  295,  295,  295,  295,

      341,  425,  341,  341,  341,  341,  341,  341,  347,  425,
      347,  347,  347,  347,  347,  347,  301,  301,  301,  425,
      425,  301,  425,  301,  301,  425,  301,  301,  302,  302,
      302,  425,  425,  302,  425,  302,  302,  425,  302,  302,
      303,  303,  303,  425,  303,  303,  304,  304,  304,  425,
      304,  304,  305,  305,  305,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  305,  307,  307,  307,  425,
      425,  307,  307,  307,  307,  307,  307,  307,  350,  350,
      425,  350,  350,  315,  315,  315,  425,  315,  315,  317,
      425,  317,  317,  317,  317,  317,  357,  357,  425,  425,

      357,  322,  425,  322,  322,  322,  322,  322,  363,  363,
      363,  363,  363,  363,  363,  363,  363,  363,  363,  363,
      363,  364,  364,  364,  364,  364,  364,  364,  364,  364,
      364,  364,  366,  425,  366,  366,  366,  366,  366,  366,
      366,  366,  366,  338,  338,  338,  425,  338,  338,  340,
      425,  340,  340,  340,  340,  340,  340,  373,  373,  425,
      425,  373,  346,  425,  346,  346,  346,  346,  346,  346,
      349,  349,  425,  349,  349,  378,  378,  378,  425,  378,
      378,  383,  383,  383,  425,  383,  383,  385,  425,  385,
      385,  385,  385,  385,  387,  387,  387,  387,  387,  387,

      387,  387,  387,  387,  387,  387,  387,  388,  425,  388,
      388,  388,  388,  388,  388,  388,  388,  388,  389,  389,
      389,  389,  389,  389,  389,  389,  389,  389,  389,  392,
      425,  392,  392,  392,  392,  392,  392,  392,  392,  392,
      394,  394,  394,  425,  394,  394,  399,  399,  399,  425,
      399,  399,  401,  425,  401,  401,  401,  401,  401,  401,
      377,  377,  377,  425,  377,  377,  382,  382,  382,  425,
      382,  382,  384,  425,  384,  384,  384,  384,  384,  406,
      406,  406,  406,  406,  406,  406,  406,  406,  406,  406,
      406,  406,  407,  425,  407,  407,  407,  407,  407,  407,

      407,  407,  407,  408,  425,  408,  408,  408,  408,  408,
      408,  408,  408,  408,  409,  409,  409,  409,  409,  409,
      409,  409,  409,  409,  409,  410,  410,  410,  410,  410,
      410,  410,  410,  410,  410,  410,  410,  410,  410,  413,
      425,  413,  413,  413,  413,  413,  413,  413,  413,  413,
      393,  393,  393,  425,  393,  393,  398,  398,  398,  425,
      398,  398,  400,  425,  400,  400,  400,  400,  400,  400,
      418,  418,  418,  425,  418,  418,  419,  419,  419,  419,
      419,  419,  419,  419,  419,  419,  419,  421,  425,  421,
      421,  421,  421,  421,  421,  421,  421,  421,  423,  423,

      423,  425,  423,  423,  417,  417,  417,  425,  417,  417,
      424,  424,  424,  424,  424,  424,  424,  424,  424,  424,
      424,  422,  422,  422,  425,  422,  422,   25,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425
    } ;

static yyconst flex_int16_t yy_chk[3161] =
    {   0,
        0,   30,    2,   30,   35,   93,   35,   93,    2,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    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,    7,    7,    7,    7,
        7,    7,    7,    7,    7,    7,    7,    7,    7,    7,
        7,    7,    7,    7,    7,    7,    7,    7,    7,    7,

        7,    7,    7,    7,    7,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,   11,   11,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,   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,   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,   20,   19,   20,   19,
       20,   21,   22,   21,   22,   21,   22,   23,   24,   23,
       24,   23,   24,   32,   33,   38,   33,   32,  493,  492,
       38,   32,   43,   32,   43,  430,   33,   37,   37,  430,

       37,   37,   55,   37,   39,   39,   39,   55,   61,  461,
      460,   39,   39,   61,   39,   39,   39,   39,   40,   40,
       40,   99,   67,   99,  459,   40,   40,   67,   40,   40,
       40,   40,   48,   48,   68,   48,   69,   48,  458,   68,
       69,   69,   71,   40,   41,   41,   41,   71,   77,  441,
      440,   41,   41,   77,   41,   41,   41,   41,   47,   47,
       47,  428,  101,   47,  101,   47,   47,   47,   47,   47,
      424,   47,   47,   49,   49,   49,  419,  209,   49,  209,
       49,   49,   49,   49,   49,   49,   49,   49,   50,   50,
       95,   50,   95,   50,   83,   49,   51,   51,   51,   83,

      410,   51,   95,   51,   51,   51,   51,   51,   51,   51,
       51,   51,   51,   51,   51,   51,   51,   51,   51,   51,
       51,   51,   51,   51,   51,   51,   51,   54,   54,   54,
      409,   86,   54,  389,   54,   54,   86,   54,   54,   88,
       54,   56,   56,   56,   88,   90,   56,  379,   56,   56,
       90,   56,   56,   56,   56,   78,   78,  102,   78,  210,
       78,  210,  102,   56,   57,   57,   57,  364,  119,   57,
      331,   57,   57,  119,   57,   57,   57,   57,   60,   60,
       60,  328,   60,   60,  137,   60,   62,   62,   62,  137,
       62,   62,   62,   62,   87,   87,   87,  107,  107,  107,

      312,  305,   62,   63,   63,   63,   87,   63,   63,   63,
       63,   76,   76,   76,  286,  272,   76,   76,   76,   76,
       76,   76,   76,  147,   76,   79,   79,   79,  147,  271,
       79,   79,   79,   79,   79,   79,   79,   79,   79,   80,
       80,   80,  268,  265,   80,   80,   80,   80,   80,   80,
       80,   80,   80,  262,   80,   80,   80,   80,   80,   80,
       80,   80,   80,   80,   80,   80,   80,   80,   80,   80,
       82,  259,   82,   82,   82,   82,   82,  157,   82,   84,
       84,   84,  157,  280,   84,  280,   84,   84,   84,   84,
       84,   84,   84,   85,  240,   85,   85,   85,   85,   85,

       85,   85,   89,   89,   89,   91,   91,   91,   96,   97,
       96,   97,  227,   98,   89,   98,  100,   91,  100,  103,
       96,   97,  120,  103,  103,  216,  120,  120,  100,  125,
      125,  125,   98,  105,  105,  201,  105,  105,  105,  105,
      106,  106,  164,  106,  106,  106,  106,  109,  109,  109,
      152,  152,  152,  162,  109,  109,  161,  109,  109,  109,
      109,  111,  111,  111,  300,  159,  300,  158,  111,  111,
      159,  111,  111,  150,  111,  127,  127,  127,  130,  130,
      127,  130,  435,  130,  127,  129,  435,  129,  129,  129,
      129,  129,  437,  129,  129,  131,  437,  131,  131,  131,

      131,  131,  439,  131,  131,  132,  439,  132,  132,  132,
      132,  132,  132,  132,  132,  134,  134,  134,  140,  123,
      134,  122,  134,  134,  134,  134,  134,  138,  134,  134,
      117,  138,  138,  141,  141,  141,  116,  160,  141,  115,
      141,  141,  160,  141,  141,  141,  141,  144,  144,  144,
      114,  166,  144,  113,  144,  144,  166,  144,  144,  148,
      144,   94,   72,  148,  148,  151,  151,  151,   70,  151,
      151,  151,  151,  154,  154,  154,  172,  154,  154,  167,
      154,  172,   44,  167,  167,  168,  168,  168,   42,   25,
      168,  168,  168,  168,  168,  168,  168,  181,  168,  169,

      169,  169,  181,    1,  169,  169,  169,  169,  169,  169,
      169,  169,  169,    0,  169,  169,  169,  169,  169,  169,
      169,  169,  169,  169,  169,  169,  169,  169,  169,  169,
      170,  170,  170,    0,    0,  170,  170,  170,  170,  170,
      170,  170,  170,  170,    0,  170,  170,  170,  170,  170,
      170,  170,  170,  170,  170,  170,  170,  170,  170,  170,
      170,  171,  171,    0,  171,  171,  442,  171,  173,  173,
      442,  173,  173,  173,  173,  174,  174,    0,  174,  174,
      174,  174,  178,  178,  178,    0,    0,  178,  178,  178,
      178,  178,  178,  178,    0,  178,  180,  180,  200,  180,

      200,  180,  182,  182,  183,  182,  223,  182,  183,  183,
      184,  223,  184,  184,  184,  184,  184,  200,  184,  185,
      185,  185,    0,    0,  185,    0,  185,  185,  185,  185,
      185,  185,  185,    0,  185,  185,  185,  185,  185,  185,
      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,
      186,    0,  186,  186,  186,  186,  186,  186,  186,  187,
      187,  187,  189,    0,  189,  189,  189,  189,  189,    0,
      189,  190,    0,  190,  190,  190,  190,  190,  190,  190,
      191,  191,  191,  192,  192,  192,  194,  194,  194,  195,
      195,  195,  191,  197,  197,  197,    0,    0,  194,  198,

      198,  198,  217,  217,  217,  197,  202,  202,    0,  202,
      202,  444,  202,  203,  203,  444,  203,  203,  203,  203,
      204,  204,    0,  204,  204,  204,  204,  205,  205,    0,
      205,  205,  447,  205,  206,  206,  447,  206,  206,  206,
      206,  207,  207,  207,  219,  219,  219,    0,  207,  207,
        0,  207,  207,  207,  207,  208,  208,  208,  211,  244,
      211,    0,  208,  208,  244,  208,  208,  208,  208,  222,
      222,  225,  222,  245,  222,  225,  225,  245,  245,  211,
      212,  212,  212,    0,    0,  212,    0,  212,  212,  212,
      212,  212,    0,  212,  212,  213,  213,  213,    0,    0,

      213,    0,  213,  213,  213,  213,  213,  213,  213,  213,
      213,  213,  213,  213,  213,  213,  213,  213,  213,  213,
      213,  213,  213,  213,  213,  213,  214,  214,  214,    0,
        0,  214,    0,  214,  214,  214,  214,  214,  214,  214,
      214,  214,  214,  214,  214,  214,  214,  214,  214,  214,
      214,  214,  214,  214,  214,  214,  214,  215,  215,  215,
      224,  224,  215,  224,    0,  224,  215,    0,  256,  215,
        0,  215,  229,  256,  229,  229,  229,  229,  229,  450,
      229,  229,  230,  450,  230,  230,  230,  230,  230,  230,
      230,  230,  231,  231,  231,    0,  297,  231,    0,  231,

      231,  297,  231,  231,  313,  231,  232,  232,  232,  313,
      320,  232,    0,  232,  232,  320,  232,  232,  232,  232,
      233,  233,  233,    0,  335,  233,    0,  233,  233,  335,
      233,  233,  233,  233,  234,  234,  234,    0,  234,  234,
      336,  234,  235,  235,  235,  336,  235,  235,  235,  235,
      236,  236,  236,    0,  236,  236,  236,  236,  237,  237,
      237,  242,  242,  242,    0,    0,  242,  242,  242,  242,
      242,  242,  242,  242,  242,  243,  243,  243,    0,    0,
      243,  243,  243,  243,  243,  243,  243,  243,  243,    0,
      243,  243,  243,  243,  243,  243,  243,  243,  243,  243,

      243,  243,  243,  243,  243,  243,  246,  246,    0,  246,
      246,  454,  246,  247,  247,  454,  247,  247,  247,  247,
      248,  248,  248,    0,  248,  248,  456,  248,  249,  249,
      456,  249,  343,  249,  250,  250,  250,  343,  250,  250,
      380,  250,  251,  251,  251,  380,  251,  251,  251,  251,
      253,    0,  253,  253,  253,  253,  253,  253,  253,  254,
        0,  254,  254,  254,  254,  254,  254,  254,  255,    0,
      255,  255,  255,  255,  255,    0,  255,  257,    0,  257,
      257,  257,  257,  257,  257,  257,  258,    0,  258,  258,
      258,  258,  258,  258,  258,  260,  260,  260,  263,  263,

      263,  266,  266,  266,  269,  269,  269,  273,  273,    0,
      273,  273,  462,  273,  274,  274,  462,  274,  274,  274,
      274,  275,  275,  275,  275,  277,  277,  277,  278,  278,
      278,  279,  279,  279,  281,  281,  281,    0,    0,  281,
        0,  281,  281,  281,  281,  281,    0,  281,  281,  283,
      283,  283,  285,  285,  285,    0,    0,  285,  287,  287,
      287,  285,  289,  289,  289,    0,  289,  289,  463,  289,
      290,  290,  463,  290,  395,  290,  291,  291,  291,  395,
      291,  291,  396,  291,  292,  292,  292,  396,  292,  292,
      292,  292,  293,    0,  293,  293,  293,  293,  293,  467,

      293,  293,  294,  467,  294,  294,  294,  294,  294,  294,
      294,  294,  295,    0,  295,  295,  295,  295,  295,  295,
      295,  295,  296,    0,  296,  296,  296,  296,  296,  483,
      296,  296,  298,  483,  298,  298,  298,  298,  298,  298,
      298,  298,  299,    0,  299,  299,  299,  299,  299,  299,
      299,  299,  301,  301,  301,    0,    0,  301,    0,  301,
      301,    0,  301,  301,    0,  301,  302,  302,  302,    0,
        0,  302,    0,  302,  302,    0,  302,  302,  302,  302,
      303,  303,  303,    0,  303,  303,    0,  303,  304,  304,
      304,    0,  304,  304,  304,  304,  306,  306,  306,  307,

      307,  307,    0,    0,  307,  307,  307,  307,  307,  307,
      307,  494,  307,  309,  309,  494,  309,  309,  499,  309,
      310,  310,  499,  310,  310,  310,  310,  311,  311,    0,
      311,  311,  311,  311,  314,  333,  333,  333,  314,  314,
      315,  315,  315,    0,  315,  315,    0,  315,  316,  316,
      316,    0,  316,  316,  316,  316,  317,    0,  317,  317,
      317,  317,  317,    0,  317,  318,    0,  318,  318,  318,
      318,  318,  318,  318,  319,  319,  321,  319,    0,  319,
      321,  321,  322,    0,  322,  322,  322,  322,  322,    0,
      322,  323,    0,  323,  323,  323,  323,  323,  323,  323,

      330,  330,  330,  330,  337,  365,  365,  365,  337,  337,
      338,  338,  338,    0,  338,  338,    0,  338,  339,  339,
      339,    0,  339,  339,  339,  339,  340,    0,  340,  340,
      340,  340,  340,  512,  340,  340,  341,  512,  341,  341,
      341,  341,  341,  341,  341,  341,  342,  342,  344,  342,
        0,  342,  344,  344,  346,    0,  346,  346,  346,  346,
      346,  521,  346,  346,  347,  521,  347,  347,  347,  347,
      347,  347,  347,  347,  349,  349,    0,  349,  349,  525,
      349,  350,  350,  525,  350,  350,  350,  350,  351,  351,
      351,    0,  351,  351,    0,  351,  352,  352,  352,    0,

      352,  352,  352,  352,  353,  353,  353,    0,  353,  353,
      353,  353,  354,  354,  354,    0,  354,  354,  530,  354,
      355,  355,  530,  355,    0,  355,  356,  356,  356,    0,
      356,  356,    0,  356,  357,  357,  357,    0,  357,  357,
      357,  357,  358,    0,  358,  358,  358,  358,  358,    0,
      358,  359,    0,  359,  359,  359,  359,  359,  359,  359,
      360,    0,  360,  360,  360,  360,  360,  360,  360,  362,
      362,  362,  362,  367,  367,  367,    0,  367,  367,    0,
      367,  368,  368,  368,    0,  368,  368,  368,  368,  369,
      369,  369,    0,  369,  369,  369,  369,  370,  370,  370,

        0,  370,  370,  534,  370,  371,  371,  534,  371,    0,
      371,  372,  372,  372,    0,  372,  372,    0,  372,  373,
      373,  373,    0,  373,  373,  373,  373,  374,    0,  374,
      374,  374,  374,  374,  548,  374,  374,  375,  548,  375,
      375,  375,  375,  375,  375,  375,  375,  376,    0,  376,
      376,  376,  376,  376,  376,  376,  376,  377,  377,  377,
        0,  377,  377,    0,  377,  378,  378,  378,    0,  378,
      378,  378,  378,  381,  390,  390,  390,  381,  381,  382,
      382,  382,    0,  382,  382,    0,  382,  383,  383,  383,
        0,  383,  383,  383,  383,  384,    0,  384,  384,  384,

      384,  384,    0,  384,  385,    0,  385,  385,  385,  385,
      385,  385,  385,  386,  386,  386,  386,  393,  393,  393,
        0,  393,  393,    0,  393,  394,  394,  394,    0,  394,
      394,  394,  394,  397,  411,  411,  411,  397,  397,  398,
      398,  398,    0,  398,  398,    0,  398,  399,  399,  399,
        0,  399,  399,  399,  399,  400,    0,  400,  400,  400,
      400,  400,  558,  400,  400,  401,  558,  401,  401,  401,
      401,  401,  401,  401,  401,  403,  403,  403,    0,  403,
      403,  403,  403,  404,  404,  404,    0,  404,  404,  404,
      404,  405,  405,  405,  405,  415,  415,  415,    0,  415,

      415,  415,  415,  416,  416,  416,    0,  416,  416,  416,
      416,  417,  417,  417,    0,  417,  417,    0,  417,  418,
      418,  418,    0,  418,  418,  418,  418,  422,  422,  422,
        0,  422,  422,    0,  422,  423,  423,  423,    0,  423,
      423,  423,  423,  426,  426,  426,  426,  426,  426,  426,
      426,  426,  426,  426,  426,  426,  426,  427,  427,    0,
      427,  427,  427,  427,  427,  427,  427,  427,  427,  427,
      427,  429,    0,  429,    0,    0,    0,    0,    0,    0,
        0,    0,  429,  431,  431,  431,    0,    0,    0,    0,
      431,  431,    0,  431,  431,  432,  432,  432,    0,    0,

        0,    0,  432,  432,    0,  432,  432,  433,  433,    0,
        0,  433,  434,  434,    0,    0,  434,  436,  436,  436,
        0,    0,  436,    0,  436,  436,    0,  436,  436,  438,
      438,  438,    0,  438,  438,  443,  443,    0,    0,  443,
      445,    0,  445,  445,  445,  445,  445,  446,    0,  446,
        0,    0,    0,    0,    0,    0,    0,    0,  446,  448,
      448,    0,  448,  448,  449,  449,  449,    0,    0,    0,
        0,  449,  449,    0,  449,  449,  451,  451,  451,  451,
      451,  451,  451,  451,  451,  451,  451,  451,  451,  451,
      452,    0,  452,  452,  452,  452,  452,  452,  453,  453,

      453,    0,    0,  453,    0,  453,  453,  453,  453,  453,
      453,  455,  455,  455,    0,    0,  455,    0,  455,  455,
        0,  455,  455,  457,  457,  457,    0,  457,  457,  464,
      464,    0,  464,  464,  465,  465,  465,    0,    0,  465,
      465,  465,  465,  465,  465,  465,  466,  466,    0,    0,
      466,  468,  468,    0,    0,  468,  469,    0,  469,  469,
      469,  469,  469,  470,  470,  470,  470,  470,  470,  470,
      470,  470,  470,  470,  470,  470,  470,  471,    0,  471,
      471,  471,  471,  471,  472,  472,  472,  472,  472,  472,
      472,  472,  472,  472,  472,  472,  472,  472,  473,  473,

      473,  473,  473,  473,  473,  473,  473,  473,  473,  473,
      473,  473,  474,  474,  474,  474,  474,  474,  474,  474,
      474,  474,  474,  474,  474,  474,  475,  475,    0,  475,
      475,  476,  476,    0,  476,  476,  477,  477,    0,  477,
      477,  478,  478,    0,  478,  478,  479,  479,  479,    0,
        0,    0,    0,  479,  479,    0,  479,  479,  480,  480,
      480,  480,  480,  480,  480,  480,  480,  480,  480,  480,
      480,  480,  481,  481,  481,  481,  481,  481,  481,  481,
      481,  481,  481,  481,  481,  481,  482,  482,    0,    0,
      482,  484,  484,    0,    0,  484,  485,    0,  485,  485,

      485,  485,  485,  485,  486,    0,  486,  486,  486,  486,
      486,  486,  487,  487,  487,    0,    0,  487,    0,  487,
      487,    0,  487,  487,  488,  488,  488,    0,    0,  488,
        0,  488,  488,    0,  488,  488,  489,  489,  489,    0,
      489,  489,  490,  490,  490,    0,  490,  490,  491,  491,
      491,  491,  491,  491,  491,  491,  491,  491,  491,  491,
      491,  491,  495,  495,    0,  495,  495,  496,  496,  496,
        0,  496,  496,  497,    0,  497,  497,  497,  497,  497,
      498,    0,  498,  498,  498,  498,  498,  500,    0,  500,
      500,  500,  500,  500,  501,  501,  501,  501,  501,  501,

      501,  501,  501,  501,  501,  501,  501,  501,  502,  502,
      502,  502,  502,  502,  502,  502,  502,  502,  502,  502,
      502,  502,  503,  503,  503,  503,  503,  503,  503,  503,
      503,  503,  503,  503,  503,  503,  504,  504,  504,  504,
      504,  504,  504,  504,  504,  504,  504,  504,  504,  504,
      505,  505,    0,  505,  505,  506,  506,    0,  506,  506,
      507,  507,  507,  507,  507,  507,  507,  507,  507,  507,
      507,  507,  507,  508,  508,  508,    0,    0,  508,    0,
      508,  508,  508,  508,  508,  508,  509,  509,  509,    0,
      509,  509,  510,    0,  510,  510,  510,  510,  510,  510,

      511,    0,  511,  511,  511,  511,  511,  511,  513,    0,
      513,  513,  513,  513,  513,  513,  514,  514,  514,    0,
        0,  514,    0,  514,  514,    0,  514,  514,  515,  515,
      515,    0,    0,  515,    0,  515,  515,    0,  515,  515,
      516,  516,  516,    0,  516,  516,  517,  517,  517,    0,
      517,  517,  518,  518,  518,  518,  518,  518,  518,  518,
      518,  518,  518,  518,  518,  518,  519,  519,  519,    0,
        0,  519,  519,  519,  519,  519,  519,  519,  520,  520,
        0,  520,  520,  522,  522,  522,    0,  522,  522,  523,
        0,  523,  523,  523,  523,  523,  524,  524,    0,    0,

      524,  526,    0,  526,  526,  526,  526,  526,  527,  527,
      527,  527,  527,  527,  527,  527,  527,  527,  527,  527,
      527,  528,  528,  528,  528,  528,  528,  528,  528,  528,
      528,  528,  529,    0,  529,  529,  529,  529,  529,  529,
      529,  529,  529,  531,  531,  531,    0,  531,  531,  532,
        0,  532,  532,  532,  532,  532,  532,  533,  533,    0,
        0,  533,  535,    0,  535,  535,  535,  535,  535,  535,
      536,  536,    0,  536,  536,  537,  537,  537,    0,  537,
      537,  538,  538,  538,    0,  538,  538,  539,    0,  539,
      539,  539,  539,  539,  540,  540,  540,  540,  540,  540,

      540,  540,  540,  540,  540,  540,  540,  541,    0,  541,
      541,  541,  541,  541,  541,  541,  541,  541,  542,  542,
      542,  542,  542,  542,  542,  542,  542,  542,  542,  543,
        0,  543,  543,  543,  543,  543,  543,  543,  543,  543,
      544,  544,  544,    0,  544,  544,  545,  545,  545,    0,
      545,  545,  546,    0,  546,  546,  546,  546,  546,  546,
      547,  547,  547,    0,  547,  547,  549,  549,  549,    0,
      549,  549,  550,    0,  550,  550,  550,  550,  550,  551,
      551,  551,  551,  551,  551,  551,  551,  551,  551,  551,
      551,  551,  552,    0,  552,  552,  552,  552,  552,  552,

      552,  552,  552,  553,    0,  553,  553,  553,  553,  553,
      553,  553,  553,  553,  554,  554,  554,  554,  554,  554,
      554,  554,  554,  554,  554,  555,  555,  555,  555,  555,
      555,  555,  555,  555,  555,  555,  555,  555,  555,  556,
        0,  556,  556,  556,  556,  556,  556,  556,  556,  556,
      557,  557,  557,    0,  557,  557,  559,  559,  559,    0,
      559,  559,  560,    0,  560,  560,  560,  560,  560,  560,
      561,  561,  561,    0,  561,  561,  562,  562,  562,  562,
      562,  562,  562,  562,  562,  562,  562,  563,    0,  563,
      563,  563,  563,  563,  563,  563,  563,  563,  564,  564,

      564,    0,  564,  564,  565,  565,  565,    0,  565,  565,
      566,  566,  566,  566,  566,  566,  566,  566,  566,  566,
      566,  567,  567,  567,    0,  567,  567,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
      425,  425,  425,  425,  425,  425,  425,  425,  425,  425
    } ;

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; \
}

#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
#ifndef YYLMAX
#define YYLMAX 8192
#endif

char yytext[YYLMAX];
char *yytext_ptr;
#line 1 "mix_scanner.l"
/* -*-c-*- -------------- mix_scanner.l :
 * Lexical scanner used by mix_parser_t
 * ------------------------------------------------------------------
 * Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc.
 *
 * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 */
#line 23 "mix_scanner.l"
#include <ctype.h>
#include <string.h>

#include "mix.h"
#include "xmix_parser.h"

#define YY_DECL mix_parser_err_t mix_flex_scan (mix_parser_t *parser)

#define RESET()					\
  do {						\
    mix_ins_fill_from_id (ins, mix_NOP);	\
    ins.address = 0;				\
    ins.index = 0;				\
    nof = FALSE;				\
    lsf = FALSE;				\
    if (symbol != NULL )			\
     {						\
       g_free (symbol);				\
       symbol = NULL;				\
     }						\
    if (lsymbol != NULL)			\
     {						\
       g_free (lsymbol);			\
       lsymbol = NULL;				\
     }                       			\
  } while (FALSE)

#define NEXT()						\
  do {							\
    if (lsymbol != NULL)				\
       mix_parser_manage_local_symbol (parser,lsymbol,  \
				       loc);    	\
    parser->loc_count++;				\
    RESET ();						\
    ++lineno;						\
    BEGIN (INITIAL);					\
  } while (FALSE)

#define ADD_INS()				\
  do {						\
    mix_parser_add_ins (parser, &ins, lineno);	\
    NEXT ();					\
  } while (FALSE)

#define ADD_RAW(value,is_con)                           \
  do {                                                  \
    mix_parser_add_raw (parser, value, lineno, is_con); \
    NEXT ();                                            \
  } while (FALSE)


#define ENTER_EVAL()				\
  do {						\
    if (yytext[0] != '*')                       \
      {                                         \
        expr_val = MIX_WORD_ZERO;		\
        yyless (0);				\
      }                                         \
    else                                        \
      {                                         \
        expr_val = mix_short_to_word_fast (parser->loc_count); \
	yyless (1);                             \
      }                                         \
    yy_push_state (EVAL);			\
  } while (FALSE)

#define ENTER_WEVAL(s)				\
  do {						\
    wexpr_val = MIX_WORD_ZERO;			\
    wexpr_val_tmp = MIX_WORD_ZERO;		\
    is_fp = FALSE;                              \
    yyless (s);					\
    yy_push_state (WEVAL);			\
  } while (FALSE)

#define RETURN_ERROR(error, comment)				\
  do {								\
    char c;							\
    mix_parser_log_error (parser,error,lineno,comment,FALSE);	\
    while ( (c = input ()) != '\n' && c != EOF ) ;		\
    if ( c == EOF ) return error; else ++lineno;		\
    RESET ();							\
    BEGIN (INITIAL);						\
  } while (FALSE)


static mix_word_t eval_binop_ (const gchar *op, mix_word_t x, mix_word_t y);

static void unput_word_ (mix_word_t word);












#line 1490 "mix_scanner.c"

#define INITIAL 0
#define LOC 1
#define OP 2
#define ADDRESS 3
#define INDEX 4
#define FSPEC 5
#define EVAL 6
#define WEVAL 7
#define ORIG 8
#define CON 9
#define EQU 10
#define END 11

#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

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

    static void yyunput (int c,char *buf_ptr  );
    
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif

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

#ifndef YY_NO_INPUT

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

#endif

        static int yy_start_stack_ptr = 0;
        static int yy_start_stack_depth = 0;
        static int *yy_start_stack = 0;
    
    static void yy_push_state (int new_state );
    
    static void yy_pop_state (void );
    
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif

/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
 * we now use fwrite().
 */
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
#endif

/* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
 * is returned in "result".
 */
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
		{ \
		int c = '*'; \
		size_t n; \
		for ( n = 0; n < max_size && \
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
			buf[n] = (char) c; \
		if ( c == '\n' ) \
			buf[n++] = (char) c; \
		if ( c == EOF && ferror( yyin ) ) \
			YY_FATAL_ERROR( "input in flex scanner failed" ); \
		result = n; \
		} \
	else \
		{ \
		errno=0; \
		while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
			{ \
			if( errno != EINTR) \
				{ \
				YY_FATAL_ERROR( "input in flex scanner failed" ); \
				break; \
				} \
			errno=0; \
			clearerr(yyin); \
			} \
		}\
\

#endif

/* No semi-colon after return; correct usage is to write "yyterminate();" -
 * we don't want an extra ';' after the "return" because that will cause
 * some compilers to complain about unreachable statements.
 */
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif

/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif

/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif

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

#define YY_RULE_SETUP \
	if ( yyleng > 0 ) \
		YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
				(yytext[yyleng - 1] == '\n'); \
	YY_USER_ACTION

/** The main scanner function which does all the work.
 */
YY_DECL
{
	register yy_state_type yy_current_state;
	register char *yy_cp, *yy_bp;
	register int yy_act;
    
#line 152 "mix_scanner.l"




  mix_ins_t ins;
  gboolean nof = FALSE, is_fp = FALSE, end = FALSE, lsf = FALSE;
  mix_word_t expr_val = MIX_WORD_ZERO, wexpr_val = MIX_WORD_ZERO,
  wexpr_val_tmp = MIX_WORD_ZERO;
  gchar *symbol = NULL, *lsymbol = NULL;
  mix_address_t loc = MIX_SHORT_ZERO;
  guint lineno = 1;
  mix_ins_fill_from_id (ins, mix_NOP);
  ins.address = 0;
  ins.index = 0;
  parser->err_line = 0;
#ifdef FLEX_DEBUG
  yy_flex_debug = getenv("FLEX_DEBUG");
#endif
  yyin = mix_file_to_FILE (parser->in_file);




#line 1687 "mix_scanner.c"

	if ( (yy_init) )
		{
		(yy_init) = 0;

#ifdef YY_USER_INIT
		YY_USER_INIT;
#endif

        if ( ! (yy_state_buf) )
            (yy_state_buf) = (yy_state_type *)yyalloc(YY_BUF_SIZE + 2  );

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

	while ( 1 )		/* loops until end-of-file is reached */
		{
		yy_cp = (yy_c_buf_p);

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

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

		yy_current_state = (yy_start);
		yy_current_state += YY_AT_BOL();

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

yy_match:
		do
			{
			register 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 >= 426 )
					yy_c = yy_meta[(unsigned int) yy_c];
				}
			yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
			*(yy_state_ptr)++ = yy_current_state;
			++yy_cp;
			}
		while ( yy_base[yy_current_state] != 3128 );

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 YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(LOC):
case YY_STATE_EOF(OP):
case YY_STATE_EOF(ADDRESS):
case YY_STATE_EOF(INDEX):
case YY_STATE_EOF(FSPEC):
case YY_STATE_EOF(EVAL):
case YY_STATE_EOF(WEVAL):
case YY_STATE_EOF(ORIG):
case YY_STATE_EOF(CON):
case YY_STATE_EOF(EQU):
case YY_STATE_EOF(END):
#line 175 "mix_scanner.l"
{
  mix_parser_log_error (parser, MIX_PERR_UNEX_EOF, lineno, NULL, FALSE);
  return MIX_PERR_UNEX_EOF;
}
	YY_BREAK

case 1:
YY_RULE_SETUP
#line 181 "mix_scanner.l"
/* eat comments */
	YY_BREAK
case 2:
YY_RULE_SETUP
#line 182 "mix_scanner.l"
{
    if ( end ) return parser->status;
    yyless (0);
    BEGIN (LOC);
  }
	YY_BREAK
case 3:
/* rule 3 can match eol */
YY_RULE_SETUP
#line 187 "mix_scanner.l"
{
    ++lineno;
    if ( end ) return parser->status;
  }
	YY_BREAK


case 4:
YY_RULE_SETUP
#line 194 "mix_scanner.l"
BEGIN (OP); /* LOC field is empty */
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 195 "mix_scanner.l"
{ /* manage local symbol */
    loc = get_ploc_ (parser);
    lsymbol = g_strdup (yytext);
    if ( lsymbol == NULL ) {
      mix_parser_log_error (parser, MIX_PERR_INTERNAL, lineno, NULL, FALSE);
      return MIX_PERR_INTERNAL;
    }
    BEGIN (OP);
  }
	YY_BREAK
case 6:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp = yy_bp + 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 204 "mix_scanner.l"
{/* local symbol with value */
    loc = get_ploc_ (parser);
    symbol = g_strdup (yytext);
    lsymbol = g_strdup (yytext);
    if ( symbol == NULL || lsymbol == NULL) {
      mix_parser_log_error (parser, MIX_PERR_INTERNAL, lineno, NULL, FALSE);
      return MIX_PERR_INTERNAL;
    }
    symbol[1] = 'B'; /* this will be referred as nB afterwards */
    BEGIN (OP);
  }
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 215 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_UNEX_LOC, yytext);
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 216 "mix_scanner.l"
{ /* store symbol name for future definition */
    symbol = g_strdup (yytext);
    if ( symbol == NULL ) {
      mix_parser_log_error (parser, MIX_PERR_INTERNAL, lineno, NULL, FALSE);
      return MIX_PERR_INTERNAL;
    }
    BEGIN (OP);
  }
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 224 "mix_scanner.l"
{ /* define a new symbol */
    mix_parser_err_t err;
    if ( mix_get_id_from_string (yytext) != mix_INVALID_INS )
      mix_parser_log_error (parser, MIX_PERR_SYM_INS, lineno, yytext, TRUE);
    if ( (err = mix_parser_define_symbol_here (parser,yytext)) != MIX_PERR_OK )
      mix_parser_log_error (parser, err, lineno, yytext, FALSE);
    BEGIN (OP);
  }
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 232 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_LOC, yytext);
	YY_BREAK
case 11:
/* rule 11 can match eol */
YY_RULE_SETUP
#line 233 "mix_scanner.l"
++lineno; /* empty line */
	YY_BREAK


case 12:
YY_RULE_SETUP
#line 237 "mix_scanner.l"
/* eat leading whitespace */
	YY_BREAK
case 13:
/* rule 13 can match eol */
YY_RULE_SETUP
#line 238 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_NOOP, NULL);
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 239 "mix_scanner.l"
BEGIN (ORIG);
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 240 "mix_scanner.l"
BEGIN (CON);
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 241 "mix_scanner.l"
BEGIN (EQU);
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 242 "mix_scanner.l"
BEGIN (END);
	YY_BREAK
case 18:
/* rule 18 can match eol */
#line 244 "mix_scanner.l"
case 19:
/* rule 19 can match eol */
YY_RULE_SETUP
#line 244 "mix_scanner.l"
{
    mix_byte_t bytes[5];
    mix_word_t value;
    guint k, j = 4;

    while ( yytext[j++] != '\"' ) ;
    for ( k = j; k < 5+j && yytext[k] != '\"'; ++k )
      bytes[k-j] = mix_ascii_to_char (yytext[k]);
    if ( k-j < 5 )
      {
	mix_parser_log_error (parser, MIX_PERR_SHORT_ALF, lineno, NULL, TRUE);
	/* Fill with spaces */
	for (; k < 5+j; k++)
	  bytes[k-j] = mix_ascii_to_char (' ');
      }
    else if ( yytext[k] != '\"' )
      mix_parser_log_error (parser, MIX_PERR_LONG_ALF, lineno, NULL, TRUE);

    value = mix_bytes_to_word (bytes, 5);
    ADD_RAW (value, FALSE);
   }
	YY_BREAK
case 20:
/* rule 20 can match eol */
YY_RULE_SETUP
#line 265 "mix_scanner.l"
{
    mix_byte_t bytes[5];
    memset (bytes, mix_ascii_to_char (' '), 5);
    mix_word_t value = mix_bytes_to_word (bytes, 5);
    ADD_RAW (value, FALSE);
  }
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 271 "mix_scanner.l"
{
    mix_byte_t bytes[5];
    mix_word_t value;
    int i, n;
    for (n = 3; n < yyleng; n++)
      if (!isspace (yytext[n]))
	break;

    for (i = 0; i < 5 && n < yyleng; i++, n++)
      bytes[i] = mix_ascii_to_char (yytext[n]);

    for (; i < 5; i++)
      bytes[i] = mix_ascii_to_char (' ');

    value = mix_bytes_to_word (bytes, 5);
    ADD_RAW (value, FALSE);
  }
	YY_BREAK
/* ALF " " */
case 22:
/* rule 22 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
#line 290 "mix_scanner.l"
case 23:
/* rule 23 can match eol */
YY_RULE_SETUP
#line 290 "mix_scanner.l"
{
    mix_ins_id_t id = mix_get_id_from_string (g_strchomp (yytext));
    if ( id == mix_INVALID_INS )
      mix_parser_log_error (parser, MIX_PERR_INV_OP, lineno, yytext, FALSE);
    else {
      mix_ins_fill_from_id (ins, id);
      nof = mix_ins_id_is_extended (id);
    }
    BEGIN (ADDRESS);
  }
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 300 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_OP, yytext);
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 301 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_OP, yytext);
	YY_BREAK


case 26:
/* rule 26 can match eol */
#line 307 "mix_scanner.l"
case 27:
/* rule 27 can match eol */
YY_RULE_SETUP
#line 307 "mix_scanner.l"
{
    mix_word_t value = mix_word_new (atol (yytext));
    parser->loc_count = mix_word_to_short_fast (value);
    ++lineno;
    BEGIN (INITIAL);
  }
	YY_BREAK


case 28:
/* rule 28 can match eol */
#line 317 "mix_scanner.l"
case 29:
/* rule 29 can match eol */
YY_RULE_SETUP
#line 317 "mix_scanner.l"
{
    mix_word_t value = mix_word_new (atol (yytext));
    ADD_RAW (value, TRUE);
  }
	YY_BREAK


case 30:
/* rule 30 can match eol */
#line 325 "mix_scanner.l"
case 31:
/* rule 31 can match eol */
YY_RULE_SETUP
#line 325 "mix_scanner.l"
{
    mix_word_t value;
    gint def;
    if ( symbol == NULL ) RETURN_ERROR (MIX_PERR_MIS_SYM, NULL);
    value = mix_word_new (atol (yytext));
    def = mix_parser_define_symbol_value (parser, symbol, value);
    if ( def == MIX_SYM_DUP )  RETURN_ERROR (MIX_PERR_DUP_SYMBOL, symbol);
    if ( def == MIX_SYM_LONG )  RETURN_ERROR (MIX_PERR_LONG_SYMBOL, symbol);
    ++lineno;
    BEGIN (INITIAL);
  }
	YY_BREAK


case 32:
/* rule 32 can match eol */
#line 340 "mix_scanner.l"
case 33:
/* rule 33 can match eol */
YY_RULE_SETUP
#line 340 "mix_scanner.l"
{
    parser->start = mix_short_new (atol (yytext));
    parser->end = parser->loc_count;
    end = TRUE;
    if ( parser->status == MIX_PERR_NOCOMP ) parser->status = MIX_PERR_OK;
    return parser->status;
  }
	YY_BREAK


case 34:
YY_RULE_SETUP
#line 350 "mix_scanner.l"
ENTER_WEVAL (0);
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 351 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_OP, yytext);
	YY_BREAK

case 36:
YY_RULE_SETUP
#line 355 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_UNEX_LOC, yytext);
	YY_BREAK

case 37:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 358 "mix_scanner.l"
lsf = TRUE;
	YY_BREAK
case 38:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 359 "mix_scanner.l"
lsf = TRUE;
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 360 "mix_scanner.l"
{ lsf = TRUE; ENTER_WEVAL (1); }
	YY_BREAK
case 40:
/* rule 40 can match eol */
#line 362 "mix_scanner.l"
case 41:
/* rule 41 can match eol */
YY_RULE_SETUP
#line 362 "mix_scanner.l"
{
    if (!lsf) RETURN_ERROR (MIX_PERR_INV_ADDRESS, yytext);
    mix_parser_define_ls (parser, mix_word_new (atol (yytext)));
    lsf = FALSE;
    ADD_INS ();
  }
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 368 "mix_scanner.l"
{
    int pos = yyleng - 3;
    if (!lsf) RETURN_ERROR (MIX_PERR_INV_ADDRESS, yytext);
    unput (yytext[yyleng - 1]);
    while (pos >= 0) {
      unput (yytext[pos]);
      --pos;
    }
  }
	YY_BREAK
case 43:
/* rule 43 can match eol */
#line 378 "mix_scanner.l"
case 44:
/* rule 44 can match eol */
YY_RULE_SETUP
#line 378 "mix_scanner.l"
{
    ins.address = mix_short_new (atol (yytext));
    switch ( yytext[yyleng-1] ) {
    case '(' : BEGIN (FSPEC); break;
    case ',' : BEGIN (INDEX); break;
    case '\n' : ADD_INS (); break;
    default: g_assert_not_reached ();
    }
  }
	YY_BREAK
case 45:
/* rule 45 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 387 "mix_scanner.l"
{
    gboolean neg = (yytext[0] == '-');
    const gchar *s = (neg || yytext[0] == '+')? yytext+1 : yytext;
    if ( !mix_symbol_table_is_defined (parser->symbol_table, s) )
      {
	mix_parser_set_future_ref (parser, s);
	if (neg)
	  mix_parser_log_error (parser, MIX_PERR_UNDEF_SYM, lineno, s, TRUE);
	unput (neg? '1':'0');
      }
    else
      {
	mix_word_t v = mix_symbol_table_value (parser->symbol_table, s);
	if ( neg ) mix_word_reverse_sign (v);
	unput_word_ (v);
      }
  }
	YY_BREAK
case 46:
/* rule 46 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 404 "mix_scanner.l"
ENTER_EVAL ();
	YY_BREAK
case 47:
/* rule 47 can match eol */
YY_RULE_SETUP
#line 405 "mix_scanner.l"
ADD_INS ();
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 406 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_ADDRESS, yytext);
	YY_BREAK


case 49:
/* rule 49 can match eol */
YY_RULE_SETUP
#line 411 "mix_scanner.l"
{
    int end = yytext[yyleng-1];
    ins.index = mix_byte_new (atol (yytext));
    if ( end == '\n' )
      ADD_INS ();
    else if ( end == '(' )
      BEGIN (FSPEC);
    else
      { /* eat rest of line (comment) */
	while ( (end = input()) != '\n' && end != EOF ) ;
	if ( end == '\n' ) ADD_INS ();
	else RETURN_ERROR (MIX_PERR_UNEX_EOF, NULL);
      }
  }
	YY_BREAK
case 50:
/* rule 50 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 425 "mix_scanner.l"
ENTER_EVAL ();
	YY_BREAK
case 51:
/* rule 51 can match eol */
YY_RULE_SETUP
#line 426 "mix_scanner.l"
{
    mix_parser_log_error (parser, MIX_PERR_INV_IDX, lineno++, NULL, FALSE);
    RESET ();
    BEGIN (INITIAL);
  }
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 431 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_IDX, yytext);
	YY_BREAK


case 53:
/* rule 53 can match eol */
YY_RULE_SETUP
#line 435 "mix_scanner.l"
{
    glong val  = atol (yytext);
    if ( val < 0 || val > MIX_BYTE_MAX )
      RETURN_ERROR (MIX_PERR_INV_FSPEC, NULL);
    if ( ins.opcode != mix_opMOVE
         && ( ins.opcode < mix_opJBUS || ins.opcode > mix_opJXx )
         && !mix_fspec_is_valid (mix_byte_new (val)) )
      RETURN_ERROR (MIX_PERR_INV_FSPEC, NULL);
    if ( nof )
      mix_parser_log_error (parser, MIX_PERR_INV_FSPEC,
			    lineno, _("ignored"), TRUE);
    else
      {
	ins.fspec = mix_byte_new (val);
        if (lsf)
          {
            mix_parser_define_ls (parser,
                                  mix_short_to_word_fast (ins.address));
            ins.address = MIX_WORD_ZERO;
            lsf = FALSE;
          }
	ADD_INS ();
      }
  }
	YY_BREAK
case 54:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 459 "mix_scanner.l"
{
    ENTER_EVAL ();
  }
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 462 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_FSPEC, yytext);
	YY_BREAK


case 56:
YY_RULE_SETUP
#line 467 "mix_scanner.l"
{
    const gchar *s = ( yytext[1] == '/' ) ? yytext+2 : yytext+1;
    mix_word_t value = mix_word_new (atol (s));
    expr_val = eval_binop_ (yytext, expr_val, value);
  }
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 472 "mix_scanner.l"
{
    const gchar *s = ( yytext[1] == '/' ) ? yytext+2 : yytext+1;
    if ( !mix_symbol_table_is_defined (parser->symbol_table, s) ) {
      mix_parser_log_error (parser, MIX_PERR_UNDEF_SYM, lineno, s, FALSE);
      yy_pop_state ();
    }
    expr_val = eval_binop_ (yytext, expr_val,
			    mix_symbol_table_value (parser->symbol_table, s));
  }
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 481 "mix_scanner.l"
{
    expr_val = eval_binop_ (yytext, expr_val,
			    mix_short_to_word_fast (parser->loc_count));
  }
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 485 "mix_scanner.l"
unput_word_ (mix_short_to_word_fast (parser->loc_count));
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 486 "mix_scanner.l"
expr_val = mix_word_new (atol (yytext));
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 487 "mix_scanner.l"
{
    if ( !mix_symbol_table_is_defined (parser->symbol_table, yytext) ) {
      mix_parser_log_error (parser, MIX_PERR_UNDEF_SYM, lineno, yytext, FALSE);
      yy_pop_state ();
    }
    expr_val = mix_symbol_table_value (parser->symbol_table, yytext);
  }
	YY_BREAK
case 62:
/* rule 62 can match eol */
YY_RULE_SETUP
#line 494 "mix_scanner.l"
unput (yytext[0]); unput_word_ (expr_val); yy_pop_state ();
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 495 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_EXPR, yytext);
	YY_BREAK


case 64:
YY_RULE_SETUP
#line 499 "mix_scanner.l"
{
    is_fp = TRUE;
    wexpr_val_tmp = mix_word_new (atol (yytext));
  }
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 503 "mix_scanner.l"
{
    glong val  = atol (yytext);
    if ( !is_fp ) {
      mix_parser_log_error (parser, MIX_PERR_MIS_PAREN, lineno, NULL, FALSE);
      yy_pop_state ();
    }
    if ( val < 0 || val > MIX_BYTE_MAX
         || !mix_fspec_is_valid (mix_byte_new (val)) ) {
      mix_parser_log_error (parser, MIX_PERR_INV_FSPEC, lineno, NULL, FALSE);
      yy_pop_state ();
    }
    is_fp = FALSE;
    wexpr_val = mix_word_store_field (mix_byte_new (val), wexpr_val_tmp,
				      wexpr_val);
  }
	YY_BREAK
case 66:
/* rule 66 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 518 "mix_scanner.l"
wexpr_val = mix_word_new (atol (yytext));
	YY_BREAK
case 67:
/* rule 67 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 519 "mix_scanner.l"
ENTER_EVAL ();
	YY_BREAK
case 68:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 520 "mix_scanner.l"
/* eat comma if followed by expression */
	YY_BREAK
case 69:
/* rule 69 can match eol */
YY_RULE_SETUP
#line 521 "mix_scanner.l"
{ /* ok if not inside an f-part */
    if ( is_fp ) {
      mix_parser_log_error (parser, MIX_PERR_MIS_PAREN, lineno, NULL, FALSE);
      yy_pop_state ();
     }
    unput (yytext[yyleng-1]);
    unput_word_ (wexpr_val);
    yy_pop_state ();
  }
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 530 "mix_scanner.l"
RETURN_ERROR (MIX_PERR_INV_EXPR, NULL);
	YY_BREAK

case 71:
YY_RULE_SETUP
#line 533 "mix_scanner.l"
ECHO;
	YY_BREAK
#line 2475 "mix_scanner.c"

	case YY_END_OF_BUFFER:
		{
		/* Amount of text matched not including the EOB char. */
		int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;

		/* Undo the effects of YY_DO_BEFORE_ACTION. */
		*yy_cp = (yy_hold_char);
		YY_RESTORE_YY_MORE_OFFSET

		if ( YY_CURRENT_BUFFER_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 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)
{
    	register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
	register char *source = (yytext_ptr);
	register int number_to_move, i;
	int ret_val;

	if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_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
		{
			size_t 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;

	(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)
{
	register yy_state_type yy_current_state;
	register char *yy_cp;
    
	yy_current_state = (yy_start);
	yy_current_state += YY_AT_BOL();

	(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 )
		{
		register 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 >= 426 )
				yy_c = yy_meta[(unsigned int) yy_c];
			}
		yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) 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 )
{
	register int yy_is_jam;
    
	register 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 >= 426 )
			yy_c = yy_meta[(unsigned int) yy_c];
		}
	yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
	yy_is_jam = (yy_current_state == 425);
	if ( ! yy_is_jam )
		*(yy_state_ptr)++ = yy_current_state;

	return yy_is_jam ? 0 : yy_current_state;
}

    static void yyunput (int c, register char * yy_bp )
{
	register char *yy_cp;
    
    yy_cp = (yy_c_buf_p);

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

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

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

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

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

	*--yy_cp = (char) c;

	(yytext_ptr) = yy_bp;
	(yy_hold_char) = *yy_cp;
	(yy_c_buf_p) = yy_cp;
}

#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 = (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 EOF;

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

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

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

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

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

#ifndef __cplusplus
extern int isatty (int );
#endif /* __cplusplus */
    
/* 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)
{
	int 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;
		(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
								(num_to_alloc * sizeof(struct yy_buffer_state*)
								);
		
		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. */
		int 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*)
								);

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

	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 = size - 2;	/* "- 2" to take care of EOB's */
	b->yy_buf_pos = b->yy_ch_buf = base;
	b->yy_is_our_buffer = 0;
	b->yy_input_file = 0;
	b->yy_n_chars = b->yy_buf_size;
	b->yy_is_interactive = 0;
	b->yy_at_bol = 1;
	b->yy_fill_buffer = 0;
	b->yy_buffer_status = YY_BUFFER_NEW;

	yy_switch_to_buffer(b  );

	return b;
}

/** Setup the input buffer state to scan a string. The next call to yylex() will
 * scan from a @e copy of @a str.
 * @param str a NUL-terminated string to scan
 * @param yy_str 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 (yyconst char * yy_str )
{
    
	return yy_scan_bytes(yy_str,strlen(yy_str) );
}

/** 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 bytes the byte buffer to scan
 * @param 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  (yyconst char * bytes, int  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 = len + 2;
	buf = (char *) yyalloc(n  );
	if ( ! buf )
		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );

	for ( i = 0; i < len; ++i )
		buf[i] = bytes[i];

	buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;

	b = yy_scan_buffer(buf,n );
	if ( ! b )
		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );

	/* It's okay to grow etc. this buffer, and we should throw it
	 * away when we're done.
	 */
	b->yy_is_our_buffer = 1;

	return b;
}

    static void yy_push_state (int  new_state )
{
    	if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) )
		{
		yy_size_t new_size;

		(yy_start_stack_depth) += YY_START_STACK_INCR;
		new_size = (yy_start_stack_depth) * sizeof( int );

		if ( ! (yy_start_stack) )
			(yy_start_stack) = (int *) yyalloc(new_size  );

		else
			(yy_start_stack) = (int *) yyrealloc((void *) (yy_start_stack),new_size  );

		if ( ! (yy_start_stack) )
			YY_FATAL_ERROR(
			"out of memory expanding start-condition stack" );
		}

	(yy_start_stack)[(yy_start_stack_ptr)++] = YY_START;

	BEGIN(new_state);
}

    static void yy_pop_state  (void)
{
    	if ( --(yy_start_stack_ptr) < 0 )
		YY_FATAL_ERROR( "start-condition stack underflow" );

	BEGIN((yy_start_stack)[(yy_start_stack_ptr)]);
}

#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif

static void yy_fatal_error (yyconst char* msg )
{
    	(void) fprintf( stderr, "%s\n", msg );
	exit( YY_EXIT_FAILURE );
}

/* Redefine yyless() so it works in section 3 code. */

#undef yyless
#define yyless(n) \
	do \
		{ \
		/* Undo effects of setting up yytext. */ \
        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
 * 
 */
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 ;
}

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

    /* Destroy the start condition stack. */
        yyfree((yy_start_stack)  );
        (yy_start_stack) = NULL;

    yyfree ( (yy_state_buf) );

    return 0;
}

/*
 * Internal utility routines.
 */

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

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

	return n;
}
#endif

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

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

#define YYTABLES_NAME "yytables"

#undef YY_NEW_FILE
#undef YY_FLUSH_BUFFER
#undef yy_set_bol
#undef yy_new_buffer
#undef yy_set_interactive
#undef yytext_ptr
#undef YY_DO_BEFORE_ACTION

#ifdef YY_DECL_IS_OURS
#undef YY_DECL_IS_OURS
#undef YY_DECL
#endif
#line 533 "mix_scanner.l"



static mix_word_t
eval_binop_ (const gchar *op, mix_word_t x, mix_word_t y)
{
  mix_word_t result = MIX_WORD_ZERO;
  switch (op[0])
    {
    case '+':
      result = mix_word_add (x,y);
      break;
    case '-':
      result = mix_word_sub (x,y);
      break;
    case '*':
      mix_word_mul (x, y, NULL, &result);
      break;
    case ':':
      {
	mix_word_t a;
	mix_word_mul (x, 8, NULL, &a);
	result = mix_word_add (a, y);
	break;
      }
    case '/':
      if ( strlen (op) > 1 && op[1] == '/' ) {
	mix_word_div (x,MIX_WORD_ZERO,y, &result, NULL);
      } else {
	mix_word_div (MIX_WORD_ZERO, x, y, &result, NULL);
      }
      break;
    default:
      g_assert_not_reached ();
    }
  return result;
}

static void
unput_word_ (mix_word_t word)
{
  gchar *value;
  gint k;
  value = g_strdup_printf ("%s%ld",
                           mix_word_is_negative (word)? "-":"+",
                           mix_word_magnitude (word));
  for (k = strlen (value) - 1; k >= 0; --k)
    unput (value[k]);
  g_free (value);
}



syntax highlighted by Code2HTML, v. 0.9.1