/*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ │vi: set et ft=c ts=8 sw=8 fenc=utf-8 :vi│ └─────────────────────────────────────────────────────────────────────────────*/ /* clang-format off */ #define YY_INT_ALIGNED short int /* $OpenBSD: flex.skl,v 1.16 2017/05/02 19:16:19 millert Exp $ */ /* 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 39 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ #include "libc/limits.h" #include "libc/sysv/consts/exit.h" #include "libc/errno.h" #include "libc/stdio/stdio.h" /* $OpenBSD: flexint.h,v 1.1 2015/11/19 19:43:40 tedu Exp $ */ /* 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 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) #define YY_LINENO_REWIND_TO(ptr) /* 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 int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state(void); static yy_state_type yy_try_NUL_trans(yy_state_type current_state); static int yy_get_next_buffer(void); static void yy_fatal_error(yyconst char msg[]); /* 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; \ (yytext_ptr) -= (yy_more_len); \ yyleng = (size_t)(yy_cp - (yytext_ptr)); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 251 #define YY_END_OF_BUFFER 252 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_acclist[1223] = { 0, 248, 248, 252, 250, 251, 9, 250, 251, 20, 250, 251, 250, 251, 18, 250, 251, 1, 9, 250, 251, 19, 20, 250, 251, 250, 251, 250, 251, 250, 251, 250, 251, 17, 18, 250, 251, 164, 250, 251, 149, 164, 250, 251, 150, 250, 251, 164, 250, 251, 142, 164, 250, 251, 164, 250, 251, 161, 163, 164, 250, 251, 162, 163, 164, 250, 251, 163, 164, 250, 251, 163, 164, 250, 251, 164, 250, 251, 164, 250, 251, 164, 250, 251, 163, 164, 250, 251, 148, 149, 164, 250, 251, 138, 150, 250, 251, 164, 250, 251, 164, 250, 251, 140, 164, 250, 251, 141, 164, 250, 251, 136, 250, 251, 137, 250, 251, 136, 250, 251, 135, 136, 250, 251, 134, 136, 250, 251, 135, 136, 250, 251, 248, 249, 250, 251, 248, 249, 250, 251, 249, 250, 251, 249, 250, 251, 41, 250, 251, 42, 250, 251, 41, 250, 251, 41, 250, 251, 41, 250, 251, 41, 250, 251, 41, 250, 251, 41, 250, 251, 50, 250, 251, 49, 250, 251, 51, 250, 251, 250, 251, 170, 250, 251, 170, 250, 251, 165, 250, 251, 170, 250, 251, 166, 170, 250, 251, 167, 170, 250, 251, 169, 170, 250, 251, 171, 250, 251, 219, 250, 251, 220, 250, 251, 219, 250, 251, 217, 219, 250, 251, 216, 219, 250, 251, 218, 219, 250, 251, 172, 250, 251, 174, 250, 251, 172, 250, 251, 173, 250, 251, 172, 250, 251, 186, 250, 251, 186, 250, 251, 186, 250, 251, 186, 250, 251, 188, 190, 250, 251, 190, 250, 251, 188, 190, 250, 251, 188, 190, 250, 251, 188, 190, 250, 251, 188, 190, 250, 251, 189, 190, 250, 251, 233, 239, 250, 251, 238, 250, 251, 233, 239, 250, 251, 237, 239, 250, 251, 239, 250, 251, 239, 250, 251, 235, 239, 250, 251, 235, 239, 250, 251, 235, 239, 250, 251, 234, 239, 250, 251, 234, 239, 250, 251, 229, 239, 250, 251, 230, 239, 250, 251, 250, 251, 131, 250, 251, 250, 251, 25, 250, 251, 26, 250, 251, 25, 250, 251, 22, 250, 251, 25, 250, 251, 25, 250, 251, 240, 244, 250, 251, 242, 250, 251, 240, 244, 250, 251, 243, 244, 250, 251, 244, 250, 251, 227, 250, 251, 227, 250, 251, 228, 250, 251, 227, 250, 251, 227, 250, 251, 227, 250, 251, 227, 250, 251, 227, 250, 251, 227, 250, 251, 227, 250, 251, 130, 250, 251, 53, 130, 250, 251, 52, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 54, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 130, 250, 251, 37, 250, 251, 34, 250, 251, 37, 250, 251, 35, 37, 250, 251, 48, 250, 251, 45, 250, 251, 250, 251, 48, 250, 251, 48, 250, 251, 44, 250, 251, 43, 250, 251, 176, 250, 251, 175, 250, 251, 177, 250, 251, 178, 250, 251, 179, 250, 251, 180, 250, 251, 181, 250, 251, 182, 250, 251, 183, 250, 251, 32, 250, 251, 33, 250, 251, 32, 250, 251, 31, 250, 251, 29, 250, 251, 30, 250, 251, 29, 250, 251, 28, 250, 251, 9, 20, 18, 1, 9, 19, 20, 16, 10, 16, 4, 16, 5, 2, 17, 18, 149, 150, 144, 160, 158, 154, 154, 245, 245, 245, 143, 148, 149, 138, 150, 140, 141, 153, 139, 137, 135, 134, 134, 132, 135, 133, 135, 248, 248, 246, 247, 42, 39, 40, 50, 49, 51, 165, 165, 168, 169, 220, 216, 174, 184, 185, 190, 187, 233, 238, 236, 222, 235, 235, 235, 231, 232, 131, 26, 21, 23, 24, 240, 242, 241, 228, 221, 225, 226, 53, 52, 129, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 55, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 36, 35, 45, 46, 47, 32, 33, 30, 27, 16, 10, 16, 14, 4, 16, 5, 6, 145, 146, 159, 154, 154, 154, 154, 154, 245, 245, 156, 155, 157, 139, 145, 147, 153, 132, 135, 133, 135, 38, 235, 235, 221, 130, 130, 130, 130, 130, 130, 130, 67, 130, 130, 130, 130, 72, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 14, 15, 4, 8, 16, 5, 154, 154, 154, 154, 154, 154, 154, 245, 157, 235, 235, 56, 57, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 73, 130, 74, 130, 130, 130, 130, 130, 79, 130, 130, 130, 130, 130, 130, 130, 130, 84, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 93, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 15, 8, 16, 8, 16, 8, 16, 154, 154, 154, 154, 154, 154, 154, 215, 235, 235, 58, 130, 130, 130, 60, 130, 130, 64, 130, 130, 130, 130, 130, 70, 130, 130, 130, 130, 75, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 87, 130, 130, 130, 130, 130, 91, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 3, 8, 16, 7, 8, 16, 154, 154, 154, 223, 224, 223, 235, 224, 235, 130, 130, 130, 63, 130, 130, 130, 130, 130, 130, 130, 130, 126, 130, 130, 130, 130, 130, 130, 130, 130, 130, 124, 130, 130, 86, 130, 130, 89, 130, 130, 90, 130, 130, 130, 130, 105, 130, 130, 95, 130, 130, 96, 130, 12, 13, 152, 151, 152, 130, 130, 130, 130, 130, 130, 130, 68, 130, 130, 71, 130, 130, 130, 130, 130, 130, 130, 123, 130, 130, 83, 130, 130, 130, 88, 130, 130, 92, 130, 103, 130, 125, 130, 130, 130, 151, 130, 130, 130, 130, 130, 130, 130, 69, 130, 130, 130, 130, 130, 80, 130, 130, 130, 130, 130, 130, 130, 114, 94, 130, 130, 115, 11, 191, 215, 192, 215, 193, 215, 194, 215, 195, 215, 196, 215, 197, 215, 198, 215, 199, 215, 200, 215, 201, 215, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 85, 130, 130, 130, 116, 104, 130, 117, 202, 215, 203, 215, 204, 215, 205, 215, 206, 215, 207, 215, 208, 215, 209, 215, 210, 215, 211, 215, 212, 215, 213, 215, 130, 130, 130, 130, 130, 130, 130, 122, 130, 130, 130, 77, 130, 130, 130, 130, 130, 130, 110, 120, 118, 111, 121, 119, 214, 215, 130, 130, 130, 130, 130, 130, 130, 126, 130, 76, 130, 130, 82, 130, 130, 127, 130, 130, 106, 108, 107, 109, 130, 130, 130, 65, 130, 130, 130, 130, 130, 78, 130, 130, 112, 113, 98, 99, 130, 130, 130, 130, 130, 130, 130, 128, 130, 97, 101, 130, 130, 130, 130, 130, 68, 130, 130, 100, 102, 130, 130, 62, 130, 66, 130, 130, 130, 130, 61, 130, 69, 130, 130, 130, 81, 130, 59, 130}; static yyconst flex_int16_t yy_accept[1108] = { 0, 1, 1, 1, 1, 1, 1, 1, 2, 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, 4, 6, 9, 12, 14, 17, 21, 25, 27, 29, 31, 33, 37, 40, 44, 47, 50, 54, 57, 62, 67, 71, 75, 78, 81, 84, 88, 93, 97, 100, 103, 107, 111, 114, 117, 120, 124, 128, 132, 136, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 176, 179, 181, 184, 187, 190, 193, 197, 201, 205, 208, 211, 214, 217, 221, 225, 229, 232, 235, 238, 241, 244, 247, 250, 253, 256, 260, 263, 267, 271, 275, 279, 283, 287, 290, 294, 298, 301, 304, 308, 312, 316, 320, 324, 328, 332, 334, 337, 339, 342, 345, 348, 351, 354, 357, 361, 364, 368, 372, 375, 378, 381, 384, 387, 390, 393, 396, 399, 402, 405, 408, 412, 415, 418, 421, 424, 427, 431, 434, 437, 440, 443, 446, 449, 452, 455, 458, 461, 464, 467, 470, 473, 476, 479, 482, 485, 488, 491, 494, 497, 500, 503, 507, 510, 513, 515, 518, 521, 524, 527, 530, 533, 536, 539, 542, 545, 548, 551, 554, 557, 560, 563, 566, 569, 572, 575, 578, 579, 580, 580, 581, 583, 585, 585, 585, 585, 586, 588, 588, 588, 588, 588, 589, 590, 591, 591, 592, 594, 595, 596, 596, 596, 596, 597, 597, 598, 599, 599, 600, 601, 601, 602, 603, 604, 604, 604, 605, 605, 607, 609, 609, 609, 609, 610, 611, 612, 613, 613, 614, 615, 616, 617, 619, 621, 622, 623, 624, 625, 626, 626, 626, 627, 628, 628, 629, 630, 631, 631, 632, 632, 633, 634, 635, 636, 637, 638, 638, 639, 640, 641, 642, 643, 644, 644, 645, 645, 646, 647, 648, 649, 650, 651, 651, 652, 652, 653, 654, 655, 656, 657, 658, 659, 659, 659, 660, 661, 662, 663, 664, 665, 665, 666, 666, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 707, 708, 710, 710, 711, 711, 711, 711, 711, 711, 712, 713, 714, 714, 715, 715, 716, 716, 717, 717, 718, 718, 719, 720, 720, 721, 722, 723, 724, 725, 726, 727, 727, 728, 730, 731, 731, 732, 732, 734, 736, 736, 736, 736, 737, 737, 737, 737, 737, 737, 737, 737, 737, 737, 737, 737, 737, 737, 738, 739, 740, 740, 740, 741, 742, 743, 744, 745, 746, 747, 749, 750, 751, 752, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 788, 788, 788, 788, 790, 790, 790, 790, 790, 790, 790, 791, 793, 794, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 820, 822, 823, 824, 825, 826, 828, 829, 830, 831, 832, 833, 834, 835, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 857, 857, 857, 857, 858, 858, 858, 858, 858, 858, 860, 862, 864, 864, 865, 866, 867, 868, 869, 870, 871, 871, 871, 871, 871, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 873, 874, 876, 877, 878, 880, 881, 883, 884, 885, 886, 887, 889, 890, 891, 892, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 907, 908, 909, 910, 911, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 923, 923, 923, 923, 924, 924, 924, 924, 926, 927, 929, 929, 930, 931, 932, 932, 932, 933, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 936, 938, 939, 940, 941, 943, 944, 945, 946, 947, 948, 949, 950, 952, 953, 954, 955, 956, 957, 958, 959, 960, 962, 963, 965, 966, 968, 969, 971, 972, 973, 974, 976, 976, 977, 979, 980, 980, 982, 982, 982, 982, 982, 982, 983, 983, 984, 984, 985, 985, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 988, 989, 990, 991, 992, 993, 994, 996, 997, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1007, 1008, 1010, 1011, 1012, 1014, 1015, 1017, 1019, 1021, 1021, 1021, 1021, 1021, 1021, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1033, 1034, 1035, 1036, 1037, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1045, 1045, 1046, 1046, 1046, 1046, 1046, 1046, 1046, 1048, 1049, 1049, 1049, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1051, 1051, 1053, 1055, 1057, 1059, 1061, 1063, 1065, 1067, 1069, 1071, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1089, 1090, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1092, 1092, 1094, 1094, 1094, 1094, 1094, 1094, 1095, 1095, 1095, 1095, 1095, 1095, 1097, 1099, 1101, 1103, 1105, 1107, 1109, 1111, 1113, 1115, 1117, 1119, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1128, 1129, 1130, 1132, 1133, 1134, 1135, 1136, 1137, 1137, 1137, 1138, 1138, 1139, 1140, 1141, 1141, 1141, 1141, 1142, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1154, 1156, 1157, 1159, 1160, 1162, 1163, 1164, 1165, 1165, 1166, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1168, 1169, 1170, 1172, 1173, 1174, 1175, 1176, 1178, 1179, 1180, 1181, 1182, 1182, 1182, 1182, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1192, 1193, 1193, 1194, 1194, 1195, 1196, 1197, 1198, 1199, 1201, 1202, 1203, 1204, 1205, 1206, 1208, 1210, 1211, 1212, 1213, 1215, 1217, 1218, 1219, 1221, 1223, 1223}; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 6, 7, 8, 9, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, 19, 19, 19, 19, 19, 20, 21, 22, 23, 1, 24, 25, 26, 27, 1, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 44, 53, 54, 55, 56, 57, 1, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 44, 74, 75, 76, 77, 78, 79, 80, 81, 44, 82, 83, 84, 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, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; static yyconst flex_int32_t yy_meta[85] = { 0, 1, 1, 2, 1, 3, 4, 1, 1, 1, 5, 1, 6, 1, 7, 1, 8, 1, 5, 9, 9, 9, 9, 10, 1, 1, 1, 1, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 14, 15, 1, 16, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 5, 1, 17}; static yyconst flex_int16_t yy_base[1201] = { 0, 0, 84, 167, 250, 171, 184, 174, 179, 192, 233, 196, 200, 334, 0, 3343, 3340, 203, 416, 206, 211, 187, 216, 276, 417, 500, 0, 210, 223, 421, 427, 436, 440, 583, 588, 669, 0, 277, 299, 584, 751, 579, 580, 576, 732, 279, 305, 310, 444, 3378, 3975, 228, 3975, 3371, 0, 322, 3975, 3358, 423, 827, 3328, 0, 3975, 755, 3975, 3337, 3975, 448, 3312, 3975, 3975, 3323, 3291, 222, 408, 444, 764, 3975, 3311, 230, 3289, 3975, 3975, 3975, 3306, 0, 3306, 164, 3304, 3975, 3236, 3217, 3975, 3975, 3266, 239, 119, 3215, 3212, 3180, 0, 3248, 3975, 3243, 3975, 476, 3227, 3222, 3975, 3168, 0, 3975, 3975, 3975, 3203, 3975, 464, 3975, 3975, 3975, 3186, 3975, 742, 3975, 3161, 751, 180, 3975, 3975, 3171, 0, 3149, 757, 3975, 0, 3975, 3149, 3975, 200, 3138, 0, 429, 241, 3097, 3092, 3975, 3975, 306, 3975, 323, 3975, 3975, 3126, 3108, 3072, 3069, 0, 3975, 3115, 3975, 0, 3975, 446, 3975, 3114, 3031, 3098, 435, 371, 3045, 3026, 3975, 3076, 3975, 3074, 3070, 439, 440, 3975, 578, 751, 586, 562, 735, 752, 0, 572, 577, 588, 786, 749, 396, 809, 727, 582, 747, 753, 764, 769, 580, 3975, 3975, 3067, 588, 3975, 3975, 3053, 3002, 2996, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 0, 3975, 3046, 3975, 3975, 3975, 3018, 2986, 837, 3975, 2998, 0, 847, 3975, 2997, 817, 777, 0, 0, 891, 903, 912, 924, 0, 774, 0, 451, 3975, 0, 858, 3975, 2996, 2914, 472, 3975, 2974, 2953, 3975, 791, 236, 822, 899, 3975, 275, 0, 2873, 2872, 3975, 2871, 949, 3975, 2949, 2850, 2918, 2906, 3975, 0, 3975, 796, 3975, 0, 0, 2925, 0, 0, 2597, 3975, 3975, 3975, 3975, 795, 794, 3975, 3975, 484, 0, 2597, 3975, 877, 2596, 2594, 2594, 3975, 0, 3975, 918, 3975, 1005, 3975, 3975, 3975, 3975, 0, 3975, 611, 3975, 0, 3975, 0, 853, 851, 3975, 3975, 490, 3975, 608, 3975, 3975, 3975, 3975, 0, 3975, 3975, 596, 2510, 3975, 0, 3975, 3975, 2588, 3975, 2581, 3975, 894, 906, 0, 911, 717, 727, 923, 728, 2571, 882, 930, 889, 902, 916, 917, 940, 928, 923, 940, 933, 0, 932, 3975, 935, 939, 951, 956, 1059, 964, 965, 1052, 955, 957, 1099, 2578, 3975, 1078, 3975, 3975, 3975, 0, 3975, 3975, 3975, 987, 0, 0, 1087, 3975, 2576, 1132, 985, 1046, 1058, 0, 1058, 0, 1009, 3975, 1016, 3975, 1057, 3975, 1099, 3975, 1068, 731, 1088, 1095, 1178, 1244, 1280, 988, 0, 3975, 3975, 2492, 1162, 3975, 3975, 1081, 0, 1086, 0, 0, 1098, 1105, 1100, 3975, 1167, 1245, 1246, 1247, 1250, 2539, 1248, 1249, 1258, 1244, 1251, 1259, 1321, 1233, 1224, 0, 1072, 1228, 1243, 1261, 1287, 1298, 1289, 1298, 1287, 0, 1299, 1228, 1308, 0, 1280, 1298, 1307, 1316, 1314, 1316, 2532, 1322, 1337, 1338, 1340, 1342, 1342, 1348, 1353, 1356, 1347, 1357, 1362, 1366, 1358, 1353, 1356, 1377, 1366, 1370, 1371, 1367, 1383, 1384, 1379, 1391, 1392, 1381, 1388, 1397, 1275, 1455, 3975, 1439, 1463, 1444, 1415, 1412, 1415, 0, 1409, 0, 1429, 1492, 1558, 1594, 1524, 2449, 1564, 1639, 3975, 3975, 1537, 1556, 1560, 1407, 2427, 1558, 1563, 1559, 1564, 1572, 1584, 1574, 1562, 1615, 1619, 1609, 1625, 1626, 1643, 1614, 1651, 1662, 1658, 1664, 1665, 1616, 1616, 1637, 3975, 3975, 1638, 1631, 2352, 1634, 1641, 1655, 1650, 1677, 1679, 1671, 1689, 0, 0, 1690, 1677, 1681, 1697, 0, 2348, 1684, 1694, 2274, 1686, 1685, 1695, 0, 1692, 1711, 1704, 1703, 1701, 1713, 1703, 1704, 1712, 0, 1717, 1731, 1731, 1719, 1723, 1722, 1741, 1726, 1742, 1734, 1747, 1741, 2241, 3975, 1464, 1485, 1729, 1743, 1740, 0, 1721, 1591, 2173, 1585, 2139, 1771, 1807, 1417, 962, 1426, 1755, 2049, 1745, 1769, 3975, 1774, 1782, 1789, 1775, 1796, 1791, 1810, 1800, 1820, 1822, 1821, 1823, 1832, 1831, 1838, 1840, 1853, 1856, 1854, 1855, 1863, 1865, 1861, 1846, 1862, 0, 1853, 1864, 0, 1857, 0, 2008, 1866, 1862, 1869, 0, 1874, 1893, 1870, 0, 1888, 1875, 1886, 1882, 1880, 1878, 1897, 1876, 1882, 1889, 1889, 0, 1904, 1895, 1899, 1919, 0, 1907, 1909, 1908, 1923, 1791, 1924, 1925, 1919, 1747, 1917, 1918, 1918, 1938, 1924, 1726, 1599, 1927, 1937, 1970, 3975, 1702, 1652, 1923, 1755, 1941, 1625, 1618, 3975, 3975, 1961, 1977, 1966, 1969, 1956, 1979, 1983, 1986, 1989, 1984, 1992, 1987, 1994, 1990, 1988, 1995, 2007, 2004, 2016, 2022, 1996, 2028, 2018, 2026, 0, 0, 1620, 1990, 2009, 0, 2035, 2020, 2035, 2029, 2024, 2025, 2029, 1589, 2049, 2041, 2052, 2048, 2053, 2054, 2044, 2057, 0, 2064, 0, 2048, 0, 1576, 0, 2064, 2070, 2056, 0, 2096, 2062, 0, 2067, 2108, 0, 1531, 2072, 2078, 1438, 1853, 3975, 2105, 3975, 2068, 3975, 1463, 3975, 1407, 1402, 1348, 1345, 1314, 1307, 1269, 1260, 1256, 1210, 1158, 2106, 2111, 2097, 2118, 2122, 2129, 2125, 2140, 2131, 2136, 2141, 2143, 2156, 2131, 2138, 2147, 2101, 2151, 2138, 2153, 0, 2141, 0, 2144, 2165, 2153, 2159, 2158, 2165, 0, 2165, 0, 2167, 2169, 0, 2178, 0, 0, 0, 2183, 2167, 2179, 2210, 2178, 2189, 2188, 2189, 2202, 2186, 2194, 2218, 2196, 2202, 1119, 1114, 2206, 2118, 3975, 1106, 1100, 1081, 1068, 1065, 1061, 1057, 972, 968, 965, 914, 925, 893, 881, 874, 869, 865, 861, 854, 843, 807, 802, 776, 2235, 2212, 2226, 2221, 2227, 2239, 2238, 2228, 0, 2228, 2239, 2242, 2252, 0, 2238, 2244, 2249, 2244, 2258, 2263, 2269, 2255, 3975, 2263, 2265, 2265, 2281, 2265, 2262, 0, 2285, 2288, 2274, 3975, 2277, 2280, 2295, 2279, 2280, 2283, 2303, 2283, 2330, 3975, 2335, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 735, 612, 608, 598, 441, 374, 261, 245, 202, 152, 149, 137, 165, 2296, 2303, 2304, 2320, 2326, 2316, 2324, 2329, 2324, 2316, 2319, 2335, 2324, 2327, 0, 2332, 2328, 2327, 2332, 2345, 2348, 2352, 2344, 3975, 2338, 0, 2338, 2343, 2357, 2362, 2357, 3975, 2371, 2356, 2359, 2358, 2380, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 3975, 128, 2384, 2382, 2373, 2387, 2376, 2378, 2378, 0, 2395, 2396, 0, 2385, 2384, 2405, 2403, 2401, 2405, 2413, 3975, 2401, 3975, 3975, 3975, 2409, 2416, 2404, 3975, 3975, 2400, 2422, 2422, 2414, 2417, 2417, 3975, 2421, 2421, 2418, 2424, 2441, 2442, 2443, 0, 0, 2453, 0, 2436, 0, 2451, 3975, 3975, 2445, 3975, 3975, 2446, 2457, 2445, 2461, 2464, 2462, 2468, 2473, 2466, 2460, 0, 2462, 2459, 2461, 2483, 0, 2463, 3975, 3975, 3975, 2484, 2488, 2476, 2482, 3975, 2495, 2485, 2497, 2495, 2501, 2506, 2493, 0, 3975, 2496, 3975, 2508, 2498, 2506, 2503, 2506, 2505, 0, 2520, 3975, 3975, 2522, 2514, 0, 0, 2529, 2514, 2515, 0, 0, 2533, 2539, 0, 0, 3975, 2601, 2618, 2635, 2652, 2669, 2686, 2703, 2720, 2737, 2754, 2771, 2788, 2805, 2822, 2839, 2856, 2873, 2890, 2907, 2917, 2933, 2942, 2958, 2975, 2986, 3002, 3019, 3036, 3053, 3063, 3079, 3096, 3113, 3127, 3137, 3153, 3170, 3187, 3204, 3215, 2009, 3227, 3244, 3254, 3270, 3287, 3294, 3300, 3316, 3326, 3342, 3359, 3376, 2564, 3386, 3403, 3420, 3437, 3454, 3471, 3488, 3505, 3522, 3532, 3548, 3562, 3572, 3588, 3605, 3622, 3639, 3650, 3662, 3679, 3696, 3713, 3730, 3740, 3749, 3765, 3782, 3799, 2571, 3809, 3826, 3843, 3860, 3877, 3885, 3890, 3906, 3923, 3940, 3957 }; static yyconst flex_int16_t yy_def[1201] = { 0, 1106, 1106, 1107, 1107, 1108, 1109, 1110, 1110, 1111, 1111, 1112, 1112, 1106, 13, 1113, 1113, 1114, 1114, 1115, 1115, 1116, 1116, 1117, 1117, 1106, 25, 1118, 1118, 1119, 1119, 1120, 1120, 1121, 1121, 1106, 35, 1122, 1122, 1123, 1123, 1113, 1113, 1113, 1113, 1124, 1124, 1125, 1125, 1106, 1106, 1106, 1106, 1106, 1126, 1106, 1106, 1106, 1106, 1127, 1106, 1128, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1129, 1130, 1131, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1132, 1133, 1132, 1134, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1135, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1136, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1130, 1106, 1106, 1130, 1137, 1106, 1106, 1106, 1138, 1106, 1130, 1106, 1139, 1106, 1139, 1106, 1140, 1106, 1141, 1141, 1141, 1106, 1106, 1106, 1106, 1142, 1106, 1142, 1106, 1106, 1106, 1106, 1106, 1106, 1143, 1106, 1143, 1106, 1144, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1145, 1106, 1106, 1106, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1147, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1106, 1106, 1148, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1149, 1106, 1149, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1150, 1106, 1106, 1106, 1106, 1106, 1151, 1152, 1106, 1106, 1106, 1106, 1153, 1151, 1154, 1155, 1106, 1156, 1106, 1106, 1106, 1106, 1157, 1106, 1106, 1106, 1106, 1106, 1158, 1158, 1159, 1106, 1106, 1160, 1106, 1106, 1106, 1161, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1162, 1106, 1106, 1106, 1163, 1164, 1164, 1165, 1166, 1167, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1168, 1169, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1170, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1171, 1106, 1172, 1106, 1172, 1106, 1173, 1173, 1173, 1106, 1106, 1174, 1106, 1174, 1106, 1106, 1106, 1106, 1175, 1106, 1106, 1106, 1106, 1106, 1176, 1106, 1106, 1106, 1106, 1177, 1106, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1179, 1106, 1106, 1106, 1106, 1106, 1180, 1106, 1106, 1106, 1106, 1181, 1182, 1183, 1106, 1106, 1106, 1106, 1106, 1106, 1184, 1181, 1185, 1186, 1106, 1186, 1106, 1187, 1106, 1187, 1106, 1106, 1188, 1188, 1188, 1106, 1188, 1188, 1106, 1189, 1106, 1106, 1190, 1106, 1106, 1106, 1106, 1191, 1106, 1192, 1193, 1106, 1106, 1194, 1106, 1194, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1196, 1196, 1197, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1183, 1183, 1106, 1183, 1183, 1106, 1106, 1106, 1106, 1184, 1198, 1185, 1106, 1106, 1188, 414, 412, 412, 1188, 414, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1196, 1196, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1183, 1183, 1106, 1106, 1106, 1198, 1198, 1198, 1106, 511, 511, 1188, 414, 1188, 1188, 1188, 1106, 1106, 1106, 1106, 1106, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1196, 1196, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1199, 1106, 1106, 1198, 1106, 1198, 1106, 1188, 1188, 1188, 1106, 1106, 1106, 1106, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1196, 1196, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1178, 1178, 1178, 1106, 1178, 1106, 1106, 1106, 1106, 1199, 1106, 1199, 1106, 1106, 1106, 1106, 1106, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1200, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1200, 1106, 1200, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1195, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1106, 1106, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 0, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106 }; static yyconst flex_int16_t yy_nxt[4060] = { 0, 50, 51, 52, 50, 53, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 50, 50, 50, 50, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 50, 50, 50, 50, 55, 56, 50, 57, 50, 58, 50, 59, 50, 50, 50, 50, 50, 50, 50, 50, 60, 50, 50, 50, 50, 50, 50, 50, 50, 50, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 50, 50, 50, 50, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 50, 50, 50, 63, 64, 291, 65, 66, 83, 67, 84, 89, 68, 69, 70, 70, 89, 1027, 70, 71, 86, 83, 992, 84, 50, 72, 991, 87, 70, 93, 309, 94, 101, 102, 291, 103, 101, 102, 990, 103, 113, 989, 114, 119, 315, 120, 121, 148, 119, 149, 120, 121, 115, 50, 73, 74, 116, 116, 116, 116, 148, 90, 149, 91, 228, 229, 90, 230, 91, 309, 93, 95, 94, 276, 124, 125, 99, 126, 96, 97, 283, 98, 284, 75, 70, 70, 76, 77, 316, 78, 66, 988, 67, 79, 122, 68, 69, 70, 70, 122, 95, 70, 71, 124, 125, 290, 126, 96, 80, 260, 261, 70, 95, 128, 201, 129, 221, 202, 222, 96, 97, 117, 98, 410, 411, 223, 130, 320, 415, 415, 203, 203, 203, 203, 987, 290, 201, 73, 74, 202, 81, 95, 221, 324, 222, 325, 277, 225, 96, 226, 986, 223, 203, 203, 203, 203, 320, 227, 232, 233, 324, 234, 325, 131, 132, 133, 75, 70, 70, 104, 105, 106, 104, 107, 104, 104, 104, 104, 104, 104, 104, 108, 104, 108, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 109, 104, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 104, 104, 104, 104, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 104, 104, 104, 113, 128, 114, 129, 291, 151, 235, 152, 263, 263, 985, 151, 115, 152, 130, 153, 116, 116, 116, 116, 157, 153, 158, 159, 157, 366, 158, 159, 225, 333, 226, 254, 254, 291, 255, 401, 334, 402, 227, 265, 264, 266, 319, 236, 267, 267, 267, 267, 290, 343, 344, 131, 132, 133, 366, 154, 405, 155, 406, 298, 299, 154, 300, 155, 305, 305, 305, 305, 431, 264, 432, 160, 319, 236, 324, 160, 325, 984, 290, 343, 344, 117, 134, 134, 135, 134, 136, 137, 134, 134, 134, 138, 134, 134, 134, 134, 134, 134, 134, 139, 134, 134, 134, 134, 134, 134, 134, 134, 134, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 141, 140, 140, 140, 140, 140, 140, 142, 143, 134, 144, 134, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 141, 140, 140, 140, 140, 140, 140, 142, 145, 134, 146, 162, 163, 205, 164, 206, 162, 163, 165, 164, 353, 211, 211, 165, 333, 216, 351, 166, 212, 212, 358, 334, 166, 379, 379, 379, 379, 324, 217, 325, 352, 213, 213, 346, 359, 347, 360, 315, 218, 348, 353, 214, 214, 219, 167, 371, 215, 215, 376, 167, 358, 168, 169, 207, 170, 208, 168, 169, 217, 170, 352, 213, 213, 346, 359, 347, 360, 218, 348, 983, 214, 214, 219, 167, 371, 215, 215, 376, 167, 982, 168, 316, 209, 981, 210, 168, 171, 172, 173, 171, 174, 175, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 176, 177, 171, 171, 171, 178, 171, 171, 179, 180, 181, 182, 183, 184, 185, 186, 187, 185, 185, 188, 189, 190, 191, 192, 185, 193, 194, 195, 196, 197, 198, 185, 199, 171, 171, 171, 171, 171, 179, 180, 181, 182, 183, 184, 185, 186, 187, 185, 185, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 185, 199, 171, 171, 171, 205, 216, 206, 249, 250, 370, 251, 263, 263, 452, 252, 354, 269, 270, 217, 271, 263, 263, 453, 272, 456, 372, 263, 263, 218, 349, 356, 364, 273, 219, 410, 411, 355, 350, 274, 370, 980, 365, 452, 264, 373, 354, 374, 375, 217, 941, 357, 453, 264, 456, 207, 372, 208, 218, 264, 349, 356, 364, 219, 387, 361, 355, 398, 350, 362, 235, 275, 365, 264, 408, 373, 940, 374, 375, 425, 357, 939, 264, 428, 209, 429, 210, 238, 264, 253, 228, 229, 367, 230, 387, 361, 412, 398, 253, 362, 232, 233, 368, 234, 408, 369, 239, 236, 240, 425, 240, 249, 250, 428, 251, 429, 240, 938, 252, 240, 241, 242, 367, 240, 243, 244, 410, 411, 937, 245, 298, 299, 368, 300, 369, 936, 239, 236, 240, 935, 240, 445, 446, 934, 390, 391, 240, 392, 933, 240, 241, 242, 240, 243, 244, 932, 390, 391, 245, 392, 246, 393, 393, 393, 393, 390, 391, 931, 392, 413, 413, 445, 446, 393, 393, 393, 393, 390, 391, 458, 392, 448, 393, 393, 393, 393, 461, 394, 305, 305, 305, 305, 253, 449, 393, 393, 393, 393, 450, 930, 462, 414, 269, 270, 454, 271, 395, 464, 458, 272, 459, 448, 451, 463, 460, 461, 394, 396, 273, 465, 929, 455, 466, 449, 274, 468, 467, 469, 450, 462, 414, 470, 471, 472, 454, 473, 395, 464, 474, 476, 459, 451, 463, 480, 460, 482, 481, 396, 475, 465, 455, 485, 466, 486, 468, 467, 275, 469, 262, 262, 470, 471, 472, 401, 473, 402, 410, 411, 474, 476, 401, 928, 402, 480, 927, 482, 481, 475, 926, 497, 485, 504, 486, 253, 433, 434, 435, 436, 437, 437, 438, 437, 437, 437, 437, 439, 437, 437, 437, 440, 437, 437, 441, 437, 442, 437, 437, 443, 437, 497, 504, 405, 444, 406, 433, 434, 435, 436, 437, 437, 438, 437, 437, 437, 437, 439, 437, 437, 437, 440, 437, 441, 437, 442, 437, 437, 443, 437, 477, 483, 499, 500, 478, 501, 505, 506, 484, 479, 379, 379, 379, 379, 508, 405, 431, 406, 432, 502, 502, 502, 502, 510, 511, 925, 520, 512, 512, 924, 477, 483, 548, 923, 478, 505, 922, 506, 484, 479, 487, 521, 488, 522, 508, 489, 490, 503, 391, 921, 392, 491, 492, 510, 410, 411, 520, 493, 494, 513, 523, 548, 495, 409, 393, 393, 393, 393, 920, 496, 487, 521, 488, 522, 919, 489, 490, 519, 519, 519, 519, 491, 492, 431, 914, 432, 493, 494, 513, 913, 523, 495, 409, 409, 861, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 410, 411, 860, 515, 409, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 409, 409, 409, 516, 516, 546, 547, 524, 524, 524, 524, 524, 524, 524, 524, 549, 558, 550, 599, 859, 600, 524, 524, 858, 525, 526, 528, 533, 527, 551, 535, 530, 857, 529, 534, 546, 547, 410, 411, 517, 517, 517, 517, 531, 549, 558, 532, 550, 517, 517, 517, 517, 517, 517, 525, 526, 528, 533, 527, 551, 535, 530, 529, 552, 534, 560, 553, 554, 555, 556, 856, 557, 531, 410, 411, 532, 559, 855, 517, 517, 517, 517, 517, 517, 1106, 561, 562, 563, 565, 536, 537, 538, 539, 552, 560, 540, 553, 554, 555, 556, 541, 557, 564, 567, 542, 568, 559, 543, 854, 544, 569, 853, 545, 570, 561, 571, 562, 563, 565, 536, 537, 538, 539, 572, 573, 540, 574, 575, 576, 577, 541, 564, 578, 567, 542, 568, 543, 581, 544, 582, 569, 545, 579, 570, 583, 571, 584, 585, 580, 586, 587, 606, 588, 572, 573, 589, 574, 575, 576, 577, 590, 591, 578, 592, 593, 852, 594, 581, 582, 598, 851, 595, 579, 583, 596, 597, 584, 585, 580, 586, 587, 588, 500, 602, 600, 589, 503, 391, 603, 392, 590, 591, 619, 592, 593, 594, 604, 499, 500, 598, 501, 595, 608, 596, 597, 601, 500, 599, 501, 600, 410, 411, 259, 602, 502, 502, 502, 502, 603, 410, 411, 619, 502, 502, 502, 502, 604, 601, 500, 850, 501, 607, 608, 409, 409, 848, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 410, 411, 613, 610, 409, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, 409, 409, 409, 611, 611, 616, 409, 524, 524, 614, 614, 524, 524, 524, 845, 617, 618, 623, 828, 696, 697, 524, 698, 524, 625, 621, 626, 622, 775, 629, 776, 817, 624, 524, 700, 616, 628, 410, 411, 612, 612, 612, 612, 410, 411, 617, 618, 623, 612, 612, 612, 612, 612, 612, 625, 621, 626, 622, 524, 629, 627, 624, 806, 524, 524, 524, 628, 409, 524, 630, 781, 632, 644, 643, 524, 524, 636, 780, 612, 612, 612, 612, 612, 612, 615, 615, 615, 615, 631, 627, 633, 634, 524, 615, 615, 615, 615, 615, 615, 630, 524, 632, 644, 643, 779, 646, 636, 524, 645, 647, 635, 524, 649, 524, 524, 650, 651, 652, 631, 653, 633, 634, 637, 615, 615, 615, 615, 615, 615, 639, 638, 697, 640, 641, 642, 646, 654, 645, 647, 656, 635, 649, 655, 658, 650, 657, 651, 652, 659, 606, 660, 637, 661, 662, 692, 664, 665, 669, 639, 667, 638, 640, 668, 641, 642, 670, 654, 671, 672, 656, 673, 675, 655, 658, 657, 674, 676, 677, 659, 660, 678, 661, 679, 662, 664, 680, 665, 669, 667, 681, 683, 668, 682, 684, 670, 685, 687, 671, 672, 686, 673, 675, 688, 690, 674, 676, 677, 693, 689, 691, 678, 694, 679, 695, 703, 680, 701, 701, 705, 681, 683, 682, 684, 524, 524, 685, 687, 706, 686, 607, 768, 524, 688, 690, 410, 411, 693, 689, 524, 691, 524, 694, 695, 708, 703, 524, 710, 705, 707, 524, 410, 411, 702, 702, 702, 702, 709, 706, 711, 524, 712, 702, 702, 702, 702, 702, 702, 714, 713, 524, 524, 524, 524, 708, 764, 710, 715, 707, 716, 717, 524, 524, 775, 718, 776, 721, 709, 524, 711, 524, 712, 702, 702, 702, 702, 702, 702, 714, 713, 719, 723, 720, 524, 524, 524, 524, 715, 724, 716, 717, 524, 722, 524, 718, 524, 721, 726, 728, 752, 731, 732, 734, 727, 730, 748, 733, 736, 741, 738, 719, 723, 720, 725, 735, 729, 743, 740, 724, 739, 742, 722, 744, 745, 746, 747, 749, 726, 728, 731, 750, 732, 734, 727, 730, 733, 751, 736, 741, 738, 753, 754, 725, 755, 735, 729, 740, 756, 739, 757, 742, 744, 758, 745, 746, 747, 749, 759, 761, 750, 760, 762, 763, 765, 766, 767, 751, 769, 770, 753, 754, 771, 755, 772, 773, 777, 778, 756, 757, 696, 697, 758, 698, 410, 411, 409, 524, 759, 761, 760, 762, 524, 763, 765, 766, 767, 524, 769, 770, 524, 771, 410, 411, 772, 773, 777, 778, 524, 782, 524, 786, 784, 783, 524, 524, 785, 524, 524, 524, 524, 524, 787, 524, 791, 524, 524, 524, 363, 363, 807, 793, 737, 795, 802, 524, 788, 796, 524, 782, 786, 789, 784, 783, 790, 792, 785, 524, 797, 524, 794, 798, 787, 524, 791, 799, 800, 524, 804, 524, 807, 793, 808, 795, 802, 788, 803, 796, 805, 811, 789, 801, 809, 790, 792, 812, 813, 797, 814, 794, 815, 798, 810, 704, 816, 799, 800, 818, 804, 819, 820, 808, 821, 822, 823, 825, 803, 824, 805, 811, 826, 801, 809, 827, 829, 812, 813, 814, 830, 815, 831, 838, 810, 816, 839, 846, 775, 818, 776, 819, 820, 849, 821, 822, 823, 825, 824, 847, 524, 917, 826, 918, 827, 864, 829, 832, 833, 524, 830, 831, 834, 838, 524, 835, 839, 846, 836, 840, 841, 524, 849, 837, 842, 524, 878, 843, 524, 847, 844, 863, 524, 862, 524, 864, 865, 832, 833, 524, 868, 866, 834, 524, 524, 835, 524, 875, 836, 840, 841, 876, 837, 872, 842, 878, 867, 843, 870, 524, 844, 863, 862, 871, 880, 869, 865, 882, 873, 877, 868, 866, 874, 879, 881, 409, 883, 875, 884, 699, 885, 876, 886, 872, 887, 867, 888, 870, 889, 890, 891, 892, 871, 880, 869, 894, 882, 873, 895, 877, 896, 902, 874, 879, 881, 883, 901, 893, 884, 885, 903, 904, 886, 887, 905, 907, 888, 906, 889, 890, 891, 892, 897, 692, 911, 894, 898, 895, 912, 899, 896, 902, 915, 943, 908, 901, 893, 909, 524, 900, 903, 904, 944, 946, 905, 907, 906, 910, 945, 947, 948, 950, 897, 911, 949, 951, 898, 912, 952, 899, 953, 915, 942, 943, 908, 954, 955, 909, 900, 956, 666, 957, 944, 946, 958, 959, 910, 945, 960, 947, 948, 950, 961, 949, 962, 951, 963, 964, 952, 965, 953, 942, 966, 967, 954, 968, 955, 969, 971, 956, 957, 970, 972, 973, 958, 959, 974, 975, 960, 976, 979, 961, 977, 917, 962, 918, 963, 964, 917, 965, 918, 966, 967, 993, 994, 968, 995, 969, 971, 978, 970, 996, 972, 973, 997, 974, 975, 998, 976, 979, 999, 1000, 977, 1001, 663, 1002, 1003, 1004, 648, 1005, 1006, 1007, 993, 1008, 994, 1009, 995, 1010, 978, 1011, 1012, 996, 1013, 1014, 997, 1015, 1016, 998, 1017, 1018, 999, 1000, 1019, 1001, 1002, 1003, 1020, 1004, 1005, 1021, 1006, 1007, 1008, 1022, 1009, 1025, 1010, 1023, 1026, 1011, 1012, 1024, 1013, 1014, 1015, 1016, 1028, 1017, 1029, 1018, 1030, 1031, 1019, 1032, 1033, 1034, 1020, 1035, 1036, 1021, 1037, 1038, 1022, 1039, 1025, 1040, 1023, 1041, 1026, 1042, 1024, 1043, 1044, 1045, 1046, 1047, 1028, 1048, 1029, 1030, 1049, 1031, 1032, 1033, 1034, 1050, 1057, 1035, 1036, 1037, 1038, 1051, 1052, 1039, 1053, 1040, 1054, 1041, 1055, 1042, 1056, 1043, 1044, 1045, 1046, 1047, 1048, 1058, 1059, 1060, 1049, 1061, 620, 1062, 1063, 1050, 1057, 1064, 1065, 1066, 1051, 1052, 1067, 1053, 1068, 1054, 1069, 1055, 1070, 1056, 1071, 1072, 1073, 1074, 1075, 409, 1076, 1058, 1059, 1060, 1077, 1061, 1062, 1078, 1063, 1079, 1080, 1064, 1065, 1066, 1081, 1067, 1082, 1083, 1068, 1084, 1069, 1085, 1070, 1086, 1071, 1072, 1073, 1074, 1075, 1076, 1087, 1088, 1089, 1077, 1090, 1091, 1092, 1078, 1079, 1093, 1080, 1094, 566, 1095, 1081, 1082, 1096, 1083, 1097, 1084, 1098, 1085, 1099, 1086, 1100, 1101, 524, 1102, 1103, 1104, 1087, 1088, 1089, 1090, 1091, 1105, 1092, 416, 1093, 416, 420, 1094, 1095, 391, 518, 1096, 518, 1097, 378, 457, 1098, 342, 1099, 1100, 339, 1101, 1102, 1103, 336, 1104, 301, 299, 301, 296, 286, 1105, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 231, 231, 282, 231, 231, 423, 422, 421, 231, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 248, 248, 270, 248, 248, 420, 418, 417, 248, 259, 407, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 262, 254, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, 268, 268, 268, 403, 268, 268, 250, 233, 229, 268, 280, 386, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 281, 385, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 384, 285, 382, 285, 285, 295, 381, 380, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 303, 303, 378, 303, 303, 342, 340, 339, 303, 308, 338, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 311, 337, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, 317, 311, 311, 312, 336, 312, 335, 331, 312, 312, 312, 312, 312, 329, 328, 327, 312, 314, 326, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 318, 318, 322, 318, 318, 321, 317, 313, 318, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 330, 307, 330, 310, 330, 330, 330, 330, 330, 330, 330, 330, 330, 307, 330, 330, 330, 332, 306, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 341, 304, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 345, 345, 302, 299, 345, 345, 377, 301, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 383, 297, 383, 383, 383, 296, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 231, 231, 294, 231, 231, 293, 292, 289, 231, 388, 288, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 389, 287, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 397, 397, 286, 282, 279, 397, 399, 399, 278, 270, 258, 399, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 248, 248, 257, 248, 248, 256, 250, 247, 248, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 409, 233, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 229, 409, 409, 259, 1106, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 419, 419, 111, 419, 419, 111, 1106, 1106, 419, 419, 424, 1106, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 280, 1106, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 281, 1106, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 426, 1106, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 427, 1106, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 1106, 285, 1106, 285, 285, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 295, 1106, 1106, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 303, 303, 1106, 303, 303, 1106, 1106, 1106, 303, 312, 1106, 312, 1106, 1106, 312, 312, 312, 312, 312, 1106, 1106, 1106, 312, 314, 1106, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, 318, 318, 1106, 318, 318, 1106, 1106, 1106, 318, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 330, 1106, 330, 1106, 330, 330, 330, 330, 330, 330, 330, 330, 330, 1106, 330, 330, 330, 447, 1106, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 341, 1106, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 345, 345, 1106, 1106, 345, 345, 377, 1106, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 383, 1106, 383, 383, 383, 1106, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 383, 388, 1106, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 388, 389, 1106, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, 507, 507, 1106, 507, 507, 1106, 1106, 1106, 507, 509, 509, 1106, 509, 509, 1106, 1106, 1106, 509, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, 409, 1106, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 1106, 409, 409, 419, 419, 1106, 419, 419, 1106, 1106, 1106, 419, 419, 424, 1106, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 424, 426, 1106, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 426, 427, 1106, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 437, 437, 437, 318, 318, 1106, 318, 318, 1106, 1106, 1106, 318, 447, 1106, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 605, 1106, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 605, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 49, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106}; static yyconst flex_int16_t yy_chk[4060] = { 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 96, 3, 3, 5, 3, 5, 7, 3, 3, 3, 3, 8, 992, 3, 3, 6, 6, 942, 6, 21, 3, 941, 6, 3, 9, 126, 9, 11, 11, 96, 11, 12, 12, 940, 12, 17, 939, 17, 19, 138, 19, 19, 27, 20, 27, 20, 20, 17, 22, 3, 3, 17, 17, 17, 17, 28, 7, 28, 7, 51, 51, 8, 51, 8, 126, 10, 9, 10, 79, 21, 21, 10, 21, 9, 9, 87, 9, 87, 3, 3, 3, 4, 4, 138, 4, 4, 938, 4, 4, 19, 4, 4, 4, 4, 20, 9, 4, 4, 22, 22, 95, 22, 9, 4, 73, 73, 4, 10, 23, 37, 23, 45, 37, 45, 10, 10, 17, 10, 259, 259, 45, 23, 142, 263, 263, 37, 37, 37, 37, 937, 95, 38, 4, 4, 38, 4, 10, 46, 147, 46, 147, 79, 47, 10, 47, 936, 46, 38, 38, 38, 38, 142, 47, 55, 55, 149, 55, 149, 23, 23, 23, 4, 4, 4, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 18, 24, 18, 24, 168, 29, 58, 29, 74, 74, 935, 30, 18, 30, 24, 29, 18, 18, 18, 18, 31, 30, 31, 31, 32, 191, 32, 32, 48, 162, 48, 67, 67, 168, 67, 246, 162, 246, 48, 75, 74, 75, 141, 58, 75, 75, 75, 75, 167, 176, 177, 24, 24, 24, 191, 29, 253, 29, 253, 105, 105, 30, 105, 30, 116, 116, 116, 116, 294, 74, 294, 31, 141, 58, 323, 32, 323, 934, 167, 176, 177, 18, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 33, 33, 39, 33, 39, 34, 34, 33, 34, 182, 41, 42, 34, 333, 43, 181, 33, 41, 42, 186, 333, 34, 203, 203, 203, 203, 325, 43, 325, 181, 41, 42, 179, 187, 179, 188, 314, 43, 179, 182, 41, 42, 43, 33, 194, 41, 42, 199, 34, 186, 33, 33, 39, 33, 39, 34, 34, 43, 34, 181, 41, 42, 179, 187, 179, 188, 43, 179, 933, 41, 42, 43, 33, 194, 41, 42, 199, 34, 932, 33, 314, 39, 931, 39, 34, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 40, 44, 40, 63, 63, 193, 63, 122, 122, 347, 63, 183, 76, 76, 44, 76, 125, 125, 348, 76, 350, 195, 132, 132, 44, 180, 184, 190, 76, 44, 409, 409, 183, 180, 76, 193, 930, 190, 347, 122, 196, 183, 197, 198, 44, 873, 184, 348, 125, 350, 40, 195, 40, 44, 132, 180, 184, 190, 44, 236, 189, 183, 244, 180, 189, 235, 76, 190, 122, 258, 196, 872, 197, 198, 278, 184, 871, 125, 290, 40, 291, 40, 59, 132, 63, 228, 228, 192, 228, 236, 189, 260, 244, 76, 189, 232, 232, 192, 232, 258, 192, 59, 235, 59, 278, 59, 249, 249, 290, 249, 291, 59, 870, 249, 59, 59, 59, 192, 59, 59, 59, 260, 260, 869, 59, 298, 298, 192, 298, 192, 868, 59, 235, 59, 867, 59, 319, 320, 866, 239, 239, 59, 239, 865, 59, 59, 59, 59, 59, 59, 864, 240, 240, 59, 240, 59, 239, 239, 239, 239, 241, 241, 863, 241, 261, 261, 319, 320, 240, 240, 240, 240, 242, 242, 352, 242, 343, 241, 241, 241, 241, 354, 239, 305, 305, 305, 305, 249, 344, 242, 242, 242, 242, 346, 862, 355, 261, 269, 269, 349, 269, 241, 357, 352, 269, 353, 343, 346, 356, 353, 354, 239, 242, 269, 358, 861, 349, 359, 344, 269, 360, 359, 361, 346, 355, 261, 362, 364, 366, 349, 367, 241, 357, 368, 369, 353, 346, 356, 371, 353, 372, 371, 242, 368, 358, 349, 374, 359, 375, 360, 359, 269, 361, 415, 415, 362, 364, 366, 400, 367, 400, 614, 614, 368, 369, 402, 860, 402, 371, 859, 372, 371, 368, 858, 387, 374, 394, 375, 269, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 387, 394, 404, 307, 404, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, 370, 373, 390, 390, 370, 390, 395, 396, 373, 370, 379, 379, 379, 379, 398, 406, 430, 406, 430, 390, 390, 390, 390, 408, 410, 857, 423, 411, 411, 856, 370, 373, 448, 855, 370, 395, 854, 396, 373, 370, 376, 425, 376, 428, 398, 376, 376, 393, 393, 853, 393, 376, 376, 408, 410, 410, 423, 376, 376, 411, 429, 448, 376, 411, 393, 393, 393, 393, 852, 376, 376, 425, 376, 428, 851, 376, 376, 420, 420, 420, 420, 376, 376, 432, 847, 432, 376, 376, 411, 846, 429, 376, 412, 412, 792, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 791, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 413, 413, 445, 446, 441, 433, 434, 435, 438, 439, 436, 442, 449, 459, 450, 498, 790, 498, 440, 443, 789, 433, 434, 436, 441, 435, 451, 443, 439, 788, 438, 442, 445, 446, 413, 413, 414, 414, 414, 414, 440, 449, 459, 440, 450, 414, 414, 414, 414, 414, 414, 433, 434, 436, 441, 435, 451, 443, 439, 438, 452, 442, 462, 453, 454, 455, 456, 787, 458, 440, 414, 414, 440, 460, 786, 414, 414, 414, 414, 414, 414, 444, 463, 464, 465, 467, 444, 444, 444, 444, 452, 462, 444, 453, 454, 455, 456, 444, 458, 466, 469, 444, 470, 460, 444, 785, 444, 471, 784, 444, 472, 463, 473, 464, 465, 467, 444, 444, 444, 444, 474, 475, 444, 476, 477, 478, 479, 444, 466, 480, 469, 444, 470, 444, 482, 444, 483, 471, 444, 481, 472, 484, 473, 485, 486, 481, 487, 488, 508, 489, 474, 475, 490, 476, 477, 478, 479, 491, 492, 480, 493, 494, 783, 495, 482, 483, 497, 782, 496, 481, 484, 496, 496, 485, 486, 481, 487, 488, 489, 501, 504, 501, 490, 503, 503, 505, 503, 491, 492, 523, 493, 494, 495, 506, 499, 499, 497, 499, 496, 510, 496, 496, 502, 502, 600, 502, 600, 613, 613, 613, 504, 499, 499, 499, 499, 505, 615, 615, 523, 502, 502, 502, 502, 506, 601, 601, 780, 601, 508, 510, 511, 511, 773, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 514, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 512, 512, 520, 514, 525, 527, 516, 516, 532, 526, 528, 770, 521, 522, 526, 758, 607, 607, 529, 607, 531, 528, 525, 529, 525, 693, 532, 693, 744, 527, 530, 609, 520, 531, 512, 512, 513, 513, 513, 513, 516, 516, 521, 522, 526, 513, 513, 513, 513, 513, 513, 528, 525, 529, 525, 535, 532, 530, 527, 733, 539, 533, 545, 531, 609, 534, 533, 704, 535, 546, 545, 536, 537, 539, 703, 513, 513, 513, 513, 513, 513, 517, 517, 517, 517, 534, 530, 536, 537, 538, 517, 517, 517, 517, 517, 517, 533, 540, 535, 546, 545, 699, 550, 539, 542, 547, 551, 538, 541, 553, 543, 544, 554, 555, 556, 534, 557, 536, 537, 540, 517, 517, 517, 517, 517, 517, 542, 541, 698, 542, 543, 544, 550, 557, 547, 551, 558, 538, 553, 557, 560, 554, 559, 555, 556, 563, 606, 564, 540, 565, 566, 692, 569, 570, 574, 542, 572, 541, 542, 573, 543, 544, 576, 557, 577, 578, 558, 579, 581, 557, 560, 559, 580, 582, 583, 563, 564, 584, 565, 586, 566, 569, 587, 570, 574, 572, 588, 590, 573, 589, 591, 576, 592, 594, 577, 578, 593, 579, 581, 595, 596, 580, 582, 583, 602, 595, 597, 584, 603, 586, 604, 616, 587, 611, 611, 618, 588, 590, 589, 591, 621, 624, 592, 594, 619, 593, 606, 686, 622, 595, 596, 701, 701, 602, 595, 623, 597, 626, 603, 604, 622, 616, 625, 624, 618, 621, 628, 611, 611, 612, 612, 612, 612, 623, 619, 625, 627, 626, 612, 612, 612, 612, 612, 612, 628, 627, 629, 631, 630, 632, 622, 682, 624, 629, 621, 630, 631, 634, 633, 774, 632, 774, 634, 623, 635, 625, 636, 626, 612, 612, 612, 612, 612, 612, 628, 627, 633, 636, 633, 637, 639, 640, 638, 629, 637, 630, 631, 643, 635, 641, 632, 642, 634, 639, 641, 668, 644, 645, 648, 640, 643, 664, 647, 650, 655, 653, 633, 636, 633, 638, 648, 642, 658, 654, 637, 653, 657, 635, 659, 661, 662, 663, 665, 639, 641, 644, 666, 645, 648, 640, 643, 647, 667, 650, 655, 653, 669, 670, 638, 671, 648, 642, 654, 673, 653, 674, 657, 659, 675, 661, 662, 663, 665, 676, 679, 666, 678, 680, 681, 683, 684, 685, 667, 687, 688, 669, 670, 689, 671, 690, 691, 694, 695, 673, 674, 696, 696, 675, 696, 700, 700, 700, 711, 676, 679, 678, 680, 707, 681, 683, 684, 685, 709, 687, 688, 710, 689, 702, 702, 690, 691, 694, 695, 708, 707, 712, 711, 709, 708, 713, 716, 710, 714, 718, 721, 715, 720, 712, 717, 716, 719, 722, 727, 1147, 1147, 734, 718, 652, 720, 727, 724, 713, 721, 723, 707, 711, 714, 709, 708, 715, 717, 710, 725, 722, 729, 719, 723, 712, 726, 716, 724, 725, 730, 729, 728, 734, 718, 735, 720, 727, 713, 728, 721, 730, 738, 714, 726, 737, 715, 717, 739, 740, 722, 741, 719, 742, 723, 737, 617, 743, 724, 725, 745, 729, 746, 747, 735, 748, 749, 750, 752, 728, 751, 730, 738, 754, 726, 737, 756, 760, 739, 740, 741, 761, 742, 762, 765, 737, 743, 767, 771, 776, 745, 776, 746, 747, 778, 748, 749, 750, 752, 751, 772, 795, 849, 754, 849, 756, 795, 760, 764, 764, 793, 761, 762, 764, 765, 794, 764, 767, 771, 764, 768, 768, 796, 778, 764, 768, 797, 809, 768, 799, 772, 768, 794, 798, 793, 801, 795, 796, 764, 764, 802, 799, 797, 764, 800, 803, 764, 804, 806, 764, 768, 768, 807, 764, 803, 768, 809, 798, 768, 801, 805, 768, 794, 793, 802, 811, 800, 796, 814, 804, 808, 799, 797, 805, 810, 812, 610, 816, 806, 817, 608, 818, 807, 819, 803, 820, 798, 821, 801, 823, 825, 826, 828, 802, 811, 800, 832, 814, 804, 833, 808, 834, 837, 805, 810, 812, 816, 836, 828, 817, 818, 838, 839, 819, 820, 840, 842, 821, 841, 823, 825, 826, 828, 835, 598, 844, 832, 835, 833, 845, 835, 834, 837, 848, 875, 843, 836, 828, 843, 874, 835, 838, 839, 876, 878, 840, 842, 841, 843, 877, 879, 880, 883, 835, 844, 881, 884, 835, 845, 885, 835, 886, 848, 874, 875, 843, 888, 889, 843, 835, 890, 571, 891, 876, 878, 892, 893, 843, 877, 894, 879, 880, 883, 895, 881, 897, 884, 898, 899, 885, 900, 886, 874, 901, 902, 888, 904, 889, 905, 908, 890, 891, 906, 909, 910, 892, 893, 911, 912, 894, 913, 915, 895, 914, 916, 897, 916, 898, 899, 918, 900, 918, 901, 902, 943, 944, 904, 945, 905, 908, 914, 906, 946, 909, 910, 947, 911, 912, 948, 913, 915, 949, 950, 914, 951, 568, 952, 953, 954, 552, 955, 956, 958, 943, 959, 944, 960, 945, 961, 914, 962, 963, 946, 964, 965, 947, 967, 969, 948, 970, 971, 949, 950, 972, 951, 952, 953, 973, 954, 955, 975, 956, 958, 959, 976, 960, 978, 961, 977, 979, 962, 963, 977, 964, 965, 967, 969, 993, 970, 994, 971, 995, 996, 972, 997, 998, 999, 973, 1001, 1002, 975, 1004, 1005, 976, 1006, 978, 1007, 977, 1008, 979, 1009, 977, 1010, 1012, 1016, 1017, 1018, 993, 1021, 994, 995, 1022, 996, 997, 998, 999, 1023, 1031, 1001, 1002, 1004, 1005, 1024, 1025, 1006, 1026, 1007, 1028, 1008, 1029, 1009, 1030, 1010, 1012, 1016, 1017, 1018, 1021, 1032, 1033, 1034, 1022, 1037, 524, 1039, 1041, 1023, 1031, 1044, 1047, 1048, 1024, 1025, 1049, 1026, 1050, 1028, 1051, 1029, 1052, 1030, 1053, 1054, 1055, 1056, 1058, 515, 1059, 1032, 1033, 1034, 1060, 1037, 1039, 1061, 1041, 1063, 1067, 1044, 1047, 1048, 1068, 1049, 1069, 1070, 1050, 1072, 1051, 1073, 1052, 1074, 1053, 1054, 1055, 1056, 1058, 1059, 1075, 1076, 1077, 1060, 1078, 1081, 1083, 1061, 1063, 1084, 1067, 1085, 468, 1086, 1068, 1069, 1087, 1070, 1088, 1072, 1090, 1073, 1093, 1074, 1094, 1097, 437, 1098, 1099, 1102, 1075, 1076, 1077, 1078, 1081, 1103, 1083, 1160, 1084, 1160, 419, 1085, 1086, 392, 1189, 1087, 1189, 1088, 377, 351, 1090, 341, 1093, 1094, 339, 1097, 1098, 1099, 334, 1102, 301, 300, 299, 296, 285, 1103, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1107, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1108, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1118, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1119, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1120, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1121, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1124, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1126, 1126, 282, 1126, 1126, 274, 273, 272, 1126, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1128, 1128, 271, 1128, 1128, 268, 266, 265, 1128, 1129, 256, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1130, 255, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1131, 1131, 1131, 252, 1131, 1131, 251, 234, 230, 1131, 1132, 227, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1133, 226, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1133, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 222, 1134, 208, 1134, 1134, 1135, 207, 206, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1136, 1136, 202, 1136, 1136, 175, 174, 172, 1136, 1137, 170, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1137, 1138, 169, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 166, 1138, 1138, 1139, 165, 1139, 164, 158, 1139, 1139, 1139, 1139, 1139, 155, 154, 153, 1139, 1140, 152, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1141, 1141, 144, 1141, 1141, 143, 139, 136, 1141, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1143, 131, 1143, 129, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 124, 1143, 1143, 1143, 1144, 120, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1145, 114, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1145, 1146, 1146, 109, 107, 1146, 1146, 1148, 106, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1149, 103, 1149, 1149, 1149, 101, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1150, 1150, 99, 1150, 1150, 98, 97, 94, 1150, 1151, 91, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1152, 90, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1153, 1153, 88, 86, 84, 1153, 1154, 1154, 80, 78, 72, 1154, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1156, 1156, 71, 1156, 1156, 68, 65, 60, 1156, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1157, 1158, 57, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 53, 1158, 1158, 1159, 49, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1161, 1161, 16, 1161, 1161, 15, 0, 0, 1161, 1161, 1162, 0, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1163, 0, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1164, 0, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1165, 0, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1166, 0, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 0, 1167, 0, 1167, 1167, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1169, 0, 0, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1170, 1170, 0, 1170, 1170, 0, 0, 0, 1170, 1171, 0, 1171, 0, 0, 1171, 1171, 1171, 1171, 1171, 0, 0, 0, 1171, 1172, 0, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1173, 1173, 0, 1173, 1173, 0, 0, 0, 1173, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1175, 0, 1175, 0, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 0, 1175, 1175, 1175, 1176, 0, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1176, 1177, 0, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1178, 1178, 0, 0, 1178, 1178, 1179, 0, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1180, 0, 1180, 1180, 1180, 0, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1181, 0, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1182, 0, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1183, 1184, 1184, 0, 1184, 1184, 0, 0, 0, 1184, 1185, 1185, 0, 1185, 1185, 0, 0, 0, 1185, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1186, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1188, 0, 1188, 1188, 1188, 1188, 1188, 1188, 1188, 1188, 1188, 1188, 1188, 1188, 0, 1188, 1188, 1190, 1190, 0, 1190, 1190, 0, 0, 0, 1190, 1190, 1191, 0, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1192, 0, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1193, 0, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1195, 1195, 1195, 1196, 1196, 0, 1196, 1196, 0, 0, 0, 1196, 1197, 0, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1198, 0, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1199, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106, 1106}; extern int yy_flex_debug; int yy_flex_debug = 0; static yy_state_type *yy_state_buf = 0, *yy_state_ptr = 0; static char *yy_full_match; static int yy_lp; #define REJECT \ { \ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ ++(yy_lp); \ goto find_rule; \ } static int yy_more_flag = 0; static int yy_more_len = 0; #define yymore() ((yy_more_flag) = 1) #define YY_MORE_ADJ (yy_more_len) #define YY_RESTORE_YY_MORE_OFFSET char *yytext; /* $OpenBSD: scan.l,v 1.12 2015/11/19 23:34:56 mmcc Exp $ */ /* scan.l - scanner for flex input -*-C-*- */ /* Copyright (c) 1990 The Regents of the University of California. */ /* All rights reserved. */ /* This code is derived from software contributed to Berkeley by */ /* Vern Paxson. */ /* The United States Government has rights in this work pursuant */ /* to contract no. DE-AC03-76SF00098 between the United States */ /* Department of Energy and the University of California. */ /* This file is part of flex. */ /* Redistribution and use in source and binary forms, with or without */ /* modification, are permitted provided that the following conditions */ /* are met: */ /* 1. Redistributions of source code must retain the above copyright */ /* notice, this list of conditions and the following disclaimer. */ /* 2. Redistributions in binary form must reproduce the above copyright */ /* notice, this list of conditions and the following disclaimer in the */ /* documentation and/or other materials provided with the distribution. */ /* Neither the name of the University nor the names of its contributors */ /* may be used to endorse or promote products derived from this software */ /* without specific prior written permission. */ /* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ /* PURPOSE. */ #include "flexdef.h" #include "parse.h" extern bool tablesverify, tablesext; extern int trlcontxt; /* Set in parse.y for each rule. */ extern const char *escaped_qstart, *escaped_qend; #define ACTION_ECHO add_action(yytext) #define ACTION_IFDEF(def, should_define) \ { \ if (should_define) action_define(def, 1); \ } #define ACTION_ECHO_QSTART add_action(escaped_qstart) #define ACTION_ECHO_QEND add_action(escaped_qend) #define ACTION_M4_IFDEF(def, should_define) \ do { \ if (should_define) \ buf_m4_define(&m4defs_buf, def, NULL); \ else \ buf_m4_undefine(&m4defs_buf, def); \ } while (0) #define MARK_END_OF_PROLOG mark_prolog(); #define YY_DECL int flexscan() #define RETURNCHAR \ yylval = (unsigned char)yytext[0]; \ return CHAR; #define RETURNNAME \ if (yyleng < MAXLINE) { \ strlcpy(nmstr, yytext, sizeof nmstr); \ } else { \ synerr(_("Input line too long\n")); \ FLEX_EXIT(EXIT_FAILURE); \ } \ return NAME; #define PUT_BACK_STRING(str, start) \ for (i = strlen(str) - 1; i >= start; --i) unput((str)[i]) #define CHECK_REJECT(str) \ if (all_upper(str)) reject = true; #define CHECK_YYMORE(str) \ if (all_lower(str)) yymore_used = true; #define YY_USER_INIT \ if (getenv("POSIXLY_CORRECT")) posix_compat = true; #define INITIAL 0 #define SECT2 1 #define SECT2PROLOG 2 #define SECT3 3 #define CODEBLOCK 4 #define PICKUPDEF 5 #define SC 6 #define CARETISBOL 7 #define NUM 8 #define QUOTE 9 #define FIRSTCCL 10 #define CCL 11 #define ACTION 12 #define RECOVER 13 #define COMMENT 14 #define ACTION_STRING 15 #define PERCENT_BRACE_ACTION 16 #define OPTION 17 #define LINEDIR 18 #define CODEBLOCK_MATCH_BRACE 19 #define GROUP_WITH_PARAMS 20 #define GROUP_MINUS_PARAMS 21 #define EXTENDED_COMMENT 22 #define COMMENT_DISCARD 23 #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 "libc/calls/calls.h" #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 static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = NULL; static void yy_push_state(int new_state); static void yy_pop_state(void); /* 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) \ if (YY_CURRENT_BUFFER_LVALUE->yy_is_interactive) { \ int c = '*'; \ size_t n; \ for (n = 0; n < max_size && (c = getc(yyin)) != EOF && c != '\n'; ++n) \ buf[n] = (char)c; \ if (c == '\n') buf[n++] = (char)c; \ if (c == EOF && ferror(yyin)) \ YY_FATAL_ERROR("input in flex scanner failed"); \ result = n; \ } else { \ errno = 0; \ while ((result = fread(buf, 1, max_size, yyin)) == 0 && ferror(yyin)) { \ if (errno != EINTR) { \ YY_FATAL_ERROR("input in flex scanner failed"); \ break; \ } \ errno = 0; \ clearerr(yyin); \ } \ } #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 \ if (yyleng > 0) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { yy_state_type yy_current_state; char *yy_cp, *yy_bp; int yy_act; if (!(yy_init)) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif /* Create the reject buffer large enough to save one state per allowed * character. */ if (!(yy_state_buf)) (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE); if (!(yy_state_buf)) YY_FATAL_ERROR("out of dynamic memory in yylex()"); if (!(yy_start)) (yy_start) = 1; /* first start state */ if (!yyin) yyin = stdin; 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(); } { static int bracelevel, didadef, indented_code; static int doing_rule_action = false; static int option_sense; int doing_codeblock = false; int i, brace_depth = 0, brace_start_line = 0; u_char nmdef[MAXLINE]; while (1) /* loops until end-of-file is reached */ { (yy_more_len) = 0; if ((yy_more_flag)) { (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); (yy_more_flag) = 0; } 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); yy_current_state += YY_AT_BOL(); (yy_state_ptr) = (yy_state_buf); *(yy_state_ptr)++ = yy_current_state; yy_match: do { YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; while (yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state) { yy_current_state = (int)yy_def[yy_current_state]; if (yy_current_state >= 1107) yy_c = yy_meta[(unsigned int)yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int)yy_c]; *(yy_state_ptr)++ = yy_current_state; ++yy_cp; } while (yy_base[yy_current_state] != 3975); yy_find_action: yy_current_state = *--(yy_state_ptr); (yy_lp) = yy_accept[yy_current_state]; find_rule: /* we branch to this label when backing up */ for (;;) /* until we find what rule we matched */ { if ((yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1]) { yy_act = yy_acclist[(yy_lp)]; { (yy_full_match) = yy_cp; break; } } --yy_cp; yy_current_state = *--(yy_state_ptr); (yy_lp) = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch (yy_act) { /* beginning of action switch */ case 1: YY_RULE_SETUP indented_code = true; BEGIN(CODEBLOCK); YY_BREAK case 2: YY_RULE_SETUP ACTION_ECHO; yy_push_state(COMMENT); YY_BREAK case 3: YY_RULE_SETUP yy_push_state(LINEDIR); YY_BREAK case 4: YY_RULE_SETUP return SCDECL; YY_BREAK case 5: YY_RULE_SETUP return XSCDECL; YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP { ++linenum; line_directive_out((FILE *)0, 1); indented_code = false; BEGIN(CODEBLOCK); } YY_BREAK case 7: /* rule 7 can match eol */ YY_RULE_SETUP { brace_start_line = linenum; ++linenum; buf_linedir(&top_buf, infilename ? infilename : "", linenum); brace_depth = 1; yy_push_state(CODEBLOCK_MATCH_BRACE); } YY_BREAK case 8: YY_RULE_SETUP synerr(_("malformed '%top' directive")); YY_BREAK case 9: YY_RULE_SETUP /* discard */ YY_BREAK case 10: YY_RULE_SETUP { sectnum = 2; bracelevel = 0; mark_defs1(); line_directive_out((FILE *)0, 1); BEGIN(SECT2PROLOG); return SECTEND; } YY_BREAK case 11: /* rule 11 can match eol */ YY_RULE_SETUP yytext_is_array = false; ++linenum; YY_BREAK case 12: /* rule 12 can match eol */ YY_RULE_SETUP yytext_is_array = true; ++linenum; YY_BREAK case 13: YY_RULE_SETUP BEGIN(OPTION); return OPTION_OP; YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP ++linenum; /* ignore */ YY_BREAK case 15: /* rule 15 can match eol */ YY_RULE_SETUP ++linenum; /* ignore */ YY_BREAK /* xgettext: no-c-format */ case 16: /* rule 16 can match eol */ YY_RULE_SETUP synerr(_("unrecognized '%' directive")); YY_BREAK case 17: YY_RULE_SETUP { if (yyleng < MAXLINE) { strlcpy(nmstr, yytext, sizeof nmstr); } else { synerr(_("Definition name too long\n")); FLEX_EXIT(EXIT_FAILURE); } didadef = false; BEGIN(PICKUPDEF); } YY_BREAK case 18: YY_RULE_SETUP RETURNNAME; YY_BREAK case 19: /* rule 19 can match eol */ YY_RULE_SETUP ++linenum; /* allows blank lines in section 1 */ YY_BREAK case 20: /* rule 20 can match eol */ YY_RULE_SETUP ACTION_ECHO; ++linenum; /* maybe end of comment line */ YY_BREAK case 21: YY_RULE_SETUP ACTION_ECHO; yy_pop_state(); YY_BREAK case 22: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 23: YY_RULE_SETUP ACTION_ECHO_QSTART; YY_BREAK case 24: YY_RULE_SETUP ACTION_ECHO_QEND; YY_BREAK case 25: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 26: /* rule 26 can match eol */ YY_RULE_SETUP ++linenum; ACTION_ECHO; YY_BREAK /* This is the same as COMMENT, but is discarded rather than output. */ case 27: YY_RULE_SETUP yy_pop_state(); YY_BREAK case 28: YY_RULE_SETUP; YY_BREAK case 29: YY_RULE_SETUP; YY_BREAK case 30: /* rule 30 can match eol */ YY_RULE_SETUP ++linenum; YY_BREAK case 31: YY_RULE_SETUP yy_pop_state(); YY_BREAK case 32: YY_RULE_SETUP; YY_BREAK case 33: /* rule 33 can match eol */ YY_RULE_SETUP ++linenum; YY_BREAK case 34: /* rule 34 can match eol */ YY_RULE_SETUP yy_pop_state(); YY_BREAK case 35: YY_RULE_SETUP linenum = myctoi(yytext); YY_BREAK case 36: YY_RULE_SETUP { free((void *)infilename); infilename = copy_string(yytext + 1); infilename[strlen(infilename) - 1] = '\0'; } YY_BREAK case 37: YY_RULE_SETUP /* ignore spurious characters */ YY_BREAK case 38: /* rule 38 can match eol */ YY_RULE_SETUP ++linenum; BEGIN(INITIAL); YY_BREAK case 39: YY_RULE_SETUP ACTION_ECHO_QSTART; YY_BREAK case 40: YY_RULE_SETUP ACTION_ECHO_QEND; YY_BREAK case 41: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 42: /* rule 42 can match eol */ YY_RULE_SETUP { ++linenum; ACTION_ECHO; if (indented_code) BEGIN(INITIAL); } YY_BREAK case 43: YY_RULE_SETUP { if (--brace_depth == 0) { /* TODO: Matched. */ yy_pop_state(); } else buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 44: YY_RULE_SETUP { brace_depth++; buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 45: /* rule 45 can match eol */ YY_RULE_SETUP { ++linenum; buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 46: YY_RULE_SETUP buf_strnappend(&top_buf, escaped_qstart, strlen(escaped_qstart)); YY_BREAK case 47: YY_RULE_SETUP buf_strnappend(&top_buf, escaped_qend, strlen(escaped_qend)); YY_BREAK case 48: YY_RULE_SETUP { buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE): { linenum = brace_start_line; synerr(_("Unmatched '{'")); yyterminate(); } YY_BREAK case 49: YY_RULE_SETUP /* separates name and definition */ YY_BREAK case 50: YY_RULE_SETUP { if (yyleng < MAXLINE) { strlcpy((char *)nmdef, yytext, sizeof nmdef); } else { format_synerr(_("Definition value for {%s} too long\n"), nmstr); FLEX_EXIT(EXIT_FAILURE); } /* Skip trailing whitespace. */ for (i = strlen((char *)nmdef) - 1; i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t'); --i) ; nmdef[i + 1] = '\0'; ndinstal(nmstr, nmdef); didadef = true; } YY_BREAK case 51: /* rule 51 can match eol */ YY_RULE_SETUP { if (!didadef) synerr(_("incomplete name definition")); BEGIN(INITIAL); ++linenum; } YY_BREAK case 52: /* rule 52 can match eol */ YY_RULE_SETUP ++linenum; BEGIN(INITIAL); YY_BREAK case 53: YY_RULE_SETUP option_sense = true; YY_BREAK case 54: YY_RULE_SETUP return '='; YY_BREAK case 55: YY_RULE_SETUP option_sense = !option_sense; YY_BREAK case 56: YY_RULE_SETUP csize = option_sense ? 128 : 256; YY_BREAK case 57: YY_RULE_SETUP csize = option_sense ? 256 : 128; YY_BREAK case 58: YY_RULE_SETUP long_align = option_sense; YY_BREAK case 59: YY_RULE_SETUP { ACTION_M4_IFDEF( "M4" "_YY_ALWAYS_INTERACTIVE", option_sense); interactive = option_sense; } YY_BREAK case 60: YY_RULE_SETUP yytext_is_array = option_sense; YY_BREAK case 61: YY_RULE_SETUP ansi_func_defs = option_sense; YY_BREAK case 62: YY_RULE_SETUP ansi_func_protos = option_sense; YY_BREAK case 63: YY_RULE_SETUP backing_up_report = option_sense; YY_BREAK case 64: YY_RULE_SETUP interactive = !option_sense; YY_BREAK case 65: YY_RULE_SETUP bison_bridge_lval = option_sense; YY_BREAK case 66: YY_RULE_SETUP { if ((bison_bridge_lloc = option_sense)) bison_bridge_lval = true; } YY_BREAK case 67: YY_RULE_SETUP C_plus_plus = option_sense; YY_BREAK case 68: YY_RULE_SETUP sf_set_case_ins(!option_sense); YY_BREAK case 69: YY_RULE_SETUP sf_set_case_ins(option_sense); YY_BREAK case 70: YY_RULE_SETUP ddebug = option_sense; YY_BREAK case 71: YY_RULE_SETUP spprdflt = !option_sense; YY_BREAK case 72: YY_RULE_SETUP useecs = option_sense; YY_BREAK case 73: YY_RULE_SETUP { useecs = usemecs = false; use_read = fullspd = true; } YY_BREAK case 74: YY_RULE_SETUP { useecs = usemecs = false; use_read = fulltbl = true; } YY_BREAK case 75: YY_RULE_SETUP ACTION_IFDEF("YY_NO_INPUT", !option_sense); YY_BREAK case 76: YY_RULE_SETUP interactive = option_sense; YY_BREAK case 77: YY_RULE_SETUP lex_compat = option_sense; YY_BREAK case 78: YY_RULE_SETUP posix_compat = option_sense; YY_BREAK case 79: YY_RULE_SETUP { ACTION_M4_IFDEF( "M4" "_YY_MAIN", option_sense); /* Override yywrap */ if (option_sense == true) do_yywrap = false; } YY_BREAK case 80: YY_RULE_SETUP usemecs = option_sense; YY_BREAK case 81: YY_RULE_SETUP { ACTION_M4_IFDEF( "M4" "_YY_NEVER_INTERACTIVE", option_sense); interactive = !option_sense; } YY_BREAK case 82: YY_RULE_SETUP performance_report += option_sense ? 1 : -1; YY_BREAK case 83: YY_RULE_SETUP yytext_is_array = !option_sense; YY_BREAK case 84: YY_RULE_SETUP use_read = option_sense; YY_BREAK case 85: YY_RULE_SETUP reentrant = option_sense; YY_BREAK case 86: YY_RULE_SETUP reject_really_used = option_sense; YY_BREAK case 87: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_STACK_USED", option_sense); YY_BREAK case 88: YY_RULE_SETUP do_stdinit = option_sense; YY_BREAK case 89: YY_RULE_SETUP use_stdout = option_sense; YY_BREAK case 90: YY_RULE_SETUP ACTION_IFDEF("YY_NO_UNISTD_H", !option_sense); YY_BREAK case 91: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_UNPUT", !option_sense); YY_BREAK case 92: YY_RULE_SETUP printstats = option_sense; YY_BREAK case 93: YY_RULE_SETUP nowarn = !option_sense; YY_BREAK case 94: YY_RULE_SETUP do_yylineno = option_sense; ACTION_M4_IFDEF( "M4" "_YY_USE_LINENO", option_sense); YY_BREAK case 95: YY_RULE_SETUP yymore_really_used = option_sense; YY_BREAK case 96: YY_RULE_SETUP do_yywrap = option_sense; YY_BREAK case 97: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_PUSH_STATE", !option_sense); YY_BREAK case 98: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_POP_STATE", !option_sense); YY_BREAK case 99: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_TOP_STATE", !option_sense); YY_BREAK case 100: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SCAN_BUFFER", !option_sense); YY_BREAK case 101: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SCAN_BYTES", !option_sense); YY_BREAK case 102: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SCAN_STRING", !option_sense); YY_BREAK case 103: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_FLEX_ALLOC", !option_sense); YY_BREAK case 104: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_FLEX_REALLOC", !option_sense); YY_BREAK case 105: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_FLEX_FREE", !option_sense); YY_BREAK case 106: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_DEBUG", !option_sense); YY_BREAK case 107: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SET_DEBUG", !option_sense); YY_BREAK case 108: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_EXTRA", !option_sense); YY_BREAK case 109: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SET_EXTRA", !option_sense); YY_BREAK case 110: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_LENG", !option_sense); YY_BREAK case 111: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_TEXT", !option_sense); YY_BREAK case 112: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_LINENO", !option_sense); YY_BREAK case 113: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SET_LINENO", !option_sense); YY_BREAK case 114: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_IN", !option_sense); YY_BREAK case 115: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SET_IN", !option_sense); YY_BREAK case 116: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_OUT", !option_sense); YY_BREAK case 117: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SET_OUT", !option_sense); YY_BREAK case 118: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_LVAL", !option_sense); YY_BREAK case 119: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SET_LVAL", !option_sense); YY_BREAK case 120: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_GET_LLOC", !option_sense); YY_BREAK case 121: YY_RULE_SETUP ACTION_M4_IFDEF( "M4" "_YY_NO_SET_LLOC", !option_sense); YY_BREAK case 122: YY_RULE_SETUP return OPT_EXTRA_TYPE; YY_BREAK case 123: YY_RULE_SETUP return OPT_OUTFILE; YY_BREAK case 124: YY_RULE_SETUP return OPT_PREFIX; YY_BREAK case 125: YY_RULE_SETUP return OPT_YYCLASS; YY_BREAK case 126: YY_RULE_SETUP return OPT_HEADER; YY_BREAK case 127: YY_RULE_SETUP return OPT_TABLES; YY_BREAK case 128: YY_RULE_SETUP { tablesverify = option_sense; if (!tablesext && option_sense) tablesext = true; } YY_BREAK case 129: YY_RULE_SETUP { if (yyleng - 1 < MAXLINE) { strlcpy(nmstr, yytext + 1, sizeof nmstr); } else { synerr(_("Option line too long\n")); FLEX_EXIT(EXIT_FAILURE); } if (nmstr[strlen(nmstr) - 1] == '"') nmstr[strlen(nmstr) - 1] = '\0'; return NAME; } YY_BREAK case 130: YY_RULE_SETUP { format_synerr(_("unrecognized %%option: %s"), yytext); BEGIN(RECOVER); } YY_BREAK case 131: /* rule 131 can match eol */ YY_RULE_SETUP ++linenum; BEGIN(INITIAL); YY_BREAK case 132: YY_RULE_SETUP ++bracelevel; yyless(2); /* eat only %{ */ YY_BREAK case 133: YY_RULE_SETUP --bracelevel; yyless(2); /* eat only %} */ YY_BREAK case 134: YY_RULE_SETUP ACTION_ECHO; /* indented code in prolog */ YY_BREAK case 135: YY_RULE_SETUP { /* non-indented code */ if (bracelevel <= 0) { /* not in %{ ... %} */ yyless(0); /* put it all back */ yy_set_bol(1); mark_prolog(); BEGIN(SECT2); } else ACTION_ECHO; } YY_BREAK case 136: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 137: /* rule 137 can match eol */ YY_RULE_SETUP ++linenum; ACTION_ECHO; YY_BREAK case YY_STATE_EOF(SECT2PROLOG): { mark_prolog(); sectnum = 0; yyterminate(); /* to stop the parser */ } YY_BREAK case 138: /* rule 138 can match eol */ YY_RULE_SETUP ++linenum; /* allow blank lines in section 2 */ YY_BREAK case 139: YY_RULE_SETUP { indented_code = false; doing_codeblock = true; bracelevel = 1; BEGIN(PERCENT_BRACE_ACTION); } YY_BREAK case 140: YY_RULE_SETUP { /* Allow "<" to appear in (?x) patterns. */ if (!sf_skip_ws()) BEGIN(SC); return '<'; } YY_BREAK case 141: YY_RULE_SETUP return '^'; YY_BREAK case 142: YY_RULE_SETUP BEGIN(QUOTE); return '"'; YY_BREAK case 143: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP { BEGIN(NUM); if (lex_compat || posix_compat) return BEGIN_REPEAT_POSIX; else return BEGIN_REPEAT_FLEX; } YY_BREAK case 144: /* rule 144 can match eol */ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ YY_LINENO_REWIND_TO(yy_bp + 1); (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return '$'; YY_BREAK case 145: YY_RULE_SETUP { bracelevel = 1; BEGIN(PERCENT_BRACE_ACTION); if (in_rule) { doing_rule_action = true; in_rule = false; return '\n'; } } YY_BREAK case 146: /* rule 146 can match eol */ YY_RULE_SETUP { if (sf_skip_ws()) { /* We're in the middle of a (?x: ) pattern. */ /* Push back everything starting at the "|" */ size_t amt; amt = strchr(yytext, '|') - yytext; yyless(amt); } else { continued_action = true; ++linenum; return '\n'; } } YY_BREAK case 147: YY_RULE_SETUP { if (sf_skip_ws()) { /* We're in the middle of a (?x: ) pattern. */ yy_push_state(COMMENT_DISCARD); } else { yyless(yyleng - 2); /* put back '/', '*' */ bracelevel = 0; continued_action = false; BEGIN(ACTION); } } YY_BREAK case 148: YY_RULE_SETUP /* allow indented rules */; YY_BREAK case 149: YY_RULE_SETUP { if (sf_skip_ws()) { /* We're in the middle of a (?x: ) pattern. */ } else { /* This rule is separate from the one below because * otherwise we get variable trailing context, so * we can't build the scanner using -{f,F}. */ bracelevel = 0; continued_action = false; BEGIN(ACTION); if (in_rule) { doing_rule_action = true; in_rule = false; return '\n'; } } } YY_BREAK case 150: /* rule 150 can match eol */ YY_RULE_SETUP { if (sf_skip_ws()) { /* We're in the middle of a (?x: ) pattern. */ ++linenum; } else { bracelevel = 0; continued_action = false; BEGIN(ACTION); unput('\n'); /* so sees it */ if (in_rule) { doing_rule_action = true; in_rule = false; return '\n'; } } } YY_BREAK case 151: case 152: YY_RULE_SETUP return EOF_OP; YY_BREAK case 153: YY_RULE_SETUP { sectnum = 3; BEGIN(SECT3); outn("/* Begin user sect3 */"); yyterminate(); /* to stop the parser */ } YY_BREAK case 154: YY_RULE_SETUP { int cclval; if (yyleng < MAXLINE) { strlcpy(nmstr, yytext, sizeof nmstr); } else { synerr(_("Input line too long\n")); FLEX_EXIT(EXIT_FAILURE); } /* Check to see if we've already encountered this * ccl. */ if (0 /* <--- This "0" effectively disables the reuse of a * character class (purely based on its source text). * The reason it was disabled is so yacc/bison can parse * ccl operations, such as ccl difference and union. */ && (cclval = ccllookup((u_char *)nmstr)) != 0) { if (input() != ']') synerr(_("bad character class")); yylval = cclval; ++cclreuse; return PREVCCL; } else { /* We fudge a bit. We know that this ccl will * soon be numbered as lastccl + 1 by cclinit. */ cclinstal((u_char *)nmstr, lastccl + 1); /* Push back everything but the leading bracket * so the ccl can be rescanned. */ yyless(1); BEGIN(FIRSTCCL); return '['; } } YY_BREAK case 155: YY_RULE_SETUP return CCL_OP_DIFF; YY_BREAK case 156: YY_RULE_SETUP return CCL_OP_UNION; YY_BREAK /* Check for :space: at the end of the rule so we don't * wrap the expanded regex in '(' ')' -- breaking trailing * context. */ case 157: /* rule 157 can match eol */ YY_RULE_SETUP { u_char *nmdefptr; int end_is_ws, end_ch; end_ch = yytext[yyleng - 1]; end_is_ws = end_ch != '}' ? 1 : 0; if (yyleng - 1 < MAXLINE) { strlcpy(nmstr, yytext + 1, sizeof nmstr); } else { synerr(_("Input line too long\n")); FLEX_EXIT(EXIT_FAILURE); } nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */ if ((nmdefptr = ndlookup(nmstr)) == 0) format_synerr(_("undefined definition {%s}"), nmstr); else { /* push back name surrounded by ()'s */ int len = strlen((char *)nmdefptr); if (end_is_ws) unput(end_ch); if (lex_compat || nmdefptr[0] == '^' || (len > 0 && nmdefptr[len - 1] == '$') || (end_is_ws && trlcontxt && !sf_skip_ws())) { /* don't use ()'s after all */ PUT_BACK_STRING((char *)nmdefptr, 0); if (nmdefptr[0] == '^') BEGIN(CARETISBOL); } else { unput(')'); PUT_BACK_STRING((char *)nmdefptr, 0); unput('('); } } } YY_BREAK case 158: YY_RULE_SETUP { if (sf_skip_ws()) yy_push_state(COMMENT_DISCARD); else { /* Push back the "*" and return "/" as usual. */ yyless(1); return '/'; } } YY_BREAK case 159: YY_RULE_SETUP { if (lex_compat || posix_compat) { /* Push back the "?#" and treat it like a normal parens. */ yyless(1); sf_push(); return '('; } else yy_push_state(EXTENDED_COMMENT); } YY_BREAK case 160: YY_RULE_SETUP { sf_push(); if (lex_compat || posix_compat) /* Push back the "?" and treat it like a normal parens. */ yyless(1); else BEGIN(GROUP_WITH_PARAMS); return '('; } YY_BREAK case 161: YY_RULE_SETUP sf_push(); return '('; YY_BREAK case 162: YY_RULE_SETUP sf_pop(); return ')'; YY_BREAK case 163: YY_RULE_SETUP return (unsigned char)yytext[0]; YY_BREAK case 164: YY_RULE_SETUP RETURNCHAR; YY_BREAK case 165: /* rule 165 can match eol */ YY_RULE_SETUP ++linenum; /* Allow blank lines & continuations */ YY_BREAK case 166: YY_RULE_SETUP return (unsigned char)yytext[0]; YY_BREAK case 167: YY_RULE_SETUP BEGIN(SECT2); return '>'; YY_BREAK case 168: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP BEGIN(CARETISBOL); return '>'; YY_BREAK case 169: YY_RULE_SETUP RETURNNAME; YY_BREAK case 170: YY_RULE_SETUP { format_synerr(_("bad : %s"), yytext); } YY_BREAK case 171: YY_RULE_SETUP BEGIN(SECT2); return '^'; YY_BREAK case 172: YY_RULE_SETUP RETURNCHAR; YY_BREAK case 173: YY_RULE_SETUP BEGIN(SECT2); return '"'; YY_BREAK case 174: /* rule 174 can match eol */ YY_RULE_SETUP { synerr(_("missing quote")); BEGIN(SECT2); ++linenum; return '"'; } YY_BREAK case 175: YY_RULE_SETUP BEGIN(SECT2); YY_BREAK case 176: YY_RULE_SETUP BEGIN(GROUP_MINUS_PARAMS); YY_BREAK case 177: YY_RULE_SETUP sf_set_case_ins(1); YY_BREAK case 178: YY_RULE_SETUP sf_set_dot_all(1); YY_BREAK case 179: YY_RULE_SETUP sf_set_skip_ws(1); YY_BREAK case 180: YY_RULE_SETUP BEGIN(SECT2); YY_BREAK case 181: YY_RULE_SETUP sf_set_case_ins(0); YY_BREAK case 182: YY_RULE_SETUP sf_set_dot_all(0); YY_BREAK case 183: YY_RULE_SETUP sf_set_skip_ws(0); YY_BREAK case 184: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP BEGIN(CCL); return '^'; YY_BREAK case 185: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return '^'; YY_BREAK case 186: YY_RULE_SETUP BEGIN(CCL); RETURNCHAR; YY_BREAK case 187: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP return '-'; YY_BREAK case 188: YY_RULE_SETUP RETURNCHAR; YY_BREAK case 189: YY_RULE_SETUP BEGIN(SECT2); return ']'; YY_BREAK case 190: /* rule 190 can match eol */ YY_RULE_SETUP { synerr(_("bad character class")); BEGIN(SECT2); return ']'; } YY_BREAK case 191: YY_RULE_SETUP BEGIN(CCL); return CCE_ALNUM; YY_BREAK case 192: YY_RULE_SETUP BEGIN(CCL); return CCE_ALPHA; YY_BREAK case 193: YY_RULE_SETUP BEGIN(CCL); return CCE_BLANK; YY_BREAK case 194: YY_RULE_SETUP BEGIN(CCL); return CCE_CNTRL; YY_BREAK case 195: YY_RULE_SETUP BEGIN(CCL); return CCE_DIGIT; YY_BREAK case 196: YY_RULE_SETUP BEGIN(CCL); return CCE_GRAPH; YY_BREAK case 197: YY_RULE_SETUP BEGIN(CCL); return CCE_LOWER; YY_BREAK case 198: YY_RULE_SETUP BEGIN(CCL); return CCE_PRINT; YY_BREAK case 199: YY_RULE_SETUP BEGIN(CCL); return CCE_PUNCT; YY_BREAK case 200: YY_RULE_SETUP BEGIN(CCL); return CCE_SPACE; YY_BREAK case 201: YY_RULE_SETUP BEGIN(CCL); return CCE_UPPER; YY_BREAK case 202: YY_RULE_SETUP BEGIN(CCL); return CCE_XDIGIT; YY_BREAK case 203: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_ALNUM; YY_BREAK case 204: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_ALPHA; YY_BREAK case 205: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_BLANK; YY_BREAK case 206: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_CNTRL; YY_BREAK case 207: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_DIGIT; YY_BREAK case 208: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_GRAPH; YY_BREAK case 209: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_LOWER; YY_BREAK case 210: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_PRINT; YY_BREAK case 211: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_PUNCT; YY_BREAK case 212: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_SPACE; YY_BREAK case 213: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_UPPER; YY_BREAK case 214: YY_RULE_SETUP BEGIN(CCL); return CCE_NEG_XDIGIT; YY_BREAK case 215: YY_RULE_SETUP { format_synerr(_("bad character class expression: %s"), yytext); BEGIN(CCL); return CCE_ALNUM; } YY_BREAK case 216: YY_RULE_SETUP { yylval = myctoi(yytext); return NUMBER; } YY_BREAK case 217: YY_RULE_SETUP return ','; YY_BREAK case 218: YY_RULE_SETUP { BEGIN(SECT2); if (lex_compat || posix_compat) return END_REPEAT_POSIX; else return END_REPEAT_FLEX; } YY_BREAK case 219: YY_RULE_SETUP { synerr(_("bad character inside {}'s")); BEGIN(SECT2); return '}'; } YY_BREAK case 220: /* rule 220 can match eol */ YY_RULE_SETUP { synerr(_("missing }")); BEGIN(SECT2); ++linenum; return '}'; } YY_BREAK case 221: YY_RULE_SETUP bracelevel = 0; YY_BREAK case 222: YY_RULE_SETUP ACTION_ECHO; yy_push_state(COMMENT); YY_BREAK case 223: YY_RULE_SETUP { ACTION_ECHO; CHECK_REJECT(yytext); } YY_BREAK case 224: YY_RULE_SETUP { ACTION_ECHO; CHECK_YYMORE(yytext); } YY_BREAK case 225: YY_RULE_SETUP ACTION_ECHO_QSTART; YY_BREAK case 226: YY_RULE_SETUP ACTION_ECHO_QEND; YY_BREAK case 227: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 228: /* rule 228 can match eol */ YY_RULE_SETUP { ++linenum; ACTION_ECHO; if (bracelevel == 0 || (doing_codeblock && indented_code)) { if (doing_rule_action) add_action("\tYY_BREAK\n"); doing_rule_action = doing_codeblock = false; BEGIN(SECT2); } } YY_BREAK /* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */ case 229: YY_RULE_SETUP ACTION_ECHO; ++bracelevel; YY_BREAK case 230: YY_RULE_SETUP ACTION_ECHO; --bracelevel; YY_BREAK case 231: YY_RULE_SETUP ACTION_ECHO_QSTART; YY_BREAK case 232: YY_RULE_SETUP ACTION_ECHO_QEND; YY_BREAK case 233: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 234: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 235: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 236: YY_RULE_SETUP ACTION_ECHO; /* character constant */ YY_BREAK case 237: YY_RULE_SETUP ACTION_ECHO; BEGIN(ACTION_STRING); YY_BREAK case 238: /* rule 238 can match eol */ YY_RULE_SETUP { ++linenum; ACTION_ECHO; if (bracelevel == 0) { if (doing_rule_action) add_action("\tYY_BREAK\n"); doing_rule_action = false; BEGIN(SECT2); } } YY_BREAK case 239: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 240: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 241: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case 242: /* rule 242 can match eol */ YY_RULE_SETUP ++linenum; ACTION_ECHO; BEGIN(ACTION); YY_BREAK case 243: YY_RULE_SETUP ACTION_ECHO; BEGIN(ACTION); YY_BREAK case 244: YY_RULE_SETUP ACTION_ECHO; YY_BREAK case YY_STATE_EOF(COMMENT): case YY_STATE_EOF(COMMENT_DISCARD): case YY_STATE_EOF(ACTION): case YY_STATE_EOF(ACTION_STRING): { synerr(_("EOF encountered inside an action")); yyterminate(); } YY_BREAK case YY_STATE_EOF(EXTENDED_COMMENT): case YY_STATE_EOF(GROUP_WITH_PARAMS): case YY_STATE_EOF(GROUP_MINUS_PARAMS): { synerr(_("EOF encountered inside pattern")); yyterminate(); } YY_BREAK case 245: YY_RULE_SETUP { yylval = myesc((u_char *)yytext); if (YY_START == FIRSTCCL) BEGIN(CCL); return CHAR; } YY_BREAK case 246: YY_RULE_SETUP fwrite(escaped_qstart, 1, strlen(escaped_qstart), yyout); YY_BREAK case 247: YY_RULE_SETUP fwrite(escaped_qend, 1, strlen(escaped_qend), yyout); YY_BREAK case 248: /* rule 248 can match eol */ YY_RULE_SETUP ECHO; YY_BREAK case 249: /* rule 249 can match eol */ YY_RULE_SETUP ECHO; YY_BREAK case YY_STATE_EOF(SECT3): sectnum = 0; yyterminate(); YY_BREAK case 250: /* rule 250 can match eol */ YY_RULE_SETUP format_synerr(_("bad character: %s"), yytext); YY_BREAK case 251: YY_RULE_SETUP YY_FATAL_ERROR("flex scanner jammed"); YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(SECT2): case YY_STATE_EOF(CODEBLOCK): case YY_STATE_EOF(PICKUPDEF): case YY_STATE_EOF(SC): case YY_STATE_EOF(CARETISBOL): case YY_STATE_EOF(NUM): case YY_STATE_EOF(QUOTE): case YY_STATE_EOF(FIRSTCCL): case YY_STATE_EOF(CCL): case YY_STATE_EOF(RECOVER): case YY_STATE_EOF(PERCENT_BRACE_ACTION): case YY_STATE_EOF(OPTION): case YY_STATE_EOF(LINEDIR): 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 user's declarations */ } /* 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) { char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; char *source = (yytext_ptr); 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. */ YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses " "REJECT"); } 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()"); /* "- 2" to take care of EOB's */ YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int)(new_size - 2); } (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) { yy_state_type yy_current_state; char *yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); (yy_state_ptr) = (yy_state_buf); *(yy_state_ptr)++ = yy_current_state; for (yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp) { YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); while (yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state) { yy_current_state = (int)yy_def[yy_current_state]; if (yy_current_state >= 1107) yy_c = yy_meta[(unsigned int)yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int)yy_c]; *(yy_state_ptr)++ = yy_current_state; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state) { int yy_is_jam; YY_CHAR yy_c = 1; while (yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state) { yy_current_state = (int)yy_def[yy_current_state]; if (yy_current_state >= 1107) 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 == 1106); if (!yy_is_jam) *(yy_state_ptr)++ = yy_current_state; return yy_is_jam ? 0 : yy_current_state; } static void yyunput(int c, char *yy_bp) { 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. */ yy_size_t number_to_move = (yy_n_chars) + 2; char *dest = &YY_CURRENT_BUFFER_LVALUE ->yy_ch_buf[YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; 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); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); 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 = file ? (isatty(fileno(file)) > 0) : 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; yy_size_t 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; } static void yy_push_state(int new_state) { if ((yy_start_stack_ptr) >= (yy_start_stack_depth)) { yy_size_t new_size; (yy_start_stack_depth) += YY_START_STACK_INCR; new_size = (yy_start_stack_depth) * sizeof(int); if (!(yy_start_stack)) (yy_start_stack) = (int *)yyalloc(new_size); else (yy_start_stack) = (int *)yyrealloc((void *)(yy_start_stack), new_size); if (!(yy_start_stack)) YY_FATAL_ERROR("out of memory expanding start-condition stack"); } (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; BEGIN(new_state); } static void yy_pop_state(void) { if (--(yy_start_stack_ptr) < 0) YY_FATAL_ERROR("start-condition stack underflow"); BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } #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; (yy_start_stack_ptr) = 0; (yy_start_stack_depth) = 0; (yy_start_stack) = NULL; (yy_state_buf) = 0; (yy_state_ptr) = 0; (yy_full_match) = 0; (yy_lp) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else 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; /* Destroy the start condition stack. */ yyfree((yy_start_stack)); (yy_start_stack) = NULL; yyfree((yy_state_buf)); (yy_state_buf) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next * time yylex() is called, initialization will occur. */ yy_init_globals(); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy(char *s1, yyconst char *s2, int n) { 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) { 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" int yywrap() { if (--num_input_files > 0) { set_input_file(*++input_files); return 0; } else return 1; } /* set_input_file - open the given file (if NULL, stdin) for scanning */ void set_input_file(file) char *file; { if (file && strcmp(file, "-")) { infilename = copy_string(file); yyin = fopen(infilename, "r"); if (yyin == NULL) lerrsf(_("can't open %s"), file); } else { yyin = stdin; infilename = copy_string(""); } linenum = 1; }