X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fas3%2Ftokenizer.yy.c;h=e8831942d88b9734abe9b46e614d015656ddd27c;hp=1cb0292de013399e6adbe694ef90db8e51ec6044;hb=3e303bea7eb10c99a7b3808f0c355ee63188eb9b;hpb=b90a862675445a668b49221a4ac2ead441b9d153 diff --git a/lib/as3/tokenizer.yy.c b/lib/as3/tokenizer.yy.c index 1cb0292..e883194 100644 --- a/lib/as3/tokenizer.yy.c +++ b/lib/as3/tokenizer.yy.c @@ -6,24 +6,24 @@ /* A lexical scanner generated by flex */ -#define yy_create_buffer avm2__create_buffer -#define yy_delete_buffer avm2__delete_buffer -#define yy_flex_debug avm2__flex_debug -#define yy_init_buffer avm2__init_buffer -#define yy_flush_buffer avm2__flush_buffer -#define yy_load_buffer_state avm2__load_buffer_state -#define yy_switch_to_buffer avm2__switch_to_buffer -#define yyin avm2_in -#define yyleng avm2_leng -#define yylex avm2_lex -#define yylineno avm2_lineno -#define yyout avm2_out -#define yyrestart avm2_restart -#define yytext avm2_text -#define yywrap avm2_wrap -#define yyalloc avm2_alloc -#define yyrealloc avm2_realloc -#define yyfree avm2_free +#define yy_create_buffer as3__create_buffer +#define yy_delete_buffer as3__delete_buffer +#define yy_flex_debug as3__flex_debug +#define yy_init_buffer as3__init_buffer +#define yy_flush_buffer as3__flush_buffer +#define yy_load_buffer_state as3__load_buffer_state +#define yy_switch_to_buffer as3__switch_to_buffer +#define yyin as3_in +#define yyleng as3_leng +#define yylex as3_lex +#define yylineno as3_lineno +#define yyout as3_out +#define yyrestart as3_restart +#define yytext as3_text +#define yywrap as3_wrap +#define yyalloc as3_alloc +#define yyrealloc as3_realloc +#define yyfree as3_free #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 @@ -154,7 +154,7 @@ typedef unsigned int flex_uint32_t; #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE avm2_restart(avm2_in ) +#define YY_NEW_FILE as3_restart(as3_in ) #define YY_END_OF_BUFFER_CHAR 0 @@ -172,9 +172,9 @@ typedef unsigned int flex_uint32_t; typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif -extern int avm2_leng; +extern int as3_leng; -extern FILE *avm2_in, *avm2_out; +extern FILE *as3_in, *as3_out; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 @@ -186,13 +186,13 @@ extern FILE *avm2_in, *avm2_out; #define yyless(n) \ do \ { \ - /* Undo effects of setting up avm2_text. */ \ + /* Undo effects of setting up as3_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up avm2_text again */ \ + YY_DO_BEFORE_ACTION; /* set up as3_text again */ \ } \ while ( 0 ) @@ -260,8 +260,8 @@ struct yy_buffer_state * possible backing-up. * * When we actually see the EOF, we change the status to "new" - * (via avm2_restart()), so that the user can continue scanning by - * just pointing avm2_in at a new input file. + * (via as3_restart()), so that the user can continue scanning by + * just pointing as3_in at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 @@ -288,51 +288,51 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] -/* yy_hold_char holds the character lost when avm2_text is formed. */ +/* yy_hold_char holds the character lost when as3_text is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ -int avm2_leng; +int as3_leng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ -/* Flag which is used to allow avm2_wrap()'s to do buffer switches - * instead of setting up a fresh avm2_in. A bit of a hack ... +/* Flag which is used to allow as3_wrap()'s to do buffer switches + * instead of setting up a fresh as3_in. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; -void avm2_restart (FILE *input_file ); -void avm2__switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE avm2__create_buffer (FILE *file,int size ); -void avm2__delete_buffer (YY_BUFFER_STATE b ); -void avm2__flush_buffer (YY_BUFFER_STATE b ); -void avm2_push_buffer_state (YY_BUFFER_STATE new_buffer ); -void avm2_pop_buffer_state (void ); +void as3_restart (FILE *input_file ); +void as3__switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE as3__create_buffer (FILE *file,int size ); +void as3__delete_buffer (YY_BUFFER_STATE b ); +void as3__flush_buffer (YY_BUFFER_STATE b ); +void as3_push_buffer_state (YY_BUFFER_STATE new_buffer ); +void as3_pop_buffer_state (void ); -static void avm2_ensure_buffer_stack (void ); -static void avm2__load_buffer_state (void ); -static void avm2__init_buffer (YY_BUFFER_STATE b,FILE *file ); +static void as3_ensure_buffer_stack (void ); +static void as3__load_buffer_state (void ); +static void as3__init_buffer (YY_BUFFER_STATE b,FILE *file ); -#define YY_FLUSH_BUFFER avm2__flush_buffer(YY_CURRENT_BUFFER ) +#define YY_FLUSH_BUFFER as3__flush_buffer(YY_CURRENT_BUFFER ) -YY_BUFFER_STATE avm2__scan_buffer (char *base,yy_size_t size ); -YY_BUFFER_STATE avm2__scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE avm2__scan_bytes (yyconst char *bytes,int len ); +YY_BUFFER_STATE as3__scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE as3__scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE as3__scan_bytes (yyconst char *bytes,int len ); -void *avm2_alloc (yy_size_t ); -void *avm2_realloc (void *,yy_size_t ); -void avm2_free (void * ); +void *as3_alloc (yy_size_t ); +void *as3_realloc (void *,yy_size_t ); +void as3_free (void * ); -#define yy_new_buffer avm2__create_buffer +#define yy_new_buffer as3__create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ - avm2_ensure_buffer_stack (); \ + as3_ensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ - avm2__create_buffer(avm2_in,YY_BUF_SIZE ); \ + as3__create_buffer(as3_in,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } @@ -340,9 +340,9 @@ void avm2_free (void * ); #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ - avm2_ensure_buffer_stack (); \ + as3_ensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ - avm2__create_buffer(avm2_in,YY_BUF_SIZE ); \ + as3__create_buffer(as3_in,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } @@ -353,16 +353,16 @@ void avm2_free (void * ); typedef unsigned char YY_CHAR; -FILE *avm2_in = (FILE *) 0, *avm2_out = (FILE *) 0; +FILE *as3_in = (FILE *) 0, *as3_out = (FILE *) 0; typedef int yy_state_type; -extern int avm2_lineno; +extern int as3_lineno; -int avm2_lineno = 1; +int as3_lineno = 1; -extern char *avm2_text; -#define yytext_ptr avm2_text +extern char *as3_text; +#define yytext_ptr as3_text static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); @@ -370,17 +370,17 @@ static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the - * corresponding action - sets up avm2_text. + * corresponding action - sets up as3_text. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ - avm2_leng = (size_t) (yy_cp - yy_bp); \ + as3_leng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; -#define YY_NUM_RULES 106 -#define YY_END_OF_BUFFER 107 +#define YY_NUM_RULES 130 +#define YY_END_OF_BUFFER 131 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -388,726 +388,1039 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[468] = +static yyconst flex_int16_t yy_accept[630] = { 0, - 0, 0, 0, 0, 0, 0, 107, 105, 13, 13, - 103, 105, 103, 103, 103, 105, 104, 103, 103, 103, - 51, 103, 16, 16, 16, 53, 103, 103, 103, 102, - 103, 102, 102, 102, 102, 102, 102, 102, 102, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 103, 105, - 102, 103, 103, 51, 103, 10, 10, 10, 29, 0, - 6, 0, 40, 27, 0, 0, 41, 36, 37, 35, - 38, 50, 17, 3, 0, 39, 17, 16, 0, 0, - 52, 46, 34, 32, 33, 48, 0, 102, 0, 101, - 102, 102, 102, 102, 102, 24, 102, 102, 102, 102, - - 102, 102, 102, 102, 102, 100, 102, 99, 98, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, - 42, 28, 0, 99, 0, 10, 10, 11, 0, 3, - 7, 39, 0, 11, 10, 0, 30, 49, 0, 0, - 0, 0, 0, 1, 17, 15, 14, 0, 44, 31, - 43, 47, 0, 0, 0, 0, 0, 102, 102, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, - 23, 102, 94, 102, 102, 102, 102, 102, 93, 102, - 102, 102, 102, 102, 102, 102, 95, 102, 102, 102, - - 102, 102, 97, 102, 102, 92, 96, 102, 102, 102, - 12, 102, 11, 11, 0, 7, 0, 0, 0, 7, - 0, 7, 7, 11, 9, 8, 0, 0, 0, 2, - 0, 15, 0, 45, 0, 0, 0, 0, 102, 90, - 102, 102, 102, 102, 102, 102, 102, 85, 89, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 88, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, - 87, 102, 102, 86, 102, 91, 102, 11, 9, 8, - 7, 0, 7, 0, 0, 2, 0, 7, 7, 9, - 0, 2, 18, 20, 0, 0, 0, 83, 80, 78, - - 79, 102, 102, 102, 102, 102, 82, 81, 102, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, - 102, 102, 84, 102, 77, 102, 102, 25, 102, 9, - 0, 0, 2, 0, 7, 7, 19, 0, 0, 102, - 102, 70, 102, 102, 102, 102, 102, 75, 102, 102, - 102, 102, 73, 102, 102, 102, 102, 72, 71, 74, - 26, 76, 102, 102, 7, 0, 0, 102, 65, 68, - 69, 64, 102, 102, 102, 102, 102, 102, 102, 66, - 67, 102, 102, 102, 7, 0, 21, 60, 63, 102, - 102, 102, 62, 102, 61, 102, 102, 0, 22, 102, - - 102, 56, 57, 58, 59, 0, 0, 0, 0, 55, - 54, 0, 5, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, - 0, 0, 4, 0, 0, 4, 0, 5, 0, 0, - 0, 0, 20, 5, 20, 20, 0, 0, 0, 19, - 5, 19, 19, 0, 0, 0, 0, 0, 21, 5, - 21, 21, 22, 5, 22, 22, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 131, 130, 31, 127, 130, 127, 127, 127, + 130, 127, 128, 126, 127, 127, 73, 127, 130, 130, + 130, 75, 127, 127, 127, 125, 125, 126, 127, 125, + 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, + 125, 125, 125, 125, 125, 125, 29, 127, 126, 130, + 125, 129, 31, 127, 129, 127, 127, 127, 129, 127, + 128, 126, 127, 127, 73, 127, 129, 129, 129, 75, + 127, 127, 127, 125, 125, 126, 127, 125, 125, 125, + 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, + + 125, 125, 125, 125, 28, 127, 126, 129, 125, 29, + 127, 127, 73, 127, 129, 129, 129, 17, 17, 19, + 20, 18, 16, 16, 129, 12, 15, 11, 14, 13, + 10, 15, 49, 0, 6, 0, 125, 61, 47, 64, + 0, 0, 62, 56, 57, 55, 59, 72, 0, 3, + 0, 60, 34, 34, 0, 0, 0, 0, 74, 0, + 68, 54, 52, 53, 70, 0, 125, 0, 125, 58, + 125, 124, 125, 125, 125, 125, 125, 44, 125, 125, + 125, 125, 125, 125, 125, 125, 125, 123, 125, 122, + 121, 125, 125, 125, 125, 125, 125, 125, 125, 125, + + 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, + 125, 125, 63, 48, 0, 122, 0, 0, 0, 0, + 0, 3, 23, 60, 0, 26, 26, 0, 0, 0, + 0, 17, 0, 0, 9, 15, 0, 50, 125, 71, + 35, 0, 0, 0, 0, 0, 1, 0, 0, 0, + 0, 0, 0, 66, 51, 65, 69, 0, 0, 0, + 0, 0, 36, 125, 125, 125, 125, 125, 125, 125, + 125, 125, 125, 125, 125, 125, 125, 43, 125, 117, + 125, 125, 125, 125, 125, 116, 125, 125, 125, 125, + 125, 125, 125, 118, 125, 125, 125, 125, 125, 120, + + 125, 125, 115, 119, 125, 125, 125, 30, 125, 0, + 26, 26, 0, 0, 27, 23, 0, 0, 0, 23, + 0, 23, 23, 0, 0, 0, 0, 0, 0, 0, + 15, 0, 0, 0, 2, 0, 33, 0, 32, 32, + 0, 0, 67, 0, 0, 0, 0, 125, 125, 113, + 125, 125, 125, 125, 125, 125, 125, 108, 112, 125, + 125, 125, 125, 125, 125, 125, 125, 125, 125, 111, + 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, + 110, 125, 125, 109, 125, 114, 125, 27, 0, 0, + 0, 0, 23, 0, 23, 0, 0, 2, 0, 23, + + 23, 25, 0, 24, 24, 0, 0, 0, 0, 2, + 37, 0, 39, 0, 0, 0, 125, 106, 103, 101, + 102, 125, 125, 125, 125, 125, 105, 104, 125, 125, + 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, + 125, 125, 107, 125, 100, 125, 125, 45, 125, 25, + 0, 24, 24, 0, 0, 2, 0, 23, 23, 0, + 0, 0, 0, 0, 0, 38, 0, 0, 125, 125, + 125, 93, 125, 125, 125, 125, 125, 98, 125, 125, + 125, 125, 96, 125, 125, 125, 125, 95, 94, 97, + 46, 99, 125, 125, 23, 0, 0, 0, 0, 0, + + 0, 125, 125, 88, 91, 92, 87, 125, 125, 125, + 125, 125, 125, 125, 89, 90, 125, 125, 125, 23, + 8, 21, 0, 0, 0, 40, 125, 83, 0, 86, + 125, 125, 125, 85, 125, 84, 125, 125, 0, 0, + 0, 41, 82, 0, 125, 125, 78, 80, 79, 81, + 0, 0, 0, 0, 0, 0, 0, 0, 77, 76, + 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, + 0, 0, 0, 42, 0, 4, 0, 0, 4, 0, + 5, 0, 0, 0, 0, 0, 7, 0, 39, 5, + + 39, 39, 0, 0, 0, 22, 0, 7, 0, 38, + 5, 38, 38, 0, 0, 22, 0, 0, 0, 0, + 40, 5, 40, 40, 41, 5, 41, 41, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 5, 6, 7, 8, 9, 10, 11, 8, - 12, 13, 14, 8, 15, 16, 17, 18, 19, 19, - 20, 19, 19, 19, 19, 19, 19, 21, 8, 22, - 23, 24, 8, 8, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 8, 26, 27, 8, 28, 7, 29, 30, 31, 32, - - 33, 34, 35, 36, 37, 25, 38, 39, 40, 41, - 42, 43, 25, 44, 45, 46, 47, 48, 49, 50, - 51, 25, 8, 52, 8, 8, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 53, 7, 7, 7, - 54, 7, 7, 7, 7, 7, 7, 7, 7, 7, - - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 55, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7 + 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 13, 17, 18, 19, 20, 21, 21, + 22, 21, 21, 21, 21, 21, 21, 23, 13, 24, + 25, 26, 13, 13, 27, 28, 29, 30, 28, 28, + 28, 28, 28, 28, 28, 28, 28, 31, 28, 28, + 28, 28, 28, 32, 28, 28, 28, 28, 28, 28, + 33, 34, 35, 36, 37, 8, 38, 39, 40, 41, + + 42, 43, 44, 45, 46, 28, 47, 48, 49, 50, + 51, 52, 28, 53, 54, 55, 56, 57, 58, 59, + 60, 28, 61, 62, 63, 13, 8, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 65, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 66, 64, 64, 64, + 67, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 68, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64 } ; -static yyconst flex_int32_t yy_meta[56] = +static yyconst flex_int32_t yy_meta[69] = { 0, - 1, 2, 3, 2, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 5, 4, 6, 6, 6, - 2, 4, 4, 4, 7, 8, 4, 8, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 4, 4, 4, 4 + 1, 2, 3, 2, 2, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 5, 4, 6, + 6, 6, 7, 8, 4, 8, 9, 9, 9, 9, + 9, 9, 4, 10, 4, 4, 11, 9, 9, 9, + 9, 12, 9, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 13, 9, + 8, 4, 4, 14, 15, 14, 14, 14 } ; -static yyconst flex_int16_t yy_base[495] = +static yyconst flex_int16_t yy_base[671] = { 0, - 0, 420, 42, 49, 56, 63, 455, 2184, 2184, 2184, - 431, 78, 2184, 427, 436, 76, 2184, 418, 71, 73, - 73, 82, 90, 95, 100, 415, 75, 406, 98, 121, - 2184, 124, 127, 131, 108, 107, 114, 125, 143, 147, - 126, 158, 162, 170, 179, 186, 193, 200, 80, 365, - 376, 227, 233, 239, 247, 247, 256, 261, 391, 172, - 2184, 403, 2184, 2184, 155, 400, 2184, 2184, 2184, 2184, - 2184, 384, 264, 285, 393, 2184, 271, 276, 379, 344, - 2184, 362, 2184, 360, 2184, 115, 297, 264, 305, 275, - 282, 281, 283, 290, 299, 301, 305, 320, 313, 324, - - 306, 332, 336, 340, 347, 348, 355, 362, 363, 370, - 382, 384, 386, 391, 398, 409, 403, 414, 405, 423, - 430, 429, 435, 441, 446, 458, 450, 464, 470, 469, - 2184, 2184, 318, 485, 499, 516, 521, 502, 207, 541, - 565, 208, 245, 527, 532, 352, 2184, 2184, 558, 561, - 574, 350, 361, 2184, 537, 0, 344, 339, 2184, 2184, - 2184, 333, 615, 294, 274, 264, 249, 484, 540, 541, - 591, 592, 593, 611, 600, 612, 623, 628, 629, 630, - 634, 646, 650, 651, 652, 666, 667, 673, 672, 674, - 678, 689, 690, 694, 695, 706, 710, 712, 717, 718, - - 726, 733, 732, 734, 748, 740, 741, 756, 755, 757, - 2184, 762, 566, 605, 262, 0, 804, 807, 810, 252, - 836, 0, 846, 608, 0, 252, 162, 813, 839, 244, - 842, 0, 210, 2184, 0, 200, 203, 201, 790, 818, - 822, 869, 870, 876, 878, 890, 895, 899, 901, 910, - 915, 916, 917, 931, 932, 933, 938, 939, 950, 954, - 958, 962, 966, 970, 977, 978, 984, 986, 998, 1002, - 1003, 1004, 1018, 1019, 1020, 1025, 1026, 664, 0, 212, - 0, 1053, 1079, 1134, 1137, 197, 1140, 1166, 0, 0, - 1221, 2184, 2184, 2184, 0, 165, 167, 1116, 1117, 1123, - - 1197, 1201, 1202, 1216, 1217, 1218, 1222, 1223, 1234, 1238, - 1240, 1246, 1249, 1262, 1264, 1270, 1279, 1271, 1291, 1295, - 1286, 1300, 1306, 1307, 1311, 1318, 1322, 1326, 1334, 0, - 1368, 1376, 0, 1394, 0, 0, 2184, 165, 130, 1333, - 1345, 1359, 1361, 1370, 1375, 1377, 1389, 1394, 1396, 1395, - 1400, 1401, 1412, 1416, 1417, 1424, 1423, 1431, 1432, 1438, - 1439, 1443, 1447, 1454, 145, 81, 0, 1461, 1462, 1463, - 1468, 1469, 1477, 1483, 1484, 1498, 1491, 1503, 1502, 1507, - 1509, 1514, 1521, 900, 95, 0, 2184, 1523, 1528, 1529, - 1530, 1544, 1537, 1545, 1551, 1553, 1559, 1600, 2184, 1568, - - 1580, 1576, 1587, 1588, 1594, 740, 184, 1636, 1639, 1606, - 1615, 863, 866, 1032, 1072, 187, 1225, 104, 181, 1648, - 1664, 1675, 1678, 1690, 1693, 1696, 1701, 1705, 1709, 1712, - 1716, 1719, 1751, 98, 1754, 1760, 1763, 1766, 1792, 1776, - 1780, 1784, 1769, 1772, 1787, 1808, 1847, 1820, 1826, 1823, - 1829, 1832, 1835, 1873, 1839, 1876, 1912, 1967, 1879, 1882, - 1885, 1888, 1891, 1894, 1903, 1906, 2184, 2022, 2030, 2037, - 2045, 2053, 2061, 2065, 2072, 2076, 2083, 2086, 2089, 83, - 2096, 2099, 2106, 2114, 2114, 2121, 2129, 2134, 2139, 2144, - 2151, 2159, 2167, 2175 - + 0, 1856, 68, 1820, 1802, 91, 122, 129, 150, 153, + 214, 0, 1788, 3333, 3333, 1735, 147, 0, 1696, 144, + 146, 3333, 3333, 1679, 141, 142, 142, 146, 265, 270, + 275, 1648, 162, 1640, 147, 296, 300, 3333, 1607, 328, + 131, 140, 147, 268, 299, 150, 156, 304, 256, 287, + 294, 314, 326, 261, 324, 338, 3333, 264, 3333, 1563, + 345, 3333, 3333, 1539, 163, 0, 1536, 171, 332, 3333, + 3333, 1500, 384, 390, 396, 404, 404, 410, 415, 1500, + 415, 1475, 187, 310, 336, 3333, 1470, 0, 343, 396, + 400, 417, 426, 431, 438, 448, 405, 440, 453, 455, + + 467, 464, 477, 479, 3333, 314, 3333, 1422, 486, 3333, + 450, 431, 523, 523, 529, 534, 539, 0, 0, 1474, + 3333, 3333, 3333, 3333, 1467, 3333, 1408, 3333, 3333, 3333, + 3333, 1345, 1340, 301, 3333, 1297, 0, 3333, 3333, 3333, + 433, 1294, 3333, 3333, 3333, 3333, 3333, 1218, 542, 564, + 495, 3333, 3333, 552, 569, 575, 1211, 1155, 3333, 1167, + 1157, 3333, 1146, 3333, 497, 597, 516, 601, 554, 3333, + 565, 524, 568, 559, 577, 573, 581, 563, 583, 585, + 587, 592, 595, 600, 598, 607, 610, 614, 617, 619, + 622, 628, 626, 637, 644, 647, 642, 650, 652, 655, + + 661, 659, 670, 664, 666, 675, 680, 683, 677, 686, + 689, 691, 3333, 3333, 1102, 698, 727, 736, 741, 744, + 500, 769, 801, 741, 748, 3333, 759, 776, 769, 1143, + 368, 0, 370, 1136, 3333, 1059, 0, 3333, 0, 3333, + 3333, 805, 809, 861, 1046, 765, 3333, 794, 846, 888, + 956, 1043, 1023, 3333, 3333, 3333, 1015, 1023, 985, 942, + 932, 880, 723, 769, 831, 784, 833, 739, 817, 991, + 988, 993, 829, 995, 997, 824, 1000, 979, 1003, 981, + 1007, 1014, 1017, 1020, 1026, 1022, 1030, 1032, 1040, 1038, + 1043, 1051, 1047, 1036, 1053, 1060, 1056, 1064, 1070, 1066, + + 1074, 1079, 1072, 1076, 1081, 1083, 1093, 3333, 1091, 1120, + 3333, 1128, 1131, 904, 3333, 0, 1153, 1162, 1182, 862, + 1187, 0, 1203, 1138, 1153, 1263, 1331, 862, 858, 805, + 0, 567, 1208, 1399, 808, 1404, 3333, 0, 3333, 0, + 768, 789, 3333, 0, 764, 756, 753, 1145, 1160, 1125, + 1172, 1139, 1150, 1174, 1356, 1185, 1362, 1165, 1367, 1372, + 1375, 1379, 1381, 1388, 1384, 1386, 1390, 1392, 1394, 1396, + 1399, 1416, 1418, 1413, 1411, 1405, 1422, 1407, 1433, 1424, + 1409, 1430, 1436, 1438, 1443, 1440, 1445, 3333, 1482, 1485, + 1527, 1595, 0, 1661, 1695, 1666, 1671, 768, 1755, 1789, + + 0, 3333, 0, 3333, 0, 768, 757, 725, 1507, 3333, + 3333, 675, 3333, 0, 639, 644, 1624, 1459, 1461, 1463, + 1465, 1629, 1639, 1649, 1655, 1653, 1467, 1663, 1666, 1635, + 1660, 1678, 1718, 1710, 1676, 1723, 1729, 1712, 1818, 1820, + 1725, 1822, 1727, 1814, 1731, 1826, 1824, 1733, 1840, 3333, + 0, 3333, 0, 1881, 1886, 0, 1906, 0, 0, 661, + 520, 641, 724, 629, 600, 3333, 540, 533, 1811, 1850, + 1844, 1838, 1873, 1858, 1863, 1877, 1880, 1865, 1884, 1891, + 1894, 1897, 1888, 1902, 1904, 1907, 1899, 1909, 1911, 1913, + 1915, 1917, 1922, 1931, 539, 1150, 1198, 473, 476, 455, + + 0, 1924, 1938, 1984, 1928, 1940, 1942, 1947, 1949, 1956, + 1964, 1958, 1967, 1971, 1961, 1969, 1974, 1977, 2030, 424, + 3333, 3333, 414, 394, 0, 3333, 1986, 1988, 2041, 1994, + 1997, 2002, 2012, 2004, 2017, 2007, 2021, 2026, 2084, 387, + 378, 3333, 2015, 324, 2019, 2039, 2023, 2044, 2048, 2050, + 2106, 482, 2111, 2115, 324, 319, 314, 272, 2068, 2071, + 2124, 2128, 2132, 2136, 519, 2148, 315, 449, 2158, 2182, + 2202, 2162, 2207, 2215, 2227, 2235, 2239, 2246, 2250, 2257, + 259, 249, 1378, 3333, 2261, 2314, 205, 2325, 2329, 2333, + 2337, 2402, 2371, 2383, 2428, 1860, 3333, 1948, 2357, 2378, + + 2437, 2442, 2507, 2473, 2479, 3333, 2055, 167, 2059, 2483, + 2487, 2492, 2496, 2501, 2551, 160, 2120, 2532, 2616, 2684, + 2578, 2582, 2596, 2600, 2604, 2608, 2651, 2709, 3333, 2774, + 2789, 2796, 2809, 2824, 2838, 2853, 2868, 2883, 2898, 2908, + 2918, 2931, 2946, 2961, 2972, 2985, 3000, 3015, 3026, 3034, + 3049, 3064, 3075, 3080, 3093, 3108, 3123, 3138, 3153, 3168, + 3183, 3198, 3213, 3228, 3243, 3257, 3272, 3287, 3302, 3317 } ; -static yyconst flex_int16_t yy_def[495] = +static yyconst flex_int16_t yy_def[671] = { 0, - 467, 1, 1, 1, 1, 1, 467, 467, 467, 467, - 467, 468, 467, 467, 467, 469, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 470, - 467, 470, 470, 470, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 39, 34, 34, 467, 467, - 39, 467, 467, 467, 471, 467, 467, 467, 467, 468, - 467, 468, 467, 467, 469, 469, 467, 467, 467, 467, - 467, 467, 467, 472, 473, 467, 467, 467, 474, 467, - 467, 467, 467, 467, 467, 467, 467, 34, 467, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 467, 467, 467, 34, 467, 467, 467, 467, 471, 475, - 473, 471, 471, 467, 467, 476, 467, 467, 472, 472, - 477, 467, 473, 467, 467, 478, 474, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 467, 34, 467, 467, 479, 480, 475, 475, 481, 480, - 475, 141, 471, 467, 482, 476, 483, 472, 477, 467, - 472, 478, 467, 467, 484, 467, 467, 467, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 467, 485, 479, - 480, 486, 467, 475, 481, 480, 475, 467, 223, 482, - 472, 467, 467, 467, 487, 467, 467, 34, 34, 34, - - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 39, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 485, - 475, 475, 480, 475, 283, 288, 467, 467, 467, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 223, 467, 488, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 470, 283, 489, 467, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 490, 467, 34, - - 34, 34, 34, 34, 34, 491, 492, 493, 491, 34, - 34, 467, 467, 491, 491, 492, 467, 492, 494, 494, - 493, 493, 491, 493, 467, 467, 491, 491, 491, 491, - 491, 467, 467, 494, 467, 467, 491, 494, 491, 491, - 491, 491, 467, 467, 491, 491, 491, 491, 491, 467, - 467, 491, 491, 491, 491, 491, 491, 491, 467, 467, - 491, 491, 467, 467, 491, 491, 0, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467 - + 629, 1, 629, 3, 3, 3, 3, 3, 630, 630, + 629, 11, 629, 629, 629, 629, 631, 632, 629, 629, + 633, 629, 629, 629, 629, 629, 629, 629, 634, 634, + 634, 629, 629, 629, 629, 635, 635, 629, 629, 635, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 629, 629, 629, 629, + 40, 629, 629, 629, 631, 632, 629, 629, 633, 629, + 629, 629, 629, 629, 629, 636, 637, 637, 637, 629, + 629, 629, 629, 40, 40, 629, 629, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + + 40, 40, 40, 40, 629, 629, 629, 629, 40, 629, + 629, 629, 629, 629, 634, 634, 634, 638, 638, 629, + 629, 629, 629, 629, 639, 629, 640, 629, 629, 629, + 629, 640, 629, 631, 629, 631, 641, 629, 629, 629, + 633, 633, 629, 629, 629, 629, 629, 629, 642, 643, + 644, 629, 629, 642, 634, 629, 645, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 40, 629, 40, 629, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 629, 629, 629, 40, 629, 646, 646, 647, + 636, 648, 644, 636, 636, 629, 647, 637, 629, 649, + 629, 638, 629, 639, 629, 640, 650, 629, 641, 629, + 629, 643, 643, 651, 629, 644, 629, 642, 642, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + + 40, 40, 40, 40, 40, 40, 40, 629, 40, 652, + 629, 652, 629, 653, 629, 654, 648, 648, 655, 654, + 648, 223, 636, 647, 647, 629, 629, 629, 629, 629, + 650, 656, 643, 651, 629, 643, 629, 250, 629, 250, + 629, 629, 629, 657, 629, 629, 629, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 629, 652, 652, + 629, 629, 654, 658, 643, 648, 655, 654, 648, 629, + + 323, 629, 326, 629, 326, 659, 660, 629, 643, 629, + 629, 629, 629, 661, 629, 629, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 629, + 391, 629, 391, 648, 648, 654, 648, 395, 400, 659, + 659, 660, 660, 629, 629, 629, 629, 629, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 323, 659, 660, 629, 629, 629, + + 662, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 395, + 629, 629, 629, 629, 663, 629, 40, 40, 629, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 664, 629, + 665, 629, 40, 629, 40, 40, 40, 40, 40, 40, + 666, 667, 668, 666, 669, 665, 665, 629, 40, 40, + 629, 629, 666, 666, 667, 629, 667, 670, 670, 668, + 668, 666, 668, 629, 629, 666, 666, 666, 666, 666, + 669, 669, 665, 629, 629, 629, 670, 629, 629, 666, + 670, 666, 666, 666, 666, 669, 629, 665, 629, 629, + + 666, 666, 666, 666, 666, 629, 669, 665, 665, 629, + 629, 666, 666, 666, 666, 669, 669, 666, 666, 666, + 629, 629, 666, 666, 629, 629, 666, 666, 0, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629 } ; -static yyconst flex_int16_t yy_nxt[2240] = +static yyconst flex_int16_t yy_nxt[3402] = { 0, - 8, 9, 10, 9, 11, 12, 8, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 8, 31, 30, 32, 33, - 34, 35, 36, 37, 38, 30, 39, 30, 30, 30, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 30, - 30, 49, 8, 8, 50, 52, 53, 54, 55, 56, - 57, 58, 52, 53, 54, 55, 56, 57, 58, 52, - 53, 54, 55, 56, 57, 58, 52, 53, 54, 55, - 56, 57, 58, 61, 68, 51, 61, 70, 72, 281, - 73, 73, 73, 69, 74, 71, 82, 83, 75, 51, - - 419, 66, 131, 62, 76, 77, 416, 78, 78, 78, - 77, 152, 78, 78, 78, 77, 386, 78, 78, 78, - 85, 86, 87, 87, 87, 87, 87, 87, 87, 87, - 87, 132, 87, 87, 87, 98, 88, 161, 162, 79, - 95, 89, 101, 80, 89, 99, 88, 89, 88, 96, - 102, 89, 88, 88, 88, 103, 100, 105, 97, 92, - 104, 385, 367, 88, 88, 61, 88, 88, 90, 93, - 91, 88, 94, 113, 291, 110, 106, 61, 292, 111, - 66, 88, 107, 108, 88, 88, 114, 109, 88, 417, - 88, 417, 417, 112, 117, 366, 88, 62, 88, 88, - - 88, 115, 118, 88, 116, 339, 434, 88, 88, 418, - 338, 88, 418, 231, 122, 119, 120, 88, 121, 88, - 88, 127, 123, 216, 216, 88, 125, 279, 88, 124, - 126, 88, 143, 143, 128, 129, 130, 297, 88, 296, - 68, 88, 135, 295, 136, 137, 137, 70, 135, 69, - 136, 137, 137, 293, 72, 71, 138, 138, 138, 140, - 231, 223, 144, 141, 145, 145, 145, 225, 231, 142, - 143, 144, 143, 145, 145, 145, 144, 279, 145, 145, - 145, 73, 73, 73, 238, 149, 149, 149, 155, 155, - 155, 77, 88, 78, 78, 78, 146, 151, 87, 87, - - 87, 152, 88, 88, 80, 88, 163, 163, 163, 88, - 88, 171, 237, 88, 168, 236, 88, 89, 88, 88, - 88, 88, 88, 88, 88, 169, 170, 88, 88, 88, - 172, 88, 173, 88, 88, 235, 164, 174, 165, 88, - 88, 88, 88, 88, 179, 175, 88, 88, 88, 166, - 176, 88, 88, 167, 88, 234, 233, 177, 88, 156, - 88, 88, 88, 154, 88, 88, 231, 225, 88, 178, - 88, 211, 180, 88, 88, 88, 88, 88, 88, 181, - 182, 88, 160, 88, 159, 88, 88, 158, 88, 88, - 88, 88, 183, 88, 156, 154, 88, 184, 88, 148, - - 88, 88, 65, 88, 88, 60, 185, 186, 88, 187, - 88, 88, 88, 147, 88, 188, 134, 133, 191, 88, - 88, 192, 190, 88, 88, 88, 88, 88, 84, 88, - 189, 88, 88, 198, 193, 81, 88, 88, 195, 194, - 67, 88, 88, 88, 88, 64, 88, 88, 196, 63, - 88, 88, 88, 59, 467, 88, 51, 88, 88, 197, - 467, 88, 467, 88, 88, 199, 200, 88, 88, 88, - 88, 88, 201, 88, 88, 467, 88, 205, 88, 88, - 467, 202, 88, 204, 88, 203, 88, 88, 88, 467, - 206, 88, 88, 207, 467, 467, 88, 88, 88, 88, - - 208, 467, 88, 467, 467, 88, 209, 88, 88, 467, - 88, 88, 239, 88, 210, 212, 213, 213, 213, 138, - 138, 138, 88, 88, 467, 88, 88, 467, 467, 185, - 186, 214, 467, 137, 137, 137, 214, 467, 137, 137, - 137, 217, 217, 149, 224, 224, 224, 144, 467, 145, - 145, 145, 467, 219, 155, 155, 155, 220, 149, 149, - 149, 149, 149, 149, 467, 215, 221, 154, 88, 88, - 227, 241, 240, 227, 228, 228, 228, 467, 88, 88, - 467, 88, 88, 213, 213, 213, 229, 467, 467, 222, - 230, 467, 467, 222, 222, 222, 222, 222, 222, 222, - - 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, - 222, 222, 222, 222, 222, 222, 163, 163, 163, 88, - 88, 245, 278, 278, 278, 224, 224, 224, 247, 88, - 88, 88, 88, 88, 88, 242, 243, 244, 88, 88, - 88, 88, 467, 246, 467, 467, 164, 248, 165, 88, - 88, 88, 88, 88, 467, 249, 88, 88, 252, 166, - 250, 88, 88, 167, 88, 467, 88, 88, 88, 88, - 88, 88, 88, 251, 88, 88, 253, 467, 88, 88, - 88, 278, 278, 278, 88, 467, 467, 88, 88, 254, - 88, 88, 255, 88, 88, 88, 467, 256, 257, 258, - - 88, 88, 88, 467, 88, 88, 88, 88, 88, 259, - 88, 88, 260, 88, 88, 88, 88, 88, 88, 88, - 467, 261, 88, 88, 467, 467, 262, 88, 88, 467, - 88, 88, 88, 265, 88, 88, 88, 263, 88, 264, - 88, 412, 413, 414, 88, 88, 88, 88, 88, 268, - 88, 88, 266, 88, 88, 88, 88, 267, 88, 88, - 88, 88, 88, 269, 88, 271, 272, 270, 88, 88, - 88, 88, 88, 88, 88, 88, 88, 467, 88, 88, - 273, 88, 88, 88, 88, 88, 88, 274, 467, 88, - 88, 467, 276, 275, 88, 88, 88, 88, 88, 467, - - 277, 467, 467, 88, 217, 217, 149, 217, 217, 149, - 284, 284, 228, 149, 149, 149, 282, 467, 88, 282, - 283, 467, 285, 283, 467, 227, 286, 298, 88, 221, - 467, 88, 221, 467, 467, 287, 217, 217, 149, 228, - 228, 228, 149, 149, 149, 467, 88, 467, 282, 467, - 88, 229, 288, 467, 227, 230, 88, 299, 152, 88, - 88, 221, 216, 88, 412, 413, 412, 412, 413, 412, - 289, 143, 467, 467, 289, 289, 289, 289, 289, 289, - 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, - 289, 289, 289, 289, 289, 289, 289, 88, 88, 467, - - 467, 398, 398, 398, 88, 467, 88, 88, 88, 467, - 88, 88, 302, 300, 88, 301, 88, 88, 88, 88, - 89, 467, 467, 88, 303, 467, 467, 88, 88, 88, - 467, 88, 467, 88, 305, 304, 88, 88, 88, 88, - 88, 467, 88, 88, 88, 88, 467, 307, 88, 467, - 306, 88, 467, 88, 308, 88, 88, 88, 88, 88, - 88, 312, 309, 310, 467, 467, 88, 88, 467, 88, - 88, 88, 88, 88, 88, 311, 88, 88, 88, 88, - 88, 313, 88, 314, 467, 467, 88, 467, 88, 467, - 317, 88, 88, 467, 318, 88, 88, 315, 88, 88, - - 88, 316, 319, 88, 88, 88, 88, 88, 88, 467, - 467, 88, 88, 320, 88, 88, 88, 467, 88, 88, - 322, 321, 88, 467, 88, 88, 88, 88, 324, 323, - 88, 88, 88, 412, 413, 414, 88, 467, 467, 88, - 88, 88, 88, 88, 88, 326, 88, 88, 88, 467, - 325, 327, 328, 88, 88, 231, 88, 88, 88, 88, - 88, 88, 467, 88, 88, 332, 88, 88, 467, 333, - 467, 467, 329, 412, 413, 414, 467, 467, 334, 149, - 149, 149, 150, 150, 150, 150, 150, 150, 150, 150, - 150, 227, 150, 150, 150, 150, 150, 150, 150, 150, - - 150, 150, 150, 335, 150, 150, 150, 335, 335, 335, - 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, - 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, - 150, 150, 150, 150, 217, 217, 149, 284, 284, 228, - 217, 217, 149, 467, 88, 88, 282, 467, 467, 285, - 283, 88, 282, 286, 88, 88, 288, 88, 88, 221, - 467, 88, 287, 467, 88, 221, 217, 217, 149, 218, - 218, 218, 218, 218, 218, 218, 218, 218, 282, 218, - 218, 218, 283, 218, 218, 218, 218, 218, 218, 218, - 336, 221, 218, 218, 336, 336, 336, 336, 336, 336, - + 14, 15, 15, 15, 15, 16, 17, 14, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 36, 36, 36, + 37, 36, 22, 14, 38, 39, 36, 40, 41, 42, + 43, 44, 45, 46, 36, 47, 36, 36, 36, 48, + 49, 50, 51, 52, 53, 54, 55, 56, 36, 36, + 57, 58, 59, 14, 15, 14, 14, 60, 62, 63, + 15, 63, 63, 64, 65, 62, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 84, 84, 84, 85, 84, + + 70, 62, 86, 87, 84, 88, 89, 90, 91, 92, + 93, 94, 84, 95, 84, 84, 84, 96, 97, 98, + 99, 100, 101, 102, 103, 104, 84, 84, 105, 106, + 107, 62, 63, 62, 62, 108, 109, 111, 112, 113, + 114, 115, 116, 117, 111, 112, 113, 114, 115, 116, + 117, 110, 119, 135, 139, 119, 144, 135, 146, 148, + 150, 149, 149, 149, 151, 145, 147, 160, 140, 135, + 152, 164, 165, 120, 109, 121, 120, 174, 121, 142, + 136, 139, 110, 173, 167, 161, 162, 175, 177, 110, + 176, 187, 167, 167, 582, 140, 136, 178, 188, 167, + + 167, 557, 167, 167, 189, 190, 179, 568, 167, 191, + 122, 164, 165, 122, 62, 123, 124, 123, 123, 62, + 125, 62, 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 126, 127, 127, 127, 62, 128, 129, 130, + 127, 127, 127, 127, 127, 127, 62, 62, 62, 62, + 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, + 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, + 127, 127, 127, 127, 131, 62, 62, 127, 132, 127, + 127, 127, 154, 596, 155, 155, 155, 154, 213, 155, + 155, 155, 154, 582, 155, 155, 155, 166, 166, 166, + + 166, 166, 166, 166, 166, 180, 156, 135, 167, 167, + 207, 156, 195, 167, 208, 181, 156, 565, 168, 584, + 167, 167, 168, 157, 196, 214, 182, 158, 629, 166, + 166, 166, 166, 629, 136, 199, 183, 169, 213, 197, + 167, 192, 198, 135, 184, 193, 167, 167, 583, 185, + 168, 167, 167, 557, 186, 200, 167, 167, 582, 194, + 166, 209, 167, 167, 166, 142, 167, 167, 201, 202, + 204, 203, 558, 169, 210, 214, 167, 167, 205, 167, + 171, 172, 211, 212, 328, 206, 329, 188, 167, 167, + 167, 167, 166, 189, 216, 173, 167, 167, 191, 144, + + 253, 217, 330, 218, 219, 219, 146, 217, 145, 218, + 219, 219, 557, 148, 147, 220, 220, 220, 222, 555, + 231, 227, 223, 228, 228, 228, 541, 227, 224, 228, + 228, 228, 227, 174, 228, 228, 228, 225, 161, 162, + 540, 177, 245, 175, 135, 229, 176, 146, 167, 167, + 178, 229, 167, 167, 180, 147, 229, 167, 167, 179, + 566, 195, 230, 183, 181, 144, 142, 158, 629, 167, + 167, 184, 187, 629, 145, 182, 185, 196, 167, 167, + 188, 186, 587, 167, 167, 192, 189, 190, 566, 193, + 167, 191, 197, 167, 199, 198, 200, 247, 247, 525, + + 167, 167, 524, 194, 523, 167, 167, 167, 167, 201, + 202, 204, 203, 207, 209, 567, 167, 208, 316, 205, + 167, 256, 257, 211, 212, 566, 206, 210, 188, 167, + 167, 167, 167, 225, 189, 216, 496, 150, 167, 191, + 148, 151, 149, 149, 149, 629, 154, 152, 155, 155, + 155, 154, 567, 155, 155, 155, 154, 520, 155, 155, + 155, 149, 149, 149, 242, 242, 242, 242, 167, 167, + 156, 248, 248, 248, 501, 156, 167, 167, 244, 500, + 156, 409, 245, 156, 263, 410, 154, 157, 155, 155, + 155, 158, 629, 156, 249, 249, 249, 629, 166, 166, + + 166, 166, 258, 258, 258, 258, 167, 167, 264, 265, + 156, 167, 266, 267, 268, 167, 167, 167, 167, 168, + 167, 167, 269, 270, 273, 167, 167, 629, 271, 167, + 167, 499, 272, 167, 167, 167, 167, 167, 167, 167, + 274, 259, 276, 260, 167, 167, 275, 167, 167, 277, + 278, 167, 167, 167, 261, 498, 279, 463, 262, 167, + 167, 166, 167, 167, 280, 258, 167, 167, 281, 167, + 167, 167, 282, 283, 167, 167, 284, 461, 167, 167, + 167, 167, 285, 286, 287, 288, 289, 290, 292, 167, + 167, 468, 291, 467, 167, 167, 167, 167, 295, 167, + + 167, 465, 167, 167, 167, 167, 293, 167, 167, 294, + 296, 167, 167, 167, 167, 297, 298, 167, 167, 167, + 302, 299, 167, 167, 303, 300, 301, 167, 167, 304, + 167, 305, 167, 167, 306, 167, 167, 309, 167, 167, + 497, 167, 167, 167, 167, 307, 310, 310, 310, 629, + 167, 282, 283, 312, 464, 219, 219, 219, 312, 316, + 219, 219, 219, 220, 220, 220, 323, 247, 247, 317, + 317, 242, 317, 463, 225, 167, 167, 313, 324, 324, + 324, 225, 313, 319, 461, 229, 336, 320, 325, 325, + 325, 167, 352, 227, 314, 228, 228, 228, 416, 629, + + 229, 415, 321, 247, 247, 242, 242, 242, 242, 242, + 242, 242, 242, 248, 248, 248, 414, 229, 412, 332, + 411, 167, 167, 332, 348, 350, 336, 322, 322, 322, + 322, 322, 322, 408, 629, 156, 167, 167, 322, 322, + 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, + 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, + 322, 333, 333, 333, 333, 249, 249, 249, 349, 167, + 353, 354, 351, 358, 407, 334, 167, 361, 406, 335, + 336, 167, 167, 167, 167, 167, 167, 629, 337, 337, + 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, + + 337, 337, 337, 337, 337, 337, 337, 338, 338, 338, + 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, + 337, 391, 337, 337, 347, 338, 338, 338, 338, 338, + 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, + 338, 338, 338, 338, 338, 338, 338, 338, 337, 337, + 337, 337, 337, 337, 337, 337, 339, 339, 339, 339, + 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + 339, 339, 339, 340, 339, 251, 251, 251, 339, 339, + 339, 339, 251, 251, 251, 251, 251, 251, 339, 346, + 339, 339, 345, 251, 251, 251, 251, 251, 251, 251, + + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 339, 339, 339, 339, + 339, 339, 339, 339, 258, 258, 258, 258, 355, 356, + 357, 167, 167, 167, 167, 344, 359, 362, 360, 343, + 167, 167, 363, 167, 167, 167, 167, 167, 167, 167, + 167, 342, 167, 167, 364, 167, 167, 365, 367, 167, + 167, 368, 341, 259, 336, 260, 167, 167, 366, 167, + 167, 369, 167, 167, 167, 167, 261, 370, 167, 167, + 262, 237, 167, 167, 371, 167, 372, 258, 167, 167, + 167, 167, 167, 167, 373, 167, 167, 374, 375, 167, + + 167, 378, 376, 167, 167, 167, 167, 377, 167, 167, + 379, 381, 167, 167, 380, 382, 167, 167, 167, 167, + 383, 384, 167, 167, 167, 167, 167, 167, 167, 167, + 385, 167, 167, 167, 167, 167, 167, 386, 387, 310, + 310, 310, 235, 167, 167, 167, 167, 389, 389, 389, + 390, 390, 390, 317, 317, 242, 317, 324, 324, 324, + 326, 313, 317, 317, 242, 317, 496, 394, 308, 313, + 255, 395, 325, 325, 325, 521, 394, 167, 167, 229, + 395, 254, 396, 396, 333, 396, 321, 317, 317, 242, + 317, 167, 420, 417, 629, 321, 397, 167, 167, 253, + + 398, 394, 167, 167, 421, 400, 418, 252, 242, 242, + 242, 242, 167, 167, 497, 399, 419, 167, 167, 422, + 321, 316, 332, 522, 167, 167, 167, 167, 250, 401, + 401, 401, 401, 401, 401, 240, 225, 167, 167, 424, + 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, + 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, + 401, 401, 401, 402, 402, 402, 402, 402, 402, 402, + 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, + 402, 402, 403, 403, 403, 402, 402, 402, 402, 403, + 403, 403, 403, 403, 403, 402, 141, 402, 402, 134, + + 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, + 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, + 403, 403, 403, 402, 402, 402, 402, 402, 402, 402, + 402, 404, 404, 404, 404, 404, 404, 404, 404, 404, + 404, 404, 404, 404, 404, 404, 404, 404, 405, 404, + 327, 327, 327, 404, 404, 404, 404, 327, 327, 327, + 327, 327, 327, 404, 238, 404, 404, 237, 327, 327, + 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 404, 404, 404, 404, 404, 404, 404, 404, 333, + + 333, 333, 333, 597, 242, 242, 242, 242, 167, 167, + 425, 423, 598, 334, 167, 167, 427, 335, 332, 167, + 167, 426, 245, 432, 167, 167, 428, 167, 167, 430, + 237, 167, 167, 167, 167, 429, 431, 167, 167, 167, + 167, 167, 433, 167, 167, 434, 167, 167, 167, 167, + 435, 436, 167, 437, 439, 438, 440, 441, 167, 443, + 167, 167, 167, 167, 167, 167, 167, 442, 167, 167, + 167, 167, 444, 235, 167, 167, 167, 167, 447, 233, + 446, 445, 167, 167, 448, 167, 167, 215, 167, 167, + 167, 167, 167, 167, 170, 167, 167, 167, 167, 163, + + 449, 389, 389, 389, 390, 390, 390, 242, 242, 242, + 242, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 332, 159, 313, 143, 335, 629, 450, 450, 450, + 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, + 450, 450, 450, 450, 450, 450, 451, 451, 451, 450, + 450, 450, 450, 451, 451, 451, 451, 451, 451, 450, + 138, 450, 450, 133, 451, 451, 451, 451, 451, 451, + 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, + 451, 451, 451, 451, 451, 451, 451, 450, 450, 450, + 450, 450, 450, 450, 450, 452, 452, 452, 452, 452, + + 452, 452, 452, 452, 452, 452, 452, 452, 452, 452, + 452, 452, 453, 452, 392, 392, 392, 452, 452, 452, + 452, 392, 392, 392, 392, 392, 392, 452, 215, 452, + 452, 170, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 452, 452, 452, 452, 452, + 452, 452, 452, 336, 163, 469, 317, 317, 242, 317, + 159, 396, 396, 333, 396, 455, 167, 167, 470, 456, + 394, 167, 167, 477, 395, 397, 471, 167, 167, 398, + 472, 167, 167, 474, 457, 242, 242, 242, 242, 321, + + 473, 167, 167, 143, 399, 167, 167, 167, 167, 332, + 475, 476, 167, 167, 478, 167, 167, 483, 167, 167, + 138, 458, 458, 458, 458, 458, 458, 479, 167, 167, + 167, 167, 458, 458, 458, 458, 458, 458, 458, 458, + 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, + 458, 458, 458, 458, 458, 317, 317, 242, 317, 133, + 480, 482, 167, 167, 167, 167, 486, 481, 484, 394, + 167, 167, 485, 400, 489, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 629, 321, 317, + 317, 242, 317, 318, 318, 318, 318, 318, 318, 318, + + 318, 318, 318, 394, 318, 318, 318, 395, 318, 318, + 318, 318, 318, 318, 318, 459, 459, 459, 459, 459, + 459, 318, 321, 318, 318, 318, 459, 459, 459, 459, + 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, + 459, 459, 459, 459, 459, 459, 459, 459, 459, 318, + 318, 318, 318, 318, 318, 318, 318, 487, 491, 488, + 502, 490, 110, 167, 167, 109, 167, 167, 492, 493, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 494, 317, 317, 242, 317, 606, 317, 317, 242, 317, + 167, 167, 167, 167, 607, 394, 167, 167, 504, 320, + + 394, 61, 167, 167, 398, 503, 317, 317, 242, 317, + 167, 506, 505, 629, 321, 167, 167, 167, 167, 321, + 394, 509, 507, 510, 495, 167, 167, 508, 511, 167, + 167, 512, 167, 167, 513, 629, 167, 167, 629, 321, + 167, 167, 514, 167, 167, 515, 167, 167, 516, 167, + 167, 167, 167, 517, 167, 167, 167, 167, 629, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 518, 519, 608, 167, 167, 167, 167, 527, 528, + 167, 167, 609, 167, 167, 529, 529, 529, 529, 629, + 167, 167, 167, 167, 167, 167, 530, 532, 531, 167, + + 167, 167, 167, 533, 629, 534, 535, 629, 167, 167, + 167, 167, 536, 167, 167, 537, 167, 167, 538, 167, + 167, 167, 167, 167, 167, 629, 167, 167, 629, 167, + 167, 539, 539, 539, 539, 629, 167, 167, 167, 543, + 167, 167, 166, 166, 166, 166, 167, 167, 529, 167, + 167, 545, 546, 547, 167, 167, 167, 167, 548, 167, + 167, 549, 629, 168, 167, 167, 550, 167, 167, 167, + 167, 167, 559, 167, 167, 167, 167, 629, 167, 167, + 616, 560, 167, 167, 608, 539, 539, 539, 539, 617, + 552, 167, 167, 583, 539, 553, 167, 167, 629, 544, + + 167, 167, 167, 167, 629, 166, 554, 561, 562, 561, + 563, 568, 569, 562, 569, 570, 574, 575, 574, 576, + 167, 167, 572, 167, 167, 561, 562, 561, 561, 561, + 562, 561, 561, 561, 562, 561, 563, 561, 562, 561, + 563, 629, 629, 629, 573, 616, 629, 629, 539, 585, + 586, 585, 585, 629, 596, 577, 629, 578, 629, 569, + 562, 569, 569, 588, 589, 588, 590, 629, 579, 566, + 563, 629, 580, 629, 629, 570, 629, 629, 629, 576, + 629, 629, 568, 569, 562, 569, 570, 629, 561, 629, + 629, 587, 561, 572, 629, 629, 563, 629, 629, 629, + + 563, 629, 568, 569, 562, 569, 570, 568, 569, 591, + 569, 570, 585, 572, 629, 573, 574, 575, 574, 574, + 629, 629, 569, 629, 629, 629, 590, 629, 574, 575, + 574, 574, 629, 629, 629, 573, 574, 575, 574, 576, + 561, 562, 561, 563, 629, 629, 570, 561, 562, 561, + 563, 561, 562, 561, 563, 259, 629, 260, 561, 562, + 561, 563, 585, 586, 585, 585, 570, 259, 261, 260, + 629, 570, 262, 629, 629, 577, 629, 578, 629, 574, + 261, 629, 629, 629, 262, 629, 629, 629, 579, 592, + 629, 574, 580, 629, 629, 629, 593, 629, 629, 576, + + 629, 595, 629, 563, 629, 629, 629, 594, 629, 629, + 563, 629, 629, 629, 563, 585, 586, 585, 585, 629, + 629, 563, 629, 629, 629, 585, 588, 589, 588, 588, + 588, 589, 588, 588, 588, 589, 588, 590, 569, 562, + 569, 569, 629, 629, 629, 629, 629, 629, 566, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 561, 562, + 561, 561, 629, 629, 629, 629, 629, 629, 629, 629, + 587, 629, 561, 562, 561, 563, 629, 629, 585, 561, + 562, 561, 561, 629, 561, 562, 561, 563, 629, 588, + 629, 629, 629, 588, 629, 629, 629, 590, 629, 629, + + 629, 569, 413, 599, 600, 599, 601, 602, 602, 602, + 602, 602, 602, 602, 602, 602, 602, 602, 602, 602, + 602, 561, 629, 603, 602, 602, 602, 602, 604, 561, + 562, 561, 563, 629, 602, 563, 602, 602, 561, 562, + 561, 563, 561, 561, 562, 561, 563, 563, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 602, 602, 602, 602, 601, 602, 602, 602, + 629, 629, 629, 605, 561, 562, 561, 563, 629, 629, + 561, 562, 561, 563, 561, 562, 561, 561, 561, 562, + 561, 561, 563, 561, 562, 561, 563, 561, 562, 561, + + 563, 563, 561, 562, 561, 563, 563, 466, 610, 611, + 610, 612, 613, 613, 613, 613, 613, 613, 613, 613, + 613, 613, 613, 613, 613, 613, 615, 614, 629, 613, + 613, 613, 613, 561, 562, 561, 563, 563, 629, 613, + 618, 613, 613, 563, 629, 629, 629, 561, 629, 629, + 629, 561, 561, 562, 561, 563, 563, 629, 629, 629, + 563, 629, 629, 629, 629, 563, 629, 613, 613, 613, + 613, 612, 613, 613, 613, 629, 620, 629, 629, 561, + 562, 561, 561, 561, 562, 561, 561, 629, 629, 629, + 629, 629, 619, 629, 629, 629, 563, 561, 562, 561, + + 563, 561, 562, 561, 563, 561, 562, 561, 561, 561, + 562, 561, 561, 629, 629, 563, 526, 621, 622, 621, + 623, 624, 624, 624, 624, 624, 624, 624, 624, 624, + 624, 624, 624, 624, 624, 629, 629, 629, 624, 624, + 624, 624, 561, 629, 629, 629, 561, 629, 624, 629, + 624, 624, 561, 562, 561, 563, 629, 629, 629, 629, + 563, 629, 629, 629, 563, 629, 629, 629, 561, 629, + 629, 629, 561, 629, 629, 629, 624, 624, 624, 624, + 623, 624, 624, 624, 542, 625, 626, 625, 627, 628, + 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, + + 628, 628, 628, 629, 629, 629, 628, 628, 628, 628, + 561, 562, 561, 563, 629, 563, 628, 629, 628, 628, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 628, 628, 628, 628, 627, 628, + 628, 628, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 563, 118, 118, 118, 118, 118, 118, + 118, 118, 118, 118, 118, 118, 118, 118, 118, 134, + 134, 629, 134, 134, 134, 134, 134, 134, 134, 134, + + 134, 134, 134, 134, 137, 629, 137, 137, 137, 141, + 141, 629, 141, 141, 141, 141, 141, 141, 141, 141, + 141, 141, 141, 141, 153, 153, 153, 153, 153, 153, + 153, 153, 629, 629, 629, 153, 153, 153, 153, 167, + 167, 629, 629, 167, 167, 629, 167, 167, 167, 167, + 167, 629, 167, 221, 221, 629, 221, 221, 221, 221, + 221, 221, 221, 221, 221, 221, 221, 221, 226, 226, + 226, 226, 226, 226, 226, 226, 629, 629, 629, 226, + 226, 226, 226, 232, 232, 232, 232, 232, 232, 232, + 629, 232, 232, 232, 232, 232, 232, 232, 234, 234, + + 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, + 234, 234, 234, 236, 236, 629, 236, 629, 236, 236, + 236, 236, 236, 239, 629, 629, 239, 239, 239, 239, + 239, 241, 241, 241, 241, 241, 241, 241, 241, 629, + 629, 629, 241, 629, 241, 241, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 246, 246, 246, 246, 246, 246, 246, 246, 246, + 246, 246, 246, 246, 246, 246, 251, 251, 629, 629, + 251, 629, 629, 251, 251, 311, 311, 311, 311, 311, + 311, 311, 311, 629, 629, 629, 311, 311, 311, 311, + + 315, 315, 315, 315, 315, 315, 315, 315, 629, 629, + 629, 315, 629, 315, 315, 318, 318, 318, 318, 318, + 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, + 327, 327, 629, 629, 327, 629, 629, 327, 327, 331, + 629, 629, 331, 629, 331, 331, 331, 331, 331, 242, + 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, + 242, 242, 242, 242, 388, 388, 388, 388, 388, 388, + 388, 388, 629, 629, 629, 388, 629, 388, 388, 392, + 392, 629, 629, 392, 629, 629, 392, 392, 393, 629, + 629, 393, 393, 317, 317, 317, 317, 317, 317, 317, + + 317, 317, 317, 317, 317, 317, 317, 317, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, - 336, 336, 336, 336, 336, 336, 336, 218, 218, 218, - 218, 149, 149, 149, 467, 88, 432, 433, 432, 88, - 88, 467, 467, 227, 467, 88, 467, 230, 88, 88, - 341, 340, 88, 88, 88, 88, 88, 467, 342, 344, - 88, 88, 467, 343, 88, 88, 88, 88, 88, 88, - 88, 345, 88, 88, 88, 467, 88, 467, 88, 467, - 346, 467, 88, 467, 88, 88, 88, 347, 88, 88, - 467, 88, 350, 467, 88, 348, 349, 88, 88, 351, - 88, 467, 88, 88, 467, 467, 353, 467, 88, 88, - - 88, 467, 88, 88, 352, 88, 354, 88, 88, 88, - 467, 88, 88, 355, 88, 467, 356, 88, 467, 88, - 88, 357, 467, 88, 88, 358, 359, 88, 88, 88, - 360, 467, 88, 88, 88, 88, 88, 467, 88, 88, - 467, 88, 361, 467, 88, 88, 88, 88, 88, 88, - 88, 362, 88, 467, 88, 467, 88, 467, 363, 88, - 88, 88, 88, 88, 88, 364, 467, 88, 217, 217, - 149, 88, 88, 88, 88, 88, 217, 217, 149, 368, - 282, 467, 467, 88, 220, 467, 88, 88, 282, 88, - 369, 370, 286, 221, 217, 217, 149, 88, 88, 88, - - 88, 221, 88, 88, 467, 88, 282, 467, 88, 467, - 365, 88, 467, 88, 371, 88, 88, 88, 373, 221, - 467, 374, 88, 376, 88, 372, 375, 88, 377, 378, - 88, 467, 88, 88, 88, 88, 88, 88, 88, 88, - 88, 88, 88, 467, 88, 88, 467, 379, 467, 380, - 88, 88, 88, 88, 88, 88, 381, 88, 88, 88, - 88, 88, 88, 467, 88, 88, 88, 88, 382, 88, - 88, 88, 88, 88, 467, 88, 88, 88, 467, 88, - 88, 88, 88, 467, 88, 88, 384, 383, 88, 88, - 88, 88, 88, 388, 467, 88, 88, 88, 467, 88, - - 88, 88, 88, 88, 88, 88, 88, 88, 467, 88, - 88, 88, 88, 467, 467, 88, 391, 389, 88, 88, - 467, 88, 88, 390, 88, 88, 88, 467, 392, 393, - 88, 88, 88, 394, 395, 88, 88, 88, 467, 88, - 88, 88, 88, 88, 88, 88, 396, 88, 88, 88, - 88, 88, 88, 397, 467, 88, 88, 88, 88, 88, - 467, 88, 88, 467, 88, 88, 88, 88, 88, 88, - 88, 401, 88, 88, 400, 88, 402, 403, 88, 88, - 467, 88, 88, 88, 404, 88, 88, 88, 467, 88, - 405, 88, 88, 467, 88, 467, 88, 88, 467, 467, - - 88, 398, 398, 398, 88, 407, 88, 467, 88, 88, - 408, 467, 410, 411, 88, 88, 88, 88, 88, 467, - 409, 88, 88, 467, 467, 88, 88, 467, 88, 88, - 467, 467, 88, 467, 88, 88, 419, 420, 413, 421, - 425, 426, 427, 88, 88, 467, 423, 88, 467, 420, - 413, 420, 467, 88, 467, 467, 88, 467, 417, 467, - 467, 424, 467, 467, 419, 420, 413, 421, 467, 467, - 428, 467, 429, 434, 423, 419, 420, 413, 421, 435, - 436, 437, 467, 430, 467, 423, 467, 431, 467, 424, - 419, 420, 438, 421, 425, 426, 425, 425, 426, 425, - - 424, 467, 425, 426, 427, 467, 412, 413, 414, 467, - 412, 413, 414, 412, 413, 414, 467, 412, 413, 414, - 432, 433, 432, 467, 164, 467, 165, 164, 467, 165, - 467, 467, 428, 467, 429, 467, 467, 166, 467, 467, - 166, 167, 467, 467, 167, 430, 439, 467, 467, 431, - 440, 442, 432, 433, 432, 435, 436, 435, 467, 467, - 441, 435, 436, 435, 435, 436, 437, 420, 413, 420, - 412, 413, 412, 412, 413, 412, 417, 412, 413, 414, - 467, 412, 413, 414, 467, 412, 413, 414, 412, 413, - 414, 434, 294, 443, 444, 445, 446, 446, 446, 446, - - 446, 446, 446, 446, 446, 446, 446, 446, 446, 412, - 413, 414, 446, 446, 446, 446, 448, 467, 446, 447, - 449, 412, 413, 414, 412, 413, 412, 412, 413, 414, - 412, 413, 412, 412, 413, 414, 412, 413, 414, 467, - 412, 413, 414, 446, 446, 446, 446, 337, 450, 451, - 452, 453, 453, 453, 453, 453, 453, 453, 453, 453, - 453, 453, 453, 453, 455, 454, 467, 453, 453, 453, - 453, 457, 467, 453, 412, 413, 414, 412, 413, 414, - 412, 413, 412, 412, 413, 412, 412, 413, 414, 412, - 413, 414, 412, 413, 412, 412, 413, 412, 453, 453, - - 453, 453, 467, 456, 412, 413, 414, 412, 413, 414, - 467, 458, 387, 459, 460, 461, 462, 462, 462, 462, - 462, 462, 462, 462, 462, 462, 462, 462, 462, 467, - 467, 467, 462, 462, 462, 462, 467, 467, 462, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 462, 462, 462, 462, 399, 463, 464, - 465, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 467, 467, 467, 466, 466, 466, - 466, 467, 467, 466, 467, 467, 467, 467, 467, 467, - - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 466, 466, - 466, 466, 60, 60, 467, 60, 60, 60, 60, 60, - 65, 65, 467, 65, 65, 65, 65, 65, 88, 88, - 467, 467, 88, 88, 88, 139, 139, 467, 139, 139, - 139, 139, 139, 150, 150, 150, 150, 150, 150, 150, - 150, 153, 153, 153, 153, 153, 153, 153, 153, 157, - 157, 157, 218, 218, 218, 218, 218, 218, 218, 218, - 226, 226, 226, 149, 149, 149, 149, 149, 149, 149, - 149, 232, 232, 280, 280, 280, 217, 217, 217, 217, - - 217, 217, 217, 217, 290, 290, 231, 231, 231, 231, - 231, 231, 231, 231, 294, 294, 294, 294, 294, 330, - 330, 331, 331, 331, 331, 331, 331, 331, 331, 337, - 337, 337, 337, 337, 387, 387, 387, 387, 387, 399, - 399, 399, 399, 399, 406, 406, 406, 406, 406, 406, - 406, 406, 415, 415, 415, 415, 415, 415, 415, 416, - 416, 467, 416, 416, 416, 416, 416, 422, 422, 422, - 422, 422, 422, 422, 422, 419, 419, 467, 419, 419, - 419, 419, 419, 7, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467 + 336, 336, 336, 413, 413, 413, 413, 413, 629, 413, + 413, 629, 629, 629, 629, 629, 413, 413, 454, 454, + 454, 454, 454, 454, 454, 454, 454, 454, 454, 454, + 454, 454, 454, 460, 460, 460, 460, 460, 460, 460, + 460, 460, 460, 460, 460, 460, 460, 460, 462, 462, + 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, + 462, 462, 462, 466, 466, 466, 466, 466, 629, 466, + 466, 629, 629, 629, 629, 629, 466, 466, 526, 526, + + 526, 526, 526, 629, 526, 526, 629, 629, 629, 629, + 629, 526, 526, 542, 542, 542, 542, 542, 629, 542, + 542, 629, 629, 629, 629, 629, 542, 542, 551, 551, + 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, + 551, 551, 551, 556, 556, 556, 556, 556, 556, 556, + 556, 556, 556, 556, 556, 556, 556, 556, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 565, 565, 629, 565, 565, 565, 565, 565, + 565, 565, 565, 565, 565, 565, 565, 571, 571, 571, + 571, 571, 571, 571, 571, 571, 571, 571, 571, 571, + + 571, 571, 581, 581, 581, 581, 581, 581, 581, 581, + 581, 581, 581, 581, 581, 581, 581, 568, 568, 629, + 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, + 568, 568, 13, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + + 629 } ; -static yyconst flex_int16_t yy_chk[2240] = +static yyconst flex_int16_t yy_chk[3402] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, - 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, - 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, - 6, 6, 6, 12, 19, 4, 16, 20, 21, 480, - 21, 21, 21, 19, 22, 20, 27, 27, 22, 6, - - 434, 16, 49, 12, 22, 23, 418, 23, 23, 23, - 24, 385, 24, 24, 24, 25, 366, 25, 25, 25, - 29, 29, 30, 30, 30, 32, 32, 32, 33, 33, - 33, 49, 34, 34, 34, 36, 35, 86, 86, 23, - 35, 30, 37, 25, 32, 36, 35, 33, 36, 35, - 37, 34, 37, 38, 41, 37, 36, 38, 35, 34, - 37, 365, 339, 38, 41, 65, 38, 41, 32, 34, - 33, 39, 34, 41, 227, 40, 39, 60, 227, 40, - 65, 39, 39, 39, 39, 40, 42, 39, 40, 407, - 43, 419, 416, 40, 43, 338, 42, 60, 44, 42, - - 43, 42, 44, 43, 42, 297, 419, 45, 44, 407, - 296, 44, 416, 286, 45, 44, 44, 45, 44, 46, - 45, 47, 45, 139, 142, 46, 46, 280, 48, 45, - 46, 47, 139, 142, 47, 48, 48, 238, 48, 237, - 52, 48, 52, 236, 52, 52, 52, 53, 53, 52, - 53, 53, 53, 233, 54, 53, 54, 54, 54, 55, - 230, 143, 56, 55, 56, 56, 56, 226, 220, 55, - 143, 57, 55, 57, 57, 57, 58, 215, 58, 58, - 58, 73, 73, 73, 167, 74, 74, 74, 77, 77, - 77, 78, 88, 78, 78, 78, 56, 74, 87, 87, - - 87, 74, 88, 90, 58, 88, 89, 89, 89, 92, - 91, 93, 166, 90, 91, 165, 90, 87, 94, 92, - 91, 93, 92, 91, 93, 92, 92, 95, 94, 96, - 94, 94, 95, 97, 101, 164, 89, 95, 89, 96, - 95, 99, 96, 97, 101, 97, 97, 101, 98, 89, - 98, 99, 100, 89, 99, 162, 158, 99, 98, 157, - 102, 98, 100, 153, 103, 100, 152, 146, 104, 100, - 102, 133, 102, 102, 103, 105, 106, 103, 104, 103, - 104, 104, 84, 107, 82, 105, 106, 80, 105, 106, - 108, 109, 105, 107, 79, 75, 107, 107, 110, 72, - - 108, 109, 66, 108, 109, 62, 108, 108, 110, 110, - 111, 110, 112, 59, 113, 110, 51, 50, 113, 114, - 111, 114, 112, 111, 113, 112, 115, 113, 28, 114, - 111, 117, 114, 119, 115, 26, 115, 116, 116, 115, - 18, 117, 118, 119, 117, 15, 119, 116, 117, 14, - 116, 120, 118, 11, 7, 118, 2, 122, 121, 118, - 0, 120, 0, 123, 120, 120, 121, 122, 121, 124, - 122, 121, 122, 123, 125, 0, 123, 125, 127, 124, - 0, 123, 124, 124, 125, 123, 126, 125, 127, 0, - 126, 127, 128, 127, 0, 0, 126, 130, 129, 126, - - 128, 0, 128, 0, 0, 128, 129, 130, 129, 0, - 130, 129, 168, 134, 130, 134, 135, 135, 135, 138, - 138, 138, 168, 134, 0, 168, 134, 0, 0, 134, - 134, 136, 0, 136, 136, 136, 137, 0, 137, 137, - 137, 140, 140, 140, 144, 144, 144, 145, 0, 145, - 145, 145, 0, 140, 155, 155, 155, 140, 149, 149, - 149, 150, 150, 150, 0, 136, 140, 141, 169, 170, - 149, 170, 169, 150, 151, 151, 151, 0, 169, 170, - 0, 169, 170, 213, 213, 213, 151, 0, 0, 141, - 151, 0, 0, 141, 141, 141, 141, 141, 141, 141, - - 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, - 141, 141, 141, 141, 141, 141, 163, 163, 163, 171, - 172, 173, 214, 214, 214, 224, 224, 224, 175, 171, - 172, 173, 171, 172, 173, 171, 172, 172, 175, 174, - 176, 175, 0, 174, 0, 0, 163, 176, 163, 174, - 176, 177, 174, 176, 0, 177, 178, 179, 180, 163, - 178, 177, 181, 163, 177, 0, 178, 179, 180, 178, - 179, 180, 181, 179, 182, 181, 182, 0, 183, 184, - 185, 278, 278, 278, 182, 0, 0, 182, 183, 184, - 185, 183, 184, 185, 186, 187, 0, 185, 186, 187, - - 189, 188, 190, 0, 186, 187, 191, 186, 187, 188, - 189, 188, 190, 189, 188, 190, 191, 192, 193, 191, - 0, 191, 194, 195, 0, 0, 192, 192, 193, 0, - 192, 193, 194, 195, 196, 194, 195, 193, 197, 194, - 198, 406, 406, 406, 196, 199, 200, 196, 197, 199, - 198, 197, 196, 198, 201, 199, 200, 198, 199, 200, - 203, 202, 204, 200, 201, 202, 204, 201, 206, 207, - 203, 202, 204, 203, 202, 204, 205, 0, 206, 207, - 205, 206, 207, 209, 208, 210, 205, 208, 0, 205, - 212, 0, 210, 209, 208, 210, 209, 208, 210, 0, - - 212, 0, 0, 212, 217, 217, 217, 218, 218, 218, - 219, 219, 219, 228, 228, 228, 217, 0, 239, 218, - 217, 0, 219, 218, 0, 228, 219, 239, 239, 217, - 0, 239, 218, 0, 0, 219, 221, 221, 221, 229, - 229, 229, 231, 231, 231, 0, 240, 0, 221, 0, - 241, 229, 221, 0, 231, 229, 240, 241, 231, 240, - 241, 221, 223, 241, 412, 412, 412, 413, 413, 413, - 223, 223, 0, 0, 223, 223, 223, 223, 223, 223, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 6, 7, 7, 7, + 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, + 8, 6, 9, 17, 20, 10, 25, 21, 26, 27, + 28, 27, 27, 27, 28, 25, 26, 33, 20, 65, + 28, 35, 35, 9, 8, 9, 10, 42, 10, 21, + 17, 68, 7, 41, 41, 33, 33, 42, 43, 8, + 42, 46, 42, 42, 616, 68, 65, 43, 47, 43, + + 43, 608, 46, 46, 47, 47, 43, 587, 47, 47, + 9, 83, 83, 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, 11, 11, 11, 11, 11, 11, 11, 11, + 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, + 11, 11, 29, 582, 29, 29, 29, 30, 58, 30, + 30, 30, 31, 581, 31, 31, 31, 36, 36, 36, + + 36, 37, 37, 37, 37, 44, 29, 134, 49, 49, + 54, 30, 49, 54, 54, 44, 31, 567, 36, 558, + 44, 44, 37, 29, 50, 58, 44, 31, 30, 40, + 40, 40, 40, 31, 134, 51, 45, 37, 106, 50, + 50, 48, 50, 69, 45, 48, 51, 51, 557, 45, + 40, 45, 45, 556, 45, 52, 48, 48, 555, 48, + 36, 55, 84, 84, 37, 69, 52, 52, 52, 52, + 53, 52, 544, 85, 55, 106, 55, 55, 53, 53, + 40, 40, 56, 56, 231, 53, 233, 61, 85, 85, + 56, 56, 40, 61, 61, 89, 89, 61, 61, 73, + + 231, 73, 233, 73, 73, 73, 74, 74, 73, 74, + 74, 74, 541, 75, 74, 75, 75, 75, 76, 540, + 81, 77, 76, 77, 77, 77, 524, 78, 76, 78, + 78, 78, 79, 90, 79, 79, 79, 76, 81, 81, + 523, 91, 520, 90, 141, 77, 90, 112, 90, 90, + 91, 78, 91, 91, 92, 112, 79, 97, 97, 91, + 568, 97, 77, 93, 92, 111, 141, 79, 78, 92, + 92, 93, 94, 79, 111, 92, 93, 98, 93, 93, + 95, 93, 568, 94, 94, 96, 95, 95, 552, 96, + 95, 95, 98, 98, 99, 98, 100, 151, 151, 500, + + 96, 96, 499, 96, 498, 99, 99, 100, 100, 100, + 100, 101, 100, 102, 103, 552, 102, 102, 221, 101, + 101, 165, 165, 104, 104, 565, 101, 103, 109, 103, + 103, 104, 104, 221, 109, 109, 461, 114, 109, 109, + 113, 114, 113, 113, 113, 461, 115, 114, 115, 115, + 115, 116, 565, 116, 116, 116, 117, 495, 117, 117, + 117, 149, 149, 149, 150, 150, 150, 150, 167, 167, + 115, 154, 154, 154, 468, 116, 172, 172, 150, 467, + 117, 332, 150, 149, 169, 332, 155, 115, 155, 155, + 155, 117, 116, 154, 156, 156, 156, 117, 166, 166, + + 166, 166, 168, 168, 168, 168, 169, 169, 171, 173, + 155, 174, 174, 174, 175, 178, 178, 171, 171, 166, + 173, 173, 176, 177, 180, 176, 176, 155, 177, 175, + 175, 465, 179, 177, 177, 179, 179, 180, 180, 181, + 181, 168, 183, 168, 182, 182, 182, 183, 183, 184, + 185, 185, 184, 184, 168, 464, 186, 462, 168, 186, + 186, 166, 187, 187, 187, 168, 188, 188, 189, 189, + 189, 190, 190, 190, 191, 191, 192, 460, 193, 193, + 192, 192, 192, 193, 194, 195, 196, 197, 198, 194, + 194, 416, 197, 415, 197, 197, 195, 195, 201, 196, + + 196, 412, 198, 198, 199, 199, 199, 200, 200, 200, + 202, 202, 202, 201, 201, 203, 204, 204, 205, 205, + 207, 205, 203, 203, 208, 205, 206, 206, 206, 209, + 209, 210, 207, 207, 211, 208, 208, 216, 210, 210, + 463, 211, 211, 212, 212, 212, 217, 217, 217, 463, + 216, 216, 216, 218, 408, 218, 218, 218, 219, 224, + 219, 219, 219, 220, 220, 220, 225, 246, 246, 222, + 222, 222, 222, 407, 224, 263, 263, 218, 227, 227, + 227, 225, 219, 222, 406, 220, 398, 222, 229, 229, + 229, 268, 268, 228, 218, 228, 228, 228, 347, 219, + + 227, 346, 222, 223, 223, 242, 242, 242, 242, 243, + 243, 243, 243, 248, 248, 248, 345, 228, 342, 242, + 341, 264, 264, 243, 264, 266, 335, 223, 223, 223, + 223, 223, 223, 330, 228, 248, 266, 266, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, - 223, 223, 223, 223, 223, 223, 223, 242, 243, 0, - - 0, 384, 384, 384, 244, 0, 245, 242, 243, 0, - 242, 243, 244, 242, 244, 243, 245, 244, 246, 245, - 384, 0, 0, 247, 245, 0, 0, 248, 246, 249, - 0, 246, 0, 247, 247, 246, 247, 248, 250, 249, - 248, 0, 249, 251, 252, 253, 0, 251, 250, 0, - 250, 250, 0, 251, 252, 253, 251, 252, 253, 254, - 255, 256, 253, 254, 0, 0, 257, 258, 0, 254, - 255, 256, 254, 255, 256, 255, 257, 258, 259, 257, - 258, 257, 260, 258, 0, 0, 261, 0, 259, 0, - 262, 259, 260, 0, 263, 260, 261, 259, 264, 261, - - 262, 261, 264, 262, 263, 265, 266, 263, 264, 0, - 0, 264, 267, 265, 268, 265, 266, 0, 265, 266, - 267, 266, 267, 0, 268, 267, 269, 268, 269, 268, - 270, 271, 272, 414, 414, 414, 269, 0, 0, 269, - 270, 271, 272, 270, 271, 272, 273, 274, 275, 0, - 270, 273, 275, 276, 277, 282, 273, 274, 275, 273, - 274, 275, 0, 276, 277, 282, 276, 277, 0, 282, - 0, 0, 277, 415, 415, 415, 0, 0, 282, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 284, 284, 284, 285, 285, 285, - 287, 287, 287, 0, 298, 299, 284, 0, 0, 285, - 284, 300, 287, 285, 298, 299, 287, 298, 299, 284, - 0, 300, 285, 0, 300, 287, 288, 288, 288, 288, - 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, - 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, - 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, - - 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, - 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, - 288, 291, 291, 291, 0, 301, 417, 417, 417, 302, - 303, 0, 0, 291, 0, 301, 0, 291, 301, 302, - 303, 302, 302, 303, 304, 305, 306, 0, 304, 306, - 307, 308, 0, 305, 304, 305, 306, 304, 305, 306, - 307, 308, 309, 307, 308, 0, 310, 0, 311, 0, - 309, 0, 309, 0, 312, 309, 310, 310, 311, 310, - 0, 311, 313, 0, 312, 311, 312, 312, 313, 313, - 314, 0, 315, 313, 0, 0, 315, 0, 316, 318, - - 314, 0, 315, 314, 314, 315, 316, 317, 316, 318, - 0, 316, 318, 317, 321, 0, 318, 317, 0, 319, - 317, 319, 0, 320, 321, 320, 321, 321, 322, 319, - 322, 0, 319, 320, 323, 324, 320, 0, 322, 325, - 0, 322, 324, 0, 323, 324, 326, 323, 324, 325, - 327, 326, 325, 0, 328, 0, 326, 0, 327, 326, - 327, 340, 329, 327, 328, 329, 0, 328, 331, 331, - 331, 340, 329, 341, 340, 329, 332, 332, 332, 340, - 331, 0, 0, 341, 331, 0, 341, 342, 332, 343, - 341, 343, 332, 331, 334, 334, 334, 342, 344, 343, - - 342, 332, 343, 345, 0, 346, 334, 0, 344, 0, - 334, 344, 0, 345, 344, 346, 345, 347, 346, 334, - 0, 347, 348, 350, 349, 345, 349, 347, 351, 352, - 347, 0, 348, 350, 349, 348, 350, 349, 351, 352, - 353, 351, 352, 0, 354, 355, 0, 354, 0, 355, - 353, 357, 356, 353, 354, 355, 356, 354, 355, 358, - 359, 357, 356, 0, 357, 356, 360, 361, 357, 358, - 359, 362, 358, 359, 0, 363, 360, 361, 0, 360, - 361, 362, 364, 0, 362, 363, 364, 363, 363, 368, - 369, 370, 364, 368, 0, 364, 371, 372, 0, 368, - - 369, 370, 368, 369, 370, 373, 371, 372, 0, 371, - 372, 374, 375, 0, 0, 373, 375, 373, 373, 377, - 0, 374, 375, 374, 374, 375, 376, 0, 376, 377, - 379, 378, 377, 378, 379, 380, 376, 381, 0, 376, - 379, 378, 382, 379, 378, 380, 382, 381, 380, 383, - 381, 388, 382, 383, 0, 382, 389, 390, 391, 383, - 0, 388, 383, 0, 388, 393, 389, 390, 391, 389, - 390, 391, 392, 394, 390, 393, 392, 394, 393, 395, - 0, 396, 392, 394, 396, 392, 394, 397, 0, 395, - 397, 396, 395, 0, 396, 0, 400, 397, 0, 0, - - 397, 398, 398, 398, 402, 398, 400, 0, 401, 400, - 398, 0, 400, 401, 402, 403, 404, 402, 401, 0, - 398, 401, 405, 0, 0, 403, 404, 0, 403, 404, - 0, 0, 405, 0, 410, 405, 408, 408, 408, 408, - 409, 409, 409, 411, 410, 0, 408, 410, 0, 420, - 420, 420, 0, 411, 0, 0, 411, 0, 420, 0, - 0, 408, 0, 0, 421, 421, 421, 421, 0, 0, - 409, 0, 409, 420, 421, 422, 422, 422, 422, 423, - 423, 423, 0, 409, 0, 422, 0, 409, 0, 421, - 424, 424, 424, 424, 425, 425, 425, 426, 426, 426, - - 422, 0, 427, 427, 427, 0, 428, 428, 428, 0, - 429, 429, 429, 430, 430, 430, 0, 431, 431, 431, - 432, 432, 432, 0, 425, 0, 425, 426, 0, 426, - 0, 0, 427, 0, 427, 0, 0, 425, 0, 0, - 426, 425, 0, 0, 426, 427, 428, 0, 0, 427, - 429, 431, 433, 433, 433, 435, 435, 435, 0, 0, - 430, 436, 436, 436, 437, 437, 437, 438, 438, 438, - 443, 443, 443, 444, 444, 444, 438, 440, 440, 440, - 0, 441, 441, 441, 0, 442, 442, 442, 445, 445, - 445, 438, 439, 439, 439, 439, 439, 439, 439, 439, - - 439, 439, 439, 439, 439, 439, 439, 439, 439, 446, - 446, 446, 439, 439, 439, 439, 441, 0, 439, 440, - 442, 448, 448, 448, 450, 450, 450, 449, 449, 449, - 451, 451, 451, 452, 452, 452, 453, 453, 453, 0, - 455, 455, 455, 439, 439, 439, 439, 447, 447, 447, - 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, - 447, 447, 447, 447, 449, 448, 0, 447, 447, 447, - 447, 455, 0, 447, 454, 454, 454, 456, 456, 456, - 459, 459, 459, 460, 460, 460, 461, 461, 461, 462, - 462, 462, 463, 463, 463, 464, 464, 464, 447, 447, - - 447, 447, 0, 454, 465, 465, 465, 466, 466, 466, - 0, 456, 457, 457, 457, 457, 457, 457, 457, 457, - 457, 457, 457, 457, 457, 457, 457, 457, 457, 0, - 0, 0, 457, 457, 457, 457, 0, 0, 457, 0, + 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, + 223, 244, 244, 244, 244, 249, 249, 249, 265, 269, + 269, 269, 267, 273, 329, 244, 276, 276, 328, 244, + 320, 273, 273, 265, 265, 267, 267, 249, 250, 250, + 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, + + 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, + 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, + 250, 314, 250, 250, 262, 250, 250, 250, 250, 250, + 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, + 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, + 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 261, + 251, 251, 260, 251, 251, 251, 251, 251, 251, 251, + + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 258, 258, 258, 258, 270, 271, + 272, 278, 278, 280, 280, 259, 274, 277, 275, 257, + 271, 271, 279, 270, 270, 272, 272, 274, 274, 275, + 275, 253, 277, 277, 281, 279, 279, 281, 283, 281, + 281, 284, 252, 258, 245, 258, 282, 282, 282, 283, + 283, 285, 284, 284, 286, 286, 258, 287, 285, 285, + 258, 236, 287, 287, 288, 288, 289, 258, 294, 294, + 290, 290, 289, 289, 290, 291, 291, 291, 292, 293, + + 293, 296, 293, 292, 292, 295, 295, 295, 297, 297, + 297, 299, 296, 296, 298, 301, 298, 298, 300, 300, + 302, 305, 299, 299, 303, 303, 301, 301, 304, 304, + 306, 302, 302, 305, 305, 306, 306, 307, 309, 310, + 310, 310, 234, 309, 309, 307, 307, 312, 312, 312, + 313, 313, 313, 317, 317, 317, 317, 324, 324, 324, + 230, 310, 318, 318, 318, 318, 496, 317, 215, 312, + 163, 317, 325, 325, 325, 496, 318, 350, 350, 324, + 318, 161, 319, 319, 319, 319, 317, 321, 321, 321, + 321, 352, 352, 348, 325, 318, 319, 348, 348, 160, + + 319, 321, 353, 353, 353, 321, 349, 158, 333, 333, + 333, 333, 349, 349, 497, 319, 351, 358, 358, 354, + 321, 323, 333, 497, 351, 351, 354, 354, 157, 323, + 323, 323, 323, 323, 323, 148, 323, 356, 356, 356, + 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, + 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, + 323, 323, 323, 326, 326, 326, 326, 326, 326, 326, + 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 326, 326, 326, 326, 326, 326, 142, 326, 326, 136, + + 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 326, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 327, 327, 327, 133, 327, 327, 132, 327, 327, + 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 327, 327, 327, 327, 327, 327, 327, 327, 334, + + 334, 334, 334, 583, 336, 336, 336, 336, 355, 355, + 357, 355, 583, 334, 357, 357, 361, 334, 336, 359, + 359, 360, 336, 366, 360, 360, 362, 361, 361, 364, + 127, 362, 362, 363, 363, 363, 365, 365, 366, 366, + 364, 364, 367, 367, 368, 368, 369, 369, 370, 370, + 369, 371, 371, 372, 374, 373, 375, 376, 376, 378, + 378, 381, 381, 375, 375, 374, 374, 377, 372, 372, + 373, 373, 379, 125, 377, 377, 380, 380, 383, 120, + 382, 380, 382, 382, 385, 379, 379, 108, 383, 383, + 384, 384, 386, 386, 87, 385, 385, 387, 387, 82, + + 387, 389, 389, 389, 390, 390, 390, 409, 409, 409, + 409, 418, 418, 419, 419, 420, 420, 421, 421, 427, + 427, 409, 80, 389, 72, 409, 390, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 67, 391, 391, 64, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, + 391, 391, 391, 391, 391, 392, 392, 392, 392, 392, + + 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 60, 392, + 392, 39, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 394, 34, 417, 396, 396, 396, 396, + 32, 397, 397, 397, 397, 394, 417, 417, 422, 394, + 396, 422, 422, 430, 396, 397, 423, 430, 430, 397, + 424, 423, 423, 426, 394, 395, 395, 395, 395, 396, + + 425, 424, 424, 24, 397, 426, 426, 425, 425, 395, + 428, 429, 431, 431, 431, 428, 428, 435, 429, 429, + 19, 395, 395, 395, 395, 395, 395, 432, 435, 435, + 432, 432, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 395, 395, 395, 399, 399, 399, 399, 16, + 433, 434, 434, 434, 438, 438, 438, 433, 436, 399, + 433, 433, 437, 399, 441, 436, 436, 441, 441, 443, + 443, 437, 437, 445, 445, 448, 448, 13, 399, 400, + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 400, 400, 400, 439, 444, 440, + 469, 442, 5, 469, 469, 4, 444, 444, 446, 447, + 439, 439, 440, 440, 442, 442, 447, 447, 446, 446, + 449, 454, 454, 454, 454, 596, 455, 455, 455, 455, + 472, 472, 449, 449, 596, 454, 471, 471, 471, 454, + + 455, 2, 470, 470, 455, 470, 457, 457, 457, 457, + 474, 474, 473, 0, 454, 475, 475, 478, 478, 455, + 457, 477, 475, 479, 457, 473, 473, 476, 480, 476, + 476, 481, 477, 477, 482, 0, 479, 479, 0, 457, + 483, 483, 484, 480, 480, 485, 481, 481, 486, 482, + 482, 487, 487, 487, 484, 484, 485, 485, 0, 486, + 486, 488, 488, 489, 489, 490, 490, 491, 491, 492, + 492, 493, 494, 598, 493, 493, 502, 502, 502, 503, + 505, 505, 598, 494, 494, 504, 504, 504, 504, 0, + 503, 503, 506, 506, 507, 507, 508, 510, 509, 508, + + 508, 509, 509, 511, 0, 512, 513, 0, 510, 510, + 512, 512, 514, 515, 515, 517, 511, 511, 518, 513, + 513, 516, 516, 514, 514, 0, 517, 517, 0, 518, + 518, 519, 519, 519, 519, 0, 504, 504, 527, 527, + 528, 528, 529, 529, 529, 529, 530, 530, 504, 531, + 531, 531, 532, 533, 532, 532, 534, 534, 535, 536, + 536, 537, 0, 529, 533, 533, 538, 543, 543, 535, + 535, 545, 545, 537, 537, 547, 547, 0, 538, 538, + 607, 546, 519, 519, 609, 539, 539, 539, 539, 607, + 539, 546, 546, 609, 519, 539, 548, 548, 0, 529, + + 549, 549, 550, 550, 0, 529, 539, 551, 551, 551, + 551, 553, 553, 553, 553, 553, 554, 554, 554, 554, + 559, 559, 553, 560, 560, 561, 561, 561, 561, 562, + 562, 562, 562, 563, 563, 563, 563, 564, 564, 564, + 564, 0, 0, 0, 553, 617, 0, 0, 539, 566, + 566, 566, 566, 0, 617, 554, 0, 554, 0, 569, + 569, 569, 569, 572, 572, 572, 572, 0, 554, 569, + 551, 0, 554, 0, 0, 553, 0, 0, 0, 554, + 0, 0, 570, 570, 570, 570, 570, 0, 561, 0, + 0, 569, 562, 570, 0, 0, 563, 0, 0, 0, + + 564, 0, 571, 571, 571, 571, 571, 573, 573, 573, + 573, 573, 566, 571, 0, 570, 574, 574, 574, 574, + 0, 0, 569, 0, 0, 0, 572, 0, 575, 575, + 575, 575, 0, 0, 0, 571, 576, 576, 576, 576, + 577, 577, 577, 577, 0, 0, 570, 578, 578, 578, + 578, 579, 579, 579, 579, 574, 0, 574, 580, 580, + 580, 580, 585, 585, 585, 585, 571, 575, 574, 575, + 0, 573, 574, 0, 0, 576, 0, 576, 0, 574, + 575, 0, 0, 0, 575, 0, 0, 0, 576, 577, + 0, 575, 576, 0, 0, 0, 578, 0, 0, 576, + + 0, 580, 0, 577, 0, 0, 0, 579, 0, 0, + 578, 0, 0, 0, 579, 586, 586, 586, 586, 0, + 0, 580, 0, 0, 0, 585, 588, 588, 588, 588, + 589, 589, 589, 589, 590, 590, 590, 590, 591, 591, + 591, 591, 0, 0, 0, 0, 0, 0, 591, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 599, 599, + 599, 599, 0, 0, 0, 0, 0, 0, 0, 0, + 591, 0, 593, 593, 593, 593, 0, 0, 586, 600, + 600, 600, 600, 0, 594, 594, 594, 594, 0, 588, + 0, 0, 0, 589, 0, 0, 0, 590, 0, 0, + + 0, 591, 592, 592, 592, 592, 592, 592, 592, 592, + 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, + 592, 599, 0, 593, 592, 592, 592, 592, 594, 595, + 595, 595, 595, 0, 592, 593, 592, 592, 601, 601, + 601, 601, 600, 602, 602, 602, 602, 594, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 592, 592, 592, 592, 592, 592, 592, 592, + 0, 0, 0, 595, 604, 604, 604, 604, 0, 0, + 605, 605, 605, 605, 610, 610, 610, 610, 611, 611, + 611, 611, 595, 612, 612, 612, 612, 613, 613, 613, + + 613, 601, 614, 614, 614, 614, 602, 603, 603, 603, + 603, 603, 603, 603, 603, 603, 603, 603, 603, 603, + 603, 603, 603, 603, 603, 603, 605, 604, 0, 603, + 603, 603, 603, 618, 618, 618, 618, 604, 0, 603, + 614, 603, 603, 605, 0, 0, 0, 610, 0, 0, + 0, 611, 615, 615, 615, 615, 612, 0, 0, 0, + 613, 0, 0, 0, 0, 614, 0, 603, 603, 603, + 603, 603, 603, 603, 603, 0, 618, 0, 0, 621, + 621, 621, 621, 622, 622, 622, 622, 0, 0, 0, + 0, 0, 615, 0, 0, 0, 618, 623, 623, 623, + + 623, 624, 624, 624, 624, 625, 625, 625, 625, 626, + 626, 626, 626, 0, 0, 615, 619, 619, 619, 619, + 619, 619, 619, 619, 619, 619, 619, 619, 619, 619, + 619, 619, 619, 619, 619, 0, 0, 0, 619, 619, + 619, 619, 621, 0, 0, 0, 622, 0, 619, 0, + 619, 619, 627, 627, 627, 627, 0, 0, 0, 0, + 623, 0, 0, 0, 624, 0, 0, 0, 625, 0, + 0, 0, 626, 0, 0, 0, 619, 619, 619, 619, + 619, 619, 619, 619, 620, 620, 620, 620, 620, 620, + 620, 620, 620, 620, 620, 620, 620, 620, 620, 620, + + 620, 620, 620, 0, 0, 0, 620, 620, 620, 620, + 628, 628, 628, 628, 0, 627, 620, 0, 620, 620, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 457, 457, 457, 457, 458, 458, 458, - 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, - 458, 458, 458, 458, 0, 0, 0, 458, 458, 458, - 458, 0, 0, 458, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 458, 458, - 458, 458, 468, 468, 0, 468, 468, 468, 468, 468, - 469, 469, 0, 469, 469, 469, 469, 469, 470, 470, - 0, 0, 470, 470, 470, 471, 471, 0, 471, 471, - 471, 471, 471, 472, 472, 472, 472, 472, 472, 472, - 472, 473, 473, 473, 473, 473, 473, 473, 473, 474, - 474, 474, 475, 475, 475, 475, 475, 475, 475, 475, - 476, 476, 476, 477, 477, 477, 477, 477, 477, 477, - 477, 478, 478, 479, 479, 479, 481, 481, 481, 481, - - 481, 481, 481, 481, 482, 482, 483, 483, 483, 483, - 483, 483, 483, 483, 484, 484, 484, 484, 484, 485, - 485, 486, 486, 486, 486, 486, 486, 486, 486, 487, - 487, 487, 487, 487, 488, 488, 488, 488, 488, 489, - 489, 489, 489, 489, 490, 490, 490, 490, 490, 490, - 490, 490, 491, 491, 491, 491, 491, 491, 491, 492, - 492, 0, 492, 492, 492, 492, 492, 493, 493, 493, - 493, 493, 493, 493, 493, 494, 494, 0, 494, 494, - 494, 494, 494, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467 + 0, 0, 0, 0, 620, 620, 620, 620, 620, 620, + 620, 620, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 628, 630, 630, 630, 630, 630, 630, + 630, 630, 630, 630, 630, 630, 630, 630, 630, 631, + 631, 0, 631, 631, 631, 631, 631, 631, 631, 631, + + 631, 631, 631, 631, 632, 0, 632, 632, 632, 633, + 633, 0, 633, 633, 633, 633, 633, 633, 633, 633, + 633, 633, 633, 633, 634, 634, 634, 634, 634, 634, + 634, 634, 0, 0, 0, 634, 634, 634, 634, 635, + 635, 0, 0, 635, 635, 0, 635, 635, 635, 635, + 635, 0, 635, 636, 636, 0, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 637, 637, + 637, 637, 637, 637, 637, 637, 0, 0, 0, 637, + 637, 637, 637, 638, 638, 638, 638, 638, 638, 638, + 0, 638, 638, 638, 638, 638, 638, 638, 639, 639, + + 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, + 639, 639, 639, 640, 640, 0, 640, 0, 640, 640, + 640, 640, 640, 641, 0, 0, 641, 641, 641, 641, + 641, 642, 642, 642, 642, 642, 642, 642, 642, 0, + 0, 0, 642, 0, 642, 642, 643, 643, 643, 643, + 643, 643, 643, 643, 643, 643, 643, 643, 643, 643, + 643, 644, 644, 644, 644, 644, 644, 644, 644, 644, + 644, 644, 644, 644, 644, 644, 645, 645, 0, 0, + 645, 0, 0, 645, 645, 646, 646, 646, 646, 646, + 646, 646, 646, 0, 0, 0, 646, 646, 646, 646, + + 647, 647, 647, 647, 647, 647, 647, 647, 0, 0, + 0, 647, 0, 647, 647, 648, 648, 648, 648, 648, + 648, 648, 648, 648, 648, 648, 648, 648, 648, 648, + 649, 649, 0, 0, 649, 0, 0, 649, 649, 650, + 0, 0, 650, 0, 650, 650, 650, 650, 650, 651, + 651, 651, 651, 651, 651, 651, 651, 651, 651, 651, + 651, 651, 651, 651, 652, 652, 652, 652, 652, 652, + 652, 652, 0, 0, 0, 652, 0, 652, 652, 653, + 653, 0, 0, 653, 0, 0, 653, 653, 654, 0, + 0, 654, 654, 655, 655, 655, 655, 655, 655, 655, + + 655, 655, 655, 655, 655, 655, 655, 655, 656, 656, + 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, + 656, 656, 656, 657, 657, 657, 657, 657, 0, 657, + 657, 0, 0, 0, 0, 0, 657, 657, 658, 658, + 658, 658, 658, 658, 658, 658, 658, 658, 658, 658, + 658, 658, 658, 659, 659, 659, 659, 659, 659, 659, + 659, 659, 659, 659, 659, 659, 659, 659, 660, 660, + 660, 660, 660, 660, 660, 660, 660, 660, 660, 660, + 660, 660, 660, 661, 661, 661, 661, 661, 0, 661, + 661, 0, 0, 0, 0, 0, 661, 661, 662, 662, + + 662, 662, 662, 0, 662, 662, 0, 0, 0, 0, + 0, 662, 662, 663, 663, 663, 663, 663, 0, 663, + 663, 0, 0, 0, 0, 0, 663, 663, 664, 664, + 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, + 664, 664, 664, 665, 665, 665, 665, 665, 665, 665, + 665, 665, 665, 665, 665, 665, 665, 665, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 667, 667, 0, 667, 667, 667, 667, 667, + 667, 667, 667, 667, 667, 667, 667, 668, 668, 668, + 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, + + 668, 668, 669, 669, 669, 669, 669, 669, 669, 669, + 669, 669, 669, 669, 669, 669, 669, 670, 670, 0, + 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, + 670, 670, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, + + 629 } ; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; -extern int avm2__flex_debug; -int avm2__flex_debug = 0; +extern int as3__flex_debug; +int as3__flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. @@ -1116,7 +1429,7 @@ int avm2__flex_debug = 0; #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET -char *avm2_text; +char *as3_text; #line 1 "tokenizer.lex" /* tokenizer.lex @@ -1148,50 +1461,12 @@ char *avm2_text; #include #include #include "../utf8.h" +#include "common.h" #include "tokenizer.h" #include "files.h" -int as3_verbosity = 1; -void as3_error(const char*format, ...) -{ - char buf[1024]; - int l; - va_list arglist; - if(as3_verbosity<0) - exit(1); - va_start(arglist, format); - vsprintf(buf, format, arglist); - va_end(arglist); - fprintf(stderr, "%s:%d:%d: error: %s\n", current_filename_short, current_line, current_column, buf); - fflush(stderr); - exit(1); -} -void as3_warning(const char*format, ...) -{ - char buf[1024]; - int l; - va_list arglist; - if(as3_verbosity<1) - return; - va_start(arglist, format); - vsprintf(buf, format, arglist); - va_end(arglist); - fprintf(stderr, "%s:%d:%d: warning: %s\n", current_filename_short, current_line, current_column, buf); - fflush(stderr); -} -void as3_softwarning(const char*format, ...) -{ - char buf[1024]; - int l; - va_list arglist; - if(as3_verbosity<2) - return; - va_start(arglist, format); - vsprintf(buf, format, arglist); - va_end(arglist); - fprintf(stderr, "%s:%d:%d: warning: %s\n", current_filename_short, current_line, current_column, buf); - fflush(stderr); -} +unsigned int as3_tokencount = 0; + static void dbg(const char*format, ...) { char buf[1024]; @@ -1200,7 +1475,7 @@ static void dbg(const char*format, ...) if(as3_verbosity<3) return; va_start(arglist, format); - vsprintf(buf, format, arglist); + vsnprintf(buf, sizeof(buf)-1, format, arglist); va_end(arglist); l = strlen(buf); while(l && buf[l-1]=='\n') { @@ -1212,12 +1487,48 @@ static void dbg(const char*format, ...) fflush(stdout); } - - #ifndef YY_CURRENT_BUFFER #define YY_CURRENT_BUFFER yy_current_buffer #endif +static void*as3_buffer=0; +static int as3_buffer_pos=0; +static int as3_buffer_len=0; +void as3_file_input(FILE*fi) +{ + as3_in = fi; + as3_buffer = 0; +} +void as3_buffer_input(void*buffer, int len) +{ + if(!buffer) + syntaxerror("trying to parse zero bytearray"); + as3_buffer = buffer; + as3_buffer_len = len; + as3_buffer_pos = 0; + as3_in = 0; +} + +//#undef BEGIN +//#define BEGIN(x) {(yy_start) = 1 + 2 *x;dbg("entering state %d", x);} + +#define YY_INPUT(buf,result,max_size) { \ + if(!as3_buffer) { \ + errno=0; \ + while((result = fread(buf, 1, max_size, as3_in))==0 && ferror(as3_in)) \ + { if(errno != EINTR) {YY_FATAL_ERROR("input in flex scanner failed"); break;} \ + errno=0; clearerr(as3_in); \ + } \ + } else { \ + int to_read = max_size; \ + if(to_read + as3_buffer_pos > as3_buffer_len) \ + to_read = as3_buffer_len - as3_buffer_pos; \ + memcpy(buf, as3_buffer+as3_buffer_pos, to_read); \ + as3_buffer_pos += to_read; \ + result=to_read; \ + } \ +} + void handleInclude(char*text, int len, char quotes) { char*filename = 0; @@ -1232,22 +1543,23 @@ void handleInclude(char*text, int len, char quotes) } else { int i1=0,i2=len; // find start - while(!strchr(" \n\r\t", text[i1])) i1++; + while(!strchr(" \n\r\t\xa0", text[i1])) i1++; // strip - while(strchr(" \n\r\t", text[i1])) i1++; - while(strchr(" \n\r\t", text[i2-1])) i2--; + while(strchr(" \n\r\t\xa0", text[i1])) i1++; + while(strchr(" \n\r\t\xa0", text[i2-1])) i2--; if(i2!=len) text[i2]=0; filename = strdup(&text[i1]); } - char*fullfilename = enter_file(filename, YY_CURRENT_BUFFER); - avm2_in = fopen(fullfilename, "rb"); - if (!avm2_in) { + char*fullfilename = find_file(filename, 1); + enter_file2(filename, fullfilename, YY_CURRENT_BUFFER); + as3_in = fopen(fullfilename, "rb"); + if (!as3_in) { syntaxerror("Couldn't open include file \"%s\"\n", fullfilename); } - avm2__switch_to_buffer(avm2__create_buffer(avm2_in,YY_BUF_SIZE ) ); - //BEGIN(INITIAL); keep context + as3__switch_to_buffer(as3__create_buffer(as3_in,YY_BUF_SIZE ) ); + //BEGIN(DEFAULT); keep context } static int do_unescape(const char*s, const char*end, char*n) @@ -1342,8 +1654,15 @@ static int do_unescape(const char*s, const char*end, char*n) } break; } - default: - syntaxerror("unknown escape sequence: \"\\%c\"", *s); + default: { + if(o) { + o[len+0] = '\\'; + o[len+1] = *s; + } + s++; + len+=2; + break; + } } } if(o) o[len]=0; @@ -1362,6 +1681,19 @@ static string_t string_unescape(const char*in, int l) return out; } +static void handleCData(char*s, int len) +{ + a3_lval.str.str = s+9; // + a3_lval.str.str = strdup_n(a3_lval.str.str, a3_lval.str.len); +} + +static void handleRaw(char*s, int len) +{ + a3_lval.str.len = len; + a3_lval.str.str = strdup_n(s, a3_lval.str.len); +} + static void handleString(char*s, int len) { if(s[0]=='"') { @@ -1373,118 +1705,94 @@ static void handleString(char*s, int len) s++;len-=2; } else syntaxerror("String incorrectly terminated"); - - avm2_lval.str = string_unescape(s, len); + a3_lval.str = string_unescape(s, len); } char start_of_expression; -static inline int mkid(int type) -{ - char*s = malloc(avm2_leng+1); - memcpy(s, avm2_text, avm2_leng); - s[avm2_leng]=0; - avm2_lval.id = s; - return type; -} - static inline int m(int type) { - avm2_lval.token = type; + a3_lval.token = type; return type; } - static char numberbuf[64]; static char*nrbuf() { - if(avm2_leng>sizeof(numberbuf)-1) + if(as3_leng>sizeof(numberbuf)-1) syntaxerror("decimal number overflow"); char*s = numberbuf; - memcpy(s, avm2_text, avm2_leng); - s[avm2_leng]=0; + memcpy(s, as3_text, as3_leng); + s[as3_leng]=0; return s; } static inline int setint(int v) { - avm2_lval.number_int = v; - if(v>-128) - return T_BYTE; - else if(v>=-32768) - return T_SHORT; - else - return T_INT; -} -static inline int setuint(unsigned int v) -{ - avm2_lval.number_uint = v; - if(v<128) - return T_BYTE; - else if(v<32768) - return T_SHORT; - else - return T_UINT; + a3_lval.number_int = v; + return T_INT; } static inline int setfloat(double v) { - avm2_lval.number_float = v; + a3_lval.number_float = v; return T_FLOAT; } static inline int handlefloat() { char*s = nrbuf(); - avm2_lval.number_float = atof(s); + a3_lval.number_float = atof(s); return T_FLOAT; } static inline int handleint() { char*s = nrbuf(); - char l = (avm2_text[0]=='-'); + char l = (as3_text[0]=='-'); + + //char*max = l?"1073741824":"2147483647"; + char*max = l?"2147483648":"2147483647"; - char*max = l?"1073741824":"2147483647"; - if(avm2_leng-l>10) { - as3_warning("integer overflow: %s (converted to Number)", s); + if(as3_leng-l>10) { + as3_softwarning("integer overflow: %s (converted to Number)", s); return handlefloat(); } - if(avm2_leng-l==10) { + if(as3_leng-l==10) { int t; - for(t=0;tmax[t]) { - as3_warning("integer overflow: %s (converted to Number)", s); + for(t=0;tmax[t]) { + as3_softwarning("integer overflow: %s (converted to Number)", s); return handlefloat(); } - else if(avm2_text[l+t]8) { char*s = nrbuf(); @@ -1515,27 +1823,27 @@ static inline int handlehex() unsigned int v = 0; for(t=l;t='0' && c<='9') v|=(c&15); else if((c>='a' && c<='f') || (c>='A' && c<='F')) v|=(c&0x0f)+9; } - if(l && v>1073741824) { + if(l && v>=0x80000000) { char*s = nrbuf(); - as3_warning("signed integer overflow: %s (converted to Number)", s); + as3_softwarning("integer overflow: %s (converted to Number)", s); return setfloat(v); } - if(!l && v>2147483647) { + if(!l && v>0x7fffffff) { char*s = nrbuf(); - as3_warning("unsigned integer overflow: %s (converted to Number)", s); + as3_softwarning("integer overflow: %s (converted to Number)", s); return setfloat(v); } if(l==3) { return setint(-(int)v); } else { - return setuint(v); + return setint(v); } } @@ -1548,16 +1856,16 @@ void handleLabel(char*text, int len) break; } char*s = malloc(t+1); - memcpy(s, avm2_text, t); + memcpy(s, as3_text, t); s[t]=0; - avm2_lval.id = s; + a3_lval.id = s; } static int handleregexp() { - char*s = malloc(avm2_leng); - int len=avm2_leng-1; - memcpy(s, avm2_text+1, len); + char*s = malloc(as3_leng); + int len=as3_leng-1; + memcpy(s, as3_text+1, len); s[len] = 0; int t; for(t=len;t>=0;--t) { @@ -1566,11 +1874,11 @@ static int handleregexp() break; } } - avm2_lval.regexp.pattern = s; + a3_lval.regexp.pattern = s; if(t==len) { - avm2_lval.regexp.options = 0; + a3_lval.regexp.options = 0; } else { - avm2_lval.regexp.options = s+t+1; + a3_lval.regexp.options = s+t+1; } return T_REGEXP; } @@ -1581,8 +1889,8 @@ void initialize_scanner(); /* count the number of lines+columns consumed by this token */ static inline void l() { int t; - for(t=0;t]|(-/[^-])|(--/[^>]))*--> + +//{XMLCOMMENT} + + -#line 1607 "tokenizer.yy.c" +#line 1948 "tokenizer.yy.c" #define INITIAL 0 #define REGEXPOK 1 #define BEGINNING 2 +#define DEFAULT 3 +#define XMLTEXT 4 +#define XML 5 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way @@ -1626,31 +1970,31 @@ static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ -int avm2_lex_destroy (void ); +int as3_lex_destroy (void ); -int avm2_get_debug (void ); +int as3_get_debug (void ); -void avm2_set_debug (int debug_flag ); +void as3_set_debug (int debug_flag ); -YY_EXTRA_TYPE avm2_get_extra (void ); +YY_EXTRA_TYPE as3_get_extra (void ); -void avm2_set_extra (YY_EXTRA_TYPE user_defined ); +void as3_set_extra (YY_EXTRA_TYPE user_defined ); -FILE *avm2_get_in (void ); +FILE *as3_get_in (void ); -void avm2_set_in (FILE * in_str ); +void as3_set_in (FILE * in_str ); -FILE *avm2_get_out (void ); +FILE *as3_get_out (void ); -void avm2_set_out (FILE * out_str ); +void as3_set_out (FILE * out_str ); -int avm2_get_leng (void ); +int as3_get_leng (void ); -char *avm2_get_text (void ); +char *as3_get_text (void ); -int avm2_get_lineno (void ); +int as3_get_lineno (void ); -void avm2_set_lineno (int line_number ); +void as3_set_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. @@ -1658,9 +2002,9 @@ void avm2_set_lineno (int line_number ); #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus -extern "C" int avm2_wrap (void ); +extern "C" int as3_wrap (void ); #else -extern int avm2_wrap (void ); +extern int as3_wrap (void ); #endif #endif @@ -1694,7 +2038,7 @@ static int input (void ); /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO fwrite( avm2_text, avm2_leng, 1, avm2_out ) +#define ECHO fwrite( as3_text, as3_leng, 1, as3_out ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -1707,18 +2051,18 @@ static int input (void ); int c = '*'; \ int n; \ for ( n = 0; n < max_size && \ - (c = getc( avm2_in )) != EOF && c != '\n'; ++n ) \ + (c = getc( as3_in )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ - if ( c == EOF && ferror( avm2_in ) ) \ + if ( c == EOF && ferror( as3_in ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ - while ( (result = fread(buf, 1, max_size, avm2_in))==0 && ferror(avm2_in)) \ + while ( (result = fread(buf, 1, max_size, as3_in))==0 && ferror(as3_in)) \ { \ if( errno != EINTR) \ { \ @@ -1726,7 +2070,7 @@ static int input (void ); break; \ } \ errno=0; \ - clearerr(avm2_in); \ + clearerr(as3_in); \ } \ }\ \ @@ -1759,12 +2103,12 @@ static int input (void ); #ifndef YY_DECL #define YY_DECL_IS_OURS 1 -extern int avm2_lex (void); +extern int as3_lex (void); -#define YY_DECL int avm2_lex (void) +#define YY_DECL int as3_lex (void) #endif /* !YY_DECL */ -/* Code executed at the beginning of each rule, after avm2_text and avm2_leng +/* Code executed at the beginning of each rule, after as3_text and as3_leng * have been set up. */ #ifndef YY_USER_ACTION @@ -1777,9 +2121,9 @@ extern int avm2_lex (void); #endif #define YY_RULE_SETUP \ - if ( avm2_leng > 0 ) \ + if ( as3_leng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ - (avm2_text[avm2_leng - 1] == '\n'); \ + (as3_text[as3_leng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. @@ -1790,11 +2134,11 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 507 "tokenizer.lex" +#line 541 "tokenizer.lex" -#line 1798 "tokenizer.yy.c" +#line 2142 "tokenizer.yy.c" if ( !(yy_init) ) { @@ -1807,26 +2151,26 @@ YY_DECL if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ - if ( ! avm2_in ) - avm2_in = stdin; + if ( ! as3_in ) + as3_in = stdin; - if ( ! avm2_out ) - avm2_out = stdout; + if ( ! as3_out ) + as3_out = stdout; if ( ! YY_CURRENT_BUFFER ) { - avm2_ensure_buffer_stack (); + as3_ensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = - avm2__create_buffer(avm2_in,YY_BUF_SIZE ); + as3__create_buffer(as3_in,YY_BUF_SIZE ); } - avm2__load_buffer_state( ); + as3__load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); - /* Support of avm2_text. */ + /* Support of as3_text. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of @@ -1848,13 +2192,13 @@ yy_match: while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 468 ) + if ( yy_current_state >= 630 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } - while ( yy_current_state != 467 ); + while ( yy_current_state != 629 ); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); @@ -1877,599 +2221,758 @@ do_action: /* This label is used only to access EOF actions. */ case 1: /* rule 1 can match eol */ YY_RULE_SETUP -#line 510 "tokenizer.lex" +#line 544 "tokenizer.lex" {l(); /* single line comment */} YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP -#line 511 "tokenizer.lex" +#line 545 "tokenizer.lex" {l(); /* multi line comment */} YY_BREAK case 3: YY_RULE_SETUP -#line 512 "tokenizer.lex" -{syntaxerror("syntax error: unterminated comment", avm2_text);} +#line 546 "tokenizer.lex" +{syntaxerror("syntax error: unterminated comment", as3_text);} YY_BREAK case 4: /* rule 4 can match eol */ -*yy_cp = (yy_hold_char); /* undo effects of setting up avm2_text */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ (yy_c_buf_p) = yy_cp -= 1; -YY_DO_BEFORE_ACTION; /* set up avm2_text again */ +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 514 "tokenizer.lex" -{l();handleInclude(avm2_text, avm2_leng, 1);} +#line 548 "tokenizer.lex" +{l();handleInclude(as3_text, as3_leng, 1);} YY_BREAK case 5: /* rule 5 can match eol */ -*yy_cp = (yy_hold_char); /* undo effects of setting up avm2_text */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ (yy_c_buf_p) = yy_cp -= 1; -YY_DO_BEFORE_ACTION; /* set up avm2_text again */ +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 515 "tokenizer.lex" -{l();handleInclude(avm2_text, avm2_leng, 0);} +#line 549 "tokenizer.lex" +{l();handleInclude(as3_text, as3_leng, 0);} YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP -#line 516 "tokenizer.lex" -{l(); BEGIN(INITIAL);handleString(avm2_text, avm2_leng);return T_STRING;} +#line 550 "tokenizer.lex" +{l(); BEGIN(DEFAULT);handleString(as3_text, as3_leng);return T_STRING;} YY_BREAK - case 7: +/* rule 7 can match eol */ YY_RULE_SETUP -#line 519 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handleregexp();} +#line 551 "tokenizer.lex" +{l(); BEGIN(DEFAULT);handleCData(as3_text, as3_leng);return T_STRING;} YY_BREAK + case 8: +/* rule 8 can match eol */ YY_RULE_SETUP -#line 520 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handlehex();} +#line 554 "tokenizer.lex" +{l(); BEGIN(DEFAULT);handleRaw(as3_text, as3_leng);return T_STRING;} YY_BREAK + + case 9: +/* rule 9 can match eol */ YY_RULE_SETUP -#line 521 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handlehexfloat();} +#line 558 "tokenizer.lex" +{l(); handleRaw(as3_text, as3_leng);return T_STRING;} YY_BREAK case 10: YY_RULE_SETUP -#line 522 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handleint();} +#line 559 "tokenizer.lex" +{c(); BEGIN(REGEXPOK);return m('{');} YY_BREAK case 11: YY_RULE_SETUP -#line 523 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handlefloat();} +#line 560 "tokenizer.lex" +{c(); return m('<');} YY_BREAK - case 12: YY_RULE_SETUP -#line 526 "tokenizer.lex" -{/* utf 8 bom */} +#line 561 "tokenizer.lex" +{c(); return m('/');} YY_BREAK case 13: -/* rule 13 can match eol */ YY_RULE_SETUP -#line 527 "tokenizer.lex" -{l();} +#line 562 "tokenizer.lex" +{c(); return m('>');} YY_BREAK case 14: YY_RULE_SETUP -#line 529 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handlehex();} +#line 563 "tokenizer.lex" +{c(); return m('=');} YY_BREAK case 15: YY_RULE_SETUP -#line 530 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handlehexfloat();} +#line 564 "tokenizer.lex" +{c(); handleRaw(as3_text, as3_leng);return T_IDENTIFIER;} YY_BREAK case 16: +/* rule 16 can match eol */ YY_RULE_SETUP -#line 531 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handleint();} +#line 565 "tokenizer.lex" +{l();} YY_BREAK +case YY_STATE_EOF(XML): +#line 566 "tokenizer.lex" +{syntaxerror("unexpected end of file");} + YY_BREAK + + case 17: +/* rule 17 can match eol */ YY_RULE_SETUP -#line 532 "tokenizer.lex" -{c(); BEGIN(INITIAL);return handlefloat();} +#line 570 "tokenizer.lex" +{l(); handleRaw(as3_text, as3_leng);return T_STRING;} YY_BREAK case 18: YY_RULE_SETUP -#line 534 "tokenizer.lex" -{/* for debugging: generates a tokenizer-level error */ - syntaxerror("3rr0r");} +#line 571 "tokenizer.lex" +{c(); BEGIN(REGEXPOK);return m('{');} YY_BREAK case 19: -/* rule 19 can match eol */ -*yy_cp = (yy_hold_char); /* undo effects of setting up avm2_text */ -(yy_c_buf_p) = yy_cp -= 1; -YY_DO_BEFORE_ACTION; /* set up avm2_text again */ YY_RULE_SETUP -#line 537 "tokenizer.lex" -{l();handleLabel(avm2_text, avm2_leng-3);return T_FOR;} +#line 572 "tokenizer.lex" +{c(); BEGIN(XML);return m('<');} YY_BREAK case 20: -/* rule 20 can match eol */ -*yy_cp = (yy_hold_char); /* undo effects of setting up avm2_text */ -(yy_c_buf_p) = yy_cp -= 1; -YY_DO_BEFORE_ACTION; /* set up avm2_text again */ YY_RULE_SETUP -#line 538 "tokenizer.lex" -{l();handleLabel(avm2_text, avm2_leng-2);return T_DO;} +#line 573 "tokenizer.lex" +{c(); return m('>');} YY_BREAK case 21: /* rule 21 can match eol */ -*yy_cp = (yy_hold_char); /* undo effects of setting up avm2_text */ -(yy_c_buf_p) = yy_cp -= 1; -YY_DO_BEFORE_ACTION; /* set up avm2_text again */ YY_RULE_SETUP -#line 539 "tokenizer.lex" -{l();handleLabel(avm2_text, avm2_leng-5);return T_WHILE;} +#line 574 "tokenizer.lex" +{l(); handleRaw(as3_text, as3_leng);return T_STRING;} YY_BREAK case 22: /* rule 22 can match eol */ -*yy_cp = (yy_hold_char); /* undo effects of setting up avm2_text */ -(yy_c_buf_p) = yy_cp -= 1; -YY_DO_BEFORE_ACTION; /* set up avm2_text again */ YY_RULE_SETUP -#line 540 "tokenizer.lex" -{l();handleLabel(avm2_text, avm2_leng-6);return T_SWITCH;} +#line 575 "tokenizer.lex" +{l(); handleRaw(as3_text, as3_leng);return T_STRING;} YY_BREAK +case YY_STATE_EOF(XMLTEXT): +#line 576 "tokenizer.lex" +{syntaxerror("unexpected end of file");} + YY_BREAK + + case 23: YY_RULE_SETUP -#line 541 "tokenizer.lex" -{c();avm2_lval.id="";return T_FOR;} +#line 580 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handleregexp();} YY_BREAK case 24: +/* rule 24 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 542 "tokenizer.lex" -{c();avm2_lval.id="";return T_DO;} +#line 581 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handlehex();} YY_BREAK case 25: +/* rule 25 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 543 "tokenizer.lex" -{c();avm2_lval.id="";return T_WHILE;} +#line 582 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handlehexfloat();} YY_BREAK case 26: +/* rule 26 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 544 "tokenizer.lex" -{c();avm2_lval.id="";return T_SWITCH;} +#line 583 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handleint();} YY_BREAK case 27: +/* rule 27 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 546 "tokenizer.lex" -{c();BEGIN(REGEXPOK);return m(T_ANDAND);} +#line 584 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handlefloat();} YY_BREAK + case 28: YY_RULE_SETUP -#line 547 "tokenizer.lex" -{c();BEGIN(REGEXPOK);return m(T_OROR);} +#line 587 "tokenizer.lex" +{c(); BEGIN(REGEXPOK);return m(T_DICTSTART);} YY_BREAK case 29: YY_RULE_SETUP -#line 548 "tokenizer.lex" -{c();BEGIN(REGEXPOK);return m(T_NE);} +#line 588 "tokenizer.lex" +{c(); BEGIN(DEFAULT); return m('{');} YY_BREAK case 30: YY_RULE_SETUP -#line 549 "tokenizer.lex" -{c();BEGIN(REGEXPOK);return m(T_NEE);} +#line 590 "tokenizer.lex" +{/* utf 8 bom */} YY_BREAK case 31: +/* rule 31 can match eol */ YY_RULE_SETUP -#line 550 "tokenizer.lex" -{c();BEGIN(REGEXPOK);return m(T_EQEQEQ);} +#line 591 "tokenizer.lex" +{l();} YY_BREAK case 32: +/* rule 32 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 551 "tokenizer.lex" -{c();BEGIN(REGEXPOK);return m(T_EQEQ);} +#line 593 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handlehex();} YY_BREAK case 33: +/* rule 33 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 552 "tokenizer.lex" -{c();return m(T_GE);} +#line 594 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handlehexfloat();} YY_BREAK case 34: +/* rule 34 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 553 "tokenizer.lex" -{c();return m(T_LE);} +#line 595 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handleint();} YY_BREAK case 35: +/* rule 35 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 554 "tokenizer.lex" -{c();BEGIN(INITIAL);return m(T_MINUSMINUS);} +#line 596 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return handlefloat();} YY_BREAK case 36: YY_RULE_SETUP -#line 555 "tokenizer.lex" -{c();BEGIN(INITIAL);return m(T_PLUSPLUS);} +#line 597 "tokenizer.lex" +{c(); BEGIN(DEFAULT);return m(KW_NAN);} YY_BREAK case 37: YY_RULE_SETUP -#line 556 "tokenizer.lex" -{c();return m(T_PLUSBY);} +#line 599 "tokenizer.lex" +{/* for debugging: generates a tokenizer-level error */ + syntaxerror("3rr0r");} YY_BREAK case 38: +/* rule 38 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 557 "tokenizer.lex" -{c();return m(T_MINUSBY);} +#line 602 "tokenizer.lex" +{l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-3);return T_FOR;} YY_BREAK case 39: +/* rule 39 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 558 "tokenizer.lex" -{c();return m(T_DIVBY);} +#line 603 "tokenizer.lex" +{l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-2);return T_DO;} YY_BREAK case 40: +/* rule 40 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 559 "tokenizer.lex" -{c();return m(T_MODBY);} +#line 604 "tokenizer.lex" +{l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-5);return T_WHILE;} YY_BREAK case 41: +/* rule 41 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up as3_text */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 560 "tokenizer.lex" -{c();return m(T_MULBY);} +#line 605 "tokenizer.lex" +{l();BEGIN(DEFAULT);handleLabel(as3_text, as3_leng-6);return T_SWITCH;} YY_BREAK case 42: +/* rule 42 can match eol */ YY_RULE_SETUP -#line 561 "tokenizer.lex" -{c();return m(T_ORBY);} +#line 606 "tokenizer.lex" +{l();BEGIN(DEFAULT);return m(KW_DEFAULT_XML);} YY_BREAK case 43: YY_RULE_SETUP -#line 562 "tokenizer.lex" -{c();return m(T_SHRBY);} +#line 607 "tokenizer.lex" +{c();BEGIN(DEFAULT);a3_lval.id="";return T_FOR;} YY_BREAK case 44: YY_RULE_SETUP -#line 563 "tokenizer.lex" -{c();return m(T_SHLBY);} +#line 608 "tokenizer.lex" +{c();BEGIN(DEFAULT);a3_lval.id="";return T_DO;} YY_BREAK case 45: YY_RULE_SETUP -#line 564 "tokenizer.lex" -{c();return m(T_USHRBY);} +#line 609 "tokenizer.lex" +{c();BEGIN(DEFAULT);a3_lval.id="";return T_WHILE;} YY_BREAK case 46: YY_RULE_SETUP -#line 565 "tokenizer.lex" -{c();return m(T_SHL);} +#line 610 "tokenizer.lex" +{c();BEGIN(DEFAULT);a3_lval.id="";return T_SWITCH;} YY_BREAK case 47: YY_RULE_SETUP -#line 566 "tokenizer.lex" -{c();return m(T_USHR);} +#line 612 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_ANDAND);} YY_BREAK case 48: YY_RULE_SETUP -#line 567 "tokenizer.lex" -{c();return m(T_SHR);} +#line 613 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_OROR);} YY_BREAK case 49: YY_RULE_SETUP -#line 568 "tokenizer.lex" -{c();return m(T_DOTDOTDOT);} +#line 614 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_NE);} YY_BREAK case 50: YY_RULE_SETUP -#line 569 "tokenizer.lex" -{c();return m(T_DOTDOT);} +#line 615 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_NEE);} YY_BREAK case 51: YY_RULE_SETUP -#line 570 "tokenizer.lex" -{c();return m('.');} +#line 616 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_EQEQEQ);} YY_BREAK case 52: YY_RULE_SETUP -#line 571 "tokenizer.lex" -{c();return m(T_COLONCOLON);} +#line 617 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_EQEQ);} YY_BREAK case 53: YY_RULE_SETUP -#line 572 "tokenizer.lex" -{c();return m(':');} +#line 618 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_GE);} YY_BREAK case 54: YY_RULE_SETUP -#line 573 "tokenizer.lex" -{c();return m(KW_INSTANCEOF);} +#line 619 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_LE);} YY_BREAK case 55: YY_RULE_SETUP -#line 574 "tokenizer.lex" -{c();return m(KW_IMPLEMENTS);} +#line 620 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(T_MINUSMINUS);} YY_BREAK case 56: YY_RULE_SETUP -#line 575 "tokenizer.lex" -{c();return m(KW_INTERFACE);} +#line 621 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(T_PLUSPLUS);} YY_BREAK case 57: YY_RULE_SETUP -#line 576 "tokenizer.lex" -{c();return m(KW_NAMESPACE);} +#line 622 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_PLUSBY);} YY_BREAK case 58: YY_RULE_SETUP -#line 577 "tokenizer.lex" -{c();return m(KW_PROTECTED);} +#line 623 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_XORBY);} YY_BREAK case 59: YY_RULE_SETUP -#line 578 "tokenizer.lex" -{c();return m(KW_UNDEFINED);} +#line 624 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_MINUSBY);} YY_BREAK case 60: YY_RULE_SETUP -#line 579 "tokenizer.lex" -{c();return m(KW_CONTINUE);} +#line 625 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_DIVBY);} YY_BREAK case 61: YY_RULE_SETUP -#line 580 "tokenizer.lex" -{c();return m(KW_OVERRIDE);} +#line 626 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_MODBY);} YY_BREAK case 62: YY_RULE_SETUP -#line 581 "tokenizer.lex" -{c();return m(KW_INTERNAL);} +#line 627 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_MULBY);} YY_BREAK case 63: YY_RULE_SETUP -#line 582 "tokenizer.lex" -{c();return m(KW_FUNCTION);} +#line 628 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_ORBY);} YY_BREAK case 64: YY_RULE_SETUP -#line 583 "tokenizer.lex" -{c();return m(KW_FINALLY);} +#line 629 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_ANDBY);} YY_BREAK case 65: YY_RULE_SETUP -#line 584 "tokenizer.lex" -{c();return m(KW_DEFAULT);} +#line 630 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_SHRBY);} YY_BREAK case 66: YY_RULE_SETUP -#line 585 "tokenizer.lex" -{c();return m(KW_PACKAGE);} +#line 631 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_SHLBY);} YY_BREAK case 67: YY_RULE_SETUP -#line 586 "tokenizer.lex" -{c();return m(KW_PRIVATE);} +#line 632 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_USHRBY);} YY_BREAK case 68: YY_RULE_SETUP -#line 587 "tokenizer.lex" -{c();return m(KW_DYNAMIC);} +#line 633 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_SHL);} YY_BREAK case 69: YY_RULE_SETUP -#line 588 "tokenizer.lex" -{c();return m(KW_EXTENDS);} +#line 634 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_USHR);} YY_BREAK case 70: YY_RULE_SETUP -#line 589 "tokenizer.lex" -{c();return m(KW_DELETE);} +#line 635 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_SHR);} YY_BREAK case 71: YY_RULE_SETUP -#line 590 "tokenizer.lex" -{c();return m(KW_RETURN);} +#line 636 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_DOTDOTDOT);} YY_BREAK case 72: YY_RULE_SETUP -#line 591 "tokenizer.lex" -{c();return m(KW_PUBLIC);} +#line 637 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_DOTDOT);} YY_BREAK case 73: YY_RULE_SETUP -#line 592 "tokenizer.lex" -{c();return m(KW_NATIVE);} +#line 638 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m('.');} YY_BREAK case 74: YY_RULE_SETUP -#line 593 "tokenizer.lex" -{c();return m(KW_STATIC);} +#line 639 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(T_COLONCOLON);} YY_BREAK case 75: YY_RULE_SETUP -#line 594 "tokenizer.lex" -{c();return m(KW_IMPORT);} +#line 640 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(':');} YY_BREAK case 76: YY_RULE_SETUP -#line 595 "tokenizer.lex" -{c();return m(KW_TYPEOF);} +#line 641 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_INSTANCEOF);} YY_BREAK case 77: YY_RULE_SETUP -#line 596 "tokenizer.lex" -{c();return m(KW_THROW);} +#line 642 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_IMPLEMENTS);} YY_BREAK case 78: YY_RULE_SETUP -#line 597 "tokenizer.lex" -{c();return m(KW_CLASS);} +#line 643 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_INTERFACE);} YY_BREAK case 79: YY_RULE_SETUP -#line 598 "tokenizer.lex" -{c();return m(KW_CONST);} +#line 644 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_PROTECTED);} YY_BREAK case 80: YY_RULE_SETUP -#line 599 "tokenizer.lex" -{c();return m(KW_CATCH);} +#line 645 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_NAMESPACE);} YY_BREAK case 81: YY_RULE_SETUP -#line 600 "tokenizer.lex" -{c();return m(KW_FINAL);} +#line 646 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_UNDEFINED);} YY_BREAK case 82: YY_RULE_SETUP -#line 601 "tokenizer.lex" -{c();return m(KW_FALSE);} +#line 647 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_ARGUMENTS);} YY_BREAK case 83: YY_RULE_SETUP -#line 602 "tokenizer.lex" -{c();return m(KW_BREAK);} +#line 648 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_CONTINUE);} YY_BREAK case 84: YY_RULE_SETUP -#line 603 "tokenizer.lex" -{c();return m(KW_SUPER);} +#line 649 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_OVERRIDE);} YY_BREAK case 85: YY_RULE_SETUP -#line 604 "tokenizer.lex" -{c();return m(KW_EACH);} +#line 650 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_INTERNAL);} YY_BREAK case 86: YY_RULE_SETUP -#line 605 "tokenizer.lex" -{c();return m(KW_VOID);} +#line 651 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_FUNCTION);} YY_BREAK case 87: YY_RULE_SETUP -#line 606 "tokenizer.lex" -{c();return m(KW_TRUE);} +#line 652 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_FINALLY);} YY_BREAK case 88: YY_RULE_SETUP -#line 607 "tokenizer.lex" -{c();return m(KW_NULL);} +#line 653 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_DEFAULT);} YY_BREAK case 89: YY_RULE_SETUP -#line 608 "tokenizer.lex" -{c();return m(KW_ELSE);} +#line 654 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_PACKAGE);} YY_BREAK case 90: YY_RULE_SETUP -#line 609 "tokenizer.lex" -{c();return m(KW_CASE);} +#line 655 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_PRIVATE);} YY_BREAK case 91: YY_RULE_SETUP -#line 610 "tokenizer.lex" -{c();return m(KW_WITH);} +#line 656 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_DYNAMIC);} YY_BREAK case 92: YY_RULE_SETUP -#line 611 "tokenizer.lex" -{c();return m(KW_USE);} +#line 657 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_EXTENDS);} YY_BREAK case 93: YY_RULE_SETUP -#line 612 "tokenizer.lex" -{c();return m(KW_NEW);} +#line 658 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_DELETE);} YY_BREAK case 94: YY_RULE_SETUP -#line 613 "tokenizer.lex" -{c();return m(KW_GET);} +#line 659 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_RETURN);} YY_BREAK case 95: YY_RULE_SETUP -#line 614 "tokenizer.lex" -{c();return m(KW_SET);} +#line 660 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_PUBLIC);} YY_BREAK case 96: YY_RULE_SETUP -#line 615 "tokenizer.lex" -{c();return m(KW_VAR);} +#line 661 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_NATIVE);} YY_BREAK case 97: YY_RULE_SETUP -#line 616 "tokenizer.lex" -{c();return m(KW_TRY);} +#line 662 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_STATIC);} YY_BREAK case 98: YY_RULE_SETUP -#line 617 "tokenizer.lex" -{c();return m(KW_IS) ;} +#line 663 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_IMPORT);} YY_BREAK case 99: YY_RULE_SETUP -#line 618 "tokenizer.lex" -{c();return m(KW_IN) ;} +#line 664 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_TYPEOF);} YY_BREAK case 100: YY_RULE_SETUP -#line 619 "tokenizer.lex" -{c();return m(KW_IF) ;} +#line 665 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_THROW);} YY_BREAK case 101: YY_RULE_SETUP -#line 620 "tokenizer.lex" -{c();return m(KW_AS);} +#line 666 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_CLASS);} YY_BREAK case 102: YY_RULE_SETUP -#line 621 "tokenizer.lex" -{c();BEGIN(INITIAL);return mkid(T_IDENTIFIER);} +#line 667 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_CONST);} YY_BREAK case 103: YY_RULE_SETUP -#line 623 "tokenizer.lex" -{c();BEGIN(REGEXPOK);return m(avm2_text[0]);} +#line 668 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_CATCH);} YY_BREAK case 104: YY_RULE_SETUP -#line 624 "tokenizer.lex" -{c();BEGIN(INITIAL);return m(avm2_text[0]);} +#line 669 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_FINAL);} YY_BREAK case 105: YY_RULE_SETUP -#line 626 "tokenizer.lex" -{char c1=avm2_text[0]; - char buf[128]; - buf[0] = avm2_text[0]; - int t; - for(t=1;t<128;t++) { - char c = buf[t]=input(); - if(c=='\n' || c==EOF) { - buf[t] = 0; - break; - } - } - if(c1>='0' && c1<='9') - syntaxerror("syntax error: %s (identifiers must not start with a digit)"); - else - syntaxerror("syntax error: %s", buf); - printf("\n"); - exit(1); - yyterminate(); - } +#line 670 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_FALSE);} YY_BREAK +case 106: +YY_RULE_SETUP +#line 671 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_BREAK);} + YY_BREAK +case 107: +YY_RULE_SETUP +#line 672 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_SUPER);} + YY_BREAK +case 108: +YY_RULE_SETUP +#line 673 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_EACH);} + YY_BREAK +case 109: +YY_RULE_SETUP +#line 674 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_VOID);} + YY_BREAK +case 110: +YY_RULE_SETUP +#line 675 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_TRUE);} + YY_BREAK +case 111: +YY_RULE_SETUP +#line 676 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_NULL);} + YY_BREAK +case 112: +YY_RULE_SETUP +#line 677 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_ELSE);} + YY_BREAK +case 113: +YY_RULE_SETUP +#line 678 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_CASE);} + YY_BREAK +case 114: +YY_RULE_SETUP +#line 679 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_WITH);} + YY_BREAK +case 115: +YY_RULE_SETUP +#line 680 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_USE);} + YY_BREAK +case 116: +YY_RULE_SETUP +#line 681 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_NEW);} + YY_BREAK +case 117: +YY_RULE_SETUP +#line 682 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_GET);} + YY_BREAK +case 118: +YY_RULE_SETUP +#line 683 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_SET);} + YY_BREAK +case 119: +YY_RULE_SETUP +#line 684 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_VAR);} + YY_BREAK +case 120: +YY_RULE_SETUP +#line 685 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_TRY);} + YY_BREAK +case 121: +YY_RULE_SETUP +#line 686 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_IS) ;} + YY_BREAK +case 122: +YY_RULE_SETUP +#line 687 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_IN) ;} + YY_BREAK +case 123: +YY_RULE_SETUP +#line 688 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(KW_IF) ;} + YY_BREAK +case 124: +YY_RULE_SETUP +#line 689 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(KW_AS);} + YY_BREAK +case 125: +YY_RULE_SETUP +#line 690 "tokenizer.lex" +{c();BEGIN(DEFAULT);return handleIdentifier();} + YY_BREAK +case 126: +YY_RULE_SETUP +#line 692 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(as3_text[0]);} + YY_BREAK +case 127: +YY_RULE_SETUP +#line 693 "tokenizer.lex" +{c();BEGIN(REGEXPOK);return m(as3_text[0]);} + YY_BREAK +case 128: +YY_RULE_SETUP +#line 694 "tokenizer.lex" +{c();BEGIN(DEFAULT);return m(as3_text[0]);} + YY_BREAK + +case 129: +YY_RULE_SETUP +#line 697 "tokenizer.lex" +{tokenerror();} + YY_BREAK + case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(REGEXPOK): case YY_STATE_EOF(BEGINNING): -#line 645 "tokenizer.lex" +case YY_STATE_EOF(DEFAULT): +#line 699 "tokenizer.lex" {l(); void*b = leave_file(); if (!b) { yyterminate(); - avm2__delete_buffer(YY_CURRENT_BUFFER); + as3__delete_buffer(YY_CURRENT_BUFFER); return m(T_EOF); } else { - avm2__delete_buffer(YY_CURRENT_BUFFER); - avm2__switch_to_buffer(b); + as3__delete_buffer(YY_CURRENT_BUFFER); + as3__switch_to_buffer(b); } } YY_BREAK -case 106: +case 130: YY_RULE_SETUP -#line 657 "tokenizer.lex" +#line 711 "tokenizer.lex" ECHO; YY_BREAK -#line 2473 "tokenizer.yy.c" +#line 2976 "tokenizer.yy.c" case YY_END_OF_BUFFER: { @@ -2484,15 +2987,15 @@ ECHO; { /* We're scanning a new file or input source. It's * possible that this happened because the user - * just pointed avm2_in at a new source and called - * avm2_lex(). If so, then we have to assure + * just pointed as3_in at a new source and called + * as3_lex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = avm2_in; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = as3_in; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } @@ -2546,11 +3049,11 @@ ECHO; { (yy_did_buffer_switch_on_eof) = 0; - if ( avm2_wrap( ) ) + if ( as3_wrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up - * avm2_text, we can now set up + * as3_text, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the @@ -2599,7 +3102,7 @@ ECHO; "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ -} /* end of avm2_lex */ +} /* end of as3_lex */ /* yy_get_next_buffer - try to read in a new buffer * @@ -2677,7 +3180,7 @@ static int yy_get_next_buffer (void) b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ - avm2_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + as3_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ @@ -2709,7 +3212,7 @@ static int yy_get_next_buffer (void) if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; - avm2_restart(avm2_in ); + as3_restart(as3_in ); } else @@ -2726,7 +3229,7 @@ static int yy_get_next_buffer (void) if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) avm2_realloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) as3_realloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } @@ -2761,7 +3264,7 @@ static int yy_get_next_buffer (void) 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 >= 468 ) + if ( yy_current_state >= 630 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -2789,11 +3292,11 @@ static int yy_get_next_buffer (void) 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 >= 468 ) + if ( yy_current_state >= 630 ) 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 == 467); + yy_is_jam = (yy_current_state == 629); return yy_is_jam ? 0 : yy_current_state; } @@ -2804,7 +3307,7 @@ static int yy_get_next_buffer (void) yy_cp = (yy_c_buf_p); - /* undo effects of setting up avm2_text */ + /* undo effects of setting up as3_text */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) @@ -2876,13 +3379,13 @@ static int yy_get_next_buffer (void) */ /* Reset buffer status. */ - avm2_restart(avm2_in ); + as3_restart(as3_in ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { - if ( avm2_wrap( ) ) + if ( as3_wrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) @@ -2902,7 +3405,7 @@ static int yy_get_next_buffer (void) } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve avm2_text */ + *(yy_c_buf_p) = '\0'; /* preserve as3_text */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); @@ -2916,32 +3419,32 @@ static int yy_get_next_buffer (void) * * @note This function does not reset the start condition to @c INITIAL . */ - void avm2_restart (FILE * input_file ) + void as3_restart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ - avm2_ensure_buffer_stack (); + as3_ensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = - avm2__create_buffer(avm2_in,YY_BUF_SIZE ); + as3__create_buffer(as3_in,YY_BUF_SIZE ); } - avm2__init_buffer(YY_CURRENT_BUFFER,input_file ); - avm2__load_buffer_state( ); + as3__init_buffer(YY_CURRENT_BUFFER,input_file ); + as3__load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ - void avm2__switch_to_buffer (YY_BUFFER_STATE new_buffer ) + void as3__switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with - * avm2_pop_buffer_state(); - * avm2_push_buffer_state(new_buffer); + * as3_pop_buffer_state(); + * as3_push_buffer_state(new_buffer); */ - avm2_ensure_buffer_stack (); + as3_ensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; @@ -2954,21 +3457,21 @@ static int yy_get_next_buffer (void) } YY_CURRENT_BUFFER_LVALUE = new_buffer; - avm2__load_buffer_state( ); + as3__load_buffer_state( ); /* We don't actually know whether we did this switch during - * EOF (avm2_wrap()) processing, but the only time this flag - * is looked at is after avm2_wrap() is called, so it's safe + * EOF (as3_wrap()) processing, but the only time this flag + * is looked at is after as3_wrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } -static void avm2__load_buffer_state (void) +static void as3__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; - avm2_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + as3_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } @@ -2978,35 +3481,35 @@ static void avm2__load_buffer_state (void) * * @return the allocated buffer state. */ - YY_BUFFER_STATE avm2__create_buffer (FILE * file, int size ) + YY_BUFFER_STATE as3__create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; - b = (YY_BUFFER_STATE) avm2_alloc(sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) as3_alloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in avm2__create_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in as3__create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ - b->yy_ch_buf = (char *) avm2_alloc(b->yy_buf_size + 2 ); + b->yy_ch_buf = (char *) as3_alloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in avm2__create_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in as3__create_buffer()" ); b->yy_is_our_buffer = 1; - avm2__init_buffer(b,file ); + as3__init_buffer(b,file ); return b; } /** Destroy the buffer. - * @param b a buffer created with avm2__create_buffer() + * @param b a buffer created with as3__create_buffer() * */ - void avm2__delete_buffer (YY_BUFFER_STATE b ) + void as3__delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) @@ -3016,41 +3519,31 @@ static void avm2__load_buffer_state (void) YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) - avm2_free((void *) b->yy_ch_buf ); + as3_free((void *) b->yy_ch_buf ); - avm2_free((void *) b ); + as3_free((void *) b ); } -#ifndef _UNISTD_H /* assume unistd.h has isatty() for us */ -#ifdef __cplusplus -extern "C" { -#endif -#ifdef __THROW /* this is a gnuism */ -extern int isatty (int ) __THROW; -#else +#ifndef __cplusplus extern int isatty (int ); -#endif -#ifdef __cplusplus -} -#endif -#endif +#endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, - * such as during a avm2_restart() or at EOF. + * such as during a as3_restart() or at EOF. */ - static void avm2__init_buffer (YY_BUFFER_STATE b, FILE * file ) + static void as3__init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; - avm2__flush_buffer(b ); + as3__flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; - /* If b is the current buffer, then avm2__init_buffer was _probably_ - * called from avm2_restart() or through yy_get_next_buffer. + /* If b is the current buffer, then as3__init_buffer was _probably_ + * called from as3_restart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ @@ -3067,7 +3560,7 @@ extern int isatty (int ); * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ - void avm2__flush_buffer (YY_BUFFER_STATE b ) + void as3__flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; @@ -3087,7 +3580,7 @@ extern int isatty (int ); b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) - avm2__load_buffer_state( ); + as3__load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes @@ -3096,14 +3589,14 @@ extern int isatty (int ); * @param new_buffer The new state. * */ -void avm2_push_buffer_state (YY_BUFFER_STATE new_buffer ) +void as3_push_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; - avm2_ensure_buffer_stack(); + as3_ensure_buffer_stack(); - /* This block is copied from avm2__switch_to_buffer. */ + /* This block is copied from as3__switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ @@ -3117,8 +3610,8 @@ void avm2_push_buffer_state (YY_BUFFER_STATE new_buffer ) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; - /* copied from avm2__switch_to_buffer. */ - avm2__load_buffer_state( ); + /* copied from as3__switch_to_buffer. */ + as3__load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } @@ -3126,18 +3619,18 @@ void avm2_push_buffer_state (YY_BUFFER_STATE new_buffer ) * The next element becomes the new top. * */ -void avm2_pop_buffer_state (void) +void as3_pop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; - avm2__delete_buffer(YY_CURRENT_BUFFER ); + as3__delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { - avm2__load_buffer_state( ); + as3__load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } @@ -3145,7 +3638,7 @@ void avm2_pop_buffer_state (void) /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ -static void avm2_ensure_buffer_stack (void) +static void as3_ensure_buffer_stack (void) { int num_to_alloc; @@ -3156,11 +3649,11 @@ static void avm2_ensure_buffer_stack (void) * immediate realloc on the next call. */ num_to_alloc = 1; - (yy_buffer_stack) = (struct yy_buffer_state**)avm2_alloc + (yy_buffer_stack) = (struct yy_buffer_state**)as3_alloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in avm2_ensure_buffer_stack()" ); + YY_FATAL_ERROR( "out of dynamic memory in as3_ensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); @@ -3175,12 +3668,12 @@ static void avm2_ensure_buffer_stack (void) int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)avm2_realloc + (yy_buffer_stack) = (struct yy_buffer_state**)as3_realloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in avm2_ensure_buffer_stack()" ); + YY_FATAL_ERROR( "out of dynamic memory in as3_ensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); @@ -3194,7 +3687,7 @@ static void avm2_ensure_buffer_stack (void) * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE avm2__scan_buffer (char * base, yy_size_t size ) +YY_BUFFER_STATE as3__scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; @@ -3204,9 +3697,9 @@ YY_BUFFER_STATE avm2__scan_buffer (char * base, yy_size_t size ) /* They forgot to leave room for the EOB's. */ return 0; - b = (YY_BUFFER_STATE) avm2_alloc(sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) as3_alloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in avm2__scan_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in as3__scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; @@ -3218,33 +3711,33 @@ YY_BUFFER_STATE avm2__scan_buffer (char * base, yy_size_t size ) b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; - avm2__switch_to_buffer(b ); + as3__switch_to_buffer(b ); return b; } -/** Setup the input buffer state to scan a string. The next call to avm2_lex() will +/** Setup the input buffer state to scan a string. The next call to as3_lex() 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 - * avm2__scan_bytes() instead. + * as3__scan_bytes() instead. */ -YY_BUFFER_STATE avm2__scan_string (yyconst char * yystr ) +YY_BUFFER_STATE as3__scan_string (yyconst char * yystr ) { - return avm2__scan_bytes(yystr,strlen(yystr) ); + return as3__scan_bytes(yystr,strlen(yystr) ); } -/** Setup the input buffer state to scan the given bytes. The next call to avm2_lex() will +/** Setup the input buffer state to scan the given bytes. The next call to as3_lex() 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 avm2__scan_bytes (yyconst char * yybytes, int _yybytes_len ) +YY_BUFFER_STATE as3__scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; @@ -3253,18 +3746,18 @@ YY_BUFFER_STATE avm2__scan_bytes (yyconst char * yybytes, int _yybytes_len ) /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; - buf = (char *) avm2_alloc(n ); + buf = (char *) as3_alloc(n ); if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in avm2__scan_bytes()" ); + YY_FATAL_ERROR( "out of dynamic memory in as3__scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - b = avm2__scan_buffer(buf,n ); + b = as3__scan_buffer(buf,n ); if ( ! b ) - YY_FATAL_ERROR( "bad buffer in avm2__scan_bytes()" ); + YY_FATAL_ERROR( "bad buffer in as3__scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. @@ -3290,14 +3783,14 @@ static void yy_fatal_error (yyconst char* msg ) #define yyless(n) \ do \ { \ - /* Undo effects of setting up avm2_text. */ \ + /* Undo effects of setting up as3_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - avm2_text[avm2_leng] = (yy_hold_char); \ - (yy_c_buf_p) = avm2_text + yyless_macro_arg; \ + as3_text[as3_leng] = (yy_hold_char); \ + (yy_c_buf_p) = as3_text + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ - avm2_leng = yyless_macro_arg; \ + as3_leng = yyless_macro_arg; \ } \ while ( 0 ) @@ -3306,85 +3799,85 @@ static void yy_fatal_error (yyconst char* msg ) /** Get the current line number. * */ -int avm2_get_lineno (void) +int as3_get_lineno (void) { - return avm2_lineno; + return as3_lineno; } /** Get the input stream. * */ -FILE *avm2_get_in (void) +FILE *as3_get_in (void) { - return avm2_in; + return as3_in; } /** Get the output stream. * */ -FILE *avm2_get_out (void) +FILE *as3_get_out (void) { - return avm2_out; + return as3_out; } /** Get the length of the current token. * */ -int avm2_get_leng (void) +int as3_get_leng (void) { - return avm2_leng; + return as3_leng; } /** Get the current token. * */ -char *avm2_get_text (void) +char *as3_get_text (void) { - return avm2_text; + return as3_text; } /** Set the current line number. * @param line_number * */ -void avm2_set_lineno (int line_number ) +void as3_set_lineno (int line_number ) { - avm2_lineno = line_number; + as3_lineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * - * @see avm2__switch_to_buffer + * @see as3__switch_to_buffer */ -void avm2_set_in (FILE * in_str ) +void as3_set_in (FILE * in_str ) { - avm2_in = in_str ; + as3_in = in_str ; } -void avm2_set_out (FILE * out_str ) +void as3_set_out (FILE * out_str ) { - avm2_out = out_str ; + as3_out = out_str ; } -int avm2_get_debug (void) +int as3_get_debug (void) { - return avm2__flex_debug; + return as3__flex_debug; } -void avm2_set_debug (int bdebug ) +void as3_set_debug (int bdebug ) { - avm2__flex_debug = bdebug ; + as3__flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. - * This function is called from avm2_lex_destroy(), so don't allocate here. + * This function is called from as3_lex_destroy(), so don't allocate here. */ (yy_buffer_stack) = 0; @@ -3396,36 +3889,36 @@ static int yy_init_globals (void) /* Defined in main.c */ #ifdef YY_STDINIT - avm2_in = stdin; - avm2_out = stdout; + as3_in = stdin; + as3_out = stdout; #else - avm2_in = (FILE *) 0; - avm2_out = (FILE *) 0; + as3_in = (FILE *) 0; + as3_out = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by - * avm2_lex_init() + * as3_lex_init() */ return 0; } -/* avm2_lex_destroy is for both reentrant and non-reentrant scanners. */ -int avm2_lex_destroy (void) +/* as3_lex_destroy is for both reentrant and non-reentrant scanners. */ +int as3_lex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ - avm2__delete_buffer(YY_CURRENT_BUFFER ); + as3__delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; - avm2_pop_buffer_state(); + as3_pop_buffer_state(); } /* Destroy the stack itself. */ - avm2_free((yy_buffer_stack) ); + as3_free((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time - * avm2_lex() is called, initialization will occur. */ + * as3_lex() is called, initialization will occur. */ yy_init_globals( ); return 0; @@ -3455,12 +3948,12 @@ static int yy_flex_strlen (yyconst char * s ) } #endif -void *avm2_alloc (yy_size_t size ) +void *as3_alloc (yy_size_t size ) { return (void *) malloc( size ); } -void *avm2_realloc (void * ptr, yy_size_t size ) +void *as3_realloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those @@ -3472,31 +3965,68 @@ void *avm2_realloc (void * ptr, yy_size_t size ) return (void *) realloc( (char *) ptr, size ); } -void avm2_free (void * ptr ) +void as3_free (void * ptr ) { - free( (char *) ptr ); /* see avm2_realloc() for (char *) cast */ + free( (char *) ptr ); /* see as3_realloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" -#line 657 "tokenizer.lex" +#line 711 "tokenizer.lex" -int avm2_wrap() +int as3_wrap() { return 1; } +static int tokenerror() +{ + char c1=as3_text[0]; + char buf[128]; + buf[0] = as3_text[0]; + int t; + for(t=1;t<128;t++) { + char c = buf[t]=input(); + if(c=='\n' || c==EOF) { + buf[t] = 0; + break; + } + } + if(c1>='0' && c1<='9') + syntaxerror("syntax error: %s (identifiers must not start with a digit)"); + else + syntaxerror("syntax error [%d]: %s", (yy_start-1)/2, buf); + printf("\n"); + exit(1); + yyterminate(); +} + + static char mbuf[256]; char*token2string(enum yytokentype nr, YYSTYPE v) { - if(nr==T_STRING) return ""; + if(nr==T_STRING) { + char*s = malloc(v.str.len+10); + strcpy(s, ""); + memcpy(s+8, v.str.str, v.str.len); + sprintf(s+8+v.str.len, " (%d bytes)", v.str.len); + return s; + } + else if(nr==T_REGEXP) { + char*s = malloc(strlen(v.regexp.pattern)+10); + sprintf(s, "%s", v.regexp.pattern); + return s; + } + else if(nr==T_IDENTIFIER) { + char*s = malloc(strlen(v.id)+10); + sprintf(s, "%s", v.id); + return s; + } else if(nr==T_INT) return ""; else if(nr==T_UINT) return ""; - else if(nr==T_BYTE) return ""; else if(nr==T_FLOAT) return ""; - else if(nr==T_REGEXP) return "REGEXP"; else if(nr==T_EOF) return "***END***"; else if(nr==T_GE) return ">="; else if(nr==T_LE) return "<="; @@ -3535,16 +4065,37 @@ char*token2string(enum yytokentype nr, YYSTYPE v) else if(nr==KW_VAR) return "var"; else if(nr==KW_IS) return "is"; else if(nr==KW_AS) return "as"; - else if(nr==T_IDENTIFIER) return "ID"; else { sprintf(mbuf, "%d", nr); return mbuf; } } +void tokenizer_begin_xml() +{ + dbg("begin reading xml"); + BEGIN(XML); +} +void tokenizer_begin_xmltext() +{ + dbg("begin reading xml text"); + BEGIN(XMLTEXT); +} +void tokenizer_end_xmltext() +{ + dbg("end reading xml text"); + BEGIN(XML); +} +void tokenizer_end_xml() +{ + dbg("end reading xml"); + BEGIN(DEFAULT); +} + void initialize_scanner() { BEGIN(BEGINNING); } +