URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [ldlex.c] - Rev 262
Go to most recent revision | Compare with Previous | Blame | View Log
#line 3 "../../srcw/ld/ldlex.c" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include <stdio.h> #include <string.h> #include <errno.h> #include <stdlib.h> /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ #if 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 <inttypes.h> typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; #endif /* ! C99 */ /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #define YY_BUF_SIZE 16384 #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif 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) /* 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_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ 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 = 0; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,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 unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 190 #define YY_END_OF_BUFFER 191 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[1591] = { 0, 0, 0, 170, 170, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 190, 188, 173, 172, 32, 188, 170, 38, 29, 44, 43, 34, 35, 28, 36, 170, 37, 8, 8, 45, 46, 39, 40, 27, 33, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 10, 9, 170, 115, 113, 170, 42, 30, 41, 31, 189, 173, 32, 189, 168, 38, 29, 44, 43, 34, 35, 28, 36, 168, 37, 8, 8, 45, 46, 39, 40, 27, 33, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 10, 9, 168, 168, 42, 30, 41, 31, 166, 36, 166, 37, 8, 8, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 115, 113, 166, 31, 4, 3, 2, 4, 5, 127, 126, 165, 34, 35, 28, 36, 165, 37, 8, 8, 45, 46, 40, 33, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 10, 9, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 31, 187, 185, 186, 188, 180, 179, 174, 181, 182, 178, 178, 178, 178, 183, 184, 173, 15, 0, 171, 170, 8, 26, 24, 22, 20, 21, 1, 23, 8, 8, 170, 18, 17, 14, 16, 19, 170, 170, 170, 170, 170, 119, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 25, 13, 168, 6, 22, 20, 21, 0, 1, 23, 8, 0, 7, 7, 8, 7, 14, 168, 7, 7, 7, 168, 168, 119, 7, 168, 168, 7, 168, 168, 168, 7, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 7, 168, 166, 8, 0, 23, 8, 0, 166, 166, 166, 166, 166, 119, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 4, 4, 126, 126, 165, 6, 128, 22, 129, 165, 7, 7, 7, 165, 165, 165, 7, 165, 7, 7, 165, 165, 165, 165, 165, 165, 165, 165, 7, 165, 165, 165, 7, 165, 7, 7, 165, 165, 165, 165, 165, 165, 165, 165, 187, 186, 179, 178, 0, 178, 178, 178, 11, 12, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 91, 170, 170, 170, 170, 170, 170, 170, 170, 170, 70, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 116, 114, 170, 8, 169, 8, 168, 7, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 61, 62, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 8, 167, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 91, 166, 166, 166, 166, 166, 166, 166, 166, 166, 70, 61, 166, 62, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 116, 114, 166, 4, 8, 165, 165, 165, 165, 165, 130, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 147, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 178, 178, 178, 170, 58, 170, 170, 170, 170, 170, 52, 170, 98, 170, 107, 170, 170, 170, 170, 170, 170, 170, 87, 170, 170, 170, 170, 108, 170, 170, 170, 123, 170, 170, 96, 170, 66, 170, 170, 170, 170, 170, 170, 170, 170, 170, 94, 170, 170, 170, 170, 170, 170, 104, 170, 170, 170, 170, 170, 170, 170, 170, 170, 168, 58, 168, 168, 168, 52, 168, 168, 107, 168, 168, 168, 168, 168, 168, 108, 123, 168, 168, 66, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 166, 58, 166, 166, 166, 166, 166, 52, 166, 98, 166, 107, 166, 166, 166, 166, 166, 166, 166, 87, 166, 166, 166, 166, 108, 166, 166, 166, 123, 166, 166, 96, 166, 66, 166, 166, 166, 166, 166, 166, 166, 166, 166, 94, 166, 166, 166, 166, 166, 166, 104, 166, 166, 166, 166, 166, 166, 166, 166, 166, 165, 165, 165, 134, 142, 133, 165, 165, 144, 137, 140, 165, 165, 145, 165, 165, 165, 165, 165, 151, 159, 150, 165, 165, 162, 154, 157, 165, 165, 163, 165, 165, 178, 178, 178, 170, 85, 54, 170, 170, 170, 51, 170, 170, 170, 170, 106, 64, 170, 170, 93, 170, 76, 170, 170, 75, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 118, 170, 170, 170, 170, 170, 97, 170, 170, 170, 95, 170, 170, 170, 170, 170, 170, 170, 168, 54, 168, 168, 51, 168, 168, 168, 106, 168, 76, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 166, 85, 54, 166, 166, 166, 51, 166, 166, 166, 166, 106, 64, 166, 166, 93, 166, 76, 166, 166, 75, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 118, 166, 166, 166, 166, 166, 97, 166, 166, 166, 95, 166, 166, 166, 166, 166, 166, 166, 165, 135, 132, 165, 165, 144, 144, 139, 165, 143, 165, 165, 152, 149, 165, 165, 162, 162, 156, 165, 161, 165, 178, 178, 176, 170, 170, 63, 170, 86, 170, 170, 170, 170, 170, 170, 65, 170, 170, 170, 84, 53, 170, 47, 170, 170, 105, 170, 49, 74, 170, 170, 170, 170, 170, 170, 71, 170, 170, 170, 170, 92, 72, 170, 170, 170, 168, 168, 63, 168, 168, 168, 168, 168, 168, 53, 168, 168, 105, 168, 49, 168, 168, 168, 71, 168, 168, 168, 168, 166, 166, 63, 166, 86, 166, 166, 166, 166, 166, 166, 65, 166, 166, 166, 84, 53, 166, 47, 166, 166, 105, 166, 49, 74, 166, 166, 166, 166, 166, 166, 71, 166, 166, 166, 166, 92, 72, 166, 166, 166, 165, 165, 65, 141, 138, 165, 165, 165, 160, 158, 155, 165, 177, 175, 170, 60, 170, 170, 170, 170, 170, 78, 170, 170, 117, 170, 170, 170, 99, 170, 170, 101, 121, 170, 170, 170, 170, 170, 170, 112, 88, 170, 50, 170, 170, 168, 60, 168, 168, 168, 78, 168, 117, 168, 168, 168, 109, 121, 168, 168, 112, 168, 168, 168, 166, 60, 166, 166, 166, 166, 166, 78, 166, 166, 117, 166, 166, 166, 99, 166, 166, 101, 121, 166, 166, 166, 166, 166, 166, 112, 88, 166, 50, 166, 166, 165, 165, 165, 165, 165, 165, 146, 170, 125, 170, 170, 170, 170, 170, 170, 59, 170, 170, 170, 170, 170, 170, 170, 83, 170, 170, 170, 120, 164, 170, 146, 168, 125, 168, 168, 59, 168, 168, 168, 168, 168, 120, 164, 168, 146, 166, 125, 166, 166, 166, 166, 166, 166, 59, 166, 166, 166, 166, 166, 166, 166, 83, 166, 166, 166, 120, 164, 166, 146, 131, 136, 164, 148, 153, 77, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 77, 168, 168, 168, 168, 168, 168, 168, 168, 77, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 170, 170, 170, 170, 170, 170, 170, 110, 111, 170, 170, 170, 170, 73, 170, 170, 170, 170, 170, 168, 168, 168, 110, 111, 168, 168, 168, 168, 166, 166, 166, 166, 166, 166, 166, 110, 111, 166, 166, 166, 166, 73, 166, 166, 166, 166, 166, 170, 170, 170, 170, 170, 170, 100, 90, 170, 170, 170, 170, 170, 170, 170, 170, 168, 168, 100, 168, 168, 168, 168, 166, 166, 166, 166, 166, 166, 100, 90, 166, 166, 166, 166, 166, 166, 166, 166, 80, 170, 170, 124, 170, 170, 170, 170, 48, 170, 170, 170, 102, 170, 168, 124, 168, 168, 168, 168, 80, 166, 166, 124, 166, 166, 166, 166, 48, 166, 166, 166, 102, 166, 170, 170, 170, 170, 89, 170, 69, 170, 170, 170, 168, 168, 69, 168, 168, 166, 166, 166, 166, 89, 166, 69, 166, 166, 166, 170, 170, 170, 170, 170, 170, 122, 68, 170, 67, 168, 168, 168, 122, 68, 67, 166, 166, 166, 166, 166, 166, 122, 68, 166, 67, 170, 170, 170, 170, 170, 170, 170, 168, 168, 168, 166, 166, 166, 166, 166, 166, 166, 170, 170, 57, 170, 170, 170, 170, 168, 57, 168, 166, 166, 57, 166, 166, 166, 166, 170, 170, 170, 170, 170, 103, 168, 168, 166, 166, 166, 166, 166, 103, 170, 55, 170, 170, 170, 55, 168, 166, 55, 166, 166, 166, 170, 170, 170, 170, 168, 166, 166, 166, 166, 170, 170, 170, 170, 168, 166, 166, 166, 166, 79, 170, 170, 170, 168, 79, 166, 166, 166, 56, 170, 170, 56, 56, 166, 166, 81, 170, 81, 166, 170, 166, 82, 82, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 5, 6, 7, 8, 9, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 21, 22, 23, 24, 25, 1, 26, 27, 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, 53, 54, 55, 56, 1, 57, 58, 59, 60, 61, 62, 63, 64, 65, 16, 66, 67, 68, 69, 70, 71, 16, 72, 73, 74, 75, 16, 16, 76, 16, 77, 78, 79, 80, 81, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[82] = { 0, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 5, 6, 7, 8, 9, 10, 11, 11, 8, 1, 1, 7, 1, 5, 11, 11, 11, 11, 11, 11, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 4, 8, 3, 9, 11, 11, 11, 11, 11, 11, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 10 } ; static yyconst flex_int16_t yy_base[1615] = { 0, 0, 0, 0, 0, 81, 0, 162, 0, 243, 323, 403, 0, 271, 273, 484, 565, 646, 727, 2549, 2550, 2550, 2546, 2550, 2524, 2541, 791, 2550, 260, 2550, 2550, 2522, 2521, 0, 2520, 0, 247, 321, 492, 0, 2550, 249, 2519, 257, 0, 255, 257, 253, 259, 262, 268, 2498, 2503, 2500, 2508, 274, 280, 279, 315, 317, 2491, 2506, 350, 2509, 2504, 0, 0, 2475, 2471, 2459, 2465, 2550, 237, 2550, 0, 2550, 2527, 2505, 2522, 836, 2550, 343, 2550, 2550, 2503, 2502, 2550, 289, 0, 341, 881, 306, 2550, 2550, 295, 2501, 344, 2550, 940, 487, 506, 565, 577, 571, 2480, 2483, 2491, 333, 345, 346, 476, 2477, 488, 2550, 2550, 644, 2454, 2550, 290, 2550, 0, 999, 477, 0, 362, 735, 747, 596, 511, 477, 567, 349, 515, 2475, 2480, 2477, 2485, 517, 573, 594, 589, 596, 2468, 2483, 645, 2486, 2481, 2452, 2448, 2436, 2442, 0, 1044, 2550, 2550, 0, 2550, 2550, 2503, 1089, 2482, 2481, 2550, 2480, 0, 2479, 0, 323, 2550, 0, 2478, 2550, 1134, 635, 666, 647, 667, 671, 519, 2474, 2456, 2452, 482, 2454, 2550, 2550, 685, 730, 732, 694, 754, 250, 2439, 2423, 2419, 320, 2421, 0, 2490, 2550, 0, 2479, 2550, 0, 2550, 2550, 2550, 2470, 505, 534, 610, 2550, 2550, 2487, 2550, 2483, 2550, 0, 1193, 2550, 2550, 0, 0, 0, 0, 0, 757, 0, 736, 2464, 2550, 0, 2550, 2463, 2441, 2455, 2438, 2448, 594, 0, 2450, 2441, 2439, 2433, 501, 2447, 2431, 2444, 2444, 2428, 568, 2435, 2431, 2427, 2429, 2431, 798, 2437, 2427, 487, 2424, 2426, 2414, 686, 2425, 2427, 2415, 2429, 2429, 2417, 2430, 2423, 730, 2414, 2402, 2409, 2421, 2404, 2423, 2421, 2403, 2403, 2402, 2371, 2374, 2379, 2364, 2550, 2550, 0, 1244, 2550, 2550, 2550, 0, 2550, 2550, 582, 809, 0, 2550, 2550, 0, 2550, 842, 845, 889, 0, 2406, 724, 0, 917, 2400, 2398, 679, 949, 976, 2407, 2408, 2395, 669, 2404, 2394, 2406, 2382, 2391, 2380, 668, 2391, 2393, 2396, 2385, 2392, 2372, 2392, 2394, 995, 2343, 0, 1295, 0, 0, 884, 0, 2375, 2389, 2372, 2382, 742, 0, 2384, 2375, 2373, 2367, 738, 2381, 2365, 2378, 2378, 2362, 733, 2369, 2365, 2361, 2363, 2365, 802, 2371, 2361, 716, 751, 2361, 2359, 2348, 900, 2359, 2361, 2349, 2363, 2363, 2351, 2364, 2357, 806, 2348, 2336, 2343, 2355, 2338, 2357, 2355, 2337, 2337, 2336, 2305, 2308, 2313, 2298, 0, 1346, 2371, 2550, 0, 1397, 0, 0, 0, 833, 888, 841, 0, 2339, 928, 937, 2338, 2342, 2325, 2326, 2324, 2341, 2328, 2336, 2337, 2335, 2336, 2315, 854, 2295, 969, 982, 2294, 2298, 2283, 2284, 2282, 2297, 2285, 2292, 2293, 2291, 2292, 2273, 2345, 0, 0, 2326, 2325, 690, 836, 617, 2550, 2550, 2304, 2300, 2312, 2309, 2310, 2300, 2298, 2308, 2308, 2305, 2290, 2283, 2306, 2305, 2296, 2301, 2285, 2290, 2296, 2288, 2298, 2295, 2276, 0, 2284, 2280, 2285, 2272, 2287, 2275, 2283, 2285, 2281, 0, 2272, 2266, 2267, 2272, 2268, 2257, 2274, 2264, 2261, 2260, 2255, 2272, 2266, 2256, 2253, 2259, 2253, 2265, 2249, 2265, 2266, 2248, 2264, 2252, 2256, 2243, 2216, 0, 0, 2224, 0, 0, 998, 2244, 1004, 2251, 2252, 2242, 2251, 2251, 2234, 2227, 2250, 1049, 2247, 2237, 2227, 2235, 2231, 2229, 2237, 2239, 0, 0, 2222, 2223, 2225, 2214, 2231, 2219, 2214, 2222, 2229, 2230, 2231, 2186, 2194, 0, 0, 2214, 2210, 2222, 2219, 2220, 2210, 2208, 2218, 2218, 2215, 2200, 2193, 2216, 2215, 2206, 2211, 2195, 2200, 2206, 2198, 2208, 2205, 2186, 0, 2194, 2190, 2195, 2182, 2197, 2185, 2193, 2195, 2191, 0, 0, 2182, 0, 2176, 2177, 2182, 2178, 2167, 2184, 2174, 2171, 2170, 2165, 2182, 2176, 2166, 2163, 2169, 2163, 2175, 2159, 2175, 2176, 2158, 2174, 2162, 2166, 2153, 2126, 0, 0, 2134, 0, 0, 2154, 651, 2163, 2162, 2150, 0, 2160, 2151, 2143, 2158, 2156, 2155, 2147, 2138, 2139, 2142, 2110, 866, 2118, 2117, 2106, 0, 2115, 2107, 2100, 2113, 2111, 2110, 2103, 2095, 2096, 2098, 592, 681, 585, 2129, 0, 2122, 2125, 2120, 2132, 2118, 0, 2124, 0, 2114, 0, 2113, 2101, 2117, 2110, 2104, 2107, 2109, 0, 2106, 2120, 2108, 2102, 0, 2120, 2101, 2102, 0, 2099, 2117, 0, 2099, 0, 2101, 2100, 2113, 2082, 2103, 2090, 2098, 2090, 2099, 0, 2092, 2103, 2096, 2099, 2083, 2087, 2070, 2091, 2095, 2078, 2085, 2087, 2090, 2085, 2051, 2047, 2079, 0, 2076, 2071, 2083, 0, 2076, 2066, 0, 2054, 2070, 2063, 2061, 2065, 2059, 0, 0, 2059, 2077, 0, 2062, 2075, 2044, 2065, 2061, 2063, 2066, 2055, 2060, 2056, 2025, 2021, 2053, 0, 2046, 2049, 2044, 2056, 2042, 0, 2048, 0, 2038, 0, 2037, 2025, 2041, 2034, 2028, 2031, 2033, 0, 2030, 2044, 2032, 2017, 0, 2025, 1996, 1987, 0, 1977, 1990, 0, 1971, 0, 1971, 1968, 1981, 1946, 1957, 1934, 1932, 1919, 1927, 0, 1905, 1916, 1909, 1912, 1889, 1888, 222, 331, 364, 446, 519, 538, 652, 681, 652, 664, 723, 738, 758, 0, 0, 0, 756, 786, 1465, 0, 0, 771, 782, 0, 791, 809, 773, 768, 775, 0, 0, 0, 785, 802, 1545, 0, 0, 789, 808, 0, 802, 821, 863, 933, 881, 838, 0, 848, 847, 874, 875, 0, 949, 883, 880, 906, 0, 0, 927, 921, 0, 907, 0, 950, 948, 0, 938, 954, 959, 941, 951, 982, 982, 978, 975, 970, 997, 0, 1006, 998, 1005, 1003, 1005, 0, 1014, 1019, 1024, 0, 1005, 1018, 1026, 1009, 1025, 992, 1007, 1031, 1039, 1035, 1051, 0, 1056, 1040, 1055, 0, 1058, 0, 1059, 1056, 1061, 1047, 1063, 1061, 1057, 1071, 1069, 1060, 1069, 1083, 1076, 1036, 1050, 1067, 0, 1074, 1076, 1092, 1093, 0, 1098, 1095, 1082, 1097, 0, 0, 1099, 1090, 0, 1074, 0, 1102, 1098, 0, 1088, 1101, 1106, 1086, 1093, 1112, 1110, 1106, 1103, 1098, 1118, 0, 1116, 1115, 1122, 1116, 1118, 0, 1127, 1132, 1140, 0, 1122, 1135, 1143, 1127, 1133, 1100, 1114, 1131, 0, 1140, 1140, 1135, 0, 1625, 0, 1153, 0, 1156, 1109, 0, 1117, 1117, 1113, 0, 1705, 0, 1129, 0, 1132, 1170, 1177, 1179, 1155, 1170, 0, 1173, 0, 1164, 1159, 1150, 1177, 1179, 1179, 0, 1185, 1184, 1170, 0, 0, 1187, 0, 1173, 1173, 0, 1194, 0, 1170, 1177, 1198, 1174, 1176, 1194, 1189, 1179, 1186, 1200, 1197, 1208, 0, 0, 1202, 1168, 1187, 1200, 1215, 0, 1218, 1209, 1219, 1227, 1227, 1228, 0, 1231, 1220, 0, 1234, 0, 1216, 1237, 1223, 1213, 1239, 1245, 1204, 1223, 1236, 1252, 0, 1255, 0, 1246, 1240, 1231, 1258, 1260, 1260, 0, 1263, 1262, 1248, 0, 0, 1265, 0, 1251, 1251, 0, 1266, 0, 1242, 1249, 1270, 1251, 1252, 1270, 1266, 1259, 1266, 1280, 1277, 1287, 0, 0, 1281, 1253, 1272, 1284, 1290, 0, 0, 0, 1287, 1260, 1265, 0, 0, 0, 1262, 1317, 1318, 1309, 0, 1310, 1296, 1314, 1303, 1312, 0, 1289, 1306, 0, 1291, 1305, 1306, 0, 1294, 1336, 0, 1295, 1332, 1330, 1316, 1310, 1335, 1313, 0, 0, 1331, 0, 1310, 1314, 1349, 0, 1350, 1336, 1351, 0, 1329, 0, 1343, 1344, 1332, 0, 1333, 1334, 1358, 0, 1353, 1332, 1330, 1365, 0, 1366, 1352, 1370, 1359, 1368, 0, 1345, 1362, 0, 1353, 1367, 1368, 0, 1357, 1391, 0, 1362, 1393, 1391, 1377, 1373, 1397, 1375, 0, 0, 1393, 0, 1373, 1372, 1407, 1409, 1409, 1379, 1381, 1381, 0, 1414, 0, 1399, 1418, 1408, 1416, 1410, 1421, 0, 1420, 1408, 1409, 1413, 1427, 1424, 1428, 0, 1420, 1438, 1446, 0, 0, 1417, 0, 1451, 0, 1443, 1451, 0, 1453, 1441, 1458, 1448, 1463, 0, 0, 1433, 0, 1466, 0, 1451, 1470, 1460, 1468, 1462, 1473, 0, 1472, 1460, 1461, 1465, 1473, 1470, 1474, 0, 1465, 1480, 1485, 0, 0, 1451, 0, 0, 0, 0, 0, 0, 0, 1473, 1479, 1485, 1482, 1479, 1478, 1488, 1481, 1494, 1480, 1491, 1492, 1484, 1483, 1504, 1494, 1506, 1476, 0, 1504, 1501, 1505, 1500, 1503, 1493, 1513, 1484, 0, 1502, 1517, 1528, 1526, 1523, 1522, 1532, 1524, 1537, 1528, 1539, 1540, 1532, 1531, 1551, 1541, 1553, 1523, 1538, 1552, 1544, 1547, 1545, 1548, 1543, 0, 0, 1555, 1551, 1561, 1565, 0, 1566, 1564, 1560, 1557, 1536, 1558, 1561, 1555, 0, 0, 1572, 1576, 1574, 1544, 1562, 1576, 1568, 1571, 1569, 1572, 1567, 0, 0, 1579, 1575, 1585, 1589, 0, 1590, 1588, 1584, 1581, 1560, 1577, 1594, 1583, 1602, 1599, 1602, 0, 0, 1615, 1613, 1599, 1601, 1615, 1619, 1622, 1592, 1609, 1625, 0, 1627, 1614, 1628, 1598, 1616, 1633, 1617, 1633, 1625, 1627, 0, 0, 1640, 1638, 1624, 1626, 1640, 1639, 1642, 1612, 0, 1629, 1619, 0, 1620, 1637, 1633, 1649, 0, 1636, 1639, 1644, 0, 1612, 1629, 0, 1656, 1642, 1645, 1617, 0, 1645, 1635, 0, 1636, 1653, 1649, 1665, 0, 1651, 1654, 1659, 0, 1627, 1644, 1682, 1675, 1663, 0, 1679, 0, 1676, 1683, 1649, 1705, 1684, 0, 1680, 1659, 1677, 1708, 1710, 1698, 0, 1700, 0, 1696, 1703, 1669, 1699, 1707, 1706, 1716, 1710, 1693, 0, 0, 1720, 0, 1715, 1714, 1724, 0, 0, 0, 1711, 1719, 1718, 1728, 1722, 1705, 0, 0, 1732, 0, 1713, 1730, 1736, 1729, 1730, 1742, 1730, 1736, 1742, 1735, 1723, 1740, 1746, 1739, 1740, 1752, 1740, 1742, 1749, 0, 1739, 1746, 1750, 1743, 1757, 0, 1747, 1753, 1760, 0, 1750, 1754, 1758, 1751, 1770, 1759, 1759, 1772, 1764, 0, 1763, 1763, 1777, 1766, 1766, 1779, 1771, 0, 1769, 0, 1754, 1785, 1772, 0, 1757, 1774, 0, 1759, 1790, 1777, 1781, 1789, 1775, 1793, 1792, 1786, 1794, 1780, 1798, 1783, 1789, 1795, 1804, 1792, 1788, 1794, 1800, 1809, 0, 1807, 1797, 1793, 1810, 0, 1811, 1801, 1797, 0, 1804, 1810, 0, 0, 1806, 1812, 0, 1807, 0, 1808, 1810, 1811, 0, 0, 2550, 1850, 1861, 1872, 1883, 1894, 1905, 1913, 1921, 1929, 1937, 1948, 1956, 1967, 1978, 1989, 1992, 2001, 2009, 1915, 2017, 2028, 2039, 2050, 2061 } ; static yyconst flex_int16_t yy_def[1615] = { 0, 1591, 1591, 1590, 3, 1590, 5, 1590, 7, 1592, 1592, 1590, 11, 1593, 1593, 1594, 1594, 1595, 1595, 1590, 1590, 1590, 1590, 1590, 1590, 1596, 1597, 1590, 1590, 1590, 1590, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1590, 1590, 1597, 1590, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1590, 1590, 1590, 1597, 1590, 1590, 1590, 1596, 1598, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1598, 1598, 1590, 90, 1590, 1590, 1590, 1590, 1590, 1590, 1598, 98, 98, 98, 98, 98, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1590, 1590, 98, 1598, 1590, 1590, 1590, 1598, 1599, 1590, 1599, 1599, 1590, 1590, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1600, 1590, 1590, 1600, 1590, 1590, 1601, 1602, 1603, 1590, 1590, 1590, 1602, 1602, 90, 90, 1590, 1604, 1590, 1590, 1602, 172, 172, 172, 172, 172, 1602, 1602, 1602, 1602, 1602, 1602, 1590, 1590, 172, 172, 172, 172, 172, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1590, 1590, 1605, 1590, 1590, 1606, 1590, 1590, 1590, 1607, 1607, 1607, 1607, 1590, 1590, 1590, 1590, 1596, 1590, 1597, 1597, 1590, 1590, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 218, 1590, 1590, 1597, 1590, 1590, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1590, 1590, 1598, 1598, 1590, 1590, 1590, 1608, 1590, 1590, 90, 90, 298, 1590, 1590, 1609, 1590, 98, 98, 98, 1598, 1598, 1598, 1598, 98, 1598, 1598, 1598, 98, 98, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 98, 1598, 1599, 1599, 1610, 1599, 1590, 1609, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1600, 1600, 1601, 1590, 1602, 1602, 1603, 1603, 1604, 172, 172, 172, 1602, 1602, 172, 172, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 172, 1602, 172, 172, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1590, 1605, 1606, 1607, 1590, 1607, 1607, 1607, 1590, 1590, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1608, 1609, 1598, 98, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 98, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1610, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1600, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1607, 1607, 1607, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1611, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1612, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1607, 1607, 1607, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1602, 1602, 1602, 1602, 1602, 1613, 1611, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1614, 1612, 1602, 1602, 1602, 1602, 1607, 1607, 1607, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1607, 1607, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1602, 1602, 1602, 1602, 1602, 1602, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1602, 1602, 1602, 1602, 1602, 1602, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1597, 1598, 1598, 1599, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1598, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1598, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1597, 1598, 1599, 1599, 1599, 1599, 1597, 1597, 1597, 1598, 1599, 1599, 1599, 1597, 1597, 1599, 1599, 1597, 1599, 1597, 1599, 0, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590 } ; static yyconst flex_int16_t yy_nxt[2632] = { 0, 21, 22, 23, 24, 25, 21, 26, 27, 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, 53, 35, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 35, 64, 35, 35, 35, 35, 65, 35, 66, 21, 35, 67, 35, 35, 35, 35, 35, 35, 35, 35, 35, 68, 35, 35, 69, 35, 35, 70, 35, 35, 35, 35, 71, 72, 73, 74, 75, 76, 23, 77, 78, 75, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 88, 105, 88, 106, 107, 108, 109, 110, 111, 88, 88, 112, 88, 88, 88, 88, 88, 88, 88, 113, 88, 114, 75, 88, 115, 103, 103, 103, 103, 103, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 116, 88, 88, 88, 88, 117, 118, 119, 120, 75, 76, 23, 77, 78, 75, 121, 80, 81, 82, 83, 84, 85, 86, 122, 123, 124, 125, 126, 92, 93, 94, 95, 96, 97, 127, 128, 129, 130, 131, 132, 133, 134, 135, 123, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 123, 146, 123, 123, 123, 123, 113, 123, 114, 75, 123, 147, 123, 123, 123, 123, 123, 123, 123, 123, 123, 148, 123, 123, 149, 123, 123, 150, 123, 123, 123, 123, 117, 118, 119, 151, 75, 75, 20, 75, 75, 75, 152, 75, 75, 75, 75, 75, 153, 75, 154, 224, 287, 125, 126, 75, 75, 75, 156, 75, 75, 219, 225, 229, 230, 198, 199, 198, 199, 200, 961, 200, 232, 233, 234, 220, 235, 246, 236, 240, 201, 247, 201, 241, 237, 244, 242, 75, 245, 75, 75, 238, 239, 249, 251, 248, 258, 252, 260, 243, 253, 262, 261, 250, 293, 287, 259, 434, 288, 229, 230, 263, 435, 75, 75, 75, 75, 75, 20, 75, 75, 75, 152, 75, 75, 75, 75, 75, 153, 75, 154, 226, 226, 125, 126, 75, 75, 75, 156, 75, 75, 202, 268, 202, 219, 295, 264, 300, 294, 227, 265, 227, 269, 266, 267, 322, 296, 962, 220, 232, 233, 288, 228, 324, 300, 323, 295, 75, 326, 75, 75, 325, 272, 439, 300, 273, 274, 341, 327, 227, 359, 227, 275, 276, 277, 963, 440, 278, 279, 228, 360, 300, 280, 75, 75, 75, 21, 22, 157, 24, 21, 158, 159, 27, 28, 29, 30, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 41, 170, 43, 171, 172, 173, 174, 175, 176, 177, 164, 164, 164, 164, 164, 178, 164, 179, 180, 181, 164, 164, 182, 183, 164, 164, 164, 164, 164, 164, 184, 164, 185, 21, 164, 186, 187, 188, 175, 189, 190, 164, 164, 164, 164, 191, 164, 192, 193, 194, 164, 195, 196, 164, 164, 164, 71, 72, 73, 197, 21, 198, 199, 21, 21, 200, 964, 21, 21, 21, 21, 21, 21, 204, 21, 293, 201, 21, 21, 204, 204, 21, 21, 21, 21, 226, 226, 423, 483, 311, 328, 311, 354, 332, 329, 355, 312, 333, 330, 313, 446, 484, 424, 227, 334, 227, 289, 289, 311, 335, 311, 21, 21, 21, 21, 462, 350, 463, 289, 340, 351, 314, 368, 352, 361, 289, 289, 362, 418, 446, 363, 965, 369, 227, 419, 227, 353, 205, 21, 206, 21, 21, 198, 199, 21, 21, 200, 966, 21, 21, 21, 21, 21, 21, 204, 21, 447, 201, 21, 21, 204, 204, 21, 21, 21, 21, 315, 311, 356, 311, 316, 469, 357, 311, 370, 311, 448, 289, 371, 311, 446, 311, 372, 289, 317, 289, 358, 446, 470, 289, 289, 289, 21, 21, 21, 21, 289, 289, 344, 373, 345, 318, 346, 375, 379, 446, 300, 376, 347, 374, 377, 378, 446, 456, 380, 348, 349, 844, 205, 21, 206, 21, 21, 198, 199, 457, 25, 200, 842, 21, 21, 21, 21, 300, 21, 204, 412, 409, 201, 21, 21, 204, 204, 21, 21, 21, 311, 402, 311, 409, 383, 657, 811, 384, 385, 449, 289, 967, 812, 402, 386, 387, 388, 289, 289, 389, 390, 413, 409, 409, 391, 541, 533, 409, 414, 534, 446, 336, 402, 402, 542, 415, 208, 402, 209, 446, 417, 409, 210, 488, 968, 416, 489, 526, 969, 527, 409, 402, 490, 211, 21, 212, 21, 21, 198, 199, 402, 25, 200, 970, 21, 21, 21, 21, 843, 21, 204, 586, 426, 201, 21, 21, 204, 204, 21, 21, 21, 427, 342, 342, 587, 499, 409, 500, 409, 971, 572, 501, 431, 655, 342, 342, 402, 522, 402, 432, 301, 217, 301, 217, 226, 226, 565, 573, 566, 523, 409, 972, 301, 343, 301, 559, 428, 208, 429, 209, 402, 588, 227, 210, 227, 430, 973, 560, 974, 589, 301, 217, 301, 217, 211, 21, 212, 21, 218, 218, 343, 975, 301, 978, 301, 979, 218, 218, 218, 218, 218, 218, 227, 433, 227, 476, 298, 298, 477, 579, 478, 604, 580, 605, 581, 980, 981, 606, 479, 982, 983, 480, 582, 984, 1590, 583, 1590, 218, 218, 218, 218, 218, 218, 290, 290, 446, 985, 300, 986, 409, 989, 290, 290, 290, 290, 290, 290, 409, 311, 402, 311, 311, 990, 311, 1590, 991, 1590, 402, 289, 992, 409, 289, 446, 996, 300, 289, 289, 997, 519, 289, 402, 998, 290, 290, 290, 290, 290, 290, 297, 297, 446, 342, 342, 999, 1000, 656, 298, 299, 298, 299, 298, 298, 1003, 300, 409, 311, 301, 520, 301, 301, 300, 301, 827, 1004, 402, 289, 639, 593, 828, 302, 594, 623, 289, 289, 993, 1005, 595, 298, 299, 298, 299, 298, 298, 311, 300, 311, 301, 995, 301, 301, 300, 301, 446, 289, 409, 1006, 302, 304, 304, 1007, 289, 289, 1008, 409, 402, 304, 305, 304, 306, 304, 304, 625, 307, 402, 1001, 311, 308, 311, 1009, 307, 626, 1010, 1011, 309, 310, 289, 1012, 1013, 307, 994, 1014, 1002, 289, 528, 1015, 409, 304, 311, 304, 311, 304, 304, 311, 307, 311, 402, 529, 1016, 409, 307, 1017, 1018, 289, 1019, 1020, 307, 339, 339, 402, 289, 289, 311, 1021, 311, 339, 339, 339, 339, 339, 339, 311, 289, 311, 301, 1022, 301, 1023, 1024, 289, 289, 289, 641, 1025, 1026, 1027, 1028, 719, 289, 289, 1029, 1030, 1031, 1032, 1033, 642, 339, 339, 339, 339, 339, 339, 399, 399, 301, 1034, 301, 1035, 551, 1036, 399, 399, 399, 399, 399, 399, 311, 1037, 311, 1038, 1039, 1040, 1041, 728, 1042, 1043, 289, 1044, 1045, 1046, 1047, 1048, 1049, 289, 289, 1050, 1051, 1052, 1053, 1054, 1055, 399, 399, 399, 399, 399, 399, 403, 403, 1056, 1057, 1058, 1059, 1060, 1061, 403, 403, 403, 403, 403, 403, 1062, 1063, 1064, 1065, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1066, 1083, 1084, 1085, 1086, 403, 403, 403, 403, 403, 403, 407, 407, 1087, 1088, 1089, 1090, 1091, 1092, 407, 408, 407, 409, 407, 407, 1093, 410, 1094, 1095, 1096, 411, 1097, 1098, 410, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 410, 1107, 1108, 1109, 1110, 1111, 1112, 446, 407, 409, 407, 409, 407, 407, 446, 410, 446, 1115, 1116, 1117, 1118, 410, 1119, 1120, 1121, 1122, 1123, 410, 218, 218, 1124, 1125, 1126, 1127, 1128, 1129, 218, 218, 218, 218, 218, 218, 1130, 1131, 1132, 1133, 227, 1134, 227, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1113, 1142, 1143, 1144, 1145, 1114, 1146, 1147, 1148, 1149, 1150, 218, 218, 218, 218, 218, 218, 1151, 1152, 1153, 227, 1154, 227, 290, 290, 1155, 1156, 1157, 1158, 1159, 1160, 290, 290, 290, 290, 290, 290, 1161, 1162, 1163, 1164, 516, 1165, 516, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 290, 290, 290, 290, 290, 290, 1184, 1185, 1186, 516, 1187, 516, 339, 339, 1188, 1189, 1190, 1191, 1192, 1193, 339, 339, 339, 339, 339, 339, 1194, 1195, 1196, 1197, 553, 1198, 553, 1199, 1200, 1201, 446, 446, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1216, 339, 339, 339, 339, 339, 339, 1217, 1218, 1219, 553, 1214, 553, 399, 399, 1220, 1215, 1221, 1222, 1223, 1224, 399, 399, 399, 399, 399, 399, 1225, 1226, 1227, 1228, 621, 1229, 621, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 399, 399, 399, 399, 399, 399, 1248, 1249, 1250, 621, 1251, 621, 403, 403, 1252, 1254, 1255, 1256, 1257, 1253, 403, 403, 403, 403, 403, 403, 1258, 1259, 1260, 1261, 622, 1262, 622, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 1279, 1280, 403, 403, 403, 403, 403, 403, 1281, 1282, 1283, 622, 1284, 622, 976, 976, 1285, 976, 976, 976, 1286, 976, 976, 976, 976, 976, 1288, 976, 1289, 1290, 1291, 1292, 1293, 1287, 976, 976, 976, 976, 976, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 976, 1324, 1326, 1327, 1315, 1328, 1329, 1330, 1331, 1325, 1332, 1333, 1334, 1335, 1336, 1337, 1338, 1341, 1342, 1343, 1339, 1344, 1345, 976, 976, 976, 987, 987, 1340, 987, 987, 987, 1346, 987, 987, 987, 987, 987, 1347, 987, 1348, 1349, 1350, 1351, 1352, 1354, 987, 987, 987, 987, 987, 1355, 1353, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 987, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 987, 987, 987, 976, 976, 1405, 976, 976, 976, 1406, 976, 976, 976, 976, 976, 1407, 976, 1408, 1409, 1410, 1411, 1412, 1413, 976, 976, 976, 976, 976, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 976, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1466, 1467, 976, 976, 976, 987, 987, 1463, 987, 987, 987, 1464, 987, 987, 987, 987, 987, 1468, 987, 1469, 1470, 1471, 1475, 1476, 1465, 987, 987, 987, 987, 987, 1472, 1477, 1478, 1479, 1473, 1482, 1483, 1480, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1474, 1493, 1494, 1481, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 987, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 987, 987, 987, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 217, 217, 217, 217, 217, 217, 217, 217, 289, 518, 289, 960, 289, 289, 289, 289, 338, 959, 338, 338, 338, 338, 338, 338, 398, 958, 957, 956, 955, 398, 398, 398, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 402, 954, 402, 953, 402, 402, 402, 402, 404, 952, 404, 404, 404, 404, 404, 404, 404, 404, 404, 406, 951, 406, 406, 406, 406, 406, 406, 406, 406, 406, 443, 950, 443, 443, 443, 443, 443, 443, 443, 443, 443, 444, 949, 444, 445, 445, 445, 948, 947, 445, 445, 946, 445, 517, 945, 517, 944, 517, 517, 517, 517, 554, 943, 554, 554, 554, 554, 554, 554, 977, 942, 977, 977, 977, 977, 977, 977, 977, 977, 977, 988, 941, 988, 988, 988, 988, 988, 988, 988, 988, 988, 976, 940, 976, 976, 976, 976, 976, 976, 976, 976, 976, 987, 939, 987, 987, 987, 987, 987, 987, 987, 987, 987, 938, 937, 936, 935, 934, 933, 932, 931, 930, 929, 928, 927, 926, 925, 924, 923, 922, 921, 920, 919, 918, 917, 916, 915, 914, 913, 912, 911, 910, 909, 908, 907, 906, 905, 904, 903, 902, 901, 900, 899, 898, 897, 896, 895, 894, 893, 892, 891, 890, 889, 888, 887, 886, 885, 884, 883, 882, 881, 880, 879, 878, 877, 876, 875, 874, 873, 872, 871, 870, 869, 868, 867, 866, 865, 864, 863, 862, 861, 860, 859, 858, 857, 856, 855, 854, 853, 852, 851, 850, 849, 848, 847, 846, 845, 841, 840, 839, 838, 837, 836, 835, 834, 833, 832, 831, 830, 829, 826, 825, 824, 823, 822, 821, 820, 819, 818, 817, 816, 815, 814, 813, 810, 809, 808, 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 756, 755, 754, 753, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 727, 726, 725, 724, 723, 722, 721, 720, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 445, 446, 442, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 640, 638, 637, 636, 635, 634, 633, 632, 631, 630, 629, 628, 627, 624, 401, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 603, 602, 601, 600, 599, 598, 597, 596, 592, 591, 590, 585, 584, 578, 577, 576, 575, 574, 571, 570, 569, 568, 567, 564, 563, 562, 561, 558, 557, 556, 555, 552, 550, 549, 548, 547, 546, 545, 544, 543, 540, 539, 538, 537, 536, 535, 532, 531, 530, 525, 524, 521, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 498, 497, 496, 495, 494, 493, 492, 491, 487, 486, 485, 482, 481, 475, 474, 473, 472, 471, 468, 467, 466, 465, 464, 461, 460, 459, 458, 455, 454, 453, 452, 451, 450, 216, 213, 446, 295, 442, 441, 438, 437, 436, 425, 422, 421, 420, 303, 296, 293, 292, 405, 401, 397, 396, 395, 394, 393, 392, 382, 381, 367, 366, 365, 364, 337, 331, 321, 320, 319, 303, 292, 291, 216, 214, 213, 286, 285, 284, 283, 282, 281, 271, 270, 257, 256, 255, 254, 231, 223, 222, 221, 216, 214, 213, 1590, 19, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590 } ; static yyconst flex_int16_t yy_chk[2632] = { 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 36, 72, 9, 9, 9, 9, 9, 9, 9, 9, 28, 36, 41, 41, 13, 13, 14, 14, 13, 800, 14, 43, 43, 45, 28, 45, 48, 45, 46, 13, 48, 14, 46, 45, 47, 46, 9, 47, 9, 9, 45, 45, 49, 50, 48, 55, 50, 56, 46, 50, 57, 56, 49, 87, 118, 55, 191, 72, 94, 94, 57, 191, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 37, 37, 10, 10, 10, 10, 10, 10, 10, 10, 13, 59, 14, 81, 89, 58, 91, 87, 37, 58, 37, 59, 58, 58, 107, 89, 801, 81, 96, 96, 118, 37, 108, 167, 107, 124, 10, 109, 10, 10, 108, 62, 195, 91, 62, 62, 124, 109, 37, 131, 37, 62, 62, 62, 802, 195, 62, 62, 37, 131, 167, 62, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 15, 15, 15, 15, 15, 15, 803, 15, 15, 15, 15, 15, 15, 15, 15, 122, 15, 15, 15, 15, 15, 15, 15, 15, 15, 38, 38, 182, 259, 99, 110, 99, 129, 112, 110, 129, 99, 112, 110, 99, 208, 259, 182, 38, 112, 38, 99, 99, 100, 112, 100, 15, 15, 15, 15, 244, 128, 244, 100, 122, 128, 100, 137, 128, 132, 100, 100, 132, 178, 209, 132, 804, 137, 38, 178, 38, 128, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 805, 16, 16, 16, 16, 16, 16, 16, 16, 208, 16, 16, 16, 16, 16, 16, 16, 16, 16, 101, 101, 130, 101, 101, 250, 130, 103, 138, 103, 209, 101, 138, 102, 657, 102, 138, 103, 101, 101, 130, 655, 250, 102, 103, 103, 16, 16, 16, 16, 102, 102, 127, 139, 127, 102, 127, 140, 141, 210, 297, 140, 127, 139, 140, 140, 449, 238, 141, 127, 127, 657, 16, 16, 16, 16, 17, 17, 17, 238, 17, 17, 655, 17, 17, 17, 17, 297, 17, 17, 173, 173, 17, 17, 17, 17, 17, 17, 17, 17, 115, 173, 115, 175, 144, 449, 624, 144, 144, 210, 115, 806, 624, 175, 144, 144, 144, 115, 115, 144, 144, 174, 174, 176, 144, 327, 320, 177, 174, 320, 656, 115, 174, 176, 327, 176, 17, 177, 17, 447, 177, 186, 17, 263, 807, 176, 263, 314, 808, 314, 189, 186, 263, 17, 17, 17, 17, 18, 18, 18, 189, 18, 18, 809, 18, 18, 18, 18, 656, 18, 18, 369, 186, 18, 18, 18, 18, 18, 18, 18, 18, 186, 125, 125, 369, 272, 187, 272, 188, 810, 360, 272, 189, 447, 126, 126, 187, 309, 188, 189, 125, 228, 125, 228, 226, 226, 354, 360, 354, 309, 190, 811, 126, 125, 126, 348, 187, 18, 188, 18, 190, 370, 226, 18, 226, 188, 812, 348, 816, 370, 125, 228, 125, 228, 18, 18, 18, 18, 26, 26, 125, 817, 126, 821, 126, 822, 26, 26, 26, 26, 26, 26, 226, 190, 226, 256, 298, 298, 256, 366, 256, 383, 366, 383, 366, 824, 825, 383, 256, 826, 827, 256, 366, 828, 298, 366, 298, 26, 26, 26, 26, 26, 26, 79, 79, 448, 832, 298, 833, 407, 837, 79, 79, 79, 79, 79, 79, 409, 304, 407, 304, 305, 838, 305, 298, 840, 298, 409, 304, 841, 426, 305, 842, 845, 298, 304, 304, 847, 305, 305, 426, 848, 79, 79, 79, 79, 79, 79, 90, 90, 844, 342, 342, 849, 850, 448, 90, 90, 90, 90, 90, 90, 853, 90, 408, 306, 90, 306, 90, 342, 90, 342, 640, 854, 408, 306, 426, 374, 640, 90, 374, 408, 306, 306, 842, 855, 374, 90, 90, 90, 90, 90, 90, 311, 90, 311, 90, 844, 90, 342, 90, 342, 843, 311, 412, 858, 90, 98, 98, 859, 311, 311, 861, 413, 412, 98, 98, 98, 98, 98, 98, 412, 98, 413, 852, 315, 98, 315, 863, 98, 413, 864, 866, 98, 98, 315, 867, 868, 98, 843, 869, 852, 315, 315, 870, 428, 98, 98, 98, 98, 98, 98, 316, 98, 316, 428, 316, 871, 429, 98, 872, 873, 316, 874, 875, 98, 121, 121, 429, 316, 316, 336, 876, 336, 121, 121, 121, 121, 121, 121, 520, 336, 520, 518, 878, 518, 879, 880, 336, 336, 520, 428, 881, 882, 884, 885, 520, 520, 520, 886, 888, 889, 890, 891, 429, 121, 121, 121, 121, 121, 121, 152, 152, 518, 892, 518, 893, 336, 894, 152, 152, 152, 152, 152, 152, 529, 895, 529, 896, 897, 898, 900, 529, 901, 902, 529, 904, 906, 907, 908, 909, 910, 529, 529, 911, 912, 913, 914, 915, 916, 152, 152, 152, 152, 152, 152, 159, 159, 917, 918, 919, 920, 921, 923, 159, 159, 159, 159, 159, 159, 924, 925, 926, 928, 929, 930, 931, 934, 935, 937, 939, 940, 942, 943, 944, 945, 946, 947, 948, 949, 928, 950, 951, 952, 954, 159, 159, 159, 159, 159, 159, 172, 172, 955, 956, 957, 958, 960, 961, 172, 172, 172, 172, 172, 172, 962, 172, 964, 965, 966, 172, 967, 968, 172, 969, 970, 971, 973, 974, 975, 979, 981, 172, 982, 984, 985, 986, 990, 992, 993, 172, 172, 172, 172, 172, 172, 994, 172, 995, 996, 997, 999, 1001, 172, 1002, 1003, 1004, 1005, 1006, 172, 218, 218, 1008, 1009, 1010, 1013, 1015, 1016, 218, 218, 218, 218, 218, 218, 1018, 1020, 1021, 1022, 218, 1023, 218, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 993, 1031, 1034, 1035, 1036, 994, 1037, 1038, 1040, 1041, 1042, 218, 218, 218, 218, 218, 218, 1043, 1044, 1045, 218, 1047, 218, 290, 290, 1048, 1050, 1052, 1053, 1054, 1055, 290, 290, 290, 290, 290, 290, 1056, 1057, 1058, 1059, 290, 1060, 290, 1061, 1063, 1065, 1066, 1067, 1068, 1069, 1070, 1072, 1073, 1074, 1077, 1079, 1080, 1082, 1084, 1085, 1086, 290, 290, 290, 290, 290, 290, 1087, 1088, 1089, 290, 1090, 290, 339, 339, 1091, 1092, 1093, 1094, 1095, 1098, 339, 339, 339, 339, 339, 339, 1099, 1100, 1101, 1102, 339, 1106, 339, 1107, 1108, 1112, 1113, 1114, 1115, 1117, 1118, 1119, 1120, 1121, 1123, 1124, 1126, 1127, 1128, 1130, 1133, 339, 339, 339, 339, 339, 339, 1134, 1135, 1136, 339, 1131, 339, 399, 399, 1137, 1131, 1138, 1139, 1142, 1144, 399, 399, 399, 399, 399, 399, 1145, 1146, 1148, 1149, 399, 1150, 399, 1152, 1154, 1155, 1156, 1158, 1159, 1160, 1162, 1163, 1164, 1165, 1167, 1168, 1169, 1170, 1171, 1173, 1174, 399, 399, 399, 399, 399, 399, 1176, 1177, 1178, 399, 1180, 399, 403, 403, 1181, 1183, 1184, 1185, 1186, 1181, 403, 403, 403, 403, 403, 403, 1187, 1188, 1189, 1192, 403, 1194, 403, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1203, 1205, 1206, 1207, 1208, 1209, 1210, 1212, 1213, 1214, 1215, 403, 403, 403, 403, 403, 403, 1216, 1217, 1218, 403, 1220, 403, 818, 818, 1221, 818, 818, 818, 1222, 818, 818, 818, 818, 818, 1225, 818, 1227, 1229, 1230, 1232, 1233, 1222, 818, 818, 818, 818, 818, 1234, 1235, 1236, 1239, 1241, 1243, 1244, 1245, 1246, 1247, 1248, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1258, 1259, 1260, 1263, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 818, 1278, 1279, 1280, 1260, 1281, 1282, 1283, 1284, 1278, 1285, 1286, 1287, 1288, 1290, 1291, 1292, 1294, 1295, 1296, 1293, 1297, 1299, 818, 818, 818, 834, 834, 1293, 834, 834, 834, 1300, 834, 834, 834, 834, 834, 1301, 834, 1302, 1303, 1304, 1305, 1306, 1307, 834, 834, 834, 834, 834, 1308, 1306, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1326, 1327, 1328, 1329, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, 834, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1354, 1355, 1356, 1357, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 834, 834, 834, 977, 977, 1366, 977, 977, 977, 1367, 977, 977, 977, 977, 977, 1368, 977, 1369, 1372, 1373, 1374, 1375, 1376, 977, 977, 977, 977, 977, 1377, 1378, 1379, 1380, 1381, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1404, 1405, 1407, 1408, 1409, 1410, 977, 1412, 1413, 1414, 1416, 1417, 1419, 1420, 1421, 1422, 1424, 1425, 1427, 1428, 1429, 1430, 1432, 1433, 1434, 1436, 1437, 1439, 1440, 977, 977, 977, 988, 988, 1438, 988, 988, 988, 1438, 988, 988, 988, 988, 988, 1442, 988, 1444, 1445, 1446, 1448, 1450, 1438, 988, 988, 988, 988, 988, 1447, 1451, 1452, 1453, 1447, 1454, 1455, 1453, 1457, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1447, 1467, 1470, 1453, 1472, 1473, 1474, 1478, 1479, 1480, 1481, 1482, 988, 1483, 1486, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1508, 988, 988, 988, 1509, 1510, 1511, 1512, 1514, 1515, 1516, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1536, 1538, 1539, 1540, 1542, 1543, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1567, 1568, 1569, 1570, 1572, 1573, 1574, 1576, 1577, 1580, 1581, 1583, 1585, 1586, 1587, 1591, 1591, 1591, 1591, 1591, 1591, 1591, 1591, 1591, 1591, 1591, 1592, 1592, 1592, 1592, 1592, 1592, 1592, 1592, 1592, 1592, 1592, 1593, 1593, 1593, 1593, 1593, 1593, 1593, 1593, 1593, 1593, 1593, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1595, 1595, 1595, 1595, 1595, 1595, 1595, 1595, 1595, 1595, 1595, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1597, 1598, 1609, 1598, 799, 1598, 1598, 1598, 1598, 1599, 798, 1599, 1599, 1599, 1599, 1599, 1599, 1600, 797, 796, 795, 794, 1600, 1600, 1600, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1602, 792, 1602, 791, 1602, 1602, 1602, 1602, 1603, 790, 1603, 1603, 1603, 1603, 1603, 1603, 1603, 1603, 1603, 1604, 789, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1605, 788, 1605, 1605, 1605, 1605, 1605, 1605, 1605, 1605, 1605, 1606, 787, 1606, 1607, 1607, 1607, 786, 785, 1607, 1607, 784, 1607, 1608, 782, 1608, 780, 1608, 1608, 1608, 1608, 1610, 779, 1610, 1610, 1610, 1610, 1610, 1610, 1611, 777, 1611, 1611, 1611, 1611, 1611, 1611, 1611, 1611, 1611, 1612, 776, 1612, 1612, 1612, 1612, 1612, 1612, 1612, 1612, 1612, 1613, 775, 1613, 1613, 1613, 1613, 1613, 1613, 1613, 1613, 1613, 1614, 773, 1614, 1614, 1614, 1614, 1614, 1614, 1614, 1614, 1614, 772, 771, 770, 768, 767, 766, 765, 764, 763, 762, 760, 758, 756, 755, 754, 753, 752, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 736, 735, 732, 731, 730, 729, 728, 727, 725, 724, 722, 721, 720, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 702, 700, 699, 698, 697, 696, 695, 694, 693, 692, 690, 688, 687, 685, 684, 683, 681, 680, 679, 678, 676, 675, 674, 673, 672, 671, 670, 668, 666, 664, 663, 662, 661, 660, 658, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 643, 642, 641, 639, 638, 637, 636, 635, 634, 633, 632, 631, 630, 629, 627, 626, 625, 623, 620, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 590, 587, 586, 585, 584, 583, 582, 581, 580, 579, 577, 576, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 537, 536, 535, 534, 533, 532, 531, 530, 528, 527, 526, 525, 524, 523, 522, 521, 519, 515, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 484, 483, 482, 481, 480, 479, 478, 477, 476, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 446, 445, 442, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 427, 425, 424, 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, 411, 400, 397, 396, 395, 394, 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, 382, 381, 380, 379, 378, 377, 376, 375, 373, 372, 371, 368, 367, 365, 364, 363, 362, 361, 359, 358, 357, 356, 355, 353, 352, 351, 350, 347, 346, 345, 344, 337, 335, 334, 333, 332, 331, 330, 329, 328, 326, 325, 324, 323, 322, 321, 319, 318, 317, 313, 312, 308, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, 273, 271, 270, 269, 268, 267, 266, 265, 264, 262, 261, 260, 258, 257, 255, 254, 253, 252, 251, 249, 248, 247, 246, 245, 243, 242, 241, 240, 237, 236, 235, 234, 233, 229, 215, 213, 207, 201, 198, 196, 194, 193, 192, 183, 181, 180, 179, 170, 165, 163, 161, 160, 158, 150, 149, 148, 147, 146, 145, 143, 142, 136, 135, 134, 133, 116, 111, 106, 105, 104, 95, 85, 84, 78, 77, 76, 70, 69, 68, 67, 64, 63, 61, 60, 54, 53, 52, 51, 42, 34, 32, 31, 25, 24, 22, 19, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590 } ; 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 "ldlex.l" #line 2 "ldlex.l" /* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Written by Steve Chamberlain of Cygnus Support. This file is part of the GNU Binutils. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "safe-ctype.h" #include "bfdlink.h" #include "ld.h" #include "ldmisc.h" #include "ldexp.h" #include "ldlang.h" #include <ldgram.h> #include "ldfile.h" #include "ldlex.h" #include "ldmain.h" #include "libiberty.h" /* The type of top-level parser input. yylex and yyparse (indirectly) both check this. */ input_type parser_input; /* Line number in the current input file. (FIXME Actually, it doesn't appear to get reset for each file?) */ unsigned int lineno = 1; /* The string we are currently lexing, or NULL if we are reading a file. */ const char *lex_string = NULL; /* Support for flex reading from more than one input file (stream). `include_stack' is flex's input state for each open file; `file_name_stack' is the file names. `lineno_stack' is the current line numbers. If `include_stack_ptr' is 0, we haven't started reading anything yet. Otherwise, stack elements 0 through `include_stack_ptr - 1' are valid. */ #undef YY_INPUT #define YY_INPUT(buf,result,max_size) result = yy_input (buf, max_size) #define YY_NO_UNPUT #define MAX_INCLUDE_DEPTH 10 static YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; static const char *file_name_stack[MAX_INCLUDE_DEPTH]; static unsigned int lineno_stack[MAX_INCLUDE_DEPTH]; static unsigned int include_stack_ptr = 0; static int vers_node_nesting = 0; static int yy_input (char *, int); static void comment (void); static void lex_warn_invalid (char *where, char *what); /* STATES EXPRESSION definitely in an expression SCRIPT definitely in a script BOTH either EXPRESSION or SCRIPT DEFSYMEXP in an argument to -defsym MRI in an MRI script VERS_START starting a Sun style mapfile VERS_SCRIPT a Sun style mapfile VERS_NODE a node within a Sun style mapfile */ #define RTOKEN(x) { yylval.token = x; return x; } /* Some versions of flex want this. */ #ifndef yywrap int yywrap (void) { return 1; } #endif #line 1659 "../../srcw/ld/ldlex.c" #define INITIAL 0 #define SCRIPT 1 #define EXPRESSION 2 #define BOTH 3 #define DEFSYMEXP 4 #define MRI 5 #define VERS_START 6 #define VERS_SCRIPT 7 #define VERS_NODE 8 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include <unistd.h> #endif #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 static void yyunput (int c,char *buf_ptr ); #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO fwrite( yytext, yyleng, 1, yyout ) #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 = '*'; \ unsigned n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 116 "ldlex.l" if (parser_input != input_selected) { /* The first token of the input determines the initial parser state. */ input_type t = parser_input; parser_input = input_selected; switch (t) { case input_script: return INPUT_SCRIPT; break; case input_mri_script: return INPUT_MRI_SCRIPT; break; case input_version_script: return INPUT_VERSION_SCRIPT; break; case input_dynamic_list: return INPUT_DYNAMIC_LIST; break; case input_defsym: return INPUT_DEFSYM; break; default: abort (); } } #line 1868 "../../srcw/ld/ldlex.c" if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1591 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 2550 ); 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 134 "ldlex.l" { comment (); } YY_BREAK case 2: YY_RULE_SETUP #line 137 "ldlex.l" { RTOKEN('-');} YY_BREAK case 3: YY_RULE_SETUP #line 138 "ldlex.l" { RTOKEN('+');} YY_BREAK case 4: YY_RULE_SETUP #line 139 "ldlex.l" { yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 5: YY_RULE_SETUP #line 140 "ldlex.l" { RTOKEN('='); } YY_BREAK case 6: YY_RULE_SETUP #line 142 "ldlex.l" { yylval.integer = bfd_scan_vma (yytext + 1, 0, 16); yylval.bigint.str = NULL; return INT; } YY_BREAK case 7: YY_RULE_SETUP #line 148 "ldlex.l" { int ibase ; switch (yytext[yyleng - 1]) { case 'X': case 'x': case 'H': case 'h': ibase = 16; break; case 'O': case 'o': ibase = 8; break; case 'B': case 'b': ibase = 2; break; default: ibase = 10; } yylval.integer = bfd_scan_vma (yytext, 0, ibase); yylval.bigint.str = NULL; return INT; } YY_BREAK case 8: YY_RULE_SETUP #line 173 "ldlex.l" { char *s = yytext; int ibase = 0; if (*s == '$') { ++s; ibase = 16; } yylval.integer = bfd_scan_vma (s, 0, ibase); yylval.bigint.str = NULL; if (yytext[yyleng - 1] == 'M' || yytext[yyleng - 1] == 'm') { yylval.integer *= 1024 * 1024; } else if (yytext[yyleng - 1] == 'K' || yytext[yyleng - 1]=='k') { yylval.integer *= 1024; } else if (yytext[0] == '0' && (yytext[1] == 'x' || yytext[1] == 'X')) { yylval.bigint.str = xstrdup (yytext + 2); } return INT; } YY_BREAK case 9: YY_RULE_SETUP #line 202 "ldlex.l" { RTOKEN(']');} YY_BREAK case 10: YY_RULE_SETUP #line 203 "ldlex.l" { RTOKEN('[');} YY_BREAK case 11: YY_RULE_SETUP #line 204 "ldlex.l" { RTOKEN(LSHIFTEQ);} YY_BREAK case 12: YY_RULE_SETUP #line 205 "ldlex.l" { RTOKEN(RSHIFTEQ);} YY_BREAK case 13: YY_RULE_SETUP #line 206 "ldlex.l" { RTOKEN(OROR);} YY_BREAK case 14: YY_RULE_SETUP #line 207 "ldlex.l" { RTOKEN(EQ);} YY_BREAK case 15: YY_RULE_SETUP #line 208 "ldlex.l" { RTOKEN(NE);} YY_BREAK case 16: YY_RULE_SETUP #line 209 "ldlex.l" { RTOKEN(GE);} YY_BREAK case 17: YY_RULE_SETUP #line 210 "ldlex.l" { RTOKEN(LE);} YY_BREAK case 18: YY_RULE_SETUP #line 211 "ldlex.l" { RTOKEN(LSHIFT);} YY_BREAK case 19: YY_RULE_SETUP #line 212 "ldlex.l" { RTOKEN(RSHIFT);} YY_BREAK case 20: YY_RULE_SETUP #line 213 "ldlex.l" { RTOKEN(PLUSEQ);} YY_BREAK case 21: YY_RULE_SETUP #line 214 "ldlex.l" { RTOKEN(MINUSEQ);} YY_BREAK case 22: YY_RULE_SETUP #line 215 "ldlex.l" { RTOKEN(MULTEQ);} YY_BREAK case 23: YY_RULE_SETUP #line 216 "ldlex.l" { RTOKEN(DIVEQ);} YY_BREAK case 24: YY_RULE_SETUP #line 217 "ldlex.l" { RTOKEN(ANDEQ);} YY_BREAK case 25: YY_RULE_SETUP #line 218 "ldlex.l" { RTOKEN(OREQ);} YY_BREAK case 26: YY_RULE_SETUP #line 219 "ldlex.l" { RTOKEN(ANDAND);} YY_BREAK case 27: YY_RULE_SETUP #line 220 "ldlex.l" { RTOKEN('>');} YY_BREAK case 28: YY_RULE_SETUP #line 221 "ldlex.l" { RTOKEN(',');} YY_BREAK case 29: YY_RULE_SETUP #line 222 "ldlex.l" { RTOKEN('&');} YY_BREAK case 30: YY_RULE_SETUP #line 223 "ldlex.l" { RTOKEN('|');} YY_BREAK case 31: YY_RULE_SETUP #line 224 "ldlex.l" { RTOKEN('~');} YY_BREAK case 32: YY_RULE_SETUP #line 225 "ldlex.l" { RTOKEN('!');} YY_BREAK case 33: YY_RULE_SETUP #line 226 "ldlex.l" { RTOKEN('?');} YY_BREAK case 34: YY_RULE_SETUP #line 227 "ldlex.l" { RTOKEN('*');} YY_BREAK case 35: YY_RULE_SETUP #line 228 "ldlex.l" { RTOKEN('+');} YY_BREAK case 36: YY_RULE_SETUP #line 229 "ldlex.l" { RTOKEN('-');} YY_BREAK case 37: YY_RULE_SETUP #line 230 "ldlex.l" { RTOKEN('/');} YY_BREAK case 38: YY_RULE_SETUP #line 231 "ldlex.l" { RTOKEN('%');} YY_BREAK case 39: YY_RULE_SETUP #line 232 "ldlex.l" { RTOKEN('<');} YY_BREAK case 40: YY_RULE_SETUP #line 233 "ldlex.l" { RTOKEN('=');} YY_BREAK case 41: YY_RULE_SETUP #line 234 "ldlex.l" { RTOKEN('}') ; } YY_BREAK case 42: YY_RULE_SETUP #line 235 "ldlex.l" { RTOKEN('{'); } YY_BREAK case 43: YY_RULE_SETUP #line 236 "ldlex.l" { RTOKEN(')');} YY_BREAK case 44: YY_RULE_SETUP #line 237 "ldlex.l" { RTOKEN('(');} YY_BREAK case 45: YY_RULE_SETUP #line 238 "ldlex.l" { RTOKEN(':'); } YY_BREAK case 46: YY_RULE_SETUP #line 239 "ldlex.l" { RTOKEN(';');} YY_BREAK case 47: YY_RULE_SETUP #line 240 "ldlex.l" { RTOKEN(MEMORY);} YY_BREAK case 48: YY_RULE_SETUP #line 241 "ldlex.l" { RTOKEN(REGION_ALIAS);} YY_BREAK case 49: YY_RULE_SETUP #line 242 "ldlex.l" { RTOKEN(ORIGIN);} YY_BREAK case 50: YY_RULE_SETUP #line 243 "ldlex.l" { RTOKEN(VERSIONK);} YY_BREAK case 51: YY_RULE_SETUP #line 244 "ldlex.l" { RTOKEN(BLOCK);} YY_BREAK case 52: YY_RULE_SETUP #line 245 "ldlex.l" { RTOKEN(BIND);} YY_BREAK case 53: YY_RULE_SETUP #line 246 "ldlex.l" { RTOKEN(LENGTH);} YY_BREAK case 54: YY_RULE_SETUP #line 247 "ldlex.l" { RTOKEN(ALIGN_K);} YY_BREAK case 55: YY_RULE_SETUP #line 248 "ldlex.l" { RTOKEN(DATA_SEGMENT_ALIGN);} YY_BREAK case 56: YY_RULE_SETUP #line 249 "ldlex.l" { RTOKEN(DATA_SEGMENT_RELRO_END);} YY_BREAK case 57: YY_RULE_SETUP #line 250 "ldlex.l" { RTOKEN(DATA_SEGMENT_END);} YY_BREAK case 58: YY_RULE_SETUP #line 251 "ldlex.l" { RTOKEN(ADDR);} YY_BREAK case 59: YY_RULE_SETUP #line 252 "ldlex.l" { RTOKEN(LOADADDR);} YY_BREAK case 60: YY_RULE_SETUP #line 253 "ldlex.l" { RTOKEN(ALIGNOF); } YY_BREAK case 61: YY_RULE_SETUP #line 254 "ldlex.l" { RTOKEN(MAX_K); } YY_BREAK case 62: YY_RULE_SETUP #line 255 "ldlex.l" { RTOKEN(MIN_K); } YY_BREAK case 63: YY_RULE_SETUP #line 256 "ldlex.l" { RTOKEN(ASSERT_K); } YY_BREAK case 64: YY_RULE_SETUP #line 257 "ldlex.l" { RTOKEN(ENTRY);} YY_BREAK case 65: YY_RULE_SETUP #line 258 "ldlex.l" { RTOKEN(EXTERN);} YY_BREAK case 66: YY_RULE_SETUP #line 259 "ldlex.l" { RTOKEN(NEXT);} YY_BREAK case 67: YY_RULE_SETUP #line 260 "ldlex.l" { RTOKEN(SIZEOF_HEADERS);} YY_BREAK case 68: YY_RULE_SETUP #line 261 "ldlex.l" { RTOKEN(SIZEOF_HEADERS);} YY_BREAK case 69: YY_RULE_SETUP #line 262 "ldlex.l" { RTOKEN(SEGMENT_START);} YY_BREAK case 70: YY_RULE_SETUP #line 263 "ldlex.l" { RTOKEN(MAP);} YY_BREAK case 71: YY_RULE_SETUP #line 264 "ldlex.l" { RTOKEN(SIZEOF);} YY_BREAK case 72: YY_RULE_SETUP #line 265 "ldlex.l" { RTOKEN(TARGET_K);} YY_BREAK case 73: YY_RULE_SETUP #line 266 "ldlex.l" { RTOKEN(SEARCH_DIR);} YY_BREAK case 74: YY_RULE_SETUP #line 267 "ldlex.l" { RTOKEN(OUTPUT);} YY_BREAK case 75: YY_RULE_SETUP #line 268 "ldlex.l" { RTOKEN(INPUT);} YY_BREAK case 76: YY_RULE_SETUP #line 269 "ldlex.l" { RTOKEN(GROUP);} YY_BREAK case 77: YY_RULE_SETUP #line 270 "ldlex.l" { RTOKEN(AS_NEEDED);} YY_BREAK case 78: YY_RULE_SETUP #line 271 "ldlex.l" { RTOKEN(DEFINED);} YY_BREAK case 79: YY_RULE_SETUP #line 272 "ldlex.l" { RTOKEN(CREATE_OBJECT_SYMBOLS);} YY_BREAK case 80: YY_RULE_SETUP #line 273 "ldlex.l" { RTOKEN( CONSTRUCTORS);} YY_BREAK case 81: YY_RULE_SETUP #line 274 "ldlex.l" { RTOKEN(FORCE_COMMON_ALLOCATION);} YY_BREAK case 82: YY_RULE_SETUP #line 275 "ldlex.l" { RTOKEN(INHIBIT_COMMON_ALLOCATION);} YY_BREAK case 83: YY_RULE_SETUP #line 276 "ldlex.l" { RTOKEN(SECTIONS);} YY_BREAK case 84: YY_RULE_SETUP #line 277 "ldlex.l" { RTOKEN(INSERT_K);} YY_BREAK case 85: YY_RULE_SETUP #line 278 "ldlex.l" { RTOKEN(AFTER);} YY_BREAK case 86: YY_RULE_SETUP #line 279 "ldlex.l" { RTOKEN(BEFORE);} YY_BREAK case 87: YY_RULE_SETUP #line 280 "ldlex.l" { RTOKEN(FILL);} YY_BREAK case 88: YY_RULE_SETUP #line 281 "ldlex.l" { RTOKEN(STARTUP);} YY_BREAK case 89: YY_RULE_SETUP #line 282 "ldlex.l" { RTOKEN(OUTPUT_FORMAT);} YY_BREAK case 90: YY_RULE_SETUP #line 283 "ldlex.l" { RTOKEN( OUTPUT_ARCH);} YY_BREAK case 91: YY_RULE_SETUP #line 284 "ldlex.l" { RTOKEN(HLL);} YY_BREAK case 92: YY_RULE_SETUP #line 285 "ldlex.l" { RTOKEN(SYSLIB);} YY_BREAK case 93: YY_RULE_SETUP #line 286 "ldlex.l" { RTOKEN(FLOAT);} YY_BREAK case 94: YY_RULE_SETUP #line 287 "ldlex.l" { RTOKEN( QUAD);} YY_BREAK case 95: YY_RULE_SETUP #line 288 "ldlex.l" { RTOKEN( SQUAD);} YY_BREAK case 96: YY_RULE_SETUP #line 289 "ldlex.l" { RTOKEN( LONG);} YY_BREAK case 97: YY_RULE_SETUP #line 290 "ldlex.l" { RTOKEN( SHORT);} YY_BREAK case 98: YY_RULE_SETUP #line 291 "ldlex.l" { RTOKEN( BYTE);} YY_BREAK case 99: YY_RULE_SETUP #line 292 "ldlex.l" { RTOKEN(NOFLOAT);} YY_BREAK case 100: YY_RULE_SETUP #line 293 "ldlex.l" { RTOKEN(NOCROSSREFS);} YY_BREAK case 101: YY_RULE_SETUP #line 294 "ldlex.l" { RTOKEN(OVERLAY); } YY_BREAK case 102: YY_RULE_SETUP #line 295 "ldlex.l" { RTOKEN(SORT_BY_NAME); } YY_BREAK case 103: YY_RULE_SETUP #line 296 "ldlex.l" { RTOKEN(SORT_BY_ALIGNMENT); } YY_BREAK case 104: YY_RULE_SETUP #line 297 "ldlex.l" { RTOKEN(SORT_BY_NAME); } YY_BREAK case 105: YY_RULE_SETUP #line 298 "ldlex.l" { RTOKEN(NOLOAD);} YY_BREAK case 106: YY_RULE_SETUP #line 299 "ldlex.l" { RTOKEN(DSECT);} YY_BREAK case 107: YY_RULE_SETUP #line 300 "ldlex.l" { RTOKEN(COPY);} YY_BREAK case 108: YY_RULE_SETUP #line 301 "ldlex.l" { RTOKEN(INFO);} YY_BREAK case 109: YY_RULE_SETUP #line 302 "ldlex.l" { RTOKEN(OVERLAY);} YY_BREAK case 110: YY_RULE_SETUP #line 303 "ldlex.l" { RTOKEN(ONLY_IF_RO); } YY_BREAK case 111: YY_RULE_SETUP #line 304 "ldlex.l" { RTOKEN(ONLY_IF_RW); } YY_BREAK case 112: YY_RULE_SETUP #line 305 "ldlex.l" { RTOKEN(SPECIAL); } YY_BREAK case 113: YY_RULE_SETUP #line 306 "ldlex.l" { RTOKEN(ORIGIN);} YY_BREAK case 114: YY_RULE_SETUP #line 307 "ldlex.l" { RTOKEN(ORIGIN);} YY_BREAK case 115: YY_RULE_SETUP #line 308 "ldlex.l" { RTOKEN( LENGTH);} YY_BREAK case 116: YY_RULE_SETUP #line 309 "ldlex.l" { RTOKEN( LENGTH);} YY_BREAK case 117: YY_RULE_SETUP #line 310 "ldlex.l" { RTOKEN(INCLUDE);} YY_BREAK case 118: YY_RULE_SETUP #line 311 "ldlex.l" { RTOKEN (PHDRS); } YY_BREAK case 119: YY_RULE_SETUP #line 312 "ldlex.l" { RTOKEN(AT);} YY_BREAK case 120: YY_RULE_SETUP #line 313 "ldlex.l" { RTOKEN(SUBALIGN);} YY_BREAK case 121: YY_RULE_SETUP #line 314 "ldlex.l" { RTOKEN(PROVIDE); } YY_BREAK case 122: YY_RULE_SETUP #line 315 "ldlex.l" { RTOKEN(PROVIDE_HIDDEN); } YY_BREAK case 123: YY_RULE_SETUP #line 316 "ldlex.l" { RTOKEN(KEEP); } YY_BREAK case 124: YY_RULE_SETUP #line 317 "ldlex.l" { RTOKEN(EXCLUDE_FILE); } YY_BREAK case 125: YY_RULE_SETUP #line 318 "ldlex.l" { RTOKEN(CONSTANT);} YY_BREAK case 126: /* rule 126 can match eol */ YY_RULE_SETUP #line 319 "ldlex.l" { ++ lineno; } YY_BREAK case 127: /* rule 127 can match eol */ YY_RULE_SETUP #line 320 "ldlex.l" { ++ lineno; RTOKEN(NEWLINE); } YY_BREAK case 128: YY_RULE_SETUP #line 321 "ldlex.l" { /* Mri comment line */ } YY_BREAK case 129: YY_RULE_SETUP #line 322 "ldlex.l" { /* Mri comment line */ } YY_BREAK case 130: YY_RULE_SETUP #line 323 "ldlex.l" { RTOKEN(ENDWORD); } YY_BREAK case 131: YY_RULE_SETUP #line 324 "ldlex.l" { RTOKEN(ALIGNMOD);} YY_BREAK case 132: YY_RULE_SETUP #line 325 "ldlex.l" { RTOKEN(ALIGN_K);} YY_BREAK case 133: YY_RULE_SETUP #line 326 "ldlex.l" { RTOKEN(CHIP); } YY_BREAK case 134: YY_RULE_SETUP #line 327 "ldlex.l" { RTOKEN(BASE); } YY_BREAK case 135: YY_RULE_SETUP #line 328 "ldlex.l" { RTOKEN(ALIAS); } YY_BREAK case 136: YY_RULE_SETUP #line 329 "ldlex.l" { RTOKEN(TRUNCATE); } YY_BREAK case 137: YY_RULE_SETUP #line 330 "ldlex.l" { RTOKEN(LOAD); } YY_BREAK case 138: YY_RULE_SETUP #line 331 "ldlex.l" { RTOKEN(PUBLIC); } YY_BREAK case 139: YY_RULE_SETUP #line 332 "ldlex.l" { RTOKEN(ORDER); } YY_BREAK case 140: YY_RULE_SETUP #line 333 "ldlex.l" { RTOKEN(NAMEWORD); } YY_BREAK case 141: YY_RULE_SETUP #line 334 "ldlex.l" { RTOKEN(FORMAT); } YY_BREAK case 142: YY_RULE_SETUP #line 335 "ldlex.l" { RTOKEN(CASE); } YY_BREAK case 143: YY_RULE_SETUP #line 336 "ldlex.l" { RTOKEN(START); } YY_BREAK case 144: YY_RULE_SETUP #line 337 "ldlex.l" { RTOKEN(LIST); /* LIST and ignore to end of line */ } YY_BREAK case 145: YY_RULE_SETUP #line 338 "ldlex.l" { RTOKEN(SECT); } YY_BREAK case 146: YY_RULE_SETUP #line 339 "ldlex.l" { RTOKEN(ABSOLUTE); } YY_BREAK case 147: YY_RULE_SETUP #line 340 "ldlex.l" { RTOKEN(ENDWORD); } YY_BREAK case 148: YY_RULE_SETUP #line 341 "ldlex.l" { RTOKEN(ALIGNMOD);} YY_BREAK case 149: YY_RULE_SETUP #line 342 "ldlex.l" { RTOKEN(ALIGN_K);} YY_BREAK case 150: YY_RULE_SETUP #line 343 "ldlex.l" { RTOKEN(CHIP); } YY_BREAK case 151: YY_RULE_SETUP #line 344 "ldlex.l" { RTOKEN(BASE); } YY_BREAK case 152: YY_RULE_SETUP #line 345 "ldlex.l" { RTOKEN(ALIAS); } YY_BREAK case 153: YY_RULE_SETUP #line 346 "ldlex.l" { RTOKEN(TRUNCATE); } YY_BREAK case 154: YY_RULE_SETUP #line 347 "ldlex.l" { RTOKEN(LOAD); } YY_BREAK case 155: YY_RULE_SETUP #line 348 "ldlex.l" { RTOKEN(PUBLIC); } YY_BREAK case 156: YY_RULE_SETUP #line 349 "ldlex.l" { RTOKEN(ORDER); } YY_BREAK case 157: YY_RULE_SETUP #line 350 "ldlex.l" { RTOKEN(NAMEWORD); } YY_BREAK case 158: YY_RULE_SETUP #line 351 "ldlex.l" { RTOKEN(FORMAT); } YY_BREAK case 159: YY_RULE_SETUP #line 352 "ldlex.l" { RTOKEN(CASE); } YY_BREAK case 160: YY_RULE_SETUP #line 353 "ldlex.l" { RTOKEN(EXTERN); } YY_BREAK case 161: YY_RULE_SETUP #line 354 "ldlex.l" { RTOKEN(START); } YY_BREAK case 162: YY_RULE_SETUP #line 355 "ldlex.l" { RTOKEN(LIST); /* LIST and ignore to end of line */ } YY_BREAK case 163: YY_RULE_SETUP #line 356 "ldlex.l" { RTOKEN(SECT); } YY_BREAK case 164: YY_RULE_SETUP #line 357 "ldlex.l" { RTOKEN(ABSOLUTE); } YY_BREAK case 165: YY_RULE_SETUP #line 359 "ldlex.l" { /* Filename without commas, needed to parse mri stuff */ yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 166: YY_RULE_SETUP #line 366 "ldlex.l" { yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 167: YY_RULE_SETUP #line 370 "ldlex.l" { yylval.name = xstrdup (yytext + 2); return LNAME; } YY_BREAK case 168: YY_RULE_SETUP #line 374 "ldlex.l" { yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 169: YY_RULE_SETUP #line 378 "ldlex.l" { yylval.name = xstrdup (yytext + 2); return LNAME; } YY_BREAK case 170: YY_RULE_SETUP #line 382 "ldlex.l" { /* Annoyingly, this pattern can match comments, and we have longest match issues to consider. So if the first two characters are a comment opening, put the input back and try again. */ if (yytext[0] == '/' && yytext[1] == '*') { yyless (2); comment (); } else { yylval.name = xstrdup (yytext); return NAME; } } YY_BREAK case 171: /* rule 171 can match eol */ YY_RULE_SETUP #line 399 "ldlex.l" { /* No matter the state, quotes give what's inside */ yylval.name = xstrdup (yytext + 1); yylval.name[yyleng - 2] = 0; return NAME; } YY_BREAK case 172: /* rule 172 can match eol */ YY_RULE_SETUP #line 406 "ldlex.l" { lineno++;} YY_BREAK case 173: YY_RULE_SETUP #line 407 "ldlex.l" { } YY_BREAK case 174: YY_RULE_SETUP #line 409 "ldlex.l" { return *yytext; } YY_BREAK case 175: YY_RULE_SETUP #line 411 "ldlex.l" { RTOKEN(GLOBAL); } YY_BREAK case 176: YY_RULE_SETUP #line 413 "ldlex.l" { RTOKEN(LOCAL); } YY_BREAK case 177: YY_RULE_SETUP #line 415 "ldlex.l" { RTOKEN(EXTERN); } YY_BREAK case 178: YY_RULE_SETUP #line 417 "ldlex.l" { yylval.name = xstrdup (yytext); return VERS_IDENTIFIER; } YY_BREAK case 179: YY_RULE_SETUP #line 420 "ldlex.l" { yylval.name = xstrdup (yytext); return VERS_TAG; } YY_BREAK case 180: YY_RULE_SETUP #line 423 "ldlex.l" { BEGIN(VERS_SCRIPT); return *yytext; } YY_BREAK case 181: YY_RULE_SETUP #line 425 "ldlex.l" { BEGIN(VERS_NODE); vers_node_nesting = 0; return *yytext; } YY_BREAK case 182: YY_RULE_SETUP #line 429 "ldlex.l" { return *yytext; } YY_BREAK case 183: YY_RULE_SETUP #line 430 "ldlex.l" { vers_node_nesting++; return *yytext; } YY_BREAK case 184: YY_RULE_SETUP #line 431 "ldlex.l" { if (--vers_node_nesting < 0) BEGIN(VERS_SCRIPT); return *yytext; } YY_BREAK case 185: /* rule 185 can match eol */ YY_RULE_SETUP #line 436 "ldlex.l" { lineno++; } YY_BREAK case 186: YY_RULE_SETUP #line 438 "ldlex.l" { /* Eat up comments */ } YY_BREAK case 187: YY_RULE_SETUP #line 440 "ldlex.l" { /* Eat up whitespace */ } YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(SCRIPT): case YY_STATE_EOF(EXPRESSION): case YY_STATE_EOF(BOTH): case YY_STATE_EOF(DEFSYMEXP): case YY_STATE_EOF(MRI): case YY_STATE_EOF(VERS_START): case YY_STATE_EOF(VERS_SCRIPT): case YY_STATE_EOF(VERS_NODE): #line 442 "ldlex.l" { include_stack_ptr--; if (include_stack_ptr == 0) { yyterminate (); } else { yy_switch_to_buffer (include_stack[include_stack_ptr]); } ldfile_input_filename = file_name_stack[include_stack_ptr - 1]; lineno = lineno_stack[include_stack_ptr]; return END; } YY_BREAK case 188: YY_RULE_SETUP #line 460 "ldlex.l" lex_warn_invalid (" in script", yytext); YY_BREAK case 189: YY_RULE_SETUP #line 461 "ldlex.l" lex_warn_invalid (" in expression", yytext); YY_BREAK case 190: YY_RULE_SETUP #line 463 "ldlex.l" ECHO; YY_BREAK #line 3035 "../../srcw/ld/ldlex.c" case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { 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; 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,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), (size_t) num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart(yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1591 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) 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 ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1591 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_is_jam = (yy_current_state == 1590); return yy_is_jam ? 0 : yy_current_state; } static void yyunput (int c, register char * yy_bp ) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int number_to_move = (yy_n_chars) + 2; register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* 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) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param bytes the byte buffer to scan * @param len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 463 "ldlex.l" /* Switch flex to reading script file NAME, open on FILE, saving the current input info on the include stack. */ void lex_push_file (FILE *file, const char *name) { if (include_stack_ptr >= MAX_INCLUDE_DEPTH) { einfo ("%F:includes nested too deeply\n"); } file_name_stack[include_stack_ptr] = name; lineno_stack[include_stack_ptr] = lineno; include_stack[include_stack_ptr] = YY_CURRENT_BUFFER; include_stack_ptr++; lineno = 1; yyin = file; yy_switch_to_buffer (yy_create_buffer (yyin, YY_BUF_SIZE)); } /* Return a newly created flex input buffer containing STRING, which is SIZE bytes long. */ static YY_BUFFER_STATE yy_create_string_buffer (const char *string, size_t size) { YY_BUFFER_STATE b; /* Calls to m-alloc get turned by sed into xm-alloc. */ b = malloc (sizeof (struct yy_buffer_state)); b->yy_input_file = 0; 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 = malloc ((unsigned) (b->yy_buf_size + 3)); b->yy_ch_buf[0] = '\n'; strcpy (b->yy_ch_buf+1, string); b->yy_ch_buf[size+1] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[size+2] = YY_END_OF_BUFFER_CHAR; b->yy_n_chars = size+1; b->yy_buf_pos = &b->yy_ch_buf[1]; b->yy_is_our_buffer = 1; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; /* flex 2.4.7 changed the interface. FIXME: We should not be using a flex internal interface in the first place! */ #ifdef YY_BUFFER_NEW b->yy_buffer_status = YY_BUFFER_NEW; #else b->yy_eof_status = EOF_NOT_SEEN; #endif return b; } /* Switch flex to reading from STRING, saving the current input info on the include stack. */ void lex_redirect (const char *string) { YY_BUFFER_STATE tmp; yy_init = 0; if (include_stack_ptr >= MAX_INCLUDE_DEPTH) { einfo("%F: macros nested too deeply\n"); } file_name_stack[include_stack_ptr] = "redirect"; lineno_stack[include_stack_ptr] = lineno; include_stack[include_stack_ptr] = YY_CURRENT_BUFFER; include_stack_ptr++; lineno = 1; tmp = yy_create_string_buffer (string, strlen (string)); yy_switch_to_buffer (tmp); } /* Functions to switch to a different flex start condition, saving the current start condition on `state_stack'. */ static int state_stack[MAX_INCLUDE_DEPTH * 2]; static int *state_stack_p = state_stack; void ldlex_script (void) { *(state_stack_p)++ = yy_start; BEGIN (SCRIPT); } void ldlex_mri_script (void) { *(state_stack_p)++ = yy_start; BEGIN (MRI); } void ldlex_version_script (void) { *(state_stack_p)++ = yy_start; BEGIN (VERS_START); } void ldlex_version_file (void) { *(state_stack_p)++ = yy_start; BEGIN (VERS_SCRIPT); } void ldlex_defsym (void) { *(state_stack_p)++ = yy_start; BEGIN (DEFSYMEXP); } void ldlex_expression (void) { *(state_stack_p)++ = yy_start; BEGIN (EXPRESSION); } void ldlex_both (void) { *(state_stack_p)++ = yy_start; BEGIN (BOTH); } void ldlex_popstate (void) { yy_start = *(--state_stack_p); } /* Place up to MAX_SIZE characters in BUF and return either the number of characters read, or 0 to indicate EOF. */ static int yy_input (char *buf, int max_size) { int result = 0; if (YY_CURRENT_BUFFER->yy_input_file) { if (yyin) { result = fread (buf, 1, max_size, yyin); if (result < max_size && ferror (yyin)) einfo ("%F%P: read in flex scanner failed\n"); } } return result; } /* Eat the rest of a C-style comment. */ static void comment (void) { int c; while (1) { c = input(); while (c != '*' && c != EOF) { if (c == '\n') lineno++; c = input(); } if (c == '*') { c = input(); while (c == '*') c = input(); if (c == '/') break; /* found the end */ } if (c == '\n') lineno++; if (c == EOF) { einfo( "%F%P: EOF in comment\n"); break; } } } /* Warn the user about a garbage character WHAT in the input in context WHERE. */ static void lex_warn_invalid (char *where, char *what) { char buf[5]; /* If we have found an input file whose format we do not recognize, and we are therefore treating it as a linker script, and we find an invalid character, then most likely this is a real object file of some different format. Treat it as such. */ if (ldfile_assumed_script) { bfd_set_error (bfd_error_file_not_recognized); einfo ("%F%s: file not recognized: %E\n", ldfile_input_filename); } if (! ISPRINT (*what)) { sprintf (buf, "\\%03o", (unsigned int) *what); what = buf; } einfo ("%P:%S: ignoring invalid character `%s'%s\n", what, where); }
Go to most recent revision | Compare with Previous | Blame | View Log