X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=parser.c;h=a87313f455ebe315c480ba1a92eb63085b1189c1;hb=1905bc8511d3e2bed714c77c82dba7847cf05c30;hp=27d1a13e30a67f0f013399f1a2e0242383540588;hpb=74025874f2010f84fd4f7f2e120e84b56ee9781b;p=xboard.git diff --git a/parser.c b/parser.c index 27d1a13..a87313f 100644 --- a/parser.c +++ b/parser.c @@ -1,70 +1,112 @@ -/* A lexical scanner generated by flex */ -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ - */ +#line 3 "parser.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 +#include #include +#include -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif +/* end standard C headers. */ +/* flex integer type definitions */ -#ifdef __cplusplus +#ifndef FLEXINT_H +#define FLEXINT_H -#include -#ifndef _WIN32 -#include +/* C99 systems have . 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 -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS +#include +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; +#endif /* ! C99 */ + +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + +#endif /* ! FLEXINT_H */ + +#ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ -#if __STDC__ +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) -#define YY_USE_PROTOS #define YY_USE_CONST -#endif /* __STDC__ */ +#endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - - /* Returned upon end-of-file. */ #define YY_NULL 0 @@ -79,71 +121,70 @@ * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ -#define BEGIN yy_start = 1 + 2 * +#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 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_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 -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - + #define 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. */ \ - *yy_cp = yy_hold_char; \ + 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 + n - YY_MORE_ADJ; \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; +#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; @@ -180,12 +221,16 @@ struct yy_buffer_state */ 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 @@ -199,28 +244,38 @@ struct yy_buffer_state * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ -static YY_BUFFER_STATE yy_current_buffer = 0; +/* 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_current_buffer +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; - static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ +static int yy_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 @@ -228,224 +283,248 @@ static int yy_start = 0; /* start state number */ */ static int yy_did_buffer_switch_on_eof; -void yyrestart YY_PROTO(( FILE *input_file )); +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 ); -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) +static void yyensure_buffer_stack (void ); +static void yy_load_buffer_state (void ); +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); +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 ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_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 ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_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->yy_at_bol) +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) +/* Begin user sect3 */ -#define YY_USES_REJECT 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 YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); +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 = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ + (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; + (yy_c_buf_p) = yy_cp; -#define YY_NUM_RULES 42 -#define YY_END_OF_BUFFER 43 -static yyconst short int yy_acclist[650] = +#define YY_NUM_RULES 43 +#define YY_END_OF_BUFFER 44 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_acclist[643] = { 0, - 43, 41, 42, 41, 42, 41, 42, 40, 41, 42, - 41, 42, 25, 41, 42, 41, 42, 40, 41, 42, - 40, 41, 42,16410, 40, 41, 42,16410, 41, 42, - 40, 41, 42, 40, 41, 42, 40, 41, 42, 40, - 41, 42, 40, 41, 42, 40, 41, 42, 40, 41, - 42, 40, 41, 42, 40, 41, 42, 40, 41, 42, - 40, 41, 42, 41, 42, 40, 41, 42, 40, 41, - 42, 40, 41, 42, 40, 41, 42, 40, 41, 42, - 40, 41, 42, 40, 41, 42, 40, 41, 42, 40, - 41, 42, 40, 41, 42, 40, 41, 42, 40, 41, - - 42, 40, 41, 42, 40, 41, 42, 40, 41, 42, - 40, 41, 42, 40, 41, 42, 41, 42, 41, 42, - 40, 41, 42, 40, 41, 42, 40, 41, 42,16410, - 40, 41, 42,16410, 41, 42, 40, 41, 42, 40, - 41, 42, 40, 41, 42, 40, 41, 42, 40, 41, - 42, 40, 41, 42, 40, 41, 42, 40, 41, 42, - 40, 41, 42, 40, 41, 42, 40, 41, 42, 40, - 41, 42, 40, 41, 42, 40, 41, 42, 40, 41, - 42, 40, 41, 42, 40, 41, 42, 40, 41, 42, - 40, 41, 42, 40, 41, 42, 40, 41, 42, 40, - - 41, 42, 40, 41, 42, 40, 41, 42, 40, 41, - 42, 40, 41, 42, 40, 41, 42, 40, 41, 42, - 41, 42, 33, 40, 17, 40, 9, 40, 40, 40, - 16410, 8218, 40, 35, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 9, 40, 40, 40, 40, - 40, 40, 36, 40, 3, 40, 40, 4, 40, 40, - 40, 40, 40, 40, 9, 40, 40, 40, 34, 40, - 40, 9, 40, 40, 40,16410, 8218, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 9, - 40, 40, 40, 40, 40, 40, 40, 3, 40, 40, - - 4, 40, 40, 40, 40, 40, 40, 9, 40, 40, - 40, 15, 9, 40, 23, 40, 23, 8, 40, 8218, - 22, 40, 22, 24, 40, 40, 40, 6, 40, 40, - 40, 40, 40, 40, 40, 9, 40, 40, 40, 40, - 20, 40, 4, 40, 40, 3, 3, 40, 3, 40, - 40, 4, 5, 40, 4, 4, 40, 40, 40, 40, - 9, 40, 40, 34, 39, 9, 40, 23, 40, 8, - 40, 22, 40, 35, 40, 40, 40, 6, 40, 40, - 40, 40, 40, 40, 40, 9, 40, 40, 40, 40, - 20, 40, 4, 40, 40, 3, 40, 3, 40, 40, - - 5, 40, 4, 40, 40, 40, 40, 9, 40, 40, - 38, 38, 37, 25, 25, 6, 40, 10, 6, 40, - 7, 40, 6, 40, 6, 40, 40, 40, 19, 40, - 40, 21, 40, 16, 40, 40, 40, 40, 40, 20, - 20, 40, 20, 40, 36, 3, 3, 2, 40, 5, - 4, 5, 5, 40, 40, 4, 4, 40, 40, 25, - 39, 40, 6, 40, 7, 40, 40, 40, 40, 40, - 19, 40, 40, 21, 40, 16, 40, 40, 40, 40, - 40, 20, 40, 20, 20, 40, 2, 40, 5, 40, - 40, 4, 40, 40, 7, 7, 1, 40, 40, 40, - - 19, 40, 40, 40, 21, 21, 40, 21, 40, 40, - 40, 40, 30, 36, 2, 2, 2, 40, 5, 5, - 5, 40, 39, 1, 40, 40, 40, 19, 40, 40, - 40, 21, 40, 21, 21, 40, 40, 40, 40, 20, - 39, 2, 40, 5, 40, 27, 38, 1, 23, 23, - 22, 22, 24, 24, 1, 1, 40, 20, 21, 40, - 40, 40, 11, 40, 40, 28, 36, 30, 2, 2, - 27, 34, 39, 39, 1, 40, 40, 40, 40, 21, - 39, 11, 40, 40, 20, 39, 18, 1, 24, 1, - 20, 21, 19, 40, 40, 40, 11, 40, 40, 40, - - 40, 21, 39, 40, 11, 40, 40, 12, 40, 40, - 40, 40, 12, 40, 40, 14, 40, 40, 40, 14, - 40, 40, 40, 39, 40, 40, 40, 40, 39, 39, - 40, 40, 31, 40, 39, 39, 31, 40, 13, 31, - 32, 32, 35, 39, 39, 31, 39, 34, 29 + 44, 42, 43, 42, 43, 42, 43, 41, 42, 43, + 38, 42, 43, 39, 42, 43, 26, 42, 43, 42, + 43, 41, 42, 43, 41, 42, 43,16411, 41, 42, + 43,16411, 42, 43, 41, 42, 43, 41, 42, 43, + 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, + 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, + 43, 41, 42, 43, 41, 42, 43, 42, 43, 41, + 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, + 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, + 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, + + 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, + 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, + 41, 42, 43, 42, 43, 42, 43, 41, 42, 43, + 41, 42, 43, 41, 42, 43,16411, 41, 42, 43, + 16411, 42, 43, 41, 42, 43, 41, 42, 43, 41, + 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, + 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, + 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, + 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, + 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, + + 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, + 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, + 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, + 42, 43, 34, 41, 18, 41, 10, 41, 8219, 41, + 41,16411, 8219, 41, 36, 41, 41, 41, 41, 41, + 41, 41, 41, 41, 41, 41, 10, 41, 41, 41, + 41, 37, 41, 4, 41, 41, 5, 41, 41, 41, + 41, 41, 41, 10, 41, 41, 41, 35, 41, 41, + 10, 41, 41, 41,16411, 8219, 41, 41, 41, 41, + 41, 41, 41, 41, 41, 41, 41, 41, 10, 41, + + 41, 41, 41, 41, 4, 41, 41, 5, 41, 41, + 41, 41, 41, 41, 10, 41, 41, 41, 16, 10, + 41, 24, 41, 24, 9, 41, 23, 41, 23, 25, + 41, 41, 41, 41, 41, 7, 41, 41, 41, 41, + 41, 41, 10, 41, 41, 41, 41, 5, 41, 4, + 41, 4, 4, 41, 4, 41, 4, 41, 5, 6, + 41, 5, 5, 41, 41, 41, 41, 10, 41, 41, + 40, 10, 41, 24, 41, 9, 41, 23, 41, 36, + 41, 41, 41, 41, 41, 7, 41, 41, 41, 41, + 41, 41, 10, 41, 41, 41, 41, 5, 41, 41, + + 4, 41, 4, 41, 4, 41, 6, 41, 5, 41, + 41, 41, 41, 10, 41, 41, 26, 26, 7, 41, + 11, 7, 41, 3, 41, 8, 41, 7, 7, 41, + 7, 7, 41, 7, 41, 41, 41, 41, 20, 41, + 41, 17, 41, 41, 41, 41, 41, 37, 4, 41, + 2, 41, 6, 5, 6, 6, 6, 41, 41, 5, + 5, 41, 41, 26, 40, 41, 7, 41, 3, 41, + 8, 41, 41, 7, 41, 7, 41, 41, 41, 41, + 20, 41, 41, 17, 41, 41, 41, 41, 41, 41, + 2, 41, 6, 41, 41, 5, 41, 41, 8, 7, + + 7, 3, 8, 8, 8, 41, 1, 41, 21, 41, + 41, 20, 41, 41, 41, 41, 41, 41, 31, 37, + 2, 2, 2, 2, 41, 6, 6, 41, 40, 8, + 41, 1, 41, 41, 41, 20, 41, 41, 41, 41, + 41, 41, 2, 41, 6, 41, 28, 8, 1, 24, + 24, 23, 23, 25, 25, 1, 1, 1, 41, 22, + 21, 41, 41, 41, 12, 41, 41, 29, 37, 31, + 2, 28, 35, 40, 40, 1, 41, 41, 41, 41, + 12, 41, 41, 19, 1, 25, 22, 20, 41, 41, + 41, 12, 41, 41, 41, 41, 41, 12, 41, 41, + + 13, 41, 41, 41, 41, 13, 41, 41, 15, 41, + 41, 41, 15, 41, 41, 41, 40, 41, 41, 41, + 41, 40, 40, 41, 41, 32, 41, 40, 40, 32, + 41, 14, 32, 33, 33, 36, 40, 40, 32, 40, + 35, 30 } ; -static yyconst short int yy_accept[698] = +static yyconst flex_int16_t yy_accept[695] = { 0, - 1, 1, 1, 2, 4, 6, 8, 11, 13, 16, - 18, 21, 25, 29, 31, 34, 37, 40, 43, 46, - 49, 52, 55, 58, 61, 64, 66, 69, 72, 75, - 78, 81, 84, 87, 90, 93, 96, 99, 102, 105, - 108, 111, 114, 117, 119, 121, 124, 127, 131, 135, - 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, - 167, 170, 173, 176, 179, 182, 185, 188, 191, 194, - 197, 200, 203, 206, 209, 212, 215, 218, 221, 223, - 223, 224, 225, 225, 225, 225, 225, 226, 226, 226, - 226, 227, 227, 229, 229, 229, 229, 230, 230, 230, - - 232, 232, 234, 234, 235, 235, 236, 236, 237, 237, - 238, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 248, 249, 250, 251, 252, 253, 253, 253, 253, 253, - 254, 255, 257, 257, 258, 260, 261, 262, 263, 264, - 265, 267, 268, 269, 269, 269, 269, 270, 270, 271, - 271, 272, 274, 274, 275, 277, 277, 279, 279, 280, - 281, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 292, 293, 294, 295, 296, 297, 298, 300, 300, - 301, 303, 304, 305, 306, 307, 308, 310, 311, 312, - 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, - - 312, 313, 313, 313, 313, 313, 313, 315, 317, 318, - 320, 321, 321, 321, 321, 323, 324, 325, 325, 326, - 326, 327, 327, 328, 328, 330, 330, 330, 330, 330, - 331, 332, 333, 334, 335, 336, 338, 339, 340, 341, - 343, 343, 343, 343, 343, 345, 345, 346, 346, 347, - 349, 351, 352, 353, 353, 355, 356, 358, 359, 360, - 361, 363, 364, 365, 365, 365, 365, 365, 366, 368, - 370, 372, 374, 374, 375, 375, 376, 377, 377, 378, - 380, 381, 382, 383, 384, 385, 386, 388, 389, 390, - 391, 393, 395, 396, 396, 398, 400, 401, 403, 405, - - 406, 407, 408, 410, 411, 411, 411, 412, 413, 413, - 413, 414, 414, 414, 415, 415, 416, 416, 417, 417, - 417, 417, 418, 418, 418, 418, 418, 418, 418, 418, - 419, 421, 421, 423, 424, 425, 425, 426, 427, 427, - 427, 427, 427, 428, 429, 431, 431, 432, 434, 436, - 437, 438, 439, 440, 441, 443, 445, 445, 445, 445, - 445, 446, 447, 447, 448, 450, 451, 452, 452, 452, - 453, 455, 456, 457, 457, 459, 460, 460, 461, 461, - 461, 461, 461, 462, 462, 463, 463, 463, 465, 467, - 468, 468, 469, 470, 471, 473, 474, 476, 478, 479, - - 480, 481, 482, 484, 485, 487, 489, 491, 492, 494, - 495, 495, 495, 495, 495, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 497, 499, 499, 499, 499, - 499, 500, 501, 501, 503, 503, 504, 505, 506, 508, - 510, 511, 512, 513, 513, 513, 515, 515, 515, 516, - 516, 517, 519, 520, 520, 521, 521, 523, 523, 523, - 523, 523, 523, 523, 523, 524, 524, 524, 526, 527, - 528, 530, 531, 532, 534, 535, 537, 538, 539, 540, - 542, 544, 546, 546, 546, 548, 548, 549, 549, 550, - 550, 551, 551, 552, 552, 553, 553, 554, 554, 555, - - 555, 555, 555, 556, 558, 558, 558, 560, 560, 561, - 561, 561, 561, 561, 561, 562, 563, 565, 566, 568, - 568, 569, 570, 571, 571, 571, 573, 573, 573, 574, - 575, 575, 575, 577, 578, 579, 580, 582, 584, 585, - 587, 587, 588, 588, 588, 589, 589, 590, 591, 591, - 591, 591, 593, 593, 593, 594, 594, 594, 594, 594, - 595, 596, 597, 599, 600, 600, 600, 600, 600, 600, - 601, 602, 604, 605, 607, 608, 608, 608, 608, 608, - 608, 608, 609, 609, 609, 609, 609, 610, 611, 611, - 611, 611, 611, 612, 613, 613, 613, 613, 613, 614, - - 614, 614, 614, 615, 616, 618, 618, 618, 618, 618, - 619, 619, 620, 622, 622, 622, 622, 622, 623, 624, - 624, 624, 624, 624, 625, 626, 627, 627, 627, 627, - 627, 627, 628, 629, 629, 629, 629, 629, 630, 631, - 632, 633, 633, 633, 633, 633, 633, 635, 635, 635, - 635, 635, 636, 637, 639, 639, 639, 640, 640, 641, - 641, 642, 642, 642, 644, 644, 645, 646, 646, 646, - 646, 646, 648, 648, 648, 648, 648, 648, 648, 648, - 648, 648, 648, 648, 648, 648, 648, 648, 648, 648, - 648, 648, 648, 648, 649, 650, 650 + 1, 1, 1, 2, 4, 6, 8, 11, 14, 17, + 20, 22, 25, 29, 33, 35, 38, 41, 44, 47, + 50, 53, 56, 59, 62, 65, 68, 70, 73, 76, + 79, 82, 85, 88, 91, 94, 97, 100, 103, 106, + 109, 112, 115, 118, 121, 124, 126, 128, 131, 134, + 138, 142, 144, 147, 150, 153, 156, 159, 162, 165, + 168, 171, 174, 177, 180, 183, 186, 189, 192, 195, + 198, 201, 204, 207, 210, 213, 216, 219, 222, 225, + 228, 231, 233, 233, 234, 235, 235, 235, 236, 236, + 236, 236, 237, 237, 239, 239, 239, 239, 240, 241, + + 241, 241, 243, 243, 245, 245, 246, 246, 247, 247, + 248, 248, 249, 249, 250, 251, 252, 253, 254, 255, + 256, 257, 259, 260, 261, 262, 262, 262, 262, 262, + 263, 264, 266, 266, 267, 269, 270, 271, 272, 273, + 274, 276, 277, 278, 278, 278, 279, 279, 280, 280, + 281, 283, 283, 284, 286, 286, 288, 288, 289, 290, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 301, 302, 303, 304, 305, 307, 307, 308, 310, 311, + 312, 313, 314, 315, 317, 318, 319, 319, 319, 319, + 319, 319, 320, 320, 320, 320, 320, 320, 322, 324, + + 325, 327, 327, 327, 327, 329, 330, 331, 331, 332, + 332, 333, 333, 334, 335, 335, 336, 338, 338, 338, + 338, 338, 338, 338, 338, 339, 340, 341, 342, 343, + 345, 346, 347, 348, 348, 348, 348, 348, 350, 350, + 351, 352, 352, 353, 355, 357, 359, 360, 360, 362, + 363, 365, 366, 367, 368, 370, 371, 371, 371, 371, + 371, 372, 374, 376, 378, 380, 380, 381, 381, 382, + 383, 383, 384, 385, 386, 388, 388, 389, 390, 391, + 392, 393, 395, 396, 397, 398, 400, 401, 401, 403, + 405, 407, 409, 411, 412, 413, 414, 416, 417, 417, + + 417, 417, 417, 418, 418, 419, 419, 420, 420, 420, + 420, 421, 421, 421, 421, 421, 421, 421, 421, 422, + 424, 424, 424, 426, 428, 429, 429, 430, 431, 431, + 431, 432, 434, 436, 437, 437, 437, 437, 437, 437, + 437, 438, 439, 441, 441, 442, 444, 445, 446, 447, + 448, 448, 448, 448, 448, 449, 450, 451, 451, 453, + 454, 455, 455, 455, 456, 457, 459, 460, 461, 461, + 463, 464, 464, 465, 465, 465, 465, 465, 466, 466, + 467, 467, 467, 469, 471, 473, 474, 474, 476, 478, + 479, 480, 481, 483, 484, 486, 487, 488, 489, 490, + + 491, 493, 495, 496, 498, 499, 499, 499, 499, 500, + 501, 502, 502, 502, 502, 502, 502, 502, 502, 502, + 502, 503, 503, 504, 504, 505, 507, 509, 509, 509, + 509, 509, 509, 510, 511, 512, 512, 514, 514, 515, + 516, 517, 518, 519, 519, 519, 521, 521, 521, 522, + 522, 523, 523, 524, 526, 527, 527, 527, 529, 529, + 529, 529, 529, 529, 529, 529, 530, 530, 530, 532, + 534, 535, 536, 538, 539, 540, 541, 542, 543, 545, + 547, 547, 547, 548, 548, 549, 550, 550, 551, 551, + 552, 552, 553, 553, 554, 554, 555, 555, 556, 556, + + 556, 556, 557, 557, 558, 560, 560, 560, 561, 561, + 561, 562, 563, 563, 563, 563, 563, 563, 564, 565, + 567, 568, 570, 570, 571, 572, 572, 572, 574, 574, + 574, 575, 576, 576, 576, 578, 579, 580, 581, 583, + 584, 584, 585, 585, 585, 586, 586, 587, 587, 587, + 588, 588, 588, 589, 589, 589, 589, 589, 590, 591, + 592, 594, 595, 595, 595, 595, 595, 595, 596, 597, + 598, 600, 601, 601, 601, 601, 601, 601, 601, 602, + 602, 602, 602, 602, 603, 604, 604, 604, 604, 604, + 605, 606, 606, 606, 606, 606, 607, 607, 607, 607, + + 608, 609, 611, 611, 611, 611, 611, 612, 612, 613, + 615, 615, 615, 615, 615, 616, 617, 617, 617, 617, + 617, 618, 619, 620, 620, 620, 620, 620, 620, 621, + 622, 622, 622, 622, 622, 623, 624, 625, 626, 626, + 626, 626, 626, 626, 628, 628, 628, 628, 628, 629, + 630, 632, 632, 632, 633, 633, 634, 634, 635, 635, + 635, 637, 637, 638, 639, 639, 639, 639, 639, 641, + 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, + 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, + 641, 642, 643, 643 } ; -static yyconst int yy_ec[256] = +static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -454,8 +533,8 @@ static yyconst int yy_ec[256] = 11, 12, 13, 1, 14, 15, 16, 17, 18, 19, 20, 20, 20, 20, 20, 20, 20, 21, 22, 1, 23, 1, 1, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 33, 34, 35, 36, 37, 38, 34, - 34, 39, 40, 33, 41, 33, 42, 43, 33, 33, + 31, 32, 33, 33, 33, 34, 35, 36, 37, 38, + 38, 39, 40, 38, 41, 38, 42, 43, 38, 38, 44, 1, 45, 1, 46, 1, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, @@ -477,707 +556,623 @@ static yyconst int yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst int yy_meta[74] = +static yyconst flex_int32_t yy_meta[74] = { 0, 1, 2, 3, 2, 1, 1, 1, 1, 4, 5, - 6, 1, 7, 8, 1, 1, 9, 9, 9, 9, - 10, 1, 11, 1, 12, 12, 12, 12, 12, 12, - 12, 12, 13, 12, 13, 13, 12, 12, 12, 13, - 13, 12, 14, 1, 1, 1, 15, 15, 15, 15, - 16, 15, 15, 15, 15, 15, 15, 15, 17, 18, - 18, 18, 18, 18, 17, 17, 17, 17, 17, 19, - 17, 1, 1 + 1, 1, 6, 7, 8, 9, 10, 10, 10, 10, + 11, 1, 5, 1, 12, 12, 12, 12, 12, 12, + 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, + 12, 12, 13, 1, 1, 1, 14, 14, 14, 14, + 15, 14, 14, 14, 14, 14, 14, 14, 16, 17, + 17, 17, 17, 17, 16, 16, 16, 16, 16, 18, + 16, 1, 1 } ; -static yyconst short int yy_base[784] = +static yyconst flex_int16_t yy_base[756] = { 0, - 0, 73, 2729, 4517, 122, 131, 0, 142, 2724, 140, - 151, 171, 162, 2724, 231, 159, 2672, 2661, 119, 2660, - 2673, 143, 2668, 2652, 211, 301, 361, 212, 209, 279, - 243, 284, 301, 286, 221, 303, 309, 329, 2670, 239, - 2665, 2649, 338, 403, 2710, 149, 380, 475, 348, 190, - 538, 240, 2659, 2648, 236, 2650, 2663, 157, 2658, 2642, - 379, 600, 314, 353, 377, 395, 401, 413, 382, 408, - 513, 424, 516, 423, 562, 448, 544, 607, 612, 2654, - 468, 0, 2696, 309, 617, 174, 4517, 2692, 672, 246, - 353, 2686, 2686, 2680, 517, 661, 2680, 576, 280, 655, - - 2679, 0, 2692, 4517, 0, 696, 0, 741, 0, 580, - 644, 586, 622, 2645, 2640, 2592, 2592, 692, 2617, 2616, - 714, 2606, 680, 720, 2592, 2606, 811, 537, 884, 4517, - 911, 961, 0, 986, 1035, 687, 753, 757, 2584, 2588, - 2587, 2582, 2591, 318, 2568, 825, 2636, 2635, 430, 2634, - 747, 820, 253, 830, 1085, 160, 563, 455, 1148, 1193, - 2633, 784, 843, 850, 760, 603, 692, 844, 854, 2596, - 657, 858, 893, 862, 893, 658, 1217, 1267, 2629, 1292, - 1342, 913, 926, 1157, 831, 894, 915, 918, 895, 845, - 2568, 464, 487, 538, 2620, 556, 1162, 1073, 2619, 2556, - - 4517, 1146, 1209, 2624, 2623, 2622, 2611, 2620, 2619, 0, - 4517, 2618, 2616, 2615, 2614, 2613, 384, 1029, 1062, 1078, - 1367, 1147, 1145, 1167, 1412, 2558, 2551, 2564, 2559, 1240, - 1422, 2540, 756, 651, 2557, 2593, 2551, 2547, 1214, 1482, - 722, 1208, 761, 1555, 1619, 0, 1624, 0, 2594, 2592, - 2591, 1174, 1426, 1490, 1673, 2591, 2589, 560, 2550, 2549, - 2583, 2530, 4517, 1499, 1039, 2591, 725, 2587, 928, 845, - 592, 917, 642, 2585, 1156, 1503, 1716, 2584, 1516, 1761, - 1531, 1564, 1470, 1565, 1464, 1429, 1580, 1490, 1566, 1598, - 1831, 1896, 1901, 2583, 1582, 2573, 1613, 1950, 1587, 1676, - - 1588, 1614, 1581, 1149, 1539, 2528, 4517, 775, 799, 2562, - 4517, 1709, 2557, 2556, 2493, 2492, 1202, 1709, 2546, 2545, - 2544, 2544, 615, 2543, 744, 2542, 1099, 1674, 832, 4517, - 2535, 1719, 2534, 2533, 1955, 1622, 4517, 1410, 2490, 2490, - 2487, 2487, 2494, 2493, 778, 892, 920, 2013, 0, 2511, - 2495, 2496, 2495, 0, 2086, 2159, 940, 1210, 1233, 1309, - 2540, 2533, 1434, 4517, 1776, 1424, 2529, 910, 1615, 1616, - 2528, 1173, 4517, 2476, 0, 2476, 1842, 2532, 1727, 1735, - 2488, 2473, 2530, 1003, 1736, 904, 599, 1216, 1523, 2186, - 2528, 1847, 1726, 1767, 1880, 1771, 2244, 1522, 1813, 1849, - - 1848, 1862, 2317, 2527, 2390, 2029, 1869, 1879, 1713, 2021, - 1747, 2479, 2517, 1595, 2500, 1809, 2511, 2443, 2504, 2441, - 2500, 2433, 2460, 1869, 4517, 2454, 2427, 2423, 2423, 2418, - 2468, 1049, 2006, 2467, 1075, 2440, 2410, 0, 2497, 2570, - 2400, 2394, 2448, 1341, 1756, 4517, 2446, 1803, 1343, 1491, - 1768, 2439, 2438, 1416, 4517, 2386, 0, 2425, 1871, 2421, - 1240, 2416, 2373, 2366, 1454, 1718, 1473, 2635, 1888, 2044, - 1889, 2042, 2023, 2678, 2425, 1990, 1886, 2052, 2063, 2425, - 1870, 1899, 1958, 1000, 4517, 2095, 1777, 2416, 2415, 2351, - 2350, 2411, 2410, 2347, 2346, 2407, 2406, 2343, 2342, 2393, - - 2388, 1840, 2017, 2382, 2320, 2326, 2011, 2298, 2303, 2338, - 2296, 2275, 2316, 2293, 2302, 2270, 2018, 2264, 4517, 2117, - 4517, 2296, 4517, 2290, 2119, 2300, 2251, 2231, 2282, 1960, - 1445, 289, 2107, 2108, 2114, 2068, 2281, 2125, 2131, 2280, - 2139, 4517, 2227, 2176, 2262, 2267, 2258, 4517, 2187, 2173, - 2177, 4517, 2166, 2214, 2211, 2157, 2198, 2148, 2103, 2111, - 2085, 2098, 0, 2077, 2196, 2071, 2002, 827, 1575, 2168, - 2135, 2063, 2170, 2136, 2164, 2203, 2000, 2014, 1683, 1939, - 1931, 2030, 1944, 1630, 1954, 1906, 2751, 1919, 1917, 1913, - 1385, 1565, 2824, 2249, 2204, 1850, 1863, 1832, 4517, 1806, - - 1637, 1912, 2897, 1920, 0, 1775, 1762, 1585, 945, 2970, - 2096, 1949, 2188, 2207, 1772, 1743, 2250, 1745, 1677, 1563, - 1551, 1686, 681, 2260, 1568, 1502, 2258, 1408, 1406, 2243, - 2170, 1358, 1313, 1240, 1258, 1751, 1127, 2261, 2312, 1072, - 926, 2279, 2133, 809, 1969, 2073, 0, 855, 705, 711, - 1429, 2317, 2305, 0, 2284, 631, 4517, 546, 2094, 480, - 4517, 413, 392, 4517, 1794, 2351, 2357, 2298, 325, 206, - 1884, 2303, 2352, 203, 1915, 365, 2138, 2221, 2364, 2365, - 2369, 2370, 2371, 2372, 2373, 2427, 2444, 2451, 2452, 2453, - 2454, 2456, 2296, 179, 4517, 4517, 3040, 3059, 3072, 3086, - - 3105, 3124, 3140, 3159, 3178, 3196, 1267, 1342, 1671, 3214, - 3233, 1702, 3252, 3271, 3290, 3309, 3328, 3347, 3366, 3385, - 3404, 3416, 3435, 3454, 3473, 3492, 3511, 3519, 1896, 3529, - 3545, 3564, 3580, 3599, 3618, 3637, 3656, 3675, 3694, 3713, - 3732, 3744, 3763, 3782, 3801, 3820, 3839, 3858, 3877, 3893, - 3908, 3924, 3943, 3962, 3981, 3997, 4016, 4035, 4054, 4073, - 4092, 4111, 4130, 4149, 4168, 4187, 4206, 4225, 4244, 4259, - 4278, 4297, 4316, 4331, 4345, 4364, 4383, 4402, 4421, 4440, - 4459, 4478, 4497 + 0, 73, 3125, 3806, 122, 131, 0, 135, 3806, 3104, + 143, 154, 174, 244, 3087, 304, 155, 2960, 2945, 124, + 162, 144, 182, 186, 203, 212, 374, 434, 168, 161, + 223, 204, 228, 241, 237, 180, 249, 279, 282, 295, + 161, 379, 174, 326, 390, 326, 3004, 203, 396, 503, + 573, 162, 636, 210, 2953, 2942, 242, 389, 314, 408, + 350, 412, 439, 693, 411, 388, 415, 420, 447, 478, + 318, 454, 480, 486, 376, 536, 537, 542, 586, 543, + 592, 600, 2952, 456, 0, 604, 228, 3806, 2990, 750, + 564, 232, 2984, 2969, 2955, 537, 660, 3806, 2955, 624, + + 422, 0, 2953, 0, 2966, 3806, 0, 774, 0, 824, + 0, 882, 925, 2853, 2843, 2846, 2851, 2824, 616, 2815, + 2842, 2841, 2811, 2828, 2816, 2825, 994, 253, 1067, 3806, + 1094, 1144, 0, 1169, 1218, 648, 652, 678, 2803, 2807, + 2806, 2801, 2810, 2791, 683, 279, 2859, 395, 2858, 699, + 494, 345, 591, 1268, 282, 440, 493, 1331, 1381, 2857, + 1439, 2813, 2808, 706, 538, 544, 704, 2792, 2820, 638, + 2791, 710, 2800, 1463, 1513, 2850, 1538, 1588, 756, 763, + 895, 769, 888, 889, 640, 896, 407, 2788, 715, 2840, + 2777, 3806, 716, 1010, 2845, 2844, 2843, 2829, 2838, 2837, + + 0, 2836, 2835, 2834, 2833, 2832, 775, 794, 798, 901, + 1635, 1669, 924, 951, 961, 1016, 1719, 942, 2780, 2773, + 2772, 2785, 2779, 544, 973, 1015, 2760, 602, 2777, 2813, + 2771, 2767, 1037, 303, 1056, 162, 1790, 1854, 0, 3806, + 1859, 0, 2810, 2808, 2807, 1075, 1087, 1104, 1908, 2807, + 2803, 349, 2754, 2749, 2783, 2730, 1115, 743, 2791, 732, + 2791, 825, 902, 717, 953, 627, 2789, 958, 1099, 1951, + 2788, 1281, 1286, 1283, 2001, 2787, 1311, 1344, 945, 1270, + 1064, 1116, 1081, 967, 1337, 2064, 2107, 2786, 1221, 2778, + 1452, 2156, 1254, 1794, 1453, 1455, 1259, 1255, 666, 2737, + + 1305, 2776, 2775, 2712, 2711, 1324, 2198, 2765, 2764, 2763, + 2762, 605, 2761, 735, 2760, 715, 1803, 791, 3806, 2259, + 1802, 1330, 0, 2293, 1381, 1809, 3806, 2290, 2766, 1806, + 2765, 2763, 2759, 1349, 2704, 2704, 2702, 2700, 2700, 2704, + 2706, 2705, 598, 820, 816, 0, 2724, 2707, 2708, 2706, + 536, 774, 673, 1423, 2751, 2744, 1353, 1357, 1834, 935, + 2742, 911, 1808, 3806, 2742, 2736, 957, 3806, 2684, 0, + 2684, 1657, 2740, 1463, 1825, 2689, 2669, 2722, 920, 1787, + 171, 904, 2339, 1042, 2381, 2378, 2720, 1817, 2712, 1849, + 1821, 1911, 1952, 1943, 1075, 1257, 1078, 1457, 1852, 2100, + + 2428, 1944, 2067, 1147, 2113, 854, 2671, 747, 2114, 2710, + 2709, 1481, 2708, 2645, 2706, 2643, 2704, 2641, 2695, 1521, + 3806, 2122, 3806, 2702, 2696, 2693, 2442, 2652, 2645, 1923, + 2645, 2639, 2628, 2688, 978, 2103, 2687, 1208, 2660, 2637, + 2626, 2622, 2676, 1007, 1555, 3806, 2674, 1668, 2123, 2190, + 3806, 2247, 2248, 2663, 2662, 1047, 2610, 0, 2642, 1008, + 2630, 1690, 2630, 2586, 2577, 1503, 1675, 1033, 2132, 2476, + 2201, 2511, 2258, 2102, 1945, 2257, 2159, 2379, 2342, 1722, + 914, 1346, 3806, 1690, 2626, 2376, 2607, 2605, 2542, 2541, + 2599, 2595, 2527, 2522, 2573, 2564, 2501, 2496, 2549, 2543, + + 2440, 3806, 2547, 2541, 2537, 2482, 2491, 2150, 1063, 2488, + 3806, 2490, 2520, 2478, 2426, 2462, 2439, 2447, 2401, 1294, + 2417, 3806, 1922, 3806, 2451, 2388, 1973, 788, 2351, 2346, + 2384, 1630, 1452, 1480, 2384, 1948, 2131, 2105, 2479, 2512, + 1086, 3806, 2334, 2293, 2350, 2356, 2355, 2298, 2302, 3806, + 2296, 2339, 2304, 2252, 2304, 2243, 2209, 2204, 2177, 2170, + 0, 2143, 2476, 2200, 2111, 833, 1123, 2513, 2375, 2514, + 1949, 2515, 1219, 2084, 2106, 1221, 2052, 2044, 1809, 2032, + 1287, 2037, 1982, 2581, 1943, 1910, 1875, 1187, 1709, 2654, + 2256, 1451, 1861, 1847, 1760, 3806, 1699, 1265, 1710, 2727, + + 1808, 0, 1650, 1620, 1868, 1804, 2800, 2494, 1875, 2004, + 1826, 1630, 1618, 2514, 1577, 1542, 1541, 1425, 526, 1926, + 2523, 1440, 1395, 1890, 1326, 1201, 2408, 2119, 1205, 1178, + 1115, 1156, 1477, 1600, 2524, 2525, 1100, 1014, 1914, 2208, + 971, 2055, 2507, 0, 979, 895, 905, 2302, 2576, 2577, + 0, 2002, 790, 3806, 667, 1992, 679, 3806, 542, 510, + 3806, 1916, 2537, 2568, 2203, 281, 250, 2144, 2570, 2384, + 146, 1478, 1607, 2075, 2076, 2549, 2595, 2610, 2614, 2617, + 2629, 2630, 2632, 2635, 2636, 2637, 2638, 2668, 2681, 2170, + 1711, 2442, 3806, 2870, 2883, 2895, 2913, 2931, 2949, 2964, + + 2981, 2998, 1822, 1887, 2066, 3015, 3033, 2161, 3051, 3069, + 3087, 3105, 3117, 3135, 3153, 3171, 3189, 3196, 2266, 3210, + 3225, 3243, 3261, 3279, 3297, 3315, 3327, 3341, 3354, 3372, + 3390, 3408, 3423, 3437, 3452, 3470, 3485, 3499, 3512, 3530, + 3548, 3566, 3584, 3602, 3616, 3634, 3648, 3661, 3679, 3697, + 3715, 3733, 3751, 3769, 3787 } ; -static yyconst short int yy_def[784] = +static yyconst flex_int16_t yy_def[756] = { 0, - 696, 696, 696, 696, 696, 696, 697, 698, 696, 699, - 697, 696, 12, 700, 697, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 701, 697, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 697, 697, - 697, 697, 697, 702, 696, 703, 703, 696, 48, 700, - 703, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 51, 703, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 703, 703, 703, 703, 703, 702, 696, - 696, 697, 704, 705, 704, 696, 696, 696, 696, 696, - 697, 696, 697, 696, 706, 706, 697, 706, 696, 12, - - 696, 697, 700, 696, 707, 697, 708, 697, 709, 108, - 696, 108, 108, 697, 697, 697, 697, 108, 106, 697, - 108, 697, 108, 108, 697, 710, 701, 710, 711, 696, - 697, 696, 712, 697, 697, 697, 697, 697, 697, 697, - 697, 697, 697, 702, 713, 702, 696, 714, 703, 696, - 703, 703, 696, 703, 696, 696, 703, 715, 703, 159, - 709, 160, 160, 160, 703, 703, 703, 703, 160, 159, - 703, 160, 703, 160, 160, 703, 159, 696, 712, 159, - 696, 703, 703, 703, 703, 703, 703, 703, 703, 702, - 696, 716, 717, 717, 718, 719, 716, 716, 720, 721, - - 696, 722, 722, 696, 696, 696, 697, 697, 696, 697, - 696, 696, 696, 696, 697, 696, 696, 696, 697, 696, - 697, 722, 697, 696, 697, 696, 696, 696, 696, 697, - 697, 697, 697, 697, 697, 697, 697, 697, 697, 723, - 724, 725, 726, 727, 697, 728, 697, 729, 728, 697, - 247, 697, 730, 730, 697, 254, 697, 697, 697, 697, - 697, 697, 696, 702, 696, 731, 696, 732, 733, 733, - 733, 733, 734, 731, 735, 733, 733, 222, 733, 277, - 733, 733, 733, 733, 733, 733, 733, 733, 733, 733, - 736, 733, 277, 729, 733, 293, 733, 292, 733, 733, - - 733, 733, 733, 733, 702, 696, 696, 737, 737, 738, - 696, 739, 740, 740, 741, 741, 696, 742, 696, 696, - 696, 697, 696, 696, 696, 696, 696, 696, 696, 696, - 697, 742, 697, 696, 697, 332, 696, 697, 696, 696, - 696, 696, 697, 697, 697, 696, 697, 743, 697, 697, - 697, 697, 697, 744, 745, 745, 746, 746, 747, 748, - 749, 696, 696, 696, 750, 751, 696, 696, 751, 751, - 697, 697, 696, 696, 697, 697, 702, 696, 696, 696, - 696, 696, 752, 696, 733, 753, 753, 733, 733, 293, - 336, 733, 733, 733, 733, 733, 754, 733, 733, 733, - - 733, 733, 755, 744, 755, 756, 733, 733, 733, 733, - 702, 696, 757, 758, 696, 696, 759, 760, 761, 762, - 763, 764, 696, 696, 696, 697, 696, 696, 696, 696, - 697, 697, 696, 697, 696, 697, 697, 765, 766, 766, - 697, 697, 697, 767, 768, 696, 769, 696, 770, 770, - 770, 697, 696, 696, 696, 696, 697, 696, 702, 696, - 696, 696, 696, 696, 771, 772, 772, 733, 733, 733, - 733, 733, 733, 754, 765, 474, 733, 733, 733, 773, - 733, 733, 702, 696, 696, 758, 774, 759, 759, 760, - 760, 761, 761, 762, 762, 763, 763, 764, 764, 696, - - 696, 774, 774, 697, 696, 696, 696, 696, 697, 775, - 696, 696, 696, 696, 697, 697, 697, 697, 696, 696, - 696, 696, 696, 696, 702, 696, 696, 696, 771, 771, - 772, 772, 733, 733, 733, 733, 776, 733, 733, 773, - 702, 696, 696, 758, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 775, 775, 696, 696, 696, 696, 697, - 697, 697, 697, 697, 702, 696, 696, 772, 772, 733, - 733, 776, 733, 733, 733, 702, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 777, 697, 696, 696, - 772, 772, 778, 733, 702, 696, 696, 696, 696, 696, - - 779, 779, 777, 603, 697, 696, 696, 772, 772, 778, - 779, 610, 733, 702, 696, 696, 779, 603, 603, 696, - 696, 772, 772, 780, 610, 610, 702, 696, 696, 779, - 779, 603, 603, 696, 696, 772, 772, 780, 780, 610, - 610, 702, 696, 696, 779, 779, 603, 781, 696, 782, - 772, 780, 780, 610, 702, 696, 696, 696, 779, 781, - 696, 696, 782, 696, 772, 780, 780, 702, 696, 696, - 772, 780, 702, 696, 772, 702, 783, 783, 783, 783, - 783, 783, 783, 783, 783, 783, 783, 783, 783, 783, - 783, 783, 783, 696, 696, 0, 696, 696, 696, 696, + 693, 693, 693, 693, 693, 693, 694, 693, 693, 693, + 695, 694, 696, 696, 697, 694, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 698, 16, 28, 28, + 28, 28, 28, 28, 28, 28, 28, 28, 28, 694, + 694, 694, 694, 694, 694, 699, 693, 700, 700, 701, + 701, 697, 700, 53, 53, 53, 53, 53, 53, 53, + 53, 53, 53, 53, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 700, 700, 700, 700, 700, + 700, 699, 693, 693, 694, 693, 693, 693, 693, 693, + 693, 694, 693, 694, 693, 702, 702, 693, 694, 702, + + 693, 14, 693, 694, 697, 693, 703, 694, 704, 693, + 705, 694, 693, 112, 112, 694, 694, 694, 112, 112, + 108, 694, 112, 694, 112, 706, 698, 706, 707, 693, + 694, 693, 708, 694, 694, 694, 694, 694, 694, 694, + 694, 694, 694, 699, 699, 693, 709, 700, 693, 700, + 700, 693, 700, 701, 693, 700, 710, 700, 693, 705, + 158, 161, 161, 700, 700, 700, 161, 161, 158, 700, + 161, 700, 161, 158, 693, 708, 158, 693, 700, 700, + 700, 700, 700, 700, 700, 700, 699, 693, 693, 711, + 712, 693, 713, 713, 693, 693, 693, 694, 694, 693, + + 694, 693, 693, 693, 694, 693, 693, 693, 694, 693, + 694, 693, 694, 694, 693, 211, 693, 713, 693, 693, + 693, 693, 693, 693, 694, 694, 694, 694, 694, 694, + 694, 694, 694, 714, 715, 716, 717, 694, 718, 693, + 694, 719, 718, 694, 241, 694, 720, 720, 694, 248, + 694, 694, 694, 694, 694, 694, 699, 693, 721, 693, + 722, 700, 700, 700, 700, 723, 721, 724, 700, 700, + 212, 700, 700, 270, 693, 218, 700, 700, 700, 700, + 700, 700, 700, 700, 700, 700, 700, 719, 700, 287, + 700, 286, 700, 700, 700, 700, 700, 700, 699, 693, + + 693, 725, 725, 726, 726, 693, 693, 693, 693, 693, + 694, 693, 693, 693, 693, 693, 693, 693, 693, 694, + 727, 693, 694, 694, 728, 728, 693, 694, 326, 727, + 326, 694, 328, 694, 693, 693, 693, 693, 693, 693, + 694, 694, 694, 693, 694, 694, 694, 694, 694, 694, + 729, 729, 730, 731, 732, 693, 694, 693, 733, 734, + 693, 693, 734, 693, 363, 694, 694, 693, 693, 694, + 694, 699, 693, 693, 693, 693, 693, 735, 693, 700, + 736, 736, 286, 700, 383, 287, 330, 700, 386, 700, + 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696 + 737, 700, 700, 700, 700, 699, 693, 693, 738, 693, + 330, 693, 739, 740, 741, 742, 743, 744, 693, 693, + 693, 738, 693, 422, 422, 694, 694, 693, 693, 693, + 693, 693, 693, 694, 694, 693, 694, 693, 694, 694, + 694, 694, 694, 729, 731, 693, 732, 693, 745, 745, + 693, 745, 745, 694, 693, 693, 693, 694, 693, 699, + 693, 693, 693, 693, 693, 746, 736, 736, 700, 383, + 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, + 699, 693, 693, 693, 693, 747, 739, 739, 740, 740, + 741, 741, 742, 742, 743, 743, 744, 744, 693, 693, + + 747, 693, 501, 501, 694, 693, 693, 693, 693, 693, + 693, 694, 748, 693, 693, 693, 693, 694, 694, 694, + 694, 693, 693, 693, 693, 693, 699, 693, 693, 693, + 746, 746, 736, 736, 700, 700, 700, 700, 700, 700, + 699, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 748, 748, 693, 693, 693, 693, 694, 694, 694, + 694, 694, 699, 693, 693, 736, 736, 700, 700, 700, + 700, 700, 699, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 749, 694, 693, 693, 736, 736, 750, + 700, 699, 693, 693, 693, 693, 693, 751, 751, 749, + + 600, 694, 693, 693, 736, 736, 750, 751, 607, 700, + 699, 693, 693, 751, 600, 600, 693, 693, 736, 736, + 752, 607, 607, 699, 693, 693, 751, 751, 600, 600, + 693, 693, 736, 736, 752, 752, 607, 607, 699, 693, + 693, 751, 751, 600, 753, 693, 754, 736, 752, 752, + 607, 699, 693, 693, 693, 751, 753, 693, 693, 754, + 693, 736, 752, 752, 699, 693, 693, 736, 752, 699, + 693, 736, 699, 755, 755, 755, 755, 755, 755, 755, + 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, + 693, 693, 0, 693, 693, 693, 693, 693, 693, 693, + + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693 } ; -static yyconst short int yy_nxt[4591] = +static yyconst flex_int16_t yy_nxt[3880] = { 0, 4, 4, 4, 5, 4, 4, 6, 4, 7, 8, - 4, 9, 10, 7, 4, 4, 11, 12, 13, 13, - 4, 14, 4, 4, 15, 16, 17, 18, 15, 15, - 19, 15, 15, 15, 20, 21, 15, 22, 23, 24, - 15, 25, 15, 26, 4, 4, 27, 28, 29, 30, - 31, 32, 33, 34, 35, 36, 37, 38, 39, 7, - 40, 7, 7, 41, 42, 7, 7, 7, 43, 7, - 7, 44, 4, 4, 4, 4, 5, 4, 45, 6, - 45, 7, 8, 4, 9, 10, 46, 4, 4, 47, - 48, 49, 49, 4, 50, 4, 4, 51, 52, 53, - - 54, 51, 51, 55, 51, 51, 51, 56, 57, 51, - 58, 59, 60, 51, 61, 51, 26, 4, 4, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, - 73, 74, 46, 75, 46, 46, 76, 77, 46, 46, - 46, 78, 46, 46, 79, 4, 80, 81, 81, 81, - 81, 84, 87, 88, 90, 115, 119, 82, 85, 85, - 85, 85, 111, 268, 91, 95, 92, 93, 80, 150, - 170, 94, 95, 95, 96, 82, 216, 696, 116, 82, - 120, 695, 696, 199, 97, 98, 99, 100, 100, 100, - 100, 101, 104, 158, 171, 102, 102, 102, 102, 102, - - 102, 102, 102, 82, 102, 82, 82, 102, 102, 102, - 82, 82, 102, 82, 111, 111, 112, 102, 102, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 82, - 102, 102, 102, 102, 102, 82, 82, 82, 82, 82, - 82, 82, 105, 111, 106, 200, 107, 108, 108, 108, - 108, 109, 140, 648, 105, 136, 268, 135, 135, 204, - 135, 205, 138, 674, 123, 124, 206, 136, 136, 137, - 209, 125, 166, 106, 135, 135, 135, 110, 110, 110, - 110, 110, 110, 110, 110, 110, 110, 110, 110, 136, - 136, 104, 135, 135, 135, 167, 216, 163, 217, 141, - - 106, 126, 127, 127, 127, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 128, 126, 126, 111, 195, 196, - 145, 126, 126, 126, 126, 136, 136, 135, 135, 135, - 136, 136, 136, 136, 135, 135, 135, 115, 135, 135, - 135, 111, 114, 569, 126, 130, 126, 136, 136, 136, - 136, 95, 135, 135, 135, 136, 136, 135, 135, 135, - 116, 149, 181, 696, 135, 135, 135, 677, 150, 207, - 208, 183, 126, 126, 131, 136, 136, 132, 132, 132, - 132, 133, 111, 90, 542, 135, 135, 328, 82, 117, - 147, 143, 125, 151, 664, 92, 152, 329, 125, 182, - - 153, 181, 181, 134, 329, 145, 184, 135, 135, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 146, - 146, 146, 146, 182, 182, 181, 181, 181, 182, 182, - 134, 82, 174, 175, 181, 181, 181, 147, 82, 176, - 165, 182, 182, 150, 181, 181, 181, 182, 182, 166, - 150, 181, 181, 181, 182, 182, 82, 274, 275, 182, - 182, 181, 181, 181, 181, 181, 181, 670, 150, 185, - 182, 182, 167, 193, 307, 147, 95, 95, 96, 181, - 181, 181, 661, 82, 81, 81, 81, 81, 154, 98, - 99, 155, 155, 155, 155, 156, 195, 308, 188, 157, - - 157, 157, 157, 157, 157, 157, 157, 149, 157, 149, - 149, 157, 157, 157, 149, 149, 157, 149, 95, 95, - 95, 157, 157, 157, 157, 157, 157, 157, 157, 157, - 157, 157, 157, 149, 157, 157, 157, 157, 157, 149, - 149, 149, 149, 149, 149, 149, 82, 195, 308, 105, - 241, 159, 82, 107, 160, 160, 160, 160, 161, 182, - 182, 105, 182, 182, 150, 310, 311, 181, 181, 181, - 82, 82, 181, 181, 374, 186, 168, 95, 95, 95, - 159, 130, 150, 150, 162, 162, 162, 162, 162, 162, - 162, 162, 162, 162, 162, 162, 225, 225, 225, 225, - - 82, 104, 225, 225, 225, 225, 669, 159, 82, 173, - 111, 82, 150, 177, 145, 82, 178, 178, 178, 178, - 179, 375, 187, 150, 417, 190, 193, 150, 146, 146, - 146, 146, 230, 197, 197, 197, 197, 198, 225, 225, - 225, 225, 180, 284, 274, 275, 181, 181, 182, 182, - 182, 182, 182, 182, 182, 182, 182, 182, 95, 467, - 189, 176, 95, 95, 95, 82, 82, 176, 82, 180, - 696, 226, 231, 227, 212, 696, 213, 150, 150, 228, - 657, 214, 229, 104, 147, 109, 418, 107, 202, 202, - 202, 202, 109, 226, 271, 227, 225, 225, 225, 225, - - 82, 348, 228, 255, 255, 255, 255, 229, 225, 225, - 225, 225, 150, 664, 109, 348, 348, 291, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, - 225, 225, 225, 225, 239, 358, 225, 225, 225, 225, - 637, 109, 219, 219, 219, 219, 219, 219, 219, 219, - 219, 219, 219, 219, 221, 82, 662, 235, 284, 346, - 216, 222, 217, 269, 270, 360, 130, 150, 82, 255, - 255, 255, 255, 255, 255, 255, 255, 381, 237, 240, - 150, 433, 347, 221, 310, 311, 382, 223, 223, 223, - 223, 223, 223, 223, 223, 223, 223, 223, 223, 259, - - 280, 280, 280, 280, 347, 361, 283, 260, 310, 311, - 221, 126, 127, 127, 127, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 145, 82, 104, - 591, 126, 126, 126, 126, 423, 271, 434, 82, 82, - 150, 146, 146, 146, 146, 264, 272, 145, 323, 424, - 150, 150, 82, 82, 126, 130, 126, 661, 305, 280, - 280, 280, 280, 658, 150, 150, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 126, 126, 126, 242, 242, 242, 243, 281, - 126, 126, 126, 126, 126, 126, 286, 147, 126, 126, - - 282, 82, 82, 82, 126, 126, 104, 126, 285, 280, - 280, 280, 280, 150, 150, 150, 290, 147, 435, 286, - 327, 82, 288, 82, 374, 82, 82, 126, 130, 298, - 298, 298, 298, 150, 82, 150, 82, 150, 150, 289, - 435, 385, 298, 298, 298, 298, 150, 104, 150, 304, - 466, 436, 291, 358, 303, 126, 126, 245, 245, 245, - 245, 245, 245, 245, 245, 245, 245, 245, 245, 82, - 246, 373, 301, 437, 247, 271, 654, 82, 82, 82, - 82, 248, 288, 249, 130, 250, 250, 250, 250, 250, - 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, - - 250, 250, 250, 251, 465, 623, 465, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 82, - 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, - 247, 82, 135, 135, 135, 135, 135, 135, 135, 135, - 135, 135, 135, 135, 254, 330, 330, 330, 330, 542, - 378, 255, 255, 255, 255, 379, 380, 256, 543, 257, - 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, - 257, 257, 257, 257, 257, 257, 257, 257, 331, 331, - 331, 331, 193, 307, 509, 258, 95, 95, 95, 312, - 312, 312, 312, 82, 332, 332, 332, 332, 149, 98, - - 654, 155, 155, 155, 155, 150, 513, 509, 419, 157, - 157, 157, 157, 157, 157, 157, 157, 149, 157, 149, - 149, 157, 157, 157, 149, 149, 157, 149, 514, 104, - 651, 157, 157, 157, 157, 157, 157, 157, 157, 157, - 157, 157, 157, 149, 157, 157, 157, 157, 157, 149, - 149, 149, 149, 149, 149, 149, 82, 82, 104, 222, - 696, 333, 333, 333, 333, 82, 222, 696, 150, 150, - 420, 193, 307, 298, 298, 298, 298, 150, 197, 197, - 197, 197, 198, 334, 334, 334, 334, 456, 222, 696, - 365, 365, 365, 365, 276, 276, 276, 276, 276, 276, - - 276, 276, 276, 276, 276, 276, 277, 302, 386, 242, - 242, 242, 243, 278, 402, 222, 696, 387, 415, 415, - 415, 415, 222, 444, 82, 318, 318, 318, 318, 222, - 333, 333, 333, 333, 457, 277, 150, 360, 337, 279, - 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, - 279, 222, 130, 212, 130, 213, 333, 333, 333, 333, - 214, 649, 277, 292, 292, 292, 292, 292, 292, 292, - 292, 292, 292, 292, 292, 82, 246, 361, 222, 353, - 293, 218, 218, 149, 149, 149, 149, 294, 343, 249, - 648, 295, 295, 295, 295, 295, 295, 295, 295, 295, - - 295, 295, 295, 295, 295, 295, 295, 295, 295, 296, - 445, 445, 445, 297, 297, 297, 297, 297, 297, 297, - 297, 297, 297, 297, 297, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 293, 149, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 82, 254, 450, 446, 444, 149, 220, 220, 298, 298, - 298, 298, 150, 647, 256, 451, 299, 299, 299, 299, - 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, - 299, 299, 299, 299, 299, 519, 647, 104, 149, 149, - 149, 149, 300, 149, 149, 149, 149, 149, 149, 149, - - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 223, 223, 223, 223, 223, 223, 223, - 223, 223, 223, 223, 223, 335, 426, 426, 426, 426, - 456, 104, 336, 369, 337, 254, 608, 82, 333, 333, - 333, 333, 366, 366, 366, 366, 370, 104, 256, 150, - 449, 449, 449, 449, 335, 530, 384, 530, 338, 338, - 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - 344, 644, 82, 643, 454, 104, 368, 455, 82, 398, - 665, 335, 354, 354, 150, 354, 354, 354, 354, 354, - 150, 354, 354, 354, 354, 568, 354, 354, 82, 696, - - 696, 145, 354, 354, 354, 354, 696, 696, 696, 696, - 150, 82, 696, 696, 397, 377, 377, 377, 377, 388, - 388, 388, 388, 150, 82, 354, 354, 354, 397, 397, - 82, 82, 389, 389, 389, 389, 150, 532, 395, 82, - 696, 145, 150, 150, 400, 425, 356, 389, 389, 389, - 389, 150, 411, 354, 354, 126, 242, 242, 242, 243, - 641, 126, 126, 126, 126, 126, 126, 104, 346, 126, - 126, 147, 82, 82, 82, 126, 126, 104, 126, 393, - 389, 389, 389, 389, 150, 150, 150, 104, 82, 82, - 82, 396, 364, 399, 410, 82, 82, 373, 126, 130, - - 150, 150, 150, 640, 193, 485, 82, 150, 150, 486, - 635, 147, 394, 396, 389, 389, 389, 389, 150, 609, - 634, 82, 82, 401, 696, 369, 126, 126, 254, 406, - 406, 406, 406, 150, 150, 696, 393, 696, 696, 622, - 592, 256, 696, 257, 257, 257, 257, 257, 257, 257, - 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, - 257, 257, 394, 402, 696, 696, 696, 617, 511, 258, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 369, 421, 82, 224, 224, 329, 104, 617, - 374, 696, 421, 511, 329, 370, 150, 371, 371, 371, - - 371, 371, 371, 371, 371, 371, 371, 371, 371, 371, - 371, 371, 371, 371, 371, 371, 253, 253, 193, 307, - 104, 82, 336, 372, 82, 414, 414, 414, 414, 336, - 90, 337, 336, 150, 82, 633, 150, 409, 461, 336, - 460, 696, 92, 636, 82, 422, 150, 94, 462, 145, - 99, 336, 271, 104, 422, 101, 150, 445, 445, 445, - 483, 336, 279, 279, 279, 279, 279, 279, 279, 279, - 279, 279, 279, 279, 390, 82, 531, 450, 336, 82, - 632, 391, 469, 337, 82, 450, 502, 150, 336, 82, - 696, 150, 82, 82, 82, 82, 104, 629, 451, 503, - - 446, 650, 472, 390, 520, 520, 520, 392, 392, 392, - 392, 392, 392, 392, 392, 392, 392, 392, 392, 147, - 628, 82, 621, 470, 473, 487, 487, 487, 487, 620, - 390, 354, 354, 150, 354, 354, 354, 354, 354, 355, - 354, 354, 354, 354, 145, 354, 354, 521, 671, 696, - 271, 404, 354, 354, 354, 82, 82, 82, 459, 459, - 459, 459, 696, 468, 468, 468, 468, 150, 150, 150, - 82, 616, 500, 145, 354, 354, 354, 82, 82, 455, - 523, 599, 150, 433, 501, 525, 104, 82, 82, 150, - 150, 111, 433, 456, 82, 405, 82, 82, 478, 150, - - 150, 477, 354, 354, 82, 254, 150, 82, 150, 150, - 363, 363, 479, 615, 147, 542, 150, 104, 256, 150, - 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, - 299, 299, 299, 299, 299, 299, 299, 299, 299, 471, - 482, 675, 617, 526, 618, 538, 300, 297, 297, 297, - 297, 297, 297, 297, 297, 297, 297, 297, 297, 369, - 145, 530, 384, 530, 617, 650, 619, 607, 606, 605, - 601, 541, 370, 625, 407, 407, 407, 407, 407, 407, - 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, - 407, 407, 407, 601, 600, 626, 582, 659, 597, 617, - - 408, 338, 338, 338, 338, 338, 338, 338, 338, 338, - 338, 338, 338, 438, 438, 510, 438, 438, 438, 438, - 438, 617, 438, 438, 438, 438, 502, 438, 438, 82, - 147, 82, 547, 438, 438, 438, 438, 82, 450, 696, - 476, 150, 149, 150, 511, 149, 149, 149, 149, 150, - 82, 451, 82, 512, 476, 476, 438, 438, 438, 596, - 82, 551, 150, 440, 150, 384, 111, 590, 562, 511, - 535, 82, 150, 536, 589, 552, 82, 440, 440, 534, - 598, 271, 563, 150, 438, 438, 354, 354, 150, 354, - 354, 354, 354, 354, 599, 354, 354, 354, 354, 624, - - 354, 354, 534, 617, 193, 307, 354, 354, 354, 354, - 539, 544, 544, 544, 544, 82, 82, 548, 520, 520, - 520, 145, 82, 659, 617, 617, 617, 150, 150, 354, - 354, 354, 571, 82, 150, 565, 565, 565, 565, 82, - 679, 145, 588, 82, 82, 150, 617, 563, 617, 587, - 587, 150, 576, 570, 185, 150, 150, 354, 354, 354, - 354, 521, 354, 354, 354, 354, 354, 586, 354, 354, - 354, 354, 82, 354, 354, 573, 82, 575, 82, 354, - 354, 354, 354, 656, 150, 193, 485, 585, 150, 574, - 150, 147, 544, 544, 544, 544, 82, 657, 145, 593, - - 617, 584, 354, 354, 354, 145, 145, 593, 150, 145, - 263, 147, 565, 565, 565, 565, 595, 614, 583, 574, - 627, 555, 617, 679, 555, 582, 552, 581, 646, 594, - 354, 354, 392, 392, 392, 392, 392, 392, 392, 392, - 392, 392, 392, 392, 438, 438, 580, 438, 438, 438, - 438, 438, 439, 438, 438, 438, 438, 82, 438, 438, - 145, 579, 384, 384, 475, 438, 438, 438, 526, 150, - 578, 642, 548, 617, 630, 147, 147, 577, 645, 147, - 617, 145, 384, 384, 384, 567, 145, 438, 438, 438, - 639, 639, 655, 263, 476, 617, 631, 668, 679, 613, - - 145, 566, 617, 265, 455, 384, 523, 384, 476, 476, - 564, 673, 639, 639, 384, 438, 438, 354, 354, 384, - 354, 354, 354, 354, 354, 355, 354, 354, 354, 354, - 147, 354, 354, 639, 561, 639, 652, 404, 354, 354, - 354, 560, 639, 559, 558, 557, 556, 639, 555, 139, - 553, 147, 666, 384, 145, 639, 147, 639, 653, 384, - 354, 354, 354, 667, 639, 676, 679, 679, 694, 639, - 147, 679, 679, 679, 679, 679, 550, 680, 681, 672, - 549, 639, 682, 683, 684, 685, 686, 639, 354, 354, - 354, 354, 548, 354, 354, 354, 354, 354, 355, 354, - - 354, 354, 354, 639, 354, 354, 547, 672, 546, 639, - 404, 354, 354, 354, 499, 499, 497, 497, 495, 495, - 493, 493, 491, 491, 147, 489, 489, 384, 537, 679, - 528, 527, 216, 354, 354, 354, 263, 263, 209, 373, - 687, 263, 263, 263, 263, 263, 679, 524, 455, 523, - 448, 111, 518, 679, 679, 679, 679, 688, 679, 517, - 516, 354, 354, 502, 689, 690, 691, 692, 515, 693, - 433, 111, 508, 507, 506, 505, 503, 424, 504, 504, - 504, 504, 504, 504, 504, 504, 504, 504, 504, 504, - 504, 504, 504, 504, 504, 504, 504, 438, 438, 263, - - 438, 438, 438, 438, 438, 499, 438, 438, 438, 438, - 497, 438, 438, 495, 493, 491, 263, 438, 438, 438, - 438, 489, 425, 263, 263, 263, 263, 196, 263, 484, - 480, 268, 384, 464, 463, 86, 210, 458, 455, 373, - 438, 438, 438, 364, 448, 443, 442, 441, 210, 432, - 431, 430, 429, 428, 427, 337, 425, 337, 216, 216, - 210, 209, 209, 209, 316, 316, 314, 314, 438, 438, - 438, 438, 196, 438, 438, 438, 438, 438, 412, 438, - 438, 438, 438, 364, 438, 438, 268, 268, 267, 384, - 438, 438, 438, 438, 267, 353, 376, 344, 343, 373, - - 254, 364, 364, 246, 352, 351, 350, 349, 345, 342, - 341, 340, 339, 438, 438, 438, 327, 327, 326, 325, - 440, 324, 323, 323, 322, 321, 320, 319, 316, 314, - 307, 306, 268, 287, 440, 440, 268, 268, 267, 265, - 263, 438, 438, 82, 502, 262, 237, 210, 261, 235, - 130, 240, 238, 210, 236, 150, 234, 503, 233, 533, - 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, - 533, 533, 533, 533, 533, 533, 533, 533, 438, 438, - 233, 438, 438, 438, 438, 438, 439, 438, 438, 438, - 438, 232, 438, 438, 104, 216, 215, 209, 475, 438, - - 438, 438, 210, 209, 201, 193, 191, 173, 172, 169, - 168, 165, 164, 148, 122, 142, 139, 122, 121, 118, - 117, 438, 438, 438, 114, 113, 104, 86, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 438, - 438, 602, 602, 696, 602, 602, 602, 602, 602, 696, - 602, 602, 602, 602, 696, 602, 602, 696, 696, 696, - 696, 602, 602, 602, 602, 696, 696, 696, 696, 696, - 696, 604, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 602, 602, 602, 696, 696, 696, - - 696, 696, 696, 604, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 602, 602, 602, 602, 696, 602, 602, 602, - 602, 602, 603, 602, 602, 602, 602, 696, 602, 602, - 696, 696, 696, 696, 611, 602, 602, 602, 696, 696, - 696, 696, 696, 696, 612, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 602, 602, 602, - 696, 696, 696, 696, 696, 696, 612, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 602, 602, 602, 602, 696, + 9, 10, 11, 7, 4, 4, 12, 13, 14, 14, + 4, 15, 4, 4, 16, 17, 18, 19, 16, 16, + 20, 16, 16, 16, 21, 22, 23, 22, 24, 25, + 22, 26, 22, 27, 4, 4, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, + 42, 41, 41, 43, 44, 41, 41, 41, 45, 41, + 41, 46, 4, 4, 4, 4, 5, 4, 47, 6, + 47, 7, 8, 9, 10, 11, 48, 4, 4, 49, + 50, 51, 51, 4, 52, 4, 4, 53, 54, 55, + + 56, 53, 53, 57, 53, 53, 53, 58, 59, 60, + 59, 61, 62, 59, 63, 59, 27, 4, 4, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, + 75, 76, 77, 78, 77, 77, 79, 80, 77, 77, + 77, 81, 77, 77, 82, 4, 83, 84, 84, 84, + 84, 86, 86, 86, 86, 88, 89, 91, 113, 117, + 119, 119, 119, 119, 106, 157, 354, 92, 83, 93, + 94, 113, 107, 106, 95, 96, 96, 97, 119, 119, + 119, 119, 85, 118, 107, 107, 98, 99, 100, 101, + 102, 102, 102, 102, 103, 121, 645, 107, 119, 119, + + 119, 119, 119, 119, 119, 119, 355, 136, 120, 135, + 135, 85, 114, 113, 138, 113, 135, 467, 122, 119, + 119, 119, 119, 149, 142, 137, 136, 136, 119, 119, + 119, 119, 85, 135, 135, 135, 123, 190, 85, 85, + 85, 85, 85, 85, 85, 96, 96, 96, 198, 199, + 136, 136, 85, 135, 135, 135, 98, 85, 100, 693, + 102, 102, 102, 102, 693, 125, 234, 162, 124, 136, + 136, 135, 135, 135, 136, 136, 117, 165, 135, 135, + 135, 258, 258, 136, 136, 261, 116, 136, 136, 135, + 135, 135, 135, 135, 135, 136, 136, 130, 206, 191, + + 118, 166, 85, 135, 135, 135, 107, 671, 85, 85, + 85, 85, 85, 85, 85, 107, 352, 108, 107, 109, + 110, 110, 110, 110, 111, 136, 136, 107, 136, 136, + 167, 167, 167, 167, 135, 135, 135, 107, 135, 135, + 542, 139, 145, 145, 145, 145, 108, 130, 261, 107, + 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, + 112, 112, 200, 369, 179, 179, 167, 167, 167, 167, + 178, 178, 178, 108, 126, 127, 127, 127, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 128, 126, 126, + 107, 124, 140, 113, 126, 126, 126, 126, 146, 91, + + 171, 107, 107, 85, 85, 167, 167, 167, 167, 150, + 370, 93, 151, 107, 113, 149, 152, 126, 130, 126, + 299, 169, 179, 179, 167, 167, 167, 167, 167, 167, + 167, 167, 178, 178, 179, 168, 178, 178, 206, 141, + 207, 181, 113, 143, 170, 126, 126, 131, 85, 693, + 132, 132, 132, 132, 133, 167, 167, 167, 167, 178, + 149, 179, 179, 178, 178, 178, 179, 179, 180, 178, + 178, 178, 84, 84, 84, 84, 134, 172, 164, 146, + 135, 135, 136, 136, 136, 136, 136, 136, 136, 136, + 136, 136, 173, 179, 179, 267, 268, 178, 178, 178, + + 179, 179, 85, 134, 96, 96, 97, 178, 178, 178, + 264, 85, 661, 165, 149, 98, 153, 100, 101, 154, + 154, 154, 154, 155, 179, 179, 179, 179, 106, 178, + 178, 178, 179, 179, 178, 178, 178, 166, 96, 96, + 96, 178, 178, 178, 85, 85, 85, 107, 107, 352, + 85, 85, 85, 107, 107, 183, 149, 149, 149, 107, + 107, 148, 149, 149, 149, 107, 107, 148, 148, 148, + 148, 148, 148, 148, 96, 96, 96, 195, 280, 196, + 130, 85, 182, 633, 197, 98, 148, 100, 693, 154, + 154, 154, 154, 149, 85, 113, 667, 107, 340, 85, + + 85, 436, 184, 107, 340, 344, 149, 265, 172, 107, + 280, 149, 149, 187, 413, 107, 145, 145, 145, 145, + 86, 86, 86, 86, 189, 96, 96, 96, 345, 267, + 268, 148, 85, 85, 85, 85, 185, 148, 148, 148, + 148, 148, 148, 148, 85, 186, 85, 107, 85, 158, + 345, 109, 159, 159, 159, 159, 160, 437, 149, 107, + 149, 96, 96, 96, 249, 249, 249, 249, 249, 249, + 249, 249, 146, 202, 264, 203, 414, 354, 158, 406, + 204, 658, 161, 161, 161, 161, 161, 161, 161, 161, + 161, 161, 161, 161, 249, 249, 249, 249, 253, 145, + + 145, 145, 145, 257, 283, 158, 174, 85, 693, 175, + 175, 175, 175, 176, 85, 262, 263, 355, 85, 149, + 148, 148, 148, 148, 415, 85, 149, 666, 254, 218, + 149, 301, 301, 301, 301, 177, 218, 149, 146, 178, + 178, 179, 179, 179, 179, 179, 179, 179, 179, 179, + 179, 206, 279, 207, 373, 146, 284, 483, 218, 374, + 375, 484, 177, 111, 85, 109, 193, 193, 193, 193, + 111, 85, 292, 292, 292, 292, 149, 85, 317, 292, + 292, 292, 292, 149, 376, 218, 416, 444, 318, 149, + 258, 258, 111, 377, 419, 318, 194, 194, 194, 194, + + 194, 194, 194, 194, 194, 194, 194, 194, 420, 295, + 319, 319, 319, 319, 320, 320, 320, 320, 130, 111, + 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, + 209, 209, 85, 85, 281, 106, 588, 211, 380, 654, + 85, 85, 85, 85, 212, 149, 438, 439, 213, 213, + 213, 213, 213, 213, 213, 213, 213, 213, 85, 85, + 85, 85, 85, 85, 85, 85, 211, 481, 438, 440, + 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, + 214, 214, 85, 85, 85, 85, 85, 85, 85, 85, + 85, 85, 85, 211, 85, 216, 85, 85, 217, 217, + + 217, 217, 218, 85, 85, 312, 106, 661, 149, 149, + 85, 292, 292, 292, 292, 149, 149, 321, 321, 321, + 321, 466, 149, 466, 216, 369, 146, 541, 214, 214, + 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, + 323, 323, 323, 323, 363, 296, 659, 364, 297, 264, + 298, 216, 219, 85, 220, 693, 316, 365, 221, 222, + 106, 85, 693, 223, 468, 149, 224, 324, 324, 324, + 324, 457, 368, 149, 219, 85, 220, 325, 325, 325, + 325, 658, 221, 222, 693, 456, 146, 149, 223, 324, + 324, 324, 324, 224, 126, 127, 127, 127, 126, 126, - 602, 602, 602, 602, 602, 696, 602, 602, 602, 602, - 696, 602, 602, 696, 696, 696, 696, 602, 602, 602, - 602, 696, 696, 696, 696, 696, 696, 604, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 602, 602, 602, 696, 696, 696, 696, 696, 696, 604, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 602, 602, - 602, 602, 696, 602, 602, 602, 602, 602, 603, 602, - 602, 602, 602, 696, 602, 602, 696, 696, 696, 696, - 611, 602, 602, 602, 696, 696, 696, 696, 696, 696, - - 612, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 602, 602, 602, 696, 696, 696, 696, - 696, 696, 612, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 602, 602, 82, 696, 696, 696, 82, 82, 696, - 696, 82, 82, 82, 82, 82, 82, 82, 82, 83, - 83, 83, 83, 83, 696, 83, 83, 83, 83, 83, - 83, 83, 83, 83, 83, 83, 83, 83, 89, 89, - 696, 696, 696, 89, 89, 89, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, - - 103, 103, 103, 103, 103, 129, 129, 129, 129, 129, - 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, - 129, 129, 129, 129, 144, 144, 144, 144, 144, 144, - 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, - 144, 144, 144, 149, 696, 696, 696, 149, 149, 149, - 696, 149, 149, 149, 149, 149, 149, 149, 149, 192, - 192, 192, 192, 192, 696, 192, 192, 192, 192, 192, - 192, 192, 192, 192, 192, 192, 192, 192, 194, 194, - 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, - 194, 194, 194, 194, 194, 194, 194, 211, 211, 696, - - 696, 696, 696, 696, 696, 696, 696, 211, 696, 696, - 211, 211, 696, 211, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 244, 244, 244, 244, 244, 244, 244, + 381, 693, 512, 393, 126, 126, 126, 126, 458, 382, + 444, 341, 527, 218, 398, 655, 307, 307, 307, 307, + 218, 324, 324, 324, 324, 106, 512, 126, 130, 126, + 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, + 85, 522, 218, 324, 324, 324, 324, 235, 235, 235, + 236, 457, 149, 342, 651, 126, 126, 126, 235, 235, + 235, 236, 85, 126, 126, 126, 126, 126, 126, 218, + 528, 126, 126, 85, 149, 240, 85, 126, 126, 85, + 126, 359, 359, 359, 359, 149, 248, 534, 149, 573, + + 130, 149, 350, 360, 360, 360, 360, 85, 364, 250, + 126, 130, 550, 693, 395, 383, 383, 383, 383, 149, + 693, 693, 693, 693, 85, 106, 693, 511, 651, 396, + 476, 372, 372, 372, 372, 397, 149, 362, 126, 126, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 85, 239, 693, 85, 240, 241, 146, 646, + 85, 85, 85, 85, 242, 645, 243, 149, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 244, 244, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 266, 266, 266, 266, 266, 266, 266, 266, 266, - 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, - 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, - - 273, 273, 273, 273, 273, 273, 273, 273, 273, 192, - 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, - 192, 192, 192, 192, 192, 192, 192, 192, 194, 194, - 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, - 194, 194, 194, 194, 194, 194, 194, 195, 195, 195, - 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, - 195, 195, 195, 195, 195, 195, 309, 309, 309, 309, - 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, - 309, 309, 309, 309, 309, 313, 313, 696, 313, 313, - 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, - - 313, 313, 313, 313, 315, 315, 696, 315, 315, 315, - 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, - 315, 315, 315, 317, 696, 317, 696, 696, 696, 317, - 317, 317, 696, 696, 317, 355, 355, 696, 355, 355, - 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, - 355, 355, 355, 355, 357, 357, 357, 357, 357, 357, - 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, - 357, 357, 357, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 359, 359, 359, 359, 359, 359, 359, 359, + 244, 244, 244, 244, 244, 244, 245, 146, 589, 106, + 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, + + 246, 246, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 245, 244, 135, 135, 135, 135, 135, + 135, 135, 135, 135, 135, 135, 135, 248, 644, 85, + 417, 240, 592, 644, 249, 249, 249, 249, 605, 516, + 250, 149, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 517, 85, 85, 368, 85, 641, 85, 252, 96, + 96, 96, 405, 344, 149, 149, 85, 149, 85, 149, + 98, 148, 100, 693, 154, 154, 154, 154, 149, 85, + 149, 146, 418, 264, 85, 614, 394, 384, 384, 384, + + 384, 149, 385, 385, 385, 385, 149, 148, 148, 148, + 148, 148, 148, 148, 148, 148, 148, 614, 394, 85, + 399, 408, 408, 408, 408, 514, 148, 385, 385, 385, + 385, 149, 148, 148, 148, 148, 148, 148, 148, 85, + 409, 409, 409, 409, 560, 85, 421, 421, 421, 421, + 514, 149, 85, 385, 385, 385, 385, 149, 561, 391, + 385, 385, 385, 385, 149, 427, 427, 427, 427, 359, + 359, 359, 359, 449, 449, 449, 449, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 85, + 326, 640, 392, 327, 270, 542, 329, 148, 148, 148, + + 148, 271, 399, 331, 543, 272, 272, 272, 272, 272, + 272, 272, 272, 272, 272, 148, 148, 148, 148, 148, + 148, 148, 148, 270, 445, 445, 445, 273, 273, 273, + 273, 273, 273, 273, 273, 273, 273, 273, 273, 148, + 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, + 270, 148, 274, 638, 106, 275, 275, 275, 275, 276, + 85, 85, 240, 85, 611, 85, 91, 446, 401, 401, + 401, 401, 149, 149, 637, 149, 461, 149, 93, 106, + 106, 274, 106, 95, 632, 273, 273, 273, 273, 273, + 273, 273, 273, 273, 273, 273, 273, 486, 486, 486, + + 486, 391, 566, 392, 532, 379, 532, 477, 274, 286, + 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, + 286, 85, 239, 146, 499, 240, 287, 647, 647, 148, + 148, 148, 148, 288, 567, 243, 500, 289, 289, 289, + 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, + 289, 289, 289, 289, 289, 290, 445, 445, 445, 291, + 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 291, 289, 289, 289, 289, 289, 289, 289, 289, 289, + 289, 289, 290, 289, 178, 178, 178, 178, 178, 178, + 178, 178, 178, 178, 178, 178, 85, 248, 631, 446, + + 630, 148, 106, 648, 292, 292, 292, 292, 149, 674, + 250, 629, 293, 293, 293, 293, 293, 293, 293, 293, + 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, + 293, 532, 379, 532, 148, 148, 148, 148, 294, 148, + 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, + 148, 148, 148, 148, 148, 148, 148, 148, 148, 213, + 213, 213, 213, 213, 213, 213, 213, 213, 213, 523, + 523, 523, 626, 460, 460, 460, 460, 106, 625, 146, + 618, 214, 214, 214, 214, 214, 214, 214, 214, 214, + 214, 214, 214, 322, 322, 322, 322, 322, 322, 322, + + 322, 322, 322, 202, 617, 203, 544, 544, 544, 544, + 204, 106, 524, 692, 258, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 306, 306, 306, 85, 326, 146, + 85, 327, 328, 533, 329, 85, 85, 85, 85, 330, + 614, 331, 149, 332, 332, 332, 332, 332, 332, 332, + 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, + 332, 333, 614, 606, 613, 334, 334, 334, 334, 334, + 334, 334, 334, 334, 334, 334, 334, 85, 85, 85, + 85, 85, 85, 85, 85, 85, 85, 85, 328, 85, + 126, 235, 235, 235, 236, 85, 126, 126, 126, 126, + + 126, 126, 85, 264, 126, 126, 106, 149, 369, 596, + 126, 126, 417, 126, 149, 330, 318, 693, 693, 693, + 693, 693, 330, 318, 693, 85, 693, 327, 462, 85, + 693, 693, 615, 126, 130, 208, 208, 149, 463, 624, + 101, 149, 85, 450, 330, 103, 451, 85, 693, 452, + 85, 85, 85, 85, 616, 404, 453, 85, 693, 595, + 85, 126, 126, 248, 620, 470, 470, 470, 470, 149, + 106, 330, 149, 596, 418, 693, 250, 471, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 612, 146, 622, + + 210, 210, 478, 639, 252, 357, 357, 357, 357, 357, + 357, 357, 357, 357, 357, 357, 357, 363, 106, 85, + 364, 623, 619, 523, 523, 523, 542, 652, 106, 604, + 365, 149, 366, 366, 366, 366, 366, 366, 366, 366, + 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, + 366, 85, 85, 85, 364, 436, 85, 85, 367, 85, + 85, 603, 146, 149, 149, 149, 524, 472, 149, 149, + 668, 149, 149, 508, 474, 272, 272, 272, 272, 272, + 272, 272, 272, 272, 272, 634, 146, 508, 508, 563, + 563, 563, 563, 602, 182, 538, 475, 273, 273, 273, + + 273, 273, 273, 273, 273, 273, 273, 273, 273, 85, + 326, 473, 85, 327, 386, 665, 329, 148, 148, 148, + 148, 387, 614, 331, 149, 388, 388, 388, 388, 388, + 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, + 388, 388, 388, 389, 614, 146, 598, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 390, 390, 148, + 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, + 386, 148, 85, 248, 146, 85, 598, 676, 676, 215, + 215, 457, 597, 656, 149, 614, 250, 149, 293, 293, + 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, + + 293, 293, 293, 293, 293, 293, 293, 614, 85, 579, + 85, 594, 513, 85, 294, 85, 401, 401, 401, 401, + 149, 85, 149, 422, 547, 149, 423, 149, 480, 424, + 537, 693, 450, 149, 693, 451, 425, 693, 452, 85, + 85, 514, 423, 593, 693, 453, 106, 146, 146, 614, + 515, 149, 149, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 400, 363, 514, 85, 364, 569, + 568, 614, 676, 264, 247, 247, 587, 643, 365, 149, + 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, + 402, 402, 402, 402, 402, 402, 402, 402, 402, 693, + + 508, 672, 693, 586, 113, 693, 403, 326, 585, 85, + 327, 330, 693, 329, 508, 508, 670, 540, 330, 561, + 331, 149, 410, 410, 410, 410, 410, 410, 410, 410, + 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, + 411, 584, 691, 584, 412, 412, 412, 412, 412, 412, + 412, 412, 412, 412, 412, 412, 450, 450, 653, 693, + 693, 436, 693, 693, 85, 85, 85, 330, 326, 693, + 693, 327, 654, 583, 329, 146, 149, 149, 149, 358, + 358, 331, 582, 332, 332, 332, 332, 332, 332, 332, + 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, + + 332, 332, 422, 483, 106, 423, 610, 581, 424, 544, + 544, 544, 544, 580, 553, 425, 539, 426, 426, 426, + 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, + 426, 426, 426, 426, 426, 426, 334, 334, 334, 334, + 334, 334, 334, 334, 334, 334, 334, 334, 326, 553, + 85, 327, 451, 662, 329, 579, 578, 577, 576, 575, + 502, 331, 149, 388, 388, 388, 388, 388, 388, 388, + 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, + 388, 388, 113, 85, 574, 501, 379, 85, 502, 148, + 422, 503, 85, 423, 502, 149, 424, 673, 504, 149, + + 565, 564, 364, 425, 149, 469, 469, 469, 469, 469, + 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, + 469, 469, 469, 469, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 85, 450, 614, 590, + 451, 148, 642, 452, 148, 148, 148, 148, 149, 693, + 453, 501, 693, 373, 502, 693, 146, 503, 374, 375, + 614, 451, 693, 562, 504, 559, 505, 505, 505, 505, + 505, 505, 505, 505, 505, 505, 505, 505, 505, 505, + 505, 505, 505, 505, 505, 501, 558, 85, 502, 557, + 556, 503, 563, 563, 563, 563, 555, 621, 504, 149, + + 535, 535, 535, 535, 535, 535, 535, 535, 535, 535, + 535, 535, 535, 535, 535, 535, 535, 535, 535, 85, + 85, 85, 85, 85, 614, 379, 379, 379, 554, 570, + 553, 149, 149, 149, 149, 149, 139, 614, 627, 379, + 551, 549, 548, 571, 614, 536, 614, 502, 528, 649, + 501, 676, 590, 636, 636, 636, 501, 656, 572, 614, + 628, 547, 677, 571, 546, 669, 614, 636, 498, 536, + 379, 650, 379, 498, 496, 636, 636, 636, 379, 379, + 591, 599, 599, 496, 599, 599, 599, 599, 599, 636, + 599, 599, 599, 599, 494, 599, 599, 676, 636, 494, + + 636, 599, 599, 599, 599, 492, 636, 636, 678, 492, + 663, 601, 676, 490, 490, 488, 676, 488, 669, 676, + 636, 146, 636, 679, 599, 599, 599, 680, 636, 636, + 681, 676, 676, 601, 676, 664, 423, 676, 676, 676, + 676, 530, 682, 683, 529, 684, 206, 200, 685, 686, + 687, 688, 599, 599, 599, 599, 368, 599, 599, 599, + 599, 599, 600, 599, 599, 599, 599, 146, 599, 599, + 676, 526, 364, 451, 608, 599, 599, 599, 448, 113, + 521, 689, 146, 676, 609, 520, 146, 519, 518, 146, + 436, 113, 511, 510, 690, 509, 507, 599, 599, 599, + + 506, 146, 146, 423, 146, 422, 609, 146, 146, 146, + 146, 422, 420, 498, 496, 494, 492, 490, 488, 327, + 327, 482, 327, 261, 379, 599, 599, 599, 599, 465, + 599, 599, 599, 599, 599, 464, 599, 599, 599, 599, + 146, 599, 599, 87, 201, 459, 364, 599, 599, 599, + 599, 363, 368, 146, 240, 448, 443, 601, 442, 441, + 201, 435, 434, 433, 432, 431, 430, 429, 428, 327, + 599, 599, 599, 327, 326, 326, 206, 206, 201, 601, + 200, 200, 200, 305, 305, 303, 303, 407, 240, 261, + 261, 261, 260, 379, 260, 350, 371, 342, 599, 599, + + 599, 599, 341, 599, 599, 599, 599, 599, 600, 599, + 599, 599, 599, 368, 599, 599, 248, 240, 240, 239, + 608, 599, 599, 599, 349, 348, 347, 346, 343, 339, + 609, 338, 337, 336, 335, 316, 316, 315, 314, 313, + 312, 312, 311, 599, 599, 599, 310, 309, 308, 305, + 303, 300, 609, 261, 285, 283, 282, 281, 278, 277, + 261, 261, 260, 146, 256, 231, 201, 255, 229, 130, + 233, 599, 599, 85, 232, 231, 85, 201, 230, 85, + 229, 85, 85, 85, 85, 85, 85, 85, 90, 90, + 228, 228, 227, 226, 90, 90, 104, 104, 104, 225, + + 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, + 104, 104, 104, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, + 105, 129, 129, 129, 129, 129, 129, 129, 129, 129, + 129, 129, 129, 129, 129, 129, 129, 129, 129, 144, + 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, + 144, 144, 144, 144, 144, 144, 144, 148, 106, 206, + 148, 205, 200, 148, 148, 148, 148, 148, 148, 148, + 148, 148, 156, 156, 156, 201, 156, 156, 156, 156, + 156, 156, 156, 156, 156, 156, 156, 156, 156, 98, - 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, - 359, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 362, 362, 362, 367, 696, 696, 696, 367, 696, 367, - 367, 367, 367, 696, 367, 266, 266, 266, 266, 266, + 98, 200, 192, 98, 188, 164, 163, 147, 116, 98, + 98, 98, 98, 115, 98, 126, 126, 126, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 126, 126, 237, 237, 237, 237, 237, 237, 237, + 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, + 237, 259, 259, 259, 259, 259, 259, 259, 259, 259, + 259, 259, 259, 259, 259, 259, 259, 259, 259, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, - 266, 266, 266, 266, 383, 383, 383, 383, 383, 383, - 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, - 383, 383, 383, 149, 696, 696, 696, 149, 149, 149, - 696, 149, 149, 149, 149, 149, 149, 149, 149, 273, - - 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, - 273, 273, 273, 273, 273, 273, 273, 273, 103, 103, - 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 103, 103, 403, 403, 696, - 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, - 403, 403, 403, 403, 403, 403, 309, 309, 309, 309, - 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, - 309, 309, 309, 309, 309, 413, 413, 413, 413, 696, - 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, - 413, 413, 413, 413, 192, 192, 192, 192, 192, 192, - - 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, - 192, 192, 192, 313, 313, 696, 313, 313, 313, 313, - 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, - 313, 313, 315, 315, 696, 315, 315, 315, 315, 315, - 315, 315, 315, 315, 315, 315, 315, 315, 315, 315, - 315, 416, 696, 416, 416, 696, 696, 416, 416, 416, - 696, 696, 416, 439, 439, 696, 439, 439, 439, 439, - 439, 439, 439, 439, 439, 439, 439, 439, 439, 439, - 439, 439, 354, 354, 696, 354, 354, 354, 354, 354, - 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, - - 354, 355, 355, 696, 355, 355, 355, 355, 355, 355, - 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, - 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, - 357, 357, 357, 357, 357, 357, 357, 357, 357, 359, - 359, 359, 359, 359, 359, 359, 359, 359, 359, 359, - 359, 359, 359, 359, 359, 359, 359, 359, 126, 126, + 266, 266, 266, 266, 266, 266, 266, 302, 302, 106, + 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, + + 302, 302, 302, 302, 302, 304, 304, 87, 304, 304, + 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, + 304, 304, 304, 306, 693, 693, 693, 306, 693, 306, + 306, 306, 693, 693, 306, 351, 351, 351, 351, 351, + 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, + 351, 351, 351, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 447, 447, 447, - 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, - 447, 447, 447, 447, 447, 447, 452, 452, 696, 696, - - 452, 452, 696, 452, 452, 452, 452, 452, 452, 452, - 452, 452, 453, 696, 696, 696, 696, 696, 453, 453, - 453, 453, 696, 453, 383, 383, 383, 383, 383, 383, - 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, - 383, 383, 383, 103, 103, 103, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 103, 474, 474, 696, 474, 474, 474, 474, 474, - 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, - 474, 403, 403, 696, 403, 403, 403, 403, 403, 403, - 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, - - 481, 481, 696, 696, 481, 481, 481, 481, 481, 481, - 481, 481, 481, 481, 481, 481, 413, 413, 413, 413, - 696, 413, 413, 413, 413, 413, 413, 413, 413, 413, - 413, 413, 413, 413, 413, 192, 192, 192, 192, 192, - 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, - 192, 192, 192, 192, 488, 488, 696, 488, 488, 488, - 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, - 488, 488, 488, 490, 490, 696, 490, 490, 490, 490, - 490, 490, 490, 490, 490, 490, 490, 490, 490, 490, - 490, 490, 492, 492, 696, 492, 492, 492, 492, 492, - - 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, - 492, 494, 494, 696, 494, 494, 494, 494, 494, 494, - 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, - 496, 496, 696, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 498, - 498, 696, 498, 498, 498, 498, 498, 498, 498, 498, - 498, 498, 498, 498, 498, 498, 498, 498, 438, 438, - 696, 438, 438, 438, 438, 438, 438, 438, 438, 438, - 438, 438, 438, 438, 438, 438, 438, 439, 439, 696, - 439, 439, 439, 439, 439, 439, 439, 439, 439, 439, - - 439, 439, 439, 439, 439, 439, 357, 357, 357, 357, - 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, - 357, 357, 357, 357, 357, 126, 126, 126, 126, 126, + 126, 353, 353, 353, 353, 353, 353, 353, 353, 353, + 353, 353, 353, 353, 353, 353, 353, 353, 353, 237, + 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, + + 237, 237, 237, 237, 237, 237, 237, 356, 356, 356, + 356, 356, 356, 356, 361, 693, 693, 693, 693, 361, + 693, 361, 361, 693, 361, 259, 259, 259, 259, 259, + 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, + 259, 259, 259, 378, 378, 378, 378, 378, 378, 378, + 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, + 378, 266, 266, 266, 266, 266, 266, 266, 266, 266, + 266, 266, 266, 266, 266, 266, 266, 266, 266, 105, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 105, 105, 105, 105, 302, 302, 693, + + 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, + 302, 302, 302, 302, 302, 304, 304, 693, 304, 304, + 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, + 304, 304, 304, 412, 693, 693, 693, 412, 693, 412, + 412, 412, 693, 693, 412, 410, 410, 693, 693, 410, + 693, 693, 410, 410, 351, 351, 351, 351, 351, 351, + 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, + 351, 351, 353, 353, 353, 353, 353, 353, 353, 353, + 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 447, 447, 447, 447, 447, 447, + + 126, 126, 126, 126, 126, 126, 126, 126, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, - 447, 447, 447, 522, 696, 696, 696, 696, 696, 522, - 522, 522, 522, 522, 522, 522, 522, 522, 529, 529, - 529, 529, 529, 529, 529, 529, 529, 529, 529, 529, - 529, 529, 529, 529, 529, 529, 529, 103, 103, 103, - - 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 103, 540, 540, 540, 540, - 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, - 540, 540, 540, 540, 540, 545, 696, 696, 696, 696, - 696, 545, 545, 545, 545, 554, 554, 696, 554, 554, - 554, 554, 554, 554, 554, 554, 554, 554, 554, 554, - 554, 554, 554, 554, 572, 572, 572, 572, 572, 572, - 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, - 572, 572, 572, 603, 603, 696, 603, 603, 603, 603, - 603, 603, 603, 603, 603, 603, 603, 603, 603, 603, - - 603, 603, 610, 610, 696, 610, 610, 610, 610, 610, - 610, 610, 610, 610, 610, 610, 610, 610, 610, 610, - 610, 602, 602, 696, 602, 602, 602, 602, 602, 602, - 602, 602, 602, 602, 602, 602, 602, 602, 602, 602, - 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, - 638, 638, 638, 638, 638, 638, 638, 638, 638, 660, + 447, 447, 447, 447, 447, 447, 454, 454, 454, 454, + 693, 454, 454, 693, 454, 454, 454, 454, 454, 454, + 454, 455, 455, 693, 693, 693, 693, 693, 455, 455, + 693, 455, 378, 378, 378, 378, 378, 378, 378, 378, + 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 105, 105, 105, 105, 105, 479, 479, + 479, 479, 693, 479, 479, 479, 479, 479, 479, 479, + + 479, 479, 479, 485, 485, 693, 693, 485, 693, 693, + 485, 485, 487, 487, 693, 487, 487, 487, 487, 487, + 487, 487, 487, 487, 487, 487, 487, 487, 487, 487, + 489, 489, 693, 489, 489, 489, 489, 489, 489, 489, + 489, 489, 489, 489, 489, 489, 489, 489, 491, 491, + 693, 491, 491, 491, 491, 491, 491, 491, 491, 491, + 491, 491, 491, 491, 491, 491, 493, 493, 693, 493, + 493, 493, 493, 493, 493, 493, 493, 493, 493, 493, + 493, 493, 493, 493, 495, 495, 693, 495, 495, 495, + 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, + + 495, 495, 497, 497, 693, 497, 497, 497, 497, 497, + 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, + 525, 525, 693, 693, 525, 693, 693, 525, 525, 525, + 525, 525, 525, 525, 531, 531, 531, 531, 531, 531, + 531, 531, 531, 531, 531, 531, 531, 531, 531, 531, + 531, 531, 545, 545, 693, 693, 545, 693, 693, 545, + 545, 552, 552, 693, 552, 552, 552, 552, 552, 552, + 552, 552, 552, 552, 552, 552, 552, 552, 552, 600, + 600, 693, 600, 600, 600, 600, 600, 600, 600, 600, + 600, 600, 600, 600, 600, 600, 600, 607, 607, 693, + + 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, + 607, 607, 607, 607, 607, 599, 599, 693, 599, 599, + 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + 599, 599, 599, 635, 635, 635, 635, 635, 635, 635, + 635, 635, 635, 635, 635, 635, 635, 635, 635, 635, + 635, 657, 657, 657, 657, 657, 657, 657, 657, 657, + 657, 657, 657, 657, 657, 657, 657, 657, 657, 660, 660, 660, 660, 660, 660, 660, 660, 660, 660, 660, - 660, 660, 660, 660, 660, 660, 660, 660, 663, 663, - 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, - 663, 663, 663, 663, 663, 663, 663, 678, 678, 678, - - 678, 678, 678, 678, 678, 678, 678, 678, 678, 678, - 678, 678, 678, 678, 678, 678, 3, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696 + 660, 660, 660, 660, 660, 660, 660, 675, 675, 675, + 675, 675, 675, 675, 675, 675, 675, 675, 675, 675, + + 675, 675, 675, 675, 675, 3, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693 } ; -static yyconst short int yy_chk[4591] = +static yyconst flex_int16_t yy_chk[3880] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -1195,497 +1190,422 @@ static yyconst short int yy_chk[4591] = 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 6, 6, 6, - 6, 8, 10, 10, 11, 19, 22, 46, 8, 8, - 8, 8, 16, 156, 11, 13, 11, 11, 5, 46, - 58, 11, 12, 12, 12, 13, 156, 13, 19, 12, - 22, 694, 13, 86, 12, 12, 12, 12, 12, 12, - 12, 12, 50, 50, 58, 12, 12, 12, 12, 12, - - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 25, 28, 16, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 15, 52, 15, 86, 15, 15, 15, 15, - 15, 15, 40, 674, 15, 29, 153, 29, 29, 90, - 28, 90, 29, 670, 25, 25, 90, 35, 35, 28, - 153, 25, 55, 15, 35, 35, 35, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 31, - 31, 532, 31, 31, 31, 55, 99, 52, 99, 40, - - 15, 26, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 63, 84, 84, - 144, 26, 26, 26, 26, 30, 30, 30, 30, 30, - 32, 32, 34, 34, 32, 32, 32, 33, 34, 34, - 34, 43, 30, 532, 26, 26, 26, 33, 33, 36, - 36, 49, 33, 33, 33, 37, 37, 36, 36, 36, - 33, 49, 63, 49, 37, 37, 37, 676, 49, 91, - 91, 63, 26, 26, 27, 38, 38, 27, 27, 27, - 27, 27, 61, 47, 669, 38, 38, 217, 47, 38, - 144, 43, 43, 47, 663, 47, 47, 217, 43, 64, - - 47, 64, 64, 27, 217, 44, 64, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 44, - 44, 44, 44, 65, 65, 65, 65, 65, 69, 69, - 27, 74, 61, 61, 69, 69, 69, 676, 149, 61, - 65, 66, 66, 74, 66, 66, 66, 67, 67, 68, - 149, 67, 67, 67, 70, 70, 76, 158, 158, 68, - 68, 70, 70, 70, 68, 68, 68, 662, 76, 74, - 72, 72, 68, 192, 192, 44, 48, 48, 48, 72, - 72, 72, 660, 48, 81, 81, 81, 81, 48, 48, - 48, 48, 48, 48, 48, 48, 193, 193, 76, 48, - - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 95, 95, - 95, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 51, 194, 194, 51, - 128, 51, 77, 51, 51, 51, 51, 51, 51, 71, - 71, 51, 73, 73, 77, 196, 196, 71, 71, 71, - 75, 157, 73, 73, 258, 75, 73, 98, 98, 98, - 51, 128, 75, 157, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 110, 110, 110, 110, - - 271, 387, 112, 112, 112, 112, 658, 51, 62, 77, - 78, 166, 271, 62, 79, 78, 62, 62, 62, 62, - 62, 258, 75, 166, 323, 79, 85, 78, 79, 79, - 79, 79, 112, 85, 85, 85, 85, 85, 113, 113, - 113, 113, 62, 166, 273, 273, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 100, 387, - 78, 78, 96, 96, 96, 171, 176, 78, 100, 62, - 100, 111, 113, 111, 96, 100, 96, 171, 176, 111, - 656, 96, 111, 623, 79, 89, 323, 89, 89, 89, - 89, 89, 89, 111, 171, 111, 123, 123, 123, 123, - - 167, 234, 111, 136, 136, 136, 136, 111, 118, 118, - 118, 118, 167, 650, 89, 234, 234, 176, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 121, 121, 121, 121, 123, 241, 124, 124, 124, 124, - 623, 89, 106, 106, 106, 106, 106, 106, 106, 106, - 106, 106, 106, 106, 108, 151, 649, 118, 167, 233, - 325, 108, 325, 151, 151, 243, 241, 151, 165, 137, - 137, 137, 137, 138, 138, 138, 138, 267, 121, 124, - 165, 345, 233, 108, 308, 308, 267, 108, 108, 108, - 108, 108, 108, 108, 108, 108, 108, 108, 108, 137, - - 162, 162, 162, 162, 233, 243, 165, 138, 309, 309, - 108, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 146, 152, 568, - 568, 127, 127, 127, 127, 329, 152, 345, 154, 185, - 152, 146, 146, 146, 146, 146, 154, 190, 270, 329, - 154, 185, 168, 270, 127, 127, 127, 648, 190, 163, - 163, 163, 163, 644, 168, 270, 164, 164, 164, 164, - 169, 169, 169, 169, 172, 172, 172, 172, 174, 174, - 174, 174, 127, 127, 129, 129, 129, 129, 129, 163, - 129, 129, 129, 129, 129, 129, 185, 146, 129, 129, - - 164, 173, 186, 189, 129, 129, 386, 129, 168, 175, - 175, 175, 175, 173, 186, 189, 174, 190, 346, 169, - 272, 182, 172, 187, 368, 272, 188, 129, 129, 182, - 182, 182, 182, 182, 183, 187, 269, 272, 188, 173, - 346, 269, 183, 183, 183, 183, 183, 609, 269, 189, - 386, 347, 175, 357, 186, 129, 129, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 132, - 132, 368, 183, 347, 132, 187, 641, 132, 132, 132, - 132, 132, 188, 132, 357, 132, 132, 132, 132, 132, + 6, 8, 8, 8, 8, 11, 11, 12, 17, 20, + 22, 22, 22, 22, 52, 52, 236, 12, 5, 12, + 12, 29, 41, 381, 12, 13, 13, 13, 21, 21, + 21, 21, 13, 20, 41, 43, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 23, 671, 43, 23, 23, + + 23, 23, 24, 24, 24, 24, 236, 30, 21, 30, + 30, 48, 17, 54, 30, 26, 29, 381, 23, 25, + 25, 25, 25, 48, 43, 29, 36, 36, 26, 26, + 26, 26, 13, 36, 36, 36, 24, 87, 13, 13, + 13, 13, 13, 13, 13, 14, 14, 14, 92, 92, + 32, 32, 14, 32, 32, 32, 14, 14, 14, 14, + 14, 14, 14, 14, 14, 26, 128, 54, 25, 31, + 31, 31, 31, 31, 33, 33, 34, 57, 33, 33, + 33, 146, 146, 35, 35, 155, 31, 34, 34, 35, + 35, 35, 34, 34, 34, 37, 37, 128, 155, 87, + + 34, 57, 14, 37, 37, 37, 40, 667, 14, 14, + 14, 14, 14, 14, 14, 16, 234, 16, 40, 16, + 16, 16, 16, 16, 16, 38, 38, 16, 39, 39, + 59, 59, 59, 59, 38, 38, 38, 44, 39, 39, + 666, 40, 46, 46, 46, 46, 16, 234, 152, 44, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 152, 252, 71, 71, 61, 61, 61, 61, + 71, 71, 71, 16, 27, 27, 27, 27, 27, 27, + 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, + 42, 44, 42, 45, 27, 27, 27, 27, 46, 49, + + 61, 45, 42, 148, 49, 58, 58, 58, 58, 49, + 252, 49, 49, 45, 65, 148, 49, 27, 27, 27, + 187, 60, 75, 75, 60, 60, 60, 60, 62, 62, + 62, 62, 75, 75, 66, 58, 66, 66, 101, 42, + 101, 66, 63, 45, 60, 27, 27, 28, 156, 28, + 28, 28, 28, 28, 28, 63, 63, 63, 63, 65, + 156, 67, 67, 67, 67, 67, 68, 68, 65, 68, + 68, 68, 84, 84, 84, 84, 28, 62, 67, 187, + 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, + 28, 28, 63, 69, 69, 157, 157, 69, 69, 69, + + 72, 72, 151, 28, 50, 50, 50, 72, 72, 72, + 151, 50, 660, 70, 151, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 70, 70, 73, 73, 619, 70, + 70, 70, 74, 74, 73, 73, 73, 70, 96, 96, + 96, 74, 74, 74, 76, 77, 165, 76, 77, 351, + 78, 80, 166, 78, 80, 78, 76, 77, 165, 76, + 77, 50, 78, 80, 166, 78, 80, 50, 50, 50, + 50, 50, 50, 50, 51, 51, 51, 91, 165, 91, + 351, 51, 76, 619, 91, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 79, 81, 659, 79, 224, 153, + + 81, 343, 78, 81, 224, 228, 79, 153, 80, 79, + 166, 153, 81, 82, 312, 81, 82, 82, 82, 82, + 86, 86, 86, 86, 86, 100, 100, 100, 228, 266, + 266, 51, 119, 119, 119, 119, 79, 51, 51, 51, + 51, 51, 51, 51, 53, 81, 170, 53, 185, 53, + 228, 53, 53, 53, 53, 53, 53, 343, 170, 53, + 185, 97, 97, 97, 136, 136, 136, 136, 137, 137, + 137, 137, 82, 97, 170, 97, 312, 353, 53, 299, + 97, 657, 53, 53, 53, 53, 53, 53, 53, 53, + 53, 53, 53, 53, 138, 138, 138, 138, 137, 145, + + 145, 145, 145, 145, 185, 53, 64, 150, 64, 64, + 64, 64, 64, 64, 164, 150, 150, 353, 172, 150, + 167, 167, 167, 167, 316, 264, 164, 655, 138, 193, + 172, 189, 189, 189, 189, 64, 193, 264, 299, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 314, 164, 314, 258, 145, 172, 408, 193, 258, + 258, 408, 64, 90, 179, 90, 90, 90, 90, 90, + 90, 180, 179, 179, 179, 179, 179, 182, 207, 180, + 180, 180, 180, 180, 260, 193, 316, 352, 207, 182, + 528, 528, 90, 260, 318, 207, 90, 90, 90, 90, + + 90, 90, 90, 90, 90, 90, 90, 90, 318, 180, + 208, 208, 208, 208, 209, 209, 209, 209, 352, 90, + 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, + 108, 108, 110, 262, 182, 566, 566, 110, 262, 653, + 110, 110, 110, 110, 110, 262, 344, 345, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 406, 344, 345, + 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, 112, 183, 184, 112, 112, + + 112, 112, 112, 181, 186, 263, 382, 647, 183, 184, + 263, 181, 181, 181, 181, 181, 186, 210, 210, 210, + 210, 379, 263, 379, 112, 362, 406, 481, 112, 112, + 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, + 213, 213, 213, 213, 360, 181, 646, 360, 183, 184, + 186, 112, 113, 279, 113, 218, 265, 360, 113, 113, + 268, 265, 218, 113, 382, 279, 113, 214, 214, 214, + 214, 367, 362, 265, 113, 284, 113, 215, 215, 215, + 215, 645, 113, 113, 218, 360, 481, 284, 113, 225, + 225, 225, 225, 113, 127, 127, 127, 127, 127, 127, + + 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, + 268, 218, 435, 279, 127, 127, 127, 127, 367, 268, + 444, 225, 460, 194, 284, 641, 194, 194, 194, 194, + 194, 226, 226, 226, 226, 468, 435, 127, 127, 127, + 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, + 384, 444, 194, 233, 233, 233, 233, 235, 235, 235, + 235, 456, 384, 226, 638, 127, 127, 129, 129, 129, + 129, 129, 281, 129, 129, 129, 129, 129, 129, 194, + 460, 129, 129, 395, 281, 246, 397, 129, 129, 283, + 129, 246, 246, 246, 246, 395, 247, 468, 397, 541, + + 235, 283, 233, 247, 247, 247, 247, 269, 456, 247, + 129, 129, 509, 248, 281, 269, 269, 269, 269, 269, + 248, 248, 248, 248, 282, 567, 248, 509, 637, 282, + 397, 257, 257, 257, 257, 283, 282, 247, 129, 129, + 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, + 131, 131, 132, 132, 248, 404, 132, 132, 541, 632, + 132, 132, 132, 132, 132, 631, 132, 404, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, - - 132, 132, 132, 132, 384, 609, 384, 132, 132, 132, + 132, 132, 132, 132, 132, 132, 132, 257, 567, 588, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, + 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, - 132, 132, 134, 134, 134, 134, 134, 134, 134, 134, - 134, 134, 134, 134, 135, 218, 218, 218, 218, 484, - 265, 135, 135, 135, 135, 265, 265, 135, 484, 135, + 132, 132, 132, 132, 132, 134, 134, 134, 134, 134, + 134, 134, 134, 134, 134, 134, 134, 135, 630, 289, + 576, 289, 573, 629, 135, 135, 135, 135, 588, 438, + 135, 289, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, - 135, 135, 135, 135, 135, 135, 135, 135, 219, 219, - 219, 219, 198, 198, 432, 135, 155, 155, 155, 198, - 198, 198, 198, 155, 220, 220, 220, 220, 155, 155, - - 640, 155, 155, 155, 155, 155, 435, 432, 327, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 435, 637, - 637, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 159, 304, 275, 202, - 222, 223, 223, 223, 223, 184, 202, 222, 159, 304, - 327, 197, 197, 184, 184, 184, 184, 184, 197, 197, - 197, 197, 197, 224, 224, 224, 224, 372, 202, 222, - 252, 252, 252, 252, 159, 159, 159, 159, 159, 159, - - 159, 159, 159, 159, 159, 159, 160, 184, 275, 242, - 242, 242, 242, 160, 304, 202, 222, 275, 317, 317, - 317, 317, 203, 358, 388, 203, 203, 203, 203, 203, - 239, 239, 239, 239, 372, 160, 388, 359, 388, 160, - 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, - 160, 203, 242, 461, 358, 461, 230, 230, 230, 230, - 461, 635, 160, 177, 177, 177, 177, 177, 177, 177, - 177, 177, 177, 177, 177, 178, 178, 359, 203, 239, - 178, 707, 707, 178, 178, 178, 178, 178, 230, 178, - 634, 178, 178, 178, 178, 178, 178, 178, 178, 178, - + 135, 438, 293, 298, 293, 396, 626, 297, 135, 154, + 154, 154, 297, 280, 293, 298, 154, 396, 280, 297, + 154, 154, 154, 154, 154, 154, 154, 154, 154, 272, + 280, 573, 576, 396, 273, 598, 280, 272, 272, 272, + + 272, 272, 273, 273, 273, 273, 273, 274, 274, 274, + 274, 274, 274, 274, 274, 274, 274, 598, 280, 277, + 298, 301, 301, 301, 301, 581, 154, 277, 277, 277, + 277, 277, 154, 154, 154, 154, 154, 154, 154, 158, + 306, 306, 306, 306, 520, 285, 322, 322, 322, 322, + 581, 158, 278, 285, 285, 285, 285, 285, 520, 277, + 278, 278, 278, 278, 278, 334, 334, 334, 334, 357, + 357, 357, 357, 358, 358, 358, 358, 158, 158, 158, + 158, 158, 158, 158, 158, 158, 158, 158, 158, 159, + 325, 625, 278, 325, 159, 482, 325, 159, 159, 159, + + 159, 159, 285, 325, 482, 159, 159, 159, 159, 159, + 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, + 159, 159, 159, 159, 354, 354, 354, 159, 159, 159, + 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, + 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, + 159, 159, 161, 623, 533, 161, 161, 161, 161, 161, + 291, 295, 291, 296, 592, 398, 374, 354, 291, 291, + 291, 291, 291, 295, 622, 296, 374, 398, 374, 633, + 672, 161, 534, 374, 618, 161, 161, 161, 161, 161, + 161, 161, 161, 161, 161, 161, 161, 412, 412, 412, + + 412, 295, 533, 296, 466, 466, 466, 398, 161, 174, + 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, + 174, 175, 175, 592, 420, 175, 175, 633, 672, 175, + 175, 175, 175, 175, 534, 175, 420, 175, 175, 175, + 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, + 175, 175, 175, 175, 175, 175, 445, 445, 445, 175, + 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, + 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, + 175, 175, 175, 175, 177, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 178, 178, 617, 445, + + 616, 178, 634, 634, 178, 178, 178, 178, 178, 673, + 178, 615, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, - 360, 360, 360, 178, 178, 178, 178, 178, 178, 178, + 178, 532, 532, 532, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, - 178, 178, 178, 178, 178, 178, 178, 178, 180, 180, - 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, - 181, 181, 449, 360, 444, 181, 708, 708, 181, 181, - 181, 181, 181, 633, 181, 449, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 444, 632, 591, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 221, 221, 221, 221, 221, 221, 221, - 221, 221, 221, 221, 221, 225, 338, 338, 338, 338, - 454, 651, 225, 366, 225, 253, 591, 286, 231, 231, - 231, 231, 253, 253, 253, 253, 366, 531, 253, 286, - 363, 363, 363, 363, 225, 465, 465, 465, 225, 225, - 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, - 231, 629, 285, 628, 366, 467, 253, 454, 283, 286, - 651, 225, 240, 240, 285, 240, 240, 240, 240, 240, - 283, 240, 240, 240, 240, 531, 240, 240, 288, 254, - - 450, 264, 240, 240, 240, 240, 254, 254, 254, 254, - 288, 276, 254, 450, 285, 264, 264, 264, 264, 276, - 276, 276, 276, 276, 279, 240, 240, 240, 285, 285, - 398, 389, 279, 279, 279, 279, 279, 467, 283, 281, - 254, 305, 398, 389, 288, 389, 240, 281, 281, 281, - 281, 281, 305, 240, 240, 244, 244, 244, 244, 244, - 626, 244, 244, 244, 244, 244, 244, 592, 284, 244, - 244, 264, 282, 284, 289, 244, 244, 569, 244, 281, - 282, 282, 282, 282, 282, 284, 289, 608, 287, 303, - 295, 284, 295, 287, 303, 299, 301, 299, 244, 244, - - 287, 303, 295, 625, 414, 414, 290, 299, 301, 414, - 621, 305, 282, 284, 290, 290, 290, 290, 290, 592, - 620, 297, 302, 289, 369, 370, 244, 244, 245, 297, - 297, 297, 297, 297, 302, 336, 301, 369, 370, 608, - 569, 245, 336, 245, 245, 245, 245, 245, 245, 245, - 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, - 245, 245, 302, 290, 336, 369, 370, 601, 584, 245, - 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, - 247, 247, 255, 328, 300, 709, 709, 328, 622, 601, - 300, 336, 579, 584, 328, 255, 300, 255, 255, 255, - - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 712, 712, 312, 312, - 466, 409, 318, 255, 277, 312, 312, 312, 312, 318, - 379, 318, 332, 409, 393, 619, 277, 300, 380, 332, - 379, 332, 379, 622, 385, 328, 393, 379, 380, 411, - 380, 318, 385, 636, 579, 380, 385, 445, 445, 445, - 411, 332, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 280, 394, 466, 451, 318, 396, - 618, 280, 393, 280, 365, 365, 487, 394, 332, 365, - 451, 396, 365, 365, 365, 365, 665, 616, 365, 487, - - 445, 636, 396, 280, 448, 448, 448, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 411, - 615, 399, 607, 394, 396, 416, 416, 416, 416, 606, - 280, 291, 291, 399, 291, 291, 291, 291, 291, 291, - 291, 291, 291, 291, 377, 291, 291, 448, 665, 502, - 399, 291, 291, 291, 291, 392, 401, 400, 377, 377, - 377, 377, 502, 392, 392, 392, 392, 392, 401, 400, - 402, 600, 424, 459, 291, 291, 291, 407, 481, 407, - 481, 598, 402, 395, 424, 459, 671, 408, 395, 407, - 481, 469, 471, 408, 477, 291, 469, 471, 401, 408, - - 395, 400, 291, 291, 292, 292, 477, 482, 469, 471, - 729, 729, 402, 597, 377, 596, 292, 675, 292, 482, + 178, 178, 178, 178, 178, 178, 178, 178, 178, 211, + 211, 211, 211, 211, 211, 211, 211, 211, 211, 448, + 448, 448, 613, 372, 372, 372, 372, 467, 612, 673, + 604, 211, 211, 211, 211, 211, 211, 211, 211, 211, + 211, 211, 211, 212, 212, 212, 212, 212, 212, 212, + + 212, 212, 212, 462, 603, 462, 484, 484, 484, 484, + 462, 589, 448, 691, 691, 212, 212, 212, 212, 212, + 212, 212, 212, 212, 212, 212, 212, 217, 217, 372, + 480, 217, 217, 467, 217, 217, 217, 217, 217, 217, + 599, 217, 480, 217, 217, 217, 217, 217, 217, 217, + 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, + 217, 217, 599, 589, 597, 217, 217, 217, 217, 217, + 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, + 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, + 237, 237, 237, 237, 237, 380, 237, 237, 237, 237, + + 237, 237, 294, 380, 237, 237, 606, 380, 294, 595, + 237, 237, 317, 237, 294, 321, 317, 363, 326, 330, + 363, 326, 321, 317, 326, 388, 330, 388, 375, 391, + 363, 326, 601, 237, 237, 703, 703, 388, 375, 611, + 375, 391, 359, 359, 321, 375, 359, 359, 330, 359, + 359, 359, 359, 359, 601, 294, 359, 390, 363, 579, + 399, 237, 237, 238, 606, 390, 390, 390, 390, 390, + 605, 321, 399, 579, 317, 330, 238, 391, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 594, 611, 609, + + 704, 704, 399, 624, 238, 241, 241, 241, 241, 241, + 241, 241, 241, 241, 241, 241, 241, 249, 662, 392, + 249, 609, 605, 523, 523, 523, 593, 639, 620, 587, + 249, 392, 249, 249, 249, 249, 249, 249, 249, 249, + 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, + 249, 394, 402, 475, 402, 393, 536, 571, 249, 270, + 393, 586, 624, 394, 402, 475, 523, 392, 536, 571, + 662, 270, 393, 430, 394, 270, 270, 270, 270, 270, + 270, 270, 270, 270, 270, 620, 639, 430, 430, 527, + 527, 527, 527, 585, 536, 475, 394, 270, 270, 270, + + 270, 270, 270, 270, 270, 270, 270, 270, 270, 275, + 275, 393, 610, 275, 275, 652, 275, 275, 275, 275, + 275, 275, 656, 275, 610, 275, 275, 275, 275, 275, + 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, + 275, 275, 275, 275, 656, 527, 583, 275, 275, 275, + 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, + 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, + 275, 275, 286, 286, 652, 403, 582, 674, 675, 705, + 705, 403, 580, 642, 286, 642, 286, 403, 286, 286, + 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, + + 286, 286, 286, 286, 286, 286, 286, 642, 400, 578, + 474, 577, 436, 538, 286, 287, 400, 400, 400, 400, + 400, 405, 474, 409, 575, 538, 409, 287, 403, 409, + 474, 422, 449, 405, 422, 449, 409, 422, 449, 537, + 469, 436, 469, 574, 422, 449, 668, 674, 675, 628, + 436, 537, 469, 287, 287, 287, 287, 287, 287, 287, + 287, 287, 287, 287, 287, 292, 436, 477, 292, 538, + 537, 628, 690, 405, 708, 708, 565, 628, 292, 477, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, - 292, 292, 292, 292, 292, 292, 292, 292, 292, 395, - 408, 671, 602, 459, 604, 477, 292, 293, 293, 293, - 293, 293, 293, 293, 293, 293, 293, 293, 293, 298, - 483, 530, 530, 530, 602, 675, 604, 590, 589, 588, - 586, 483, 298, 612, 298, 298, 298, 298, 298, 298, - 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, - 298, 298, 298, 585, 583, 612, 581, 645, 580, 645, - - 298, 335, 335, 335, 335, 335, 335, 335, 335, 335, - 335, 335, 335, 348, 348, 433, 348, 348, 348, 348, - 348, 645, 348, 348, 348, 348, 503, 348, 348, 410, - 483, 473, 578, 348, 348, 348, 348, 406, 406, 503, - 476, 410, 406, 473, 433, 406, 406, 406, 406, 406, - 472, 406, 470, 433, 476, 476, 348, 348, 348, 577, - 478, 507, 472, 348, 470, 572, 479, 567, 517, 433, - 472, 479, 478, 473, 566, 507, 536, 348, 348, 470, - 582, 410, 517, 479, 348, 348, 355, 355, 536, 355, - 355, 355, 355, 355, 582, 355, 355, 355, 355, 611, - - 355, 355, 470, 646, 486, 486, 355, 355, 355, 355, - 478, 486, 486, 486, 486, 533, 534, 533, 520, 520, - 520, 525, 535, 646, 659, 646, 611, 533, 534, 355, - 355, 355, 536, 538, 535, 525, 525, 525, 525, 539, - 677, 541, 564, 571, 574, 538, 659, 562, 611, 561, - 560, 539, 541, 535, 534, 571, 574, 355, 355, 356, - 356, 520, 356, 356, 356, 356, 356, 559, 356, 356, - 356, 356, 575, 356, 356, 538, 570, 539, 573, 356, - 356, 356, 356, 643, 575, 544, 544, 558, 570, 538, - 573, 525, 544, 544, 544, 544, 613, 643, 565, 571, - - 631, 557, 356, 356, 356, 576, 595, 570, 613, 614, - 677, 541, 565, 565, 565, 565, 576, 595, 556, 573, - 614, 555, 631, 678, 554, 553, 551, 550, 631, 575, - 356, 356, 390, 390, 390, 390, 390, 390, 390, 390, - 390, 390, 390, 390, 397, 397, 549, 397, 397, 397, - 397, 397, 397, 397, 397, 397, 397, 594, 397, 397, - 627, 547, 624, 638, 397, 397, 397, 397, 565, 594, - 546, 627, 545, 630, 617, 576, 595, 543, 630, 614, - 617, 642, 540, 537, 529, 528, 655, 397, 397, 397, - 624, 638, 642, 678, 397, 630, 617, 655, 693, 594, - - 668, 527, 617, 526, 524, 672, 522, 653, 397, 397, - 518, 668, 624, 638, 639, 397, 397, 403, 403, 652, - 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, - 627, 403, 403, 672, 516, 653, 639, 403, 403, 403, - 403, 515, 639, 514, 513, 512, 511, 652, 510, 509, - 508, 642, 652, 666, 673, 672, 655, 653, 639, 667, - 403, 403, 403, 653, 639, 673, 679, 680, 693, 652, - 668, 681, 682, 683, 684, 685, 506, 679, 680, 666, - 505, 666, 681, 682, 683, 684, 685, 667, 403, 403, - 405, 405, 504, 405, 405, 405, 405, 405, 405, 405, - - 405, 405, 405, 666, 405, 405, 501, 667, 500, 667, - 405, 405, 405, 405, 499, 498, 497, 496, 495, 494, - 493, 492, 491, 490, 673, 489, 488, 480, 475, 686, - 464, 463, 462, 405, 405, 405, 679, 680, 460, 458, - 686, 681, 682, 683, 684, 685, 687, 456, 453, 452, - 447, 443, 442, 688, 689, 690, 691, 687, 692, 441, - 437, 405, 405, 426, 688, 689, 690, 691, 436, 692, - 434, 431, 430, 429, 428, 427, 426, 423, 426, 426, - 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, - 426, 426, 426, 426, 426, 426, 426, 439, 439, 686, - - 439, 439, 439, 439, 439, 422, 439, 439, 439, 439, - 421, 439, 439, 420, 419, 418, 687, 439, 439, 439, - 439, 417, 415, 688, 689, 690, 691, 413, 692, 412, - 404, 391, 383, 382, 381, 378, 376, 374, 371, 367, - 439, 439, 439, 362, 361, 353, 352, 351, 350, 344, - 343, 342, 341, 340, 339, 334, 333, 331, 326, 324, - 322, 321, 320, 319, 316, 315, 314, 313, 439, 439, - 440, 440, 310, 440, 440, 440, 440, 440, 306, 440, - 440, 440, 440, 296, 440, 440, 294, 278, 274, 268, - 440, 440, 440, 440, 266, 262, 261, 260, 259, 257, - - 256, 251, 250, 249, 238, 237, 236, 235, 232, 229, - 228, 227, 226, 440, 440, 440, 216, 215, 214, 213, - 440, 212, 209, 208, 207, 206, 205, 204, 200, 199, - 195, 191, 179, 170, 440, 440, 161, 150, 148, 147, - 145, 440, 440, 468, 468, 143, 142, 141, 140, 139, - 126, 125, 122, 120, 119, 468, 117, 468, 116, 468, - 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, - 468, 468, 468, 468, 468, 468, 468, 468, 474, 474, - 115, 474, 474, 474, 474, 474, 474, 474, 474, 474, - 474, 114, 474, 474, 103, 101, 97, 94, 474, 474, - - 474, 474, 93, 92, 88, 83, 80, 60, 59, 57, - 56, 54, 53, 45, 42, 41, 39, 24, 23, 21, - 20, 474, 474, 474, 18, 17, 14, 9, 3, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 474, - 474, 587, 587, 0, 587, 587, 587, 587, 587, 0, - 587, 587, 587, 587, 0, 587, 587, 0, 0, 0, - 0, 587, 587, 587, 587, 0, 0, 0, 0, 0, - 0, 587, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 587, 587, 587, 0, 0, 0, - - 0, 0, 0, 587, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 587, 587, 593, 593, 0, 593, 593, 593, - 593, 593, 593, 593, 593, 593, 593, 0, 593, 593, - 0, 0, 0, 0, 593, 593, 593, 593, 0, 0, - 0, 0, 0, 0, 593, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 593, 593, 593, - 0, 0, 0, 0, 0, 0, 593, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 593, 593, 603, 603, 0, - - 603, 603, 603, 603, 603, 0, 603, 603, 603, 603, - 0, 603, 603, 0, 0, 0, 0, 603, 603, 603, - 603, 0, 0, 0, 0, 0, 0, 603, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 603, 603, 603, 0, 0, 0, 0, 0, 0, 603, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 603, 603, - 610, 610, 0, 610, 610, 610, 610, 610, 610, 610, - 610, 610, 610, 0, 610, 610, 0, 0, 0, 0, - 610, 610, 610, 610, 0, 0, 0, 0, 0, 0, - - 610, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 610, 610, 610, 0, 0, 0, 0, - 0, 0, 610, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 610, 610, 697, 0, 0, 0, 697, 697, 0, - 0, 697, 697, 697, 697, 697, 697, 697, 697, 698, - 698, 698, 698, 698, 0, 698, 698, 698, 698, 698, - 698, 698, 698, 698, 698, 698, 698, 698, 699, 699, - 0, 0, 0, 699, 699, 699, 700, 700, 700, 700, - 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, + 292, 292, 292, 292, 292, 292, 292, 292, 292, 450, + + 508, 668, 450, 564, 471, 450, 292, 307, 562, 471, + 307, 307, 450, 307, 508, 508, 665, 477, 307, 560, + 307, 471, 307, 307, 307, 307, 307, 307, 307, 307, + 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + 307, 559, 690, 558, 307, 307, 307, 307, 307, 307, + 307, 307, 307, 307, 307, 307, 452, 453, 640, 452, + 453, 473, 452, 453, 591, 476, 473, 307, 320, 452, + 453, 320, 640, 557, 320, 665, 591, 476, 473, 719, + 719, 320, 556, 320, 320, 320, 320, 320, 320, 320, + 320, 320, 320, 320, 320, 320, 320, 320, 320, 320, + + 320, 320, 324, 544, 648, 324, 591, 555, 324, 544, + 544, 544, 544, 554, 553, 324, 476, 324, 324, 324, + 324, 324, 324, 324, 324, 324, 324, 324, 324, 324, + 324, 324, 324, 324, 324, 324, 328, 328, 328, 328, + 328, 328, 328, 328, 328, 328, 328, 328, 383, 552, + 479, 383, 479, 648, 383, 551, 549, 548, 547, 546, + 545, 383, 479, 383, 383, 383, 383, 383, 383, 383, + 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, + 383, 383, 478, 569, 543, 486, 531, 478, 486, 383, + 385, 486, 535, 385, 535, 569, 385, 670, 486, 478, + + 530, 529, 526, 385, 535, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, + 385, 385, 385, 385, 386, 386, 386, 386, 386, 386, + 386, 386, 386, 386, 386, 386, 401, 401, 627, 569, + 401, 401, 627, 401, 401, 401, 401, 401, 401, 501, + 401, 427, 501, 692, 427, 501, 670, 427, 692, 692, + 627, 525, 501, 521, 427, 519, 427, 427, 427, 427, + 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, + 427, 427, 427, 427, 427, 470, 518, 539, 470, 517, + 516, 470, 563, 563, 563, 563, 515, 608, 470, 539, + + 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, + 470, 470, 470, 470, 470, 470, 470, 470, 470, 472, + 540, 568, 570, 572, 608, 621, 635, 636, 514, 539, + 513, 472, 540, 568, 570, 572, 512, 643, 614, 663, + 510, 507, 506, 539, 614, 472, 608, 505, 563, 636, + 504, 676, 568, 621, 635, 636, 503, 643, 540, 643, + 614, 500, 676, 570, 499, 663, 614, 663, 498, 472, + 664, 636, 669, 497, 496, 621, 635, 636, 649, 650, + 572, 584, 584, 495, 584, 584, 584, 584, 584, 663, + 584, 584, 584, 584, 494, 584, 584, 677, 664, 493, + + 669, 584, 584, 584, 584, 492, 649, 650, 677, 491, + 649, 584, 678, 490, 489, 488, 679, 487, 664, 680, + 664, 676, 669, 678, 584, 584, 584, 679, 649, 650, + 680, 681, 682, 584, 683, 650, 485, 684, 685, 686, + 687, 465, 681, 682, 464, 683, 463, 461, 684, 685, + 686, 687, 584, 584, 590, 590, 459, 590, 590, 590, + 590, 590, 590, 590, 590, 590, 590, 677, 590, 590, + 688, 457, 455, 454, 590, 590, 590, 590, 447, 443, + 442, 688, 678, 689, 590, 441, 679, 440, 439, 680, + 437, 434, 433, 432, 689, 431, 429, 590, 590, 590, + + 428, 681, 682, 426, 683, 425, 590, 684, 685, 686, + 687, 424, 419, 418, 417, 416, 415, 414, 413, 411, + 410, 407, 389, 387, 378, 590, 590, 600, 600, 377, + 600, 600, 600, 600, 600, 376, 600, 600, 600, 600, + 688, 600, 600, 373, 371, 369, 366, 600, 600, 600, + 600, 365, 361, 689, 356, 355, 350, 600, 349, 348, + 347, 342, 341, 340, 339, 338, 337, 336, 335, 333, + 600, 600, 600, 332, 331, 329, 315, 313, 311, 600, + 310, 309, 308, 305, 304, 303, 302, 300, 290, 288, + 276, 271, 267, 261, 259, 256, 255, 254, 600, 600, + + 607, 607, 253, 607, 607, 607, 607, 607, 607, 607, + 607, 607, 607, 251, 607, 607, 250, 245, 244, 243, + 607, 607, 607, 607, 232, 231, 230, 229, 227, 223, + 607, 222, 221, 220, 219, 206, 205, 204, 203, 202, + 200, 199, 198, 607, 607, 607, 197, 196, 195, 191, + 190, 188, 607, 176, 173, 171, 169, 168, 163, 162, + 160, 149, 147, 144, 143, 142, 141, 140, 139, 126, + 125, 607, 607, 694, 124, 123, 694, 122, 121, 694, + 120, 694, 694, 694, 694, 694, 694, 694, 695, 695, + 118, 117, 116, 115, 695, 695, 696, 696, 696, 114, - 700, 700, 700, 700, 700, 701, 701, 701, 701, 701, - 701, 701, 701, 701, 701, 701, 701, 701, 701, 701, - 701, 701, 701, 701, 702, 702, 702, 702, 702, 702, - 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, - 702, 702, 702, 703, 0, 0, 0, 703, 703, 703, - 0, 703, 703, 703, 703, 703, 703, 703, 703, 704, - 704, 704, 704, 704, 0, 704, 704, 704, 704, 704, - 704, 704, 704, 704, 704, 704, 704, 704, 705, 705, - 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, - 705, 705, 705, 705, 705, 705, 705, 706, 706, 0, - - 0, 0, 0, 0, 0, 0, 0, 706, 0, 0, - 706, 706, 0, 706, 710, 710, 710, 710, 710, 710, + 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, + 696, 696, 696, 697, 697, 697, 697, 697, 697, 697, + 697, 697, 697, 697, 697, 697, 697, 697, 697, 697, + 697, 698, 698, 698, 698, 698, 698, 698, 698, 698, + 698, 698, 698, 698, 698, 698, 698, 698, 698, 699, + 699, 699, 699, 699, 699, 699, 699, 699, 699, 699, + 699, 699, 699, 699, 699, 699, 699, 700, 105, 103, + 700, 99, 95, 700, 700, 700, 700, 700, 700, 700, + 700, 700, 701, 701, 701, 94, 701, 701, 701, 701, + 701, 701, 701, 701, 701, 701, 701, 701, 701, 702, + + 702, 93, 89, 702, 83, 56, 55, 47, 19, 702, + 702, 702, 702, 18, 702, 706, 706, 706, 706, 706, + 706, 706, 706, 706, 706, 706, 706, 706, 706, 706, + 706, 706, 706, 707, 707, 707, 707, 707, 707, 707, + 707, 707, 707, 707, 707, 707, 707, 707, 707, 707, + 707, 709, 709, 709, 709, 709, 709, 709, 709, 709, + 709, 709, 709, 709, 709, 709, 709, 709, 709, 710, 710, 710, 710, 710, 710, 710, 710, 710, 710, 710, - 710, 710, 710, 711, 711, 711, 711, 711, 711, 711, + 710, 710, 710, 710, 710, 710, 710, 711, 711, 15, 711, 711, 711, 711, 711, 711, 711, 711, 711, 711, - 711, 711, 713, 713, 713, 713, 713, 713, 713, 713, - 713, 713, 713, 713, 713, 713, 713, 713, 713, 713, - 713, 714, 714, 714, 714, 714, 714, 714, 714, 714, + + 711, 711, 711, 711, 711, 712, 712, 10, 712, 712, + 712, 712, 712, 712, 712, 712, 712, 712, 712, 712, + 712, 712, 712, 713, 3, 0, 0, 713, 0, 713, + 713, 713, 0, 0, 713, 714, 714, 714, 714, 714, 714, 714, 714, 714, 714, 714, 714, 714, 714, 714, + 714, 714, 714, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, 715, - - 715, 715, 715, 715, 715, 715, 715, 715, 715, 716, - 716, 716, 716, 716, 716, 716, 716, 716, 716, 716, - 716, 716, 716, 716, 716, 716, 716, 716, 717, 717, + 715, 716, 716, 716, 716, 716, 716, 716, 716, 716, + 716, 716, 716, 716, 716, 716, 716, 716, 716, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, - 717, 717, 717, 717, 717, 717, 717, 718, 718, 718, - 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, - 718, 718, 718, 718, 718, 718, 719, 719, 719, 719, - 719, 719, 719, 719, 719, 719, 719, 719, 719, 719, - 719, 719, 719, 719, 719, 720, 720, 0, 720, 720, - 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, - 720, 720, 720, 720, 721, 721, 0, 721, 721, 721, + 717, 717, 717, 717, 717, 717, 717, 718, 718, 718, + 718, 718, 718, 718, 720, 0, 0, 0, 0, 720, + 0, 720, 720, 0, 720, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, - 721, 721, 721, 722, 0, 722, 0, 0, 0, 722, - 722, 722, 0, 0, 722, 723, 723, 0, 723, 723, - 723, 723, 723, 723, 723, 723, 723, 723, 723, 723, - 723, 723, 723, 723, 724, 724, 724, 724, 724, 724, + 721, 721, 721, 722, 722, 722, 722, 722, 722, 722, + 722, 722, 722, 722, 722, 722, 722, 722, 722, 722, + 722, 723, 723, 723, 723, 723, 723, 723, 723, 723, + 723, 723, 723, 723, 723, 723, 723, 723, 723, 724, 724, 724, 724, 724, 724, 724, 724, 724, 724, 724, - 724, 724, 724, 725, 725, 725, 725, 725, 725, 725, - 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, - 725, 725, 726, 726, 726, 726, 726, 726, 726, 726, + 724, 724, 724, 724, 724, 724, 724, 725, 725, 0, + 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, + 725, 725, 725, 725, 725, 726, 726, 0, 726, 726, 726, 726, 726, 726, 726, 726, 726, 726, 726, 726, - 726, 727, 727, 727, 727, 727, 727, 727, 727, 727, - 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, - 728, 728, 728, 730, 0, 0, 0, 730, 0, 730, - 730, 730, 730, 0, 730, 731, 731, 731, 731, 731, + 726, 726, 726, 727, 0, 0, 0, 727, 0, 727, + 727, 727, 0, 0, 727, 728, 728, 0, 0, 728, + 0, 0, 728, 728, 729, 729, 729, 729, 729, 729, + 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, + 729, 729, 730, 730, 730, 730, 730, 730, 730, 730, + 730, 730, 730, 730, 730, 730, 730, 730, 730, 730, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, - 731, 731, 731, 731, 732, 732, 732, 732, 732, 732, - 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, - 732, 732, 732, 733, 0, 0, 0, 733, 733, 733, - 0, 733, 733, 733, 733, 733, 733, 733, 733, 734, - 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, - 734, 734, 734, 734, 734, 734, 734, 734, 735, 735, + 731, 731, 731, 731, 731, 731, 731, 731, 732, 732, + 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, + 732, 732, 732, 732, 732, 732, 733, 733, 733, 733, + 0, 733, 733, 0, 733, 733, 733, 733, 733, 733, + 733, 734, 734, 0, 0, 0, 0, 0, 734, 734, + 0, 734, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, - 735, 735, 735, 735, 735, 735, 735, 736, 736, 0, 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, - 736, 736, 736, 736, 736, 736, 737, 737, 737, 737, - 737, 737, 737, 737, 737, 737, 737, 737, 737, 737, - 737, 737, 737, 737, 737, 738, 738, 738, 738, 0, - 738, 738, 738, 738, 738, 738, 738, 738, 738, 738, - 738, 738, 738, 738, 739, 739, 739, 739, 739, 739, + 736, 736, 736, 736, 736, 736, 736, 736, 737, 737, + 737, 737, 0, 737, 737, 737, 737, 737, 737, 737, + 737, 737, 737, 738, 738, 0, 0, 738, 0, 0, + 738, 738, 739, 739, 0, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, - 739, 739, 739, 740, 740, 0, 740, 740, 740, 740, - 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, - 740, 740, 741, 741, 0, 741, 741, 741, 741, 741, - 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, - 741, 742, 0, 742, 742, 0, 0, 742, 742, 742, - 0, 0, 742, 743, 743, 0, 743, 743, 743, 743, + 740, 740, 0, 740, 740, 740, 740, 740, 740, 740, + 740, 740, 740, 740, 740, 740, 740, 740, 741, 741, + 0, 741, 741, 741, 741, 741, 741, 741, 741, 741, + 741, 741, 741, 741, 741, 741, 742, 742, 0, 742, + 742, 742, 742, 742, 742, 742, 742, 742, 742, 742, + 742, 742, 742, 742, 743, 743, 0, 743, 743, 743, 743, 743, 743, 743, 743, 743, 743, 743, 743, 743, + 743, 743, 744, 744, 0, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, - - 744, 745, 745, 0, 745, 745, 745, 745, 745, 745, - 745, 745, 745, 745, 745, 745, 745, 745, 745, 745, + 745, 745, 0, 0, 745, 0, 0, 745, 745, 745, + 745, 745, 745, 745, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, - 746, 746, 746, 746, 746, 746, 746, 746, 746, 747, - 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, - 747, 747, 747, 747, 747, 747, 747, 747, 748, 748, - 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, - 748, 748, 748, 748, 748, 748, 748, 749, 749, 749, - 749, 749, 749, 749, 749, 749, 749, 749, 749, 749, - 749, 749, 749, 749, 749, 749, 750, 750, 0, 0, - - 750, 750, 0, 750, 750, 750, 750, 750, 750, 750, - 750, 750, 751, 0, 0, 0, 0, 0, 751, 751, - 751, 751, 0, 751, 752, 752, 752, 752, 752, 752, + 746, 746, 747, 747, 0, 0, 747, 0, 0, 747, + 747, 748, 748, 0, 748, 748, 748, 748, 748, 748, + 748, 748, 748, 748, 748, 748, 748, 748, 748, 749, + 749, 0, 749, 749, 749, 749, 749, 749, 749, 749, + 749, 749, 749, 749, 749, 749, 749, 750, 750, 0, + + 750, 750, 750, 750, 750, 750, 750, 750, 750, 750, + 750, 750, 750, 750, 750, 751, 751, 0, 751, 751, + 751, 751, 751, 751, 751, 751, 751, 751, 751, 751, + 751, 751, 751, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, - 752, 752, 752, 753, 753, 753, 753, 753, 753, 753, - 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, - 753, 753, 754, 754, 0, 754, 754, 754, 754, 754, + 752, 753, 753, 753, 753, 753, 753, 753, 753, 753, + 753, 753, 753, 753, 753, 753, 753, 753, 753, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, - 754, 755, 755, 0, 755, 755, 755, 755, 755, 755, + 754, 754, 754, 754, 754, 754, 754, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, - 756, 756, 0, 0, 756, 756, 756, 756, 756, 756, - 756, 756, 756, 756, 756, 756, 757, 757, 757, 757, - 0, 757, 757, 757, 757, 757, 757, 757, 757, 757, - 757, 757, 757, 757, 757, 758, 758, 758, 758, 758, - 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, - 758, 758, 758, 758, 759, 759, 0, 759, 759, 759, - 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, - 759, 759, 759, 760, 760, 0, 760, 760, 760, 760, - 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, - 760, 760, 761, 761, 0, 761, 761, 761, 761, 761, - - 761, 761, 761, 761, 761, 761, 761, 761, 761, 761, - 761, 762, 762, 0, 762, 762, 762, 762, 762, 762, - 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, - 763, 763, 0, 763, 763, 763, 763, 763, 763, 763, - 763, 763, 763, 763, 763, 763, 763, 763, 763, 764, - 764, 0, 764, 764, 764, 764, 764, 764, 764, 764, - 764, 764, 764, 764, 764, 764, 764, 764, 765, 765, - 0, 765, 765, 765, 765, 765, 765, 765, 765, 765, - 765, 765, 765, 765, 765, 765, 765, 766, 766, 0, - 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, - - 766, 766, 766, 766, 766, 766, 767, 767, 767, 767, - 767, 767, 767, 767, 767, 767, 767, 767, 767, 767, - 767, 767, 767, 767, 767, 768, 768, 768, 768, 768, - 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, - 768, 768, 768, 768, 769, 769, 769, 769, 769, 769, - 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, - 769, 769, 769, 770, 0, 0, 0, 0, 0, 770, - 770, 770, 770, 770, 770, 770, 770, 770, 771, 771, - 771, 771, 771, 771, 771, 771, 771, 771, 771, 771, - 771, 771, 771, 771, 771, 771, 771, 772, 772, 772, - - 772, 772, 772, 772, 772, 772, 772, 772, 772, 772, - 772, 772, 772, 772, 772, 772, 773, 773, 773, 773, - 773, 773, 773, 773, 773, 773, 773, 773, 773, 773, - 773, 773, 773, 773, 773, 774, 0, 0, 0, 0, - 0, 774, 774, 774, 774, 775, 775, 0, 775, 775, - 775, 775, 775, 775, 775, 775, 775, 775, 775, 775, - 775, 775, 775, 775, 776, 776, 776, 776, 776, 776, - 776, 776, 776, 776, 776, 776, 776, 776, 776, 776, - 776, 776, 776, 777, 777, 0, 777, 777, 777, 777, - 777, 777, 777, 777, 777, 777, 777, 777, 777, 777, - - 777, 777, 778, 778, 0, 778, 778, 778, 778, 778, - 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, - 778, 779, 779, 0, 779, 779, 779, 779, 779, 779, - 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, - 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, - 780, 780, 780, 780, 780, 780, 780, 780, 780, 781, - 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, - 781, 781, 781, 781, 781, 781, 781, 781, 782, 782, - 782, 782, 782, 782, 782, 782, 782, 782, 782, 782, - 782, 782, 782, 782, 782, 782, 782, 783, 783, 783, - - 783, 783, 783, 783, 783, 783, 783, 783, 783, 783, - 783, 783, 783, 783, 783, 783, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696, - 696, 696, 696, 696, 696, 696, 696, 696, 696, 696 + 755, 755, 755, 755, 755, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 693, 693 } ; -static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; +extern int yy_flex_debug; +int yy_flex_debug = 0; + +static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; static char *yy_full_match; static int yy_lp; static int yy_looking_for_trail_begin = 0; @@ -1695,25 +1615,29 @@ static int *yy_full_state; #define YY_TRAILING_HEAD_MASK 0x4000 #define REJECT \ { \ -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \ -yy_cp = yy_full_match; /* restore poss. backed-over text */ \ -yy_lp = yy_full_lp; /* restore orig. accepting pos. */ \ -yy_state_ptr = yy_full_state; /* restore orig. state */ \ -yy_current_state = *yy_state_ptr; /* restore curr. state */ \ -++yy_lp; \ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ +yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ +(yy_lp) = (yy_full_lp); /* restore orig. accepting pos. */ \ +(yy_state_ptr) = (yy_full_state); /* restore orig. state */ \ +yy_current_state = *(yy_state_ptr); /* restore curr. state */ \ +++(yy_lp); \ goto find_rule; \ } + #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -#define INITIAL 0 +#line 1 "parser.l" +#line 8 "parser.l" /* * parser.l -- lex parser of algebraic chess moves for XBoard - * $Id: parser.l,v 2.1 2003/10/27 19:21:00 mann Exp $ * - * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. - * Enhancements Copyright 1992-95 Free Software Foundation, Inc. + * Copyright 1991 by Digital Equipment Corporation, Maynard, + * Massachusetts. + * + * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, + * 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -1737,24 +1661,25 @@ char *yytext; * SOFTWARE. * ------------------------------------------------------------------------ * - * The following terms apply to the enhanced version of XBoard distributed - * by the Free Software Foundation: + * The following terms apply to the enhanced version of XBoard + * distributed by the Free Software Foundation: * ------------------------------------------------------------------------ - * This program is free software; you can redistribute it and/or modify + * + * GNU XBoard is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU XBoard is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * ------------------------------------------------------------------------ - */ + * along with this program. If not, see http://www.gnu.org/licenses/. + * + *------------------------------------------------------------------------ + ** See the file ChangeLog for a revision history. */ /* This parser handles all forms of promotion. * The parser resolves ambiguous moves by searching and check-testing. @@ -1790,6 +1715,16 @@ char *yy_text = (char *) yytext; #ifdef FLEX_SCANNER /* This is flex */ +/* [AP] use prototypes in function declarations */ +#define YY_USE_PROTOS + +#ifdef YY_USE_PROTOS +#define YY_PROTO(proto) proto +#else +#define YY_PROTO(proto) () +#endif +/* end of [AP] fix */ + #undef YY_INPUT #define YY_INPUT(buf, result, max_size) my_yy_input(buf, &result, max_size) #undef YY_DECL @@ -1865,6 +1800,52 @@ int yyback P((int *, int)); int yywrap P((void)); extern void CopyBoard P((Board to, Board from)); +#line 1804 "parser.c" + +#define INITIAL 0 + +#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 +#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. @@ -1872,65 +1853,30 @@ extern void CopyBoard P((Board to, Board from)); #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); +extern "C" int yywrap (void ); #else -extern int yywrap YY_PROTO(( void )); +extern int yywrap (void ); #endif #endif -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - + static void yyunput (int c,char *buf_ptr ); + #ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); +static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen YY_PROTO(( yyconst char * )); +static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT + #ifdef __cplusplus -static int yyinput YY_PROTO(( void )); +static int yyinput (void ); #else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); +static int input (void ); #endif -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif #endif /* Amount of stuff to slurp up with each read. */ @@ -1939,12 +1885,11 @@ YY_MALLOC_DECL #endif /* Copy whatever the last rule matched to the standard output. */ - #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) +#define ECHO fwrite( yytext, yyleng, 1, yyout ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -1952,9 +1897,10 @@ YY_MALLOC_DECL */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ - int c = '*', n; \ + int c = '*'; \ + int n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ @@ -1977,7 +1923,9 @@ YY_MALLOC_DECL errno=0; \ clearerr(yyin); \ } \ - } + }\ +\ + #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - @@ -1998,12 +1946,18 @@ YY_MALLOC_DECL #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 int yylex YY_PROTO(( void )) -#endif +#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. @@ -2019,29 +1973,39 @@ YY_MALLOC_DECL #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ - yy_current_buffer->yy_at_bol = \ + 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 179 "parser.l" +#line 1992 "parser.c" - - if ( yy_init ) + if ( !(yy_init) ) { - yy_init = 0; + (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif - if ( ! yy_start ) - yy_start = 1; /* first start state */ + /* Create the reject buffer large enough to save one state per allowed character. */ + if ( ! (yy_state_buf) ) + (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); + if ( ! (yy_state_buf) ) + YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; @@ -2049,29 +2013,33 @@ YY_DECL if ( ! yyout ) yyout = stdout; - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } - yy_load_buffer_state(); + yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { - yy_cp = yy_c_buf_p; + yy_cp = (yy_c_buf_p); /* Support of yytext. */ - *yy_cp = yy_hold_char; + *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_start); yy_current_state += YY_AT_BOL(); - yy_state_ptr = yy_state_buf; - *yy_state_ptr++ = yy_current_state; + + (yy_state_ptr) = (yy_state_buf); + *(yy_state_ptr)++ = yy_current_state; + yy_match: do { @@ -2079,64 +2047,63 @@ yy_match: 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 >= 697 ) + if ( yy_current_state >= 694 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - *yy_state_ptr++ = yy_current_state; + *(yy_state_ptr)++ = yy_current_state; ++yy_cp; } - while ( yy_base[yy_current_state] != 4517 ); + while ( yy_base[yy_current_state] != 3806 ); yy_find_action: - yy_current_state = *--yy_state_ptr; - yy_lp = yy_accept[yy_current_state]; + yy_current_state = *--(yy_state_ptr); + (yy_lp) = yy_accept[yy_current_state]; find_rule: /* we branch to this label when backing up */ for ( ; ; ) /* until we find what rule we matched */ { - if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) + if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) { - yy_act = yy_acclist[yy_lp]; + yy_act = yy_acclist[(yy_lp)]; if ( yy_act & YY_TRAILING_HEAD_MASK || - yy_looking_for_trail_begin ) + (yy_looking_for_trail_begin) ) { - if ( yy_act == yy_looking_for_trail_begin ) + if ( yy_act == (yy_looking_for_trail_begin) ) { - yy_looking_for_trail_begin = 0; + (yy_looking_for_trail_begin) = 0; yy_act &= ~YY_TRAILING_HEAD_MASK; break; } } else if ( yy_act & YY_TRAILING_MASK ) { - yy_looking_for_trail_begin = yy_act & ~YY_TRAILING_MASK; - yy_looking_for_trail_begin |= YY_TRAILING_HEAD_MASK; + (yy_looking_for_trail_begin) = yy_act & ~YY_TRAILING_MASK; + (yy_looking_for_trail_begin) |= YY_TRAILING_HEAD_MASK; } else { - yy_full_match = yy_cp; - yy_full_state = yy_state_ptr; - yy_full_lp = yy_lp; + (yy_full_match) = yy_cp; + (yy_full_state) = (yy_state_ptr); + (yy_full_lp) = (yy_lp); break; } - ++yy_lp; + ++(yy_lp); goto find_rule; } --yy_cp; - yy_current_state = *--yy_state_ptr; - yy_lp = yy_accept[yy_current_state]; + yy_current_state = *--(yy_state_ptr); + (yy_lp) = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; - do_action: /* This label is used only to access EOF actions. */ - switch ( yy_act ) { /* beginning of action switch */ case 1: YY_RULE_SETUP +#line 181 "parser.l" { /* * Fully-qualified algebraic move, possibly with promotion @@ -2174,9 +2141,8 @@ YY_RULE_SETUP } else { c = currentMoveString[4] = ToLower(yytext[yyleng-1]); } + if(c == '+' && gameInfo.variant != VariantShogi) c = currentMoveString[4] = NULLCHAR; // + means check outside Shogi currentMoveString[5] = NULLCHAR; - if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) - return IllegalMove; /* [HGM] promotion to invalid piece */ } if (appData.debugMode) { @@ -2191,10 +2157,11 @@ YY_RULE_SETUP currentMoveString[2] - AAA >= BOARD_RGHT || currentMoveString[0] - AAA < BOARD_LEFT || currentMoveString[2] - AAA < BOARD_LEFT ) - return 0; + return ImpossibleMove; piece = boards[yyboardindex] [currentMoveString[1] - ONE][currentMoveString[0] - AAA]; + if(PieceToChar(piece) == '+' && appData.icsActive) promoted = 1, yytext[skip3] = PieceToChar(DEMOTED piece); // trust ICS if(promoted) piece = (ChessSquare) (DEMOTED piece); c = PieceToChar(piece); if(c == '~') c = PieceToChar((ChessSquare) (DEMOTED piece)); @@ -2202,19 +2169,26 @@ YY_RULE_SETUP return (int) IllegalMove; result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, - initialRights, /* [HGM] assume all castlings allowed */ + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! currentMoveString[1] - ONE, currentMoveString[0] - AAA, currentMoveString[3] - ONE, currentMoveString[2] - AAA, currentMoveString[4]); - if (currentMoveString[4] == NULLCHAR && - (result == WhitePromotionKnight || result == BlackPromotionKnight || - result == WhitePromotionQueen || result == BlackPromotionQueen)) { - currentMoveString[4] = PieceToChar(BlackQueen); - currentMoveString[5] = NULLCHAR; + if (currentMoveString[4] == NULLCHAR) { + if(result == WhitePromotion || result == BlackPromotion) { + if(gameInfo.variant == VariantCourier || gameInfo.variant == VariantShatranj) + currentMoveString[4] = PieceToChar(BlackFerz); + else if(gameInfo.variant == VariantGreat) + currentMoveString[4] = PieceToChar(BlackMan); + else if(gameInfo.variant == VariantShogi) + currentMoveString[4] = '+'; + else + currentMoveString[4] = PieceToChar(BlackQueen); + } else if(result == WhiteNonPromotion || result == BlackNonPromotion) + currentMoveString[4] = '='; + currentMoveString[5] = NULLCHAR; } return (int) result; @@ -2222,6 +2196,7 @@ YY_RULE_SETUP YY_BREAK case 2: YY_RULE_SETUP +#line 271 "parser.l" { /* * Simple algebraic move, possibly with promotion @@ -2248,9 +2223,8 @@ YY_RULE_SETUP } else { c = currentMoveString[4] = ToLower(yytext[yyleng-1]); } + if(c == '+' && gameInfo.variant != VariantShogi) currentMoveString[4] = NULLCHAR; // + means check outside Shogi currentMoveString[5] = NULLCHAR; - if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) - return IllegalMove; } /* [HGM] do not allow values beyond board size */ @@ -2262,40 +2236,90 @@ YY_RULE_SETUP currentMoveString[2] - AAA >= BOARD_RGHT || currentMoveString[0] - AAA < BOARD_LEFT || currentMoveString[2] - AAA < BOARD_LEFT ) - return 0; + return ImpossibleMove; result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, - initialRights, /* [HGM] assume all castlings allowed */ + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! currentMoveString[1] - ONE, currentMoveString[0] - AAA, currentMoveString[3] - ONE, currentMoveString[2] - AAA, currentMoveString[4]); - if (currentMoveString[4] == NULLCHAR && - (result == WhitePromotionKnight || result == BlackPromotionKnight || - result == WhitePromotionQueen || result == BlackPromotionQueen)) { - if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier) + if (currentMoveString[4] == NULLCHAR) { + if(result == WhitePromotion || result == BlackPromotion) { + if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk) currentMoveString[4] = PieceToChar(BlackFerz); else if(gameInfo.variant == VariantGreat) currentMoveString[4] = PieceToChar(BlackMan); + else if(gameInfo.variant == VariantShogi) + currentMoveString[4] = '+'; // Queen might not be defined in mini variants! else currentMoveString[4] = PieceToChar(BlackQueen); - currentMoveString[5] = NULLCHAR; - } + } else if(result == WhiteNonPromotion || result == BlackNonPromotion) + currentMoveString[4] = '='; + currentMoveString[5] = NULLCHAR; + } else if(appData.testLegality && gameInfo.variant != VariantSChess && // strip off unnecessary and false promo characters + !(result == WhitePromotion || result == BlackPromotion || + result == WhiteNonPromotion || result == BlackNonPromotion)) currentMoveString[4] = NULLCHAR; return (int) result; } YY_BREAK case 3: YY_RULE_SETUP +#line 340 "parser.l" +{ + /* + * Simple algebraic move, in capitals + * [HGM] Some Xiangqi engines use this format ('ICCS notation'). So no promotions! + */ + int skip = 0; + ChessMove result; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + /* remove the [xX:-] */ + if ((yytext[2] == 'x') || (yytext[2] == 'X') || + (yytext[2] == '-') || (yytext[2] == ':')) skip = 1; + + currentMoveString[0] = yytext[0]+32; + currentMoveString[1] = yytext[1]; + currentMoveString[2] = yytext[2+skip]+32; + currentMoveString[3] = yytext[3+skip]; + currentMoveString[4] = NULLCHAR; + + /* [HGM] do not allow values beyond board size */ + if(currentMoveString[1] - ONE >= BOARD_HEIGHT || + currentMoveString[1] - ONE < 0 || + currentMoveString[0] - AAA >= BOARD_RGHT || + currentMoveString[3] - ONE >= BOARD_HEIGHT || + currentMoveString[3] - ONE < 0 || + currentMoveString[2] - AAA >= BOARD_RGHT || + currentMoveString[0] - AAA < BOARD_LEFT || + currentMoveString[2] - AAA < BOARD_LEFT ) + return ImpossibleMove; + + result = LegalityTest(boards[yyboardindex], + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! + currentMoveString[1] - ONE, + currentMoveString[0] - AAA, + currentMoveString[3] - ONE, + currentMoveString[2] - AAA, + currentMoveString[4]); + + return (int) result; +} + YY_BREAK +case 4: +YY_RULE_SETUP +#line 382 "parser.l" { /* * Pawn move, possibly with promotion */ DisambiguateClosure cl; - int skip = 0; char c; + int skip = 0; if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ @@ -2308,21 +2332,17 @@ YY_RULE_SETUP cl.ffIn = yytext[0] - AAA; cl.rtIn = yytext[1] - ONE; cl.ftIn = yytext[0] - AAA; - c = cl.promoCharIn = yytext[2+skip]; + cl.promoCharIn = ToLower(yytext[2+skip]); + if(cl.promoCharIn == '+' && gameInfo.variant != VariantShogi) cl.promoCharIn = NULLCHAR; // + means check outside Shogi /* [HGM] do not allow values beyond board size */ if(cl.rtIn >= BOARD_HEIGHT || cl.rtIn < 0 || cl.ffIn >= BOARD_RGHT || cl.ftIn < BOARD_LEFT ) - return 0; - - if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare) - return IllegalMove; + return ImpossibleMove; - - Disambiguate(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, &cl); + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); currentMoveString[0] = cl.ff + AAA; currentMoveString[1] = cl.rf + ONE; @@ -2334,14 +2354,15 @@ YY_RULE_SETUP return (int) cl.kind; } YY_BREAK -case 4: +case 5: YY_RULE_SETUP +#line 423 "parser.l" { /* * Pawn capture, possibly with promotion, possibly ambiguous */ DisambiguateClosure cl; - int skip1 = 0, skip2 = 0; char c; + int skip1 = 0, skip2 = 0; if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ @@ -2365,20 +2386,17 @@ YY_RULE_SETUP cl.ffIn = yytext[0] - AAA; cl.rtIn = -1; cl.ftIn = yytext[1+skip1] - AAA; - c = cl.promoCharIn = yytext[2+skip1+skip2]; + cl.promoCharIn = yytext[2+skip1+skip2]; + if(cl.promoCharIn == '+' && gameInfo.variant != VariantShogi) cl.promoCharIn = NULLCHAR; // + means check outside Shogi /* [HGM] do not allow values beyond board size */ if(cl.ffIn >= BOARD_RGHT || cl.ffIn < BOARD_LEFT || cl.ftIn >= BOARD_RGHT || cl.ftIn < BOARD_LEFT ) - return 0; - - if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare) - return IllegalMove; + return ImpossibleMove; - Disambiguate(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, &cl); + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); currentMoveString[0] = cl.ff + AAA; currentMoveString[1] = cl.rf + ONE; @@ -2390,8 +2408,9 @@ YY_RULE_SETUP return (int) cl.kind; } YY_BREAK -case 5: +case 6: YY_RULE_SETUP +#line 474 "parser.l" { /* * unambiguously abbreviated Pawn capture, possibly with promotion @@ -2425,7 +2444,7 @@ YY_RULE_SETUP currentMoveString[2] - AAA >= BOARD_RGHT || currentMoveString[0] - AAA < BOARD_LEFT || currentMoveString[2] - AAA < BOARD_LEFT ) - return 0; + return ImpossibleMove; if (gameInfo.variant == VariantXiangqi && /* [HGM] In Xiangqi rank stays same */ currentMoveString[0] != currentMoveString[2] ) { @@ -2434,9 +2453,13 @@ YY_RULE_SETUP if (WhiteOnMove(yyboardindex)) { if (yytext[2+skip] == ONE) return (int) ImpossibleMove; currentMoveString[1] = yytext[2+skip] - 1; + if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != WhitePawn) + return ImpossibleMove; } else { currentMoveString[1] = currentMoveString[3] + 1; if (currentMoveString[3] == ONE+BOARD_HEIGHT-1) return (int) ImpossibleMove; + if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != BlackPawn) + return ImpossibleMove; } if (yyleng-skip > 3) { if (yytext[yyleng-1] == ')') @@ -2444,31 +2467,32 @@ YY_RULE_SETUP else c = currentMoveString[4] = ToLower(yytext[yyleng-1]); currentMoveString[5] = NULLCHAR; - if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) - return IllegalMove; + if(c == '+' && gameInfo.variant != VariantShogi) c = currentMoveString[4] = NULLCHAR; // + means check outside Shogi } else { currentMoveString[4] = NULLCHAR; } result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, - initialRights, /* [HGM] assume all castlings allowed */ + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! currentMoveString[1] - ONE, currentMoveString[0] - AAA, currentMoveString[3] - ONE, currentMoveString[2] - AAA, currentMoveString[4]); - if (currentMoveString[4] == NULLCHAR && - (result == WhitePromotionQueen || result == BlackPromotionQueen || - result == WhitePromotionKnight || result == BlackPromotionKnight)) { + if (currentMoveString[4] == NULLCHAR) { + if(result == WhitePromotion || result == BlackPromotion) { currentMoveString[4] = PieceToChar(BlackQueen); // [HGM] shatranj: take care of variants without Queen - if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier) + if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk) currentMoveString[4] = PieceToChar(BlackFerz); if(gameInfo.variant == VariantGreat) currentMoveString[4] = PieceToChar(BlackMan); - currentMoveString[5] = NULLCHAR; + if(gameInfo.variant == VariantShogi) + currentMoveString[4] = '+'; + } else if(result == WhiteNonPromotion || result == BlackNonPromotion) + currentMoveString[4] = '='; + currentMoveString[5] = NULLCHAR; } if (result != IllegalMove) return (int) result; @@ -2491,8 +2515,7 @@ YY_RULE_SETUP } result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, - initialRights, /* [HGM] assume all castlings allowed */ + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! currentMoveString[1] - ONE, currentMoveString[0] - AAA, currentMoveString[3] - ONE, @@ -2501,12 +2524,17 @@ YY_RULE_SETUP if (result == WhiteCapturesEnPassant || result == BlackCapturesEnPassant) return (int) result; - else + else { // [HGM] all very nice, but this messed up the input move that we might want to accept with legality testing off... + if (WhiteOnMove(yyboardindex)) // undo the damage + currentMoveString[1]--, currentMoveString[3]--; + else currentMoveString[1]++, currentMoveString[3]++; return (int) IllegalMove; + } } YY_BREAK -case 6: +case 7: YY_RULE_SETUP +#line 595 "parser.l" { /* * piece move, possibly ambiguous @@ -2535,8 +2563,9 @@ YY_RULE_SETUP cl.ftIn = yytext[1+skip] - AAA; cl.promoCharIn = NULLCHAR; - if(yyleng-skip > 3) /* [HGM] can have Shogi-style promotion */ - cl.promoCharIn = yytext[yyleng-1]; + if(yyleng-skip > 3) /* [HGM] in some variants pieces promote */ + cl.promoCharIn = yytext[yyleng-1-(yytext[yyleng-1]==')')]; + if(cl.promoCharIn == '+' && gameInfo.variant != VariantShogi) cl.promoCharIn = NULLCHAR; // + means check outside Shogi if (appData.debugMode) { fprintf(debugFP, "Parser Qa1: yyleng=%d, %d(%d,%d)-(%d,%d) = %d (%c)\n", @@ -2549,10 +2578,9 @@ YY_RULE_SETUP cl.rtIn < 0 || cl.ftIn >= BOARD_RGHT || cl.ftIn < BOARD_LEFT ) - return 0; + return ImpossibleMove; - Disambiguate(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, &cl); + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); currentMoveString[0] = cl.ff + AAA; currentMoveString[1] = cl.rf + ONE; @@ -2564,8 +2592,9 @@ YY_RULE_SETUP return (int) cl.kind; } YY_BREAK -case 7: +case 8: YY_RULE_SETUP +#line 652 "parser.l" { /* * piece move with rank or file disambiguator @@ -2604,18 +2633,18 @@ YY_RULE_SETUP cl.ftIn = yytext[2+skip] - AAA; cl.promoCharIn = NULLCHAR; - if(yyleng-skip > 4) /* [HGM] can have Shogi-style promotion */ - cl.promoCharIn = yytext[yyleng-1]; + if(yyleng-skip > 4) /* [HGM] in some variants pieces promote */ + cl.promoCharIn = yytext[yyleng-1-(yytext[yyleng-1]==')')]; + if(cl.promoCharIn == '+' && gameInfo.variant != VariantShogi) cl.promoCharIn = NULLCHAR; // + means check outside Shogi /* [HGM] do not allow values beyond board size */ if(cl.rtIn >= BOARD_HEIGHT || cl.rtIn < 0 || cl.ftIn >= BOARD_RGHT || cl.ftIn < BOARD_LEFT ) - return 0; + return ImpossibleMove; - Disambiguate(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, &cl); + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); currentMoveString[0] = cl.ff + AAA; currentMoveString[1] = cl.rf + ONE; @@ -2627,8 +2656,9 @@ YY_RULE_SETUP return (int) cl.kind; } YY_BREAK -case 8: +case 9: YY_RULE_SETUP +#line 713 "parser.l" { int rf, ff, rt, ft; @@ -2662,7 +2692,8 @@ YY_RULE_SETUP ft = BOARD_LEFT+2; } } - if(gameInfo.variant == VariantFischeRandom) { + if(PosFlags(0) & F_FRC_TYPE_CASTLING) { + if (WhiteOnMove(yyboardindex)) { ff = initialRights[2]; ft = initialRights[1]; @@ -2670,7 +2701,10 @@ YY_RULE_SETUP ff = initialRights[5]; ft = initialRights[4]; } - fprintf(debugFP, "Parser FRC long %d %d\n", ff, ft); + if (appData.debugMode) + { + fprintf(debugFP, "Parser FRC long %d %d\n", ff, ft); + }; if(ff < 0 || ft < 0) return 0; } sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE); @@ -2678,13 +2712,13 @@ YY_RULE_SETUP fprintf(debugFP, "long castling %d %d\n", ff, ft); } return (int) LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, - castlingRights[yyboardindex], /* [HGM] use true castling rights */ + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.! rf, ff, rt, ft, NULLCHAR); } YY_BREAK -case 9: +case 10: YY_RULE_SETUP +#line 770 "parser.l" { int rf, ff, rt, ft; @@ -2717,7 +2751,7 @@ YY_RULE_SETUP ft = BOARD_RGHT-2; } } - if(gameInfo.variant == VariantFischeRandom) { + if(PosFlags(0) & F_FRC_TYPE_CASTLING) { if (WhiteOnMove(yyboardindex)) { ff = initialRights[2]; ft = initialRights[0]; @@ -2736,15 +2770,18 @@ YY_RULE_SETUP } return (int) LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex), EP_UNKNOWN, - castlingRights[yyboardindex], /* [HGM] use true castling rights */ + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.! rf, ff, rt, ft, NULLCHAR); } YY_BREAK -case 10: +case 11: YY_RULE_SETUP +#line 825 "parser.l" { - /* Bughouse piece drop. No legality checking for now. */ + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + /* Bughouse piece drop. */ currentMoveString[1] = '@'; currentMoveString[2] = yytext[2]; currentMoveString[3] = yytext[3]; @@ -2756,19 +2793,22 @@ YY_RULE_SETUP /* [HGM] do not allow values beyond board size */ if(currentMoveString[3] - ONE >= BOARD_HEIGHT || currentMoveString[2] - AAA >= BOARD_WIDTH ) - return 0; + return ImpossibleMove; if (WhiteOnMove(yyboardindex)) { currentMoveString[0] = ToUpper(yytext[0]); - return (int) WhiteDrop; } else { currentMoveString[0] = ToLower(yytext[0]); - return (int) BlackDrop; } + if(CharToPiece(currentMoveString[0]) == EmptySquare) return ImpossibleMove; // Unknown piece; + + return LegalityTest(boards[yyboardindex], PosFlags(yyboardindex), DROP_RANK, // [HGM] does drops now too + CharToPiece(currentMoveString[0]), currentMoveString[3] - ONE, currentMoveString[2] - AAA, NULLCHAR); } YY_BREAK -case 11: +case 12: YY_RULE_SETUP +#line 854 "parser.l" { if (WhiteOnMove(yyboardindex)) return (int) BlackWins; @@ -2776,32 +2816,37 @@ YY_RULE_SETUP return (int) WhiteWins; } YY_BREAK -case 12: +case 13: YY_RULE_SETUP +#line 861 "parser.l" { return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins); } YY_BREAK -case 13: +case 14: YY_RULE_SETUP +#line 865 "parser.l" { return (int) GameUnfinished; } YY_BREAK -case 14: +case 15: YY_RULE_SETUP +#line 869 "parser.l" { return (int) GameIsDrawn; } YY_BREAK -case 15: +case 16: YY_RULE_SETUP +#line 873 "parser.l" { return (int) GameIsDrawn; } YY_BREAK -case 16: +case 17: YY_RULE_SETUP +#line 877 "parser.l" { if (WhiteOnMove(yyboardindex)) return (int) BlackWins; @@ -2809,8 +2854,9 @@ YY_RULE_SETUP return (int) WhiteWins; } YY_BREAK -case 17: +case 18: YY_RULE_SETUP +#line 884 "parser.l" { if (WhiteOnMove(yyboardindex)) return (int) BlackWins; @@ -2818,194 +2864,234 @@ YY_RULE_SETUP return (int) WhiteWins; } YY_BREAK -case 18: +case 19: YY_RULE_SETUP +#line 891 "parser.l" { return (int) GameIsDrawn; } YY_BREAK -case 19: +case 20: YY_RULE_SETUP +#line 895 "parser.l" { return (int) GameIsDrawn; } YY_BREAK -case 20: +case 21: YY_RULE_SETUP -{ +#line 899 "parser.l" +{ return (int) (ToUpper(yytext[0]) == 'W' ? WhiteWins : BlackWins); } YY_BREAK -case 21: +case 22: YY_RULE_SETUP -{ +#line 903 "parser.l" +{ return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins); } YY_BREAK -case 22: +case 23: +/* rule 23 can match eol */ YY_RULE_SETUP +#line 907 "parser.l" { return (int) WhiteWins; } YY_BREAK -case 23: +case 24: +/* rule 24 can match eol */ YY_RULE_SETUP +#line 911 "parser.l" { return (int) BlackWins; } YY_BREAK -case 24: +case 25: +/* rule 25 can match eol */ YY_RULE_SETUP +#line 915 "parser.l" { return (int) GameIsDrawn; } YY_BREAK -case 25: +case 26: +/* rule 26 can match eol */ YY_RULE_SETUP +#line 919 "parser.l" { return (int) GameUnfinished; } YY_BREAK -case 26: +case 27: +/* rule 27 can match eol */ YY_RULE_SETUP +#line 923 "parser.l" { /* move numbers */ if ((yyleng == 1) && (yytext[0] == '1')) return (int) MoveNumberOne; + else return (int) Nothing; // [HGM] make sure something is returned, for gathering parsed text } YY_BREAK -case 27: +case 28: YY_RULE_SETUP +#line 930 "parser.l" { /* elapsed time indication, e.g. (0:12) or {10:21.071} */ return (int) ElapsedTime; } YY_BREAK -case 28: +case 29: +/* rule 29 can match eol */ YY_RULE_SETUP +#line 935 "parser.l" { /* position diagram enclosed in [-- --] */ return (int) PositionDiagram; } YY_BREAK -case 29: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +case 30: +/* rule 30 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP +#line 940 "parser.l" { /* position diagram enclosed in {-- --} */ return (int) PositionDiagram; } YY_BREAK -case 30: +case 31: +/* rule 31 can match eol */ YY_RULE_SETUP +#line 945 "parser.l" { return (int) PGNTag; } YY_BREAK -case 31: +case 32: YY_RULE_SETUP +#line 949 "parser.l" { return (int) GNUChessGame; } YY_BREAK -case 32: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +case 33: +/* rule 33 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP +#line 953 "parser.l" { return (int) XBoardGame; } YY_BREAK -case 33: +case 34: YY_RULE_SETUP +#line 957 "parser.l" { /* numeric annotation glyph */ return (int) NAG; } YY_BREAK -case 34: +case 35: +/* rule 35 can match eol */ YY_RULE_SETUP +#line 961 "parser.l" { /* anything in {} */ return (int) Comment; } YY_BREAK -case 35: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +case 36: +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP +#line 965 "parser.l" { /* ; to end of line */ return (int) Comment; } YY_BREAK -case 36: +case 37: +/* rule 37 can match eol */ YY_RULE_SETUP +#line 969 "parser.l" { /* anything in [] */ return (int) Comment; } YY_BREAK -case 37: +case 38: YY_RULE_SETUP -{ /* nested () */ - return (int) Comment; +#line 973 "parser.l" +{ /* Opening parentheses */ + return (int) Open; } YY_BREAK -case 38: +case 39: YY_RULE_SETUP -{ /* >=2 chars in () */ - return (int) Comment; +#line 977 "parser.l" +{ /* closing parentheses */ + return (int) Close; } YY_BREAK -case 39: +case 40: +/* rule 40 can match eol */ YY_RULE_SETUP +#line 981 "parser.l" { - /* Skip mail headers */ + return (int) Nothing; /* Skip mail headers */ } YY_BREAK -case 40: +case 41: YY_RULE_SETUP +#line 985 "parser.l" { - /* Skip random words */ + return (int) Nothing; /* Skip random words */ } YY_BREAK -case 41: +case 42: +/* rule 42 can match eol */ YY_RULE_SETUP +#line 989 "parser.l" { - /* Skip everything else */ + return (int) Nothing; /* Skip everything else */ } YY_BREAK -case 42: +case 43: YY_RULE_SETUP +#line 993 "parser.l" ECHO; YY_BREAK +#line 3069 "parser.c" case YY_STATE_EOF(INITIAL): 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; + 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_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) + 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 + * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; + (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 @@ -3015,13 +3101,13 @@ ECHO; * end-of-buffer state). Contrast this with the test * in input(). */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) + 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_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - yy_current_state = yy_get_previous_state(); + yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have @@ -3034,30 +3120,30 @@ ECHO; yy_next_state = yy_try_NUL_trans( yy_current_state ); - yy_bp = yytext_ptr + YY_MORE_ADJ; + yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; + yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { - yy_cp = yy_c_buf_p; + yy_cp = (yy_c_buf_p); goto yy_find_action; } } - else switch ( yy_get_next_buffer() ) + else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { - yy_did_buffer_switch_on_eof = 0; + (yy_did_buffer_switch_on_eof) = 0; - if ( yywrap() ) + if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up @@ -3068,7 +3154,7 @@ ECHO; * YY_NULL, it'll still work - another * YY_NULL will get returned. */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; @@ -3076,30 +3162,30 @@ ECHO; else { - if ( ! yy_did_buffer_switch_on_eof ) + 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_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; - yy_current_state = yy_get_previous_state(); + yy_current_state = yy_get_previous_state( ); - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - yy_current_state = yy_get_previous_state(); + yy_current_state = yy_get_previous_state( ); - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; @@ -3110,8 +3196,7 @@ ECHO; "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ - } /* end of yylex */ - +} /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * @@ -3120,21 +3205,20 @@ ECHO; * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; +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->yy_ch_buf[yy_n_chars + 1] ) + 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->yy_fill_buffer == 0 ) + 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 ) + 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. @@ -3154,86 +3238,52 @@ static int yy_get_next_buffer() /* Try to read more data. */ /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + 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->yy_n_chars = yy_n_chars = 0; + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; + 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. */ -#ifdef YY_USES_REJECT + YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), (size_t) num_to_read ); - yy_current_buffer->yy_n_chars = yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } - if ( yy_n_chars == 0 ) + if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); + yyrestart(yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } @@ -3241,147 +3291,141 @@ static int yy_get_next_buffer() else ret_val = EOB_ACT_CONTINUE_SCAN; - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; + 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()" ); + } - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; + (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; - return ret_val; - } + (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() - { + 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_start); yy_current_state += YY_AT_BOL(); - yy_state_ptr = yy_state_buf; - *yy_state_ptr++ = yy_current_state; - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) + (yy_state_ptr) = (yy_state_buf); + *(yy_state_ptr)++ = yy_current_state; + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 697 ) + if ( yy_current_state >= 694 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - *yy_state_ptr++ = yy_current_state; + *(yy_state_ptr)++ = yy_current_state; } return yy_current_state; - } - +} /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ register int yy_is_jam; - + register YY_CHAR yy_c = 1; while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 697 ) + if ( yy_current_state >= 694 ) 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 == 696); + yy_is_jam = (yy_current_state == 693); if ( ! yy_is_jam ) - *yy_state_ptr++ = yy_current_state; + *(yy_state_ptr)++ = yy_current_state; return yy_is_jam ? 0 : yy_current_state; - } - +} -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; + 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; + *yy_cp = (yy_hold_char); - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) + 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->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; + 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->yy_ch_buf[number_to_move]; + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; - while ( source > yy_current_buffer->yy_ch_buf ) + while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); - yy_current_buffer->yy_n_chars = - yy_n_chars = yy_current_buffer->yy_buf_size; + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) + 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; +} - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - +#ifndef YY_NO_INPUT #ifdef __cplusplus -static int yyinput() + static int yyinput (void) #else -static int input() + static int input (void) #endif - { - int c; - *yy_c_buf_p = yy_hold_char; +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) + 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'; + *(yy_c_buf_p) = '\0'; else { /* need more input */ - int offset = yy_c_buf_p - yytext_ptr; - ++yy_c_buf_p; + int offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); - switch ( yy_get_next_buffer() ) + switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() @@ -3395,16 +3439,16 @@ static int input() */ /* Reset buffer status. */ - yyrestart( yyin ); + yyrestart(yyin ); - /* fall through */ + /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { - if ( yywrap() ) + if ( yywrap( ) ) return EOF; - if ( ! yy_did_buffer_switch_on_eof ) + if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); @@ -3414,91 +3458,94 @@ static int input() } case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + offset; + (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; + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ + (yy_hold_char) = *++(yy_c_buf_p); - yy_current_buffer->yy_at_bol = (c == '\n'); + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); +} +#endif /* ifndef YY_NO_INPUT */ - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); +/** 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( ); +} -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) +/** 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 ) + if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; + *(yy_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 = new_buffer; - yy_load_buffer_state(); + 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; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } + (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); +} -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { +/** 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) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); + + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); @@ -3507,84 +3554,75 @@ int size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); + 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 ); + yy_init_buffer(b,file ); return b; - } - +} -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { +/** 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 ) - yy_current_buffer = (YY_BUFFER_STATE) 0; + 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 ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - + yyfree((void *) b->yy_ch_buf ); -#ifndef _WIN32 -#include -#else -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif + 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 ) - { - yy_flush_buffer( b ); +{ + int oerrno = errno; + + yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - + /* 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; + } -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + + errno = oerrno; +} - { - if ( ! b ) +/** 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; @@ -3601,29 +3639,125 @@ YY_BUFFER_STATE b; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; - if ( b == yy_current_buffer ) - yy_load_buffer_state(); + 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){ -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; + /* 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) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); @@ -3637,56 +3771,51 @@ yy_size_t size; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; - yy_switch_to_buffer( b ); + yy_switch_to_buffer(b ); return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) -#else -YY_BUFFER_STATE yy_scan_string( yy_str ) -yyconst char *yy_str; -#endif - { - int len; - for ( len = 0; yy_str[len]; ++len ) - ; - - return yy_scan_bytes( yy_str, len ); - } -#endif +} +/** 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) ); +} -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { +/** 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 = len + 2; - buf = (char *) yy_flex_alloc( n ); + 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 < len; ++i ) - buf[i] = bytes[i]; + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - b = yy_scan_buffer( buf, n ); + b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); @@ -3696,148 +3825,204 @@ int len; b->yy_is_our_buffer = 1; return b; - } +} + +#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 ); +} -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; +/* Redefine yyless() so it works in section 3 code. */ - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); +#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 ) - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); +/* Accessor methods (get/set functions) to struct members. */ - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} - yy_start_stack[yy_start_stack_ptr++] = YY_START; +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} - BEGIN(new_state); - } -#endif +/** Get the length of the current token. + * + */ +int yyget_leng (void) +{ + return yyleng; +} +/** Get the current token. + * + */ -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); +char *yyget_text (void) +{ + return yytext; +} - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif +/** 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 ; +} -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif +void yyset_out (FILE * out_str ) +{ + yyout = out_str ; +} -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif +int yyget_debug (void) +{ + return yy_flex_debug; +} -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) +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_state_buf) = 0; + (yy_state_ptr) = 0; + (yy_full_match) = 0; + (yy_lp) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; #else -static void yy_fatal_error( msg ) -char msg[]; + yyin = (FILE *) 0; + yyout = (FILE *) 0; #endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } + /* 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(); + } -/* Redefine yyless() so it works in section 3 code. */ + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) + yyfree ( (yy_state_buf) ); + (yy_state_buf) = NULL; + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); -/* Internal utility routines. */ + return 0; +} + +/* + * Internal utility routines. + */ #ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { +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 -#ifdef YY_USE_PROTOS -static int yy_flex_strlen( yyconst char *s ) -#else -static int yy_flex_strlen( s ) -yyconst char *s; -#endif - { +static int yy_flex_strlen (yyconst char * s ) +{ register int n; for ( n = 0; s[n]; ++n ) ; return n; - } +} #endif - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { +void *yyalloc (yy_size_t size ) +{ return (void *) malloc( size ); - } +} -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { +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 @@ -3846,25 +4031,17 @@ yy_size_t size; * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); - } +} -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 993 "parser.l" -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif @@ -3911,7 +4088,7 @@ int yyoffset() static void output(ch) int ch; { - fprintf(stderr, "PARSER BUG: unmatched character '%c' (0%o)\n", + if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unmatched character '%c' (0%o)\n", ch, ch); } @@ -3923,7 +4100,7 @@ static void unput(ch) StringToLex--; } else { if (unputCount >= UNPUT_BUF_SIZE) - fprintf(stderr, "PARSER BUG: unput buffer overflow '%c' (0%o)\n", + if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unput buffer overflow '%c' (0%o)\n", ch, ch); unputBuffer[unputCount++] = ch; } @@ -3989,9 +4166,9 @@ static YY_BUFFER_STATE my_file_buffer = NULL; */ int yyoffset() { - int pos = yy_c_buf_p - yy_current_buffer->yy_ch_buf; + int pos = yy_c_buf_p - YY_CURRENT_BUFFER->yy_ch_buf; - return(ftell(yy_current_buffer->yy_input_file) - + return(ftell(YY_CURRENT_BUFFER->yy_input_file) - yy_n_chars + pos); } @@ -4002,7 +4179,7 @@ void yynewstr(s) if (my_file_buffer != NULL) yy_delete_buffer(my_file_buffer); StringToLex = s; - my_file_buffer = yy_create_buffer(stdin, YY_BUF_SIZE); + my_file_buffer = yy_create_buffer(stdin,YY_BUF_SIZE); yy_switch_to_buffer(my_file_buffer); } @@ -4012,7 +4189,7 @@ void yynewfile(f) if (my_file_buffer != NULL) yy_delete_buffer(my_file_buffer); StringToLex = NULL; - my_file_buffer = yy_create_buffer(f, YY_BUF_SIZE); + my_file_buffer = yy_create_buffer(f,YY_BUF_SIZE); yy_switch_to_buffer(my_file_buffer); } #endif /*FLEX_SCANNER*/ @@ -4024,9 +4201,9 @@ int yywrap() /* Parse a move from the given string s */ /* ^ at start of pattern WON'T work here unless using flex */ -ChessMove yylexstr(boardIndex, s) - int boardIndex; - char *s; +ChessMove yylexstr(boardIndex, s, text, len) + int boardIndex, len; + char *s, *text; { ChessMove ret; char *oldStringToLex; @@ -4038,12 +4215,14 @@ ChessMove yylexstr(boardIndex, s) oldStringToLex = StringToLex; StringToLex = s; #ifdef FLEX_SCANNER - buffer = yy_create_buffer(stdin, YY_BUF_SIZE); + buffer = yy_create_buffer(stdin,YY_BUF_SIZE); oldBuffer = YY_CURRENT_BUFFER; yy_switch_to_buffer(buffer); #endif /*FLEX_SCANNER*/ - ret = (ChessMove) yylex(); + ret = (ChessMove) Myylex(); + strncpy(text, yy_text, len-1); // [HGM] vari: yy_text is not available to caller after buffer switch ?!? + text[len-1] = NULLCHAR; #ifdef FLEX_SCANNER if (oldBuffer != NULL) @@ -4054,3 +4233,24 @@ ChessMove yylexstr(boardIndex, s) return ret; } + +int Myylex() +{ // [HGM] wrapper for yylex, which treats nesting of parentheses + int symbol, nestingLevel = 0, i=0; + char *p; + static char buf[256*MSG_SIZ]; + buf[0] = NULLCHAR; + do { // eat away anything not at level 0 + symbol = yylex(); + if(symbol == Open) nestingLevel++; + if(nestingLevel) { // save all parsed text between (and including) the () + for(p=yytext; *p && i<256*MSG_SIZ-2;) buf[i++] = *p++; + buf[i] = NULLCHAR; + } + if(symbol == 0) break; // ran into EOF + if(symbol == Close) symbol = Comment, nestingLevel--; + } while(nestingLevel || symbol == Nothing); + yy_text = buf[0] ? buf : (char*)yytext; + return symbol; +} +