#line 3 "xmlif/xmlif.c" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 37 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #define YY_BUF_SIZE 16384 #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif extern yy_size_t yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ yy_size_t yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ yy_size_t yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef yyconst struct yy_trans_info *yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 13 #define YY_END_OF_BUFFER 14 struct yy_trans_info { flex_int16_t yy_verify; flex_int16_t yy_nxt; }; static yyconst struct yy_trans_info yy_transition[3478] = { { 0, 0 }, { 0,3222 }, { 0, 0 }, { 0,3220 }, { 1,1548 }, { 2,1548 }, { 3,1548 }, { 4,1548 }, { 5,1548 }, { 6,1548 }, { 7,1548 }, { 8,1548 }, { 9,1548 }, { 10,1550 }, { 11,1548 }, { 12,1548 }, { 13,1548 }, { 14,1548 }, { 15,1548 }, { 16,1548 }, { 17,1548 }, { 18,1548 }, { 19,1548 }, { 20,1548 }, { 21,1548 }, { 22,1548 }, { 23,1548 }, { 24,1548 }, { 25,1548 }, { 26,1548 }, { 27,1548 }, { 28,1548 }, { 29,1548 }, { 30,1548 }, { 31,1548 }, { 32,1548 }, { 33,1548 }, { 34,1548 }, { 35,1548 }, { 36,1548 }, { 37,1548 }, { 38,1548 }, { 39,1548 }, { 40,1548 }, { 41,1548 }, { 42,1548 }, { 43,1548 }, { 44,1548 }, { 45,1548 }, { 46,1548 }, { 47,1548 }, { 48,1548 }, { 49,1548 }, { 50,1548 }, { 51,1548 }, { 52,1548 }, { 53,1548 }, { 54,1548 }, { 55,1548 }, { 56,1548 }, { 57,1548 }, { 58,1548 }, { 59,1548 }, { 60,1552 }, { 61,1548 }, { 62,1548 }, { 63,1548 }, { 64,1548 }, { 65,1548 }, { 66,1548 }, { 67,1548 }, { 68,1548 }, { 69,1548 }, { 70,1548 }, { 71,1548 }, { 72,1548 }, { 73,1548 }, { 74,1548 }, { 75,1548 }, { 76,1548 }, { 77,1548 }, { 78,1548 }, { 79,1548 }, { 80,1548 }, { 81,1548 }, { 82,1548 }, { 83,1548 }, { 84,1548 }, { 85,1548 }, { 86,1548 }, { 87,1548 }, { 88,1548 }, { 89,1548 }, { 90,1548 }, { 91,1548 }, { 92,1548 }, { 93,1548 }, { 94,1548 }, { 95,1548 }, { 96,1548 }, { 97,1548 }, { 98,1548 }, { 99,1548 }, { 100,1548 }, { 101,1548 }, { 102,1548 }, { 103,1548 }, { 104,1548 }, { 105,1548 }, { 106,1548 }, { 107,1548 }, { 108,1548 }, { 109,1548 }, { 110,1548 }, { 111,1548 }, { 112,1548 }, { 113,1548 }, { 114,1548 }, { 115,1548 }, { 116,1548 }, { 117,1548 }, { 118,1548 }, { 119,1548 }, { 120,1548 }, { 121,1548 }, { 122,1548 }, { 123,1548 }, { 124,1548 }, { 125,1548 }, { 126,1548 }, { 127,1548 }, { 128,1548 }, { 129,1548 }, { 130,1548 }, { 131,1548 }, { 132,1548 }, { 133,1548 }, { 134,1548 }, { 135,1548 }, { 136,1548 }, { 137,1548 }, { 138,1548 }, { 139,1548 }, { 140,1548 }, { 141,1548 }, { 142,1548 }, { 143,1548 }, { 144,1548 }, { 145,1548 }, { 146,1548 }, { 147,1548 }, { 148,1548 }, { 149,1548 }, { 150,1548 }, { 151,1548 }, { 152,1548 }, { 153,1548 }, { 154,1548 }, { 155,1548 }, { 156,1548 }, { 157,1548 }, { 158,1548 }, { 159,1548 }, { 160,1548 }, { 161,1548 }, { 162,1548 }, { 163,1548 }, { 164,1548 }, { 165,1548 }, { 166,1548 }, { 167,1548 }, { 168,1548 }, { 169,1548 }, { 170,1548 }, { 171,1548 }, { 172,1548 }, { 173,1548 }, { 174,1548 }, { 175,1548 }, { 176,1548 }, { 177,1548 }, { 178,1548 }, { 179,1548 }, { 180,1548 }, { 181,1548 }, { 182,1548 }, { 183,1548 }, { 184,1548 }, { 185,1548 }, { 186,1548 }, { 187,1548 }, { 188,1548 }, { 189,1548 }, { 190,1548 }, { 191,1548 }, { 192,1548 }, { 193,1548 }, { 194,1548 }, { 195,1548 }, { 196,1548 }, { 197,1548 }, { 198,1548 }, { 199,1548 }, { 200,1548 }, { 201,1548 }, { 202,1548 }, { 203,1548 }, { 204,1548 }, { 205,1548 }, { 206,1548 }, { 207,1548 }, { 208,1548 }, { 209,1548 }, { 210,1548 }, { 211,1548 }, { 212,1548 }, { 213,1548 }, { 214,1548 }, { 215,1548 }, { 216,1548 }, { 217,1548 }, { 218,1548 }, { 219,1548 }, { 220,1548 }, { 221,1548 }, { 222,1548 }, { 223,1548 }, { 224,1548 }, { 225,1548 }, { 226,1548 }, { 227,1548 }, { 228,1548 }, { 229,1548 }, { 230,1548 }, { 231,1548 }, { 232,1548 }, { 233,1548 }, { 234,1548 }, { 235,1548 }, { 236,1548 }, { 237,1548 }, { 238,1548 }, { 239,1548 }, { 240,1548 }, { 241,1548 }, { 242,1548 }, { 243,1548 }, { 244,1548 }, { 245,1548 }, { 246,1548 }, { 247,1548 }, { 248,1548 }, { 249,1548 }, { 250,1548 }, { 251,1548 }, { 252,1548 }, { 253,1548 }, { 254,1548 }, { 255,1548 }, { 256,1548 }, { 0, 0 }, { 0,2962 }, { 1,1290 }, { 2,1290 }, { 3,1290 }, { 4,1290 }, { 5,1290 }, { 6,1290 }, { 7,1290 }, { 8,1290 }, { 9,1290 }, { 10,1292 }, { 11,1290 }, { 12,1290 }, { 13,1290 }, { 14,1290 }, { 15,1290 }, { 16,1290 }, { 17,1290 }, { 18,1290 }, { 19,1290 }, { 20,1290 }, { 21,1290 }, { 22,1290 }, { 23,1290 }, { 24,1290 }, { 25,1290 }, { 26,1290 }, { 27,1290 }, { 28,1290 }, { 29,1290 }, { 30,1290 }, { 31,1290 }, { 32,1290 }, { 33,1290 }, { 34,1290 }, { 35,1290 }, { 36,1290 }, { 37,1290 }, { 38,1290 }, { 39,1290 }, { 40,1290 }, { 41,1290 }, { 42,1290 }, { 43,1290 }, { 44,1290 }, { 45,1290 }, { 46,1290 }, { 47,1290 }, { 48,1290 }, { 49,1290 }, { 50,1290 }, { 51,1290 }, { 52,1290 }, { 53,1290 }, { 54,1290 }, { 55,1290 }, { 56,1290 }, { 57,1290 }, { 58,1290 }, { 59,1290 }, { 60,1294 }, { 61,1290 }, { 62,1290 }, { 63,1290 }, { 64,1290 }, { 65,1290 }, { 66,1290 }, { 67,1290 }, { 68,1290 }, { 69,1290 }, { 70,1290 }, { 71,1290 }, { 72,1290 }, { 73,1290 }, { 74,1290 }, { 75,1290 }, { 76,1290 }, { 77,1290 }, { 78,1290 }, { 79,1290 }, { 80,1290 }, { 81,1290 }, { 82,1290 }, { 83,1290 }, { 84,1290 }, { 85,1290 }, { 86,1290 }, { 87,1290 }, { 88,1290 }, { 89,1290 }, { 90,1290 }, { 91,1290 }, { 92,1290 }, { 93,1290 }, { 94,1290 }, { 95,1290 }, { 96,1290 }, { 97,1290 }, { 98,1290 }, { 99,1290 }, { 100,1290 }, { 101,1290 }, { 102,1290 }, { 103,1290 }, { 104,1290 }, { 105,1290 }, { 106,1290 }, { 107,1290 }, { 108,1290 }, { 109,1290 }, { 110,1290 }, { 111,1290 }, { 112,1290 }, { 113,1290 }, { 114,1290 }, { 115,1290 }, { 116,1290 }, { 117,1290 }, { 118,1290 }, { 119,1290 }, { 120,1290 }, { 121,1290 }, { 122,1290 }, { 123,1290 }, { 124,1290 }, { 125,1290 }, { 126,1290 }, { 127,1290 }, { 128,1290 }, { 129,1290 }, { 130,1290 }, { 131,1290 }, { 132,1290 }, { 133,1290 }, { 134,1290 }, { 135,1290 }, { 136,1290 }, { 137,1290 }, { 138,1290 }, { 139,1290 }, { 140,1290 }, { 141,1290 }, { 142,1290 }, { 143,1290 }, { 144,1290 }, { 145,1290 }, { 146,1290 }, { 147,1290 }, { 148,1290 }, { 149,1290 }, { 150,1290 }, { 151,1290 }, { 152,1290 }, { 153,1290 }, { 154,1290 }, { 155,1290 }, { 156,1290 }, { 157,1290 }, { 158,1290 }, { 159,1290 }, { 160,1290 }, { 161,1290 }, { 162,1290 }, { 163,1290 }, { 164,1290 }, { 165,1290 }, { 166,1290 }, { 167,1290 }, { 168,1290 }, { 169,1290 }, { 170,1290 }, { 171,1290 }, { 172,1290 }, { 173,1290 }, { 174,1290 }, { 175,1290 }, { 176,1290 }, { 177,1290 }, { 178,1290 }, { 179,1290 }, { 180,1290 }, { 181,1290 }, { 182,1290 }, { 183,1290 }, { 184,1290 }, { 185,1290 }, { 186,1290 }, { 187,1290 }, { 188,1290 }, { 189,1290 }, { 190,1290 }, { 191,1290 }, { 192,1290 }, { 193,1290 }, { 194,1290 }, { 195,1290 }, { 196,1290 }, { 197,1290 }, { 198,1290 }, { 199,1290 }, { 200,1290 }, { 201,1290 }, { 202,1290 }, { 203,1290 }, { 204,1290 }, { 205,1290 }, { 206,1290 }, { 207,1290 }, { 208,1290 }, { 209,1290 }, { 210,1290 }, { 211,1290 }, { 212,1290 }, { 213,1290 }, { 214,1290 }, { 215,1290 }, { 216,1290 }, { 217,1290 }, { 218,1290 }, { 219,1290 }, { 220,1290 }, { 221,1290 }, { 222,1290 }, { 223,1290 }, { 224,1290 }, { 225,1290 }, { 226,1290 }, { 227,1290 }, { 228,1290 }, { 229,1290 }, { 230,1290 }, { 231,1290 }, { 232,1290 }, { 233,1290 }, { 234,1290 }, { 235,1290 }, { 236,1290 }, { 237,1290 }, { 238,1290 }, { 239,1290 }, { 240,1290 }, { 241,1290 }, { 242,1290 }, { 243,1290 }, { 244,1290 }, { 245,1290 }, { 246,1290 }, { 247,1290 }, { 248,1290 }, { 249,1290 }, { 250,1290 }, { 251,1290 }, { 252,1290 }, { 253,1290 }, { 254,1290 }, { 255,1290 }, { 256,1290 }, { 0, 0 }, { 0,2704 }, { 1,1034 }, { 2,1034 }, { 3,1034 }, { 4,1034 }, { 5,1034 }, { 6,1034 }, { 7,1034 }, { 8,1034 }, { 9,1034 }, { 10,1034 }, { 11,1034 }, { 12,1034 }, { 13,1034 }, { 14,1034 }, { 15,1034 }, { 16,1034 }, { 17,1034 }, { 18,1034 }, { 19,1034 }, { 20,1034 }, { 21,1034 }, { 22,1034 }, { 23,1034 }, { 24,1034 }, { 25,1034 }, { 26,1034 }, { 27,1034 }, { 28,1034 }, { 29,1034 }, { 30,1034 }, { 31,1034 }, { 32,1034 }, { 33,1034 }, { 34,1034 }, { 35,1034 }, { 36,1034 }, { 37,1034 }, { 38,1034 }, { 39,1034 }, { 40,1034 }, { 41,1034 }, { 42,1034 }, { 43,1034 }, { 44,1034 }, { 45,1034 }, { 46,1034 }, { 47,1034 }, { 48,1034 }, { 49,1034 }, { 50,1034 }, { 51,1034 }, { 52,1034 }, { 53,1034 }, { 54,1034 }, { 55,1034 }, { 56,1034 }, { 57,1034 }, { 58,1034 }, { 59,1034 }, { 60,1034 }, { 61,1038 }, { 62,1034 }, { 63,1040 }, { 64,1034 }, { 65,1034 }, { 66,1034 }, { 67,1034 }, { 68,1034 }, { 69,1034 }, { 70,1034 }, { 71,1034 }, { 72,1034 }, { 73,1034 }, { 74,1034 }, { 75,1034 }, { 76,1034 }, { 77,1034 }, { 78,1034 }, { 79,1034 }, { 80,1034 }, { 81,1034 }, { 82,1034 }, { 83,1034 }, { 84,1034 }, { 85,1034 }, { 86,1034 }, { 87,1034 }, { 88,1034 }, { 89,1034 }, { 90,1034 }, { 91,1034 }, { 92,1034 }, { 93,1034 }, { 94,1034 }, { 95,1034 }, { 96,1034 }, { 97,1055 }, { 98,1055 }, { 99,1055 }, { 100,1055 }, { 101,1055 }, { 102,1055 }, { 103,1055 }, { 104,1055 }, { 105,1055 }, { 106,1055 }, { 107,1055 }, { 108,1055 }, { 109,1055 }, { 110,1055 }, { 111,1055 }, { 112,1055 }, { 113,1055 }, { 114,1055 }, { 115,1055 }, { 116,1055 }, { 117,1055 }, { 118,1055 }, { 119,1055 }, { 120,1055 }, { 121,1055 }, { 122,1055 }, { 123,1034 }, { 124,1034 }, { 125,1034 }, { 126,1034 }, { 127,1034 }, { 128,1034 }, { 129,1034 }, { 130,1034 }, { 131,1034 }, { 132,1034 }, { 133,1034 }, { 134,1034 }, { 135,1034 }, { 136,1034 }, { 137,1034 }, { 138,1034 }, { 139,1034 }, { 140,1034 }, { 141,1034 }, { 142,1034 }, { 143,1034 }, { 144,1034 }, { 145,1034 }, { 146,1034 }, { 147,1034 }, { 148,1034 }, { 149,1034 }, { 150,1034 }, { 151,1034 }, { 152,1034 }, { 153,1034 }, { 154,1034 }, { 155,1034 }, { 156,1034 }, { 157,1034 }, { 158,1034 }, { 159,1034 }, { 160,1034 }, { 161,1034 }, { 162,1034 }, { 163,1034 }, { 164,1034 }, { 165,1034 }, { 166,1034 }, { 167,1034 }, { 168,1034 }, { 169,1034 }, { 170,1034 }, { 171,1034 }, { 172,1034 }, { 173,1034 }, { 174,1034 }, { 175,1034 }, { 176,1034 }, { 177,1034 }, { 178,1034 }, { 179,1034 }, { 180,1034 }, { 181,1034 }, { 182,1034 }, { 183,1034 }, { 184,1034 }, { 185,1034 }, { 186,1034 }, { 187,1034 }, { 188,1034 }, { 189,1034 }, { 190,1034 }, { 191,1034 }, { 192,1034 }, { 193,1034 }, { 194,1034 }, { 195,1034 }, { 196,1034 }, { 197,1034 }, { 198,1034 }, { 199,1034 }, { 200,1034 }, { 201,1034 }, { 202,1034 }, { 203,1034 }, { 204,1034 }, { 205,1034 }, { 206,1034 }, { 207,1034 }, { 208,1034 }, { 209,1034 }, { 210,1034 }, { 211,1034 }, { 212,1034 }, { 213,1034 }, { 214,1034 }, { 215,1034 }, { 216,1034 }, { 217,1034 }, { 218,1034 }, { 219,1034 }, { 220,1034 }, { 221,1034 }, { 222,1034 }, { 223,1034 }, { 224,1034 }, { 225,1034 }, { 226,1034 }, { 227,1034 }, { 228,1034 }, { 229,1034 }, { 230,1034 }, { 231,1034 }, { 232,1034 }, { 233,1034 }, { 234,1034 }, { 235,1034 }, { 236,1034 }, { 237,1034 }, { 238,1034 }, { 239,1034 }, { 240,1034 }, { 241,1034 }, { 242,1034 }, { 243,1034 }, { 244,1034 }, { 245,1034 }, { 246,1034 }, { 247,1034 }, { 248,1034 }, { 249,1034 }, { 250,1034 }, { 251,1034 }, { 252,1034 }, { 253,1034 }, { 254,1034 }, { 255,1034 }, { 256,1034 }, { 0, 0 }, { 0,2446 }, { 1, 776 }, { 2, 776 }, { 3, 776 }, { 4, 776 }, { 5, 776 }, { 6, 776 }, { 7, 776 }, { 8, 776 }, { 9, 776 }, { 10, 776 }, { 11, 776 }, { 12, 776 }, { 13, 776 }, { 14, 776 }, { 15, 776 }, { 16, 776 }, { 17, 776 }, { 18, 776 }, { 19, 776 }, { 20, 776 }, { 21, 776 }, { 22, 776 }, { 23, 776 }, { 24, 776 }, { 25, 776 }, { 26, 776 }, { 27, 776 }, { 28, 776 }, { 29, 776 }, { 30, 776 }, { 31, 776 }, { 32, 776 }, { 33, 776 }, { 34, 776 }, { 35, 776 }, { 36, 776 }, { 37, 776 }, { 38, 776 }, { 39, 776 }, { 40, 776 }, { 41, 776 }, { 42, 776 }, { 43, 776 }, { 44, 776 }, { 45, 776 }, { 46, 776 }, { 47, 776 }, { 48, 776 }, { 49, 776 }, { 50, 776 }, { 51, 776 }, { 52, 776 }, { 53, 776 }, { 54, 776 }, { 55, 776 }, { 56, 776 }, { 57, 776 }, { 58, 776 }, { 59, 776 }, { 60, 776 }, { 61, 780 }, { 62, 776 }, { 63, 782 }, { 64, 776 }, { 65, 776 }, { 66, 776 }, { 67, 776 }, { 68, 776 }, { 69, 776 }, { 70, 776 }, { 71, 776 }, { 72, 776 }, { 73, 776 }, { 74, 776 }, { 75, 776 }, { 76, 776 }, { 77, 776 }, { 78, 776 }, { 79, 776 }, { 80, 776 }, { 81, 776 }, { 82, 776 }, { 83, 776 }, { 84, 776 }, { 85, 776 }, { 86, 776 }, { 87, 776 }, { 88, 776 }, { 89, 776 }, { 90, 776 }, { 91, 776 }, { 92, 776 }, { 93, 776 }, { 94, 776 }, { 95, 776 }, { 96, 776 }, { 97, 797 }, { 98, 797 }, { 99, 797 }, { 100, 797 }, { 101, 797 }, { 102, 797 }, { 103, 797 }, { 104, 797 }, { 105, 797 }, { 106, 797 }, { 107, 797 }, { 108, 797 }, { 109, 797 }, { 110, 797 }, { 111, 797 }, { 112, 797 }, { 113, 797 }, { 114, 797 }, { 115, 797 }, { 116, 797 }, { 117, 797 }, { 118, 797 }, { 119, 797 }, { 120, 797 }, { 121, 797 }, { 122, 797 }, { 123, 776 }, { 124, 776 }, { 125, 776 }, { 126, 776 }, { 127, 776 }, { 128, 776 }, { 129, 776 }, { 130, 776 }, { 131, 776 }, { 132, 776 }, { 133, 776 }, { 134, 776 }, { 135, 776 }, { 136, 776 }, { 137, 776 }, { 138, 776 }, { 139, 776 }, { 140, 776 }, { 141, 776 }, { 142, 776 }, { 143, 776 }, { 144, 776 }, { 145, 776 }, { 146, 776 }, { 147, 776 }, { 148, 776 }, { 149, 776 }, { 150, 776 }, { 151, 776 }, { 152, 776 }, { 153, 776 }, { 154, 776 }, { 155, 776 }, { 156, 776 }, { 157, 776 }, { 158, 776 }, { 159, 776 }, { 160, 776 }, { 161, 776 }, { 162, 776 }, { 163, 776 }, { 164, 776 }, { 165, 776 }, { 166, 776 }, { 167, 776 }, { 168, 776 }, { 169, 776 }, { 170, 776 }, { 171, 776 }, { 172, 776 }, { 173, 776 }, { 174, 776 }, { 175, 776 }, { 176, 776 }, { 177, 776 }, { 178, 776 }, { 179, 776 }, { 180, 776 }, { 181, 776 }, { 182, 776 }, { 183, 776 }, { 184, 776 }, { 185, 776 }, { 186, 776 }, { 187, 776 }, { 188, 776 }, { 189, 776 }, { 190, 776 }, { 191, 776 }, { 192, 776 }, { 193, 776 }, { 194, 776 }, { 195, 776 }, { 196, 776 }, { 197, 776 }, { 198, 776 }, { 199, 776 }, { 200, 776 }, { 201, 776 }, { 202, 776 }, { 203, 776 }, { 204, 776 }, { 205, 776 }, { 206, 776 }, { 207, 776 }, { 208, 776 }, { 209, 776 }, { 210, 776 }, { 211, 776 }, { 212, 776 }, { 213, 776 }, { 214, 776 }, { 215, 776 }, { 216, 776 }, { 217, 776 }, { 218, 776 }, { 219, 776 }, { 220, 776 }, { 221, 776 }, { 222, 776 }, { 223, 776 }, { 224, 776 }, { 225, 776 }, { 226, 776 }, { 227, 776 }, { 228, 776 }, { 229, 776 }, { 230, 776 }, { 231, 776 }, { 232, 776 }, { 233, 776 }, { 234, 776 }, { 235, 776 }, { 236, 776 }, { 237, 776 }, { 238, 776 }, { 239, 776 }, { 240, 776 }, { 241, 776 }, { 242, 776 }, { 243, 776 }, { 244, 776 }, { 245, 776 }, { 246, 776 }, { 247, 776 }, { 248, 776 }, { 249, 776 }, { 250, 776 }, { 251, 776 }, { 252, 776 }, { 253, 776 }, { 254, 776 }, { 255, 776 }, { 256, 776 }, { 0, 0 }, { 0,2188 }, { 1, 518 }, { 2, 518 }, { 3, 518 }, { 4, 518 }, { 5, 518 }, { 6, 518 }, { 7, 518 }, { 8, 518 }, { 9, 518 }, { 10, 518 }, { 11, 518 }, { 12, 518 }, { 13, 518 }, { 14, 518 }, { 15, 518 }, { 16, 518 }, { 17, 518 }, { 18, 518 }, { 19, 518 }, { 20, 518 }, { 21, 518 }, { 22, 518 }, { 23, 518 }, { 24, 518 }, { 25, 518 }, { 26, 518 }, { 27, 518 }, { 28, 518 }, { 29, 518 }, { 30, 518 }, { 31, 518 }, { 32, 518 }, { 33, 518 }, { 34, 663 }, { 35, 518 }, { 36, 518 }, { 37, 518 }, { 38, 518 }, { 39, 921 }, { 40, 518 }, { 41, 518 }, { 42, 518 }, { 43, 518 }, { 44, 518 }, { 45, 518 }, { 46, 518 }, { 47, 518 }, { 48, 518 }, { 49, 518 }, { 50, 518 }, { 51, 518 }, { 52, 518 }, { 53, 518 }, { 54, 518 }, { 55, 518 }, { 56, 518 }, { 57, 518 }, { 58, 518 }, { 59, 518 }, { 60, 518 }, { 61, 518 }, { 62, 518 }, { 63, 535 }, { 64, 518 }, { 65, 518 }, { 66, 518 }, { 67, 518 }, { 68, 518 }, { 69, 518 }, { 70, 518 }, { 71, 518 }, { 72, 518 }, { 73, 518 }, { 74, 518 }, { 75, 518 }, { 76, 518 }, { 77, 518 }, { 78, 518 }, { 79, 518 }, { 80, 518 }, { 81, 518 }, { 82, 518 }, { 83, 518 }, { 84, 518 }, { 85, 518 }, { 86, 518 }, { 87, 518 }, { 88, 518 }, { 89, 518 }, { 90, 518 }, { 91, 518 }, { 92, 518 }, { 93, 518 }, { 94, 518 }, { 95, 518 }, { 96, 518 }, { 97, 518 }, { 98, 518 }, { 99, 518 }, { 100, 518 }, { 101, 518 }, { 102, 518 }, { 103, 518 }, { 104, 518 }, { 105, 518 }, { 106, 518 }, { 107, 518 }, { 108, 518 }, { 109, 518 }, { 110, 518 }, { 111, 518 }, { 112, 518 }, { 113, 518 }, { 114, 518 }, { 115, 518 }, { 116, 518 }, { 117, 518 }, { 118, 518 }, { 119, 518 }, { 120, 518 }, { 121, 518 }, { 122, 518 }, { 123, 518 }, { 124, 518 }, { 125, 518 }, { 126, 518 }, { 127, 518 }, { 128, 518 }, { 129, 518 }, { 130, 518 }, { 131, 518 }, { 132, 518 }, { 133, 518 }, { 134, 518 }, { 135, 518 }, { 136, 518 }, { 137, 518 }, { 138, 518 }, { 139, 518 }, { 140, 518 }, { 141, 518 }, { 142, 518 }, { 143, 518 }, { 144, 518 }, { 145, 518 }, { 146, 518 }, { 147, 518 }, { 148, 518 }, { 149, 518 }, { 150, 518 }, { 151, 518 }, { 152, 518 }, { 153, 518 }, { 154, 518 }, { 155, 518 }, { 156, 518 }, { 157, 518 }, { 158, 518 }, { 159, 518 }, { 160, 518 }, { 161, 518 }, { 162, 518 }, { 163, 518 }, { 164, 518 }, { 165, 518 }, { 166, 518 }, { 167, 518 }, { 168, 518 }, { 169, 518 }, { 170, 518 }, { 171, 518 }, { 172, 518 }, { 173, 518 }, { 174, 518 }, { 175, 518 }, { 176, 518 }, { 177, 518 }, { 178, 518 }, { 179, 518 }, { 180, 518 }, { 181, 518 }, { 182, 518 }, { 183, 518 }, { 184, 518 }, { 185, 518 }, { 186, 518 }, { 187, 518 }, { 188, 518 }, { 189, 518 }, { 190, 518 }, { 191, 518 }, { 192, 518 }, { 193, 518 }, { 194, 518 }, { 195, 518 }, { 196, 518 }, { 197, 518 }, { 198, 518 }, { 199, 518 }, { 200, 518 }, { 201, 518 }, { 202, 518 }, { 203, 518 }, { 204, 518 }, { 205, 518 }, { 206, 518 }, { 207, 518 }, { 208, 518 }, { 209, 518 }, { 210, 518 }, { 211, 518 }, { 212, 518 }, { 213, 518 }, { 214, 518 }, { 215, 518 }, { 216, 518 }, { 217, 518 }, { 218, 518 }, { 219, 518 }, { 220, 518 }, { 221, 518 }, { 222, 518 }, { 223, 518 }, { 224, 518 }, { 225, 518 }, { 226, 518 }, { 227, 518 }, { 228, 518 }, { 229, 518 }, { 230, 518 }, { 231, 518 }, { 232, 518 }, { 233, 518 }, { 234, 518 }, { 235, 518 }, { 236, 518 }, { 237, 518 }, { 238, 518 }, { 239, 518 }, { 240, 518 }, { 241, 518 }, { 242, 518 }, { 243, 518 }, { 244, 518 }, { 245, 518 }, { 246, 518 }, { 247, 518 }, { 248, 518 }, { 249, 518 }, { 250, 518 }, { 251, 518 }, { 252, 518 }, { 253, 518 }, { 254, 518 }, { 255, 518 }, { 256, 518 }, { 0, 0 }, { 0,1930 }, { 1, 260 }, { 2, 260 }, { 3, 260 }, { 4, 260 }, { 5, 260 }, { 6, 260 }, { 7, 260 }, { 8, 260 }, { 9, 260 }, { 10, 260 }, { 11, 260 }, { 12, 260 }, { 13, 260 }, { 14, 260 }, { 15, 260 }, { 16, 260 }, { 17, 260 }, { 18, 260 }, { 19, 260 }, { 20, 260 }, { 21, 260 }, { 22, 260 }, { 23, 260 }, { 24, 260 }, { 25, 260 }, { 26, 260 }, { 27, 260 }, { 28, 260 }, { 29, 260 }, { 30, 260 }, { 31, 260 }, { 32, 260 }, { 33, 260 }, { 34, 405 }, { 35, 260 }, { 36, 260 }, { 37, 260 }, { 38, 260 }, { 39, 663 }, { 40, 260 }, { 41, 260 }, { 42, 260 }, { 43, 260 }, { 44, 260 }, { 45, 260 }, { 46, 260 }, { 47, 260 }, { 48, 260 }, { 49, 260 }, { 50, 260 }, { 51, 260 }, { 52, 260 }, { 53, 260 }, { 54, 260 }, { 55, 260 }, { 56, 260 }, { 57, 260 }, { 58, 260 }, { 59, 260 }, { 60, 260 }, { 61, 260 }, { 62, 260 }, { 63, 277 }, { 64, 260 }, { 65, 260 }, { 66, 260 }, { 67, 260 }, { 68, 260 }, { 69, 260 }, { 70, 260 }, { 71, 260 }, { 72, 260 }, { 73, 260 }, { 74, 260 }, { 75, 260 }, { 76, 260 }, { 77, 260 }, { 78, 260 }, { 79, 260 }, { 80, 260 }, { 81, 260 }, { 82, 260 }, { 83, 260 }, { 84, 260 }, { 85, 260 }, { 86, 260 }, { 87, 260 }, { 88, 260 }, { 89, 260 }, { 90, 260 }, { 91, 260 }, { 92, 260 }, { 93, 260 }, { 94, 260 }, { 95, 260 }, { 96, 260 }, { 97, 260 }, { 98, 260 }, { 99, 260 }, { 100, 260 }, { 101, 260 }, { 102, 260 }, { 103, 260 }, { 104, 260 }, { 105, 260 }, { 106, 260 }, { 107, 260 }, { 108, 260 }, { 109, 260 }, { 110, 260 }, { 111, 260 }, { 112, 260 }, { 113, 260 }, { 114, 260 }, { 115, 260 }, { 116, 260 }, { 117, 260 }, { 118, 260 }, { 119, 260 }, { 120, 260 }, { 121, 260 }, { 122, 260 }, { 123, 260 }, { 124, 260 }, { 125, 260 }, { 126, 260 }, { 127, 260 }, { 128, 260 }, { 129, 260 }, { 130, 260 }, { 131, 260 }, { 132, 260 }, { 133, 260 }, { 134, 260 }, { 135, 260 }, { 136, 260 }, { 137, 260 }, { 138, 260 }, { 139, 260 }, { 140, 260 }, { 141, 260 }, { 142, 260 }, { 143, 260 }, { 144, 260 }, { 145, 260 }, { 146, 260 }, { 147, 260 }, { 148, 260 }, { 149, 260 }, { 150, 260 }, { 151, 260 }, { 152, 260 }, { 153, 260 }, { 154, 260 }, { 155, 260 }, { 156, 260 }, { 157, 260 }, { 158, 260 }, { 159, 260 }, { 160, 260 }, { 161, 260 }, { 162, 260 }, { 163, 260 }, { 164, 260 }, { 165, 260 }, { 166, 260 }, { 167, 260 }, { 168, 260 }, { 169, 260 }, { 170, 260 }, { 171, 260 }, { 172, 260 }, { 173, 260 }, { 174, 260 }, { 175, 260 }, { 176, 260 }, { 177, 260 }, { 178, 260 }, { 179, 260 }, { 180, 260 }, { 181, 260 }, { 182, 260 }, { 183, 260 }, { 184, 260 }, { 185, 260 }, { 186, 260 }, { 187, 260 }, { 188, 260 }, { 189, 260 }, { 190, 260 }, { 191, 260 }, { 192, 260 }, { 193, 260 }, { 194, 260 }, { 195, 260 }, { 196, 260 }, { 197, 260 }, { 198, 260 }, { 199, 260 }, { 200, 260 }, { 201, 260 }, { 202, 260 }, { 203, 260 }, { 204, 260 }, { 205, 260 }, { 206, 260 }, { 207, 260 }, { 208, 260 }, { 209, 260 }, { 210, 260 }, { 211, 260 }, { 212, 260 }, { 213, 260 }, { 214, 260 }, { 215, 260 }, { 216, 260 }, { 217, 260 }, { 218, 260 }, { 219, 260 }, { 220, 260 }, { 221, 260 }, { 222, 260 }, { 223, 260 }, { 224, 260 }, { 225, 260 }, { 226, 260 }, { 227, 260 }, { 228, 260 }, { 229, 260 }, { 230, 260 }, { 231, 260 }, { 232, 260 }, { 233, 260 }, { 234, 260 }, { 235, 260 }, { 236, 260 }, { 237, 260 }, { 238, 260 }, { 239, 260 }, { 240, 260 }, { 241, 260 }, { 242, 260 }, { 243, 260 }, { 244, 260 }, { 245, 260 }, { 246, 260 }, { 247, 260 }, { 248, 260 }, { 249, 260 }, { 250, 260 }, { 251, 260 }, { 252, 260 }, { 253, 260 }, { 254, 260 }, { 255, 260 }, { 256, 260 }, { 0, 12 }, { 0,1672 }, { 0, 13 }, { 0,1670 }, { 0, 12 }, { 0,1668 }, { 0, 8 }, { 0,1666 }, { 0, 13 }, { 0,1664 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 13 }, { 0,1653 }, { 0, 0 }, { 0, 0 }, { 0, 7 }, { 0,1649 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 63, 659 }, { 0, 0 }, { 0, 0 }, { 62, 657 }, { 48, 664 }, { 49, 664 }, { 50, 664 }, { 51, 664 }, { 52, 664 }, { 53, 664 }, { 54, 664 }, { 55, 664 }, { 56, 664 }, { 57, 664 }, { 62, 650 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97, 664 }, { 98, 664 }, { 99, 664 }, { 100, 664 }, { 101, 664 }, { 102, 664 }, { 103, 664 }, { 104, 664 }, { 105, 664 }, { 106, 664 }, { 107, 664 }, { 108, 664 }, { 109, 664 }, { 110, 664 }, { 111, 664 }, { 112, 664 }, { 113, 664 }, { 114, 664 }, { 115, 664 }, { 116, 664 }, { 117, 664 }, { 118, 664 }, { 119, 664 }, { 120, 664 }, { 121, 664 }, { 122, 664 }, { 0, 13 }, { 0,1525 }, { 1, 664 }, { 2, 664 }, { 3, 664 }, { 4, 664 }, { 5, 664 }, { 6, 664 }, { 7, 664 }, { 8, 664 }, { 9, 664 }, { 10, 664 }, { 11, 664 }, { 12, 664 }, { 13, 664 }, { 14, 664 }, { 15, 664 }, { 16, 664 }, { 17, 664 }, { 18, 664 }, { 19, 664 }, { 20, 664 }, { 21, 664 }, { 22, 664 }, { 23, 664 }, { 24, 664 }, { 25, 664 }, { 26, 664 }, { 27, 664 }, { 28, 664 }, { 29, 664 }, { 30, 664 }, { 31, 664 }, { 32, 664 }, { 33, 664 }, { 34, 520 }, { 35, 664 }, { 36, 664 }, { 37, 664 }, { 38, 664 }, { 39, 664 }, { 40, 664 }, { 41, 664 }, { 42, 664 }, { 43, 664 }, { 44, 664 }, { 45, 664 }, { 46, 664 }, { 47, 664 }, { 48, 664 }, { 49, 664 }, { 50, 664 }, { 51, 664 }, { 52, 664 }, { 53, 664 }, { 54, 664 }, { 55, 664 }, { 56, 664 }, { 57, 664 }, { 58, 664 }, { 59, 664 }, { 60, 664 }, { 61, 664 }, { 62, 664 }, { 63, 664 }, { 64, 664 }, { 65, 664 }, { 66, 664 }, { 67, 664 }, { 68, 664 }, { 69, 664 }, { 70, 664 }, { 71, 664 }, { 72, 664 }, { 73, 664 }, { 74, 664 }, { 75, 664 }, { 76, 664 }, { 77, 664 }, { 78, 664 }, { 79, 664 }, { 80, 664 }, { 81, 664 }, { 82, 664 }, { 83, 664 }, { 84, 664 }, { 85, 664 }, { 86, 664 }, { 87, 664 }, { 88, 664 }, { 89, 664 }, { 90, 664 }, { 91, 664 }, { 92, 664 }, { 93, 664 }, { 94, 664 }, { 95, 664 }, { 96, 664 }, { 97, 664 }, { 98, 664 }, { 99, 664 }, { 100, 664 }, { 101, 664 }, { 102, 664 }, { 103, 664 }, { 104, 664 }, { 105, 664 }, { 106, 664 }, { 107, 664 }, { 108, 664 }, { 109, 664 }, { 110, 664 }, { 111, 664 }, { 112, 664 }, { 113, 664 }, { 114, 664 }, { 115, 664 }, { 116, 664 }, { 117, 664 }, { 118, 664 }, { 119, 664 }, { 120, 664 }, { 121, 664 }, { 122, 664 }, { 123, 664 }, { 124, 664 }, { 125, 664 }, { 126, 664 }, { 127, 664 }, { 128, 664 }, { 129, 664 }, { 130, 664 }, { 131, 664 }, { 132, 664 }, { 133, 664 }, { 134, 664 }, { 135, 664 }, { 136, 664 }, { 137, 664 }, { 138, 664 }, { 139, 664 }, { 140, 664 }, { 141, 664 }, { 142, 664 }, { 143, 664 }, { 144, 664 }, { 145, 664 }, { 146, 664 }, { 147, 664 }, { 148, 664 }, { 149, 664 }, { 150, 664 }, { 151, 664 }, { 152, 664 }, { 153, 664 }, { 154, 664 }, { 155, 664 }, { 156, 664 }, { 157, 664 }, { 158, 664 }, { 159, 664 }, { 160, 664 }, { 161, 664 }, { 162, 664 }, { 163, 664 }, { 164, 664 }, { 165, 664 }, { 166, 664 }, { 167, 664 }, { 168, 664 }, { 169, 664 }, { 170, 664 }, { 171, 664 }, { 172, 664 }, { 173, 664 }, { 174, 664 }, { 175, 664 }, { 176, 664 }, { 177, 664 }, { 178, 664 }, { 179, 664 }, { 180, 664 }, { 181, 664 }, { 182, 664 }, { 183, 664 }, { 184, 664 }, { 185, 664 }, { 186, 664 }, { 187, 664 }, { 188, 664 }, { 189, 664 }, { 190, 664 }, { 191, 664 }, { 192, 664 }, { 193, 664 }, { 194, 664 }, { 195, 664 }, { 196, 664 }, { 197, 664 }, { 198, 664 }, { 199, 664 }, { 200, 664 }, { 201, 664 }, { 202, 664 }, { 203, 664 }, { 204, 664 }, { 205, 664 }, { 206, 664 }, { 207, 664 }, { 208, 664 }, { 209, 664 }, { 210, 664 }, { 211, 664 }, { 212, 664 }, { 213, 664 }, { 214, 664 }, { 215, 664 }, { 216, 664 }, { 217, 664 }, { 218, 664 }, { 219, 664 }, { 220, 664 }, { 221, 664 }, { 222, 664 }, { 223, 664 }, { 224, 664 }, { 225, 664 }, { 226, 664 }, { 227, 664 }, { 228, 664 }, { 229, 664 }, { 230, 664 }, { 231, 664 }, { 232, 664 }, { 233, 664 }, { 234, 664 }, { 235, 664 }, { 236, 664 }, { 237, 664 }, { 238, 664 }, { 239, 664 }, { 240, 664 }, { 241, 664 }, { 242, 664 }, { 243, 664 }, { 244, 664 }, { 245, 664 }, { 246, 664 }, { 247, 664 }, { 248, 664 }, { 249, 664 }, { 250, 664 }, { 251, 664 }, { 252, 664 }, { 253, 664 }, { 254, 664 }, { 255, 664 }, { 256, 664 }, { 0, 13 }, { 0,1267 }, { 1, 664 }, { 2, 664 }, { 3, 664 }, { 4, 664 }, { 5, 664 }, { 6, 664 }, { 7, 664 }, { 8, 664 }, { 9, 664 }, { 10, 664 }, { 11, 664 }, { 12, 664 }, { 13, 664 }, { 14, 664 }, { 15, 664 }, { 16, 664 }, { 17, 664 }, { 18, 664 }, { 19, 664 }, { 20, 664 }, { 21, 664 }, { 22, 664 }, { 23, 664 }, { 24, 664 }, { 25, 664 }, { 26, 664 }, { 27, 664 }, { 28, 664 }, { 29, 664 }, { 30, 664 }, { 31, 664 }, { 32, 664 }, { 33, 664 }, { 34, 664 }, { 35, 664 }, { 36, 664 }, { 37, 664 }, { 38, 664 }, { 39, 262 }, { 40, 664 }, { 41, 664 }, { 42, 664 }, { 43, 664 }, { 44, 664 }, { 45, 664 }, { 46, 664 }, { 47, 664 }, { 48, 664 }, { 49, 664 }, { 50, 664 }, { 51, 664 }, { 52, 664 }, { 53, 664 }, { 54, 664 }, { 55, 664 }, { 56, 664 }, { 57, 664 }, { 58, 664 }, { 59, 664 }, { 60, 664 }, { 61, 664 }, { 62, 664 }, { 63, 664 }, { 64, 664 }, { 65, 664 }, { 66, 664 }, { 67, 664 }, { 68, 664 }, { 69, 664 }, { 70, 664 }, { 71, 664 }, { 72, 664 }, { 73, 664 }, { 74, 664 }, { 75, 664 }, { 76, 664 }, { 77, 664 }, { 78, 664 }, { 79, 664 }, { 80, 664 }, { 81, 664 }, { 82, 664 }, { 83, 664 }, { 84, 664 }, { 85, 664 }, { 86, 664 }, { 87, 664 }, { 88, 664 }, { 89, 664 }, { 90, 664 }, { 91, 664 }, { 92, 664 }, { 93, 664 }, { 94, 664 }, { 95, 664 }, { 96, 664 }, { 97, 664 }, { 98, 664 }, { 99, 664 }, { 100, 664 }, { 101, 664 }, { 102, 664 }, { 103, 664 }, { 104, 664 }, { 105, 664 }, { 106, 664 }, { 107, 664 }, { 108, 664 }, { 109, 664 }, { 110, 664 }, { 111, 664 }, { 112, 664 }, { 113, 664 }, { 114, 664 }, { 115, 664 }, { 116, 664 }, { 117, 664 }, { 118, 664 }, { 119, 664 }, { 120, 664 }, { 121, 664 }, { 122, 664 }, { 123, 664 }, { 124, 664 }, { 125, 664 }, { 126, 664 }, { 127, 664 }, { 128, 664 }, { 129, 664 }, { 130, 664 }, { 131, 664 }, { 132, 664 }, { 133, 664 }, { 134, 664 }, { 135, 664 }, { 136, 664 }, { 137, 664 }, { 138, 664 }, { 139, 664 }, { 140, 664 }, { 141, 664 }, { 142, 664 }, { 143, 664 }, { 144, 664 }, { 145, 664 }, { 146, 664 }, { 147, 664 }, { 148, 664 }, { 149, 664 }, { 150, 664 }, { 151, 664 }, { 152, 664 }, { 153, 664 }, { 154, 664 }, { 155, 664 }, { 156, 664 }, { 157, 664 }, { 158, 664 }, { 159, 664 }, { 160, 664 }, { 161, 664 }, { 162, 664 }, { 163, 664 }, { 164, 664 }, { 165, 664 }, { 166, 664 }, { 167, 664 }, { 168, 664 }, { 169, 664 }, { 170, 664 }, { 171, 664 }, { 172, 664 }, { 173, 664 }, { 174, 664 }, { 175, 664 }, { 176, 664 }, { 177, 664 }, { 178, 664 }, { 179, 664 }, { 180, 664 }, { 181, 664 }, { 182, 664 }, { 183, 664 }, { 184, 664 }, { 185, 664 }, { 186, 664 }, { 187, 664 }, { 188, 664 }, { 189, 664 }, { 190, 664 }, { 191, 664 }, { 192, 664 }, { 193, 664 }, { 194, 664 }, { 195, 664 }, { 196, 664 }, { 197, 664 }, { 198, 664 }, { 199, 664 }, { 200, 664 }, { 201, 664 }, { 202, 664 }, { 203, 664 }, { 204, 664 }, { 205, 664 }, { 206, 664 }, { 207, 664 }, { 208, 664 }, { 209, 664 }, { 210, 664 }, { 211, 664 }, { 212, 664 }, { 213, 664 }, { 214, 664 }, { 215, 664 }, { 216, 664 }, { 217, 664 }, { 218, 664 }, { 219, 664 }, { 220, 664 }, { 221, 664 }, { 222, 664 }, { 223, 664 }, { 224, 664 }, { 225, 664 }, { 226, 664 }, { 227, 664 }, { 228, 664 }, { 229, 664 }, { 230, 664 }, { 231, 664 }, { 232, 664 }, { 233, 664 }, { 234, 664 }, { 235, 664 }, { 236, 664 }, { 237, 664 }, { 238, 664 }, { 239, 664 }, { 240, 664 }, { 241, 664 }, { 242, 664 }, { 243, 664 }, { 244, 664 }, { 245, 664 }, { 246, 664 }, { 247, 664 }, { 248, 664 }, { 249, 664 }, { 250, 664 }, { 251, 664 }, { 252, 664 }, { 253, 664 }, { 254, 664 }, { 255, 664 }, { 256, 664 }, { 0, 0 }, { 0,1009 }, { 0, 9 }, { 0,1007 }, { 0, 10 }, { 0,1005 }, { 0, 11 }, { 0,1003 }, { 0, 0 }, { 0,1001 }, { 0, 0 }, { 0, 999 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 995 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 7 }, { 0, 985 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 109, 2 }, { 108, 4 }, { 105, 650 }, { 120, 8 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 0, 0 }, { 0, 861 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, { 17, 0 }, { 18, 0 }, { 19, 0 }, { 20, 0 }, { 21, 0 }, { 22, 0 }, { 23, 0 }, { 24, 0 }, { 25, 0 }, { 26, 0 }, { 27, 0 }, { 28, 0 }, { 29, 0 }, { 30, 0 }, { 31, 0 }, { 32, 0 }, { 33, 0 }, { 34,-144 }, { 35, 0 }, { 36, 0 }, { 37, 0 }, { 38, 0 }, { 39, 0 }, { 40, 0 }, { 41, 0 }, { 42, 0 }, { 43, 0 }, { 44, 0 }, { 45, 0 }, { 46, 0 }, { 47, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 58, 0 }, { 59, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, { 63, 0 }, { 64, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, { 91, 0 }, { 92, 0 }, { 93, 0 }, { 94, 0 }, { 95, 0 }, { 96, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 123, 0 }, { 124, 0 }, { 125, 0 }, { 126, 0 }, { 127, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 0 }, { 0, 603 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, { 17, 0 }, { 18, 0 }, { 19, 0 }, { 20, 0 }, { 21, 0 }, { 22, 0 }, { 23, 0 }, { 24, 0 }, { 25, 0 }, { 26, 0 }, { 27, 0 }, { 28, 0 }, { 29, 0 }, { 30, 0 }, { 31, 0 }, { 32, 0 }, { 33, 0 }, { 34, 0 }, { 35, 0 }, { 36, 0 }, { 37, 0 }, { 38, 0 }, { 39,-402 }, { 40, 0 }, { 41, 0 }, { 42, 0 }, { 43, 0 }, { 44, 0 }, { 45, 0 }, { 46, 0 }, { 47, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 58, 0 }, { 59, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, { 63, 0 }, { 64, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, { 91, 0 }, { 92, 0 }, { 93, 0 }, { 94, 0 }, { 95, 0 }, { 96, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 123, 0 }, { 124, 0 }, { 125, 0 }, { 126, 0 }, { 127, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 0 }, { 0, 345 }, { 0, 0 }, { 0, 343 }, { 0, 0 }, { 0, 341 }, { 0, 0 }, { 0, 339 }, { 0, 0 }, { 0, 337 }, { 0, 0 }, { 0, 335 }, { 9, 2 }, { 10, 2 }, { 9, 0 }, { 10, 0 }, { 0, 0 }, { 0, 329 }, { 0, 0 }, { 0, 327 }, { 0, 2 }, { 0, 325 }, { 0, 0 }, { 0, 323 }, { 0, 0 }, { 0, 321 }, { 0, 0 }, { 0, 319 }, { 0, 2 }, { 0, 317 }, { 9, 8 }, { 10, 8 }, { 0, 0 }, { 0, 313 }, { 0, 0 }, { 32, 2 }, { 0, 0 }, { 32, 0 }, { 9, 0 }, { 10, 0 }, { 0, 4 }, { 0, 305 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 300 }, { 0, 6 }, { 0, 298 }, { 0, 0 }, { 9, 17 }, { 10, 17 }, { 0, 0 }, { 32, 8 }, { 0, 0 }, { 0, 291 }, { 0, 0 }, { 0, 4 }, { 0, 288 }, { 0, 0 }, { 0, 0 }, { 32, 0 }, { 0, 0 }, { 0, 283 }, { 0, 0 }, { 0, 281 }, { 0, 0 }, { 9, 0 }, { 10, 0 }, { 0, 1 }, { 0, 276 }, { 0, 0 }, { 0, 274 }, { 32, 17 }, { 0, 5 }, { 0, 271 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 9, 14 }, { 10, 14 }, { 0, 0 }, { 63, 8 }, { 0, 1 }, { 0, 262 }, { 0, 3 }, { 0, 260 }, { 0, 3 }, { 0, 258 }, { 62, 21 }, { 32, 0 }, { 0, 0 }, { 0, 0 }, { 9, 0 }, { 10, 0 }, { 9, 2 }, { 10, 2 }, { 9, 0 }, { 10, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 32, 14 }, { 102, 2 }, { 101, 4 }, { 102, 6 }, { 101, 2 }, { 102, 4 }, { 105, 8 }, { 63, 19 }, { 105, 6 }, { 0, 0 }, { 0, 0 }, { 102, 10 }, { 105, 10 }, { 108, 10 }, { 32, 0 }, { 0, 0 }, { 32, 2 }, { 0, 0 }, { 32, 0 }, { 0, 0 }, { 105, 6 }, { 0, 0 }, { 0, 0 }, { 102, 18 }, { 101, 21 }, { 62, 10 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 110, 12 }, { 115, 8 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 110, 4 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 111, 22 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 110, 22 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 110, 5 }, { 0, 0 }, { 0, 0 }, { 116, 15 }, { 0, 0 }, { 0, 0 }, { 111, 9 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 116, 14 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 257, 14 }, { 1, 0 }, }; static yyconst struct yy_trans_info *yy_start_state_list[7] = { &yy_transition[1], &yy_transition[3], &yy_transition[261], &yy_transition[519], &yy_transition[777], &yy_transition[1035], &yy_transition[1293], } ; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "xmlif/xmlif.l" #line 2 "xmlif/xmlif.l" /* * xmlif -- support processing instructions for XML conditionalization * * By Eric S. Raymond , 3 Nov 1997 (as sgmlpre) * Enhanced for XML September 2002, Licensed under GPLv2+ since 03/2009 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Filter XML according to conditionalizing markup. Argument/value * pairs from the command line are matched against the attributes of * and tags. Spans between or * and the next conditional processing instruction are * passed through unaltered if there is no attribute mismatch; spans * between and are passed if there * is at least one attribute mismatch. An attribute mismatch happens * if an attribute occurs in both the command-line arguments and the * tag, but the values do not match. inverts the sense * of the current comparison. Value matching is by string equality, * except that "|" is interpreted as an alternation character. * , , and , and will * all be removed from the output. * * This lexer requires flex. Limitations; attributes and values may be * only 16384 (YY_BUF_SIZE) characters long. */ #include #include #define TRUE 1 #define FALSE 0 static char **selections; /* selection tokens */ static int nselections; /* number of selections */ static ifsense; /* sense of last `if' or unless seen */ static char *attribute; /* last attribute scanned */ struct stack_t { int matched; /* matched at current level */ int suppressed; /* suppressed branch? */ struct stack_t *up; }; static struct stack_t head, *end = &head; static void push_level(void) /* create activation record for the current level */ { struct stack_t *newelt; #ifdef DEBUG fprintf(stderr, "{push_level()}"); #endif /* DEBUG */ newelt = (struct stack_t *)malloc(sizeof(struct stack_t)); newelt->up = end; end = newelt; end->matched = 0; end->suppressed = end->up->suppressed; } static void pop_level(void) /* delete activation record for the current level */ { struct stack_t *up = end->up; #ifdef DEBUG fprintf(stderr, "{pop_level()}"); #endif /* DEBUG */ if (end != &head) { free(end); end = up; } } static void stash_attribute(char *attr) /* stash an attribute away for comparison */ { #ifdef DEBUG fprintf(stderr, "{stash_attribute(%s)}", attr); #endif /* DEBUG */ attribute = strdup(attr); } static void end_attribute(void) /* we've seen all the attributes of a conditional, process them now */ { struct stack_t *up; if (attribute) free(attribute); attribute=NULL; if (!end->up) { fprintf(stderr,"xmlif: malformed end attribute!\n"); exit(1); } end->suppressed = (ifsense == !!end->suppressed); for (up = end->up; up->up; up = up->up) if (up->suppressed) { end->suppressed = 1; break; } if (!end->matched && !end->suppressed) end->matched = 1; #ifdef DEBUG fprintf(stderr,"{end_attribute(ifsense=%d)->%d}", ifsense, end->suppressed); #endif /* DEBUG */ } static int value_match(char *value, char *against) /* return TRUE if values match (handles alternation syntax) */ { char *vp, *ap; int vn, an; #ifdef DEBUG fprintf(stderr, "{value_match(%s, %s)}", value, against); #endif /* DEBUG */ for (vp = value; *vp; vp += vn) { vn = strcspn(vp, "|"); for (ap = against; *ap; ap += an) { an = strcspn(ap, "|"); if (an == vn && memcmp(ap, vp, an) == 0) return(TRUE); if (ap[an] == '|') an++; } if (vp[vn] == '|') vn++; } return(FALSE); } static int suppress(char *attr, char *value) /* does a given attribute/value pair enable inclusion? */ { int i; int res; for (i = 0; i < nselections; i++) { int eqoffset = strcspn(selections[i], "="); if (strncasecmp(selections[i], attr, eqoffset) == 0) { /* attribute matches; enable (0) or lock in suppression (-1) */ res = value_match(value, selections[i] + eqoffset + 1) ? 0 : -1; goto breakout; } } res = 1; /* no match -- suppress but don't lock it in */ breakout: #ifdef DEBUG fprintf(stderr, "{suppress(%s, %s)->%d}", attr, value, res); #endif /* DEBUG */ return(res); } static void process_value(char *val) /* process value in context of stashed attribute */ { /* if pred has been set to -1 by a mismatch, latch it there */ if (end->suppressed > -1) end->suppressed = suppress(attribute, val); } static void process_else() /* process tag */ { end->suppressed = end->matched; #ifdef DEBUG fprintf(stderr, "{else -> %d}", end->suppressed); #endif /* DEBUG */ } #line 1306 "xmlif/xmlif.c" #define INITIAL 0 #define attrib 1 #define val 2 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); yy_size_t yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif static void yyunput (int c,char *buf_ptr ); #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ errno=0; \ while ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 207 "xmlif/xmlif.l" #line 1476 "xmlif/xmlif.c" if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = yy_start_state_list[(yy_start)]; yy_match: { register yyconst struct yy_trans_info *yy_trans_info; register YY_CHAR yy_c; for ( yy_c = YY_SC_TO_UI(*yy_cp); (yy_trans_info = &yy_current_state[(unsigned int) yy_c])-> yy_verify == yy_c; yy_c = YY_SC_TO_UI(*++yy_cp) ) { yy_current_state += yy_trans_info->yy_nxt; if ( yy_current_state[-1].yy_nxt ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } } } yy_find_action: yy_act = yy_current_state[-1].yy_nxt; YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos) + 1; yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 208 "xmlif/xmlif.l" {BEGIN(attrib); ifsense = FALSE; push_level();} YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 209 "xmlif/xmlif.l" {BEGIN(attrib); ifsense = TRUE; push_level();} YY_BREAK case 3: /* rule 3 can match eol */ YY_RULE_SETUP #line 210 "xmlif/xmlif.l" {BEGIN(attrib); ifsense = FALSE;} YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 211 "xmlif/xmlif.l" {BEGIN(attrib); ifsense = TRUE;} YY_BREAK case 5: /* rule 5 can match eol */ YY_RULE_SETUP #line 212 "xmlif/xmlif.l" {process_else();} YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 214 "xmlif/xmlif.l" {pop_level();} YY_BREAK case 7: YY_RULE_SETUP #line 216 "xmlif/xmlif.l" {stash_attribute(yytext);} YY_BREAK case 8: YY_RULE_SETUP #line 217 "xmlif/xmlif.l" {BEGIN(val);} YY_BREAK case 9: YY_RULE_SETUP #line 218 "xmlif/xmlif.l" {BEGIN(INITIAL); end_attribute();} YY_BREAK case 10: /* rule 10 can match eol */ YY_RULE_SETUP #line 219 "xmlif/xmlif.l" { yytext[strlen(yytext)-1]='\0'; process_value(yytext+1); BEGIN(attrib); } YY_BREAK case 11: YY_RULE_SETUP #line 224 "xmlif/xmlif.l" { fprintf(stderr, "xmlif: > where value expected\n"); exit(1); } YY_BREAK case 12: YY_RULE_SETUP #line 230 "xmlif/xmlif.l" { if (!end->suppressed) putchar(yytext[0]); } YY_BREAK case 13: YY_RULE_SETUP #line 235 "xmlif/xmlif.l" ECHO; YY_BREAK #line 1637 "xmlif/xmlif.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(attrib): case YY_STATE_EOF(val): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { yy_size_t num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { yy_size_t new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart(yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = yy_start_state_list[(yy_start)]; for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { yy_current_state += yy_current_state[(*yy_cp ? YY_SC_TO_UI(*yy_cp) : 256)].yy_nxt; if ( yy_current_state[-1].yy_nxt ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register int yy_c = 256; register yyconst struct yy_trans_info *yy_trans_info; yy_trans_info = &yy_current_state[(unsigned int) yy_c]; yy_current_state += yy_trans_info->yy_nxt; yy_is_jam = (yy_trans_info->yy_verify != yy_c); if ( ! yy_is_jam ) { if ( yy_current_state[-1].yy_nxt ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } } return yy_is_jam ? 0 : yy_current_state; } static void yyunput (int c, register char * yy_bp ) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register yy_size_t number_to_move = (yy_n_chars) + 2; register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { yy_size_t num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ yy_size_t yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 235 "xmlif/xmlif.l" #include #include "config.h" int yywrap() {exit(0);}; main(int argc, char *argv[]) { int i; selections = argv + 1; nselections = argc - 1; for (i = 0; i < nselections; i++) if (strchr(selections[i], '=') == 0) { if (!strcmp(selections[i], "--help")) { printf ("usage: xmlif attrib=value..\n"); exit(0); } if (!strcmp(selections[i], "--version")) { printf ("xmlif - xmlto version %s\n", VERSION); exit(0); } fprintf(stderr, "xmlif: malformed argument %d\n", i); exit(1); } yylex(); } /* The following sets edit modes for GNU EMACS Local Variables: mode:c case-fold-search:nil End: */ /* xmlif.l ends here */