1#include "bconfig.h" 2#line 2 "gengtype-lex.c" 3 4#line 4 "gengtype-lex.c" 5 6#define YY_INT_ALIGNED short int 7 8/* A lexical scanner generated by flex */ 9 10#define FLEX_SCANNER 11#define YY_FLEX_MAJOR_VERSION 2 12#define YY_FLEX_MINOR_VERSION 5 13#define YY_FLEX_SUBMINOR_VERSION 35 14#if YY_FLEX_SUBMINOR_VERSION > 0 15#define FLEX_BETA 16#endif 17 18/* First, we deal with platform-specific or compiler-specific issues. */ 19 20/* begin standard C headers. */ 21#include <stdio.h> 22#include <string.h> 23#include <errno.h> 24#include <stdlib.h> 25 26/* end standard C headers. */ 27 28/* flex integer type definitions */ 29 30#ifndef FLEXINT_H 31#define FLEXINT_H 32 33/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ 34 35#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 36 37/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, 38 * if you want the limit (max/min) macros for int types. 39 */ 40#ifndef __STDC_LIMIT_MACROS 41#define __STDC_LIMIT_MACROS 1 42#endif 43 44#include <inttypes.h> 45typedef int8_t flex_int8_t; 46typedef uint8_t flex_uint8_t; 47typedef int16_t flex_int16_t; 48typedef uint16_t flex_uint16_t; 49typedef int32_t flex_int32_t; 50typedef uint32_t flex_uint32_t; 51#else 52typedef signed char flex_int8_t; 53typedef short int flex_int16_t; 54typedef int flex_int32_t; 55typedef unsigned char flex_uint8_t; 56typedef unsigned short int flex_uint16_t; 57typedef unsigned int flex_uint32_t; 58#endif /* ! C99 */ 59 60/* Limits of integral types. */ 61#ifndef INT8_MIN 62#define INT8_MIN (-128) 63#endif 64#ifndef INT16_MIN 65#define INT16_MIN (-32767-1) 66#endif 67#ifndef INT32_MIN 68#define INT32_MIN (-2147483647-1) 69#endif 70#ifndef INT8_MAX 71#define INT8_MAX (127) 72#endif 73#ifndef INT16_MAX 74#define INT16_MAX (32767) 75#endif 76#ifndef INT32_MAX 77#define INT32_MAX (2147483647) 78#endif 79#ifndef UINT8_MAX 80#define UINT8_MAX (255U) 81#endif 82#ifndef UINT16_MAX 83#define UINT16_MAX (65535U) 84#endif 85#ifndef UINT32_MAX 86#define UINT32_MAX (4294967295U) 87#endif 88 89#endif /* ! FLEXINT_H */ 90 91#ifdef __cplusplus 92 93/* The "const" storage-class-modifier is valid. */ 94#define YY_USE_CONST 95 96#else /* ! __cplusplus */ 97 98/* C99 requires __STDC__ to be defined as 1. */ 99#if defined (__STDC__) 100 101#define YY_USE_CONST 102 103#endif /* defined (__STDC__) */ 104#endif /* ! __cplusplus */ 105 106#ifdef YY_USE_CONST 107#define yyconst const 108#else 109#define yyconst 110#endif 111 112/* Returned upon end-of-file. */ 113#define YY_NULL 0 114 115/* Promotes a possibly negative, possibly signed char to an unsigned 116 * integer for use as an array index. If the signed char is negative, 117 * we want to instead treat it as an 8-bit unsigned char, hence the 118 * double cast. 119 */ 120#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) 121 122/* Enter a start condition. This macro really ought to take a parameter, 123 * but we do it the disgusting crufty way forced on us by the ()-less 124 * definition of BEGIN. 125 */ 126#define BEGIN (yy_start) = 1 + 2 * 127 128/* Translate the current start state into a value that can be later handed 129 * to BEGIN to return to the state. The YYSTATE alias is for lex 130 * compatibility. 131 */ 132#define YY_START (((yy_start) - 1) / 2) 133#define YYSTATE YY_START 134 135/* Action number for EOF rule of a given start state. */ 136#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 137 138/* Special action meaning "start processing a new file". */ 139#define YY_NEW_FILE yyrestart(yyin ) 140 141#define YY_END_OF_BUFFER_CHAR 0 142 143/* Size of default input buffer. */ 144#ifndef YY_BUF_SIZE 145#define YY_BUF_SIZE 16384 146#endif 147 148/* The state buf must be large enough to hold one state per character in the main buffer. 149 */ 150#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) 151 152#ifndef YY_TYPEDEF_YY_BUFFER_STATE 153#define YY_TYPEDEF_YY_BUFFER_STATE 154typedef struct yy_buffer_state *YY_BUFFER_STATE; 155#endif 156 157extern int yyleng; 158 159extern FILE *yyin, *yyout; 160 161#define EOB_ACT_CONTINUE_SCAN 0 162#define EOB_ACT_END_OF_FILE 1 163#define EOB_ACT_LAST_MATCH 2 164 165 #define YY_LESS_LINENO(n) 166 167/* Return all but the first "n" matched characters back to the input stream. */ 168#define yyless(n) \ 169 do \ 170 { \ 171 /* Undo effects of setting up yytext. */ \ 172 int yyless_macro_arg = (n); \ 173 YY_LESS_LINENO(yyless_macro_arg);\ 174 *yy_cp = (yy_hold_char); \ 175 YY_RESTORE_YY_MORE_OFFSET \ 176 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 177 YY_DO_BEFORE_ACTION; /* set up yytext again */ \ 178 } \ 179 while ( 0 ) 180 181#define unput(c) yyunput( c, (yytext_ptr) ) 182 183#ifndef YY_TYPEDEF_YY_SIZE_T 184#define YY_TYPEDEF_YY_SIZE_T 185typedef size_t yy_size_t; 186#endif 187 188#ifndef YY_STRUCT_YY_BUFFER_STATE 189#define YY_STRUCT_YY_BUFFER_STATE 190struct yy_buffer_state 191 { 192 FILE *yy_input_file; 193 194 char *yy_ch_buf; /* input buffer */ 195 char *yy_buf_pos; /* current position in input buffer */ 196 197 /* Size of input buffer in bytes, not including room for EOB 198 * characters. 199 */ 200 yy_size_t yy_buf_size; 201 202 /* Number of characters read into yy_ch_buf, not including EOB 203 * characters. 204 */ 205 int yy_n_chars; 206 207 /* Whether we "own" the buffer - i.e., we know we created it, 208 * and can realloc() it to grow it, and should free() it to 209 * delete it. 210 */ 211 int yy_is_our_buffer; 212 213 /* Whether this is an "interactive" input source; if so, and 214 * if we're using stdio for input, then we want to use getc() 215 * instead of fread(), to make sure we stop fetching input after 216 * each newline. 217 */ 218 int yy_is_interactive; 219 220 /* Whether we're considered to be at the beginning of a line. 221 * If so, '^' rules will be active on the next match, otherwise 222 * not. 223 */ 224 int yy_at_bol; 225 226 int yy_bs_lineno; /**< The line count. */ 227 int yy_bs_column; /**< The column count. */ 228 229 /* Whether to try to fill the input buffer when we reach the 230 * end of it. 231 */ 232 int yy_fill_buffer; 233 234 int yy_buffer_status; 235 236#define YY_BUFFER_NEW 0 237#define YY_BUFFER_NORMAL 1 238 /* When an EOF's been seen but there's still some text to process 239 * then we mark the buffer as YY_EOF_PENDING, to indicate that we 240 * shouldn't try reading from the input source any more. We might 241 * still have a bunch of tokens to match, though, because of 242 * possible backing-up. 243 * 244 * When we actually see the EOF, we change the status to "new" 245 * (via yyrestart()), so that the user can continue scanning by 246 * just pointing yyin at a new input file. 247 */ 248#define YY_BUFFER_EOF_PENDING 2 249 250 }; 251#endif /* !YY_STRUCT_YY_BUFFER_STATE */ 252 253/* Stack of input buffers. */ 254static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ 255static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ 256static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ 257 258/* We provide macros for accessing buffer states in case in the 259 * future we want to put the buffer states in a more general 260 * "scanner state". 261 * 262 * Returns the top of the stack, or NULL. 263 */ 264#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ 265 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 266 : NULL) 267 268/* Same as previous macro, but useful when we know that the buffer stack is not 269 * NULL or when we need an lvalue. For internal use only. 270 */ 271#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 272 273/* yy_hold_char holds the character lost when yytext is formed. */ 274static char yy_hold_char; 275static int yy_n_chars; /* number of characters read into yy_ch_buf */ 276int yyleng; 277 278/* Points to current character in buffer. */ 279static char *yy_c_buf_p = (char *) 0; 280static int yy_init = 0; /* whether we need to initialize */ 281static int yy_start = 0; /* start state number */ 282 283/* Flag which is used to allow yywrap()'s to do buffer switches 284 * instead of setting up a fresh yyin. A bit of a hack ... 285 */ 286static int yy_did_buffer_switch_on_eof; 287 288void yyrestart (FILE *input_file ); 289void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); 290YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); 291void yy_delete_buffer (YY_BUFFER_STATE b ); 292void yy_flush_buffer (YY_BUFFER_STATE b ); 293void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); 294void yypop_buffer_state (void ); 295 296static void yyensure_buffer_stack (void ); 297static void yy_load_buffer_state (void ); 298static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); 299 300#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) 301 302YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); 303YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); 304YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); 305 306void *yyalloc (yy_size_t ); 307void *yyrealloc (void *,yy_size_t ); 308void yyfree (void * ); 309 310#define yy_new_buffer yy_create_buffer 311 312#define yy_set_interactive(is_interactive) \ 313 { \ 314 if ( ! YY_CURRENT_BUFFER ){ \ 315 yyensure_buffer_stack (); \ 316 YY_CURRENT_BUFFER_LVALUE = \ 317 yy_create_buffer(yyin,YY_BUF_SIZE ); \ 318 } \ 319 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 320 } 321 322#define yy_set_bol(at_bol) \ 323 { \ 324 if ( ! YY_CURRENT_BUFFER ){\ 325 yyensure_buffer_stack (); \ 326 YY_CURRENT_BUFFER_LVALUE = \ 327 yy_create_buffer(yyin,YY_BUF_SIZE ); \ 328 } \ 329 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 330 } 331 332#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 333 334/* Begin user sect3 */ 335 336#define yywrap(n) 1 337#define YY_SKIP_YYWRAP 338 339typedef unsigned char YY_CHAR; 340 341FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; 342 343typedef int yy_state_type; 344 345extern int yylineno; 346 347int yylineno = 1; 348 349extern char *yytext; 350#define yytext_ptr yytext 351 352static yy_state_type yy_get_previous_state (void ); 353static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); 354static int yy_get_next_buffer (void ); 355static void yy_fatal_error (yyconst char msg[] ); 356 357/* Done after the current pattern has been matched and before the 358 * corresponding action - sets up yytext. 359 */ 360#define YY_DO_BEFORE_ACTION \ 361 (yytext_ptr) = yy_bp; \ 362 yyleng = (size_t) (yy_cp - yy_bp); \ 363 (yy_hold_char) = *yy_cp; \ 364 *yy_cp = '\0'; \ 365 (yy_c_buf_p) = yy_cp; 366 367#define YY_NUM_RULES 53 368#define YY_END_OF_BUFFER 54 369/* This struct is not used in this scanner, 370 but its presence is necessary. */ 371struct yy_trans_info 372 { 373 flex_int32_t yy_verify; 374 flex_int32_t yy_nxt; 375 }; 376static yyconst flex_int16_t yy_accept[561] = 377 { 0, 378 0, 0, 0, 0, 0, 0, 0, 0, 54, 41, 379 38, 50, 41, 50, 39, 41, 41, 39, 39, 39, 380 39, 39, 35, 9, 9, 33, 35, 15, 35, 33, 381 35, 25, 35, 35, 35, 35, 35, 35, 35, 35, 382 14, 35, 35, 35, 35, 35, 35, 35, 35, 35, 383 35, 35, 35, 35, 13, 9, 35, 46, 44, 51, 384 51, 0, 42, 0, 0, 0, 43, 36, 43, 0, 385 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 386 0, 39, 39, 39, 39, 39, 9, 0, 29, 0, 387 0, 0, 0, 7, 0, 25, 28, 28, 0, 28, 388 389 0, 0, 0, 0, 0, 0, 0, 30, 10, 0, 390 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 391 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 392 0, 9, 0, 0, 0, 0, 47, 49, 48, 40, 393 0, 37, 0, 0, 0, 0, 0, 0, 0, 39, 394 39, 39, 39, 39, 39, 31, 32, 0, 8, 0, 395 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 396 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 397 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 398 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 399 400 0, 39, 0, 0, 0, 0, 0, 0, 0, 39, 401 39, 39, 39, 39, 39, 0, 0, 0, 0, 0, 402 16, 16, 16, 0, 0, 0, 0, 0, 0, 0, 403 0, 0, 0, 26, 26, 26, 0, 26, 0, 0, 404 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 405 0, 0, 0, 0, 0, 0, 39, 0, 0, 0, 406 0, 0, 0, 0, 39, 39, 39, 39, 39, 39, 407 0, 0, 0, 0, 0, 0, 0, 0, 21, 21, 408 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 409 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410 411 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412 24, 24, 24, 0, 0, 0, 0, 0, 0, 0, 413 0, 4, 4, 4, 39, 39, 39, 39, 3, 3, 414 3, 0, 0, 0, 0, 0, 19, 19, 19, 11, 415 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 416 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 417 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 418 0, 0, 0, 0, 0, 0, 5, 5, 5, 6, 419 6, 6, 2, 2, 2, 39, 0, 0, 0, 0, 420 0, 12, 12, 12, 0, 0, 0, 0, 0, 0, 421 422 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423 0, 0, 0, 0, 28, 18, 18, 18, 0, 0, 424 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 425 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 426 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 427 12, 12, 20, 20, 20, 0, 0, 0, 0, 0, 428 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 429 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 430 0, 0, 0, 0, 0, 0, 0, 22, 22, 22, 431 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 432 433 0, 0, 23, 23, 23, 0, 52, 0, 0, 0, 434 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 435 0, 0, 0, 0, 28, 28, 28, 0, 0, 0, 436 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 437 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 438 0, 45, 0, 0, 0, 0, 0, 0, 0, 0 439 } ; 440 441static yyconst flex_int32_t yy_ec[256] = 442 { 0, 443 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 444 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 445 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 446 1, 2, 4, 5, 6, 1, 4, 7, 8, 9, 447 10, 11, 4, 4, 4, 12, 13, 14, 14, 14, 448 14, 15, 14, 16, 14, 14, 14, 17, 4, 4, 449 4, 4, 4, 1, 18, 19, 20, 21, 22, 23, 450 24, 25, 26, 27, 27, 28, 29, 30, 31, 32, 451 27, 33, 34, 35, 36, 27, 37, 27, 38, 27, 452 39, 40, 41, 42, 43, 1, 44, 45, 46, 47, 453 454 48, 49, 50, 51, 52, 53, 53, 54, 55, 56, 455 57, 58, 53, 59, 60, 61, 62, 63, 53, 64, 456 65, 66, 4, 4, 4, 67, 1, 1, 1, 1, 457 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 458 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 459 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 460 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 461 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 462 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 463 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 464 465 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 466 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 467 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 468 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 469 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 470 1, 1, 1, 1, 1 471 } ; 472 473static yyconst flex_int32_t yy_meta[68] = 474 { 0, 475 1, 2, 3, 1, 1, 1, 1, 1, 1, 4, 476 5, 1, 1, 6, 6, 7, 8, 9, 9, 9, 477 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 478 9, 9, 9, 9, 9, 9, 9, 9, 10, 1, 479 1, 1, 11, 11, 11, 11, 11, 11, 11, 11, 480 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 481 11, 11, 11, 11, 11, 11, 1 482 } ; 483 484static yyconst flex_int16_t yy_base[608] = 485 { 0, 486 0, 67, 134, 16, 16, 17, 18, 20, 1232, 2403, 487 2403, 19, 1191, 19, 31, 41, 43, 32, 33, 34, 488 35, 36, 2403, 23, 52, 2403, 51, 2403, 1190, 1217, 489 33, 46, 201, 268, 26, 33, 63, 81, 1187, 1224, 490 2403, 54, 65, 57, 62, 73, 188, 189, 83, 190, 491 191, 184, 186, 202, 2403, 118, 1224, 0, 2403, 1212, 492 1211, 219, 2403, 0, 1215, 1219, 2403, 2403, 1218, 108, 493 214, 1203, 254, 235, 1165, 1154, 1156, 1151, 1159, 236, 494 1166, 247, 284, 287, 230, 288, 63, 221, 2403, 1210, 495 1204, 1208, 1198, 2403, 1206, 213, 2403, 294, 1173, 1186, 496 497 1171, 234, 194, 92, 224, 253, 1160, 2403, 2403, 236, 498 275, 281, 261, 232, 266, 272, 282, 267, 287, 289, 499 296, 263, 299, 295, 301, 290, 302, 298, 307, 310, 500 311, 352, 1198, 1197, 368, 0, 2403, 2403, 2403, 2403, 501 1195, 2403, 1195, 1152, 1134, 306, 1136, 1141, 1143, 375, 502 358, 376, 374, 362, 381, 2403, 2403, 1188, 2403, 364, 503 1173, 1187, 341, 353, 351, 438, 364, 355, 343, 330, 504 421, 422, 356, 428, 357, 423, 365, 505, 426, 425, 505 429, 337, 430, 427, 431, 433, 434, 436, 432, 435, 506 437, 441, 438, 443, 442, 465, 1185, 2403, 570, 0, 507 508 1185, 392, 1126, 1137, 1123, 1120, 1133, 1123, 1113, 502, 509 518, 485, 521, 523, 524, 1162, 636, 496, 376, 499, 510 2403, 526, 1146, 505, 518, 1146, 472, 440, 498, 703, 511 500, 502, 503, 2403, 769, 548, 102, 1144, 520, 522, 512 532, 521, 540, 523, 524, 526, 547, 529, 548, 551, 513 192, 567, 555, 556, 831, 0, 586, 1100, 1100, 1106, 514 1111, 1109, 1099, 1098, 898, 595, 648, 591, 652, 965, 515 1032, 570, 573, 576, 371, 565, 1099, 1166, 2403, 653, 516 1136, 625, 561, 0, 656, 1121, 1119, 643, 1093, 1098, 517 1100, 1091, 1089, 548, 607, 636, 633, 626, 629, 635, 518 519 631, 637, 651, 640, 653, 657, 658, 686, 704, 1233, 520 2403, 719, 1128, 0, 0, 1088, 1097, 1081, 1089, 0, 521 1088, 2403, 720, 1118, 1300, 1367, 1434, 724, 2403, 721, 522 1117, 660, 662, 666, 702, 699, 2403, 729, 1116, 2403, 523 730, 1115, 1501, 1100, 1098, 1096, 1094, 1070, 1082, 1062, 524 691, 1068, 1066, 689, 1066, 1061, 696, 697, 718, 719, 525 698, 722, 734, 1568, 723, 727, 725, 2403, 760, 1103, 526 0, 0, 0, 0, 1070, 758, 2403, 761, 1101, 2403, 527 762, 1100, 2403, 764, 1098, 1635, 752, 749, 760, 766, 528 772, 2403, 783, 1097, 1085, 1078, 1076, 1061, 1041, 1035, 529 530 1050, 1049, 796, 1041, 1031, 1033, 1040, 1026, 1034, 738, 531 751, 787, 771, 776, 1068, 2403, 807, 1067, 774, 1702, 532 786, 0, 0, 825, 2403, 809, 1066, 822, 820, 827, 533 770, 824, 1039, 1056, 1037, 1036, 858, 1017, 1016, 2403, 534 850, 1061, 1014, 1022, 1026, 1052, 1017, 825, 828, 831, 535 2403, 1064, 2403, 861, 1048, 0, 1029, 799, 838, 850, 536 834, 846, 1044, 1044, 1028, 1023, 1016, 1011, 996, 1041, 537 826, 849, 1769, 0, 1017, 857, 859, 862, 865, 866, 538 1028, 1020, 1030, 1025, 989, 1005, 1836, 2403, 910, 1030, 539 0, 1037, 885, 864, 886, 887, 889, 996, 987, 1005, 540 541 1007, 965, 2403, 919, 1007, 0, 2403, 902, 903, 910, 542 893, 1000, 988, 978, 997, 0, 911, 948, 991, 989, 543 980, 965, 0, 904, 943, 946, 927, 976, 973, 972, 544 938, 0, 923, 978, 981, 941, 959, 983, 935, 929, 545 921, 923, 0, 986, 989, 2403, 999, 909, 861, 786, 546 771, 2403, 694, 589, 496, 1008, 360, 1010, 91, 2403, 547 1903, 1914, 1925, 1936, 1947, 1957, 1968, 1979, 1990, 2001, 548 2011, 2022, 2033, 2044, 2055, 2066, 2077, 2087, 2097, 2108, 549 2118, 2129, 2140, 2151, 2162, 2172, 2182, 2193, 2203, 2213, 550 2223, 2233, 2243, 2254, 2263, 2274, 2285, 2296, 2307, 2318, 551 552 2329, 2339, 2350, 2360, 2371, 2381, 2391 553 } ; 554 555static yyconst flex_int16_t yy_def[608] = 556 { 0, 557 561, 561, 560, 3, 562, 562, 562, 562, 560, 560, 558 560, 563, 564, 565, 566, 560, 560, 566, 566, 566, 559 566, 566, 560, 560, 560, 560, 567, 560, 568, 560, 560 560, 560, 569, 569, 34, 34, 34, 34, 570, 560, 561 560, 34, 34, 34, 34, 34, 34, 34, 34, 34, 562 34, 34, 34, 34, 560, 560, 571, 572, 560, 573, 563 573, 563, 560, 563, 560, 564, 560, 560, 574, 560, 564 566, 560, 560, 560, 560, 560, 560, 560, 560, 560, 565 560, 566, 566, 566, 566, 566, 560, 567, 560, 567, 566 560, 568, 560, 560, 575, 560, 560, 560, 34, 560, 567 568 34, 34, 34, 34, 34, 34, 570, 560, 560, 34, 569 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 570 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 571 34, 560, 571, 571, 576, 577, 560, 560, 560, 560, 572 574, 560, 578, 560, 560, 560, 560, 560, 560, 566, 573 566, 566, 566, 566, 566, 560, 560, 575, 560, 560, 574 560, 579, 34, 34, 34, 569, 34, 34, 34, 34, 575 34, 34, 34, 34, 34, 34, 34, 569, 34, 34, 576 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 577 34, 34, 34, 34, 34, 34, 576, 560, 576, 580, 578 579 578, 581, 560, 560, 560, 560, 560, 560, 560, 566, 580 566, 566, 566, 566, 566, 579, 582, 34, 34, 34, 581 560, 560, 560, 34, 34, 178, 34, 34, 34, 569, 582 34, 34, 34, 560, 560, 235, 34, 560, 34, 34, 583 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 584 34, 34, 34, 34, 569, 583, 581, 560, 560, 560, 585 560, 560, 560, 560, 566, 566, 566, 566, 566, 566, 586 582, 34, 34, 34, 34, 34, 569, 569, 560, 560, 587 560, 34, 34, 235, 235, 560, 560, 560, 560, 560, 588 560, 560, 560, 560, 560, 34, 34, 34, 34, 34, 589 590 34, 34, 34, 34, 34, 34, 34, 34, 34, 569, 591 560, 560, 560, 584, 585, 560, 560, 560, 560, 586, 592 560, 560, 560, 560, 566, 566, 566, 566, 560, 560, 593 560, 34, 34, 34, 34, 34, 560, 560, 560, 560, 594 560, 560, 569, 560, 560, 560, 560, 560, 560, 560, 595 560, 560, 560, 560, 560, 560, 34, 34, 34, 34, 596 34, 34, 34, 569, 34, 34, 34, 560, 560, 560, 597 587, 588, 589, 590, 560, 560, 560, 560, 560, 560, 598 560, 560, 560, 560, 560, 566, 34, 34, 34, 34, 599 34, 560, 560, 560, 560, 560, 560, 560, 560, 560, 600 601 560, 560, 591, 560, 560, 560, 560, 560, 560, 34, 602 34, 34, 34, 34, 592, 560, 560, 560, 34, 569, 603 34, 593, 594, 560, 560, 560, 560, 34, 34, 34, 604 34, 34, 560, 560, 560, 560, 591, 560, 560, 560, 605 235, 560, 560, 560, 560, 560, 560, 34, 34, 34, 606 560, 595, 560, 560, 560, 596, 560, 34, 34, 34, 607 34, 34, 560, 560, 560, 560, 560, 560, 560, 560, 608 34, 34, 569, 597, 560, 34, 34, 34, 34, 34, 609 560, 560, 560, 560, 560, 560, 569, 560, 560, 560, 610 598, 560, 34, 34, 34, 34, 34, 560, 560, 560, 611 612 560, 560, 560, 560, 560, 599, 560, 34, 34, 34, 613 34, 560, 560, 560, 560, 600, 34, 34, 560, 560, 614 560, 560, 601, 34, 560, 560, 602, 560, 560, 560, 615 560, 603, 34, 560, 560, 602, 602, 604, 560, 560, 616 560, 560, 605, 560, 560, 560, 604, 560, 560, 560, 617 560, 560, 606, 560, 606, 607, 560, 607, 560, 0, 618 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 619 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 620 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 621 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 622 623 560, 560, 560, 560, 560, 560, 560 624 } ; 625 626static yyconst flex_int16_t yy_nxt[2471] = 627 { 0, 628 10, 10, 11, 10, 12, 10, 10, 13, 10, 10, 629 10, 10, 14, 10, 10, 10, 10, 56, 59, 59, 630 59, 57, 59, 63, 87, 87, 60, 60, 61, 68, 631 61, 69, 70, 70, 70, 70, 70, 70, 10, 10, 632 10, 10, 73, 94, 80, 95, 74, 72, 72, 72, 633 72, 72, 72, 87, 87, 89, 99, 102, 64, 96, 634 96, 96, 103, 99, 87, 87, 10, 10, 16, 11, 635 10, 12, 17, 10, 13, 10, 10, 10, 10, 14, 636 10, 10, 10, 10, 99, 82, 75, 99, 76, 81, 637 90, 86, 99, 99, 84, 99, 83, 104, 105, 85, 638 639 77, 78, 79, 99, 114, 10, 10, 10, 10, 70, 640 110, 106, 18, 99, 19, 111, 296, 115, 112, 132, 641 87, 113, 99, 133, 72, 437, 20, 21, 22, 166, 642 119, 116, 99, 10, 23, 24, 25, 26, 27, 23, 643 28, 29, 26, 26, 26, 30, 31, 32, 32, 32, 644 26, 33, 34, 35, 33, 36, 33, 37, 38, 33, 645 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 646 33, 33, 39, 40, 23, 41, 33, 33, 42, 43, 647 44, 45, 46, 33, 33, 47, 33, 48, 33, 49, 648 50, 51, 33, 52, 53, 54, 33, 33, 33, 33, 649 650 55, 97, 98, 97, 97, 97, 97, 97, 97, 97, 651 97, 97, 97, 97, 99, 70, 99, 100, 99, 99, 652 99, 99, 99, 63, 99, 89, 96, 96, 96, 165, 653 72, 70, 99, 127, 124, 125, 80, 80, 308, 97, 654 97, 97, 97, 117, 126, 118, 72, 120, 70, 121, 655 128, 122, 123, 129, 99, 73, 167, 130, 64, 74, 656 90, 131, 99, 72, 99, 164, 99, 97, 97, 98, 657 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 658 97, 81, 81, 99, 100, 70, 168, 154, 70, 70, 659 150, 99, 169, 99, 173, 160, 99, 99, 101, 75, 660 661 72, 76, 99, 72, 72, 99, 97, 97, 97, 97, 662 161, 99, 99, 77, 78, 79, 172, 99, 170, 99, 663 99, 184, 179, 175, 171, 99, 99, 174, 99, 99, 664 152, 99, 99, 189, 97, 176, 181, 99, 177, 155, 665 99, 99, 178, 185, 151, 153, 180, 182, 190, 205, 666 187, 186, 183, 132, 87, 192, 191, 133, 196, 70, 667 99, 194, 193, 70, 206, 160, 188, 99, 218, 195, 668 198, 99, 219, 99, 72, 70, 70, 70, 72, 220, 669 161, 99, 70, 99, 224, 99, 99, 99, 226, 225, 670 72, 72, 72, 70, 99, 99, 226, 72, 229, 241, 671 672 273, 99, 559, 335, 231, 211, 99, 233, 72, 214, 673 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 674 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 675 199, 199, 199, 199, 210, 213, 212, 215, 221, 222, 676 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 677 221, 99, 99, 99, 223, 99, 99, 99, 99, 99, 678 99, 99, 99, 99, 99, 99, 99, 99, 99, 243, 679 99, 99, 99, 99, 232, 226, 221, 221, 221, 221, 680 227, 228, 230, 247, 244, 239, 70, 240, 251, 246, 681 242, 245, 248, 254, 250, 99, 249, 555, 252, 253, 682 683 278, 72, 99, 70, 221, 234, 235, 236, 234, 234, 684 234, 234, 234, 234, 234, 234, 234, 234, 72, 70, 685 237, 238, 70, 255, 70, 70, 99, 160, 99, 99, 686 99, 277, 99, 99, 72, 99, 267, 72, 272, 72, 687 72, 274, 161, 234, 234, 234, 234, 275, 99, 285, 688 99, 99, 99, 99, 99, 282, 99, 283, 226, 99, 689 276, 265, 99, 226, 560, 298, 268, 297, 300, 269, 690 99, 234, 198, 303, 302, 299, 266, 99, 99, 270, 691 305, 99, 309, 301, 226, 99, 99, 70, 332, 304, 692 333, 99, 70, 306, 334, 99, 70, 99, 353, 354, 693 694 99, 336, 72, 99, 307, 187, 99, 72, 343, 557, 695 310, 72, 199, 199, 199, 199, 199, 199, 199, 199, 696 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 697 199, 199, 199, 199, 199, 199, 97, 98, 97, 97, 698 97, 97, 97, 97, 97, 97, 97, 97, 97, 70, 699 325, 327, 100, 70, 160, 99, 99, 285, 355, 99, 700 346, 99, 356, 99, 72, 99, 99, 99, 72, 161, 701 99, 343, 560, 347, 97, 97, 97, 97, 357, 358, 702 361, 99, 363, 99, 362, 387, 359, 99, 99, 360, 703 99, 389, 99, 326, 388, 555, 99, 226, 343, 328, 704 705 226, 365, 97, 279, 280, 279, 279, 279, 279, 279, 706 279, 279, 279, 279, 279, 279, 99, 364, 367, 281, 707 160, 70, 70, 390, 391, 70, 99, 99, 99, 99, 708 160, 160, 99, 366, 99, 161, 72, 72, 406, 410, 709 72, 279, 279, 279, 279, 161, 161, 402, 99, 99, 710 415, 403, 99, 99, 407, 99, 226, 99, 413, 424, 711 424, 160, 70, 70, 99, 70, 412, 421, 99, 279, 712 284, 285, 386, 414, 411, 420, 161, 72, 72, 99, 713 72, 99, 99, 419, 160, 161, 428, 286, 287, 431, 714 99, 429, 432, 288, 430, 448, 99, 441, 441, 161, 715 716 99, 99, 99, 415, 99, 437, 99, 554, 160, 343, 717 70, 442, 461, 289, 290, 291, 99, 99, 449, 450, 718 292, 343, 293, 161, 476, 72, 424, 424, 294, 99, 719 295, 311, 312, 311, 311, 311, 311, 311, 311, 311, 720 311, 311, 311, 311, 458, 462, 226, 313, 457, 460, 721 99, 285, 99, 459, 99, 99, 99, 99, 99, 441, 722 441, 99, 160, 477, 99, 415, 560, 479, 99, 311, 723 311, 311, 311, 560, 472, 478, 99, 161, 493, 99, 724 99, 437, 494, 495, 487, 471, 496, 99, 480, 99, 725 473, 497, 99, 509, 99, 99, 99, 311, 322, 323, 726 727 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 728 322, 160, 508, 510, 324, 99, 99, 99, 511, 99, 729 160, 226, 226, 99, 517, 553, 161, 226, 537, 537, 730 518, 524, 99, 99, 99, 161, 322, 322, 322, 322, 731 99, 99, 537, 537, 534, 535, 533, 535, 535, 525, 732 526, 536, 551, 99, 536, 437, 527, 226, 550, 161, 733 537, 537, 549, 542, 322, 329, 330, 329, 329, 329, 734 329, 329, 329, 329, 329, 329, 329, 329, 99, 534, 735 535, 331, 535, 535, 544, 545, 536, 544, 545, 536, 736 545, 545, 546, 541, 161, 546, 540, 539, 546, 548, 737 738 544, 545, 548, 329, 329, 329, 329, 531, 546, 544, 739 545, 544, 545, 530, 529, 548, 528, 546, 522, 546, 740 521, 520, 519, 162, 548, 437, 548, 515, 514, 513, 741 512, 329, 97, 98, 97, 97, 97, 97, 97, 97, 742 97, 97, 97, 97, 97, 507, 162, 502, 100, 437, 743 501, 500, 499, 498, 492, 486, 437, 437, 485, 484, 744 483, 482, 481, 475, 162, 216, 406, 470, 469, 468, 745 97, 97, 97, 97, 437, 467, 437, 437, 466, 465, 746 464, 463, 143, 162, 452, 447, 446, 445, 444, 443, 747 437, 439, 438, 437, 437, 436, 435, 434, 97, 337, 748 749 338, 337, 337, 337, 337, 337, 337, 337, 337, 337, 750 337, 337, 433, 162, 143, 339, 143, 143, 423, 162, 751 409, 408, 405, 404, 401, 400, 399, 398, 397, 396, 752 395, 162, 162, 143, 143, 376, 375, 337, 337, 337, 753 337, 374, 373, 372, 162, 352, 351, 350, 349, 348, 754 345, 344, 162, 321, 320, 319, 318, 317, 316, 315, 755 162, 99, 162, 216, 264, 337, 340, 341, 340, 340, 756 340, 340, 340, 340, 340, 340, 340, 340, 340, 263, 757 262, 261, 342, 260, 259, 258, 201, 198, 216, 162, 758 159, 209, 208, 207, 204, 203, 201, 142, 134, 134, 759 760 108, 163, 162, 99, 340, 340, 340, 340, 159, 157, 761 560, 156, 560, 149, 148, 147, 146, 145, 144, 143, 762 142, 560, 140, 139, 138, 134, 109, 108, 93, 92, 763 66, 560, 340, 368, 369, 368, 368, 368, 368, 368, 764 368, 368, 368, 368, 368, 368, 560, 560, 560, 370, 765 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 766 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 767 560, 368, 368, 368, 368, 560, 560, 560, 560, 560, 768 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 769 560, 560, 560, 560, 560, 560, 560, 560, 560, 368, 770 771 377, 378, 377, 377, 377, 377, 377, 377, 377, 377, 772 377, 377, 377, 560, 560, 560, 379, 560, 560, 560, 773 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 774 560, 560, 560, 560, 560, 560, 560, 560, 377, 377, 775 377, 377, 560, 560, 560, 560, 560, 560, 560, 560, 776 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 777 560, 560, 560, 560, 560, 560, 377, 380, 381, 380, 778 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, 779 560, 560, 560, 382, 560, 560, 560, 560, 560, 560, 780 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 781 782 560, 560, 560, 560, 560, 380, 380, 380, 380, 560, 783 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 784 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 785 560, 560, 560, 380, 383, 384, 383, 383, 383, 383, 786 383, 383, 383, 383, 383, 383, 383, 560, 560, 560, 787 385, 560, 560, 560, 560, 560, 560, 560, 560, 560, 788 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 789 560, 560, 383, 383, 383, 383, 560, 560, 560, 560, 790 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 791 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 792 793 383, 392, 393, 392, 392, 392, 392, 392, 392, 392, 794 392, 392, 392, 392, 560, 560, 560, 394, 560, 560, 795 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 796 560, 560, 560, 560, 560, 560, 560, 560, 560, 392, 797 392, 392, 392, 560, 560, 560, 560, 560, 560, 560, 798 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 799 560, 560, 560, 560, 560, 560, 560, 392, 416, 417, 800 416, 416, 416, 416, 416, 416, 416, 416, 416, 416, 801 416, 560, 560, 560, 418, 560, 560, 560, 560, 560, 802 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 803 804 560, 560, 560, 560, 560, 560, 416, 416, 416, 416, 805 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 806 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 807 560, 560, 560, 560, 416, 425, 426, 425, 425, 425, 808 425, 425, 425, 425, 425, 425, 425, 425, 560, 560, 809 560, 427, 560, 560, 560, 560, 560, 560, 560, 560, 810 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 811 560, 560, 560, 425, 425, 425, 425, 560, 560, 560, 812 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 813 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 814 815 560, 425, 453, 454, 453, 453, 453, 453, 453, 453, 816 453, 453, 453, 453, 453, 560, 560, 560, 455, 560, 817 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 818 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 819 453, 453, 453, 453, 560, 560, 560, 560, 560, 560, 820 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 821 560, 560, 560, 560, 560, 560, 560, 560, 453, 488, 822 489, 488, 488, 488, 488, 488, 488, 488, 488, 488, 823 488, 488, 560, 560, 560, 490, 560, 560, 560, 560, 824 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 825 826 560, 560, 560, 560, 560, 560, 560, 488, 488, 488, 827 488, 560, 560, 560, 560, 560, 560, 560, 560, 560, 828 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 829 560, 560, 560, 560, 560, 488, 503, 504, 503, 503, 830 503, 503, 503, 503, 503, 503, 503, 503, 503, 560, 831 560, 560, 505, 560, 560, 560, 560, 560, 560, 560, 832 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 833 560, 560, 560, 560, 503, 503, 503, 503, 560, 560, 834 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 835 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 836 837 560, 560, 503, 15, 15, 15, 15, 15, 15, 15, 838 15, 15, 15, 15, 58, 58, 58, 58, 58, 58, 839 58, 58, 58, 58, 58, 62, 62, 62, 62, 62, 840 62, 62, 62, 62, 62, 62, 65, 65, 65, 65, 841 65, 65, 65, 65, 65, 65, 65, 67, 67, 67, 842 67, 67, 67, 67, 67, 67, 67, 67, 71, 560, 843 560, 560, 71, 71, 71, 71, 560, 71, 88, 88, 844 88, 88, 88, 88, 88, 88, 88, 88, 88, 91, 845 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 846 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 847 848 99, 107, 107, 107, 107, 107, 107, 107, 107, 107, 849 560, 107, 135, 560, 560, 560, 560, 560, 560, 560, 850 560, 135, 136, 136, 560, 136, 560, 136, 136, 136, 851 136, 136, 136, 137, 137, 137, 137, 137, 137, 137, 852 137, 137, 137, 137, 141, 141, 141, 141, 141, 141, 853 141, 141, 141, 141, 141, 158, 158, 158, 158, 158, 854 158, 158, 158, 158, 158, 158, 197, 197, 197, 197, 855 197, 197, 197, 197, 197, 197, 197, 200, 200, 560, 856 200, 560, 200, 200, 200, 200, 200, 200, 202, 560, 857 560, 560, 560, 560, 560, 202, 560, 202, 217, 560, 858 859 560, 560, 560, 560, 560, 217, 560, 217, 256, 256, 860 560, 256, 560, 256, 256, 256, 256, 256, 256, 257, 861 560, 560, 560, 257, 257, 257, 257, 560, 257, 271, 862 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, 863 314, 314, 560, 314, 560, 314, 314, 314, 314, 314, 864 314, 371, 371, 560, 371, 560, 371, 371, 371, 371, 865 371, 371, 322, 322, 322, 322, 322, 560, 560, 322, 866 560, 322, 329, 329, 329, 329, 329, 560, 560, 329, 867 560, 329, 422, 422, 560, 422, 560, 422, 422, 422, 868 422, 422, 422, 377, 377, 377, 377, 377, 560, 560, 869 870 377, 560, 377, 380, 380, 380, 380, 380, 560, 560, 871 380, 560, 380, 383, 383, 383, 383, 383, 560, 560, 872 383, 560, 383, 440, 440, 440, 440, 440, 560, 440, 873 440, 560, 440, 451, 451, 451, 451, 451, 560, 560, 874 451, 560, 451, 456, 456, 560, 456, 560, 456, 456, 875 456, 456, 456, 456, 425, 425, 425, 425, 425, 560, 876 560, 425, 560, 425, 217, 560, 560, 560, 560, 560, 877 560, 217, 560, 217, 474, 474, 560, 474, 560, 474, 878 474, 474, 474, 474, 474, 491, 491, 560, 491, 560, 879 491, 491, 491, 491, 491, 491, 506, 506, 560, 506, 880 881 560, 506, 506, 506, 506, 506, 506, 516, 516, 560, 882 516, 560, 516, 516, 516, 516, 516, 516, 523, 523, 883 560, 523, 560, 523, 523, 523, 523, 523, 523, 532, 884 532, 560, 532, 560, 532, 532, 532, 532, 532, 532, 885 538, 538, 560, 560, 560, 560, 560, 538, 560, 538, 886 543, 543, 560, 543, 560, 543, 543, 543, 543, 543, 887 543, 547, 547, 547, 560, 547, 547, 547, 547, 560, 888 547, 552, 552, 560, 552, 560, 552, 552, 552, 552, 889 552, 552, 556, 560, 560, 560, 560, 560, 560, 556, 890 560, 556, 558, 558, 558, 560, 558, 558, 558, 558, 891 892 560, 558, 9, 560, 560, 560, 560, 560, 560, 560, 893 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 894 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 895 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 896 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 897 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 898 560, 560, 560, 560, 560, 560, 560, 560, 560, 560 899 } ; 900 901static yyconst flex_int16_t yy_chk[2471] = 902 { 0, 903 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 904 1, 1, 1, 1, 1, 1, 1, 4, 5, 6, 905 7, 4, 8, 12, 24, 24, 5, 6, 7, 14, 906 8, 14, 15, 18, 19, 20, 21, 22, 1, 1, 907 1, 1, 16, 31, 17, 31, 16, 15, 18, 19, 908 20, 21, 22, 25, 25, 27, 35, 35, 12, 32, 909 32, 32, 36, 36, 87, 87, 1, 2, 2, 2, 910 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 911 2, 2, 2, 2, 42, 18, 16, 44, 16, 17, 912 27, 22, 45, 37, 20, 43, 19, 37, 38, 21, 913 914 16, 16, 16, 46, 44, 2, 2, 2, 2, 70, 915 42, 38, 2, 49, 2, 43, 237, 45, 43, 56, 916 56, 43, 104, 56, 70, 559, 2, 2, 2, 104, 917 49, 46, 237, 2, 3, 3, 3, 3, 3, 3, 918 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 919 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 920 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 921 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 922 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 923 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 924 925 3, 33, 33, 33, 33, 33, 33, 33, 33, 33, 926 33, 33, 33, 33, 52, 71, 53, 33, 47, 48, 927 50, 51, 251, 62, 103, 88, 96, 96, 96, 103, 928 71, 85, 54, 53, 52, 52, 74, 80, 251, 33, 929 33, 33, 33, 47, 52, 48, 85, 50, 82, 51, 930 53, 51, 51, 54, 105, 73, 105, 54, 62, 73, 931 88, 54, 114, 82, 102, 102, 110, 33, 34, 34, 932 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 933 34, 74, 80, 106, 34, 83, 106, 85, 84, 86, 934 82, 113, 110, 122, 114, 98, 115, 118, 34, 73, 935 936 83, 73, 116, 84, 86, 111, 34, 34, 34, 34, 937 98, 112, 117, 73, 73, 73, 113, 119, 111, 120, 938 126, 122, 118, 116, 112, 124, 121, 115, 128, 123, 939 84, 125, 127, 126, 34, 117, 120, 129, 117, 86, 940 130, 131, 117, 123, 83, 84, 119, 121, 126, 146, 941 125, 124, 121, 132, 132, 128, 127, 132, 131, 151, 942 170, 130, 129, 154, 146, 160, 125, 182, 163, 130, 943 135, 163, 164, 169, 151, 153, 150, 152, 154, 165, 944 160, 165, 155, 164, 167, 168, 173, 175, 170, 168, 945 153, 150, 152, 202, 167, 177, 169, 155, 173, 182, 946 947 219, 275, 557, 275, 175, 151, 219, 177, 202, 154, 948 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 949 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, 950 135, 135, 135, 135, 150, 153, 152, 155, 166, 166, 951 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 952 166, 171, 172, 176, 166, 180, 179, 184, 174, 181, 953 183, 185, 189, 186, 187, 190, 188, 191, 193, 184, 954 228, 192, 195, 194, 176, 179, 166, 166, 166, 166, 955 171, 172, 174, 188, 185, 180, 212, 181, 192, 187, 956 183, 186, 189, 195, 191, 196, 190, 555, 193, 194, 957 958 228, 212, 227, 210, 166, 178, 178, 178, 178, 178, 959 178, 178, 178, 178, 178, 178, 178, 178, 210, 211, 960 178, 178, 213, 196, 214, 215, 218, 222, 229, 220, 961 231, 227, 232, 233, 211, 224, 212, 213, 218, 214, 962 215, 220, 222, 178, 178, 178, 178, 224, 225, 236, 963 239, 242, 240, 244, 245, 231, 246, 232, 229, 248, 964 225, 210, 241, 233, 236, 240, 213, 239, 242, 214, 965 243, 178, 199, 246, 244, 241, 211, 247, 249, 215, 966 248, 250, 252, 243, 245, 253, 254, 257, 272, 247, 967 273, 283, 268, 249, 274, 276, 266, 252, 294, 294, 968 969 272, 276, 257, 273, 250, 254, 274, 268, 283, 554, 970 253, 266, 199, 199, 199, 199, 199, 199, 199, 199, 971 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 972 199, 199, 199, 199, 199, 199, 217, 217, 217, 217, 973 217, 217, 217, 217, 217, 217, 217, 217, 217, 267, 974 266, 268, 217, 269, 280, 282, 298, 285, 295, 299, 975 288, 301, 295, 297, 267, 300, 296, 302, 269, 280, 976 304, 282, 285, 288, 217, 217, 217, 217, 296, 297, 977 300, 303, 302, 305, 301, 332, 298, 306, 307, 299, 978 332, 334, 333, 267, 333, 553, 334, 303, 305, 269, 979 980 304, 307, 217, 230, 230, 230, 230, 230, 230, 230, 981 230, 230, 230, 230, 230, 230, 308, 306, 309, 230, 982 312, 323, 330, 335, 336, 328, 357, 358, 361, 336, 983 338, 341, 335, 308, 309, 312, 323, 330, 354, 358, 984 328, 230, 230, 230, 230, 338, 341, 351, 359, 360, 985 363, 351, 362, 365, 354, 367, 357, 366, 361, 376, 986 376, 369, 378, 381, 363, 384, 360, 367, 410, 230, 987 235, 235, 328, 362, 359, 366, 369, 378, 381, 388, 988 384, 411, 387, 365, 393, 235, 387, 235, 235, 390, 989 389, 388, 391, 235, 389, 410, 390, 403, 403, 393, 990 991 431, 413, 391, 412, 419, 551, 414, 550, 417, 411, 992 426, 403, 431, 235, 235, 235, 421, 412, 413, 414, 993 235, 419, 235, 417, 458, 426, 424, 424, 235, 458, 994 235, 255, 255, 255, 255, 255, 255, 255, 255, 255, 995 255, 255, 255, 255, 428, 432, 421, 255, 424, 430, 996 429, 441, 428, 429, 432, 448, 471, 430, 449, 437, 997 437, 450, 454, 459, 461, 472, 441, 461, 459, 255, 998 255, 255, 255, 437, 449, 460, 462, 454, 476, 472, 999 460, 549, 477, 478, 471, 448, 479, 476, 462, 477, 1000 450, 480, 478, 494, 494, 479, 480, 255, 265, 265, 1001 1002 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 1003 265, 489, 493, 495, 265, 493, 495, 496, 497, 497, 1004 504, 496, 508, 511, 509, 548, 489, 511, 527, 527, 1005 510, 517, 508, 509, 524, 504, 265, 265, 265, 265, 1006 510, 517, 536, 536, 525, 525, 524, 526, 526, 518, 1007 518, 525, 542, 533, 526, 541, 518, 533, 540, 525, 1008 537, 537, 539, 531, 265, 270, 270, 270, 270, 270, 1009 270, 270, 270, 270, 270, 270, 270, 270, 518, 534, 1010 534, 270, 535, 535, 538, 538, 534, 544, 544, 535, 1011 545, 545, 538, 530, 534, 544, 529, 528, 545, 538, 1012 1013 547, 547, 544, 270, 270, 270, 270, 522, 547, 556, 1014 556, 558, 558, 521, 520, 547, 519, 556, 515, 558, 1015 514, 513, 512, 505, 556, 502, 558, 501, 500, 499, 1016 498, 270, 271, 271, 271, 271, 271, 271, 271, 271, 1017 271, 271, 271, 271, 271, 492, 490, 486, 271, 485, 1018 484, 483, 482, 481, 475, 470, 469, 468, 467, 466, 1019 465, 464, 463, 457, 455, 452, 447, 446, 445, 444, 1020 271, 271, 271, 271, 443, 442, 439, 438, 436, 435, 1021 434, 433, 427, 418, 415, 409, 408, 407, 406, 405, 1022 404, 402, 401, 400, 399, 398, 397, 396, 271, 277, 1023 1024 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 1025 277, 277, 395, 394, 385, 277, 382, 379, 375, 370, 1026 356, 355, 353, 352, 350, 349, 348, 347, 346, 345, 1027 344, 342, 339, 331, 324, 321, 319, 277, 277, 277, 1028 277, 318, 317, 316, 313, 293, 292, 291, 290, 289, 1029 287, 286, 281, 264, 263, 262, 261, 260, 259, 258, 1030 238, 226, 223, 216, 209, 277, 278, 278, 278, 278, 1031 278, 278, 278, 278, 278, 278, 278, 278, 278, 208, 1032 207, 206, 278, 205, 204, 203, 201, 197, 162, 161, 1033 158, 149, 148, 147, 145, 144, 143, 141, 134, 133, 1034 1035 107, 101, 100, 99, 278, 278, 278, 278, 95, 93, 1036 92, 91, 90, 81, 79, 78, 77, 76, 75, 72, 1037 69, 66, 65, 61, 60, 57, 40, 39, 30, 29, 1038 13, 9, 278, 310, 310, 310, 310, 310, 310, 310, 1039 310, 310, 310, 310, 310, 310, 0, 0, 0, 310, 1040 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1041 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1042 0, 310, 310, 310, 310, 0, 0, 0, 0, 0, 1043 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1044 0, 0, 0, 0, 0, 0, 0, 0, 0, 310, 1045 1046 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 1047 325, 325, 325, 0, 0, 0, 325, 0, 0, 0, 1048 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1049 0, 0, 0, 0, 0, 0, 0, 0, 325, 325, 1050 325, 325, 0, 0, 0, 0, 0, 0, 0, 0, 1051 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1052 0, 0, 0, 0, 0, 0, 325, 326, 326, 326, 1053 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, 1054 0, 0, 0, 326, 0, 0, 0, 0, 0, 0, 1055 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1056 1057 0, 0, 0, 0, 0, 326, 326, 326, 326, 0, 1058 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1059 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1060 0, 0, 0, 326, 327, 327, 327, 327, 327, 327, 1061 327, 327, 327, 327, 327, 327, 327, 0, 0, 0, 1062 327, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1063 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1064 0, 0, 327, 327, 327, 327, 0, 0, 0, 0, 1065 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1066 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1067 1068 327, 343, 343, 343, 343, 343, 343, 343, 343, 343, 1069 343, 343, 343, 343, 0, 0, 0, 343, 0, 0, 1070 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1071 0, 0, 0, 0, 0, 0, 0, 0, 0, 343, 1072 343, 343, 343, 0, 0, 0, 0, 0, 0, 0, 1073 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1074 0, 0, 0, 0, 0, 0, 0, 343, 364, 364, 1075 364, 364, 364, 364, 364, 364, 364, 364, 364, 364, 1076 364, 0, 0, 0, 364, 0, 0, 0, 0, 0, 1077 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1078 1079 0, 0, 0, 0, 0, 0, 364, 364, 364, 364, 1080 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1081 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1082 0, 0, 0, 0, 364, 386, 386, 386, 386, 386, 1083 386, 386, 386, 386, 386, 386, 386, 386, 0, 0, 1084 0, 386, 0, 0, 0, 0, 0, 0, 0, 0, 1085 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1086 0, 0, 0, 386, 386, 386, 386, 0, 0, 0, 1087 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1088 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1089 1090 0, 386, 420, 420, 420, 420, 420, 420, 420, 420, 1091 420, 420, 420, 420, 420, 0, 0, 0, 420, 0, 1092 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1093 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1094 420, 420, 420, 420, 0, 0, 0, 0, 0, 0, 1095 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1096 0, 0, 0, 0, 0, 0, 0, 0, 420, 473, 1097 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 1098 473, 473, 0, 0, 0, 473, 0, 0, 0, 0, 1099 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1100 1101 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 1102 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1103 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1104 0, 0, 0, 0, 0, 473, 487, 487, 487, 487, 1105 487, 487, 487, 487, 487, 487, 487, 487, 487, 0, 1106 0, 0, 487, 0, 0, 0, 0, 0, 0, 0, 1107 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1108 0, 0, 0, 0, 487, 487, 487, 487, 0, 0, 1109 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1110 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1111 1112 0, 0, 487, 561, 561, 561, 561, 561, 561, 561, 1113 561, 561, 561, 561, 562, 562, 562, 562, 562, 562, 1114 562, 562, 562, 562, 562, 563, 563, 563, 563, 563, 1115 563, 563, 563, 563, 563, 563, 564, 564, 564, 564, 1116 564, 564, 564, 564, 564, 564, 564, 565, 565, 565, 1117 565, 565, 565, 565, 565, 565, 565, 565, 566, 0, 1118 0, 0, 566, 566, 566, 566, 0, 566, 567, 567, 1119 567, 567, 567, 567, 567, 567, 567, 567, 567, 568, 1120 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, 1121 569, 569, 569, 569, 569, 569, 569, 569, 569, 569, 1122 1123 569, 570, 570, 570, 570, 570, 570, 570, 570, 570, 1124 0, 570, 571, 0, 0, 0, 0, 0, 0, 0, 1125 0, 571, 572, 572, 0, 572, 0, 572, 572, 572, 1126 572, 572, 572, 573, 573, 573, 573, 573, 573, 573, 1127 573, 573, 573, 573, 574, 574, 574, 574, 574, 574, 1128 574, 574, 574, 574, 574, 575, 575, 575, 575, 575, 1129 575, 575, 575, 575, 575, 575, 576, 576, 576, 576, 1130 576, 576, 576, 576, 576, 576, 576, 577, 577, 0, 1131 577, 0, 577, 577, 577, 577, 577, 577, 578, 0, 1132 0, 0, 0, 0, 0, 578, 0, 578, 579, 0, 1133 1134 0, 0, 0, 0, 0, 579, 0, 579, 580, 580, 1135 0, 580, 0, 580, 580, 580, 580, 580, 580, 581, 1136 0, 0, 0, 581, 581, 581, 581, 0, 581, 582, 1137 582, 582, 582, 582, 582, 582, 582, 582, 582, 582, 1138 583, 583, 0, 583, 0, 583, 583, 583, 583, 583, 1139 583, 584, 584, 0, 584, 0, 584, 584, 584, 584, 1140 584, 584, 585, 585, 585, 585, 585, 0, 0, 585, 1141 0, 585, 586, 586, 586, 586, 586, 0, 0, 586, 1142 0, 586, 587, 587, 0, 587, 0, 587, 587, 587, 1143 587, 587, 587, 588, 588, 588, 588, 588, 0, 0, 1144 1145 588, 0, 588, 589, 589, 589, 589, 589, 0, 0, 1146 589, 0, 589, 590, 590, 590, 590, 590, 0, 0, 1147 590, 0, 590, 591, 591, 591, 591, 591, 0, 591, 1148 591, 0, 591, 592, 592, 592, 592, 592, 0, 0, 1149 592, 0, 592, 593, 593, 0, 593, 0, 593, 593, 1150 593, 593, 593, 593, 594, 594, 594, 594, 594, 0, 1151 0, 594, 0, 594, 595, 0, 0, 0, 0, 0, 1152 0, 595, 0, 595, 596, 596, 0, 596, 0, 596, 1153 596, 596, 596, 596, 596, 597, 597, 0, 597, 0, 1154 597, 597, 597, 597, 597, 597, 598, 598, 0, 598, 1155 1156 0, 598, 598, 598, 598, 598, 598, 599, 599, 0, 1157 599, 0, 599, 599, 599, 599, 599, 599, 600, 600, 1158 0, 600, 0, 600, 600, 600, 600, 600, 600, 601, 1159 601, 0, 601, 0, 601, 601, 601, 601, 601, 601, 1160 602, 602, 0, 0, 0, 0, 0, 602, 0, 602, 1161 603, 603, 0, 603, 0, 603, 603, 603, 603, 603, 1162 603, 604, 604, 604, 0, 604, 604, 604, 604, 0, 1163 604, 605, 605, 0, 605, 0, 605, 605, 605, 605, 1164 605, 605, 606, 0, 0, 0, 0, 0, 0, 606, 1165 0, 606, 607, 607, 607, 0, 607, 607, 607, 607, 1166 1167 0, 607, 560, 560, 560, 560, 560, 560, 560, 560, 1168 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1169 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1170 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1171 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1172 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1173 560, 560, 560, 560, 560, 560, 560, 560, 560, 560 1174 } ; 1175 1176static yy_state_type yy_last_accepting_state; 1177static char *yy_last_accepting_cpos; 1178 1179extern int yy_flex_debug; 1180int yy_flex_debug = 0; 1181 1182/* The intent behind this definition is that it'll catch 1183 * any uses of REJECT which flex missed. 1184 */ 1185#define REJECT reject_used_but_not_detected 1186#define yymore() yymore_used_but_not_detected 1187#define YY_MORE_ADJ 0 1188#define YY_RESTORE_YY_MORE_OFFSET 1189char *yytext; 1190#line 1 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1191/* -*- indented-text -*- */ 1192/* Process source files and output type information. 1193 Copyright (C) 2002-2015 Free Software Foundation, Inc. 1194 1195This file is part of GCC. 1196 1197GCC is free software; you can redistribute it and/or modify it under 1198the terms of the GNU General Public License as published by the Free 1199Software Foundation; either version 3, or (at your option) any later 1200version. 1201 1202GCC is distributed in the hope that it will be useful, but WITHOUT ANY 1203WARRANTY; without even the implied warranty of MERCHANTABILITY or 1204FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1205for more details. 1206 1207You should have received a copy of the GNU General Public License 1208along with GCC; see the file COPYING3. If not see 1209<http://www.gnu.org/licenses/>. */ 1210#define YY_NO_INPUT 1 1211#line 24 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1212#ifdef HOST_GENERATOR_FILE 1213#include "config.h" 1214#define GENERATOR_FILE 1 1215#else 1216#include "bconfig.h" 1217#endif 1218#include "system.h" 1219 1220#define malloc xmalloc 1221#define realloc xrealloc 1222 1223#include "gengtype.h" 1224 1225#define YY_DECL int yylex (const char **yylval) 1226#define yyterminate() return EOF_TOKEN 1227 1228struct fileloc lexer_line; 1229int lexer_toplevel_done; 1230 1231static void 1232update_lineno (const char *l, size_t len) 1233{ 1234 while (len-- > 0) 1235 if (*l++ == '\n') 1236 lexer_line.line++; 1237} 1238 1239/* Include '::' in identifiers to capture C++ scope qualifiers. */ 1240 1241#line 1241 "gengtype-lex.c" 1242 1243#define INITIAL 0 1244#define in_struct 1 1245#define in_struct_comment 2 1246#define in_comment 3 1247 1248#ifndef YY_NO_UNISTD_H 1249/* Special case for "unistd.h", since it is non-ANSI. We include it way 1250 * down here because we want the user's section 1 to have been scanned first. 1251 * The user has a chance to override it with an option. 1252 */ 1253#include <unistd.h> 1254#endif 1255 1256#ifndef YY_EXTRA_TYPE 1257#define YY_EXTRA_TYPE void * 1258#endif 1259 1260static int yy_init_globals (void ); 1261 1262/* Accessor methods to globals. 1263 These are made visible to non-reentrant scanners for convenience. */ 1264 1265int yylex_destroy (void ); 1266 1267int yyget_debug (void ); 1268 1269void yyset_debug (int debug_flag ); 1270 1271YY_EXTRA_TYPE yyget_extra (void ); 1272 1273void yyset_extra (YY_EXTRA_TYPE user_defined ); 1274 1275FILE *yyget_in (void ); 1276 1277void yyset_in (FILE * in_str ); 1278 1279FILE *yyget_out (void ); 1280 1281void yyset_out (FILE * out_str ); 1282 1283int yyget_leng (void ); 1284 1285char *yyget_text (void ); 1286 1287int yyget_lineno (void ); 1288 1289void yyset_lineno (int line_number ); 1290 1291/* Macros after this point can all be overridden by user definitions in 1292 * section 1. 1293 */ 1294 1295#ifndef YY_SKIP_YYWRAP 1296#ifdef __cplusplus 1297extern "C" int yywrap (void ); 1298#else 1299extern int yywrap (void ); 1300#endif 1301#endif 1302 1303#ifndef yytext_ptr 1304static void yy_flex_strncpy (char *,yyconst char *,int ); 1305#endif 1306 1307#ifdef YY_NEED_STRLEN 1308static int yy_flex_strlen (yyconst char * ); 1309#endif 1310 1311#ifndef YY_NO_INPUT 1312 1313#ifdef __cplusplus 1314static int yyinput (void ); 1315#else 1316static int input (void ); 1317#endif 1318 1319#endif 1320 1321/* Amount of stuff to slurp up with each read. */ 1322#ifndef YY_READ_BUF_SIZE 1323#define YY_READ_BUF_SIZE 8192 1324#endif 1325 1326/* Copy whatever the last rule matched to the standard output. */ 1327#ifndef ECHO 1328/* This used to be an fputs(), but since the string might contain NUL's, 1329 * we now use fwrite(). 1330 */ 1331#define ECHO fwrite( yytext, yyleng, 1, yyout ) 1332#endif 1333 1334/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, 1335 * is returned in "result". 1336 */ 1337#ifndef YY_INPUT 1338#define YY_INPUT(buf,result,max_size) \ 1339 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ 1340 { \ 1341 int c = '*'; \ 1342 int n; \ 1343 for ( n = 0; n < max_size && \ 1344 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 1345 buf[n] = (char) c; \ 1346 if ( c == '\n' ) \ 1347 buf[n++] = (char) c; \ 1348 if ( c == EOF && ferror( yyin ) ) \ 1349 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 1350 result = n; \ 1351 } \ 1352 else \ 1353 { \ 1354 errno=0; \ 1355 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ 1356 { \ 1357 if( errno != EINTR) \ 1358 { \ 1359 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 1360 break; \ 1361 } \ 1362 errno=0; \ 1363 clearerr(yyin); \ 1364 } \ 1365 }\ 1366\ 1367 1368#endif 1369 1370/* No semi-colon after return; correct usage is to write "yyterminate();" - 1371 * we don't want an extra ';' after the "return" because that will cause 1372 * some compilers to complain about unreachable statements. 1373 */ 1374#ifndef yyterminate 1375#define yyterminate() return YY_NULL 1376#endif 1377 1378/* Number of entries by which start-condition stack grows. */ 1379#ifndef YY_START_STACK_INCR 1380#define YY_START_STACK_INCR 25 1381#endif 1382 1383/* Report a fatal error. */ 1384#ifndef YY_FATAL_ERROR 1385#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) 1386#endif 1387 1388/* end tables serialization structures and prototypes */ 1389 1390/* Default declaration of generated scanner - a define so the user can 1391 * easily add parameters. 1392 */ 1393#ifndef YY_DECL 1394#define YY_DECL_IS_OURS 1 1395 1396extern int yylex (void); 1397 1398#define YY_DECL int yylex (void) 1399#endif /* !YY_DECL */ 1400 1401/* Code executed at the beginning of each rule, after yytext and yyleng 1402 * have been set up. 1403 */ 1404#ifndef YY_USER_ACTION 1405#define YY_USER_ACTION 1406#endif 1407 1408/* Code executed at the end of each rule. */ 1409#ifndef YY_BREAK 1410#define YY_BREAK break; 1411#endif 1412 1413#define YY_RULE_SETUP \ 1414 if ( yyleng > 0 ) \ 1415 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ 1416 (yytext[yyleng - 1] == '\n'); \ 1417 YY_USER_ACTION 1418 1419/** The main scanner function which does all the work. 1420 */ 1421YY_DECL 1422{ 1423 register yy_state_type yy_current_state; 1424 register char *yy_cp, *yy_bp; 1425 register int yy_act; 1426 1427#line 66 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1428 1429 /* Do this on entry to yylex(): */ 1430 *yylval = 0; 1431 if (lexer_toplevel_done) 1432 { 1433 BEGIN(INITIAL); 1434 lexer_toplevel_done = 0; 1435 } 1436 1437 /* Things we look for in skipping mode: */ 1438#line 1438 "gengtype-lex.c" 1439 1440 if ( !(yy_init) ) 1441 { 1442 (yy_init) = 1; 1443 1444#ifdef YY_USER_INIT 1445 YY_USER_INIT; 1446#endif 1447 1448 if ( ! (yy_start) ) 1449 (yy_start) = 1; /* first start state */ 1450 1451 if ( ! yyin ) 1452 yyin = stdin; 1453 1454 if ( ! yyout ) 1455 yyout = stdout; 1456 1457 if ( ! YY_CURRENT_BUFFER ) { 1458 yyensure_buffer_stack (); 1459 YY_CURRENT_BUFFER_LVALUE = 1460 yy_create_buffer(yyin,YY_BUF_SIZE ); 1461 } 1462 1463 yy_load_buffer_state( ); 1464 } 1465 1466 while ( 1 ) /* loops until end-of-file is reached */ 1467 { 1468 yy_cp = (yy_c_buf_p); 1469 1470 /* Support of yytext. */ 1471 *yy_cp = (yy_hold_char); 1472 1473 /* yy_bp points to the position in yy_ch_buf of the start of 1474 * the current run. 1475 */ 1476 yy_bp = yy_cp; 1477 1478 yy_current_state = (yy_start); 1479 yy_current_state += YY_AT_BOL(); 1480yy_match: 1481 do 1482 { 1483 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; 1484 if ( yy_accept[yy_current_state] ) 1485 { 1486 (yy_last_accepting_state) = yy_current_state; 1487 (yy_last_accepting_cpos) = yy_cp; 1488 } 1489 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) 1490 { 1491 yy_current_state = (int) yy_def[yy_current_state]; 1492 if ( yy_current_state >= 561 ) 1493 yy_c = yy_meta[(unsigned int) yy_c]; 1494 } 1495 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; 1496 ++yy_cp; 1497 } 1498 while ( yy_current_state != 560 ); 1499 yy_cp = (yy_last_accepting_cpos); 1500 yy_current_state = (yy_last_accepting_state); 1501 1502yy_find_action: 1503 yy_act = yy_accept[yy_current_state]; 1504 1505 YY_DO_BEFORE_ACTION; 1506 1507do_action: /* This label is used only to access EOF actions. */ 1508 1509 switch ( yy_act ) 1510 { /* beginning of action switch */ 1511 case 0: /* must back up */ 1512 /* undo the effects of YY_DO_BEFORE_ACTION */ 1513 *yy_cp = (yy_hold_char); 1514 yy_cp = (yy_last_accepting_cpos); 1515 yy_current_state = (yy_last_accepting_state); 1516 goto yy_find_action; 1517 1518case 1: 1519/* rule 1 can match eol */ 1520*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1521(yy_c_buf_p) = yy_cp -= 1; 1522YY_DO_BEFORE_ACTION; /* set up yytext again */ 1523YY_RULE_SETUP 1524#line 77 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1525{ 1526 BEGIN(in_struct); 1527 return TYPEDEF; 1528} 1529 YY_BREAK 1530case 2: 1531/* rule 2 can match eol */ 1532*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1533(yy_c_buf_p) = yy_cp -= 1; 1534YY_DO_BEFORE_ACTION; /* set up yytext again */ 1535YY_RULE_SETUP 1536#line 81 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1537{ 1538 BEGIN(in_struct); 1539 return STRUCT; 1540} 1541 YY_BREAK 1542case 3: 1543/* rule 3 can match eol */ 1544*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1545(yy_c_buf_p) = yy_cp -= 1; 1546YY_DO_BEFORE_ACTION; /* set up yytext again */ 1547YY_RULE_SETUP 1548#line 85 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1549{ 1550 BEGIN(in_struct); 1551 return UNION; 1552} 1553 YY_BREAK 1554case 4: 1555/* rule 4 can match eol */ 1556*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1557(yy_c_buf_p) = yy_cp -= 1; 1558YY_DO_BEFORE_ACTION; /* set up yytext again */ 1559YY_RULE_SETUP 1560#line 89 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1561{ 1562 BEGIN(in_struct); 1563 return STRUCT; 1564} 1565 YY_BREAK 1566case 5: 1567/* rule 5 can match eol */ 1568*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1569(yy_c_buf_p) = yy_cp -= 1; 1570YY_DO_BEFORE_ACTION; /* set up yytext again */ 1571YY_RULE_SETUP 1572#line 93 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1573{ 1574 BEGIN(in_struct); 1575 return EXTERN; 1576} 1577 YY_BREAK 1578case 6: 1579/* rule 6 can match eol */ 1580*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1581(yy_c_buf_p) = yy_cp -= 1; 1582YY_DO_BEFORE_ACTION; /* set up yytext again */ 1583YY_RULE_SETUP 1584#line 97 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1585{ 1586 BEGIN(in_struct); 1587 return STATIC; 1588} 1589 YY_BREAK 1590 1591/* Parsing inside a struct, union or class declaration. */ 1592 1593case 7: 1594YY_RULE_SETUP 1595#line 105 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1596{ BEGIN(in_struct_comment); } 1597 YY_BREAK 1598case 8: 1599/* rule 8 can match eol */ 1600YY_RULE_SETUP 1601#line 106 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1602{ lexer_line.line++; } 1603 YY_BREAK 1604case 9: 1605/* rule 9 can match eol */ 1606YY_RULE_SETUP 1607#line 108 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1608{ update_lineno (yytext, yyleng); } 1609 YY_BREAK 1610case 10: 1611/* rule 10 can match eol */ 1612YY_RULE_SETUP 1613#line 109 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1614{ lexer_line.line++; } 1615 YY_BREAK 1616case 11: 1617/* rule 11 can match eol */ 1618*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1619(yy_c_buf_p) = yy_cp = yy_bp + 5; 1620YY_DO_BEFORE_ACTION; /* set up yytext again */ 1621YY_RULE_SETUP 1622#line 111 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1623/* don't care */ 1624 YY_BREAK 1625case 12: 1626/* rule 12 can match eol */ 1627*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1628(yy_c_buf_p) = yy_cp -= 1; 1629YY_DO_BEFORE_ACTION; /* set up yytext again */ 1630#line 113 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1631case 13: 1632/* rule 13 can match eol */ 1633#line 114 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1634case 14: 1635/* rule 14 can match eol */ 1636#line 115 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1637case 15: 1638/* rule 15 can match eol */ 1639YY_RULE_SETUP 1640#line 115 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1641{ 1642 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng + 1); 1643 return IGNORABLE_CXX_KEYWORD; 1644} 1645 YY_BREAK 1646case 16: 1647/* rule 16 can match eol */ 1648*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1649(yy_c_buf_p) = yy_cp = yy_bp + 3; 1650YY_DO_BEFORE_ACTION; /* set up yytext again */ 1651YY_RULE_SETUP 1652#line 119 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1653{ return GTY_TOKEN; } 1654 YY_BREAK 1655case 17: 1656/* rule 17 can match eol */ 1657*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1658(yy_c_buf_p) = yy_cp = yy_bp + 5; 1659YY_DO_BEFORE_ACTION; /* set up yytext again */ 1660YY_RULE_SETUP 1661#line 120 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1662{ return UNION; } 1663 YY_BREAK 1664case 18: 1665/* rule 18 can match eol */ 1666*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1667(yy_c_buf_p) = yy_cp = yy_bp + 6; 1668YY_DO_BEFORE_ACTION; /* set up yytext again */ 1669YY_RULE_SETUP 1670#line 121 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1671{ return STRUCT; } 1672 YY_BREAK 1673case 19: 1674/* rule 19 can match eol */ 1675*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1676(yy_c_buf_p) = yy_cp = yy_bp + 5; 1677YY_DO_BEFORE_ACTION; /* set up yytext again */ 1678YY_RULE_SETUP 1679#line 122 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1680{ return STRUCT; } 1681 YY_BREAK 1682case 20: 1683/* rule 20 can match eol */ 1684*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1685(yy_c_buf_p) = yy_cp = yy_bp + 7; 1686YY_DO_BEFORE_ACTION; /* set up yytext again */ 1687YY_RULE_SETUP 1688#line 123 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1689{ return TYPEDEF; } 1690 YY_BREAK 1691case 21: 1692/* rule 21 can match eol */ 1693*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1694(yy_c_buf_p) = yy_cp = yy_bp + 4; 1695YY_DO_BEFORE_ACTION; /* set up yytext again */ 1696YY_RULE_SETUP 1697#line 124 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1698{ return ENUM; } 1699 YY_BREAK 1700case 22: 1701/* rule 22 can match eol */ 1702*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1703(yy_c_buf_p) = yy_cp = yy_bp + 9; 1704YY_DO_BEFORE_ACTION; /* set up yytext again */ 1705YY_RULE_SETUP 1706#line 125 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1707{ return PTR_ALIAS; } 1708 YY_BREAK 1709case 23: 1710/* rule 23 can match eol */ 1711*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1712(yy_c_buf_p) = yy_cp = yy_bp + 10; 1713YY_DO_BEFORE_ACTION; /* set up yytext again */ 1714YY_RULE_SETUP 1715#line 126 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1716{ return NESTED_PTR; } 1717 YY_BREAK 1718case 24: 1719/* rule 24 can match eol */ 1720*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1721(yy_c_buf_p) = yy_cp = yy_bp + 4; 1722YY_DO_BEFORE_ACTION; /* set up yytext again */ 1723YY_RULE_SETUP 1724#line 127 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1725{ return USER_GTY; } 1726 YY_BREAK 1727case 25: 1728YY_RULE_SETUP 1729#line 128 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1730{ return NUM; } 1731 YY_BREAK 1732case 26: 1733/* rule 26 can match eol */ 1734*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1735(yy_c_buf_p) = yy_cp -= 1; 1736YY_DO_BEFORE_ACTION; /* set up yytext again */ 1737#line 131 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1738case 27: 1739/* rule 27 can match eol */ 1740YY_RULE_SETUP 1741#line 131 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1742{ 1743 size_t len; 1744 1745 for (len = yyleng; ISSPACE (yytext[len-1]); len--) 1746 ; 1747 1748 *yylval = XDUPVAR (const char, yytext, len, len+1); 1749 update_lineno (yytext, yyleng); 1750 return SCALAR; 1751} 1752 YY_BREAK 1753case 28: 1754/* rule 28 can match eol */ 1755*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1756(yy_c_buf_p) = yy_cp -= 1; 1757YY_DO_BEFORE_ACTION; /* set up yytext again */ 1758YY_RULE_SETUP 1759#line 142 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1760{ 1761 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); 1762 return ID; 1763} 1764 YY_BREAK 1765case 29: 1766/* rule 29 can match eol */ 1767YY_RULE_SETUP 1768#line 147 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1769{ 1770 *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); 1771 return STRING; 1772} 1773 YY_BREAK 1774/* This "terminal" avoids having to parse integer constant expressions. */ 1775case 30: 1776/* rule 30 can match eol */ 1777YY_RULE_SETUP 1778#line 152 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1779{ 1780 *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); 1781 return ARRAY; 1782} 1783 YY_BREAK 1784case 31: 1785/* rule 31 can match eol */ 1786YY_RULE_SETUP 1787#line 156 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1788{ 1789 *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng); 1790 return CHAR; 1791} 1792 YY_BREAK 1793case 32: 1794YY_RULE_SETUP 1795#line 161 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1796{ return ELLIPSIS; } 1797 YY_BREAK 1798case 33: 1799YY_RULE_SETUP 1800#line 162 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1801{ return yytext[0]; } 1802 YY_BREAK 1803/* ignore pp-directives */ 1804case 34: 1805/* rule 34 can match eol */ 1806YY_RULE_SETUP 1807#line 165 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1808{lexer_line.line++;} 1809 YY_BREAK 1810case 35: 1811YY_RULE_SETUP 1812#line 167 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1813{ 1814 error_at_line (&lexer_line, "unexpected character `%s'", yytext); 1815} 1816 YY_BREAK 1817 1818case 36: 1819YY_RULE_SETUP 1820#line 172 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1821{ BEGIN(in_comment); } 1822 YY_BREAK 1823case 37: 1824/* rule 37 can match eol */ 1825YY_RULE_SETUP 1826#line 173 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1827{ lexer_line.line++; } 1828 YY_BREAK 1829case 38: 1830/* rule 38 can match eol */ 1831YY_RULE_SETUP 1832#line 174 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1833{ lexer_line.line++; } 1834 YY_BREAK 1835case 39: 1836#line 176 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1837case 40: 1838/* rule 40 can match eol */ 1839#line 177 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1840case 41: 1841/* rule 41 can match eol */ 1842YY_RULE_SETUP 1843#line 177 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1844/* do nothing */ 1845 YY_BREAK 1846case 42: 1847/* rule 42 can match eol */ 1848YY_RULE_SETUP 1849#line 178 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1850{ update_lineno (yytext, yyleng); } 1851 YY_BREAK 1852case 43: 1853/* rule 43 can match eol */ 1854*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1855(yy_c_buf_p) = yy_cp = yy_bp + 1; 1856YY_DO_BEFORE_ACTION; /* set up yytext again */ 1857YY_RULE_SETUP 1858#line 179 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1859/* do nothing */ 1860 YY_BREAK 1861 1862case 44: 1863/* rule 44 can match eol */ 1864YY_RULE_SETUP 1865#line 182 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1866{ lexer_line.line++; } 1867 YY_BREAK 1868case 45: 1869#line 184 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1870case 46: 1871YY_RULE_SETUP 1872#line 184 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1873/* do nothing */ 1874 YY_BREAK 1875case 47: 1876/* rule 47 can match eol */ 1877*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ 1878(yy_c_buf_p) = yy_cp = yy_bp + 1; 1879YY_DO_BEFORE_ACTION; /* set up yytext again */ 1880YY_RULE_SETUP 1881#line 185 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1882/* do nothing */ 1883 YY_BREAK 1884 1885case 48: 1886YY_RULE_SETUP 1887#line 188 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1888{ BEGIN(INITIAL); } 1889 YY_BREAK 1890case 49: 1891YY_RULE_SETUP 1892#line 189 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1893{ BEGIN(in_struct); } 1894 YY_BREAK 1895case 50: 1896#line 192 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1897case 51: 1898YY_RULE_SETUP 1899#line 192 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1900{ 1901 error_at_line (&lexer_line, 1902 "unterminated comment or string; unexpected EOF"); 1903} 1904 YY_BREAK 1905case 52: 1906/* rule 52 can match eol */ 1907YY_RULE_SETUP 1908#line 197 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1909/* do nothing */ 1910 YY_BREAK 1911case 53: 1912YY_RULE_SETUP 1913#line 199 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 1914YY_FATAL_ERROR( "flex scanner jammed" ); 1915 YY_BREAK 1916#line 1916 "gengtype-lex.c" 1917case YY_STATE_EOF(INITIAL): 1918case YY_STATE_EOF(in_struct): 1919case YY_STATE_EOF(in_struct_comment): 1920case YY_STATE_EOF(in_comment): 1921 yyterminate(); 1922 1923 case YY_END_OF_BUFFER: 1924 { 1925 /* Amount of text matched not including the EOB char. */ 1926 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; 1927 1928 /* Undo the effects of YY_DO_BEFORE_ACTION. */ 1929 *yy_cp = (yy_hold_char); 1930 YY_RESTORE_YY_MORE_OFFSET 1931 1932 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) 1933 { 1934 /* We're scanning a new file or input source. It's 1935 * possible that this happened because the user 1936 * just pointed yyin at a new source and called 1937 * yylex(). If so, then we have to assure 1938 * consistency between YY_CURRENT_BUFFER and our 1939 * globals. Here is the right place to do so, because 1940 * this is the first action (other than possibly a 1941 * back-up) that will match for the new input source. 1942 */ 1943 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; 1944 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; 1945 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; 1946 } 1947 1948 /* Note that here we test for yy_c_buf_p "<=" to the position 1949 * of the first EOB in the buffer, since yy_c_buf_p will 1950 * already have been incremented past the NUL character 1951 * (since all states make transitions on EOB to the 1952 * end-of-buffer state). Contrast this with the test 1953 * in input(). 1954 */ 1955 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) 1956 { /* This was really a NUL. */ 1957 yy_state_type yy_next_state; 1958 1959 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; 1960 1961 yy_current_state = yy_get_previous_state( ); 1962 1963 /* Okay, we're now positioned to make the NUL 1964 * transition. We couldn't have 1965 * yy_get_previous_state() go ahead and do it 1966 * for us because it doesn't know how to deal 1967 * with the possibility of jamming (and we don't 1968 * want to build jamming into it because then it 1969 * will run more slowly). 1970 */ 1971 1972 yy_next_state = yy_try_NUL_trans( yy_current_state ); 1973 1974 yy_bp = (yytext_ptr) + YY_MORE_ADJ; 1975 1976 if ( yy_next_state ) 1977 { 1978 /* Consume the NUL. */ 1979 yy_cp = ++(yy_c_buf_p); 1980 yy_current_state = yy_next_state; 1981 goto yy_match; 1982 } 1983 1984 else 1985 { 1986 yy_cp = (yy_last_accepting_cpos); 1987 yy_current_state = (yy_last_accepting_state); 1988 goto yy_find_action; 1989 } 1990 } 1991 1992 else switch ( yy_get_next_buffer( ) ) 1993 { 1994 case EOB_ACT_END_OF_FILE: 1995 { 1996 (yy_did_buffer_switch_on_eof) = 0; 1997 1998 if ( yywrap( ) ) 1999 { 2000 /* Note: because we've taken care in 2001 * yy_get_next_buffer() to have set up 2002 * yytext, we can now set up 2003 * yy_c_buf_p so that if some total 2004 * hoser (like flex itself) wants to 2005 * call the scanner after we return the 2006 * YY_NULL, it'll still work - another 2007 * YY_NULL will get returned. 2008 */ 2009 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; 2010 2011 yy_act = YY_STATE_EOF(YY_START); 2012 goto do_action; 2013 } 2014 2015 else 2016 { 2017 if ( ! (yy_did_buffer_switch_on_eof) ) 2018 YY_NEW_FILE; 2019 } 2020 break; 2021 } 2022 2023 case EOB_ACT_CONTINUE_SCAN: 2024 (yy_c_buf_p) = 2025 (yytext_ptr) + yy_amount_of_matched_text; 2026 2027 yy_current_state = yy_get_previous_state( ); 2028 2029 yy_cp = (yy_c_buf_p); 2030 yy_bp = (yytext_ptr) + YY_MORE_ADJ; 2031 goto yy_match; 2032 2033 case EOB_ACT_LAST_MATCH: 2034 (yy_c_buf_p) = 2035 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; 2036 2037 yy_current_state = yy_get_previous_state( ); 2038 2039 yy_cp = (yy_c_buf_p); 2040 yy_bp = (yytext_ptr) + YY_MORE_ADJ; 2041 goto yy_find_action; 2042 } 2043 break; 2044 } 2045 2046 default: 2047 YY_FATAL_ERROR( 2048 "fatal flex scanner internal error--no action found" ); 2049 } /* end of action switch */ 2050 } /* end of scanning one token */ 2051} /* end of yylex */ 2052 2053/* yy_get_next_buffer - try to read in a new buffer 2054 * 2055 * Returns a code representing an action: 2056 * EOB_ACT_LAST_MATCH - 2057 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position 2058 * EOB_ACT_END_OF_FILE - end of file 2059 */ 2060static int yy_get_next_buffer (void) 2061{ 2062 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; 2063 register char *source = (yytext_ptr); 2064 register int number_to_move, i; 2065 int ret_val; 2066 2067 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) 2068 YY_FATAL_ERROR( 2069 "fatal flex scanner internal error--end of buffer missed" ); 2070 2071 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) 2072 { /* Don't try to fill the buffer, so this is an EOF. */ 2073 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) 2074 { 2075 /* We matched a single character, the EOB, so 2076 * treat this as a final EOF. 2077 */ 2078 return EOB_ACT_END_OF_FILE; 2079 } 2080 2081 else 2082 { 2083 /* We matched some text prior to the EOB, first 2084 * process it. 2085 */ 2086 return EOB_ACT_LAST_MATCH; 2087 } 2088 } 2089 2090 /* Try to read more data. */ 2091 2092 /* First move last chars to start of buffer. */ 2093 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; 2094 2095 for ( i = 0; i < number_to_move; ++i ) 2096 *(dest++) = *(source++); 2097 2098 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) 2099 /* don't do the read, it's not guaranteed to return an EOF, 2100 * just force an EOF 2101 */ 2102 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; 2103 2104 else 2105 { 2106 int num_to_read = 2107 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; 2108 2109 while ( num_to_read <= 0 ) 2110 { /* Not enough room in the buffer - grow it. */ 2111 2112 /* just a shorter name for the current buffer */ 2113 YY_BUFFER_STATE b = YY_CURRENT_BUFFER; 2114 2115 int yy_c_buf_p_offset = 2116 (int) ((yy_c_buf_p) - b->yy_ch_buf); 2117 2118 if ( b->yy_is_our_buffer ) 2119 { 2120 int new_size = b->yy_buf_size * 2; 2121 2122 if ( new_size <= 0 ) 2123 b->yy_buf_size += b->yy_buf_size / 8; 2124 else 2125 b->yy_buf_size *= 2; 2126 2127 b->yy_ch_buf = (char *) 2128 /* Include room in for 2 EOB chars. */ 2129 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); 2130 } 2131 else 2132 /* Can't grow it, we don't own it. */ 2133 b->yy_ch_buf = 0; 2134 2135 if ( ! b->yy_ch_buf ) 2136 YY_FATAL_ERROR( 2137 "fatal error - scanner input buffer overflow" ); 2138 2139 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; 2140 2141 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - 2142 number_to_move - 1; 2143 2144 } 2145 2146 if ( num_to_read > YY_READ_BUF_SIZE ) 2147 num_to_read = YY_READ_BUF_SIZE; 2148 2149 /* Read in more data. */ 2150 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), 2151 (yy_n_chars), (size_t) num_to_read ); 2152 2153 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); 2154 } 2155 2156 if ( (yy_n_chars) == 0 ) 2157 { 2158 if ( number_to_move == YY_MORE_ADJ ) 2159 { 2160 ret_val = EOB_ACT_END_OF_FILE; 2161 yyrestart(yyin ); 2162 } 2163 2164 else 2165 { 2166 ret_val = EOB_ACT_LAST_MATCH; 2167 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = 2168 YY_BUFFER_EOF_PENDING; 2169 } 2170 } 2171 2172 else 2173 ret_val = EOB_ACT_CONTINUE_SCAN; 2174 2175 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { 2176 /* Extend the array by 50%, plus the number we really need. */ 2177 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); 2178 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); 2179 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) 2180 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); 2181 } 2182 2183 (yy_n_chars) += number_to_move; 2184 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; 2185 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; 2186 2187 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; 2188 2189 return ret_val; 2190} 2191 2192/* yy_get_previous_state - get the state just before the EOB char was reached */ 2193 2194 static yy_state_type yy_get_previous_state (void) 2195{ 2196 register yy_state_type yy_current_state; 2197 register char *yy_cp; 2198 2199 yy_current_state = (yy_start); 2200 yy_current_state += YY_AT_BOL(); 2201 2202 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) 2203 { 2204 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); 2205 if ( yy_accept[yy_current_state] ) 2206 { 2207 (yy_last_accepting_state) = yy_current_state; 2208 (yy_last_accepting_cpos) = yy_cp; 2209 } 2210 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) 2211 { 2212 yy_current_state = (int) yy_def[yy_current_state]; 2213 if ( yy_current_state >= 561 ) 2214 yy_c = yy_meta[(unsigned int) yy_c]; 2215 } 2216 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; 2217 } 2218 2219 return yy_current_state; 2220} 2221 2222/* yy_try_NUL_trans - try to make a transition on the NUL character 2223 * 2224 * synopsis 2225 * next_state = yy_try_NUL_trans( current_state ); 2226 */ 2227 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) 2228{ 2229 register int yy_is_jam; 2230 register char *yy_cp = (yy_c_buf_p); 2231 2232 register YY_CHAR yy_c = 1; 2233 if ( yy_accept[yy_current_state] ) 2234 { 2235 (yy_last_accepting_state) = yy_current_state; 2236 (yy_last_accepting_cpos) = yy_cp; 2237 } 2238 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) 2239 { 2240 yy_current_state = (int) yy_def[yy_current_state]; 2241 if ( yy_current_state >= 561 ) 2242 yy_c = yy_meta[(unsigned int) yy_c]; 2243 } 2244 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; 2245 yy_is_jam = (yy_current_state == 560); 2246 2247 return yy_is_jam ? 0 : yy_current_state; 2248} 2249 2250#ifndef YY_NO_INPUT 2251#ifdef __cplusplus 2252 static int yyinput (void) 2253#else 2254 static int input (void) 2255#endif 2256 2257{ 2258 int c; 2259 2260 *(yy_c_buf_p) = (yy_hold_char); 2261 2262 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) 2263 { 2264 /* yy_c_buf_p now points to the character we want to return. 2265 * If this occurs *before* the EOB characters, then it's a 2266 * valid NUL; if not, then we've hit the end of the buffer. 2267 */ 2268 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) 2269 /* This was really a NUL. */ 2270 *(yy_c_buf_p) = '\0'; 2271 2272 else 2273 { /* need more input */ 2274 int offset = (yy_c_buf_p) - (yytext_ptr); 2275 ++(yy_c_buf_p); 2276 2277 switch ( yy_get_next_buffer( ) ) 2278 { 2279 case EOB_ACT_LAST_MATCH: 2280 /* This happens because yy_g_n_b() 2281 * sees that we've accumulated a 2282 * token and flags that we need to 2283 * try matching the token before 2284 * proceeding. But for input(), 2285 * there's no matching to consider. 2286 * So convert the EOB_ACT_LAST_MATCH 2287 * to EOB_ACT_END_OF_FILE. 2288 */ 2289 2290 /* Reset buffer status. */ 2291 yyrestart(yyin ); 2292 2293 /*FALLTHROUGH*/ 2294 2295 case EOB_ACT_END_OF_FILE: 2296 { 2297 if ( yywrap( ) ) 2298 return EOF; 2299 2300 if ( ! (yy_did_buffer_switch_on_eof) ) 2301 YY_NEW_FILE; 2302#ifdef __cplusplus 2303 return yyinput(); 2304#else 2305 return input(); 2306#endif 2307 } 2308 2309 case EOB_ACT_CONTINUE_SCAN: 2310 (yy_c_buf_p) = (yytext_ptr) + offset; 2311 break; 2312 } 2313 } 2314 } 2315 2316 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ 2317 *(yy_c_buf_p) = '\0'; /* preserve yytext */ 2318 (yy_hold_char) = *++(yy_c_buf_p); 2319 2320 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); 2321 2322 return c; 2323} 2324#endif /* ifndef YY_NO_INPUT */ 2325 2326/** Immediately switch to a different input stream. 2327 * @param input_file A readable stream. 2328 * 2329 * @note This function does not reset the start condition to @c INITIAL . 2330 */ 2331 void yyrestart (FILE * input_file ) 2332{ 2333 2334 if ( ! YY_CURRENT_BUFFER ){ 2335 yyensure_buffer_stack (); 2336 YY_CURRENT_BUFFER_LVALUE = 2337 yy_create_buffer(yyin,YY_BUF_SIZE ); 2338 } 2339 2340 yy_init_buffer(YY_CURRENT_BUFFER,input_file ); 2341 yy_load_buffer_state( ); 2342} 2343 2344/** Switch to a different input buffer. 2345 * @param new_buffer The new input buffer. 2346 * 2347 */ 2348 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) 2349{ 2350 2351 /* TODO. We should be able to replace this entire function body 2352 * with 2353 * yypop_buffer_state(); 2354 * yypush_buffer_state(new_buffer); 2355 */ 2356 yyensure_buffer_stack (); 2357 if ( YY_CURRENT_BUFFER == new_buffer ) 2358 return; 2359 2360 if ( YY_CURRENT_BUFFER ) 2361 { 2362 /* Flush out information for old buffer. */ 2363 *(yy_c_buf_p) = (yy_hold_char); 2364 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); 2365 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); 2366 } 2367 2368 YY_CURRENT_BUFFER_LVALUE = new_buffer; 2369 yy_load_buffer_state( ); 2370 2371 /* We don't actually know whether we did this switch during 2372 * EOF (yywrap()) processing, but the only time this flag 2373 * is looked at is after yywrap() is called, so it's safe 2374 * to go ahead and always set it. 2375 */ 2376 (yy_did_buffer_switch_on_eof) = 1; 2377} 2378 2379static void yy_load_buffer_state (void) 2380{ 2381 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; 2382 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; 2383 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; 2384 (yy_hold_char) = *(yy_c_buf_p); 2385} 2386 2387/** Allocate and initialize an input buffer state. 2388 * @param file A readable stream. 2389 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. 2390 * 2391 * @return the allocated buffer state. 2392 */ 2393 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) 2394{ 2395 YY_BUFFER_STATE b; 2396 2397 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); 2398 if ( ! b ) 2399 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); 2400 2401 b->yy_buf_size = size; 2402 2403 /* yy_ch_buf has to be 2 characters longer than the size given because 2404 * we need to put in 2 end-of-buffer characters. 2405 */ 2406 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); 2407 if ( ! b->yy_ch_buf ) 2408 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); 2409 2410 b->yy_is_our_buffer = 1; 2411 2412 yy_init_buffer(b,file ); 2413 2414 return b; 2415} 2416 2417/** Destroy the buffer. 2418 * @param b a buffer created with yy_create_buffer() 2419 * 2420 */ 2421 void yy_delete_buffer (YY_BUFFER_STATE b ) 2422{ 2423 2424 if ( ! b ) 2425 return; 2426 2427 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ 2428 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; 2429 2430 if ( b->yy_is_our_buffer ) 2431 yyfree((void *) b->yy_ch_buf ); 2432 2433 yyfree((void *) b ); 2434} 2435 2436/* Initializes or reinitializes a buffer. 2437 * This function is sometimes called more than once on the same buffer, 2438 * such as during a yyrestart() or at EOF. 2439 */ 2440 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) 2441 2442{ 2443 int oerrno = errno; 2444 2445 yy_flush_buffer(b ); 2446 2447 b->yy_input_file = file; 2448 b->yy_fill_buffer = 1; 2449 2450 /* If b is the current buffer, then yy_init_buffer was _probably_ 2451 * called from yyrestart() or through yy_get_next_buffer. 2452 * In that case, we don't want to reset the lineno or column. 2453 */ 2454 if (b != YY_CURRENT_BUFFER){ 2455 b->yy_bs_lineno = 1; 2456 b->yy_bs_column = 0; 2457 } 2458 2459 b->yy_is_interactive = 0; 2460 2461 errno = oerrno; 2462} 2463 2464/** Discard all buffered characters. On the next scan, YY_INPUT will be called. 2465 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. 2466 * 2467 */ 2468 void yy_flush_buffer (YY_BUFFER_STATE b ) 2469{ 2470 if ( ! b ) 2471 return; 2472 2473 b->yy_n_chars = 0; 2474 2475 /* We always need two end-of-buffer characters. The first causes 2476 * a transition to the end-of-buffer state. The second causes 2477 * a jam in that state. 2478 */ 2479 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; 2480 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; 2481 2482 b->yy_buf_pos = &b->yy_ch_buf[0]; 2483 2484 b->yy_at_bol = 1; 2485 b->yy_buffer_status = YY_BUFFER_NEW; 2486 2487 if ( b == YY_CURRENT_BUFFER ) 2488 yy_load_buffer_state( ); 2489} 2490 2491/** Pushes the new state onto the stack. The new state becomes 2492 * the current state. This function will allocate the stack 2493 * if necessary. 2494 * @param new_buffer The new state. 2495 * 2496 */ 2497void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) 2498{ 2499 if (new_buffer == NULL) 2500 return; 2501 2502 yyensure_buffer_stack(); 2503 2504 /* This block is copied from yy_switch_to_buffer. */ 2505 if ( YY_CURRENT_BUFFER ) 2506 { 2507 /* Flush out information for old buffer. */ 2508 *(yy_c_buf_p) = (yy_hold_char); 2509 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); 2510 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); 2511 } 2512 2513 /* Only push if top exists. Otherwise, replace top. */ 2514 if (YY_CURRENT_BUFFER) 2515 (yy_buffer_stack_top)++; 2516 YY_CURRENT_BUFFER_LVALUE = new_buffer; 2517 2518 /* copied from yy_switch_to_buffer. */ 2519 yy_load_buffer_state( ); 2520 (yy_did_buffer_switch_on_eof) = 1; 2521} 2522 2523/** Removes and deletes the top of the stack, if present. 2524 * The next element becomes the new top. 2525 * 2526 */ 2527void yypop_buffer_state (void) 2528{ 2529 if (!YY_CURRENT_BUFFER) 2530 return; 2531 2532 yy_delete_buffer(YY_CURRENT_BUFFER ); 2533 YY_CURRENT_BUFFER_LVALUE = NULL; 2534 if ((yy_buffer_stack_top) > 0) 2535 --(yy_buffer_stack_top); 2536 2537 if (YY_CURRENT_BUFFER) { 2538 yy_load_buffer_state( ); 2539 (yy_did_buffer_switch_on_eof) = 1; 2540 } 2541} 2542 2543/* Allocates the stack if it does not exist. 2544 * Guarantees space for at least one push. 2545 */ 2546static void yyensure_buffer_stack (void) 2547{ 2548 int num_to_alloc; 2549 2550 if (!(yy_buffer_stack)) { 2551 2552 /* First allocation is just for 2 elements, since we don't know if this 2553 * scanner will even need a stack. We use 2 instead of 1 to avoid an 2554 * immediate realloc on the next call. 2555 */ 2556 num_to_alloc = 1; 2557 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc 2558 (num_to_alloc * sizeof(struct yy_buffer_state*) 2559 ); 2560 if ( ! (yy_buffer_stack) ) 2561 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); 2562 2563 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); 2564 2565 (yy_buffer_stack_max) = num_to_alloc; 2566 (yy_buffer_stack_top) = 0; 2567 return; 2568 } 2569 2570 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ 2571 2572 /* Increase the buffer to prepare for a possible push. */ 2573 int grow_size = 8 /* arbitrary grow size */; 2574 2575 num_to_alloc = (yy_buffer_stack_max) + grow_size; 2576 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc 2577 ((yy_buffer_stack), 2578 num_to_alloc * sizeof(struct yy_buffer_state*) 2579 ); 2580 if ( ! (yy_buffer_stack) ) 2581 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); 2582 2583 /* zero only the new slots.*/ 2584 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); 2585 (yy_buffer_stack_max) = num_to_alloc; 2586 } 2587} 2588 2589/** Setup the input buffer state to scan directly from a user-specified character buffer. 2590 * @param base the character buffer 2591 * @param size the size in bytes of the character buffer 2592 * 2593 * @return the newly allocated buffer state object. 2594 */ 2595YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) 2596{ 2597 YY_BUFFER_STATE b; 2598 2599 if ( size < 2 || 2600 base[size-2] != YY_END_OF_BUFFER_CHAR || 2601 base[size-1] != YY_END_OF_BUFFER_CHAR ) 2602 /* They forgot to leave room for the EOB's. */ 2603 return 0; 2604 2605 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); 2606 if ( ! b ) 2607 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); 2608 2609 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ 2610 b->yy_buf_pos = b->yy_ch_buf = base; 2611 b->yy_is_our_buffer = 0; 2612 b->yy_input_file = 0; 2613 b->yy_n_chars = b->yy_buf_size; 2614 b->yy_is_interactive = 0; 2615 b->yy_at_bol = 1; 2616 b->yy_fill_buffer = 0; 2617 b->yy_buffer_status = YY_BUFFER_NEW; 2618 2619 yy_switch_to_buffer(b ); 2620 2621 return b; 2622} 2623 2624/** Setup the input buffer state to scan a string. The next call to yylex() will 2625 * scan from a @e copy of @a str. 2626 * @param yystr a NUL-terminated string to scan 2627 * 2628 * @return the newly allocated buffer state object. 2629 * @note If you want to scan bytes that may contain NUL values, then use 2630 * yy_scan_bytes() instead. 2631 */ 2632YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) 2633{ 2634 2635 return yy_scan_bytes(yystr,strlen(yystr) ); 2636} 2637 2638/** Setup the input buffer state to scan the given bytes. The next call to yylex() will 2639 * scan from a @e copy of @a bytes. 2640 * @param bytes the byte buffer to scan 2641 * @param len the number of bytes in the buffer pointed to by @a bytes. 2642 * 2643 * @return the newly allocated buffer state object. 2644 */ 2645YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) 2646{ 2647 YY_BUFFER_STATE b; 2648 char *buf; 2649 yy_size_t n; 2650 int i; 2651 2652 /* Get memory for full buffer, including space for trailing EOB's. */ 2653 n = _yybytes_len + 2; 2654 buf = (char *) yyalloc(n ); 2655 if ( ! buf ) 2656 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); 2657 2658 for ( i = 0; i < _yybytes_len; ++i ) 2659 buf[i] = yybytes[i]; 2660 2661 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; 2662 2663 b = yy_scan_buffer(buf,n ); 2664 if ( ! b ) 2665 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); 2666 2667 /* It's okay to grow etc. this buffer, and we should throw it 2668 * away when we're done. 2669 */ 2670 b->yy_is_our_buffer = 1; 2671 2672 return b; 2673} 2674 2675#ifndef YY_EXIT_FAILURE 2676#define YY_EXIT_FAILURE 2 2677#endif 2678 2679static void yy_fatal_error (yyconst char* msg ) 2680{ 2681 (void) fprintf( stderr, "%s\n", msg ); 2682 exit( YY_EXIT_FAILURE ); 2683} 2684 2685/* Redefine yyless() so it works in section 3 code. */ 2686 2687#undef yyless 2688#define yyless(n) \ 2689 do \ 2690 { \ 2691 /* Undo effects of setting up yytext. */ \ 2692 int yyless_macro_arg = (n); \ 2693 YY_LESS_LINENO(yyless_macro_arg);\ 2694 yytext[yyleng] = (yy_hold_char); \ 2695 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 2696 (yy_hold_char) = *(yy_c_buf_p); \ 2697 *(yy_c_buf_p) = '\0'; \ 2698 yyleng = yyless_macro_arg; \ 2699 } \ 2700 while ( 0 ) 2701 2702/* Accessor methods (get/set functions) to struct members. */ 2703 2704/** Get the current line number. 2705 * 2706 */ 2707int yyget_lineno (void) 2708{ 2709 2710 return yylineno; 2711} 2712 2713/** Get the input stream. 2714 * 2715 */ 2716FILE *yyget_in (void) 2717{ 2718 return yyin; 2719} 2720 2721/** Get the output stream. 2722 * 2723 */ 2724FILE *yyget_out (void) 2725{ 2726 return yyout; 2727} 2728 2729/** Get the length of the current token. 2730 * 2731 */ 2732int yyget_leng (void) 2733{ 2734 return yyleng; 2735} 2736 2737/** Get the current token. 2738 * 2739 */ 2740 2741char *yyget_text (void) 2742{ 2743 return yytext; 2744} 2745 2746/** Set the current line number. 2747 * @param line_number 2748 * 2749 */ 2750void yyset_lineno (int line_number ) 2751{ 2752 2753 yylineno = line_number; 2754} 2755 2756/** Set the input stream. This does not discard the current 2757 * input buffer. 2758 * @param in_str A readable stream. 2759 * 2760 * @see yy_switch_to_buffer 2761 */ 2762void yyset_in (FILE * in_str ) 2763{ 2764 yyin = in_str ; 2765} 2766 2767void yyset_out (FILE * out_str ) 2768{ 2769 yyout = out_str ; 2770} 2771 2772int yyget_debug (void) 2773{ 2774 return yy_flex_debug; 2775} 2776 2777void yyset_debug (int bdebug ) 2778{ 2779 yy_flex_debug = bdebug ; 2780} 2781 2782static int yy_init_globals (void) 2783{ 2784 /* Initialization is the same as for the non-reentrant scanner. 2785 * This function is called from yylex_destroy(), so don't allocate here. 2786 */ 2787 2788 (yy_buffer_stack) = 0; 2789 (yy_buffer_stack_top) = 0; 2790 (yy_buffer_stack_max) = 0; 2791 (yy_c_buf_p) = (char *) 0; 2792 (yy_init) = 0; 2793 (yy_start) = 0; 2794 2795/* Defined in main.c */ 2796#ifdef YY_STDINIT 2797 yyin = stdin; 2798 yyout = stdout; 2799#else 2800 yyin = (FILE *) 0; 2801 yyout = (FILE *) 0; 2802#endif 2803 2804 /* For future reference: Set errno on error, since we are called by 2805 * yylex_init() 2806 */ 2807 return 0; 2808} 2809 2810/* yylex_destroy is for both reentrant and non-reentrant scanners. */ 2811int yylex_destroy (void) 2812{ 2813 2814 /* Pop the buffer stack, destroying each element. */ 2815 while(YY_CURRENT_BUFFER){ 2816 yy_delete_buffer(YY_CURRENT_BUFFER ); 2817 YY_CURRENT_BUFFER_LVALUE = NULL; 2818 yypop_buffer_state(); 2819 } 2820 2821 /* Destroy the stack itself. */ 2822 yyfree((yy_buffer_stack) ); 2823 (yy_buffer_stack) = NULL; 2824 2825 /* Reset the globals. This is important in a non-reentrant scanner so the next time 2826 * yylex() is called, initialization will occur. */ 2827 yy_init_globals( ); 2828 2829 return 0; 2830} 2831 2832/* 2833 * Internal utility routines. 2834 */ 2835 2836#ifndef yytext_ptr 2837static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) 2838{ 2839 register int i; 2840 for ( i = 0; i < n; ++i ) 2841 s1[i] = s2[i]; 2842} 2843#endif 2844 2845#ifdef YY_NEED_STRLEN 2846static int yy_flex_strlen (yyconst char * s ) 2847{ 2848 register int n; 2849 for ( n = 0; s[n]; ++n ) 2850 ; 2851 2852 return n; 2853} 2854#endif 2855 2856void *yyalloc (yy_size_t size ) 2857{ 2858 return (void *) malloc( size ); 2859} 2860 2861void *yyrealloc (void * ptr, yy_size_t size ) 2862{ 2863 /* The cast to (char *) in the following accommodates both 2864 * implementations that use char* generic pointers, and those 2865 * that use void* generic pointers. It works with the latter 2866 * because both ANSI C and C++ allow castless assignment from 2867 * any pointer type to void*, and deal with argument conversions 2868 * as though doing an assignment. 2869 */ 2870 return (void *) realloc( (char *) ptr, size ); 2871} 2872 2873void yyfree (void * ptr ) 2874{ 2875 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ 2876} 2877 2878#define YYTABLES_NAME "yytables" 2879 2880#line 199 "/space/rguenther/gcc-5.4.0/gcc-5.4.0/gcc/gengtype-lex.l" 2881 2882 2883 2884void 2885yybegin (const char *fname) 2886{ 2887 yyin = fopen (fname, "r"); 2888 if (yyin == NULL) 2889 { 2890 perror (fname); 2891 exit (1); 2892 } 2893 lexer_line.file = input_file_by_name (fname); 2894 lexer_line.line = 1; 2895} 2896 2897void 2898yyend (void) 2899{ 2900 fclose (yyin); 2901} 2902 2903