diff --git a/usr.bin/lex/initscan.c b/usr.bin/lex/initscan.c index 9b6fb4ae5183..5c2701d060da 100644 --- a/usr.bin/lex/initscan.c +++ b/usr.bin/lex/initscan.c @@ -1,5247 +1,5241 @@ #line 2 "" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 #define YY_FLEX_SUBMINOR_VERSION 4 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ -#if defined(__FreeBSD__) -#include -#else -#define __dead2 -#endif - /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined(__FreeBSD__) || \ (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #ifndef SIZE_MAX #define SIZE_MAX (~(size_t)0) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ /* begin standard C++ headers. */ /* TODO: this is always defined, so inline it */ #define yyconst const #if defined(__GNUC__) && __GNUC__ >= 3 #define yynoreturn __attribute__((__noreturn__)) #else #define yynoreturn #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an * integer in range [0..255] for use as an array index. */ #define YY_SC_TO_UI(c) ((YY_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 #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #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 int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #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. */ int yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int 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 = NULL; /**< 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) #define yy_current_buffer YY_CURRENT_BUFFER /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = NULL; 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 ( const char *yy_str ); YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int 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 flex_uint8_t YY_CHAR; FILE *yyin = NULL, *yyout = NULL; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #ifdef yytext_ptr #undef yytext_ptr #endif #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 yynoreturn yy_fatal_error ( const char* msg ) __dead2; +static void yynoreturn yy_fatal_error ( const char* msg ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 253 #define YY_END_OF_BUFFER 254 /* 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 const flex_int16_t yy_accept[1114] = { 0, 0, 0, 0, 0, 0, 0, 246, 246, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 21, 239, 239, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 21, 250, 250, 239, 239, 254, 252, 9, 20, 252, 18, 1, 19, 252, 252, 252, 252, 17, 163, 148, 149, 163, 141, 163, 160, 161, 162, 162, 163, 163, 163, 162, 147, 137, 163, 163, 139, 140, 135, 136, 135, 134, 133, 134, 246, 247, 247, 40, 42, 40, 41, 40, 40, 41, 41, 41, 50, 49, 51, 252, 169, 169, 164, 169, 165, 166, 168, 170, 218, 219, 218, 216, 215, 217, 171, 173, 171, 172, 171, 185, 185, 185, 185, 187, 189, 187, 187, 187, 187, 188, 228, 233, 228, 232, 231, 234, 229, 229, 229, 234, 234, 226, 227, 252, 130, 252, 21, 23, 21, 22, 22, 22, 235, 241, 235, 236, 242, 242, 242, 224, 224, 225, 224, 224, 224, 224, 224, 224, 224, 129, 53, 52, 129, 129, 129, 129, 54, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 36, 33, 36, 34, 48, 45, 252, 48, 48, 44, 43, 175, 174, 176, 177, 178, 179, 180, 181, 182, 31, 32, 31, 30, 28, 29, 28, 27, 22, 250, 251, 251, 237, 237, 238, 9, 20, 0, 18, 1, 19, 0, 0, 0, 16, 10, 0, 0, 0, 0, 4, 16, 5, 0, 2, 17, 148, 149, 0, 0, 0, 143, 0, 159, 157, 0, 153, 153, 0, 243, 243, 243, 0, 0, 142, 0, 147, 137, 0, 0, 0, 139, 140, 152, 138, 0, 136, 134, 133, 131, 132, 246, 244, 245, 40, 42, 40, 40, 37, 38, 0, 50, 49, 51, 0, 164, 0, 164, 167, 168, 219, 215, 173, 0, 183, 184, 189, 186, 228, 233, 0, 0, 221, 229, 229, 229, 0, 130, 0, 21, 23, 24, 235, 241, 240, 239, 240, 0, 0, 225, 220, 0, 0, 53, 52, 0, 128, 0, 0, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 55, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 0, 35, 34, 48, 45, 46, 47, 31, 32, 29, 26, 25, 250, 248, 249, 237, 0, 16, 10, 0, 14, 0, 0, 0, 0, 0, 4, 16, 5, 0, 6, 0, 144, 0, 145, 0, 158, 0, 153, 153, 0, 153, 153, 153, 243, 243, 155, 154, 0, 156, 138, 146, 0, 152, 0, 131, 132, 40, 40, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 230, 229, 229, 0, 0, 220, 0, 0, 0, 0, 129, 129, 129, 129, 129, 129, 65, 129, 129, 129, 70, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 4, 8, 5, 0, 153, 153, 153, 153, 153, 153, 153, 243, 156, 0, 0, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 229, 229, 0, 0, 56, 57, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 71, 72, 129, 129, 129, 129, 77, 78, 129, 129, 129, 129, 129, 129, 129, 83, 129, 129, 129, 129, 129, 129, 129, 129, 129, 92, 129, 129, 129, 129, 129, 129, 129, 129, 129, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 8, 8, 8, 0, 153, 153, 153, 153, 153, 153, 153, 0, 0, 40, 40, 214, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 229, 229, 0, 0, 58, 129, 60, 129, 62, 129, 129, 129, 129, 68, 129, 129, 129, 73, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 86, 129, 129, 129, 129, 90, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 0, 0, 0, 0, 3, 0, 0, 0, 8, 7, 8, 0, 153, 153, 153, 0, 0, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 222, 223, 222, 223, 129, 61, 129, 129, 129, 129, 129, 129, 129, 125, 129, 129, 129, 129, 129, 129, 129, 129, 123, 129, 85, 129, 88, 129, 89, 129, 129, 129, 104, 0, 129, 94, 129, 0, 95, 0, 0, 0, 0, 0, 12, 0, 13, 0, 151, 0, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 129, 129, 129, 129, 66, 129, 69, 129, 129, 129, 129, 129, 129, 122, 129, 82, 129, 129, 87, 129, 91, 102, 124, 0, 0, 0, 0, 0, 0, 129, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 129, 129, 129, 129, 67, 129, 129, 129, 129, 79, 129, 129, 129, 129, 129, 129, 0, 0, 113, 0, 0, 0, 0, 0, 0, 93, 129, 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 84, 129, 129, 0, 0, 0, 0, 0, 0, 115, 0, 103, 0, 0, 0, 0, 0, 116, 0, 0, 0, 0, 0, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 0, 129, 129, 129, 129, 129, 121, 129, 129, 75, 129, 129, 129, 129, 129, 0, 0, 109, 0, 119, 117, 110, 0, 0, 0, 120, 118, 0, 0, 0, 0, 0, 0, 213, 129, 129, 129, 129, 129, 125, 74, 129, 81, 129, 126, 129, 105, 107, 0, 106, 108, 0, 0, 0, 0, 0, 0, 0, 129, 63, 129, 129, 129, 129, 76, 129, 111, 112, 97, 0, 0, 0, 0, 98, 129, 129, 129, 129, 129, 127, 96, 0, 100, 0, 129, 129, 129, 66, 129, 99, 101, 129, 64, 129, 129, 129, 67, 129, 129, 80, 59, 0 } ; static const YY_CHAR 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 const YY_CHAR yy_meta[85] = { 0, 1, 1, 2, 1, 3, 4, 1, 1, 5, 6, 1, 7, 8, 9, 1, 10, 1, 11, 12, 12, 12, 12, 13, 1, 1, 1, 1, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 17, 18, 1, 19, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 20, 1, 21 } ; static const flex_int16_t yy_base[1221] = { 0, 0, 84, 167, 250, 171, 184, 135, 142, 220, 231, 196, 200, 334, 0, 3627, 3625, 211, 416, 203, 212, 189, 225, 266, 417, 500, 0, 207, 208, 234, 421, 424, 436, 583, 588, 669, 0, 294, 304, 584, 751, 579, 580, 417, 576, 287, 306, 241, 441, 595, 608, 169, 238, 440, 754, 3680, 4511, 325, 4511, 3676, 0, 446, 4511, 3673, 430, 827, 3661, 0, 4511, 758, 4511, 3650, 4511, 453, 3621, 4511, 4511, 3619, 3584, 129, 746, 445, 766, 4511, 3604, 198, 3582, 4511, 4511, 4511, 3600, 0, 3599, 214, 0, 3506, 3483, 0, 4511, 3532, 4511, 420, 119, 3481, 3478, 3446, 0, 3526, 4511, 3520, 4511, 482, 3520, 3518, 4511, 3455, 0, 4511, 4511, 4511, 3504, 4511, 598, 4511, 4511, 4511, 3499, 4511, 754, 4511, 3477, 759, 180, 4511, 4511, 3467, 0, 3442, 762, 4511, 0, 4511, 3459, 4511, 3406, 3434, 0, 562, 167, 3393, 3370, 4511, 4511, 326, 4511, 420, 0, 4511, 3418, 3402, 3366, 3342, 0, 4511, 3368, 4511, 3317, 444, 3314, 4511, 471, 4511, 3354, 3271, 3337, 572, 189, 3295, 3285, 4511, 3332, 4511, 3307, 3303, 585, 594, 4511, 746, 734, 744, 754, 763, 770, 0, 755, 748, 763, 818, 789, 240, 822, 762, 381, 802, 791, 813, 824, 577, 4511, 4511, 3302, 871, 0, 4511, 3302, 3250, 3231, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 0, 4511, 3279, 4511, 4511, 4511, 3276, 3260, 3259, 0, 3221, 3214, 0, 3264, 4511, 835, 4511, 3262, 0, 903, 4511, 3257, 842, 817, 0, 0, 910, 914, 918, 922, 0, 814, 0, 457, 4511, 0, 943, 4511, 3241, 3141, 483, 4511, 3217, 3212, 4511, 826, 556, 903, 930, 4511, 757, 0, 3134, 3131, 4511, 3129, 964, 4511, 3190, 3110, 3174, 3161, 4511, 0, 4511, 896, 4511, 0, 3172, 0, 0, 0, 4511, 4511, 0, 4511, 910, 913, 4511, 4511, 602, 0, 3169, 4511, 957, 3164, 3161, 3127, 4511, 0, 4511, 976, 4511, 1020, 4511, 4511, 4511, 4511, 0, 4511, 3116, 0, 4511, 0, 926, 930, 644, 4511, 662, 0, 4511, 4511, 0, 4511, 4511, 3071, 3121, 794, 3037, 4511, 0, 934, 932, 3117, 4511, 3091, 4511, 938, 939, 0, 940, 738, 956, 802, 3059, 876, 978, 933, 933, 939, 948, 964, 1030, 938, 958, 976, 968, 0, 996, 4511, 999, 1057, 1068, 981, 1079, 1077, 1080, 1074, 1068, 1070, 1120, 3062, 4511, 1014, 0, 4511, 4511, 4511, 0, 4511, 4511, 4511, 4511, 0, 4511, 4511, 0, 1078, 0, 0, 1153, 4511, 3063, 1166, 1077, 1076, 1091, 0, 1089, 0, 1018, 4511, 1022, 4511, 1025, 4511, 1035, 4511, 1091, 1067, 1138, 1162, 1242, 1177, 1308, 1105, 0, 4511, 4511, 2954, 1198, 4511, 4511, 1144, 0, 1137, 0, 0, 1161, 1156, 1123, 4511, 1202, 1308, 1309, 1310, 1319, 3013, 1312, 1311, 1327, 1320, 1321, 1323, 1382, 4511, 1172, 1166, 2589, 2537, 0, 1178, 1169, 1169, 1298, 1315, 1324, 1330, 1321, 1330, 1323, 0, 1341, 1332, 1348, 0, 1346, 1350, 1348, 1361, 1350, 1367, 2573, 1370, 1366, 1380, 1382, 1382, 1385, 1378, 1387, 1391, 1400, 1393, 1403, 1406, 1414, 1400, 1401, 1404, 1429, 1419, 1424, 1428, 1425, 1436, 1435, 1430, 1441, 1442, 1432, 1432, 1450, 1209, 1508, 4511, 1215, 1512, 1219, 1461, 1455, 1451, 0, 1143, 0, 1461, 1534, 1600, 1636, 204, 2525, 1606, 1681, 4511, 4511, 1453, 1463, 1591, 1442, 2524, 1599, 1604, 1600, 1607, 1605, 1611, 1608, 1650, 1620, 1606, 1614, 1613, 1654, 1663, 1652, 1661, 1666, 1682, 1664, 1693, 1694, 1655, 1674, 1662, 1675, 4511, 4511, 1683, 1676, 1677, 1683, 1697, 1692, 1731, 1711, 1702, 1718, 0, 0, 1719, 1706, 1716, 1735, 0, 0, 2553, 1722, 1732, 2540, 1725, 1722, 1733, 0, 1727, 1747, 1740, 1739, 1735, 1752, 1739, 1740, 1746, 0, 1750, 1763, 1760, 1750, 1752, 1759, 1777, 1762, 1778, 1769, 1783, 1778, 2514, 4511, 1224, 1230, 1772, 1783, 1780, 0, 1507, 1234, 2364, 732, 2273, 1809, 1845, 1430, 1076, 1585, 1797, 2286, 1785, 1807, 4511, 1811, 1814, 1829, 1835, 1821, 1808, 1822, 1845, 1859, 1860, 1862, 1868, 1869, 1870, 1825, 1888, 1890, 1876, 1891, 1874, 1902, 1894, 1898, 1795, 1891, 1882, 1899, 0, 1887, 0, 1892, 0, 2260, 1900, 1891, 1909, 0, 1904, 2253, 1902, 0, 1916, 1907, 1918, 2227, 1912, 1909, 1924, 2201, 1908, 1918, 1922, 0, 1934, 1925, 1931, 1947, 0, 1936, 1942, 1941, 1953, 2103, 1957, 1958, 1952, 2085, 1950, 1951, 1950, 1969, 1956, 2133, 1515, 1961, 1971, 2002, 4511, 2117, 2038, 1981, 1592, 1842, 2025, 1983, 0, 0, 1972, 1990, 1999, 1987, 1994, 2008, 2005, 2007, 2015, 2023, 2016, 2021, 2017, 2024, 2022, 2026, 2030, 2029, 2037, 2035, 2045, 2051, 2054, 2061, 0, 0, 4511, 4511, 1922, 0, 2049, 2039, 2050, 2053, 2051, 2051, 2054, 1831, 2073, 2064, 2077, 2073, 2081, 2082, 2072, 2085, 0, 2091, 0, 2074, 0, 1824, 0, 2091, 2094, 2082, 0, 2116, 2088, 0, 2092, 2133, 0, 1728, 2097, 2095, 1714, 1678, 4511, 2135, 4511, 2096, 4511, 1726, 4511, 1703, 1612, 1601, 1514, 1500, 1477, 1377, 1373, 1333, 1274, 1203, 2133, 2128, 2148, 2151, 2144, 2150, 2156, 2158, 2161, 2163, 2184, 2167, 2164, 2157, 2151, 2159, 2158, 2173, 0, 2165, 0, 2166, 2182, 2173, 2179, 2178, 2186, 0, 2185, 0, 2187, 2193, 0, 2202, 0, 0, 0, 2204, 2187, 2201, 2224, 2200, 2222, 2213, 2219, 2230, 2199, 2227, 2239, 2222, 2225, 1162, 1158, 2228, 2278, 4511, 1112, 1109, 1081, 1063, 1057, 984, 976, 969, 923, 913, 910, 931, 895, 891, 887, 881, 874, 856, 848, 843, 840, 804, 788, 2259, 2248, 2258, 2265, 2264, 2241, 0, 2254, 2265, 2268, 2279, 0, 2262, 2268, 2271, 2266, 2278, 2283, 2289, 2273, 4511, 2280, 2281, 2281, 2300, 2283, 2281, 0, 2303, 2307, 2292, 4511, 2302, 2304, 2319, 2303, 2307, 2309, 2328, 2309, 2357, 4511, 2362, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 746, 725, 597, 577, 441, 426, 420, 267, 253, 247, 230, 183, 181, 2317, 2338, 2342, 2330, 2336, 2343, 2339, 2331, 2334, 2350, 2341, 2345, 0, 2350, 2346, 2344, 2349, 2361, 2364, 2367, 2359, 4511, 2357, 0, 2358, 2362, 2379, 2383, 2375, 4511, 2388, 2375, 2382, 2377, 2389, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 4511, 122, 2399, 2398, 2382, 2391, 2391, 0, 2407, 2408, 0, 2397, 2398, 2420, 2417, 2414, 2418, 2426, 4511, 2414, 4511, 4511, 4511, 2422, 2429, 2419, 4511, 4511, 2417, 2437, 2435, 2425, 2428, 2428, 4511, 2431, 2445, 2445, 2447, 2452, 0, 0, 2461, 0, 2444, 0, 2459, 4511, 4511, 2452, 4511, 4511, 2454, 2465, 2452, 2467, 2471, 2470, 2476, 2481, 0, 2468, 2465, 2465, 2485, 0, 2465, 4511, 4511, 4511, 2489, 2491, 2479, 2488, 4511, 2501, 2491, 2498, 2503, 2490, 0, 4511, 2497, 4511, 2510, 2500, 2502, 2500, 0, 2514, 4511, 4511, 2516, 0, 2523, 2508, 2509, 0, 2528, 2531, 0, 0, 4511, 2593, 2614, 2635, 2656, 2677, 2698, 2719, 2740, 2761, 2782, 2803, 2824, 2845, 2866, 2887, 2908, 2929, 2950, 2971, 2992, 3013, 3025, 3044, 3055, 3074, 3095, 3108, 3127, 3148, 3169, 3190, 3202, 3221, 3242, 3263, 3280, 3292, 3311, 3332, 3353, 3374, 3395, 3408, 2553, 3423, 3444, 3463, 3484, 3505, 3517, 3536, 3557, 2569, 3057, 3578, 3590, 3609, 3630, 3651, 2558, 3663, 3684, 3705, 3726, 3747, 3768, 3789, 3810, 3831, 3843, 3862, 3879, 3891, 3910, 3931, 3952, 3973, 3994, 4007, 4022, 4043, 4062, 4083, 4104, 4125, 4146, 4167, 4179, 4189, 4208, 4229, 4250, 2561, 4262, 4283, 4304, 4325, 4346, 4367, 3028, 4379, 4398, 4419, 4432, 4447, 4468, 4489 } ; static const flex_int16_t yy_def[1221] = { 0, 1113, 1113, 1114, 1114, 1115, 1116, 1117, 1117, 1118, 1118, 1119, 1119, 1113, 13, 1120, 1120, 1121, 1121, 1122, 1122, 1123, 1123, 1124, 1124, 1113, 25, 1125, 1125, 1126, 1126, 1127, 1127, 1128, 1128, 1113, 35, 1129, 1129, 1130, 1130, 1120, 1120, 1120, 1120, 1131, 1131, 1132, 1132, 1126, 1126, 1133, 1133, 1134, 1134, 1113, 1113, 1113, 1113, 1113, 1135, 1113, 1113, 1113, 1113, 1136, 1113, 1137, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1138, 1139, 1140, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1141, 1113, 1141, 1142, 1113, 1113, 1143, 1113, 1143, 1113, 1143, 1143, 1113, 1113, 1113, 1144, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1145, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1139, 1113, 1113, 1139, 1146, 1113, 1113, 1113, 1147, 1113, 1139, 1113, 1148, 1113, 1148, 1113, 1149, 1113, 1150, 1150, 1150, 1113, 1113, 1113, 1113, 1151, 1113, 1151, 1152, 1113, 1152, 1113, 1113, 1113, 1153, 1113, 1153, 1113, 1113, 1154, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1155, 1113, 1113, 1113, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1157, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1156, 1113, 1113, 1158, 1113, 1159, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1160, 1113, 1160, 1113, 1113, 1113, 1113, 1113, 1113, 1161, 1113, 1113, 1162, 1162, 1113, 1113, 1113, 1113, 1163, 1113, 1113, 1113, 1113, 1113, 1164, 1165, 1113, 1113, 1113, 1113, 1166, 1164, 1167, 1168, 1113, 1169, 1113, 1113, 1113, 1113, 1170, 1113, 1113, 1113, 1113, 1113, 1171, 1171, 1172, 1113, 1113, 1173, 1113, 1113, 1113, 1174, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1175, 1113, 1113, 1113, 1176, 1113, 1177, 1178, 1179, 1113, 1113, 1180, 1113, 1180, 1180, 1113, 1113, 1181, 1182, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1183, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1184, 1113, 1113, 1185, 1113, 1186, 1186, 1186, 1187, 1113, 1187, 1188, 1113, 1113, 1189, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1190, 1113, 1113, 1113, 1113, 1191, 1113, 1113, 1113, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1113, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1192, 1193, 1113, 1113, 1194, 1113, 1113, 1113, 1195, 1113, 1113, 1113, 1113, 1196, 1113, 1113, 1197, 1113, 1198, 1199, 1200, 1113, 1113, 1113, 1113, 1113, 1113, 1201, 1198, 1202, 1203, 1113, 1203, 1113, 1204, 1113, 1204, 1113, 1113, 1205, 1205, 1205, 1113, 1205, 1205, 1113, 1206, 1113, 1113, 1207, 1113, 1113, 1113, 1113, 1208, 1113, 1209, 1210, 1211, 1211, 1212, 1113, 1212, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1113, 1214, 1214, 1113, 1215, 1216, 1113, 1113, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1200, 1200, 1113, 1200, 1200, 1113, 1113, 1113, 1113, 1201, 1218, 1202, 1113, 1113, 1205, 432, 430, 430, 1205, 432, 1113, 1113, 1113, 1113, 1211, 1211, 1113, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1214, 1214, 1113, 1113, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1200, 1200, 1113, 1113, 1113, 1218, 1218, 1218, 1113, 534, 534, 1205, 432, 1205, 1205, 1205, 1113, 1113, 1211, 1211, 1113, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1214, 1214, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1219, 1113, 1113, 1218, 1113, 1218, 1113, 1205, 1205, 1205, 1113, 1113, 1211, 1211, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1214, 1214, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1217, 1217, 1217, 1113, 1217, 1113, 1113, 1113, 1113, 1219, 1113, 1219, 1113, 1113, 1113, 1113, 1113, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1220, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1213, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1220, 1113, 1220, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1213, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1113, 1113, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 0, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113 } ; static const flex_int16_t yy_nxt[4596] = { 0, 56, 57, 58, 56, 59, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 56, 56, 56, 56, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 56, 56, 56, 56, 61, 62, 56, 63, 56, 64, 56, 65, 56, 56, 56, 56, 56, 56, 56, 56, 66, 56, 56, 56, 56, 56, 56, 56, 56, 56, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 56, 56, 56, 56, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 56, 56, 56, 69, 70, 305, 71, 72, 89, 73, 90, 1045, 74, 75, 76, 76, 275, 276, 76, 77, 92, 89, 95, 90, 96, 78, 56, 93, 76, 95, 323, 96, 107, 108, 305, 109, 107, 108, 1012, 109, 125, 291, 126, 127, 154, 154, 155, 155, 119, 125, 120, 126, 127, 333, 79, 80, 238, 98, 239, 99, 121, 638, 56, 100, 122, 122, 122, 122, 98, 323, 99, 157, 1011, 158, 105, 350, 130, 131, 233, 132, 234, 159, 333, 81, 76, 76, 82, 83, 235, 84, 72, 128, 73, 85, 427, 74, 75, 76, 76, 101, 128, 76, 77, 134, 350, 135, 102, 103, 86, 104, 101, 76, 130, 131, 292, 132, 136, 102, 103, 1010, 104, 160, 378, 161, 229, 238, 230, 239, 101, 123, 297, 209, 298, 231, 210, 102, 1009, 79, 80, 101, 87, 209, 1008, 229, 210, 230, 102, 211, 211, 211, 211, 378, 231, 137, 138, 139, 1007, 211, 211, 211, 211, 243, 244, 335, 245, 336, 81, 76, 76, 110, 111, 112, 110, 113, 110, 110, 110, 110, 110, 110, 110, 114, 110, 114, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 115, 110, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 110, 110, 110, 110, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 110, 110, 110, 119, 134, 120, 135, 335, 157, 336, 158, 163, 383, 164, 165, 121, 250, 136, 159, 122, 122, 122, 122, 163, 224, 164, 165, 163, 233, 241, 234, 343, 247, 248, 242, 249, 304, 225, 235, 269, 269, 383, 270, 280, 419, 281, 420, 226, 282, 282, 282, 282, 227, 251, 137, 138, 139, 345, 160, 1006, 161, 166, 167, 168, 346, 1005, 304, 225, 312, 313, 423, 314, 424, 166, 167, 168, 226, 166, 167, 168, 1004, 227, 344, 251, 123, 140, 140, 141, 140, 142, 143, 140, 140, 140, 144, 140, 140, 140, 140, 140, 140, 140, 145, 140, 140, 140, 140, 140, 140, 140, 140, 140, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 147, 146, 146, 146, 146, 146, 146, 148, 149, 140, 150, 140, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 147, 146, 146, 146, 146, 146, 146, 148, 151, 140, 152, 170, 171, 213, 172, 214, 170, 171, 173, 172, 332, 219, 219, 173, 157, 224, 158, 174, 220, 220, 349, 449, 174, 450, 236, 428, 429, 157, 225, 158, 355, 221, 221, 319, 319, 319, 319, 236, 226, 356, 332, 222, 222, 227, 175, 388, 223, 223, 1003, 175, 349, 176, 177, 215, 178, 216, 176, 177, 225, 178, 355, 221, 221, 335, 160, 336, 161, 226, 1002, 356, 222, 222, 227, 175, 388, 223, 223, 160, 175, 161, 176, 335, 217, 336, 218, 176, 179, 180, 181, 179, 182, 183, 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, 184, 185, 179, 179, 179, 186, 179, 179, 187, 188, 189, 190, 191, 192, 193, 194, 195, 193, 193, 196, 197, 198, 199, 200, 193, 201, 202, 203, 204, 205, 206, 193, 207, 179, 179, 179, 179, 179, 187, 188, 189, 190, 191, 192, 193, 194, 195, 193, 193, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 193, 207, 179, 179, 179, 213, 726, 214, 163, 362, 241, 264, 265, 360, 266, 242, 278, 278, 267, 284, 285, 361, 286, 363, 278, 278, 287, 433, 433, 278, 278, 1001, 278, 278, 475, 288, 358, 364, 369, 427, 370, 289, 359, 360, 365, 382, 371, 345, 279, 367, 372, 361, 1000, 363, 346, 215, 279, 216, 166, 167, 168, 279, 963, 475, 279, 366, 358, 364, 369, 368, 370, 359, 376, 290, 365, 382, 371, 279, 962, 367, 372, 384, 377, 385, 217, 279, 218, 253, 243, 244, 279, 245, 268, 279, 366, 250, 386, 373, 368, 478, 268, 374, 376, 387, 405, 379, 254, 416, 255, 426, 255, 384, 377, 385, 961, 380, 255, 960, 381, 255, 256, 257, 959, 255, 258, 259, 386, 373, 478, 260, 958, 374, 251, 387, 405, 379, 254, 416, 255, 426, 255, 391, 391, 391, 391, 380, 255, 381, 957, 255, 256, 257, 255, 258, 259, 956, 247, 248, 260, 249, 261, 955, 251, 408, 409, 954, 410, 408, 409, 953, 410, 408, 409, 480, 410, 408, 409, 430, 410, 443, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 264, 265, 446, 266, 431, 431, 480, 267, 447, 952, 412, 428, 429, 443, 312, 313, 413, 314, 464, 414, 951, 284, 285, 950, 286, 465, 469, 470, 287, 471, 472, 473, 446, 949, 483, 484, 432, 288, 447, 412, 485, 476, 486, 289, 490, 474, 413, 487, 464, 414, 319, 319, 319, 319, 491, 465, 469, 470, 477, 471, 472, 473, 481, 483, 484, 432, 482, 492, 499, 485, 493, 476, 486, 490, 474, 290, 419, 487, 420, 948, 419, 268, 420, 423, 491, 424, 947, 477, 391, 391, 391, 391, 481, 423, 946, 424, 482, 492, 499, 493, 494, 495, 268, 451, 452, 453, 454, 455, 455, 456, 455, 455, 455, 455, 457, 455, 455, 455, 458, 455, 455, 459, 455, 460, 455, 455, 461, 455, 488, 494, 495, 462, 489, 451, 452, 453, 454, 455, 455, 456, 455, 455, 455, 455, 457, 455, 455, 455, 458, 455, 459, 455, 460, 455, 455, 461, 455, 496, 488, 497, 503, 489, 500, 504, 505, 506, 501, 945, 508, 498, 509, 502, 507, 944, 520, 428, 429, 527, 528, 277, 277, 449, 529, 450, 428, 429, 496, 531, 533, 497, 503, 943, 500, 504, 505, 506, 501, 508, 498, 509, 631, 502, 507, 510, 520, 511, 527, 528, 512, 513, 522, 523, 529, 524, 514, 515, 534, 531, 533, 942, 516, 517, 941, 526, 409, 518, 410, 525, 525, 525, 525, 543, 519, 510, 544, 511, 535, 535, 512, 513, 411, 411, 411, 411, 514, 515, 428, 429, 545, 516, 517, 539, 539, 546, 518, 542, 542, 542, 542, 569, 449, 543, 450, 570, 544, 571, 572, 624, 536, 625, 936, 573, 427, 523, 935, 625, 526, 409, 545, 410, 632, 885, 624, 546, 625, 428, 429, 626, 523, 569, 524, 722, 723, 570, 724, 571, 572, 536, 427, 427, 573, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 428, 429, 884, 538, 427, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 427, 427, 427, 540, 540, 540, 540, 547, 547, 547, 547, 547, 540, 540, 540, 540, 540, 540, 547, 547, 547, 574, 547, 548, 549, 575, 547, 550, 576, 553, 558, 551, 883, 552, 577, 578, 579, 428, 429, 556, 557, 580, 540, 540, 540, 540, 540, 540, 554, 581, 574, 555, 583, 548, 549, 575, 582, 550, 576, 553, 558, 551, 552, 586, 577, 578, 579, 584, 587, 556, 557, 580, 882, 585, 588, 589, 881, 554, 591, 581, 555, 1113, 583, 592, 593, 582, 559, 560, 561, 562, 594, 595, 563, 586, 596, 597, 584, 564, 587, 598, 599, 565, 585, 588, 566, 589, 567, 600, 591, 568, 601, 602, 603, 592, 593, 606, 559, 560, 561, 562, 594, 595, 563, 607, 596, 597, 604, 564, 608, 598, 599, 565, 605, 566, 609, 567, 610, 600, 568, 611, 601, 602, 603, 612, 614, 606, 613, 615, 616, 617, 618, 620, 607, 619, 621, 622, 604, 608, 623, 428, 429, 274, 605, 644, 609, 627, 610, 628, 629, 611, 633, 641, 642, 612, 614, 613, 880, 615, 616, 617, 618, 620, 619, 621, 622, 631, 522, 523, 623, 524, 626, 523, 644, 524, 801, 627, 802, 628, 629, 879, 633, 641, 642, 525, 525, 525, 525, 525, 525, 525, 525, 427, 427, 878, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 428, 429, 632, 635, 427, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 427, 427, 427, 636, 636, 643, 547, 547, 877, 639, 639, 547, 547, 547, 547, 547, 648, 651, 547, 876, 547, 547, 428, 429, 646, 650, 647, 547, 653, 428, 429, 649, 655, 656, 657, 643, 658, 428, 429, 637, 637, 637, 637, 428, 429, 652, 648, 651, 637, 637, 637, 637, 637, 637, 646, 650, 647, 547, 653, 547, 649, 547, 655, 656, 657, 801, 658, 802, 547, 669, 547, 547, 661, 547, 652, 654, 671, 659, 637, 637, 637, 637, 637, 637, 640, 640, 640, 640, 660, 547, 662, 666, 663, 640, 640, 640, 640, 640, 640, 669, 547, 547, 661, 670, 672, 654, 671, 659, 673, 668, 875, 664, 674, 675, 665, 676, 677, 678, 660, 662, 667, 666, 663, 640, 640, 640, 640, 640, 640, 682, 684, 679, 670, 672, 683, 685, 874, 686, 673, 668, 664, 674, 675, 665, 676, 687, 677, 678, 680, 688, 667, 690, 691, 695, 681, 872, 693, 694, 696, 682, 684, 697, 698, 683, 699, 685, 686, 700, 701, 869, 702, 703, 704, 705, 687, 706, 707, 709, 680, 688, 690, 708, 691, 695, 681, 693, 694, 696, 710, 711, 713, 697, 698, 712, 699, 714, 700, 716, 701, 702, 703, 715, 704, 705, 717, 706, 707, 709, 719, 720, 708, 721, 727, 727, 729, 547, 731, 710, 547, 711, 713, 547, 712, 732, 852, 714, 757, 716, 547, 547, 715, 841, 547, 734, 717, 738, 547, 719, 739, 720, 721, 737, 547, 733, 729, 731, 428, 429, 728, 728, 728, 728, 547, 732, 735, 757, 748, 728, 728, 728, 728, 728, 728, 734, 736, 738, 547, 547, 739, 547, 740, 737, 733, 741, 742, 547, 547, 547, 743, 428, 429, 547, 747, 547, 735, 748, 744, 728, 728, 728, 728, 728, 728, 736, 745, 547, 746, 547, 547, 753, 740, 547, 750, 741, 742, 547, 749, 758, 743, 547, 751, 752, 747, 759, 754, 760, 744, 761, 756, 762, 764, 755, 832, 766, 745, 767, 746, 768, 771, 753, 765, 770, 750, 772, 773, 775, 749, 758, 776, 751, 777, 752, 759, 779, 754, 760, 761, 780, 756, 762, 764, 755, 766, 781, 782, 767, 783, 768, 771, 765, 770, 784, 785, 772, 773, 775, 786, 776, 787, 789, 777, 788, 779, 791, 792, 793, 780, 795, 796, 547, 797, 798, 781, 799, 782, 783, 803, 804, 722, 723, 784, 724, 785, 807, 547, 786, 808, 547, 787, 789, 788, 547, 809, 791, 792, 793, 547, 795, 796, 797, 811, 798, 547, 799, 547, 547, 803, 804, 428, 429, 427, 810, 547, 547, 547, 812, 808, 813, 547, 547, 547, 547, 809, 547, 814, 806, 547, 547, 815, 817, 811, 819, 547, 821, 547, 818, 816, 822, 805, 820, 824, 810, 547, 826, 812, 823, 825, 813, 547, 828, 827, 547, 833, 814, 835, 829, 836, 815, 547, 817, 830, 819, 834, 821, 818, 816, 837, 822, 820, 831, 824, 838, 839, 826, 823, 840, 825, 842, 843, 828, 827, 844, 833, 845, 835, 829, 836, 846, 847, 849, 830, 848, 834, 850, 723, 851, 837, 853, 854, 831, 838, 839, 855, 862, 840, 863, 870, 842, 843, 718, 871, 844, 801, 845, 802, 873, 794, 846, 847, 849, 848, 856, 857, 850, 851, 547, 858, 853, 854, 859, 547, 855, 860, 862, 790, 863, 870, 861, 864, 865, 871, 547, 887, 866, 873, 547, 867, 547, 547, 868, 888, 856, 857, 547, 886, 547, 858, 890, 547, 859, 547, 547, 860, 889, 547, 892, 861, 899, 864, 865, 900, 891, 887, 866, 898, 901, 867, 893, 902, 868, 888, 547, 894, 886, 895, 904, 897, 890, 903, 906, 896, 778, 905, 889, 907, 892, 908, 899, 909, 900, 891, 910, 911, 912, 898, 901, 893, 902, 913, 914, 916, 894, 917, 895, 904, 897, 918, 774, 903, 906, 896, 905, 923, 907, 928, 915, 908, 909, 924, 925, 919, 910, 911, 912, 920, 926, 927, 921, 913, 914, 916, 917, 929, 769, 933, 934, 918, 922, 937, 930, 763, 923, 931, 928, 915, 939, 547, 940, 924, 925, 919, 969, 932, 965, 920, 926, 927, 921, 966, 967, 968, 970, 929, 933, 934, 971, 922, 937, 972, 930, 964, 973, 931, 974, 975, 976, 730, 977, 978, 979, 969, 932, 980, 965, 981, 982, 983, 984, 966, 967, 968, 970, 985, 427, 986, 971, 987, 988, 972, 964, 989, 973, 974, 990, 975, 976, 977, 991, 978, 979, 992, 993, 980, 981, 994, 982, 983, 984, 995, 996, 999, 997, 985, 986, 939, 987, 940, 988, 1013, 939, 989, 940, 990, 1014, 1015, 1016, 1017, 991, 998, 1018, 992, 993, 1019, 994, 1020, 1021, 1022, 995, 996, 999, 1023, 997, 1024, 1025, 725, 1026, 1027, 1013, 1028, 1029, 1030, 1031, 1032, 1014, 1015, 1016, 1017, 998, 1033, 1018, 1034, 1035, 1019, 1020, 1021, 1036, 1022, 1037, 1038, 1023, 1039, 1044, 1024, 1025, 1026, 1027, 1040, 1028, 1043, 1029, 1030, 1031, 1032, 1048, 1041, 1046, 1047, 1033, 1042, 1034, 1035, 1049, 1050, 1051, 1052, 1036, 1053, 1037, 1038, 1054, 1039, 1044, 1055, 1056, 1057, 1040, 1058, 1043, 1059, 1060, 1061, 1062, 1048, 1041, 1063, 1046, 1047, 1042, 1064, 1065, 1049, 1050, 1066, 1051, 1052, 1053, 1067, 1068, 1054, 1069, 1070, 1071, 1055, 1056, 1057, 1072, 1058, 1073, 1059, 1060, 1061, 1062, 1074, 1075, 1063, 1076, 1077, 1064, 1078, 1065, 1079, 1080, 1066, 1081, 1082, 1067, 1068, 1083, 1069, 1070, 1084, 1071, 1085, 1086, 1087, 1072, 1088, 1073, 1089, 1090, 718, 1091, 1074, 1075, 1076, 1092, 1077, 1093, 1078, 1094, 1079, 1080, 1081, 1095, 1082, 1096, 1097, 1083, 1098, 1099, 1084, 1100, 1085, 1086, 1087, 1088, 1101, 1089, 1102, 1090, 1091, 1103, 1104, 1105, 1106, 1092, 1107, 1093, 1094, 1108, 692, 1109, 1110, 1095, 1111, 1096, 1097, 1112, 1098, 1099, 1100, 375, 375, 689, 434, 1101, 434, 541, 1102, 541, 1103, 1104, 1105, 645, 1106, 427, 1107, 415, 415, 1108, 1109, 1110, 415, 590, 1111, 344, 343, 1112, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 246, 547, 246, 438, 246, 246, 455, 455, 455, 246, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 263, 409, 263, 390, 263, 263, 417, 417, 479, 263, 274, 417, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 277, 354, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 283, 283, 351, 283, 348, 283, 283, 467, 466, 463, 283, 295, 315, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 313, 299, 315, 299, 299, 299, 302, 310, 302, 302, 296, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 441, 302, 440, 302, 302, 302, 309, 439, 285, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 317, 438, 317, 436, 317, 317, 435, 425, 269, 317, 322, 421, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 325, 265, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 248, 325, 325, 325, 326, 244, 326, 341, 326, 403, 326, 326, 326, 326, 402, 326, 326, 400, 399, 398, 326, 328, 397, 328, 328, 328, 395, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 331, 394, 331, 393, 331, 331, 390, 354, 352, 331, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 337, 351, 337, 337, 337, 337, 337, 307, 337, 337, 337, 337, 337, 337, 337, 306, 337, 330, 337, 337, 337, 340, 348, 340, 347, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 307, 306, 341, 340, 340, 340, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 353, 307, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 357, 357, 306, 339, 338, 357, 357, 389, 307, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 392, 306, 330, 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, 329, 392, 327, 392, 396, 321, 396, 396, 396, 396, 324, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 321, 401, 320, 401, 401, 401, 404, 318, 404, 404, 404, 316, 404, 404, 404, 404, 404, 404, 404, 404, 404, 313, 315, 311, 404, 404, 404, 246, 310, 246, 308, 246, 246, 307, 306, 303, 246, 406, 301, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 407, 300, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 263, 296, 263, 294, 263, 263, 293, 285, 273, 263, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 427, 272, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 271, 427, 427, 427, 274, 265, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 437, 262, 437, 248, 437, 437, 244, 1113, 117, 437, 117, 437, 442, 1113, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 295, 1113, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, 444, 1113, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 445, 1113, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 1113, 299, 1113, 299, 299, 299, 302, 1113, 302, 302, 1113, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 1113, 302, 1113, 302, 302, 302, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 309, 1113, 1113, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, 317, 1113, 317, 1113, 317, 317, 1113, 1113, 1113, 317, 326, 1113, 326, 1113, 326, 1113, 326, 326, 326, 326, 1113, 326, 326, 1113, 1113, 1113, 326, 328, 1113, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 331, 1113, 331, 1113, 331, 331, 1113, 1113, 1113, 331, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 337, 1113, 337, 337, 337, 337, 337, 1113, 337, 337, 337, 337, 337, 337, 337, 1113, 337, 1113, 337, 337, 337, 340, 1113, 340, 1113, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 1113, 1113, 1113, 340, 340, 340, 468, 1113, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 353, 1113, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 357, 357, 1113, 1113, 1113, 357, 357, 389, 1113, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, 392, 1113, 1113, 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, 1113, 392, 1113, 392, 396, 1113, 396, 396, 396, 396, 1113, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 1113, 401, 1113, 401, 401, 401, 404, 1113, 404, 404, 404, 1113, 404, 404, 404, 404, 404, 404, 404, 404, 404, 1113, 1113, 1113, 404, 404, 404, 406, 1113, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, 407, 1113, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 407, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 521, 530, 1113, 530, 1113, 530, 530, 1113, 1113, 1113, 530, 532, 1113, 532, 1113, 532, 532, 1113, 1113, 1113, 532, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 427, 1113, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, 1113, 427, 427, 427, 437, 1113, 437, 1113, 437, 437, 1113, 1113, 1113, 437, 1113, 437, 442, 1113, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 444, 1113, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, 445, 1113, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, 302, 1113, 302, 302, 1113, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 1113, 302, 1113, 302, 302, 302, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 331, 1113, 331, 1113, 331, 331, 1113, 1113, 1113, 331, 342, 1113, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 468, 1113, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 357, 357, 1113, 1113, 1113, 357, 357, 630, 1113, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 55, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113 } ; static const flex_int16_t yy_chk[4596] = { 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, 102, 3, 3, 5, 3, 5, 1012, 3, 3, 3, 3, 79, 79, 3, 3, 6, 6, 7, 6, 7, 3, 21, 6, 3, 8, 132, 8, 11, 11, 102, 11, 12, 12, 964, 12, 19, 85, 19, 19, 27, 28, 27, 28, 17, 20, 17, 20, 20, 148, 3, 3, 51, 9, 51, 9, 17, 537, 22, 9, 17, 17, 17, 17, 10, 132, 10, 29, 963, 29, 10, 176, 21, 21, 47, 21, 47, 29, 148, 3, 3, 3, 4, 4, 47, 4, 4, 19, 4, 4, 537, 4, 4, 4, 4, 9, 20, 4, 4, 23, 176, 23, 9, 9, 4, 9, 10, 4, 22, 22, 85, 22, 23, 10, 10, 962, 10, 29, 199, 29, 45, 52, 45, 52, 9, 17, 93, 37, 93, 45, 37, 9, 961, 4, 4, 10, 4, 38, 960, 46, 38, 46, 10, 37, 37, 37, 37, 199, 46, 23, 23, 23, 959, 38, 38, 38, 38, 57, 57, 153, 57, 153, 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, 155, 30, 155, 30, 31, 202, 31, 31, 18, 64, 24, 30, 18, 18, 18, 18, 32, 43, 32, 32, 53, 48, 53, 48, 167, 61, 61, 53, 61, 101, 43, 48, 73, 73, 202, 73, 81, 261, 81, 261, 43, 81, 81, 81, 81, 43, 64, 24, 24, 24, 170, 30, 958, 30, 31, 31, 31, 170, 957, 101, 43, 111, 111, 268, 111, 268, 32, 32, 32, 43, 53, 53, 53, 956, 43, 167, 64, 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, 147, 41, 42, 34, 49, 44, 49, 33, 41, 42, 175, 308, 34, 308, 49, 274, 274, 50, 44, 50, 184, 41, 42, 122, 122, 122, 122, 50, 44, 185, 147, 41, 42, 44, 33, 207, 41, 42, 955, 34, 175, 33, 33, 39, 33, 39, 34, 34, 44, 34, 184, 41, 42, 334, 49, 334, 49, 44, 954, 185, 41, 42, 44, 33, 207, 41, 42, 50, 34, 50, 33, 336, 39, 336, 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, 634, 40, 54, 189, 54, 69, 69, 188, 69, 54, 80, 80, 69, 82, 82, 188, 82, 189, 128, 128, 82, 278, 278, 131, 131, 953, 138, 138, 359, 82, 187, 190, 194, 634, 195, 82, 187, 188, 191, 201, 196, 345, 80, 192, 196, 188, 952, 189, 345, 40, 128, 40, 54, 54, 54, 131, 897, 359, 138, 191, 187, 190, 194, 192, 195, 187, 198, 82, 191, 201, 196, 80, 896, 192, 196, 203, 198, 204, 40, 128, 40, 65, 243, 243, 131, 243, 69, 138, 191, 250, 205, 197, 192, 361, 82, 197, 198, 206, 251, 200, 65, 259, 65, 273, 65, 203, 198, 204, 895, 200, 65, 894, 200, 65, 65, 65, 893, 65, 65, 65, 205, 197, 361, 65, 892, 197, 250, 206, 251, 200, 65, 259, 65, 273, 65, 211, 211, 211, 211, 200, 65, 200, 891, 65, 65, 65, 65, 65, 65, 890, 247, 247, 65, 247, 65, 889, 250, 254, 254, 888, 254, 255, 255, 887, 255, 256, 256, 363, 256, 257, 257, 275, 257, 293, 254, 254, 254, 254, 255, 255, 255, 255, 256, 256, 256, 256, 257, 257, 257, 257, 264, 264, 304, 264, 276, 276, 363, 264, 305, 886, 254, 275, 275, 293, 312, 312, 256, 312, 332, 257, 885, 284, 284, 884, 284, 333, 349, 350, 284, 355, 356, 358, 304, 883, 365, 366, 276, 284, 305, 254, 367, 360, 368, 284, 371, 358, 256, 369, 332, 257, 319, 319, 319, 319, 372, 333, 349, 350, 360, 355, 356, 358, 364, 365, 366, 276, 364, 373, 381, 367, 374, 360, 368, 371, 358, 284, 418, 369, 418, 882, 420, 264, 420, 422, 372, 422, 881, 360, 391, 391, 391, 391, 364, 424, 880, 424, 364, 373, 381, 374, 376, 378, 284, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 370, 376, 378, 321, 370, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 321, 379, 370, 380, 383, 370, 382, 383, 384, 385, 382, 879, 386, 380, 387, 382, 385, 878, 405, 427, 427, 412, 413, 433, 433, 448, 414, 448, 639, 639, 379, 416, 426, 380, 383, 877, 382, 383, 384, 385, 382, 386, 380, 387, 531, 382, 385, 388, 405, 388, 412, 413, 388, 388, 408, 408, 414, 408, 388, 388, 428, 416, 426, 876, 388, 388, 875, 411, 411, 388, 411, 408, 408, 408, 408, 441, 388, 388, 443, 388, 429, 429, 388, 388, 411, 411, 411, 411, 388, 388, 428, 428, 446, 388, 388, 431, 431, 447, 388, 438, 438, 438, 438, 464, 450, 441, 450, 465, 443, 469, 470, 521, 429, 521, 871, 471, 429, 524, 870, 524, 526, 526, 446, 526, 531, 818, 625, 447, 625, 431, 431, 626, 626, 464, 626, 632, 632, 465, 632, 469, 470, 429, 430, 430, 471, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 817, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 432, 432, 432, 432, 451, 452, 453, 457, 456, 432, 432, 432, 432, 432, 432, 454, 459, 460, 472, 461, 451, 452, 473, 458, 453, 474, 457, 461, 454, 816, 456, 475, 476, 477, 432, 432, 459, 460, 478, 432, 432, 432, 432, 432, 432, 458, 480, 472, 458, 482, 451, 452, 473, 481, 453, 474, 457, 461, 454, 456, 486, 475, 476, 477, 484, 487, 459, 460, 478, 815, 485, 488, 489, 814, 458, 491, 480, 458, 462, 482, 492, 493, 481, 462, 462, 462, 462, 494, 495, 462, 486, 496, 497, 484, 462, 487, 498, 499, 462, 485, 488, 462, 489, 462, 500, 491, 462, 501, 502, 503, 492, 493, 505, 462, 462, 462, 462, 494, 495, 462, 506, 496, 497, 504, 462, 507, 498, 499, 462, 504, 462, 508, 462, 509, 500, 462, 510, 501, 502, 503, 511, 513, 505, 512, 514, 515, 516, 517, 519, 506, 518, 519, 519, 504, 507, 520, 638, 638, 638, 504, 546, 508, 527, 509, 528, 529, 510, 533, 543, 544, 511, 513, 512, 813, 514, 515, 516, 517, 519, 518, 519, 519, 631, 522, 522, 520, 522, 525, 525, 546, 525, 719, 527, 719, 528, 529, 812, 533, 543, 544, 522, 522, 522, 522, 525, 525, 525, 525, 534, 534, 811, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 631, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 535, 535, 545, 548, 550, 810, 539, 539, 549, 552, 557, 551, 554, 549, 552, 553, 809, 559, 558, 640, 640, 548, 551, 548, 556, 554, 727, 727, 550, 556, 557, 558, 545, 559, 535, 535, 536, 536, 536, 536, 539, 539, 553, 549, 552, 536, 536, 536, 536, 536, 536, 548, 551, 548, 555, 554, 562, 550, 560, 556, 557, 558, 800, 559, 800, 563, 569, 561, 566, 562, 564, 553, 555, 571, 560, 536, 536, 536, 536, 536, 536, 540, 540, 540, 540, 561, 565, 563, 566, 564, 540, 540, 540, 540, 540, 540, 569, 567, 568, 562, 570, 572, 555, 571, 560, 575, 568, 808, 565, 576, 577, 565, 578, 579, 580, 561, 563, 567, 566, 564, 540, 540, 540, 540, 540, 540, 582, 584, 581, 570, 572, 583, 587, 806, 588, 575, 568, 565, 576, 577, 565, 578, 589, 579, 580, 581, 590, 567, 594, 595, 599, 581, 799, 597, 598, 601, 582, 584, 602, 603, 583, 604, 587, 588, 605, 606, 796, 607, 608, 609, 611, 589, 612, 613, 615, 581, 590, 594, 614, 595, 599, 581, 597, 598, 601, 616, 617, 619, 602, 603, 618, 604, 620, 605, 621, 606, 607, 608, 620, 609, 611, 622, 612, 613, 615, 627, 628, 614, 629, 636, 636, 641, 651, 643, 616, 646, 617, 619, 647, 618, 644, 784, 620, 669, 621, 650, 652, 620, 770, 660, 647, 622, 651, 648, 627, 652, 628, 629, 650, 649, 646, 641, 643, 636, 636, 637, 637, 637, 637, 653, 644, 648, 669, 660, 637, 637, 637, 637, 637, 637, 647, 649, 651, 654, 655, 652, 656, 653, 650, 646, 654, 655, 657, 658, 659, 656, 728, 728, 665, 659, 663, 648, 660, 657, 637, 637, 637, 637, 637, 637, 649, 658, 661, 658, 662, 664, 665, 653, 667, 662, 654, 655, 668, 661, 670, 656, 666, 663, 664, 659, 671, 666, 672, 657, 674, 668, 676, 679, 667, 761, 680, 658, 681, 658, 683, 687, 665, 679, 685, 662, 688, 689, 691, 661, 670, 692, 663, 693, 664, 671, 695, 666, 672, 674, 696, 668, 676, 679, 667, 680, 697, 699, 681, 700, 683, 687, 679, 685, 701, 702, 688, 689, 691, 704, 692, 705, 707, 693, 706, 695, 709, 710, 711, 696, 713, 714, 733, 715, 716, 697, 717, 699, 700, 720, 721, 722, 722, 701, 722, 702, 730, 736, 704, 733, 734, 705, 707, 706, 737, 734, 709, 710, 711, 735, 713, 714, 715, 736, 716, 739, 717, 740, 738, 720, 721, 726, 726, 726, 735, 741, 743, 745, 737, 733, 738, 744, 747, 742, 746, 734, 748, 739, 729, 750, 749, 740, 742, 736, 744, 752, 746, 751, 743, 741, 747, 725, 745, 749, 735, 753, 751, 737, 748, 750, 738, 754, 753, 752, 755, 763, 739, 764, 754, 765, 740, 756, 742, 755, 744, 763, 746, 743, 741, 766, 747, 745, 756, 749, 767, 768, 751, 748, 769, 750, 771, 772, 753, 752, 773, 763, 774, 764, 754, 765, 775, 776, 778, 755, 777, 763, 780, 724, 782, 766, 786, 787, 756, 767, 768, 788, 791, 769, 793, 797, 771, 772, 718, 798, 773, 802, 774, 802, 804, 712, 775, 776, 778, 777, 790, 790, 780, 782, 820, 790, 786, 787, 790, 819, 788, 790, 791, 708, 793, 797, 790, 794, 794, 798, 823, 820, 794, 804, 821, 794, 824, 822, 794, 821, 790, 790, 825, 819, 826, 790, 823, 827, 790, 828, 831, 790, 822, 830, 825, 790, 832, 794, 794, 833, 824, 820, 794, 831, 834, 794, 826, 835, 794, 821, 829, 827, 819, 828, 838, 830, 823, 836, 841, 829, 694, 840, 822, 842, 825, 843, 832, 844, 833, 824, 845, 847, 849, 831, 834, 826, 835, 850, 852, 856, 827, 857, 828, 838, 830, 858, 690, 836, 841, 829, 840, 860, 842, 865, 852, 843, 844, 861, 862, 859, 845, 847, 849, 859, 863, 864, 859, 850, 852, 856, 857, 866, 684, 868, 869, 858, 859, 872, 867, 678, 860, 867, 865, 852, 873, 898, 873, 861, 862, 859, 903, 867, 899, 859, 863, 864, 859, 900, 901, 902, 905, 866, 868, 869, 906, 859, 872, 907, 867, 898, 908, 867, 910, 911, 912, 642, 913, 914, 915, 903, 867, 916, 899, 917, 919, 920, 921, 900, 901, 902, 905, 922, 635, 923, 906, 924, 926, 907, 898, 927, 908, 910, 928, 911, 912, 913, 930, 914, 915, 931, 932, 916, 917, 933, 919, 920, 921, 934, 935, 937, 936, 922, 923, 938, 924, 938, 926, 965, 940, 927, 940, 928, 966, 967, 968, 969, 930, 936, 970, 931, 932, 971, 933, 972, 973, 974, 934, 935, 937, 975, 936, 976, 978, 633, 979, 980, 965, 981, 982, 983, 984, 985, 966, 967, 968, 969, 936, 987, 970, 989, 990, 971, 972, 973, 991, 974, 992, 993, 975, 995, 999, 976, 978, 979, 980, 996, 981, 998, 982, 983, 984, 985, 1015, 997, 1013, 1014, 987, 997, 989, 990, 1016, 1017, 1019, 1020, 991, 1022, 992, 993, 1023, 995, 999, 1024, 1025, 1026, 996, 1027, 998, 1028, 1030, 1034, 1035, 1015, 997, 1036, 1013, 1014, 997, 1039, 1040, 1016, 1017, 1041, 1019, 1020, 1022, 1042, 1043, 1023, 1044, 1046, 1047, 1024, 1025, 1026, 1048, 1027, 1049, 1028, 1030, 1034, 1035, 1050, 1053, 1036, 1055, 1057, 1039, 1060, 1040, 1063, 1064, 1041, 1065, 1066, 1042, 1043, 1067, 1044, 1046, 1068, 1047, 1069, 1070, 1072, 1048, 1073, 1049, 1074, 1075, 623, 1077, 1050, 1053, 1055, 1081, 1057, 1082, 1060, 1083, 1063, 1064, 1065, 1084, 1066, 1086, 1087, 1067, 1088, 1089, 1068, 1090, 1069, 1070, 1072, 1073, 1093, 1074, 1095, 1075, 1077, 1096, 1097, 1098, 1100, 1081, 1103, 1082, 1083, 1105, 596, 1106, 1107, 1084, 1109, 1086, 1087, 1110, 1088, 1089, 1090, 1157, 1157, 593, 1173, 1093, 1173, 1206, 1095, 1206, 1096, 1097, 1098, 547, 1100, 538, 1103, 1166, 1166, 1105, 1106, 1107, 1166, 490, 1109, 467, 466, 1110, 1114, 1114, 1114, 1114, 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, 1115, 1115, 1115, 1115, 1116, 1116, 1116, 1116, 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, 1117, 1117, 1117, 1117, 1118, 1118, 1118, 1118, 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, 1119, 1119, 1119, 1119, 1120, 1120, 1120, 1120, 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, 1121, 1121, 1121, 1121, 1122, 1122, 1122, 1122, 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, 1123, 1123, 1123, 1123, 1124, 1124, 1124, 1124, 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, 1125, 1125, 1125, 1125, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1131, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1133, 1133, 1133, 1133, 1133, 1133, 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, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1135, 455, 1135, 437, 1135, 1135, 1213, 1213, 1213, 1135, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1137, 410, 1137, 389, 1137, 1137, 1167, 1167, 362, 1137, 1138, 1167, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1138, 1139, 353, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1140, 1140, 351, 1140, 346, 1140, 1140, 344, 343, 328, 1140, 1141, 315, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 314, 1142, 313, 1142, 1142, 1142, 1143, 310, 1143, 1143, 296, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 289, 1143, 288, 1143, 1143, 1143, 1144, 287, 286, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1144, 1145, 283, 1145, 281, 1145, 1145, 280, 271, 270, 1145, 1146, 267, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1147, 266, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 1147, 249, 1147, 1147, 1147, 1148, 245, 1148, 241, 1148, 239, 1148, 1148, 1148, 1148, 238, 1148, 1148, 236, 235, 234, 1148, 1149, 230, 1149, 1149, 1149, 216, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1150, 215, 1150, 214, 1150, 1150, 210, 183, 182, 1150, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1152, 180, 1152, 1152, 1152, 1152, 1152, 178, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 177, 1152, 174, 1152, 1152, 1152, 1153, 173, 1153, 172, 1153, 1153, 1153, 1153, 1153, 1153, 1153, 1153, 1153, 1153, 1153, 168, 166, 164, 1153, 1153, 1153, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1154, 1155, 161, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1156, 1156, 160, 159, 158, 1156, 1156, 1158, 150, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1159, 149, 145, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 1159, 144, 1159, 142, 1159, 1160, 137, 1160, 1160, 1160, 1160, 135, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1160, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 130, 1161, 126, 1161, 1161, 1161, 1162, 120, 1162, 1162, 1162, 115, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 113, 112, 109, 1162, 1162, 1162, 1163, 107, 1163, 105, 1163, 1163, 104, 103, 99, 1163, 1164, 96, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1164, 1165, 95, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1168, 1169, 92, 1169, 90, 1169, 1169, 86, 84, 78, 1169, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1170, 1171, 77, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 74, 1171, 1171, 1171, 1172, 71, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1174, 66, 1174, 63, 1174, 1174, 59, 55, 16, 1174, 15, 1174, 1175, 0, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1175, 1176, 0, 1176, 1176, 1176, 1176, 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, 1177, 1177, 1177, 1177, 1178, 0, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 0, 1179, 0, 1179, 1179, 1179, 1180, 0, 1180, 1180, 0, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 0, 1180, 0, 1180, 1180, 1180, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1182, 0, 0, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1183, 0, 1183, 0, 1183, 1183, 0, 0, 0, 1183, 1184, 0, 1184, 0, 1184, 0, 1184, 1184, 1184, 1184, 0, 1184, 1184, 0, 0, 0, 1184, 1185, 0, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1186, 0, 1186, 0, 1186, 1186, 0, 0, 0, 1186, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1187, 1188, 0, 1188, 1188, 1188, 1188, 1188, 0, 1188, 1188, 1188, 1188, 1188, 1188, 1188, 0, 1188, 0, 1188, 1188, 1188, 1189, 0, 1189, 0, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 0, 0, 0, 1189, 1189, 1189, 1190, 0, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1191, 0, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1191, 1192, 1192, 0, 0, 0, 1192, 1192, 1193, 0, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1194, 0, 0, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 1194, 0, 1194, 0, 1194, 1195, 0, 1195, 1195, 1195, 1195, 0, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1195, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 0, 1196, 0, 1196, 1196, 1196, 1197, 0, 1197, 1197, 1197, 0, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 0, 0, 0, 1197, 1197, 1197, 1198, 0, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1199, 0, 1199, 1199, 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, 1200, 1200, 1200, 1200, 1201, 0, 1201, 0, 1201, 1201, 0, 0, 0, 1201, 1202, 0, 1202, 0, 1202, 1202, 0, 0, 0, 1202, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1205, 0, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 0, 1205, 1205, 1205, 1207, 0, 1207, 0, 1207, 1207, 0, 0, 0, 1207, 0, 1207, 1208, 0, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1209, 0, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1209, 1210, 0, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1210, 1211, 0, 1211, 1211, 0, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 0, 1211, 0, 1211, 1211, 1211, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1212, 1214, 0, 1214, 0, 1214, 1214, 0, 0, 0, 1214, 1215, 0, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1215, 1216, 0, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1217, 1217, 0, 0, 0, 1217, 1217, 1218, 0, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1220, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113 } ; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "scan.l" /* scan.l - scanner for flex input -*-C-*- */ #line 4 "scan.l" /* 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; extern int yylval; #define M4QSTART "[""[" #define M4QEND "]""]" #define ESCAPED_QSTART "[" M4QEND M4QSTART "[" M4QEND M4QSTART #define ESCAPED_QEND M4QEND "]" M4QSTART M4QEND "]" M4QSTART #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(void) #define RETURNCHAR \ yylval = (unsigned char) yytext[0]; \ return CHAR; #define RETURNNAME \ if(yyleng < MAXLINE) \ { \ strncpy( nmstr, yytext, sizeof(nmstr) ); \ return NAME; \ } \ else \ do { \ synerr(_("Input line too long\n")); \ FLEX_EXIT(EXIT_FAILURE); \ } while (0) #define PUT_BACK_STRING(str, start) \ { size_t i = strlen( str ); \ while ( i > start ) \ 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 START_CODEBLOCK(x) do { \ /* Emit the needed line directive... */\ if (indented_code == false) { \ linenum++; \ line_directive_out(NULL, 1); \ } \ add_action(M4QSTART); \ yy_push_state(CODEBLOCK); \ if ((indented_code = x)) ACTION_ECHO; \ } while(0) #define END_CODEBLOCK do { \ yy_pop_state();\ add_action(M4QEND); \ if (!indented_code) line_directive_out(NULL, 0);\ } while (0) -#line 1974 "" +#line 1968 "" -#line 1976 "" +#line 1970 "" #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 #define CODE_COMMENT 24 #define SECT3_NOESCAPE 25 #define CHARACTER_CONSTANT 26 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals ( void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy ( void ); int yyget_debug ( void ); void yyset_debug ( int debug_flag ); YY_EXTRA_TYPE yyget_extra ( void ); void yyset_extra ( YY_EXTRA_TYPE user_defined ); FILE *yyget_in ( void ); void yyset_in ( FILE * _in_str ); FILE *yyget_out ( void ); void yyset_out ( FILE * _out_str ); int 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 #ifndef YY_NO_UNPUT static void yyunput ( int c, char *buf_ptr ); #endif #ifndef yytext_ptr static void yy_flex_strncpy ( char *, const char *, int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen ( const 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 #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #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, (size_t) 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 = '*'; \ int 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 = (int) fread(buf, 1, (yy_size_t) 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 /*LINTED*/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 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( ); } { #line 159 "scan.l" #line 161 "scan.l" static int bracelevel, didadef, indented_code; static int doing_rule_action = false; static int option_sense; int doing_codeblock = false; int brace_depth=0, brace_start_line=0; char nmdef[MAXLINE]; -#line 2242 "" +#line 2236 "" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); yy_match: do { YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1114 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 4511 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = 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 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: YY_RULE_SETUP #line 171 "scan.l" START_CODEBLOCK(true); YY_BREAK case 2: YY_RULE_SETUP #line 172 "scan.l" add_action("/*[""["); yy_push_state( COMMENT ); YY_BREAK case 3: YY_RULE_SETUP #line 173 "scan.l" yy_push_state( LINEDIR ); YY_BREAK case 4: YY_RULE_SETUP #line 174 "scan.l" return SCDECL; YY_BREAK case 5: YY_RULE_SETUP #line 175 "scan.l" return XSCDECL; YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 176 "scan.l" START_CODEBLOCK(false); YY_BREAK case 7: /* rule 7 can match eol */ YY_RULE_SETUP #line 177 "scan.l" { 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 #line 185 "scan.l" synerr( _("malformed '%top' directive") ); YY_BREAK case 9: YY_RULE_SETUP #line 187 "scan.l" /* discard */ YY_BREAK case 10: YY_RULE_SETUP #line 189 "scan.l" { sectnum = 2; bracelevel = 0; mark_defs1(); line_directive_out(NULL, 1); BEGIN(SECT2PROLOG); return SECTEND; } YY_BREAK case 11: /* rule 11 can match eol */ YY_RULE_SETUP #line 198 "scan.l" yytext_is_array = false; ++linenum; YY_BREAK case 12: /* rule 12 can match eol */ YY_RULE_SETUP #line 199 "scan.l" yytext_is_array = true; ++linenum; YY_BREAK case 13: YY_RULE_SETUP #line 201 "scan.l" BEGIN(OPTION); return TOK_OPTION; YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP #line 203 "scan.l" ++linenum; /* ignore */ YY_BREAK case 15: /* rule 15 can match eol */ YY_RULE_SETUP #line 204 "scan.l" ++linenum; /* ignore */ YY_BREAK /* xgettext: no-c-format */ case 16: /* rule 16 can match eol */ YY_RULE_SETUP #line 207 "scan.l" synerr( _( "unrecognized '%' directive" ) ); YY_BREAK case 17: YY_RULE_SETUP #line 209 "scan.l" { if(yyleng < MAXLINE) { strncpy( 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 #line 224 "scan.l" RETURNNAME; YY_BREAK case 19: /* rule 19 can match eol */ YY_RULE_SETUP #line 225 "scan.l" ++linenum; /* allows blank lines in section 1 */ YY_BREAK case 20: /* rule 20 can match eol */ YY_RULE_SETUP #line 226 "scan.l" ACTION_ECHO; ++linenum; /* maybe end of comment line */ YY_BREAK /* */ case 21: YY_RULE_SETUP #line 231 "scan.l" ACTION_ECHO; YY_BREAK case 22: YY_RULE_SETUP #line 232 "scan.l" ACTION_ECHO; YY_BREAK case 23: /* rule 23 can match eol */ YY_RULE_SETUP #line 234 "scan.l" ++linenum; ACTION_ECHO; YY_BREAK case 24: YY_RULE_SETUP #line 237 "scan.l" add_action("*/]""]"); yy_pop_state(); YY_BREAK case 25: YY_RULE_SETUP #line 240 "scan.l" ACTION_ECHO; yy_pop_state(); YY_BREAK /* This is the same as COMMENT, but is discarded rather than output. */ case 26: YY_RULE_SETUP #line 245 "scan.l" yy_pop_state(); YY_BREAK case 27: YY_RULE_SETUP #line 246 "scan.l" ; YY_BREAK case 28: YY_RULE_SETUP #line 247 "scan.l" ; YY_BREAK case 29: /* rule 29 can match eol */ YY_RULE_SETUP #line 248 "scan.l" ++linenum; YY_BREAK case 30: YY_RULE_SETUP #line 252 "scan.l" yy_pop_state(); YY_BREAK case 31: YY_RULE_SETUP #line 253 "scan.l" ; YY_BREAK case 32: /* rule 32 can match eol */ YY_RULE_SETUP #line 254 "scan.l" ++linenum; YY_BREAK case 33: /* rule 33 can match eol */ YY_RULE_SETUP #line 258 "scan.l" yy_pop_state(); YY_BREAK case 34: YY_RULE_SETUP #line 259 "scan.l" linenum = myctoi( yytext ); YY_BREAK case 35: YY_RULE_SETUP #line 261 "scan.l" { free(infilename); infilename = xstrdup(yytext + 1); infilename[strlen( infilename ) - 1] = '\0'; } YY_BREAK case 36: YY_RULE_SETUP #line 266 "scan.l" /* ignore spurious characters */ YY_BREAK case 37: YY_RULE_SETUP #line 269 "scan.l" ACTION_ECHO_QSTART; YY_BREAK case 38: YY_RULE_SETUP #line 270 "scan.l" ACTION_ECHO_QEND; YY_BREAK case 39: /* rule 39 can match eol */ YY_RULE_SETUP #line 274 "scan.l" ++linenum; END_CODEBLOCK; YY_BREAK case 40: YY_RULE_SETUP #line 275 "scan.l" ACTION_ECHO; YY_BREAK case 41: YY_RULE_SETUP #line 276 "scan.l" ACTION_ECHO; YY_BREAK case 42: /* rule 42 can match eol */ YY_RULE_SETUP #line 277 "scan.l" { ++linenum; ACTION_ECHO; if ( indented_code ) END_CODEBLOCK; } YY_BREAK case 43: YY_RULE_SETUP #line 285 "scan.l" { if( --brace_depth == 0){ /* TODO: Matched. */ yy_pop_state(); }else buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 44: YY_RULE_SETUP #line 293 "scan.l" { brace_depth++; buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 45: /* rule 45 can match eol */ YY_RULE_SETUP #line 298 "scan.l" { ++linenum; buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case 46: YY_RULE_SETUP #line 303 "scan.l" buf_strnappend(&top_buf, escaped_qstart, (int) strlen(escaped_qstart)); YY_BREAK case 47: YY_RULE_SETUP #line 304 "scan.l" buf_strnappend(&top_buf, escaped_qend, (int) strlen(escaped_qend)); YY_BREAK case 48: YY_RULE_SETUP #line 305 "scan.l" { buf_strnappend(&top_buf, yytext, yyleng); } YY_BREAK case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE): #line 309 "scan.l" { linenum = brace_start_line; synerr(_("Unmatched '{'")); yyterminate(); } YY_BREAK case 49: YY_RULE_SETUP #line 318 "scan.l" /* separates name and definition */ YY_BREAK case 50: YY_RULE_SETUP #line 320 "scan.l" { if(yyleng < MAXLINE) { strncpy( nmdef, yytext, sizeof(nmdef) ); } else { format_synerr( _("Definition value for {%s} too long\n"), nmstr); FLEX_EXIT(EXIT_FAILURE); } /* Skip trailing whitespace. */ { size_t i = strlen( nmdef ); while (i > 0 && (nmdef[i-1] == ' ' || nmdef[i-1] == '\t')) --i; nmdef[i] = '\0'; } ndinstal( nmstr, nmdef ); didadef = true; } YY_BREAK case 51: /* rule 51 can match eol */ YY_RULE_SETUP #line 342 "scan.l" { if ( ! didadef ) synerr( _( "incomplete name definition" ) ); BEGIN(INITIAL); ++linenum; } YY_BREAK case 52: /* rule 52 can match eol */ YY_RULE_SETUP #line 352 "scan.l" ++linenum; BEGIN(INITIAL); YY_BREAK case 53: YY_RULE_SETUP #line 353 "scan.l" option_sense = true; YY_BREAK case 54: YY_RULE_SETUP #line 355 "scan.l" return '='; YY_BREAK case 55: YY_RULE_SETUP #line 357 "scan.l" option_sense = ! option_sense; YY_BREAK case 56: YY_RULE_SETUP #line 359 "scan.l" csize = option_sense ? 128 : 256; YY_BREAK case 57: YY_RULE_SETUP #line 360 "scan.l" csize = option_sense ? 256 : 128; YY_BREAK case 58: YY_RULE_SETUP #line 362 "scan.l" long_align = option_sense; YY_BREAK case 59: YY_RULE_SETUP #line 363 "scan.l" { ACTION_M4_IFDEF( "M4""_YY_ALWAYS_INTERACTIVE", option_sense ); interactive = option_sense; } YY_BREAK case 60: YY_RULE_SETUP #line 367 "scan.l" yytext_is_array = option_sense; YY_BREAK case 61: YY_RULE_SETUP #line 368 "scan.l" backing_up_report = option_sense; YY_BREAK case 62: YY_RULE_SETUP #line 369 "scan.l" interactive = ! option_sense; YY_BREAK case 63: YY_RULE_SETUP #line 370 "scan.l" bison_bridge_lval = option_sense; YY_BREAK case 64: YY_RULE_SETUP #line 371 "scan.l" { if((bison_bridge_lloc = option_sense)) bison_bridge_lval = true; } YY_BREAK case 65: YY_RULE_SETUP #line 374 "scan.l" C_plus_plus = option_sense; YY_BREAK case 66: YY_RULE_SETUP #line 375 "scan.l" sf_set_case_ins(!option_sense); YY_BREAK case 67: YY_RULE_SETUP #line 376 "scan.l" sf_set_case_ins(option_sense); YY_BREAK case 68: YY_RULE_SETUP #line 377 "scan.l" ddebug = option_sense; YY_BREAK case 69: YY_RULE_SETUP #line 378 "scan.l" spprdflt = ! option_sense; YY_BREAK case 70: YY_RULE_SETUP #line 379 "scan.l" useecs = option_sense; YY_BREAK case 71: YY_RULE_SETUP #line 380 "scan.l" { useecs = usemecs = false; use_read = fullspd = true; } YY_BREAK case 72: YY_RULE_SETUP #line 384 "scan.l" { useecs = usemecs = false; use_read = fulltbl = true; } YY_BREAK case 73: YY_RULE_SETUP #line 388 "scan.l" ACTION_IFDEF("YY_NO_INPUT", ! option_sense); YY_BREAK case 74: YY_RULE_SETUP #line 389 "scan.l" interactive = option_sense; YY_BREAK case 75: YY_RULE_SETUP #line 390 "scan.l" lex_compat = option_sense; YY_BREAK case 76: YY_RULE_SETUP #line 391 "scan.l" posix_compat = option_sense; YY_BREAK case 77: YY_RULE_SETUP #line 392 "scan.l" gen_line_dirs = option_sense; YY_BREAK case 78: YY_RULE_SETUP #line 393 "scan.l" { ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense); /* Override yywrap */ if( option_sense == true ) do_yywrap = false; } YY_BREAK case 79: YY_RULE_SETUP #line 399 "scan.l" usemecs = option_sense; YY_BREAK case 80: YY_RULE_SETUP #line 400 "scan.l" { ACTION_M4_IFDEF( "M4""_YY_NEVER_INTERACTIVE", option_sense ); interactive = !option_sense; } YY_BREAK case 81: YY_RULE_SETUP #line 404 "scan.l" performance_report += option_sense ? 1 : -1; YY_BREAK case 82: YY_RULE_SETUP #line 405 "scan.l" yytext_is_array = ! option_sense; YY_BREAK case 83: YY_RULE_SETUP #line 406 "scan.l" use_read = option_sense; YY_BREAK case 84: YY_RULE_SETUP #line 407 "scan.l" reentrant = option_sense; YY_BREAK case 85: YY_RULE_SETUP #line 408 "scan.l" reject_really_used = option_sense; YY_BREAK case 86: YY_RULE_SETUP #line 409 "scan.l" ACTION_M4_IFDEF( "M4""_YY_STACK_USED", option_sense ); YY_BREAK case 87: YY_RULE_SETUP #line 410 "scan.l" do_stdinit = option_sense; YY_BREAK case 88: YY_RULE_SETUP #line 411 "scan.l" use_stdout = option_sense; YY_BREAK case 89: YY_RULE_SETUP #line 412 "scan.l" ACTION_IFDEF("YY_NO_UNISTD_H", ! option_sense); YY_BREAK case 90: YY_RULE_SETUP #line 413 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_UNPUT", ! option_sense); YY_BREAK case 91: YY_RULE_SETUP #line 414 "scan.l" printstats = option_sense; YY_BREAK case 92: YY_RULE_SETUP #line 415 "scan.l" nowarn = ! option_sense; YY_BREAK case 93: YY_RULE_SETUP #line 416 "scan.l" do_yylineno = option_sense; ACTION_M4_IFDEF("M4""_YY_USE_LINENO", option_sense); YY_BREAK case 94: YY_RULE_SETUP #line 417 "scan.l" yymore_really_used = option_sense; YY_BREAK case 95: YY_RULE_SETUP #line 418 "scan.l" do_yywrap = option_sense; YY_BREAK case 96: YY_RULE_SETUP #line 420 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_PUSH_STATE", ! option_sense); YY_BREAK case 97: YY_RULE_SETUP #line 421 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_POP_STATE", ! option_sense); YY_BREAK case 98: YY_RULE_SETUP #line 422 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_TOP_STATE", ! option_sense); YY_BREAK case 99: YY_RULE_SETUP #line 424 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BUFFER", ! option_sense); YY_BREAK case 100: YY_RULE_SETUP #line 425 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BYTES", ! option_sense); YY_BREAK case 101: YY_RULE_SETUP #line 426 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SCAN_STRING", ! option_sense); YY_BREAK case 102: YY_RULE_SETUP #line 428 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_FLEX_ALLOC", ! option_sense); YY_BREAK case 103: YY_RULE_SETUP #line 429 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_FLEX_REALLOC", ! option_sense); YY_BREAK case 104: YY_RULE_SETUP #line 430 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_FLEX_FREE", ! option_sense); YY_BREAK case 105: YY_RULE_SETUP #line 432 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_DEBUG", ! option_sense); YY_BREAK case 106: YY_RULE_SETUP #line 433 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_DEBUG", ! option_sense); YY_BREAK case 107: YY_RULE_SETUP #line 434 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_EXTRA", ! option_sense); YY_BREAK case 108: YY_RULE_SETUP #line 435 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense); YY_BREAK case 109: YY_RULE_SETUP #line 436 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense); YY_BREAK case 110: YY_RULE_SETUP #line 437 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense); YY_BREAK case 111: YY_RULE_SETUP #line 438 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense); YY_BREAK case 112: YY_RULE_SETUP #line 439 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense); YY_BREAK case 113: YY_RULE_SETUP #line 440 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense); YY_BREAK case 114: YY_RULE_SETUP #line 441 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_IN", ! option_sense); YY_BREAK case 115: YY_RULE_SETUP #line 442 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_OUT", ! option_sense); YY_BREAK case 116: YY_RULE_SETUP #line 443 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_OUT", ! option_sense); YY_BREAK case 117: YY_RULE_SETUP #line 444 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LVAL", ! option_sense); YY_BREAK case 118: YY_RULE_SETUP #line 445 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_LVAL", ! option_sense); YY_BREAK case 119: YY_RULE_SETUP #line 446 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_GET_LLOC", ! option_sense); YY_BREAK case 120: YY_RULE_SETUP #line 447 "scan.l" ACTION_M4_IFDEF("M4""_YY_NO_SET_LLOC", ! option_sense); YY_BREAK case 121: YY_RULE_SETUP #line 449 "scan.l" return TOK_EXTRA_TYPE; YY_BREAK case 122: YY_RULE_SETUP #line 450 "scan.l" return TOK_OUTFILE; YY_BREAK case 123: YY_RULE_SETUP #line 451 "scan.l" return TOK_PREFIX; YY_BREAK case 124: YY_RULE_SETUP #line 452 "scan.l" return TOK_YYCLASS; YY_BREAK case 125: YY_RULE_SETUP #line 453 "scan.l" return TOK_HEADER_FILE; YY_BREAK case 126: YY_RULE_SETUP #line 454 "scan.l" return TOK_TABLES_FILE; YY_BREAK case 127: YY_RULE_SETUP #line 455 "scan.l" { tablesverify = option_sense; if(!tablesext && option_sense) tablesext = true; } YY_BREAK case 128: YY_RULE_SETUP #line 462 "scan.l" { if(yyleng-1 < MAXLINE) { strncpy( nmstr, yytext + 1, sizeof(nmstr) ); } else { synerr( _("Option line too long\n")); FLEX_EXIT(EXIT_FAILURE); } nmstr[strlen( nmstr ) - 1] = '\0'; return NAME; } YY_BREAK case 129: YY_RULE_SETUP #line 476 "scan.l" { format_synerr( _( "unrecognized %%option: %s" ), yytext ); BEGIN(RECOVER); } YY_BREAK case 130: /* rule 130 can match eol */ YY_RULE_SETUP #line 483 "scan.l" ++linenum; BEGIN(INITIAL); YY_BREAK case 131: YY_RULE_SETUP #line 487 "scan.l" ++bracelevel; yyless( 2 ); /* eat only %{ */ YY_BREAK case 132: YY_RULE_SETUP #line 488 "scan.l" --bracelevel; yyless( 2 ); /* eat only %} */ YY_BREAK case 133: YY_RULE_SETUP #line 490 "scan.l" START_CODEBLOCK(true); /* indented code in prolog */ YY_BREAK case 134: YY_RULE_SETUP #line 492 "scan.l" { /* non-indented code */ if ( bracelevel <= 0 ) { /* not in %{ ... %} */ yyless( 0 ); /* put it all back */ yy_set_bol( 1 ); mark_prolog(); BEGIN(SECT2); } else { START_CODEBLOCK(true); } } YY_BREAK case 135: YY_RULE_SETUP #line 505 "scan.l" ACTION_ECHO; YY_BREAK case 136: /* rule 136 can match eol */ YY_RULE_SETUP #line 506 "scan.l" ++linenum; ACTION_ECHO; YY_BREAK case YY_STATE_EOF(SECT2PROLOG): #line 508 "scan.l" { mark_prolog(); sectnum = 0; yyterminate(); /* to stop the parser */ } YY_BREAK case 137: /* rule 137 can match eol */ YY_RULE_SETUP #line 516 "scan.l" ++linenum; /* allow blank lines in section 2 */ YY_BREAK case 138: YY_RULE_SETUP #line 518 "scan.l" { indented_code = false; doing_codeblock = true; bracelevel = 1; BEGIN(PERCENT_BRACE_ACTION); } YY_BREAK case 139: YY_RULE_SETUP #line 525 "scan.l" { /* Allow "<" to appear in (?x) patterns. */ if (!sf_skip_ws()) BEGIN(SC); return '<'; } YY_BREAK case 140: YY_RULE_SETUP #line 531 "scan.l" return '^'; YY_BREAK case 141: YY_RULE_SETUP #line 532 "scan.l" BEGIN(QUOTE); return '"'; YY_BREAK case 142: *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 #line 533 "scan.l" { BEGIN(NUM); if ( lex_compat || posix_compat ) return BEGIN_REPEAT_POSIX; else return BEGIN_REPEAT_FLEX; } YY_BREAK case 143: /* rule 143 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 #line 540 "scan.l" return '$'; YY_BREAK case 144: YY_RULE_SETUP #line 542 "scan.l" { bracelevel = 1; BEGIN(PERCENT_BRACE_ACTION); if ( in_rule ) { doing_rule_action = true; in_rule = false; return '\n'; } } YY_BREAK case 145: /* rule 145 can match eol */ YY_RULE_SETUP #line 553 "scan.l" { if (sf_skip_ws()){ /* We're in the middle of a (?x: ) pattern. */ /* Push back everything starting at the "|" */ int amt = (int) (strchr (yytext, '|') - yytext); yyless(amt); } else { add_action("]""]"); continued_action = true; ++linenum; return '\n'; } } YY_BREAK case 146: YY_RULE_SETUP #line 568 "scan.l" { 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 147: YY_RULE_SETUP #line 582 "scan.l" /* allow indented rules */ ; YY_BREAK case 148: YY_RULE_SETUP #line 584 "scan.l" { 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 149: /* rule 149 can match eol */ YY_RULE_SETUP #line 606 "scan.l" { 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 150: #line 627 "scan.l" case 151: YY_RULE_SETUP #line 627 "scan.l" return EOF_OP; YY_BREAK case 152: YY_RULE_SETUP #line 629 "scan.l" { sectnum = 3; BEGIN(no_section3_escape ? SECT3_NOESCAPE : SECT3); outn("/* Begin user sect3 */"); yyterminate(); /* to stop the parser */ } YY_BREAK case 153: YY_RULE_SETUP #line 637 "scan.l" { int cclval; if(yyleng < MAXLINE) { strncpy( 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( 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( nmstr, lastccl + 1 ); /* Push back everything but the leading bracket * so the ccl can be rescanned. */ yyless( 1 ); BEGIN(FIRSTCCL); return '['; } } YY_BREAK case 154: YY_RULE_SETUP #line 683 "scan.l" return CCL_OP_DIFF; YY_BREAK case 155: YY_RULE_SETUP #line 684 "scan.l" 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 156: /* rule 156 can match eol */ YY_RULE_SETUP #line 691 "scan.l" { char *nmdefptr; int end_is_ws, end_ch; end_ch = yytext[yyleng-1]; end_is_ws = end_ch != '}' ? 1 : 0; if(yyleng-1 < MAXLINE) { strncpy( 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 )) == NULL ) format_synerr( _( "undefined definition {%s}" ), nmstr ); else { /* push back name surrounded by ()'s */ size_t len = strlen( 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(nmdefptr, 0); if ( nmdefptr[0] == '^' ) BEGIN(CARETISBOL); } else { unput(')'); PUT_BACK_STRING(nmdefptr, 0); unput('('); } } } YY_BREAK case 157: YY_RULE_SETUP #line 739 "scan.l" { if (sf_skip_ws()) yy_push_state(COMMENT_DISCARD); else{ /* Push back the "*" and return "/" as usual. */ yyless(1); return '/'; } } YY_BREAK case 158: YY_RULE_SETUP #line 749 "scan.l" { 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 159: YY_RULE_SETUP #line 759 "scan.l" { 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 160: YY_RULE_SETUP #line 768 "scan.l" sf_push(); return '('; YY_BREAK case 161: YY_RULE_SETUP #line 769 "scan.l" { if (_sf_top_ix > 0) { sf_pop(); return ')'; } else synerr(_("unbalanced parenthesis")); } YY_BREAK case 162: YY_RULE_SETUP #line 777 "scan.l" return (unsigned char) yytext[0]; YY_BREAK case 163: YY_RULE_SETUP #line 778 "scan.l" RETURNCHAR; YY_BREAK case 164: /* rule 164 can match eol */ YY_RULE_SETUP #line 783 "scan.l" ++linenum; /* Allow blank lines & continuations */ YY_BREAK case 165: YY_RULE_SETUP #line 784 "scan.l" return (unsigned char) yytext[0]; YY_BREAK case 166: YY_RULE_SETUP #line 785 "scan.l" BEGIN(SECT2); return '>'; YY_BREAK case 167: *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 #line 786 "scan.l" BEGIN(CARETISBOL); return '>'; YY_BREAK case 168: YY_RULE_SETUP #line 787 "scan.l" RETURNNAME; YY_BREAK case 169: YY_RULE_SETUP #line 788 "scan.l" { format_synerr( _( "bad : %s" ), yytext ); } YY_BREAK case 170: YY_RULE_SETUP #line 794 "scan.l" BEGIN(SECT2); return '^'; YY_BREAK case 171: YY_RULE_SETUP #line 798 "scan.l" RETURNCHAR; YY_BREAK case 172: YY_RULE_SETUP #line 799 "scan.l" BEGIN(SECT2); return '"'; YY_BREAK case 173: /* rule 173 can match eol */ YY_RULE_SETUP #line 801 "scan.l" { synerr( _( "missing quote" ) ); BEGIN(SECT2); ++linenum; return '"'; } YY_BREAK case 174: YY_RULE_SETUP #line 810 "scan.l" BEGIN(SECT2); YY_BREAK case 175: YY_RULE_SETUP #line 811 "scan.l" BEGIN(GROUP_MINUS_PARAMS); YY_BREAK case 176: YY_RULE_SETUP #line 812 "scan.l" sf_set_case_ins(1); YY_BREAK case 177: YY_RULE_SETUP #line 813 "scan.l" sf_set_dot_all(1); YY_BREAK case 178: YY_RULE_SETUP #line 814 "scan.l" sf_set_skip_ws(1); YY_BREAK case 179: YY_RULE_SETUP #line 817 "scan.l" BEGIN(SECT2); YY_BREAK case 180: YY_RULE_SETUP #line 818 "scan.l" sf_set_case_ins(0); YY_BREAK case 181: YY_RULE_SETUP #line 819 "scan.l" sf_set_dot_all(0); YY_BREAK case 182: YY_RULE_SETUP #line 820 "scan.l" sf_set_skip_ws(0); YY_BREAK case 183: *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 #line 824 "scan.l" BEGIN(CCL); return '^'; 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 #line 825 "scan.l" return '^'; YY_BREAK case 185: YY_RULE_SETUP #line 826 "scan.l" BEGIN(CCL); RETURNCHAR; YY_BREAK case 186: *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 #line 830 "scan.l" return '-'; YY_BREAK case 187: YY_RULE_SETUP #line 831 "scan.l" RETURNCHAR; YY_BREAK case 188: YY_RULE_SETUP #line 832 "scan.l" BEGIN(SECT2); return ']'; YY_BREAK case 189: /* rule 189 can match eol */ YY_RULE_SETUP #line 833 "scan.l" { synerr( _( "bad character class" ) ); BEGIN(SECT2); return ']'; } YY_BREAK case 190: YY_RULE_SETUP #line 841 "scan.l" BEGIN(CCL); return CCE_ALNUM; YY_BREAK case 191: YY_RULE_SETUP #line 842 "scan.l" BEGIN(CCL); return CCE_ALPHA; YY_BREAK case 192: YY_RULE_SETUP #line 843 "scan.l" BEGIN(CCL); return CCE_BLANK; YY_BREAK case 193: YY_RULE_SETUP #line 844 "scan.l" BEGIN(CCL); return CCE_CNTRL; YY_BREAK case 194: YY_RULE_SETUP #line 845 "scan.l" BEGIN(CCL); return CCE_DIGIT; YY_BREAK case 195: YY_RULE_SETUP #line 846 "scan.l" BEGIN(CCL); return CCE_GRAPH; YY_BREAK case 196: YY_RULE_SETUP #line 847 "scan.l" BEGIN(CCL); return CCE_LOWER; YY_BREAK case 197: YY_RULE_SETUP #line 848 "scan.l" BEGIN(CCL); return CCE_PRINT; YY_BREAK case 198: YY_RULE_SETUP #line 849 "scan.l" BEGIN(CCL); return CCE_PUNCT; YY_BREAK case 199: YY_RULE_SETUP #line 850 "scan.l" BEGIN(CCL); return CCE_SPACE; YY_BREAK case 200: YY_RULE_SETUP #line 851 "scan.l" BEGIN(CCL); return CCE_UPPER; YY_BREAK case 201: YY_RULE_SETUP #line 852 "scan.l" BEGIN(CCL); return CCE_XDIGIT; YY_BREAK case 202: YY_RULE_SETUP #line 854 "scan.l" BEGIN(CCL); return CCE_NEG_ALNUM; YY_BREAK case 203: YY_RULE_SETUP #line 855 "scan.l" BEGIN(CCL); return CCE_NEG_ALPHA; YY_BREAK case 204: YY_RULE_SETUP #line 856 "scan.l" BEGIN(CCL); return CCE_NEG_BLANK; YY_BREAK case 205: YY_RULE_SETUP #line 857 "scan.l" BEGIN(CCL); return CCE_NEG_CNTRL; YY_BREAK case 206: YY_RULE_SETUP #line 858 "scan.l" BEGIN(CCL); return CCE_NEG_DIGIT; YY_BREAK case 207: YY_RULE_SETUP #line 859 "scan.l" BEGIN(CCL); return CCE_NEG_GRAPH; YY_BREAK case 208: YY_RULE_SETUP #line 860 "scan.l" BEGIN(CCL); return CCE_NEG_LOWER; YY_BREAK case 209: YY_RULE_SETUP #line 861 "scan.l" BEGIN(CCL); return CCE_NEG_PRINT; YY_BREAK case 210: YY_RULE_SETUP #line 862 "scan.l" BEGIN(CCL); return CCE_NEG_PUNCT; YY_BREAK case 211: YY_RULE_SETUP #line 863 "scan.l" BEGIN(CCL); return CCE_NEG_SPACE; YY_BREAK case 212: YY_RULE_SETUP #line 864 "scan.l" BEGIN(CCL); return CCE_NEG_UPPER; YY_BREAK case 213: YY_RULE_SETUP #line 865 "scan.l" BEGIN(CCL); return CCE_NEG_XDIGIT; YY_BREAK case 214: YY_RULE_SETUP #line 866 "scan.l" { format_synerr( _( "bad character class expression: %s" ), yytext ); BEGIN(CCL); return CCE_ALNUM; } YY_BREAK case 215: YY_RULE_SETUP #line 875 "scan.l" { yylval = myctoi( yytext ); return NUMBER; } YY_BREAK case 216: YY_RULE_SETUP #line 880 "scan.l" return ','; YY_BREAK case 217: YY_RULE_SETUP #line 881 "scan.l" { BEGIN(SECT2); if ( lex_compat || posix_compat ) return END_REPEAT_POSIX; else return END_REPEAT_FLEX; } YY_BREAK case 218: YY_RULE_SETUP #line 889 "scan.l" { synerr( _( "bad character inside {}'s" ) ); BEGIN(SECT2); return '}'; } YY_BREAK case 219: /* rule 219 can match eol */ YY_RULE_SETUP #line 895 "scan.l" { synerr( _( "missing }" ) ); BEGIN(SECT2); ++linenum; return '}'; } YY_BREAK case 220: YY_RULE_SETUP #line 905 "scan.l" bracelevel = 0; YY_BREAK case 221: YY_RULE_SETUP #line 907 "scan.l" ACTION_ECHO; yy_push_state( CODE_COMMENT ); YY_BREAK case 222: YY_RULE_SETUP #line 910 "scan.l" { ACTION_ECHO; CHECK_REJECT(yytext); } YY_BREAK case 223: YY_RULE_SETUP #line 914 "scan.l" { ACTION_ECHO; CHECK_YYMORE(yytext); } YY_BREAK case 224: YY_RULE_SETUP #line 920 "scan.l" ACTION_ECHO; YY_BREAK case 225: /* rule 225 can match eol */ YY_RULE_SETUP #line 921 "scan.l" { ++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 226: YY_RULE_SETUP #line 937 "scan.l" ACTION_ECHO; ++bracelevel; YY_BREAK case 227: YY_RULE_SETUP #line 938 "scan.l" ACTION_ECHO; --bracelevel; YY_BREAK case 228: YY_RULE_SETUP #line 939 "scan.l" ACTION_ECHO; YY_BREAK case 229: YY_RULE_SETUP #line 940 "scan.l" ACTION_ECHO; YY_BREAK case 230: YY_RULE_SETUP #line 941 "scan.l" ACTION_ECHO; /* character constant */ YY_BREAK case 231: YY_RULE_SETUP #line 942 "scan.l" ACTION_ECHO; BEGIN(CHARACTER_CONSTANT); YY_BREAK case 232: YY_RULE_SETUP #line 943 "scan.l" ACTION_ECHO; BEGIN(ACTION_STRING); YY_BREAK case 233: /* rule 233 can match eol */ YY_RULE_SETUP #line 944 "scan.l" { ++linenum; ACTION_ECHO; if (bracelevel <= 0) { if ( doing_rule_action ) add_action( "\tYY_BREAK]""]\n" ); doing_rule_action = false; BEGIN(SECT2); } } YY_BREAK case 234: YY_RULE_SETUP #line 955 "scan.l" ACTION_ECHO; YY_BREAK case 235: YY_RULE_SETUP #line 959 "scan.l" ACTION_ECHO; YY_BREAK case 236: YY_RULE_SETUP #line 960 "scan.l" ACTION_ECHO; BEGIN(ACTION); YY_BREAK case 237: YY_RULE_SETUP #line 963 "scan.l" ACTION_ECHO; YY_BREAK case 238: YY_RULE_SETUP #line 964 "scan.l" ACTION_ECHO; BEGIN(ACTION); YY_BREAK case 239: /* rule 239 can match eol */ YY_RULE_SETUP #line 967 "scan.l" ACTION_ECHO; YY_BREAK case 240: /* rule 240 can match eol */ YY_RULE_SETUP #line 968 "scan.l" ACTION_ECHO; YY_BREAK case 241: /* rule 241 can match eol */ YY_RULE_SETUP #line 969 "scan.l" ++linenum; ACTION_ECHO; if (bracelevel <= 0) { BEGIN(SECT2); } else { BEGIN(ACTION); } YY_BREAK case 242: YY_RULE_SETUP #line 970 "scan.l" ACTION_ECHO; YY_BREAK case YY_STATE_EOF(COMMENT): case YY_STATE_EOF(CODE_COMMENT): case YY_STATE_EOF(COMMENT_DISCARD): case YY_STATE_EOF(ACTION): case YY_STATE_EOF(ACTION_STRING): case YY_STATE_EOF(CHARACTER_CONSTANT): #line 973 "scan.l" { 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): #line 978 "scan.l" { synerr( _( "EOF encountered inside pattern" ) ); yyterminate(); } YY_BREAK case 243: YY_RULE_SETUP #line 983 "scan.l" { yylval = myesc( (unsigned char *) yytext ); if ( YY_START == FIRSTCCL ) BEGIN(CCL); return CHAR; } YY_BREAK case 244: YY_RULE_SETUP #line 993 "scan.l" fputs(escaped_qstart, yyout); YY_BREAK case 245: YY_RULE_SETUP #line 994 "scan.l" fputs(escaped_qend, yyout); YY_BREAK case 246: /* rule 246 can match eol */ YY_RULE_SETUP #line 995 "scan.l" ECHO; YY_BREAK case 247: YY_RULE_SETUP #line 996 "scan.l" ECHO; YY_BREAK case YY_STATE_EOF(SECT3): #line 997 "scan.l" { sectnum = 0; yyterminate(); } YY_BREAK case 248: YY_RULE_SETUP #line 1003 "scan.l" fprintf(yyout, "[""[%s]""]", escaped_qstart); YY_BREAK case 249: YY_RULE_SETUP #line 1004 "scan.l" fprintf(yyout, "[""[%s]""]", escaped_qend); YY_BREAK case 250: /* rule 250 can match eol */ YY_RULE_SETUP #line 1005 "scan.l" ECHO; YY_BREAK case 251: YY_RULE_SETUP #line 1006 "scan.l" ECHO; YY_BREAK case YY_STATE_EOF(SECT3_NOESCAPE): #line 1007 "scan.l" { sectnum = 0; yyterminate(); } YY_BREAK case 252: /* rule 252 can match eol */ YY_RULE_SETUP #line 1012 "scan.l" format_synerr( _( "bad character: %s" ), yytext ); YY_BREAK case 253: YY_RULE_SETUP #line 1014 "scan.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 4143 "" +#line 4137 "" 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 { int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc( (void *) b->yy_ch_buf, (yy_size_t) (b->yy_buf_size + 2) ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = NULL; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart( yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ int 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, (yy_size_t) 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(); 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); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1114 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; } 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; char *yy_cp = (yy_c_buf_p); YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1114 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 1113); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT 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. */ int 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) = (int) 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; } #endif #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 */ int offset = (int) ((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( ) ) #ifdef YY_FLEX_LEX_COMPAT return 0; #else return EOF; #endif 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( (yy_size_t) (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; /* After all that talk, this was set to 1 anyways... */ (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. */ yy_size_t 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 NULL; 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 = (int) (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 = NULL; 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 (const char * yystr ) { return yy_scan_bytes( yystr, (int) 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 (const char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = (yy_size_t) (_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_size_t) (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 yynoreturn yy_fatal_error (const char* msg ) { 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. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param _line_number 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) = NULL; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = NULL; (yy_init) = 0; (yy_start) = 0; (yy_start_stack_ptr) = 0; (yy_start_stack_depth) = 0; (yy_start_stack) = NULL; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = NULL; yyout = NULL; #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; /* 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, const 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 (const char * s ) { int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return 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 realloc(ptr, size); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 1014 "scan.l" int yywrap(void) { 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( char *file ) { if ( file && strcmp( file, "-" ) ) { infilename = xstrdup(file); yyin = fopen( infilename, "r" ); if ( yyin == NULL ) lerr( _( "can't open %s" ), file ); } else { yyin = stdin; infilename = xstrdup(""); } linenum = 1; } diff --git a/usr.bin/lex/initskel.c b/usr.bin/lex/initskel.c index 53a0ae452aa8..746ad6405c2a 100644 --- a/usr.bin/lex/initskel.c +++ b/usr.bin/lex/initskel.c @@ -1,4086 +1,4080 @@ /* File created from flex.skl via mkskel.sh */ #include "flexdef.h" const char *skel[] = { "/* A lexical scanner generated by flex */", "", "", "", "m4_changecom", "m4_changequote", "m4_changequote([[, ]])", "", "", "%not-for-header", "%if-c-only", "%if-not-reentrant", "m4_ifelse(M4_YY_PREFIX,yy,,", "#define yy_create_buffer M4_YY_PREFIX[[_create_buffer]]", "#define yy_delete_buffer M4_YY_PREFIX[[_delete_buffer]]", "#define yy_scan_buffer M4_YY_PREFIX[[_scan_buffer]]", "#define yy_scan_string M4_YY_PREFIX[[_scan_string]]", "#define yy_scan_bytes M4_YY_PREFIX[[_scan_bytes]]", "#define yy_init_buffer M4_YY_PREFIX[[_init_buffer]]", "#define yy_flush_buffer M4_YY_PREFIX[[_flush_buffer]]", "#define yy_load_buffer_state M4_YY_PREFIX[[_load_buffer_state]]", "#define yy_switch_to_buffer M4_YY_PREFIX[[_switch_to_buffer]]", "#define yypush_buffer_state M4_YY_PREFIX[[push_buffer_state]]", "#define yypop_buffer_state M4_YY_PREFIX[[pop_buffer_state]]", "#define yyensure_buffer_stack M4_YY_PREFIX[[ensure_buffer_stack]]", "#define yy_flex_debug M4_YY_PREFIX[[_flex_debug]]", "#define yyin M4_YY_PREFIX[[in]]", "#define yyleng M4_YY_PREFIX[[leng]]", "#define yylex M4_YY_PREFIX[[lex]]", "#define yylineno M4_YY_PREFIX[[lineno]]", "#define yyout M4_YY_PREFIX[[out]]", "#define yyrestart M4_YY_PREFIX[[restart]]", "#define yytext M4_YY_PREFIX[[text]]", "#define yywrap M4_YY_PREFIX[[wrap]]", "#define yyalloc M4_YY_PREFIX[[alloc]]", "#define yyrealloc M4_YY_PREFIX[[realloc]]", "#define yyfree M4_YY_PREFIX[[free]]", ")", "%endif", "%endif", "%ok-for-header", "", "#define FLEX_SCANNER", "#define YY_FLEX_MAJOR_VERSION 2", "#define YY_FLEX_MINOR_VERSION 6", "#define YY_FLEX_SUBMINOR_VERSION 4", "#if YY_FLEX_SUBMINOR_VERSION > 0", "#define FLEX_BETA", "#endif", "", "m4_ifdef( [[M4_YY_IN_HEADER]], , [[m4_define([[M4_YY_NOT_IN_HEADER]], [[]])]])", "m4_ifdef( [[M4_YY_REENTRANT]], , [[m4_define([[M4_YY_NOT_REENTRANT]], [[]])]])", "", "m4_ifdef( [[M4_YY_STACK_USED]], [[m4_define([[M4_YY_HAS_START_STACK_VARS]])]])", "m4_ifdef( [[M4_YY_REENTRANT]], [[m4_define([[M4_YY_HAS_START_STACK_VARS]])]])", "", "", "", "m4_ifdef( [[M4_YY_PREFIX]],, [[m4_define([[M4_YY_PREFIX]], [[yy]])]])", "", "", "", "%if-c++-only", " /* The c++ scanner is a mess. The FlexLexer.h header file relies on the", " * following macro. This is required in order to pass the c++-multiple-scanners", " * test in the regression suite. We get reports that it breaks inheritance.", " * We will address this in a future release of flex, or omit the C++ scanner", " * altogether.", " */", " #define yyFlexLexer M4_YY_PREFIX[[FlexLexer]]", "%endif", "", "%if-c-only", "m4_ifelse(M4_YY_PREFIX,yy,,", " ", "[[#ifdef yy_create_buffer", "#define ]]M4_YY_PREFIX[[_create_buffer_ALREADY_DEFINED", "#else", "#define yy_create_buffer ]]M4_YY_PREFIX[[_create_buffer", "#endif]]", "", " ", "[[#ifdef yy_delete_buffer", "#define ]]M4_YY_PREFIX[[_delete_buffer_ALREADY_DEFINED", "#else", "#define yy_delete_buffer ]]M4_YY_PREFIX[[_delete_buffer", "#endif]]", "", " ", "[[#ifdef yy_scan_buffer", "#define ]]M4_YY_PREFIX[[_scan_buffer_ALREADY_DEFINED", "#else", "#define yy_scan_buffer ]]M4_YY_PREFIX[[_scan_buffer", "#endif]]", "", " ", "[[#ifdef yy_scan_string", "#define ]]M4_YY_PREFIX[[_scan_string_ALREADY_DEFINED", "#else", "#define yy_scan_string ]]M4_YY_PREFIX[[_scan_string", "#endif]]", "", " ", "[[#ifdef yy_scan_bytes", "#define ]]M4_YY_PREFIX[[_scan_bytes_ALREADY_DEFINED", "#else", "#define yy_scan_bytes ]]M4_YY_PREFIX[[_scan_bytes", "#endif]]", "", " ", "[[#ifdef yy_init_buffer", "#define ]]M4_YY_PREFIX[[_init_buffer_ALREADY_DEFINED", "#else", "#define yy_init_buffer ]]M4_YY_PREFIX[[_init_buffer", "#endif]]", "", " ", "[[#ifdef yy_flush_buffer", "#define ]]M4_YY_PREFIX[[_flush_buffer_ALREADY_DEFINED", "#else", "#define yy_flush_buffer ]]M4_YY_PREFIX[[_flush_buffer", "#endif]]", "", " ", "[[#ifdef yy_load_buffer_state", "#define ]]M4_YY_PREFIX[[_load_buffer_state_ALREADY_DEFINED", "#else", "#define yy_load_buffer_state ]]M4_YY_PREFIX[[_load_buffer_state", "#endif]]", "", " ", "[[#ifdef yy_switch_to_buffer", "#define ]]M4_YY_PREFIX[[_switch_to_buffer_ALREADY_DEFINED", "#else", "#define yy_switch_to_buffer ]]M4_YY_PREFIX[[_switch_to_buffer", "#endif]]", "", " ", "[[#ifdef yypush_buffer_state", "#define ]]M4_YY_PREFIX[[push_buffer_state_ALREADY_DEFINED", "#else", "#define yypush_buffer_state ]]M4_YY_PREFIX[[push_buffer_state", "#endif]]", "", " ", "[[#ifdef yypop_buffer_state", "#define ]]M4_YY_PREFIX[[pop_buffer_state_ALREADY_DEFINED", "#else", "#define yypop_buffer_state ]]M4_YY_PREFIX[[pop_buffer_state", "#endif]]", "", " ", "[[#ifdef yyensure_buffer_stack", "#define ]]M4_YY_PREFIX[[ensure_buffer_stack_ALREADY_DEFINED", "#else", "#define yyensure_buffer_stack ]]M4_YY_PREFIX[[ensure_buffer_stack", "#endif]]", "", " ", "[[#ifdef yylex", "#define ]]M4_YY_PREFIX[[lex_ALREADY_DEFINED", "#else", "#define yylex ]]M4_YY_PREFIX[[lex", "#endif]]", "", " ", "[[#ifdef yyrestart", "#define ]]M4_YY_PREFIX[[restart_ALREADY_DEFINED", "#else", "#define yyrestart ]]M4_YY_PREFIX[[restart", "#endif]]", "", " ", "[[#ifdef yylex_init", "#define ]]M4_YY_PREFIX[[lex_init_ALREADY_DEFINED", "#else", "#define yylex_init ]]M4_YY_PREFIX[[lex_init", "#endif]]", "", " ", "[[#ifdef yylex_init_extra", "#define ]]M4_YY_PREFIX[[lex_init_extra_ALREADY_DEFINED", "#else", "#define yylex_init_extra ]]M4_YY_PREFIX[[lex_init_extra", "#endif]]", "", " ", "[[#ifdef yylex_destroy", "#define ]]M4_YY_PREFIX[[lex_destroy_ALREADY_DEFINED", "#else", "#define yylex_destroy ]]M4_YY_PREFIX[[lex_destroy", "#endif]]", "", " ", "[[#ifdef yyget_debug", "#define ]]M4_YY_PREFIX[[get_debug_ALREADY_DEFINED", "#else", "#define yyget_debug ]]M4_YY_PREFIX[[get_debug", "#endif]]", "", " ", "[[#ifdef yyset_debug", "#define ]]M4_YY_PREFIX[[set_debug_ALREADY_DEFINED", "#else", "#define yyset_debug ]]M4_YY_PREFIX[[set_debug", "#endif]]", "", " ", "[[#ifdef yyget_extra", "#define ]]M4_YY_PREFIX[[get_extra_ALREADY_DEFINED", "#else", "#define yyget_extra ]]M4_YY_PREFIX[[get_extra", "#endif]]", "", " ", "[[#ifdef yyset_extra", "#define ]]M4_YY_PREFIX[[set_extra_ALREADY_DEFINED", "#else", "#define yyset_extra ]]M4_YY_PREFIX[[set_extra", "#endif]]", "", " ", "[[#ifdef yyget_in", "#define ]]M4_YY_PREFIX[[get_in_ALREADY_DEFINED", "#else", "#define yyget_in ]]M4_YY_PREFIX[[get_in", "#endif]]", "", " ", "[[#ifdef yyset_in", "#define ]]M4_YY_PREFIX[[set_in_ALREADY_DEFINED", "#else", "#define yyset_in ]]M4_YY_PREFIX[[set_in", "#endif]]", "", " ", "[[#ifdef yyget_out", "#define ]]M4_YY_PREFIX[[get_out_ALREADY_DEFINED", "#else", "#define yyget_out ]]M4_YY_PREFIX[[get_out", "#endif]]", "", " ", "[[#ifdef yyset_out", "#define ]]M4_YY_PREFIX[[set_out_ALREADY_DEFINED", "#else", "#define yyset_out ]]M4_YY_PREFIX[[set_out", "#endif]]", "", " ", "[[#ifdef yyget_leng", "#define ]]M4_YY_PREFIX[[get_leng_ALREADY_DEFINED", "#else", "#define yyget_leng ]]M4_YY_PREFIX[[get_leng", "#endif]]", "", " ", "[[#ifdef yyget_text", "#define ]]M4_YY_PREFIX[[get_text_ALREADY_DEFINED", "#else", "#define yyget_text ]]M4_YY_PREFIX[[get_text", "#endif]]", "", " ", "[[#ifdef yyget_lineno", "#define ]]M4_YY_PREFIX[[get_lineno_ALREADY_DEFINED", "#else", "#define yyget_lineno ]]M4_YY_PREFIX[[get_lineno", "#endif]]", "", " ", "[[#ifdef yyset_lineno", "#define ]]M4_YY_PREFIX[[set_lineno_ALREADY_DEFINED", "#else", "#define yyset_lineno ]]M4_YY_PREFIX[[set_lineno", "#endif]]", "", " m4_ifdef( [[M4_YY_REENTRANT]],", " [[", " ", "[[#ifdef yyget_column", "#define ]]M4_YY_PREFIX[[get_column_ALREADY_DEFINED", "#else", "#define yyget_column ]]M4_YY_PREFIX[[get_column", "#endif]]", "", " ", "[[#ifdef yyset_column", "#define ]]M4_YY_PREFIX[[set_column_ALREADY_DEFINED", "#else", "#define yyset_column ]]M4_YY_PREFIX[[set_column", "#endif]]", "", " ]])", " ", "[[#ifdef yywrap", "#define ]]M4_YY_PREFIX[[wrap_ALREADY_DEFINED", "#else", "#define yywrap ]]M4_YY_PREFIX[[wrap", "#endif]]", "", ")", "%endif", "", "m4_ifdef( [[M4_YY_BISON_LVAL]],", "[[", " ", "[[#ifdef yyget_lval", "#define ]]M4_YY_PREFIX[[get_lval_ALREADY_DEFINED", "#else", "#define yyget_lval ]]M4_YY_PREFIX[[get_lval", "#endif]]", "", " ", "[[#ifdef yyset_lval", "#define ]]M4_YY_PREFIX[[set_lval_ALREADY_DEFINED", "#else", "#define yyset_lval ]]M4_YY_PREFIX[[set_lval", "#endif]]", "", "]])", "", "m4_ifdef( [[]],", "[[", " ", "[[#ifdef yyget_lloc", "#define ]]M4_YY_PREFIX[[get_lloc_ALREADY_DEFINED", "#else", "#define yyget_lloc ]]M4_YY_PREFIX[[get_lloc", "#endif]]", "", " ", "[[#ifdef yyset_lloc", "#define ]]M4_YY_PREFIX[[set_lloc_ALREADY_DEFINED", "#else", "#define yyset_lloc ]]M4_YY_PREFIX[[set_lloc", "#endif]]", "", "]])", "", "", "m4_ifelse(M4_YY_PREFIX,yy,,", " ", "[[#ifdef yyalloc", "#define ]]M4_YY_PREFIX[[alloc_ALREADY_DEFINED", "#else", "#define yyalloc ]]M4_YY_PREFIX[[alloc", "#endif]]", "", " ", "[[#ifdef yyrealloc", "#define ]]M4_YY_PREFIX[[realloc_ALREADY_DEFINED", "#else", "#define yyrealloc ]]M4_YY_PREFIX[[realloc", "#endif]]", "", " ", "[[#ifdef yyfree", "#define ]]M4_YY_PREFIX[[free_ALREADY_DEFINED", "#else", "#define yyfree ]]M4_YY_PREFIX[[free", "#endif]]", "", ")", "", "%if-c-only", "m4_ifelse(M4_YY_PREFIX,yy,,", "m4_ifdef( [[M4_YY_NOT_REENTRANT]],", "[[", " ", "[[#ifdef yytext", "#define ]]M4_YY_PREFIX[[text_ALREADY_DEFINED", "#else", "#define yytext ]]M4_YY_PREFIX[[text", "#endif]]", "", " ", "[[#ifdef yyleng", "#define ]]M4_YY_PREFIX[[leng_ALREADY_DEFINED", "#else", "#define yyleng ]]M4_YY_PREFIX[[leng", "#endif]]", "", " ", "[[#ifdef yyin", "#define ]]M4_YY_PREFIX[[in_ALREADY_DEFINED", "#else", "#define yyin ]]M4_YY_PREFIX[[in", "#endif]]", "", " ", "[[#ifdef yyout", "#define ]]M4_YY_PREFIX[[out_ALREADY_DEFINED", "#else", "#define yyout ]]M4_YY_PREFIX[[out", "#endif]]", "", " ", "[[#ifdef yy_flex_debug", "#define ]]M4_YY_PREFIX[[_flex_debug_ALREADY_DEFINED", "#else", "#define yy_flex_debug ]]M4_YY_PREFIX[[_flex_debug", "#endif]]", "", " ", "[[#ifdef yylineno", "#define ]]M4_YY_PREFIX[[lineno_ALREADY_DEFINED", "#else", "#define yylineno ]]M4_YY_PREFIX[[lineno", "#endif]]", "", "]])", ")", "%endif", "", "", "m4_ifdef( [[M4_YY_TABLES_EXTERNAL]],", "[[", " ", "[[#ifdef yytables_fload", "#define ]]M4_YY_PREFIX[[tables_fload_ALREADY_DEFINED", "#else", "#define yytables_fload ]]M4_YY_PREFIX[[tables_fload", "#endif]]", "", " ", "[[#ifdef yytables_destroy", "#define ]]M4_YY_PREFIX[[tables_destroy_ALREADY_DEFINED", "#else", "#define yytables_destroy ]]M4_YY_PREFIX[[tables_destroy", "#endif]]", "", " ", "[[#ifdef yyTABLES_NAME", "#define ]]M4_YY_PREFIX[[TABLES_NAME_ALREADY_DEFINED", "#else", "#define yyTABLES_NAME ]]M4_YY_PREFIX[[TABLES_NAME", "#endif]]", "", "]])", "", "/* First, we deal with platform-specific or compiler-specific issues. */", "", - "#if defined(__FreeBSD__)", - "#include ", - "#else", - "#define __dead2", - "#endif", - "", "/* begin standard C headers. */", "%if-c-only", "#include ", "#include ", "#include ", "#include ", "%endif", "", "%if-tables-serialization", "#include ", "#include ", "%endif", "/* end standard C headers. */", "", "%if-c-or-c++", "/* flex integer type definitions */", "", "#ifndef FLEXINT_H", "#define FLEXINT_H", "", "/* C99 systems have . Non-C99 systems may or may not. */", "", "#if defined(__FreeBSD__) || \\", " (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)", "", "/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,", " * if you want the limit (max/min) macros for int types. ", " */", "#ifndef __STDC_LIMIT_MACROS", "#define __STDC_LIMIT_MACROS 1", "#endif", "", "#include ", "typedef int8_t flex_int8_t;", "typedef uint8_t flex_uint8_t;", "typedef int16_t flex_int16_t;", "typedef uint16_t flex_uint16_t;", "typedef int32_t flex_int32_t;", "typedef uint32_t flex_uint32_t;", "#else", "typedef signed char flex_int8_t;", "typedef short int flex_int16_t;", "typedef int flex_int32_t;", "typedef unsigned char flex_uint8_t; ", "typedef unsigned short int flex_uint16_t;", "typedef unsigned int flex_uint32_t;", "", "/* Limits of integral types. */", "#ifndef INT8_MIN", "#define INT8_MIN (-128)", "#endif", "#ifndef INT16_MIN", "#define INT16_MIN (-32767-1)", "#endif", "#ifndef INT32_MIN", "#define INT32_MIN (-2147483647-1)", "#endif", "#ifndef INT8_MAX", "#define INT8_MAX (127)", "#endif", "#ifndef INT16_MAX", "#define INT16_MAX (32767)", "#endif", "#ifndef INT32_MAX", "#define INT32_MAX (2147483647)", "#endif", "#ifndef UINT8_MAX", "#define UINT8_MAX (255U)", "#endif", "#ifndef UINT16_MAX", "#define UINT16_MAX (65535U)", "#endif", "#ifndef UINT32_MAX", "#define UINT32_MAX (4294967295U)", "#endif", "", "#ifndef SIZE_MAX", "#define SIZE_MAX (~(size_t)0)", "#endif", "", "#endif /* ! C99 */", "", "#endif /* ! FLEXINT_H */", "", "%endif", "", "/* begin standard C++ headers. */", "%if-c++-only", "#include ", "#include ", "#include ", "#include ", "#include ", "/* end standard C++ headers. */", "%endif", "", "/* TODO: this is always defined, so inline it */", "#define yyconst const", "", "#if defined(__GNUC__) && __GNUC__ >= 3", "#define yynoreturn __attribute__((__noreturn__))", "#else", "#define yynoreturn", "#endif", "", "%not-for-header", "/* Returned upon end-of-file. */", "#define YY_NULL 0", "%ok-for-header", "", "%not-for-header", "/* Promotes a possibly negative, possibly signed char to an", " * integer in range [0..255] for use as an array index.", " */", "#define YY_SC_TO_UI(c) ((YY_CHAR) (c))", "%ok-for-header", "", "", "", "%if-reentrant", "", "/* An opaque pointer. */", "#ifndef YY_TYPEDEF_YY_SCANNER_T", "#define YY_TYPEDEF_YY_SCANNER_T", "typedef void* yyscan_t;", "#endif", "", "m4_define( [[M4_YY_DECL_GUTS_VAR]], [[struct yyguts_t * yyg = (struct yyguts_t*)yyscanner]])", "m4_define( [[M4_YY_NOOP_GUTS_VAR]], [[(void)yyg]])", "m4_define( [[YY_G]], [[yyg->$1]])", "", "m4_define( [[M4_YY_PROTO_LAST_ARG]], [[, yyscan_t yyscanner]])", "m4_define( [[M4_YY_PROTO_ONLY_ARG]], [[yyscan_t yyscanner]])", "", "m4_define( [[M4_YY_DEF_LAST_ARG]], [[, yyscan_t yyscanner]])", "m4_define( [[M4_YY_DEF_ONLY_ARG]], [[yyscan_t yyscanner]])", "m4_define( [[M4_YY_DECL_LAST_ARG]], [[yyscan_t yyscanner;]])", "", "m4_define( [[M4_YY_CALL_LAST_ARG]], [[, yyscanner]])", "m4_define( [[M4_YY_CALL_ONLY_ARG]], [[yyscanner]])", "", "m4_define( [[M4_YY_DOC_PARAM]], [[@param yyscanner The scanner object.]])", "", "/* For convenience, these vars (plus the bison vars far below)", " are macros in the reentrant scanner. */", "#define yyin YY_G(yyin_r)", "#define yyout YY_G(yyout_r)", "#define yyextra YY_G(yyextra_r)", "#define yyleng YY_G(yyleng_r)", "#define yytext YY_G(yytext_r)", "#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)", "#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)", "#define yy_flex_debug YY_G(yy_flex_debug_r)", "", "m4_define( [[M4_YY_INCR_LINENO]],", "[[", " do{ yylineno++;", " yycolumn=0;", " }while(0)", "]])", "", "%endif", "", "", "", "%if-not-reentrant", "", "m4_define( [[M4_YY_INCR_LINENO]],", "[[", " yylineno++;", "]])", "", "m4_define( [[M4_YY_DECL_GUTS_VAR]], [[m4_dnl]])", "m4_define( [[M4_YY_NOOP_GUTS_VAR]], [[m4_dnl]])", "m4_define( [[YY_G]], [[($1)]])", "m4_define( [[M4_YY_PROTO_LAST_ARG]])", "m4_define( [[M4_YY_PROTO_ONLY_ARG]], [[void]])", "m4_define( [[M4_YY_DEF_LAST_ARG]])", "", "m4_define( [[M4_YY_DEF_ONLY_ARG]], [[void]])", "m4_define([[M4_YY_DECL_LAST_ARG]])", "m4_define([[M4_YY_CALL_LAST_ARG]])", "m4_define([[M4_YY_CALL_ONLY_ARG]])", "m4_define( [[M4_YY_DOC_PARAM]], )", "", "%endif", "", "", "m4_define( [[YYFARGS1]], [[($1 $2 M4_YY_DEF_LAST_ARG)]])", "m4_define( [[YYFARGS2]], [[($1 $2, $3 $4 M4_YY_DEF_LAST_ARG)]])", "m4_define( [[YYFARGS3]], [[($1 $2, $3 $4, $5 $6 M4_YY_DEF_LAST_ARG)]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* 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_G(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_G(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 M4_YY_CALL_LAST_ARG )", "#define YY_END_OF_BUFFER_CHAR 0", "]])", "", "/* Size of default input buffer. */", "#ifndef YY_BUF_SIZE", "#ifdef __ia64__", "/* On IA-64, the buffer size is 16k, not 8k.", " * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.", " * Ditto for the __ia64__ case accordingly.", " */", "#define YY_BUF_SIZE 32768", "#else", "#define YY_BUF_SIZE 16384", "#endif /* __ia64__ */", "#endif", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* 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", "", "%if-not-reentrant", "extern int yyleng;", "%endif", "", "%if-c-only", "%if-not-reentrant", "extern FILE *yyin, *yyout;", "%endif", "%endif", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "#define EOB_ACT_CONTINUE_SCAN 0", "#define EOB_ACT_END_OF_FILE 1", "#define EOB_ACT_LAST_MATCH 2", " m4_ifdef( [[M4_YY_USE_LINENO]],", " [[", " /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires", " * access to the local variable yy_act. Since yyless() is a macro, it would break", " * existing scanners that call yyless() from OUTSIDE yylex.", " * One obvious solution it to make yy_act a global. I tried that, and saw", " * a 5% performance hit in a non-yylineno scanner, because yy_act is", " * normally declared as a register variable-- so it is not worth it.", " */", " #define YY_LESS_LINENO(n) \\", " do { \\", " int yyl;\\", " for ( yyl = n; yyl < yyleng; ++yyl )\\", " if ( yytext[yyl] == '\\n' )\\", " --yylineno;\\", " }while(0)", " #define YY_LINENO_REWIND_TO(dst) \\", " do {\\", " const char *p;\\", " for ( p = yy_cp-1; p >= (dst); --p)\\", " if ( *p == '\\n' )\\", " --yylineno;\\", " }while(0)", " ]],", " [[", " #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_G(yy_hold_char); \\", " YY_RESTORE_YY_MORE_OFFSET \\", " YY_G(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, YY_G(yytext_ptr) M4_YY_CALL_LAST_ARG )", "]])", "", "#ifndef YY_STRUCT_YY_BUFFER_STATE", "#define YY_STRUCT_YY_BUFFER_STATE", "struct yy_buffer_state", " {", "%if-c-only", " FILE *yy_input_file;", "%endif", "", "%if-c++-only", " std::streambuf* yy_input_file;", "%endif", "", "", " 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.", " */", " int yy_buf_size;", "", " /* Number of characters read into yy_ch_buf, not including EOB", " * characters.", " */", " int 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;", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "#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 */", "", "%if-c-only Standard (non-C++) definition", "%not-for-header", "%if-not-reentrant", "", "/* 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 = NULL; /**< Stack as an array. */", "%endif", "%ok-for-header", "%endif", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* 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_G(yy_buffer_stack) \\", " ? YY_G(yy_buffer_stack)[YY_G(yy_buffer_stack_top)] \\", " : NULL)", "#define yy_current_buffer YY_CURRENT_BUFFER", "/* Same as previous macro, but useful when we know that the buffer stack is not", " * NULL or when we need an lvalue. For internal use only.", " */", "#define YY_CURRENT_BUFFER_LVALUE YY_G(yy_buffer_stack)[YY_G(yy_buffer_stack_top)]", "]])", "", "%if-c-only Standard (non-C++) definition", "", "%if-not-reentrant", "%not-for-header", "/* yy_hold_char holds the character lost when yytext is formed. */", "static char yy_hold_char;", "static int yy_n_chars; /* number of characters read into yy_ch_buf */", "int yyleng;", "", "/* Points to current character in buffer. */", "static char *yy_c_buf_p = NULL;", "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;", "%ok-for-header", "%endif", "", "void yyrestart ( FILE *input_file M4_YY_PROTO_LAST_ARG );", "void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer M4_YY_PROTO_LAST_ARG );", "YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size M4_YY_PROTO_LAST_ARG );", "void yy_delete_buffer ( YY_BUFFER_STATE b M4_YY_PROTO_LAST_ARG );", "void yy_flush_buffer ( YY_BUFFER_STATE b M4_YY_PROTO_LAST_ARG );", "void yypush_buffer_state ( YY_BUFFER_STATE new_buffer M4_YY_PROTO_LAST_ARG );", "void yypop_buffer_state ( M4_YY_PROTO_ONLY_ARG );", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "static void yyensure_buffer_stack ( M4_YY_PROTO_ONLY_ARG );", "static void yy_load_buffer_state ( M4_YY_PROTO_ONLY_ARG );", "static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file M4_YY_PROTO_LAST_ARG );", "#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER M4_YY_CALL_LAST_ARG)", "]])", "", "YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size M4_YY_PROTO_LAST_ARG );", "YY_BUFFER_STATE yy_scan_string ( const char *yy_str M4_YY_PROTO_LAST_ARG );", "YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len M4_YY_PROTO_LAST_ARG );", "", "%endif", "", "void *yyalloc ( yy_size_t M4_YY_PROTO_LAST_ARG );", "void *yyrealloc ( void *, yy_size_t M4_YY_PROTO_LAST_ARG );", "void yyfree ( void * M4_YY_PROTO_LAST_ARG );", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "#define yy_new_buffer yy_create_buffer", "#define yy_set_interactive(is_interactive) \\", " { \\", " if ( ! YY_CURRENT_BUFFER ){ \\", " yyensure_buffer_stack (M4_YY_CALL_ONLY_ARG); \\", " YY_CURRENT_BUFFER_LVALUE = \\", " yy_create_buffer( yyin, YY_BUF_SIZE M4_YY_CALL_LAST_ARG); \\", " } \\", " YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \\", " }", "#define yy_set_bol(at_bol) \\", " { \\", " if ( ! YY_CURRENT_BUFFER ){\\", " yyensure_buffer_stack (M4_YY_CALL_ONLY_ARG); \\", " YY_CURRENT_BUFFER_LVALUE = \\", " yy_create_buffer( yyin, YY_BUF_SIZE M4_YY_CALL_LAST_ARG); \\", " } \\", " YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \\", " }", "#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)", "]])", "", "%% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "%% [1.5] DFA", "]])", "", "%if-c-only Standard (non-C++) definition", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "static yy_state_type yy_get_previous_state ( M4_YY_PROTO_ONLY_ARG );", "static yy_state_type yy_try_NUL_trans ( yy_state_type current_state M4_YY_PROTO_LAST_ARG);", "static int yy_get_next_buffer ( M4_YY_PROTO_ONLY_ARG );", - "static void yynoreturn yy_fatal_error ( const char* msg M4_YY_PROTO_LAST_ARG ) __dead2;", + "static void yynoreturn yy_fatal_error ( const char* msg M4_YY_PROTO_LAST_ARG );", "]])", "", "%endif", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* Done after the current pattern has been matched and before the", " * corresponding action - sets up yytext.", " */", "#define YY_DO_BEFORE_ACTION \\", " YY_G(yytext_ptr) = yy_bp; \\", "%% [2.0] code to fiddle yytext and yyleng for yymore() goes here \\", " YY_G(yy_hold_char) = *yy_cp; \\", " *yy_cp = '\\0'; \\", "%% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \\", " YY_G(yy_c_buf_p) = yy_cp;", "%% [4.0] data tables for the DFA and the user's section 1 definitions go here", "]])", "", "m4_ifdef( [[M4_YY_IN_HEADER]], [[#ifdef YY_HEADER_EXPORT_START_CONDITIONS]])", "M4_YY_SC_DEFS", "m4_ifdef( [[M4_YY_IN_HEADER]], [[#endif]])", "", "m4_ifdef( [[M4_YY_NO_UNISTD_H]],,", "[[", "#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.", " */", "%if-c-only", "#include ", "%endif", "%if-c++-only", "#include ", "%endif", "#endif", "]])", "", "m4_ifdef( [[M4_EXTRA_TYPE_DEFS]],", "[[", "#define YY_EXTRA_TYPE M4_EXTRA_TYPE_DEFS", "]],", "[[", "#ifndef YY_EXTRA_TYPE", "#define YY_EXTRA_TYPE void *", "#endif", "]]", ")", "", "%if-c-only Reentrant structure and macros (non-C++).", "%if-reentrant", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* Holds the entire state of the reentrant scanner. */", "struct yyguts_t", " {", "", " /* User-defined. Not touched by flex. */", " YY_EXTRA_TYPE yyextra_r;", "", " /* The rest are the same as the globals declared in the non-reentrant scanner. */", " FILE *yyin_r, *yyout_r;", " size_t yy_buffer_stack_top; /**< index of top of stack. */", " size_t yy_buffer_stack_max; /**< capacity of stack. */", " YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */", " char yy_hold_char;", " int yy_n_chars;", " int yyleng_r;", " char *yy_c_buf_p;", " int yy_init;", " int yy_start;", " int yy_did_buffer_switch_on_eof;", " int yy_start_stack_ptr;", " int yy_start_stack_depth;", " int *yy_start_stack;", " yy_state_type yy_last_accepting_state;", " char* yy_last_accepting_cpos;", "", " int yylineno_r;", " int yy_flex_debug_r;", "", "m4_ifdef( [[M4_YY_USES_REJECT]],", "[[", " yy_state_type *yy_state_buf;", " yy_state_type *yy_state_ptr;", " char *yy_full_match;", " int yy_lp;", "", " /* These are only needed for trailing context rules,", " * but there's no conditional variable for that yet. */", " int yy_looking_for_trail_begin;", " int yy_full_lp;", " int *yy_full_state;", "]])", "", "m4_ifdef( [[M4_YY_TEXT_IS_ARRAY]],", "[[", " char yytext_r[YYLMAX];", " char *yytext_ptr;", " int yy_more_offset;", " int yy_prev_more_offset;", "]],", "[[", " char *yytext_r;", " int yy_more_flag;", " int yy_more_len;", "]])", "", "m4_ifdef( [[M4_YY_BISON_LVAL]],", "[[", " YYSTYPE * yylval_r;", "]])", "", "m4_ifdef( [[]],", "[[", " YYLTYPE * yylloc_r;", "]])", "", " }; /* end struct yyguts_t */", "]])", "", "", "%if-c-only", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "static int yy_init_globals ( M4_YY_PROTO_ONLY_ARG );", "]])", "%endif", "", "%if-reentrant", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", " m4_ifdef( [[M4_YY_BISON_LVAL]],", " [[", " /* This must go here because YYSTYPE and YYLTYPE are included", " * from bison output in section 1.*/", " # define yylval YY_G(yylval_r)", " ]])", "", " m4_ifdef( [[]],", " [[", " # define yylloc YY_G(yylloc_r)", " ]])", "]])", "", "int yylex_init (yyscan_t* scanner);", "", "int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);", "", "%endif", "", "%endif End reentrant structures and macros.", "", "/* Accessor methods to globals.", " These are made visible to non-reentrant scanners for convenience. */", "", "m4_ifdef( [[M4_YY_NO_DESTROY]],,", "[[", "int yylex_destroy ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_DEBUG]],,", "[[", "int yyget_debug ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_DEBUG]],,", "[[", "void yyset_debug ( int debug_flag M4_YY_PROTO_LAST_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_EXTRA]],,", "[[", "YY_EXTRA_TYPE yyget_extra ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_EXTRA]],,", "[[", "void yyset_extra ( YY_EXTRA_TYPE user_defined M4_YY_PROTO_LAST_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_IN]],,", "[[", "FILE *yyget_in ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_IN]],,", "[[", "void yyset_in ( FILE * _in_str M4_YY_PROTO_LAST_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_OUT]],,", "[[", "FILE *yyget_out ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_OUT]],,", "[[", "void yyset_out ( FILE * _out_str M4_YY_PROTO_LAST_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_LENG]],,", "[[", " int yyget_leng ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_TEXT]],,", "[[", "char *yyget_text ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_LINENO]],,", "[[", "int yyget_lineno ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_LINENO]],,", "[[", "void yyset_lineno ( int _line_number M4_YY_PROTO_LAST_ARG );", "]])", "", "m4_ifdef( [[M4_YY_REENTRANT]],", "[[", "m4_ifdef( [[M4_YY_NO_GET_COLUMN]],,", "[[", "int yyget_column ( M4_YY_PROTO_ONLY_ARG );", "]])", "]])", "", "m4_ifdef( [[M4_YY_REENTRANT]],", "[[", "m4_ifdef( [[M4_YY_NO_SET_COLUMN]],,", "[[", "void yyset_column ( int _column_no M4_YY_PROTO_LAST_ARG );", "]])", "]])", "", "%if-bison-bridge", "m4_ifdef( [[M4_YY_NO_GET_LVAL]],,", "[[", "YYSTYPE * yyget_lval ( M4_YY_PROTO_ONLY_ARG );", "]])", "", "void yyset_lval ( YYSTYPE * yylval_param M4_YY_PROTO_LAST_ARG );", "", "m4_ifdef( [[]],", "[[", " m4_ifdef( [[M4_YY_NO_GET_LLOC]],,", " [[", " YYLTYPE *yyget_lloc ( M4_YY_PROTO_ONLY_ARG );", " ]])", "", " m4_ifdef( [[M4_YY_NO_SET_LLOC]],,", " [[", " void yyset_lloc ( YYLTYPE * yylloc_param M4_YY_PROTO_LAST_ARG );", " ]])", "]])", "%endif", "", "/* Macros after this point can all be overridden by user definitions in", " * section 1.", " */", "", "#ifndef YY_SKIP_YYWRAP", "#ifdef __cplusplus", "extern \"C\" int yywrap ( M4_YY_PROTO_ONLY_ARG );", "#else", "extern int yywrap ( M4_YY_PROTO_ONLY_ARG );", "#endif", "#endif", "", "%not-for-header", "#ifndef YY_NO_UNPUT", " m4_ifdef( [[M4_YY_NO_UNPUT]],,", " [[", " static void yyunput ( int c, char *buf_ptr M4_YY_PROTO_LAST_ARG);", " ]])", "#endif", "%ok-for-header", "%endif", "", "#ifndef yytext_ptr", "static void yy_flex_strncpy ( char *, const char *, int M4_YY_PROTO_LAST_ARG);", "#endif", "", "#ifdef YY_NEED_STRLEN", "static int yy_flex_strlen ( const char * M4_YY_PROTO_LAST_ARG);", "#endif", "", "#ifndef YY_NO_INPUT", "%if-c-only Standard (non-C++) definition", "%not-for-header", "#ifdef __cplusplus", "static int yyinput ( M4_YY_PROTO_ONLY_ARG );", "#else", "static int input ( M4_YY_PROTO_ONLY_ARG );", "#endif", "%ok-for-header", "%endif", "#endif", "", "", "%if-c-only", "m4_ifdef( [[M4_YY_STACK_USED]],", "[[", "", "m4_ifdef( [[M4_YY_NOT_REENTRANT]],", "[[", " m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", " [[", " static int yy_start_stack_ptr = 0;", " static int yy_start_stack_depth = 0;", " static int *yy_start_stack = NULL;", " ]])", "]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", " m4_ifdef( [[M4_YY_NO_PUSH_STATE]],,", " [[", " static void yy_push_state ( int _new_state M4_YY_PROTO_LAST_ARG);", " ]])", " m4_ifdef( [[M4_YY_NO_POP_STATE]],,", " [[", " static void yy_pop_state ( M4_YY_PROTO_ONLY_ARG );", " ]])", " m4_ifdef( [[M4_YY_NO_TOP_STATE]],,", " [[", " static int yy_top_state ( M4_YY_PROTO_ONLY_ARG );", " ]])", "]])", "", "]],", "[[", "m4_define( [[M4_YY_NO_PUSH_STATE]])", "m4_define( [[M4_YY_NO_POP_STATE]])", "m4_define( [[M4_YY_NO_TOP_STATE]])", "]])", "%endif", "", "/* Amount of stuff to slurp up with each read. */", "#ifndef YY_READ_BUF_SIZE", "#ifdef __ia64__", "/* On IA-64, the buffer size is 16k, not 8k */", "#define YY_READ_BUF_SIZE 16384", "#else", "#define YY_READ_BUF_SIZE 8192", "#endif /* __ia64__ */", "#endif", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* Copy whatever the last rule matched to the standard output. */", "#ifndef ECHO", "%if-c-only Standard (non-C++) definition", "/* This used to be an fputs(), but since the string might contain NUL's,", " * we now use fwrite().", " */", "#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)", "%endif", "%if-c++-only C++ definition", "#define ECHO LexerOutput( yytext, yyleng )", "%endif", "#endif", "]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* 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) \\", "%% [5.0] fread()/read() definition of YY_INPUT goes here unless we're doing C++ \\", "\\", "%if-c++-only C++ definition \\", " if ( (int)(result = LexerInput( (char *) buf, max_size )) < 0 ) \\", " YY_FATAL_ERROR( \"input in flex scanner failed\" );", "%endif", "", "#endif", "]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* 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", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* Report a fatal error. */", "#ifndef YY_FATAL_ERROR", "%if-c-only", "#define YY_FATAL_ERROR(msg) yy_fatal_error( msg M4_YY_CALL_LAST_ARG)", "%endif", "%if-c++-only", "#define YY_FATAL_ERROR(msg) LexerError( msg )", "%endif", "#endif", "]])", "", "%if-tables-serialization structures and prototypes", "#ifdef FLEX_SCANNER", "/*", "dnl tables_shared.h - tables serialization header", "dnl", "dnl Copyright (c) 1990 The Regents of the University of California.", "dnl All rights reserved.", "dnl", "dnl This code is derived from software contributed to Berkeley by", "dnl Vern Paxson.", "dnl", "dnl The United States Government has rights in this work pursuant", "dnl to contract no. DE-AC03-76SF00098 between the United States", "dnl Department of Energy and the University of California.", "dnl", "dnl This file is part of flex.", "dnl", "dnl Redistribution and use in source and binary forms, with or without", "dnl modification, are permitted provided that the following conditions", "dnl are met:", "dnl", "dnl 1. Redistributions of source code must retain the above copyright", "dnl notice, this list of conditions and the following disclaimer.", "dnl 2. Redistributions in binary form must reproduce the above copyright", "dnl notice, this list of conditions and the following disclaimer in the", "dnl documentation and/or other materials provided with the distribution.", "dnl", "dnl Neither the name of the University nor the names of its contributors", "dnl may be used to endorse or promote products derived from this software", "dnl without specific prior written permission.", "dnl", "dnl THIS SOFTWARE IS PROVIDED `AS IS' AND WITHOUT ANY EXPRESS OR", "dnl IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED", "dnl WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR", "dnl PURPOSE.", " ", "dnl", "dnl This file is meant to be included in both the skeleton and the actual", "dnl flex code (hence the name \"_shared\").", "*/", "#ifndef yyskel_static", "#define yyskel_static static", "#endif", "#else", "#ifndef yyskel_static", "#define yyskel_static", "#endif", "#endif", "", "/* Structures and prototypes for serializing flex tables. The", " * binary format is documented in the manual.", " *", " * Design considerations:", " *", " * - The format allows many tables per file.", " * - The tables can be streamed.", " * - All data is stored in network byte order.", " * - We do not hinder future unicode support.", " * - We can lookup tables by name.", " */", "", "/** Magic number for serialized format. */", "#ifndef YYTBL_MAGIC", "#define YYTBL_MAGIC 0xF13C57B1", "#endif", "", "/** Calculate (0-7) = number bytes needed to pad n to next 64-bit boundary. */", "#ifndef yypad64", "#define yypad64(n) ((8-((n)%8))%8)", "#endif", "", "", "#ifndef YYTABLES_TYPES", "#define YYTABLES_TYPES", "/** Possible values for td_id field. Each one corresponds to a", " * scanner table of the same name.", " */", "enum yytbl_id {", " YYTD_ID_ACCEPT = 0x01, /**< 1-dim ints */", " YYTD_ID_BASE = 0x02, /**< 1-dim ints */", " YYTD_ID_CHK = 0x03, /**< 1-dim ints */", " YYTD_ID_DEF = 0x04, /**< 1-dim ints */", " YYTD_ID_EC = 0x05, /**< 1-dim ints */", " YYTD_ID_META = 0x06, /**< 1-dim ints */", " YYTD_ID_NUL_TRANS = 0x07, /**< 1-dim ints, maybe indices */", " YYTD_ID_NXT = 0x08, /**< may be 2 dimensional ints */", " YYTD_ID_RULE_CAN_MATCH_EOL = 0x09, /**< 1-dim ints */", " YYTD_ID_START_STATE_LIST = 0x0A, /**< 1-dim indices into trans tbl */", " YYTD_ID_TRANSITION = 0x0B, /**< structs */", " YYTD_ID_ACCLIST = 0x0C /**< 1-dim ints */", "};", "", "/** bit flags for t_flags field of struct yytbl_data */", "enum yytbl_flags {", " /* These first three are mutually exclusive */", " YYTD_DATA8 = 0x01, /**< data is an array of type flex_int8_t */", " YYTD_DATA16 = 0x02, /**< data is an array of type flex_int16_t */", " YYTD_DATA32 = 0x04, /**< data is an array of type flex_int32_t */", "", " /* These two are mutually exclusive. */", " YYTD_PTRANS = 0x08, /**< data is a list of indexes of entries", " into the expanded yy_transition", " array. See notes in manual. */", " YYTD_STRUCT = 0x10 /**< data consists of yy_trans_info structs */", "};", "", "/* The serialized tables header. */", "struct yytbl_hdr {", " flex_uint32_t th_magic; /**< Must be 0xF13C57B1 (comes from \"Flex Table\") */", " flex_uint32_t th_hsize; /**< Size of this header in bytes. */", " flex_uint32_t th_ssize; /**< Size of this dataset, in bytes, including header. */", " flex_uint16_t th_flags; /**< Currently unused, must be 0 */", " char *th_version; /**< Flex version string. NUL terminated. */", " char *th_name; /**< The name of this table set. NUL terminated. */", "};", "", "/** A single serialized table */", "struct yytbl_data {", " flex_uint16_t td_id; /**< enum yytbl_id table identifier */", " flex_uint16_t td_flags; /**< how to interpret this data */", " flex_uint32_t td_hilen; /**< num elements in highest dimension array */", " flex_uint32_t td_lolen; /**< num elements in lowest dimension array */", " void *td_data; /**< table data */", "};", "#endif", "", "/** Extract corresponding data size_t from td_flags */", "#ifndef YYTDFLAGS2BYTES", "#define YYTDFLAGS2BYTES(td_flags)\\", " (((td_flags) & YYTD_DATA8)\\", " ? sizeof(flex_int8_t)\\", " :(((td_flags) & YYTD_DATA16)\\", " ? sizeof(flex_int16_t)\\", " :sizeof(flex_int32_t)))", "#endif", "", "#ifdef FLEX_SCANNER", "%not-for-header", "#endif", "yyskel_static flex_int32_t yytbl_calc_total_len (const struct yytbl_data *tbl);", "#ifdef FLEX_SCANNER", "%ok-for-header", "#endif", "", "/* vim:set noexpandtab cindent tabstop=8 softtabstop=0 shiftwidth=8 textwidth=0: */", "", "", "/* Load the DFA tables from the given stream. */", "int yytables_fload (FILE * fp M4_YY_PROTO_LAST_ARG);", "", "/* Unload the tables from memory. */", "int yytables_destroy (M4_YY_PROTO_ONLY_ARG);", "%not-for-header", "", "/** Describes a mapping from a serialized table id to its deserialized state in", " * this scanner. This is the bridge between our \"generic\" deserialization code", " * and the specifics of this scanner.", " */", "struct yytbl_dmap {", " enum yytbl_id dm_id;/**< table identifier */", " void **dm_arr; /**< address of pointer to store the deserialized table. */", " size_t dm_sz; /**< local sizeof() each element in table. */", "};", "", "/** A {0,0,0}-terminated list of structs, forming the map */", "static struct yytbl_dmap yydmap[] =", "{", "%tables-yydmap generated elements", " {0,0,0}", "};", "", "/** A tables-reader object to maintain some state in the read. */", "struct yytbl_reader {", " FILE * fp; /**< input stream */", " flex_uint32_t bread; /**< bytes read since beginning of current tableset */", "};", "", "%endif", "/* end tables serialization structures and prototypes */", "", "%ok-for-header", "", "/* Default declaration of generated scanner - a define so the user can", " * easily add parameters.", " */", "#ifndef YY_DECL", "#define YY_DECL_IS_OURS 1", "%if-c-only Standard (non-C++) definition", "", "", "m4_define( [[M4_YY_LEX_PROTO]], [[(M4_YY_PROTO_ONLY_ARG)]])", "m4_define( [[M4_YY_LEX_DECLARATION]], [[(M4_YY_DEF_ONLY_ARG)]])", "", "m4_ifdef( [[M4_YY_BISON_LVAL]],", "[[", " m4_dnl The bison pure parser is used. Redefine yylex to", " m4_dnl accept the lval parameter.", "", " m4_define( [[M4_YY_LEX_PROTO]], [[\\]]", " [[(YYSTYPE * yylval_param M4_YY_PROTO_LAST_ARG)]])", " m4_define( [[M4_YY_LEX_DECLARATION]], [[\\]]", " [[YYFARGS1(YYSTYPE *,yylval_param)]])", "]])", "", "m4_ifdef( [[]],", "[[", " m4_dnl Locations are used. yylex should also accept the ylloc parameter.", "", " m4_define( [[M4_YY_LEX_PROTO]], [[\\]]", " [[(YYSTYPE * yylval_param, YYLTYPE * yylloc_param M4_YY_PROTO_LAST_ARG)]])", " m4_define( [[M4_YY_LEX_DECLARATION]], [[\\]]", " [[YYFARGS2(YYSTYPE *,yylval_param, YYLTYPE *,yylloc_param)]])", "]])", "", "extern int yylex M4_YY_LEX_PROTO;", "", "#define YY_DECL int yylex M4_YY_LEX_DECLARATION", "%endif", "%if-c++-only C++ definition", "#define YY_DECL int yyFlexLexer::yylex()", "%endif", "#endif /* !YY_DECL */", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* 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", "]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* Code executed at the end of each rule. */", "#ifndef YY_BREAK", "#define YY_BREAK /*LINTED*/break;", "#endif", "]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "%% [6.0] YY_RULE_SETUP definition goes here", "]])", "", "%not-for-header", "/** 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;", " M4_YY_DECL_GUTS_VAR();", "", "m4_ifdef( [[M4_YY_NOT_REENTRANT]],", "[[", " m4_ifdef( [[M4_YY_BISON_LVAL]],", " [[", " YYSTYPE * yylval;", " ]])", " m4_ifdef( [[]],", " [[", " YYLTYPE * yylloc;", " ]])", "]])", "", "m4_ifdef( [[M4_YY_BISON_LVAL]],", "[[", " yylval = yylval_param;", "]])", "", "m4_ifdef( [[]],", "[[", " yylloc = yylloc_param;", "]])", "", " if ( !YY_G(yy_init) )", " {", " YY_G(yy_init) = 1;", "", "#ifdef YY_USER_INIT", " YY_USER_INIT;", "#endif", "", "m4_ifdef( [[M4_YY_USES_REJECT]],", "[[", " /* Create the reject buffer large enough to save one state per allowed character. */", " if ( ! YY_G(yy_state_buf) )", " YY_G(yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE M4_YY_CALL_LAST_ARG);", " if ( ! YY_G(yy_state_buf) )", " YY_FATAL_ERROR( \"out of dynamic memory in yylex()\" );", "]])", "", " if ( ! YY_G(yy_start) )", " YY_G(yy_start) = 1; /* first start state */", "", " if ( ! yyin )", "%if-c-only", " yyin = stdin;", "%endif", "%if-c++-only", " yyin.rdbuf(std::cin.rdbuf());", "%endif", "", " if ( ! yyout )", "%if-c-only", " yyout = stdout;", "%endif", "%if-c++-only", " yyout.rdbuf(std::cout.rdbuf());", "%endif", "", " if ( ! YY_CURRENT_BUFFER ) {", " yyensure_buffer_stack (M4_YY_CALL_ONLY_ARG);", " YY_CURRENT_BUFFER_LVALUE =", " yy_create_buffer( yyin, YY_BUF_SIZE M4_YY_CALL_LAST_ARG);", " }", "", " yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );", " }", "", " {", "%% [7.0] user's declarations go here", "", " while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */", " {", "%% [8.0] yymore()-related code goes here", " yy_cp = YY_G(yy_c_buf_p);", "", " /* Support of yytext. */", " *yy_cp = YY_G(yy_hold_char);", "", " /* yy_bp points to the position in yy_ch_buf of the start of", " * the current run.", " */", " yy_bp = yy_cp;", "", "%% [9.0] code to set up and find next match goes here", "", "yy_find_action:", "%% [10.0] code to find the action number goes here", "", " YY_DO_BEFORE_ACTION;", "", "%% [11.0] code for yylineno update goes here", "", "do_action: /* This label is used only to access EOF actions. */", "", "%% [12.0] debug code goes here", "", " switch ( yy_act )", " { /* beginning of action switch */", "%% [13.0] actions go here", "", " case YY_END_OF_BUFFER:", " {", " /* Amount of text matched not including the EOB char. */", " int yy_amount_of_matched_text = (int) (yy_cp - YY_G(yytext_ptr)) - 1;", "", " /* Undo the effects of YY_DO_BEFORE_ACTION. */", " *yy_cp = YY_G(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_G(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;", "%if-c-only", " YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;", "%endif", "%if-c++-only", " YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin.rdbuf();", "%endif", " 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_G(yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[YY_G(yy_n_chars)] )", " { /* This was really a NUL. */", " yy_state_type yy_next_state;", "", " YY_G(yy_c_buf_p) = YY_G(yytext_ptr) + yy_amount_of_matched_text;", "", " yy_current_state = yy_get_previous_state( M4_YY_CALL_ONLY_ARG );", "", " /* 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 M4_YY_CALL_LAST_ARG);", "", " yy_bp = YY_G(yytext_ptr) + YY_MORE_ADJ;", "", " if ( yy_next_state )", " {", " /* Consume the NUL. */", " yy_cp = ++YY_G(yy_c_buf_p);", " yy_current_state = yy_next_state;", " goto yy_match;", " }", "", " else", " {", "%% [14.0] code to do back-up for compressed tables and set up yy_cp goes here", " goto yy_find_action;", " }", " }", "", " else switch ( yy_get_next_buffer( M4_YY_CALL_ONLY_ARG ) )", " {", " case EOB_ACT_END_OF_FILE:", " {", " YY_G(yy_did_buffer_switch_on_eof) = 0;", "", " if ( yywrap( M4_YY_CALL_ONLY_ARG ) )", " {", " /* 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_G(yy_c_buf_p) = YY_G(yytext_ptr) + YY_MORE_ADJ;", "", " yy_act = YY_STATE_EOF(YY_START);", " goto do_action;", " }", "", " else", " {", " if ( ! YY_G(yy_did_buffer_switch_on_eof) )", " YY_NEW_FILE;", " }", " break;", " }", "", " case EOB_ACT_CONTINUE_SCAN:", " YY_G(yy_c_buf_p) =", " YY_G(yytext_ptr) + yy_amount_of_matched_text;", "", " yy_current_state = yy_get_previous_state( M4_YY_CALL_ONLY_ARG );", "", " yy_cp = YY_G(yy_c_buf_p);", " yy_bp = YY_G(yytext_ptr) + YY_MORE_ADJ;", " goto yy_match;", "", " case EOB_ACT_LAST_MATCH:", " YY_G(yy_c_buf_p) =", " &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[YY_G(yy_n_chars)];", "", " yy_current_state = yy_get_previous_state( M4_YY_CALL_ONLY_ARG );", "", " yy_cp = YY_G(yy_c_buf_p);", " yy_bp = YY_G(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 */", "%ok-for-header", "", "%if-c++-only", "%not-for-header", "/* The contents of this function are C++ specific, so the YY_G macro is not used.", " * This constructor simply maintains backward compatibility.", " * DEPRECATED", " */", "yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ):", " yyin(arg_yyin ? arg_yyin->rdbuf() : std::cin.rdbuf()),", " yyout(arg_yyout ? arg_yyout->rdbuf() : std::cout.rdbuf())", "{", " ctor_common();", "}", "", "/* The contents of this function are C++ specific, so the YY_G macro is not used.", " */", "yyFlexLexer::yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout ):", " yyin(arg_yyin.rdbuf()),", " yyout(arg_yyout.rdbuf())", "{", " ctor_common();", "}", "", "/* The contents of this function are C++ specific, so the YY_G macro is not used.", " */", "void yyFlexLexer::ctor_common()", "{", " yy_c_buf_p = 0;", " yy_init = 0;", " yy_start = 0;", " yy_flex_debug = 0;", " yylineno = 1; // this will only get updated if %option yylineno", "", " yy_did_buffer_switch_on_eof = 0;", "", " yy_looking_for_trail_begin = 0;", " yy_more_flag = 0;", " yy_more_len = 0;", " yy_more_offset = yy_prev_more_offset = 0;", "", " yy_start_stack_ptr = yy_start_stack_depth = 0;", " yy_start_stack = NULL;", "", " yy_buffer_stack = NULL;", " yy_buffer_stack_top = 0;", " yy_buffer_stack_max = 0;", "", "", "m4_ifdef( [[M4_YY_USES_REJECT]],", "[[", " yy_state_buf = new yy_state_type[YY_STATE_BUF_SIZE];", "]],", "[[", " yy_state_buf = 0;", "]])", "}", "", "/* The contents of this function are C++ specific, so the YY_G macro is not used.", " */", "yyFlexLexer::~yyFlexLexer()", "{", " delete [] yy_state_buf;", " yyfree( yy_start_stack M4_YY_CALL_LAST_ARG );", " yy_delete_buffer( YY_CURRENT_BUFFER M4_YY_CALL_LAST_ARG);", " yyfree( yy_buffer_stack M4_YY_CALL_LAST_ARG );", "}", "", "/* The contents of this function are C++ specific, so the YY_G macro is not used.", " */", "void yyFlexLexer::switch_streams( std::istream& new_in, std::ostream& new_out )", "{", " // was if( new_in )", " yy_delete_buffer( YY_CURRENT_BUFFER M4_YY_CALL_LAST_ARG);", " yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE M4_YY_CALL_LAST_ARG) M4_YY_CALL_LAST_ARG);", "", " // was if( new_out )", " yyout.rdbuf(new_out.rdbuf());", "}", "", "/* The contents of this function are C++ specific, so the YY_G macro is not used.", " */", "void yyFlexLexer::switch_streams( std::istream* new_in, std::ostream* new_out )", "{", " if( ! new_in ) {", " new_in = &yyin;", " }", "", " if ( ! new_out ) {", " new_out = &yyout;", " }", "", " switch_streams(*new_in, *new_out);", "}", "", "#ifdef YY_INTERACTIVE", "int yyFlexLexer::LexerInput( char* buf, int /* max_size */ )", "#else", "int yyFlexLexer::LexerInput( char* buf, int max_size )", "#endif", "{", " if ( yyin.eof() || yyin.fail() )", " return 0;", "", "#ifdef YY_INTERACTIVE", " yyin.get( buf[0] );", "", " if ( yyin.eof() )", " return 0;", "", " if ( yyin.bad() )", " return -1;", "", " return 1;", "", "#else", " (void) yyin.read( buf, max_size );", "", " if ( yyin.bad() )", " return -1;", " else", " return yyin.gcount();", "#endif", "}", "", "void yyFlexLexer::LexerOutput( const char* buf, int size )", "{", " (void) yyout.write( buf, size );", "}", "%ok-for-header", "%endif", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/* 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", " */", "%if-c-only", "static int yy_get_next_buffer (M4_YY_DEF_ONLY_ARG)", "%endif", "%if-c++-only", "int yyFlexLexer::yy_get_next_buffer()", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;", " char *source = YY_G(yytext_ptr);", " int number_to_move, i;", " int ret_val;", "", " if ( YY_G(yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[YY_G(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_G(yy_c_buf_p) - YY_G(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_G(yy_c_buf_p) - YY_G(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_G(yy_n_chars) = 0;", "", " else", " {", " int num_to_read =", " YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;", "", " while ( num_to_read <= 0 )", " { /* Not enough room in the buffer - grow it. */", "m4_ifdef( [[M4_YY_USES_REJECT]],", "[[", " YY_FATAL_ERROR(", "\"input buffer overflow, can't enlarge buffer because scanner uses REJECT\" );", "]],", "[[", " /* just a shorter name for the current buffer */", " YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;", "", " int yy_c_buf_p_offset =", " (int) (YY_G(yy_c_buf_p) - b->yy_ch_buf);", "", " if ( b->yy_is_our_buffer )", " {", " int new_size = b->yy_buf_size * 2;", "", " if ( new_size <= 0 )", " b->yy_buf_size += b->yy_buf_size / 8;", " else", " b->yy_buf_size *= 2;", "", " b->yy_ch_buf = (char *)", " /* Include room in for 2 EOB chars. */", " yyrealloc( (void *) b->yy_ch_buf,", " (yy_size_t) (b->yy_buf_size + 2) M4_YY_CALL_LAST_ARG );", " }", " else", " /* Can't grow it, we don't own it. */", " b->yy_ch_buf = NULL;", "", " if ( ! b->yy_ch_buf )", " YY_FATAL_ERROR(", " \"fatal error - scanner input buffer overflow\" );", "", " YY_G(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];", "", " num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -", " number_to_move - 1;", "]])", " }", "", " if ( num_to_read > YY_READ_BUF_SIZE )", " num_to_read = YY_READ_BUF_SIZE;", "", " /* Read in more data. */", " YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),", " YY_G(yy_n_chars), num_to_read );", "", " YY_CURRENT_BUFFER_LVALUE->yy_n_chars = YY_G(yy_n_chars);", " }", "", " if ( YY_G(yy_n_chars) == 0 )", " {", " if ( number_to_move == YY_MORE_ADJ )", " {", " ret_val = EOB_ACT_END_OF_FILE;", " yyrestart( yyin M4_YY_CALL_LAST_ARG);", " }", "", " 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_G(yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {", " /* Extend the array by 50%, plus the number we really need. */", " int new_size = YY_G(yy_n_chars) + number_to_move + (YY_G(yy_n_chars) >> 1);", " YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(", " (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size M4_YY_CALL_LAST_ARG );", " 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_G(yy_n_chars) += number_to_move;", " YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[YY_G(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;", " YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[YY_G(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;", "", " YY_G(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 */", "", "%if-c-only", "%not-for-header", " static yy_state_type yy_get_previous_state (M4_YY_DEF_ONLY_ARG)", "%endif", "%if-c++-only", " yy_state_type yyFlexLexer::yy_get_previous_state()", "%endif", "{", " yy_state_type yy_current_state;", " char *yy_cp;", " M4_YY_DECL_GUTS_VAR();", "", "%% [15.0] code to get the start state into yy_current_state goes here", "", " for ( yy_cp = YY_G(yytext_ptr) + YY_MORE_ADJ; yy_cp < YY_G(yy_c_buf_p); ++yy_cp )", " {", "%% [16.0] code to find the next state goes here", " }", "", " 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 );", " */", "%if-c-only", " static yy_state_type yy_try_NUL_trans YYFARGS1( yy_state_type, yy_current_state)", "%endif", "%if-c++-only", " yy_state_type yyFlexLexer::yy_try_NUL_trans( yy_state_type yy_current_state )", "%endif", "{", " int yy_is_jam;", " M4_YY_DECL_GUTS_VAR(); /* This var may be unused depending upon options. */", "%% [17.0] code to find the next state, and perhaps do backing up, goes here", "", " M4_YY_NOOP_GUTS_VAR();", " return yy_is_jam ? 0 : yy_current_state;", "}", "", "", "#ifndef YY_NO_UNPUT", "%if-c-only", "m4_ifdef( [[M4_YY_NO_UNPUT]],,", "[[", " static void yyunput YYFARGS2( int,c, char *,yy_bp)", "%endif", "%if-c++-only", " void yyFlexLexer::yyunput( int c, char* yy_bp)", "%endif", "{", " char *yy_cp;", " M4_YY_DECL_GUTS_VAR();", "", " yy_cp = YY_G(yy_c_buf_p);", "", " /* undo effects of setting up yytext */", " *yy_cp = YY_G(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. */", " int number_to_move = YY_G(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_G(yy_n_chars) = (int) 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;", "", "%% [18.0] update yylineno here", "m4_ifdef( [[M4_YY_USE_LINENO]],", "[[", " if ( c == '\\n' ){", " --yylineno;", " }", "]])", "", " YY_G(yytext_ptr) = yy_bp;", " YY_G(yy_hold_char) = *yy_cp;", " YY_G(yy_c_buf_p) = yy_cp;", "}", "%if-c-only", "]])", "%endif", "#endif", "", "%if-c-only", "#ifndef YY_NO_INPUT", "#ifdef __cplusplus", " static int yyinput (M4_YY_DEF_ONLY_ARG)", "#else", " static int input (M4_YY_DEF_ONLY_ARG)", "#endif", "", "%endif", "%if-c++-only", " int yyFlexLexer::yyinput()", "%endif", "{", " int c;", " M4_YY_DECL_GUTS_VAR();", "", " *YY_G(yy_c_buf_p) = YY_G(yy_hold_char);", "", " if ( *YY_G(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_G(yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[YY_G(yy_n_chars)] )", " /* This was really a NUL. */", " *YY_G(yy_c_buf_p) = '\\0';", "", " else", " { /* need more input */", " int offset = (int) (YY_G(yy_c_buf_p) - YY_G(yytext_ptr));", " ++YY_G(yy_c_buf_p);", "", " switch ( yy_get_next_buffer( M4_YY_CALL_ONLY_ARG ) )", " {", " 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 M4_YY_CALL_LAST_ARG);", "", " /*FALLTHROUGH*/", "", " case EOB_ACT_END_OF_FILE:", " {", " if ( yywrap( M4_YY_CALL_ONLY_ARG ) )", "#ifdef YY_FLEX_LEX_COMPAT", " return 0;", "#else", " return EOF;", "#endif", "", " if ( ! YY_G(yy_did_buffer_switch_on_eof) )", " YY_NEW_FILE;", "#ifdef __cplusplus", " return yyinput(M4_YY_CALL_ONLY_ARG);", "#else", " return input(M4_YY_CALL_ONLY_ARG);", "#endif", " }", "", " case EOB_ACT_CONTINUE_SCAN:", " YY_G(yy_c_buf_p) = YY_G(yytext_ptr) + offset;", " break;", " }", " }", " }", "", " c = *(unsigned char *) YY_G(yy_c_buf_p); /* cast for 8-bit char's */", " *YY_G(yy_c_buf_p) = '\\0'; /* preserve yytext */", " YY_G(yy_hold_char) = *++YY_G(yy_c_buf_p);", "", "%% [19.0] update BOL and yylineno", "", " return c;", "}", "%if-c-only", "#endif /* ifndef YY_NO_INPUT */", "%endif", "", "/** Immediately switch to a different input stream.", " * @param input_file A readable stream.", " * M4_YY_DOC_PARAM", " * @note This function does not reset the start condition to @c INITIAL .", " */", "%if-c-only", " void yyrestart YYFARGS1( FILE *,input_file)", "%endif", "%if-c++-only", " void yyFlexLexer::yyrestart( std::istream& input_file )", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", "", " if ( ! YY_CURRENT_BUFFER ){", " yyensure_buffer_stack (M4_YY_CALL_ONLY_ARG);", " YY_CURRENT_BUFFER_LVALUE =", " yy_create_buffer( yyin, YY_BUF_SIZE M4_YY_CALL_LAST_ARG);", " }", "", " yy_init_buffer( YY_CURRENT_BUFFER, input_file M4_YY_CALL_LAST_ARG);", " yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );", "}", "", "%if-c++-only", "/** Delegate to the new version that takes an istream reference.", " * @param input_file A readable stream.", " * M4_YY_DOC_PARAM", " * @note This function does not reset the start condition to @c INITIAL .", " */", "void yyFlexLexer::yyrestart( std::istream* input_file )", "{", " if( ! input_file ) {", " input_file = &yyin;", " }", " yyrestart( *input_file );", "}", "%endif", "", "/** Switch to a different input buffer.", " * @param new_buffer The new input buffer.", " * M4_YY_DOC_PARAM", " */", "%if-c-only", " void yy_switch_to_buffer YYFARGS1( YY_BUFFER_STATE ,new_buffer)", "%endif", "%if-c++-only", " void yyFlexLexer::yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", "", " /* TODO. We should be able to replace this entire function body", " * with", " * yypop_buffer_state();", " * yypush_buffer_state(new_buffer);", " */", " yyensure_buffer_stack (M4_YY_CALL_ONLY_ARG);", " if ( YY_CURRENT_BUFFER == new_buffer )", " return;", "", " if ( YY_CURRENT_BUFFER )", " {", " /* Flush out information for old buffer. */", " *YY_G(yy_c_buf_p) = YY_G(yy_hold_char);", " YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = YY_G(yy_c_buf_p);", " YY_CURRENT_BUFFER_LVALUE->yy_n_chars = YY_G(yy_n_chars);", " }", "", " YY_CURRENT_BUFFER_LVALUE = new_buffer;", " yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );", "", " /* 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_G(yy_did_buffer_switch_on_eof) = 1;", "}", "", "", "%if-c-only", "static void yy_load_buffer_state (M4_YY_DEF_ONLY_ARG)", "%endif", "%if-c++-only", " void yyFlexLexer::yy_load_buffer_state()", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " YY_G(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;", " YY_G(yytext_ptr) = YY_G(yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;", "%if-c-only", " yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;", "%endif", "%if-c++-only", " yyin.rdbuf(YY_CURRENT_BUFFER_LVALUE->yy_input_file);", "%endif", " YY_G(yy_hold_char) = *YY_G(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.", " * M4_YY_DOC_PARAM", " * @return the allocated buffer state.", " */", "%if-c-only", " YY_BUFFER_STATE yy_create_buffer YYFARGS2( FILE *,file, int ,size)", "%endif", "%if-c++-only", " YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream& file, int size )", "%endif", "{", " YY_BUFFER_STATE b;", " m4_dnl M4_YY_DECL_GUTS_VAR();", "", " b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) M4_YY_CALL_LAST_ARG );", " 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( (yy_size_t) (b->yy_buf_size + 2) M4_YY_CALL_LAST_ARG );", " 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 M4_YY_CALL_LAST_ARG);", "", " return b;", "}", "", "%if-c++-only", "/** Delegate creation of buffers to the new version that takes an istream reference.", " * @param file A readable stream.", " * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.", " * M4_YY_DOC_PARAM", " * @return the allocated buffer state.", " */", " YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream* file, int size )", "{", " return yy_create_buffer( *file, size );", "}", "%endif", "", "/** Destroy the buffer.", " * @param b a buffer created with yy_create_buffer()", " * M4_YY_DOC_PARAM", " */", "%if-c-only", " void yy_delete_buffer YYFARGS1( YY_BUFFER_STATE ,b)", "%endif", "%if-c++-only", " void yyFlexLexer::yy_delete_buffer( YY_BUFFER_STATE b )", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", "", " 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 M4_YY_CALL_LAST_ARG );", "", " yyfree( (void *) b M4_YY_CALL_LAST_ARG );", "}", "", "", "/* 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.", " */", "%if-c-only", " static void yy_init_buffer YYFARGS2( YY_BUFFER_STATE ,b, FILE *,file)", "%endif", "%if-c++-only", " void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, std::istream& file )", "%endif", "", "{", " int oerrno = errno;", " M4_YY_DECL_GUTS_VAR();", "", " yy_flush_buffer( b M4_YY_CALL_LAST_ARG);", "", "%if-c-only", " b->yy_input_file = file;", "%endif", "%if-c++-only", " b->yy_input_file = file.rdbuf();", "%endif", " b->yy_fill_buffer = 1;", "", " /* If b is the current buffer, then yy_init_buffer was _probably_", " * called from yyrestart() or through yy_get_next_buffer.", " * In that case, we don't want to reset the lineno or column.", " */", " if (b != YY_CURRENT_BUFFER){", " b->yy_bs_lineno = 1;", " b->yy_bs_column = 0;", " }", "", "%if-c-only", "m4_ifdef( [[M4_YY_ALWAYS_INTERACTIVE]],", "[[", " b->yy_is_interactive = 1;", "]],", "[[", " m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],", " [[", " b->yy_is_interactive = 0;", " ]],", " [[", " b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;", " ]])", "]])", "%endif", "%if-c++-only", " b->yy_is_interactive = 0;", "%endif", " 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.", " * M4_YY_DOC_PARAM", " */", "%if-c-only", " void yy_flush_buffer YYFARGS1( YY_BUFFER_STATE ,b)", "%endif", "%if-c++-only", " void yyFlexLexer::yy_flush_buffer( YY_BUFFER_STATE b )", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " 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( M4_YY_CALL_ONLY_ARG );", "}", "", "%if-c-or-c++", "/** 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.", " * M4_YY_DOC_PARAM", " */", "%if-c-only", "void yypush_buffer_state YYFARGS1(YY_BUFFER_STATE,new_buffer)", "%endif", "%if-c++-only", "void yyFlexLexer::yypush_buffer_state (YY_BUFFER_STATE new_buffer)", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " if (new_buffer == NULL)", " return;", "", " yyensure_buffer_stack(M4_YY_CALL_ONLY_ARG);", "", " /* This block is copied from yy_switch_to_buffer. */", " if ( YY_CURRENT_BUFFER )", " {", " /* Flush out information for old buffer. */", " *YY_G(yy_c_buf_p) = YY_G(yy_hold_char);", " YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = YY_G(yy_c_buf_p);", " YY_CURRENT_BUFFER_LVALUE->yy_n_chars = YY_G(yy_n_chars);", " }", "", " /* Only push if top exists. Otherwise, replace top. */", " if (YY_CURRENT_BUFFER)", " YY_G(yy_buffer_stack_top)++;", " YY_CURRENT_BUFFER_LVALUE = new_buffer;", "", " /* copied from yy_switch_to_buffer. */", " yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );", " YY_G(yy_did_buffer_switch_on_eof) = 1;", "}", "%endif", "", "", "%if-c-or-c++", "/** Removes and deletes the top of the stack, if present.", " * The next element becomes the new top.", " * M4_YY_DOC_PARAM", " */", "%if-c-only", "void yypop_buffer_state (M4_YY_DEF_ONLY_ARG)", "%endif", "%if-c++-only", "void yyFlexLexer::yypop_buffer_state (void)", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " if (!YY_CURRENT_BUFFER)", " return;", "", " yy_delete_buffer(YY_CURRENT_BUFFER M4_YY_CALL_LAST_ARG);", " YY_CURRENT_BUFFER_LVALUE = NULL;", " if (YY_G(yy_buffer_stack_top) > 0)", " --YY_G(yy_buffer_stack_top);", "", " if (YY_CURRENT_BUFFER) {", " yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );", " YY_G(yy_did_buffer_switch_on_eof) = 1;", " }", "}", "%endif", "", "", "%if-c-or-c++", "/* Allocates the stack if it does not exist.", " * Guarantees space for at least one push.", " */", "%if-c-only", "static void yyensure_buffer_stack (M4_YY_DEF_ONLY_ARG)", "%endif", "%if-c++-only", "void yyFlexLexer::yyensure_buffer_stack(void)", "%endif", "{", " yy_size_t num_to_alloc;", " M4_YY_DECL_GUTS_VAR();", "", " if (!YY_G(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; /* After all that talk, this was set to 1 anyways... */", " YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc", " (num_to_alloc * sizeof(struct yy_buffer_state*)", " M4_YY_CALL_LAST_ARG);", " if ( ! YY_G(yy_buffer_stack) )", " YY_FATAL_ERROR( \"out of dynamic memory in yyensure_buffer_stack()\" );", "", "", " memset(YY_G(yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));", "", " YY_G(yy_buffer_stack_max) = num_to_alloc;", " YY_G(yy_buffer_stack_top) = 0;", " return;", " }", "", " if (YY_G(yy_buffer_stack_top) >= (YY_G(yy_buffer_stack_max)) - 1){", "", " /* Increase the buffer to prepare for a possible push. */", " yy_size_t grow_size = 8 /* arbitrary grow size */;", "", " num_to_alloc = YY_G(yy_buffer_stack_max) + grow_size;", " YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc", " (YY_G(yy_buffer_stack),", " num_to_alloc * sizeof(struct yy_buffer_state*)", " M4_YY_CALL_LAST_ARG);", " if ( ! YY_G(yy_buffer_stack) )", " YY_FATAL_ERROR( \"out of dynamic memory in yyensure_buffer_stack()\" );", "", " /* zero only the new slots.*/", " memset(YY_G(yy_buffer_stack) + YY_G(yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));", " YY_G(yy_buffer_stack_max) = num_to_alloc;", " }", "}", "%endif", "", "", "", "", "m4_ifdef( [[M4_YY_NO_SCAN_BUFFER]],,", "[[", "%if-c-only", "/** 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", " * M4_YY_DOC_PARAM", " * @return the newly allocated buffer state object.", " */", "YY_BUFFER_STATE yy_scan_buffer YYFARGS2( char *,base, yy_size_t ,size)", "{", " YY_BUFFER_STATE b;", " m4_dnl M4_YY_DECL_GUTS_VAR();", "", " 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 NULL;", "", " b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) M4_YY_CALL_LAST_ARG );", " if ( ! b )", " YY_FATAL_ERROR( \"out of dynamic memory in yy_scan_buffer()\" );", "", " b->yy_buf_size = (int) (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 = NULL;", " 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 M4_YY_CALL_LAST_ARG );", "", " return b;", "}", "%endif", "]])", "", "", "m4_ifdef( [[M4_YY_NO_SCAN_STRING]],,", "[[", "%if-c-only", "/** 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", " * M4_YY_DOC_PARAM", " * @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 YYFARGS1( const char *, yystr)", "{", " m4_dnl M4_YY_DECL_GUTS_VAR();", "", " return yy_scan_bytes( yystr, (int) strlen(yystr) M4_YY_CALL_LAST_ARG);", "}", "%endif", "]])", "", "", "m4_ifdef( [[M4_YY_NO_SCAN_BYTES]],,", "[[", "%if-c-only", "/** 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.", " * M4_YY_DOC_PARAM", " * @return the newly allocated buffer state object.", " */", "YY_BUFFER_STATE yy_scan_bytes YYFARGS2( const char *,yybytes, int ,_yybytes_len)", "{", " YY_BUFFER_STATE b;", " char *buf;", " yy_size_t n;", " int i;", " m4_dnl M4_YY_DECL_GUTS_VAR();", "", " /* Get memory for full buffer, including space for trailing EOB's. */", " n = (yy_size_t) (_yybytes_len + 2);", " buf = (char *) yyalloc( n M4_YY_CALL_LAST_ARG );", " 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 M4_YY_CALL_LAST_ARG);", " 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;", "}", "%endif", "]])", "", "", "m4_ifdef( [[M4_YY_NO_PUSH_STATE]],,", "[[", "%if-c-only", " static void yy_push_state YYFARGS1( int ,_new_state)", "%endif", "%if-c++-only", " void yyFlexLexer::yy_push_state( int _new_state )", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " if ( YY_G(yy_start_stack_ptr) >= YY_G(yy_start_stack_depth) )", " {", " yy_size_t new_size;", "", " YY_G(yy_start_stack_depth) += YY_START_STACK_INCR;", " new_size = (yy_size_t) YY_G(yy_start_stack_depth) * sizeof( int );", "", " if ( ! YY_G(yy_start_stack) )", " YY_G(yy_start_stack) = (int *) yyalloc( new_size M4_YY_CALL_LAST_ARG );", "", " else", " YY_G(yy_start_stack) = (int *) yyrealloc(", " (void *) YY_G(yy_start_stack), new_size M4_YY_CALL_LAST_ARG );", "", " if ( ! YY_G(yy_start_stack) )", " YY_FATAL_ERROR( \"out of memory expanding start-condition stack\" );", " }", "", " YY_G(yy_start_stack)[YY_G(yy_start_stack_ptr)++] = YY_START;", "", " BEGIN(_new_state);", "}", "]])", "", "", "m4_ifdef( [[M4_YY_NO_POP_STATE]],,", "[[", "%if-c-only", " static void yy_pop_state (M4_YY_DEF_ONLY_ARG)", "%endif", "%if-c++-only", " void yyFlexLexer::yy_pop_state()", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " if ( --YY_G(yy_start_stack_ptr) < 0 )", " YY_FATAL_ERROR( \"start-condition stack underflow\" );", "", " BEGIN(YY_G(yy_start_stack)[YY_G(yy_start_stack_ptr)]);", "}", "]])", "", "", "m4_ifdef( [[M4_YY_NO_TOP_STATE]],,", "[[", "%if-c-only", " static int yy_top_state (M4_YY_DEF_ONLY_ARG)", "%endif", "%if-c++-only", " int yyFlexLexer::yy_top_state()", "%endif", "{", " M4_YY_DECL_GUTS_VAR();", " return YY_G(yy_start_stack)[YY_G(yy_start_stack_ptr) - 1];", "}", "]])", "", "#ifndef YY_EXIT_FAILURE", "#define YY_EXIT_FAILURE 2", "#endif", "", "%if-c-only", "static void yynoreturn yy_fatal_error YYFARGS1(const char*, msg)", "{", " M4_YY_DECL_GUTS_VAR();", " M4_YY_NOOP_GUTS_VAR();", " fprintf( stderr, \"%s\\n\", msg );", " exit( YY_EXIT_FAILURE );", "}", "%endif", "%if-c++-only", "void yyFlexLexer::LexerError( const char* msg )", "{", " M4_YY_DECL_GUTS_VAR();", " std::cerr << msg << std::endl;", " exit( YY_EXIT_FAILURE );", "}", "%endif", "", "/* 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_G(yy_hold_char); \\", " YY_G(yy_c_buf_p) = yytext + yyless_macro_arg; \\", " YY_G(yy_hold_char) = *YY_G(yy_c_buf_p); \\", " *YY_G(yy_c_buf_p) = '\\0'; \\", " yyleng = yyless_macro_arg; \\", " } \\", " while ( 0 )", "", "", "", "/* Accessor methods (get/set functions) to struct members. */", "", "%if-c-only", "%if-reentrant", "m4_ifdef( [[M4_YY_NO_GET_EXTRA]],,", "[[", "/** Get the user-defined data for this scanner.", " * M4_YY_DOC_PARAM", " */", "YY_EXTRA_TYPE yyget_extra (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yyextra;", "}", "]])", "%endif", "", "m4_ifdef( [[M4_YY_NO_GET_LINENO]],,", "[[", "/** Get the current line number.", " * M4_YY_DOC_PARAM", " */", "int yyget_lineno (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", "", " m4_ifdef( [[M4_YY_REENTRANT]],", " [[", " if (! YY_CURRENT_BUFFER)", " return 0;", " ]])", " return yylineno;", "}", "]])", "", "m4_ifdef( [[M4_YY_REENTRANT]],", "[[", "m4_ifdef( [[M4_YY_NO_GET_COLUMN]],,", "[[", "/** Get the current column number.", " * M4_YY_DOC_PARAM", " */", "int yyget_column (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", "", " m4_ifdef( [[M4_YY_REENTRANT]],", " [[", " if (! YY_CURRENT_BUFFER)", " return 0;", " ]])", " return yycolumn;", "}", "]])", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_IN]],,", "[[", "/** Get the input stream.", " * M4_YY_DOC_PARAM", " */", "FILE *yyget_in (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yyin;", "}", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_OUT]],,", "[[", "/** Get the output stream.", " * M4_YY_DOC_PARAM", " */", "FILE *yyget_out (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yyout;", "}", "]])", "", "m4_ifdef( [[M4_YY_NO_GET_LENG]],,", "[[", "/** Get the length of the current token.", " * M4_YY_DOC_PARAM", " */", "int yyget_leng (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yyleng;", "}", "]])", "", "/** Get the current token.", " * M4_YY_DOC_PARAM", " */", "m4_ifdef( [[M4_YY_NO_GET_TEXT]],,", "[[", "char *yyget_text (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yytext;", "}", "]])", "", "%if-reentrant", "m4_ifdef( [[M4_YY_NO_SET_EXTRA]],,", "[[", "/** Set the user-defined data. This data is never touched by the scanner.", " * @param user_defined The data to be associated with this scanner.", " * M4_YY_DOC_PARAM", " */", "void yyset_extra YYFARGS1( YY_EXTRA_TYPE ,user_defined)", "{", " M4_YY_DECL_GUTS_VAR();", " yyextra = user_defined ;", "}", "]])", "%endif", "", "m4_ifdef( [[M4_YY_NO_SET_LINENO]],,", "[[", "/** Set the current line number.", " * @param _line_number line number", " * M4_YY_DOC_PARAM", " */", "void yyset_lineno YYFARGS1( int ,_line_number)", "{", " M4_YY_DECL_GUTS_VAR();", "", " m4_ifdef( [[M4_YY_REENTRANT]],", " [[", " /* lineno is only valid if an input buffer exists. */", " if (! YY_CURRENT_BUFFER )", " YY_FATAL_ERROR( \"yyset_lineno called with no buffer\" );", " ]])", " yylineno = _line_number;", "}", "]])", "", "m4_ifdef( [[M4_YY_REENTRANT]],", "[[", "m4_ifdef( [[M4_YY_NO_SET_COLUMN]],,", "[[", "/** Set the current column.", " * @param _column_no column number", " * M4_YY_DOC_PARAM", " */", "void yyset_column YYFARGS1( int , _column_no)", "{", " M4_YY_DECL_GUTS_VAR();", "", " m4_ifdef( [[M4_YY_REENTRANT]],", " [[", " /* column is only valid if an input buffer exists. */", " if (! YY_CURRENT_BUFFER )", " YY_FATAL_ERROR( \"yyset_column called with no buffer\" );", " ]])", " yycolumn = _column_no;", "}", "]])", "]])", "", "", "m4_ifdef( [[M4_YY_NO_SET_IN]],,", "[[", "/** Set the input stream. This does not discard the current", " * input buffer.", " * @param _in_str A readable stream.", " * M4_YY_DOC_PARAM", " * @see yy_switch_to_buffer", " */", "void yyset_in YYFARGS1( FILE * ,_in_str)", "{", " M4_YY_DECL_GUTS_VAR();", " yyin = _in_str ;", "}", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_OUT]],,", "[[", "void yyset_out YYFARGS1( FILE * ,_out_str)", "{", " M4_YY_DECL_GUTS_VAR();", " yyout = _out_str ;", "}", "]])", "", "", "m4_ifdef( [[M4_YY_NO_GET_DEBUG]],,", "[[", "int yyget_debug (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yy_flex_debug;", "}", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_DEBUG]],,", "[[", "void yyset_debug YYFARGS1( int ,_bdebug)", "{", " M4_YY_DECL_GUTS_VAR();", " yy_flex_debug = _bdebug ;", "}", "]])", "%endif", "", "%if-reentrant", "/* Accessor methods for yylval and yylloc */", "", "%if-bison-bridge", "m4_ifdef( [[M4_YY_NO_GET_LVAL]],,", "[[", "YYSTYPE * yyget_lval (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yylval;", "}", "]])", "", "m4_ifdef( [[M4_YY_NO_SET_LVAL]],,", "[[", "void yyset_lval YYFARGS1( YYSTYPE * ,yylval_param)", "{", " M4_YY_DECL_GUTS_VAR();", " yylval = yylval_param;", "}", "]])", "", "m4_ifdef( [[]],", "[[", " m4_ifdef( [[M4_YY_NO_GET_LLOC]],,", " [[", "YYLTYPE *yyget_lloc (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " return yylloc;", "}", " ]])", "", " m4_ifdef( [[M4_YY_NO_SET_LLOC]],,", " [[", "void yyset_lloc YYFARGS1( YYLTYPE * ,yylloc_param)", "{", " M4_YY_DECL_GUTS_VAR();", " yylloc = yylloc_param;", "}", " ]])", "]])", "", "%endif", "", "", "/* User-visible API */", "", "/* yylex_init is special because it creates the scanner itself, so it is", " * the ONLY reentrant function that doesn't take the scanner as the last argument.", " * That's why we explicitly handle the declaration, instead of using our macros.", " */", "int yylex_init(yyscan_t* ptr_yy_globals)", "{", " if (ptr_yy_globals == NULL){", " errno = EINVAL;", " return 1;", " }", "", " *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL );", "", " if (*ptr_yy_globals == NULL){", " errno = ENOMEM;", " return 1;", " }", "", " /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */", " memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));", "", " return yy_init_globals ( *ptr_yy_globals );", "}", "", "", "/* yylex_init_extra has the same functionality as yylex_init, but follows the", " * convention of taking the scanner as the last argument. Note however, that", " * this is a *pointer* to a scanner, as it will be allocated by this call (and", " * is the reason, too, why this function also must handle its own declaration).", " * The user defined value in the first argument will be available to yyalloc in", " * the yyextra field.", " */", "int yylex_init_extra( YY_EXTRA_TYPE yy_user_defined, yyscan_t* ptr_yy_globals )", "{", " struct yyguts_t dummy_yyguts;", "", " yyset_extra (yy_user_defined, &dummy_yyguts);", "", " if (ptr_yy_globals == NULL){", " errno = EINVAL;", " return 1;", " }", "", " *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts );", "", " if (*ptr_yy_globals == NULL){", " errno = ENOMEM;", " return 1;", " }", "", " /* By setting to 0xAA, we expose bugs in", " yy_init_globals. Leave at 0x00 for releases. */", " memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));", "", " yyset_extra (yy_user_defined, *ptr_yy_globals);", "", " return yy_init_globals ( *ptr_yy_globals );", "}", "", "%endif if-c-only", "", "%if-c-only", "static int yy_init_globals (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", " /* Initialization is the same as for the non-reentrant scanner.", " * This function is called from yylex_destroy(), so don't allocate here.", " */", "", "m4_ifdef( [[M4_YY_USE_LINENO]],", "[[", " m4_ifdef( [[M4_YY_NOT_REENTRANT]],", " [[", " /* We do not touch yylineno unless the option is enabled. */", " yylineno = 1;", " ]])", "]])", " YY_G(yy_buffer_stack) = NULL;", " YY_G(yy_buffer_stack_top) = 0;", " YY_G(yy_buffer_stack_max) = 0;", " YY_G(yy_c_buf_p) = NULL;", " YY_G(yy_init) = 0;", " YY_G(yy_start) = 0;", "", "m4_ifdef( [[M4_YY_HAS_START_STACK_VARS]],", "[[", " YY_G(yy_start_stack_ptr) = 0;", " YY_G(yy_start_stack_depth) = 0;", " YY_G(yy_start_stack) = NULL;", "]])", "", "m4_ifdef( [[M4_YY_USES_REJECT]],", "[[", " YY_G(yy_state_buf) = 0;", " YY_G(yy_state_ptr) = 0;", " YY_G(yy_full_match) = 0;", " YY_G(yy_lp) = 0;", "]])", "", "m4_ifdef( [[M4_YY_TEXT_IS_ARRAY]],", "[[", " YY_G(yytext_ptr) = 0;", " YY_G(yy_more_offset) = 0;", " YY_G(yy_prev_more_offset) = 0;", "]])", "", "/* Defined in main.c */", "#ifdef YY_STDINIT", " yyin = stdin;", " yyout = stdout;", "#else", " yyin = NULL;", " yyout = NULL;", "#endif", "", " /* For future reference: Set errno on error, since we are called by", " * yylex_init()", " */", " return 0;", "}", "%endif", "", "", "%if-c-only SNIP! this currently causes conflicts with the c++ scanner", "/* yylex_destroy is for both reentrant and non-reentrant scanners. */", "int yylex_destroy (M4_YY_DEF_ONLY_ARG)", "{", " M4_YY_DECL_GUTS_VAR();", "", " /* Pop the buffer stack, destroying each element. */", " while(YY_CURRENT_BUFFER){", " yy_delete_buffer( YY_CURRENT_BUFFER M4_YY_CALL_LAST_ARG );", " YY_CURRENT_BUFFER_LVALUE = NULL;", " yypop_buffer_state(M4_YY_CALL_ONLY_ARG);", " }", "", " /* Destroy the stack itself. */", " yyfree(YY_G(yy_buffer_stack) M4_YY_CALL_LAST_ARG);", " YY_G(yy_buffer_stack) = NULL;", "", "m4_ifdef( [[M4_YY_HAS_START_STACK_VARS]],", "[[", " /* Destroy the start condition stack. */", " yyfree( YY_G(yy_start_stack) M4_YY_CALL_LAST_ARG );", " YY_G(yy_start_stack) = NULL;", "]])", "", "m4_ifdef( [[M4_YY_USES_REJECT]],", "[[", " yyfree ( YY_G(yy_state_buf) M4_YY_CALL_LAST_ARG);", " YY_G(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( M4_YY_CALL_ONLY_ARG);", "", "%if-reentrant", " /* Destroy the main struct (reentrant only). */", " yyfree ( yyscanner M4_YY_CALL_LAST_ARG );", " yyscanner = NULL;", "%endif", " return 0;", "}", "%endif", "", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "/*", " * Internal utility routines.", " */", "]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "#ifndef yytext_ptr", "static void yy_flex_strncpy YYFARGS3( char*,s1, const char *,s2, int,n)", "{", " M4_YY_DECL_GUTS_VAR();", " M4_YY_NOOP_GUTS_VAR();", "", " int i;", " for ( i = 0; i < n; ++i )", " s1[i] = s2[i];", "}", "#endif", "]])", "", "m4_ifdef( [[M4_YY_NOT_IN_HEADER]],", "[[", "#ifdef YY_NEED_STRLEN", "static int yy_flex_strlen YYFARGS1( const char *,s)", "{", " int n;", " for ( n = 0; s[n]; ++n )", " ;", "", " return n;", "}", "#endif", "]])", "", "m4_ifdef( [[M4_YY_NO_FLEX_ALLOC]],,", "[[", "void *yyalloc YYFARGS1( yy_size_t ,size)", "{", " M4_YY_DECL_GUTS_VAR();", " M4_YY_NOOP_GUTS_VAR();", " return malloc(size);", "}", "]])", "", "m4_ifdef( [[M4_YY_NO_FLEX_REALLOC]],,", "[[", "void *yyrealloc YYFARGS2( void *,ptr, yy_size_t ,size)", "{", " M4_YY_DECL_GUTS_VAR();", " M4_YY_NOOP_GUTS_VAR();", "", " /* 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 realloc(ptr, size);", "}", "]])", "", "m4_ifdef( [[M4_YY_NO_FLEX_FREE]],,", "[[", "void yyfree YYFARGS1( void *,ptr)", "{", " M4_YY_DECL_GUTS_VAR();", " M4_YY_NOOP_GUTS_VAR();", " free( (char *) ptr ); /* see yyrealloc() for (char *) cast */", "}", "]])", "", "%if-tables-serialization definitions", "#ifdef FLEX_SCANNER", "/*", "dnl tables_shared.c - tables serialization code", "dnl ", "dnl Copyright (c) 1990 The Regents of the University of California.", "dnl All rights reserved.", "dnl ", "dnl This code is derived from software contributed to Berkeley by", "dnl Vern Paxson.", "dnl ", "dnl The United States Government has rights in this work pursuant", "dnl to contract no. DE-AC03-76SF00098 between the United States", "dnl Department of Energy and the University of California.", "dnl ", "dnl This file is part of flex.", "dnl ", "dnl Redistribution and use in source and binary forms, with or without", "dnl modification, are permitted provided that the following conditions", "dnl are met:", "dnl ", "dnl 1. Redistributions of source code must retain the above copyright", "dnl notice, this list of conditions and the following disclaimer.", "dnl 2. Redistributions in binary form must reproduce the above copyright", "dnl notice, this list of conditions and the following disclaimer in the", "dnl documentation and/or other materials provided with the distribution.", "dnl ", "dnl Neither the name of the University nor the names of its contributors", "dnl may be used to endorse or promote products derived from this software", "dnl without specific prior written permission.", "dnl ", "dnl THIS SOFTWARE IS PROVIDED `AS IS' AND WITHOUT ANY EXPRESS OR", "dnl IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED", "dnl WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR", "dnl PURPOSE.", "dnl ", "*/", " ", "/* This file is meant to be included in both the skeleton and the actual", " * flex code (hence the name \"_shared\"). ", " */", "#ifndef yyskel_static", "#define yyskel_static static", "#endif", "#else", "#include \"flexdef.h\"", "#include \"tables.h\"", "#ifndef yyskel_static", "#define yyskel_static", "#endif", "#endif", "", "", "/** Get the number of integers in this table. This is NOT the", " * same thing as the number of elements.", " * @param tbl the table", " * @return the number of integers in the table", " */", "yyskel_static flex_int32_t yytbl_calc_total_len (const struct yytbl_data *tbl)", "{", " flex_uint32_t n;", "", " /* total number of ints */", " n = tbl->td_lolen;", " if (tbl->td_hilen > 0)", " n *= tbl->td_hilen;", "", " if (tbl->td_id == YYTD_ID_TRANSITION)", " n *= 2;", " return (flex_int32_t) n;", "}", "", "", "static int yytbl_read8 (void *v, struct yytbl_reader * rd)", "{", " errno = 0;", " if (fread (v, sizeof (flex_uint8_t), 1, rd->fp) != 1){", " errno = EIO;", " return -1;", " }", " rd->bread += (flex_uint32_t) sizeof(flex_uint8_t);", " return 0;", "}", "", "static int yytbl_read16 (void *v, struct yytbl_reader * rd)", "{", " errno = 0;", " if (fread (v, sizeof (flex_uint16_t), 1, rd->fp) != 1){", " errno = EIO;", " return -1;", " }", " *((flex_uint16_t *) v) = ntohs (*((flex_uint16_t *) v));", " rd->bread += (flex_uint32_t) sizeof(flex_uint16_t);", " return 0;", "}", "", "static int yytbl_read32 (void *v, struct yytbl_reader * rd)", "{", " errno = 0;", " if (fread (v, sizeof (flex_uint32_t), 1, rd->fp) != 1){", " errno = EIO;", " return -1;", " }", " *((flex_uint32_t *) v) = ntohl (*((flex_uint32_t *) v));", " rd->bread += (flex_uint32_t) sizeof(flex_uint32_t);", " return 0;", "}", "", "/** Read the header */", "static int yytbl_hdr_read YYFARGS2(struct yytbl_hdr *, th, struct yytbl_reader *, rd)", "{", " size_t bytes;", " memset (th, 0, sizeof (struct yytbl_hdr));", "", " if (yytbl_read32 (&(th->th_magic), rd) != 0)", " return -1;", "", " if (th->th_magic != YYTBL_MAGIC){", " YY_FATAL_ERROR( \"bad magic number\" ); /* TODO: not fatal. */", " return -1;", " }", "", " if (yytbl_read32 (&(th->th_hsize), rd) != 0", " || yytbl_read32 (&(th->th_ssize), rd) != 0", " || yytbl_read16 (&(th->th_flags), rd) != 0)", " return -1;", "", " /* Sanity check on header size. Greater than 1k suggests some funny business. */", " if (th->th_hsize < 16 || th->th_hsize > 1024){", " YY_FATAL_ERROR( \"insane header size detected\" ); /* TODO: not fatal. */", " return -1;", " }", "", " /* Allocate enough space for the version and name fields */", " bytes = th->th_hsize - 14;", " th->th_version = (char *) yyalloc (bytes M4_YY_CALL_LAST_ARG);", " if ( ! th->th_version )", " YY_FATAL_ERROR( \"out of dynamic memory in yytbl_hdr_read()\" );", "", " /* we read it all into th_version, and point th_name into that data */", " if (fread (th->th_version, 1, bytes, rd->fp) != bytes){", " errno = EIO;", " yyfree(th->th_version M4_YY_CALL_LAST_ARG);", " th->th_version = NULL;", " return -1;", " }", " else", " rd->bread += (flex_uint32_t) bytes;", "", " th->th_name = th->th_version + strlen (th->th_version) + 1;", " return 0;", "}", "", "/** lookup id in the dmap list.", " * @param dmap pointer to first element in list", " * @return NULL if not found.", " */", "static struct yytbl_dmap *yytbl_dmap_lookup YYFARGS2(struct yytbl_dmap *, dmap,", " int, id)", "{", " M4_YY_DECL_GUTS_VAR();", " M4_YY_NOOP_GUTS_VAR();", "", " while (dmap->dm_id)", " if ((int)(dmap->dm_id) == id)", " return dmap;", " else", " dmap++;", " return NULL;", "}", "", "/** Read a table while mapping its contents to the local array.", " * @param dmap used to performing mapping", " * @return 0 on success", " */", "static int yytbl_data_load YYFARGS2(struct yytbl_dmap *, dmap, struct yytbl_reader*, rd)", "{", " struct yytbl_data td;", " struct yytbl_dmap *transdmap=0;", " int len, i, rv, inner_loop_count;", " void *p=0;", "", " memset (&td, 0, sizeof (struct yytbl_data));", "", " if (yytbl_read16 (&td.td_id, rd) != 0", " || yytbl_read16 (&td.td_flags, rd) != 0", " || yytbl_read32 (&td.td_hilen, rd) != 0", " || yytbl_read32 (&td.td_lolen, rd) != 0)", " return -1;", "", " /* Lookup the map for the transition table so we have it in case we need it", " * inside the loop below. This scanner might not even have a transition", " * table, which is ok.", " */", " transdmap = yytbl_dmap_lookup (dmap, YYTD_ID_TRANSITION M4_YY_CALL_LAST_ARG);", "", " if ((dmap = yytbl_dmap_lookup (dmap, td.td_id M4_YY_CALL_LAST_ARG)) == NULL){", " YY_FATAL_ERROR( \"table id not found in map.\" ); /* TODO: not fatal. */", " return -1;", " }", "", " /* Allocate space for table.", " * The --full yy_transition table is a special case, since we", " * need the dmap.dm_sz entry to tell us the sizeof the individual", " * struct members.", " */", " {", " size_t bytes;", "", " if ((td.td_flags & YYTD_STRUCT))", " bytes = sizeof(struct yy_trans_info) * td.td_lolen * (td.td_hilen ? td.td_hilen : 1);", " else", " bytes = td.td_lolen * (td.td_hilen ? td.td_hilen : 1) * dmap->dm_sz;", "", " if(M4_YY_TABLES_VERIFY)", " /* We point to the array itself */", " p = dmap->dm_arr;", " else", " /* We point to the address of a pointer. */", " *dmap->dm_arr = p = (void *) yyalloc (bytes M4_YY_CALL_LAST_ARG);", " if ( ! p )", " YY_FATAL_ERROR( \"out of dynamic memory in yytbl_data_load()\" );", " }", "", " /* If it's a struct, we read 2 integers to get one element */", " if ((td.td_flags & YYTD_STRUCT) != 0)", " inner_loop_count = 2;", " else", " inner_loop_count = 1;", "", " /* read and map each element.", " * This loop iterates once for each element of the td_data array.", " * Notice that we increment 'i' in the inner loop.", " */", " len = yytbl_calc_total_len (&td);", " for (i = 0; i < len; ){", " int j;", "", "", " /* This loop really executes exactly 1 or 2 times.", " * The second time is to handle the second member of the", " * YYTD_STRUCT for the yy_transition array.", " */", " for (j = 0; j < inner_loop_count; j++, i++) {", " flex_int32_t t32;", "", " /* read into t32 no matter what the real size is. */", " {", " flex_int16_t t16;", " flex_int8_t t8;", "", " switch (YYTDFLAGS2BYTES (td.td_flags)) {", " case sizeof (flex_int32_t):", " rv = yytbl_read32 (&t32, rd);", " break;", " case sizeof (flex_int16_t):", " rv = yytbl_read16 (&t16, rd);", " t32 = t16;", " break;", " case sizeof (flex_int8_t):", " rv = yytbl_read8 (&t8, rd);", " t32 = t8;", " break;", " default:", " YY_FATAL_ERROR( \"invalid td_flags\" ); /* TODO: not fatal. */", " return -1;", " }", " }", " if (rv != 0)", " return -1;", "", " /* copy into the deserialized array... */", "", " if ((td.td_flags & YYTD_STRUCT)) {", " /* t32 is the j'th member of a two-element struct. */", " void *v;", "", " v = j == 0 ? &(((struct yy_trans_info *) p)->yy_verify)", " : &(((struct yy_trans_info *) p)->yy_nxt);", "", " switch (dmap->dm_sz) {", " case sizeof (flex_int32_t):", " if (M4_YY_TABLES_VERIFY){", " if( ((flex_int32_t *) v)[0] != (flex_int32_t) t32)", " YY_FATAL_ERROR( \"tables verification failed at YYTD_STRUCT flex_int32_t\" );", " }else", " ((flex_int32_t *) v)[0] = (flex_int32_t) t32;", " break;", " case sizeof (flex_int16_t):", " if (M4_YY_TABLES_VERIFY ){", " if(((flex_int16_t *) v)[0] != (flex_int16_t) t32)", " YY_FATAL_ERROR( \"tables verification failed at YYTD_STRUCT flex_int16_t\" );", " }else", " ((flex_int16_t *) v)[0] = (flex_int16_t) t32;", " break;", " case sizeof(flex_int8_t):", " if (M4_YY_TABLES_VERIFY ){", " if( ((flex_int8_t *) v)[0] != (flex_int8_t) t32)", " YY_FATAL_ERROR( \"tables verification failed at YYTD_STRUCT flex_int8_t\" );", " }else", " ((flex_int8_t *) v)[0] = (flex_int8_t) t32;", " break;", " default:", " YY_FATAL_ERROR( \"invalid dmap->dm_sz for struct\" ); /* TODO: not fatal. */", " return -1;", " }", "", " /* if we're done with j, increment p */", " if (j == 1)", " p = (struct yy_trans_info *) p + 1;", " }", " else if ((td.td_flags & YYTD_PTRANS)) {", " /* t32 is an index into the transition array. */", " struct yy_trans_info *v;", "", "", " if (!transdmap){", " YY_FATAL_ERROR( \"transition table not found\" ); /* TODO: not fatal. */", " return -1;", " }", "", " if( M4_YY_TABLES_VERIFY)", " v = &(((struct yy_trans_info *) (transdmap->dm_arr))[t32]);", " else", " v = &((*((struct yy_trans_info **) (transdmap->dm_arr)))[t32]);", "", " if(M4_YY_TABLES_VERIFY ){", " if( ((struct yy_trans_info **) p)[0] != v)", " YY_FATAL_ERROR( \"tables verification failed at YYTD_PTRANS\" );", " }else", " ((struct yy_trans_info **) p)[0] = v;", "", " /* increment p */", " p = (struct yy_trans_info **) p + 1;", " }", " else {", " /* t32 is a plain int. copy data, then incrememnt p. */", " switch (dmap->dm_sz) {", " case sizeof (flex_int32_t):", " if(M4_YY_TABLES_VERIFY ){", " if( ((flex_int32_t *) p)[0] != (flex_int32_t) t32)", " YY_FATAL_ERROR( \"tables verification failed at flex_int32_t\" );", " }else", " ((flex_int32_t *) p)[0] = (flex_int32_t) t32;", " p = ((flex_int32_t *) p) + 1;", " break;", " case sizeof (flex_int16_t):", " if(M4_YY_TABLES_VERIFY ){", " if( ((flex_int16_t *) p)[0] != (flex_int16_t) t32)", " YY_FATAL_ERROR( \"tables verification failed at flex_int16_t\" );", " }else", " ((flex_int16_t *) p)[0] = (flex_int16_t) t32;", " p = ((flex_int16_t *) p) + 1;", " break;", " case sizeof (flex_int8_t):", " if(M4_YY_TABLES_VERIFY ){", " if( ((flex_int8_t *) p)[0] != (flex_int8_t) t32)", " YY_FATAL_ERROR( \"tables verification failed at flex_int8_t\" );", " }else", " ((flex_int8_t *) p)[0] = (flex_int8_t) t32;", " p = ((flex_int8_t *) p) + 1;", " break;", " default:", " YY_FATAL_ERROR( \"invalid dmap->dm_sz for plain int\" ); /* TODO: not fatal. */", " return -1;", " }", " }", " }", "", " }", "", " /* Now eat padding. */", " {", " int pad;", " pad = yypad64(rd->bread);", " while(--pad >= 0){", " flex_int8_t t8;", " if(yytbl_read8(&t8,rd) != 0)", " return -1;", " }", " }", "", " return 0;", "}", "", "%define-yytables The name for this specific scanner's tables.", "", "/* Find the key and load the DFA tables from the given stream. */", "static int yytbl_fload YYFARGS2(FILE *, fp, const char *, key)", "{", " int rv=0;", " struct yytbl_hdr th;", " struct yytbl_reader rd;", "", " rd.fp = fp;", " th.th_version = NULL;", "", " /* Keep trying until we find the right set of tables or end of file. */", " while (!feof(rd.fp)) {", " rd.bread = 0;", " if (yytbl_hdr_read (&th, &rd M4_YY_CALL_LAST_ARG) != 0){", " rv = -1;", " goto return_rv;", " }", "", " /* A NULL key means choose the first set of tables. */", " if (key == NULL)", " break;", "", " if (strcmp(th.th_name,key) != 0){", " /* Skip ahead to next set */", " fseek(rd.fp, th.th_ssize - th.th_hsize, SEEK_CUR);", " yyfree(th.th_version M4_YY_CALL_LAST_ARG);", " th.th_version = NULL;", " }", " else", " break;", " }", "", " while (rd.bread < th.th_ssize){", " /* Load the data tables */", " if(yytbl_data_load (yydmap,&rd M4_YY_CALL_LAST_ARG) != 0){", " rv = -1;", " goto return_rv;", " }", " }", "", "return_rv:", " if(th.th_version){", " yyfree(th.th_version M4_YY_CALL_LAST_ARG);", " th.th_version = NULL;", " }", "", " return rv;", "}", "", "/** Load the DFA tables for this scanner from the given stream. */", "int yytables_fload YYFARGS1(FILE *, fp)", "{", "", " if( yytbl_fload(fp, YYTABLES_NAME M4_YY_CALL_LAST_ARG) != 0)", " return -1;", " return 0;", "}", "", "/** Destroy the loaded tables, freeing memory, etc.. */", "int yytables_destroy (M4_YY_DEF_ONLY_ARG)", "{", " struct yytbl_dmap *dmap=0;", "", " if(!M4_YY_TABLES_VERIFY){", " /* Walk the dmap, freeing the pointers */", " for(dmap=yydmap; dmap->dm_id; dmap++) {", " void * v;", " v = dmap->dm_arr;", " if(v && *(char**)v){", " yyfree(*(char**)v M4_YY_CALL_LAST_ARG);", " *(char**)v = NULL;", " }", " }", " }", "", " return 0;", "}", "", "/* end table serialization code definitions */", "%endif", "", "", "m4_ifdef([[M4_YY_MAIN]], [[", "int main (void);", "", "int main ()", "{", "", "%if-reentrant", " yyscan_t lexer;", " yylex_init(&lexer);", " yylex( lexer );", " yylex_destroy( lexer);", "", "%endif", "%if-not-reentrant", " yylex();", "%endif", "", " return 0;", "}", "]])", "", "%ok-for-header", "m4_ifdef( [[M4_YY_IN_HEADER]],", "[[", "#undef YY_NEW_FILE", "#undef YY_FLUSH_BUFFER", "#undef yy_set_bol", "#undef yy_new_buffer", "#undef yy_set_interactive", "#undef YY_DO_BEFORE_ACTION", "", "#ifdef YY_DECL_IS_OURS", "#undef YY_DECL_IS_OURS", "#undef YY_DECL", "#endif", "", "[[#ifndef ]]M4_YY_PREFIX[[_create_buffer_ALREADY_DEFINED", "#undef yy_create_buffer", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_delete_buffer_ALREADY_DEFINED", "#undef yy_delete_buffer", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_scan_buffer_ALREADY_DEFINED", "#undef yy_scan_buffer", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_scan_string_ALREADY_DEFINED", "#undef yy_scan_string", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_scan_bytes_ALREADY_DEFINED", "#undef yy_scan_bytes", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_init_buffer_ALREADY_DEFINED", "#undef yy_init_buffer", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_flush_buffer_ALREADY_DEFINED", "#undef yy_flush_buffer", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_load_buffer_state_ALREADY_DEFINED", "#undef yy_load_buffer_state", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_switch_to_buffer_ALREADY_DEFINED", "#undef yy_switch_to_buffer", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[push_buffer_state_ALREADY_DEFINED", "#undef yypush_buffer_state", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[pop_buffer_state_ALREADY_DEFINED", "#undef yypop_buffer_state", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[ensure_buffer_stack_ALREADY_DEFINED", "#undef yyensure_buffer_stack", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[lex_ALREADY_DEFINED", "#undef yylex", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[restart_ALREADY_DEFINED", "#undef yyrestart", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[lex_init_ALREADY_DEFINED", "#undef yylex_init", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[lex_init_extra_ALREADY_DEFINED", "#undef yylex_init_extra", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[lex_destroy_ALREADY_DEFINED", "#undef yylex_destroy", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_debug_ALREADY_DEFINED", "#undef yyget_debug", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_debug_ALREADY_DEFINED", "#undef yyset_debug", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_extra_ALREADY_DEFINED", "#undef yyget_extra", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_extra_ALREADY_DEFINED", "#undef yyset_extra", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_in_ALREADY_DEFINED", "#undef yyget_in", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_in_ALREADY_DEFINED", "#undef yyset_in", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_out_ALREADY_DEFINED", "#undef yyget_out", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_out_ALREADY_DEFINED", "#undef yyset_out", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_leng_ALREADY_DEFINED", "#undef yyget_leng", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_text_ALREADY_DEFINED", "#undef yyget_text", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_lineno_ALREADY_DEFINED", "#undef yyget_lineno", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_lineno_ALREADY_DEFINED", "#undef yyset_lineno", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_column_ALREADY_DEFINED", "#undef yyget_column", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_column_ALREADY_DEFINED", "#undef yyset_column", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[wrap_ALREADY_DEFINED", "#undef yywrap", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_lval_ALREADY_DEFINED", "#undef yyget_lval", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_lval_ALREADY_DEFINED", "#undef yyset_lval", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[get_lloc_ALREADY_DEFINED", "#undef yyget_lloc", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[set_lloc_ALREADY_DEFINED", "#undef yyset_lloc", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[alloc_ALREADY_DEFINED", "#undef yyalloc", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[realloc_ALREADY_DEFINED", "#undef yyrealloc", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[free_ALREADY_DEFINED", "#undef yyfree", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[text_ALREADY_DEFINED", "#undef yytext", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[leng_ALREADY_DEFINED", "#undef yyleng", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[in_ALREADY_DEFINED", "#undef yyin", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[out_ALREADY_DEFINED", "#undef yyout", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[_flex_debug_ALREADY_DEFINED", "#undef yy_flex_debug", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[lineno_ALREADY_DEFINED", "#undef yylineno", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[tables_fload_ALREADY_DEFINED", "#undef yytables_fload", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[tables_destroy_ALREADY_DEFINED", "#undef yytables_destroy", "#endif]]", "[[#ifndef ]]M4_YY_PREFIX[[TABLES_NAME_ALREADY_DEFINED", "#undef yyTABLES_NAME", "#endif]]", "]])", 0 };