| 1 |
|
|---|
| 2 | #line 3 "lex.yy.c"
|
|---|
| 3 |
|
|---|
| 4 | #define YY_INT_ALIGNED short int
|
|---|
| 5 |
|
|---|
| 6 | /* A lexical scanner generated by flex */
|
|---|
| 7 |
|
|---|
| 8 | #define FLEX_SCANNER
|
|---|
| 9 | #define YY_FLEX_MAJOR_VERSION 2
|
|---|
| 10 | #define YY_FLEX_MINOR_VERSION 5
|
|---|
| 11 | #define YY_FLEX_SUBMINOR_VERSION 31
|
|---|
| 12 | #if YY_FLEX_SUBMINOR_VERSION > 0
|
|---|
| 13 | #define FLEX_BETA
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | /* First, we deal with platform-specific or compiler-specific issues. */
|
|---|
| 17 |
|
|---|
| 18 | /* begin standard C headers. */
|
|---|
| 19 | #include <stdio.h>
|
|---|
| 20 | #include <string.h>
|
|---|
| 21 | #include <errno.h>
|
|---|
| 22 | #include <stdlib.h>
|
|---|
| 23 |
|
|---|
| 24 | /* end standard C headers. */
|
|---|
| 25 |
|
|---|
| 26 | /* flex integer type definitions */
|
|---|
| 27 |
|
|---|
| 28 | #ifndef FLEXINT_H
|
|---|
| 29 | #define FLEXINT_H
|
|---|
| 30 |
|
|---|
| 31 | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
|
|---|
| 32 |
|
|---|
| 33 | #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
|
|---|
| 34 | #include <inttypes.h>
|
|---|
| 35 | typedef int8_t flex_int8_t;
|
|---|
| 36 | typedef uint8_t flex_uint8_t;
|
|---|
| 37 | typedef int16_t flex_int16_t;
|
|---|
| 38 | typedef uint16_t flex_uint16_t;
|
|---|
| 39 | typedef int32_t flex_int32_t;
|
|---|
| 40 | typedef uint32_t flex_uint32_t;
|
|---|
| 41 | #else
|
|---|
| 42 | typedef signed char flex_int8_t;
|
|---|
| 43 | typedef short int flex_int16_t;
|
|---|
| 44 | typedef int flex_int32_t;
|
|---|
| 45 | typedef unsigned char flex_uint8_t;
|
|---|
| 46 | typedef unsigned short int flex_uint16_t;
|
|---|
| 47 | typedef unsigned int flex_uint32_t;
|
|---|
| 48 | #endif /* ! C99 */
|
|---|
| 49 |
|
|---|
| 50 | /* Limits of integral types. */
|
|---|
| 51 | #ifndef INT8_MIN
|
|---|
| 52 | #define INT8_MIN (-128)
|
|---|
| 53 | #endif
|
|---|
| 54 | #ifndef INT16_MIN
|
|---|
| 55 | #define INT16_MIN (-32767-1)
|
|---|
| 56 | #endif
|
|---|
| 57 | #ifndef INT32_MIN
|
|---|
| 58 | #define INT32_MIN (-2147483647-1)
|
|---|
| 59 | #endif
|
|---|
| 60 | #ifndef INT8_MAX
|
|---|
| 61 | #define INT8_MAX (127)
|
|---|
| 62 | #endif
|
|---|
| 63 | #ifndef INT16_MAX
|
|---|
| 64 | #define INT16_MAX (32767)
|
|---|
| 65 | #endif
|
|---|
| 66 | #ifndef INT32_MAX
|
|---|
| 67 | #define INT32_MAX (2147483647)
|
|---|
| 68 | #endif
|
|---|
| 69 | #ifndef UINT8_MAX
|
|---|
| 70 | #define UINT8_MAX (255U)
|
|---|
| 71 | #endif
|
|---|
| 72 | #ifndef UINT16_MAX
|
|---|
| 73 | #define UINT16_MAX (65535U)
|
|---|
| 74 | #endif
|
|---|
| 75 | #ifndef UINT32_MAX
|
|---|
| 76 | #define UINT32_MAX (4294967295U)
|
|---|
| 77 | #endif
|
|---|
| 78 |
|
|---|
| 79 | #endif /* ! FLEXINT_H */
|
|---|
| 80 |
|
|---|
| 81 | #ifdef __cplusplus
|
|---|
| 82 |
|
|---|
| 83 | /* The "const" storage-class-modifier is valid. */
|
|---|
| 84 | #define YY_USE_CONST
|
|---|
| 85 |
|
|---|
| 86 | #else /* ! __cplusplus */
|
|---|
| 87 |
|
|---|
| 88 | #if __STDC__
|
|---|
| 89 |
|
|---|
| 90 | #define YY_USE_CONST
|
|---|
| 91 |
|
|---|
| 92 | #endif /* __STDC__ */
|
|---|
| 93 | #endif /* ! __cplusplus */
|
|---|
| 94 |
|
|---|
| 95 | #ifdef YY_USE_CONST
|
|---|
| 96 | #define yyconst const
|
|---|
| 97 | #else
|
|---|
| 98 | #define yyconst
|
|---|
| 99 | #endif
|
|---|
| 100 |
|
|---|
| 101 | /* Returned upon end-of-file. */
|
|---|
| 102 | #define YY_NULL 0
|
|---|
| 103 |
|
|---|
| 104 | /* Promotes a possibly negative, possibly signed char to an unsigned
|
|---|
| 105 | * integer for use as an array index. If the signed char is negative,
|
|---|
| 106 | * we want to instead treat it as an 8-bit unsigned char, hence the
|
|---|
| 107 | * double cast.
|
|---|
| 108 | */
|
|---|
| 109 | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
|
|---|
| 110 |
|
|---|
| 111 | /* Enter a start condition. This macro really ought to take a parameter,
|
|---|
| 112 | * but we do it the disgusting crufty way forced on us by the ()-less
|
|---|
| 113 | * definition of BEGIN.
|
|---|
| 114 | */
|
|---|
| 115 | #define BEGIN (yy_start) = 1 + 2 *
|
|---|
| 116 |
|
|---|
| 117 | /* Translate the current start state into a value that can be later handed
|
|---|
| 118 | * to BEGIN to return to the state. The YYSTATE alias is for lex
|
|---|
| 119 | * compatibility.
|
|---|
| 120 | */
|
|---|
| 121 | #define YY_START (((yy_start) - 1) / 2)
|
|---|
| 122 | #define YYSTATE YY_START
|
|---|
| 123 |
|
|---|
| 124 | /* Action number for EOF rule of a given start state. */
|
|---|
| 125 | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
|
|---|
| 126 |
|
|---|
| 127 | /* Special action meaning "start processing a new file". */
|
|---|
| 128 | #define YY_NEW_FILE yyrestart(yyin )
|
|---|
| 129 |
|
|---|
| 130 | #define YY_END_OF_BUFFER_CHAR 0
|
|---|
| 131 |
|
|---|
| 132 | /* Size of default input buffer. */
|
|---|
| 133 | #ifndef YY_BUF_SIZE
|
|---|
| 134 | #define YY_BUF_SIZE 16384
|
|---|
| 135 | #endif
|
|---|
| 136 |
|
|---|
| 137 | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
|
|---|
| 138 | #define YY_TYPEDEF_YY_BUFFER_STATE
|
|---|
| 139 | typedef struct yy_buffer_state *YY_BUFFER_STATE;
|
|---|
| 140 | #endif
|
|---|
| 141 |
|
|---|
| 142 | extern int yyleng;
|
|---|
| 143 |
|
|---|
| 144 | extern FILE *yyin, *yyout;
|
|---|
| 145 |
|
|---|
| 146 | #define EOB_ACT_CONTINUE_SCAN 0
|
|---|
| 147 | #define EOB_ACT_END_OF_FILE 1
|
|---|
| 148 | #define EOB_ACT_LAST_MATCH 2
|
|---|
| 149 |
|
|---|
| 150 | #define YY_LESS_LINENO(n)
|
|---|
| 151 |
|
|---|
| 152 | /* Return all but the first "n" matched characters back to the input stream. */
|
|---|
| 153 | #define yyless(n) \
|
|---|
| 154 | do \
|
|---|
| 155 | { \
|
|---|
| 156 | /* Undo effects of setting up yytext. */ \
|
|---|
| 157 | int yyless_macro_arg = (n); \
|
|---|
| 158 | YY_LESS_LINENO(yyless_macro_arg);\
|
|---|
| 159 | *yy_cp = (yy_hold_char); \
|
|---|
| 160 | YY_RESTORE_YY_MORE_OFFSET \
|
|---|
| 161 | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
|
|---|
| 162 | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
|
|---|
| 163 | } \
|
|---|
| 164 | while ( 0 )
|
|---|
| 165 |
|
|---|
| 166 | #define unput(c) yyunput( c, (yytext_ptr) )
|
|---|
| 167 |
|
|---|
| 168 | /* The following is because we cannot portably get our hands on size_t
|
|---|
| 169 | * (without autoconf's help, which isn't available because we want
|
|---|
| 170 | * flex-generated scanners to compile on their own).
|
|---|
| 171 | */
|
|---|
| 172 |
|
|---|
| 173 | #ifndef YY_TYPEDEF_YY_SIZE_T
|
|---|
| 174 | #define YY_TYPEDEF_YY_SIZE_T
|
|---|
| 175 | typedef unsigned int yy_size_t;
|
|---|
| 176 | #endif
|
|---|
| 177 |
|
|---|
| 178 | #ifndef YY_STRUCT_YY_BUFFER_STATE
|
|---|
| 179 | #define YY_STRUCT_YY_BUFFER_STATE
|
|---|
| 180 | struct yy_buffer_state
|
|---|
| 181 | {
|
|---|
| 182 | FILE *yy_input_file;
|
|---|
| 183 |
|
|---|
| 184 | char *yy_ch_buf; /* input buffer */
|
|---|
| 185 | char *yy_buf_pos; /* current position in input buffer */
|
|---|
| 186 |
|
|---|
| 187 | /* Size of input buffer in bytes, not including room for EOB
|
|---|
| 188 | * characters.
|
|---|
| 189 | */
|
|---|
| 190 | yy_size_t yy_buf_size;
|
|---|
| 191 |
|
|---|
| 192 | /* Number of characters read into yy_ch_buf, not including EOB
|
|---|
| 193 | * characters.
|
|---|
| 194 | */
|
|---|
| 195 | int yy_n_chars;
|
|---|
| 196 |
|
|---|
| 197 | /* Whether we "own" the buffer - i.e., we know we created it,
|
|---|
| 198 | * and can realloc() it to grow it, and should free() it to
|
|---|
| 199 | * delete it.
|
|---|
| 200 | */
|
|---|
| 201 | int yy_is_our_buffer;
|
|---|
| 202 |
|
|---|
| 203 | /* Whether this is an "interactive" input source; if so, and
|
|---|
| 204 | * if we're using stdio for input, then we want to use getc()
|
|---|
| 205 | * instead of fread(), to make sure we stop fetching input after
|
|---|
| 206 | * each newline.
|
|---|
| 207 | */
|
|---|
| 208 | int yy_is_interactive;
|
|---|
| 209 |
|
|---|
| 210 | /* Whether we're considered to be at the beginning of a line.
|
|---|
| 211 | * If so, '^' rules will be active on the next match, otherwise
|
|---|
| 212 | * not.
|
|---|
| 213 | */
|
|---|
| 214 | int yy_at_bol;
|
|---|
| 215 |
|
|---|
| 216 | int yy_bs_lineno; /**< The line count. */
|
|---|
| 217 | int yy_bs_column; /**< The column count. */
|
|---|
| 218 |
|
|---|
| 219 | /* Whether to try to fill the input buffer when we reach the
|
|---|
| 220 | * end of it.
|
|---|
| 221 | */
|
|---|
| 222 | int yy_fill_buffer;
|
|---|
| 223 |
|
|---|
| 224 | int yy_buffer_status;
|
|---|
| 225 |
|
|---|
| 226 | #define YY_BUFFER_NEW 0
|
|---|
| 227 | #define YY_BUFFER_NORMAL 1
|
|---|
| 228 | /* When an EOF's been seen but there's still some text to process
|
|---|
| 229 | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
|
|---|
| 230 | * shouldn't try reading from the input source any more. We might
|
|---|
| 231 | * still have a bunch of tokens to match, though, because of
|
|---|
| 232 | * possible backing-up.
|
|---|
| 233 | *
|
|---|
| 234 | * When we actually see the EOF, we change the status to "new"
|
|---|
| 235 | * (via yyrestart()), so that the user can continue scanning by
|
|---|
| 236 | * just pointing yyin at a new input file.
|
|---|
| 237 | */
|
|---|
| 238 | #define YY_BUFFER_EOF_PENDING 2
|
|---|
| 239 |
|
|---|
| 240 | };
|
|---|
| 241 | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
|
|---|
| 242 |
|
|---|
| 243 | /* Stack of input buffers. */
|
|---|
| 244 | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
|
|---|
| 245 | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
|
|---|
| 246 | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
|
|---|
| 247 |
|
|---|
| 248 | /* We provide macros for accessing buffer states in case in the
|
|---|
| 249 | * future we want to put the buffer states in a more general
|
|---|
| 250 | * "scanner state".
|
|---|
| 251 | *
|
|---|
| 252 | * Returns the top of the stack, or NULL.
|
|---|
| 253 | */
|
|---|
| 254 | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
|
|---|
| 255 | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
|
|---|
| 256 | : NULL)
|
|---|
| 257 |
|
|---|
| 258 | /* Same as previous macro, but useful when we know that the buffer stack is not
|
|---|
| 259 | * NULL or when we need an lvalue. For internal use only.
|
|---|
| 260 | */
|
|---|
| 261 | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
|
|---|
| 262 |
|
|---|
| 263 | /* yy_hold_char holds the character lost when yytext is formed. */
|
|---|
| 264 | static char yy_hold_char;
|
|---|
| 265 | static int yy_n_chars; /* number of characters read into yy_ch_buf */
|
|---|
| 266 | int yyleng;
|
|---|
| 267 |
|
|---|
| 268 | /* Points to current character in buffer. */
|
|---|
| 269 | static char *yy_c_buf_p = (char *) 0;
|
|---|
| 270 | static int yy_init = 1; /* whether we need to initialize */
|
|---|
| 271 | static int yy_start = 0; /* start state number */
|
|---|
| 272 |
|
|---|
| 273 | /* Flag which is used to allow yywrap()'s to do buffer switches
|
|---|
| 274 | * instead of setting up a fresh yyin. A bit of a hack ...
|
|---|
| 275 | */
|
|---|
| 276 | static int yy_did_buffer_switch_on_eof;
|
|---|
| 277 |
|
|---|
| 278 | void yyrestart (FILE *input_file );
|
|---|
| 279 | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
|
|---|
| 280 | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
|
|---|
| 281 | void yy_delete_buffer (YY_BUFFER_STATE b );
|
|---|
| 282 | void yy_flush_buffer (YY_BUFFER_STATE b );
|
|---|
| 283 | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
|
|---|
| 284 | void yypop_buffer_state (void );
|
|---|
| 285 |
|
|---|
| 286 | static void yyensure_buffer_stack (void );
|
|---|
| 287 | static void yy_load_buffer_state (void );
|
|---|
| 288 | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
|
|---|
| 289 |
|
|---|
| 290 | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
|
|---|
| 291 |
|
|---|
| 292 | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
|
|---|
| 293 | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
|
|---|
| 294 | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
|
|---|
| 295 |
|
|---|
| 296 | void *yyalloc (yy_size_t );
|
|---|
| 297 | void *yyrealloc (void *,yy_size_t );
|
|---|
| 298 | void yyfree (void * );
|
|---|
| 299 |
|
|---|
| 300 | #define yy_new_buffer yy_create_buffer
|
|---|
| 301 |
|
|---|
| 302 | #define yy_set_interactive(is_interactive) \
|
|---|
| 303 | { \
|
|---|
| 304 | if ( ! YY_CURRENT_BUFFER ){ \
|
|---|
| 305 | yyensure_buffer_stack (); \
|
|---|
| 306 | YY_CURRENT_BUFFER_LVALUE = \
|
|---|
| 307 | yy_create_buffer(yyin,YY_BUF_SIZE ); \
|
|---|
| 308 | } \
|
|---|
| 309 | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
|
|---|
| 310 | }
|
|---|
| 311 |
|
|---|
| 312 | #define yy_set_bol(at_bol) \
|
|---|
| 313 | { \
|
|---|
| 314 | if ( ! YY_CURRENT_BUFFER ){\
|
|---|
| 315 | yyensure_buffer_stack (); \
|
|---|
| 316 | YY_CURRENT_BUFFER_LVALUE = \
|
|---|
| 317 | yy_create_buffer(yyin,YY_BUF_SIZE ); \
|
|---|
| 318 | } \
|
|---|
| 319 | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
|
|---|
| 320 | }
|
|---|
| 321 |
|
|---|
| 322 | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
|
|---|
| 323 |
|
|---|
| 324 | /* Begin user sect3 */
|
|---|
| 325 |
|
|---|
| 326 | typedef unsigned char YY_CHAR;
|
|---|
| 327 |
|
|---|
| 328 | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
|
|---|
| 329 |
|
|---|
| 330 | typedef int yy_state_type;
|
|---|
| 331 |
|
|---|
| 332 | extern int yylineno;
|
|---|
| 333 |
|
|---|
| 334 | int yylineno = 1;
|
|---|
| 335 |
|
|---|
| 336 | extern char *yytext;
|
|---|
| 337 | #define yytext_ptr yytext
|
|---|
| 338 |
|
|---|
| 339 | static yy_state_type yy_get_previous_state (void );
|
|---|
| 340 | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
|
|---|
| 341 | static int yy_get_next_buffer (void );
|
|---|
| 342 | static void yy_fatal_error (yyconst char msg[] );
|
|---|
| 343 |
|
|---|
| 344 | /* Done after the current pattern has been matched and before the
|
|---|
| 345 | * corresponding action - sets up yytext.
|
|---|
| 346 | */
|
|---|
| 347 | #define YY_DO_BEFORE_ACTION \
|
|---|
| 348 | (yytext_ptr) = yy_bp; \
|
|---|
| 349 | yyleng = (size_t) (yy_cp - yy_bp); \
|
|---|
| 350 | (yy_hold_char) = *yy_cp; \
|
|---|
| 351 | *yy_cp = '\0'; \
|
|---|
| 352 | (yy_c_buf_p) = yy_cp;
|
|---|
| 353 |
|
|---|
| 354 | #define YY_NUM_RULES 15
|
|---|
| 355 | #define YY_END_OF_BUFFER 16
|
|---|
| 356 | /* This struct is not used in this scanner,
|
|---|
| 357 | but its presence is necessary. */
|
|---|
| 358 | struct yy_trans_info
|
|---|
| 359 | {
|
|---|
| 360 | flex_int32_t yy_verify;
|
|---|
| 361 | flex_int32_t yy_nxt;
|
|---|
| 362 | };
|
|---|
| 363 | static yyconst flex_int16_t yy_accept[60] =
|
|---|
| 364 | { 0,
|
|---|
| 365 | 0, 0, 16, 14, 13, 12, 11, 8, 8, 10,
|
|---|
| 366 | 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
|
|---|
| 367 | 10, 8, 0, 10, 10, 10, 10, 10, 10, 10,
|
|---|
| 368 | 10, 10, 10, 10, 10, 10, 7, 9, 10, 10,
|
|---|
| 369 | 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
|
|---|
| 370 | 5, 1, 2, 3, 10, 6, 10, 4, 0
|
|---|
| 371 | } ;
|
|---|
| 372 |
|
|---|
| 373 | static yyconst flex_int32_t yy_ec[256] =
|
|---|
| 374 | { 0,
|
|---|
| 375 | 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
|
|---|
| 376 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 377 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 378 | 1, 4, 1, 1, 5, 1, 1, 1, 1, 1,
|
|---|
| 379 | 1, 1, 1, 1, 1, 1, 1, 6, 7, 7,
|
|---|
| 380 | 7, 7, 7, 7, 7, 7, 7, 1, 8, 1,
|
|---|
| 381 | 1, 1, 1, 1, 9, 10, 11, 12, 13, 10,
|
|---|
| 382 | 14, 15, 16, 15, 15, 15, 17, 18, 15, 15,
|
|---|
| 383 | 15, 19, 20, 15, 15, 15, 15, 15, 15, 15,
|
|---|
| 384 | 1, 1, 1, 1, 15, 1, 21, 10, 22, 23,
|
|---|
| 385 |
|
|---|
| 386 | 24, 10, 25, 15, 26, 15, 15, 15, 27, 28,
|
|---|
| 387 | 15, 29, 15, 30, 31, 15, 15, 15, 15, 32,
|
|---|
| 388 | 15, 15, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 389 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 390 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 391 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 392 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 393 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 394 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 395 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 396 |
|
|---|
| 397 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 398 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 399 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 400 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 401 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 402 | 1, 1, 1, 1, 1
|
|---|
| 403 | } ;
|
|---|
| 404 |
|
|---|
| 405 | static yyconst flex_int32_t yy_meta[33] =
|
|---|
| 406 | { 0,
|
|---|
| 407 | 1, 1, 1, 1, 1, 2, 2, 1, 2, 2,
|
|---|
| 408 | 2, 2, 2, 3, 3, 3, 3, 3, 3, 3,
|
|---|
| 409 | 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
|
|---|
| 410 | 3, 3
|
|---|
| 411 | } ;
|
|---|
| 412 |
|
|---|
| 413 | static yyconst flex_int16_t yy_base[62] =
|
|---|
| 414 | { 0,
|
|---|
| 415 | 0, 0, 83, 84, 84, 84, 84, 27, 29, 70,
|
|---|
| 416 | 0, 62, 61, 60, 20, 55, 47, 46, 45, 12,
|
|---|
| 417 | 35, 37, 0, 0, 62, 60, 59, 58, 53, 49,
|
|---|
| 418 | 45, 43, 42, 41, 37, 32, 0, 0, 43, 44,
|
|---|
| 419 | 43, 42, 42, 36, 23, 27, 26, 25, 25, 20,
|
|---|
| 420 | 0, 0, 0, 0, 35, 0, 23, 0, 84, 58,
|
|---|
| 421 | 43
|
|---|
| 422 | } ;
|
|---|
| 423 |
|
|---|
| 424 | static yyconst flex_int16_t yy_def[62] =
|
|---|
| 425 | { 0,
|
|---|
| 426 | 59, 1, 59, 59, 59, 59, 59, 59, 59, 60,
|
|---|
| 427 | 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
|
|---|
| 428 | 60, 59, 61, 60, 60, 60, 60, 60, 60, 60,
|
|---|
| 429 | 60, 60, 60, 60, 60, 60, 60, 61, 60, 60,
|
|---|
| 430 | 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
|
|---|
| 431 | 60, 60, 60, 60, 60, 60, 60, 60, 0, 59,
|
|---|
| 432 | 59
|
|---|
| 433 | } ;
|
|---|
| 434 |
|
|---|
| 435 | static yyconst flex_int16_t yy_nxt[117] =
|
|---|
| 436 | { 0,
|
|---|
| 437 | 4, 5, 6, 5, 7, 8, 9, 7, 10, 11,
|
|---|
| 438 | 12, 13, 11, 14, 11, 15, 11, 11, 11, 11,
|
|---|
| 439 | 16, 17, 18, 11, 19, 20, 11, 11, 21, 11,
|
|---|
| 440 | 11, 11, 22, 22, 22, 22, 29, 30, 35, 36,
|
|---|
| 441 | 37, 37, 22, 22, 38, 58, 58, 56, 57, 54,
|
|---|
| 442 | 53, 52, 51, 56, 55, 54, 53, 52, 23, 24,
|
|---|
| 443 | 24, 51, 50, 49, 48, 47, 46, 45, 44, 43,
|
|---|
| 444 | 42, 41, 40, 39, 34, 33, 32, 31, 28, 27,
|
|---|
| 445 | 26, 25, 59, 3, 59, 59, 59, 59, 59, 59,
|
|---|
| 446 | 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
|
|---|
| 447 |
|
|---|
| 448 | 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
|
|---|
| 449 | 59, 59, 59, 59, 59, 59
|
|---|
| 450 | } ;
|
|---|
| 451 |
|
|---|
| 452 | static yyconst flex_int16_t yy_chk[117] =
|
|---|
| 453 | { 0,
|
|---|
| 454 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 455 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 456 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|---|
| 457 | 1, 1, 8, 8, 9, 9, 15, 15, 20, 20,
|
|---|
| 458 | 21, 21, 22, 22, 61, 57, 55, 50, 49, 48,
|
|---|
| 459 | 47, 46, 45, 44, 43, 42, 41, 40, 8, 60,
|
|---|
| 460 | 60, 39, 36, 35, 34, 33, 32, 31, 30, 29,
|
|---|
| 461 | 28, 27, 26, 25, 19, 18, 17, 16, 14, 13,
|
|---|
| 462 | 12, 10, 3, 59, 59, 59, 59, 59, 59, 59,
|
|---|
| 463 | 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
|
|---|
| 464 |
|
|---|
| 465 | 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
|
|---|
| 466 | 59, 59, 59, 59, 59, 59
|
|---|
| 467 | } ;
|
|---|
| 468 |
|
|---|
| 469 | static yy_state_type yy_last_accepting_state;
|
|---|
| 470 | static char *yy_last_accepting_cpos;
|
|---|
| 471 |
|
|---|
| 472 | extern int yy_flex_debug;
|
|---|
| 473 | int yy_flex_debug = 0;
|
|---|
| 474 |
|
|---|
| 475 | /* The intent behind this definition is that it'll catch
|
|---|
| 476 | * any uses of REJECT which flex missed.
|
|---|
| 477 | */
|
|---|
| 478 | #define REJECT reject_used_but_not_detected
|
|---|
| 479 | #define yymore() yymore_used_but_not_detected
|
|---|
| 480 | #define YY_MORE_ADJ 0
|
|---|
| 481 | #define YY_RESTORE_YY_MORE_OFFSET
|
|---|
| 482 | char *yytext;
|
|---|
| 483 | #line 1 "itbl-lex.l"
|
|---|
| 484 | /* itbl-lex.l
|
|---|
| 485 | Copyright 1997, 1998, 2001 Free Software Foundation, Inc.
|
|---|
| 486 |
|
|---|
| 487 | This file is part of GAS, the GNU Assembler.
|
|---|
| 488 |
|
|---|
| 489 | GAS is free software; you can redistribute it and/or modify
|
|---|
| 490 | it under the terms of the GNU General Public License as published by
|
|---|
| 491 | the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 492 | any later version.
|
|---|
| 493 |
|
|---|
| 494 | GAS is distributed in the hope that it will be useful,
|
|---|
| 495 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 496 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 497 | GNU General Public License for more details.
|
|---|
| 498 |
|
|---|
| 499 | You should have received a copy of the GNU General Public License
|
|---|
| 500 | along with GAS; see the file COPYING. If not, write to the Free
|
|---|
| 501 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|---|
| 502 | 02111-1307, USA. */
|
|---|
| 503 | #line 22 "itbl-lex.l"
|
|---|
| 504 | #include <stdio.h>
|
|---|
| 505 | #include <string.h>
|
|---|
| 506 | #include <stdlib.h>
|
|---|
| 507 |
|
|---|
| 508 | #include <itbl-parse.h>
|
|---|
| 509 |
|
|---|
| 510 | #ifdef DEBUG
|
|---|
| 511 | #define DBG(x) printf x
|
|---|
| 512 | #define MDBG(x) printf x
|
|---|
| 513 | #else
|
|---|
| 514 | #define DBG(x)
|
|---|
| 515 | #define MDBG(x)
|
|---|
| 516 | #endif
|
|---|
| 517 |
|
|---|
| 518 | int insntbl_line = 1;
|
|---|
| 519 | #line 520 "lex.yy.c"
|
|---|
| 520 |
|
|---|
| 521 | #define INITIAL 0
|
|---|
| 522 |
|
|---|
| 523 | /* Special case for "unistd.h", since it is non-ANSI. We include it way
|
|---|
| 524 | * down here because we want the user's section 1 to have been scanned first.
|
|---|
| 525 | * The user has a chance to override it with an option.
|
|---|
| 526 | */
|
|---|
| 527 | #include <unistd.h>
|
|---|
| 528 |
|
|---|
| 529 | #ifndef YY_EXTRA_TYPE
|
|---|
| 530 | #define YY_EXTRA_TYPE void *
|
|---|
| 531 | #endif
|
|---|
| 532 |
|
|---|
| 533 | /* Macros after this point can all be overridden by user definitions in
|
|---|
| 534 | * section 1.
|
|---|
| 535 | */
|
|---|
| 536 |
|
|---|
| 537 | #ifndef YY_SKIP_YYWRAP
|
|---|
| 538 | #ifdef __cplusplus
|
|---|
| 539 | extern "C" int yywrap (void );
|
|---|
| 540 | #else
|
|---|
| 541 | extern int yywrap (void );
|
|---|
| 542 | #endif
|
|---|
| 543 | #endif
|
|---|
| 544 |
|
|---|
| 545 | static void yyunput (int c,char *buf_ptr );
|
|---|
| 546 |
|
|---|
| 547 | #ifndef yytext_ptr
|
|---|
| 548 | static void yy_flex_strncpy (char *,yyconst char *,int );
|
|---|
| 549 | #endif
|
|---|
| 550 |
|
|---|
| 551 | #ifdef YY_NEED_STRLEN
|
|---|
| 552 | static int yy_flex_strlen (yyconst char * );
|
|---|
| 553 | #endif
|
|---|
| 554 |
|
|---|
| 555 | #ifndef YY_NO_INPUT
|
|---|
| 556 |
|
|---|
| 557 | #ifdef __cplusplus
|
|---|
| 558 | static int yyinput (void );
|
|---|
| 559 | #else
|
|---|
| 560 | static int input (void );
|
|---|
| 561 | #endif
|
|---|
| 562 |
|
|---|
| 563 | #endif
|
|---|
| 564 |
|
|---|
| 565 | /* Amount of stuff to slurp up with each read. */
|
|---|
| 566 | #ifndef YY_READ_BUF_SIZE
|
|---|
| 567 | #define YY_READ_BUF_SIZE 8192
|
|---|
| 568 | #endif
|
|---|
| 569 |
|
|---|
| 570 | /* Copy whatever the last rule matched to the standard output. */
|
|---|
| 571 | #ifndef ECHO
|
|---|
| 572 | /* This used to be an fputs(), but since the string might contain NUL's,
|
|---|
| 573 | * we now use fwrite().
|
|---|
| 574 | */
|
|---|
| 575 | #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
|
|---|
| 576 | #endif
|
|---|
| 577 |
|
|---|
| 578 | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
|
|---|
| 579 | * is returned in "result".
|
|---|
| 580 | */
|
|---|
| 581 | #ifndef YY_INPUT
|
|---|
| 582 | #define YY_INPUT(buf,result,max_size) \
|
|---|
| 583 | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
|
|---|
| 584 | { \
|
|---|
| 585 | int c = '*'; \
|
|---|
| 586 | size_t n; \
|
|---|
| 587 | for ( n = 0; n < max_size && \
|
|---|
| 588 | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
|
|---|
| 589 | buf[n] = (char) c; \
|
|---|
| 590 | if ( c == '\n' ) \
|
|---|
| 591 | buf[n++] = (char) c; \
|
|---|
| 592 | if ( c == EOF && ferror( yyin ) ) \
|
|---|
| 593 | YY_FATAL_ERROR( "input in flex scanner failed" ); \
|
|---|
| 594 | result = n; \
|
|---|
| 595 | } \
|
|---|
| 596 | else \
|
|---|
| 597 | { \
|
|---|
| 598 | errno=0; \
|
|---|
| 599 | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
|
|---|
| 600 | { \
|
|---|
| 601 | if( errno != EINTR) \
|
|---|
| 602 | { \
|
|---|
| 603 | YY_FATAL_ERROR( "input in flex scanner failed" ); \
|
|---|
| 604 | break; \
|
|---|
| 605 | } \
|
|---|
| 606 | errno=0; \
|
|---|
| 607 | clearerr(yyin); \
|
|---|
| 608 | } \
|
|---|
| 609 | }\
|
|---|
| 610 | \
|
|---|
| 611 |
|
|---|
| 612 | #endif
|
|---|
| 613 |
|
|---|
| 614 | /* No semi-colon after return; correct usage is to write "yyterminate();" -
|
|---|
| 615 | * we don't want an extra ';' after the "return" because that will cause
|
|---|
| 616 | * some compilers to complain about unreachable statements.
|
|---|
| 617 | */
|
|---|
| 618 | #ifndef yyterminate
|
|---|
| 619 | #define yyterminate() return YY_NULL
|
|---|
| 620 | #endif
|
|---|
| 621 |
|
|---|
| 622 | /* Number of entries by which start-condition stack grows. */
|
|---|
| 623 | #ifndef YY_START_STACK_INCR
|
|---|
| 624 | #define YY_START_STACK_INCR 25
|
|---|
| 625 | #endif
|
|---|
| 626 |
|
|---|
| 627 | /* Report a fatal error. */
|
|---|
| 628 | #ifndef YY_FATAL_ERROR
|
|---|
| 629 | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
|
|---|
| 630 | #endif
|
|---|
| 631 |
|
|---|
| 632 | /* end tables serialization structures and prototypes */
|
|---|
| 633 |
|
|---|
| 634 | /* Default declaration of generated scanner - a define so the user can
|
|---|
| 635 | * easily add parameters.
|
|---|
| 636 | */
|
|---|
| 637 | #ifndef YY_DECL
|
|---|
| 638 | #define YY_DECL_IS_OURS 1
|
|---|
| 639 |
|
|---|
| 640 | extern int yylex (void);
|
|---|
| 641 |
|
|---|
| 642 | #define YY_DECL int yylex (void)
|
|---|
| 643 | #endif /* !YY_DECL */
|
|---|
| 644 |
|
|---|
| 645 | /* Code executed at the beginning of each rule, after yytext and yyleng
|
|---|
| 646 | * have been set up.
|
|---|
| 647 | */
|
|---|
| 648 | #ifndef YY_USER_ACTION
|
|---|
| 649 | #define YY_USER_ACTION
|
|---|
| 650 | #endif
|
|---|
| 651 |
|
|---|
| 652 | /* Code executed at the end of each rule. */
|
|---|
| 653 | #ifndef YY_BREAK
|
|---|
| 654 | #define YY_BREAK break;
|
|---|
| 655 | #endif
|
|---|
| 656 |
|
|---|
| 657 | #define YY_RULE_SETUP \
|
|---|
| 658 | YY_USER_ACTION
|
|---|
| 659 |
|
|---|
| 660 | /** The main scanner function which does all the work.
|
|---|
| 661 | */
|
|---|
| 662 | YY_DECL
|
|---|
| 663 | {
|
|---|
| 664 | register yy_state_type yy_current_state;
|
|---|
| 665 | register char *yy_cp, *yy_bp;
|
|---|
| 666 | register int yy_act;
|
|---|
| 667 |
|
|---|
| 668 | #line 44 "itbl-lex.l"
|
|---|
| 669 |
|
|---|
| 670 |
|
|---|
| 671 | #line 672 "lex.yy.c"
|
|---|
| 672 |
|
|---|
| 673 | if ( (yy_init) )
|
|---|
| 674 | {
|
|---|
| 675 | (yy_init) = 0;
|
|---|
| 676 |
|
|---|
| 677 | #ifdef YY_USER_INIT
|
|---|
| 678 | YY_USER_INIT;
|
|---|
| 679 | #endif
|
|---|
| 680 |
|
|---|
| 681 | if ( ! (yy_start) )
|
|---|
| 682 | (yy_start) = 1; /* first start state */
|
|---|
| 683 |
|
|---|
| 684 | if ( ! yyin )
|
|---|
| 685 | yyin = stdin;
|
|---|
| 686 |
|
|---|
| 687 | if ( ! yyout )
|
|---|
| 688 | yyout = stdout;
|
|---|
| 689 |
|
|---|
|
|---|