From 3884a6411e441e526d40e502215920f6d73dc67a Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 2 Apr 2008 12:40:26 +0000 Subject: Update canned lexer + parser. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4046 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/prebuilt/levcomp.lex.cc | 3142 ++++++++++++++++-------------- crawl-ref/source/prebuilt/levcomp.tab.cc | 1000 ++++++---- crawl-ref/source/prebuilt/levcomp.tab.h | 43 +- 3 files changed, 2308 insertions(+), 1877 deletions(-) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/prebuilt/levcomp.lex.cc b/crawl-ref/source/prebuilt/levcomp.lex.cc index 1a159b6e13..74e464f4ce 100644 --- a/crawl-ref/source/prebuilt/levcomp.lex.cc +++ b/crawl-ref/source/prebuilt/levcomp.lex.cc @@ -1,32 +1,93 @@ #line 2 "levcomp.lex.cc" -/* 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 4 "levcomp.lex.cc" + +#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 33 +#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 +/* end standard C headers. */ -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have . Non-C99 systems may or may not. */ + +#if __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 #endif +#include +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 */ -#ifdef __cplusplus +/* 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 -#include -#include +#endif /* ! FLEXINT_H */ -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS +#ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST @@ -35,34 +96,17 @@ #if __STDC__ -#define YY_USE_PROTOS #define YY_USE_CONST #endif /* __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 @@ -77,71 +121,88 @@ * 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. */ - + /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires + * access to the local variable yy_act. Since yyless() is a macro, it would break + * existing scanners that call yyless() from OUTSIDE yylex. + * One obvious solution it to make yy_act a global. I tried that, and saw + * a 5% performance hit in a non-yylineno scanner, because yy_act is + * normally declared as a register variable-- so it is not worth it. + */ + #define YY_LESS_LINENO(n) \ + do { \ + int yyl;\ + for ( yyl = n; yyl < yyleng; ++yyl )\ + if ( yytext[yyl] == '\n' )\ + --yylineno;\ + }while(0) + +/* 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 ) +#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; +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef unsigned int yy_size_t; +#endif +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; @@ -178,12 +239,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 @@ -197,28 +262,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 @@ -226,288 +301,199 @@ 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 ); + +static void yyensure_buffer_stack (void ); +static void yy_load_buffer_state (void ); +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); +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 ); -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 * )); +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 68 -#define YY_END_OF_BUFFER 69 -static yyconst short int yy_acclist[975] = +#define YY_NUM_RULES 69 +#define YY_END_OF_BUFFER 70 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_accept[936] = { 0, - 69, 67, 68, 65, 67, 68, 66, 68, 67, 68, - 63, 67, 68, 64, 67, 68, 67, 68, 67, 68, - 67, 68, 67, 68, 67, 68, 67, 68, 67, 68, - 67, 68, 67, 68, 67, 68, 67, 68, 67, 68, - 67, 68, 67, 68, 67, 68, 67, 68, 65, 67, - 68, 30, 67, 68, 32, 67, 68, 67, 68, 67, - 68, 67, 68, 67, 68, 67, 68, 67, 68, 68, - 6, 68, 68, 68, 4, 68, 2, 68, 3, 6, - 68, 68, 2, 68, 2, 4, 68, 2, 68, 2, - 68, 9, 68, 10, 68, 68, 9, 68, 9, 68, - - 68, 12, 68, 68, 67, 68, 26, 66, 68, 67, - 68, 63, 67, 68, 64, 67, 68, 67, 68, 67, - 68, 67, 68, 67, 68, 67, 68, 67, 68, 67, - 68, 67, 68, 67, 68, 67, 68, 67, 68, 67, - 68, 67, 68, 67, 68, 67, 68, 67, 68, 30, - 67, 68, 32, 67, 68, 67, 68, 67, 68, 67, - 68, 67, 68, 67, 68, 67, 68, 67, 68, 24, - 65, 67, 68, 21, 66, 68, 24, 67, 68, 23, - 63, 67, 68, 64, 67, 68, 67, 68, 67, 68, - 67, 68, 67, 68, 67, 68, 67, 68, 67, 68, - - 67, 68, 67, 68, 67, 68, 67, 68, 67, 68, - 67, 68, 67, 68, 67, 68, 67, 68, 24, 65, - 67, 68, 30, 67, 68, 32, 67, 68, 67, 68, - 67, 68, 67, 68, 67, 68, 67, 68, 67, 68, - 14, 65, 67, 68, 15, 66, 68, 67, 68, 13, - 67, 68, 13, 64, 67, 68, 13, 67, 68, 13, - 67, 68, 13, 67, 68, 13, 67, 68, 13, 67, - 68, 13, 67, 68, 13, 67, 68, 13, 67, 68, - 13, 67, 68, 13, 67, 68, 13, 67, 68, 13, - 67, 68, 13, 67, 68, 13, 67, 68, 13, 67, - - 68, 13, 67, 68, 14, 65, 67, 68, 13, 67, - 68, 13, 67, 68, 13, 67, 68, 13, 67, 68, - 13, 67, 68, 17, 68, 19, 68, 20, 68, 68, - 18, 68, 68, 29, 68, 68, 68, 65, 66, 64, - 65, 30, 32, 30, 35, 6, 5, 2, 3, 6, - 2, 5, 2, 2, 2, 2, 9, 9, 10, 9, - 9, 9, 11, 12, 25, 26, 66, 25, 64, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 70, 68, + 65, 66, 67, 63, 64, 68, 68, 68, 68, 68, + 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, + 68, 65, 30, 32, 68, 68, 68, 68, 68, 68, + 69, 6, 69, 69, 4, 2, 3, 69, 2, 2, + 2, 2, 9, 10, 69, 9, 9, 69, 12, 69, + 68, 26, 67, 63, 64, 68, 68, 68, 68, 68, + 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, + 68, 30, 32, 68, 68, 68, 68, 68, 68, 68, + + 24, 21, 24, 23, 64, 68, 68, 68, 68, 68, + 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, + 68, 24, 30, 32, 68, 68, 68, 68, 68, 68, + 14, 15, 67, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 14, 13, 13, 13, 13, 13, 17, 19, 20, + 69, 18, 69, 29, 69, 69, 65, 66, 64, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 65, 30, 32, 0, 0, 0, 0, 30, 0, + + 0, 0, 0, 0, 0, 0, 35, 6, 5, 0, + 0, 2, 3, 2, 0, 2, 2, 2, 2, 9, + 9, 10, 9, 9, 9, 0, 11, 0, 12, 25, + 0, 26, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 30, 30, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 30, 25, 25, 25, + 25, 25, 25, 25, 25, 0, 24, 21, 24, 21, + 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 24, 30, 0, 0, 0, 0, 0, - 25, 25, 35, 24, 65, 21, 24, 21, 66, 64, - 24, 65, 30, 35, 14, 65, 15, 15, 66, 13, - 13, 64, 13, 13, 13, 13, 13, 13, 13, 13, + 0, 0, 35, 14, 15, 0, 15, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 14, 65, 13, 13, 13, 13, - 13, 13, 13, 16, 19, 20, 28, 28, 29, 27, - 28, 2, 9, 9, 9, 7, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 14, 13, 13, 13, 13, 13, 13, 13, 16, + 0, 19, 20, 0, 0, 28, 0, 28, 0, 27, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2, 9, 9, 9, 7, 0, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 22, 22, 64, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 22, 22, + 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, - 22, 22, 22, 22, 22, 22, 30, 22, 22, 22, - 22, 22, 22, 22, 22, 13, 13, 13, 13, 13, + 22, 22, 22, 22, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 31, 2, 9, 8, - 9, 7, 8, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 13, 13, 13, 13, 13, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 25, 25, 22, 22, 22, 22, 22, 22, 22, 22, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 31, 0, 0, 0, 0, 0, 2, 9, 8, + 0, 9, 7, 0, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 0, + 0, 25, 25, 25, 25, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, - 22, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 0, 0, 22, 22, 22, 22, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 13, 13, 13, 56, - 55, 38, 47, 34, 2, 25, 25, 25, 25, 25, - 25, 25, 56, 25, 25, 25, 25, 25, 25, 25, - 55, 25, 38, 25, 25, 25, 25, 25, 25, 25, - 47, 25, 25, 25, 25, 34, 25, 25, 25, 22, - - 22, 22, 22, 22, 22, 22, 56, 22, 22, 22, - 22, 22, 22, 22, 55, 22, 38, 22, 22, 22, - 22, 22, 22, 22, 47, 22, 22, 22, 22, 34, - 22, 22, 22, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 40, 46, 59, 60, - 62, 61, 42, 50, 37, 1, 2, 25, 25, 25, - 25, 40, 25, 46, 25, 25, 59, 25, 60, 25, - 62, 25, 61, 25, 25, 25, 25, 25, 42, 25, - 25, 25, 50, 25, 25, 25, 25, 25, 25, 37, - - 22, 22, 22, 22, 40, 22, 46, 22, 22, 59, - 22, 60, 22, 62, 22, 61, 22, 22, 22, 22, - 22, 42, 22, 22, 22, 50, 22, 22, 22, 22, - 22, 22, 37, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 13, 13, 49, 44, - 52, 48, 57, 51, 41, 45, 1, 2, 25, 49, - 25, 44, 25, 52, 25, 25, 48, 25, 57, 25, - 51, 25, 41, 25, 25, 25, 45, 25, 25, 25, - 25, 22, 49, 22, 44, 22, 52, 22, 22, 48, - 22, 57, 22, 51, 22, 41, 22, 22, 22, 45, + 13, 13, 13, 13, 0, 0, 0, 0, 0, 0, + 56, 0, 0, 0, 0, 0, 0, 55, 38, 0, + 0, 0, 0, 0, 0, 47, 0, 0, 0, 34, + 0, 0, 0, 0, 2, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 0, 25, 22, 22, 22, 22, 22, + 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, + 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, - 22, 22, 22, 22, 13, 13, 13, 13, 13, 13, - 13, 54, 58, 43, 25, 25, 54, 25, 58, 25, - 43, 25, 25, 25, 22, 22, 54, 22, 58, 22, - 43, 22, 22, 22, 13, 13, 13, 53, 33, 25, - 53, 25, 25, 33, 25, 22, 53, 22, 22, 33, - 22, 13, 36, 25, 25, 36, 22, 22, 36, 13, - 25, 22, 13, 25, 22, 13, 25, 22, 13, 39, - 25, 39, 22, 39 - } ; + 22, 22, 22, 0, 22, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 0, 0, + 0, 40, 46, 0, 59, 60, 62, 61, 0, 0, + 0, 0, 42, 0, 0, 50, 0, 0, 0, 0, + 0, 37, 1, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 22, 22, 22, + 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, + 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, -static yyconst short int yy_accept[933] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 4, 7, 9, 11, 14, 17, 19, 21, 23, 25, - 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, - 47, 49, 52, 55, 58, 60, 62, 64, 66, 68, - 70, 71, 73, 74, 75, 77, 79, 82, 83, 85, - 88, 90, 92, 94, 96, 97, 99, 101, 102, 104, - 105, 107, 110, 112, 115, 118, 120, 122, 124, 126, - 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, - 148, 150, 153, 156, 158, 160, 162, 164, 166, 168, - - 170, 174, 177, 180, 184, 187, 189, 191, 193, 195, - 197, 199, 201, 203, 205, 207, 209, 211, 213, 215, - 217, 219, 223, 226, 229, 231, 233, 235, 237, 239, - 241, 245, 248, 250, 253, 257, 260, 263, 266, 269, - 272, 275, 278, 281, 284, 287, 290, 293, 296, 299, - 302, 305, 309, 312, 315, 318, 321, 324, 326, 328, - 330, 331, 333, 334, 336, 337, 338, 339, 340, 341, - 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, - 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, - 341, 341, 342, 343, 344, 344, 344, 344, 344, 345, - - 345, 345, 345, 345, 345, 345, 345, 346, 347, 348, - 348, 348, 349, 351, 353, 353, 354, 355, 356, 357, - 358, 359, 360, 361, 362, 363, 363, 364, 365, 366, - 366, 368, 370, 371, 372, 373, 374, 375, 376, 377, - 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, - 388, 389, 390, 391, 392, 394, 395, 396, 397, 398, - 399, 400, 401, 402, 404, 404, 406, 407, 408, 410, - 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, - 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, - 411, 411, 411, 413, 414, 414, 414, 414, 414, 414, - - 414, 414, 415, 417, 418, 418, 420, 421, 423, 424, - 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, - 445, 447, 448, 449, 450, 451, 452, 453, 454, 455, - 455, 456, 457, 457, 457, 458, 458, 460, 460, 462, - 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, - 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, - 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, - 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, - 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, - - 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 496, 497, 498, 499, 501, 502, - 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, - 523, 524, 525, 526, 528, 529, 530, 531, 532, 533, - 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, - 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, - 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, - 564, 565, 566, 567, 567, 567, 567, 567, 567, 567, - 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, - - 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, - 568, 568, 568, 568, 568, 568, 569, 570, 571, 572, - 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, - 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, - 594, 595, 596, 597, 598, 599, 599, 599, 600, 601, - 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, - 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, - 622, 623, 624, 625, 626, 627, 628, 628, 628, 629, - 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, - 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, - - 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, - 660, 660, 660, 660, 660, 660, 660, 661, 661, 661, - 661, 661, 661, 661, 662, 663, 663, 663, 663, 663, - 663, 663, 664, 664, 664, 664, 665, 665, 665, 665, - 665, 666, 667, 668, 669, 670, 671, 672, 674, 675, - 676, 677, 678, 679, 680, 682, 684, 685, 686, 687, - 688, 689, 690, 692, 693, 694, 695, 697, 698, 699, - 699, 700, 701, 702, 703, 704, 705, 706, 708, 709, - 710, 711, 712, 713, 714, 716, 718, 719, 720, 721, - 722, 723, 724, 726, 727, 728, 729, 731, 732, 733, - - 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, - 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, - 753, 754, 755, 756, 757, 757, 757, 757, 758, 759, - 759, 760, 761, 762, 763, 763, 763, 763, 763, 764, - 764, 764, 765, 765, 765, 765, 765, 765, 766, 768, - 769, 770, 771, 773, 775, 776, 778, 780, 782, 784, - 785, 786, 787, 788, 790, 791, 792, 794, 795, 796, - 797, 798, 799, 801, 802, 803, 804, 806, 808, 809, - 811, 813, 815, 817, 818, 819, 820, 821, 823, 824, - 825, 827, 828, 829, 830, 831, 832, 834, 835, 836, - - 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, - 847, 848, 849, 850, 851, 852, 852, 853, 854, 855, - 856, 856, 856, 857, 857, 857, 857, 857, 859, 861, - 863, 865, 866, 868, 870, 872, 874, 875, 876, 878, - 879, 880, 881, 882, 884, 886, 888, 889, 891, 893, - 895, 897, 898, 899, 901, 902, 903, 904, 905, 906, - 907, 908, 909, 910, 911, 912, 912, 913, 914, 915, - 915, 915, 915, 915, 916, 918, 920, 922, 923, 923, - 924, 925, 926, 928, 930, 932, 933, 933, 934, 935, - 936, 937, 938, 939, 939, 940, 940, 940, 942, 943, - - 945, 945, 946, 948, 949, 951, 951, 952, 953, 953, - 954, 955, 957, 958, 960, 961, 961, 962, 963, 964, - 964, 965, 966, 967, 967, 968, 969, 970, 971, 973, - 975, 975 + 22, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 49, 44, 52, 0, + 48, 57, 51, 41, 0, 0, 45, 0, 0, 0, + 0, 1, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 22, 22, 22, + 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, + 22, 22, 13, 13, 13, 13, 13, 13, 13, 0, + 54, 58, 43, 0, 0, 0, 0, 25, 25, 25, + 25, 25, 0, 25, 25, 22, 22, 22, 22, 22, + 0, 22, 22, 13, 13, 13, 53, 0, 33, 0, + + 0, 25, 25, 25, 0, 25, 22, 22, 22, 0, + 22, 13, 0, 36, 25, 25, 22, 22, 13, 0, + 25, 22, 13, 0, 25, 22, 13, 0, 25, 22, + 13, 39, 25, 22, 0 } ; -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, 4, 1, 1, 1, 1, 1, 1, 1, @@ -539,7 +525,7 @@ static yyconst int yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst int yy_meta[49] = +static yyconst flex_int32_t yy_meta[49] = { 0, 1, 2, 3, 4, 1, 1, 5, 6, 6, 1, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, @@ -548,768 +534,783 @@ static yyconst int yy_meta[49] = 6, 6, 6, 6, 6, 6, 1, 1 } ; -static yyconst short int yy_base[953] = +static yyconst flex_int16_t yy_base[957] = { 0, 0, 47, 55, 60, 52, 64, 47, 68, 112, 159, - 206, 253, 300, 347, 74, 80, 70, 159, 2320, 2321, - 87, 2321, 2316, 2321, 2309, 2301, 73, 2301, 2293, 2285, - 85, 2297, 85, 69, 2285, 2289, 2285, 81, 2298, 2293, - 2272, 393, 0, 2321, 155, 2261, 2263, 144, 135, 2257, - 2321, 2321, 2300, 168, 2321, 0, 2321, 2299, 172, 0, - 2277, 241, 2252, 2321, 2296, 135, 2250, 2294, 2321, 2293, - 184, 2321, 2292, 188, 192, 262, 268, 275, 354, 358, + 206, 253, 300, 347, 74, 80, 70, 159, 2350, 2351, + 87, 2351, 2346, 2351, 2339, 2331, 73, 2331, 2323, 2315, + 85, 2327, 85, 69, 2315, 2319, 2315, 81, 2328, 2323, + 2302, 393, 0, 2351, 155, 2291, 2293, 144, 135, 2287, + 2351, 2351, 2330, 168, 2351, 0, 2351, 2329, 172, 0, + 2307, 241, 2282, 2351, 2326, 135, 2280, 102, 2351, 2324, + 184, 2351, 2323, 188, 192, 262, 268, 275, 354, 358, 362, 367, 400, 405, 387, 375, 413, 417, 425, 283, 439, 444, 448, 452, 456, 460, 464, 471, 476, 0, - 480, 2321, 486, 2321, 2285, 2277, 243, 2277, 2269, 2261, - 246, 2273, 170, 246, 2261, 2265, 2261, 253, 2274, 2269, - 2248, 490, 102, 0, 174, 2237, 2239, 161, 256, 2233, - 494, 2321, 2276, 0, 2269, 2261, 257, 2261, 2253, 2245, - 489, 2257, 270, 340, 2245, 2249, 2245, 343, 2258, 2253, - 2232, 511, 371, 2221, 2223, 331, 373, 418, 515, 2321, - 2261, 2321, 352, 2321, 410, 519, 426, 2321, 2254, 2240, - 2250, 2238, 2233, 401, 2243, 2242, 2227, 426, 2233, 2227, - 2229, 2229, 2221, 2231, 2238, 2235, 2217, 2234, 2228, 448, - 2208, 0, 0, 2321, 2198, 2200, 476, 2191, 0, 374, - - 2201, 2198, 2221, 436, 2183, 2177, 2321, 2321, 2321, 2217, - 522, 0, 2321, 0, 2211, 525, 2196, 2185, 457, 2160, - 2154, 2321, 488, 2148, 530, 2188, 2321, 2321, 535, 539, - 2321, 543, 551, 555, 559, 563, 572, 567, 583, 588, - 597, 601, 605, 609, 614, 622, 626, 636, 644, 649, - 654, 658, 663, 667, 672, 676, 682, 686, 690, 694, - 708, 702, 712, 716, 544, 724, 2321, 730, 2321, 634, - 735, 589, 737, 741, 610, 668, 743, 695, 750, 742, - 758, 748, 760, 659, 768, 766, 776, 764, 774, 786, - 788, 790, 0, 794, 795, 800, 804, 806, 811, 810, - - 818, 822, 826, 2321, 2182, 2321, 0, 2175, 2151, 2161, - 2149, 2134, 559, 2104, 2103, 2088, 609, 2091, 2085, 2081, - 2081, 2070, 2080, 2084, 2078, 2060, 2077, 2067, 813, 2042, - 0, 553, 2040, 2027, 2049, 511, 2019, 2010, 835, 836, - 840, 2321, 2049, 572, 2321, 845, 2321, 850, 2321, 2014, - 2000, 1981, 1973, 1981, 1971, 1968, 1963, 1955, 1937, 1928, - 1933, 1921, 1910, 1917, 1894, 1887, 1884, 1869, 1873, 1848, - 1841, 1844, 1844, 1820, 854, 856, 1801, 1810, 1793, 1771, - 1786, 861, 865, 869, 2321, 874, 882, 886, 890, 895, - 900, 916, 922, 926, 930, 938, 942, 946, 950, 955, - - 959, 964, 970, 980, 984, 988, 992, 1000, 1005, 1009, - 1019, 1023, 1027, 1031, 1035, 1039, 878, 905, 1001, 891, - 1043, 1045, 1044, 1050, 975, 1049, 1054, 971, 1060, 1075, - 1062, 1076, 1080, 896, 1085, 1086, 1087, 1091, 1092, 1096, - 1100, 1101, 1107, 1111, 1120, 1124, 1125, 1126, 1130, 1131, - 1132, 1137, 1794, 1774, 1763, 1753, 1752, 1740, 1738, 1746, - 1741, 1724, 1719, 1728, 1712, 1704, 1713, 1710, 1706, 1704, - 1688, 1689, 1672, 1667, 1674, 1674, 1641, 1141, 1143, 1634, - 1643, 1622, 1597, 1603, 1598, 1580, 1576, 1560, 1552, 1563, - 1540, 1542, 1536, 1527, 1533, 1524, 1519, 1518, 1487, 1487, - - 1492, 1490, 1481, 1467, 1482, 1468, 1460, 1436, 1148, 2321, - 1153, 1428, 1426, 1422, 1154, 1443, 1158, 2321, 1163, 2321, - 1171, 1176, 1180, 1189, 1193, 1200, 1210, 1214, 1221, 1226, - 1230, 1234, 1244, 1250, 1259, 1263, 1268, 1272, 1276, 1280, - 1293, 1297, 1301, 1306, 1310, 1321, 1316, 1325, 1330, 1334, - 1338, 1240, 1281, 1194, 1235, 1181, 1339, 1343, 1288, 1344, - 1349, 1345, 1311, 1354, 1355, 1369, 1356, 1375, 1376, 1381, - 1385, 1387, 1393, 1391, 1167, 1395, 1402, 1406, 1408, 1412, - 1410, 1416, 1431, 1434, 1409, 1420, 1397, 1379, 1392, 1359, - 1359, 1355, 1336, 1345, 1337, 1327, 1323, 1281, 1280, 1285, - - 1275, 1263, 1246, 1261, 1248, 1237, 1211, 1205, 1207, 1417, - 1205, 1214, 1195, 1207, 1203, 1195, 2321, 1193, 1177, 1169, - 1157, 1134, 1130, 2321, 2321, 1120, 1118, 1128, 1096, 1097, - 1101, 2321, 1081, 1053, 1033, 2321, 1037, 1030, 1418, 1011, - 1027, 1422, 1426, 1431, 1441, 1457, 1464, 1468, 1474, 1478, - 1485, 1489, 1496, 1500, 1504, 1508, 1512, 1516, 1521, 1528, - 1532, 1538, 1542, 1547, 1554, 1558, 1562, 1566, 1570, 1576, - 1580, 1432, 1427, 1447, 1581, 1585, 1591, 1517, 1596, 1597, - 1603, 1607, 1533, 1587, 1613, 1614, 1619, 1620, 1624, 1626, - 1628, 1630, 1634, 1636, 1640, 1641, 1642, 1650, 1652, 1651, - - 1656, 1010, 1019, 1003, 1016, 1009, 1002, 998, 985, 981, - 977, 953, 938, 927, 920, 935, 913, 915, 926, 900, - 900, 883, 882, 856, 871, 865, 863, 2321, 2321, 844, - 2321, 2321, 2321, 2321, 855, 850, 841, 836, 2321, 814, - 810, 2321, 809, 803, 770, 769, 740, 2321, 777, 1662, - 1666, 1673, 1677, 1684, 1688, 1692, 1697, 1702, 1706, 1710, - 1714, 1721, 1725, 1732, 1736, 1740, 1744, 1749, 1758, 1762, - 1766, 1770, 1774, 1775, 1779, 1781, 1657, 1745, 1785, 1790, - 1791, 1792, 1797, 1798, 1802, 1811, 1813, 1815, 1817, 1822, - 1823, 1824, 1828, 1830, 1836, 1840, 1842, 770, 764, 744, - - 724, 728, 726, 720, 713, 700, 700, 701, 687, 657, - 658, 611, 2321, 2321, 2321, 628, 2321, 2321, 2321, 2321, - 634, 632, 2321, 619, 617, 1844, 561, 590, 1846, 1850, - 1854, 1858, 1862, 1868, 1873, 1877, 1883, 1890, 1894, 1899, - 1903, 1908, 1912, 1863, 1881, 1913, 1917, 1918, 1919, 1923, - 1924, 1925, 1931, 1929, 1935, 1941, 1946, 1948, 564, 552, - 548, 540, 534, 1952, 503, 500, 2321, 2321, 2321, 469, - 1954, 439, 1956, 1958, 1962, 1967, 1971, 1975, 1980, 1984, - 1990, 1995, 1976, 1985, 2002, 2006, 2008, 2010, 2012, 461, - 421, 2014, 2321, 410, 2321, 2016, 377, 2018, 2030, 2024, - - 2034, 2039, 2028, 2040, 2044, 2045, 2046, 340, 324, 2321, - 2062, 2066, 2067, 2051, 309, 253, 2072, 2077, 216, 166, - 2083, 2078, 142, 95, 2092, 2096, 59, 2321, 2105, 2109, - 2321, 2121, 2127, 2133, 2139, 2145, 2151, 2157, 2163, 2169, - 2175, 2181, 2187, 2193, 2199, 2205, 2211, 48, 2217, 2223, - 2229, 2235 + 480, 2351, 486, 2351, 2316, 2308, 243, 2308, 2300, 2292, + 246, 2304, 170, 246, 2292, 2296, 2292, 253, 2305, 2300, + 2279, 490, 347, 0, 174, 2268, 2270, 161, 256, 2264, + 494, 2351, 2307, 0, 2300, 2292, 257, 2292, 2284, 2276, + 489, 2288, 270, 354, 2276, 2280, 2276, 343, 2289, 2284, + 2263, 511, 395, 2252, 2254, 332, 391, 426, 515, 2351, + 2292, 2351, 381, 2351, 405, 522, 440, 2351, 2285, 2271, + 2281, 2269, 2264, 461, 2274, 2273, 2258, 510, 2264, 2258, + 2260, 2260, 2252, 2262, 2269, 2266, 2248, 2265, 2259, 448, + 2239, 0, 0, 2351, 2229, 2231, 476, 2225, 0, 374, + + 2238, 2235, 2258, 428, 2229, 2223, 2351, 2351, 2351, 2260, + 525, 0, 2351, 0, 2256, 528, 2244, 2233, 353, 2199, + 2198, 2351, 491, 2197, 538, 533, 2351, 2236, 2351, 542, + 546, 2351, 551, 557, 561, 565, 569, 573, 578, 586, + 592, 598, 602, 606, 610, 614, 623, 627, 634, 638, + 645, 650, 654, 659, 663, 668, 672, 678, 682, 686, + 690, 704, 698, 708, 712, 498, 720, 2351, 726, 2351, + 639, 731, 547, 733, 587, 737, 615, 664, 691, 738, + 739, 749, 754, 762, 655, 755, 764, 766, 768, 775, + 779, 781, 786, 0, 788, 792, 797, 799, 803, 804, + + 805, 810, 811, 821, 2351, 2232, 2351, 0, 2225, 2211, + 2216, 2199, 2184, 574, 2194, 2183, 2168, 686, 2174, 2158, + 2119, 2118, 2110, 2120, 2127, 2124, 2106, 2123, 2117, 798, + 2095, 0, 692, 2091, 2088, 2111, 436, 2060, 2054, 826, + 827, 833, 2351, 2086, 573, 2351, 837, 2351, 846, 2351, + 2074, 2059, 2054, 2049, 2047, 2035, 2036, 2032, 2016, 1994, + 1993, 2001, 1978, 1967, 1975, 1974, 1967, 1961, 1945, 1944, + 1931, 1900, 1907, 1906, 1879, 853, 841, 1872, 1876, 1855, + 1845, 1858, 857, 861, 868, 2351, 872, 878, 882, 888, + 892, 897, 906, 913, 918, 922, 928, 936, 940, 944, + + 948, 953, 957, 962, 968, 978, 982, 986, 990, 998, + 1003, 1007, 1017, 1021, 1025, 1029, 1033, 1037, 893, 898, + 923, 969, 999, 1041, 1042, 1047, 973, 1043, 1048, 1008, + 1055, 1056, 1060, 1064, 1071, 1073, 1078, 1082, 1086, 1092, + 1094, 1096, 1098, 1100, 1104, 1112, 1123, 1116, 1118, 1127, + 1128, 1129, 1133, 1138, 1866, 1849, 1836, 1827, 1838, 1811, + 1807, 1818, 1808, 1785, 1783, 1783, 1769, 1758, 1767, 1769, + 1762, 1755, 1743, 1742, 1729, 1725, 1730, 1733, 1709, 1142, + 1146, 1699, 1706, 1683, 1680, 1695, 1695, 1665, 1676, 1662, + 1656, 1671, 1636, 1635, 1632, 1607, 1614, 1615, 1610, 1605, + + 1578, 1580, 1584, 1577, 1568, 1551, 1566, 1550, 1541, 1516, + 1156, 2351, 1160, 1503, 1495, 1505, 1162, 1515, 1171, 2351, + 1177, 1181, 2351, 1185, 1193, 1164, 1197, 1210, 1216, 1220, + 1201, 1228, 1232, 1237, 1241, 1246, 1257, 1263, 1272, 1276, + 1281, 1285, 1289, 1293, 1306, 1310, 1314, 1319, 1323, 1334, + 1329, 1338, 1343, 1347, 1351, 1221, 1247, 1324, 1355, 1189, + 1356, 1357, 1211, 1294, 1301, 1251, 1361, 1367, 1369, 1382, + 1375, 1384, 1389, 1388, 1394, 1395, 1404, 1400, 1410, 1411, + 1417, 1421, 1423, 1427, 1425, 1429, 1505, 1505, 1484, 1490, + 1479, 1476, 1486, 1463, 1463, 1464, 1447, 1450, 1451, 1452, + + 1448, 1425, 1425, 1430, 1430, 1422, 1388, 1401, 1389, 1370, + 1330, 1325, 1331, 1431, 1336, 1335, 1319, 1331, 1320, 1300, + 2351, 1297, 1291, 1282, 1278, 1256, 1248, 2351, 2351, 1242, + 1241, 1256, 1239, 1232, 1225, 2351, 1202, 1185, 1165, 2351, + 1166, 1163, 1435, 1145, 1144, 1437, 1442, 1446, 1450, 1459, + 1475, 1479, 1485, 1489, 1496, 1500, 1507, 1511, 1515, 1519, + 1523, 1527, 1532, 1539, 1543, 1549, 1553, 1558, 1565, 1569, + 1573, 1577, 1581, 1587, 1591, 1469, 1592, 1596, 1600, 1607, + 1611, 1528, 1616, 1617, 1623, 1627, 1544, 1634, 1598, 1638, + 1639, 1640, 1644, 1645, 1650, 1646, 1655, 1657, 1661, 1662, + + 1669, 1671, 1673, 1675, 1677, 1128, 1140, 1127, 1140, 1139, + 1129, 1131, 1126, 1102, 1101, 1082, 1077, 1061, 1060, 1072, + 1049, 1034, 1041, 1003, 1005, 978, 972, 964, 979, 975, + 969, 2351, 2351, 938, 2351, 2351, 2351, 2351, 944, 937, + 933, 929, 2351, 913, 904, 2351, 902, 889, 847, 850, + 837, 2351, 874, 1683, 1687, 1694, 1698, 1705, 1709, 1713, + 1721, 1725, 1731, 1735, 1739, 1746, 1750, 1757, 1761, 1765, + 1769, 1774, 1783, 1787, 1791, 1795, 1799, 1800, 1804, 1806, + 1714, 1726, 1810, 1770, 1815, 1816, 1817, 1822, 1823, 1832, + 1836, 1838, 1842, 1843, 1847, 1849, 1848, 1855, 1860, 1864, + + 1865, 858, 857, 843, 827, 835, 823, 811, 801, 767, + 767, 762, 750, 714, 715, 702, 2351, 2351, 2351, 723, + 2351, 2351, 2351, 2351, 724, 722, 2351, 716, 699, 1866, + 663, 684, 1870, 1874, 1878, 1882, 1886, 1892, 1896, 1901, + 1905, 1912, 1916, 1921, 1925, 1930, 1934, 1887, 1935, 1939, + 1940, 1941, 1945, 1946, 1947, 1951, 1953, 1952, 1962, 1963, + 1968, 1973, 613, 616, 612, 571, 560, 1974, 529, 547, + 2351, 2351, 2351, 511, 1978, 491, 1979, 1983, 1987, 1992, + 1996, 2000, 2005, 2009, 2014, 2018, 2001, 2022, 2027, 2028, + 2033, 2034, 2035, 512, 476, 2039, 2351, 420, 2351, 2040, + + 376, 2044, 2049, 2053, 2061, 2065, 2045, 2066, 2070, 2071, + 2072, 377, 333, 2351, 2086, 2090, 2091, 2095, 309, 253, + 2100, 2101, 216, 166, 2105, 2109, 142, 99, 2111, 2115, + 59, 2351, 2124, 2128, 2351, 2146, 2152, 2158, 2164, 2170, + 2176, 2182, 2188, 2194, 2200, 2206, 2212, 2218, 2224, 2230, + 2236, 48, 2242, 2248, 2254, 2260 } ; -static yyconst short int yy_def[953] = +static yyconst flex_int16_t yy_def[957] = { 0, - 931, 1, 932, 933, 934, 934, 935, 935, 931, 9, - 931, 11, 931, 13, 936, 936, 937, 937, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 938, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 939, 931, 940, 931, 931, 941, 940, - 940, 940, 942, 931, 931, 942, 942, 943, 931, 931, - 944, 931, 931, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 945, 944, 944, 944, 944, 944, 944, 944, 946, - - 931, 931, 931, 931, 946, 946, 946, 946, 946, 946, - 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, - 946, 42, 947, 946, 946, 946, 946, 946, 946, 946, - 931, 931, 931, 948, 948, 948, 948, 948, 948, 948, + 935, 1, 936, 937, 938, 938, 939, 939, 935, 9, + 935, 11, 935, 13, 940, 940, 941, 941, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 942, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 943, 935, 944, 935, 935, 945, 944, + 944, 944, 946, 935, 935, 946, 946, 947, 935, 935, + 948, 935, 935, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, - 948, 42, 948, 948, 948, 948, 948, 949, 931, 931, - 931, 931, 950, 931, 950, 950, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 42, 938, 931, 931, 931, 931, 931, 938, 931, - - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 940, 931, 940, 931, 940, 940, 940, 940, 942, - 942, 931, 942, 942, 942, 943, 931, 931, 944, 944, - 931, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 945, 945, 944, 944, 944, 944, - 944, 944, 944, 944, 951, 931, 931, 931, 931, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 122, 952, 951, 951, 951, 951, 951, 951, - - 951, 951, 931, 931, 931, 931, 948, 948, 948, 948, + 948, 949, 948, 948, 948, 948, 948, 948, 948, 950, + + 935, 935, 935, 935, 950, 950, 950, 950, 950, 950, + 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, + 950, 42, 951, 950, 950, 950, 950, 950, 950, 950, + 935, 935, 935, 952, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 42, 952, 952, 952, 952, 952, 953, 935, 935, + 935, 935, 954, 935, 954, 954, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 42, 942, 935, 935, 935, 935, 935, 942, 935, + + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 944, 935, 944, 935, 944, 944, 944, 944, 946, + 946, 935, 946, 946, 946, 947, 935, 935, 935, 948, + 948, 935, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, + 948, 948, 948, 948, 948, 949, 949, 948, 948, 948, + 948, 948, 948, 948, 948, 955, 935, 935, 935, 935, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 122, 956, 955, 955, 955, 955, 955, + + 955, 955, 955, 935, 935, 935, 935, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 152, 952, 952, 952, 952, 952, 952, 952, 953, + 953, 935, 935, 935, 954, 935, 954, 935, 954, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 944, 946, 946, 946, 935, 935, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, - 152, 948, 948, 948, 948, 948, 948, 948, 949, 949, - 931, 931, 931, 950, 931, 950, 931, 950, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 940, 942, 942, 942, 931, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 952, 951, 951, 951, 951, 951, 951, - 951, 951, 948, 948, 948, 948, 948, 948, 948, 948, + 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, + 948, 948, 948, 948, 948, 948, 948, 948, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 956, 955, 955, 955, 955, + 955, 955, 955, 955, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 944, 946, 935, + 935, 946, 935, 935, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, - 948, 948, 948, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 940, 942, 931, 942, 931, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, - + 948, 948, 948, 948, 948, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 944, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 940, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - - 951, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, - 948, 948, 948, 948, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 940, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 948, 948, 948, - + 948, 948, 948, 948, 948, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + + 955, 955, 955, 955, 955, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 952, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 944, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, - 948, 948, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 940, 944, 944, - 944, 944, 944, 944, 944, 944, 944, 944, 944, 944, - 944, 944, 944, 951, 951, 951, 951, 951, 951, 951, - 951, 951, 951, 951, 951, 951, 951, 951, 948, 948, - 948, 948, 948, 948, 948, 931, 931, 931, 931, 931, - 931, 931, 931, 944, 944, 944, 944, 944, 944, 944, - 944, 951, 951, 951, 951, 951, 951, 951, 951, 948, - 948, 948, 931, 931, 931, 931, 931, 944, 944, 944, - - 944, 944, 951, 951, 951, 951, 951, 948, 931, 931, - 944, 944, 951, 951, 948, 931, 944, 951, 948, 931, - 944, 951, 948, 931, 944, 951, 948, 931, 944, 951, - 0, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931 + 948, 948, 948, 948, 948, 948, 948, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + + 955, 952, 952, 952, 952, 952, 952, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 944, 948, 948, 948, 948, 948, 948, 948, 948, + 948, 948, 948, 948, 948, 948, 948, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, + 955, 955, 952, 952, 952, 952, 952, 952, 952, 935, + 935, 935, 935, 935, 935, 935, 935, 948, 948, 948, + 948, 948, 948, 948, 948, 955, 955, 955, 955, 955, + 955, 955, 955, 952, 952, 952, 935, 935, 935, 935, + + 935, 948, 948, 948, 948, 948, 955, 955, 955, 955, + 955, 952, 935, 935, 948, 948, 955, 955, 952, 935, + 948, 955, 952, 935, 948, 955, 952, 935, 948, 955, + 952, 935, 948, 955, 0, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935 } ; -static yyconst short int yy_nxt[2370] = +static yyconst flex_int16_t yy_nxt[2400] = { 0, 20, 21, 22, 23, 21, 20, 24, 20, 25, 20, 20, 26, 27, 28, 20, 29, 20, 20, 30, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 20, 40, 20, 20, 41, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 42, 69, - 70, 42, 43, 307, 64, 65, 44, 52, 53, 54, - 55, 51, 57, 58, 59, 60, 64, 65, 928, 45, + 70, 42, 43, 308, 64, 65, 44, 52, 53, 54, + 55, 51, 57, 58, 59, 60, 64, 65, 932, 45, 69, 70, 164, 165, 61, 159, 160, 161, 159, 182, 162, 159, 160, 161, 159, 46, 162, 47, 167, 48, 171, 167, 49, 50, 66, 180, 183, 172, 187, 67, - 176, 166, 62, 177, 928, 199, 66, 178, 199, 181, + 176, 166, 62, 177, 227, 228, 66, 178, 932, 181, 188, 67, 71, 21, 72, 73, 21, 71, 74, 71, 75, 71, 71, 76, 77, 78, 71, 79, 71, 71, 80, 71, 81, 82, 83, 84, 85, 86, 87, 88, 89, 71, 90, 71, 71, 91, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 42, 164, 165, 42, 92, 200, 203, 205, 93, 206, - 208, 210, 211, 209, 213, 215, 216, 223, 927, 181, - 281, 94, 224, 298, 295, 230, 204, 230, 230, 230, - 166, 230, 230, 230, 282, 230, 230, 95, 282, 96, + 208, 210, 211, 209, 213, 215, 216, 223, 931, 181, + 282, 94, 224, 299, 296, 231, 204, 231, 231, 231, + 166, 231, 231, 231, 283, 231, 231, 95, 283, 96, - 232, 97, 924, 299, 98, 99, 100, 101, 102, 103, + 233, 97, 928, 300, 98, 99, 100, 101, 102, 103, 101, 100, 104, 100, 105, 100, 100, 106, 107, 108, 100, 109, 100, 100, 110, 100, 111, 112, 113, 114, 115, 116, 117, 118, 119, 100, 120, 100, 100, 121, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, - 100, 100, 100, 100, 122, 218, 283, 122, 123, 923, - 272, 277, 124, 230, 278, 230, 230, 273, 279, 230, - 288, 230, 230, 284, 310, 125, 230, 233, 230, 230, - 319, 311, 289, 219, 230, 234, 230, 230, 300, 236, - 301, 126, 235, 127, 320, 128, 920, 253, 129, 130, + 100, 100, 100, 100, 122, 218, 284, 122, 123, 927, + 273, 278, 124, 231, 279, 231, 231, 274, 280, 231, + 289, 231, 231, 285, 311, 125, 231, 234, 231, 231, + 320, 312, 290, 219, 231, 235, 231, 231, 301, 237, + 302, 126, 236, 127, 321, 128, 924, 254, 129, 130, 20, 131, 132, 133, 131, 20, 24, 134, 135, 20, 134, 136, 137, 138, 134, 139, 134, 134, 140, 134, 141, 142, 143, 144, 145, 146, 147, 148, 149, 134, 150, 20, 134, 151, 134, 134, 134, 134, 134, 134, - 134, 134, 134, 134, 134, 134, 20, 20, 152, 919, - 321, 152, 43, 335, 345, 230, 44, 230, 230, 230, - 326, 230, 230, 230, 916, 230, 230, 322, 230, 153, - 230, 230, 327, 336, 915, 237, 230, 239, 230, 230, - 240, 332, 242, 346, 241, 154, 238, 155, 230, 156, - 230, 230, 157, 50, 192, 320, 248, 192, 193, 375, - - 362, 230, 194, 230, 230, 337, 230, 338, 230, 230, - 243, 354, 347, 247, 230, 245, 230, 230, 230, 340, - 230, 230, 340, 910, 244, 355, 230, 167, 230, 230, - 167, 195, 246, 196, 250, 252, 359, 249, 197, 198, - 230, 346, 230, 230, 909, 256, 251, 256, 256, 230, - 360, 230, 230, 230, 908, 230, 230, 230, 203, 230, - 230, 230, 257, 230, 230, 230, 372, 230, 230, 373, - 893, 218, 230, 254, 230, 230, 244, 230, 204, 230, - 230, 266, 267, 268, 266, 895, 260, 268, 269, 268, - 268, 293, 267, 268, 293, 303, 304, 305, 303, 219, - - 258, 259, 894, 262, 315, 263, 261, 316, 205, 893, - 206, 317, 331, 304, 305, 331, 341, 342, 343, 341, - 348, 349, 264, 348, 208, 210, 211, 213, 215, 216, - 223, 384, 385, 335, 384, 224, 230, 892, 230, 230, - 230, 891, 230, 230, 230, 265, 230, 230, 265, 869, - 346, 232, 230, 336, 230, 230, 230, 868, 230, 230, - 230, 867, 230, 230, 230, 387, 230, 230, 230, 457, - 230, 230, 386, 230, 345, 230, 230, 382, 478, 465, - 388, 392, 390, 458, 230, 890, 230, 230, 389, 230, - 265, 230, 230, 265, 828, 873, 391, 393, 230, 420, - - 230, 230, 230, 346, 230, 230, 230, 395, 230, 230, - 230, 265, 230, 230, 265, 230, 394, 230, 230, 462, - 423, 396, 397, 230, 870, 230, 230, 230, 869, 230, - 230, 398, 399, 463, 424, 265, 400, 230, 265, 230, - 230, 868, 418, 867, 402, 230, 403, 230, 230, 866, - 230, 401, 230, 230, 865, 230, 404, 230, 230, 230, - 265, 230, 230, 265, 230, 406, 230, 230, 230, 265, - 230, 230, 265, 256, 407, 256, 256, 256, 405, 256, - 256, 408, 425, 230, 409, 230, 230, 230, 434, 230, - 230, 230, 864, 230, 230, 230, 265, 230, 230, 265, - - 863, 862, 410, 230, 414, 230, 230, 411, 398, 230, - 823, 230, 230, 230, 861, 230, 230, 230, 412, 230, - 230, 860, 820, 427, 413, 266, 267, 268, 266, 819, - 260, 268, 267, 268, 268, 818, 265, 817, 265, 265, - 415, 265, 265, 265, 265, 265, 265, 265, 859, 265, - 261, 265, 265, 815, 265, 416, 419, 426, 421, 265, - 428, 265, 265, 430, 265, 265, 422, 265, 265, 265, - 265, 432, 265, 814, 429, 265, 436, 265, 265, 813, - 265, 828, 433, 827, 431, 439, 435, 265, 437, 265, - 265, 265, 265, 438, 265, 294, 265, 199, 294, 265, - - 199, 265, 440, 826, 265, 265, 441, 265, 265, 442, - 265, 265, 265, 825, 265, 265, 448, 824, 823, 265, - 445, 431, 265, 265, 822, 443, 265, 303, 304, 305, - 303, 475, 446, 449, 476, 821, 340, 340, 447, 340, - 340, 341, 342, 343, 341, 820, 348, 349, 451, 348, - 819, 348, 349, 450, 348, 509, 510, 511, 509, 818, - 511, 452, 517, 518, 817, 517, 519, 520, 816, 519, - 384, 385, 815, 384, 814, 230, 346, 230, 230, 265, - 813, 346, 265, 230, 521, 230, 230, 230, 812, 230, - 230, 230, 265, 230, 230, 265, 230, 265, 230, 230, - - 265, 230, 512, 230, 230, 522, 265, 567, 382, 265, - 523, 525, 382, 418, 553, 811, 221, 230, 524, 230, - 230, 810, 809, 230, 526, 230, 230, 230, 808, 230, - 230, 230, 528, 230, 230, 742, 807, 806, 527, 230, - 529, 230, 230, 230, 739, 230, 230, 230, 805, 230, - 230, 230, 532, 230, 230, 804, 230, 530, 230, 230, - 230, 531, 230, 230, 803, 230, 533, 230, 230, 535, - 536, 230, 265, 230, 230, 265, 265, 534, 537, 265, - 802, 230, 538, 230, 230, 230, 734, 230, 230, 230, - 733, 230, 230, 230, 732, 230, 230, 558, 561, 540, - - 539, 230, 265, 230, 230, 265, 230, 731, 230, 230, - 230, 552, 230, 230, 801, 541, 543, 544, 729, 542, - 546, 510, 230, 546, 547, 728, 230, 547, 230, 800, - 230, 230, 230, 799, 230, 230, 230, 798, 230, 230, - 230, 545, 230, 230, 265, 265, 265, 265, 265, 265, - 265, 265, 749, 265, 265, 265, 411, 748, 265, 559, - 556, 265, 747, 265, 265, 549, 265, 554, 560, 548, - 746, 745, 550, 555, 557, 744, 265, 265, 551, 265, - 265, 265, 564, 562, 265, 563, 265, 265, 265, 265, - 265, 265, 265, 265, 566, 265, 265, 265, 569, 568, - - 265, 265, 265, 565, 265, 265, 571, 570, 265, 743, - 742, 265, 294, 575, 199, 294, 574, 199, 741, 572, - 740, 577, 510, 573, 577, 578, 265, 265, 578, 265, - 265, 265, 265, 265, 265, 265, 265, 739, 265, 576, - 448, 265, 509, 510, 511, 509, 738, 511, 737, 509, - 510, 445, 509, 449, 511, 639, 736, 511, 639, 517, - 518, 735, 517, 580, 519, 520, 734, 519, 265, 581, - 579, 265, 230, 450, 230, 230, 582, 230, 733, 230, - 230, 230, 265, 230, 230, 265, 732, 642, 643, 512, - 230, 695, 230, 230, 230, 265, 230, 230, 265, 512, - - 640, 230, 731, 230, 230, 221, 645, 730, 676, 644, - 221, 230, 729, 230, 230, 230, 728, 230, 230, 648, - 646, 727, 230, 674, 230, 230, 647, 230, 726, 230, - 230, 230, 725, 230, 230, 230, 265, 230, 230, 265, - 724, 265, 649, 650, 265, 230, 651, 230, 230, 723, - 653, 230, 675, 230, 230, 722, 672, 652, 654, 655, - 230, 721, 230, 230, 230, 720, 230, 230, 656, 230, - 632, 230, 230, 230, 719, 230, 230, 230, 718, 230, - 230, 230, 265, 230, 230, 265, 659, 717, 660, 265, - 657, 658, 265, 673, 230, 661, 230, 230, 230, 716, - - 230, 230, 230, 715, 230, 230, 663, 230, 714, 230, - 230, 230, 265, 230, 230, 265, 679, 547, 664, 230, - 547, 662, 546, 510, 230, 546, 230, 683, 230, 230, - 665, 230, 625, 230, 230, 230, 624, 230, 230, 670, - 265, 230, 670, 265, 265, 265, 265, 265, 265, 265, - 265, 713, 678, 265, 666, 265, 265, 265, 265, 265, - 265, 712, 548, 711, 685, 677, 680, 669, 684, 681, - 265, 667, 682, 265, 668, 710, 265, 265, 686, 265, - 265, 709, 265, 687, 671, 265, 265, 708, 265, 265, - 689, 265, 265, 690, 265, 265, 265, 265, 688, 265, - - 691, 617, 693, 577, 510, 707, 577, 578, 694, 265, - 578, 265, 265, 265, 265, 692, 265, 700, 639, 639, - 700, 639, 639, 230, 706, 230, 230, 230, 265, 230, - 230, 265, 230, 265, 230, 230, 265, 705, 704, 696, - 751, 775, 230, 699, 230, 230, 703, 702, 265, 750, - 753, 265, 579, 641, 697, 638, 698, 752, 230, 774, - 230, 230, 701, 640, 640, 230, 754, 230, 230, 230, - 637, 230, 230, 776, 636, 230, 755, 230, 230, 230, - 635, 230, 230, 756, 634, 633, 230, 757, 230, 230, - 230, 632, 230, 230, 758, 631, 630, 230, 759, 230, - - 230, 230, 629, 230, 230, 230, 628, 230, 230, 230, - 627, 230, 230, 230, 626, 230, 230, 230, 265, 230, - 230, 265, 230, 760, 230, 230, 761, 625, 624, 230, - 764, 230, 230, 230, 265, 230, 230, 265, 623, 230, - 762, 230, 230, 230, 763, 230, 230, 767, 230, 622, - 230, 230, 765, 766, 621, 230, 620, 230, 230, 230, - 784, 230, 230, 230, 619, 230, 230, 230, 618, 230, - 230, 230, 617, 230, 230, 768, 769, 670, 616, 230, - 670, 230, 265, 230, 230, 265, 265, 615, 265, 265, - 777, 265, 265, 614, 778, 265, 770, 265, 265, 771, - - 265, 265, 772, 779, 265, 780, 781, 265, 265, 613, - 612, 265, 782, 785, 265, 265, 783, 265, 265, 611, - 265, 265, 671, 265, 265, 265, 773, 265, 265, 265, - 265, 265, 265, 788, 265, 265, 610, 265, 265, 791, - 265, 265, 265, 265, 265, 265, 265, 786, 787, 790, - 789, 265, 700, 265, 265, 700, 265, 265, 265, 609, - 265, 265, 793, 230, 792, 230, 230, 230, 478, 230, - 230, 829, 608, 607, 230, 830, 230, 230, 230, 794, - 230, 230, 831, 795, 796, 230, 606, 230, 230, 230, - 605, 230, 230, 230, 604, 230, 230, 701, 230, 603, - - 230, 230, 797, 230, 602, 230, 230, 230, 601, 230, - 230, 230, 832, 230, 230, 230, 600, 230, 230, 833, - 599, 598, 230, 834, 230, 230, 230, 597, 230, 230, - 835, 596, 595, 230, 836, 230, 230, 230, 594, 230, - 230, 230, 593, 230, 230, 230, 265, 230, 230, 265, - 230, 592, 230, 230, 838, 591, 590, 837, 839, 230, - 589, 230, 230, 230, 588, 230, 230, 230, 587, 230, - 230, 230, 840, 230, 230, 230, 265, 230, 230, 265, - 265, 586, 265, 265, 844, 265, 265, 585, 845, 265, - 846, 265, 265, 265, 265, 265, 265, 584, 265, 265, - - 842, 265, 265, 265, 583, 841, 265, 848, 516, 847, - 515, 849, 265, 843, 265, 265, 265, 265, 265, 265, - 850, 265, 851, 265, 265, 265, 265, 265, 265, 265, - 514, 265, 265, 854, 265, 375, 853, 265, 852, 513, - 265, 265, 855, 265, 265, 871, 265, 230, 871, 230, - 230, 230, 508, 230, 230, 230, 507, 230, 230, 230, - 506, 230, 230, 230, 265, 230, 230, 265, 505, 230, - 857, 230, 230, 856, 230, 504, 230, 230, 230, 874, - 230, 230, 265, 858, 230, 265, 230, 230, 503, 502, - 872, 230, 875, 230, 230, 230, 501, 230, 230, 876, - - 230, 500, 230, 230, 230, 499, 230, 230, 877, 879, - 878, 230, 879, 230, 265, 230, 230, 265, 265, 265, - 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, - 265, 498, 265, 265, 883, 265, 265, 497, 882, 265, - 884, 496, 265, 495, 885, 265, 881, 887, 886, 265, - 887, 494, 265, 871, 880, 871, 871, 896, 871, 230, - 896, 230, 230, 230, 493, 230, 230, 898, 230, 492, - 230, 230, 230, 491, 230, 230, 230, 265, 230, 230, - 265, 879, 889, 230, 879, 230, 265, 230, 230, 265, - 490, 901, 888, 230, 901, 489, 265, 488, 872, 265, - - 872, 487, 897, 265, 903, 486, 265, 265, 899, 887, - 265, 265, 887, 906, 265, 896, 906, 896, 896, 230, - 896, 230, 230, 485, 484, 230, 880, 230, 230, 265, - 900, 230, 265, 230, 230, 901, 902, 230, 901, 904, - 230, 265, 230, 230, 265, 265, 906, 265, 265, 906, - 265, 342, 265, 483, 888, 265, 905, 482, 907, 481, - 897, 480, 897, 230, 911, 230, 230, 230, 265, 230, - 230, 265, 479, 230, 913, 230, 230, 477, 265, 265, - 902, 265, 265, 474, 230, 912, 230, 230, 473, 472, - 471, 907, 914, 230, 470, 230, 230, 265, 469, 468, - - 265, 929, 917, 467, 466, 930, 230, 918, 230, 230, - 265, 465, 464, 265, 926, 921, 461, 460, 459, 925, - 922, 51, 51, 51, 51, 51, 51, 56, 56, 56, - 56, 56, 56, 63, 63, 63, 63, 63, 63, 68, - 68, 68, 68, 68, 68, 158, 158, 158, 158, 158, - 158, 163, 163, 163, 163, 163, 163, 199, 199, 456, - 199, 199, 199, 209, 209, 209, 209, 209, 209, 212, - 455, 454, 453, 212, 212, 214, 214, 214, 214, 214, - 214, 220, 220, 308, 304, 220, 220, 226, 226, 226, - 227, 226, 226, 229, 229, 383, 229, 229, 229, 255, - - 255, 382, 255, 255, 255, 265, 265, 221, 217, 381, - 265, 294, 294, 213, 294, 294, 294, 339, 339, 208, - 380, 379, 339, 344, 344, 344, 344, 344, 344, 417, - 417, 378, 377, 376, 417, 444, 444, 207, 444, 444, - 444, 202, 201, 374, 371, 370, 369, 368, 367, 366, - 365, 364, 363, 362, 361, 358, 357, 356, 353, 352, - 351, 350, 169, 342, 334, 333, 330, 329, 328, 325, - 324, 323, 318, 314, 313, 312, 309, 308, 306, 302, - 297, 296, 292, 291, 290, 287, 286, 285, 280, 276, - 275, 274, 271, 270, 231, 228, 227, 225, 222, 221, - + 134, 134, 134, 134, 134, 134, 20, 20, 152, 923, + 199, 152, 43, 199, 336, 231, 44, 231, 231, 231, + 327, 231, 231, 231, 322, 231, 231, 218, 231, 153, + 231, 231, 328, 920, 337, 238, 231, 240, 231, 231, + 241, 323, 243, 346, 242, 154, 239, 155, 231, 156, + 231, 231, 157, 50, 192, 219, 249, 192, 193, 376, + + 363, 231, 194, 231, 231, 333, 231, 348, 231, 231, + 244, 919, 347, 248, 231, 246, 231, 231, 231, 321, + 231, 231, 914, 338, 245, 339, 231, 341, 231, 231, + 341, 195, 247, 196, 251, 253, 347, 250, 197, 198, + 231, 167, 231, 231, 167, 257, 252, 257, 257, 231, + 203, 231, 231, 231, 913, 231, 231, 231, 336, 231, + 231, 231, 258, 231, 231, 231, 373, 231, 231, 374, + 204, 355, 231, 255, 231, 231, 245, 231, 337, 231, + 231, 267, 268, 269, 267, 356, 261, 269, 270, 269, + 269, 294, 268, 269, 294, 304, 305, 306, 304, 266, + + 259, 260, 266, 263, 316, 264, 262, 317, 205, 912, + 206, 318, 332, 305, 306, 332, 342, 343, 344, 342, + 360, 897, 265, 349, 350, 349, 349, 208, 210, 211, + 213, 215, 216, 223, 361, 227, 228, 899, 224, 385, + 386, 387, 385, 231, 898, 231, 231, 231, 266, 231, + 231, 266, 231, 347, 231, 231, 897, 422, 231, 233, + 231, 231, 231, 896, 231, 231, 231, 895, 231, 231, + 231, 389, 231, 231, 231, 346, 231, 231, 388, 231, + 873, 231, 231, 392, 459, 383, 390, 231, 266, 231, + 231, 266, 394, 231, 391, 231, 231, 393, 460, 231, + + 395, 231, 231, 231, 347, 231, 231, 231, 397, 231, + 231, 231, 424, 231, 231, 231, 266, 231, 231, 266, + 396, 872, 398, 399, 231, 871, 231, 231, 231, 427, + 231, 231, 400, 401, 894, 231, 402, 231, 231, 231, + 266, 231, 231, 266, 405, 404, 231, 420, 231, 231, + 406, 231, 403, 231, 231, 231, 266, 231, 231, 266, + 231, 408, 231, 231, 231, 266, 231, 231, 266, 257, + 409, 257, 257, 257, 407, 257, 257, 410, 428, 231, + 411, 231, 231, 231, 436, 231, 231, 231, 832, 231, + 231, 231, 266, 231, 231, 266, 464, 877, 412, 231, + + 416, 231, 231, 413, 400, 231, 874, 231, 231, 231, + 465, 231, 231, 231, 414, 231, 231, 480, 467, 429, + 415, 267, 268, 269, 267, 873, 261, 269, 268, 269, + 269, 872, 266, 871, 266, 266, 417, 266, 266, 266, + 266, 266, 266, 266, 870, 869, 262, 425, 430, 868, + 266, 418, 421, 266, 423, 266, 266, 867, 266, 266, + 432, 426, 431, 266, 866, 266, 266, 266, 266, 266, + 266, 827, 266, 437, 438, 433, 266, 434, 439, 266, + 266, 865, 266, 266, 435, 266, 441, 266, 864, 295, + 266, 199, 295, 266, 199, 442, 266, 440, 266, 443, + + 266, 266, 444, 266, 266, 266, 266, 266, 266, 266, + 824, 266, 266, 450, 266, 266, 477, 447, 433, 478, + 823, 445, 304, 305, 306, 304, 451, 341, 341, 448, + 341, 341, 822, 449, 342, 343, 344, 342, 349, 350, + 349, 349, 513, 453, 821, 513, 452, 349, 350, 349, + 349, 863, 819, 454, 511, 512, 511, 511, 519, 520, + 521, 519, 522, 523, 524, 522, 818, 817, 347, 385, + 386, 387, 385, 387, 386, 387, 387, 347, 832, 231, + 831, 231, 231, 231, 830, 231, 231, 514, 525, 231, + 829, 231, 231, 231, 266, 231, 231, 266, 231, 266, + + 231, 231, 266, 828, 383, 526, 420, 231, 383, 231, + 231, 827, 527, 529, 231, 221, 231, 231, 826, 231, + 528, 231, 231, 231, 266, 231, 231, 266, 532, 231, + 530, 231, 231, 556, 825, 531, 533, 231, 824, 231, + 231, 231, 823, 231, 231, 231, 822, 231, 231, 231, + 536, 231, 231, 821, 231, 534, 231, 231, 231, 535, + 231, 231, 820, 231, 537, 231, 231, 539, 540, 231, + 266, 231, 231, 266, 266, 538, 541, 266, 819, 231, + 542, 231, 231, 231, 818, 231, 231, 231, 817, 231, + 231, 231, 557, 231, 231, 562, 816, 544, 543, 231, + + 266, 231, 231, 266, 231, 815, 231, 231, 231, 266, + 231, 231, 266, 545, 547, 548, 814, 546, 550, 512, + 550, 550, 551, 558, 231, 551, 231, 813, 231, 231, + 231, 812, 231, 231, 231, 565, 231, 231, 231, 549, + 231, 231, 266, 266, 266, 266, 266, 266, 266, 266, + 746, 266, 266, 563, 413, 811, 266, 266, 560, 266, + 266, 266, 564, 553, 266, 266, 567, 552, 266, 559, + 554, 561, 266, 810, 266, 266, 555, 266, 566, 266, + 568, 743, 266, 266, 571, 570, 266, 266, 809, 808, + 266, 569, 572, 266, 573, 266, 266, 266, 266, 266, + + 266, 266, 266, 807, 266, 266, 574, 575, 266, 806, + 738, 737, 579, 295, 578, 199, 295, 582, 199, 266, + 582, 576, 266, 577, 581, 512, 511, 581, 266, 266, + 266, 266, 266, 266, 266, 736, 580, 266, 450, 266, + 735, 805, 266, 511, 512, 511, 511, 513, 733, 732, + 513, 451, 447, 804, 803, 802, 584, 511, 512, 511, + 511, 513, 583, 643, 513, 231, 643, 231, 231, 753, + 585, 452, 519, 520, 521, 519, 647, 586, 521, 520, + 521, 521, 522, 523, 524, 522, 524, 523, 524, 524, + 266, 752, 514, 266, 231, 751, 231, 231, 231, 750, + + 231, 231, 231, 749, 231, 231, 514, 748, 644, 646, + 652, 231, 266, 231, 231, 266, 680, 231, 221, 231, + 231, 231, 266, 231, 231, 266, 648, 649, 221, 231, + 747, 231, 231, 231, 746, 231, 231, 676, 231, 683, + 231, 231, 231, 650, 231, 231, 651, 231, 266, 231, + 231, 266, 266, 745, 654, 266, 653, 655, 231, 677, + 231, 231, 657, 744, 231, 743, 231, 231, 656, 742, + 741, 658, 659, 231, 740, 231, 231, 231, 686, 231, + 231, 660, 231, 739, 231, 231, 231, 738, 231, 231, + 231, 737, 231, 231, 231, 266, 231, 231, 266, 663, + + 736, 664, 266, 661, 662, 266, 735, 231, 665, 231, + 231, 231, 734, 231, 231, 231, 684, 231, 231, 667, + 231, 685, 231, 231, 231, 266, 231, 231, 266, 733, + 551, 668, 231, 551, 666, 550, 512, 550, 550, 231, + 732, 231, 231, 669, 231, 731, 231, 231, 231, 730, + 231, 231, 674, 678, 231, 674, 266, 266, 266, 266, + 266, 266, 266, 729, 728, 266, 682, 670, 266, 727, + 266, 266, 679, 266, 726, 552, 266, 687, 689, 266, + 673, 688, 681, 266, 671, 266, 266, 672, 266, 266, + 266, 690, 266, 266, 725, 266, 266, 675, 266, 266, + + 694, 266, 691, 693, 266, 266, 724, 692, 266, 695, + 636, 266, 266, 697, 266, 266, 723, 698, 581, 512, + 511, 581, 582, 696, 266, 582, 266, 266, 266, 266, + 704, 266, 643, 704, 699, 643, 643, 722, 231, 643, + 231, 231, 721, 231, 720, 231, 231, 231, 719, 231, + 231, 231, 718, 231, 231, 700, 755, 629, 703, 757, + 231, 628, 231, 231, 754, 717, 716, 583, 758, 701, + 266, 702, 756, 266, 715, 705, 231, 644, 231, 231, + 231, 644, 231, 231, 714, 713, 231, 759, 231, 231, + 231, 712, 231, 231, 760, 621, 778, 231, 761, 231, + + 231, 231, 711, 231, 231, 762, 710, 709, 231, 763, + 231, 231, 231, 708, 231, 231, 231, 707, 231, 231, + 231, 706, 231, 231, 231, 645, 231, 231, 231, 266, + 231, 231, 266, 231, 764, 231, 231, 765, 642, 641, + 231, 768, 231, 231, 231, 266, 231, 231, 266, 640, + 231, 766, 231, 231, 231, 767, 231, 231, 771, 231, + 639, 231, 231, 769, 770, 638, 231, 637, 231, 231, + 231, 788, 231, 231, 231, 636, 231, 231, 231, 635, + 231, 231, 231, 634, 231, 231, 772, 773, 674, 633, + 231, 674, 231, 266, 231, 231, 266, 266, 632, 266, + + 266, 266, 266, 631, 266, 630, 779, 774, 266, 781, + 775, 266, 266, 776, 629, 266, 782, 266, 266, 628, + 266, 266, 780, 783, 266, 784, 785, 266, 266, 627, + 626, 266, 786, 675, 625, 266, 787, 777, 266, 266, + 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, + 266, 266, 624, 792, 266, 795, 266, 623, 266, 266, + 789, 266, 266, 266, 622, 266, 266, 790, 791, 793, + 266, 794, 266, 266, 266, 266, 704, 266, 266, 704, + 621, 266, 620, 797, 231, 796, 231, 231, 231, 619, + 231, 231, 833, 618, 617, 231, 834, 231, 231, 231, + + 798, 231, 231, 835, 799, 800, 231, 616, 231, 231, + 231, 615, 231, 231, 231, 266, 231, 231, 266, 614, + 613, 705, 231, 801, 231, 231, 231, 266, 231, 231, + 266, 480, 231, 836, 231, 231, 231, 612, 231, 231, + 231, 611, 231, 231, 837, 610, 609, 231, 838, 231, + 231, 231, 608, 231, 231, 839, 607, 606, 231, 840, + 231, 231, 231, 605, 231, 231, 231, 604, 231, 231, + 231, 266, 231, 231, 266, 231, 603, 231, 231, 842, + 602, 601, 841, 843, 231, 600, 231, 231, 231, 599, + 231, 231, 231, 598, 231, 231, 231, 844, 231, 231, + + 231, 266, 231, 231, 266, 266, 597, 266, 266, 848, + 266, 266, 596, 849, 266, 850, 266, 266, 266, 266, + 266, 266, 595, 266, 266, 846, 266, 266, 594, 593, + 845, 852, 853, 266, 851, 592, 266, 266, 847, 266, + 266, 854, 266, 266, 266, 855, 266, 266, 266, 266, + 266, 266, 266, 266, 591, 590, 266, 857, 858, 266, + 589, 266, 859, 856, 266, 266, 266, 875, 266, 266, + 875, 231, 588, 231, 231, 231, 587, 231, 231, 231, + 518, 231, 231, 231, 517, 231, 231, 231, 266, 231, + 231, 266, 516, 231, 861, 231, 231, 231, 860, 231, + + 231, 376, 231, 878, 231, 231, 231, 862, 231, 231, + 515, 510, 876, 231, 879, 231, 231, 231, 509, 231, + 231, 880, 231, 508, 231, 231, 231, 507, 231, 231, + 881, 883, 882, 231, 883, 231, 266, 231, 231, 266, + 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, + 266, 266, 266, 266, 266, 266, 266, 266, 506, 505, + 887, 886, 888, 266, 266, 504, 266, 266, 885, 891, + 890, 889, 891, 503, 266, 875, 884, 266, 875, 875, + 900, 502, 875, 900, 231, 501, 231, 231, 231, 500, + 231, 231, 902, 231, 499, 231, 231, 231, 498, 231, + + 231, 231, 266, 231, 231, 266, 883, 893, 231, 883, + 231, 497, 231, 231, 892, 905, 496, 231, 905, 266, + 876, 495, 266, 266, 876, 901, 266, 907, 266, 266, + 494, 266, 266, 903, 891, 266, 910, 891, 266, 910, + 900, 900, 493, 900, 900, 231, 266, 231, 231, 266, + 231, 884, 231, 231, 231, 904, 231, 231, 492, 491, + 906, 908, 905, 490, 231, 905, 231, 266, 231, 231, + 266, 266, 910, 266, 266, 910, 266, 489, 488, 892, + 909, 911, 487, 915, 486, 901, 901, 231, 343, 231, + 231, 231, 266, 231, 231, 266, 266, 485, 484, 266, + + 917, 231, 266, 231, 231, 266, 231, 906, 231, 231, + 266, 916, 231, 266, 231, 231, 266, 911, 918, 266, + 933, 483, 482, 481, 934, 231, 921, 231, 231, 266, + 479, 922, 266, 476, 475, 474, 473, 472, 471, 470, + 469, 929, 468, 925, 926, 930, 51, 51, 51, 51, + 51, 51, 56, 56, 56, 56, 56, 56, 63, 63, + 63, 63, 63, 63, 68, 68, 68, 68, 68, 68, + 158, 158, 158, 158, 158, 158, 163, 163, 163, 163, + 163, 163, 199, 199, 467, 199, 199, 199, 209, 209, + 209, 209, 209, 209, 212, 466, 463, 462, 212, 212, + + 214, 214, 214, 214, 214, 214, 220, 220, 461, 458, + 220, 220, 226, 226, 226, 226, 226, 226, 230, 230, + 457, 230, 230, 230, 256, 256, 456, 256, 256, 256, + 266, 266, 455, 309, 305, 266, 295, 295, 227, 295, + 295, 295, 340, 340, 384, 383, 221, 340, 345, 345, + 345, 345, 345, 345, 419, 419, 217, 382, 213, 419, + 446, 446, 208, 446, 446, 446, 381, 380, 379, 378, + 377, 207, 202, 201, 375, 372, 371, 370, 369, 368, + 367, 366, 365, 364, 363, 362, 359, 358, 357, 354, + 353, 352, 351, 169, 343, 335, 334, 331, 330, 329, + + 326, 325, 324, 319, 315, 314, 313, 310, 309, 307, + 303, 298, 297, 293, 292, 291, 288, 287, 286, 281, + 277, 276, 275, 272, 271, 232, 229, 225, 222, 221, 217, 213, 208, 207, 202, 201, 191, 190, 189, 186, - 185, 184, 179, 175, 174, 173, 170, 169, 168, 931, - 19, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931 + 185, 184, 179, 175, 174, 173, 170, 169, 168, 935, + 19, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935 + } ; -static yyconst short int yy_chk[2370] = +static yyconst flex_int16_t yy_chk[2400] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 7, - 7, 2, 2, 948, 5, 5, 2, 3, 3, 3, - 3, 4, 4, 4, 4, 4, 6, 6, 927, 2, + 7, 2, 2, 952, 5, 5, 2, 3, 3, 3, + 3, 4, 4, 4, 4, 4, 6, 6, 931, 2, 8, 8, 17, 17, 4, 15, 15, 15, 15, 34, 15, 16, 16, 16, 16, 2, 16, 2, 21, 2, 27, 21, 2, 2, 5, 33, 34, 27, 38, 5, - 31, 17, 4, 31, 924, 123, 6, 31, 123, 33, + 31, 17, 4, 31, 68, 68, 6, 31, 928, 33, 38, 6, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 18, 18, 10, 10, 45, 48, 49, 10, 49, - 54, 54, 54, 59, 59, 59, 59, 66, 923, 45, + 54, 54, 54, 59, 59, 59, 59, 66, 927, 45, 113, 10, 66, 128, 125, 71, 48, 71, 71, 74, 18, 74, 74, 75, 113, 75, 75, 10, 125, 10, - 75, 10, 920, 128, 10, 10, 11, 11, 11, 11, + 75, 10, 924, 128, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 12, 62, 114, 12, 12, 919, + 11, 11, 11, 11, 12, 62, 114, 12, 12, 923, 107, 111, 12, 76, 111, 76, 76, 107, 111, 77, 118, 77, 77, 114, 137, 12, 78, 76, 78, 78, 143, 137, 118, 62, 90, 77, 90, 90, 129, 78, - 129, 12, 77, 12, 143, 12, 916, 90, 12, 12, + 129, 12, 77, 12, 143, 12, 920, 90, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 13, 13, 14, 915, - 144, 14, 14, 156, 163, 79, 14, 79, 79, 80, - 148, 80, 80, 81, 909, 81, 81, 144, 82, 14, - 82, 82, 148, 156, 908, 79, 86, 81, 86, 86, - 81, 153, 82, 163, 81, 14, 80, 14, 85, 14, - 85, 85, 14, 14, 42, 153, 86, 42, 42, 200, - - 200, 83, 42, 83, 83, 157, 84, 157, 84, 84, - 83, 174, 165, 85, 87, 84, 87, 87, 88, 158, - 88, 88, 158, 897, 83, 174, 89, 167, 89, 89, - 167, 42, 84, 42, 88, 89, 178, 87, 42, 42, - 91, 165, 91, 91, 894, 92, 88, 92, 92, 93, - 178, 93, 93, 94, 891, 94, 94, 95, 204, 95, + 13, 13, 13, 13, 13, 13, 13, 13, 14, 919, + 123, 14, 14, 123, 156, 79, 14, 79, 79, 80, + 148, 80, 80, 81, 144, 81, 81, 219, 82, 14, + 82, 82, 148, 913, 156, 79, 86, 81, 86, 86, + 81, 144, 82, 163, 81, 14, 80, 14, 85, 14, + 85, 85, 14, 14, 42, 219, 86, 42, 42, 200, + + 200, 83, 42, 83, 83, 153, 84, 165, 84, 84, + 83, 912, 163, 85, 87, 84, 87, 87, 88, 153, + 88, 88, 901, 157, 83, 157, 89, 158, 89, 89, + 158, 42, 84, 42, 88, 89, 165, 87, 42, 42, + 91, 167, 91, 91, 167, 92, 88, 92, 92, 93, + 204, 93, 93, 94, 898, 94, 94, 95, 337, 95, 95, 96, 94, 96, 96, 97, 190, 97, 97, 190, - 890, 219, 98, 91, 98, 98, 94, 99, 204, 99, - 99, 101, 101, 101, 101, 872, 97, 103, 103, 103, - 103, 122, 122, 122, 122, 131, 131, 131, 131, 219, + 204, 174, 98, 91, 98, 98, 94, 99, 337, 99, + 99, 101, 101, 101, 101, 174, 97, 103, 103, 103, + 103, 122, 122, 122, 122, 131, 131, 131, 131, 266, - 95, 96, 870, 98, 141, 98, 97, 141, 197, 866, + 95, 96, 266, 98, 141, 98, 97, 141, 197, 895, 197, 141, 152, 152, 152, 152, 159, 159, 159, 159, - 166, 166, 99, 166, 211, 211, 211, 216, 216, 216, - 223, 225, 225, 336, 225, 223, 229, 865, 229, 229, - 230, 863, 230, 230, 232, 265, 232, 232, 265, 862, - 166, 232, 233, 336, 233, 233, 234, 861, 234, 234, - 235, 860, 235, 235, 236, 234, 236, 236, 238, 313, - 238, 238, 233, 237, 344, 237, 237, 225, 332, 332, - 235, 238, 237, 313, 239, 859, 239, 239, 236, 240, - 272, 240, 240, 272, 828, 827, 237, 239, 241, 272, - - 241, 241, 242, 344, 242, 242, 243, 241, 243, 243, - 244, 275, 244, 244, 275, 245, 240, 245, 245, 317, - 275, 241, 242, 246, 825, 246, 246, 247, 824, 247, - 247, 243, 244, 317, 275, 270, 245, 248, 270, 248, - 248, 822, 270, 821, 247, 249, 248, 249, 249, 816, - 250, 246, 250, 250, 812, 251, 249, 251, 251, 252, - 284, 252, 252, 284, 253, 251, 253, 253, 254, 276, - 254, 254, 276, 255, 252, 255, 255, 256, 250, 256, - 256, 253, 276, 257, 253, 257, 257, 258, 284, 258, - 258, 259, 811, 259, 259, 260, 278, 260, 260, 278, - - 810, 809, 254, 262, 260, 262, 262, 257, 257, 261, - 808, 261, 261, 263, 807, 263, 263, 264, 258, 264, - 264, 806, 805, 278, 259, 266, 266, 266, 266, 804, - 261, 268, 268, 268, 268, 803, 271, 802, 273, 271, - 262, 273, 274, 280, 277, 274, 280, 277, 801, 282, - 261, 279, 282, 800, 279, 263, 271, 277, 273, 281, - 279, 283, 281, 280, 283, 288, 274, 286, 288, 285, - 286, 282, 285, 799, 279, 289, 286, 287, 289, 798, - 287, 749, 283, 747, 281, 289, 285, 290, 287, 291, - 290, 292, 291, 288, 292, 294, 295, 294, 294, 295, - - 294, 296, 290, 746, 296, 297, 291, 298, 297, 291, - 298, 300, 299, 745, 300, 299, 298, 744, 743, 301, - 295, 295, 301, 302, 741, 292, 302, 303, 303, 303, - 303, 329, 296, 299, 329, 740, 339, 340, 297, 339, - 340, 341, 341, 341, 341, 738, 346, 346, 300, 346, - 737, 348, 348, 299, 348, 375, 375, 376, 375, 736, - 376, 301, 382, 382, 735, 382, 383, 383, 730, 383, - 384, 384, 727, 384, 726, 386, 346, 386, 386, 417, - 725, 348, 417, 387, 386, 387, 387, 388, 724, 388, - 388, 389, 420, 389, 389, 420, 390, 434, 390, 390, - - 434, 391, 376, 391, 391, 387, 418, 434, 382, 418, - 388, 390, 383, 418, 420, 723, 384, 392, 389, 392, - 392, 722, 721, 393, 391, 393, 393, 394, 720, 394, - 394, 395, 393, 395, 395, 719, 718, 717, 392, 396, - 394, 396, 396, 397, 716, 397, 397, 398, 715, 398, - 398, 399, 397, 399, 399, 714, 400, 395, 400, 400, - 401, 396, 401, 401, 713, 402, 398, 402, 402, 400, - 401, 403, 428, 403, 403, 428, 425, 399, 402, 425, - 712, 404, 403, 404, 404, 405, 711, 405, 405, 406, - 710, 406, 406, 407, 709, 407, 407, 425, 428, 405, - - 404, 408, 419, 408, 408, 419, 409, 708, 409, 409, - 410, 419, 410, 410, 707, 406, 408, 409, 706, 407, - 411, 411, 411, 411, 412, 705, 412, 412, 413, 704, - 413, 413, 414, 703, 414, 414, 415, 702, 415, 415, - 416, 410, 416, 416, 421, 423, 422, 421, 423, 422, - 426, 424, 641, 426, 424, 427, 414, 640, 427, 426, - 423, 429, 638, 431, 429, 413, 431, 421, 427, 412, - 637, 635, 415, 422, 424, 634, 430, 432, 416, 430, - 432, 433, 431, 429, 433, 430, 435, 436, 437, 435, - 436, 437, 438, 439, 433, 438, 439, 440, 436, 435, - - 440, 441, 442, 432, 441, 442, 438, 437, 443, 633, - 631, 443, 444, 442, 444, 444, 441, 444, 630, 439, - 629, 445, 445, 440, 445, 446, 447, 448, 446, 447, - 448, 449, 450, 451, 449, 450, 451, 628, 452, 443, - 449, 452, 478, 478, 479, 478, 627, 479, 626, 509, - 509, 448, 509, 450, 511, 515, 623, 511, 515, 517, - 517, 622, 517, 447, 519, 519, 621, 519, 575, 451, - 446, 575, 521, 450, 521, 521, 452, 522, 620, 522, - 522, 523, 556, 523, 523, 556, 619, 521, 522, 479, - 524, 575, 524, 524, 525, 554, 525, 525, 554, 511, - - 515, 526, 618, 526, 526, 517, 524, 616, 556, 523, - 519, 527, 615, 527, 527, 528, 614, 528, 528, 527, - 525, 613, 529, 554, 529, 529, 526, 530, 612, 530, - 530, 531, 611, 531, 531, 532, 555, 532, 532, 555, - 609, 552, 528, 529, 552, 533, 530, 533, 533, 608, - 532, 534, 555, 534, 534, 607, 552, 531, 533, 534, - 535, 606, 535, 535, 536, 605, 536, 536, 535, 537, - 604, 537, 537, 538, 603, 538, 538, 539, 602, 539, - 539, 540, 553, 540, 540, 553, 538, 601, 539, 559, - 536, 537, 559, 553, 541, 540, 541, 541, 542, 600, - - 542, 542, 543, 599, 543, 543, 542, 544, 598, 544, - 544, 545, 563, 545, 545, 563, 559, 547, 543, 547, - 547, 541, 546, 546, 546, 546, 548, 563, 548, 548, - 544, 549, 597, 549, 549, 550, 596, 550, 550, 551, - 557, 551, 551, 557, 558, 560, 562, 558, 560, 562, - 561, 595, 558, 561, 545, 564, 565, 567, 564, 565, - 567, 594, 547, 593, 565, 557, 560, 550, 564, 561, - 566, 548, 562, 566, 549, 592, 568, 569, 566, 568, - 569, 591, 570, 567, 551, 570, 571, 590, 572, 571, - 569, 572, 574, 570, 573, 574, 576, 573, 568, 576, - - 571, 589, 573, 577, 577, 588, 577, 578, 574, 579, - 578, 581, 579, 580, 581, 572, 580, 582, 610, 639, - 582, 610, 639, 642, 587, 642, 642, 643, 673, 643, - 643, 673, 644, 672, 644, 644, 672, 586, 585, 576, - 643, 673, 645, 581, 645, 645, 584, 583, 674, 642, - 645, 674, 578, 516, 579, 514, 580, 644, 646, 672, - 646, 646, 582, 610, 639, 647, 646, 647, 647, 648, - 513, 648, 648, 674, 512, 649, 647, 649, 649, 650, - 508, 650, 650, 649, 507, 506, 651, 650, 651, 651, - 652, 505, 652, 652, 651, 504, 503, 653, 652, 653, - - 653, 654, 502, 654, 654, 655, 501, 655, 655, 656, - 500, 656, 656, 657, 499, 657, 657, 658, 678, 658, - 658, 678, 659, 653, 659, 659, 654, 498, 497, 660, - 659, 660, 660, 661, 683, 661, 661, 683, 496, 662, - 657, 662, 662, 663, 658, 663, 663, 662, 664, 495, - 664, 664, 660, 661, 494, 665, 493, 665, 665, 666, - 683, 666, 666, 667, 492, 667, 667, 668, 491, 668, - 668, 669, 490, 669, 669, 664, 665, 670, 489, 670, - 670, 671, 675, 671, 671, 675, 676, 488, 684, 676, - 675, 684, 677, 487, 676, 677, 666, 679, 680, 668, - - 679, 680, 669, 677, 681, 679, 680, 681, 682, 486, - 485, 682, 681, 684, 685, 686, 682, 685, 686, 484, - 687, 688, 670, 687, 688, 689, 671, 690, 689, 691, - 690, 692, 691, 689, 692, 693, 483, 694, 693, 692, - 694, 695, 696, 697, 695, 696, 697, 687, 688, 691, - 690, 698, 700, 699, 698, 700, 699, 701, 777, 482, - 701, 777, 695, 750, 694, 750, 750, 751, 481, 751, - 751, 750, 480, 477, 752, 751, 752, 752, 753, 696, - 753, 753, 752, 698, 699, 754, 476, 754, 754, 755, - 475, 755, 755, 756, 474, 756, 756, 700, 757, 473, - - 757, 757, 701, 758, 472, 758, 758, 759, 471, 759, - 759, 760, 755, 760, 760, 761, 470, 761, 761, 760, - 469, 468, 762, 761, 762, 762, 763, 467, 763, 763, - 762, 466, 465, 764, 763, 764, 764, 765, 464, 765, - 765, 766, 463, 766, 766, 767, 778, 767, 767, 778, - 768, 462, 768, 768, 766, 461, 460, 765, 768, 769, - 459, 769, 769, 770, 458, 770, 770, 771, 457, 771, - 771, 772, 769, 772, 772, 773, 774, 773, 773, 774, - 775, 456, 776, 775, 774, 776, 779, 455, 775, 779, - 776, 780, 781, 782, 780, 781, 782, 454, 783, 784, - - 771, 783, 784, 785, 453, 770, 785, 784, 381, 779, - 380, 785, 786, 772, 787, 786, 788, 787, 789, 788, - 786, 789, 787, 790, 791, 792, 790, 791, 792, 793, - 379, 794, 793, 792, 794, 378, 790, 795, 789, 377, - 795, 796, 793, 797, 796, 826, 797, 829, 826, 829, - 829, 830, 374, 830, 830, 831, 373, 831, 831, 832, - 372, 832, 832, 833, 844, 833, 833, 844, 371, 834, - 795, 834, 834, 794, 835, 370, 835, 835, 836, 832, - 836, 836, 845, 796, 837, 845, 837, 837, 369, 368, - 826, 838, 837, 838, 838, 839, 367, 839, 839, 838, - - 840, 366, 840, 840, 841, 365, 841, 841, 840, 842, - 841, 842, 842, 843, 846, 843, 843, 846, 847, 848, - 849, 847, 848, 849, 850, 851, 852, 850, 851, 852, - 854, 364, 853, 854, 852, 853, 855, 363, 847, 855, - 853, 362, 856, 361, 855, 856, 843, 857, 856, 858, - 857, 360, 858, 864, 842, 871, 864, 873, 871, 874, - 873, 874, 874, 875, 359, 875, 875, 874, 876, 358, - 876, 876, 877, 357, 877, 877, 878, 883, 878, 878, - 883, 879, 858, 879, 879, 880, 884, 880, 880, 884, - 356, 881, 857, 881, 881, 355, 882, 354, 864, 882, - - 871, 353, 873, 885, 882, 352, 885, 886, 878, 887, - 886, 888, 887, 889, 888, 892, 889, 896, 892, 898, - 896, 898, 898, 351, 350, 900, 879, 900, 900, 903, - 880, 899, 903, 899, 899, 901, 881, 901, 901, 886, - 902, 904, 902, 902, 904, 905, 906, 907, 905, 906, - 907, 343, 914, 338, 887, 914, 888, 337, 889, 335, - 892, 334, 896, 911, 899, 911, 911, 912, 913, 912, - 912, 913, 333, 917, 904, 917, 917, 330, 918, 922, - 901, 918, 922, 328, 921, 902, 921, 921, 327, 326, - 325, 906, 907, 925, 324, 925, 925, 926, 323, 322, - - 926, 925, 911, 321, 320, 926, 929, 913, 929, 929, - 930, 319, 318, 930, 922, 917, 316, 315, 314, 921, - 918, 932, 932, 932, 932, 932, 932, 933, 933, 933, - 933, 933, 933, 934, 934, 934, 934, 934, 934, 935, - 935, 935, 935, 935, 935, 936, 936, 936, 936, 936, - 936, 937, 937, 937, 937, 937, 937, 938, 938, 312, - 938, 938, 938, 939, 939, 939, 939, 939, 939, 940, - 311, 310, 309, 940, 940, 941, 941, 941, 941, 941, - 941, 942, 942, 308, 305, 942, 942, 943, 943, 943, - 226, 943, 943, 944, 944, 224, 944, 944, 944, 945, - - 945, 221, 945, 945, 945, 946, 946, 220, 218, 217, - 946, 947, 947, 215, 947, 947, 947, 949, 949, 210, - 206, 205, 949, 950, 950, 950, 950, 950, 950, 951, - 951, 203, 202, 201, 951, 952, 952, 198, 952, 952, - 952, 196, 195, 191, 189, 188, 187, 186, 185, 184, - 183, 182, 181, 180, 179, 177, 176, 175, 173, 172, - 171, 170, 169, 161, 155, 154, 151, 150, 149, 147, - 146, 145, 142, 140, 139, 138, 136, 135, 133, 130, - 127, 126, 121, 120, 119, 117, 116, 115, 112, 110, - 109, 108, 106, 105, 73, 70, 68, 67, 65, 63, - + 178, 894, 99, 166, 166, 166, 166, 211, 211, 211, + 216, 216, 216, 223, 178, 226, 226, 876, 223, 225, + 225, 225, 225, 230, 874, 230, 230, 231, 273, 231, + 231, 273, 233, 166, 233, 233, 870, 273, 234, 233, + 234, 234, 235, 869, 235, 235, 236, 867, 236, 236, + 237, 235, 237, 237, 238, 345, 238, 238, 234, 239, + 866, 239, 239, 238, 314, 225, 236, 240, 275, 240, + 240, 275, 239, 241, 237, 241, 241, 238, 314, 242, + + 240, 242, 242, 243, 345, 243, 243, 244, 242, 244, + 244, 245, 275, 245, 245, 246, 277, 246, 246, 277, + 241, 865, 242, 243, 247, 864, 247, 247, 248, 277, + 248, 248, 244, 245, 863, 249, 246, 249, 249, 250, + 271, 250, 250, 271, 249, 248, 251, 271, 251, 251, + 250, 252, 247, 252, 252, 253, 285, 253, 253, 285, + 254, 252, 254, 254, 255, 278, 255, 255, 278, 256, + 253, 256, 256, 257, 251, 257, 257, 254, 278, 258, + 254, 258, 258, 259, 285, 259, 259, 260, 832, 260, + 260, 261, 279, 261, 261, 279, 318, 831, 255, 263, + + 261, 263, 263, 258, 258, 262, 829, 262, 262, 264, + 318, 264, 264, 265, 259, 265, 265, 333, 333, 279, + 260, 267, 267, 267, 267, 828, 262, 269, 269, 269, + 269, 826, 272, 825, 274, 272, 263, 274, 276, 280, + 281, 276, 280, 281, 820, 816, 262, 276, 280, 815, + 282, 264, 272, 282, 274, 283, 286, 814, 283, 286, + 281, 276, 280, 284, 813, 287, 284, 288, 287, 289, + 288, 812, 289, 286, 287, 282, 290, 283, 288, 290, + 291, 811, 292, 291, 284, 292, 290, 293, 810, 295, + 293, 295, 295, 296, 295, 291, 296, 289, 297, 292, + + 298, 297, 292, 298, 299, 300, 301, 299, 300, 301, + 809, 302, 303, 299, 302, 303, 330, 296, 296, 330, + 808, 293, 304, 304, 304, 304, 300, 340, 341, 297, + 340, 341, 807, 298, 342, 342, 342, 342, 347, 347, + 347, 347, 377, 301, 806, 377, 300, 349, 349, 349, + 349, 805, 804, 302, 376, 376, 376, 376, 383, 383, + 383, 383, 384, 384, 384, 384, 803, 802, 347, 385, + 385, 385, 385, 387, 387, 387, 387, 349, 753, 388, + 751, 388, 388, 389, 750, 389, 389, 377, 388, 390, + 749, 390, 390, 391, 419, 391, 391, 419, 392, 420, + + 392, 392, 420, 748, 383, 389, 420, 393, 384, 393, + 393, 747, 390, 392, 394, 385, 394, 394, 745, 395, + 391, 395, 395, 396, 421, 396, 396, 421, 395, 397, + 393, 397, 397, 421, 744, 394, 396, 398, 742, 398, + 398, 399, 741, 399, 399, 400, 740, 400, 400, 401, + 399, 401, 401, 739, 402, 397, 402, 402, 403, 398, + 403, 403, 734, 404, 400, 404, 404, 402, 403, 405, + 422, 405, 405, 422, 427, 401, 404, 427, 731, 406, + 405, 406, 406, 407, 730, 407, 407, 408, 729, 408, + 408, 409, 422, 409, 409, 427, 728, 407, 406, 410, + + 423, 410, 410, 423, 411, 727, 411, 411, 412, 430, + 412, 412, 430, 408, 410, 411, 726, 409, 413, 413, + 413, 413, 414, 423, 414, 414, 415, 725, 415, 415, + 416, 724, 416, 416, 417, 430, 417, 417, 418, 412, + 418, 418, 424, 425, 428, 424, 425, 428, 426, 429, + 723, 426, 429, 428, 416, 722, 431, 432, 425, 431, + 432, 433, 429, 415, 433, 434, 432, 414, 434, 424, + 417, 426, 435, 721, 436, 435, 418, 436, 431, 437, + 433, 720, 437, 438, 436, 435, 438, 439, 719, 718, + 439, 434, 437, 440, 438, 441, 440, 442, 441, 443, + + 442, 444, 443, 717, 444, 445, 439, 440, 445, 716, + 715, 714, 444, 446, 443, 446, 446, 448, 446, 449, + 448, 441, 449, 442, 447, 447, 447, 447, 450, 451, + 452, 450, 451, 452, 453, 713, 445, 453, 451, 454, + 712, 711, 454, 480, 480, 480, 480, 481, 710, 709, + 481, 452, 450, 708, 707, 706, 449, 511, 511, 511, + 511, 513, 448, 517, 513, 526, 517, 526, 526, 645, + 453, 452, 519, 519, 519, 519, 526, 454, 521, 521, + 521, 521, 522, 522, 522, 522, 524, 524, 524, 524, + 560, 644, 481, 560, 525, 642, 525, 525, 527, 641, + + 527, 527, 531, 639, 531, 531, 513, 638, 517, 525, + 531, 528, 563, 528, 528, 563, 560, 529, 519, 529, + 529, 530, 556, 530, 530, 556, 527, 528, 522, 532, + 637, 532, 532, 533, 635, 533, 533, 556, 534, 563, + 534, 534, 535, 529, 535, 535, 530, 536, 557, 536, + 536, 557, 566, 634, 533, 566, 532, 534, 537, 557, + 537, 537, 536, 633, 538, 632, 538, 538, 535, 631, + 630, 537, 538, 539, 627, 539, 539, 540, 566, 540, + 540, 539, 541, 626, 541, 541, 542, 625, 542, 542, + 543, 624, 543, 543, 544, 564, 544, 544, 564, 542, + + 623, 543, 565, 540, 541, 565, 622, 545, 544, 545, + 545, 546, 620, 546, 546, 547, 564, 547, 547, 546, + 548, 565, 548, 548, 549, 558, 549, 549, 558, 619, + 551, 547, 551, 551, 545, 550, 550, 550, 550, 552, + 618, 552, 552, 548, 553, 617, 553, 553, 554, 616, + 554, 554, 555, 558, 555, 555, 559, 561, 562, 559, + 561, 562, 567, 615, 613, 567, 562, 549, 568, 612, + 569, 568, 559, 569, 611, 551, 571, 567, 569, 571, + 554, 568, 561, 570, 552, 572, 570, 553, 572, 574, + 573, 570, 574, 573, 610, 575, 576, 555, 575, 576, + + 574, 578, 571, 573, 578, 577, 609, 572, 577, 575, + 608, 579, 580, 577, 579, 580, 607, 578, 581, 581, + 581, 581, 582, 576, 583, 582, 585, 583, 584, 585, + 586, 584, 614, 586, 579, 614, 643, 606, 646, 643, + 646, 646, 605, 647, 604, 647, 647, 648, 603, 648, + 648, 649, 602, 649, 649, 580, 647, 601, 585, 649, + 650, 600, 650, 650, 646, 599, 598, 582, 650, 583, + 676, 584, 648, 676, 597, 586, 651, 614, 651, 651, + 652, 643, 652, 652, 596, 595, 653, 651, 653, 653, + 654, 594, 654, 654, 653, 593, 676, 655, 654, 655, + + 655, 656, 592, 656, 656, 655, 591, 590, 657, 656, + 657, 657, 658, 589, 658, 658, 659, 588, 659, 659, + 660, 587, 660, 660, 661, 518, 661, 661, 662, 682, + 662, 662, 682, 663, 657, 663, 663, 658, 516, 515, + 664, 663, 664, 664, 665, 687, 665, 665, 687, 514, + 666, 661, 666, 666, 667, 662, 667, 667, 666, 668, + 510, 668, 668, 664, 665, 509, 669, 508, 669, 669, + 670, 687, 670, 670, 671, 507, 671, 671, 672, 506, + 672, 672, 673, 505, 673, 673, 668, 669, 674, 504, + 674, 674, 675, 677, 675, 675, 677, 678, 503, 689, + + 678, 679, 689, 502, 679, 501, 677, 670, 680, 679, + 672, 680, 681, 673, 500, 681, 680, 683, 684, 499, + 683, 684, 678, 681, 685, 683, 684, 685, 686, 498, + 497, 686, 685, 674, 496, 688, 686, 675, 688, 690, + 691, 692, 690, 691, 692, 693, 694, 696, 693, 694, + 696, 695, 495, 693, 695, 696, 697, 494, 698, 697, + 688, 698, 699, 700, 493, 699, 700, 691, 692, 694, + 701, 695, 702, 701, 703, 702, 704, 703, 705, 704, + 492, 705, 491, 699, 754, 698, 754, 754, 755, 490, + 755, 755, 754, 489, 488, 756, 755, 756, 756, 757, + + 700, 757, 757, 756, 702, 703, 758, 487, 758, 758, + 759, 486, 759, 759, 760, 781, 760, 760, 781, 485, + 484, 704, 761, 705, 761, 761, 762, 782, 762, 762, + 782, 483, 763, 759, 763, 763, 764, 482, 764, 764, + 765, 479, 765, 765, 764, 478, 477, 766, 765, 766, + 766, 767, 476, 767, 767, 766, 475, 474, 768, 767, + 768, 768, 769, 473, 769, 769, 770, 472, 770, 770, + 771, 784, 771, 771, 784, 772, 471, 772, 772, 770, + 470, 469, 769, 772, 773, 468, 773, 773, 774, 467, + 774, 774, 775, 466, 775, 775, 776, 773, 776, 776, + + 777, 778, 777, 777, 778, 779, 465, 780, 779, 778, + 780, 783, 464, 779, 783, 780, 785, 786, 787, 785, + 786, 787, 463, 788, 789, 775, 788, 789, 462, 461, + 774, 788, 789, 790, 783, 460, 790, 791, 776, 792, + 791, 790, 792, 793, 794, 791, 793, 794, 795, 797, + 796, 795, 797, 796, 459, 458, 798, 794, 796, 798, + 457, 799, 797, 793, 799, 800, 801, 830, 800, 801, + 830, 833, 456, 833, 833, 834, 455, 834, 834, 835, + 382, 835, 835, 836, 381, 836, 836, 837, 848, 837, + 837, 848, 380, 838, 799, 838, 838, 839, 798, 839, + + 839, 379, 840, 836, 840, 840, 841, 800, 841, 841, + 378, 375, 830, 842, 841, 842, 842, 843, 374, 843, + 843, 842, 844, 373, 844, 844, 845, 372, 845, 845, + 844, 846, 845, 846, 846, 847, 849, 847, 847, 849, + 850, 851, 852, 850, 851, 852, 853, 854, 855, 853, + 854, 855, 856, 858, 857, 856, 858, 857, 371, 370, + 856, 851, 857, 859, 860, 369, 859, 860, 847, 861, + 860, 859, 861, 368, 862, 868, 846, 862, 868, 875, + 877, 367, 875, 877, 878, 366, 878, 878, 879, 365, + 879, 879, 878, 880, 364, 880, 880, 881, 363, 881, + + 881, 882, 887, 882, 882, 887, 883, 862, 883, 883, + 884, 362, 884, 884, 861, 885, 361, 885, 885, 886, + 868, 360, 886, 888, 875, 877, 888, 886, 889, 890, + 359, 889, 890, 882, 891, 892, 893, 891, 892, 893, + 896, 900, 358, 896, 900, 902, 907, 902, 902, 907, + 903, 883, 903, 903, 904, 884, 904, 904, 357, 356, + 885, 890, 905, 355, 905, 905, 906, 908, 906, 906, + 908, 909, 910, 911, 909, 910, 911, 354, 353, 891, + 892, 893, 352, 903, 351, 896, 900, 915, 344, 915, + 915, 916, 917, 916, 916, 917, 918, 339, 338, 918, + + 908, 921, 922, 921, 921, 922, 925, 905, 925, 925, + 926, 906, 929, 926, 929, 929, 930, 910, 911, 930, + 929, 336, 335, 334, 930, 933, 915, 933, 933, 934, + 331, 917, 934, 329, 328, 327, 326, 325, 324, 323, + 322, 925, 321, 921, 922, 926, 936, 936, 936, 936, + 936, 936, 937, 937, 937, 937, 937, 937, 938, 938, + 938, 938, 938, 938, 939, 939, 939, 939, 939, 939, + 940, 940, 940, 940, 940, 940, 941, 941, 941, 941, + 941, 941, 942, 942, 320, 942, 942, 942, 943, 943, + 943, 943, 943, 943, 944, 319, 317, 316, 944, 944, + + 945, 945, 945, 945, 945, 945, 946, 946, 315, 313, + 946, 946, 947, 947, 947, 947, 947, 947, 948, 948, + 312, 948, 948, 948, 949, 949, 311, 949, 949, 949, + 950, 950, 310, 309, 306, 950, 951, 951, 228, 951, + 951, 951, 953, 953, 224, 221, 220, 953, 954, 954, + 954, 954, 954, 954, 955, 955, 218, 217, 215, 955, + 956, 956, 210, 956, 956, 956, 206, 205, 203, 202, + 201, 198, 196, 195, 191, 189, 188, 187, 186, 185, + 184, 183, 182, 181, 180, 179, 177, 176, 175, 173, + 172, 171, 170, 169, 161, 155, 154, 151, 150, 149, + + 147, 146, 145, 142, 140, 139, 138, 136, 135, 133, + 130, 127, 126, 121, 120, 119, 117, 116, 115, 112, + 110, 109, 108, 106, 105, 73, 70, 67, 65, 63, 61, 58, 53, 50, 47, 46, 41, 40, 39, 37, 36, 35, 32, 30, 29, 28, 26, 25, 23, 19, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, - 931, 931, 931, 931, 931, 931, 931, 931, 931 + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + 935, 935, 935, 935, 935, 935, 935, 935, 935 + } ; -static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; -static char *yy_full_match; -static int yy_lp; -#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; \ -goto find_rule; \ -} +/* Table of booleans, true if rule could match eol. */ +static yyconst flex_int32_t yy_rule_can_match_eol[70] = + { 0, +0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, + 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, }; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "levcomp.lpp" -#define INITIAL 0 #line 2 "levcomp.lpp" // levcomp.lpp: @@ -1382,24 +1383,39 @@ static void settext(bool trim_right = false, int strip_trailing = 0) yylval.text = newstring; } -#define MAPDEF 1 -#define LUA 2 -#define LUA_ONELINER 3 -#define ARGUMENT 4 -#define MNAME 5 -#define KEYWORDS 6 -#define ITEM_LIST 7 + +#line 1395 "levcomp.lex.cc" + +#define INITIAL 0 +#define MAPDEF 1 +#define LUA 2 +#define LUA_ONELINER 3 +#define ARGUMENT 4 +#define MNAME 5 +#define KEYWORDS 6 +#define ITEM_LIST 7 #define TOEOL 8 -#define YY_NEVER_INTERACTIVE 1 -#line 1403 "levcomp.lex.cc" +#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 ); /* Macros after this point can all be overridden by user definitions in * section 1. @@ -1407,65 +1423,30 @@ static void settext(bool trim_right = false, int strip_trailing = 0) #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 +static int input (void ); #endif -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#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. */ @@ -1474,7 +1455,6 @@ 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(). @@ -1487,9 +1467,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 = '*'; \ + size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ @@ -1499,9 +1480,22 @@ YY_MALLOC_DECL YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(yyin); \ + } \ + }\ +\ + #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - @@ -1522,12 +1516,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. @@ -1543,31 +1543,33 @@ 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 89 "levcomp.lpp" -#line 1560 "levcomp.lex.cc" +#line 1562 "levcomp.lex.cc" - 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 */ + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; @@ -1575,79 +1577,77 @@ 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_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 932 ) + if ( yy_current_state >= 936 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - *yy_state_ptr++ = yy_current_state; ++yy_cp; } - while ( yy_base[yy_current_state] != 2321 ); + while ( yy_current_state != 935 ); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); yy_find_action: - yy_current_state = *--yy_state_ptr; - yy_lp = yy_accept[yy_current_state]; -find_rule: /* we branch to this label when backing up */ - for ( ; ; ) /* until we find what rule we matched */ - { - if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) - { - yy_act = yy_acclist[yy_lp]; - { - yy_full_match = yy_cp; - break; - } - } - --yy_cp; - yy_current_state = *--yy_state_ptr; - yy_lp = yy_accept[yy_current_state]; - } + yy_act = yy_accept[yy_current_state]; YY_DO_BEFORE_ACTION; - if ( yy_act != YY_END_OF_BUFFER ) + if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) - ++yylineno; + + yylineno++; +; } do_action: /* This label is used only to access EOF actions. */ - switch ( yy_act ) { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + case 1: YY_RULE_SETUP #line 91 "levcomp.lpp" @@ -1662,6 +1662,7 @@ YY_RULE_SETUP } YY_BREAK case 3: +/* rule 3 can match eol */ YY_RULE_SETUP #line 98 "levcomp.lpp" return CHARACTER; @@ -1677,21 +1678,22 @@ YY_RULE_SETUP return CHARACTER; YY_BREAK case 6: +/* rule 6 can match eol */ YY_RULE_SETUP #line 102 "levcomp.lpp" ; YY_BREAK case 7: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +*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 104 "levcomp.lpp" { BEGIN(INITIAL); } YY_BREAK case 8: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +*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 105 "levcomp.lpp" @@ -1705,27 +1707,29 @@ case 9: YY_RULE_SETUP #line 110 "levcomp.lpp" { - settext(); + settext(true); return LUA_LINE; } YY_BREAK case 10: +/* rule 10 can match eol */ YY_RULE_SETUP #line 114 "levcomp.lpp" ; YY_BREAK case 11: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +*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 116 "levcomp.lpp" { - settext(); + settext(true); return LUA_LINE; } YY_BREAK case 12: +/* rule 12 can match eol */ YY_RULE_SETUP #line 120 "levcomp.lpp" { BEGIN(INITIAL); } @@ -1744,6 +1748,7 @@ YY_RULE_SETUP ; YY_BREAK case 15: +/* rule 15 can match eol */ YY_RULE_SETUP #line 128 "levcomp.lpp" { BEGIN(INITIAL); } @@ -1775,11 +1780,13 @@ YY_RULE_SETUP ; YY_BREAK case 20: +/* rule 20 can match eol */ YY_RULE_SETUP #line 142 "levcomp.lpp" { BEGIN(INITIAL); } YY_BREAK case 21: +/* rule 21 can match eol */ YY_RULE_SETUP #line 144 "levcomp.lpp" { BEGIN(INITIAL); } @@ -1812,13 +1819,14 @@ YY_RULE_SETUP } YY_BREAK case 26: +/* rule 26 can match eol */ YY_RULE_SETUP #line 160 "levcomp.lpp" { BEGIN(INITIAL); } YY_BREAK case 27: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +*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 162 "levcomp.lpp" @@ -1828,18 +1836,19 @@ YY_RULE_SETUP } YY_BREAK case 28: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +*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 167 "levcomp.lpp" { BEGIN(INITIAL); - settext(); + settext(true); return STRING; } YY_BREAK case 29: +/* rule 29 can match eol */ YY_RULE_SETUP #line 172 "levcomp.lpp" ; @@ -1850,8 +1859,8 @@ YY_RULE_SETUP ; YY_BREAK case 31: -*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ -yy_c_buf_p = yy_cp -= 1; +*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 176 "levcomp.lpp" @@ -2032,6 +2041,7 @@ YY_RULE_SETUP ; YY_BREAK case 66: +/* rule 66 can match eol */ YY_RULE_SETUP #line 223 "levcomp.lpp" ; @@ -2039,48 +2049,53 @@ YY_RULE_SETUP case 67: YY_RULE_SETUP #line 224 "levcomp.lpp" -return CHARACTER; +; YY_BREAK case 68: YY_RULE_SETUP -#line 226 "levcomp.lpp" +#line 225 "levcomp.lpp" +return CHARACTER; + YY_BREAK +case 69: +YY_RULE_SETUP +#line 227 "levcomp.lpp" ECHO; YY_BREAK -#line 2050 "levcomp.lex.cc" - case YY_STATE_EOF(INITIAL): - case YY_STATE_EOF(MAPDEF): - case YY_STATE_EOF(LUA): - case YY_STATE_EOF(LUA_ONELINER): - case YY_STATE_EOF(ARGUMENT): - case YY_STATE_EOF(MNAME): - case YY_STATE_EOF(KEYWORDS): - case YY_STATE_EOF(ITEM_LIST): - case YY_STATE_EOF(TOEOL): - yyterminate(); +#line 2065 "levcomp.lex.cc" +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(MAPDEF): +case YY_STATE_EOF(LUA): +case YY_STATE_EOF(LUA_ONELINER): +case YY_STATE_EOF(ARGUMENT): +case YY_STATE_EOF(MNAME): +case YY_STATE_EOF(KEYWORDS): +case YY_STATE_EOF(ITEM_LIST): +case YY_STATE_EOF(TOEOL): + 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 @@ -2090,13 +2105,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 @@ -2109,30 +2124,31 @@ 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_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); 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 @@ -2143,7 +2159,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; @@ -2151,30 +2167,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; @@ -2185,8 +2201,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 * @@ -2195,21 +2210,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. @@ -2229,34 +2243,30 @@ 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; + YY_BUFFER_STATE b = YY_CURRENT_BUFFER; int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); + (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { @@ -2269,8 +2279,7 @@ static int yy_get_next_buffer() 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 ); + yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ @@ -2280,35 +2289,35 @@ static int yy_get_next_buffer() YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - num_to_read = yy_current_buffer->yy_buf_size - + num_to_read = YY_CURRENT_BUFFER_LVALUE->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; } } @@ -2316,149 +2325,142 @@ 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; + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; + (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 ) + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 932 ) + if ( yy_current_state >= 936 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - *yy_state_ptr++ = yy_current_state; } return yy_current_state; - } - +} /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ - -#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 char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 932 ) + if ( yy_current_state >= 936 ) 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 == 931); - if ( ! yy_is_jam ) - *yy_state_ptr++ = yy_current_state; + yy_is_jam = (yy_current_state == 935); 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; - if ( c == '\n' ) - --yylineno; - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ + if ( c == '\n' ){ + --yylineno; + } + (yytext_ptr) = yy_bp; + (yy_hold_char) = *yy_cp; + (yy_c_buf_p) = yy_cp; +} +#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() @@ -2472,16 +2474,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(); @@ -2491,93 +2493,98 @@ 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'); - if ( yy_current_buffer->yy_at_bol ) - ++yylineno; + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); + if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) + + yylineno++; +; 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()" ); @@ -2586,80 +2593,71 @@ 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 ); + yyfree((void *) b->yy_ch_buf ); - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#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 ); +} +/* 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 = 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; @@ -2676,29 +2674,121 @@ 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*) + ); + + 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*) + ); + /* 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()" ); @@ -2712,56 +2802,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()" ); @@ -2771,148 +2856,199 @@ 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. + */ + + /* We do not touch yylineno unless the option is enabled. */ + yylineno = 1; + + (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; + +/* 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 ) + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); + return 0; +} -/* Internal utility routines. */ +/* + * 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 @@ -2921,26 +3057,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 227 "levcomp.lpp" -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 226 "levcomp.lpp" int yywrap() @@ -2949,3 +3076,4 @@ int yywrap() flush_free_queue(0); return 1; } + diff --git a/crawl-ref/source/prebuilt/levcomp.tab.cc b/crawl-ref/source/prebuilt/levcomp.tab.cc index 25f628aa73..680315a76a 100644 --- a/crawl-ref/source/prebuilt/levcomp.tab.cc +++ b/crawl-ref/source/prebuilt/levcomp.tab.cc @@ -1,7 +1,9 @@ -/* A Bison parser, made by GNU Bison 2.0. */ +/* A Bison parser, made by GNU Bison 2.3. */ -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +/* Skeleton implementation for Bison's Yacc-like parsers in C + + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,16 +17,24 @@ 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. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ -/* Written by Richard Stallman by simplifying the original so called - ``semantic'' parser. */ +/* C LALR(1) parser skeleton written by Richard Stallman, by + simplifying the original so-called "semantic" parser. */ /* All symbols defined below should begin with yy or YY, to avoid infringing on user name space. This should be done even for local @@ -36,6 +46,9 @@ /* Identify Bison output. */ #define YYBISON 1 +/* Bison version. */ +#define YYBISON_VERSION "2.3" + /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -90,6 +103,7 @@ LUA_LINE = 292 }; #endif +/* Tokens. */ #define DEFAULT_DEPTH 258 #define SHUFFLE 259 #define SUBST 260 @@ -188,15 +202,22 @@ level_range set_range(const char *s, int start, int end) # define YYERROR_VERBOSE 0 #endif -#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +/* Enabling the token table. */ +#ifndef YYTOKEN_TABLE +# define YYTOKEN_TABLE 0 +#endif + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE #line 46 "levcomp.ypp" -typedef union YYSTYPE { +{ int i; const char *text; raw_range range; -} YYSTYPE; -/* Line 185 of yacc.c. */ -#line 200 "levcomp.tab.c" +} +/* Line 187 of yacc.c. */ +#line 220 "levcomp.tab.c" + YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 @@ -207,17 +228,94 @@ typedef union YYSTYPE { /* Copy the second part of user declarations. */ -/* Line 213 of yacc.c. */ -#line 212 "levcomp.tab.c" +/* Line 216 of yacc.c. */ +#line 233 "levcomp.tab.c" + +#ifdef short +# undef short +#endif + +#ifdef YYTYPE_UINT8 +typedef YYTYPE_UINT8 yytype_uint8; +#else +typedef unsigned char yytype_uint8; +#endif + +#ifdef YYTYPE_INT8 +typedef YYTYPE_INT8 yytype_int8; +#elif (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +typedef signed char yytype_int8; +#else +typedef short int yytype_int8; +#endif + +#ifdef YYTYPE_UINT16 +typedef YYTYPE_UINT16 yytype_uint16; +#else +typedef unsigned short int yytype_uint16; +#endif + +#ifdef YYTYPE_INT16 +typedef YYTYPE_INT16 yytype_int16; +#else +typedef short int yytype_int16; +#endif + +#ifndef YYSIZE_T +# ifdef __SIZE_TYPE__ +# define YYSIZE_T __SIZE_TYPE__ +# elif defined size_t +# define YYSIZE_T size_t +# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned int +# endif +#endif -#if ! defined (yyoverflow) || YYERROR_VERBOSE +#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) -# ifndef YYFREE -# define YYFREE free +#ifndef YY_ +# if YYENABLE_NLS +# if ENABLE_NLS +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_(msgid) dgettext ("bison-runtime", msgid) +# endif # endif -# ifndef YYMALLOC -# define YYMALLOC malloc +# ifndef YY_ +# define YY_(msgid) msgid # endif +#endif + +/* Suppress unused-variable warnings by "using" E. */ +#if ! defined lint || defined __GNUC__ +# define YYUSE(e) ((void) (e)) +#else +# define YYUSE(e) /* empty */ +#endif + +/* Identity function, used to suppress warnings about constant conditions. */ +#ifndef lint +# define YYID(n) (n) +#else +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static int +YYID (int i) +#else +static int +YYID (i) + int i; +#endif +{ + return i; +} +#endif + +#if ! defined yyoverflow || YYERROR_VERBOSE /* The parser invokes alloca or malloc; define the necessary symbols. */ @@ -225,34 +323,76 @@ typedef union YYSTYPE { # if YYSTACK_USE_ALLOCA # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca +# elif defined __BUILTIN_VA_ARG_INCR +# include /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca # else # define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +# include /* INFRINGES ON USER NAME SPACE */ +# ifndef _STDLIB_H +# define _STDLIB_H 1 +# endif +# endif # endif # endif # endif # ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) -# else -# if defined (__STDC__) || defined (__cplusplus) -# include /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ # endif +# else # define YYSTACK_ALLOC YYMALLOC # define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM +# endif +# if (defined __cplusplus && ! defined _STDLIB_H \ + && ! ((defined YYMALLOC || defined malloc) \ + && (defined YYFREE || defined free))) +# include /* INFRINGES ON USER NAME SPACE */ +# ifndef _STDLIB_H +# define _STDLIB_H 1 +# endif +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif # endif -#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ +#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ -#if (! defined (yyoverflow) \ - && (! defined (__cplusplus) \ - || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL))) +#if (! defined yyoverflow \ + && (! defined __cplusplus \ + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { - short int yyss; + yytype_int16 yyss; YYSTYPE yyvs; }; @@ -262,24 +402,24 @@ union yyalloc /* The size of an array large to enough to hold all stacks, each with N elements. */ # define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \ + ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) /* Copy COUNT objects from FROM to TO. The source and destination do not overlap. */ # ifndef YYCOPY -# if defined (__GNUC__) && 1 < __GNUC__ +# if defined __GNUC__ && 1 < __GNUC__ # define YYCOPY(To, From, Count) \ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) # else # define YYCOPY(To, From, Count) \ do \ { \ - register YYSIZE_T yyi; \ + YYSIZE_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ - while (0) + while (YYID (0)) # endif # endif @@ -297,39 +437,33 @@ union yyalloc yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ - while (0) + while (YYID (0)) #endif -#if defined (__STDC__) || defined (__cplusplus) - typedef signed char yysigned_char; -#else - typedef short int yysigned_char; -#endif - -/* YYFINAL -- State number of the termination state. */ +/* YYFINAL -- State number of the termination state. */ #define YYFINAL 3 /* YYLAST -- Last index in YYTABLE. */ #define YYLAST 75 -/* YYNTOKENS -- Number of terminals. */ +/* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 38 -/* YYNNTS -- Number of nonterminals. */ +/* YYNNTS -- Number of nonterminals. */ #define YYNNTS 69 -/* YYNRULES -- Number of rules. */ +/* YYNRULES -- Number of rules. */ #define YYNRULES 123 -/* YYNRULES -- Number of states. */ +/* YYNRULES -- Number of states. */ #define YYNSTATES 141 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 292 -#define YYTRANSLATE(YYX) \ +#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -static const unsigned char yytranslate[] = +static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -366,7 +500,7 @@ static const unsigned char yytranslate[] = #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ -static const unsigned short int yyprhs[] = +static const yytype_uint16 yyprhs[] = { 0, 0, 3, 5, 6, 9, 11, 13, 15, 17, 19, 22, 25, 26, 29, 31, 33, 36, 38, 40, @@ -383,8 +517,8 @@ static const unsigned short int yyprhs[] = 280, 282, 285, 287 }; -/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -static const yysigned_char yyrhs[] = +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yytype_int8 yyrhs[] = { 39, 0, -1, 40, -1, -1, 40, 41, -1, 43, -1, 45, -1, 32, -1, 44, -1, 50, -1, 3, @@ -418,7 +552,7 @@ static const yysigned_char yyrhs[] = }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const unsigned short int yyrline[] = +static const yytype_uint16 yyrline[] = { 0, 67, 67, 70, 71, 74, 75, 78, 84, 85, 88, 98, 120, 121, 124, 125, 128, 152, 153, 154, @@ -436,9 +570,9 @@ static const unsigned short int yyrline[] = }; #endif -#if YYDEBUG || YYERROR_VERBOSE -/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { "$end", "error", "$undefined", "DEFAULT_DEPTH", "SHUFFLE", "SUBST", @@ -467,7 +601,7 @@ static const char *const yytname[] = # ifdef YYPRINT /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */ -static const unsigned short int yytoknum[] = +static const yytype_uint16 yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, @@ -477,7 +611,7 @@ static const unsigned short int yytoknum[] = # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const unsigned char yyr1[] = +static const yytype_uint8 yyr1[] = { 0, 38, 39, 40, 40, 41, 41, 42, 43, 43, 44, 45, 46, 46, 47, 47, 48, 49, 49, 49, @@ -495,7 +629,7 @@ static const unsigned char yyr1[] = }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const unsigned char yyr2[] = +static const yytype_uint8 yyr2[] = { 0, 2, 1, 0, 2, 1, 1, 1, 1, 1, 2, 2, 0, 2, 1, 1, 2, 1, 1, 1, @@ -515,7 +649,7 @@ static const unsigned char yyr2[] = /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ -static const unsigned char yydefact[] = +static const yytype_uint8 yydefact[] = { 3, 0, 2, 1, 0, 0, 44, 4, 5, 8, 6, 12, 9, 10, 16, 43, 11, 46, 45, 0, @@ -534,8 +668,8 @@ static const unsigned char yydefact[] = 97 }; -/* YYDEFGOTO[NTERM-NUM]. */ -static const short int yydefgoto[] = +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = { -1, 1, 2, 7, 46, 8, 9, 10, 16, 47, 11, 48, 12, 15, 18, 49, 103, 127, 50, 104, @@ -549,7 +683,7 @@ static const short int yydefgoto[] = /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ #define YYPACT_NINF -76 -static const yysigned_char yypact[] = +static const yytype_int8 yypact[] = { -76, 7, 23, -76, -6, -2, -76, -76, -76, -76, -76, -76, -76, -76, -76, -8, -4, -76, -76, -3, @@ -569,7 +703,7 @@ static const yysigned_char yypact[] = }; /* YYPGOTO[NTERM-NUM]. */ -static const yysigned_char yypgoto[] = +static const yytype_int8 yypgoto[] = { -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, @@ -585,7 +719,7 @@ static const yysigned_char yypgoto[] = number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1 -static const unsigned char yytable[] = +static const yytype_uint8 yytable[] = { 19, 20, 21, 22, 23, 24, 25, 3, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, @@ -597,7 +731,7 @@ static const unsigned char yytable[] = 136, 0, 135, 0, 0, 114 }; -static const short int yycheck[] = +static const yytype_int16 yycheck[] = { 4, 5, 6, 7, 8, 9, 10, 0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, @@ -611,7 +745,7 @@ static const short int yycheck[] = /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ -static const unsigned char yystos[] = +static const yytype_uint8 yystos[] = { 0, 39, 40, 0, 3, 11, 21, 41, 43, 44, 45, 48, 50, 33, 33, 51, 46, 37, 52, 4, @@ -630,22 +764,6 @@ static const unsigned char yystos[] = 89 }; -#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) -# define YYSIZE_T __SIZE_TYPE__ -#endif -#if ! defined (YYSIZE_T) && defined (size_t) -# define YYSIZE_T size_t -#endif -#if ! defined (YYSIZE_T) -# if defined (__STDC__) || defined (__cplusplus) -# include /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -#endif -#if ! defined (YYSIZE_T) -# define YYSIZE_T unsigned int -#endif - #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY (-2) @@ -671,15 +789,15 @@ do \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ + YYPOPSTACK (1); \ goto yybackup; \ } \ else \ - { \ - yyerror ("syntax error: cannot back up");\ + { \ + yyerror (YY_("syntax error: cannot back up")); \ YYERROR; \ } \ -while (0) +while (YYID (0)) #define YYTERROR 1 @@ -694,7 +812,7 @@ while (0) #ifndef YYLLOC_DEFAULT # define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ - if (N) \ + if (YYID (N)) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ @@ -708,7 +826,7 @@ while (0) (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ - while (0) + while (YYID (0)) #endif @@ -720,8 +838,8 @@ while (0) # if YYLTYPE_IS_TRIVIAL # define YY_LOCATION_PRINT(File, Loc) \ fprintf (File, "%d.%d-%d.%d", \ - (Loc).first_line, (Loc).first_column, \ - (Loc).last_line, (Loc).last_column) + (Loc).first_line, (Loc).first_column, \ + (Loc).last_line, (Loc).last_column) # else # define YY_LOCATION_PRINT(File, Loc) ((void) 0) # endif @@ -748,36 +866,96 @@ while (0) do { \ if (yydebug) \ YYFPRINTF Args; \ -} while (0) +} while (YYID (0)) -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yysymprint (stderr, \ - Type, Value); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (0) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (YYID (0)) + + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_value_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif +{ + if (!yyvaluep) + return; +# ifdef YYPRINT + if (yytype < YYNTOKENS) + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# else + YYUSE (yyoutput); +# endif + switch (yytype) + { + default: + break; + } +} + + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif +{ + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + yy_symbol_value_print (yyoutput, yytype, yyvaluep); + YYFPRINTF (yyoutput, ")"); +} /*------------------------------------------------------------------. | yy_stack_print -- Print the state stack from its BOTTOM up to its | | TOP (included). | `------------------------------------------------------------------*/ -#if defined (__STDC__) || defined (__cplusplus) +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yy_stack_print (short int *bottom, short int *top) +yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) #else static void yy_stack_print (bottom, top) - short int *bottom; - short int *top; + yytype_int16 *bottom; + yytype_int16 *top; #endif { YYFPRINTF (stderr, "Stack now"); - for (/* Nothing. */; bottom <= top; ++bottom) + for (; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); YYFPRINTF (stderr, "\n"); } @@ -786,37 +964,45 @@ yy_stack_print (bottom, top) do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ -} while (0) +} while (YYID (0)) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ -#if defined (__STDC__) || defined (__cplusplus) +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yy_reduce_print (int yyrule) +yy_reduce_print (YYSTYPE *yyvsp, int yyrule) #else static void -yy_reduce_print (yyrule) +yy_reduce_print (yyvsp, yyrule) + YYSTYPE *yyvsp; int yyrule; #endif { + int yynrhs = yyr2[yyrule]; int yyi; - unsigned int yylno = yyrline[yyrule]; - YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", - yyrule - 1, yylno); - /* Print the symbols being reduced, and their result. */ - for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) - YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); - YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); + unsigned long int yylno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + fprintf (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], + &(yyvsp[(yyi + 1) - (yynrhs)]) + ); + fprintf (stderr, "\n"); + } } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ - yy_reduce_print (Rule); \ -} while (0) + yy_reduce_print (yyvsp, Rule); \ +} while (YYID (0)) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ @@ -838,7 +1024,7 @@ int yydebug; if the built-in stack extension method is used). Do not make this value too large; the results are undefined if - SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ #ifndef YYMAXDEPTH @@ -850,45 +1036,47 @@ int yydebug; #if YYERROR_VERBOSE # ifndef yystrlen -# if defined (__GLIBC__) && defined (_STRING_H) +# if defined __GLIBC__ && defined _STRING_H # define yystrlen strlen # else /* Return the length of YYSTR. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static YYSIZE_T -# if defined (__STDC__) || defined (__cplusplus) yystrlen (const char *yystr) -# else +#else +static YYSIZE_T yystrlen (yystr) - const char *yystr; -# endif + const char *yystr; +#endif { - register const char *yys = yystr; - - while (*yys++ != '\0') + YYSIZE_T yylen; + for (yylen = 0; yystr[yylen]; yylen++) continue; - - return yys - yystr - 1; + return yylen; } # endif # endif # ifndef yystpcpy -# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE # define yystpcpy stpcpy # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static char * -# if defined (__STDC__) || defined (__cplusplus) yystpcpy (char *yydest, const char *yysrc) -# else +#else +static char * yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -# endif + char *yydest; + const char *yysrc; +#endif { - register char *yyd = yydest; - register const char *yys = yysrc; + char *yyd = yydest; + const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; @@ -898,53 +1086,171 @@ yystpcpy (yydest, yysrc) # endif # endif -#endif /* !YYERROR_VERBOSE */ +# ifndef yytnamerr +/* Copy to YYRES the contents of YYSTR after stripping away unnecessary + quotes and backslashes, so that it's suitable for yyerror. The + heuristic is that double-quoting is unnecessary unless the string + contains an apostrophe, a comma, or backslash (other than + backslash-backslash). YYSTR is taken from yytname. If YYRES is + null, do not copy; instead, return the length of what the result + would have been. */ +static YYSIZE_T +yytnamerr (char *yyres, const char *yystr) +{ + if (*yystr == '"') + { + YYSIZE_T yyn = 0; + char const *yyp = yystr; + + for (;;) + switch (*++yyp) + { + case '\'': + case ',': + goto do_not_strip_quotes; + + case '\\': + if (*++yyp != '\\') + goto do_not_strip_quotes; + /* Fall through. */ + default: + if (yyres) + yyres[yyn] = *yyp; + yyn++; + break; + + case '"': + if (yyres) + yyres[yyn] = '\0'; + return yyn; + } + do_not_strip_quotes: ; + } - + if (! yyres) + return yystrlen (yystr); -#if YYDEBUG -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ + return yystpcpy (yyres, yystr) - yyres; +} +# endif -#if defined (__STDC__) || defined (__cplusplus) -static void -yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) -#else -static void -yysymprint (yyoutput, yytype, yyvaluep) - FILE *yyoutput; - int yytype; - YYSTYPE *yyvaluep; -#endif +/* Copy into YYRESULT an error message about the unexpected token + YYCHAR while in state YYSTATE. Return the number of bytes copied, + including the terminating null byte. If YYRESULT is null, do not + copy anything; just return the number of bytes that would be + copied. As a special case, return 0 if an ordinary "syntax error" + message will do. Return YYSIZE_MAXIMUM if overflow occurs during + size calculation. */ +static YYSIZE_T +yysyntax_error (char *yyresult, int yystate, int yychar) { - /* Pacify ``unused variable'' warnings. */ - (void) yyvaluep; + int yyn = yypact[yystate]; - if (yytype < YYNTOKENS) - YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) + return 0; else - YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); - - -# ifdef YYPRINT - if (yytype < YYNTOKENS) - YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); -# endif - switch (yytype) { - default: - break; + int yytype = YYTRANSLATE (yychar); + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + int yysize_overflow = 0; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + int yyx; + +# if 0 + /* This is so xgettext sees the translatable formats that are + constructed on the fly. */ + YY_("syntax error, unexpected %s"); + YY_("syntax error, unexpected %s, expecting %s"); + YY_("syntax error, unexpected %s, expecting %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); +# endif + char *yyfmt; + char const *yyf; + static char const yyunexpected[] = "syntax error, unexpected %s"; + static char const yyexpecting[] = ", expecting %s"; + static char const yyor[] = " or %s"; + char yyformat[sizeof yyunexpected + + sizeof yyexpecting - 1 + + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) + * (sizeof yyor - 1))]; + char const *yyprefix = yyexpecting; + + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yycount = 1; + + yyarg[0] = yytname[yytype]; + yyfmt = yystpcpy (yyformat, yyunexpected); + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + yyformat[sizeof yyunexpected - 1] = '\0'; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + yysize_overflow |= (yysize1 < yysize); + yysize = yysize1; + yyfmt = yystpcpy (yyfmt, yyprefix); + yyprefix = yyor; + } + + yyf = YY_(yyformat); + yysize1 = yysize + yystrlen (yyf); + yysize_overflow |= (yysize1 < yysize); + yysize = yysize1; + + if (yysize_overflow) + return YYSIZE_MAXIMUM; + + if (yyresult) + { + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + char *yyp = yyresult; + int yyi = 0; + while ((*yyp = *yyf) != '\0') + { + if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyf += 2; + } + else + { + yyp++; + yyf++; + } + } + } + return yysize; } - YYFPRINTF (yyoutput, ")"); } +#endif /* YYERROR_VERBOSE */ + -#endif /* ! YYDEBUG */ /*-----------------------------------------------. | Release the memory associated to this symbol. | `-----------------------------------------------*/ -#if defined (__STDC__) || defined (__cplusplus) +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) #else @@ -955,8 +1261,7 @@ yydestruct (yymsg, yytype, yyvaluep) YYSTYPE *yyvaluep; #endif { - /* Pacify ``unused variable'' warnings. */ - (void) yyvaluep; + YYUSE (yyvaluep); if (!yymsg) yymsg = "Deleting"; @@ -966,7 +1271,7 @@ yydestruct (yymsg, yytype, yyvaluep) { default: - break; + break; } } @@ -974,13 +1279,13 @@ yydestruct (yymsg, yytype, yyvaluep) /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM -# if defined (__STDC__) || defined (__cplusplus) +#if defined __STDC__ || defined __cplusplus int yyparse (void *YYPARSE_PARAM); -# else +#else int yyparse (); -# endif +#endif #else /* ! YYPARSE_PARAM */ -#if defined (__STDC__) || defined (__cplusplus) +#if defined __STDC__ || defined __cplusplus int yyparse (void); #else int yyparse (); @@ -1005,14 +1310,18 @@ int yynerrs; `----------*/ #ifdef YYPARSE_PARAM -# if defined (__STDC__) || defined (__cplusplus) -int yyparse (void *YYPARSE_PARAM) -# else -int yyparse (YYPARSE_PARAM) - void *YYPARSE_PARAM; -# endif +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void *YYPARSE_PARAM) +#else +int +yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +#endif #else /* ! YYPARSE_PARAM */ -#if defined (__STDC__) || defined (__cplusplus) +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) int yyparse (void) #else @@ -1023,13 +1332,19 @@ yyparse () #endif { - register int yystate; - register int yyn; + int yystate; + int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* Look-ahead token as an internal (translated) token number. */ int yytoken = 0; +#if YYERROR_VERBOSE + /* Buffer for error messages, and its allocated size. */ + char yymsgbuf[128]; + char *yymsg = yymsgbuf; + YYSIZE_T yymsg_alloc = sizeof yymsgbuf; +#endif /* Three stacks and their tools: `yyss': related to states, @@ -1040,18 +1355,18 @@ yyparse () to reallocate them elsewhere. */ /* The state stack. */ - short int yyssa[YYINITDEPTH]; - short int *yyss = yyssa; - register short int *yyssp; + yytype_int16 yyssa[YYINITDEPTH]; + yytype_int16 *yyss = yyssa; + yytype_int16 *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; - register YYSTYPE *yyvsp; + YYSTYPE *yyvsp; -#define YYPOPSTACK (yyvsp--, yyssp--) +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) YYSIZE_T yystacksize = YYINITDEPTH; @@ -1060,9 +1375,9 @@ yyparse () YYSTYPE yyval; - /* When reducing, the number of symbols on the RHS of the reduced - rule. */ - int yylen; + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; YYDPRINTF ((stderr, "Starting parse\n")); @@ -1079,9 +1394,6 @@ yyparse () yyssp = yyss; yyvsp = yyvs; - - yyvsp[0] = yylval; - goto yysetstate; /*------------------------------------------------------------. @@ -1089,8 +1401,7 @@ yyparse () `------------------------------------------------------------*/ yynewstate: /* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. - */ + have just been pushed. So pushing a state here evens the stacks. */ yyssp++; yysetstate: @@ -1103,18 +1414,18 @@ yyparse () #ifdef yyoverflow { - /* Give user a chance to reallocate the stack. Use copies of + /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; - short int *yyss1 = yyss; + yytype_int16 *yyss1 = yyss; /* Each stack pointer address is followed by the size of the data in use in that stack, in bytes. This used to be a conditional around just the two extra args, but that might be undefined if yyoverflow is a macro. */ - yyoverflow ("parser stack overflow", + yyoverflow (YY_("memory exhausted"), &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), @@ -1125,21 +1436,21 @@ yyparse () } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE - goto yyoverflowlab; + goto yyexhaustedlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) - goto yyoverflowlab; + goto yyexhaustedlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { - short int *yyss1 = yyss; + yytype_int16 *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) - goto yyoverflowlab; + goto yyexhaustedlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); @@ -1170,12 +1481,10 @@ yyparse () `-----------*/ yybackup: -/* Do appropriate processing given the current state. */ -/* Read a look-ahead token if we need one and don't already have one. */ -/* yyresume: */ + /* Do appropriate processing given the current state. Read a + look-ahead token if we need one and don't already have one. */ /* First try to decide what to do without reference to look-ahead token. */ - yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; @@ -1217,22 +1526,21 @@ yybackup: if (yyn == YYFINAL) YYACCEPT; + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + /* Shift the look-ahead token. */ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); - /* Discard the token being shifted unless it is eof. */ + /* Discard the shifted token unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; + yystate = yyn; *++yyvsp = yylval; - - /* Count tokens shifted since error; after three, turn off error - status. */ - if (yyerrstatus) - yyerrstatus--; - - yystate = yyn; goto yynewstate; @@ -1313,10 +1621,10 @@ yyreduce: #line 89 "levcomp.ypp" { dgn_reset_default_depth(); - std::string err = dgn_set_default_depth((yyvsp[0].text)); + std::string err = dgn_set_default_depth((yyvsp[(2) - (2)].text)); if (!err.empty()) yyerror(make_stringf("Bad default-depth: %s (%s)", - (yyvsp[0].text), err.c_str()).c_str()); + (yyvsp[(2) - (2)].text), err.c_str()).c_str()); } break; @@ -1367,24 +1675,24 @@ yyreduce: #line 129 "levcomp.ypp" { lc_map.init(); - lc_map.name = (yyvsp[0].text); + lc_map.name = (yyvsp[(2) - (2)].text); map_load_info_t::const_iterator i = - lc_loaded_maps.find((yyvsp[0].text)); + lc_loaded_maps.find((yyvsp[(2) - (2)].text)); if (i != lc_loaded_maps.end()) { yyerror( make_stringf( "Map named '%s' already loaded at %s:%d", - (yyvsp[0].text), + (yyvsp[(2) - (2)].text), i->second.filename.c_str(), i->second.lineno).c_str() ); } lc_map.place_loaded_from = map_file_place(lc_desfile, yylineno); - lc_loaded_maps[(yyvsp[0].text)] = lc_map.place_loaded_from; + lc_loaded_maps[(yyvsp[(2) - (2)].text)] = lc_map.place_loaded_from; } break; @@ -1411,7 +1719,7 @@ yyreduce: case 46: #line 187 "levcomp.ypp" { - lc_global_prelude.add(yylineno, (yyvsp[0].text)); + lc_global_prelude.add(yylineno, (yyvsp[(1) - (1)].text)); } break; @@ -1433,7 +1741,7 @@ yyreduce: case 50: #line 198 "levcomp.ypp" { - lc_map.main.add(yylineno, (yyvsp[0].text)); + lc_map.main.add(yylineno, (yyvsp[(1) - (1)].text)); } break; @@ -1455,7 +1763,7 @@ yyreduce: case 54: #line 209 "levcomp.ypp" { - lc_map.validate.add(yylineno, (yyvsp[0].text)); + lc_map.validate.add(yylineno, (yyvsp[(1) - (1)].text)); } break; @@ -1477,7 +1785,7 @@ yyreduce: case 58: #line 220 "levcomp.ypp" { - lc_map.veto.add(yylineno, (yyvsp[0].text)); + lc_map.veto.add(yylineno, (yyvsp[(1) - (1)].text)); } break; @@ -1499,7 +1807,7 @@ yyreduce: case 62: #line 231 "levcomp.ypp" { - lc_map.prelude.add(yylineno, (yyvsp[0].text)); + lc_map.prelude.add(yylineno, (yyvsp[(1) - (1)].text)); } break; @@ -1514,7 +1822,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("kfeat(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1529,7 +1837,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("kmons(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1544,7 +1852,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("kitem(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1559,7 +1867,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("kmask(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1574,7 +1882,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("shuffle(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; @@ -1589,7 +1897,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("tags(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; @@ -1599,7 +1907,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("lflags(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1609,7 +1917,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("bflags(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1636,7 +1944,7 @@ yyreduce: make_stringf( "%s\"%s\"", start_marker_segment? "" : " .. ", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); start_marker_segment = false; } break; @@ -1657,7 +1965,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("floor_colour(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1672,7 +1980,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("rock_colour(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1692,7 +2000,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("colour(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; @@ -1717,7 +2025,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("nsubst(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; @@ -1732,7 +2040,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("subst(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; @@ -1752,7 +2060,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("item(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; @@ -1772,7 +2080,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("mons(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; @@ -1782,7 +2090,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("place(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1797,7 +2105,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("depth(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1806,7 +2114,7 @@ yyreduce: { lc_map.main.add( yylineno, - make_stringf("chance(\"%d\")", (yyvsp[0].i))); + make_stringf("chance(\"%d\")", (yyvsp[(2) - (2)].i))); } break; @@ -1821,7 +2129,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("orient(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1831,7 +2139,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("welcome(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); } break; @@ -1841,20 +2149,19 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("map(\"%s\")", - quote_lua_string((yyvsp[0].text)).c_str())); + quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); } break; +/* Line 1267 of yacc.c. */ +#line 2159 "levcomp.tab.c" + default: break; } + YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); -/* Line 1037 of yacc.c. */ -#line 1853 "levcomp.tab.c" - - yyvsp -= yylen; - yyssp -= yylen; - - + YYPOPSTACK (yylen); + yylen = 0; YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; @@ -1883,66 +2190,41 @@ yyerrlab: if (!yyerrstatus) { ++yynerrs; -#if YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (YYPACT_NINF < yyn && yyn < YYLAST) - { - YYSIZE_T yysize = 0; - int yytype = YYTRANSLATE (yychar); - const char* yyprefix; - char *yymsg; - int yyx; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 0; - - yyprefix = ", expecting "; - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) +#if ! YYERROR_VERBOSE + yyerror (YY_("syntax error")); +#else + { + YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); + if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) + { + YYSIZE_T yyalloc = 2 * yysize; + if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) + yyalloc = YYSTACK_ALLOC_MAXIMUM; + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yyalloc); + if (yymsg) + yymsg_alloc = yyalloc; + else { - yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]); - yycount += 1; - if (yycount == 5) - { - yysize = 0; - break; - } + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; } - yysize += (sizeof ("syntax error, unexpected ") - + yystrlen (yytname[yytype])); - yymsg = (char *) YYSTACK_ALLOC (yysize); - if (yymsg != 0) - { - char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); - yyp = yystpcpy (yyp, yytname[yytype]); - - if (yycount < 5) - { - yyprefix = ", expecting "; - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - yyp = yystpcpy (yyp, yyprefix); - yyp = yystpcpy (yyp, yytname[yyx]); - yyprefix = " or "; - } - } - yyerror (yymsg); - YYSTACK_FREE (yymsg); - } - else - yyerror ("syntax error; also virtual memory exhausted"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror ("syntax error"); + } + + if (0 < yysize && yysize <= yymsg_alloc) + { + (void) yysyntax_error (yymsg, yystate, yychar); + yyerror (yymsg); + } + else + { + yyerror (YY_("syntax error")); + if (yysize != 0) + goto yyexhaustedlab; + } + } +#endif } @@ -1953,23 +2235,15 @@ yyerrlab: error, discard it. */ if (yychar <= YYEOF) - { - /* If at end of input, pop the error token, - then the rest of the stack, then return failure. */ + { + /* Return failure if at end of input. */ if (yychar == YYEOF) - for (;;) - { - - YYPOPSTACK; - if (yyssp == yyss) - YYABORT; - yydestruct ("Error: popping", - yystos[*yyssp], yyvsp); - } - } + YYABORT; + } else { - yydestruct ("Error: discarding", yytoken, &yylval); + yydestruct ("Error: discarding", + yytoken, &yylval); yychar = YYEMPTY; } } @@ -1984,15 +2258,17 @@ yyerrlab: `---------------------------------------------------*/ yyerrorlab: -#ifdef __GNUC__ - /* Pacify GCC when the user code never invokes YYERROR and the label - yyerrorlab therefore never appears in user code. */ - if (0) + /* Pacify compilers like GCC when the user code never invokes + YYERROR and the label yyerrorlab therefore never appears in user + code. */ + if (/*CONSTCOND*/ 0) goto yyerrorlab; -#endif -yyvsp -= yylen; - yyssp -= yylen; + /* Do not reclaim the symbols of the rule which action triggered + this YYERROR. */ + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); yystate = *yyssp; goto yyerrlab1; @@ -2022,8 +2298,9 @@ yyerrlab1: YYABORT; - yydestruct ("Error: popping", yystos[yystate], yyvsp); - YYPOPSTACK; + yydestruct ("Error: popping", + yystos[yystate], yyvsp); + YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); } @@ -2034,7 +2311,7 @@ yyerrlab1: *++yyvsp = yylval; - /* Shift the error token. */ + /* Shift the error token. */ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); yystate = yyn; @@ -2052,28 +2329,43 @@ yyacceptlab: | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ yyabortlab: - yydestruct ("Error: discarding lookahead", - yytoken, &yylval); - yychar = YYEMPTY; yyresult = 1; goto yyreturn; #ifndef yyoverflow -/*----------------------------------------------. -| yyoverflowlab -- parser overflow comes here. | -`----------------------------------------------*/ -yyoverflowlab: - yyerror ("parser stack overflow"); +/*-------------------------------------------------. +| yyexhaustedlab -- memory exhaustion comes here. | +`-------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); yyresult = 2; /* Fall through. */ #endif yyreturn: + if (yychar != YYEOF && yychar != YYEMPTY) + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + /* Do not reclaim the symbols of the rule which action triggered + this YYABORT or YYACCEPT. */ + YYPOPSTACK (yylen); + YY_STACK_PRINT (yyss, yyssp); + while (yyssp != yyss) + { + yydestruct ("Cleanup: popping", + yystos[*yyssp], yyvsp); + YYPOPSTACK (1); + } #ifndef yyoverflow if (yyss != yyssa) YYSTACK_FREE (yyss); #endif - return yyresult; +#if YYERROR_VERBOSE + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); +#endif + /* Make sure YYID is used. */ + return YYID (yyresult); } diff --git a/crawl-ref/source/prebuilt/levcomp.tab.h b/crawl-ref/source/prebuilt/levcomp.tab.h index 996d9b9231..0c8b968088 100644 --- a/crawl-ref/source/prebuilt/levcomp.tab.h +++ b/crawl-ref/source/prebuilt/levcomp.tab.h @@ -1,7 +1,9 @@ -/* A Bison parser, made by GNU Bison 2.0. */ +/* A Bison parser, made by GNU Bison 2.3. */ -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +/* Skeleton interface for Bison's Yacc-like parsers in C + + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,13 +17,21 @@ 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. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE @@ -66,6 +76,7 @@ LUA_LINE = 292 }; #endif +/* Tokens. */ #define DEFAULT_DEPTH 258 #define SHUFFLE 259 #define SUBST 260 @@ -105,15 +116,17 @@ -#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE #line 46 "levcomp.ypp" -typedef union YYSTYPE { +{ int i; const char *text; raw_range range; -} YYSTYPE; -/* Line 1274 of yacc.c. */ -#line 117 "levcomp.tab.h" +} +/* Line 1489 of yacc.c. */ +#line 129 "levcomp.tab.h" + YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 @@ -121,5 +134,3 @@ typedef union YYSTYPE { extern YYSTYPE yylval; - - -- cgit v1.2.3-54-g00ecf