URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [ldlex.c] - Rev 568
Go to most recent revision | Compare with Previous | Blame | View Log
/* A lexical scanner generated by flex */ /* Scanner skeleton version: * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #include <stdio.h> #include <unistd.h> /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ #ifdef c_plusplus #ifndef __cplusplus #define __cplusplus #endif #endif #ifdef __cplusplus #include <stdlib.h> /* Use prototypes in function declarations. */ #define YY_USE_PROTOS /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ #if __STDC__ #define YY_USE_PROTOS #define YY_USE_CONST #endif /* __STDC__ */ #endif /* ! __cplusplus */ #ifdef __TURBOC__ #pragma warn -rch #pragma warn -use #include <io.h> #include <stdlib.h> #define YY_USE_CONST #define YY_USE_PROTOS #endif #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif #ifdef YY_USE_PROTOS #define YY_PROTO(proto) proto #else #define YY_PROTO(proto) () #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. */ #define YY_BUF_SIZE 16384 typedef struct yy_buffer_state *YY_BUFFER_STATE; 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 /* The funky do-while in the following #define is used to turn the definition * int a single C statement (which needs a semi-colon terminator). This * avoids problems with code like: * * if ( condition_holds ) * yyless( 5 ); * else * do_something_else(); * * Prior to using the do-while the compiler would get upset at the * "else" because it interpreted the "if" statement as being all * done when it reached the ';' after the yyless() call. */ /* Return all but the first 'n' matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, yytext_ptr ) /* The following is because we cannot portably get our hands on size_t * (without autoconf's help, which isn't available because we want * flex-generated scanners to compile on their own). */ typedef unsigned int yy_size_t; 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; /* 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 }; static YY_BUFFER_STATE yy_current_buffer = 0; /* 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". */ #define YY_CURRENT_BUFFER yy_current_buffer /* 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 = 1; /* 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 YY_PROTO(( FILE *input_file )); void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); void yy_load_buffer_state YY_PROTO(( void )); YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); static void *yy_flex_alloc YY_PROTO(( yy_size_t )); static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); static void yy_flex_free YY_PROTO(( void * )); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state YY_PROTO(( void )); static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); static int yy_get_next_buffer YY_PROTO(( void )); static void yy_fatal_error YY_PROTO(( 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 = (int) (yy_cp - yy_bp); \ yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yy_c_buf_p = yy_cp; #define YY_NUM_RULES 189 #define YY_END_OF_BUFFER 190 static yyconst short int yy_accept[1562] = { 0, 0, 0, 169, 169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 189, 187, 172, 171, 32, 187, 169, 38, 29, 44, 43, 34, 35, 28, 36, 169, 37, 8, 8, 45, 46, 39, 40, 27, 33, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 10, 9, 169, 114, 112, 169, 42, 30, 41, 31, 188, 172, 32, 188, 167, 38, 29, 44, 43, 34, 35, 28, 36, 167, 37, 8, 8, 45, 46, 39, 40, 27, 33, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 10, 9, 167, 167, 42, 30, 41, 31, 165, 36, 165, 37, 8, 8, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 114, 112, 165, 31, 4, 3, 2, 4, 5, 126, 125, 164, 34, 35, 28, 36, 164, 37, 8, 8, 45, 46, 40, 33, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 10, 9, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 31, 186, 184, 185, 187, 179, 178, 173, 180, 181, 177, 177, 177, 177, 182, 183, 172, 15, 0, 170, 169, 8, 26, 24, 22, 20, 21, 1, 23, 8, 8, 169, 18, 17, 14, 16, 19, 169, 169, 169, 169, 169, 118, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 25, 13, 167, 6, 22, 20, 21, 0, 1, 23, 8, 0, 7, 7, 8, 7, 14, 167, 7, 7, 7, 167, 167, 118, 7, 167, 167, 7, 167, 167, 167, 7, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 7, 167, 165, 8, 0, 23, 8, 0, 165, 165, 165, 165, 165, 118, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 4, 4, 125, 125, 164, 6, 127, 22, 128, 164, 7, 7, 7, 164, 164, 164, 7, 164, 7, 7, 164, 164, 164, 164, 164, 164, 164, 164, 7, 164, 164, 164, 7, 164, 7, 7, 164, 164, 164, 164, 164, 164, 164, 164, 186, 185, 178, 177, 0, 177, 177, 177, 11, 12, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 90, 169, 169, 169, 169, 169, 169, 169, 169, 169, 69, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 115, 113, 169, 8, 168, 8, 167, 7, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 60, 61, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 8, 166, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 90, 165, 165, 165, 165, 165, 165, 165, 165, 165, 69, 60, 165, 61, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 115, 113, 165, 4, 8, 164, 164, 164, 164, 164, 129, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 146, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 177, 177, 177, 169, 57, 169, 169, 169, 169, 169, 51, 169, 97, 169, 106, 169, 169, 169, 169, 169, 169, 169, 86, 169, 169, 169, 169, 107, 169, 169, 169, 122, 169, 169, 95, 169, 65, 169, 169, 169, 169, 169, 169, 169, 169, 169, 93, 169, 169, 169, 169, 169, 103, 169, 169, 169, 169, 169, 169, 169, 169, 169, 167, 57, 167, 167, 167, 51, 167, 167, 106, 167, 167, 167, 167, 167, 107, 122, 167, 167, 65, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 165, 57, 165, 165, 165, 165, 165, 51, 165, 97, 165, 106, 165, 165, 165, 165, 165, 165, 165, 86, 165, 165, 165, 165, 107, 165, 165, 165, 122, 165, 165, 95, 165, 65, 165, 165, 165, 165, 165, 165, 165, 165, 165, 93, 165, 165, 165, 165, 165, 103, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 133, 141, 132, 164, 164, 143, 136, 139, 164, 164, 144, 164, 164, 164, 164, 164, 150, 158, 149, 164, 164, 161, 153, 156, 164, 164, 162, 164, 164, 177, 177, 177, 169, 84, 53, 169, 169, 169, 50, 169, 169, 169, 169, 105, 63, 169, 169, 92, 169, 75, 169, 169, 74, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 117, 169, 169, 169, 169, 96, 169, 169, 169, 94, 169, 169, 169, 169, 169, 169, 169, 167, 53, 167, 167, 50, 167, 167, 167, 105, 167, 75, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 165, 84, 53, 165, 165, 165, 50, 165, 165, 165, 165, 105, 63, 165, 165, 92, 165, 75, 165, 165, 74, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 117, 165, 165, 165, 165, 96, 165, 165, 165, 94, 165, 165, 165, 165, 165, 165, 165, 164, 134, 131, 164, 164, 143, 143, 138, 164, 142, 164, 164, 151, 148, 164, 164, 161, 161, 155, 164, 160, 164, 177, 177, 175, 169, 169, 62, 169, 85, 169, 169, 169, 169, 169, 169, 64, 169, 169, 169, 83, 52, 169, 47, 169, 169, 104, 169, 48, 73, 169, 169, 169, 169, 169, 70, 169, 169, 169, 169, 91, 71, 169, 169, 169, 167, 167, 62, 167, 167, 167, 167, 167, 52, 167, 167, 104, 167, 48, 167, 167, 167, 70, 167, 167, 167, 167, 165, 165, 62, 165, 85, 165, 165, 165, 165, 165, 165, 64, 165, 165, 165, 83, 52, 165, 47, 165, 165, 104, 165, 48, 73, 165, 165, 165, 165, 165, 70, 165, 165, 165, 165, 91, 71, 165, 165, 165, 164, 164, 64, 140, 137, 164, 164, 164, 159, 157, 154, 164, 176, 174, 169, 59, 169, 169, 169, 169, 169, 77, 169, 169, 116, 169, 169, 169, 98, 169, 169, 100, 120, 169, 169, 169, 169, 169, 111, 87, 169, 49, 169, 169, 167, 59, 167, 167, 167, 77, 167, 167, 167, 167, 108, 120, 167, 167, 111, 167, 167, 167, 165, 59, 165, 165, 165, 165, 165, 77, 165, 165, 116, 165, 165, 165, 98, 165, 165, 100, 120, 165, 165, 165, 165, 165, 111, 87, 165, 49, 165, 165, 164, 164, 164, 164, 164, 164, 145, 169, 124, 169, 169, 169, 169, 169, 169, 58, 169, 169, 169, 169, 169, 169, 82, 169, 169, 169, 119, 163, 169, 145, 167, 124, 167, 167, 58, 167, 167, 167, 167, 167, 119, 163, 167, 145, 165, 124, 165, 165, 165, 165, 165, 165, 58, 165, 165, 165, 165, 165, 165, 82, 165, 165, 165, 119, 163, 165, 145, 130, 135, 163, 147, 152, 76, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 76, 167, 167, 167, 167, 167, 167, 167, 167, 76, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 169, 169, 169, 169, 169, 169, 169, 109, 110, 169, 169, 169, 72, 169, 169, 169, 169, 169, 167, 167, 167, 109, 110, 167, 167, 167, 167, 165, 165, 165, 165, 165, 165, 165, 109, 110, 165, 165, 165, 72, 165, 165, 165, 165, 165, 169, 169, 169, 169, 169, 169, 99, 89, 169, 169, 169, 169, 169, 169, 169, 167, 167, 99, 167, 167, 167, 167, 165, 165, 165, 165, 165, 165, 99, 89, 165, 165, 165, 165, 165, 165, 165, 79, 169, 169, 123, 169, 169, 169, 169, 169, 169, 169, 101, 169, 167, 123, 167, 167, 167, 167, 79, 165, 165, 123, 165, 165, 165, 165, 165, 165, 165, 101, 165, 169, 169, 169, 169, 88, 169, 68, 169, 169, 169, 167, 167, 68, 167, 167, 165, 165, 165, 165, 88, 165, 68, 165, 165, 165, 169, 169, 169, 169, 169, 169, 121, 67, 169, 66, 167, 167, 167, 121, 67, 66, 165, 165, 165, 165, 165, 165, 121, 67, 165, 66, 169, 169, 169, 169, 169, 169, 169, 167, 167, 167, 165, 165, 165, 165, 165, 165, 165, 169, 169, 56, 169, 169, 169, 169, 167, 56, 167, 165, 165, 56, 165, 165, 165, 165, 169, 169, 169, 169, 169, 102, 167, 167, 165, 165, 165, 165, 165, 102, 169, 54, 169, 169, 169, 54, 167, 165, 54, 165, 165, 165, 169, 169, 169, 169, 167, 165, 165, 165, 165, 169, 169, 169, 169, 167, 165, 165, 165, 165, 78, 169, 169, 169, 167, 78, 165, 165, 165, 55, 169, 169, 55, 55, 165, 165, 80, 169, 80, 165, 169, 165, 81, 81, 0 } ; static yyconst int 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 int 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 short int yy_base[1586] = { 0, 0, 0, 0, 0, 81, 0, 162, 0, 243, 323, 403, 0, 271, 273, 484, 565, 646, 727, 2522, 2523, 2523, 2519, 2523, 2497, 2514, 791, 2523, 260, 2523, 2523, 2495, 2494, 0, 2493, 0, 247, 321, 492, 0, 2523, 249, 2492, 257, 0, 255, 257, 253, 259, 262, 268, 2471, 2476, 2473, 2481, 274, 280, 279, 315, 317, 2464, 350, 2483, 2478, 0, 0, 2449, 2445, 2433, 2439, 2523, 237, 2523, 0, 2523, 2501, 2479, 2496, 836, 2523, 343, 2523, 2523, 2477, 2476, 2523, 289, 0, 341, 881, 306, 2523, 2523, 295, 2475, 344, 2523, 940, 487, 506, 565, 577, 571, 2454, 2457, 2465, 333, 345, 346, 476, 2451, 488, 2523, 2523, 644, 2428, 2523, 290, 2523, 0, 999, 477, 0, 362, 735, 747, 596, 511, 477, 567, 349, 515, 2449, 2454, 2451, 2459, 517, 573, 594, 589, 596, 2442, 645, 2461, 2456, 2427, 2423, 2411, 2417, 0, 1044, 2523, 2523, 0, 2523, 2523, 2478, 1089, 2457, 2456, 2523, 2455, 0, 2454, 0, 323, 2523, 0, 2453, 2523, 1134, 635, 666, 647, 667, 671, 519, 2449, 2431, 2427, 482, 2429, 2523, 2523, 685, 730, 732, 694, 754, 250, 2414, 2398, 2394, 320, 2396, 0, 2465, 2523, 0, 2454, 2523, 0, 2523, 2523, 2523, 2445, 505, 534, 610, 2523, 2523, 2462, 2523, 2458, 2523, 0, 1193, 2523, 2523, 0, 0, 0, 0, 0, 757, 0, 736, 2439, 2523, 0, 2523, 2438, 2416, 2430, 2413, 2423, 594, 0, 2425, 2416, 2414, 2408, 501, 2422, 2406, 2419, 2419, 2403, 568, 2410, 2406, 2402, 2404, 2406, 798, 2412, 2402, 487, 2399, 2401, 2389, 686, 2400, 2402, 2390, 2404, 2404, 2392, 2405, 730, 2390, 2378, 2385, 2397, 2380, 2399, 2397, 2379, 2379, 2378, 2347, 2350, 2355, 2340, 2523, 2523, 0, 1244, 2523, 2523, 2523, 0, 2523, 2523, 582, 809, 0, 2523, 2523, 0, 2523, 842, 845, 889, 0, 2382, 724, 0, 917, 2376, 2374, 679, 949, 976, 2383, 2384, 2371, 2379, 2379, 2369, 2381, 2357, 2366, 2355, 668, 2366, 2368, 2371, 2360, 2367, 2347, 2367, 2369, 995, 2318, 0, 1295, 0, 0, 884, 0, 2350, 2364, 2347, 2357, 742, 0, 2359, 2350, 2348, 2342, 738, 2356, 2340, 2353, 2353, 2337, 655, 2344, 2340, 2336, 2338, 2340, 802, 2346, 2336, 671, 693, 2336, 2334, 2323, 900, 2334, 2336, 2324, 2338, 2338, 2326, 2339, 806, 2324, 2312, 2319, 2331, 2314, 2333, 2331, 2313, 2313, 2312, 2281, 2284, 2289, 2274, 0, 1346, 2347, 2523, 0, 1397, 0, 0, 0, 755, 888, 833, 0, 2315, 928, 937, 2314, 2318, 2301, 2302, 2300, 2317, 2304, 2312, 2313, 2311, 2312, 2291, 851, 2271, 854, 969, 2270, 2274, 2259, 2260, 2258, 2273, 2261, 2268, 2269, 2267, 2268, 2249, 2321, 0, 0, 2302, 2301, 681, 744, 617, 2523, 2523, 2280, 2276, 2288, 2285, 2286, 2276, 2274, 2284, 2284, 2281, 2266, 2259, 2282, 2281, 2272, 2277, 2261, 2266, 2272, 2264, 2274, 2271, 2252, 0, 2260, 2256, 2261, 2248, 2263, 2251, 2259, 2261, 2257, 0, 2248, 2242, 2243, 2248, 2244, 2233, 2250, 2240, 2237, 2236, 2231, 2248, 2233, 2230, 2236, 2230, 2242, 2226, 2242, 2243, 2225, 2241, 2229, 2233, 2220, 2193, 0, 0, 2201, 0, 0, 998, 2221, 1004, 2228, 2229, 2219, 2228, 2228, 2211, 2204, 2227, 1049, 2224, 2214, 2204, 2209, 2207, 2215, 2217, 0, 0, 2200, 2201, 2203, 2192, 2209, 2197, 2192, 2200, 2207, 2208, 2209, 2164, 2172, 0, 0, 2192, 2188, 2200, 2197, 2198, 2188, 2186, 2196, 2196, 2193, 2178, 2171, 2194, 2193, 2184, 2189, 2173, 2178, 2184, 2176, 2186, 2183, 2164, 0, 2172, 2168, 2173, 2160, 2175, 2163, 2171, 2173, 2169, 0, 0, 2160, 0, 2154, 2155, 2160, 2156, 2145, 2162, 2152, 2149, 2148, 2143, 2160, 2145, 2142, 2148, 2142, 2154, 2138, 2154, 2155, 2137, 2153, 2141, 2145, 2132, 2105, 0, 0, 2113, 0, 0, 2133, 897, 2142, 2141, 2129, 0, 2139, 2130, 2122, 2137, 2135, 2134, 2126, 2117, 2118, 2121, 2089, 925, 2097, 2096, 2085, 0, 2094, 2086, 2079, 2092, 2090, 2089, 2082, 2074, 2075, 2077, 592, 657, 585, 2108, 0, 2101, 2104, 2099, 2111, 2097, 0, 2103, 0, 2093, 0, 2092, 2080, 2096, 2089, 2083, 2086, 2088, 0, 2085, 2099, 2087, 2081, 0, 2099, 2080, 2081, 0, 2078, 2096, 0, 2078, 0, 2080, 2079, 2092, 2061, 2082, 2069, 2077, 2069, 2078, 0, 2083, 2076, 2079, 2063, 2067, 2050, 2071, 2075, 2058, 2065, 2067, 2070, 2065, 2031, 2027, 2059, 0, 2056, 2051, 2063, 0, 2056, 2046, 0, 2034, 2050, 2043, 2041, 2045, 0, 0, 2040, 2058, 0, 2043, 2056, 2025, 2046, 2042, 2044, 2047, 2036, 2041, 2037, 2006, 2002, 2034, 0, 2027, 2030, 2025, 2037, 2023, 0, 2029, 0, 2019, 0, 2018, 2006, 2022, 2015, 2009, 2012, 2014, 0, 2011, 2025, 2013, 2007, 0, 2025, 2006, 2007, 0, 2004, 2022, 0, 2004, 0, 2006, 1996, 1999, 1958, 1969, 1949, 1952, 1943, 1950, 0, 1953, 1946, 1945, 1919, 1913, 1886, 1902, 1905, 1873, 1880, 1882, 1885, 1873, 1834, 208, 328, 349, 452, 0, 0, 0, 513, 546, 1465, 0, 0, 639, 685, 0, 694, 732, 694, 705, 728, 0, 0, 0, 727, 743, 1545, 0, 0, 740, 751, 0, 762, 778, 820, 848, 837, 795, 0, 804, 811, 829, 831, 0, 858, 843, 832, 850, 0, 0, 854, 867, 0, 857, 0, 906, 902, 0, 903, 920, 927, 910, 919, 949, 950, 949, 948, 945, 965, 0, 963, 962, 968, 970, 0, 980, 985, 988, 0, 969, 985, 996, 990, 997, 963, 981, 998, 1005, 1001, 1020, 0, 1025, 1008, 1023, 0, 1025, 0, 1022, 1036, 1023, 1040, 1043, 1040, 1054, 1052, 1043, 1053, 1059, 1053, 1013, 1027, 1044, 0, 1051, 1047, 1065, 1066, 0, 1071, 1068, 1055, 1070, 0, 0, 1080, 1071, 0, 1055, 0, 1083, 1079, 0, 1076, 1089, 1094, 1074, 1081, 1100, 1098, 1094, 1090, 1085, 1105, 0, 1103, 1100, 1094, 1096, 0, 1105, 1110, 1112, 0, 1093, 1106, 1114, 1097, 1103, 1069, 1083, 1108, 0, 1117, 1117, 1112, 0, 1625, 0, 1130, 0, 1133, 1091, 0, 1100, 1100, 1096, 0, 1705, 0, 1113, 0, 1116, 1156, 1159, 1155, 1132, 1147, 0, 1151, 0, 1142, 1136, 1128, 1155, 1157, 1157, 0, 1160, 1159, 1145, 0, 0, 1168, 0, 1155, 1155, 0, 1170, 0, 1146, 1153, 1175, 1150, 1168, 1163, 1153, 1163, 1177, 1174, 1184, 0, 0, 1178, 1144, 1171, 1183, 1199, 0, 1203, 1194, 1204, 1206, 1206, 0, 1208, 1194, 0, 1208, 0, 1190, 1211, 1197, 1187, 1207, 1213, 1172, 1191, 1203, 1218, 0, 1227, 0, 1218, 1212, 1204, 1234, 1236, 1236, 0, 1239, 1238, 1224, 0, 0, 1247, 0, 1233, 1233, 0, 1248, 0, 1225, 1233, 1254, 1229, 1247, 1242, 1232, 1239, 1253, 1250, 1260, 0, 0, 1254, 1220, 1239, 1251, 1257, 0, 0, 0, 1253, 1225, 1230, 0, 0, 0, 1233, 1288, 1289, 1281, 0, 1285, 1271, 1289, 1278, 1287, 0, 1264, 1287, 0, 1272, 1286, 1287, 0, 1276, 1308, 0, 1279, 1307, 1293, 1282, 1307, 1285, 0, 0, 1303, 0, 1282, 1280, 1315, 0, 1316, 1302, 1316, 0, 1293, 1307, 1308, 1302, 0, 1303, 1304, 1329, 0, 1327, 1306, 1304, 1339, 0, 1340, 1326, 1350, 1339, 1348, 0, 1325, 1343, 0, 1329, 1343, 1344, 0, 1332, 1363, 0, 1334, 1362, 1348, 1337, 1362, 1340, 0, 0, 1358, 0, 1337, 1335, 1370, 1372, 1372, 1348, 1350, 1350, 0, 1384, 0, 1372, 1391, 1381, 1389, 1383, 1394, 0, 1399, 1387, 1388, 1392, 1401, 1402, 0, 1393, 1408, 1413, 0, 0, 1379, 0, 1412, 0, 1404, 1412, 0, 1414, 1402, 1413, 1403, 1418, 0, 0, 1388, 0, 1421, 0, 1406, 1426, 1422, 1430, 1424, 1436, 0, 1438, 1429, 1435, 1440, 1448, 1448, 0, 1439, 1454, 1459, 0, 0, 1430, 0, 0, 0, 0, 0, 0, 0, 1452, 1458, 1464, 1461, 1458, 1457, 1468, 1460, 1473, 1459, 1469, 1461, 1460, 1480, 1470, 1483, 1453, 0, 1481, 1478, 1482, 1474, 1481, 1471, 1491, 1461, 0, 1479, 1486, 1493, 1490, 1487, 1486, 1496, 1488, 1501, 1487, 1497, 1489, 1488, 1508, 1498, 1511, 1481, 1496, 1510, 1502, 1505, 1508, 1514, 1514, 0, 0, 1527, 1523, 1533, 0, 1537, 1535, 1531, 1533, 1512, 1534, 1537, 1531, 0, 0, 1547, 1551, 1549, 1519, 1537, 1551, 1543, 1546, 1544, 1547, 1542, 0, 0, 1554, 1550, 1560, 0, 1564, 1562, 1558, 1555, 1534, 1551, 1568, 1552, 1568, 1560, 1563, 0, 0, 1576, 1574, 1561, 1575, 1574, 1577, 1547, 1564, 1580, 0, 1582, 1569, 1583, 1553, 1571, 1588, 1572, 1588, 1580, 1582, 0, 0, 1595, 1593, 1585, 1602, 1606, 1610, 1580, 0, 1597, 1587, 0, 1588, 1605, 1606, 1622, 1608, 1611, 1616, 0, 1584, 1601, 0, 1628, 1614, 1617, 1589, 0, 1617, 1607, 0, 1608, 1625, 1621, 1637, 1623, 1626, 1631, 0, 1599, 1616, 1647, 1648, 1636, 0, 1637, 0, 1634, 1641, 1608, 1656, 1644, 0, 1640, 1612, 1631, 1665, 1662, 1650, 0, 1653, 0, 1649, 1656, 1623, 1653, 1661, 1661, 1671, 1665, 1656, 0, 0, 1688, 0, 1683, 1682, 1692, 0, 0, 0, 1679, 1687, 1686, 1701, 1695, 1677, 0, 0, 1704, 0, 1685, 1702, 1708, 1701, 1702, 1714, 1702, 1708, 1714, 1707, 1695, 1712, 1718, 1711, 1712, 1724, 1712, 1714, 1721, 0, 1711, 1715, 1719, 1712, 1726, 0, 1716, 1723, 1730, 0, 1720, 1724, 1728, 1721, 1740, 1729, 1729, 1742, 1734, 0, 1733, 1733, 1747, 1736, 1736, 1749, 1741, 0, 1739, 0, 1724, 1755, 1742, 0, 1730, 1747, 0, 1732, 1763, 1750, 1754, 1762, 1748, 1766, 1765, 1759, 1767, 1753, 1771, 1756, 1762, 1768, 1777, 1765, 1761, 1767, 1773, 1782, 0, 1780, 1770, 1766, 1783, 0, 1784, 1774, 1770, 0, 1777, 1783, 0, 0, 1779, 1785, 0, 1780, 0, 1781, 1783, 1784, 0, 0, 2523, 1823, 1834, 1845, 1856, 1867, 1878, 1886, 1894, 1902, 1910, 1921, 1929, 1940, 1951, 1962, 1965, 1974, 1982, 1888, 1990, 2001, 2012, 2023, 2034 } ; static yyconst short int yy_def[1586] = { 0, 1562, 1562, 1561, 3, 1561, 5, 1561, 7, 1563, 1563, 1561, 11, 1564, 1564, 1565, 1565, 1566, 1566, 1561, 1561, 1561, 1561, 1561, 1561, 1567, 1568, 1561, 1561, 1561, 1561, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1561, 1561, 1568, 1561, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1561, 1561, 1561, 1568, 1561, 1561, 1561, 1567, 1569, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1569, 1569, 1561, 89, 1561, 1561, 1561, 1561, 1561, 1561, 1569, 97, 97, 97, 97, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1561, 1561, 97, 1569, 1561, 1561, 1561, 1569, 1570, 1561, 1570, 1570, 1561, 1561, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1571, 1561, 1561, 1571, 1561, 1561, 1572, 1573, 1574, 1561, 1561, 1561, 1573, 1573, 89, 89, 1561, 1575, 1561, 1561, 1573, 170, 170, 170, 170, 170, 1573, 1573, 1573, 1573, 1573, 1573, 1561, 1561, 170, 170, 170, 170, 170, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1561, 1561, 1576, 1561, 1561, 1577, 1561, 1561, 1561, 1578, 1578, 1578, 1578, 1561, 1561, 1561, 1561, 1567, 1561, 1568, 1568, 1561, 1561, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 216, 1561, 1561, 1568, 1561, 1561, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1561, 1561, 1569, 1569, 1561, 1561, 1561, 1579, 1561, 1561, 89, 89, 295, 1561, 1561, 1580, 1561, 97, 97, 97, 1569, 1569, 1569, 1569, 97, 1569, 1569, 1569, 97, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 97, 1569, 1570, 1570, 1581, 1570, 1561, 1580, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1571, 1571, 1572, 1561, 1573, 1573, 1574, 1574, 1575, 170, 170, 170, 1573, 1573, 170, 170, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 170, 1573, 170, 170, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1561, 1576, 1577, 1578, 1561, 1578, 1578, 1578, 1561, 1561, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1579, 1580, 1569, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1581, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1571, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1578, 1578, 1578, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1582, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1583, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1578, 1578, 1578, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1573, 1573, 1573, 1573, 1573, 1584, 1582, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1585, 1583, 1573, 1573, 1573, 1573, 1578, 1578, 1578, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1578, 1578, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1573, 1573, 1573, 1573, 1573, 1573, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1573, 1573, 1573, 1573, 1573, 1573, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1569, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1569, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1569, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1569, 1570, 1570, 1570, 1568, 1568, 1570, 1570, 1568, 1570, 1568, 1570, 0, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561 } ; static yyconst short int yy_nxt[2605] = { 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, 35, 61, 62, 35, 63, 35, 35, 35, 35, 64, 35, 65, 21, 35, 66, 35, 35, 35, 35, 35, 35, 35, 35, 35, 67, 35, 35, 68, 35, 35, 69, 35, 35, 35, 35, 70, 71, 72, 73, 74, 75, 23, 76, 77, 74, 78, 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, 87, 104, 87, 105, 106, 107, 108, 109, 110, 87, 87, 111, 87, 87, 87, 87, 87, 87, 87, 112, 87, 113, 74, 87, 114, 102, 102, 102, 102, 102, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 115, 87, 87, 87, 87, 116, 117, 118, 119, 74, 75, 23, 76, 77, 74, 120, 79, 80, 81, 82, 83, 84, 85, 121, 122, 123, 124, 125, 91, 92, 93, 94, 95, 96, 126, 127, 128, 129, 130, 131, 132, 133, 134, 122, 135, 136, 137, 138, 139, 140, 141, 122, 142, 143, 122, 144, 122, 122, 122, 122, 112, 122, 113, 74, 122, 145, 122, 122, 122, 122, 122, 122, 122, 122, 122, 146, 122, 122, 147, 122, 122, 148, 122, 122, 122, 122, 116, 117, 118, 149, 74, 74, 20, 74, 74, 74, 150, 74, 74, 74, 74, 74, 151, 74, 152, 222, 284, 124, 125, 74, 74, 74, 154, 74, 74, 217, 223, 227, 228, 196, 197, 196, 197, 198, 957, 198, 230, 231, 232, 218, 233, 244, 234, 238, 199, 245, 199, 239, 235, 242, 240, 74, 243, 74, 74, 236, 237, 247, 249, 246, 256, 250, 258, 241, 251, 260, 259, 248, 290, 284, 257, 430, 285, 227, 228, 261, 431, 74, 74, 74, 74, 74, 20, 74, 74, 74, 150, 74, 74, 74, 74, 74, 151, 74, 152, 224, 224, 124, 125, 74, 74, 74, 154, 74, 74, 200, 266, 200, 217, 292, 262, 297, 291, 225, 263, 225, 267, 264, 265, 319, 293, 958, 218, 230, 231, 285, 226, 321, 297, 320, 292, 74, 323, 74, 74, 322, 269, 435, 297, 270, 271, 338, 324, 225, 356, 225, 272, 273, 274, 959, 436, 275, 276, 226, 357, 297, 277, 74, 74, 74, 21, 22, 155, 24, 21, 156, 157, 27, 28, 29, 30, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 41, 168, 43, 169, 170, 171, 172, 173, 174, 175, 162, 162, 162, 162, 162, 176, 162, 177, 178, 179, 162, 162, 180, 181, 162, 162, 162, 162, 162, 162, 182, 162, 183, 21, 162, 184, 185, 186, 173, 187, 188, 162, 162, 162, 162, 189, 162, 190, 191, 192, 162, 193, 194, 162, 162, 162, 70, 71, 72, 195, 21, 196, 197, 21, 21, 198, 960, 21, 21, 21, 21, 21, 21, 202, 21, 290, 199, 21, 21, 202, 202, 21, 21, 21, 21, 224, 224, 419, 479, 308, 325, 308, 351, 329, 326, 352, 309, 330, 327, 310, 442, 480, 420, 225, 331, 225, 286, 286, 308, 332, 308, 21, 21, 21, 21, 458, 347, 459, 286, 337, 348, 311, 365, 349, 358, 286, 286, 359, 414, 442, 360, 961, 366, 225, 415, 225, 350, 203, 21, 204, 21, 21, 196, 197, 21, 21, 198, 962, 21, 21, 21, 21, 21, 21, 202, 21, 443, 199, 21, 21, 202, 202, 21, 21, 21, 21, 312, 308, 353, 308, 313, 465, 354, 308, 367, 308, 444, 286, 368, 308, 442, 308, 369, 286, 314, 286, 355, 442, 466, 286, 286, 286, 21, 21, 21, 21, 286, 286, 341, 370, 342, 315, 343, 372, 376, 442, 297, 373, 344, 371, 374, 375, 442, 452, 377, 345, 346, 834, 203, 21, 204, 21, 21, 196, 197, 453, 25, 198, 832, 21, 21, 21, 21, 297, 21, 202, 408, 405, 199, 21, 21, 202, 202, 21, 21, 21, 308, 398, 308, 405, 379, 650, 442, 380, 381, 445, 286, 965, 566, 398, 382, 383, 384, 286, 286, 385, 386, 409, 405, 405, 387, 535, 580, 405, 410, 567, 442, 333, 398, 398, 536, 411, 206, 398, 207, 581, 413, 405, 208, 484, 833, 412, 485, 521, 966, 522, 405, 398, 486, 209, 21, 210, 21, 21, 196, 197, 398, 25, 198, 582, 21, 21, 21, 21, 967, 21, 202, 583, 422, 199, 21, 21, 202, 202, 21, 21, 21, 423, 339, 339, 648, 494, 405, 495, 405, 968, 969, 496, 427, 442, 339, 339, 398, 517, 398, 428, 298, 215, 298, 215, 224, 224, 559, 970, 560, 518, 405, 405, 298, 340, 298, 553, 424, 206, 425, 207, 398, 398, 225, 208, 225, 426, 971, 554, 972, 973, 298, 215, 298, 215, 209, 21, 210, 21, 216, 216, 340, 976, 298, 649, 298, 977, 216, 216, 216, 216, 216, 216, 225, 429, 225, 472, 295, 295, 473, 573, 474, 597, 574, 598, 575, 978, 979, 599, 475, 442, 983, 476, 576, 984, 1561, 577, 1561, 216, 216, 216, 216, 216, 216, 287, 287, 985, 442, 297, 986, 405, 987, 287, 287, 287, 287, 287, 287, 442, 308, 398, 308, 308, 990, 308, 1561, 991, 1561, 405, 286, 992, 405, 286, 993, 988, 297, 286, 286, 398, 514, 286, 398, 980, 287, 287, 287, 287, 287, 287, 294, 294, 989, 339, 339, 982, 981, 994, 295, 296, 295, 296, 295, 295, 995, 297, 405, 308, 298, 515, 298, 298, 297, 298, 801, 632, 398, 286, 634, 587, 802, 299, 588, 616, 286, 286, 996, 997, 589, 295, 296, 295, 296, 295, 295, 308, 297, 308, 298, 998, 298, 298, 297, 298, 999, 286, 405, 1000, 299, 301, 301, 1001, 286, 286, 1002, 405, 398, 301, 302, 301, 303, 301, 301, 618, 304, 398, 1003, 308, 305, 308, 1004, 304, 619, 817, 1005, 306, 307, 286, 1006, 818, 304, 1007, 1008, 1009, 286, 523, 1010, 405, 301, 308, 301, 308, 301, 301, 308, 304, 308, 398, 524, 1011, 1012, 304, 1013, 1014, 286, 1015, 1016, 304, 336, 336, 1017, 286, 286, 308, 1018, 308, 336, 336, 336, 336, 336, 336, 308, 286, 308, 298, 1019, 298, 1020, 1021, 286, 286, 286, 635, 1022, 1023, 1024, 1025, 711, 286, 286, 1026, 1027, 1028, 1029, 1030, 1031, 336, 336, 336, 336, 336, 336, 395, 395, 298, 1032, 298, 1033, 545, 1034, 395, 395, 395, 395, 395, 395, 308, 1035, 308, 1036, 1037, 1038, 1039, 720, 1040, 1041, 286, 1042, 1043, 1044, 1045, 1046, 1047, 286, 286, 1048, 1049, 1050, 1052, 1053, 1054, 395, 395, 395, 395, 395, 395, 399, 399, 1055, 1056, 1057, 1058, 1059, 1051, 399, 399, 399, 399, 399, 399, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 399, 399, 399, 399, 399, 399, 403, 403, 1085, 1086, 1087, 1088, 1089, 1090, 403, 404, 403, 405, 403, 403, 1091, 406, 1092, 1093, 1094, 407, 1095, 1096, 406, 442, 442, 1099, 1100, 442, 1101, 1102, 1103, 406, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 403, 405, 403, 405, 403, 403, 1111, 406, 1112, 1113, 1114, 1115, 1116, 406, 1117, 1118, 1119, 1120, 1121, 406, 216, 216, 1122, 1123, 1124, 1125, 1126, 1127, 216, 216, 216, 216, 216, 216, 1097, 1098, 1128, 1129, 225, 1130, 225, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 216, 216, 216, 216, 216, 216, 1149, 1150, 1151, 225, 1152, 225, 287, 287, 1153, 1154, 1155, 1156, 1157, 1158, 287, 287, 287, 287, 287, 287, 1159, 1160, 1161, 1162, 511, 1163, 511, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 287, 287, 287, 287, 287, 287, 1182, 442, 442, 511, 1183, 511, 336, 336, 1184, 1185, 1186, 1187, 1188, 1189, 336, 336, 336, 336, 336, 336, 1190, 1191, 1192, 1193, 547, 1194, 547, 1195, 1197, 1198, 1199, 1200, 1196, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 336, 336, 336, 336, 336, 336, 1213, 1214, 1215, 547, 1216, 547, 395, 395, 1217, 1218, 1219, 1220, 1221, 1222, 395, 395, 395, 395, 395, 395, 1223, 1224, 1225, 1226, 614, 1227, 614, 1228, 1229, 1230, 1231, 1232, 1234, 1235, 1236, 1237, 1233, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 395, 395, 395, 395, 395, 395, 1246, 1247, 1248, 614, 1249, 614, 399, 399, 1250, 1251, 1252, 1253, 1254, 1255, 399, 399, 399, 399, 399, 399, 1256, 1257, 1258, 1259, 615, 1260, 615, 1261, 1262, 1263, 1264, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1265, 1278, 399, 399, 399, 399, 399, 399, 1279, 1280, 1281, 615, 1282, 615, 963, 963, 1283, 963, 963, 963, 1284, 963, 963, 963, 963, 963, 1285, 963, 1286, 1287, 1288, 1289, 1290, 1291, 963, 963, 963, 963, 963, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1292, 1300, 1301, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1302, 1310, 1311, 1312, 1313, 1314, 1315, 1317, 1318, 1319, 1320, 1321, 963, 1322, 1316, 1323, 1324, 1325, 1326, 1327, 1328, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1329, 1337, 1338, 1339, 1340, 1341, 1342, 963, 963, 963, 974, 974, 1343, 974, 974, 974, 1344, 974, 974, 974, 974, 974, 1345, 974, 1346, 1347, 1348, 1349, 1350, 1351, 974, 974, 974, 974, 974, 1352, 1353, 1354, 1355, 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, 974, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 974, 974, 974, 963, 963, 1403, 963, 963, 963, 1404, 963, 963, 963, 963, 963, 1405, 963, 1406, 1407, 1408, 1409, 1410, 1411, 963, 963, 963, 963, 963, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1437, 1438, 1439, 1435, 1440, 1441, 963, 1442, 1443, 1446, 1447, 1448, 1444, 1449, 1453, 1454, 1436, 1450, 1455, 1456, 1457, 1451, 1458, 1459, 1460, 1445, 1461, 1462, 1463, 963, 963, 963, 974, 974, 1452, 974, 974, 974, 1464, 974, 974, 974, 974, 974, 1465, 974, 1466, 1467, 1468, 1469, 1470, 1471, 974, 974, 974, 974, 974, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 974, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 974, 974, 974, 1523, 1524, 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, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 215, 215, 215, 215, 215, 215, 215, 215, 286, 513, 286, 956, 286, 286, 286, 286, 335, 955, 335, 335, 335, 335, 335, 335, 394, 954, 953, 952, 951, 394, 394, 394, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, 398, 950, 398, 949, 398, 398, 398, 398, 400, 948, 400, 400, 400, 400, 400, 400, 400, 400, 400, 402, 947, 402, 402, 402, 402, 402, 402, 402, 402, 402, 439, 946, 439, 439, 439, 439, 439, 439, 439, 439, 439, 440, 945, 440, 441, 441, 441, 944, 943, 441, 441, 942, 441, 512, 941, 512, 940, 512, 512, 512, 512, 548, 939, 548, 548, 548, 548, 548, 548, 964, 938, 964, 964, 964, 964, 964, 964, 964, 964, 964, 975, 937, 975, 975, 975, 975, 975, 975, 975, 975, 975, 963, 936, 963, 963, 963, 963, 963, 963, 963, 963, 963, 974, 935, 974, 974, 974, 974, 974, 974, 974, 974, 974, 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, 844, 843, 842, 841, 840, 839, 838, 837, 836, 835, 831, 830, 829, 828, 827, 826, 825, 824, 823, 822, 821, 820, 819, 816, 815, 814, 813, 812, 811, 810, 809, 808, 807, 806, 805, 804, 803, 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, 728, 727, 726, 725, 724, 723, 722, 721, 719, 718, 717, 716, 715, 714, 713, 712, 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, 657, 656, 655, 654, 653, 652, 651, 441, 442, 438, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 637, 636, 633, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 617, 397, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 596, 595, 594, 593, 592, 591, 590, 586, 585, 584, 579, 578, 572, 571, 570, 569, 568, 565, 564, 563, 562, 561, 558, 557, 556, 555, 552, 551, 550, 549, 546, 544, 543, 542, 541, 540, 539, 538, 537, 534, 533, 532, 531, 530, 529, 528, 527, 526, 525, 520, 519, 516, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 493, 492, 491, 490, 489, 488, 487, 483, 482, 481, 478, 477, 471, 470, 469, 468, 467, 464, 463, 462, 461, 460, 457, 456, 455, 454, 451, 450, 449, 448, 447, 446, 214, 211, 442, 292, 438, 437, 434, 433, 432, 421, 418, 417, 416, 300, 293, 290, 289, 401, 397, 393, 392, 391, 390, 389, 388, 378, 364, 363, 362, 361, 334, 328, 318, 317, 316, 300, 289, 288, 214, 212, 211, 283, 282, 281, 280, 279, 278, 268, 255, 254, 253, 252, 229, 221, 220, 219, 214, 212, 211, 1561, 19, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561 } ; static yyconst short int yy_chk[2605] = { 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, 71, 9, 9, 9, 9, 9, 9, 9, 9, 28, 36, 41, 41, 13, 13, 14, 14, 13, 799, 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, 86, 117, 55, 189, 71, 93, 93, 57, 189, 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, 80, 88, 58, 90, 86, 37, 58, 37, 59, 58, 58, 106, 88, 800, 80, 95, 95, 117, 37, 107, 165, 106, 123, 10, 108, 10, 10, 107, 61, 193, 90, 61, 61, 123, 108, 37, 130, 37, 61, 61, 61, 801, 193, 61, 61, 37, 130, 165, 61, 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, 802, 15, 15, 15, 15, 15, 15, 15, 15, 121, 15, 15, 15, 15, 15, 15, 15, 15, 15, 38, 38, 180, 257, 98, 109, 98, 128, 111, 109, 128, 98, 111, 109, 98, 206, 257, 180, 38, 111, 38, 98, 98, 99, 111, 99, 15, 15, 15, 15, 242, 127, 242, 99, 121, 127, 99, 136, 127, 131, 99, 99, 131, 176, 207, 131, 806, 136, 38, 176, 38, 127, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 807, 16, 16, 16, 16, 16, 16, 16, 16, 206, 16, 16, 16, 16, 16, 16, 16, 16, 16, 100, 100, 129, 100, 100, 248, 129, 102, 137, 102, 207, 100, 137, 101, 650, 101, 137, 102, 100, 100, 129, 648, 248, 101, 102, 102, 16, 16, 16, 16, 101, 101, 126, 138, 126, 101, 126, 139, 140, 208, 294, 139, 126, 138, 139, 139, 445, 236, 140, 126, 126, 650, 16, 16, 16, 16, 17, 17, 17, 236, 17, 17, 648, 17, 17, 17, 17, 294, 17, 17, 171, 171, 17, 17, 17, 17, 17, 17, 17, 17, 114, 171, 114, 173, 142, 445, 649, 142, 142, 208, 114, 811, 357, 173, 142, 142, 142, 114, 114, 142, 142, 172, 172, 174, 142, 324, 366, 175, 172, 357, 443, 114, 172, 174, 324, 174, 17, 175, 17, 366, 175, 184, 17, 261, 649, 174, 261, 311, 812, 311, 187, 184, 261, 17, 17, 17, 17, 18, 18, 18, 187, 18, 18, 367, 18, 18, 18, 18, 814, 18, 18, 367, 184, 18, 18, 18, 18, 18, 18, 18, 18, 184, 124, 124, 443, 269, 185, 269, 186, 815, 816, 269, 187, 444, 125, 125, 185, 306, 186, 187, 124, 226, 124, 226, 224, 224, 351, 817, 351, 306, 188, 403, 125, 124, 125, 345, 185, 18, 186, 18, 188, 403, 224, 18, 224, 186, 818, 345, 822, 823, 124, 226, 124, 226, 18, 18, 18, 18, 26, 26, 124, 827, 125, 444, 125, 828, 26, 26, 26, 26, 26, 26, 224, 188, 224, 254, 295, 295, 254, 363, 254, 379, 363, 379, 363, 830, 831, 379, 254, 832, 835, 254, 363, 837, 295, 363, 295, 26, 26, 26, 26, 26, 26, 78, 78, 838, 834, 295, 839, 405, 840, 78, 78, 78, 78, 78, 78, 833, 301, 405, 301, 302, 843, 302, 295, 844, 295, 422, 301, 845, 424, 302, 848, 842, 295, 301, 301, 422, 302, 302, 424, 832, 78, 78, 78, 78, 78, 78, 89, 89, 842, 339, 339, 834, 833, 849, 89, 89, 89, 89, 89, 89, 851, 89, 404, 303, 89, 303, 89, 339, 89, 339, 617, 422, 404, 303, 424, 371, 617, 89, 371, 404, 303, 303, 853, 854, 371, 89, 89, 89, 89, 89, 89, 308, 89, 308, 89, 856, 89, 339, 89, 339, 857, 308, 408, 858, 89, 97, 97, 859, 308, 308, 860, 409, 408, 97, 97, 97, 97, 97, 97, 408, 97, 409, 861, 312, 97, 312, 862, 97, 409, 633, 863, 97, 97, 312, 864, 633, 97, 865, 866, 868, 312, 312, 869, 425, 97, 97, 97, 97, 97, 97, 313, 97, 313, 425, 313, 870, 871, 97, 873, 874, 313, 875, 877, 97, 120, 120, 878, 313, 313, 333, 879, 333, 120, 120, 120, 120, 120, 120, 515, 333, 515, 513, 880, 513, 881, 882, 333, 333, 515, 425, 883, 884, 885, 886, 515, 515, 515, 887, 889, 890, 891, 893, 895, 120, 120, 120, 120, 120, 120, 150, 150, 513, 896, 513, 897, 333, 898, 150, 150, 150, 150, 150, 150, 524, 899, 524, 900, 901, 902, 903, 524, 904, 905, 524, 906, 907, 908, 909, 911, 912, 524, 524, 913, 914, 916, 917, 918, 919, 150, 150, 150, 150, 150, 150, 157, 157, 922, 923, 925, 927, 928, 916, 157, 157, 157, 157, 157, 157, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 942, 943, 944, 945, 947, 948, 949, 951, 952, 953, 954, 955, 956, 957, 157, 157, 157, 157, 157, 157, 170, 170, 958, 960, 961, 962, 966, 968, 170, 170, 170, 170, 170, 170, 969, 170, 971, 972, 973, 170, 977, 979, 170, 982, 980, 983, 984, 981, 986, 988, 989, 170, 990, 991, 992, 993, 995, 996, 997, 170, 170, 170, 170, 170, 170, 1000, 170, 1002, 1003, 1005, 1007, 1008, 170, 1009, 1010, 1011, 1012, 1013, 170, 216, 216, 1014, 1015, 1016, 1017, 1020, 1021, 216, 216, 216, 216, 216, 216, 980, 981, 1022, 1023, 216, 1024, 216, 1026, 1027, 1028, 1029, 1030, 1032, 1033, 1035, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 216, 216, 216, 216, 216, 216, 1048, 1050, 1051, 216, 1052, 216, 287, 287, 1053, 1054, 1055, 1057, 1058, 1059, 287, 287, 287, 287, 287, 287, 1062, 1064, 1065, 1067, 287, 1069, 287, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1082, 1083, 1084, 1085, 1086, 1090, 1091, 1092, 287, 287, 287, 287, 287, 287, 1096, 1097, 1098, 287, 1099, 287, 336, 336, 1101, 1102, 1103, 1104, 1105, 1107, 336, 336, 336, 336, 336, 336, 1108, 1110, 1111, 1112, 336, 1114, 336, 1115, 1117, 1118, 1119, 1120, 1115, 1121, 1122, 1125, 1127, 1128, 1129, 1131, 1132, 1133, 1135, 1136, 1137, 336, 336, 336, 336, 336, 336, 1138, 1140, 1141, 336, 1142, 336, 395, 395, 1144, 1145, 1146, 1147, 1149, 1150, 395, 395, 395, 395, 395, 395, 1151, 1152, 1153, 1155, 395, 1156, 395, 1158, 1159, 1160, 1162, 1163, 1165, 1166, 1167, 1168, 1163, 1169, 1170, 1173, 1175, 1176, 1177, 1178, 1179, 395, 395, 395, 395, 395, 395, 1180, 1181, 1182, 395, 1184, 395, 399, 399, 1186, 1187, 1188, 1189, 1190, 1191, 399, 399, 399, 399, 399, 399, 1193, 1194, 1195, 1196, 399, 1197, 399, 1198, 1200, 1201, 1202, 1205, 1207, 1209, 1210, 1212, 1213, 1214, 1215, 1216, 1219, 1221, 1223, 1202, 1224, 399, 399, 399, 399, 399, 399, 1225, 1226, 1227, 399, 1228, 399, 808, 808, 1230, 808, 808, 808, 1231, 808, 808, 808, 808, 808, 1232, 808, 1233, 1234, 1235, 1237, 1238, 1239, 808, 808, 808, 808, 808, 1242, 1250, 1251, 1252, 1253, 1254, 1255, 1239, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1257, 1265, 1266, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1277, 808, 1278, 1271, 1279, 1280, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1284, 1292, 1293, 1294, 1295, 1296, 1297, 808, 808, 808, 824, 824, 1298, 824, 824, 824, 1299, 824, 824, 824, 824, 824, 1300, 824, 1303, 1304, 1305, 1307, 1308, 1309, 824, 824, 824, 824, 824, 1310, 1311, 1312, 1313, 1314, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, 1327, 1330, 1331, 1332, 1334, 1335, 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 824, 1344, 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1369, 1370, 824, 824, 824, 964, 964, 1371, 964, 964, 964, 1372, 964, 964, 964, 964, 964, 1373, 964, 1374, 1375, 1377, 1378, 1380, 1381, 964, 964, 964, 964, 964, 1382, 1383, 1384, 1385, 1386, 1388, 1389, 1391, 1392, 1393, 1394, 1396, 1397, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1407, 1408, 1409, 1410, 1411, 1413, 1409, 1415, 1416, 964, 1417, 1418, 1419, 1421, 1422, 1418, 1423, 1425, 1426, 1409, 1424, 1428, 1430, 1431, 1424, 1432, 1433, 1434, 1418, 1435, 1436, 1437, 964, 964, 964, 975, 975, 1424, 975, 975, 975, 1438, 975, 975, 975, 975, 975, 1441, 975, 1443, 1444, 1445, 1449, 1450, 1451, 975, 975, 975, 975, 975, 1452, 1453, 1454, 1457, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1479, 1480, 1481, 1482, 1483, 1485, 975, 1486, 1487, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1507, 1509, 1510, 1511, 975, 975, 975, 1513, 1514, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1538, 1539, 1540, 1541, 1543, 1544, 1545, 1547, 1548, 1551, 1552, 1554, 1556, 1557, 1558, 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1565, 1565, 1565, 1565, 1565, 1565, 1565, 1565, 1565, 1565, 1565, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1567, 1567, 1567, 1567, 1567, 1567, 1567, 1567, 1567, 1567, 1567, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1580, 1569, 798, 1569, 1569, 1569, 1569, 1570, 797, 1570, 1570, 1570, 1570, 1570, 1570, 1571, 796, 795, 794, 793, 1571, 1571, 1571, 1572, 1572, 1572, 1572, 1572, 1572, 1572, 1572, 1572, 1572, 1572, 1573, 792, 1573, 791, 1573, 1573, 1573, 1573, 1574, 790, 1574, 1574, 1574, 1574, 1574, 1574, 1574, 1574, 1574, 1575, 789, 1575, 1575, 1575, 1575, 1575, 1575, 1575, 1575, 1575, 1576, 788, 1576, 1576, 1576, 1576, 1576, 1576, 1576, 1576, 1576, 1577, 787, 1577, 1578, 1578, 1578, 786, 785, 1578, 1578, 783, 1578, 1579, 782, 1579, 781, 1579, 1579, 1579, 1579, 1581, 780, 1581, 1581, 1581, 1581, 1581, 1581, 1582, 779, 1582, 1582, 1582, 1582, 1582, 1582, 1582, 1582, 1582, 1583, 778, 1583, 1583, 1583, 1583, 1583, 1583, 1583, 1583, 1583, 1584, 777, 1584, 1584, 1584, 1584, 1584, 1584, 1584, 1584, 1584, 1585, 776, 1585, 1585, 1585, 1585, 1585, 1585, 1585, 1585, 1585, 775, 773, 771, 770, 768, 767, 766, 764, 763, 762, 761, 759, 758, 757, 756, 755, 754, 753, 751, 749, 747, 746, 745, 744, 743, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 727, 726, 723, 722, 721, 720, 719, 717, 716, 714, 713, 712, 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, 695, 693, 692, 691, 690, 689, 688, 687, 686, 685, 683, 681, 680, 678, 677, 676, 674, 673, 672, 671, 669, 668, 667, 666, 665, 664, 663, 661, 659, 657, 656, 655, 654, 653, 651, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 636, 635, 634, 632, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 620, 619, 618, 616, 613, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 584, 581, 580, 579, 578, 577, 576, 575, 574, 573, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 535, 534, 531, 530, 529, 528, 527, 526, 525, 523, 522, 521, 520, 519, 518, 517, 516, 514, 510, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 480, 479, 478, 477, 476, 475, 474, 473, 472, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 449, 448, 442, 441, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 423, 421, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 407, 396, 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, 381, 380, 378, 377, 376, 375, 374, 373, 372, 370, 369, 368, 365, 364, 362, 361, 360, 359, 358, 356, 355, 354, 353, 352, 350, 349, 348, 347, 344, 343, 342, 341, 334, 332, 331, 330, 329, 328, 327, 326, 325, 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, 310, 309, 305, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 268, 267, 266, 265, 264, 263, 262, 260, 259, 258, 256, 255, 253, 252, 251, 250, 249, 247, 246, 245, 244, 243, 241, 240, 239, 238, 235, 234, 233, 232, 231, 227, 213, 211, 205, 199, 196, 194, 192, 191, 190, 181, 179, 178, 177, 168, 163, 161, 159, 158, 156, 148, 147, 146, 145, 144, 143, 141, 135, 134, 133, 132, 115, 110, 105, 104, 103, 94, 84, 83, 77, 76, 75, 69, 68, 67, 66, 63, 62, 60, 54, 53, 52, 51, 42, 34, 32, 31, 25, 24, 22, 19, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561 } ; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; /* 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" #define INITIAL 0 #line 2 "ldlex.l" /* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 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 "sysdep.h" #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) yy_input (buf, &result, 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 void yy_input (char *, int *, 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 #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 #line 1566 "ldlex.c" /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap YY_PROTO(( void )); #else extern int yywrap YY_PROTO(( void )); #endif #endif #ifndef YY_NO_UNPUT static void yyunput YY_PROTO(( int c, char *buf_ptr )); #endif #ifndef yytext_ptr static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen YY_PROTO(( yyconst char * )); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput YY_PROTO(( void )); #else static int input YY_PROTO(( void )); #endif #endif #if YY_STACK_USED static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = 0; #ifndef YY_NO_PUSH_STATE static void yy_push_state YY_PROTO(( int new_state )); #endif #ifndef YY_NO_POP_STATE static void yy_pop_state YY_PROTO(( void )); #endif #ifndef YY_NO_TOP_STATE static int yy_top_state YY_PROTO(( void )); #endif #else #define YY_NO_PUSH_STATE 1 #define YY_NO_POP_STATE 1 #define YY_NO_TOP_STATE 1 #endif #ifdef YY_MALLOC_DECL YY_MALLOC_DECL #else #if __STDC__ #ifndef __cplusplus #include <stdlib.h> #endif #else /* Just try to get by without declaring the routines. This will fail * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) * or sizeof(void*) != sizeof(int). */ #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 (void) 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->yy_is_interactive ) \ { \ int c = '*', 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 if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #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 /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL int yylex YY_PROTO(( void )) #endif /* 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 YY_DECL { register yy_state_type yy_current_state; register char *yy_cp = NULL, *yy_bp = NULL; register int yy_act; #line 117 "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 1736 "ldlex.c" if ( yy_init ) { yy_init = 0; #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 ) yy_current_buffer = 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 >= 1562 ) 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] != 2523 ); 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 135 "ldlex.l" { comment (); } YY_BREAK case 2: YY_RULE_SETUP #line 138 "ldlex.l" { RTOKEN('-');} YY_BREAK case 3: YY_RULE_SETUP #line 139 "ldlex.l" { RTOKEN('+');} YY_BREAK case 4: YY_RULE_SETUP #line 140 "ldlex.l" { yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 5: YY_RULE_SETUP #line 141 "ldlex.l" { RTOKEN('='); } YY_BREAK case 6: YY_RULE_SETUP #line 143 "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 149 "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 174 "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 203 "ldlex.l" { RTOKEN(']');} YY_BREAK case 10: YY_RULE_SETUP #line 204 "ldlex.l" { RTOKEN('[');} YY_BREAK case 11: YY_RULE_SETUP #line 205 "ldlex.l" { RTOKEN(LSHIFTEQ);} YY_BREAK case 12: YY_RULE_SETUP #line 206 "ldlex.l" { RTOKEN(RSHIFTEQ);} YY_BREAK case 13: YY_RULE_SETUP #line 207 "ldlex.l" { RTOKEN(OROR);} YY_BREAK case 14: YY_RULE_SETUP #line 208 "ldlex.l" { RTOKEN(EQ);} YY_BREAK case 15: YY_RULE_SETUP #line 209 "ldlex.l" { RTOKEN(NE);} YY_BREAK case 16: YY_RULE_SETUP #line 210 "ldlex.l" { RTOKEN(GE);} YY_BREAK case 17: YY_RULE_SETUP #line 211 "ldlex.l" { RTOKEN(LE);} YY_BREAK case 18: YY_RULE_SETUP #line 212 "ldlex.l" { RTOKEN(LSHIFT);} YY_BREAK case 19: YY_RULE_SETUP #line 213 "ldlex.l" { RTOKEN(RSHIFT);} YY_BREAK case 20: YY_RULE_SETUP #line 214 "ldlex.l" { RTOKEN(PLUSEQ);} YY_BREAK case 21: YY_RULE_SETUP #line 215 "ldlex.l" { RTOKEN(MINUSEQ);} YY_BREAK case 22: YY_RULE_SETUP #line 216 "ldlex.l" { RTOKEN(MULTEQ);} YY_BREAK case 23: YY_RULE_SETUP #line 217 "ldlex.l" { RTOKEN(DIVEQ);} YY_BREAK case 24: YY_RULE_SETUP #line 218 "ldlex.l" { RTOKEN(ANDEQ);} YY_BREAK case 25: YY_RULE_SETUP #line 219 "ldlex.l" { RTOKEN(OREQ);} YY_BREAK case 26: YY_RULE_SETUP #line 220 "ldlex.l" { RTOKEN(ANDAND);} YY_BREAK case 27: YY_RULE_SETUP #line 221 "ldlex.l" { RTOKEN('>');} YY_BREAK case 28: YY_RULE_SETUP #line 222 "ldlex.l" { RTOKEN(',');} YY_BREAK case 29: YY_RULE_SETUP #line 223 "ldlex.l" { RTOKEN('&');} YY_BREAK case 30: YY_RULE_SETUP #line 224 "ldlex.l" { RTOKEN('|');} YY_BREAK case 31: YY_RULE_SETUP #line 225 "ldlex.l" { RTOKEN('~');} YY_BREAK case 32: YY_RULE_SETUP #line 226 "ldlex.l" { RTOKEN('!');} YY_BREAK case 33: YY_RULE_SETUP #line 227 "ldlex.l" { RTOKEN('?');} YY_BREAK case 34: YY_RULE_SETUP #line 228 "ldlex.l" { RTOKEN('*');} YY_BREAK case 35: YY_RULE_SETUP #line 229 "ldlex.l" { RTOKEN('+');} YY_BREAK case 36: YY_RULE_SETUP #line 230 "ldlex.l" { RTOKEN('-');} YY_BREAK case 37: YY_RULE_SETUP #line 231 "ldlex.l" { RTOKEN('/');} YY_BREAK case 38: YY_RULE_SETUP #line 232 "ldlex.l" { RTOKEN('%');} YY_BREAK case 39: YY_RULE_SETUP #line 233 "ldlex.l" { RTOKEN('<');} YY_BREAK case 40: YY_RULE_SETUP #line 234 "ldlex.l" { RTOKEN('=');} YY_BREAK case 41: YY_RULE_SETUP #line 235 "ldlex.l" { RTOKEN('}') ; } YY_BREAK case 42: YY_RULE_SETUP #line 236 "ldlex.l" { RTOKEN('{'); } YY_BREAK case 43: YY_RULE_SETUP #line 237 "ldlex.l" { RTOKEN(')');} YY_BREAK case 44: YY_RULE_SETUP #line 238 "ldlex.l" { RTOKEN('(');} YY_BREAK case 45: YY_RULE_SETUP #line 239 "ldlex.l" { RTOKEN(':'); } YY_BREAK case 46: YY_RULE_SETUP #line 240 "ldlex.l" { RTOKEN(';');} YY_BREAK case 47: YY_RULE_SETUP #line 241 "ldlex.l" { RTOKEN(MEMORY);} YY_BREAK case 48: YY_RULE_SETUP #line 242 "ldlex.l" { RTOKEN(ORIGIN);} YY_BREAK case 49: YY_RULE_SETUP #line 243 "ldlex.l" { RTOKEN(VERSIONK);} YY_BREAK case 50: YY_RULE_SETUP #line 244 "ldlex.l" { RTOKEN(BLOCK);} YY_BREAK case 51: YY_RULE_SETUP #line 245 "ldlex.l" { RTOKEN(BIND);} YY_BREAK case 52: YY_RULE_SETUP #line 246 "ldlex.l" { RTOKEN(LENGTH);} YY_BREAK case 53: YY_RULE_SETUP #line 247 "ldlex.l" { RTOKEN(ALIGN_K);} YY_BREAK case 54: YY_RULE_SETUP #line 248 "ldlex.l" { RTOKEN(DATA_SEGMENT_ALIGN);} YY_BREAK case 55: YY_RULE_SETUP #line 249 "ldlex.l" { RTOKEN(DATA_SEGMENT_RELRO_END);} YY_BREAK case 56: YY_RULE_SETUP #line 250 "ldlex.l" { RTOKEN(DATA_SEGMENT_END);} YY_BREAK case 57: YY_RULE_SETUP #line 251 "ldlex.l" { RTOKEN(ADDR);} YY_BREAK case 58: YY_RULE_SETUP #line 252 "ldlex.l" { RTOKEN(LOADADDR);} YY_BREAK case 59: YY_RULE_SETUP #line 253 "ldlex.l" { RTOKEN(ALIGNOF); } YY_BREAK case 60: YY_RULE_SETUP #line 254 "ldlex.l" { RTOKEN(MAX_K); } YY_BREAK case 61: YY_RULE_SETUP #line 255 "ldlex.l" { RTOKEN(MIN_K); } YY_BREAK case 62: YY_RULE_SETUP #line 256 "ldlex.l" { RTOKEN(ASSERT_K); } YY_BREAK case 63: YY_RULE_SETUP #line 257 "ldlex.l" { RTOKEN(ENTRY);} YY_BREAK case 64: YY_RULE_SETUP #line 258 "ldlex.l" { RTOKEN(EXTERN);} YY_BREAK case 65: YY_RULE_SETUP #line 259 "ldlex.l" { RTOKEN(NEXT);} YY_BREAK case 66: YY_RULE_SETUP #line 260 "ldlex.l" { RTOKEN(SIZEOF_HEADERS);} YY_BREAK case 67: YY_RULE_SETUP #line 261 "ldlex.l" { RTOKEN(SIZEOF_HEADERS);} YY_BREAK case 68: YY_RULE_SETUP #line 262 "ldlex.l" { RTOKEN(SEGMENT_START);} YY_BREAK case 69: YY_RULE_SETUP #line 263 "ldlex.l" { RTOKEN(MAP);} YY_BREAK case 70: YY_RULE_SETUP #line 264 "ldlex.l" { RTOKEN(SIZEOF);} YY_BREAK case 71: YY_RULE_SETUP #line 265 "ldlex.l" { RTOKEN(TARGET_K);} YY_BREAK case 72: YY_RULE_SETUP #line 266 "ldlex.l" { RTOKEN(SEARCH_DIR);} YY_BREAK case 73: YY_RULE_SETUP #line 267 "ldlex.l" { RTOKEN(OUTPUT);} YY_BREAK case 74: YY_RULE_SETUP #line 268 "ldlex.l" { RTOKEN(INPUT);} YY_BREAK case 75: YY_RULE_SETUP #line 269 "ldlex.l" { RTOKEN(GROUP);} YY_BREAK case 76: YY_RULE_SETUP #line 270 "ldlex.l" { RTOKEN(AS_NEEDED);} YY_BREAK case 77: YY_RULE_SETUP #line 271 "ldlex.l" { RTOKEN(DEFINED);} YY_BREAK case 78: YY_RULE_SETUP #line 272 "ldlex.l" { RTOKEN(CREATE_OBJECT_SYMBOLS);} YY_BREAK case 79: YY_RULE_SETUP #line 273 "ldlex.l" { RTOKEN( CONSTRUCTORS);} YY_BREAK case 80: YY_RULE_SETUP #line 274 "ldlex.l" { RTOKEN(FORCE_COMMON_ALLOCATION);} YY_BREAK case 81: YY_RULE_SETUP #line 275 "ldlex.l" { RTOKEN(INHIBIT_COMMON_ALLOCATION);} YY_BREAK case 82: YY_RULE_SETUP #line 276 "ldlex.l" { RTOKEN(SECTIONS);} YY_BREAK case 83: YY_RULE_SETUP #line 277 "ldlex.l" { RTOKEN(INSERT_K);} YY_BREAK case 84: YY_RULE_SETUP #line 278 "ldlex.l" { RTOKEN(AFTER);} YY_BREAK case 85: YY_RULE_SETUP #line 279 "ldlex.l" { RTOKEN(BEFORE);} YY_BREAK case 86: YY_RULE_SETUP #line 280 "ldlex.l" { RTOKEN(FILL);} YY_BREAK case 87: YY_RULE_SETUP #line 281 "ldlex.l" { RTOKEN(STARTUP);} YY_BREAK case 88: YY_RULE_SETUP #line 282 "ldlex.l" { RTOKEN(OUTPUT_FORMAT);} YY_BREAK case 89: YY_RULE_SETUP #line 283 "ldlex.l" { RTOKEN( OUTPUT_ARCH);} YY_BREAK case 90: YY_RULE_SETUP #line 284 "ldlex.l" { RTOKEN(HLL);} YY_BREAK case 91: YY_RULE_SETUP #line 285 "ldlex.l" { RTOKEN(SYSLIB);} YY_BREAK case 92: YY_RULE_SETUP #line 286 "ldlex.l" { RTOKEN(FLOAT);} YY_BREAK case 93: YY_RULE_SETUP #line 287 "ldlex.l" { RTOKEN( QUAD);} YY_BREAK case 94: YY_RULE_SETUP #line 288 "ldlex.l" { RTOKEN( SQUAD);} YY_BREAK case 95: YY_RULE_SETUP #line 289 "ldlex.l" { RTOKEN( LONG);} YY_BREAK case 96: YY_RULE_SETUP #line 290 "ldlex.l" { RTOKEN( SHORT);} YY_BREAK case 97: YY_RULE_SETUP #line 291 "ldlex.l" { RTOKEN( BYTE);} YY_BREAK case 98: YY_RULE_SETUP #line 292 "ldlex.l" { RTOKEN(NOFLOAT);} YY_BREAK case 99: YY_RULE_SETUP #line 293 "ldlex.l" { RTOKEN(NOCROSSREFS);} YY_BREAK case 100: YY_RULE_SETUP #line 294 "ldlex.l" { RTOKEN(OVERLAY); } YY_BREAK case 101: YY_RULE_SETUP #line 295 "ldlex.l" { RTOKEN(SORT_BY_NAME); } YY_BREAK case 102: YY_RULE_SETUP #line 296 "ldlex.l" { RTOKEN(SORT_BY_ALIGNMENT); } YY_BREAK case 103: YY_RULE_SETUP #line 297 "ldlex.l" { RTOKEN(SORT_BY_NAME); } YY_BREAK case 104: YY_RULE_SETUP #line 298 "ldlex.l" { RTOKEN(NOLOAD);} YY_BREAK case 105: YY_RULE_SETUP #line 299 "ldlex.l" { RTOKEN(DSECT);} YY_BREAK case 106: YY_RULE_SETUP #line 300 "ldlex.l" { RTOKEN(COPY);} YY_BREAK case 107: YY_RULE_SETUP #line 301 "ldlex.l" { RTOKEN(INFO);} YY_BREAK case 108: YY_RULE_SETUP #line 302 "ldlex.l" { RTOKEN(OVERLAY);} YY_BREAK case 109: YY_RULE_SETUP #line 303 "ldlex.l" { RTOKEN(ONLY_IF_RO); } YY_BREAK case 110: YY_RULE_SETUP #line 304 "ldlex.l" { RTOKEN(ONLY_IF_RW); } YY_BREAK case 111: YY_RULE_SETUP #line 305 "ldlex.l" { RTOKEN(SPECIAL); } YY_BREAK case 112: YY_RULE_SETUP #line 306 "ldlex.l" { RTOKEN(ORIGIN);} YY_BREAK case 113: YY_RULE_SETUP #line 307 "ldlex.l" { RTOKEN(ORIGIN);} YY_BREAK case 114: YY_RULE_SETUP #line 308 "ldlex.l" { RTOKEN( LENGTH);} YY_BREAK case 115: YY_RULE_SETUP #line 309 "ldlex.l" { RTOKEN( LENGTH);} YY_BREAK case 116: YY_RULE_SETUP #line 310 "ldlex.l" { RTOKEN(INCLUDE);} YY_BREAK case 117: YY_RULE_SETUP #line 311 "ldlex.l" { RTOKEN (PHDRS); } YY_BREAK case 118: YY_RULE_SETUP #line 312 "ldlex.l" { RTOKEN(AT);} YY_BREAK case 119: YY_RULE_SETUP #line 313 "ldlex.l" { RTOKEN(SUBALIGN);} YY_BREAK case 120: YY_RULE_SETUP #line 314 "ldlex.l" { RTOKEN(PROVIDE); } YY_BREAK case 121: YY_RULE_SETUP #line 315 "ldlex.l" { RTOKEN(PROVIDE_HIDDEN); } YY_BREAK case 122: YY_RULE_SETUP #line 316 "ldlex.l" { RTOKEN(KEEP); } YY_BREAK case 123: YY_RULE_SETUP #line 317 "ldlex.l" { RTOKEN(EXCLUDE_FILE); } YY_BREAK case 124: YY_RULE_SETUP #line 318 "ldlex.l" { RTOKEN(CONSTANT);} YY_BREAK case 125: YY_RULE_SETUP #line 319 "ldlex.l" { ++ lineno; } YY_BREAK case 126: YY_RULE_SETUP #line 320 "ldlex.l" { ++ lineno; RTOKEN(NEWLINE); } YY_BREAK case 127: YY_RULE_SETUP #line 321 "ldlex.l" { /* Mri comment line */ } YY_BREAK case 128: YY_RULE_SETUP #line 322 "ldlex.l" { /* Mri comment line */ } YY_BREAK case 129: YY_RULE_SETUP #line 323 "ldlex.l" { RTOKEN(ENDWORD); } YY_BREAK case 130: YY_RULE_SETUP #line 324 "ldlex.l" { RTOKEN(ALIGNMOD);} YY_BREAK case 131: YY_RULE_SETUP #line 325 "ldlex.l" { RTOKEN(ALIGN_K);} YY_BREAK case 132: YY_RULE_SETUP #line 326 "ldlex.l" { RTOKEN(CHIP); } YY_BREAK case 133: YY_RULE_SETUP #line 327 "ldlex.l" { RTOKEN(BASE); } YY_BREAK case 134: YY_RULE_SETUP #line 328 "ldlex.l" { RTOKEN(ALIAS); } YY_BREAK case 135: YY_RULE_SETUP #line 329 "ldlex.l" { RTOKEN(TRUNCATE); } YY_BREAK case 136: YY_RULE_SETUP #line 330 "ldlex.l" { RTOKEN(LOAD); } YY_BREAK case 137: YY_RULE_SETUP #line 331 "ldlex.l" { RTOKEN(PUBLIC); } YY_BREAK case 138: YY_RULE_SETUP #line 332 "ldlex.l" { RTOKEN(ORDER); } YY_BREAK case 139: YY_RULE_SETUP #line 333 "ldlex.l" { RTOKEN(NAMEWORD); } YY_BREAK case 140: YY_RULE_SETUP #line 334 "ldlex.l" { RTOKEN(FORMAT); } YY_BREAK case 141: YY_RULE_SETUP #line 335 "ldlex.l" { RTOKEN(CASE); } YY_BREAK case 142: YY_RULE_SETUP #line 336 "ldlex.l" { RTOKEN(START); } YY_BREAK case 143: YY_RULE_SETUP #line 337 "ldlex.l" { RTOKEN(LIST); /* LIST and ignore to end of line */ } YY_BREAK case 144: YY_RULE_SETUP #line 338 "ldlex.l" { RTOKEN(SECT); } YY_BREAK case 145: YY_RULE_SETUP #line 339 "ldlex.l" { RTOKEN(ABSOLUTE); } YY_BREAK case 146: YY_RULE_SETUP #line 340 "ldlex.l" { RTOKEN(ENDWORD); } YY_BREAK case 147: YY_RULE_SETUP #line 341 "ldlex.l" { RTOKEN(ALIGNMOD);} YY_BREAK case 148: YY_RULE_SETUP #line 342 "ldlex.l" { RTOKEN(ALIGN_K);} YY_BREAK case 149: YY_RULE_SETUP #line 343 "ldlex.l" { RTOKEN(CHIP); } YY_BREAK case 150: YY_RULE_SETUP #line 344 "ldlex.l" { RTOKEN(BASE); } YY_BREAK case 151: YY_RULE_SETUP #line 345 "ldlex.l" { RTOKEN(ALIAS); } YY_BREAK case 152: YY_RULE_SETUP #line 346 "ldlex.l" { RTOKEN(TRUNCATE); } YY_BREAK case 153: YY_RULE_SETUP #line 347 "ldlex.l" { RTOKEN(LOAD); } YY_BREAK case 154: YY_RULE_SETUP #line 348 "ldlex.l" { RTOKEN(PUBLIC); } YY_BREAK case 155: YY_RULE_SETUP #line 349 "ldlex.l" { RTOKEN(ORDER); } YY_BREAK case 156: YY_RULE_SETUP #line 350 "ldlex.l" { RTOKEN(NAMEWORD); } YY_BREAK case 157: YY_RULE_SETUP #line 351 "ldlex.l" { RTOKEN(FORMAT); } YY_BREAK case 158: YY_RULE_SETUP #line 352 "ldlex.l" { RTOKEN(CASE); } YY_BREAK case 159: YY_RULE_SETUP #line 353 "ldlex.l" { RTOKEN(EXTERN); } YY_BREAK case 160: YY_RULE_SETUP #line 354 "ldlex.l" { RTOKEN(START); } YY_BREAK case 161: YY_RULE_SETUP #line 355 "ldlex.l" { RTOKEN(LIST); /* LIST and ignore to end of line */ } YY_BREAK case 162: YY_RULE_SETUP #line 356 "ldlex.l" { RTOKEN(SECT); } YY_BREAK case 163: YY_RULE_SETUP #line 357 "ldlex.l" { RTOKEN(ABSOLUTE); } YY_BREAK case 164: YY_RULE_SETUP #line 359 "ldlex.l" { /* Filename without commas, needed to parse mri stuff */ yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 165: YY_RULE_SETUP #line 366 "ldlex.l" { yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 166: YY_RULE_SETUP #line 370 "ldlex.l" { yylval.name = xstrdup (yytext + 2); return LNAME; } YY_BREAK case 167: YY_RULE_SETUP #line 374 "ldlex.l" { yylval.name = xstrdup (yytext); return NAME; } YY_BREAK case 168: YY_RULE_SETUP #line 378 "ldlex.l" { yylval.name = xstrdup (yytext + 2); return LNAME; } YY_BREAK case 169: 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 170: 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 171: YY_RULE_SETUP #line 406 "ldlex.l" { lineno++;} YY_BREAK case 172: YY_RULE_SETUP #line 407 "ldlex.l" { } YY_BREAK case 173: YY_RULE_SETUP #line 409 "ldlex.l" { return *yytext; } YY_BREAK case 174: YY_RULE_SETUP #line 411 "ldlex.l" { RTOKEN(GLOBAL); } YY_BREAK case 175: YY_RULE_SETUP #line 413 "ldlex.l" { RTOKEN(LOCAL); } YY_BREAK case 176: YY_RULE_SETUP #line 415 "ldlex.l" { RTOKEN(EXTERN); } YY_BREAK case 177: YY_RULE_SETUP #line 417 "ldlex.l" { yylval.name = xstrdup (yytext); return VERS_IDENTIFIER; } YY_BREAK case 178: YY_RULE_SETUP #line 420 "ldlex.l" { yylval.name = xstrdup (yytext); return VERS_TAG; } YY_BREAK case 179: YY_RULE_SETUP #line 423 "ldlex.l" { BEGIN(VERS_SCRIPT); return *yytext; } YY_BREAK case 180: YY_RULE_SETUP #line 425 "ldlex.l" { BEGIN(VERS_NODE); vers_node_nesting = 0; return *yytext; } YY_BREAK case 181: YY_RULE_SETUP #line 429 "ldlex.l" { return *yytext; } YY_BREAK case 182: YY_RULE_SETUP #line 430 "ldlex.l" { vers_node_nesting++; return *yytext; } YY_BREAK case 183: YY_RULE_SETUP #line 431 "ldlex.l" { if (--vers_node_nesting < 0) BEGIN(VERS_SCRIPT); return *yytext; } YY_BREAK case 184: YY_RULE_SETUP #line 436 "ldlex.l" { lineno++; } YY_BREAK case 185: YY_RULE_SETUP #line 438 "ldlex.l" { /* Eat up comments */ } YY_BREAK case 186: 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 187: YY_RULE_SETUP #line 460 "ldlex.l" lex_warn_invalid (" in script", yytext); YY_BREAK case 188: YY_RULE_SETUP #line 461 "ldlex.l" lex_warn_invalid (" in expression", yytext); YY_BREAK case 189: YY_RULE_SETUP #line 463 "ldlex.l" ECHO; YY_BREAK #line 2893 "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->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->yy_n_chars; yy_current_buffer->yy_input_file = yyin; yy_current_buffer->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->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->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() { register char *dest = yy_current_buffer->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->yy_ch_buf[yy_n_chars + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( yy_current_buffer->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->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->yy_n_chars = yy_n_chars = 0; else { int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ #ifdef YY_USES_REJECT YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); #else /* 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. */ yy_flex_realloc( (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->yy_buf_size - number_to_move - 1; #endif } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), yy_n_chars, num_to_read ); yy_current_buffer->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->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; yy_n_chars += number_to_move; yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; yytext_ptr = &yy_current_buffer->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() { 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 >= 1562 ) 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 ); */ #ifdef YY_USE_PROTOS static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) #else static yy_state_type yy_try_NUL_trans( yy_current_state ) yy_state_type yy_current_state; #endif { 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 >= 1562 ) 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 == 1561); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT #ifdef YY_USE_PROTOS static void yyunput( int c, register char *yy_bp ) #else static void yyunput( c, yy_bp ) int c; register char *yy_bp; #endif { register char *yy_cp = yy_c_buf_p; /* undo effects of setting up yytext */ *yy_cp = yy_hold_char; if ( yy_cp < yy_current_buffer->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->yy_ch_buf[ yy_current_buffer->yy_buf_size + 2]; register char *source = &yy_current_buffer->yy_ch_buf[number_to_move]; while ( source > yy_current_buffer->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); yy_current_buffer->yy_n_chars = yy_n_chars = yy_current_buffer->yy_buf_size; if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; yytext_ptr = yy_bp; yy_hold_char = *yy_cp; yy_c_buf_p = yy_cp; } #endif /* ifndef YY_NO_UNPUT */ #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput() #else static int input() #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->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 ); /* fall through */ 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 /* YY_NO_INPUT */ #ifdef YY_USE_PROTOS void yyrestart( FILE *input_file ) #else void yyrestart( input_file ) FILE *input_file; #endif { if ( ! yy_current_buffer ) yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); yy_init_buffer( yy_current_buffer, input_file ); yy_load_buffer_state(); } #ifdef YY_USE_PROTOS void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) #else void yy_switch_to_buffer( new_buffer ) YY_BUFFER_STATE new_buffer; #endif { 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->yy_buf_pos = yy_c_buf_p; yy_current_buffer->yy_n_chars = yy_n_chars; } yy_current_buffer = 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; } #ifdef YY_USE_PROTOS void yy_load_buffer_state( void ) #else void yy_load_buffer_state() #endif { yy_n_chars = yy_current_buffer->yy_n_chars; yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; yyin = yy_current_buffer->yy_input_file; yy_hold_char = *yy_c_buf_p; } #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) #else YY_BUFFER_STATE yy_create_buffer( file, size ) FILE *file; int size; #endif { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yy_flex_alloc( 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 *) yy_flex_alloc( 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; } #ifdef YY_USE_PROTOS void yy_delete_buffer( YY_BUFFER_STATE b ) #else void yy_delete_buffer( b ) YY_BUFFER_STATE b; #endif { if ( ! b ) return; if ( b == yy_current_buffer ) yy_current_buffer = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yy_flex_free( (void *) b->yy_ch_buf ); yy_flex_free( (void *) b ); } #ifdef YY_USE_PROTOS void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) #else void yy_init_buffer( b, file ) YY_BUFFER_STATE b; FILE *file; #endif { yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; #if YY_ALWAYS_INTERACTIVE b->yy_is_interactive = 1; #else #if YY_NEVER_INTERACTIVE b->yy_is_interactive = 0; #else b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; #endif #endif } #ifdef YY_USE_PROTOS void yy_flush_buffer( YY_BUFFER_STATE b ) #else void yy_flush_buffer( b ) YY_BUFFER_STATE b; #endif { 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(); } #ifndef YY_NO_SCAN_BUFFER #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) #else YY_BUFFER_STATE yy_scan_buffer( base, size ) char *base; yy_size_t size; #endif { 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) yy_flex_alloc( 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; } #endif #ifndef YY_NO_SCAN_STRING #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) #else YY_BUFFER_STATE yy_scan_string( yy_str ) yyconst char *yy_str; #endif { int len; for ( len = 0; yy_str[len]; ++len ) ; return yy_scan_bytes( yy_str, len ); } #endif #ifndef YY_NO_SCAN_BYTES #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) #else YY_BUFFER_STATE yy_scan_bytes( bytes, len ) yyconst char *bytes; int len; #endif { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = len + 2; buf = (char *) yy_flex_alloc( n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < len; ++i ) buf[i] = bytes[i]; buf[len] = buf[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; } #endif #ifndef YY_NO_PUSH_STATE #ifdef YY_USE_PROTOS static void yy_push_state( int new_state ) #else static void yy_push_state( new_state ) int new_state; #endif { if ( yy_start_stack_ptr >= yy_start_stack_depth ) { yy_size_t new_size; yy_start_stack_depth += YY_START_STACK_INCR; new_size = yy_start_stack_depth * sizeof( int ); if ( ! yy_start_stack ) yy_start_stack = (int *) yy_flex_alloc( new_size ); else yy_start_stack = (int *) yy_flex_realloc( (void *) yy_start_stack, new_size ); if ( ! yy_start_stack ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } yy_start_stack[yy_start_stack_ptr++] = YY_START; BEGIN(new_state); } #endif #ifndef YY_NO_POP_STATE static void yy_pop_state() { if ( --yy_start_stack_ptr < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN(yy_start_stack[yy_start_stack_ptr]); } #endif #ifndef YY_NO_TOP_STATE static int yy_top_state() { return yy_start_stack[yy_start_stack_ptr - 1]; } #endif #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif #ifdef YY_USE_PROTOS static void yy_fatal_error( yyconst char msg[] ) #else static void yy_fatal_error( msg ) char msg[]; #endif { (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. */ \ yytext[yyleng] = yy_hold_char; \ yy_c_buf_p = yytext + n; \ yy_hold_char = *yy_c_buf_p; \ *yy_c_buf_p = '\0'; \ yyleng = n; \ } \ while ( 0 ) /* Internal utility routines. */ #ifndef yytext_ptr #ifdef YY_USE_PROTOS static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) #else static void yy_flex_strncpy( s1, s2, n ) char *s1; yyconst char *s2; int n; #endif { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN #ifdef YY_USE_PROTOS static int yy_flex_strlen( yyconst char *s ) #else static int yy_flex_strlen( s ) yyconst char *s; #endif { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif #ifdef YY_USE_PROTOS static void *yy_flex_alloc( yy_size_t size ) #else static void *yy_flex_alloc( size ) yy_size_t size; #endif { return (void *) malloc( size ); } #ifdef YY_USE_PROTOS static void *yy_flex_realloc( void *ptr, yy_size_t size ) #else static void *yy_flex_realloc( ptr, size ) void *ptr; yy_size_t size; #endif { /* 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 ); } #ifdef YY_USE_PROTOS static void yy_flex_free( void *ptr ) #else static void yy_flex_free( ptr ) void *ptr; #endif { free( ptr ); } #if YY_MAIN int main() { yylex(); return 0; } #endif #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 in *RESULT either the number of characters read, or 0 to indicate EOF. */ static void yy_input (char *buf, int *result, int max_size) { *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"); } } } /* 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