#line 2 "../lexer.c"

#line 4 "../lexer.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 35
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif

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

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

/* end standard C headers. */

/* flex integer type definitions */

#ifndef FLEXINT_H
#define FLEXINT_H

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

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

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

#include <inttypes.h>
typedef int8_t flex_int8_t;
typedef uint8_t flex_uint8_t;
typedef int16_t flex_int16_t;
typedef uint16_t flex_uint16_t;
typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t;
#else
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
typedef unsigned char flex_uint8_t; 
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
#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 */

/* C99 requires __STDC__ to be defined as 1. */
#if defined (__STDC__)

#define YY_USE_CONST

#endif	/* defined (__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

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

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

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

#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t 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 = 0;		/* whether we need to initialize */
static int yy_start = 0;	/* start state number */

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

void yyrestart (FILE *input_file  );
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
void yy_delete_buffer (YY_BUFFER_STATE b  );
void yy_flush_buffer (YY_BUFFER_STATE b  );
void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
void yypop_buffer_state (void );

static void yyensure_buffer_stack (void );
static void yy_load_buffer_state (void );
static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );

#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )

YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
YY_BUFFER_STATE yy_scan_string (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 */

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;
#define yytext_ptr yytext

static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
static int yy_get_next_buffer (void );
static void 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'; \
	(yy_c_buf_p) = yy_cp;

#define YY_NUM_RULES 163
#define YY_END_OF_BUFFER 164
/* 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_accept[1188] =
    {   0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
      164,  162,  102,  105,  162,  162,  162,  162,  162,  107,
      107,  162,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  162,  102,  162,  161,  160,  161,  161,  117,  115,
      117,  104,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,  110,  110,  102,
      162,  103,  102,  162,    0,  112,    0,  113,    0,  107,
        0,  111,  108,  111,  114,  106,  108,    0,  108,  107,
        0,   60,  110,  110,  110,  110,  110,  110,  110,  110,

      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,   61,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,  116,  110,  110,  110,
      110,  110,  110,  110,   82,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,  110,    0,    0,
        0,    0,    0,    0,  108,   79,  111,  108,  106,  108,
        0,  108,  109,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,   40,  110,  110,  110,  110,

      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,   14,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,  110,  110,
      110,  110,  110,  110,   81,  110,  110,  110,  110,  110,
      110,  110,   90,  110,  110,  110,  110,  110,    0,    0,
      108,   53,  110,  110,  110,   38,   36,  110,  110,  110,
       46,  110,  110,  110,   41,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,   51,  110,  110,

      110,   44,  110,    1,    0,    0,    0,    0,    0,    0,
        0,    0,    0,  152,   10,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,  159,  110,  100,  110,  110,
      110,  110,  110,  110,  110,   86,  110,  110,  110,  110,
      110,   93,  110,  110,   11,  110,  110,  110,  110,  110,
      110,  110,   25,   49,  110,  110,   52,   42,  110,  110,
      110,  110,  110,   39,  110,  110,   33,  110,  110,  110,
       57,  110,  110,  110,  110,    0,    0,    0,    0,    0,

        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,  101,  110,  110,
      110,  110,  110,  110,  110,  110,  110,   88,  110,  110,
      110,  110,  110,  110,   35,  110,  110,  110,  110,  110,
      110,  110,   43,  110,  110,  110,  110,  110,   27,  110,
       47,   50,   26,  110,  110,  110,  110,  110,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,

        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,  110,  110,  110,   80,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,   34,  110,  110,
      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,  110,   29,  110,   30,  110,   54,  110,
       45,   37,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,   15,    0,    0,    0,    0,
        0,    0,    0,   19,    0,    0,    0,   22,    0,    0,

        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,  110,  110,  110,  110,  110,  110,  110,  110,  110,
      110,  110,  110,   98,   32,  110,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,   71,  110,   58,
      110,   56,  110,   59,   48,    0,    0,    0,    0,    0,
        0,    0,    0,    3,    0,    0,    0,  118,    0,    0,
        0,    0,  123,   13,    0,    0,    0,  156,   16,    0,
        0,   17,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,  157,    0,    0,    0,    0,
        0,    0,    0,  110,  110,  110,  110,   84,   85,  110,

       87,  110,  110,  110,  110,   31,  110,  110,  110,  110,
      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
       55,   28,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,  154,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,   23,    0,   24,
      133,    0,    0,  130,    0,    0,    0,  110,  110,  110,
      110,   99,  110,   91,   92,  110,  110,  110,  110,   65,
       64,  110,  110,  110,   68,  110,  110,   70,  110,  110,
      110,    0,    0,    0,    0,    0,    0,    0,    0,    0,

        0,    0,    0,    0,    0,    0,    0,  151,   12,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,   21,    0,    0,    0,  148,    0,    0,
        0,    0,    0,  110,  110,  110,  110,  110,  110,   72,
      110,  110,  110,   67,   63,   78,  110,  110,  110,  110,
       77,  155,    2,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,   18,  134,  132,    0,
        0,  146,    0,    0,    0,    0,    0,    0,    0,    0,
        0,  110,  110,  110,  110,  110,  110,   69,  110,   62,

      110,  110,   75,   76,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,  153,
        0,    0,    0,  138,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,  110,  110,
      110,  110,  110,  110,  110,   73,   74,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,  145,    0,    0,
        0,    0,    0,    0,  150,    0,    0,    0,    0,  110,
      110,  110,  110,  110,  110,   66,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,

        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
      147,    0,    0,    0,    0,    0,  110,  110,  110,  110,
       89,  110,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
      137,    0,    0,    0,    0,    0,  125,    0,    0,    0,
        0,  110,   96,  110,  110,  110,  139,    0,    0,    0,
        0,    0,    4,    0,    0,    0,    0,    0,    7,    8,
        0,    0,    0,    0,    0,    0,   20,    0,    0,    0,
      135,    0,    0,  110,  110,  110,  110,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    9,    0,    0,

      129,    0,  124,    0,    0,    0,    0,    0,  110,  110,
       83,  110,    0,    0,  143,    0,    0,    0,    0,    0,
      120,    0,    0,    0,    0,    0,    0,    0,    0,    0,
      110,  110,   94,    0,    0,    0,    0,    5,    0,    0,
        0,  122,    0,  127,    0,    0,    0,  136,    0,  110,
      110,  144,  141,    0,  140,  119,    0,    0,    0,    0,
        0,  131,  158,  110,  110,  142,    0,    0,  149,    0,
        0,  110,  110,  121,    0,    0,  126,   95,  110,    6,
      128,  110,  110,  110,  110,   97,    0
    } ;

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

       49,   50,   51,   52,   53,   28,   54,   55,   56,   57,
       58,   59,   28,   60,   61,   62,   63,   64,   65,   66,
       67,   28,    1,   68,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

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

static yyconst flex_int16_t yy_base[1196] =
    {   0,
        0,   67, 2748,   68,   69,   72,   74,   74, 2742,   79,
     2749, 2752, 2752, 2752,   81,   85,   78,   86,   93,  126,
     2682, 2730,   92,  102,  133,  139,   96,  144,  147,  154,
      158,  166,  170,  173,  181,  194,  203,  212,  217,  220,
      223, 2678,  111,  262, 2752, 2752,  124, 2723, 2752, 2752,
     2730, 2752,  230,  233,  254,  290,  238,  294,  298,  302,
      305,  308,  311,  314,  318,  350,  357,  324,  365,  167,
     2721, 2752,  195, 2720,  115, 2752,  197, 2752,   62, 2675,
      176,  370,  378,  198, 2752,    0,  410,  404, 2752, 2752,
        0, 2752,  374,  384,  417,  422,  425,  428,  431,  434,

      437,  444,  449,  454,  457,  465,  468,  472,  475,  480,
      483,  489,  492,  498,  504,  507,  518,  522,  527,  532,
      538,  541,  545, 2752,  247,    0,  313, 2714,   65,  190,
      203,  210,  113,  284, 2686,  346, 2679,  507, 2692, 2687,
      174, 2678, 2681,  327, 2711, 2675, 2752,  556,  559,  562,
      568,  575,  578,  587,  590,  593,  596,  600,  606,  614,
      617,  621,  627,  630,  638,  642,  654,  645,  349, 2709,
     2664,  366, 2707,  205,  657,  207,  671,  440,    0,  675,
       74,  449,    0,  697,  701,  704,  657,  707,  719,  722,
      725,  728,  731,  737,  740,  743,  746,  750,  756,  760,

      763,  775,  778,  782,  788,  791,  794,  797,  800,  805,
      814,  808,  819,  822,  828, 2702, 2680, 2664,  139, 2667,
      589, 2674, 2676, 2674,  637, 2676, 2663,  338, 2657, 2752,
     2659,  776, 2670,  155, 2654, 2667, 2652, 2666,  344, 2651,
      464, 2658, 2648, 2653, 2649, 2654, 2646, 2657,  831,  834,
      852,  855,  862,  865,  872,  875,  881,  885,  888,  891,
      899,  902,  905,  910,  913,  916,  929,  933, 2656,  937,
      943,  956,  962,  965,  969,  976,  986,  994,  997, 1001,
     1004, 1007, 1012, 1015, 1018, 1021, 1024, 1027, 1030, 1033,
     1036, 1039, 1050, 1053, 1061, 1077, 1080, 1083, 1087, 1090,

     1100, 1103, 1106, 2752, 2654, 2644, 2652, 2651, 2651, 2639,
      347, 2630, 2651, 2634, 2752, 2645, 2635, 2632, 2629, 2645,
     2634, 2628, 2667, 2628, 2630, 2622, 2621, 2633, 2632, 2621,
     2627, 2615, 2624, 2622, 2613, 2623, 2611,  117, 2613, 2610,
     2650, 2620, 2619, 2605, 2604, 2752, 1109, 1112, 1115, 1124,
     1130, 1134, 1137, 1140, 1143, 1147, 1157, 1160, 1164, 1168,
     1171, 1174, 1178, 1184, 2752, 1193, 1197, 1213, 1217, 1226,
     1229, 1235, 1238, 1241, 1253, 1260, 1263, 1266, 1269, 1272,
     1275, 1278, 1282, 1285, 1291, 1296, 1299, 1302, 1305, 1308,
     1318, 1326, 1329, 1338, 1343, 2604, 2631, 2601, 2607, 2598,

     2602, 2601, 2609, 2604, 2593, 2593, 2595, 2593, 2607, 2588,
     2595, 2600, 2603, 2589, 2586, 2582, 2591, 2598, 2585, 2591,
     2591, 2581, 2583, 2579, 2581, 2585, 2581, 2607, 2575, 2564,
     2581, 2580, 2570, 2572,  517,  256, 2563, 1346, 1349, 1352,
     1356, 1359, 1364, 1367, 1376, 1379, 1383, 1386, 1390, 1393,
     1396, 1402, 1405, 1414, 1421, 1429, 1432, 1453, 1461, 1464,
     1467, 1470, 1473, 1477, 1488, 1491, 1494, 1497, 1500, 1503,
     1506, 1509, 1512, 1515, 1522, 1525, 1528, 1532, 2564, 2557,
     1512, 2574, 2567, 2560, 2565, 2559, 2561, 2562, 2556, 2553,
     2552, 2566, 2552, 2558, 2565, 2545, 2560, 2545, 2558, 2560,

     2547, 2542, 2549, 2553, 2552, 2550, 2541, 2548, 2538, 2538,
     2537, 2540, 2530, 2531, 2570, 2541, 2535, 2529,  530, 2528,
     2527, 2539, 1542, 1548, 1553, 1556, 1566, 1572, 1575, 1578,
     1584, 1587, 1590, 1593, 1596, 1604, 1608, 1613, 1620, 1627,
     1630, 1637, 1645, 1654, 1662, 1665, 1668, 1671, 1674, 1680,
     1684, 1687, 1696, 1699, 1702, 1706, 1709, 1712, 1716, 1719,
     1722, 1725, 2563, 2551, 2518, 2528, 2530, 2529, 2517, 2531,
     2526, 2521, 2520, 2510, 2520, 2506, 2492, 2491, 2494, 2480,
     2492, 2479, 2479, 2489, 2488, 2752, 2487, 2479, 2486, 2482,
     2475, 2492, 2508,  541, 2481, 2505, 2463, 2752, 2469, 2459,

     2468, 2457, 2460, 2468, 2459, 2467, 2469, 2456, 2463, 2449,
     2454, 1728, 1732, 1738, 1744, 1750, 1756, 1759, 1762, 1765,
     1771, 1780, 1783, 1788, 1794, 1797, 1800, 1815, 1820, 1825,
     1829, 1836, 1839, 1845, 1851, 1854, 1857, 1870, 1873, 1876,
     1879, 1884, 1887, 1890, 1893, 2450, 2456, 2436, 2440, 2431,
     2424, 2412, 2403, 2752, 2386, 2399,  320, 2752, 1624, 2382,
     2380, 2388, 2752, 2752, 2389, 2389, 2348, 2752, 2752, 2351,
     2347, 2752, 2323, 2300, 2307, 2302, 2298, 2291, 2286, 2282,
     2275, 2254, 2234, 2224, 2239, 2752, 2236, 2231, 2231, 2212,
     2223, 2203,  673, 1896, 1899, 1903, 1906, 1909, 1912, 1917,

     1920, 1924, 1927, 1940, 1944, 1947, 1950, 1954, 1957, 1971,
     1975, 1979, 1982, 1991, 1997, 2001, 2004, 2010, 2013, 2016,
     2023, 2028, 2197, 2181, 2179, 2154, 2165, 2191, 2144, 2151,
     2149, 2148, 2125, 2126, 2124, 2108, 2108, 2093, 2103, 2078,
      667, 2072, 2065, 2061, 2056, 2092, 2752, 2052, 2058, 2057,
     2057, 2048, 2016, 1998, 2005, 2002, 1989, 2752, 1989, 2752,
     2752, 1983, 2011, 2752, 1981, 1961, 1938, 2031, 2037, 2040,
     2043, 2049, 2053, 2056, 2059, 2064, 2067, 2070, 2073, 2076,
     2082, 2087, 2096, 2102, 2107, 2113, 2116, 2119, 2126, 2129,
     2132, 1948, 1941, 1932, 1961, 1959, 1917, 1925, 1953, 1935,

     1893, 1892,  385, 1902, 1900, 1884, 1885, 2752, 2752, 1885,
     1878, 1827, 1827, 1831, 1828, 1831, 1816, 1811, 1806, 1805,
     1799, 1788, 1786, 2752, 1780, 1769, 1802, 2752, 1761, 1760,
     1759,  136, 1755, 2135, 2139, 2147, 2150, 2154, 2158, 2161,
     2164, 2167, 2175, 2178, 2183, 2191, 2196, 2204, 2207, 2210,
     2213, 2752, 2752, 1744, 1740, 1735, 1727, 1768, 1723, 1723,
     1731, 1710, 1702, 1693, 1693, 1695, 1703, 1698, 1659, 1659,
     1643, 1631, 1623, 1650, 1607, 1616, 2752, 2752, 2752, 1613,
     1608, 2752, 1597, 1582, 1572, 1608, 1571, 1566, 1557, 1546,
     1524, 2219, 2222, 2227, 2230, 2235, 2238, 2241, 2244, 2247,

     2250, 2254, 2257, 2264, 1561, 1526, 1525, 1516, 1508, 1513,
     1510, 1509, 1516, 1505, 1491, 1436, 1449, 1433, 1434, 2752,
     1444, 1421, 1403, 2752, 1401, 1403, 1405, 1390, 1394, 1394,
     1375, 1382, 1371, 1376, 1368, 1402, 1368, 1341, 2270, 2282,
     2285, 2289, 2292, 2296, 2299, 2303, 2306, 1327, 1334, 1332,
     1312, 1304, 1298, 1284, 1315, 1269, 1315, 1284, 1267, 1273,
     1257, 1261, 1257, 1276, 1280, 1245, 1211, 2752, 1248, 1200,
     1201, 1215, 1208, 1208, 2752, 1183, 1187, 1187, 1210, 2310,
     2313, 2316, 2319, 2322, 2329, 2338, 1185, 1172, 1170, 1198,
     1166, 1165, 1157, 1146, 1143, 1146, 1179, 1141, 1132, 1108,

     1098, 1104, 1109, 1082, 1090, 1077, 1075, 1083, 1085, 1048,
     2752, 1060, 1059, 1057, 1027, 1040, 2341, 2344, 2350, 2357,
     2362, 2365, 1034, 1021, 1020, 1020, 1027, 1011, 1021, 1020,
     1009, 1012,  996,  966,  971,  963,  942,  976,  938,  944,
     2752,  971,  937,  935,  918,  919, 2752,  922,  915,  943,
      904, 2368, 2371, 2375, 2378, 2381, 2752,  936,  934,  902,
      879,  918, 2752,  873,  915,  872,  883,  869, 2752, 2752,
      860,  850,  844,  842,  832,  833, 2752,  827,  814,  851,
     2752,  804,  812, 2386, 2389, 2399, 2404,   38,   54,   95,
      202,  180,  222,  232,  244,  264,  321, 2752,  317,  360,

     2752,  426, 2752,  417,  433,  440,  466,  468, 2407, 2410,
     2413, 2416,  478,  500, 2752,  519,  536,  546,  548,  595,
     2752,  558,  572,  566,  583,  579,  617,  613,  615,  625,
     2419, 2429, 2432,  626,  629,  652,  653, 2752,  659,  664,
      663, 2752,  680, 2752,  709,  688,  698, 2752,  701, 2438,
     2442, 2752, 2752,  716, 2752, 2752,  718,  722,  730,  723,
      734, 2752, 2752, 2445, 2449, 2752,  744,  770, 2752,  801,
      802, 2455, 2459, 2752,  790,  806, 2752, 2466, 2470, 2752,
     2752, 2476, 2480, 2483, 2486, 2493, 2752, 2546, 2550, 2554,
     2558, 2560, 2562, 2566,  855

    } ;

static yyconst flex_int16_t yy_def[1196] =
    {   0,
     1187,    1, 1188, 1188, 1189, 1189,    1,    7,    1,    1,
     1187, 1187, 1187, 1187, 1190, 1191, 1187, 1192, 1187, 1187,
       20, 1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1187,
       44, 1187, 1187,   44, 1190, 1187, 1191, 1187, 1187,   20,
     1192, 1192, 1192, 1192, 1187, 1194, 1187, 1187, 1187, 1187,
     1195, 1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,

     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1187, 1187,   44, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1187,   44,
     1187, 1187,   44, 1187, 1187, 1192, 1192, 1192, 1194, 1187,
     1187, 1187, 1195, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,

     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1187, 1192,
     1192, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,

     1193, 1193, 1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1187, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193,

     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,
     1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193,

     1193, 1193, 1193, 1193, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1193, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193,
     1193, 1193, 1193, 1193, 1193, 1193, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193, 1193, 1193,
     1193, 1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1193, 1193, 1193, 1193, 1193, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1193, 1193, 1193, 1193, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193, 1193,
     1193, 1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1193, 1193, 1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1193,
     1193, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1193, 1193, 1187, 1187, 1187, 1187, 1187,
     1187, 1193, 1193, 1187, 1187, 1187, 1187, 1193, 1193, 1187,
     1187, 1193, 1193, 1193, 1193, 1193,    0, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187

    } ;

static yyconst flex_int16_t yy_nxt[2821] =
    {   0,
       12,   13,   14,   13,   15,   12,   16,   12,   12,   12,
       12,   17,   18,   19,   20,   21,   22,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       24,   23,   23,   25,   23,   26,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   27,   28,   29,   30,   31,
       23,   23,   32,   23,   33,   23,   34,   35,   36,   23,
       37,   38,   39,   40,   41,   23,   23,   42,   43,   47,
       46,   50,   44,   48,   50,   70,  175,  175,   51,   71,
       73,   51,   52,   76,   74,   76,   72,   78,  182,  182,
       79,   78,   80,   80,  220, 1113,   53,   81,   82,   81,

       83,   83,   85,   81,   84,   81,   86,   81,   84,   81,
       54, 1114,  125,   81,   84,   81,  126,   76,   55,   76,
       56,   57,  221,   58,   59,  144,   60,   61,   62,  145,
       63,   64,  228,   65,   66,   67,   68,   69,   87,   94,
       80,   80,  429, 1115,   81,   84,   81,   88,   89,  430,
       81,   84,   81,   97,   90,   81,   84,   81,   81,   84,
       81,  229,  307,   90,   96,   81,   84,   81,  169,   81,
       84,   81,  170,  308,   88,   89,   95,   81,   84,   81,
       90,   81,   84,   81,   81,   84,   81,   81,   90,   81,
      889,   91,   81,   84,   81,   98,  172,  890,   99,   78,

      173,  100,  104,   78,  101,   81,   84,   81,  329,   81,
      102,   81,  105,  330,   81,   84,   81,  108,   81,  103,
       81, 1116,  106,   81,   84,   81,  244,  107,   81,   84,
       81,   81,   84,   81,   81,   84,   81, 1117,  222,  109,
      245,   81,   84,   81,   81,   84,   81,  223,  125,   81,
       84,   81,  126,  110,  112,  113,  111,  114,  226,  224,
      116,  269,  227,  117,  115,   81,   84,   81,  225,  123,
      225,  118,  121,  120,  148,  520, 1118,  122,  119,  127,
      128,  129,  130,  131,  132,  133,  152,  134,  521, 1119,
      135,  136,  149,  137,  138,  101,  139,  140,  141,  142,

      143,   81,   84,   81, 1120,   81,   84,   81,  150,   81,
       84,   81, 1121,   81,   84,   81,   81,   84,   81,   81,
       84,   81,   81,   84,   81,   81,   84,   81,  144,   81,
       84,   81,  145,  230,  151,   81,   84,   81,  104,  231,
      232,   98,  733, 1122,   99,  216,  154,  100,  105,  155,
      169,  153,  157,  156,  170,  159,  734,  321,  106,  217,
      158,   81,   84,   81, 1123,  107,  162,  172,   81,   84,
       81,  173,  160,  161,  322,  218,   81,   84,   81, 1124,
      120,   81,  176,   81,  167,   81,   84,   81,  335,   81,
      234,   81,   83,   83,  235,   81,   84,   81,  163,  177,

      178,  112,  164,  236,  114,  116,  336,  402,  117,  165,
      403,  115,  184,  168,  181,  181,  118,  121,  182,  182,
      863,  864,  122,  166,  180,  180,  177,  178,   81,   84,
       81,   88,   89,   81,   84,   81,   81,   84,   81,   81,
       84,   81,   81,   84,   81,   81,   84,   81,   81,   84,
       81,   81,  185,   81,  186,   81,   84,   81,   88,   89,
       81,   84,   81,  182,  182,   81,   84,   81,   81,   84,
       81,   89,  188, 1125, 1126,  189,   81,   84,   81,   81,
       84,   81,  187,   81,   84,   81,   81,   84,   81, 1127,
      190,   81,   84,   81,   81,   84,   81, 1128,   89,  191,

       81,   84,   81,   81,   84,   81,  192,  193,  194,   81,
       84,   81,  338, 1129,  195,   81,   84,   81,   81,   84,
       81,  339, 1130,  199,  197, 1134,  196,  198,  202,   81,
       84,   81,  200,   81,   84,   81,  518,  201,   81,   84,
       81,  519,  204,   81,   84,   81,  203, 1135,  206,   81,
       84,   81,   81,   84,   81,  205,   81,   84,   81,  238,
      676,  239,  208,  207,  240,  677,  241,   81,   84,   81,
       81,   84,   81,   81,   84,   81, 1136,  209,  607,   81,
       84,   81,  608, 1137,  210,  211,   81,   84,   81,   81,
       84,   81,  212,  214, 1138, 1139,  215,  213,   81,   84,

       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
      249,   81,   84,   81, 1140, 1141,  251,   81,   84,   81,
     1142,  250,  252, 1143,  253,   81,   84,   81,   81,   84,
       81, 1144,   81,   84,   81, 1145, 1146,  254,   81,   84,
       81,   81,   84,   81,  310,  311,  258,  312,  255,   81,
       84,   81,  257,   81,   84,   81,   81,   84,   81,  256,
     1147,  259,  199, 1148,  261,   81,   84,   81,   81,   84,
       81,  175,  175, 1149, 1152,  260,  262, 1153,   88,   89,
      264,  181,  270,  316,   81,  271,  271,  810,  263,  180,
      180,  811,  766,  265,  767,  317,   88,   89,  318, 1154,

      266, 1155,  267,  812,  268,   88,   89, 1156,   81,   84,
       81,  276,   81,   84,   81,   81,   84,   81,   81,   84,
       81, 1157, 1158,   88,   89,  272,  273, 1159, 1160,  274,
       81,   84,   81,   81,   84,   81,   81,   84,   81,   81,
       84,   81,   81,   84,   81, 1161, 1162,  275,   81,   84,
       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
     1163,   81,   84,   81, 1166, 1167,  277,   81,   84,   81,
      280,   81,   84,   81,   81,   84,   81, 1168, 1169,  278,
     1170, 1171,  279,  281,  284,  282,   81,   84,   81,   81,
       84,   81, 1174,   81,   84,   81,  285,  283,  286,   81,

       84,   81,   81,   84,   81,   81,   84,   81,   81,   84,
       81,   81,   84,   81, 1175,  287,   81,   84,   81,   81,
       84,   81,  325,  288,  289,   81,   84,   81,  326,  290,
       81,   84,   81,   81,   84,   81,  327,  291,  292,   81,
       84,   81,   81,   84,   81,   81,   84,   81, 1176,  293,
     1177, 1180,  294,  298, 1181,  296,  295,  297,  183, 1108,
      300, 1107,  299,   81,   84,   81,   81,   84,   81,  302,
     1106, 1105,  303,   81,   84,   81,   81,   84,   81, 1104,
      301, 1103,  348,   81,   84,   81,   81,   84,   81, 1102,
     1101,  347,   81,   84,   81,  349,   81,   84,   81,   81,

       84,   81,   81,   84,   81, 1100,  351, 1099, 1098,  350,
       81,   84,   81,   81,   84,   81,   81,   84,   81, 1097,
      352,   81,   84,   81,   81,   84,   81,   81,   84,   81,
     1096,  354, 1095,  355, 1094, 1093,  356, 1092, 1091,  353,
       81,   84,   81,  357,   81,   84,   81,  358,   81, 1090,
       81,  271,  271, 1089,   81, 1088,   81,  271,  271,  359,
     1083,  361, 1082, 1081,  362,  178,  360,   81,   84,   81,
     1080, 1079,  363,   81,   84,   81,   81,   84,   81, 1078,
       81,   84,   81, 1077, 1076,  366,  368,   81,   84,   81,
     1075, 1074,  178,  364, 1073, 1072,  367,   81,   84,   81,

     1071,  369,  370,  371,  372,   81,   84,   81,   81,   84,
       81, 1070,   81,   84,   81,   81,   84,   81,   81,   84,
       81, 1069, 1068,   81,   84,   81,   81,   84,   81,   81,
       84,   81,   81,   84,   81,   81,   84,   81,   81,   84,
       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81, 1067,  373,  375, 1066, 1065,  374,  376,
      377,   81,   84,   81,   81,   84,   81, 1064,  380, 1063,
     1062,  381,   81,   84,   81, 1061,  378, 1060,  382, 1059,
     1058,  379, 1057,  385, 1051,  383, 1050,  386,   81,   84,
       81,   81,   84,   81,   81,   84,   81,  384,   81,   84,

       81,   81,   84,   81, 1049,  388, 1048,  389, 1047, 1046,
      387,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81,   81,   84,   81,   81,   84,   81, 1045,
     1044,  390, 1043, 1042,  392,   81,   84,   81, 1041, 1040,
      393,   81,   84,   81,  391,   81,   84,   81,   81,   84,
       81,   81,   84,   81,   81,   84,   81,  438,   81,   84,
       81, 1039,  394, 1038, 1037,  395, 1036,  440,   81,   84,
       81,   81,   84,   81,  439,   81,   84,   81,  442,   81,
       84,   81,   81,   84,   81,   81,   84,   81, 1035,   81,
       84,   81,  441, 1034,  443,   81,   84,   81, 1033,  445,

     1032, 1031,  444, 1030,   81,   84,   81,  446,   81,   84,
       81, 1029,  450, 1028,  447, 1027,  386, 1026, 1025,  448,
     1024,  392,  452,  454,   81,   84,   81,  449,   81,   84,
       81,  451, 1023,  455, 1016, 1015,  453,   81,   84,   81,
       81,   84,   81,  456, 1014, 1013,   81,   84,   81,   81,
       84,   81,   81,   84,   81, 1012, 1011,  458,  457, 1010,
      460, 1009, 1008,  461,   81,   84,   81, 1007, 1006,  459,
      462,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81,   81,   84,   81,   81,   84,   81,   81,
       84,   81, 1005,   81,   84,   81,   81,   84,   81, 1004,

     1003,  463,   81,   84,   81, 1002,  464,   81,   84,   81,
       81,   84,   81,   81,   84,   81,   81,   84,   81,   81,
       84,   81, 1001, 1000,  468,  999,  998,  465,  469,   81,
       84,   81,  997,  466,  996,  995,  467,   81,   84,   81,
       81,   84,   81,  471,  994,  470,  993,  992,  472,   81,
       84,   81,  474,  991,   81,   84,   81,   81,   84,   81,
       81,   84,   81,   81,   84,   81,  473,   81,   84,   81,
       81,   84,   81,  990,  475,   81,   84,   81,   81,   84,
       81,  989,  477,  988,  987,  476,  478,   81,   84,   81,
       81,   84,   81,  523,   81,   84,   81,   81,   84,   81,

      979,   81,   84,   81,   81,   84,   81,   81,   84,   81,
      525,  528,  524,   81,   84,   81,   81,   84,   81,  978,
      526,  977,  976,  527,  975,   81,   84,   81,  974,  973,
      530,  537,   81,   84,   81,  972,  529,  465,  532,  531,
       81,   84,   81,   81,   84,   81,  971,  470,  970,  969,
      540,  541,  542,  968,  533,  967,  538,  534,  966,  965,
      543,  535,  536,  544,   81,   84,   81,  545,  546,  964,
      539,  547,   81,   84,   81,   81,   84,   81,   81,   84,
       81,   81,   84,   81,   81,   84,   81,  549,   81,   84,
       81,  963,  548,  962,  961,  551,  960,  959,  550,   81,

       84,   81,   81,   84,   81,   81,   84,   81,   81,   84,
       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81,   81,   84,   81,   81,   84,   81,  552,
      565,  566,  553,   81,   84,   81,   81,   84,   81,   81,
       84,   81,  555,   81,   84,   81,  567,  568,  554,  958,
      957,  569,  956,   81,   84,   81,  955,  954,  556,   81,
       84,   81,  953,  557,   81,   84,   81,   81,   84,   81,
      952,  559,  951,  560,  950,  949,  558,   81,   84,   81,
      948,  938,  561,   81,   84,   81,   81,   84,   81,   81,
       84,   81,  937,  562,  612,   81,   84,   81,   81,   84,

       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
      613,  936,  935,  615,  614,   81,   84,   81,  934,   81,
       84,   81,  616,  617,   81,   84,   81,  933,  619,  932,
      620,   81,   84,   81,  931,  618,  625,  622,   81,   84,
       81,   81,   84,   81,  735,  736,  623,  628,   81,   84,
       81,  930,  621,  737,  929,  626,   81,   84,   81,  738,
      624,  928,  629,  927,  627,   81,   84,   81,  926,  925,
      630,  924,  631,   81,   84,   81,   81,   84,   81,   81,
       84,   81,   81,   84,   81,   81,   84,   81,  923,  636,
      632,   81,   84,   81,  635,   81,   84,   81,   81,   84,

       81,  922,  633,  921,  637,  920,  634,   81,   84,   81,
       81,   84,   81,   81,   84,   81,  638,   81,   84,   81,
       81,   84,   81,   81,   84,   81,  639,   81,   84,   81,
       81,   84,   81,   81,   84,   81,   81,   84,   81,   81,
       84,   81,  641,   81,   84,   81,  919,  918,  640,   81,
       84,   81,  917,  916,  643,   81,   84,   81,  642,  915,
      644,   81,   84,   81,  914,  913,  645,   81,   84,   81,
       81,   84,   81,   81,   84,   81,   81,   84,   81,  912,
      911,  696,   81,   84,   81,  910,  909,  697,  694,  908,
      695,   81,   84,   81,   81,   84,   81,  907,  698,   81,

       84,   81,  906,  905,  699,   81,   84,   81,   81,   84,
       81,   81,   84,   81,  891,  888,  701,  887,  700,  702,
      886,  885,  708,  884,  883,  707,   81,   84,   81,  706,
      703,   81,   84,   81,  882,  704,   81,   84,   81,  710,
       81,   84,   81,  709,  881,  705,  880,   81,   84,   81,
       81,   84,   81,  879,  878,  712,   81,   84,   81,  877,
      711,  713,   81,   84,   81,   81,   84,   81,   81,   84,
       81,  714,  716,  876,  718,  875,  874,  715,  873,  872,
      717,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81,  871,  720,   81,   84,   81,   81,   84,

       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81,  719,   81,   84,   81,   81,   84,   81,
       81,   84,   81,   81,   84,   81,  870,  721,   81,   84,
       81,   81,   84,   81,  722,   81,   84,   81,   81,   84,
       81,  770,  869,  868,  768,  867,  866,  769,  865,  862,
      771,   81,   84,   81,  861,   81,   84,   81,   81,   84,
       81,   81,   84,   81,  860,   81,   84,   81,   81,   84,
       81,  859,  773,  858,  857,  774,  778,  856,  772,  855,
      854,  777,   81,   84,   81,  779,   81,   84,   81,  853,
       81,   84,   81,   81,   84,   81,  852,  833,  775,  776,

      782,  783,   81,   84,   81,  832,  831,  780,   81,   84,
       81,  781,   81,   84,   81,   81,   84,   81,  785,  784,
      786,   81,   84,   81,   81,   84,   81,   81,   84,   81,
      830,  829,  789,  790,   81,   84,   81,  828,  788,   81,
       84,   81,   81,   84,   81,  827,  826,  787,   81,   84,
       81,   81,   84,   81,   81,   84,   81,  825,  824,  791,
       81,   84,   81,  823,   81,   84,   81,   81,   84,   81,
       81,   84,   81,  822,  834,   81,   84,   81,   81,   84,
       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
      842,  841,  836,   81,   84,   81,  835,  838,   81,   84,

       81,  821,  837,  840,  820,  819,  843,   81,   84,   81,
      818,  817,  839,   81,   84,   81,  816,  844,   81,   84,
       81,  815,  814,  845,   81,   84,   81,   81,   84,   81,
       81,   84,   81,  813,  809,  847,  848,   81,   84,   81,
       81,   84,   81,   81,   84,   81,   81,   84,   81,  846,
       81,   84,   81,  808,  850,  807,  806,  849,   81,   84,
       81,   81,   84,   81,  805,   81,   84,   81,  851,   81,
       84,   81,   81,   84,   81,   81,   84,   81,   81,   84,
       81,  804,  893,  803,  802,  899,   81,   84,   81,   81,
       84,   81,  801,  892,   81,   84,   81,  800,  898,  799,

      895,  896,   81,   84,   81,  798,  894,   81,   84,   81,
      797,  900,  796,  795,  897,   81,   84,   81,   81,   84,
       81,   81,   84,   81,   81,   84,   81,  901,  794,  902,
       81,   84,   81,   81,   84,   81,  793,  903,   81,   84,
       81,   81,   84,   81,  792,  904,   81,   84,   81,   81,
       84,   81,   81,   84,   81,   81,   84,   81,   81,   84,
       81,   81,   84,   81,  765,   81,   84,   81,   81,   84,
       81,  764,  945,  763,  940,   81,   84,   81,  762,  761,
      946,   81,   84,   81,  760,  939,  759,  943,  941,  947,
      758,  757,  942,   81,   84,   81,   81,   84,   81,  944,

       81,   84,   81,   81,   84,   81,  756,   81,   84,   81,
       81,   84,   81,  980,   81,   84,   81,   81,   84,   81,
      986,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81,   81,   84,   81,  755,  754,  981,  985,
       81,   84,   81,  753,  983,  752,  751,  982,  984,   81,
       84,   81,   81,   84,   81,   81,   84,   81, 1017,  750,
     1019,   81,   84,   81,  749, 1018,  748, 1020,   81,   84,
       81,  747, 1021,   81,   84,   81,   81,   84,   81,   81,
       84,   81,   81,   84,   81, 1022,   81,   84,   81,   81,
       84,   81,   81,   84,   81,  746, 1085,   81,   84,   81,

       81,   84,   81,  745, 1054, 1053, 1052,  744,  743, 1056,
       81,   84,   81, 1055, 1084,   81,   84,   81,   81,   84,
       81,   81,   84,   81,   81,   84,   81,   81,   84,   81,
       81,   84,   81,  742, 1109,  741, 1087,  740,  739, 1086,
       81,   84,   81,   81,   84,   81,  732,  731, 1110,   81,
       84,   81, 1112,   81,   84,   81,   81,   84,   81, 1111,
       81,   84,   81,  730,  729, 1131,   81,   84,   81, 1132,
       81,   84,   81, 1173,  728,  727, 1133,   81,   84,   81,
     1150,   81,   84,   81,  726,  725, 1151,   81,   84,   81,
     1164,   81,   84,   81,   81,   84,   81,   81,   84,   81,

      724, 1165, 1172, 1179,   81,   84,   81,  723,  693,  692,
      691, 1178,  690,  689,  688,  687,  686,  685,  684,  683,
      682,  681,  680, 1183,  679,  678, 1182,  675,  674,  673,
      672, 1185,  671,  670, 1184,  669,  668,  667,  666,  665,
      664,  663,  662,  661,  660, 1186,   45,   45,   45,   45,
       49,   49,   49,   49,   75,   75,   75,   75,   77,   77,
       77,   77,   84,   84,   93,   93,  179,  659,  179,  179,
      658,  657,  656,  655,  654,  653,  652,  651,  650,  649,
      648,  647,  646,  611,  610,  609,  606,  605,  604,  603,
      602,  601,  600,  599,  598,  597,  596,  595,  594,  593,

      592,  591,  590,  589,  588,  587,  586,  585,  584,  583,
      582,  581,  580,  579,  578,  577,  576,  575,  574,  573,
      572,  571,  570,  564,  563,  522,  517,  516,  515,  514,
      513,  512,  511,  510,  509,  508,  507,  506,  505,  504,
      503,  502,  501,  500,  499,  498,  497,  496,  495,  494,
      493,  492,  491,  490,  489,  488,  487,  486,  485,  484,
      483,  482,  481,  480,  479,  437,  436,  435,  434,  433,
      432,  431,  428,  427,  426,  425,  424,  423,  422,  421,
      420,  419,  418,  417,  416,  415,  414,  413,  412,  411,
      410,  409,  408,  407,  406,  405,  404,  401,  400,  399,

      398,  397,  396,  365,  346,  345,  344,  343,  342,  341,
      340,  337,  334,  333,  332,  331,  328,  324,  323,  320,
      319,  315,  314,  313,  309,  306,  305,  304,  174,  225,
      171,  248,  146,  247,  246,  243,  242,  237,  233,  219,
     1187,  174,  171,  147,  146,  124,   92, 1187, 1187,   72,
       46,   11, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187
    } ;

static yyconst flex_int16_t yy_chk[2821] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    2,    4,
        4,    5,    2,    4,    6,    8,   79,   79,    5,    8,
       10,    6,    7,   15,   10,   15,   10,   16,  181,  181,
       17,   16,   17,   17,  129, 1088,    7,   18,   18,   18,

       18,   18,   19,   23,   23,   23,   19,   27,   27,   27,
        7, 1089,   43,   24,   24,   24,   43,   75,    7,   75,
        7,    7,  129,    7,    7,   47,    7,    7,    7,   47,
        7,    7,  133,    7,    7,    7,    7,    7,   20,   24,
       20,   20,  338, 1090,   25,   25,   25,   20,   20,  338,
       26,   26,   26,   27,   20,   28,   28,   28,   29,   29,
       29,  133,  219,   20,   26,   30,   30,   30,   70,   31,
       31,   31,   70,  219,   20,   20,   25,   32,   32,   32,
       20,   33,   33,   33,   34,   34,   34,   81,   20,   81,
      832,   20,   35,   35,   35,   28,   73,  832,   28,   77,

       73,   28,   31,   77,   29,   36,   36,   36,  234,   84,
       30,   84,   31,  234,   37,   37,   37,   34,  176,   30,
      176, 1091,   32,   38,   38,   38,  141,   33,   39,   39,
       39,   40,   40,   40,   41,   41,   41, 1092,  130,   35,
      141,   53,   53,   53,   54,   54,   54,  130,  125,   57,
       57,   57,  125,   36,   37,   37,   36,   37,  132,  131,
       38,  174,  132,   38,   37,   55,   55,   55,  131,   41,
      174,   38,   40,   39,   53,  436, 1093,   40,   38,   44,
       44,   44,   44,   44,   44,   44,   57,   44,  436, 1094,
       44,   44,   54,   44,   44,   57,   44,   44,   44,   44,

       44,   56,   56,   56, 1095,   58,   58,   58,   55,   59,
       59,   59, 1096,   60,   60,   60,   61,   61,   61,   62,
       62,   62,   63,   63,   63,   64,   64,   64,  144,   65,
       65,   65,  144,  134,   56,   68,   68,   68,   58,  134,
      134,   56,  657, 1097,   56,  127,   59,   56,   58,   60,
      169,   58,   62,   61,  169,   63,  657,  228,   60,  127,
       62,   66,   66,   66, 1099,   62,   65,  172,   67,   67,
       67,  172,   64,   64,  228,  127,   69,   69,   69, 1100,
       68,   82,   82,   82,   68,   93,   93,   93,  239,   83,
      136,   83,   83,   83,  136,   94,   94,   94,   66,   83,

       83,   66,   66,  136,   66,   67,  239,  311,   67,   67,
      311,   66,   94,   69,   88,   88,   67,   69,   88,   88,
      803,  803,   69,   67,   87,   87,   83,   83,   95,   95,
       95,   87,   87,   96,   96,   96,   97,   97,   97,   98,
       98,   98,   99,   99,   99,  100,  100,  100,  101,  101,
      101,  178,   95,  178,   96,  102,  102,  102,   87,   87,
      103,  103,  103,  182,  182,  104,  104,  104,  105,  105,
      105,  182,   98, 1102, 1104,   99,  106,  106,  106,  107,
      107,  107,   97,  108,  108,  108,  109,  109,  109, 1105,
      100,  110,  110,  110,  111,  111,  111, 1106,  182,  101,

      112,  112,  112,  113,  113,  113,  102,  103,  104,  114,
      114,  114,  241, 1107,  105,  115,  115,  115,  116,  116,
      116,  241, 1108,  109,  107, 1113,  106,  108,  111,  117,
      117,  117,  110,  118,  118,  118,  435,  110,  119,  119,
      119,  435,  113,  120,  120,  120,  112, 1114,  115,  121,
      121,  121,  122,  122,  122,  114,  123,  123,  123,  138,
      594,  138,  116,  115,  138,  594,  138,  148,  148,  148,
      149,  149,  149,  150,  150,  150, 1116,  117,  519,  151,
      151,  151,  519, 1117,  118,  119,  152,  152,  152,  153,
      153,  153,  120,  122, 1118, 1119,  123,  121,  154,  154,

      154,  155,  155,  155,  156,  156,  156,  157,  157,  157,
      148,  158,  158,  158, 1120, 1122,  150,  159,  159,  159,
     1123,  149,  151, 1124,  152,  160,  160,  160,  161,  161,
      161, 1125,  162,  162,  162, 1126, 1127,  153,  163,  163,
      163,  164,  164,  164,  221,  221,  158,  221,  154,  165,
      165,  165,  157,  166,  166,  166,  168,  168,  168,  156,
     1128,  159,  160, 1129,  161,  167,  167,  167,  187,  187,
      187,  175,  175, 1130, 1134,  160,  162, 1135,  175,  175,
      164,  177,  177,  225,  177,  177,  177,  741,  163,  180,
      180,  741,  693,  165,  693,  225,  180,  180,  225, 1136,

      166, 1137,  167,  741,  168,  175,  175, 1139,  184,  184,
      184,  187,  185,  185,  185,  186,  186,  186,  188,  188,
      188, 1140, 1141,  180,  180,  184,  185, 1143, 1145,  185,
      189,  189,  189,  190,  190,  190,  191,  191,  191,  192,
      192,  192,  193,  193,  193, 1146, 1147,  186,  194,  194,
      194,  195,  195,  195,  196,  196,  196,  197,  197,  197,
     1149,  198,  198,  198, 1154, 1157,  188,  199,  199,  199,
      191,  200,  200,  200,  201,  201,  201, 1158, 1159,  189,
     1160, 1161,  190,  192,  195,  193,  202,  202,  202,  203,
      203,  203, 1167,  204,  204,  204,  197,  194,  198,  205,

      205,  205,  206,  206,  206,  207,  207,  207,  208,  208,
      208,  209,  209,  209, 1168,  199,  210,  210,  210,  212,
      212,  212,  232,  200,  201,  211,  211,  211,  232,  202,
      213,  213,  213,  214,  214,  214,  232,  203,  204,  215,
      215,  215,  249,  249,  249,  250,  250,  250, 1170,  205,
     1171, 1175,  206,  210, 1176,  208,  207,  209, 1195, 1083,
      212, 1082,  211,  251,  251,  251,  252,  252,  252,  214,
     1080, 1079,  215,  253,  253,  253,  254,  254,  254, 1078,
      213, 1076,  250,  255,  255,  255,  256,  256,  256, 1075,
     1074,  249,  257,  257,  257,  251,  258,  258,  258,  259,

      259,  259,  260,  260,  260, 1073,  253, 1072, 1071,  252,
      261,  261,  261,  262,  262,  262,  263,  263,  263, 1068,
      254,  264,  264,  264,  265,  265,  265,  266,  266,  266,
     1067,  257, 1066,  258, 1065, 1064,  259, 1062, 1061,  256,
      267,  267,  267,  260,  268,  268,  268,  261,  270, 1060,
      270,  270,  270, 1059,  271, 1058,  271,  271,  271,  262,
     1051,  265, 1050, 1049,  266,  271,  264,  272,  272,  272,
     1048, 1046,  267,  273,  273,  273,  274,  274,  274, 1045,
      275,  275,  275, 1044, 1043,  273,  275,  276,  276,  276,
     1042, 1040,  271,  268, 1039, 1038,  274,  277,  277,  277,

     1037,  275,  275,  275,  275,  278,  278,  278,  279,  279,
      279, 1036,  280,  280,  280,  281,  281,  281,  282,  282,
      282, 1035, 1034,  283,  283,  283,  284,  284,  284,  285,
      285,  285,  286,  286,  286,  287,  287,  287,  288,  288,
      288,  289,  289,  289,  290,  290,  290,  291,  291,  291,
      292,  292,  292, 1033,  278,  280, 1032, 1031,  279,  282,
      283,  293,  293,  293,  294,  294,  294, 1030,  287, 1029,
     1028,  288,  295,  295,  295, 1027,  284, 1026,  289, 1025,
     1024,  286, 1023,  292, 1016,  290, 1015,  292,  296,  296,
      296,  297,  297,  297,  298,  298,  298,  291,  299,  299,

      299,  300,  300,  300, 1014,  294, 1013,  295, 1012, 1010,
      293,  301,  301,  301,  302,  302,  302,  303,  303,  303,
      347,  347,  347,  348,  348,  348,  349,  349,  349, 1009,
     1008,  296, 1007, 1006,  299,  350,  350,  350, 1005, 1004,
      300,  351,  351,  351,  297,  352,  352,  352,  353,  353,
      353,  354,  354,  354,  355,  355,  355,  347,  356,  356,
      356, 1003,  301, 1002, 1001,  303, 1000,  350,  357,  357,
      357,  358,  358,  358,  349,  359,  359,  359,  352,  360,
      360,  360,  361,  361,  361,  362,  362,  362,  999,  363,
      363,  363,  351,  998,  353,  364,  364,  364,  997,  355,

      996,  995,  354,  994,  366,  366,  366,  356,  367,  367,
      367,  993,  360,  992,  357,  991,  360,  990,  989,  358,
      988,  362,  363,  366,  368,  368,  368,  359,  369,  369,
      369,  361,  987,  367,  979,  978,  364,  370,  370,  370,
      371,  371,  371,  368,  977,  976,  372,  372,  372,  373,
      373,  373,  374,  374,  374,  974,  973,  370,  369,  972,
      372,  971,  970,  372,  375,  375,  375,  969,  967,  371,
      372,  376,  376,  376,  377,  377,  377,  378,  378,  378,
      379,  379,  379,  380,  380,  380,  381,  381,  381,  382,
      382,  382,  966,  383,  383,  383,  384,  384,  384,  965,

      964,  375,  385,  385,  385,  963,  376,  386,  386,  386,
      387,  387,  387,  388,  388,  388,  389,  389,  389,  390,
      390,  390,  962,  961,  382,  960,  959,  379,  383,  391,
      391,  391,  958,  380,  957,  956,  381,  392,  392,  392,
      393,  393,  393,  386,  955,  385,  954,  953,  388,  394,
      394,  394,  390,  952,  395,  395,  395,  438,  438,  438,
      439,  439,  439,  440,  440,  440,  389,  441,  441,  441,
      442,  442,  442,  951,  392,  443,  443,  443,  444,  444,
      444,  950,  394,  949,  948,  393,  395,  445,  445,  445,
      446,  446,  446,  439,  447,  447,  447,  448,  448,  448,

      938,  449,  449,  449,  450,  450,  450,  451,  451,  451,
      441,  444,  440,  452,  452,  452,  453,  453,  453,  937,
      442,  936,  935,  443,  934,  454,  454,  454,  933,  932,
      446,  454,  455,  455,  455,  931,  445,  446,  449,  447,
      456,  456,  456,  457,  457,  457,  930,  450,  929,  928,
      457,  457,  457,  927,  450,  926,  455,  451,  925,  923,
      457,  452,  453,  457,  458,  458,  458,  457,  457,  922,
      456,  458,  459,  459,  459,  460,  460,  460,  461,  461,
      461,  462,  462,  462,  463,  463,  463,  460,  464,  464,
      464,  921,  459,  919,  918,  462,  917,  916,  461,  465,

      465,  465,  466,  466,  466,  467,  467,  467,  468,  468,
      468,  469,  469,  469,  470,  470,  470,  471,  471,  471,
      472,  472,  472,  473,  473,  473,  474,  474,  474,  464,
      481,  481,  465,  475,  475,  475,  476,  476,  476,  477,
      477,  477,  467,  478,  478,  478,  481,  481,  466,  915,
      914,  481,  913,  523,  523,  523,  912,  911,  468,  524,
      524,  524,  910,  470,  525,  525,  525,  526,  526,  526,
      909,  475,  908,  476,  907,  906,  474,  527,  527,  527,
      905,  891,  477,  528,  528,  528,  529,  529,  529,  530,
      530,  530,  890,  478,  523,  531,  531,  531,  532,  532,

      532,  533,  533,  533,  534,  534,  534,  535,  535,  535,
      524,  889,  888,  527,  525,  536,  536,  536,  887,  537,
      537,  537,  528,  529,  538,  538,  538,  886,  531,  885,
      532,  539,  539,  539,  884,  530,  537,  534,  540,  540,
      540,  541,  541,  541,  659,  659,  535,  541,  542,  542,
      542,  883,  533,  659,  881,  539,  543,  543,  543,  659,
      536,  880,  542,  876,  540,  544,  544,  544,  875,  874,
      543,  873,  544,  545,  545,  545,  546,  546,  546,  547,
      547,  547,  548,  548,  548,  549,  549,  549,  872,  548,
      545,  550,  550,  550,  547,  551,  551,  551,  552,  552,

      552,  871,  546,  870,  549,  869,  546,  553,  553,  553,
      554,  554,  554,  555,  555,  555,  550,  556,  556,  556,
      557,  557,  557,  558,  558,  558,  551,  559,  559,  559,
      560,  560,  560,  561,  561,  561,  562,  562,  562,  612,
      612,  612,  553,  613,  613,  613,  868,  867,  552,  614,
      614,  614,  866,  865,  556,  615,  615,  615,  554,  864,
      558,  616,  616,  616,  863,  862,  560,  617,  617,  617,
      618,  618,  618,  619,  619,  619,  620,  620,  620,  861,
      860,  614,  621,  621,  621,  859,  858,  615,  612,  857,
      613,  622,  622,  622,  623,  623,  623,  856,  616,  624,

      624,  624,  855,  854,  617,  625,  625,  625,  626,  626,
      626,  627,  627,  627,  833,  831,  619,  830,  618,  620,
      829,  827,  627,  826,  825,  626,  628,  628,  628,  625,
      621,  629,  629,  629,  823,  622,  630,  630,  630,  629,
      631,  631,  631,  628,  822,  623,  821,  632,  632,  632,
      633,  633,  633,  820,  819,  631,  634,  634,  634,  818,
      630,  632,  635,  635,  635,  636,  636,  636,  637,  637,
      637,  633,  635,  817,  637,  816,  815,  634,  814,  813,
      636,  638,  638,  638,  639,  639,  639,  640,  640,  640,
      641,  641,  641,  812,  639,  642,  642,  642,  643,  643,

      643,  644,  644,  644,  645,  645,  645,  694,  694,  694,
      695,  695,  695,  638,  696,  696,  696,  697,  697,  697,
      698,  698,  698,  699,  699,  699,  811,  641,  700,  700,
      700,  701,  701,  701,  643,  702,  702,  702,  703,  703,
      703,  696,  810,  807,  694,  806,  805,  695,  804,  802,
      697,  704,  704,  704,  801,  705,  705,  705,  706,  706,
      706,  707,  707,  707,  800,  708,  708,  708,  709,  709,
      709,  799,  702,  798,  797,  703,  708,  796,  700,  795,
      794,  707,  710,  710,  710,  709,  711,  711,  711,  793,
      712,  712,  712,  713,  713,  713,  792,  767,  704,  705,

      712,  713,  714,  714,  714,  766,  765,  710,  715,  715,
      715,  711,  716,  716,  716,  717,  717,  717,  715,  714,
      716,  718,  718,  718,  719,  719,  719,  720,  720,  720,
      763,  762,  719,  719,  721,  721,  721,  759,  718,  722,
      722,  722,  768,  768,  768,  757,  756,  717,  769,  769,
      769,  770,  770,  770,  771,  771,  771,  755,  754,  720,
      772,  772,  772,  753,  773,  773,  773,  774,  774,  774,
      775,  775,  775,  752,  768,  776,  776,  776,  777,  777,
      777,  778,  778,  778,  779,  779,  779,  780,  780,  780,
      779,  778,  770,  781,  781,  781,  769,  773,  782,  782,

      782,  751,  771,  777,  750,  749,  782,  783,  783,  783,
      748,  746,  776,  784,  784,  784,  745,  783,  785,  785,
      785,  744,  743,  784,  786,  786,  786,  787,  787,  787,
      788,  788,  788,  742,  740,  787,  787,  789,  789,  789,
      790,  790,  790,  791,  791,  791,  834,  834,  834,  786,
      835,  835,  835,  739,  790,  738,  737,  789,  836,  836,
      836,  837,  837,  837,  736,  838,  838,  838,  791,  839,
      839,  839,  840,  840,  840,  841,  841,  841,  842,  842,
      842,  735,  835,  734,  733,  842,  843,  843,  843,  844,
      844,  844,  732,  834,  845,  845,  845,  731,  841,  730,

      837,  838,  846,  846,  846,  729,  836,  847,  847,  847,
      728,  843,  727,  726,  839,  848,  848,  848,  849,  849,
      849,  850,  850,  850,  851,  851,  851,  847,  725,  848,
      892,  892,  892,  893,  893,  893,  724,  849,  894,  894,
      894,  895,  895,  895,  723,  850,  896,  896,  896,  897,
      897,  897,  898,  898,  898,  899,  899,  899,  900,  900,
      900,  901,  901,  901,  692,  902,  902,  902,  903,  903,
      903,  691,  899,  690,  893,  904,  904,  904,  689,  688,
      901,  939,  939,  939,  687,  892,  685,  896,  894,  902,
      684,  683,  895,  940,  940,  940,  941,  941,  941,  897,

      942,  942,  942,  943,  943,  943,  682,  944,  944,  944,
      945,  945,  945,  939,  946,  946,  946,  947,  947,  947,
      945,  980,  980,  980,  981,  981,  981,  982,  982,  982,
      983,  983,  983,  984,  984,  984,  681,  680,  940,  944,
      985,  985,  985,  679,  942,  678,  677,  941,  943,  986,
      986,  986, 1017, 1017, 1017, 1018, 1018, 1018,  980,  676,
      982, 1019, 1019, 1019,  675,  981,  674,  983, 1020, 1020,
     1020,  673,  984, 1021, 1021, 1021, 1022, 1022, 1022, 1052,
     1052, 1052, 1053, 1053, 1053,  985, 1054, 1054, 1054, 1055,
     1055, 1055, 1056, 1056, 1056,  671, 1054, 1084, 1084, 1084,

     1085, 1085, 1085,  670, 1019, 1018, 1017,  667,  666, 1022,
     1086, 1086, 1086, 1020, 1052, 1087, 1087, 1087, 1109, 1109,
     1109, 1110, 1110, 1110, 1111, 1111, 1111, 1112, 1112, 1112,
     1131, 1131, 1131,  665, 1084,  662, 1056,  661,  660, 1055,
     1132, 1132, 1132, 1133, 1133, 1133,  656,  655, 1085, 1150,
     1150, 1150, 1087, 1151, 1151, 1151, 1164, 1164, 1164, 1086,
     1165, 1165, 1165,  653,  652, 1109, 1172, 1172, 1172, 1110,
     1173, 1173, 1173, 1165,  651,  650, 1112, 1178, 1178, 1178,
     1131, 1179, 1179, 1179,  649,  648, 1132, 1182, 1182, 1182,
     1150, 1183, 1183, 1183, 1184, 1184, 1184, 1185, 1185, 1185,

      647, 1151, 1164, 1173, 1186, 1186, 1186,  646,  611,  610,
      609, 1172,  608,  607,  606,  605,  604,  603,  602,  601,
      600,  599,  597, 1182,  596,  595, 1179,  593,  592,  591,
      590, 1184,  589,  588, 1183,  587,  585,  584,  583,  582,
      581,  580,  579,  578,  577, 1185, 1188, 1188, 1188, 1188,
     1189, 1189, 1189, 1189, 1190, 1190, 1190, 1190, 1191, 1191,
     1191, 1191, 1192, 1192, 1193, 1193, 1194,  576, 1194, 1194,
      575,  574,  573,  572,  571,  570,  569,  568,  567,  566,
      565,  564,  563,  522,  521,  520,  518,  517,  516,  515,
      514,  513,  512,  511,  510,  509,  508,  507,  506,  505,

      504,  503,  502,  501,  500,  499,  498,  497,  496,  495,
      494,  493,  492,  491,  490,  489,  488,  487,  486,  485,
      484,  483,  482,  480,  479,  437,  434,  433,  432,  431,
      430,  429,  428,  427,  426,  425,  424,  423,  422,  421,
      420,  419,  418,  417,  416,  415,  414,  413,  412,  411,
      410,  409,  408,  407,  406,  405,  404,  403,  402,  401,
      400,  399,  398,  397,  396,  345,  344,  343,  342,  341,
      340,  339,  337,  336,  335,  334,  333,  332,  331,  330,
      329,  328,  327,  326,  325,  324,  323,  322,  321,  320,
      319,  318,  317,  316,  314,  313,  312,  310,  309,  308,

      307,  306,  305,  269,  248,  247,  246,  245,  244,  243,
      242,  240,  238,  237,  236,  235,  233,  231,  229,  227,
      226,  224,  223,  222,  220,  218,  217,  216,  173,  171,
      170,  146,  145,  143,  142,  140,  139,  137,  135,  128,
       80,   74,   71,   51,   48,   42,   22,   21,   11,    9,
        3, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,

     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187,
     1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187
    } ;

static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;

extern int yy_flex_debug;
int yy_flex_debug = 0;

/* The intent behind this definition is that it'll catch
 * any uses of REJECT which flex missed.
 */
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "lexer.l"
/*
 * The SIP lexer.
 *
 * Copyright (c) 2016 Riverbank Computing Limited <info@riverbankcomputing.com>
 *
 * This file is part of SIP.
 *
 * This copy of SIP is licensed for use under the terms of the SIP License
 * Agreement.  See the file LICENSE for more details.
 *
 * This copy of SIP may also used under the terms of the GNU General Public
 * License v2 or v3 as published by the Free Software Foundation which can be
 * found in the files LICENSE-GPL2 and LICENSE-GPL3 included in this package.
 *
 * SIP is supplied WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 */
#line 20 "lexer.l"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

#include "sip.h"
#include "parser.h"


#ifndef FLEX_SCANNER
#error "Only flex is supported at the moment"
#endif


/* Windows doesn't have unistd.h so declare it here. */
extern int isatty(int);


/* These are unused. */
static int input(void) SIP_UNUSED;
static void yy_fatal_error(yyconst char *) SIP_UNUSED;
static int yy_top_state(void) SIP_UNUSED;
static void yyunput(int, char *) SIP_UNUSED;

#define YY_NO_UNISTD_H
#define YY_FATAL_ERROR(s)       fatallex(s)

#define MAX_INCLUDE_DEPTH       10
#define MAX_CODE_LINE_LENGTH    1000


static struct inputFile {
    sourceLocation sloc;                /* The source location. */
    YY_BUFFER_STATE bs;                 /* The flex buffer state handle. */
    char *cwd;                          /* The path part of the file name. */
    parserContext pc;                   /* The parser context. */
} inputFileStack[MAX_INCLUDE_DEPTH];

static int currentFile = -1;            /* Index of the current input file. */
static char codeLine[MAX_CODE_LINE_LENGTH + 2]; /* The current code line. */
static int codeIdx = -1;                /* Index of next code character. */
static int parenDepth = 0;              /* The current depth of (...). */

static FILE *openFile(const char *);
static void fatallex(char *);




#line 1532 "../lexer.c"

#define INITIAL 0
#define code 1
#define ccomment 2
#define directive 3
#define directive_start 4

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

#ifndef YY_EXTRA_TYPE
#define YY_EXTRA_TYPE void *
#endif

static int yy_init_globals (void );

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

int yylex_destroy (void );

int yyget_debug (void );

void yyset_debug (int debug_flag  );

YY_EXTRA_TYPE yyget_extra (void );

void yyset_extra (YY_EXTRA_TYPE user_defined  );

FILE *yyget_in (void );

void yyset_in  (FILE * in_str  );

FILE *yyget_out (void );

void yyset_out  (FILE * out_str  );

int yyget_leng (void );

char *yyget_text (void );

int yyget_lineno (void );

void yyset_lineno (int line_number  );

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

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

    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 = NULL;
    
    static void yy_push_state (int new_state );
    
    static void yy_pop_state (void );
    
    static int yy_top_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 do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#endif

/* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
 * is returned in "result".
 */
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
		{ \
		int c = '*'; \
		unsigned 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 74 "lexer.l"


#line 1734 "../lexer.c"

	if ( !(yy_init) )
		{
		(yy_init) = 1;

#ifdef YY_USER_INIT
		YY_USER_INIT;
#endif

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

		if ( ! yyin )
			yyin = stdin;

		if ( ! yyout )
			yyout = stdout;

		if ( ! YY_CURRENT_BUFFER ) {
			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_match:
		do
			{
			register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
			if ( yy_accept[yy_current_state] )
				{
				(yy_last_accepting_state) = yy_current_state;
				(yy_last_accepting_cpos) = yy_cp;
				}
			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
				{
				yy_current_state = (int) yy_def[yy_current_state];
				if ( yy_current_state >= 1188 )
					yy_c = yy_meta[(unsigned int) yy_c];
				}
			yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
			++yy_cp;
			}
		while ( yy_base[yy_current_state] != 2752 );

yy_find_action:
		yy_act = yy_accept[yy_current_state];
		if ( yy_act == 0 )
			{ /* have to back up */
			yy_cp = (yy_last_accepting_cpos);
			yy_current_state = (yy_last_accepting_state);
			yy_act = yy_accept[yy_current_state];
			}

		YY_DO_BEFORE_ACTION;

do_action:	/* This label is used only to access EOF actions. */

		switch ( yy_act )
	{ /* beginning of action switch */
			case 0: /* must back up */
			/* undo the effects of YY_DO_BEFORE_ACTION */
			*yy_cp = (yy_hold_char);
			yy_cp = (yy_last_accepting_cpos);
			yy_current_state = (yy_last_accepting_state);
			goto yy_find_action;

case 1:
YY_RULE_SETUP
#line 76 "lexer.l"
{BEGIN directive_start; return TK_API;}
	YY_BREAK
case 2:
YY_RULE_SETUP
#line 77 "lexer.l"
{BEGIN directive_start; return TK_AUTOPYNAME;}
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 78 "lexer.l"
{return TK_CMODULE;}
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 79 "lexer.l"
{BEGIN directive_start; return TK_COMPOMODULE;}
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 80 "lexer.l"
{BEGIN directive_start; return TK_CONSMODULE;}
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 81 "lexer.l"
{BEGIN directive_start; return TK_DEFDOCSTRING;}
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 82 "lexer.l"
{BEGIN directive_start; return TK_DEFENCODING;}
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 83 "lexer.l"
{BEGIN directive_start; return TK_DEFMETATYPE;}
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 84 "lexer.l"
{BEGIN directive_start; return TK_DEFSUPERTYPE;}
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 85 "lexer.l"
{return TK_END;}
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 86 "lexer.l"
{BEGIN INITIAL; return TK_END;}
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 87 "lexer.l"
{return TK_EXCEPTION;}
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 88 "lexer.l"
{BEGIN directive_start; return TK_FEATURE;}
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 89 "lexer.l"
{return TK_IF;}
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 90 "lexer.l"
{BEGIN directive_start; return TK_IMPORT;}
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 91 "lexer.l"
{BEGIN directive_start; return TK_INCLUDE;}
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 92 "lexer.l"
{BEGIN directive_start; return TK_LICENSE;}
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 93 "lexer.l"
{return TK_MAPPEDTYPE;}
	YY_BREAK
case 19:
YY_RULE_SETUP
#line 94 "lexer.l"
{BEGIN directive_start; return TK_MODULE;}
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 95 "lexer.l"
{return TK_OPTINCLUDE;}
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 96 "lexer.l"
{return TK_PLATFORMS;}
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 97 "lexer.l"
{BEGIN directive_start; return TK_PLUGIN;}
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 98 "lexer.l"
{BEGIN directive_start; return TK_PROPERTY;}
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 99 "lexer.l"
{return TK_TIMELINE;}
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 101 "lexer.l"
{return TK_CLASS;}
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 102 "lexer.l"
{return TK_STRUCT;}
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 103 "lexer.l"
{return TK_PUBLIC;}
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 104 "lexer.l"
{return TK_PROTECTED;}
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 105 "lexer.l"
{return TK_PRIVATE;}
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 106 "lexer.l"
{return TK_SIGNALS;}
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 107 "lexer.l"
{return TK_SIGNALS;}
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 108 "lexer.l"
{return TK_SIGNAL_METHOD;}
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 109 "lexer.l"
{return TK_SLOTS;}
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 110 "lexer.l"
{return TK_SLOTS;}
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 111 "lexer.l"
{return TK_SLOT_METHOD;}
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 112 "lexer.l"
{return TK_CHAR;}
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 113 "lexer.l"
{return TK_WCHAR_T;}
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 114 "lexer.l"
{return TK_BOOL;}
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 115 "lexer.l"
{return TK_SHORT;}
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 116 "lexer.l"
{return TK_INT;}
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 117 "lexer.l"
{return TK_LONG;}
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 118 "lexer.l"
{return TK_FLOAT;}
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 119 "lexer.l"
{return TK_DOUBLE;}
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 120 "lexer.l"
{return TK_VOID;}
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 121 "lexer.l"
{return TK_VIRTUAL;}
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 122 "lexer.l"
{return TK_ENUM;}
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 123 "lexer.l"
{return TK_SIGNED;}
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 124 "lexer.l"
{return TK_UNSIGNED;}
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 125 "lexer.l"
{return TK_CONST;}
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 126 "lexer.l"
{return TK_STATIC;}
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 127 "lexer.l"
{return TK_TRUE_VALUE;}
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 128 "lexer.l"
{return TK_FALSE_VALUE;}
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 129 "lexer.l"
{return TK_NULL_VALUE;}
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 130 "lexer.l"
{return TK_TYPEDEF;}
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 131 "lexer.l"
{return TK_NAMESPACE;}
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 132 "lexer.l"
{return TK_OPERATOR;}
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 133 "lexer.l"
{return TK_THROW;}
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 134 "lexer.l"
{return TK_EXPLICIT;}
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 135 "lexer.l"
{return TK_TEMPLATE;}
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 136 "lexer.l"
{return TK_SCOPE;}
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 137 "lexer.l"
{return TK_LOGICAL_OR;}
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 138 "lexer.l"
{return TK_PYOBJECT;}
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 139 "lexer.l"
{return TK_PYTUPLE;}
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 140 "lexer.l"
{return TK_PYLIST;}
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 141 "lexer.l"
{return TK_PYDICT;}
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 142 "lexer.l"
{return TK_PYCALLABLE;}
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 143 "lexer.l"
{return TK_PYSLICE;}
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 144 "lexer.l"
{return TK_PYTYPE;}
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 145 "lexer.l"
{return TK_PYBUFFER;}
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 146 "lexer.l"
{return TK_SIPSIGNAL;}
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 147 "lexer.l"
{return TK_SIPSLOT;}
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 148 "lexer.l"
{return TK_SIPANYSLOT;}
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 149 "lexer.l"
{return TK_SIPRXCON;}
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 150 "lexer.l"
{return TK_SIPRXDIS;}
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 151 "lexer.l"
{return TK_SIPSLOTCON;}
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 152 "lexer.l"
{return TK_SIPSLOTDIS;}
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 153 "lexer.l"
{return TK_SIPSSIZET;}
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 154 "lexer.l"
{return TK_QOBJECT;}
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 155 "lexer.l"
{return TK_ELLIPSIS;}
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 157 "lexer.l"
{return TK_FORMAT;}
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 158 "lexer.l"
{return TK_GET;}
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 159 "lexer.l"
{return TK_ID;}
	YY_BREAK
case 83:
YY_RULE_SETUP
#line 160 "lexer.l"
{return TK_KWARGS;}
	YY_BREAK
case 84:
YY_RULE_SETUP
#line 161 "lexer.l"
{return TK_LANGUAGE;}
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 162 "lexer.l"
{return TK_LICENSEE;}
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 163 "lexer.l"
{return TK_NAME;}
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 164 "lexer.l"
{return TK_OPTIONAL;}
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 165 "lexer.l"
{return TK_ORDER;}
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 166 "lexer.l"
{return TK_REMOVELEADING;}
	YY_BREAK
case 90:
YY_RULE_SETUP
#line 167 "lexer.l"
{return TK_SET;}
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 168 "lexer.l"
{return TK_SIGNATURE;}
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 169 "lexer.l"
{return TK_TIMESTAMP;}
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 170 "lexer.l"
{return TK_TYPE;}
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 171 "lexer.l"
{return TK_USEARGNAMES;}
	YY_BREAK
case 95:
YY_RULE_SETUP
#line 172 "lexer.l"
{return TK_ALLRAISEPYEXC;}
	YY_BREAK
case 96:
YY_RULE_SETUP
#line 173 "lexer.l"
{return TK_CALLSUPERINIT;}
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 174 "lexer.l"
{return TK_DEFERRORHANDLER;}
	YY_BREAK
case 98:
YY_RULE_SETUP
#line 175 "lexer.l"
{return TK_VERSION;}
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 176 "lexer.l"
{return TK_NAMESHORT;}
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 178 "lexer.l"
{return TK_TRUE_VALUE;}
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 179 "lexer.l"
{return TK_FALSE_VALUE;}
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 182 "lexer.l"
{
    /* Ignore whitespace. */
    ;
}
	YY_BREAK
case 103:
YY_RULE_SETUP
#line 187 "lexer.l"
{
    /*
     * Maintain the parenthesis depth so that we don't enter the 'code' state
     * until any arguments have been parsed.
     */
    ++parenDepth;

    BEGIN directive;

    return '(';
}
	YY_BREAK
case 104:
YY_RULE_SETUP
#line 199 "lexer.l"
{
    /* Maintain the parenthesis depth. */
    --parenDepth;

    BEGIN INITIAL;

    return ')';
}
	YY_BREAK
case 105:
/* rule 105 can match eol */
YY_RULE_SETUP
#line 208 "lexer.l"
{
    /* Maintain the line number. */
    ++inputFileStack[currentFile].sloc.linenr;

    if (codeIdx == 0 && parenDepth == 0)
    {
        BEGIN code;
    }
}
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 218 "lexer.l"
{
    /* Ignore C++ style comments. */
    ;
}
	YY_BREAK
case 107:
YY_RULE_SETUP
#line 224 "lexer.l"
{
    /* A signed decimal number. */
    yylval.number = strtol(yytext,NULL,0);
    return TK_NUMBER_VALUE;
}
	YY_BREAK
case 108:
YY_RULE_SETUP
#line 231 "lexer.l"
{
    /* A floating point number. */
    yylval.real = strtod(yytext,NULL);
    return TK_REAL_VALUE;
}
	YY_BREAK
case 109:
YY_RULE_SETUP
#line 238 "lexer.l"
{
    /* An unsigned hexadecimal number. */
    yylval.number = strtol(yytext,NULL,16);
    return TK_NUMBER_VALUE;
}
	YY_BREAK
case 110:
YY_RULE_SETUP
#line 245 "lexer.l"
{
    /* An identifier name. */
    yylval.text = sipStrdup(yytext);
    return TK_NAME_VALUE;
}
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 252 "lexer.l"
{
    /* A relative pathname. */
    yylval.text = sipStrdup(yytext);
    return TK_PATH_VALUE;
}
	YY_BREAK
case 112:
/* rule 112 can match eol */
YY_RULE_SETUP
#line 259 "lexer.l"
{
    /* A double-quoted string. */
    char *dp, *sp;

    /* Copy the string without the quotes. */

    yylval.text = sipMalloc(strlen(yytext) + 1);

    dp = yylval.text;
    sp = yytext;

    while (*sp != '\0')
    {
        if (*sp != '"')
            *dp++ = *sp;

        ++sp;
    }

    *dp = '\0';

    return TK_STRING_VALUE;
}
	YY_BREAK
case 113:
/* rule 113 can match eol */
YY_RULE_SETUP
#line 284 "lexer.l"
{
    /* A single-quoted character. */
    if (strlen(yytext) != 3)
        fatallex("Exactly one character expected between single quotes");

    yylval.qchar = yytext[1];

    return TK_QCHAR_VALUE;
}
	YY_BREAK
case 114:
YY_RULE_SETUP
#line 295 "lexer.l"
{
    /* Ignore C-style comments. */
    yy_push_state(ccomment);
}
	YY_BREAK
case 115:
/* rule 115 can match eol */
YY_RULE_SETUP
#line 299 "lexer.l"
{
    ++inputFileStack[currentFile].sloc.linenr;
}
	YY_BREAK
case 116:
YY_RULE_SETUP
#line 302 "lexer.l"
{
    yy_pop_state();
}
	YY_BREAK
case 117:
YY_RULE_SETUP
#line 305 "lexer.l"
{
    ;
}
	YY_BREAK
case 118:
YY_RULE_SETUP
#line 310 "lexer.l"
{
    /* The software license. */
    codeIdx = 0;
    return TK_COPYING;
}
	YY_BREAK
case 119:
YY_RULE_SETUP
#line 316 "lexer.l"
{
    /* The start of a from-type code block. */
    codeIdx = 0;
    return TK_FROMTYPE;
}
	YY_BREAK
case 120:
YY_RULE_SETUP
#line 322 "lexer.l"
{
    /* The start of a to-type code block. */
    codeIdx = 0;
    return TK_TOTYPE;
}
	YY_BREAK
case 121:
YY_RULE_SETUP
#line 328 "lexer.l"
{
    /* The start of a to-sub-class code block. */
    codeIdx = 0;
    return TK_TOSUBCLASS;
}
	YY_BREAK
case 122:
YY_RULE_SETUP
#line 334 "lexer.l"
{
    /* The start of an exported header code block. */
    codeIdx = 0;
    return TK_EXPHEADERCODE;
}
	YY_BREAK
case 123:
YY_RULE_SETUP
#line 340 "lexer.l"
{
    /* The start of part of an extract. */
    codeIdx = 0;

    BEGIN directive_start;

    return TK_EXTRACT;
}
	YY_BREAK
case 124:
YY_RULE_SETUP
#line 349 "lexer.l"
{
    /* The start of a module header code block. */
    codeIdx = 0;
    return TK_MODHEADERCODE;
}
	YY_BREAK
case 125:
YY_RULE_SETUP
#line 355 "lexer.l"
{
    /* The start of a type header code block. */
    codeIdx = 0;
    return TK_TYPEHEADERCODE;
}
	YY_BREAK
case 126:
YY_RULE_SETUP
#line 361 "lexer.l"
{
    /* The start of a pre-initialisation code block. */
    codeIdx = 0;
    return TK_PREINITCODE;
}
	YY_BREAK
case 127:
YY_RULE_SETUP
#line 367 "lexer.l"
{
    /* The start of an initialisation code block. */
    codeIdx = 0;
    return TK_INITCODE;
}
	YY_BREAK
case 128:
YY_RULE_SETUP
#line 373 "lexer.l"
{
    /* The start of a post-initialisation code block. */
    codeIdx = 0;
    return TK_POSTINITCODE;
}
	YY_BREAK
case 129:
YY_RULE_SETUP
#line 379 "lexer.l"
{
    /* The start of a class finalisation code block. */
    codeIdx = 0;
    return TK_FINALCODE;
}
	YY_BREAK
case 130:
YY_RULE_SETUP
#line 385 "lexer.l"
{
    /* The start of a unit code block. */
    codeIdx = 0;
    return TK_UNITCODE;
}
	YY_BREAK
case 131:
YY_RULE_SETUP
#line 391 "lexer.l"
{
    /* The start of a unit post-include code block. */
    codeIdx = 0;
    return TK_UNITPOSTINCLUDECODE;
}
	YY_BREAK
case 132:
YY_RULE_SETUP
#line 397 "lexer.l"
{
    /* The start of a module code block. */
    codeIdx = 0;
    return TK_MODCODE;
}
	YY_BREAK
case 133:
YY_RULE_SETUP
#line 403 "lexer.l"
{
    /* The start of a type code block. */
    codeIdx = 0;
    return TK_TYPECODE;
}
	YY_BREAK
case 134:
YY_RULE_SETUP
#line 409 "lexer.l"
{
    /* The start of a C++ method code block. */
    codeIdx = 0;
    return TK_METHODCODE;
}
	YY_BREAK
case 135:
YY_RULE_SETUP
#line 415 "lexer.l"
{
    /* The start of a C++ virtual call code block. */
    codeIdx = 0;
    return TK_VIRTUALCALLCODE;
}
	YY_BREAK
case 136:
YY_RULE_SETUP
#line 421 "lexer.l"
{
    /* The start of a C++ virtual code block. */
    codeIdx = 0;
    return TK_VIRTUALCATCHERCODE;
}
	YY_BREAK
case 137:
YY_RULE_SETUP
#line 427 "lexer.l"
{
    /* The start of a traverse code block. */
    codeIdx = 0;
    return TK_TRAVERSECODE;
}
	YY_BREAK
case 138:
YY_RULE_SETUP
#line 433 "lexer.l"
{
    /* The start of a clear code block. */
    codeIdx = 0;
    return TK_CLEARCODE;
}
	YY_BREAK
case 139:
YY_RULE_SETUP
#line 439 "lexer.l"
{
    /* The start of a get buffer code block. */
    codeIdx = 0;
    return TK_GETBUFFERCODE;
}
	YY_BREAK
case 140:
YY_RULE_SETUP
#line 445 "lexer.l"
{
    /* The start of a release buffer code block. */
    codeIdx = 0;
    return TK_RELEASEBUFFERCODE;
}
	YY_BREAK
case 141:
YY_RULE_SETUP
#line 451 "lexer.l"
{
    /* The start of a read buffer code block. */
    codeIdx = 0;
    return TK_READBUFFERCODE;
}
	YY_BREAK
case 142:
YY_RULE_SETUP
#line 457 "lexer.l"
{
    /* The start of a write buffer code block. */
    codeIdx = 0;
    return TK_WRITEBUFFERCODE;
}
	YY_BREAK
case 143:
YY_RULE_SETUP
#line 463 "lexer.l"
{
    /* The start of a segment count code block. */
    codeIdx = 0;
    return TK_SEGCOUNTCODE;
}
	YY_BREAK
case 144:
YY_RULE_SETUP
#line 469 "lexer.l"
{
    /* The start of a char buffer code block. */
    codeIdx = 0;
    return TK_CHARBUFFERCODE;
}
	YY_BREAK
case 145:
YY_RULE_SETUP
#line 475 "lexer.l"
{
    /* The start of a create instance code block. */
    codeIdx = 0;
    return TK_INSTANCECODE;
}
	YY_BREAK
case 146:
YY_RULE_SETUP
#line 481 "lexer.l"
{
    /* The start of a pickle code block. */
    codeIdx = 0;
    return TK_PICKLECODE;
}
	YY_BREAK
case 147:
YY_RULE_SETUP
#line 487 "lexer.l"
{
    /* The start of a pre-Python code block. */
    deprecated("%PrePythonCode is deprecated");

    codeIdx = 0;
    return TK_PREPYCODE;
}
	YY_BREAK
case 148:
YY_RULE_SETUP
#line 495 "lexer.l"
{
    /* The start of a raise Python exception code block. */
    codeIdx = 0;
    return TK_RAISECODE;
}
	YY_BREAK
case 149:
YY_RULE_SETUP
#line 501 "lexer.l"
{
    /* The start of an exported type hint code block. */
    codeIdx = 0;
    return TK_EXPTYPEHINTCODE;
}
	YY_BREAK
case 150:
YY_RULE_SETUP
#line 507 "lexer.l"
{
    /* The start of a type hint code block. */
    codeIdx = 0;
    return TK_TYPEHINTCODE;
}
	YY_BREAK
case 151:
YY_RULE_SETUP
#line 513 "lexer.l"
{
    /* The start of a docstring block. */
    codeIdx = 0;
    return TK_DOCSTRING;
}
	YY_BREAK
case 152:
YY_RULE_SETUP
#line 519 "lexer.l"
{
    /* The start of a documentation block. */
    deprecated("%Doc is deprecated, use %Extract instead");

    codeIdx = 0;
    return TK_DOC;
}
	YY_BREAK
case 153:
YY_RULE_SETUP
#line 527 "lexer.l"
{
    /* The start of an exported documentation block. */
    deprecated("%ExportedDoc is deprecated, use %Extract instead");

    codeIdx = 0;
    return TK_EXPORTEDDOC;
}
	YY_BREAK
case 154:
YY_RULE_SETUP
#line 535 "lexer.l"
{
    /* The start of a Makefile code block. */
    deprecated("%Makefile is deprecated");

    codeIdx = 0;
    return TK_MAKEFILE;
}
	YY_BREAK
case 155:
YY_RULE_SETUP
#line 543 "lexer.l"
{
    /* The start of an access code block. */
    codeIdx = 0;
    return TK_ACCESSCODE;
}
	YY_BREAK
case 156:
YY_RULE_SETUP
#line 549 "lexer.l"
{
    /* The start of a get code block. */
    codeIdx = 0;
    return TK_GETCODE;
}
	YY_BREAK
case 157:
YY_RULE_SETUP
#line 555 "lexer.l"
{
    /* The start of a set code block. */
    codeIdx = 0;
    return TK_SETCODE;
}
	YY_BREAK
case 158:
YY_RULE_SETUP
#line 561 "lexer.l"
{
    /* The start of part of a virtual error handler. */
    codeIdx = 0;

    BEGIN directive_start;

    return TK_VIRTERRORHANDLER;
}
	YY_BREAK
case 159:
YY_RULE_SETUP
#line 570 "lexer.l"
{
    /* The end of a code block. */
    BEGIN INITIAL;
    codeIdx = -1;
    return TK_END;
}
	YY_BREAK
case 160:
/* rule 160 can match eol */
YY_RULE_SETUP
#line 577 "lexer.l"
{
    /* The end of a code line . */
    struct inputFile *ifp;

    codeLine[codeIdx] = '\n';
    codeLine[codeIdx + 1] = '\0';
    codeIdx = 0;

    ifp = &inputFileStack[currentFile];

    yylval.codeb = sipMalloc(sizeof (codeBlock));

    yylval.codeb->frag = sipStrdup(codeLine);
    yylval.codeb->linenr = ifp->sloc.linenr++;
    yylval.codeb->filename = ifp->sloc.name;

    return TK_CODELINE;
}
	YY_BREAK
case 161:
YY_RULE_SETUP
#line 596 "lexer.l"
{
    /* The contents of a code line. */
    if (codeIdx == MAX_CODE_LINE_LENGTH)
        fatallex("Line is too long");

    codeLine[codeIdx++] = yytext[0];
}
	YY_BREAK
case 162:
YY_RULE_SETUP
#line 604 "lexer.l"
{
    /* Anything else is returned as is. */
    return yytext[0];
}
	YY_BREAK
case 163:
YY_RULE_SETUP
#line 609 "lexer.l"
ECHO;
	YY_BREAK
#line 2937 "../lexer.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(code):
case YY_STATE_EOF(ccomment):
case YY_STATE_EOF(directive):
case YY_STATE_EOF(directive_start):
	yyterminate();

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

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

		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
			{
			/* We're scanning a new file or input source.  It's
			 * possible that this happened because the user
			 * just pointed yyin at a new source and called
			 * yylex().  If so, then we have to assure
			 * consistency between YY_CURRENT_BUFFER and our
			 * globals.  Here is the right place to do so, because
			 * this is the first action (other than possibly a
			 * back-up) that will match for the new input source.
			 */
			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
			}

		/* Note that here we test for yy_c_buf_p "<=" to the position
		 * of the first EOB in the buffer, since yy_c_buf_p will
		 * already have been incremented past the NUL character
		 * (since all states make transitions on EOB to the
		 * end-of-buffer state).  Contrast this with the test
		 * in input().
		 */
		if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
			{ /* This was really a NUL. */
			yy_state_type yy_next_state;

			(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;

			yy_current_state = yy_get_previous_state(  );

			/* Okay, we're now positioned to make the NUL
			 * transition.  We couldn't have
			 * yy_get_previous_state() go ahead and do it
			 * for us because it doesn't know how to deal
			 * with the possibility of jamming (and we don't
			 * want to build jamming into it because then it
			 * will run more slowly).
			 */

			yy_next_state = yy_try_NUL_trans( yy_current_state );

			yy_bp = (yytext_ptr) + YY_MORE_ADJ;

			if ( yy_next_state )
				{
				/* Consume the NUL. */
				yy_cp = ++(yy_c_buf_p);
				yy_current_state = yy_next_state;
				goto yy_match;
				}

			else
				{
				yy_cp = (yy_c_buf_p);
				goto yy_find_action;
				}
			}

		else switch ( yy_get_next_buffer(  ) )
			{
			case EOB_ACT_END_OF_FILE:
				{
				(yy_did_buffer_switch_on_eof) = 0;

				if ( yywrap( ) )
					{
					/* Note: because we've taken care in
					 * yy_get_next_buffer() to have set up
					 * yytext, we can now set up
					 * yy_c_buf_p so that if some total
					 * hoser (like flex itself) wants to
					 * call the scanner after we return the
					 * YY_NULL, it'll still work - another
					 * YY_NULL will get returned.
					 */
					(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;

					yy_act = YY_STATE_EOF(YY_START);
					goto do_action;
					}

				else
					{
					if ( ! (yy_did_buffer_switch_on_eof) )
						YY_NEW_FILE;
					}
				break;
				}

			case EOB_ACT_CONTINUE_SCAN:
				(yy_c_buf_p) =
					(yytext_ptr) + yy_amount_of_matched_text;

				yy_current_state = yy_get_previous_state(  );

				yy_cp = (yy_c_buf_p);
				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
				goto yy_match;

			case EOB_ACT_LAST_MATCH:
				(yy_c_buf_p) =
				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];

				yy_current_state = yy_get_previous_state(  );

				yy_cp = (yy_c_buf_p);
				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
				goto yy_find_action;
			}
		break;
		}

	default:
		YY_FATAL_ERROR(
			"fatal flex scanner internal error--no action found" );
	} /* end of action switch */
		} /* end of scanning one token */
} /* end of 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
		{
			int num_to_read =
			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;

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

			/* just a shorter name for the current buffer */
			YY_BUFFER_STATE b = YY_CURRENT_BUFFER;

			int yy_c_buf_p_offset =
				(int) ((yy_c_buf_p) - b->yy_ch_buf);

			if ( b->yy_is_our_buffer )
				{
				int new_size = b->yy_buf_size * 2;

				if ( new_size <= 0 )
					b->yy_buf_size += b->yy_buf_size / 8;
				else
					b->yy_buf_size *= 2;

				b->yy_ch_buf = (char *)
					/* Include room in for 2 EOB chars. */
					yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2  );
				}
			else
				/* Can't grow it, we don't own it. */
				b->yy_ch_buf = 0;

			if ( ! b->yy_ch_buf )
				YY_FATAL_ERROR(
				"fatal error - scanner input buffer overflow" );

			(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];

			num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
						number_to_move - 1;

			}

		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), (size_t) num_to_read );

		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	if ( (yy_n_chars) == 0 )
		{
		if ( number_to_move == YY_MORE_ADJ )
			{
			ret_val = EOB_ACT_END_OF_FILE;
			yyrestart(yyin  );
			}

		else
			{
			ret_val = EOB_ACT_LAST_MATCH;
			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
				YY_BUFFER_EOF_PENDING;
			}
		}

	else
		ret_val = EOB_ACT_CONTINUE_SCAN;

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

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

	for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
		{
		register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
		if ( yy_accept[yy_current_state] )
			{
			(yy_last_accepting_state) = yy_current_state;
			(yy_last_accepting_cpos) = yy_cp;
			}
		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
			{
			yy_current_state = (int) yy_def[yy_current_state];
			if ( yy_current_state >= 1188 )
				yy_c = yy_meta[(unsigned int) yy_c];
			}
		yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
		}

	return yy_current_state;
}

/* yy_try_NUL_trans - try to make a transition on the NUL character
 *
 * synopsis
 *	next_state = yy_try_NUL_trans( current_state );
 */
    static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
{
	register int yy_is_jam;
    	register char *yy_cp = (yy_c_buf_p);

	register YY_CHAR yy_c = 1;
	if ( yy_accept[yy_current_state] )
		{
		(yy_last_accepting_state) = yy_current_state;
		(yy_last_accepting_cpos) = yy_cp;
		}
	while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
		{
		yy_current_state = (int) yy_def[yy_current_state];
		if ( yy_current_state >= 1188 )
			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 == 1187);

	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*)
								);
		if ( ! (yy_buffer_stack) )
			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
								  
		memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
				
		(yy_buffer_stack_max) = num_to_alloc;
		(yy_buffer_stack_top) = 0;
		return;
	}

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

		/* Increase the buffer to prepare for a possible push. */
		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*)
								);
		if ( ! (yy_buffer_stack) )
			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );

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

/** Setup the input buffer state to scan directly from a user-specified character buffer.
 * @param base the character buffer
 * @param size the size in bytes of the character buffer
 * 
 * @return the newly allocated buffer state object. 
 */
YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
{
	YY_BUFFER_STATE b;
    
	if ( size < 2 ||
	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
	     base[size-1] != YY_END_OF_BUFFER_CHAR )
		/* They forgot to leave room for the EOB's. */
		return 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 yystr a NUL-terminated string to scan
 * 
 * @return the newly allocated buffer state object.
 * @note If you want to scan bytes that may contain NUL values, then use
 *       yy_scan_bytes() instead.
 */
YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
{
    
	return yy_scan_bytes(yystr,strlen(yystr) );
}

/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
 * scan from a @e copy of @a bytes.
 * @param 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 * yybytes, int  _yybytes_len )
{
	YY_BUFFER_STATE b;
	char *buf;
	yy_size_t n;
	int i;
    
	/* Get memory for full buffer, including space for trailing EOB's. */
	n = _yybytes_len + 2;
	buf = (char *) yyalloc(n  );
	if ( ! buf )
		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );

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

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

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

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

	return b;
}

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

    static int yy_top_state  (void)
{
    	return (yy_start_stack)[(yy_start_stack_ptr) - 1];
}

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

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

    (yy_buffer_stack) = 0;
    (yy_buffer_stack_top) = 0;
    (yy_buffer_stack_max) = 0;
    (yy_c_buf_p) = (char *) 0;
    (yy_init) = 0;
    (yy_start) = 0;

    (yy_start_stack_ptr) = 0;
    (yy_start_stack_depth) = 0;
    (yy_start_stack) =  NULL;

/* Defined in main.c */
#ifdef YY_STDINIT
    yyin = stdin;
    yyout = stdout;
#else
    yyin = (FILE *) 0;
    yyout = (FILE *) 0;
#endif

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

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

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

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

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

    return 0;
}

/*
 * Internal utility routines.
 */

#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, 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"

#line 609 "lexer.l"



/*
 * Hook into EOF handling.  Return 0 if there is more to process.
 */

int yywrap()
{
    char *cwd;
    struct inputFile *ifp;

    if ((cwd = inputFileStack[currentFile].cwd) != NULL)
        free(cwd);

    ifp = &inputFileStack[currentFile--];

    /* Tell the parser if this is the end of a file. */
    parserEOF(ifp->sloc.name, &ifp->pc);

    /*
     * Tidy up this file.  Note that we don't free the filename as it will
     * still be referenced for use in error messages.
     */
    fclose(yyin);

    /* See if this was the original file. */
    if (currentFile < 0)
        return 1;

    yy_delete_buffer(YY_CURRENT_BUFFER);
    yy_switch_to_buffer(ifp->bs);

    return 0;
}


/*
 * Get the current source location.
 */
void getSourceLocation(sourceLocation *slp)
{
    int cf;

    /*
     * Assume that we will already have gone past the newline but watch out in
     * case we have gone past the end of the file.
     */
    if ((cf = currentFile) < 0)
    {
        /* This will be valid if we have been called. */
        cf = 0;
    }

    slp->linenr = inputFileStack[cf].sloc.linenr - 1;
    slp->name = inputFileStack[cf].sloc.name;
}


/*
 * Set up an input file to be read by the lexer, opening it if necessary.  TRUE
 * is returned if the file has not already been read.
 */
int setInputFile(FILE *open_fp, parserContext *pc, int optional)
{
    static stringList *all = NULL;
    char *cwd, *fullname = NULL;
    FILE *fp = open_fp;

    if (currentFile >= MAX_INCLUDE_DEPTH - 1)
        fatal("Too many nested %%Include, %%OptionalInclude or %%Import statements\n");

    if (fp != NULL || (fp = openFile(pc->filename)) != NULL)
        fullname = sipStrdup(pc->filename);
    else
    {
        char *cwd;

        /* Try the directory that contains the current file. */
        if (currentFile >= 0 && (cwd = inputFileStack[currentFile].cwd) != NULL)
        {
            fullname = concat(cwd, "/", pc->filename, NULL);

            if ((fp = openFile(fullname)) == NULL)
            {
                free(fullname);
                fullname = NULL;
            }
        }
    }

    /* Try the include path if we haven't found anything yet. */
    if (fullname == NULL)
    {
        stringList *sl;

        fullname = NULL;

        for (sl = includeDirList; sl != NULL; sl = sl -> next)
        {
            if (fullname != NULL)
                free(fullname);

            fullname = concat(sl->s, "/", pc->filename, NULL);

            if ((fp = openFile(fullname)) != NULL)
                break;
        }

        if (fp == NULL)
        {
            if (optional)
                return FALSE;

            fatal("Unable to find file \"%s\"\n", pc->filename);
        }
    }

    /*
     * If we have just opened the file, make sure that we haven't already read
     * it.  While it should never happen with normal modules (if the user
     * doesn't specify recursive %Imports or %Includes) it is likely to happen
     * with consolidated modules.
     */
    if (open_fp == NULL)
    {
        stringList *sl;

        for (sl = all; sl != NULL; sl = sl->next)
            if (strcmp(sl->s, fullname) == 0)
            {
                fclose(fp);
                return FALSE;
            }
    }

    /* Remember the filename. */
    appendString(&all, sipStrdup(fullname));

    yyin = fp;

    ++currentFile;

    /* Remember the directory containing the new file and make it "current". */
    if ((cwd = strchr(fullname, '/')) != NULL)
    {
        cwd = sipStrdup(fullname);
        *strrchr(cwd,'/') = '\0';
    }

    inputFileStack[currentFile].sloc.linenr = 1;
    inputFileStack[currentFile].sloc.name = fullname;
    inputFileStack[currentFile].pc = *pc;
    inputFileStack[currentFile].cwd = cwd;

    if (currentFile > 0)
    {
        inputFileStack[currentFile].bs = YY_CURRENT_BUFFER;
        yy_switch_to_buffer(yy_create_buffer(yyin,YY_BUF_SIZE));
    }

    return TRUE;
}


/*
 * Open a file for reading or return NULL if it doesn't exist.  Any other error
 * is fatal.
 */
static FILE *openFile(const char *name)
{
    FILE *fp;

    if ((fp = fopen(name,"r")) == NULL && errno != ENOENT)
        fatal("Error in opening file %s\n",name);

    return fp;
}


/*
 * Handle fatal yacc errors.
 */
void yyerror(char *s)
{
    if (currentFile < 0)
        fatal("%s\n", s);

    fatal("%s:%d: %s\n", inputFileStack[currentFile].sloc.name,
            inputFileStack[currentFile].sloc.linenr, s);
}


/*
 * Handle warnings while parsing.
 */
void yywarning(char *s)
{
    warning(ParserWarning, "%s:%d: %s\n",
            inputFileStack[currentFile].sloc.name,
            inputFileStack[currentFile].sloc.linenr, s);
}


/*
 * Handle deprecation warnings.
 */
void deprecated(const char *msg)
{
    warning(DeprecationWarning, "%s:%d: %s\n",
            inputFileStack[currentFile].sloc.name,
            inputFileStack[currentFile].sloc.linenr, msg);
}


/*
 * Handle fatal lex errors.
 */
static void fatallex(char *s)
{
    fatal("%s:%d: Lexical analyser error: %s\n",
        inputFileStack[currentFile].sloc.name,
        inputFileStack[currentFile].sloc.linenr,
        s);
}


/*
 * Reset the lexer state to INITIAL.  This is used by directives that allow an
 * argument to be given without parentheses to get out of the 'directive_start'
 * state before an opening parenthesis is seen in another context.
 */
void resetLexerState()
{
    BEGIN INITIAL;
}

