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