| 1 |
#line 2 "fcml_gas_lexer.c" |
| 2 |
|
| 3 |
#line 4 "fcml_gas_lexer.c" |
| 4 |
|
| 5 |
#define YY_INT_ALIGNED short int |
| 6 |
|
| 7 |
/* A lexical scanner generated by flex */ |
| 8 |
|
| 9 |
#define FLEX_SCANNER |
| 10 |
#define YY_FLEX_MAJOR_VERSION 2 |
| 11 |
#define YY_FLEX_MINOR_VERSION 6 |
| 12 |
#define YY_FLEX_SUBMINOR_VERSION 4 |
| 13 |
#if YY_FLEX_SUBMINOR_VERSION > 0 |
| 14 |
#define FLEX_BETA |
| 15 |
#endif |
| 16 |
|
| 17 |
#ifdef yy_create_buffer |
| 18 |
#define gas__create_buffer_ALREADY_DEFINED |
| 19 |
#else |
| 20 |
#define yy_create_buffer gas__create_buffer |
| 21 |
#endif |
| 22 |
|
| 23 |
#ifdef yy_delete_buffer |
| 24 |
#define gas__delete_buffer_ALREADY_DEFINED |
| 25 |
#else |
| 26 |
#define yy_delete_buffer gas__delete_buffer |
| 27 |
#endif |
| 28 |
|
| 29 |
#ifdef yy_scan_buffer |
| 30 |
#define gas__scan_buffer_ALREADY_DEFINED |
| 31 |
#else |
| 32 |
#define yy_scan_buffer gas__scan_buffer |
| 33 |
#endif |
| 34 |
|
| 35 |
#ifdef yy_scan_string |
| 36 |
#define gas__scan_string_ALREADY_DEFINED |
| 37 |
#else |
| 38 |
#define yy_scan_string gas__scan_string |
| 39 |
#endif |
| 40 |
|
| 41 |
#ifdef yy_scan_bytes |
| 42 |
#define gas__scan_bytes_ALREADY_DEFINED |
| 43 |
#else |
| 44 |
#define yy_scan_bytes gas__scan_bytes |
| 45 |
#endif |
| 46 |
|
| 47 |
#ifdef yy_init_buffer |
| 48 |
#define gas__init_buffer_ALREADY_DEFINED |
| 49 |
#else |
| 50 |
#define yy_init_buffer gas__init_buffer |
| 51 |
#endif |
| 52 |
|
| 53 |
#ifdef yy_flush_buffer |
| 54 |
#define gas__flush_buffer_ALREADY_DEFINED |
| 55 |
#else |
| 56 |
#define yy_flush_buffer gas__flush_buffer |
| 57 |
#endif |
| 58 |
|
| 59 |
#ifdef yy_load_buffer_state |
| 60 |
#define gas__load_buffer_state_ALREADY_DEFINED |
| 61 |
#else |
| 62 |
#define yy_load_buffer_state gas__load_buffer_state |
| 63 |
#endif |
| 64 |
|
| 65 |
#ifdef yy_switch_to_buffer |
| 66 |
#define gas__switch_to_buffer_ALREADY_DEFINED |
| 67 |
#else |
| 68 |
#define yy_switch_to_buffer gas__switch_to_buffer |
| 69 |
#endif |
| 70 |
|
| 71 |
#ifdef yypush_buffer_state |
| 72 |
#define gas_push_buffer_state_ALREADY_DEFINED |
| 73 |
#else |
| 74 |
#define yypush_buffer_state gas_push_buffer_state |
| 75 |
#endif |
| 76 |
|
| 77 |
#ifdef yypop_buffer_state |
| 78 |
#define gas_pop_buffer_state_ALREADY_DEFINED |
| 79 |
#else |
| 80 |
#define yypop_buffer_state gas_pop_buffer_state |
| 81 |
#endif |
| 82 |
|
| 83 |
#ifdef yyensure_buffer_stack |
| 84 |
#define gas_ensure_buffer_stack_ALREADY_DEFINED |
| 85 |
#else |
| 86 |
#define yyensure_buffer_stack gas_ensure_buffer_stack |
| 87 |
#endif |
| 88 |
|
| 89 |
#ifdef yylex |
| 90 |
#define gas_lex_ALREADY_DEFINED |
| 91 |
#else |
| 92 |
#define yylex gas_lex |
| 93 |
#endif |
| 94 |
|
| 95 |
#ifdef yyrestart |
| 96 |
#define gas_restart_ALREADY_DEFINED |
| 97 |
#else |
| 98 |
#define yyrestart gas_restart |
| 99 |
#endif |
| 100 |
|
| 101 |
#ifdef yylex_init |
| 102 |
#define gas_lex_init_ALREADY_DEFINED |
| 103 |
#else |
| 104 |
#define yylex_init gas_lex_init |
| 105 |
#endif |
| 106 |
|
| 107 |
#ifdef yylex_init_extra |
| 108 |
#define gas_lex_init_extra_ALREADY_DEFINED |
| 109 |
#else |
| 110 |
#define yylex_init_extra gas_lex_init_extra |
| 111 |
#endif |
| 112 |
|
| 113 |
#ifdef yylex_destroy |
| 114 |
#define gas_lex_destroy_ALREADY_DEFINED |
| 115 |
#else |
| 116 |
#define yylex_destroy gas_lex_destroy |
| 117 |
#endif |
| 118 |
|
| 119 |
#ifdef yyget_debug |
| 120 |
#define gas_get_debug_ALREADY_DEFINED |
| 121 |
#else |
| 122 |
#define yyget_debug gas_get_debug |
| 123 |
#endif |
| 124 |
|
| 125 |
#ifdef yyset_debug |
| 126 |
#define gas_set_debug_ALREADY_DEFINED |
| 127 |
#else |
| 128 |
#define yyset_debug gas_set_debug |
| 129 |
#endif |
| 130 |
|
| 131 |
#ifdef yyget_extra |
| 132 |
#define gas_get_extra_ALREADY_DEFINED |
| 133 |
#else |
| 134 |
#define yyget_extra gas_get_extra |
| 135 |
#endif |
| 136 |
|
| 137 |
#ifdef yyset_extra |
| 138 |
#define gas_set_extra_ALREADY_DEFINED |
| 139 |
#else |
| 140 |
#define yyset_extra gas_set_extra |
| 141 |
#endif |
| 142 |
|
| 143 |
#ifdef yyget_in |
| 144 |
#define gas_get_in_ALREADY_DEFINED |
| 145 |
#else |
| 146 |
#define yyget_in gas_get_in |
| 147 |
#endif |
| 148 |
|
| 149 |
#ifdef yyset_in |
| 150 |
#define gas_set_in_ALREADY_DEFINED |
| 151 |
#else |
| 152 |
#define yyset_in gas_set_in |
| 153 |
#endif |
| 154 |
|
| 155 |
#ifdef yyget_out |
| 156 |
#define gas_get_out_ALREADY_DEFINED |
| 157 |
#else |
| 158 |
#define yyget_out gas_get_out |
| 159 |
#endif |
| 160 |
|
| 161 |
#ifdef yyset_out |
| 162 |
#define gas_set_out_ALREADY_DEFINED |
| 163 |
#else |
| 164 |
#define yyset_out gas_set_out |
| 165 |
#endif |
| 166 |
|
| 167 |
#ifdef yyget_leng |
| 168 |
#define gas_get_leng_ALREADY_DEFINED |
| 169 |
#else |
| 170 |
#define yyget_leng gas_get_leng |
| 171 |
#endif |
| 172 |
|
| 173 |
#ifdef yyget_text |
| 174 |
#define gas_get_text_ALREADY_DEFINED |
| 175 |
#else |
| 176 |
#define yyget_text gas_get_text |
| 177 |
#endif |
| 178 |
|
| 179 |
#ifdef yyget_lineno |
| 180 |
#define gas_get_lineno_ALREADY_DEFINED |
| 181 |
#else |
| 182 |
#define yyget_lineno gas_get_lineno |
| 183 |
#endif |
| 184 |
|
| 185 |
#ifdef yyset_lineno |
| 186 |
#define gas_set_lineno_ALREADY_DEFINED |
| 187 |
#else |
| 188 |
#define yyset_lineno gas_set_lineno |
| 189 |
#endif |
| 190 |
|
| 191 |
#ifdef yyget_column |
| 192 |
#define gas_get_column_ALREADY_DEFINED |
| 193 |
#else |
| 194 |
#define yyget_column gas_get_column |
| 195 |
#endif |
| 196 |
|
| 197 |
#ifdef yyset_column |
| 198 |
#define gas_set_column_ALREADY_DEFINED |
| 199 |
#else |
| 200 |
#define yyset_column gas_set_column |
| 201 |
#endif |
| 202 |
|
| 203 |
#ifdef yywrap |
| 204 |
#define gas_wrap_ALREADY_DEFINED |
| 205 |
#else |
| 206 |
#define yywrap gas_wrap |
| 207 |
#endif |
| 208 |
|
| 209 |
#ifdef yyget_lval |
| 210 |
#define gas_get_lval_ALREADY_DEFINED |
| 211 |
#else |
| 212 |
#define yyget_lval gas_get_lval |
| 213 |
#endif |
| 214 |
|
| 215 |
#ifdef yyset_lval |
| 216 |
#define gas_set_lval_ALREADY_DEFINED |
| 217 |
#else |
| 218 |
#define yyset_lval gas_set_lval |
| 219 |
#endif |
| 220 |
|
| 221 |
#ifdef yyget_lloc |
| 222 |
#define gas_get_lloc_ALREADY_DEFINED |
| 223 |
#else |
| 224 |
#define yyget_lloc gas_get_lloc |
| 225 |
#endif |
| 226 |
|
| 227 |
#ifdef yyset_lloc |
| 228 |
#define gas_set_lloc_ALREADY_DEFINED |
| 229 |
#else |
| 230 |
#define yyset_lloc gas_set_lloc |
| 231 |
#endif |
| 232 |
|
| 233 |
#ifdef yyalloc |
| 234 |
#define gas_alloc_ALREADY_DEFINED |
| 235 |
#else |
| 236 |
#define yyalloc gas_alloc |
| 237 |
#endif |
| 238 |
|
| 239 |
#ifdef yyrealloc |
| 240 |
#define gas_realloc_ALREADY_DEFINED |
| 241 |
#else |
| 242 |
#define yyrealloc gas_realloc |
| 243 |
#endif |
| 244 |
|
| 245 |
#ifdef yyfree |
| 246 |
#define gas_free_ALREADY_DEFINED |
| 247 |
#else |
| 248 |
#define yyfree gas_free |
| 249 |
#endif |
| 250 |
|
| 251 |
/* First, we deal with platform-specific or compiler-specific issues. */ |
| 252 |
|
| 253 |
/* begin standard C headers. */ |
| 254 |
#include <stdio.h> |
| 255 |
#include <string.h> |
| 256 |
#include <errno.h> |
| 257 |
#include <stdlib.h> |
| 258 |
|
| 259 |
/* end standard C headers. */ |
| 260 |
|
| 261 |
/* flex integer type definitions */ |
| 262 |
|
| 263 |
#ifndef FLEXINT_H |
| 264 |
#define FLEXINT_H |
| 265 |
|
| 266 |
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ |
| 267 |
|
| 268 |
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L |
| 269 |
|
| 270 |
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, |
| 271 |
* if you want the limit (max/min) macros for int types. |
| 272 |
*/ |
| 273 |
#ifndef __STDC_LIMIT_MACROS |
| 274 |
#define __STDC_LIMIT_MACROS 1 |
| 275 |
#endif |
| 276 |
|
| 277 |
#include <inttypes.h> |
| 278 |
typedef int8_t flex_int8_t; |
| 279 |
typedef uint8_t flex_uint8_t; |
| 280 |
typedef int16_t flex_int16_t; |
| 281 |
typedef uint16_t flex_uint16_t; |
| 282 |
typedef int32_t flex_int32_t; |
| 283 |
typedef uint32_t flex_uint32_t; |
| 284 |
#else |
| 285 |
typedef signed char flex_int8_t; |
| 286 |
typedef short int flex_int16_t; |
| 287 |
typedef int flex_int32_t; |
| 288 |
typedef unsigned char flex_uint8_t; |
| 289 |
typedef unsigned short int flex_uint16_t; |
| 290 |
typedef unsigned int flex_uint32_t; |
| 291 |
|
| 292 |
/* Limits of integral types. */ |
| 293 |
#ifndef INT8_MIN |
| 294 |
#define INT8_MIN (-128) |
| 295 |
#endif |
| 296 |
#ifndef INT16_MIN |
| 297 |
#define INT16_MIN (-32767-1) |
| 298 |
#endif |
| 299 |
#ifndef INT32_MIN |
| 300 |
#define INT32_MIN (-2147483647-1) |
| 301 |
#endif |
| 302 |
#ifndef INT8_MAX |
| 303 |
#define INT8_MAX (127) |
| 304 |
#endif |
| 305 |
#ifndef INT16_MAX |
| 306 |
#define INT16_MAX (32767) |
| 307 |
#endif |
| 308 |
#ifndef INT32_MAX |
| 309 |
#define INT32_MAX (2147483647) |
| 310 |
#endif |
| 311 |
#ifndef UINT8_MAX |
| 312 |
#define UINT8_MAX (255U) |
| 313 |
#endif |
| 314 |
#ifndef UINT16_MAX |
| 315 |
#define UINT16_MAX (65535U) |
| 316 |
#endif |
| 317 |
#ifndef UINT32_MAX |
| 318 |
#define UINT32_MAX (4294967295U) |
| 319 |
#endif |
| 320 |
|
| 321 |
#ifndef SIZE_MAX |
| 322 |
#define SIZE_MAX (~(size_t)0) |
| 323 |
#endif |
| 324 |
|
| 325 |
#endif /* ! C99 */ |
| 326 |
|
| 327 |
#endif /* ! FLEXINT_H */ |
| 328 |
|
| 329 |
/* begin standard C++ headers. */ |
| 330 |
|
| 331 |
/* TODO: this is always defined, so inline it */ |
| 332 |
#define yyconst const |
| 333 |
|
| 334 |
#if defined(__GNUC__) && __GNUC__ >= 3 |
| 335 |
#define yynoreturn __attribute__((__noreturn__)) |
| 336 |
#else |
| 337 |
#define yynoreturn |
| 338 |
#endif |
| 339 |
|
| 340 |
/* Returned upon end-of-file. */ |
| 341 |
#define YY_NULL 0 |
| 342 |
|
| 343 |
/* Promotes a possibly negative, possibly signed char to an |
| 344 |
* integer in range [0..255] for use as an array index. |
| 345 |
*/ |
| 346 |
#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) |
| 347 |
|
| 348 |
/* An opaque pointer. */ |
| 349 |
#ifndef YY_TYPEDEF_YY_SCANNER_T |
| 350 |
#define YY_TYPEDEF_YY_SCANNER_T |
| 351 |
typedef void* yyscan_t; |
| 352 |
#endif |
| 353 |
|
| 354 |
/* For convenience, these vars (plus the bison vars far below) |
| 355 |
are macros in the reentrant scanner. */ |
| 356 |
#define yyin yyg->yyin_r |
| 357 |
#define yyout yyg->yyout_r |
| 358 |
#define yyextra yyg->yyextra_r |
| 359 |
#define yyleng yyg->yyleng_r |
| 360 |
#define yytext yyg->yytext_r |
| 361 |
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
| 362 |
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
| 363 |
#define yy_flex_debug yyg->yy_flex_debug_r |
| 364 |
|
| 365 |
/* Enter a start condition. This macro really ought to take a parameter, |
| 366 |
* but we do it the disgusting crufty way forced on us by the ()-less |
| 367 |
* definition of BEGIN. |
| 368 |
*/ |
| 369 |
#define BEGIN yyg->yy_start = 1 + 2 * |
| 370 |
/* Translate the current start state into a value that can be later handed |
| 371 |
* to BEGIN to return to the state. The YYSTATE alias is for lex |
| 372 |
* compatibility. |
| 373 |
*/ |
| 374 |
#define YY_START ((yyg->yy_start - 1) / 2) |
| 375 |
#define YYSTATE YY_START |
| 376 |
/* Action number for EOF rule of a given start state. */ |
| 377 |
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
| 378 |
/* Special action meaning "start processing a new file". */ |
| 379 |
#define YY_NEW_FILE yyrestart( yyin , yyscanner ) |
| 380 |
#define YY_END_OF_BUFFER_CHAR 0 |
| 381 |
|
| 382 |
/* Size of default input buffer. */ |
| 383 |
#ifndef YY_BUF_SIZE |
| 384 |
#ifdef __ia64__ |
| 385 |
/* On IA-64, the buffer size is 16k, not 8k. |
| 386 |
* Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. |
| 387 |
* Ditto for the __ia64__ case accordingly. |
| 388 |
*/ |
| 389 |
#define YY_BUF_SIZE 32768 |
| 390 |
#else |
| 391 |
#define YY_BUF_SIZE 16384 |
| 392 |
#endif /* __ia64__ */ |
| 393 |
#endif |
| 394 |
|
| 395 |
/* The state buf must be large enough to hold one state per character in the main buffer. |
| 396 |
*/ |
| 397 |
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
| 398 |
|
| 399 |
#ifndef YY_TYPEDEF_YY_BUFFER_STATE |
| 400 |
#define YY_TYPEDEF_YY_BUFFER_STATE |
| 401 |
typedef struct yy_buffer_state *YY_BUFFER_STATE; |
| 402 |
#endif |
| 403 |
|
| 404 |
#ifndef YY_TYPEDEF_YY_SIZE_T |
| 405 |
#define YY_TYPEDEF_YY_SIZE_T |
| 406 |
typedef size_t yy_size_t; |
| 407 |
#endif |
| 408 |
|
| 409 |
#define EOB_ACT_CONTINUE_SCAN 0 |
| 410 |
#define EOB_ACT_END_OF_FILE 1 |
| 411 |
#define EOB_ACT_LAST_MATCH 2 |
| 412 |
|
| 413 |
/* Note: We specifically omit the test for yy_rule_can_match_eol because it requires |
| 414 |
* access to the local variable yy_act. Since yyless() is a macro, it would break |
| 415 |
* existing scanners that call yyless() from OUTSIDE yylex. |
| 416 |
* One obvious solution it to make yy_act a global. I tried that, and saw |
| 417 |
* a 5% performance hit in a non-yylineno scanner, because yy_act is |
| 418 |
* normally declared as a register variable-- so it is not worth it. |
| 419 |
*/ |
| 420 |
#define YY_LESS_LINENO(n) \ |
| 421 |
do { \ |
| 422 |
int yyl;\ |
| 423 |
for ( yyl = n; yyl < yyleng; ++yyl )\ |
| 424 |
if ( yytext[yyl] == '\n' )\ |
| 425 |
--yylineno;\ |
| 426 |
}while(0) |
| 427 |
#define YY_LINENO_REWIND_TO(dst) \ |
| 428 |
do {\ |
| 429 |
const char *p;\ |
| 430 |
for ( p = yy_cp-1; p >= (dst); --p)\ |
| 431 |
if ( *p == '\n' )\ |
| 432 |
--yylineno;\ |
| 433 |
}while(0) |
| 434 |
|
| 435 |
/* Return all but the first "n" matched characters back to the input stream. */ |
| 436 |
#define yyless(n) \ |
| 437 |
do \ |
| 438 |
{ \ |
| 439 |
/* Undo effects of setting up yytext. */ \ |
| 440 |
int yyless_macro_arg = (n); \ |
| 441 |
YY_LESS_LINENO(yyless_macro_arg);\ |
| 442 |
*yy_cp = yyg->yy_hold_char; \ |
| 443 |
YY_RESTORE_YY_MORE_OFFSET \ |
| 444 |
yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ |
| 445 |
YY_DO_BEFORE_ACTION; /* set up yytext again */ \ |
| 446 |
} \ |
| 447 |
while ( 0 ) |
| 448 |
#define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner ) |
| 449 |
|
| 450 |
#ifndef YY_STRUCT_YY_BUFFER_STATE |
| 451 |
#define YY_STRUCT_YY_BUFFER_STATE |
| 452 |
struct yy_buffer_state |
| 453 |
{ |
| 454 |
FILE *yy_input_file; |
| 455 |
|
| 456 |
char *yy_ch_buf; /* input buffer */ |
| 457 |
char *yy_buf_pos; /* current position in input buffer */ |
| 458 |
|
| 459 |
/* Size of input buffer in bytes, not including room for EOB |
| 460 |
* characters. |
| 461 |
*/ |
| 462 |
int yy_buf_size; |
| 463 |
|
| 464 |
/* Number of characters read into yy_ch_buf, not including EOB |
| 465 |
* characters. |
| 466 |
*/ |
| 467 |
int yy_n_chars; |
| 468 |
|
| 469 |
/* Whether we "own" the buffer - i.e., we know we created it, |
| 470 |
* and can realloc() it to grow it, and should free() it to |
| 471 |
* delete it. |
| 472 |
*/ |
| 473 |
int yy_is_our_buffer; |
| 474 |
|
| 475 |
/* Whether this is an "interactive" input source; if so, and |
| 476 |
* if we're using stdio for input, then we want to use getc() |
| 477 |
* instead of fread(), to make sure we stop fetching input after |
| 478 |
* each newline. |
| 479 |
*/ |
| 480 |
int yy_is_interactive; |
| 481 |
|
| 482 |
/* Whether we're considered to be at the beginning of a line. |
| 483 |
* If so, '^' rules will be active on the next match, otherwise |
| 484 |
* not. |
| 485 |
*/ |
| 486 |
int yy_at_bol; |
| 487 |
|
| 488 |
int yy_bs_lineno; /**< The line count. */ |
| 489 |
int yy_bs_column; /**< The column count. */ |
| 490 |
|
| 491 |
/* Whether to try to fill the input buffer when we reach the |
| 492 |
* end of it. |
| 493 |
*/ |
| 494 |
int yy_fill_buffer; |
| 495 |
|
| 496 |
int yy_buffer_status; |
| 497 |
|
| 498 |
#define YY_BUFFER_NEW 0 |
| 499 |
#define YY_BUFFER_NORMAL 1 |
| 500 |
/* When an EOF's been seen but there's still some text to process |
| 501 |
* then we mark the buffer as YY_EOF_PENDING, to indicate that we |
| 502 |
* shouldn't try reading from the input source any more. We might |
| 503 |
* still have a bunch of tokens to match, though, because of |
| 504 |
* possible backing-up. |
| 505 |
* |
| 506 |
* When we actually see the EOF, we change the status to "new" |
| 507 |
* (via yyrestart()), so that the user can continue scanning by |
| 508 |
* just pointing yyin at a new input file. |
| 509 |
*/ |
| 510 |
#define YY_BUFFER_EOF_PENDING 2 |
| 511 |
|
| 512 |
}; |
| 513 |
#endif /* !YY_STRUCT_YY_BUFFER_STATE */ |
| 514 |
|
| 515 |
/* We provide macros for accessing buffer states in case in the |
| 516 |
* future we want to put the buffer states in a more general |
| 517 |
* "scanner state". |
| 518 |
* |
| 519 |
* Returns the top of the stack, or NULL. |
| 520 |
*/ |
| 521 |
#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ |
| 522 |
? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ |
| 523 |
: NULL) |
| 524 |
/* Same as previous macro, but useful when we know that the buffer stack is not |
| 525 |
* NULL or when we need an lvalue. For internal use only. |
| 526 |
*/ |
| 527 |
#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] |
| 528 |
|
| 529 |
void yyrestart ( FILE *input_file , yyscan_t yyscanner ); |
| 530 |
void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); |
| 531 |
YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner ); |
| 532 |
void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); |
| 533 |
void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); |
| 534 |
void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); |
| 535 |
void yypop_buffer_state ( yyscan_t yyscanner ); |
| 536 |
|
| 537 |
static void yyensure_buffer_stack ( yyscan_t yyscanner ); |
| 538 |
static void yy_load_buffer_state ( yyscan_t yyscanner ); |
| 539 |
static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file , yyscan_t yyscanner ); |
| 540 |
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER , yyscanner) |
| 541 |
|
| 542 |
YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner ); |
| 543 |
YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner ); |
| 544 |
YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner ); |
| 545 |
|
| 546 |
void *yyalloc ( yy_size_t , yyscan_t yyscanner ); |
| 547 |
void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner ); |
| 548 |
void yyfree ( void * , yyscan_t yyscanner ); |
| 549 |
|
| 550 |
#define yy_new_buffer yy_create_buffer |
| 551 |
#define yy_set_interactive(is_interactive) \ |
| 552 |
{ \ |
| 553 |
if ( ! YY_CURRENT_BUFFER ){ \ |
| 554 |
yyensure_buffer_stack (yyscanner); \ |
| 555 |
YY_CURRENT_BUFFER_LVALUE = \ |
| 556 |
yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \ |
| 557 |
} \ |
| 558 |
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ |
| 559 |
} |
| 560 |
#define yy_set_bol(at_bol) \ |
| 561 |
{ \ |
| 562 |
if ( ! YY_CURRENT_BUFFER ){\ |
| 563 |
yyensure_buffer_stack (yyscanner); \ |
| 564 |
YY_CURRENT_BUFFER_LVALUE = \ |
| 565 |
yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \ |
| 566 |
} \ |
| 567 |
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ |
| 568 |
} |
| 569 |
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
| 570 |
|
| 571 |
/* Begin user sect3 */ |
| 572 |
|
| 573 |
#define gas_wrap(yyscanner) (/*CONSTCOND*/1) |
| 574 |
#define YY_SKIP_YYWRAP |
| 575 |
typedef flex_uint8_t YY_CHAR; |
| 576 |
|
| 577 |
typedef int yy_state_type; |
| 578 |
|
| 579 |
#define yytext_ptr yytext_r |
| 580 |
|
| 581 |
static yy_state_type yy_get_previous_state ( yyscan_t yyscanner ); |
| 582 |
static yy_state_type yy_try_NUL_trans ( yy_state_type current_state , yyscan_t yyscanner); |
| 583 |
static int yy_get_next_buffer ( yyscan_t yyscanner ); |
| 584 |
static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner ); |
| 585 |
|
| 586 |
/* Done after the current pattern has been matched and before the |
| 587 |
* corresponding action - sets up yytext. |
| 588 |
*/ |
| 589 |
#define YY_DO_BEFORE_ACTION \ |
| 590 |
yyg->yytext_ptr = yy_bp; \ |
| 591 |
yyleng = (int) (yy_cp - yy_bp); \ |
| 592 |
yyg->yy_hold_char = *yy_cp; \ |
| 593 |
*yy_cp = '\0'; \ |
| 594 |
yyg->yy_c_buf_p = yy_cp; |
| 595 |
#define YY_NUM_RULES 252 |
| 596 |
#define YY_END_OF_BUFFER 253 |
| 597 |
/* This struct is not used in this scanner, |
| 598 |
but its presence is necessary. */ |
| 599 |
struct yy_trans_info |
| 600 |
{ |
| 601 |
flex_int32_t yy_verify; |
| 602 |
flex_int32_t yy_nxt; |
| 603 |
}; |
| 604 |
static const flex_int16_t yy_accept[430] = |
| 605 |
{ 0, |
| 606 |
249, 249, 253, 250, 249, 251, 248, 250, 245, 246, |
| 607 |
243, 241, 240, 242, 239, 244, 1, 1, 247, 239, |
| 608 |
239, 239, 239, 239, 239, 239, 250, 249, 0, 0, |
| 609 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 610 |
0, 0, 239, 239, 1, 0, 1, 239, 239, 239, |
| 611 |
239, 239, 239, 239, 0, 0, 0, 0, 0, 8, |
| 612 |
4, 24, 11, 7, 29, 27, 9, 5, 0, 198, |
| 613 |
25, 0, 10, 31, 6, 200, 26, 0, 0, 0, |
| 614 |
0, 197, 201, 202, 203, 204, 205, 206, 207, 208, |
| 615 |
209, 210, 0, 0, 64, 65, 0, 0, 0, 0, |
| 616 |
|
| 617 |
0, 0, 30, 28, 199, 0, 0, 0, 0, 239, |
| 618 |
2, 239, 239, 239, 239, 233, 239, 239, 0, 0, |
| 619 |
0, 0, 0, 0, 0, 229, 21, 184, 185, 186, |
| 620 |
187, 188, 189, 190, 191, 192, 193, 194, 195, 196, |
| 621 |
23, 40, 45, 43, 41, 47, 42, 46, 44, 72, |
| 622 |
73, 74, 75, 76, 77, 78, 79, 66, 67, 68, |
| 623 |
69, 70, 71, 48, 12, 32, 49, 13, 33, 56, |
| 624 |
61, 59, 57, 63, 58, 211, 62, 60, 22, 20, |
| 625 |
0, 0, 176, 177, 178, 179, 180, 181, 182, 183, |
| 626 |
0, 0, 0, 239, 239, 239, 231, 239, 233, 239, |
| 627 |
|
| 628 |
233, 239, 239, 0, 0, 0, 0, 0, 0, 0, |
| 629 |
0, 0, 0, 0, 0, 0, 50, 14, 34, 51, |
| 630 |
15, 35, 52, 16, 36, 53, 17, 37, 54, 18, |
| 631 |
38, 55, 19, 39, 0, 0, 0, 0, 0, 0, |
| 632 |
0, 0, 0, 80, 81, 82, 83, 84, 85, 86, |
| 633 |
87, 88, 89, 112, 113, 114, 115, 116, 117, 118, |
| 634 |
119, 120, 121, 144, 145, 146, 147, 148, 149, 150, |
| 635 |
151, 152, 153, 238, 239, 239, 239, 232, 232, 239, |
| 636 |
239, 212, 213, 214, 215, 216, 217, 218, 0, 0, |
| 637 |
0, 0, 0, 0, 0, 0, 0, 0, 230, 0, |
| 638 |
|
| 639 |
0, 0, 0, 0, 0, 0, 0, 90, 91, 92, |
| 640 |
93, 94, 95, 96, 97, 98, 99, 100, 101, 102, |
| 641 |
103, 104, 105, 106, 107, 108, 109, 110, 111, 122, |
| 642 |
123, 124, 125, 126, 127, 128, 129, 130, 131, 132, |
| 643 |
133, 134, 135, 136, 137, 138, 139, 140, 141, 142, |
| 644 |
143, 154, 155, 156, 157, 158, 159, 160, 161, 162, |
| 645 |
163, 164, 165, 166, 167, 168, 169, 170, 171, 172, |
| 646 |
173, 174, 175, 236, 239, 239, 239, 239, 0, 219, |
| 647 |
0, 220, 0, 221, 0, 0, 0, 0, 239, 239, |
| 648 |
239, 239, 222, 223, 224, 0, 0, 0, 0, 239, |
| 649 |
|
| 650 |
237, 234, 235, 226, 225, 227, 228, 239, 239, 239, |
| 651 |
239, 239, 239, 239, 239, 239, 239, 239, 239, 239, |
| 652 |
239, 239, 239, 239, 239, 239, 239, 3, 0 |
| 653 |
} ; |
| 654 |
|
| 655 |
static const YY_CHAR yy_ec[256] = |
| 656 |
{ 0, |
| 657 |
1, 1, 1, 1, 1, 1, 1, 1, 2, 3, |
| 658 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 659 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 660 |
1, 2, 1, 1, 1, 4, 5, 1, 1, 6, |
| 661 |
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, |
| 662 |
17, 18, 19, 20, 21, 22, 23, 24, 1, 1, |
| 663 |
1, 1, 1, 1, 25, 26, 27, 28, 29, 30, |
| 664 |
31, 32, 33, 34, 35, 36, 37, 38, 39, 40, |
| 665 |
41, 42, 43, 44, 45, 34, 46, 47, 48, 49, |
| 666 |
1, 1, 1, 1, 50, 1, 51, 52, 53, 54, |
| 667 |
|
| 668 |
55, 56, 57, 58, 59, 34, 60, 61, 62, 63, |
| 669 |
64, 65, 66, 67, 68, 69, 70, 34, 71, 72, |
| 670 |
73, 74, 75, 1, 76, 1, 1, 1, 1, 1, |
| 671 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 672 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 673 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 674 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 675 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 676 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 677 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 678 |
|
| 679 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 680 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 681 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 682 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 683 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 684 |
1, 1, 1, 1, 1 |
| 685 |
} ; |
| 686 |
|
| 687 |
static const YY_CHAR yy_meta[77] = |
| 688 |
{ 0, |
| 689 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 690 |
1, 2, 1, 3, 3, 3, 3, 3, 3, 3, |
| 691 |
3, 3, 3, 1, 3, 3, 3, 3, 3, 3, |
| 692 |
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 693 |
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 694 |
3, 3, 3, 3, 3, 3, 2, 2, 2, 2, |
| 695 |
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 696 |
2, 2, 2, 2, 1, 1 |
| 697 |
} ; |
| 698 |
|
| 699 |
static const flex_int16_t yy_base[432] = |
| 700 |
{ 0, |
| 701 |
0, 0, 711, 745, 671, 745, 745, 52, 745, 745, |
| 702 |
745, 745, 745, 745, 58, 745, 71, 113, 745, 0, |
| 703 |
44, 63, 49, 53, 67, 96, 134, 661, 108, 110, |
| 704 |
142, 189, 191, 55, 94, 176, 108, 247, 187, 111, |
| 705 |
117, 119, 0, 113, 646, 0, 302, 90, 150, 145, |
| 706 |
181, 148, 184, 194, 164, 160, 239, 203, 576, 745, |
| 707 |
745, 745, 745, 745, 190, 745, 745, 745, 265, 745, |
| 708 |
745, 312, 745, 199, 745, 745, 745, 191, 224, 193, |
| 709 |
301, 245, 745, 745, 745, 745, 745, 745, 745, 745, |
| 710 |
745, 745, 321, 335, 328, 329, 219, 315, 239, 312, |
| 711 |
|
| 712 |
303, 336, 311, 325, 745, 390, 326, 329, 340, 334, |
| 713 |
0, 355, 358, 362, 356, 383, 373, 379, 409, 377, |
| 714 |
587, 586, 574, 568, 239, 745, 745, 745, 745, 745, |
| 715 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 716 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 717 |
745, 745, 745, 745, 745, 745, 745, 406, 407, 408, |
| 718 |
409, 420, 436, 745, 745, 745, 745, 745, 745, 745, |
| 719 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 720 |
494, 502, 745, 745, 745, 745, 745, 745, 745, 745, |
| 721 |
510, 520, 530, 315, 406, 525, 0, 422, 0, 525, |
| 722 |
|
| 723 |
0, 405, 429, 429, 427, 426, 423, 419, 395, 389, |
| 724 |
540, 408, 516, 518, 520, 373, 745, 745, 745, 745, |
| 725 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 726 |
745, 745, 745, 745, 575, 95, 151, 157, 158, 251, |
| 727 |
290, 301, 305, 745, 550, 586, 137, 745, 745, 745, |
| 728 |
745, 745, 745, 745, 596, 606, 191, 745, 745, 745, |
| 729 |
745, 745, 745, 745, 616, 626, 471, 745, 745, 745, |
| 730 |
745, 745, 745, 0, 618, 621, 615, 0, 0, 621, |
| 731 |
630, 745, 745, 745, 745, 745, 745, 745, 411, 344, |
| 732 |
401, 337, 367, 305, 631, 632, 633, 634, 745, 481, |
| 733 |
|
| 734 |
485, 487, 491, 499, 574, 576, 580, 745, 745, 745, |
| 735 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 736 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 737 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 738 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 739 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 740 |
745, 745, 745, 745, 745, 745, 745, 745, 745, 745, |
| 741 |
745, 745, 745, 0, 623, 635, 622, 622, 303, 745, |
| 742 |
291, 745, 282, 745, 637, 638, 639, 640, 296, 638, |
| 743 |
642, 643, 745, 745, 745, 238, 229, 219, 200, 634, |
| 744 |
|
| 745 |
0, 0, 0, 745, 745, 745, 745, 630, 189, 639, |
| 746 |
662, 649, 658, 673, 117, 670, 667, 662, 678, 677, |
| 747 |
680, 43, 680, 676, 689, 684, 674, 0, 745, 741, |
| 748 |
88 |
| 749 |
} ; |
| 750 |
|
| 751 |
static const flex_int16_t yy_def[432] = |
| 752 |
{ 0, |
| 753 |
429, 1, 429, 429, 429, 429, 429, 429, 429, 429, |
| 754 |
429, 429, 429, 429, 430, 429, 429, 429, 429, 430, |
| 755 |
430, 430, 430, 430, 430, 430, 429, 429, 429, 429, |
| 756 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 757 |
429, 429, 430, 430, 429, 431, 429, 430, 430, 430, |
| 758 |
430, 430, 430, 430, 429, 429, 429, 429, 429, 429, |
| 759 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 760 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 761 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 762 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 763 |
|
| 764 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 430, |
| 765 |
431, 430, 430, 430, 430, 430, 430, 430, 429, 429, |
| 766 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 767 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 768 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 769 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 770 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 771 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 772 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 773 |
429, 429, 429, 430, 430, 430, 430, 430, 430, 430, |
| 774 |
|
| 775 |
430, 430, 430, 429, 429, 429, 429, 429, 429, 429, |
| 776 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 777 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 778 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 779 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 780 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 781 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 782 |
429, 429, 429, 430, 430, 430, 430, 430, 430, 430, |
| 783 |
430, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 784 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 785 |
|
| 786 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 787 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 788 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 789 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 790 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 791 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 792 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 793 |
429, 429, 429, 430, 430, 430, 430, 430, 429, 429, |
| 794 |
429, 429, 429, 429, 429, 429, 429, 429, 430, 430, |
| 795 |
430, 430, 429, 429, 429, 429, 429, 429, 429, 430, |
| 796 |
|
| 797 |
430, 430, 430, 429, 429, 429, 429, 430, 430, 430, |
| 798 |
430, 430, 430, 430, 430, 430, 430, 430, 430, 430, |
| 799 |
430, 430, 430, 430, 430, 430, 430, 430, 0, 429, |
| 800 |
429 |
| 801 |
} ; |
| 802 |
|
| 803 |
static const flex_int16_t yy_nxt[822] = |
| 804 |
{ 0, |
| 805 |
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, |
| 806 |
14, 15, 16, 17, 18, 18, 18, 18, 18, 18, |
| 807 |
18, 18, 18, 19, 20, 21, 20, 20, 20, 22, |
| 808 |
20, 20, 20, 20, 20, 23, 20, 24, 20, 20, |
| 809 |
20, 25, 20, 20, 20, 20, 26, 20, 20, 20, |
| 810 |
20, 21, 20, 20, 20, 22, 20, 20, 20, 20, |
| 811 |
23, 20, 24, 20, 20, 20, 25, 20, 20, 20, |
| 812 |
20, 26, 20, 20, 27, 4, 29, 30, 31, 32, |
| 813 |
33, 34, 35, 44, 45, 48, 36, 50, 37, 49, |
| 814 |
111, 51, 423, 38, 39, 52, 300, 83, 40, 41, |
| 815 |
|
| 816 |
42, 183, 29, 30, 31, 32, 33, 34, 35, 44, |
| 817 |
48, 36, 50, 37, 112, 49, 51, 46, 38, 39, |
| 818 |
53, 52, 83, 40, 41, 42, 47, 47, 47, 47, |
| 819 |
47, 47, 47, 47, 47, 47, 84, 54, 55, 60, |
| 820 |
112, 63, 46, 61, 93, 64, 53, 107, 56, 65, |
| 821 |
328, 329, 301, 108, 62, 109, 66, 184, 302, 303, |
| 822 |
110, 84, 54, 185, 186, 60, 416, 63, 61, 93, |
| 823 |
64, 114, 107, 67, 65, 57, 58, 68, 108, 62, |
| 824 |
109, 66, 59, 69, 70, 110, 113, 116, 71, 85, |
| 825 |
86, 87, 88, 89, 90, 91, 92, 114, 119, 67, |
| 826 |
|
| 827 |
57, 58, 68, 120, 350, 351, 115, 59, 69, 70, |
| 828 |
117, 113, 116, 71, 72, 78, 79, 80, 81, 103, |
| 829 |
73, 74, 118, 119, 75, 127, 104, 125, 120, 105, |
| 830 |
106, 76, 115, 82, 141, 77, 117, 142, 410, 145, |
| 831 |
72, 78, 79, 80, 81, 103, 73, 74, 118, 75, |
| 832 |
127, 104, 304, 125, 105, 106, 76, 187, 82, 141, |
| 833 |
77, 94, 142, 143, 145, 170, 121, 216, 95, 96, |
| 834 |
144, 97, 98, 99, 100, 407, 122, 148, 128, 101, |
| 835 |
129, 130, 131, 123, 149, 173, 132, 124, 143, 102, |
| 836 |
170, 305, 121, 216, 406, 144, 188, 97, 98, 99, |
| 837 |
|
| 838 |
100, 122, 306, 148, 405, 101, 307, 189, 123, 149, |
| 839 |
173, 190, 124, 404, 102, 47, 47, 47, 47, 47, |
| 840 |
47, 47, 47, 47, 47, 133, 134, 135, 136, 137, |
| 841 |
138, 139, 140, 146, 150, 151, 152, 153, 154, 155, |
| 842 |
156, 157, 176, 274, 174, 400, 179, 147, 158, 159, |
| 843 |
160, 161, 162, 163, 171, 164, 167, 395, 175, 146, |
| 844 |
180, 172, 191, 165, 168, 192, 394, 176, 177, 274, |
| 845 |
174, 179, 147, 166, 169, 178, 193, 194, 393, 171, |
| 846 |
384, 164, 167, 175, 383, 180, 172, 191, 165, 168, |
| 847 |
192, 181, 195, 196, 177, 182, 197, 198, 166, 169, |
| 848 |
|
| 849 |
178, 193, 194, 183, 184, 185, 186, 187, 188, 189, |
| 850 |
190, 199, 382, 202, 203, 211, 381, 195, 196, 380, |
| 851 |
200, 197, 198, 204, 205, 206, 207, 208, 209, 210, |
| 852 |
379, 201, 275, 217, 220, 223, 226, 199, 202, 203, |
| 853 |
211, 218, 221, 224, 227, 200, 277, 229, 299, 280, |
| 854 |
295, 219, 222, 225, 228, 230, 201, 281, 275, 217, |
| 855 |
220, 223, 226, 232, 288, 231, 218, 221, 224, 227, |
| 856 |
287, 233, 277, 229, 280, 295, 219, 222, 225, 228, |
| 857 |
230, 234, 300, 281, 372, 373, 301, 183, 302, 232, |
| 858 |
231, 184, 303, 185, 286, 181, 233, 186, 285, 182, |
| 859 |
|
| 860 |
304, 284, 283, 235, 282, 187, 234, 183, 184, 185, |
| 861 |
186, 187, 188, 189, 190, 236, 237, 238, 239, 240, |
| 862 |
241, 242, 243, 244, 245, 246, 247, 248, 249, 250, |
| 863 |
251, 252, 253, 254, 255, 256, 257, 258, 259, 260, |
| 864 |
261, 262, 263, 264, 265, 266, 267, 268, 269, 270, |
| 865 |
271, 272, 273, 278, 289, 290, 291, 292, 296, 293, |
| 866 |
297, 294, 298, 308, 309, 310, 311, 312, 313, 314, |
| 867 |
315, 316, 317, 279, 276, 305, 235, 306, 215, 278, |
| 868 |
188, 307, 189, 296, 214, 297, 190, 298, 236, 237, |
| 869 |
238, 239, 240, 241, 242, 243, 213, 212, 279, 318, |
| 870 |
|
| 871 |
319, 320, 321, 322, 323, 324, 325, 326, 327, 330, |
| 872 |
331, 332, 333, 334, 335, 336, 337, 338, 339, 340, |
| 873 |
341, 342, 343, 344, 345, 346, 347, 348, 349, 352, |
| 874 |
353, 354, 355, 356, 357, 358, 359, 360, 361, 362, |
| 875 |
363, 364, 365, 366, 367, 368, 369, 370, 371, 374, |
| 876 |
375, 126, 376, 377, 378, 385, 386, 387, 388, 45, |
| 877 |
389, 390, 28, 391, 392, 396, 397, 398, 399, 401, |
| 878 |
402, 403, 28, 408, 409, 374, 375, 376, 411, 377, |
| 879 |
378, 385, 386, 387, 388, 389, 412, 390, 391, 392, |
| 880 |
413, 396, 397, 398, 399, 401, 402, 403, 408, 409, |
| 881 |
|
| 882 |
414, 415, 417, 411, 418, 419, 420, 421, 422, 424, |
| 883 |
429, 425, 412, 426, 427, 413, 428, 429, 429, 429, |
| 884 |
429, 429, 429, 429, 429, 414, 429, 415, 417, 418, |
| 885 |
419, 429, 420, 421, 422, 424, 425, 429, 429, 426, |
| 886 |
427, 428, 43, 43, 3, 429, 429, 429, 429, 429, |
| 887 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 888 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 889 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 890 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 891 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 892 |
|
| 893 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 894 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 895 |
429 |
| 896 |
} ; |
| 897 |
|
| 898 |
static const flex_int16_t yy_chk[822] = |
| 899 |
{ 0, |
| 900 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 901 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 902 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 903 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 904 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 905 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 906 |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 907 |
1, 1, 1, 1, 1, 1, 8, 8, 8, 8, |
| 908 |
8, 8, 8, 15, 17, 21, 8, 23, 8, 22, |
| 909 |
431, 24, 422, 8, 8, 25, 236, 34, 8, 8, |
| 910 |
|
| 911 |
8, 236, 8, 8, 8, 8, 8, 8, 8, 15, |
| 912 |
21, 8, 23, 8, 48, 22, 24, 17, 8, 8, |
| 913 |
26, 25, 34, 8, 8, 8, 18, 18, 18, 18, |
| 914 |
18, 18, 18, 18, 18, 18, 35, 26, 27, 29, |
| 915 |
48, 30, 17, 29, 37, 30, 26, 40, 27, 30, |
| 916 |
247, 247, 237, 41, 29, 42, 30, 237, 238, 239, |
| 917 |
44, 35, 26, 238, 239, 29, 415, 30, 29, 37, |
| 918 |
30, 50, 40, 31, 30, 27, 27, 31, 41, 29, |
| 919 |
42, 30, 27, 31, 31, 44, 49, 52, 31, 36, |
| 920 |
36, 36, 36, 36, 36, 36, 36, 50, 55, 31, |
| 921 |
|
| 922 |
27, 27, 31, 56, 257, 257, 51, 27, 31, 31, |
| 923 |
53, 49, 52, 31, 32, 33, 33, 33, 33, 39, |
| 924 |
32, 32, 54, 55, 32, 65, 39, 58, 56, 39, |
| 925 |
39, 32, 51, 33, 74, 32, 53, 78, 409, 80, |
| 926 |
32, 33, 33, 33, 33, 39, 32, 32, 54, 32, |
| 927 |
65, 39, 240, 58, 39, 39, 32, 240, 33, 74, |
| 928 |
32, 38, 78, 79, 80, 97, 57, 125, 38, 38, |
| 929 |
79, 38, 38, 38, 38, 399, 57, 82, 69, 38, |
| 930 |
69, 69, 69, 57, 82, 99, 69, 57, 79, 38, |
| 931 |
97, 241, 57, 125, 398, 79, 241, 38, 38, 38, |
| 932 |
|
| 933 |
38, 57, 242, 82, 397, 38, 243, 242, 57, 82, |
| 934 |
99, 243, 57, 396, 38, 47, 47, 47, 47, 47, |
| 935 |
47, 47, 47, 47, 47, 72, 72, 72, 72, 72, |
| 936 |
72, 72, 72, 81, 93, 93, 93, 93, 93, 93, |
| 937 |
93, 93, 101, 194, 100, 389, 103, 81, 94, 94, |
| 938 |
94, 94, 94, 94, 98, 95, 96, 383, 100, 81, |
| 939 |
104, 98, 107, 95, 96, 108, 381, 101, 102, 194, |
| 940 |
100, 103, 81, 95, 96, 102, 109, 110, 379, 98, |
| 941 |
294, 95, 96, 100, 293, 104, 98, 107, 95, 96, |
| 942 |
108, 106, 112, 113, 102, 106, 114, 115, 95, 96, |
| 943 |
|
| 944 |
102, 109, 110, 106, 106, 106, 106, 106, 106, 106, |
| 945 |
106, 116, 292, 117, 118, 120, 291, 112, 113, 290, |
| 946 |
116, 114, 115, 119, 119, 119, 119, 119, 119, 119, |
| 947 |
289, 116, 195, 158, 159, 160, 161, 116, 117, 118, |
| 948 |
120, 158, 159, 160, 161, 116, 198, 162, 216, 202, |
| 949 |
212, 158, 159, 160, 161, 162, 116, 203, 195, 158, |
| 950 |
159, 160, 161, 163, 210, 162, 158, 159, 160, 161, |
| 951 |
209, 163, 198, 162, 202, 212, 158, 159, 160, 161, |
| 952 |
162, 163, 300, 203, 267, 267, 301, 300, 302, 163, |
| 953 |
162, 301, 303, 302, 208, 181, 163, 303, 207, 181, |
| 954 |
|
| 955 |
304, 206, 205, 182, 204, 304, 163, 181, 181, 181, |
| 956 |
181, 181, 181, 181, 181, 182, 182, 182, 182, 182, |
| 957 |
182, 182, 182, 191, 191, 191, 191, 191, 191, 191, |
| 958 |
191, 191, 191, 192, 192, 192, 192, 192, 192, 192, |
| 959 |
192, 192, 192, 193, 193, 193, 193, 193, 193, 193, |
| 960 |
193, 193, 193, 200, 211, 211, 211, 211, 213, 211, |
| 961 |
214, 211, 215, 245, 245, 245, 245, 245, 245, 245, |
| 962 |
245, 245, 245, 200, 196, 305, 235, 306, 124, 200, |
| 963 |
305, 307, 306, 213, 123, 214, 307, 215, 235, 235, |
| 964 |
235, 235, 235, 235, 235, 235, 122, 121, 200, 246, |
| 965 |
|
| 966 |
246, 246, 246, 246, 246, 246, 246, 246, 246, 255, |
| 967 |
255, 255, 255, 255, 255, 255, 255, 255, 255, 256, |
| 968 |
256, 256, 256, 256, 256, 256, 256, 256, 256, 265, |
| 969 |
265, 265, 265, 265, 265, 265, 265, 265, 265, 266, |
| 970 |
266, 266, 266, 266, 266, 266, 266, 266, 266, 275, |
| 971 |
276, 59, 277, 280, 281, 295, 296, 297, 298, 45, |
| 972 |
375, 376, 28, 377, 378, 385, 386, 387, 388, 390, |
| 973 |
391, 392, 5, 400, 408, 275, 276, 277, 410, 280, |
| 974 |
281, 295, 296, 297, 298, 375, 411, 376, 377, 378, |
| 975 |
412, 385, 386, 387, 388, 390, 391, 392, 400, 408, |
| 976 |
|
| 977 |
413, 414, 416, 410, 417, 418, 419, 420, 421, 423, |
| 978 |
3, 424, 411, 425, 426, 412, 427, 0, 0, 0, |
| 979 |
0, 0, 0, 0, 0, 413, 0, 414, 416, 417, |
| 980 |
418, 0, 419, 420, 421, 423, 424, 0, 0, 425, |
| 981 |
426, 427, 430, 430, 429, 429, 429, 429, 429, 429, |
| 982 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 983 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 984 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 985 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 986 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 987 |
|
| 988 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 989 |
429, 429, 429, 429, 429, 429, 429, 429, 429, 429, |
| 990 |
429 |
| 991 |
} ; |
| 992 |
|
| 993 |
/* Table of booleans, true if rule could match eol. */ |
| 994 |
static const flex_int32_t yy_rule_can_match_eol[253] = |
| 995 |
{ 0, |
| 996 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 997 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 998 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 999 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1000 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1001 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1002 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1003 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1004 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1005 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1006 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1007 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1008 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, }; |
| 1009 |
|
| 1010 |
/* The intent behind this definition is that it'll catch |
| 1011 |
* any uses of REJECT which flex missed. |
| 1012 |
*/ |
| 1013 |
#define REJECT reject_used_but_not_detected |
| 1014 |
#define yymore() yymore_used_but_not_detected |
| 1015 |
#define YY_MORE_ADJ 0 |
| 1016 |
#define YY_RESTORE_YY_MORE_OFFSET |
| 1017 |
#line 1 "fcml_gas_lexer.l" |
| 1018 |
#line 2 "fcml_gas_lexer.l" |
| 1019 |
/* |
| 1020 |
* FCML - Free Code Manipulation Library. |
| 1021 |
* Copyright (C) 2010-2020 Slawomir Wojtasiak |
| 1022 |
* |
| 1023 |
* This library is free software; you can redistribute it and/or |
| 1024 |
* modify it under the terms of the GNU Lesser General Public |
| 1025 |
* License as published by the Free Software Foundation; either |
| 1026 |
* version 2.1 of the License, or (at your option) any later version. |
| 1027 |
* |
| 1028 |
* This library is distributed in the hope that it will be useful, |
| 1029 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1030 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1031 |
* Lesser General Public License for more details. |
| 1032 |
* |
| 1033 |
* You should have received a copy of the GNU Lesser General Public |
| 1034 |
* License along with this library; if not, write to the Free Software |
| 1035 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 1036 |
*/ |
| 1037 |
#include <stdio.h> |
| 1038 |
#include <stdlib.h> |
| 1039 |
|
| 1040 |
#include "fcml_common_lex.h" |
| 1041 |
#include "fcml_gas_parser_def.h" |
| 1042 |
#line 1043 "fcml_gas_lexer.c" |
| 1043 |
#define YY_NO_INPUT 1 |
| 1044 |
#define YY_NO_UNISTD_H 1 |
| 1045 |
/* White spaces. */ |
| 1046 |
/*Dec and hex values.*/ |
| 1047 |
#line 1048 "fcml_gas_lexer.c" |
| 1048 |
|
| 1049 |
#define INITIAL 0 |
| 1050 |
|
| 1051 |
#ifndef YY_NO_UNISTD_H |
| 1052 |
/* Special case for "unistd.h", since it is non-ANSI. We include it way |
| 1053 |
* down here because we want the user's section 1 to have been scanned first. |
| 1054 |
* The user has a chance to override it with an option. |
| 1055 |
*/ |
| 1056 |
#include <unistd.h> |
| 1057 |
#endif |
| 1058 |
|
| 1059 |
#define YY_EXTRA_TYPE struct fcml_st_parser_data * |
| 1060 |
|
| 1061 |
/* Holds the entire state of the reentrant scanner. */ |
| 1062 |
struct yyguts_t |
| 1063 |
{ |
| 1064 |
|
| 1065 |
/* User-defined. Not touched by flex. */ |
| 1066 |
YY_EXTRA_TYPE yyextra_r; |
| 1067 |
|
| 1068 |
/* The rest are the same as the globals declared in the non-reentrant scanner. */ |
| 1069 |
FILE *yyin_r, *yyout_r; |
| 1070 |
size_t yy_buffer_stack_top; /**< index of top of stack. */ |
| 1071 |
size_t yy_buffer_stack_max; /**< capacity of stack. */ |
| 1072 |
YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */ |
| 1073 |
char yy_hold_char; |
| 1074 |
int yy_n_chars; |
| 1075 |
int yyleng_r; |
| 1076 |
char *yy_c_buf_p; |
| 1077 |
int yy_init; |
| 1078 |
int yy_start; |
| 1079 |
int yy_did_buffer_switch_on_eof; |
| 1080 |
int yy_start_stack_ptr; |
| 1081 |
int yy_start_stack_depth; |
| 1082 |
int *yy_start_stack; |
| 1083 |
yy_state_type yy_last_accepting_state; |
| 1084 |
char* yy_last_accepting_cpos; |
| 1085 |
|
| 1086 |
int yylineno_r; |
| 1087 |
int yy_flex_debug_r; |
| 1088 |
|
| 1089 |
char *yytext_r; |
| 1090 |
int yy_more_flag; |
| 1091 |
int yy_more_len; |
| 1092 |
|
| 1093 |
YYSTYPE * yylval_r; |
| 1094 |
|
| 1095 |
YYLTYPE * yylloc_r; |
| 1096 |
|
| 1097 |
}; /* end struct yyguts_t */ |
| 1098 |
|
| 1099 |
static int yy_init_globals ( yyscan_t yyscanner ); |
| 1100 |
|
| 1101 |
/* This must go here because YYSTYPE and YYLTYPE are included |
| 1102 |
* from bison output in section 1.*/ |
| 1103 |
# define yylval yyg->yylval_r |
| 1104 |
|
| 1105 |
# define yylloc yyg->yylloc_r |
| 1106 |
|
| 1107 |
int yylex_init (yyscan_t* scanner); |
| 1108 |
|
| 1109 |
int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner); |
| 1110 |
|
| 1111 |
/* Accessor methods to globals. |
| 1112 |
These are made visible to non-reentrant scanners for convenience. */ |
| 1113 |
|
| 1114 |
int yylex_destroy ( yyscan_t yyscanner ); |
| 1115 |
|
| 1116 |
int yyget_debug ( yyscan_t yyscanner ); |
| 1117 |
|
| 1118 |
void yyset_debug ( int debug_flag , yyscan_t yyscanner ); |
| 1119 |
|
| 1120 |
YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner ); |
| 1121 |
|
| 1122 |
void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner ); |
| 1123 |
|
| 1124 |
FILE *yyget_in ( yyscan_t yyscanner ); |
| 1125 |
|
| 1126 |
void yyset_in ( FILE * _in_str , yyscan_t yyscanner ); |
| 1127 |
|
| 1128 |
FILE *yyget_out ( yyscan_t yyscanner ); |
| 1129 |
|
| 1130 |
void yyset_out ( FILE * _out_str , yyscan_t yyscanner ); |
| 1131 |
|
| 1132 |
int yyget_leng ( yyscan_t yyscanner ); |
| 1133 |
|
| 1134 |
char *yyget_text ( yyscan_t yyscanner ); |
| 1135 |
|
| 1136 |
int yyget_lineno ( yyscan_t yyscanner ); |
| 1137 |
|
| 1138 |
void yyset_lineno ( int _line_number , yyscan_t yyscanner ); |
| 1139 |
|
| 1140 |
int yyget_column ( yyscan_t yyscanner ); |
| 1141 |
|
| 1142 |
void yyset_column ( int _column_no , yyscan_t yyscanner ); |
| 1143 |
|
| 1144 |
YYSTYPE * yyget_lval ( yyscan_t yyscanner ); |
| 1145 |
|
| 1146 |
void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); |
| 1147 |
|
| 1148 |
YYLTYPE *yyget_lloc ( yyscan_t yyscanner ); |
| 1149 |
|
| 1150 |
void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner ); |
| 1151 |
|
| 1152 |
/* Macros after this point can all be overridden by user definitions in |
| 1153 |
* section 1. |
| 1154 |
*/ |
| 1155 |
|
| 1156 |
#ifndef YY_SKIP_YYWRAP |
| 1157 |
#ifdef __cplusplus |
| 1158 |
extern "C" int yywrap ( yyscan_t yyscanner ); |
| 1159 |
#else |
| 1160 |
extern int yywrap ( yyscan_t yyscanner ); |
| 1161 |
#endif |
| 1162 |
#endif |
| 1163 |
|
| 1164 |
#ifndef YY_NO_UNPUT |
| 1165 |
|
| 1166 |
#endif |
| 1167 |
|
| 1168 |
#ifndef yytext_ptr |
| 1169 |
static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner); |
| 1170 |
#endif |
| 1171 |
|
| 1172 |
#ifdef YY_NEED_STRLEN |
| 1173 |
static int yy_flex_strlen ( const char * , yyscan_t yyscanner); |
| 1174 |
#endif |
| 1175 |
|
| 1176 |
#ifndef YY_NO_INPUT |
| 1177 |
#ifdef __cplusplus |
| 1178 |
static int yyinput ( yyscan_t yyscanner ); |
| 1179 |
#else |
| 1180 |
static int input ( yyscan_t yyscanner ); |
| 1181 |
#endif |
| 1182 |
|
| 1183 |
#endif |
| 1184 |
|
| 1185 |
/* Amount of stuff to slurp up with each read. */ |
| 1186 |
#ifndef YY_READ_BUF_SIZE |
| 1187 |
#ifdef __ia64__ |
| 1188 |
/* On IA-64, the buffer size is 16k, not 8k */ |
| 1189 |
#define YY_READ_BUF_SIZE 16384 |
| 1190 |
#else |
| 1191 |
#define YY_READ_BUF_SIZE 8192 |
| 1192 |
#endif /* __ia64__ */ |
| 1193 |
#endif |
| 1194 |
|
| 1195 |
/* Copy whatever the last rule matched to the standard output. */ |
| 1196 |
#ifndef ECHO |
| 1197 |
/* This used to be an fputs(), but since the string might contain NUL's, |
| 1198 |
* we now use fwrite(). |
| 1199 |
*/ |
| 1200 |
#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) |
| 1201 |
#endif |
| 1202 |
|
| 1203 |
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
| 1204 |
* is returned in "result". |
| 1205 |
*/ |
| 1206 |
#ifndef YY_INPUT |
| 1207 |
#define YY_INPUT(buf,result,max_size) \ |
| 1208 |
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
| 1209 |
{ \ |
| 1210 |
int c = '*'; \ |
| 1211 |
int n; \ |
| 1212 |
for ( n = 0; n < max_size && \ |
| 1213 |
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
| 1214 |
buf[n] = (char) c; \ |
| 1215 |
if ( c == '\n' ) \ |
| 1216 |
buf[n++] = (char) c; \ |
| 1217 |
if ( c == EOF && ferror( yyin ) ) \ |
| 1218 |
YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
| 1219 |
result = n; \ |
| 1220 |
} \ |
| 1221 |
else \ |
| 1222 |
{ \ |
| 1223 |
errno=0; \ |
| 1224 |
while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ |
| 1225 |
{ \ |
| 1226 |
if( errno != EINTR) \ |
| 1227 |
{ \ |
| 1228 |
YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
| 1229 |
break; \ |
| 1230 |
} \ |
| 1231 |
errno=0; \ |
| 1232 |
clearerr(yyin); \ |
| 1233 |
} \ |
| 1234 |
}\ |
| 1235 |
\ |
| 1236 |
|
| 1237 |
#endif |
| 1238 |
|
| 1239 |
/* No semi-colon after return; correct usage is to write "yyterminate();" - |
| 1240 |
* we don't want an extra ';' after the "return" because that will cause |
| 1241 |
* some compilers to complain about unreachable statements. |
| 1242 |
*/ |
| 1243 |
#ifndef yyterminate |
| 1244 |
#define yyterminate() return YY_NULL |
| 1245 |
#endif |
| 1246 |
|
| 1247 |
/* Number of entries by which start-condition stack grows. */ |
| 1248 |
#ifndef YY_START_STACK_INCR |
| 1249 |
#define YY_START_STACK_INCR 25 |
| 1250 |
#endif |
| 1251 |
|
| 1252 |
/* Report a fatal error. */ |
| 1253 |
#ifndef YY_FATAL_ERROR |
| 1254 |
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner) |
| 1255 |
#endif |
| 1256 |
|
| 1257 |
/* end tables serialization structures and prototypes */ |
| 1258 |
|
| 1259 |
/* Default declaration of generated scanner - a define so the user can |
| 1260 |
* easily add parameters. |
| 1261 |
*/ |
| 1262 |
#ifndef YY_DECL |
| 1263 |
#define YY_DECL_IS_OURS 1 |
| 1264 |
|
| 1265 |
extern int yylex \ |
| 1266 |
(YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner); |
| 1267 |
|
| 1268 |
#define YY_DECL int yylex \ |
| 1269 |
(YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) |
| 1270 |
#endif /* !YY_DECL */ |
| 1271 |
|
| 1272 |
/* Code executed at the beginning of each rule, after yytext and yyleng |
| 1273 |
* have been set up. |
| 1274 |
*/ |
| 1275 |
#ifndef YY_USER_ACTION |
| 1276 |
#define YY_USER_ACTION |
| 1277 |
#endif |
| 1278 |
|
| 1279 |
/* Code executed at the end of each rule. */ |
| 1280 |
#ifndef YY_BREAK |
| 1281 |
#define YY_BREAK /*LINTED*/break; |
| 1282 |
#endif |
| 1283 |
|
| 1284 |
#define YY_RULE_SETUP \ |
| 1285 |
YY_USER_ACTION |
| 1286 |
|
| 1287 |
/** The main scanner function which does all the work. |
| 1288 |
*/ |
| 1289 |
YY_DECL |
| 1290 |
{ |
| 1291 |
yy_state_type yy_current_state; |
| 1292 |
char *yy_cp, *yy_bp; |
| 1293 |
int yy_act; |
| 1294 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 1295 |
|
| 1296 |
yylval = yylval_param; |
| 1297 |
|
| 1298 |
yylloc = yylloc_param; |
| 1299 |
|
| 1300 |
if ( !yyg->yy_init ) |
| 1301 |
{ |
| 1302 |
yyg->yy_init = 1; |
| 1303 |
|
| 1304 |
#ifdef YY_USER_INIT |
| 1305 |
YY_USER_INIT; |
| 1306 |
#endif |
| 1307 |
|
| 1308 |
if ( ! yyg->yy_start ) |
| 1309 |
yyg->yy_start = 1; /* first start state */ |
| 1310 |
|
| 1311 |
if ( ! yyin ) |
| 1312 |
yyin = stdin; |
| 1313 |
|
| 1314 |
if ( ! yyout ) |
| 1315 |
yyout = stdout; |
| 1316 |
|
| 1317 |
if ( ! YY_CURRENT_BUFFER ) { |
| 1318 |
yyensure_buffer_stack (yyscanner); |
| 1319 |
YY_CURRENT_BUFFER_LVALUE = |
| 1320 |
yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); |
| 1321 |
} |
| 1322 |
|
| 1323 |
yy_load_buffer_state( yyscanner ); |
| 1324 |
} |
| 1325 |
|
| 1326 |
{ |
| 1327 |
#line 56 "fcml_gas_lexer.l" |
| 1328 |
|
| 1329 |
|
| 1330 |
#line 59 "fcml_gas_lexer.l" |
| 1331 |
/* Decimal integers. */ |
| 1332 |
#line 1333 "fcml_gas_lexer.c" |
| 1333 |
|
| 1334 |
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ |
| 1335 |
{ |
| 1336 |
yy_cp = yyg->yy_c_buf_p; |
| 1337 |
|
| 1338 |
/* Support of yytext. */ |
| 1339 |
*yy_cp = yyg->yy_hold_char; |
| 1340 |
|
| 1341 |
/* yy_bp points to the position in yy_ch_buf of the start of |
| 1342 |
* the current run. |
| 1343 |
*/ |
| 1344 |
yy_bp = yy_cp; |
| 1345 |
|
| 1346 |
yy_current_state = yyg->yy_start; |
| 1347 |
yy_match: |
| 1348 |
do |
| 1349 |
{ |
| 1350 |
YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; |
| 1351 |
if ( yy_accept[yy_current_state] ) |
| 1352 |
{ |
| 1353 |
yyg->yy_last_accepting_state = yy_current_state; |
| 1354 |
yyg->yy_last_accepting_cpos = yy_cp; |
| 1355 |
} |
| 1356 |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
| 1357 |
{ |
| 1358 |
yy_current_state = (int) yy_def[yy_current_state]; |
| 1359 |
if ( yy_current_state >= 430 ) |
| 1360 |
yy_c = yy_meta[yy_c]; |
| 1361 |
} |
| 1362 |
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; |
| 1363 |
++yy_cp; |
| 1364 |
} |
| 1365 |
while ( yy_current_state != 429 ); |
| 1366 |
yy_cp = yyg->yy_last_accepting_cpos; |
| 1367 |
yy_current_state = yyg->yy_last_accepting_state; |
| 1368 |
|
| 1369 |
yy_find_action: |
| 1370 |
yy_act = yy_accept[yy_current_state]; |
| 1371 |
|
| 1372 |
YY_DO_BEFORE_ACTION; |
| 1373 |
|
| 1374 |
if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) |
| 1375 |
{ |
| 1376 |
int yyl; |
| 1377 |
for ( yyl = 0; yyl < yyleng; ++yyl ) |
| 1378 |
if ( yytext[yyl] == '\n' ) |
| 1379 |
|
| 1380 |
do{ yylineno++; |
| 1381 |
yycolumn=0; |
| 1382 |
}while(0) |
| 1383 |
; |
| 1384 |
} |
| 1385 |
|
| 1386 |
do_action: /* This label is used only to access EOF actions. */ |
| 1387 |
|
| 1388 |
switch ( yy_act ) |
| 1389 |
{ /* beginning of action switch */ |
| 1390 |
case 0: /* must back up */ |
| 1391 |
/* undo the effects of YY_DO_BEFORE_ACTION */ |
| 1392 |
*yy_cp = yyg->yy_hold_char; |
| 1393 |
yy_cp = yyg->yy_last_accepting_cpos; |
| 1394 |
yy_current_state = yyg->yy_last_accepting_state; |
| 1395 |
goto yy_find_action; |
| 1396 |
|
| 1397 |
case 1: |
| 1398 |
YY_RULE_SETUP |
| 1399 |
#line 60 "fcml_gas_lexer.l" |
| 1400 |
{ fcml_fn_pu_parse_integer( yytext, &(yylval->integer_value), 10 ); return FCML_TK_INTEGER; } |
| 1401 |
YY_BREAK |
| 1402 |
/* HEX integers. */ |
| 1403 |
case 2: |
| 1404 |
YY_RULE_SETUP |
| 1405 |
#line 63 "fcml_gas_lexer.l" |
| 1406 |
{ fcml_fn_pu_parse_integer( yytext, &(yylval->integer_value), 16 ); return FCML_TK_INTEGER; } |
| 1407 |
YY_BREAK |
| 1408 |
case 3: |
| 1409 |
YY_RULE_SETUP |
| 1410 |
#line 65 "fcml_gas_lexer.l" |
| 1411 |
|
| 1412 |
YY_BREAK |
| 1413 |
/* GPR. */ |
| 1414 |
case 4: |
| 1415 |
YY_RULE_SETUP |
| 1416 |
#line 68 "fcml_gas_lexer.l" |
| 1417 |
FCML_FM_GPRS_8_REG(FCML_REG_AL) |
| 1418 |
YY_BREAK |
| 1419 |
case 5: |
| 1420 |
YY_RULE_SETUP |
| 1421 |
#line 69 "fcml_gas_lexer.l" |
| 1422 |
FCML_FM_GPRS_8_REG(FCML_REG_CL) |
| 1423 |
YY_BREAK |
| 1424 |
case 6: |
| 1425 |
YY_RULE_SETUP |
| 1426 |
#line 70 "fcml_gas_lexer.l" |
| 1427 |
FCML_FM_GPRS_8_REG(FCML_REG_DL) |
| 1428 |
YY_BREAK |
| 1429 |
case 7: |
| 1430 |
YY_RULE_SETUP |
| 1431 |
#line 71 "fcml_gas_lexer.l" |
| 1432 |
FCML_FM_GPRS_8_REG(FCML_REG_BL) |
| 1433 |
YY_BREAK |
| 1434 |
case 8: |
| 1435 |
YY_RULE_SETUP |
| 1436 |
#line 72 "fcml_gas_lexer.l" |
| 1437 |
FCML_FM_GPRS_8_REG(FCML_REG_AH) |
| 1438 |
YY_BREAK |
| 1439 |
case 9: |
| 1440 |
YY_RULE_SETUP |
| 1441 |
#line 73 "fcml_gas_lexer.l" |
| 1442 |
FCML_FM_GPRS_8_REG(FCML_REG_CH) |
| 1443 |
YY_BREAK |
| 1444 |
case 10: |
| 1445 |
YY_RULE_SETUP |
| 1446 |
#line 74 "fcml_gas_lexer.l" |
| 1447 |
FCML_FM_GPRS_8_REG(FCML_REG_DH) |
| 1448 |
YY_BREAK |
| 1449 |
case 11: |
| 1450 |
YY_RULE_SETUP |
| 1451 |
#line 75 "fcml_gas_lexer.l" |
| 1452 |
FCML_FM_GPRS_8_REG(FCML_REG_BH) |
| 1453 |
YY_BREAK |
| 1454 |
case 12: |
| 1455 |
YY_RULE_SETUP |
| 1456 |
#line 76 "fcml_gas_lexer.l" |
| 1457 |
FCML_FM_GPRS_8_REG(FCML_REG_R8L) |
| 1458 |
YY_BREAK |
| 1459 |
case 13: |
| 1460 |
YY_RULE_SETUP |
| 1461 |
#line 77 "fcml_gas_lexer.l" |
| 1462 |
FCML_FM_GPRS_8_REG(FCML_REG_R9L) |
| 1463 |
YY_BREAK |
| 1464 |
case 14: |
| 1465 |
YY_RULE_SETUP |
| 1466 |
#line 78 "fcml_gas_lexer.l" |
| 1467 |
FCML_FM_GPRS_8_REG(FCML_REG_R10L) |
| 1468 |
YY_BREAK |
| 1469 |
case 15: |
| 1470 |
YY_RULE_SETUP |
| 1471 |
#line 79 "fcml_gas_lexer.l" |
| 1472 |
FCML_FM_GPRS_8_REG(FCML_REG_R11L) |
| 1473 |
YY_BREAK |
| 1474 |
case 16: |
| 1475 |
YY_RULE_SETUP |
| 1476 |
#line 80 "fcml_gas_lexer.l" |
| 1477 |
FCML_FM_GPRS_8_REG(FCML_REG_R12L) |
| 1478 |
YY_BREAK |
| 1479 |
case 17: |
| 1480 |
YY_RULE_SETUP |
| 1481 |
#line 81 "fcml_gas_lexer.l" |
| 1482 |
FCML_FM_GPRS_8_REG(FCML_REG_R13L) |
| 1483 |
YY_BREAK |
| 1484 |
case 18: |
| 1485 |
YY_RULE_SETUP |
| 1486 |
#line 82 "fcml_gas_lexer.l" |
| 1487 |
FCML_FM_GPRS_8_REG(FCML_REG_R14L) |
| 1488 |
YY_BREAK |
| 1489 |
case 19: |
| 1490 |
YY_RULE_SETUP |
| 1491 |
#line 83 "fcml_gas_lexer.l" |
| 1492 |
FCML_FM_GPRS_8_REG(FCML_REG_R15L) |
| 1493 |
YY_BREAK |
| 1494 |
case 20: |
| 1495 |
YY_RULE_SETUP |
| 1496 |
#line 85 "fcml_gas_lexer.l" |
| 1497 |
FCML_FM_GPRS_8_X_REG(FCML_REG_SPL) |
| 1498 |
YY_BREAK |
| 1499 |
case 21: |
| 1500 |
YY_RULE_SETUP |
| 1501 |
#line 86 "fcml_gas_lexer.l" |
| 1502 |
FCML_FM_GPRS_8_X_REG(FCML_REG_BPL) |
| 1503 |
YY_BREAK |
| 1504 |
case 22: |
| 1505 |
YY_RULE_SETUP |
| 1506 |
#line 87 "fcml_gas_lexer.l" |
| 1507 |
FCML_FM_GPRS_8_X_REG(FCML_REG_SIL) |
| 1508 |
YY_BREAK |
| 1509 |
case 23: |
| 1510 |
YY_RULE_SETUP |
| 1511 |
#line 88 "fcml_gas_lexer.l" |
| 1512 |
FCML_FM_GPRS_8_X_REG(FCML_REG_DIL) |
| 1513 |
YY_BREAK |
| 1514 |
case 24: |
| 1515 |
YY_RULE_SETUP |
| 1516 |
#line 90 "fcml_gas_lexer.l" |
| 1517 |
FCML_FM_GPRS_16_REG(FCML_REG_AX) |
| 1518 |
YY_BREAK |
| 1519 |
case 25: |
| 1520 |
YY_RULE_SETUP |
| 1521 |
#line 91 "fcml_gas_lexer.l" |
| 1522 |
FCML_FM_GPRS_16_REG(FCML_REG_CX) |
| 1523 |
YY_BREAK |
| 1524 |
case 26: |
| 1525 |
YY_RULE_SETUP |
| 1526 |
#line 92 "fcml_gas_lexer.l" |
| 1527 |
FCML_FM_GPRS_16_REG(FCML_REG_DX) |
| 1528 |
YY_BREAK |
| 1529 |
case 27: |
| 1530 |
YY_RULE_SETUP |
| 1531 |
#line 93 "fcml_gas_lexer.l" |
| 1532 |
FCML_FM_GPRS_16_REG(FCML_REG_BX) |
| 1533 |
YY_BREAK |
| 1534 |
case 28: |
| 1535 |
YY_RULE_SETUP |
| 1536 |
#line 94 "fcml_gas_lexer.l" |
| 1537 |
FCML_FM_GPRS_16_REG(FCML_REG_SP) |
| 1538 |
YY_BREAK |
| 1539 |
case 29: |
| 1540 |
YY_RULE_SETUP |
| 1541 |
#line 95 "fcml_gas_lexer.l" |
| 1542 |
FCML_FM_GPRS_16_REG(FCML_REG_BP) |
| 1543 |
YY_BREAK |
| 1544 |
case 30: |
| 1545 |
YY_RULE_SETUP |
| 1546 |
#line 96 "fcml_gas_lexer.l" |
| 1547 |
FCML_FM_GPRS_16_REG(FCML_REG_SI) |
| 1548 |
YY_BREAK |
| 1549 |
case 31: |
| 1550 |
YY_RULE_SETUP |
| 1551 |
#line 97 "fcml_gas_lexer.l" |
| 1552 |
FCML_FM_GPRS_16_REG(FCML_REG_DI) |
| 1553 |
YY_BREAK |
| 1554 |
case 32: |
| 1555 |
YY_RULE_SETUP |
| 1556 |
#line 98 "fcml_gas_lexer.l" |
| 1557 |
FCML_FM_GPRS_16_REG(FCML_REG_R8W) |
| 1558 |
YY_BREAK |
| 1559 |
case 33: |
| 1560 |
YY_RULE_SETUP |
| 1561 |
#line 99 "fcml_gas_lexer.l" |
| 1562 |
FCML_FM_GPRS_16_REG(FCML_REG_R9W) |
| 1563 |
YY_BREAK |
| 1564 |
case 34: |
| 1565 |
YY_RULE_SETUP |
| 1566 |
#line 100 "fcml_gas_lexer.l" |
| 1567 |
FCML_FM_GPRS_16_REG(FCML_REG_R10W) |
| 1568 |
YY_BREAK |
| 1569 |
case 35: |
| 1570 |
YY_RULE_SETUP |
| 1571 |
#line 101 "fcml_gas_lexer.l" |
| 1572 |
FCML_FM_GPRS_16_REG(FCML_REG_R11W) |
| 1573 |
YY_BREAK |
| 1574 |
case 36: |
| 1575 |
YY_RULE_SETUP |
| 1576 |
#line 102 "fcml_gas_lexer.l" |
| 1577 |
FCML_FM_GPRS_16_REG(FCML_REG_R12W) |
| 1578 |
YY_BREAK |
| 1579 |
case 37: |
| 1580 |
YY_RULE_SETUP |
| 1581 |
#line 103 "fcml_gas_lexer.l" |
| 1582 |
FCML_FM_GPRS_16_REG(FCML_REG_R13W) |
| 1583 |
YY_BREAK |
| 1584 |
case 38: |
| 1585 |
YY_RULE_SETUP |
| 1586 |
#line 104 "fcml_gas_lexer.l" |
| 1587 |
FCML_FM_GPRS_16_REG(FCML_REG_R14W) |
| 1588 |
YY_BREAK |
| 1589 |
case 39: |
| 1590 |
YY_RULE_SETUP |
| 1591 |
#line 105 "fcml_gas_lexer.l" |
| 1592 |
FCML_FM_GPRS_16_REG(FCML_REG_R15W) |
| 1593 |
YY_BREAK |
| 1594 |
case 40: |
| 1595 |
YY_RULE_SETUP |
| 1596 |
#line 107 "fcml_gas_lexer.l" |
| 1597 |
FCML_FM_GPRS_32_REG(FCML_REG_EAX) |
| 1598 |
YY_BREAK |
| 1599 |
case 41: |
| 1600 |
YY_RULE_SETUP |
| 1601 |
#line 108 "fcml_gas_lexer.l" |
| 1602 |
FCML_FM_GPRS_32_REG(FCML_REG_ECX) |
| 1603 |
YY_BREAK |
| 1604 |
case 42: |
| 1605 |
YY_RULE_SETUP |
| 1606 |
#line 109 "fcml_gas_lexer.l" |
| 1607 |
FCML_FM_GPRS_32_REG(FCML_REG_EDX) |
| 1608 |
YY_BREAK |
| 1609 |
case 43: |
| 1610 |
YY_RULE_SETUP |
| 1611 |
#line 110 "fcml_gas_lexer.l" |
| 1612 |
FCML_FM_GPRS_32_REG(FCML_REG_EBX) |
| 1613 |
YY_BREAK |
| 1614 |
case 44: |
| 1615 |
YY_RULE_SETUP |
| 1616 |
#line 111 "fcml_gas_lexer.l" |
| 1617 |
FCML_FM_GPRS_32_REG(FCML_REG_ESP) |
| 1618 |
YY_BREAK |
| 1619 |
case 45: |
| 1620 |
YY_RULE_SETUP |
| 1621 |
#line 112 "fcml_gas_lexer.l" |
| 1622 |
FCML_FM_GPRS_32_REG(FCML_REG_EBP) |
| 1623 |
YY_BREAK |
| 1624 |
case 46: |
| 1625 |
YY_RULE_SETUP |
| 1626 |
#line 113 "fcml_gas_lexer.l" |
| 1627 |
FCML_FM_GPRS_32_REG(FCML_REG_ESI) |
| 1628 |
YY_BREAK |
| 1629 |
case 47: |
| 1630 |
YY_RULE_SETUP |
| 1631 |
#line 114 "fcml_gas_lexer.l" |
| 1632 |
FCML_FM_GPRS_32_REG(FCML_REG_EDI) |
| 1633 |
YY_BREAK |
| 1634 |
case 48: |
| 1635 |
YY_RULE_SETUP |
| 1636 |
#line 115 "fcml_gas_lexer.l" |
| 1637 |
FCML_FM_GPRS_32_REG(FCML_REG_R8D) |
| 1638 |
YY_BREAK |
| 1639 |
case 49: |
| 1640 |
YY_RULE_SETUP |
| 1641 |
#line 116 "fcml_gas_lexer.l" |
| 1642 |
FCML_FM_GPRS_32_REG(FCML_REG_R9D) |
| 1643 |
YY_BREAK |
| 1644 |
case 50: |
| 1645 |
YY_RULE_SETUP |
| 1646 |
#line 117 "fcml_gas_lexer.l" |
| 1647 |
FCML_FM_GPRS_32_REG(FCML_REG_R10D) |
| 1648 |
YY_BREAK |
| 1649 |
case 51: |
| 1650 |
YY_RULE_SETUP |
| 1651 |
#line 118 "fcml_gas_lexer.l" |
| 1652 |
FCML_FM_GPRS_32_REG(FCML_REG_R11D) |
| 1653 |
YY_BREAK |
| 1654 |
case 52: |
| 1655 |
YY_RULE_SETUP |
| 1656 |
#line 119 "fcml_gas_lexer.l" |
| 1657 |
FCML_FM_GPRS_32_REG(FCML_REG_R12D) |
| 1658 |
YY_BREAK |
| 1659 |
case 53: |
| 1660 |
YY_RULE_SETUP |
| 1661 |
#line 120 "fcml_gas_lexer.l" |
| 1662 |
FCML_FM_GPRS_32_REG(FCML_REG_R13D) |
| 1663 |
YY_BREAK |
| 1664 |
case 54: |
| 1665 |
YY_RULE_SETUP |
| 1666 |
#line 121 "fcml_gas_lexer.l" |
| 1667 |
FCML_FM_GPRS_32_REG(FCML_REG_R14D) |
| 1668 |
YY_BREAK |
| 1669 |
case 55: |
| 1670 |
YY_RULE_SETUP |
| 1671 |
#line 122 "fcml_gas_lexer.l" |
| 1672 |
FCML_FM_GPRS_32_REG(FCML_REG_R15D) |
| 1673 |
YY_BREAK |
| 1674 |
case 56: |
| 1675 |
YY_RULE_SETUP |
| 1676 |
#line 124 "fcml_gas_lexer.l" |
| 1677 |
FCML_FM_GPRS_64_REG(FCML_REG_RAX) |
| 1678 |
YY_BREAK |
| 1679 |
case 57: |
| 1680 |
YY_RULE_SETUP |
| 1681 |
#line 125 "fcml_gas_lexer.l" |
| 1682 |
FCML_FM_GPRS_64_REG(FCML_REG_RCX) |
| 1683 |
YY_BREAK |
| 1684 |
case 58: |
| 1685 |
YY_RULE_SETUP |
| 1686 |
#line 126 "fcml_gas_lexer.l" |
| 1687 |
FCML_FM_GPRS_64_REG(FCML_REG_RDX) |
| 1688 |
YY_BREAK |
| 1689 |
case 59: |
| 1690 |
YY_RULE_SETUP |
| 1691 |
#line 127 "fcml_gas_lexer.l" |
| 1692 |
FCML_FM_GPRS_64_REG(FCML_REG_RBX) |
| 1693 |
YY_BREAK |
| 1694 |
case 60: |
| 1695 |
YY_RULE_SETUP |
| 1696 |
#line 128 "fcml_gas_lexer.l" |
| 1697 |
FCML_FM_GPRS_64_REG(FCML_REG_RSP) |
| 1698 |
YY_BREAK |
| 1699 |
case 61: |
| 1700 |
YY_RULE_SETUP |
| 1701 |
#line 129 "fcml_gas_lexer.l" |
| 1702 |
FCML_FM_GPRS_64_REG(FCML_REG_RBP) |
| 1703 |
YY_BREAK |
| 1704 |
case 62: |
| 1705 |
YY_RULE_SETUP |
| 1706 |
#line 130 "fcml_gas_lexer.l" |
| 1707 |
FCML_FM_GPRS_64_REG(FCML_REG_RSI) |
| 1708 |
YY_BREAK |
| 1709 |
case 63: |
| 1710 |
YY_RULE_SETUP |
| 1711 |
#line 131 "fcml_gas_lexer.l" |
| 1712 |
FCML_FM_GPRS_64_REG(FCML_REG_RDI) |
| 1713 |
YY_BREAK |
| 1714 |
case 64: |
| 1715 |
YY_RULE_SETUP |
| 1716 |
#line 132 "fcml_gas_lexer.l" |
| 1717 |
FCML_FM_GPRS_64_REG(FCML_REG_R8) |
| 1718 |
YY_BREAK |
| 1719 |
case 65: |
| 1720 |
YY_RULE_SETUP |
| 1721 |
#line 133 "fcml_gas_lexer.l" |
| 1722 |
FCML_FM_GPRS_64_REG(FCML_REG_R9) |
| 1723 |
YY_BREAK |
| 1724 |
case 66: |
| 1725 |
YY_RULE_SETUP |
| 1726 |
#line 134 "fcml_gas_lexer.l" |
| 1727 |
FCML_FM_GPRS_64_REG(FCML_REG_R10) |
| 1728 |
YY_BREAK |
| 1729 |
case 67: |
| 1730 |
YY_RULE_SETUP |
| 1731 |
#line 135 "fcml_gas_lexer.l" |
| 1732 |
FCML_FM_GPRS_64_REG(FCML_REG_R11) |
| 1733 |
YY_BREAK |
| 1734 |
case 68: |
| 1735 |
YY_RULE_SETUP |
| 1736 |
#line 136 "fcml_gas_lexer.l" |
| 1737 |
FCML_FM_GPRS_64_REG(FCML_REG_R12) |
| 1738 |
YY_BREAK |
| 1739 |
case 69: |
| 1740 |
YY_RULE_SETUP |
| 1741 |
#line 137 "fcml_gas_lexer.l" |
| 1742 |
FCML_FM_GPRS_64_REG(FCML_REG_R13) |
| 1743 |
YY_BREAK |
| 1744 |
case 70: |
| 1745 |
YY_RULE_SETUP |
| 1746 |
#line 138 "fcml_gas_lexer.l" |
| 1747 |
FCML_FM_GPRS_64_REG(FCML_REG_R14) |
| 1748 |
YY_BREAK |
| 1749 |
case 71: |
| 1750 |
YY_RULE_SETUP |
| 1751 |
#line 139 "fcml_gas_lexer.l" |
| 1752 |
FCML_FM_GPRS_64_REG(FCML_REG_R15) |
| 1753 |
YY_BREAK |
| 1754 |
/* SIMD-MMX */ |
| 1755 |
case 72: |
| 1756 |
YY_RULE_SETUP |
| 1757 |
#line 142 "fcml_gas_lexer.l" |
| 1758 |
FCML_FM_SIMD_64_REG(FCML_REG_MM0) |
| 1759 |
YY_BREAK |
| 1760 |
case 73: |
| 1761 |
YY_RULE_SETUP |
| 1762 |
#line 143 "fcml_gas_lexer.l" |
| 1763 |
FCML_FM_SIMD_64_REG(FCML_REG_MM1) |
| 1764 |
YY_BREAK |
| 1765 |
case 74: |
| 1766 |
YY_RULE_SETUP |
| 1767 |
#line 144 "fcml_gas_lexer.l" |
| 1768 |
FCML_FM_SIMD_64_REG(FCML_REG_MM2) |
| 1769 |
YY_BREAK |
| 1770 |
case 75: |
| 1771 |
YY_RULE_SETUP |
| 1772 |
#line 145 "fcml_gas_lexer.l" |
| 1773 |
FCML_FM_SIMD_64_REG(FCML_REG_MM3) |
| 1774 |
YY_BREAK |
| 1775 |
case 76: |
| 1776 |
YY_RULE_SETUP |
| 1777 |
#line 146 "fcml_gas_lexer.l" |
| 1778 |
FCML_FM_SIMD_64_REG(FCML_REG_MM4) |
| 1779 |
YY_BREAK |
| 1780 |
case 77: |
| 1781 |
YY_RULE_SETUP |
| 1782 |
#line 147 "fcml_gas_lexer.l" |
| 1783 |
FCML_FM_SIMD_64_REG(FCML_REG_MM5) |
| 1784 |
YY_BREAK |
| 1785 |
case 78: |
| 1786 |
YY_RULE_SETUP |
| 1787 |
#line 148 "fcml_gas_lexer.l" |
| 1788 |
FCML_FM_SIMD_64_REG(FCML_REG_MM6) |
| 1789 |
YY_BREAK |
| 1790 |
case 79: |
| 1791 |
YY_RULE_SETUP |
| 1792 |
#line 149 "fcml_gas_lexer.l" |
| 1793 |
FCML_FM_SIMD_64_REG(FCML_REG_MM7) |
| 1794 |
YY_BREAK |
| 1795 |
/* SIMD-XMM */ |
| 1796 |
case 80: |
| 1797 |
YY_RULE_SETUP |
| 1798 |
#line 152 "fcml_gas_lexer.l" |
| 1799 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM0) |
| 1800 |
YY_BREAK |
| 1801 |
case 81: |
| 1802 |
YY_RULE_SETUP |
| 1803 |
#line 153 "fcml_gas_lexer.l" |
| 1804 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM1) |
| 1805 |
YY_BREAK |
| 1806 |
case 82: |
| 1807 |
YY_RULE_SETUP |
| 1808 |
#line 154 "fcml_gas_lexer.l" |
| 1809 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM2) |
| 1810 |
YY_BREAK |
| 1811 |
case 83: |
| 1812 |
YY_RULE_SETUP |
| 1813 |
#line 155 "fcml_gas_lexer.l" |
| 1814 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM3) |
| 1815 |
YY_BREAK |
| 1816 |
case 84: |
| 1817 |
YY_RULE_SETUP |
| 1818 |
#line 156 "fcml_gas_lexer.l" |
| 1819 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM4) |
| 1820 |
YY_BREAK |
| 1821 |
case 85: |
| 1822 |
YY_RULE_SETUP |
| 1823 |
#line 157 "fcml_gas_lexer.l" |
| 1824 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM5) |
| 1825 |
YY_BREAK |
| 1826 |
case 86: |
| 1827 |
YY_RULE_SETUP |
| 1828 |
#line 158 "fcml_gas_lexer.l" |
| 1829 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM6) |
| 1830 |
YY_BREAK |
| 1831 |
case 87: |
| 1832 |
YY_RULE_SETUP |
| 1833 |
#line 159 "fcml_gas_lexer.l" |
| 1834 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM7) |
| 1835 |
YY_BREAK |
| 1836 |
case 88: |
| 1837 |
YY_RULE_SETUP |
| 1838 |
#line 160 "fcml_gas_lexer.l" |
| 1839 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM8) |
| 1840 |
YY_BREAK |
| 1841 |
case 89: |
| 1842 |
YY_RULE_SETUP |
| 1843 |
#line 161 "fcml_gas_lexer.l" |
| 1844 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM9) |
| 1845 |
YY_BREAK |
| 1846 |
case 90: |
| 1847 |
YY_RULE_SETUP |
| 1848 |
#line 162 "fcml_gas_lexer.l" |
| 1849 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM10) |
| 1850 |
YY_BREAK |
| 1851 |
case 91: |
| 1852 |
YY_RULE_SETUP |
| 1853 |
#line 163 "fcml_gas_lexer.l" |
| 1854 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM11) |
| 1855 |
YY_BREAK |
| 1856 |
case 92: |
| 1857 |
YY_RULE_SETUP |
| 1858 |
#line 164 "fcml_gas_lexer.l" |
| 1859 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM12) |
| 1860 |
YY_BREAK |
| 1861 |
case 93: |
| 1862 |
YY_RULE_SETUP |
| 1863 |
#line 165 "fcml_gas_lexer.l" |
| 1864 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM13) |
| 1865 |
YY_BREAK |
| 1866 |
case 94: |
| 1867 |
YY_RULE_SETUP |
| 1868 |
#line 166 "fcml_gas_lexer.l" |
| 1869 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM14) |
| 1870 |
YY_BREAK |
| 1871 |
case 95: |
| 1872 |
YY_RULE_SETUP |
| 1873 |
#line 167 "fcml_gas_lexer.l" |
| 1874 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM15) |
| 1875 |
YY_BREAK |
| 1876 |
case 96: |
| 1877 |
YY_RULE_SETUP |
| 1878 |
#line 168 "fcml_gas_lexer.l" |
| 1879 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM16) |
| 1880 |
YY_BREAK |
| 1881 |
case 97: |
| 1882 |
YY_RULE_SETUP |
| 1883 |
#line 169 "fcml_gas_lexer.l" |
| 1884 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM17) |
| 1885 |
YY_BREAK |
| 1886 |
case 98: |
| 1887 |
YY_RULE_SETUP |
| 1888 |
#line 170 "fcml_gas_lexer.l" |
| 1889 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM18) |
| 1890 |
YY_BREAK |
| 1891 |
case 99: |
| 1892 |
YY_RULE_SETUP |
| 1893 |
#line 171 "fcml_gas_lexer.l" |
| 1894 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM19) |
| 1895 |
YY_BREAK |
| 1896 |
case 100: |
| 1897 |
YY_RULE_SETUP |
| 1898 |
#line 172 "fcml_gas_lexer.l" |
| 1899 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM20) |
| 1900 |
YY_BREAK |
| 1901 |
case 101: |
| 1902 |
YY_RULE_SETUP |
| 1903 |
#line 173 "fcml_gas_lexer.l" |
| 1904 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM21) |
| 1905 |
YY_BREAK |
| 1906 |
case 102: |
| 1907 |
YY_RULE_SETUP |
| 1908 |
#line 174 "fcml_gas_lexer.l" |
| 1909 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM22) |
| 1910 |
YY_BREAK |
| 1911 |
case 103: |
| 1912 |
YY_RULE_SETUP |
| 1913 |
#line 175 "fcml_gas_lexer.l" |
| 1914 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM23) |
| 1915 |
YY_BREAK |
| 1916 |
case 104: |
| 1917 |
YY_RULE_SETUP |
| 1918 |
#line 176 "fcml_gas_lexer.l" |
| 1919 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM24) |
| 1920 |
YY_BREAK |
| 1921 |
case 105: |
| 1922 |
YY_RULE_SETUP |
| 1923 |
#line 177 "fcml_gas_lexer.l" |
| 1924 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM25) |
| 1925 |
YY_BREAK |
| 1926 |
case 106: |
| 1927 |
YY_RULE_SETUP |
| 1928 |
#line 178 "fcml_gas_lexer.l" |
| 1929 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM26) |
| 1930 |
YY_BREAK |
| 1931 |
case 107: |
| 1932 |
YY_RULE_SETUP |
| 1933 |
#line 179 "fcml_gas_lexer.l" |
| 1934 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM27) |
| 1935 |
YY_BREAK |
| 1936 |
case 108: |
| 1937 |
YY_RULE_SETUP |
| 1938 |
#line 180 "fcml_gas_lexer.l" |
| 1939 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM28) |
| 1940 |
YY_BREAK |
| 1941 |
case 109: |
| 1942 |
YY_RULE_SETUP |
| 1943 |
#line 181 "fcml_gas_lexer.l" |
| 1944 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM29) |
| 1945 |
YY_BREAK |
| 1946 |
case 110: |
| 1947 |
YY_RULE_SETUP |
| 1948 |
#line 182 "fcml_gas_lexer.l" |
| 1949 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM30) |
| 1950 |
YY_BREAK |
| 1951 |
case 111: |
| 1952 |
YY_RULE_SETUP |
| 1953 |
#line 183 "fcml_gas_lexer.l" |
| 1954 |
FCML_FM_SIMD_128_REG(FCML_REG_XMM31) |
| 1955 |
YY_BREAK |
| 1956 |
/* SIMD-YMM */ |
| 1957 |
case 112: |
| 1958 |
YY_RULE_SETUP |
| 1959 |
#line 186 "fcml_gas_lexer.l" |
| 1960 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM0) |
| 1961 |
YY_BREAK |
| 1962 |
case 113: |
| 1963 |
YY_RULE_SETUP |
| 1964 |
#line 187 "fcml_gas_lexer.l" |
| 1965 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM1) |
| 1966 |
YY_BREAK |
| 1967 |
case 114: |
| 1968 |
YY_RULE_SETUP |
| 1969 |
#line 188 "fcml_gas_lexer.l" |
| 1970 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM2) |
| 1971 |
YY_BREAK |
| 1972 |
case 115: |
| 1973 |
YY_RULE_SETUP |
| 1974 |
#line 189 "fcml_gas_lexer.l" |
| 1975 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM3) |
| 1976 |
YY_BREAK |
| 1977 |
case 116: |
| 1978 |
YY_RULE_SETUP |
| 1979 |
#line 190 "fcml_gas_lexer.l" |
| 1980 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM4) |
| 1981 |
YY_BREAK |
| 1982 |
case 117: |
| 1983 |
YY_RULE_SETUP |
| 1984 |
#line 191 "fcml_gas_lexer.l" |
| 1985 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM5) |
| 1986 |
YY_BREAK |
| 1987 |
case 118: |
| 1988 |
YY_RULE_SETUP |
| 1989 |
#line 192 "fcml_gas_lexer.l" |
| 1990 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM6) |
| 1991 |
YY_BREAK |
| 1992 |
case 119: |
| 1993 |
YY_RULE_SETUP |
| 1994 |
#line 193 "fcml_gas_lexer.l" |
| 1995 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM7) |
| 1996 |
YY_BREAK |
| 1997 |
case 120: |
| 1998 |
YY_RULE_SETUP |
| 1999 |
#line 194 "fcml_gas_lexer.l" |
| 2000 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM8) |
| 2001 |
YY_BREAK |
| 2002 |
case 121: |
| 2003 |
YY_RULE_SETUP |
| 2004 |
#line 195 "fcml_gas_lexer.l" |
| 2005 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM9) |
| 2006 |
YY_BREAK |
| 2007 |
case 122: |
| 2008 |
YY_RULE_SETUP |
| 2009 |
#line 196 "fcml_gas_lexer.l" |
| 2010 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM10) |
| 2011 |
YY_BREAK |
| 2012 |
case 123: |
| 2013 |
YY_RULE_SETUP |
| 2014 |
#line 197 "fcml_gas_lexer.l" |
| 2015 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM11) |
| 2016 |
YY_BREAK |
| 2017 |
case 124: |
| 2018 |
YY_RULE_SETUP |
| 2019 |
#line 198 "fcml_gas_lexer.l" |
| 2020 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM12) |
| 2021 |
YY_BREAK |
| 2022 |
case 125: |
| 2023 |
YY_RULE_SETUP |
| 2024 |
#line 199 "fcml_gas_lexer.l" |
| 2025 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM13) |
| 2026 |
YY_BREAK |
| 2027 |
case 126: |
| 2028 |
YY_RULE_SETUP |
| 2029 |
#line 200 "fcml_gas_lexer.l" |
| 2030 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM14) |
| 2031 |
YY_BREAK |
| 2032 |
case 127: |
| 2033 |
YY_RULE_SETUP |
| 2034 |
#line 201 "fcml_gas_lexer.l" |
| 2035 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM15) |
| 2036 |
YY_BREAK |
| 2037 |
case 128: |
| 2038 |
YY_RULE_SETUP |
| 2039 |
#line 202 "fcml_gas_lexer.l" |
| 2040 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM16) |
| 2041 |
YY_BREAK |
| 2042 |
case 129: |
| 2043 |
YY_RULE_SETUP |
| 2044 |
#line 203 "fcml_gas_lexer.l" |
| 2045 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM17) |
| 2046 |
YY_BREAK |
| 2047 |
case 130: |
| 2048 |
YY_RULE_SETUP |
| 2049 |
#line 204 "fcml_gas_lexer.l" |
| 2050 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM18) |
| 2051 |
YY_BREAK |
| 2052 |
case 131: |
| 2053 |
YY_RULE_SETUP |
| 2054 |
#line 205 "fcml_gas_lexer.l" |
| 2055 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM19) |
| 2056 |
YY_BREAK |
| 2057 |
case 132: |
| 2058 |
YY_RULE_SETUP |
| 2059 |
#line 206 "fcml_gas_lexer.l" |
| 2060 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM20) |
| 2061 |
YY_BREAK |
| 2062 |
case 133: |
| 2063 |
YY_RULE_SETUP |
| 2064 |
#line 207 "fcml_gas_lexer.l" |
| 2065 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM21) |
| 2066 |
YY_BREAK |
| 2067 |
case 134: |
| 2068 |
YY_RULE_SETUP |
| 2069 |
#line 208 "fcml_gas_lexer.l" |
| 2070 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM22) |
| 2071 |
YY_BREAK |
| 2072 |
case 135: |
| 2073 |
YY_RULE_SETUP |
| 2074 |
#line 209 "fcml_gas_lexer.l" |
| 2075 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM23) |
| 2076 |
YY_BREAK |
| 2077 |
case 136: |
| 2078 |
YY_RULE_SETUP |
| 2079 |
#line 210 "fcml_gas_lexer.l" |
| 2080 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM24) |
| 2081 |
YY_BREAK |
| 2082 |
case 137: |
| 2083 |
YY_RULE_SETUP |
| 2084 |
#line 211 "fcml_gas_lexer.l" |
| 2085 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM25) |
| 2086 |
YY_BREAK |
| 2087 |
case 138: |
| 2088 |
YY_RULE_SETUP |
| 2089 |
#line 212 "fcml_gas_lexer.l" |
| 2090 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM26) |
| 2091 |
YY_BREAK |
| 2092 |
case 139: |
| 2093 |
YY_RULE_SETUP |
| 2094 |
#line 213 "fcml_gas_lexer.l" |
| 2095 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM27) |
| 2096 |
YY_BREAK |
| 2097 |
case 140: |
| 2098 |
YY_RULE_SETUP |
| 2099 |
#line 214 "fcml_gas_lexer.l" |
| 2100 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM28) |
| 2101 |
YY_BREAK |
| 2102 |
case 141: |
| 2103 |
YY_RULE_SETUP |
| 2104 |
#line 215 "fcml_gas_lexer.l" |
| 2105 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM29) |
| 2106 |
YY_BREAK |
| 2107 |
case 142: |
| 2108 |
YY_RULE_SETUP |
| 2109 |
#line 216 "fcml_gas_lexer.l" |
| 2110 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM30) |
| 2111 |
YY_BREAK |
| 2112 |
case 143: |
| 2113 |
YY_RULE_SETUP |
| 2114 |
#line 217 "fcml_gas_lexer.l" |
| 2115 |
FCML_FM_SIMD_256_REG(FCML_REG_YMM31) |
| 2116 |
YY_BREAK |
| 2117 |
/* SIMD-ZMM */ |
| 2118 |
case 144: |
| 2119 |
YY_RULE_SETUP |
| 2120 |
#line 220 "fcml_gas_lexer.l" |
| 2121 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM0) |
| 2122 |
YY_BREAK |
| 2123 |
case 145: |
| 2124 |
YY_RULE_SETUP |
| 2125 |
#line 221 "fcml_gas_lexer.l" |
| 2126 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM1) |
| 2127 |
YY_BREAK |
| 2128 |
case 146: |
| 2129 |
YY_RULE_SETUP |
| 2130 |
#line 222 "fcml_gas_lexer.l" |
| 2131 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM2) |
| 2132 |
YY_BREAK |
| 2133 |
case 147: |
| 2134 |
YY_RULE_SETUP |
| 2135 |
#line 223 "fcml_gas_lexer.l" |
| 2136 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM3) |
| 2137 |
YY_BREAK |
| 2138 |
case 148: |
| 2139 |
YY_RULE_SETUP |
| 2140 |
#line 224 "fcml_gas_lexer.l" |
| 2141 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM4) |
| 2142 |
YY_BREAK |
| 2143 |
case 149: |
| 2144 |
YY_RULE_SETUP |
| 2145 |
#line 225 "fcml_gas_lexer.l" |
| 2146 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM5) |
| 2147 |
YY_BREAK |
| 2148 |
case 150: |
| 2149 |
YY_RULE_SETUP |
| 2150 |
#line 226 "fcml_gas_lexer.l" |
| 2151 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM6) |
| 2152 |
YY_BREAK |
| 2153 |
case 151: |
| 2154 |
YY_RULE_SETUP |
| 2155 |
#line 227 "fcml_gas_lexer.l" |
| 2156 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM7) |
| 2157 |
YY_BREAK |
| 2158 |
case 152: |
| 2159 |
YY_RULE_SETUP |
| 2160 |
#line 228 "fcml_gas_lexer.l" |
| 2161 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM8) |
| 2162 |
YY_BREAK |
| 2163 |
case 153: |
| 2164 |
YY_RULE_SETUP |
| 2165 |
#line 229 "fcml_gas_lexer.l" |
| 2166 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM9) |
| 2167 |
YY_BREAK |
| 2168 |
case 154: |
| 2169 |
YY_RULE_SETUP |
| 2170 |
#line 230 "fcml_gas_lexer.l" |
| 2171 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM10) |
| 2172 |
YY_BREAK |
| 2173 |
case 155: |
| 2174 |
YY_RULE_SETUP |
| 2175 |
#line 231 "fcml_gas_lexer.l" |
| 2176 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM11) |
| 2177 |
YY_BREAK |
| 2178 |
case 156: |
| 2179 |
YY_RULE_SETUP |
| 2180 |
#line 232 "fcml_gas_lexer.l" |
| 2181 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM12) |
| 2182 |
YY_BREAK |
| 2183 |
case 157: |
| 2184 |
YY_RULE_SETUP |
| 2185 |
#line 233 "fcml_gas_lexer.l" |
| 2186 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM13) |
| 2187 |
YY_BREAK |
| 2188 |
case 158: |
| 2189 |
YY_RULE_SETUP |
| 2190 |
#line 234 "fcml_gas_lexer.l" |
| 2191 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM14) |
| 2192 |
YY_BREAK |
| 2193 |
case 159: |
| 2194 |
YY_RULE_SETUP |
| 2195 |
#line 235 "fcml_gas_lexer.l" |
| 2196 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM15) |
| 2197 |
YY_BREAK |
| 2198 |
case 160: |
| 2199 |
YY_RULE_SETUP |
| 2200 |
#line 236 "fcml_gas_lexer.l" |
| 2201 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM16) |
| 2202 |
YY_BREAK |
| 2203 |
case 161: |
| 2204 |
YY_RULE_SETUP |
| 2205 |
#line 237 "fcml_gas_lexer.l" |
| 2206 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM17) |
| 2207 |
YY_BREAK |
| 2208 |
case 162: |
| 2209 |
YY_RULE_SETUP |
| 2210 |
#line 238 "fcml_gas_lexer.l" |
| 2211 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM18) |
| 2212 |
YY_BREAK |
| 2213 |
case 163: |
| 2214 |
YY_RULE_SETUP |
| 2215 |
#line 239 "fcml_gas_lexer.l" |
| 2216 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM19) |
| 2217 |
YY_BREAK |
| 2218 |
case 164: |
| 2219 |
YY_RULE_SETUP |
| 2220 |
#line 240 "fcml_gas_lexer.l" |
| 2221 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM20) |
| 2222 |
YY_BREAK |
| 2223 |
case 165: |
| 2224 |
YY_RULE_SETUP |
| 2225 |
#line 241 "fcml_gas_lexer.l" |
| 2226 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM21) |
| 2227 |
YY_BREAK |
| 2228 |
case 166: |
| 2229 |
YY_RULE_SETUP |
| 2230 |
#line 242 "fcml_gas_lexer.l" |
| 2231 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM22) |
| 2232 |
YY_BREAK |
| 2233 |
case 167: |
| 2234 |
YY_RULE_SETUP |
| 2235 |
#line 243 "fcml_gas_lexer.l" |
| 2236 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM23) |
| 2237 |
YY_BREAK |
| 2238 |
case 168: |
| 2239 |
YY_RULE_SETUP |
| 2240 |
#line 244 "fcml_gas_lexer.l" |
| 2241 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM24) |
| 2242 |
YY_BREAK |
| 2243 |
case 169: |
| 2244 |
YY_RULE_SETUP |
| 2245 |
#line 245 "fcml_gas_lexer.l" |
| 2246 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM25) |
| 2247 |
YY_BREAK |
| 2248 |
case 170: |
| 2249 |
YY_RULE_SETUP |
| 2250 |
#line 246 "fcml_gas_lexer.l" |
| 2251 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM26) |
| 2252 |
YY_BREAK |
| 2253 |
case 171: |
| 2254 |
YY_RULE_SETUP |
| 2255 |
#line 247 "fcml_gas_lexer.l" |
| 2256 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM27) |
| 2257 |
YY_BREAK |
| 2258 |
case 172: |
| 2259 |
YY_RULE_SETUP |
| 2260 |
#line 248 "fcml_gas_lexer.l" |
| 2261 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM28) |
| 2262 |
YY_BREAK |
| 2263 |
case 173: |
| 2264 |
YY_RULE_SETUP |
| 2265 |
#line 249 "fcml_gas_lexer.l" |
| 2266 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM29) |
| 2267 |
YY_BREAK |
| 2268 |
case 174: |
| 2269 |
YY_RULE_SETUP |
| 2270 |
#line 250 "fcml_gas_lexer.l" |
| 2271 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM30) |
| 2272 |
YY_BREAK |
| 2273 |
case 175: |
| 2274 |
YY_RULE_SETUP |
| 2275 |
#line 251 "fcml_gas_lexer.l" |
| 2276 |
FCML_FM_SIMD_512_REG(FCML_REG_ZMM31) |
| 2277 |
YY_BREAK |
| 2278 |
/* FPU */ |
| 2279 |
case 176: |
| 2280 |
YY_RULE_SETUP |
| 2281 |
#line 254 "fcml_gas_lexer.l" |
| 2282 |
FCML_FM_FPU_REG(FCML_REG_ST0) |
| 2283 |
YY_BREAK |
| 2284 |
case 177: |
| 2285 |
YY_RULE_SETUP |
| 2286 |
#line 255 "fcml_gas_lexer.l" |
| 2287 |
FCML_FM_FPU_REG(FCML_REG_ST1) |
| 2288 |
YY_BREAK |
| 2289 |
case 178: |
| 2290 |
YY_RULE_SETUP |
| 2291 |
#line 256 "fcml_gas_lexer.l" |
| 2292 |
FCML_FM_FPU_REG(FCML_REG_ST2) |
| 2293 |
YY_BREAK |
| 2294 |
case 179: |
| 2295 |
YY_RULE_SETUP |
| 2296 |
#line 257 "fcml_gas_lexer.l" |
| 2297 |
FCML_FM_FPU_REG(FCML_REG_ST3) |
| 2298 |
YY_BREAK |
| 2299 |
case 180: |
| 2300 |
YY_RULE_SETUP |
| 2301 |
#line 258 "fcml_gas_lexer.l" |
| 2302 |
FCML_FM_FPU_REG(FCML_REG_ST4) |
| 2303 |
YY_BREAK |
| 2304 |
case 181: |
| 2305 |
YY_RULE_SETUP |
| 2306 |
#line 259 "fcml_gas_lexer.l" |
| 2307 |
FCML_FM_FPU_REG(FCML_REG_ST5) |
| 2308 |
YY_BREAK |
| 2309 |
case 182: |
| 2310 |
YY_RULE_SETUP |
| 2311 |
#line 260 "fcml_gas_lexer.l" |
| 2312 |
FCML_FM_FPU_REG(FCML_REG_ST6) |
| 2313 |
YY_BREAK |
| 2314 |
case 183: |
| 2315 |
YY_RULE_SETUP |
| 2316 |
#line 261 "fcml_gas_lexer.l" |
| 2317 |
FCML_FM_FPU_REG(FCML_REG_ST7) |
| 2318 |
YY_BREAK |
| 2319 |
/* Control registers. */ |
| 2320 |
case 184: |
| 2321 |
YY_RULE_SETUP |
| 2322 |
#line 264 "fcml_gas_lexer.l" |
| 2323 |
FCML_FM_CR_REG(FCML_REG_CR0) |
| 2324 |
YY_BREAK |
| 2325 |
case 185: |
| 2326 |
YY_RULE_SETUP |
| 2327 |
#line 265 "fcml_gas_lexer.l" |
| 2328 |
FCML_FM_CR_REG(FCML_REG_CR2) |
| 2329 |
YY_BREAK |
| 2330 |
case 186: |
| 2331 |
YY_RULE_SETUP |
| 2332 |
#line 266 "fcml_gas_lexer.l" |
| 2333 |
FCML_FM_CR_REG(FCML_REG_CR3) |
| 2334 |
YY_BREAK |
| 2335 |
case 187: |
| 2336 |
YY_RULE_SETUP |
| 2337 |
#line 267 "fcml_gas_lexer.l" |
| 2338 |
FCML_FM_CR_REG(FCML_REG_CR4) |
| 2339 |
YY_BREAK |
| 2340 |
case 188: |
| 2341 |
YY_RULE_SETUP |
| 2342 |
#line 268 "fcml_gas_lexer.l" |
| 2343 |
FCML_FM_CR_REG(FCML_REG_CR8) |
| 2344 |
YY_BREAK |
| 2345 |
/* Debug registers. */ |
| 2346 |
case 189: |
| 2347 |
YY_RULE_SETUP |
| 2348 |
#line 271 "fcml_gas_lexer.l" |
| 2349 |
FCML_FM_DR_REG(FCML_REG_DR0) |
| 2350 |
YY_BREAK |
| 2351 |
case 190: |
| 2352 |
YY_RULE_SETUP |
| 2353 |
#line 272 "fcml_gas_lexer.l" |
| 2354 |
FCML_FM_DR_REG(FCML_REG_DR1) |
| 2355 |
YY_BREAK |
| 2356 |
case 191: |
| 2357 |
YY_RULE_SETUP |
| 2358 |
#line 273 "fcml_gas_lexer.l" |
| 2359 |
FCML_FM_DR_REG(FCML_REG_DR2) |
| 2360 |
YY_BREAK |
| 2361 |
case 192: |
| 2362 |
YY_RULE_SETUP |
| 2363 |
#line 274 "fcml_gas_lexer.l" |
| 2364 |
FCML_FM_DR_REG(FCML_REG_DR3) |
| 2365 |
YY_BREAK |
| 2366 |
case 193: |
| 2367 |
YY_RULE_SETUP |
| 2368 |
#line 275 "fcml_gas_lexer.l" |
| 2369 |
FCML_FM_DR_REG(FCML_REG_DR4) |
| 2370 |
YY_BREAK |
| 2371 |
case 194: |
| 2372 |
YY_RULE_SETUP |
| 2373 |
#line 276 "fcml_gas_lexer.l" |
| 2374 |
FCML_FM_DR_REG(FCML_REG_DR5) |
| 2375 |
YY_BREAK |
| 2376 |
case 195: |
| 2377 |
YY_RULE_SETUP |
| 2378 |
#line 277 "fcml_gas_lexer.l" |
| 2379 |
FCML_FM_DR_REG(FCML_REG_DR6) |
| 2380 |
YY_BREAK |
| 2381 |
case 196: |
| 2382 |
YY_RULE_SETUP |
| 2383 |
#line 278 "fcml_gas_lexer.l" |
| 2384 |
FCML_FM_DR_REG(FCML_REG_DR7) |
| 2385 |
YY_BREAK |
| 2386 |
/* Segment registers. */ |
| 2387 |
case 197: |
| 2388 |
YY_RULE_SETUP |
| 2389 |
#line 281 "fcml_gas_lexer.l" |
| 2390 |
FCML_FM_SEG_REG(FCML_REG_ES) |
| 2391 |
YY_BREAK |
| 2392 |
case 198: |
| 2393 |
YY_RULE_SETUP |
| 2394 |
#line 282 "fcml_gas_lexer.l" |
| 2395 |
FCML_FM_SEG_REG(FCML_REG_CS) |
| 2396 |
YY_BREAK |
| 2397 |
case 199: |
| 2398 |
YY_RULE_SETUP |
| 2399 |
#line 283 "fcml_gas_lexer.l" |
| 2400 |
FCML_FM_SEG_REG(FCML_REG_SS) |
| 2401 |
YY_BREAK |
| 2402 |
case 200: |
| 2403 |
YY_RULE_SETUP |
| 2404 |
#line 284 "fcml_gas_lexer.l" |
| 2405 |
FCML_FM_SEG_REG(FCML_REG_DS) |
| 2406 |
YY_BREAK |
| 2407 |
case 201: |
| 2408 |
YY_RULE_SETUP |
| 2409 |
#line 285 "fcml_gas_lexer.l" |
| 2410 |
FCML_FM_SEG_REG(FCML_REG_FS) |
| 2411 |
YY_BREAK |
| 2412 |
case 202: |
| 2413 |
YY_RULE_SETUP |
| 2414 |
#line 286 "fcml_gas_lexer.l" |
| 2415 |
FCML_FM_SEG_REG(FCML_REG_GS) |
| 2416 |
YY_BREAK |
| 2417 |
/* Opmask registers. */ |
| 2418 |
case 203: |
| 2419 |
YY_RULE_SETUP |
| 2420 |
#line 289 "fcml_gas_lexer.l" |
| 2421 |
FCML_FM_OPMASK_REG(FCML_REG_K0) |
| 2422 |
YY_BREAK |
| 2423 |
case 204: |
| 2424 |
YY_RULE_SETUP |
| 2425 |
#line 290 "fcml_gas_lexer.l" |
| 2426 |
FCML_FM_OPMASK_REG(FCML_REG_K1) |
| 2427 |
YY_BREAK |
| 2428 |
case 205: |
| 2429 |
YY_RULE_SETUP |
| 2430 |
#line 291 "fcml_gas_lexer.l" |
| 2431 |
FCML_FM_OPMASK_REG(FCML_REG_K2) |
| 2432 |
YY_BREAK |
| 2433 |
case 206: |
| 2434 |
YY_RULE_SETUP |
| 2435 |
#line 292 "fcml_gas_lexer.l" |
| 2436 |
FCML_FM_OPMASK_REG(FCML_REG_K3) |
| 2437 |
YY_BREAK |
| 2438 |
case 207: |
| 2439 |
YY_RULE_SETUP |
| 2440 |
#line 293 "fcml_gas_lexer.l" |
| 2441 |
FCML_FM_OPMASK_REG(FCML_REG_K4) |
| 2442 |
YY_BREAK |
| 2443 |
case 208: |
| 2444 |
YY_RULE_SETUP |
| 2445 |
#line 294 "fcml_gas_lexer.l" |
| 2446 |
FCML_FM_OPMASK_REG(FCML_REG_K5) |
| 2447 |
YY_BREAK |
| 2448 |
case 209: |
| 2449 |
YY_RULE_SETUP |
| 2450 |
#line 295 "fcml_gas_lexer.l" |
| 2451 |
FCML_FM_OPMASK_REG(FCML_REG_K6) |
| 2452 |
YY_BREAK |
| 2453 |
case 210: |
| 2454 |
YY_RULE_SETUP |
| 2455 |
#line 296 "fcml_gas_lexer.l" |
| 2456 |
FCML_FM_OPMASK_REG(FCML_REG_K7) |
| 2457 |
YY_BREAK |
| 2458 |
/* RIP */ |
| 2459 |
case 211: |
| 2460 |
YY_RULE_SETUP |
| 2461 |
#line 299 "fcml_gas_lexer.l" |
| 2462 |
FCML_FM_RIP |
| 2463 |
YY_BREAK |
| 2464 |
/* opmask registers decorators. */ |
| 2465 |
case 212: |
| 2466 |
YY_RULE_SETUP |
| 2467 |
#line 302 "fcml_gas_lexer.l" |
| 2468 |
FCML_FM_OPMASK_REG_DECORATOR(1); |
| 2469 |
YY_BREAK |
| 2470 |
case 213: |
| 2471 |
YY_RULE_SETUP |
| 2472 |
#line 303 "fcml_gas_lexer.l" |
| 2473 |
FCML_FM_OPMASK_REG_DECORATOR(2); |
| 2474 |
YY_BREAK |
| 2475 |
case 214: |
| 2476 |
YY_RULE_SETUP |
| 2477 |
#line 304 "fcml_gas_lexer.l" |
| 2478 |
FCML_FM_OPMASK_REG_DECORATOR(3); |
| 2479 |
YY_BREAK |
| 2480 |
case 215: |
| 2481 |
YY_RULE_SETUP |
| 2482 |
#line 305 "fcml_gas_lexer.l" |
| 2483 |
FCML_FM_OPMASK_REG_DECORATOR(4); |
| 2484 |
YY_BREAK |
| 2485 |
case 216: |
| 2486 |
YY_RULE_SETUP |
| 2487 |
#line 306 "fcml_gas_lexer.l" |
| 2488 |
FCML_FM_OPMASK_REG_DECORATOR(5); |
| 2489 |
YY_BREAK |
| 2490 |
case 217: |
| 2491 |
YY_RULE_SETUP |
| 2492 |
#line 307 "fcml_gas_lexer.l" |
| 2493 |
FCML_FM_OPMASK_REG_DECORATOR(6); |
| 2494 |
YY_BREAK |
| 2495 |
case 218: |
| 2496 |
YY_RULE_SETUP |
| 2497 |
#line 308 "fcml_gas_lexer.l" |
| 2498 |
FCML_FM_OPMASK_REG_DECORATOR(7); |
| 2499 |
YY_BREAK |
| 2500 |
/* bcast decorators. */ |
| 2501 |
case 219: |
| 2502 |
YY_RULE_SETUP |
| 2503 |
#line 311 "fcml_gas_lexer.l" |
| 2504 |
FCML_FM_BCAST_DECORATOR(2); |
| 2505 |
YY_BREAK |
| 2506 |
case 220: |
| 2507 |
YY_RULE_SETUP |
| 2508 |
#line 312 "fcml_gas_lexer.l" |
| 2509 |
FCML_FM_BCAST_DECORATOR(4); |
| 2510 |
YY_BREAK |
| 2511 |
case 221: |
| 2512 |
YY_RULE_SETUP |
| 2513 |
#line 313 "fcml_gas_lexer.l" |
| 2514 |
FCML_FM_BCAST_DECORATOR(8); |
| 2515 |
YY_BREAK |
| 2516 |
case 222: |
| 2517 |
YY_RULE_SETUP |
| 2518 |
#line 314 "fcml_gas_lexer.l" |
| 2519 |
FCML_FM_BCAST_DECORATOR(16); |
| 2520 |
YY_BREAK |
| 2521 |
case 223: |
| 2522 |
YY_RULE_SETUP |
| 2523 |
#line 315 "fcml_gas_lexer.l" |
| 2524 |
FCML_FM_BCAST_DECORATOR(32); |
| 2525 |
YY_BREAK |
| 2526 |
case 224: |
| 2527 |
YY_RULE_SETUP |
| 2528 |
#line 316 "fcml_gas_lexer.l" |
| 2529 |
FCML_FM_BCAST_DECORATOR(64); |
| 2530 |
YY_BREAK |
| 2531 |
/* embedded rounding. */ |
| 2532 |
case 225: |
| 2533 |
YY_RULE_SETUP |
| 2534 |
#line 319 "fcml_gas_lexer.l" |
| 2535 |
FCML_FM_ER_DECORATOR(0); |
| 2536 |
YY_BREAK |
| 2537 |
case 226: |
| 2538 |
YY_RULE_SETUP |
| 2539 |
#line 320 "fcml_gas_lexer.l" |
| 2540 |
FCML_FM_ER_DECORATOR(1); |
| 2541 |
YY_BREAK |
| 2542 |
case 227: |
| 2543 |
YY_RULE_SETUP |
| 2544 |
#line 321 "fcml_gas_lexer.l" |
| 2545 |
FCML_FM_ER_DECORATOR(2); |
| 2546 |
YY_BREAK |
| 2547 |
case 228: |
| 2548 |
YY_RULE_SETUP |
| 2549 |
#line 322 "fcml_gas_lexer.l" |
| 2550 |
FCML_FM_ER_DECORATOR(3); |
| 2551 |
YY_BREAK |
| 2552 |
/* zeroying. */ |
| 2553 |
case 229: |
| 2554 |
YY_RULE_SETUP |
| 2555 |
#line 325 "fcml_gas_lexer.l" |
| 2556 |
{ return FCML_TK_DECORATOR_Z; } |
| 2557 |
YY_BREAK |
| 2558 |
/* Suppress all expression. */ |
| 2559 |
case 230: |
| 2560 |
YY_RULE_SETUP |
| 2561 |
#line 328 "fcml_gas_lexer.l" |
| 2562 |
{ return FCML_TK_DECORATOR_SAE; } |
| 2563 |
YY_BREAK |
| 2564 |
/* Prefixes */ |
| 2565 |
case 231: |
| 2566 |
YY_RULE_SETUP |
| 2567 |
#line 332 "fcml_gas_lexer.l" |
| 2568 |
{ |
| 2569 |
yylval->prefixes = FCML_PREFIX_LOCK; |
| 2570 |
return FCML_TK_PREFIX; |
| 2571 |
} |
| 2572 |
YY_BREAK |
| 2573 |
case 232: |
| 2574 |
YY_RULE_SETUP |
| 2575 |
#line 337 "fcml_gas_lexer.l" |
| 2576 |
{ |
| 2577 |
yylval->prefixes = FCML_PREFIX_REPNE; |
| 2578 |
return FCML_TK_PREFIX; |
| 2579 |
} |
| 2580 |
YY_BREAK |
| 2581 |
case 233: |
| 2582 |
YY_RULE_SETUP |
| 2583 |
#line 342 "fcml_gas_lexer.l" |
| 2584 |
{ |
| 2585 |
yylval->prefixes = FCML_PREFIX_REPE; |
| 2586 |
return FCML_TK_PREFIX; |
| 2587 |
} |
| 2588 |
YY_BREAK |
| 2589 |
case 234: |
| 2590 |
YY_RULE_SETUP |
| 2591 |
#line 347 "fcml_gas_lexer.l" |
| 2592 |
{ |
| 2593 |
yylval->prefixes = FCML_PREFIX_XACQUIRE; |
| 2594 |
return FCML_TK_PREFIX; |
| 2595 |
} |
| 2596 |
YY_BREAK |
| 2597 |
case 235: |
| 2598 |
YY_RULE_SETUP |
| 2599 |
#line 352 "fcml_gas_lexer.l" |
| 2600 |
{ |
| 2601 |
yylval->prefixes = FCML_PREFIX_XRELEASE; |
| 2602 |
return FCML_TK_PREFIX; |
| 2603 |
} |
| 2604 |
YY_BREAK |
| 2605 |
case 236: |
| 2606 |
YY_RULE_SETUP |
| 2607 |
#line 357 "fcml_gas_lexer.l" |
| 2608 |
{ |
| 2609 |
yylval->hints = FCML_PREFIX_BRANCH_HINT; |
| 2610 |
return FCML_TK_PREFIX; |
| 2611 |
} |
| 2612 |
YY_BREAK |
| 2613 |
case 237: |
| 2614 |
YY_RULE_SETUP |
| 2615 |
#line 362 "fcml_gas_lexer.l" |
| 2616 |
{ |
| 2617 |
yylval->hints = FCML_PREFIX_NOBRANCH_HINT; |
| 2618 |
return FCML_TK_PREFIX; |
| 2619 |
} |
| 2620 |
YY_BREAK |
| 2621 |
/* Identifiers. */ |
| 2622 |
case 238: |
| 2623 |
YY_RULE_SETUP |
| 2624 |
#line 368 "fcml_gas_lexer.l" |
| 2625 |
{ |
| 2626 |
yylval->symbol.text = (fcml_string)yytext; |
| 2627 |
yylval->symbol.length = (fcml_usize)yyleng; |
| 2628 |
return FCML_TK_PO_BYTE; |
| 2629 |
} |
| 2630 |
YY_BREAK |
| 2631 |
/* Identifiers. */ |
| 2632 |
case 239: |
| 2633 |
YY_RULE_SETUP |
| 2634 |
#line 375 "fcml_gas_lexer.l" |
| 2635 |
{ |
| 2636 |
yylval->symbol.text = (fcml_string)yytext; |
| 2637 |
yylval->symbol.length = (fcml_usize)yyleng; |
| 2638 |
return FCML_TK_SYMBOL; |
| 2639 |
} |
| 2640 |
YY_BREAK |
| 2641 |
/* Operators and parentheses. */ |
| 2642 |
case 240: |
| 2643 |
YY_RULE_SETUP |
| 2644 |
#line 382 "fcml_gas_lexer.l" |
| 2645 |
{ return ','; } |
| 2646 |
YY_BREAK |
| 2647 |
case 241: |
| 2648 |
YY_RULE_SETUP |
| 2649 |
#line 383 "fcml_gas_lexer.l" |
| 2650 |
{ return '+'; } |
| 2651 |
YY_BREAK |
| 2652 |
case 242: |
| 2653 |
YY_RULE_SETUP |
| 2654 |
#line 384 "fcml_gas_lexer.l" |
| 2655 |
{ return '-'; } |
| 2656 |
YY_BREAK |
| 2657 |
case 243: |
| 2658 |
YY_RULE_SETUP |
| 2659 |
#line 385 "fcml_gas_lexer.l" |
| 2660 |
{ return '*'; } |
| 2661 |
YY_BREAK |
| 2662 |
case 244: |
| 2663 |
YY_RULE_SETUP |
| 2664 |
#line 386 "fcml_gas_lexer.l" |
| 2665 |
{ return '/'; } |
| 2666 |
YY_BREAK |
| 2667 |
case 245: |
| 2668 |
YY_RULE_SETUP |
| 2669 |
#line 387 "fcml_gas_lexer.l" |
| 2670 |
{ return '('; } |
| 2671 |
YY_BREAK |
| 2672 |
case 246: |
| 2673 |
YY_RULE_SETUP |
| 2674 |
#line 388 "fcml_gas_lexer.l" |
| 2675 |
{ return ')'; } |
| 2676 |
YY_BREAK |
| 2677 |
case 247: |
| 2678 |
YY_RULE_SETUP |
| 2679 |
#line 389 "fcml_gas_lexer.l" |
| 2680 |
{ return ':'; } |
| 2681 |
YY_BREAK |
| 2682 |
case 248: |
| 2683 |
YY_RULE_SETUP |
| 2684 |
#line 390 "fcml_gas_lexer.l" |
| 2685 |
{ return '$'; } |
| 2686 |
YY_BREAK |
| 2687 |
/* Ignore white spaces. */ |
| 2688 |
case 249: |
| 2689 |
YY_RULE_SETUP |
| 2690 |
#line 393 "fcml_gas_lexer.l" |
| 2691 |
|
| 2692 |
YY_BREAK |
| 2693 |
/*Anything else is not expected.*/ |
| 2694 |
case 250: |
| 2695 |
YY_RULE_SETUP |
| 2696 |
#line 396 "fcml_gas_lexer.l" |
| 2697 |
{ return FCML_TK_UNEXPECTED; } |
| 2698 |
YY_BREAK |
| 2699 |
/*Ignore like white spaces.*/ |
| 2700 |
case 251: |
| 2701 |
/* rule 251 can match eol */ |
| 2702 |
YY_RULE_SETUP |
| 2703 |
#line 399 "fcml_gas_lexer.l" |
| 2704 |
|
| 2705 |
YY_BREAK |
| 2706 |
case 252: |
| 2707 |
YY_RULE_SETUP |
| 2708 |
#line 401 "fcml_gas_lexer.l" |
| 2709 |
YY_FATAL_ERROR( "flex scanner jammed" ); |
| 2710 |
YY_BREAK |
| 2711 |
#line 2712 "fcml_gas_lexer.c" |
| 2712 |
case YY_STATE_EOF(INITIAL): |
| 2713 |
yyterminate(); |
| 2714 |
|
| 2715 |
case YY_END_OF_BUFFER: |
| 2716 |
{ |
| 2717 |
/* Amount of text matched not including the EOB char. */ |
| 2718 |
int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1; |
| 2719 |
|
| 2720 |
/* Undo the effects of YY_DO_BEFORE_ACTION. */ |
| 2721 |
*yy_cp = yyg->yy_hold_char; |
| 2722 |
YY_RESTORE_YY_MORE_OFFSET |
| 2723 |
|
| 2724 |
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) |
| 2725 |
{ |
| 2726 |
/* We're scanning a new file or input source. It's |
| 2727 |
* possible that this happened because the user |
| 2728 |
* just pointed yyin at a new source and called |
| 2729 |
* yylex(). If so, then we have to assure |
| 2730 |
* consistency between YY_CURRENT_BUFFER and our |
| 2731 |
* globals. Here is the right place to do so, because |
| 2732 |
* this is the first action (other than possibly a |
| 2733 |
* back-up) that will match for the new input source. |
| 2734 |
*/ |
| 2735 |
yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
| 2736 |
YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; |
| 2737 |
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; |
| 2738 |
} |
| 2739 |
|
| 2740 |
/* Note that here we test for yy_c_buf_p "<=" to the position |
| 2741 |
* of the first EOB in the buffer, since yy_c_buf_p will |
| 2742 |
* already have been incremented past the NUL character |
| 2743 |
* (since all states make transitions on EOB to the |
| 2744 |
* end-of-buffer state). Contrast this with the test |
| 2745 |
* in input(). |
| 2746 |
*/ |
| 2747 |
if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) |
| 2748 |
{ /* This was really a NUL. */ |
| 2749 |
yy_state_type yy_next_state; |
| 2750 |
|
| 2751 |
yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text; |
| 2752 |
|
| 2753 |
yy_current_state = yy_get_previous_state( yyscanner ); |
| 2754 |
|
| 2755 |
/* Okay, we're now positioned to make the NUL |
| 2756 |
* transition. We couldn't have |
| 2757 |
* yy_get_previous_state() go ahead and do it |
| 2758 |
* for us because it doesn't know how to deal |
| 2759 |
* with the possibility of jamming (and we don't |
| 2760 |
* want to build jamming into it because then it |
| 2761 |
* will run more slowly). |
| 2762 |
*/ |
| 2763 |
|
| 2764 |
yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner); |
| 2765 |
|
| 2766 |
yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; |
| 2767 |
|
| 2768 |
if ( yy_next_state ) |
| 2769 |
{ |
| 2770 |
/* Consume the NUL. */ |
| 2771 |
yy_cp = ++yyg->yy_c_buf_p; |
| 2772 |
yy_current_state = yy_next_state; |
| 2773 |
goto yy_match; |
| 2774 |
} |
| 2775 |
|
| 2776 |
else |
| 2777 |
{ |
| 2778 |
yy_cp = yyg->yy_last_accepting_cpos; |
| 2779 |
yy_current_state = yyg->yy_last_accepting_state; |
| 2780 |
goto yy_find_action; |
| 2781 |
} |
| 2782 |
} |
| 2783 |
|
| 2784 |
else switch ( yy_get_next_buffer( yyscanner ) ) |
| 2785 |
{ |
| 2786 |
case EOB_ACT_END_OF_FILE: |
| 2787 |
{ |
| 2788 |
yyg->yy_did_buffer_switch_on_eof = 0; |
| 2789 |
|
| 2790 |
if ( yywrap( yyscanner ) ) |
| 2791 |
{ |
| 2792 |
/* Note: because we've taken care in |
| 2793 |
* yy_get_next_buffer() to have set up |
| 2794 |
* yytext, we can now set up |
| 2795 |
* yy_c_buf_p so that if some total |
| 2796 |
* hoser (like flex itself) wants to |
| 2797 |
* call the scanner after we return the |
| 2798 |
* YY_NULL, it'll still work - another |
| 2799 |
* YY_NULL will get returned. |
| 2800 |
*/ |
| 2801 |
yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ; |
| 2802 |
|
| 2803 |
yy_act = YY_STATE_EOF(YY_START); |
| 2804 |
goto do_action; |
| 2805 |
} |
| 2806 |
|
| 2807 |
else |
| 2808 |
{ |
| 2809 |
if ( ! yyg->yy_did_buffer_switch_on_eof ) |
| 2810 |
YY_NEW_FILE; |
| 2811 |
} |
| 2812 |
break; |
| 2813 |
} |
| 2814 |
|
| 2815 |
case EOB_ACT_CONTINUE_SCAN: |
| 2816 |
yyg->yy_c_buf_p = |
| 2817 |
yyg->yytext_ptr + yy_amount_of_matched_text; |
| 2818 |
|
| 2819 |
yy_current_state = yy_get_previous_state( yyscanner ); |
| 2820 |
|
| 2821 |
yy_cp = yyg->yy_c_buf_p; |
| 2822 |
yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; |
| 2823 |
goto yy_match; |
| 2824 |
|
| 2825 |
case EOB_ACT_LAST_MATCH: |
| 2826 |
yyg->yy_c_buf_p = |
| 2827 |
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars]; |
| 2828 |
|
| 2829 |
yy_current_state = yy_get_previous_state( yyscanner ); |
| 2830 |
|
| 2831 |
yy_cp = yyg->yy_c_buf_p; |
| 2832 |
yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; |
| 2833 |
goto yy_find_action; |
| 2834 |
} |
| 2835 |
break; |
| 2836 |
} |
| 2837 |
|
| 2838 |
default: |
| 2839 |
YY_FATAL_ERROR( |
| 2840 |
"fatal flex scanner internal error--no action found" ); |
| 2841 |
} /* end of action switch */ |
| 2842 |
} /* end of scanning one token */ |
| 2843 |
} /* end of user's declarations */ |
| 2844 |
} /* end of yylex */ |
| 2845 |
|
| 2846 |
/* yy_get_next_buffer - try to read in a new buffer |
| 2847 |
* |
| 2848 |
* Returns a code representing an action: |
| 2849 |
* EOB_ACT_LAST_MATCH - |
| 2850 |
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position |
| 2851 |
* EOB_ACT_END_OF_FILE - end of file |
| 2852 |
*/ |
| 2853 |
static int yy_get_next_buffer (yyscan_t yyscanner) |
| 2854 |
{ |
| 2855 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 2856 |
char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; |
| 2857 |
char *source = yyg->yytext_ptr; |
| 2858 |
int number_to_move, i; |
| 2859 |
int ret_val; |
| 2860 |
|
| 2861 |
if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] ) |
| 2862 |
YY_FATAL_ERROR( |
| 2863 |
"fatal flex scanner internal error--end of buffer missed" ); |
| 2864 |
|
| 2865 |
if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) |
| 2866 |
{ /* Don't try to fill the buffer, so this is an EOF. */ |
| 2867 |
if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 ) |
| 2868 |
{ |
| 2869 |
/* We matched a single character, the EOB, so |
| 2870 |
* treat this as a final EOF. |
| 2871 |
*/ |
| 2872 |
return EOB_ACT_END_OF_FILE; |
| 2873 |
} |
| 2874 |
|
| 2875 |
else |
| 2876 |
{ |
| 2877 |
/* We matched some text prior to the EOB, first |
| 2878 |
* process it. |
| 2879 |
*/ |
| 2880 |
return EOB_ACT_LAST_MATCH; |
| 2881 |
} |
| 2882 |
} |
| 2883 |
|
| 2884 |
/* Try to read more data. */ |
| 2885 |
|
| 2886 |
/* First move last chars to start of buffer. */ |
| 2887 |
number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1); |
| 2888 |
|
| 2889 |
for ( i = 0; i < number_to_move; ++i ) |
| 2890 |
*(dest++) = *(source++); |
| 2891 |
|
| 2892 |
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) |
| 2893 |
/* don't do the read, it's not guaranteed to return an EOF, |
| 2894 |
* just force an EOF |
| 2895 |
*/ |
| 2896 |
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0; |
| 2897 |
|
| 2898 |
else |
| 2899 |
{ |
| 2900 |
int num_to_read = |
| 2901 |
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; |
| 2902 |
|
| 2903 |
while ( num_to_read <= 0 ) |
| 2904 |
{ /* Not enough room in the buffer - grow it. */ |
| 2905 |
|
| 2906 |
/* just a shorter name for the current buffer */ |
| 2907 |
YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; |
| 2908 |
|
| 2909 |
int yy_c_buf_p_offset = |
| 2910 |
(int) (yyg->yy_c_buf_p - b->yy_ch_buf); |
| 2911 |
|
| 2912 |
if ( b->yy_is_our_buffer ) |
| 2913 |
{ |
| 2914 |
int new_size = b->yy_buf_size * 2; |
| 2915 |
|
| 2916 |
if ( new_size <= 0 ) |
| 2917 |
b->yy_buf_size += b->yy_buf_size / 8; |
| 2918 |
else |
| 2919 |
b->yy_buf_size *= 2; |
| 2920 |
|
| 2921 |
b->yy_ch_buf = (char *) |
| 2922 |
/* Include room in for 2 EOB chars. */ |
| 2923 |
yyrealloc( (void *) b->yy_ch_buf, |
| 2924 |
(yy_size_t) (b->yy_buf_size + 2) , yyscanner ); |
| 2925 |
} |
| 2926 |
else |
| 2927 |
/* Can't grow it, we don't own it. */ |
| 2928 |
b->yy_ch_buf = NULL; |
| 2929 |
|
| 2930 |
if ( ! b->yy_ch_buf ) |
| 2931 |
YY_FATAL_ERROR( |
| 2932 |
"fatal error - scanner input buffer overflow" ); |
| 2933 |
|
| 2934 |
yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; |
| 2935 |
|
| 2936 |
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - |
| 2937 |
number_to_move - 1; |
| 2938 |
|
| 2939 |
} |
| 2940 |
|
| 2941 |
if ( num_to_read > YY_READ_BUF_SIZE ) |
| 2942 |
num_to_read = YY_READ_BUF_SIZE; |
| 2943 |
|
| 2944 |
/* Read in more data. */ |
| 2945 |
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), |
| 2946 |
yyg->yy_n_chars, num_to_read ); |
| 2947 |
|
| 2948 |
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; |
| 2949 |
} |
| 2950 |
|
| 2951 |
if ( yyg->yy_n_chars == 0 ) |
| 2952 |
{ |
| 2953 |
if ( number_to_move == YY_MORE_ADJ ) |
| 2954 |
{ |
| 2955 |
ret_val = EOB_ACT_END_OF_FILE; |
| 2956 |
yyrestart( yyin , yyscanner); |
| 2957 |
} |
| 2958 |
|
| 2959 |
else |
| 2960 |
{ |
| 2961 |
ret_val = EOB_ACT_LAST_MATCH; |
| 2962 |
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = |
| 2963 |
YY_BUFFER_EOF_PENDING; |
| 2964 |
} |
| 2965 |
} |
| 2966 |
|
| 2967 |
else |
| 2968 |
ret_val = EOB_ACT_CONTINUE_SCAN; |
| 2969 |
|
| 2970 |
if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { |
| 2971 |
/* Extend the array by 50%, plus the number we really need. */ |
| 2972 |
int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); |
| 2973 |
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( |
| 2974 |
(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner ); |
| 2975 |
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) |
| 2976 |
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); |
| 2977 |
/* "- 2" to take care of EOB's */ |
| 2978 |
YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); |
| 2979 |
} |
| 2980 |
|
| 2981 |
yyg->yy_n_chars += number_to_move; |
| 2982 |
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR; |
| 2983 |
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; |
| 2984 |
|
| 2985 |
yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; |
| 2986 |
|
| 2987 |
return ret_val; |
| 2988 |
} |
| 2989 |
|
| 2990 |
/* yy_get_previous_state - get the state just before the EOB char was reached */ |
| 2991 |
|
| 2992 |
static yy_state_type yy_get_previous_state (yyscan_t yyscanner) |
| 2993 |
{ |
| 2994 |
yy_state_type yy_current_state; |
| 2995 |
char *yy_cp; |
| 2996 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 2997 |
|
| 2998 |
yy_current_state = yyg->yy_start; |
| 2999 |
|
| 3000 |
for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) |
| 3001 |
{ |
| 3002 |
YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
| 3003 |
if ( yy_accept[yy_current_state] ) |
| 3004 |
{ |
| 3005 |
yyg->yy_last_accepting_state = yy_current_state; |
| 3006 |
yyg->yy_last_accepting_cpos = yy_cp; |
| 3007 |
} |
| 3008 |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
| 3009 |
{ |
| 3010 |
yy_current_state = (int) yy_def[yy_current_state]; |
| 3011 |
if ( yy_current_state >= 430 ) |
| 3012 |
yy_c = yy_meta[yy_c]; |
| 3013 |
} |
| 3014 |
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; |
| 3015 |
} |
| 3016 |
|
| 3017 |
return yy_current_state; |
| 3018 |
} |
| 3019 |
|
| 3020 |
/* yy_try_NUL_trans - try to make a transition on the NUL character |
| 3021 |
* |
| 3022 |
* synopsis |
| 3023 |
* next_state = yy_try_NUL_trans( current_state ); |
| 3024 |
*/ |
| 3025 |
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner) |
| 3026 |
{ |
| 3027 |
int yy_is_jam; |
| 3028 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */ |
| 3029 |
char *yy_cp = yyg->yy_c_buf_p; |
| 3030 |
|
| 3031 |
YY_CHAR yy_c = 1; |
| 3032 |
if ( yy_accept[yy_current_state] ) |
| 3033 |
{ |
| 3034 |
yyg->yy_last_accepting_state = yy_current_state; |
| 3035 |
yyg->yy_last_accepting_cpos = yy_cp; |
| 3036 |
} |
| 3037 |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
| 3038 |
{ |
| 3039 |
yy_current_state = (int) yy_def[yy_current_state]; |
| 3040 |
if ( yy_current_state >= 430 ) |
| 3041 |
yy_c = yy_meta[yy_c]; |
| 3042 |
} |
| 3043 |
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; |
| 3044 |
yy_is_jam = (yy_current_state == 429); |
| 3045 |
|
| 3046 |
(void)yyg; |
| 3047 |
return yy_is_jam ? 0 : yy_current_state; |
| 3048 |
} |
| 3049 |
|
| 3050 |
#ifndef YY_NO_UNPUT |
| 3051 |
|
| 3052 |
#endif |
| 3053 |
|
| 3054 |
#ifndef YY_NO_INPUT |
| 3055 |
#ifdef __cplusplus |
| 3056 |
static int yyinput (yyscan_t yyscanner) |
| 3057 |
#else |
| 3058 |
static int input (yyscan_t yyscanner) |
| 3059 |
#endif |
| 3060 |
|
| 3061 |
{ |
| 3062 |
int c; |
| 3063 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3064 |
|
| 3065 |
*yyg->yy_c_buf_p = yyg->yy_hold_char; |
| 3066 |
|
| 3067 |
if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) |
| 3068 |
{ |
| 3069 |
/* yy_c_buf_p now points to the character we want to return. |
| 3070 |
* If this occurs *before* the EOB characters, then it's a |
| 3071 |
* valid NUL; if not, then we've hit the end of the buffer. |
| 3072 |
*/ |
| 3073 |
if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) |
| 3074 |
/* This was really a NUL. */ |
| 3075 |
*yyg->yy_c_buf_p = '\0'; |
| 3076 |
|
| 3077 |
else |
| 3078 |
{ /* need more input */ |
| 3079 |
int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr); |
| 3080 |
++yyg->yy_c_buf_p; |
| 3081 |
|
| 3082 |
switch ( yy_get_next_buffer( yyscanner ) ) |
| 3083 |
{ |
| 3084 |
case EOB_ACT_LAST_MATCH: |
| 3085 |
/* This happens because yy_g_n_b() |
| 3086 |
* sees that we've accumulated a |
| 3087 |
* token and flags that we need to |
| 3088 |
* try matching the token before |
| 3089 |
* proceeding. But for input(), |
| 3090 |
* there's no matching to consider. |
| 3091 |
* So convert the EOB_ACT_LAST_MATCH |
| 3092 |
* to EOB_ACT_END_OF_FILE. |
| 3093 |
*/ |
| 3094 |
|
| 3095 |
/* Reset buffer status. */ |
| 3096 |
yyrestart( yyin , yyscanner); |
| 3097 |
|
| 3098 |
/*FALLTHROUGH*/ |
| 3099 |
|
| 3100 |
case EOB_ACT_END_OF_FILE: |
| 3101 |
{ |
| 3102 |
if ( yywrap( yyscanner ) ) |
| 3103 |
return 0; |
| 3104 |
|
| 3105 |
if ( ! yyg->yy_did_buffer_switch_on_eof ) |
| 3106 |
YY_NEW_FILE; |
| 3107 |
#ifdef __cplusplus |
| 3108 |
return yyinput(yyscanner); |
| 3109 |
#else |
| 3110 |
return input(yyscanner); |
| 3111 |
#endif |
| 3112 |
} |
| 3113 |
|
| 3114 |
case EOB_ACT_CONTINUE_SCAN: |
| 3115 |
yyg->yy_c_buf_p = yyg->yytext_ptr + offset; |
| 3116 |
break; |
| 3117 |
} |
| 3118 |
} |
| 3119 |
} |
| 3120 |
|
| 3121 |
c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ |
| 3122 |
*yyg->yy_c_buf_p = '\0'; /* preserve yytext */ |
| 3123 |
yyg->yy_hold_char = *++yyg->yy_c_buf_p; |
| 3124 |
|
| 3125 |
if ( c == '\n' ) |
| 3126 |
|
| 3127 |
do{ yylineno++; |
| 3128 |
yycolumn=0; |
| 3129 |
}while(0) |
| 3130 |
; |
| 3131 |
|
| 3132 |
return c; |
| 3133 |
} |
| 3134 |
#endif /* ifndef YY_NO_INPUT */ |
| 3135 |
|
| 3136 |
/** Immediately switch to a different input stream. |
| 3137 |
* @param input_file A readable stream. |
| 3138 |
* @param yyscanner The scanner object. |
| 3139 |
* @note This function does not reset the start condition to @c INITIAL . |
| 3140 |
*/ |
| 3141 |
void yyrestart (FILE * input_file , yyscan_t yyscanner) |
| 3142 |
{ |
| 3143 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3144 |
|
| 3145 |
if ( ! YY_CURRENT_BUFFER ){ |
| 3146 |
yyensure_buffer_stack (yyscanner); |
| 3147 |
YY_CURRENT_BUFFER_LVALUE = |
| 3148 |
yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); |
| 3149 |
} |
| 3150 |
|
| 3151 |
yy_init_buffer( YY_CURRENT_BUFFER, input_file , yyscanner); |
| 3152 |
yy_load_buffer_state( yyscanner ); |
| 3153 |
} |
| 3154 |
|
| 3155 |
/** Switch to a different input buffer. |
| 3156 |
* @param new_buffer The new input buffer. |
| 3157 |
* @param yyscanner The scanner object. |
| 3158 |
*/ |
| 3159 |
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) |
| 3160 |
{ |
| 3161 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3162 |
|
| 3163 |
/* TODO. We should be able to replace this entire function body |
| 3164 |
* with |
| 3165 |
* yypop_buffer_state(); |
| 3166 |
* yypush_buffer_state(new_buffer); |
| 3167 |
*/ |
| 3168 |
yyensure_buffer_stack (yyscanner); |
| 3169 |
if ( YY_CURRENT_BUFFER == new_buffer ) |
| 3170 |
return; |
| 3171 |
|
| 3172 |
if ( YY_CURRENT_BUFFER ) |
| 3173 |
{ |
| 3174 |
/* Flush out information for old buffer. */ |
| 3175 |
*yyg->yy_c_buf_p = yyg->yy_hold_char; |
| 3176 |
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; |
| 3177 |
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; |
| 3178 |
} |
| 3179 |
|
| 3180 |
YY_CURRENT_BUFFER_LVALUE = new_buffer; |
| 3181 |
yy_load_buffer_state( yyscanner ); |
| 3182 |
|
| 3183 |
/* We don't actually know whether we did this switch during |
| 3184 |
* EOF (yywrap()) processing, but the only time this flag |
| 3185 |
* is looked at is after yywrap() is called, so it's safe |
| 3186 |
* to go ahead and always set it. |
| 3187 |
*/ |
| 3188 |
yyg->yy_did_buffer_switch_on_eof = 1; |
| 3189 |
} |
| 3190 |
|
| 3191 |
static void yy_load_buffer_state (yyscan_t yyscanner) |
| 3192 |
{ |
| 3193 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3194 |
yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; |
| 3195 |
yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; |
| 3196 |
yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; |
| 3197 |
yyg->yy_hold_char = *yyg->yy_c_buf_p; |
| 3198 |
} |
| 3199 |
|
| 3200 |
/** Allocate and initialize an input buffer state. |
| 3201 |
* @param file A readable stream. |
| 3202 |
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. |
| 3203 |
* @param yyscanner The scanner object. |
| 3204 |
* @return the allocated buffer state. |
| 3205 |
*/ |
| 3206 |
YY_BUFFER_STATE yy_create_buffer (FILE * file, int size , yyscan_t yyscanner) |
| 3207 |
{ |
| 3208 |
YY_BUFFER_STATE b; |
| 3209 |
|
| 3210 |
b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); |
| 3211 |
if ( ! b ) |
| 3212 |
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
| 3213 |
|
| 3214 |
b->yy_buf_size = size; |
| 3215 |
|
| 3216 |
/* yy_ch_buf has to be 2 characters longer than the size given because |
| 3217 |
* we need to put in 2 end-of-buffer characters. |
| 3218 |
*/ |
| 3219 |
b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); |
| 3220 |
if ( ! b->yy_ch_buf ) |
| 3221 |
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
| 3222 |
|
| 3223 |
b->yy_is_our_buffer = 1; |
| 3224 |
|
| 3225 |
yy_init_buffer( b, file , yyscanner); |
| 3226 |
|
| 3227 |
return b; |
| 3228 |
} |
| 3229 |
|
| 3230 |
/** Destroy the buffer. |
| 3231 |
* @param b a buffer created with yy_create_buffer() |
| 3232 |
* @param yyscanner The scanner object. |
| 3233 |
*/ |
| 3234 |
void yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) |
| 3235 |
{ |
| 3236 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3237 |
|
| 3238 |
if ( ! b ) |
| 3239 |
return; |
| 3240 |
|
| 3241 |
if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ |
| 3242 |
YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; |
| 3243 |
|
| 3244 |
if ( b->yy_is_our_buffer ) |
| 3245 |
yyfree( (void *) b->yy_ch_buf , yyscanner ); |
| 3246 |
|
| 3247 |
yyfree( (void *) b , yyscanner ); |
| 3248 |
} |
| 3249 |
|
| 3250 |
/* Initializes or reinitializes a buffer. |
| 3251 |
* This function is sometimes called more than once on the same buffer, |
| 3252 |
* such as during a yyrestart() or at EOF. |
| 3253 |
*/ |
| 3254 |
static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner) |
| 3255 |
|
| 3256 |
{ |
| 3257 |
int oerrno = errno; |
| 3258 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3259 |
|
| 3260 |
yy_flush_buffer( b , yyscanner); |
| 3261 |
|
| 3262 |
b->yy_input_file = file; |
| 3263 |
b->yy_fill_buffer = 1; |
| 3264 |
|
| 3265 |
/* If b is the current buffer, then yy_init_buffer was _probably_ |
| 3266 |
* called from yyrestart() or through yy_get_next_buffer. |
| 3267 |
* In that case, we don't want to reset the lineno or column. |
| 3268 |
*/ |
| 3269 |
if (b != YY_CURRENT_BUFFER){ |
| 3270 |
b->yy_bs_lineno = 1; |
| 3271 |
b->yy_bs_column = 0; |
| 3272 |
} |
| 3273 |
|
| 3274 |
b->yy_is_interactive = 0; |
| 3275 |
|
| 3276 |
errno = oerrno; |
| 3277 |
} |
| 3278 |
|
| 3279 |
/** Discard all buffered characters. On the next scan, YY_INPUT will be called. |
| 3280 |
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. |
| 3281 |
* @param yyscanner The scanner object. |
| 3282 |
*/ |
| 3283 |
void yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) |
| 3284 |
{ |
| 3285 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3286 |
if ( ! b ) |
| 3287 |
return; |
| 3288 |
|
| 3289 |
b->yy_n_chars = 0; |
| 3290 |
|
| 3291 |
/* We always need two end-of-buffer characters. The first causes |
| 3292 |
* a transition to the end-of-buffer state. The second causes |
| 3293 |
* a jam in that state. |
| 3294 |
*/ |
| 3295 |
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; |
| 3296 |
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; |
| 3297 |
|
| 3298 |
b->yy_buf_pos = &b->yy_ch_buf[0]; |
| 3299 |
|
| 3300 |
b->yy_at_bol = 1; |
| 3301 |
b->yy_buffer_status = YY_BUFFER_NEW; |
| 3302 |
|
| 3303 |
if ( b == YY_CURRENT_BUFFER ) |
| 3304 |
yy_load_buffer_state( yyscanner ); |
| 3305 |
} |
| 3306 |
|
| 3307 |
/** Pushes the new state onto the stack. The new state becomes |
| 3308 |
* the current state. This function will allocate the stack |
| 3309 |
* if necessary. |
| 3310 |
* @param new_buffer The new state. |
| 3311 |
* @param yyscanner The scanner object. |
| 3312 |
*/ |
| 3313 |
void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) |
| 3314 |
{ |
| 3315 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3316 |
if (new_buffer == NULL) |
| 3317 |
return; |
| 3318 |
|
| 3319 |
yyensure_buffer_stack(yyscanner); |
| 3320 |
|
| 3321 |
/* This block is copied from yy_switch_to_buffer. */ |
| 3322 |
if ( YY_CURRENT_BUFFER ) |
| 3323 |
{ |
| 3324 |
/* Flush out information for old buffer. */ |
| 3325 |
*yyg->yy_c_buf_p = yyg->yy_hold_char; |
| 3326 |
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; |
| 3327 |
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; |
| 3328 |
} |
| 3329 |
|
| 3330 |
/* Only push if top exists. Otherwise, replace top. */ |
| 3331 |
if (YY_CURRENT_BUFFER) |
| 3332 |
yyg->yy_buffer_stack_top++; |
| 3333 |
YY_CURRENT_BUFFER_LVALUE = new_buffer; |
| 3334 |
|
| 3335 |
/* copied from yy_switch_to_buffer. */ |
| 3336 |
yy_load_buffer_state( yyscanner ); |
| 3337 |
yyg->yy_did_buffer_switch_on_eof = 1; |
| 3338 |
} |
| 3339 |
|
| 3340 |
/** Removes and deletes the top of the stack, if present. |
| 3341 |
* The next element becomes the new top. |
| 3342 |
* @param yyscanner The scanner object. |
| 3343 |
*/ |
| 3344 |
void yypop_buffer_state (yyscan_t yyscanner) |
| 3345 |
{ |
| 3346 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3347 |
if (!YY_CURRENT_BUFFER) |
| 3348 |
return; |
| 3349 |
|
| 3350 |
yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner); |
| 3351 |
YY_CURRENT_BUFFER_LVALUE = NULL; |
| 3352 |
if (yyg->yy_buffer_stack_top > 0) |
| 3353 |
--yyg->yy_buffer_stack_top; |
| 3354 |
|
| 3355 |
if (YY_CURRENT_BUFFER) { |
| 3356 |
yy_load_buffer_state( yyscanner ); |
| 3357 |
yyg->yy_did_buffer_switch_on_eof = 1; |
| 3358 |
} |
| 3359 |
} |
| 3360 |
|
| 3361 |
/* Allocates the stack if it does not exist. |
| 3362 |
* Guarantees space for at least one push. |
| 3363 |
*/ |
| 3364 |
static void yyensure_buffer_stack (yyscan_t yyscanner) |
| 3365 |
{ |
| 3366 |
yy_size_t num_to_alloc; |
| 3367 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3368 |
|
| 3369 |
if (!yyg->yy_buffer_stack) { |
| 3370 |
|
| 3371 |
/* First allocation is just for 2 elements, since we don't know if this |
| 3372 |
* scanner will even need a stack. We use 2 instead of 1 to avoid an |
| 3373 |
* immediate realloc on the next call. |
| 3374 |
*/ |
| 3375 |
num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ |
| 3376 |
yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc |
| 3377 |
(num_to_alloc * sizeof(struct yy_buffer_state*) |
| 3378 |
, yyscanner); |
| 3379 |
if ( ! yyg->yy_buffer_stack ) |
| 3380 |
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); |
| 3381 |
|
| 3382 |
memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); |
| 3383 |
|
| 3384 |
yyg->yy_buffer_stack_max = num_to_alloc; |
| 3385 |
yyg->yy_buffer_stack_top = 0; |
| 3386 |
return; |
| 3387 |
} |
| 3388 |
|
| 3389 |
if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ |
| 3390 |
|
| 3391 |
/* Increase the buffer to prepare for a possible push. */ |
| 3392 |
yy_size_t grow_size = 8 /* arbitrary grow size */; |
| 3393 |
|
| 3394 |
num_to_alloc = yyg->yy_buffer_stack_max + grow_size; |
| 3395 |
yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc |
| 3396 |
(yyg->yy_buffer_stack, |
| 3397 |
num_to_alloc * sizeof(struct yy_buffer_state*) |
| 3398 |
, yyscanner); |
| 3399 |
if ( ! yyg->yy_buffer_stack ) |
| 3400 |
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); |
| 3401 |
|
| 3402 |
/* zero only the new slots.*/ |
| 3403 |
memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); |
| 3404 |
yyg->yy_buffer_stack_max = num_to_alloc; |
| 3405 |
} |
| 3406 |
} |
| 3407 |
|
| 3408 |
/** Setup the input buffer state to scan directly from a user-specified character buffer. |
| 3409 |
* @param base the character buffer |
| 3410 |
* @param size the size in bytes of the character buffer |
| 3411 |
* @param yyscanner The scanner object. |
| 3412 |
* @return the newly allocated buffer state object. |
| 3413 |
*/ |
| 3414 |
YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner) |
| 3415 |
{ |
| 3416 |
YY_BUFFER_STATE b; |
| 3417 |
|
| 3418 |
if ( size < 2 || |
| 3419 |
base[size-2] != YY_END_OF_BUFFER_CHAR || |
| 3420 |
base[size-1] != YY_END_OF_BUFFER_CHAR ) |
| 3421 |
/* They forgot to leave room for the EOB's. */ |
| 3422 |
return NULL; |
| 3423 |
|
| 3424 |
b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); |
| 3425 |
if ( ! b ) |
| 3426 |
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); |
| 3427 |
|
| 3428 |
b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ |
| 3429 |
b->yy_buf_pos = b->yy_ch_buf = base; |
| 3430 |
b->yy_is_our_buffer = 0; |
| 3431 |
b->yy_input_file = NULL; |
| 3432 |
b->yy_n_chars = b->yy_buf_size; |
| 3433 |
b->yy_is_interactive = 0; |
| 3434 |
b->yy_at_bol = 1; |
| 3435 |
b->yy_fill_buffer = 0; |
| 3436 |
b->yy_buffer_status = YY_BUFFER_NEW; |
| 3437 |
|
| 3438 |
yy_switch_to_buffer( b , yyscanner ); |
| 3439 |
|
| 3440 |
return b; |
| 3441 |
} |
| 3442 |
|
| 3443 |
/** Setup the input buffer state to scan a string. The next call to yylex() will |
| 3444 |
* scan from a @e copy of @a str. |
| 3445 |
* @param yystr a NUL-terminated string to scan |
| 3446 |
* @param yyscanner The scanner object. |
| 3447 |
* @return the newly allocated buffer state object. |
| 3448 |
* @note If you want to scan bytes that may contain NUL values, then use |
| 3449 |
* yy_scan_bytes() instead. |
| 3450 |
*/ |
| 3451 |
YY_BUFFER_STATE yy_scan_string (const char * yystr , yyscan_t yyscanner) |
| 3452 |
{ |
| 3453 |
|
| 3454 |
return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner); |
| 3455 |
} |
| 3456 |
|
| 3457 |
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will |
| 3458 |
* scan from a @e copy of @a bytes. |
| 3459 |
* @param yybytes the byte buffer to scan |
| 3460 |
* @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. |
| 3461 |
* @param yyscanner The scanner object. |
| 3462 |
* @return the newly allocated buffer state object. |
| 3463 |
*/ |
| 3464 |
YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len , yyscan_t yyscanner) |
| 3465 |
{ |
| 3466 |
YY_BUFFER_STATE b; |
| 3467 |
char *buf; |
| 3468 |
yy_size_t n; |
| 3469 |
int i; |
| 3470 |
|
| 3471 |
/* Get memory for full buffer, including space for trailing EOB's. */ |
| 3472 |
n = (yy_size_t) (_yybytes_len + 2); |
| 3473 |
buf = (char *) yyalloc( n , yyscanner ); |
| 3474 |
if ( ! buf ) |
| 3475 |
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); |
| 3476 |
|
| 3477 |
for ( i = 0; i < _yybytes_len; ++i ) |
| 3478 |
buf[i] = yybytes[i]; |
| 3479 |
|
| 3480 |
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; |
| 3481 |
|
| 3482 |
b = yy_scan_buffer( buf, n , yyscanner); |
| 3483 |
if ( ! b ) |
| 3484 |
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); |
| 3485 |
|
| 3486 |
/* It's okay to grow etc. this buffer, and we should throw it |
| 3487 |
* away when we're done. |
| 3488 |
*/ |
| 3489 |
b->yy_is_our_buffer = 1; |
| 3490 |
|
| 3491 |
return b; |
| 3492 |
} |
| 3493 |
|
| 3494 |
#ifndef YY_EXIT_FAILURE |
| 3495 |
#define YY_EXIT_FAILURE 2 |
| 3496 |
#endif |
| 3497 |
|
| 3498 |
static void yynoreturn yy_fatal_error (const char* msg , yyscan_t yyscanner) |
| 3499 |
{ |
| 3500 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3501 |
(void)yyg; |
| 3502 |
fprintf( stderr, "%s\n", msg ); |
| 3503 |
exit( YY_EXIT_FAILURE ); |
| 3504 |
} |
| 3505 |
|
| 3506 |
/* Redefine yyless() so it works in section 3 code. */ |
| 3507 |
|
| 3508 |
#undef yyless |
| 3509 |
#define yyless(n) \ |
| 3510 |
do \ |
| 3511 |
{ \ |
| 3512 |
/* Undo effects of setting up yytext. */ \ |
| 3513 |
int yyless_macro_arg = (n); \ |
| 3514 |
YY_LESS_LINENO(yyless_macro_arg);\ |
| 3515 |
yytext[yyleng] = yyg->yy_hold_char; \ |
| 3516 |
yyg->yy_c_buf_p = yytext + yyless_macro_arg; \ |
| 3517 |
yyg->yy_hold_char = *yyg->yy_c_buf_p; \ |
| 3518 |
*yyg->yy_c_buf_p = '\0'; \ |
| 3519 |
yyleng = yyless_macro_arg; \ |
| 3520 |
} \ |
| 3521 |
while ( 0 ) |
| 3522 |
|
| 3523 |
/* Accessor methods (get/set functions) to struct members. */ |
| 3524 |
|
| 3525 |
/** Get the user-defined data for this scanner. |
| 3526 |
* @param yyscanner The scanner object. |
| 3527 |
*/ |
| 3528 |
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner) |
| 3529 |
{ |
| 3530 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3531 |
return yyextra; |
| 3532 |
} |
| 3533 |
|
| 3534 |
/** Get the current line number. |
| 3535 |
* @param yyscanner The scanner object. |
| 3536 |
*/ |
| 3537 |
int yyget_lineno (yyscan_t yyscanner) |
| 3538 |
{ |
| 3539 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3540 |
|
| 3541 |
if (! YY_CURRENT_BUFFER) |
| 3542 |
return 0; |
| 3543 |
|
| 3544 |
return yylineno; |
| 3545 |
} |
| 3546 |
|
| 3547 |
/** Get the current column number. |
| 3548 |
* @param yyscanner The scanner object. |
| 3549 |
*/ |
| 3550 |
int yyget_column (yyscan_t yyscanner) |
| 3551 |
{ |
| 3552 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3553 |
|
| 3554 |
if (! YY_CURRENT_BUFFER) |
| 3555 |
return 0; |
| 3556 |
|
| 3557 |
return yycolumn; |
| 3558 |
} |
| 3559 |
|
| 3560 |
/** Get the input stream. |
| 3561 |
* @param yyscanner The scanner object. |
| 3562 |
*/ |
| 3563 |
FILE *yyget_in (yyscan_t yyscanner) |
| 3564 |
{ |
| 3565 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3566 |
return yyin; |
| 3567 |
} |
| 3568 |
|
| 3569 |
/** Get the output stream. |
| 3570 |
* @param yyscanner The scanner object. |
| 3571 |
*/ |
| 3572 |
FILE *yyget_out (yyscan_t yyscanner) |
| 3573 |
{ |
| 3574 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3575 |
return yyout; |
| 3576 |
} |
| 3577 |
|
| 3578 |
/** Get the length of the current token. |
| 3579 |
* @param yyscanner The scanner object. |
| 3580 |
*/ |
| 3581 |
int yyget_leng (yyscan_t yyscanner) |
| 3582 |
{ |
| 3583 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3584 |
return yyleng; |
| 3585 |
} |
| 3586 |
|
| 3587 |
/** Get the current token. |
| 3588 |
* @param yyscanner The scanner object. |
| 3589 |
*/ |
| 3590 |
|
| 3591 |
char *yyget_text (yyscan_t yyscanner) |
| 3592 |
{ |
| 3593 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3594 |
return yytext; |
| 3595 |
} |
| 3596 |
|
| 3597 |
/** Set the user-defined data. This data is never touched by the scanner. |
| 3598 |
* @param user_defined The data to be associated with this scanner. |
| 3599 |
* @param yyscanner The scanner object. |
| 3600 |
*/ |
| 3601 |
void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner) |
| 3602 |
{ |
| 3603 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3604 |
yyextra = user_defined ; |
| 3605 |
} |
| 3606 |
|
| 3607 |
/** Set the current line number. |
| 3608 |
* @param _line_number line number |
| 3609 |
* @param yyscanner The scanner object. |
| 3610 |
*/ |
| 3611 |
void yyset_lineno (int _line_number , yyscan_t yyscanner) |
| 3612 |
{ |
| 3613 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3614 |
|
| 3615 |
/* lineno is only valid if an input buffer exists. */ |
| 3616 |
if (! YY_CURRENT_BUFFER ) |
| 3617 |
YY_FATAL_ERROR( "yyset_lineno called with no buffer" ); |
| 3618 |
|
| 3619 |
yylineno = _line_number; |
| 3620 |
} |
| 3621 |
|
| 3622 |
/** Set the current column. |
| 3623 |
* @param _column_no column number |
| 3624 |
* @param yyscanner The scanner object. |
| 3625 |
*/ |
| 3626 |
void yyset_column (int _column_no , yyscan_t yyscanner) |
| 3627 |
{ |
| 3628 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3629 |
|
| 3630 |
/* column is only valid if an input buffer exists. */ |
| 3631 |
if (! YY_CURRENT_BUFFER ) |
| 3632 |
YY_FATAL_ERROR( "yyset_column called with no buffer" ); |
| 3633 |
|
| 3634 |
yycolumn = _column_no; |
| 3635 |
} |
| 3636 |
|
| 3637 |
/** Set the input stream. This does not discard the current |
| 3638 |
* input buffer. |
| 3639 |
* @param _in_str A readable stream. |
| 3640 |
* @param yyscanner The scanner object. |
| 3641 |
* @see yy_switch_to_buffer |
| 3642 |
*/ |
| 3643 |
void yyset_in (FILE * _in_str , yyscan_t yyscanner) |
| 3644 |
{ |
| 3645 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3646 |
yyin = _in_str ; |
| 3647 |
} |
| 3648 |
|
| 3649 |
void yyset_out (FILE * _out_str , yyscan_t yyscanner) |
| 3650 |
{ |
| 3651 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3652 |
yyout = _out_str ; |
| 3653 |
} |
| 3654 |
|
| 3655 |
int yyget_debug (yyscan_t yyscanner) |
| 3656 |
{ |
| 3657 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3658 |
return yy_flex_debug; |
| 3659 |
} |
| 3660 |
|
| 3661 |
void yyset_debug (int _bdebug , yyscan_t yyscanner) |
| 3662 |
{ |
| 3663 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3664 |
yy_flex_debug = _bdebug ; |
| 3665 |
} |
| 3666 |
|
| 3667 |
/* Accessor methods for yylval and yylloc */ |
| 3668 |
|
| 3669 |
YYSTYPE * yyget_lval (yyscan_t yyscanner) |
| 3670 |
{ |
| 3671 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3672 |
return yylval; |
| 3673 |
} |
| 3674 |
|
| 3675 |
void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) |
| 3676 |
{ |
| 3677 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3678 |
yylval = yylval_param; |
| 3679 |
} |
| 3680 |
|
| 3681 |
YYLTYPE *yyget_lloc (yyscan_t yyscanner) |
| 3682 |
{ |
| 3683 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3684 |
return yylloc; |
| 3685 |
} |
| 3686 |
|
| 3687 |
void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner) |
| 3688 |
{ |
| 3689 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3690 |
yylloc = yylloc_param; |
| 3691 |
} |
| 3692 |
|
| 3693 |
/* User-visible API */ |
| 3694 |
|
| 3695 |
/* yylex_init is special because it creates the scanner itself, so it is |
| 3696 |
* the ONLY reentrant function that doesn't take the scanner as the last argument. |
| 3697 |
* That's why we explicitly handle the declaration, instead of using our macros. |
| 3698 |
*/ |
| 3699 |
int yylex_init(yyscan_t* ptr_yy_globals) |
| 3700 |
{ |
| 3701 |
if (ptr_yy_globals == NULL){ |
| 3702 |
errno = EINVAL; |
| 3703 |
return 1; |
| 3704 |
} |
| 3705 |
|
| 3706 |
*ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL ); |
| 3707 |
|
| 3708 |
if (*ptr_yy_globals == NULL){ |
| 3709 |
errno = ENOMEM; |
| 3710 |
return 1; |
| 3711 |
} |
| 3712 |
|
| 3713 |
/* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */ |
| 3714 |
memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); |
| 3715 |
|
| 3716 |
return yy_init_globals ( *ptr_yy_globals ); |
| 3717 |
} |
| 3718 |
|
| 3719 |
/* yylex_init_extra has the same functionality as yylex_init, but follows the |
| 3720 |
* convention of taking the scanner as the last argument. Note however, that |
| 3721 |
* this is a *pointer* to a scanner, as it will be allocated by this call (and |
| 3722 |
* is the reason, too, why this function also must handle its own declaration). |
| 3723 |
* The user defined value in the first argument will be available to yyalloc in |
| 3724 |
* the yyextra field. |
| 3725 |
*/ |
| 3726 |
int yylex_init_extra( YY_EXTRA_TYPE yy_user_defined, yyscan_t* ptr_yy_globals ) |
| 3727 |
{ |
| 3728 |
struct yyguts_t dummy_yyguts; |
| 3729 |
|
| 3730 |
yyset_extra (yy_user_defined, &dummy_yyguts); |
| 3731 |
|
| 3732 |
if (ptr_yy_globals == NULL){ |
| 3733 |
errno = EINVAL; |
| 3734 |
return 1; |
| 3735 |
} |
| 3736 |
|
| 3737 |
*ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); |
| 3738 |
|
| 3739 |
if (*ptr_yy_globals == NULL){ |
| 3740 |
errno = ENOMEM; |
| 3741 |
return 1; |
| 3742 |
} |
| 3743 |
|
| 3744 |
/* By setting to 0xAA, we expose bugs in |
| 3745 |
yy_init_globals. Leave at 0x00 for releases. */ |
| 3746 |
memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); |
| 3747 |
|
| 3748 |
yyset_extra (yy_user_defined, *ptr_yy_globals); |
| 3749 |
|
| 3750 |
return yy_init_globals ( *ptr_yy_globals ); |
| 3751 |
} |
| 3752 |
|
| 3753 |
static int yy_init_globals (yyscan_t yyscanner) |
| 3754 |
{ |
| 3755 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3756 |
/* Initialization is the same as for the non-reentrant scanner. |
| 3757 |
* This function is called from yylex_destroy(), so don't allocate here. |
| 3758 |
*/ |
| 3759 |
|
| 3760 |
yyg->yy_buffer_stack = NULL; |
| 3761 |
yyg->yy_buffer_stack_top = 0; |
| 3762 |
yyg->yy_buffer_stack_max = 0; |
| 3763 |
yyg->yy_c_buf_p = NULL; |
| 3764 |
yyg->yy_init = 0; |
| 3765 |
yyg->yy_start = 0; |
| 3766 |
|
| 3767 |
yyg->yy_start_stack_ptr = 0; |
| 3768 |
yyg->yy_start_stack_depth = 0; |
| 3769 |
yyg->yy_start_stack = NULL; |
| 3770 |
|
| 3771 |
/* Defined in main.c */ |
| 3772 |
#ifdef YY_STDINIT |
| 3773 |
yyin = stdin; |
| 3774 |
yyout = stdout; |
| 3775 |
#else |
| 3776 |
yyin = NULL; |
| 3777 |
yyout = NULL; |
| 3778 |
#endif |
| 3779 |
|
| 3780 |
/* For future reference: Set errno on error, since we are called by |
| 3781 |
* yylex_init() |
| 3782 |
*/ |
| 3783 |
return 0; |
| 3784 |
} |
| 3785 |
|
| 3786 |
/* yylex_destroy is for both reentrant and non-reentrant scanners. */ |
| 3787 |
int yylex_destroy (yyscan_t yyscanner) |
| 3788 |
{ |
| 3789 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3790 |
|
| 3791 |
/* Pop the buffer stack, destroying each element. */ |
| 3792 |
while(YY_CURRENT_BUFFER){ |
| 3793 |
yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner ); |
| 3794 |
YY_CURRENT_BUFFER_LVALUE = NULL; |
| 3795 |
yypop_buffer_state(yyscanner); |
| 3796 |
} |
| 3797 |
|
| 3798 |
/* Destroy the stack itself. */ |
| 3799 |
yyfree(yyg->yy_buffer_stack , yyscanner); |
| 3800 |
yyg->yy_buffer_stack = NULL; |
| 3801 |
|
| 3802 |
/* Destroy the start condition stack. */ |
| 3803 |
yyfree( yyg->yy_start_stack , yyscanner ); |
| 3804 |
yyg->yy_start_stack = NULL; |
| 3805 |
|
| 3806 |
/* Reset the globals. This is important in a non-reentrant scanner so the next time |
| 3807 |
* yylex() is called, initialization will occur. */ |
| 3808 |
yy_init_globals( yyscanner); |
| 3809 |
|
| 3810 |
/* Destroy the main struct (reentrant only). */ |
| 3811 |
yyfree ( yyscanner , yyscanner ); |
| 3812 |
yyscanner = NULL; |
| 3813 |
return 0; |
| 3814 |
} |
| 3815 |
|
| 3816 |
/* |
| 3817 |
* Internal utility routines. |
| 3818 |
*/ |
| 3819 |
|
| 3820 |
#ifndef yytext_ptr |
| 3821 |
static void yy_flex_strncpy (char* s1, const char * s2, int n , yyscan_t yyscanner) |
| 3822 |
{ |
| 3823 |
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 3824 |
(void)yyg; |
| 3825 |
|
| 3826 |
int i; |
| 3827 |
for ( i = 0; i < n; ++i ) |
| 3828 |
s1[i] = s2[i]; |
| 3829 |
} |
| 3830 |
#endif |
| 3831 |
|
| 3832 |
#ifdef YY_NEED_STRLEN |
| 3833 |
static int yy_flex_strlen (const char * s , yyscan_t yyscanner) |
| 3834 |
{ |
| 3835 |
int n; |
| 3836 |
for ( n = 0; s[n]; ++n ) |
| 3837 |
; |
| 3838 |
|
| 3839 |
return n; |
| 3840 |
} |
| 3841 |
#endif |
| 3842 |
|
| 3843 |
#define YYTABLES_NAME "yytables" |
| 3844 |
|
| 3845 |
#line 401 "fcml_gas_lexer.l" |
| 3846 |
|
| 3847 |
|
| 3848 |
|