diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-04 05:07:33 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-04 05:07:33 +0000 |
commit | fb5e421254d2748e88657c9732c114a34a25f704 (patch) | |
tree | 2e7c7d42178ae62f3142062de30402c174e6ce52 /crawl-ref/source/prebuilt | |
parent | 13f47218bbda7251a2521eda0c4a858ea333bbee (diff) | |
download | crawl-ref-fb5e421254d2748e88657c9732c114a34a25f704.tar.gz crawl-ref-fb5e421254d2748e88657c9732c114a34a25f704.zip |
ROCKCOL and FLOORCOL changes for the prebuilt parser/lexer.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2315 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/prebuilt')
-rw-r--r-- | crawl-ref/source/prebuilt/levcomp.lex.cc | 3218 | ||||
-rw-r--r-- | crawl-ref/source/prebuilt/levcomp.tab.cc | 1647 | ||||
-rw-r--r-- | crawl-ref/source/prebuilt/levcomp.tab.h | 79 |
3 files changed, 2315 insertions, 2629 deletions
diff --git a/crawl-ref/source/prebuilt/levcomp.lex.cc b/crawl-ref/source/prebuilt/levcomp.lex.cc index 39fe2e6157..1a159b6e13 100644 --- a/crawl-ref/source/prebuilt/levcomp.lex.cc +++ b/crawl-ref/source/prebuilt/levcomp.lex.cc @@ -1,94 +1,33 @@ #line 2 "levcomp.lex.cc" - -#line 4 "levcomp.lex.cc" - -#define YY_INT_ALIGNED short int - /* 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 $ + */ + #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 <stdio.h> -#include <string.h> -#include <errno.h> -#include <stdlib.h> - -/* end standard C headers. */ - -/* flex integer type definitions */ - -#ifndef FLEXINT_H -#define FLEXINT_H - -/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ - -#if __STDC_VERSION__ >= 199901L - -/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, - * if you want the limit (max/min) macros for int types. - */ -#ifndef __STDC_LIMIT_MACROS -#define __STDC_LIMIT_MACROS 1 -#endif -#include <inttypes.h> -typedef int8_t flex_int8_t; -typedef uint8_t flex_uint8_t; -typedef int16_t flex_int16_t; -typedef uint16_t flex_uint16_t; -typedef int32_t flex_int32_t; -typedef uint32_t flex_uint32_t; -#else -typedef signed char flex_int8_t; -typedef short int flex_int16_t; -typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; -typedef unsigned short int flex_uint16_t; -typedef unsigned int flex_uint32_t; -#endif /* ! C99 */ -/* Limits of integral types. */ -#ifndef INT8_MIN -#define INT8_MIN (-128) -#endif -#ifndef INT16_MIN -#define INT16_MIN (-32767-1) -#endif -#ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) -#endif -#ifndef INT8_MAX -#define INT8_MAX (127) -#endif -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT8_MAX -#define UINT8_MAX (255U) +/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ +#ifdef c_plusplus +#ifndef __cplusplus +#define __cplusplus #endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) #endif -#endif /* ! FLEXINT_H */ #ifdef __cplusplus +#include <stdlib.h> +#include <unistd.h> + +/* Use prototypes in function declarations. */ +#define YY_USE_PROTOS + /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST @@ -96,17 +35,34 @@ typedef unsigned int flex_uint32_t; #if __STDC__ +#define YY_USE_PROTOS #define YY_USE_CONST #endif /* __STDC__ */ #endif /* ! __cplusplus */ +#ifdef __TURBOC__ + #pragma warn -rch + #pragma warn -use +#include <io.h> +#include <stdlib.h> +#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 @@ -121,88 +77,71 @@ typedef unsigned int flex_uint32_t; * 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 - /* 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. */ +/* The funky do-while in the following #define is used to turn the definition + * int a single C statement (which needs a semi-colon terminator). This + * avoids problems with code like: + * + * if ( condition_holds ) + * yyless( 5 ); + * else + * do_something_else(); + * + * Prior to using the do-while the compiler would get upset at the + * "else" because it interpreted the "if" statement as being all + * done when it reached the ';' after the yyless() call. + */ + +/* Return all but the first 'n' matched characters back to the input stream. */ + #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ + *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + yy_c_buf_p = yy_cp = yy_bp + n - 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). */ - -#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; @@ -239,16 +178,12 @@ 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 @@ -262,38 +197,28 @@ struct yy_buffer_state * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 - }; -#endif /* !YY_STRUCT_YY_BUFFER_STATE */ -/* Stack of input buffers. */ -static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ -static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ +static YY_BUFFER_STATE yy_current_buffer = 0; /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". - * - * Returns the top of the stack, or NULL. */ -#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ - ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ - : NULL) +#define YY_CURRENT_BUFFER yy_current_buffer -/* Same as previous macro, but useful when we know that the buffer stack is not - * NULL or when we need an lvalue. For internal use only. - */ -#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; + static int yy_n_chars; /* number of characters read into yy_ch_buf */ + + int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; -static int yy_init = 0; /* whether we need to initialize */ +static int yy_init = 1; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches @@ -301,192 +226,288 @@ static int yy_start = 0; /* start state number */ */ static int yy_did_buffer_switch_on_eof; -void yyrestart (FILE *input_file ); -void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); -void yy_delete_buffer (YY_BUFFER_STATE b ); -void yy_flush_buffer (YY_BUFFER_STATE b ); -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -void yypop_buffer_state (void ); - -static void yyensure_buffer_stack (void ); -static void yy_load_buffer_state (void ); -static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); +void yyrestart YY_PROTO(( FILE *input_file )); -#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) +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 ) -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 ); +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 )); -void *yyalloc (yy_size_t ); -void *yyrealloc (void *,yy_size_t ); -void yyfree (void * ); +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 * )); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ - if ( ! YY_CURRENT_BUFFER ){ \ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + if ( ! yy_current_buffer ) \ + yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ + yy_current_buffer->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ - if ( ! YY_CURRENT_BUFFER ){\ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + if ( ! yy_current_buffer ) \ + yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ + yy_current_buffer->yy_at_bol = at_bol; \ } -#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) +#define YY_AT_BOL() (yy_current_buffer->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 (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[] ); +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[] )); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - yyleng = (size_t) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ + yytext_ptr = yy_bp; \ + yyleng = (int) (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 66 -#define YY_END_OF_BUFFER 67 -/* 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[874] = +#define YY_NUM_RULES 68 +#define YY_END_OF_BUFFER 69 +static yyconst short int yy_acclist[975] = { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 67, 65, - 63, 64, 65, 61, 62, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 63, 30, 32, 65, 65, 65, 65, 65, 65, 66, - 6, 66, 66, 4, 2, 3, 66, 2, 2, 2, - 2, 9, 10, 66, 9, 9, 66, 12, 66, 65, - 26, 65, 61, 62, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 30, - 32, 65, 65, 65, 65, 65, 65, 65, 24, 21, - - 24, 23, 62, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 24, 30, - 32, 65, 65, 65, 65, 65, 65, 14, 15, 65, - 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, 66, 18, 66, 29, - 66, 66, 63, 64, 62, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 63, 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, 12, 25, 0, 26, 25, 25, 25, 25, + 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, 25, 25, 25, 25, 25, 25, 25, 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, 62, 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, 0, 0, 35, 14, 15, 0, 15, 13, + 25, 25, 30, 30, 25, 25, 25, 25, 25, 25, + 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, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 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, - 2, 9, 9, 9, 7, 25, 25, 25, 25, 25, + 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, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 22, 22, 64, - 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, 13, 13, + 22, 22, 22, 22, 22, 22, 30, 22, 22, 22, + 22, 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, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 31, 0, 0, 0, 0, 0, 2, 9, 8, - - 9, 7, 25, 25, 25, 25, 25, 25, 25, 25, + 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, 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, 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, 13, 13, 13, 0, 0, 0, 0, - 0, 54, 0, 0, 0, 0, 0, 0, 53, 38, - - 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, 0, 25, 22, 22, 22, 22, 22, 22, 22, + + 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, 0, 22, 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, 57, 58, 60, - - 59, 0, 0, 0, 0, 42, 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, 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, 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, 49, 44, 52, 48, 55, 51, 41, 0, - 45, 0, 0, 0, 0, 1, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 22, + 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, + + 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, 22, 22, 22, 22, 22, 22, 22, - 22, 22, 13, 13, 13, 13, 13, 56, 43, 0, - 0, 0, 0, 25, 25, 25, 0, 25, 25, 22, - 22, 22, 0, 22, 22, 13, 13, 0, 33, 0, - 0, 25, 25, 0, 25, 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 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 } ; -static yyconst flex_int32_t yy_ec[256] = +static yyconst int yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, @@ -518,7 +539,7 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[49] = +static yyconst int yy_meta[49] = { 0, 1, 2, 3, 4, 1, 1, 5, 6, 6, 1, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, @@ -527,735 +548,768 @@ static yyconst flex_int32_t yy_meta[49] = 6, 6, 6, 6, 6, 6, 1, 1 } ; -static yyconst flex_int16_t yy_base[895] = +static yyconst short int yy_base[953] = { 0, 0, 47, 55, 60, 52, 64, 47, 68, 112, 159, - 206, 253, 300, 347, 74, 80, 70, 159, 2191, 2192, - 87, 2192, 2187, 2192, 2180, 2172, 73, 2172, 2164, 2156, - 85, 2168, 85, 69, 2156, 2160, 81, 2170, 2165, 2144, - 393, 0, 2192, 155, 2133, 2135, 144, 135, 2129, 2192, - 2192, 2172, 168, 2192, 0, 2192, 2171, 172, 0, 2149, - 241, 2124, 2192, 2168, 135, 2122, 2166, 2192, 2165, 184, - 2192, 2164, 188, 192, 262, 268, 275, 354, 358, 362, - 367, 400, 405, 387, 375, 413, 417, 283, 422, 433, - 440, 444, 448, 454, 458, 462, 466, 0, 470, 2192, - - 474, 2192, 2157, 2149, 243, 2149, 2141, 2133, 246, 2145, - 170, 246, 2133, 2137, 253, 2147, 2142, 2121, 480, 102, - 0, 174, 2110, 2112, 161, 256, 2106, 484, 2192, 2149, - 0, 2142, 2134, 257, 2134, 2126, 2118, 475, 2130, 270, - 340, 2118, 2122, 343, 2132, 2127, 2106, 500, 371, 2095, - 2097, 331, 373, 418, 504, 2192, 2135, 2192, 352, 2192, - 397, 509, 449, 2192, 2128, 2114, 2124, 2112, 2107, 2121, - 2116, 2115, 2100, 436, 2106, 2100, 2102, 2102, 2094, 2101, - 2105, 2085, 2102, 2087, 496, 2067, 0, 0, 2192, 2057, - 2054, 457, 2045, 0, 386, 2058, 2055, 2073, 457, 2039, - - 2029, 2192, 2192, 2192, 2064, 516, 0, 2192, 0, 2063, - 519, 2041, 2030, 484, 2005, 1994, 2192, 393, 1953, 523, - 1997, 2192, 2192, 527, 531, 2192, 535, 541, 545, 550, - 555, 562, 572, 578, 584, 590, 594, 598, 602, 606, - 615, 619, 626, 630, 637, 642, 646, 650, 659, 665, - 669, 673, 677, 683, 687, 695, 699, 703, 546, 711, - 2192, 715, 2192, 556, 631, 573, 719, 720, 607, 678, - 721, 726, 727, 735, 737, 638, 742, 743, 748, 749, - 754, 756, 761, 767, 769, 0, 775, 783, 785, 789, - 790, 791, 797, 795, 801, 817, 2192, 1994, 2192, 0, - - 1987, 1973, 1982, 1970, 1964, 1978, 1969, 1963, 1944, 505, - 1946, 1935, 1932, 1925, 1910, 1895, 1892, 1872, 1885, 1873, - 785, 1847, 0, 542, 1846, 1840, 1855, 519, 1822, 1809, - 806, 810, 823, 2192, 1844, 398, 2192, 827, 2192, 835, - 2192, 1830, 1791, 1781, 1771, 1782, 1771, 1778, 1766, 1749, - 1749, 1751, 1732, 1713, 1719, 1718, 1699, 1695, 1683, 1666, - 1662, 1664, 1664, 1640, 839, 811, 1628, 1640, 1624, 1616, - 1632, 843, 847, 851, 2192, 858, 866, 871, 875, 880, - 884, 898, 906, 910, 915, 920, 924, 928, 932, 938, - 944, 949, 953, 959, 963, 968, 973, 977, 990, 994, - - 998, 1002, 1007, 1011, 859, 896, 876, 911, 1015, 1003, - 1016, 978, 1020, 969, 1021, 1022, 1033, 939, 1034, 1045, - 1051, 1050, 1056, 1052, 1062, 1068, 1069, 1070, 1074, 1080, - 1075, 1086, 1087, 1092, 1093, 1097, 1098, 1103, 1640, 1623, - 1618, 1610, 1617, 1606, 1614, 1606, 1587, 1590, 1602, 1587, - 1579, 1588, 1585, 1563, 1547, 1532, 1519, 1518, 1523, 1517, - 1491, 1107, 1109, 1462, 1471, 1455, 1438, 1451, 1454, 1424, - 1432, 1418, 1432, 1407, 1412, 1410, 1397, 1407, 1405, 1403, - 1401, 1373, 1373, 1381, 1371, 1354, 1369, 1359, 1347, 1321, - 1114, 2192, 1119, 1312, 1300, 1286, 1120, 1308, 1125, 2192, - - 1129, 2192, 1133, 1140, 1144, 1150, 1155, 1159, 1174, 1182, - 1186, 1190, 1194, 1204, 1210, 1219, 1223, 1228, 1232, 1237, - 1241, 1252, 1256, 1261, 1267, 1273, 1277, 1283, 1287, 1291, - 1295, 1180, 1296, 1170, 1199, 1262, 1160, 1211, 1300, 1301, - 1305, 1233, 1306, 1324, 1326, 1311, 1313, 1312, 1278, 1333, - 1338, 1339, 1344, 1345, 1349, 1351, 1353, 1358, 1359, 1363, - 1287, 1271, 1243, 1250, 1231, 1245, 1220, 1225, 1223, 1203, - 1209, 1207, 1200, 1192, 1165, 1165, 1166, 1164, 1142, 1148, - 1133, 1122, 1096, 1094, 1095, 1365, 1095, 1100, 1086, 1096, - 1091, 2192, 1083, 1071, 1056, 1049, 1020, 1016, 2192, 2192, - - 1013, 1005, 1020, 1007, 1009, 2192, 985, 974, 951, 2192, - 955, 955, 1369, 929, 940, 1371, 1376, 1380, 1384, 1404, - 1400, 1413, 1417, 1424, 1428, 1435, 1439, 1443, 1447, 1451, - 1455, 1460, 1467, 1471, 1481, 1486, 1490, 1494, 1498, 1502, - 1506, 1512, 1516, 1477, 1472, 1507, 1517, 1521, 1390, 1527, - 1533, 1539, 1540, 1523, 1550, 1456, 1551, 1552, 1556, 1560, - 1562, 1564, 1566, 1570, 1571, 1577, 1578, 1584, 1586, 1585, - 1590, 924, 912, 896, 908, 896, 884, 883, 882, 873, - 846, 845, 837, 836, 847, 833, 841, 818, 820, 796, - 799, 798, 813, 807, 788, 2192, 2192, 2192, 2192, 2192, - - 2192, 773, 771, 766, 765, 2192, 755, 2192, 752, 734, - 691, 698, 683, 2192, 706, 1596, 1600, 1607, 1618, 1622, - 1626, 1631, 1636, 1640, 1644, 1648, 1655, 1659, 1666, 1670, - 1674, 1678, 1682, 1687, 1691, 1696, 1700, 1701, 1705, 1707, - 1591, 1711, 1716, 1717, 1718, 1722, 1723, 1727, 1733, 1734, - 1740, 1744, 1745, 1746, 1750, 1752, 1756, 1758, 1762, 699, - 692, 688, 680, 674, 666, 662, 651, 648, 642, 612, - 592, 578, 2192, 2192, 2192, 2192, 2192, 2192, 2192, 604, - 2192, 595, 589, 1764, 556, 585, 1766, 1770, 1774, 1778, - 1782, 1788, 1793, 1799, 1803, 1808, 1812, 1817, 1821, 1783, - - 1822, 1826, 1827, 1828, 1832, 1833, 1834, 1838, 1840, 1844, - 1846, 1852, 575, 569, 562, 1853, 518, 2192, 2192, 504, - 1857, 487, 1858, 1863, 1867, 1872, 1876, 1880, 1884, 1868, - 1889, 1890, 1894, 1896, 1905, 483, 1906, 475, 2192, 1907, - 418, 1911, 1915, 1924, 1928, 1916, 1920, 1932, 1933, 340, - 324, 2192, 1940, 1945, 1953, 1934, 309, 253, 1955, 1959, - 216, 166, 1961, 1965, 142, 95, 1972, 1981, 59, 2192, - 1983, 1967, 2192, 2003, 2009, 2015, 2021, 2027, 2033, 2039, - 2045, 2051, 2057, 2063, 2069, 2075, 2081, 2087, 2093, 48, - 2099, 2105, 2111, 2117 - + 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, + 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 } ; -static yyconst flex_int16_t yy_def[895] = +static yyconst short int yy_def[953] = { 0, - 873, 1, 874, 875, 876, 876, 877, 877, 873, 9, - 873, 11, 873, 13, 878, 878, 879, 879, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 880, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 881, 873, 882, 873, 873, 883, 882, 882, - 882, 884, 873, 873, 884, 884, 885, 873, 873, 886, - 873, 873, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 887, - 886, 886, 886, 886, 886, 886, 886, 888, 873, 873, - - 873, 873, 888, 888, 888, 888, 888, 888, 888, 888, - 888, 888, 888, 888, 888, 888, 888, 888, 41, 889, - 888, 888, 888, 888, 888, 888, 888, 873, 873, 873, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 890, 890, 890, 890, 890, 41, 890, 890, - 890, 890, 890, 891, 873, 873, 873, 873, 892, 873, - 892, 892, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 41, 880, 873, 873, - 873, 873, 873, 880, 873, 873, 873, 873, 873, 873, - - 873, 873, 873, 873, 873, 873, 882, 873, 882, 873, - 882, 882, 882, 882, 884, 884, 873, 884, 884, 884, - 885, 873, 873, 886, 886, 873, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 887, 887, - 886, 886, 886, 886, 886, 886, 886, 886, 893, 873, - 873, 873, 873, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 119, 894, 893, 893, 893, - 893, 893, 893, 893, 893, 873, 873, 873, 873, 890, - - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 148, 890, 890, 890, 890, 890, 890, 890, - 891, 891, 873, 873, 873, 892, 873, 892, 873, 892, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 882, 884, 884, 884, 873, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - - 886, 886, 886, 886, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 894, - 893, 893, 893, 893, 893, 893, 893, 893, 890, 890, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 890, 890, 890, 890, 890, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 882, 884, 873, - - 884, 873, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 890, 890, 890, 890, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 882, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 873, 873, 873, 873, 873, 873, 873, 873, - - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 882, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 893, 893, 893, 893, 893, 893, 893, 890, - 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, - 890, 890, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 882, 886, 886, 886, 886, - 886, 886, 886, 886, 886, 886, 886, 886, 886, 893, - - 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - 893, 893, 890, 890, 890, 890, 890, 873, 873, 873, - 873, 873, 873, 886, 886, 886, 886, 886, 886, 893, - 893, 893, 893, 893, 893, 890, 890, 873, 873, 873, - 873, 886, 886, 886, 886, 893, 893, 893, 893, 890, - 873, 873, 886, 886, 893, 893, 890, 873, 886, 893, - 890, 873, 886, 893, 890, 873, 886, 893, 890, 873, - 886, 893, 0, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873 - + 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, + 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, 948, 948, 948, 948, 948, 948, 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, 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, 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, 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 } ; -static yyconst flex_int16_t yy_nxt[2241] = +static yyconst short int yy_nxt[2370] = { 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, 20, 37, 38, 20, - 39, 20, 20, 40, 20, 20, 20, 20, 20, 20, - 20, 20, 20, 20, 20, 20, 20, 20, 41, 68, - 69, 41, 42, 300, 63, 64, 43, 51, 52, 53, - 54, 50, 56, 57, 58, 59, 63, 64, 870, 44, - 68, 69, 160, 161, 60, 155, 156, 157, 155, 178, - 158, 155, 156, 157, 155, 45, 158, 46, 163, 47, - 167, 163, 48, 49, 65, 176, 179, 168, 182, 66, - - 172, 162, 61, 173, 870, 194, 65, 174, 194, 177, - 183, 66, 70, 21, 71, 72, 21, 70, 73, 70, - 74, 70, 70, 75, 76, 77, 70, 78, 70, 70, - 79, 70, 80, 81, 82, 83, 84, 85, 70, 86, - 87, 70, 88, 70, 70, 89, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, - 41, 160, 161, 41, 90, 195, 198, 200, 91, 201, - 203, 205, 206, 204, 208, 210, 211, 218, 869, 177, - 275, 92, 219, 291, 288, 225, 199, 225, 225, 225, - 162, 225, 225, 225, 276, 225, 225, 93, 276, 94, - - 227, 95, 866, 292, 96, 97, 98, 99, 100, 101, - 99, 98, 102, 98, 103, 98, 98, 104, 105, 106, - 98, 107, 98, 98, 108, 98, 109, 110, 111, 112, - 113, 114, 98, 115, 116, 98, 117, 98, 98, 118, - 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, - 98, 98, 98, 98, 119, 213, 277, 119, 120, 865, - 266, 271, 121, 225, 272, 225, 225, 267, 273, 225, - 281, 225, 225, 278, 303, 122, 225, 228, 225, 225, - 312, 304, 282, 214, 225, 229, 225, 225, 293, 231, - 294, 123, 230, 124, 313, 125, 862, 247, 126, 127, - - 20, 128, 129, 130, 128, 20, 24, 131, 132, 20, - 131, 133, 134, 135, 131, 136, 131, 131, 137, 131, - 138, 139, 140, 141, 142, 143, 131, 144, 145, 131, - 146, 20, 131, 147, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 20, 20, 148, 861, - 314, 148, 42, 327, 337, 225, 43, 225, 225, 225, - 318, 225, 225, 225, 858, 225, 225, 315, 225, 149, - 225, 225, 319, 328, 857, 232, 225, 234, 225, 225, - 235, 324, 237, 338, 236, 150, 233, 151, 225, 152, - 225, 225, 153, 49, 187, 313, 243, 187, 188, 339, - - 337, 225, 189, 225, 225, 329, 225, 330, 225, 225, - 238, 365, 353, 242, 225, 240, 225, 225, 225, 332, - 225, 225, 332, 225, 239, 225, 225, 246, 338, 338, - 244, 190, 241, 191, 250, 218, 250, 250, 192, 193, - 219, 225, 245, 225, 225, 225, 350, 225, 225, 225, - 163, 225, 225, 163, 251, 225, 248, 225, 225, 225, - 351, 225, 225, 225, 852, 225, 225, 225, 239, 225, - 225, 260, 261, 262, 260, 262, 263, 262, 262, 198, - 254, 286, 261, 262, 286, 296, 297, 298, 296, 200, - 308, 201, 252, 309, 256, 253, 257, 310, 213, 199, - - 255, 323, 297, 298, 323, 333, 334, 335, 333, 851, - 340, 341, 258, 340, 362, 447, 850, 363, 203, 205, - 206, 208, 210, 211, 374, 375, 214, 374, 225, 448, - 225, 225, 225, 839, 225, 225, 225, 838, 225, 225, - 338, 327, 225, 227, 225, 225, 225, 259, 225, 225, - 259, 225, 837, 225, 225, 377, 225, 259, 225, 225, - 259, 328, 376, 225, 406, 225, 225, 462, 450, 836, - 372, 378, 380, 225, 259, 225, 225, 259, 819, 225, - 379, 225, 225, 408, 818, 225, 381, 225, 225, 786, - 823, 225, 382, 225, 225, 225, 820, 225, 225, 225, - - 384, 225, 225, 225, 819, 225, 225, 225, 259, 225, - 225, 259, 383, 818, 385, 386, 225, 411, 225, 225, - 225, 817, 225, 225, 387, 388, 816, 225, 389, 225, - 225, 225, 259, 225, 225, 259, 392, 391, 225, 259, - 225, 225, 259, 225, 390, 225, 225, 225, 394, 225, - 225, 225, 407, 225, 225, 815, 814, 781, 395, 393, - 250, 419, 250, 250, 396, 813, 250, 397, 250, 250, - 225, 779, 225, 225, 225, 778, 225, 225, 225, 259, - 225, 225, 259, 777, 225, 398, 225, 225, 225, 776, - 225, 225, 412, 402, 399, 387, 225, 775, 225, 225, - - 225, 774, 225, 225, 225, 400, 225, 225, 773, 254, - 786, 401, 260, 261, 262, 260, 262, 261, 262, 262, - 259, 259, 259, 259, 259, 259, 785, 259, 259, 255, - 259, 259, 784, 403, 783, 413, 259, 415, 259, 259, - 409, 259, 404, 259, 259, 410, 259, 259, 782, 259, - 259, 416, 259, 259, 414, 259, 417, 259, 259, 423, - 259, 781, 259, 418, 420, 259, 422, 425, 259, 780, - 259, 259, 421, 259, 779, 778, 287, 426, 194, 287, - 777, 194, 776, 424, 259, 427, 259, 259, 428, 259, - 259, 259, 259, 259, 259, 259, 259, 775, 259, 259, - - 434, 259, 259, 459, 429, 259, 460, 332, 431, 418, - 332, 332, 493, 435, 332, 493, 774, 432, 296, 297, - 298, 296, 773, 433, 333, 334, 335, 333, 340, 341, - 772, 340, 771, 436, 770, 437, 340, 341, 438, 340, - 491, 492, 769, 491, 499, 500, 768, 499, 501, 502, - 708, 501, 374, 375, 767, 374, 706, 494, 338, 225, - 259, 225, 225, 259, 766, 765, 338, 225, 503, 225, - 225, 764, 225, 763, 225, 225, 225, 259, 225, 225, - 259, 225, 701, 225, 225, 225, 532, 225, 225, 504, - 372, 700, 699, 698, 372, 505, 507, 259, 216, 225, - - 259, 225, 225, 506, 406, 697, 508, 225, 509, 225, - 225, 225, 259, 225, 225, 259, 225, 696, 225, 225, - 510, 225, 762, 225, 225, 225, 761, 225, 225, 225, - 513, 225, 225, 225, 533, 225, 225, 511, 512, 225, - 259, 225, 225, 259, 514, 225, 516, 225, 225, 517, - 225, 760, 225, 225, 225, 515, 225, 225, 518, 543, - 225, 519, 225, 225, 225, 715, 225, 225, 520, 225, - 259, 225, 225, 259, 225, 714, 225, 225, 225, 259, - 225, 225, 259, 539, 523, 524, 521, 713, 712, 711, - 522, 526, 492, 225, 526, 527, 710, 225, 527, 225, - - 537, 225, 225, 225, 259, 225, 225, 259, 225, 525, - 225, 225, 225, 709, 225, 225, 259, 259, 708, 259, - 259, 259, 259, 259, 259, 259, 259, 399, 707, 706, - 538, 535, 536, 705, 259, 259, 529, 259, 259, 534, - 528, 704, 703, 542, 530, 541, 259, 702, 540, 259, - 531, 259, 259, 259, 259, 259, 259, 259, 701, 545, - 259, 544, 546, 259, 547, 700, 259, 549, 548, 259, - 259, 259, 259, 259, 259, 259, 555, 492, 259, 555, - 699, 287, 553, 194, 287, 552, 194, 556, 259, 550, - 556, 259, 698, 259, 259, 551, 259, 259, 259, 259, - - 697, 259, 259, 434, 259, 696, 554, 259, 491, 492, - 493, 491, 695, 493, 694, 491, 492, 431, 491, 435, - 493, 613, 693, 493, 613, 558, 499, 500, 692, 499, - 501, 502, 557, 501, 225, 559, 225, 225, 691, 436, - 690, 225, 560, 225, 225, 225, 689, 225, 225, 616, - 688, 225, 617, 225, 225, 494, 225, 606, 225, 225, - 225, 259, 225, 225, 259, 494, 614, 619, 621, 649, - 687, 259, 216, 618, 259, 225, 216, 225, 225, 686, - 685, 259, 620, 225, 259, 225, 225, 225, 684, 225, - 225, 225, 683, 225, 225, 225, 644, 225, 225, 646, - - 259, 600, 622, 259, 623, 225, 624, 225, 225, 599, - 626, 225, 259, 225, 225, 259, 647, 625, 627, 628, - 225, 682, 225, 225, 225, 681, 225, 225, 629, 225, - 680, 225, 225, 225, 259, 225, 225, 259, 225, 650, - 225, 225, 225, 679, 225, 225, 632, 678, 677, 654, - 630, 631, 633, 225, 592, 225, 225, 225, 676, 225, - 225, 635, 225, 259, 225, 225, 259, 675, 225, 634, - 225, 225, 674, 636, 526, 492, 225, 526, 527, 259, - 225, 527, 259, 673, 225, 637, 225, 225, 225, 648, - 225, 225, 225, 661, 225, 225, 642, 259, 225, 642, - - 259, 259, 259, 672, 259, 259, 259, 259, 645, 259, - 259, 638, 259, 259, 259, 259, 259, 259, 615, 612, - 655, 652, 651, 528, 641, 259, 660, 259, 259, 639, - 259, 640, 653, 656, 259, 657, 659, 259, 658, 259, - 259, 643, 259, 259, 611, 259, 259, 663, 259, 259, - 555, 492, 556, 555, 259, 556, 664, 259, 610, 259, - 259, 662, 259, 259, 670, 609, 613, 670, 665, 613, - 613, 608, 225, 613, 225, 225, 607, 225, 606, 225, - 225, 225, 605, 225, 225, 225, 604, 225, 225, 666, - 717, 259, 669, 719, 259, 603, 602, 557, 716, 667, - - 601, 225, 668, 225, 225, 225, 718, 225, 225, 671, - 600, 614, 599, 720, 225, 614, 225, 225, 225, 598, - 225, 225, 721, 597, 596, 225, 722, 225, 225, 225, - 595, 225, 225, 723, 594, 593, 225, 724, 225, 225, - 225, 592, 225, 225, 225, 591, 225, 225, 225, 590, - 225, 225, 225, 589, 225, 225, 225, 259, 225, 225, - 259, 225, 725, 225, 225, 726, 588, 587, 225, 729, - 225, 225, 225, 259, 225, 225, 259, 586, 259, 727, - 731, 259, 225, 728, 225, 225, 739, 225, 730, 225, - 225, 225, 585, 225, 225, 225, 462, 225, 225, 225, - - 584, 225, 225, 225, 738, 225, 225, 225, 259, 225, - 225, 259, 733, 642, 732, 225, 642, 225, 259, 225, - 225, 259, 259, 583, 259, 259, 741, 259, 259, 582, - 742, 259, 734, 740, 259, 735, 743, 259, 736, 581, - 259, 259, 744, 259, 259, 580, 579, 578, 745, 746, - 747, 259, 259, 259, 259, 259, 259, 259, 643, 577, - 259, 259, 737, 259, 259, 259, 259, 259, 259, 751, - 259, 259, 259, 753, 259, 259, 748, 576, 259, 259, - 749, 259, 259, 752, 750, 259, 670, 259, 259, 670, - 259, 259, 259, 755, 259, 259, 575, 225, 754, 225, - - 225, 225, 574, 225, 225, 787, 573, 572, 225, 788, - 225, 225, 571, 570, 569, 756, 789, 757, 758, 225, - 568, 225, 225, 225, 567, 225, 225, 225, 566, 225, - 225, 671, 225, 565, 225, 225, 759, 225, 564, 225, - 225, 225, 563, 225, 225, 225, 562, 225, 225, 225, - 561, 225, 225, 790, 498, 497, 225, 791, 225, 225, - 225, 496, 225, 225, 792, 365, 495, 225, 793, 225, - 225, 225, 490, 225, 225, 225, 489, 225, 225, 225, - 488, 225, 225, 225, 794, 225, 225, 795, 225, 487, - 225, 225, 225, 486, 225, 225, 796, 225, 485, 225, - - 225, 225, 259, 225, 225, 259, 259, 484, 259, 259, - 800, 259, 259, 483, 801, 259, 802, 259, 259, 259, - 259, 259, 259, 259, 259, 798, 259, 259, 259, 482, - 797, 259, 803, 481, 259, 259, 804, 259, 259, 799, - 480, 259, 805, 806, 259, 259, 259, 259, 259, 259, - 259, 259, 479, 259, 259, 808, 259, 259, 807, 259, - 259, 478, 259, 259, 809, 821, 259, 225, 821, 225, - 225, 225, 477, 225, 225, 225, 476, 225, 225, 225, - 475, 225, 225, 225, 259, 225, 225, 259, 474, 225, - 811, 225, 225, 473, 225, 810, 225, 225, 472, 471, - - 225, 812, 225, 225, 225, 470, 225, 225, 824, 225, - 822, 225, 225, 225, 469, 225, 225, 825, 827, 826, - 225, 827, 225, 259, 225, 225, 259, 259, 259, 259, - 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, - 468, 259, 259, 830, 259, 259, 334, 833, 259, 831, - 833, 832, 467, 259, 821, 829, 259, 821, 821, 840, - 466, 821, 840, 828, 225, 465, 225, 225, 225, 259, - 225, 225, 259, 225, 464, 225, 225, 827, 463, 225, - 827, 225, 461, 225, 225, 844, 835, 225, 844, 458, - 259, 259, 834, 259, 259, 833, 457, 259, 833, 822, - - 259, 456, 455, 822, 841, 842, 848, 840, 840, 848, - 840, 840, 225, 454, 225, 225, 225, 259, 225, 225, - 259, 259, 828, 846, 259, 844, 843, 225, 844, 225, - 845, 225, 225, 848, 259, 259, 848, 259, 259, 453, - 834, 225, 847, 225, 225, 853, 225, 452, 225, 225, - 855, 849, 841, 841, 259, 451, 225, 259, 225, 225, - 259, 450, 225, 259, 225, 225, 259, 449, 259, 259, - 845, 259, 446, 225, 854, 225, 225, 445, 849, 856, - 859, 871, 259, 444, 225, 259, 225, 225, 443, 442, - 872, 441, 440, 860, 439, 301, 297, 867, 863, 222, - - 373, 868, 864, 50, 50, 50, 50, 50, 50, 55, - 55, 55, 55, 55, 55, 62, 62, 62, 62, 62, - 62, 67, 67, 67, 67, 67, 67, 154, 154, 154, - 154, 154, 154, 159, 159, 159, 159, 159, 159, 194, - 194, 372, 194, 194, 194, 204, 204, 204, 204, 204, - 204, 207, 216, 212, 371, 207, 207, 209, 209, 209, - 209, 209, 209, 215, 215, 208, 203, 215, 215, 221, - 221, 221, 370, 221, 221, 224, 224, 369, 224, 224, - 224, 249, 249, 368, 249, 249, 249, 259, 259, 367, - 366, 202, 259, 287, 287, 197, 287, 287, 287, 331, - - 331, 196, 364, 361, 331, 336, 336, 336, 336, 336, - 336, 405, 405, 360, 359, 358, 405, 430, 430, 357, - 430, 430, 430, 356, 355, 354, 353, 352, 349, 348, - 347, 346, 345, 344, 343, 342, 165, 334, 326, 325, - 322, 321, 320, 317, 316, 311, 307, 306, 305, 302, - 301, 299, 295, 290, 289, 285, 284, 283, 280, 279, - 274, 270, 269, 268, 265, 264, 226, 223, 222, 220, - 217, 216, 212, 208, 203, 202, 197, 196, 186, 185, - 184, 181, 180, 175, 171, 170, 169, 166, 165, 164, - 873, 19, 873, 873, 873, 873, 873, 873, 873, 873, - - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873 + 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, + 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, + 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, + + 232, 97, 924, 299, 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, + + 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, + + 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 } ; -static yyconst flex_int16_t yy_chk[2241] = +static yyconst short int yy_chk[2370] = { 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, 890, 5, 5, 2, 3, 3, 3, - 3, 4, 4, 4, 4, 4, 6, 6, 869, 2, + 7, 2, 2, 948, 5, 5, 2, 3, 3, 3, + 3, 4, 4, 4, 4, 4, 6, 6, 927, 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, 37, 5, + 27, 21, 2, 2, 5, 33, 34, 27, 38, 5, - 31, 17, 4, 31, 866, 120, 6, 31, 120, 33, - 37, 6, 9, 9, 9, 9, 9, 9, 9, 9, + 31, 17, 4, 31, 924, 123, 6, 31, 123, 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, 44, 47, 48, 10, 48, - 53, 53, 53, 58, 58, 58, 58, 65, 865, 44, - 111, 10, 65, 125, 122, 70, 47, 70, 70, 73, - 18, 73, 73, 74, 111, 74, 74, 10, 122, 10, + 10, 18, 18, 10, 10, 45, 48, 49, 10, 49, + 54, 54, 54, 59, 59, 59, 59, 66, 923, 45, + 113, 10, 66, 128, 125, 71, 48, 71, 71, 74, + 18, 74, 74, 75, 113, 75, 75, 10, 125, 10, - 74, 10, 862, 125, 10, 10, 11, 11, 11, 11, + 75, 10, 920, 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, 61, 112, 12, 12, 861, - 105, 109, 12, 75, 109, 75, 75, 105, 109, 76, - 115, 76, 76, 112, 134, 12, 77, 75, 77, 77, - 140, 134, 115, 61, 88, 76, 88, 88, 126, 77, - 126, 12, 76, 12, 140, 12, 858, 88, 12, 12, + 11, 11, 11, 11, 12, 62, 114, 12, 12, 919, + 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, 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, 857, - 141, 14, 14, 152, 159, 78, 14, 78, 78, 79, - 144, 79, 79, 80, 851, 80, 80, 141, 81, 14, - 81, 81, 144, 152, 850, 78, 85, 80, 85, 85, - 80, 149, 81, 159, 80, 14, 79, 14, 84, 14, - 84, 84, 14, 14, 41, 149, 85, 41, 41, 161, - - 336, 82, 41, 82, 82, 153, 83, 153, 83, 83, - 82, 195, 195, 84, 86, 83, 86, 86, 87, 154, - 87, 87, 154, 89, 82, 89, 89, 87, 161, 336, - 86, 41, 83, 41, 90, 218, 90, 90, 41, 41, - 218, 91, 86, 91, 91, 92, 174, 92, 92, 93, - 163, 93, 93, 163, 92, 94, 89, 94, 94, 95, - 174, 95, 95, 96, 841, 96, 96, 97, 92, 97, - 97, 99, 99, 99, 99, 101, 101, 101, 101, 199, - 95, 119, 119, 119, 119, 128, 128, 128, 128, 192, - 138, 192, 93, 138, 96, 94, 96, 138, 214, 199, - - 95, 148, 148, 148, 148, 155, 155, 155, 155, 838, - 162, 162, 97, 162, 185, 310, 836, 185, 206, 206, - 206, 211, 211, 211, 220, 220, 214, 220, 224, 310, - 224, 224, 225, 822, 225, 225, 227, 820, 227, 227, - 162, 328, 228, 227, 228, 228, 229, 259, 229, 229, - 259, 230, 817, 230, 230, 229, 231, 264, 231, 231, - 264, 328, 228, 232, 264, 232, 232, 324, 324, 815, - 220, 230, 232, 233, 266, 233, 233, 266, 814, 234, - 231, 234, 234, 266, 813, 235, 233, 235, 235, 786, - 785, 236, 234, 236, 236, 237, 783, 237, 237, 238, - - 236, 238, 238, 239, 782, 239, 239, 240, 269, 240, - 240, 269, 235, 780, 236, 237, 241, 269, 241, 241, - 242, 772, 242, 242, 238, 239, 771, 243, 240, 243, - 243, 244, 265, 244, 244, 265, 243, 242, 245, 276, - 245, 245, 276, 246, 241, 246, 246, 247, 245, 247, - 247, 248, 265, 248, 248, 770, 769, 768, 246, 244, - 249, 276, 249, 249, 247, 767, 250, 247, 250, 250, - 251, 766, 251, 251, 252, 765, 252, 252, 253, 270, - 253, 253, 270, 764, 254, 248, 254, 254, 255, 763, - 255, 255, 270, 254, 251, 251, 256, 762, 256, 256, - - 257, 761, 257, 257, 258, 252, 258, 258, 760, 255, - 715, 253, 260, 260, 260, 260, 262, 262, 262, 262, - 267, 268, 271, 267, 268, 271, 713, 272, 273, 255, - 272, 273, 712, 256, 711, 271, 274, 273, 275, 274, - 267, 275, 257, 277, 278, 268, 277, 278, 710, 279, - 280, 273, 279, 280, 272, 281, 274, 282, 281, 280, - 282, 709, 283, 275, 277, 283, 279, 282, 284, 707, - 285, 284, 278, 285, 705, 704, 287, 283, 287, 287, - 703, 287, 702, 281, 288, 284, 289, 288, 284, 289, - 290, 291, 292, 290, 291, 292, 294, 695, 293, 294, - - 291, 293, 295, 321, 285, 295, 321, 331, 288, 288, - 331, 332, 366, 292, 332, 366, 694, 289, 296, 296, - 296, 296, 693, 290, 333, 333, 333, 333, 338, 338, - 692, 338, 691, 292, 690, 293, 340, 340, 294, 340, - 365, 365, 689, 365, 372, 372, 688, 372, 373, 373, - 687, 373, 374, 374, 686, 374, 685, 366, 338, 376, - 405, 376, 376, 405, 684, 683, 340, 377, 376, 377, - 377, 682, 378, 681, 378, 378, 379, 407, 379, 379, - 407, 380, 680, 380, 380, 381, 407, 381, 381, 377, - 372, 679, 678, 677, 373, 378, 380, 406, 374, 382, - - 406, 382, 382, 379, 406, 676, 381, 383, 382, 383, - 383, 384, 408, 384, 384, 408, 385, 675, 385, 385, - 383, 386, 674, 386, 386, 387, 673, 387, 387, 388, - 386, 388, 388, 389, 408, 389, 389, 384, 385, 390, - 418, 390, 390, 418, 387, 391, 389, 391, 391, 390, - 392, 672, 392, 392, 393, 388, 393, 393, 391, 418, - 394, 392, 394, 394, 395, 615, 395, 395, 393, 396, - 414, 396, 396, 414, 397, 614, 397, 397, 398, 412, - 398, 398, 412, 414, 396, 397, 394, 612, 611, 609, - 395, 399, 399, 399, 399, 400, 608, 400, 400, 401, - - 412, 401, 401, 402, 410, 402, 402, 410, 403, 398, - 403, 403, 404, 607, 404, 404, 409, 411, 605, 409, - 411, 413, 415, 416, 413, 415, 416, 402, 604, 603, - 413, 410, 411, 602, 417, 419, 401, 417, 419, 409, - 400, 601, 598, 417, 403, 416, 420, 597, 415, 420, - 404, 422, 421, 424, 422, 421, 424, 423, 596, 420, - 423, 419, 421, 425, 422, 595, 425, 424, 423, 426, - 427, 428, 426, 427, 428, 429, 431, 431, 429, 431, - 594, 430, 428, 430, 430, 427, 430, 432, 433, 425, - 432, 433, 593, 434, 435, 426, 434, 435, 436, 437, - - 591, 436, 437, 435, 438, 590, 429, 438, 462, 462, - 463, 462, 589, 463, 588, 491, 491, 434, 491, 436, - 493, 497, 587, 493, 497, 433, 499, 499, 585, 499, - 501, 501, 432, 501, 503, 437, 503, 503, 584, 436, - 583, 504, 438, 504, 504, 505, 582, 505, 505, 503, - 581, 506, 504, 506, 506, 463, 507, 580, 507, 507, - 508, 537, 508, 508, 537, 493, 497, 506, 508, 537, - 579, 534, 499, 505, 534, 509, 501, 509, 509, 578, - 577, 532, 507, 510, 532, 510, 510, 511, 576, 511, - 511, 512, 575, 512, 512, 513, 532, 513, 513, 534, - - 535, 574, 509, 535, 510, 514, 511, 514, 514, 573, - 513, 515, 538, 515, 515, 538, 535, 512, 514, 515, - 516, 572, 516, 516, 517, 571, 517, 517, 516, 518, - 570, 518, 518, 519, 542, 519, 519, 542, 520, 538, - 520, 520, 521, 569, 521, 521, 519, 568, 567, 542, - 517, 518, 520, 522, 566, 522, 522, 523, 565, 523, - 523, 522, 524, 536, 524, 524, 536, 564, 525, 521, - 525, 525, 563, 523, 526, 526, 526, 526, 527, 549, - 527, 527, 549, 562, 528, 524, 528, 528, 529, 536, - 529, 529, 530, 549, 530, 530, 531, 533, 531, 531, - - 533, 539, 540, 561, 539, 540, 541, 543, 533, 541, - 543, 525, 546, 548, 547, 546, 548, 547, 498, 496, - 543, 540, 539, 527, 530, 544, 548, 545, 544, 528, - 545, 529, 541, 544, 550, 545, 547, 550, 546, 551, - 552, 531, 551, 552, 495, 553, 554, 551, 553, 554, - 555, 555, 556, 555, 557, 556, 552, 557, 494, 558, - 559, 550, 558, 559, 560, 490, 586, 560, 553, 586, - 613, 489, 616, 613, 616, 616, 488, 617, 487, 617, - 617, 618, 486, 618, 618, 619, 485, 619, 619, 554, - 617, 649, 559, 619, 649, 484, 483, 556, 616, 557, - - 482, 621, 558, 621, 621, 620, 618, 620, 620, 560, - 481, 586, 480, 620, 622, 613, 622, 622, 623, 479, - 623, 623, 622, 478, 477, 624, 623, 624, 624, 625, - 476, 625, 625, 624, 475, 474, 626, 625, 626, 626, - 627, 473, 627, 627, 628, 472, 628, 628, 629, 471, - 629, 629, 630, 470, 630, 630, 631, 656, 631, 631, - 656, 632, 626, 632, 632, 627, 469, 468, 633, 632, - 633, 633, 634, 645, 634, 634, 645, 467, 644, 630, - 634, 644, 635, 631, 635, 635, 645, 636, 633, 636, - 636, 637, 466, 637, 637, 638, 465, 638, 638, 639, - - 464, 639, 639, 640, 644, 640, 640, 641, 646, 641, - 641, 646, 637, 642, 636, 642, 642, 643, 647, 643, - 643, 647, 648, 461, 654, 648, 647, 654, 650, 460, - 648, 650, 638, 646, 651, 640, 650, 651, 641, 459, - 652, 653, 651, 652, 653, 458, 457, 456, 652, 653, - 654, 655, 657, 658, 655, 657, 658, 659, 642, 455, - 659, 660, 643, 661, 660, 662, 661, 663, 662, 660, - 663, 664, 665, 662, 664, 665, 655, 454, 666, 667, - 658, 666, 667, 661, 659, 668, 670, 669, 668, 670, - 669, 671, 741, 665, 671, 741, 453, 716, 664, 716, - - 716, 717, 452, 717, 717, 716, 451, 450, 718, 717, - 718, 718, 449, 448, 447, 666, 718, 668, 669, 719, - 446, 719, 719, 720, 445, 720, 720, 721, 444, 721, - 721, 670, 722, 443, 722, 722, 671, 723, 442, 723, - 723, 724, 441, 724, 724, 725, 440, 725, 725, 726, - 439, 726, 726, 725, 371, 370, 727, 726, 727, 727, - 728, 369, 728, 728, 727, 368, 367, 729, 728, 729, - 729, 730, 364, 730, 730, 731, 363, 731, 731, 732, - 362, 732, 732, 733, 730, 733, 733, 732, 734, 361, - 734, 734, 735, 360, 735, 735, 733, 736, 359, 736, - - 736, 737, 738, 737, 737, 738, 739, 358, 740, 739, - 738, 740, 742, 357, 739, 742, 740, 743, 744, 745, - 743, 744, 745, 746, 747, 735, 746, 747, 748, 356, - 734, 748, 747, 355, 749, 750, 748, 749, 750, 736, - 354, 751, 749, 750, 751, 752, 753, 754, 752, 753, - 754, 755, 353, 756, 755, 754, 756, 757, 752, 758, - 757, 352, 758, 759, 755, 784, 759, 787, 784, 787, - 787, 788, 351, 788, 788, 789, 350, 789, 789, 790, - 349, 790, 790, 791, 800, 791, 791, 800, 348, 792, - 757, 792, 792, 347, 793, 756, 793, 793, 346, 345, - - 794, 758, 794, 794, 795, 344, 795, 795, 794, 796, - 784, 796, 796, 797, 343, 797, 797, 796, 798, 797, - 798, 798, 799, 801, 799, 799, 801, 802, 803, 804, - 802, 803, 804, 805, 806, 807, 805, 806, 807, 808, - 342, 809, 808, 807, 809, 810, 335, 811, 810, 809, - 811, 810, 330, 812, 816, 799, 812, 816, 821, 823, - 329, 821, 823, 798, 824, 327, 824, 824, 825, 830, - 825, 825, 830, 826, 326, 826, 826, 827, 325, 827, - 827, 828, 322, 828, 828, 829, 812, 829, 829, 320, - 831, 832, 811, 831, 832, 833, 319, 834, 833, 816, - - 834, 318, 317, 821, 823, 826, 835, 837, 840, 835, - 837, 840, 842, 316, 842, 842, 843, 846, 843, 843, - 846, 847, 827, 832, 847, 844, 828, 844, 844, 845, - 829, 845, 845, 848, 849, 856, 848, 849, 856, 315, - 833, 853, 834, 853, 853, 842, 854, 314, 854, 854, - 846, 835, 837, 840, 855, 313, 859, 855, 859, 859, - 860, 312, 863, 860, 863, 863, 864, 311, 872, 864, - 844, 872, 309, 867, 845, 867, 867, 308, 848, 849, - 853, 867, 868, 307, 871, 868, 871, 871, 306, 305, - 868, 304, 303, 855, 302, 301, 298, 863, 859, 221, - - 219, 864, 860, 874, 874, 874, 874, 874, 874, 875, - 875, 875, 875, 875, 875, 876, 876, 876, 876, 876, - 876, 877, 877, 877, 877, 877, 877, 878, 878, 878, - 878, 878, 878, 879, 879, 879, 879, 879, 879, 880, - 880, 216, 880, 880, 880, 881, 881, 881, 881, 881, - 881, 882, 215, 213, 212, 882, 882, 883, 883, 883, - 883, 883, 883, 884, 884, 210, 205, 884, 884, 885, - 885, 885, 201, 885, 885, 886, 886, 200, 886, 886, - 886, 887, 887, 198, 887, 887, 887, 888, 888, 197, - 196, 193, 888, 889, 889, 191, 889, 889, 889, 891, - - 891, 190, 186, 184, 891, 892, 892, 892, 892, 892, - 892, 893, 893, 183, 182, 181, 893, 894, 894, 180, - 894, 894, 894, 179, 178, 177, 176, 175, 173, 172, - 171, 170, 169, 168, 167, 166, 165, 157, 151, 150, - 147, 146, 145, 143, 142, 139, 137, 136, 135, 133, - 132, 130, 127, 124, 123, 118, 117, 116, 114, 113, - 110, 108, 107, 106, 104, 103, 72, 69, 67, 66, - 64, 62, 60, 57, 52, 49, 46, 45, 40, 39, - 38, 36, 35, 32, 30, 29, 28, 26, 25, 23, - 19, 873, 873, 873, 873, 873, 873, 873, 873, 873, - - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, - 873, 873, 873, 873, 873, 873, 873, 873, 873, 873 + 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, + 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, + + 95, 96, 870, 98, 141, 98, 97, 141, 197, 866, + 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, + + 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 } ; -/* Table of booleans, true if rule could match eol. */ -static yyconst flex_int32_t yy_rule_can_match_eol[67] = - { 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, 1, 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 +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; \ +} #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: @@ -1328,39 +1382,24 @@ static void settext(bool trim_right = false, int strip_trailing = 0) yylval.text = newstring; } - - - - - - - - -#line 1340 "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 -#ifndef YY_NO_UNISTD_H -/* Special case for "unistd.h", since it is non-ANSI. We include it way - * down here because we want the user's section 1 to have been scanned first. - * The user has a chance to override it with an option. - */ -#include <unistd.h> -#endif +#define ITEM_LIST 7 -#ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * -#endif +#define TOEOL 8 -static int yy_init_globals (void ); +#define YY_NEVER_INTERACTIVE 1 +#line 1403 "levcomp.lex.cc" /* Macros after this point can all be overridden by user definitions in * section 1. @@ -1368,30 +1407,65 @@ static int yy_init_globals (void ); #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus -extern "C" int yywrap (void ); +extern "C" int yywrap YY_PROTO(( void )); #else -extern int yywrap (void ); +extern int yywrap YY_PROTO(( void )); #endif #endif - static void yyunput (int c,char *buf_ptr ); - +#ifndef YY_NO_UNPUT +static void yyunput YY_PROTO(( int c, char *buf_ptr )); +#endif + #ifndef yytext_ptr -static void yy_flex_strncpy (char *,yyconst char *,int ); +static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * ); +static int yy_flex_strlen YY_PROTO(( yyconst char * )); #endif #ifndef YY_NO_INPUT - #ifdef __cplusplus -static int yyinput (void ); +static int yyinput YY_PROTO(( void )); +#else +static int input YY_PROTO(( void )); +#endif +#endif + +#if YY_STACK_USED +static int yy_start_stack_ptr = 0; +static int yy_start_stack_depth = 0; +static int *yy_start_stack = 0; +#ifndef YY_NO_PUSH_STATE +static void yy_push_state YY_PROTO(( int new_state )); +#endif +#ifndef YY_NO_POP_STATE +static void yy_pop_state YY_PROTO(( void )); +#endif +#ifndef YY_NO_TOP_STATE +static int yy_top_state YY_PROTO(( void )); +#endif + #else -static int input (void ); +#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 <stdlib.h> +#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. */ @@ -1400,6 +1474,7 @@ static int input (void ); #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(). @@ -1412,10 +1487,9 @@ static int input (void ); */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + if ( yy_current_buffer->yy_is_interactive ) \ { \ - int c = '*'; \ - size_t n; \ + int c = '*', n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ @@ -1425,22 +1499,9 @@ static int input (void ); YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(yyin); \ - } \ - }\ -\ - + else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ + && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - @@ -1461,18 +1522,12 @@ static int input (void ); #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif -/* end tables serialization structures and prototypes */ - /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL -#define YY_DECL_IS_OURS 1 - -extern int yylex (void); - -#define YY_DECL int yylex (void) -#endif /* !YY_DECL */ +#define YY_DECL int yylex YY_PROTO(( void )) +#endif /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. @@ -1488,33 +1543,31 @@ extern int yylex (void); #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ + yy_current_buffer->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 1507 "levcomp.lex.cc" +#line 1560 "levcomp.lex.cc" - if ( !(yy_init) ) + if ( yy_init ) { - (yy_init) = 1; + yy_init = 0; #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; @@ -1522,77 +1575,79 @@ YY_DECL if ( ! yyout ) yyout = stdout; - if ( ! YY_CURRENT_BUFFER ) { - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } + if ( ! yy_current_buffer ) + yy_current_buffer = + 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 >= 874 ) + if ( yy_current_state >= 932 ) 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_current_state != 873 ); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); + while ( yy_base[yy_current_state] != 2321 ); yy_find_action: - yy_act = yy_accept[yy_current_state]; + yy_current_state = *--yy_state_ptr; + yy_lp = yy_accept[yy_current_state]; +find_rule: /* we branch to this label when backing up */ + for ( ; ; ) /* until we find what rule we matched */ + { + if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) + { + 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_DO_BEFORE_ACTION; - if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) + if ( yy_act != YY_END_OF_BUFFER ) { 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" @@ -1607,7 +1662,6 @@ YY_RULE_SETUP } YY_BREAK case 3: -/* rule 3 can match eol */ YY_RULE_SETUP #line 98 "levcomp.lpp" return CHARACTER; @@ -1623,22 +1677,21 @@ 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" @@ -1657,14 +1710,13 @@ YY_RULE_SETUP } 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" @@ -1674,7 +1726,6 @@ YY_RULE_SETUP } YY_BREAK case 12: -/* rule 12 can match eol */ YY_RULE_SETUP #line 120 "levcomp.lpp" { BEGIN(INITIAL); } @@ -1693,7 +1744,6 @@ YY_RULE_SETUP ; YY_BREAK case 15: -/* rule 15 can match eol */ YY_RULE_SETUP #line 128 "levcomp.lpp" { BEGIN(INITIAL); } @@ -1725,13 +1775,11 @@ 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); } @@ -1764,14 +1812,13 @@ 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" @@ -1781,8 +1828,8 @@ 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" @@ -1793,7 +1840,6 @@ YY_RULE_SETUP } YY_BREAK case 29: -/* rule 29 can match eol */ YY_RULE_SETUP #line 172 "levcomp.lpp" ; @@ -1804,8 +1850,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" @@ -1919,113 +1965,122 @@ YY_RULE_SETUP case 53: YY_RULE_SETUP #line 202 "levcomp.lpp" -{ BEGIN(MNAME); return MONS; } +{ BEGIN(ARGUMENT); return FLOORCOL; } YY_BREAK case 54: YY_RULE_SETUP #line 203 "levcomp.lpp" -{ BEGIN(ITEM_LIST); return ITEM; } +{ BEGIN(ARGUMENT); return ROCKCOL; } YY_BREAK case 55: YY_RULE_SETUP #line 204 "levcomp.lpp" -{ BEGIN(TOEOL); return MARKER; } +{ BEGIN(MNAME); return MONS; } YY_BREAK case 56: YY_RULE_SETUP #line 205 "levcomp.lpp" -{ BEGIN(ITEM_LIST); return SHUFFLE; } +{ BEGIN(ITEM_LIST); return ITEM; } YY_BREAK case 57: YY_RULE_SETUP -#line 207 "levcomp.lpp" -{ BEGIN(ARGUMENT); return KFEAT; } +#line 206 "levcomp.lpp" +{ BEGIN(TOEOL); return MARKER; } YY_BREAK case 58: YY_RULE_SETUP -#line 208 "levcomp.lpp" -{ BEGIN(ARGUMENT); return KITEM; } +#line 207 "levcomp.lpp" +{ BEGIN(ITEM_LIST); return SHUFFLE; } YY_BREAK case 59: YY_RULE_SETUP #line 209 "levcomp.lpp" -{ BEGIN(ARGUMENT); return KMONS; } +{ BEGIN(ARGUMENT); return KFEAT; } YY_BREAK case 60: YY_RULE_SETUP #line 210 "levcomp.lpp" -{ BEGIN(ARGUMENT); return KMASK; } +{ BEGIN(ARGUMENT); return KITEM; } YY_BREAK case 61: YY_RULE_SETUP -#line 212 "levcomp.lpp" -return COMMA; +#line 211 "levcomp.lpp" +{ BEGIN(ARGUMENT); return KMONS; } YY_BREAK case 62: YY_RULE_SETUP +#line 212 "levcomp.lpp" +{ BEGIN(ARGUMENT); return KMASK; } + YY_BREAK +case 63: +YY_RULE_SETUP #line 214 "levcomp.lpp" +return COMMA; + YY_BREAK +case 64: +YY_RULE_SETUP +#line 216 "levcomp.lpp" { clean(); yylval.i = atoi(yytext); return INTEGER; } YY_BREAK -case 63: +case 65: YY_RULE_SETUP -#line 220 "levcomp.lpp" +#line 222 "levcomp.lpp" ; YY_BREAK -case 64: -/* rule 64 can match eol */ +case 66: YY_RULE_SETUP -#line 221 "levcomp.lpp" +#line 223 "levcomp.lpp" ; YY_BREAK -case 65: +case 67: YY_RULE_SETUP -#line 222 "levcomp.lpp" +#line 224 "levcomp.lpp" return CHARACTER; YY_BREAK -case 66: +case 68: YY_RULE_SETUP -#line 224 "levcomp.lpp" +#line 226 "levcomp.lpp" ECHO; YY_BREAK -#line 1995 "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 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(); 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_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + if ( yy_current_buffer->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_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + 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; } /* Note that here we test for yy_c_buf_p "<=" to the position @@ -2035,13 +2090,13 @@ case YY_STATE_EOF(TOEOL): * end-of-buffer state). Contrast this with the test * in input(). */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + if ( yy_c_buf_p <= &yy_current_buffer->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 @@ -2054,31 +2109,30 @@ case YY_STATE_EOF(TOEOL): 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_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); + yy_cp = yy_c_buf_p; goto yy_find_action; } } - else switch ( yy_get_next_buffer( ) ) + else switch ( yy_get_next_buffer() ) { case EOB_ACT_END_OF_FILE: { - (yy_did_buffer_switch_on_eof) = 0; + yy_did_buffer_switch_on_eof = 0; - if ( yywrap( ) ) + if ( yywrap() ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up @@ -2089,7 +2143,7 @@ case YY_STATE_EOF(TOEOL): * 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; @@ -2097,30 +2151,30 @@ case YY_STATE_EOF(TOEOL): 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_LVALUE->yy_ch_buf[(yy_n_chars)]; + yy_c_buf_p = + &yy_current_buffer->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; @@ -2131,7 +2185,8 @@ case YY_STATE_EOF(TOEOL): "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 * @@ -2140,20 +2195,21 @@ case YY_STATE_EOF(TOEOL): * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ -static int yy_get_next_buffer (void) -{ - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); + +static int yy_get_next_buffer() + { + register char *dest = yy_current_buffer->yy_ch_buf; + register char *source = yytext_ptr; register int number_to_move, i; int ret_val; - if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + if ( yy_current_buffer->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. @@ -2173,30 +2229,34 @@ static int yy_get_next_buffer (void) /* 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_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + yy_current_buffer->yy_n_chars = yy_n_chars = 0; else { - int num_to_read = - YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; + int num_to_read = + yy_current_buffer->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 ) { @@ -2209,7 +2269,8 @@ static int yy_get_next_buffer (void) b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ - yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + yy_flex_realloc( (void *) b->yy_ch_buf, + b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ @@ -2219,35 +2280,35 @@ static int yy_get_next_buffer (void) 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_LVALUE->yy_buf_size - + num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; - +#endif } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); + YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), + yy_n_chars, num_to_read ); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + yy_current_buffer->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_LVALUE->yy_buffer_status = + yy_current_buffer->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } @@ -2255,142 +2316,149 @@ static int yy_get_next_buffer (void) else ret_val = EOB_ACT_CONTINUE_SCAN; - (yy_n_chars) += number_to_move; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + 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; - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; + yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; return ret_val; -} + } + /* yy_get_previous_state - get the state just before the EOB char was reached */ - static yy_state_type yy_get_previous_state (void) -{ +static yy_state_type yy_get_previous_state() + { 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 >= 874 ) + if ( yy_current_state >= 932 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + *yy_state_ptr++ = yy_current_state; } return yy_current_state; -} + } + /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ - static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) -{ + +#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 + { 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 >= 874 ) + if ( yy_current_state >= 932 ) 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 == 873); + yy_is_jam = (yy_current_state == 931); + if ( ! yy_is_jam ) + *yy_state_ptr++ = yy_current_state; return yy_is_jam ? 0 : yy_current_state; -} + } - static void yyunput (int c, register char * yy_bp ) -{ - register char *yy_cp; - - yy_cp = (yy_c_buf_p); + +#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; /* undo effects of setting up yytext */ - *yy_cp = (yy_hold_char); + *yy_cp = yy_hold_char; - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register int number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ - YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; + register 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 char *source = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; + &yy_current_buffer->yy_ch_buf[number_to_move]; - while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + while ( source > yy_current_buffer->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; + yy_current_buffer->yy_n_chars = + yy_n_chars = yy_current_buffer->yy_buf_size; - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; - if ( c == '\n' ){ - --yylineno; - } + if ( c == '\n' ) + --yylineno; + + yytext_ptr = yy_bp; + yy_hold_char = *yy_cp; + yy_c_buf_p = yy_cp; + } +#endif /* ifndef YY_NO_UNPUT */ - (yytext_ptr) = yy_bp; - (yy_hold_char) = *yy_cp; - (yy_c_buf_p) = yy_cp; -} -#ifndef YY_NO_INPUT #ifdef __cplusplus - static int yyinput (void) +static int yyinput() #else - static int input (void) +static int input() #endif - -{ + { int c; - - *(yy_c_buf_p) = (yy_hold_char); - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + *yy_c_buf_p = yy_hold_char; + + if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + if ( yy_c_buf_p < &yy_current_buffer->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() @@ -2404,16 +2472,16 @@ static int yy_get_next_buffer (void) */ /* Reset buffer status. */ - yyrestart(yyin ); + yyrestart( yyin ); - /*FALLTHROUGH*/ + /* fall through */ 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(); @@ -2423,98 +2491,93 @@ static int yy_get_next_buffer (void) } 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_LVALUE->yy_at_bol = (c == '\n'); - if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) - - yylineno++; -; + yy_current_buffer->yy_at_bol = (c == '\n'); + if ( yy_current_buffer->yy_at_bol ) + ++yylineno; return c; -} -#endif /* ifndef YY_NO_INPUT */ + } -/** Immediately switch to a different input stream. - * @param input_file A readable stream. - * - * @note This function does not reset the start condition to @c INITIAL . - */ - void yyrestart (FILE * input_file ) -{ - - if ( ! YY_CURRENT_BUFFER ){ - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); + +#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 ); + + yy_init_buffer( yy_current_buffer, input_file ); + yy_load_buffer_state(); } - yy_init_buffer(YY_CURRENT_BUFFER,input_file ); - yy_load_buffer_state( ); -} -/** Switch to a different input buffer. - * @param new_buffer The new input buffer. - * - */ - void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) -{ - - /* TODO. We should be able to replace this entire function body - * with - * yypop_buffer_state(); - * yypush_buffer_state(new_buffer); - */ - yyensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) +#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 ) 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_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + *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_CURRENT_BUFFER_LVALUE = new_buffer; - yy_load_buffer_state( ); + yy_current_buffer = 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; -} + yy_did_buffer_switch_on_eof = 1; + } -static void yy_load_buffer_state (void) -{ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); -} -/** Allocate and initialize an input buffer state. - * @param file A readable stream. - * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * - * @return the allocated buffer state. - */ - YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) -{ +#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; + } + + +#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 + { YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); + + b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); @@ -2523,71 +2586,80 @@ static void yy_load_buffer_state (void) /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ - b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); + b->yy_ch_buf = (char *) yy_flex_alloc( 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; -} + } -/** Destroy the buffer. - * @param b a buffer created with yy_create_buffer() - * - */ - void yy_delete_buffer (YY_BUFFER_STATE b ) -{ - + +#ifdef YY_USE_PROTOS +void yy_delete_buffer( YY_BUFFER_STATE b ) +#else +void yy_delete_buffer( b ) +YY_BUFFER_STATE b; +#endif + { if ( ! b ) return; - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + if ( b == yy_current_buffer ) + yy_current_buffer = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) - yyfree((void *) b->yy_ch_buf ); + yy_flex_free( (void *) b->yy_ch_buf ); - yyfree((void *) b ); -} + yy_flex_free( (void *) b ); + } -/* Initializes or reinitializes a buffer. - * This function is sometimes called more than once on the same buffer, - * such as during a yyrestart() or at EOF. - */ - static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) -{ - int oerrno = errno; - - yy_flush_buffer(b ); +#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 + + + { + yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; - /* If b is the current buffer, then yy_init_buffer was _probably_ - * called from yyrestart() or through yy_get_next_buffer. - * In that case, we don't want to reset the lineno or column. - */ - if (b != YY_CURRENT_BUFFER){ - b->yy_bs_lineno = 1; - b->yy_bs_column = 0; - } +#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 + } - b->yy_is_interactive = 0; - - errno = oerrno; -} -/** Discard all buffered characters. On the next scan, YY_INPUT will be called. - * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * - */ - void yy_flush_buffer (YY_BUFFER_STATE b ) -{ - if ( ! b ) +#ifdef YY_USE_PROTOS +void yy_flush_buffer( YY_BUFFER_STATE b ) +#else +void yy_flush_buffer( b ) +YY_BUFFER_STATE b; +#endif + + { + if ( ! b ) return; b->yy_n_chars = 0; @@ -2604,121 +2676,29 @@ static void yy_load_buffer_state (void) b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; - if ( b == YY_CURRENT_BUFFER ) - yy_load_buffer_state( ); -} - -/** Pushes the new state onto the stack. The new state becomes - * the current state. This function will allocate the stack - * if necessary. - * @param new_buffer The new state. - * - */ -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) -{ - if (new_buffer == NULL) - return; - - yyensure_buffer_stack(); - - /* This block is copied from yy_switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; - - /* copied from yy_switch_to_buffer. */ - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; -} - -/** Removes and deletes the top of the stack, if present. - * The next element becomes the new top. - * - */ -void yypop_buffer_state (void) -{ - if (!YY_CURRENT_BUFFER) - return; - - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); - - if (YY_CURRENT_BUFFER) { - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } -} - -/* Allocates the stack if it does not exist. - * Guarantees space for at least one push. - */ -static void yyensure_buffer_stack (void) -{ - int num_to_alloc; - - if (!(yy_buffer_stack)) { - - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. - */ - num_to_alloc = 1; - (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - - memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - - (yy_buffer_stack_max) = num_to_alloc; - (yy_buffer_stack_top) = 0; - return; + if ( b == yy_current_buffer ) + yy_load_buffer_state(); } - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - - /* zero only the new slots.*/ - memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); - (yy_buffer_stack_max) = num_to_alloc; - } -} - -/** Setup the input buffer state to scan directly from a user-specified character buffer. - * @param base the character buffer - * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) -{ +#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; - + if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); @@ -2732,51 +2712,56 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, 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 -/** Setup the input buffer state to scan a string. The next call to yylex() will - * scan from a @e copy of @a str. - * @param yystr a NUL-terminated string to scan - * - * @return the newly allocated buffer state object. - * @note If you want to scan bytes that may contain NUL values, then use - * yy_scan_bytes() instead. - */ -YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) -{ - - return yy_scan_bytes(yystr,strlen(yystr) ); -} -/** Setup the input buffer state to scan the given bytes. The next call to yylex() will - * scan from a @e copy of @a bytes. - * @param bytes the byte buffer to scan - * @param len the number of bytes in the buffer pointed to by @a bytes. - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) -{ +#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 + + +#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 + { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; - + /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; - buf = (char *) yyalloc(n ); + n = len + 2; + buf = (char *) yy_flex_alloc( n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; + for ( i = 0; i < len; ++i ) + buf[i] = bytes[i]; - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + buf[len] = buf[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()" ); @@ -2786,199 +2771,148 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_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 ); -} -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - yytext[yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = yytext + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - yyleng = yyless_macro_arg; \ - } \ - while ( 0 ) +#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; -/* Accessor methods (get/set functions) to struct members. */ + yy_start_stack_depth += YY_START_STACK_INCR; + new_size = yy_start_stack_depth * sizeof( int ); -/** Get the current line number. - * - */ -int yyget_lineno (void) -{ - - return yylineno; -} + if ( ! yy_start_stack ) + yy_start_stack = (int *) yy_flex_alloc( new_size ); -/** Get the input stream. - * - */ -FILE *yyget_in (void) -{ - return yyin; -} + else + yy_start_stack = (int *) yy_flex_realloc( + (void *) yy_start_stack, new_size ); -/** Get the output stream. - * - */ -FILE *yyget_out (void) -{ - return yyout; -} + if ( ! yy_start_stack ) + YY_FATAL_ERROR( + "out of memory expanding start-condition stack" ); + } -/** Get the length of the current token. - * - */ -int yyget_leng (void) -{ - return yyleng; -} + yy_start_stack[yy_start_stack_ptr++] = YY_START; -/** Get the current token. - * - */ + BEGIN(new_state); + } +#endif -char *yyget_text (void) -{ - return yytext; -} -/** Set the current line number. - * @param line_number - * - */ -void yyset_lineno (int line_number ) -{ - - yylineno = line_number; -} +#ifndef YY_NO_POP_STATE +static void yy_pop_state() + { + if ( --yy_start_stack_ptr < 0 ) + YY_FATAL_ERROR( "start-condition stack underflow" ); -/** 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 ; -} + BEGIN(yy_start_stack[yy_start_stack_ptr]); + } +#endif -void yyset_out (FILE * out_str ) -{ - yyout = out_str ; -} -int yyget_debug (void) -{ - return yy_flex_debug; -} +#ifndef YY_NO_TOP_STATE +static int yy_top_state() + { + return yy_start_stack[yy_start_stack_ptr - 1]; + } +#endif -void yyset_debug (int bdebug ) -{ - yy_flex_debug = bdebug ; -} +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif -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; +#ifdef YY_USE_PROTOS +static void yy_fatal_error( yyconst char msg[] ) #else - yyin = (FILE *) 0; - yyout = (FILE *) 0; +static void yy_fatal_error( msg ) +char msg[]; #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(); - } - /* Destroy the stack itself. */ - yyfree((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; +/* Redefine yyless() so it works in section 3 code. */ - /* Reset the globals. This is important in a non-reentrant scanner so the next time - * yylex() is called, initialization will occur. */ - yy_init_globals( ); +#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 ) - return 0; -} -/* - * Internal utility routines. - */ +/* Internal utility routines. */ #ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) -{ +#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 + { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; -} + } #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * s ) -{ +#ifdef YY_USE_PROTOS +static int yy_flex_strlen( yyconst char *s ) +#else +static int yy_flex_strlen( s ) +yyconst char *s; +#endif + { register int n; for ( n = 0; s[n]; ++n ) ; return n; -} + } #endif -void *yyalloc (yy_size_t size ) -{ + +#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 + { return (void *) malloc( size ); -} + } -void *yyrealloc (void * ptr, yy_size_t 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 + { /* 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 @@ -2987,17 +2921,26 @@ void *yyrealloc (void * ptr, yy_size_t size ) * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); -} - -void yyfree (void * ptr ) -{ - free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -} - -#define YYTABLES_NAME "yytables" + } -#line 224 "levcomp.lpp" +#ifdef YY_USE_PROTOS +static void yy_flex_free( void *ptr ) +#else +static void yy_flex_free( ptr ) +void *ptr; +#endif + { + free( ptr ); + } +#if YY_MAIN +int main() + { + yylex(); + return 0; + } +#endif +#line 226 "levcomp.lpp" int yywrap() @@ -3006,4 +2949,3 @@ 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 5a0ae90e98..25f628aa73 100644 --- a/crawl-ref/source/prebuilt/levcomp.tab.cc +++ b/crawl-ref/source/prebuilt/levcomp.tab.cc @@ -1,9 +1,7 @@ -/* A Bison parser, made by GNU Bison 2.3. */ +/* A Bison parser, made by GNU Bison 2.0. */ -/* 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. +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,24 +15,16 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ - -/* 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. + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ +/* 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. */ -/* C LALR(1) parser skeleton written by Richard Stallman, by - simplifying the original so-called "semantic" parser. */ +/* 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 @@ -46,9 +36,6 @@ /* Identify Bison output. */ #define YYBISON 1 -/* Bison version. */ -#define YYBISON_VERSION "2.3" - /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -91,17 +78,18 @@ WELCOME = 280, LFLAGS = 281, BFLAGS = 282, - COMMA = 283, - INTEGER = 284, - CHARACTER = 285, - STRING = 286, - MAP_LINE = 287, - MONSTER_NAME = 288, - ITEM_INFO = 289, - LUA_LINE = 290 + FLOORCOL = 283, + ROCKCOL = 284, + COMMA = 285, + INTEGER = 286, + CHARACTER = 287, + STRING = 288, + MAP_LINE = 289, + MONSTER_NAME = 290, + ITEM_INFO = 291, + LUA_LINE = 292 }; #endif -/* Tokens. */ #define DEFAULT_DEPTH 258 #define SHUFFLE 259 #define SUBST 260 @@ -127,14 +115,16 @@ #define WELCOME 280 #define LFLAGS 281 #define BFLAGS 282 -#define COMMA 283 -#define INTEGER 284 -#define CHARACTER 285 -#define STRING 286 -#define MAP_LINE 287 -#define MONSTER_NAME 288 -#define ITEM_INFO 289 -#define LUA_LINE 290 +#define FLOORCOL 283 +#define ROCKCOL 284 +#define COMMA 285 +#define INTEGER 286 +#define CHARACTER 287 +#define STRING 288 +#define MAP_LINE 289 +#define MONSTER_NAME 290 +#define ITEM_INFO 291 +#define LUA_LINE 292 @@ -198,22 +188,15 @@ level_range set_range(const char *s, int start, int end) # define YYERROR_VERBOSE 0 #endif -/* Enabling the token table. */ -#ifndef YYTOKEN_TABLE -# define YYTOKEN_TABLE 0 -#endif - -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 46 "levcomp.ypp" -{ +typedef union YYSTYPE { int i; const char *text; raw_range range; -} -/* Line 193 of yacc.c. */ -#line 216 "levcomp.tab.c" - YYSTYPE; +} YYSTYPE; +/* Line 185 of yacc.c. */ +#line 200 "levcomp.tab.c" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 @@ -224,94 +207,17 @@ typedef union YYSTYPE /* Copy the second part of user declarations. */ -/* Line 216 of yacc.c. */ -#line 229 "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 <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# else -# define YYSIZE_T unsigned int -# endif -#endif +/* Line 213 of yacc.c. */ +#line 212 "levcomp.tab.c" -#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) +#if ! defined (yyoverflow) || YYERROR_VERBOSE -#ifndef YY_ -# if YYENABLE_NLS -# if ENABLE_NLS -# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ -# define YY_(msgid) dgettext ("bison-runtime", msgid) -# endif +# ifndef YYFREE +# define YYFREE free # endif -# ifndef YY_ -# define YY_(msgid) msgid +# ifndef YYMALLOC +# define YYMALLOC malloc # 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. */ @@ -319,76 +225,34 @@ YYID (i) # if YYSTACK_USE_ALLOCA # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca -# elif defined __BUILTIN_VA_ARG_INCR -# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ -# elif defined _AIX -# define YYSTACK_ALLOC __alloca -# elif defined _MSC_VER -# include <malloc.h> /* 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 <stdlib.h> /* 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 (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 + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) # 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))) +# if defined (__STDC__) || defined (__cplusplus) # include <stdlib.h> /* 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 +# define YYSIZE_T size_t # endif +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE # 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 { - yytype_int16 yyss; + short int yyss; YYSTYPE yyvs; }; @@ -398,24 +262,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 (yytype_int16) + sizeof (YYSTYPE)) \ + ((N) * (sizeof (short int) + 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 \ { \ - YYSIZE_T yyi; \ + register YYSIZE_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ - while (YYID (0)) + while (0) # endif # endif @@ -433,33 +297,39 @@ union yyalloc yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ - while (YYID (0)) + while (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 71 +#define YYLAST 75 -/* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 36 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 67 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 117 -/* YYNRULES -- Number of states. */ -#define YYNSTATES 135 +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 38 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 69 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 123 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 141 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 -#define YYMAXUTOK 290 +#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 yytype_uint8 yytranslate[] = +static const unsigned char yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -490,99 +360,103 @@ static const yytype_uint8 yytranslate[] = 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 35 + 35, 36, 37 }; #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ -static const yytype_uint16 yyprhs[] = +static const unsigned short int yyprhs[] = { 0, 0, 3, 5, 6, 9, 11, 13, 15, 17, 19, 22, 25, 26, 29, 31, 33, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, - 82, 84, 87, 88, 91, 93, 96, 97, 100, 102, - 105, 106, 109, 111, 114, 115, 118, 120, 123, 124, - 127, 129, 131, 134, 136, 139, 141, 144, 146, 149, - 152, 154, 158, 160, 163, 164, 167, 169, 172, 175, - 176, 180, 182, 183, 186, 188, 191, 193, 197, 199, - 202, 204, 208, 210, 213, 215, 219, 221, 223, 226, - 230, 232, 234, 236, 239, 243, 245, 247, 250, 252, - 255, 258, 260, 263, 266, 268, 271, 273 + 82, 84, 86, 88, 91, 92, 95, 97, 100, 101, + 104, 106, 109, 110, 113, 115, 118, 119, 122, 124, + 127, 128, 131, 133, 135, 138, 140, 143, 145, 148, + 150, 153, 156, 158, 162, 164, 167, 168, 171, 173, + 176, 179, 180, 184, 186, 187, 190, 192, 195, 197, + 200, 202, 205, 207, 211, 213, 216, 218, 222, 224, + 227, 229, 233, 235, 237, 240, 244, 246, 248, 250, + 253, 257, 259, 261, 264, 266, 269, 272, 274, 277, + 280, 282, 285, 287 }; -/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -static const yytype_int8 yyrhs[] = +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yysigned_char yyrhs[] = { - 37, 0, -1, 38, -1, -1, 38, 39, -1, 41, - -1, 43, -1, 30, -1, 42, -1, 48, -1, 3, - 31, -1, 46, 44, -1, -1, 44, 45, -1, 47, - -1, 100, -1, 11, 31, -1, 95, -1, 96, -1, - 97, -1, 98, -1, 99, -1, 92, -1, 89, -1, - 75, -1, 86, -1, 83, -1, 80, -1, 67, -1, - 70, -1, 73, -1, 74, -1, 63, -1, 65, -1, - 64, -1, 66, -1, 51, -1, 60, -1, 54, -1, - 57, -1, 40, -1, 21, 49, -1, -1, 49, 50, - -1, 35, -1, 21, 52, -1, -1, 52, 53, -1, - 35, -1, 22, 55, -1, -1, 55, 56, -1, 35, - -1, 23, 58, -1, -1, 58, 59, -1, 35, -1, - 20, 61, -1, -1, 61, 62, -1, 35, -1, 7, - -1, 7, 31, -1, 9, -1, 9, 31, -1, 8, - -1, 8, 31, -1, 10, -1, 10, 31, -1, 4, - 68, -1, 69, -1, 68, 28, 69, -1, 34, -1, - 6, 71, -1, -1, 71, 72, -1, 31, -1, 26, - 31, -1, 27, 31, -1, -1, 18, 76, 77, -1, - 78, -1, -1, 78, 79, -1, 31, -1, 19, 81, - -1, 82, -1, 81, 28, 82, -1, 34, -1, 24, - 84, -1, 85, -1, 84, 28, 85, -1, 34, -1, - 5, 87, -1, 88, -1, 88, 28, 87, -1, 34, - -1, 17, -1, 17, 90, -1, 90, 28, 91, -1, - 91, -1, 34, -1, 16, -1, 16, 93, -1, 94, - 28, 93, -1, 94, -1, 33, -1, 14, 31, -1, - 12, -1, 12, 31, -1, 15, 29, -1, 13, -1, - 13, 31, -1, 25, 31, -1, 101, -1, 101, 102, - -1, 102, -1, 32, -1 + 39, 0, -1, 40, -1, -1, 40, 41, -1, 43, + -1, 45, -1, 32, -1, 44, -1, 50, -1, 3, + 33, -1, 48, 46, -1, -1, 46, 47, -1, 49, + -1, 104, -1, 11, 33, -1, 99, -1, 100, -1, + 101, -1, 102, -1, 103, -1, 96, -1, 93, -1, + 77, -1, 90, -1, 87, -1, 82, -1, 83, -1, + 84, -1, 69, -1, 72, -1, 75, -1, 76, -1, + 65, -1, 67, -1, 66, -1, 68, -1, 53, -1, + 62, -1, 56, -1, 59, -1, 42, -1, 21, 51, + -1, -1, 51, 52, -1, 37, -1, 21, 54, -1, + -1, 54, 55, -1, 37, -1, 22, 57, -1, -1, + 57, 58, -1, 37, -1, 23, 60, -1, -1, 60, + 61, -1, 37, -1, 20, 63, -1, -1, 63, 64, + -1, 37, -1, 7, -1, 7, 33, -1, 9, -1, + 9, 33, -1, 8, -1, 8, 33, -1, 10, -1, + 10, 33, -1, 4, 70, -1, 71, -1, 70, 30, + 71, -1, 36, -1, 6, 73, -1, -1, 73, 74, + -1, 33, -1, 26, 33, -1, 27, 33, -1, -1, + 18, 78, 79, -1, 80, -1, -1, 80, 81, -1, + 33, -1, 19, 85, -1, 28, -1, 28, 33, -1, + 29, -1, 29, 33, -1, 86, -1, 85, 30, 86, + -1, 36, -1, 24, 88, -1, 89, -1, 88, 30, + 89, -1, 36, -1, 5, 91, -1, 92, -1, 92, + 30, 91, -1, 36, -1, 17, -1, 17, 94, -1, + 94, 30, 95, -1, 95, -1, 36, -1, 16, -1, + 16, 97, -1, 98, 30, 97, -1, 98, -1, 35, + -1, 14, 33, -1, 12, -1, 12, 33, -1, 15, + 31, -1, 13, -1, 13, 33, -1, 25, 33, -1, + 105, -1, 105, 106, -1, 106, -1, 34, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const yytype_uint16 yyrline[] = +static const unsigned short int yyrline[] = { - 0, 66, 66, 69, 70, 73, 74, 77, 83, 84, - 87, 97, 119, 120, 123, 124, 127, 151, 152, 153, - 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, - 174, 177, 179, 180, 183, 188, 190, 191, 194, 199, - 201, 202, 205, 210, 212, 213, 216, 221, 223, 224, - 227, 232, 233, 241, 242, 250, 251, 259, 260, 268, - 271, 272, 275, 283, 286, 287, 290, 299, 308, 318, - 317, 328, 330, 331, 334, 346, 349, 350, 353, 362, - 365, 366, 369, 378, 381, 382, 385, 394, 395, 398, - 399, 402, 410, 411, 414, 415, 418, 427, 436, 437, - 446, 454, 455, 464, 473, 476, 477, 480 + 0, 67, 67, 70, 71, 74, 75, 78, 84, 85, + 88, 98, 120, 121, 124, 125, 128, 152, 153, 154, + 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, + 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, + 175, 176, 177, 180, 182, 183, 186, 191, 193, 194, + 197, 202, 204, 205, 208, 213, 215, 216, 219, 224, + 226, 227, 230, 235, 236, 244, 245, 253, 254, 262, + 263, 271, 274, 275, 278, 286, 289, 290, 293, 302, + 311, 321, 320, 331, 333, 334, 337, 349, 352, 353, + 361, 362, 370, 371, 374, 383, 386, 387, 390, 399, + 402, 403, 406, 415, 416, 419, 420, 423, 431, 432, + 435, 436, 439, 448, 457, 458, 467, 475, 476, 485, + 494, 497, 498, 501 }; #endif -#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE -/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +#if YYDEBUG || YYERROR_VERBOSE +/* YYTNME[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", "TAGS", "KFEAT", "KITEM", "KMONS", "KMASK", "NAME", "DEPTH", "ORIENT", "PLACE", "CHANCE", "MONS", "ITEM", "MARKER", "COLOUR", "PRELUDE", "MAIN", - "VALIDATE", "VETO", "NSUBST", "WELCOME", "LFLAGS", "BFLAGS", "COMMA", - "INTEGER", "CHARACTER", "STRING", "MAP_LINE", "MONSTER_NAME", - "ITEM_INFO", "LUA_LINE", "$accept", "file", "definitions", "definition", - "error_seq", "def", "defdepth", "level", "map_specs", "map_spec", "name", - "metaline", "global_lua", "global_lua_lines", "global_lua_line", - "main_lua", "main_lua_lines", "main_lua_line", "validate_lua", - "validate_lua_lines", "validate_lua_line", "veto_lua", "veto_lua_lines", - "veto_lua_line", "prelude_lua", "prelude_lua_lines", "prelude_lua_line", - "kfeat", "kmons", "kitem", "kmask", "shuffle", "shuffle_specifiers", - "shuffle_spec", "tags", "tagstrings", "tagstring", "lflags", "bflags", - "marker", "@1", "marker_spec", "mspec_segments", "mspec_segment", - "colour", "colour_specifiers", "colour_specifier", "nsubst", + "VALIDATE", "VETO", "NSUBST", "WELCOME", "LFLAGS", "BFLAGS", "FLOORCOL", + "ROCKCOL", "COMMA", "INTEGER", "CHARACTER", "STRING", "MAP_LINE", + "MONSTER_NAME", "ITEM_INFO", "LUA_LINE", "$accept", "file", + "definitions", "definition", "error_seq", "def", "defdepth", "level", + "map_specs", "map_spec", "name", "metaline", "global_lua", + "global_lua_lines", "global_lua_line", "main_lua", "main_lua_lines", + "main_lua_line", "validate_lua", "validate_lua_lines", + "validate_lua_line", "veto_lua", "veto_lua_lines", "veto_lua_line", + "prelude_lua", "prelude_lua_lines", "prelude_lua_line", "kfeat", "kmons", + "kitem", "kmask", "shuffle", "shuffle_specifiers", "shuffle_spec", + "tags", "tagstrings", "tagstring", "lflags", "bflags", "marker", "@1", + "marker_spec", "mspec_segments", "mspec_segment", "colour", "floorcol", + "rockcol", "colour_specifiers", "colour_specifier", "nsubst", "nsubst_specifiers", "nsubst_spec", "subst", "subst_specifiers", "subst_spec", "items", "item_specifiers", "item_specifier", "mons", "mnames", "mname", "place", "depth", "chance", "orientation", "welcome", @@ -593,113 +467,117 @@ static const char *const yytname[] = # ifdef YYPRINT /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */ -static const yytype_uint16 yytoknum[] = +static const unsigned short int yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290 + 285, 286, 287, 288, 289, 290, 291, 292 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const yytype_uint8 yyr1[] = +static const unsigned char yyr1[] = { - 0, 36, 37, 38, 38, 39, 39, 40, 41, 41, - 42, 43, 44, 44, 45, 45, 46, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 48, 49, 49, 50, 51, 52, 52, 53, 54, - 55, 55, 56, 57, 58, 58, 59, 60, 61, 61, - 62, 63, 63, 64, 64, 65, 65, 66, 66, 67, - 68, 68, 69, 70, 71, 71, 72, 73, 74, 76, - 75, 77, 78, 78, 79, 80, 81, 81, 82, 83, - 84, 84, 85, 86, 87, 87, 88, 89, 89, 90, - 90, 91, 92, 92, 93, 93, 94, 95, 96, 96, - 97, 98, 98, 99, 100, 101, 101, 102 + 0, 38, 39, 40, 40, 41, 41, 42, 43, 43, + 44, 45, 46, 46, 47, 47, 48, 49, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 50, 51, 51, 52, 53, 54, 54, + 55, 56, 57, 57, 58, 59, 60, 60, 61, 62, + 63, 63, 64, 65, 65, 66, 66, 67, 67, 68, + 68, 69, 70, 70, 71, 72, 73, 73, 74, 75, + 76, 78, 77, 79, 80, 80, 81, 82, 83, 83, + 84, 84, 85, 85, 86, 87, 88, 88, 89, 90, + 91, 91, 92, 93, 93, 94, 94, 95, 96, 96, + 97, 97, 98, 99, 100, 100, 101, 102, 102, 103, + 104, 105, 105, 106 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const yytype_uint8 yyr2[] = +static const unsigned char yyr2[] = { 0, 2, 1, 0, 2, 1, 1, 1, 1, 1, 2, 2, 0, 2, 1, 1, 2, 1, 1, 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, 0, 2, 1, 2, 0, 2, 1, 2, 0, 2, 1, 2, 0, 2, 1, 2, - 0, 2, 1, 2, 0, 2, 1, 2, 0, 2, - 1, 1, 2, 1, 2, 1, 2, 1, 2, 2, - 1, 3, 1, 2, 0, 2, 1, 2, 2, 0, - 3, 1, 0, 2, 1, 2, 1, 3, 1, 2, - 1, 3, 1, 2, 1, 3, 1, 1, 2, 3, - 1, 1, 1, 2, 3, 1, 1, 2, 1, 2, - 2, 1, 2, 2, 1, 2, 1, 1 + 0, 2, 1, 1, 2, 1, 2, 1, 2, 1, + 2, 2, 1, 3, 1, 2, 0, 2, 1, 2, + 2, 0, 3, 1, 0, 2, 1, 2, 1, 2, + 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, + 1, 3, 1, 1, 2, 3, 1, 1, 1, 2, + 3, 1, 1, 2, 1, 2, 2, 1, 2, 2, + 1, 2, 1, 1 }; /* 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 yytype_uint8 yydefact[] = +static const unsigned char yydefact[] = { - 3, 0, 2, 1, 0, 0, 42, 4, 5, 8, - 6, 12, 9, 10, 16, 41, 11, 44, 43, 0, - 0, 74, 61, 65, 63, 67, 108, 111, 0, 0, - 102, 97, 79, 0, 58, 46, 50, 54, 0, 0, - 0, 0, 7, 117, 40, 13, 14, 36, 38, 39, - 37, 32, 34, 33, 35, 28, 29, 30, 31, 24, - 27, 26, 25, 23, 22, 17, 18, 19, 20, 21, - 15, 114, 116, 72, 69, 70, 96, 93, 94, 73, - 62, 66, 64, 68, 109, 112, 107, 110, 106, 103, - 105, 101, 98, 100, 82, 88, 85, 86, 57, 45, - 49, 53, 92, 89, 90, 113, 77, 78, 115, 0, - 0, 76, 75, 0, 0, 80, 81, 0, 60, 59, - 48, 47, 52, 51, 56, 55, 0, 71, 95, 104, - 99, 84, 83, 87, 91 + 3, 0, 2, 1, 0, 0, 44, 4, 5, 8, + 6, 12, 9, 10, 16, 43, 11, 46, 45, 0, + 0, 76, 63, 67, 65, 69, 114, 117, 0, 0, + 108, 103, 81, 0, 60, 48, 52, 56, 0, 0, + 0, 0, 88, 90, 7, 123, 42, 13, 14, 38, + 40, 41, 39, 34, 36, 35, 37, 30, 31, 32, + 33, 24, 27, 28, 29, 26, 25, 23, 22, 17, + 18, 19, 20, 21, 15, 120, 122, 74, 71, 72, + 102, 99, 100, 75, 64, 68, 66, 70, 115, 118, + 113, 116, 112, 109, 111, 107, 104, 106, 84, 94, + 87, 92, 59, 47, 51, 55, 98, 95, 96, 119, + 79, 80, 89, 91, 121, 0, 0, 78, 77, 0, + 0, 82, 83, 0, 62, 61, 50, 49, 54, 53, + 58, 57, 0, 73, 101, 110, 105, 86, 85, 93, + 97 }; -/* YYDEFGOTO[NTERM-NUM]. */ -static const yytype_int16 yydefgoto[] = +/* YYDEFGOTO[NTERM-NUM]. */ +static const short int yydefgoto[] = { - -1, 1, 2, 7, 44, 8, 9, 10, 16, 45, - 11, 46, 12, 15, 18, 47, 99, 121, 48, 100, - 123, 49, 101, 125, 50, 98, 119, 51, 52, 53, - 54, 55, 74, 75, 56, 79, 112, 57, 58, 59, - 94, 115, 116, 132, 60, 96, 97, 61, 103, 104, - 62, 77, 78, 63, 92, 93, 64, 89, 90, 65, - 66, 67, 68, 69, 70, 71, 72 + -1, 1, 2, 7, 46, 8, 9, 10, 16, 47, + 11, 48, 12, 15, 18, 49, 103, 127, 50, 104, + 129, 51, 105, 131, 52, 102, 125, 53, 54, 55, + 56, 57, 78, 79, 58, 83, 118, 59, 60, 61, + 98, 121, 122, 138, 62, 63, 64, 100, 101, 65, + 107, 108, 66, 81, 82, 67, 96, 97, 68, 93, + 94, 69, 70, 71, 72, 73, 74, 75, 76 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -72 -static const yytype_int8 yypact[] = +#define YYPACT_NINF -76 +static const yysigned_char yypact[] = { - -72, 7, 21, -72, -6, -2, -72, -72, -72, -72, - -72, -72, -72, -72, -72, -8, -4, -72, -72, -3, - -1, -72, 3, 4, 5, 6, 8, 9, 10, 1, - 11, 12, -72, 13, -72, -72, -72, -72, 14, 18, - 19, 20, -72, -72, -72, -72, -72, -72, -72, -72, - -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, - -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, - -72, 22, -72, -72, 15, -72, -72, -72, 17, 24, - -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, - 25, -72, 28, -72, -72, -72, 29, -72, 23, 26, - 27, 30, -72, 31, -72, -72, -72, -72, -72, -3, - -1, -72, -72, 11, 12, -72, 32, 13, -72, -72, - -72, -72, -72, -72, -72, -72, 14, -72, -72, -72, - -72, -72, -72, -72, -72 + -76, 7, 23, -76, -6, -2, -76, -76, -76, -76, + -76, -76, -76, -76, -76, -8, -4, -76, -76, -3, + -1, -76, 3, 4, 5, 6, 8, 9, 10, 1, + 11, 12, -76, 13, -76, -76, -76, -76, 14, 18, + 19, 20, 21, 22, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -76, -76, 24, -76, -76, 15, -76, + -76, -76, 17, 26, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -76, 27, -76, 30, -76, -76, -76, + 31, -76, 25, 28, 29, 32, -76, 33, -76, -76, + -76, -76, -76, -76, -76, -3, -1, -76, -76, 11, + 12, -76, 34, 13, -76, -76, -76, -76, -76, -76, + -76, -76, 14, -76, -76, -76, -76, -76, -76, -76, + -76 }; /* YYPGOTO[NTERM-NUM]. */ -static const yytype_int8 yypgoto[] = +static const yysigned_char yypgoto[] = { - -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, - -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, - -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, - -72, -72, -72, -71, -72, -72, -72, -72, -72, -72, - -72, -72, -72, -72, -72, -72, -65, -72, -72, -66, - -72, -46, -72, -72, -72, -48, -72, -45, -72, -72, - -72, -72, -72, -72, -72, -72, 0 + -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -75, -76, -76, -76, -76, -76, -76, + -76, -76, -76, -76, -76, -76, -76, -76, -67, -76, + -76, -68, -76, -48, -76, -76, -76, -50, -76, -47, + -76, -76, -76, -76, -76, -76, -76, -76, 0 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If @@ -707,50 +585,67 @@ static const yytype_int8 yypgoto[] = number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1 -static const yytype_uint8 yytable[] = +static const unsigned char yytable[] = { 19, 20, 21, 22, 23, 24, 25, 3, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, - 38, 39, 40, 41, 4, 13, 42, 17, 43, 14, - 87, 73, 5, 76, 80, 81, 82, 83, 127, 84, - 85, 86, 6, 109, 88, 110, 91, 95, 102, 105, - 106, 107, 133, 113, 43, 111, 114, 117, 118, 126, - 134, 120, 122, 131, 128, 124, 130, 0, 129, 0, - 0, 108 + 38, 39, 40, 41, 42, 43, 4, 13, 44, 17, + 45, 14, 91, 77, 5, 80, 84, 85, 86, 87, + 133, 88, 89, 90, 6, 115, 92, 116, 95, 99, + 106, 109, 110, 111, 112, 113, 139, 119, 45, 117, + 120, 123, 124, 132, 140, 126, 128, 137, 134, 130, + 136, 0, 135, 0, 0, 114 }; -static const yytype_int8 yycheck[] = +static const short int yycheck[] = { 4, 5, 6, 7, 8, 9, 10, 0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, 27, 3, 31, 30, 35, 32, 31, - 29, 34, 11, 34, 31, 31, 31, 31, 109, 31, - 31, 31, 21, 28, 33, 28, 34, 34, 34, 31, - 31, 31, 117, 28, 32, 31, 28, 28, 35, 28, - 126, 35, 35, 31, 110, 35, 114, -1, 113, -1, - -1, 71 + 24, 25, 26, 27, 28, 29, 3, 33, 32, 37, + 34, 33, 31, 36, 11, 36, 33, 33, 33, 33, + 115, 33, 33, 33, 21, 30, 35, 30, 36, 36, + 36, 33, 33, 33, 33, 33, 123, 30, 34, 33, + 30, 30, 37, 30, 132, 37, 37, 33, 116, 37, + 120, -1, 119, -1, -1, 75 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ -static const yytype_uint8 yystos[] = +static const unsigned char yystos[] = { - 0, 37, 38, 0, 3, 11, 21, 39, 41, 42, - 43, 46, 48, 31, 31, 49, 44, 35, 50, 4, + 0, 39, 40, 0, 3, 11, 21, 41, 43, 44, + 45, 48, 50, 33, 33, 51, 46, 37, 52, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 30, 32, 40, 45, 47, 51, 54, 57, - 60, 63, 64, 65, 66, 67, 70, 73, 74, 75, - 80, 83, 86, 89, 92, 95, 96, 97, 98, 99, - 100, 101, 102, 34, 68, 69, 34, 87, 88, 71, - 31, 31, 31, 31, 31, 31, 31, 29, 33, 93, - 94, 34, 90, 91, 76, 34, 81, 82, 61, 52, - 55, 58, 34, 84, 85, 31, 31, 31, 102, 28, - 28, 31, 72, 28, 28, 77, 78, 28, 35, 62, - 35, 53, 35, 56, 35, 59, 28, 69, 87, 93, - 91, 31, 79, 82, 85 + 26, 27, 28, 29, 32, 34, 42, 47, 49, 53, + 56, 59, 62, 65, 66, 67, 68, 69, 72, 75, + 76, 77, 82, 83, 84, 87, 90, 93, 96, 99, + 100, 101, 102, 103, 104, 105, 106, 36, 70, 71, + 36, 91, 92, 73, 33, 33, 33, 33, 33, 33, + 33, 31, 35, 97, 98, 36, 94, 95, 78, 36, + 85, 86, 63, 54, 57, 60, 36, 88, 89, 33, + 33, 33, 33, 33, 106, 30, 30, 33, 74, 30, + 30, 79, 80, 30, 37, 64, 37, 55, 37, 58, + 37, 61, 30, 71, 91, 97, 95, 33, 81, 86, + 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 <stddef.h> /* 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) @@ -776,15 +671,15 @@ do \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ - YYPOPSTACK (1); \ + YYPOPSTACK; \ goto yybackup; \ } \ else \ - { \ - yyerror (YY_("syntax error: cannot back up")); \ + { \ + yyerror ("syntax error: cannot back up");\ YYERROR; \ } \ -while (YYID (0)) +while (0) #define YYTERROR 1 @@ -799,7 +694,7 @@ while (YYID (0)) #ifndef YYLLOC_DEFAULT # define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ - if (YYID (N)) \ + if (N) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ @@ -813,7 +708,7 @@ while (YYID (0)) (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ - while (YYID (0)) + while (0) #endif @@ -825,8 +720,8 @@ while (YYID (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 @@ -853,96 +748,36 @@ while (YYID (0)) do { \ if (yydebug) \ YYFPRINTF Args; \ -} while (YYID (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. | -`--------------------------------*/ +} while (0) -/*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, ")"); -} +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) /*------------------------------------------------------------------. | yy_stack_print -- Print the state stack from its BOTTOM up to its | | TOP (included). | `------------------------------------------------------------------*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +#if defined (__STDC__) || defined (__cplusplus) static void -yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) +yy_stack_print (short int *bottom, short int *top) #else static void yy_stack_print (bottom, top) - yytype_int16 *bottom; - yytype_int16 *top; + short int *bottom; + short int *top; #endif { YYFPRINTF (stderr, "Stack now"); - for (; bottom <= top; ++bottom) + for (/* Nothing. */; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); YYFPRINTF (stderr, "\n"); } @@ -951,45 +786,37 @@ yy_stack_print (bottom, top) do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ -} while (YYID (0)) +} while (0) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +#if defined (__STDC__) || defined (__cplusplus) static void -yy_reduce_print (YYSTYPE *yyvsp, int yyrule) +yy_reduce_print (int yyrule) #else static void -yy_reduce_print (yyvsp, yyrule) - YYSTYPE *yyvsp; +yy_reduce_print (yyrule) int yyrule; #endif { - int yynrhs = yyr2[yyrule]; int yyi; - 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"); - } + 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]]); } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ - yy_reduce_print (yyvsp, Rule); \ -} while (YYID (0)) + yy_reduce_print (Rule); \ +} while (0) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ @@ -1011,7 +838,7 @@ int yydebug; if the built-in stack extension method is used). Do not make this value too large; the results are undefined if - YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ #ifndef YYMAXDEPTH @@ -1023,47 +850,45 @@ 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 -static YYSIZE_T +# else yystrlen (yystr) - const char *yystr; -#endif + const char *yystr; +# endif { - YYSIZE_T yylen; - for (yylen = 0; yystr[yylen]; yylen++) + register const char *yys = yystr; + + while (*yys++ != '\0') continue; - return yylen; + + return yys - yystr - 1; } # 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 -static char * +# else yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -#endif + char *yydest; + const char *yysrc; +# endif { - char *yyd = yydest; - const char *yys = yysrc; + register char *yyd = yydest; + register const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; @@ -1073,171 +898,53 @@ yystpcpy (yydest, yysrc) # endif # endif -# 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: ; - } +#endif /* !YYERROR_VERBOSE */ - if (! yyres) - return yystrlen (yystr); + - return yystpcpy (yyres, yystr) - yyres; -} -# endif +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ -/* 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) +#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 { - int yyn = yypact[yystate]; + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); else - { - 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"); + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + +# ifdef YYPRINT + if (yytype < YYNTOKENS) + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); # 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; + switch (yytype) + { + default: + break; } + YYFPRINTF (yyoutput, ")"); } -#endif /* YYERROR_VERBOSE */ - +#endif /* ! YYDEBUG */ /*-----------------------------------------------. | Release the memory associated to this symbol. | `-----------------------------------------------*/ -/*ARGSUSED*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +#if defined (__STDC__) || defined (__cplusplus) static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) #else @@ -1248,7 +955,8 @@ yydestruct (yymsg, yytype, yyvaluep) YYSTYPE *yyvaluep; #endif { - YYUSE (yyvaluep); + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; if (!yymsg) yymsg = "Deleting"; @@ -1258,7 +966,7 @@ yydestruct (yymsg, yytype, yyvaluep) { default: - break; + break; } } @@ -1266,13 +974,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 (); @@ -1297,18 +1005,14 @@ int yynerrs; `----------*/ #ifdef YYPARSE_PARAM -#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 +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif #else /* ! YYPARSE_PARAM */ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +#if defined (__STDC__) || defined (__cplusplus) int yyparse (void) #else @@ -1319,19 +1023,13 @@ yyparse () #endif { - int yystate; - int yyn; + register int yystate; + register 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, @@ -1342,18 +1040,18 @@ yyparse () to reallocate them elsewhere. */ /* The state stack. */ - yytype_int16 yyssa[YYINITDEPTH]; - yytype_int16 *yyss = yyssa; - yytype_int16 *yyssp; + short int yyssa[YYINITDEPTH]; + short int *yyss = yyssa; + register short int *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; - YYSTYPE *yyvsp; + register YYSTYPE *yyvsp; -#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) +#define YYPOPSTACK (yyvsp--, yyssp--) YYSIZE_T yystacksize = YYINITDEPTH; @@ -1362,9 +1060,9 @@ yyparse () YYSTYPE yyval; - /* The number of symbols on the RHS of the reduced rule. - Keep to zero when no symbol should be popped. */ - int yylen = 0; + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ + int yylen; YYDPRINTF ((stderr, "Starting parse\n")); @@ -1381,6 +1079,9 @@ yyparse () yyssp = yyss; yyvsp = yyvs; + + yyvsp[0] = yylval; + goto yysetstate; /*------------------------------------------------------------. @@ -1388,7 +1089,8 @@ 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: @@ -1401,18 +1103,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; - yytype_int16 *yyss1 = yyss; + short int *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 (YY_("memory exhausted"), + yyoverflow ("parser stack overflow", &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), @@ -1423,21 +1125,21 @@ yyparse () } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE - goto yyexhaustedlab; + goto yyoverflowlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) - goto yyexhaustedlab; + goto yyoverflowlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { - yytype_int16 *yyss1 = yyss; + short int *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) - goto yyexhaustedlab; + goto yyoverflowlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); @@ -1468,10 +1170,12 @@ yyparse () `-----------*/ yybackup: - /* Do appropriate processing given the current state. Read a - look-ahead token if we need one and don't already have one. */ +/* Do appropriate processing given the current state. */ +/* Read a look-ahead token if we need one and don't already have one. */ +/* yyresume: */ /* First try to decide what to do without reference to look-ahead token. */ + yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; @@ -1513,21 +1217,22 @@ 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 shifted token unless it is eof. */ + /* Discard the token being shifted 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; @@ -1563,60 +1268,60 @@ yyreduce: switch (yyn) { case 2: -#line 66 "levcomp.ypp" +#line 67 "levcomp.ypp" { } break; case 3: -#line 69 "levcomp.ypp" +#line 70 "levcomp.ypp" {} break; case 4: -#line 70 "levcomp.ypp" +#line 71 "levcomp.ypp" {} break; case 5: -#line 73 "levcomp.ypp" +#line 74 "levcomp.ypp" {} break; case 6: -#line 74 "levcomp.ypp" +#line 75 "levcomp.ypp" {} break; case 7: -#line 78 "levcomp.ypp" +#line 79 "levcomp.ypp" { yyerror("Unexpected character sequence."); } break; case 8: -#line 83 "levcomp.ypp" +#line 84 "levcomp.ypp" {} break; case 9: -#line 84 "levcomp.ypp" +#line 85 "levcomp.ypp" {} break; case 10: -#line 88 "levcomp.ypp" +#line 89 "levcomp.ypp" { dgn_reset_default_depth(); - std::string err = dgn_set_default_depth((yyvsp[(2) - (2)].text)); + std::string err = dgn_set_default_depth((yyvsp[0].text)); if (!err.empty()) yyerror(make_stringf("Bad default-depth: %s (%s)", - (yyvsp[(2) - (2)].text), err.c_str()).c_str()); + (yyvsp[0].text), err.c_str()).c_str()); } break; case 11: -#line 98 "levcomp.ypp" +#line 99 "levcomp.ypp" { lc_map.set_file(lc_desfile); @@ -1639,63 +1344,53 @@ yyreduce: break; case 12: -#line 119 "levcomp.ypp" +#line 120 "levcomp.ypp" { } break; case 13: -#line 120 "levcomp.ypp" +#line 121 "levcomp.ypp" { } break; case 14: -#line 123 "levcomp.ypp" +#line 124 "levcomp.ypp" { } break; case 15: -#line 124 "levcomp.ypp" +#line 125 "levcomp.ypp" { } break; case 16: -#line 128 "levcomp.ypp" +#line 129 "levcomp.ypp" { lc_map.init(); - lc_map.name = (yyvsp[(2) - (2)].text); + lc_map.name = (yyvsp[0].text); map_load_info_t::const_iterator i = - lc_loaded_maps.find((yyvsp[(2) - (2)].text)); + lc_loaded_maps.find((yyvsp[0].text)); if (i != lc_loaded_maps.end()) { yyerror( make_stringf( "Map named '%s' already loaded at %s:%d", - (yyvsp[(2) - (2)].text), + (yyvsp[0].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[(2) - (2)].text)] = lc_map.place_loaded_from; + lc_loaded_maps[(yyvsp[0].text)] = lc_map.place_loaded_from; } break; - case 40: -#line 174 "levcomp.ypp" - {} - break; - - case 41: -#line 177 "levcomp.ypp" - { } - break; - case 42: -#line 179 "levcomp.ypp" - { } +#line 177 "levcomp.ypp" + {} break; case 43: @@ -1704,20 +1399,20 @@ yyreduce: break; case 44: -#line 184 "levcomp.ypp" - { - lc_global_prelude.add(yylineno, (yyvsp[(1) - (1)].text)); - } +#line 182 "levcomp.ypp" + { } break; case 45: -#line 188 "levcomp.ypp" +#line 183 "levcomp.ypp" { } break; case 46: -#line 190 "levcomp.ypp" - { } +#line 187 "levcomp.ypp" + { + lc_global_prelude.add(yylineno, (yyvsp[0].text)); + } break; case 47: @@ -1726,20 +1421,20 @@ yyreduce: break; case 48: -#line 195 "levcomp.ypp" - { - lc_map.main.add(yylineno, (yyvsp[(1) - (1)].text)); - } +#line 193 "levcomp.ypp" + { } break; case 49: -#line 199 "levcomp.ypp" +#line 194 "levcomp.ypp" { } break; case 50: -#line 201 "levcomp.ypp" - { } +#line 198 "levcomp.ypp" + { + lc_map.main.add(yylineno, (yyvsp[0].text)); + } break; case 51: @@ -1748,20 +1443,20 @@ yyreduce: break; case 52: -#line 206 "levcomp.ypp" - { - lc_map.validate.add(yylineno, (yyvsp[(1) - (1)].text)); - } +#line 204 "levcomp.ypp" + { } break; case 53: -#line 210 "levcomp.ypp" +#line 205 "levcomp.ypp" { } break; case 54: -#line 212 "levcomp.ypp" - { } +#line 209 "levcomp.ypp" + { + lc_map.validate.add(yylineno, (yyvsp[0].text)); + } break; case 55: @@ -1770,20 +1465,20 @@ yyreduce: break; case 56: -#line 217 "levcomp.ypp" - { - lc_map.veto.add(yylineno, (yyvsp[(1) - (1)].text)); - } +#line 215 "levcomp.ypp" + { } break; case 57: -#line 221 "levcomp.ypp" +#line 216 "levcomp.ypp" { } break; case 58: -#line 223 "levcomp.ypp" - { } +#line 220 "levcomp.ypp" + { + lc_map.veto.add(yylineno, (yyvsp[0].text)); + } break; case 59: @@ -1792,333 +1487,374 @@ yyreduce: break; case 60: -#line 228 "levcomp.ypp" - { - lc_map.prelude.add(yylineno, (yyvsp[(1) - (1)].text)); - } +#line 226 "levcomp.ypp" + { } break; case 61: -#line 232 "levcomp.ypp" +#line 227 "levcomp.ypp" { } break; case 62: -#line 234 "levcomp.ypp" +#line 231 "levcomp.ypp" { - lc_map.main.add( - yylineno, - make_stringf("kfeat(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + lc_map.prelude.add(yylineno, (yyvsp[0].text)); } break; case 63: -#line 241 "levcomp.ypp" +#line 235 "levcomp.ypp" { } break; case 64: -#line 243 "levcomp.ypp" +#line 237 "levcomp.ypp" { lc_map.main.add( yylineno, - make_stringf("kmons(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + make_stringf("kfeat(\"%s\")", + quote_lua_string((yyvsp[0].text)).c_str())); } break; case 65: -#line 250 "levcomp.ypp" +#line 244 "levcomp.ypp" { } break; case 66: -#line 252 "levcomp.ypp" +#line 246 "levcomp.ypp" { lc_map.main.add( yylineno, - make_stringf("kitem(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + make_stringf("kmons(\"%s\")", + quote_lua_string((yyvsp[0].text)).c_str())); } break; case 67: -#line 259 "levcomp.ypp" +#line 253 "levcomp.ypp" { } break; case 68: -#line 261 "levcomp.ypp" +#line 255 "levcomp.ypp" { lc_map.main.add( yylineno, - make_stringf("kmask(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + make_stringf("kitem(\"%s\")", + quote_lua_string((yyvsp[0].text)).c_str())); } break; case 69: -#line 268 "levcomp.ypp" +#line 262 "levcomp.ypp" + { } + break; + + case 70: +#line 264 "levcomp.ypp" + { + lc_map.main.add( + yylineno, + make_stringf("kmask(\"%s\")", + quote_lua_string((yyvsp[0].text)).c_str())); + } + break; + + case 71: +#line 271 "levcomp.ypp" {} break; - case 72: -#line 276 "levcomp.ypp" + case 74: +#line 279 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("shuffle(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 73: -#line 283 "levcomp.ypp" + case 75: +#line 286 "levcomp.ypp" {} break; - case 76: -#line 291 "levcomp.ypp" + case 78: +#line 294 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("tags(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 77: -#line 300 "levcomp.ypp" + case 79: +#line 303 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("lflags(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 78: -#line 309 "levcomp.ypp" + case 80: +#line 312 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("bflags(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 79: -#line 318 "levcomp.ypp" + case 81: +#line 321 "levcomp.ypp" { lc_map.main.add(yylineno, "marker("); start_marker_segment = true; } break; - case 80: -#line 323 "levcomp.ypp" + case 82: +#line 326 "levcomp.ypp" { lc_map.main.add(yylineno, ")"); } break; - case 84: -#line 335 "levcomp.ypp" + case 86: +#line 338 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf( "%s\"%s\"", start_marker_segment? "" : " .. ", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); start_marker_segment = false; } break; - case 85: -#line 346 "levcomp.ypp" + case 87: +#line 349 "levcomp.ypp" { } break; - case 86: -#line 349 "levcomp.ypp" + case 88: +#line 352 "levcomp.ypp" { } break; - case 87: -#line 350 "levcomp.ypp" + case 89: +#line 354 "levcomp.ypp" + { + lc_map.main.add( + yylineno, + make_stringf("floor_colour(\"%s\")", + quote_lua_string((yyvsp[0].text)).c_str())); + } + break; + + case 90: +#line 361 "levcomp.ypp" { } break; - case 88: -#line 354 "levcomp.ypp" + case 91: +#line 363 "levcomp.ypp" + { + lc_map.main.add( + yylineno, + make_stringf("rock_colour(\"%s\")", + quote_lua_string((yyvsp[0].text)).c_str())); + } + break; + + case 92: +#line 370 "levcomp.ypp" + { } + break; + + case 93: +#line 371 "levcomp.ypp" + { } + break; + + case 94: +#line 375 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("colour(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 89: -#line 362 "levcomp.ypp" + case 95: +#line 383 "levcomp.ypp" { } break; - case 90: -#line 365 "levcomp.ypp" + case 96: +#line 386 "levcomp.ypp" { } break; - case 91: -#line 366 "levcomp.ypp" + case 97: +#line 387 "levcomp.ypp" { } break; - case 92: -#line 370 "levcomp.ypp" + case 98: +#line 391 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("nsubst(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 93: -#line 378 "levcomp.ypp" + case 99: +#line 399 "levcomp.ypp" { } break; - case 96: -#line 386 "levcomp.ypp" + case 102: +#line 407 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("subst(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 97: -#line 394 "levcomp.ypp" + case 103: +#line 415 "levcomp.ypp" {} break; - case 98: -#line 395 "levcomp.ypp" + case 104: +#line 416 "levcomp.ypp" {} break; - case 101: -#line 403 "levcomp.ypp" + case 107: +#line 424 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("item(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 102: -#line 410 "levcomp.ypp" + case 108: +#line 431 "levcomp.ypp" {} break; - case 103: -#line 411 "levcomp.ypp" + case 109: +#line 432 "levcomp.ypp" {} break; - case 106: -#line 419 "levcomp.ypp" + case 112: +#line 440 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("mons(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 107: -#line 428 "levcomp.ypp" + case 113: +#line 449 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("place(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 108: -#line 436 "levcomp.ypp" + case 114: +#line 457 "levcomp.ypp" {} break; - case 109: -#line 438 "levcomp.ypp" + case 115: +#line 459 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("depth(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 110: -#line 447 "levcomp.ypp" + case 116: +#line 468 "levcomp.ypp" { lc_map.main.add( yylineno, - make_stringf("chance(\"%d\")", (yyvsp[(2) - (2)].i))); + make_stringf("chance(\"%d\")", (yyvsp[0].i))); } break; - case 111: -#line 454 "levcomp.ypp" + case 117: +#line 475 "levcomp.ypp" {} break; - case 112: -#line 456 "levcomp.ypp" + case 118: +#line 477 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("orient(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 113: -#line 465 "levcomp.ypp" + case 119: +#line 486 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("welcome(\"%s\")", - quote_lua_string((yyvsp[(2) - (2)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; - case 117: -#line 481 "levcomp.ypp" + case 123: +#line 502 "levcomp.ypp" { lc_map.main.add( yylineno, make_stringf("map(\"%s\")", - quote_lua_string((yyvsp[(1) - (1)].text)).c_str())); + quote_lua_string((yyvsp[0].text)).c_str())); } break; -/* Line 1267 of yacc.c. */ -#line 2116 "levcomp.tab.c" - default: break; } - YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); - YYPOPSTACK (yylen); - yylen = 0; +/* Line 1037 of yacc.c. */ +#line 1853 "levcomp.tab.c" + + yyvsp -= yylen; + yyssp -= yylen; + + YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; @@ -2147,41 +1883,66 @@ yyerrlab: if (!yyerrstatus) { ++yynerrs; -#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 +#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) { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; + yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]); + yycount += 1; + if (yycount == 5) + { + yysize = 0; + break; + } } - } - - 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 + 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"); } @@ -2192,15 +1953,23 @@ yyerrlab: error, discard it. */ if (yychar <= YYEOF) - { - /* Return failure if at end of input. */ + { + /* If at end of input, pop the error token, + then the rest of the stack, then return failure. */ if (yychar == YYEOF) - YYABORT; - } + for (;;) + { + + YYPOPSTACK; + if (yyssp == yyss) + YYABORT; + yydestruct ("Error: popping", + yystos[*yyssp], yyvsp); + } + } else { - yydestruct ("Error: discarding", - yytoken, &yylval); + yydestruct ("Error: discarding", yytoken, &yylval); yychar = YYEMPTY; } } @@ -2215,17 +1984,15 @@ yyerrlab: `---------------------------------------------------*/ yyerrorlab: - /* Pacify compilers like GCC when the user code never invokes - YYERROR and the label yyerrorlab therefore never appears in user - code. */ - if (/*CONSTCOND*/ 0) +#ifdef __GNUC__ + /* Pacify GCC when the user code never invokes YYERROR and the label + yyerrorlab therefore never appears in user code. */ + if (0) goto yyerrorlab; +#endif - /* Do not reclaim the symbols of the rule which action triggered - this YYERROR. */ - YYPOPSTACK (yylen); - yylen = 0; - YY_STACK_PRINT (yyss, yyssp); +yyvsp -= yylen; + yyssp -= yylen; yystate = *yyssp; goto yyerrlab1; @@ -2255,9 +2022,8 @@ yyerrlab1: YYABORT; - yydestruct ("Error: popping", - yystos[yystate], yyvsp); - YYPOPSTACK (1); + yydestruct ("Error: popping", yystos[yystate], yyvsp); + YYPOPSTACK; yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); } @@ -2268,7 +2034,7 @@ yyerrlab1: *++yyvsp = yylval; - /* Shift the error token. */ + /* Shift the error token. */ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); yystate = yyn; @@ -2286,46 +2052,31 @@ yyacceptlab: | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ yyabortlab: + yydestruct ("Error: discarding lookahead", + yytoken, &yylval); + yychar = YYEMPTY; yyresult = 1; goto yyreturn; #ifndef yyoverflow -/*-------------------------------------------------. -| yyexhaustedlab -- memory exhaustion comes here. | -`-------------------------------------------------*/ -yyexhaustedlab: - yyerror (YY_("memory exhausted")); +/*----------------------------------------------. +| yyoverflowlab -- parser overflow comes here. | +`----------------------------------------------*/ +yyoverflowlab: + yyerror ("parser stack overflow"); 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 -#if YYERROR_VERBOSE - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); -#endif - /* Make sure YYID is used. */ - return YYID (yyresult); + return yyresult; } -#line 489 "levcomp.ypp" +#line 510 "levcomp.ypp" diff --git a/crawl-ref/source/prebuilt/levcomp.tab.h b/crawl-ref/source/prebuilt/levcomp.tab.h index e44cd6ecfa..996d9b9231 100644 --- a/crawl-ref/source/prebuilt/levcomp.tab.h +++ b/crawl-ref/source/prebuilt/levcomp.tab.h @@ -1,9 +1,7 @@ -/* A Bison parser, made by GNU Bison 2.3. */ +/* A Bison parser, made by GNU Bison 2.0. */ -/* 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. +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,21 +15,13 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ - -/* 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. + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ +/* 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. */ /* Tokens. */ #ifndef YYTOKENTYPE @@ -64,17 +54,18 @@ WELCOME = 280, LFLAGS = 281, BFLAGS = 282, - COMMA = 283, - INTEGER = 284, - CHARACTER = 285, - STRING = 286, - MAP_LINE = 287, - MONSTER_NAME = 288, - ITEM_INFO = 289, - LUA_LINE = 290 + FLOORCOL = 283, + ROCKCOL = 284, + COMMA = 285, + INTEGER = 286, + CHARACTER = 287, + STRING = 288, + MAP_LINE = 289, + MONSTER_NAME = 290, + ITEM_INFO = 291, + LUA_LINE = 292 }; #endif -/* Tokens. */ #define DEFAULT_DEPTH 258 #define SHUFFLE 259 #define SUBST 260 @@ -100,29 +91,29 @@ #define WELCOME 280 #define LFLAGS 281 #define BFLAGS 282 -#define COMMA 283 -#define INTEGER 284 -#define CHARACTER 285 -#define STRING 286 -#define MAP_LINE 287 -#define MONSTER_NAME 288 -#define ITEM_INFO 289 -#define LUA_LINE 290 +#define FLOORCOL 283 +#define ROCKCOL 284 +#define COMMA 285 +#define INTEGER 286 +#define CHARACTER 287 +#define STRING 288 +#define MAP_LINE 289 +#define MONSTER_NAME 290 +#define ITEM_INFO 291 +#define LUA_LINE 292 -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 46 "levcomp.ypp" -{ +typedef union YYSTYPE { int i; const char *text; raw_range range; -} -/* Line 1529 of yacc.c. */ -#line 125 "levcomp.tab.h" - YYSTYPE; +} YYSTYPE; +/* Line 1274 of yacc.c. */ +#line 117 "levcomp.tab.h" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 @@ -130,3 +121,5 @@ typedef union YYSTYPE extern YYSTYPE yylval; + + |