diff options
Diffstat (limited to 'gcc-4.9/gcc/gengtype-lex.c')
-rw-r--r-- | gcc-4.9/gcc/gengtype-lex.c | 2897 |
1 files changed, 2897 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/gengtype-lex.c b/gcc-4.9/gcc/gengtype-lex.c new file mode 100644 index 000000000..70d4eae32 --- /dev/null +++ b/gcc-4.9/gcc/gengtype-lex.c @@ -0,0 +1,2897 @@ +#include "bconfig.h" +#line 2 "gengtype-lex.c" + +#line 4 "gengtype-lex.c" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 5 +#define YY_FLEX_SUBMINOR_VERSION 37 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> + +/* end standard C headers. */ + +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 +#endif + +#include <inttypes.h> +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; + +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +#ifdef __cplusplus + +/* The "const" storage-class-modifier is valid. */ +#define YY_USE_CONST + +#else /* ! __cplusplus */ + +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) + +#define YY_USE_CONST + +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ + +#ifdef YY_USE_CONST +#define yyconst const +#else +#define yyconst +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an unsigned + * integer for use as an array index. If the signed char is negative, + * we want to instead treat it as an 8-bit unsigned char, hence the + * double cast. + */ +#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#define BEGIN (yy_start) = 1 + 2 * + +/* Translate the current start state into a value that can be later handed + * to BEGIN to return to the state. The YYSTATE alias is for lex + * compatibility. + */ +#define YY_START (((yy_start) - 1) / 2) +#define YYSTATE YY_START + +/* Action number for EOF rule of a given start state. */ +#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) + +/* Special action meaning "start processing a new file". */ +#define YY_NEW_FILE yyrestart(yyin ) + +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#define YY_BUF_SIZE 16384 +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +extern yy_size_t yyleng; + +extern FILE *yyin, *yyout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ + } \ + while ( 0 ) + +#define unput(c) yyunput( c, (yytext_ptr) ) + +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + yy_size_t yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; + + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; + + int yy_buffer_status; + +#define YY_BUFFER_NEW 0 +#define YY_BUFFER_NORMAL 1 + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ + +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + * + * Returns the top of the stack, or NULL. + */ +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) + +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] + +/* yy_hold_char holds the character lost when yytext is formed. */ +static char yy_hold_char; +static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +yy_size_t yyleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = (char *) 0; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void yyrestart (FILE *input_file ); +void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); +void yy_delete_buffer (YY_BUFFER_STATE b ); +void yy_flush_buffer (YY_BUFFER_STATE b ); +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state (void ); + +static void yyensure_buffer_stack (void ); +static void yy_load_buffer_state (void ); +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); + +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); + +void *yyalloc (yy_size_t ); +void *yyrealloc (void *,yy_size_t ); +void yyfree (void * ); + +#define yy_new_buffer yy_create_buffer + +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } + +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } + +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ + +#define yywrap() 1 +#define YY_SKIP_YYWRAP + +typedef unsigned char YY_CHAR; + +FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; + +typedef int yy_state_type; + +extern int yylineno; + +int yylineno = 1; + +extern char *yytext; +#define yytext_ptr yytext + +static yy_state_type yy_get_previous_state (void ); +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +static int yy_get_next_buffer (void ); +static void yy_fatal_error (yyconst char msg[] ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up yytext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + yyleng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; + +#define YY_NUM_RULES 53 +#define YY_END_OF_BUFFER 54 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_accept[558] = + { 0, + 0, 0, 0, 0, 0, 0, 0, 0, 54, 41, + 38, 50, 41, 50, 39, 41, 41, 39, 39, 39, + 39, 39, 35, 9, 9, 33, 35, 14, 35, 33, + 35, 24, 35, 35, 35, 35, 35, 35, 35, 35, + 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, + 35, 35, 35, 13, 9, 35, 46, 44, 51, 51, + 0, 42, 0, 0, 0, 43, 36, 43, 0, 39, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 39, 39, 39, 39, 39, 9, 0, 29, 0, 0, + 0, 0, 7, 0, 24, 28, 28, 0, 28, 0, + + 0, 0, 0, 0, 0, 0, 30, 10, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 9, 0, 0, 0, 0, 47, 49, 48, 40, 0, + 37, 0, 0, 0, 0, 0, 0, 0, 39, 39, + 39, 39, 39, 39, 31, 32, 0, 8, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 34, 0, 0, 0, 39, + + 0, 0, 0, 0, 0, 0, 0, 39, 39, 39, + 39, 39, 39, 0, 0, 0, 0, 0, 15, 15, + 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 26, 26, 26, 26, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 39, 0, 0, 0, 0, 0, 0, 0, 39, + 39, 39, 39, 39, 39, 0, 0, 0, 0, 0, + 0, 0, 0, 20, 20, 20, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 23, 23, 23, 0, 0, 0, 0, + 0, 0, 0, 0, 4, 4, 4, 39, 39, 39, + 39, 3, 3, 3, 0, 0, 0, 0, 0, 18, + 18, 18, 11, 11, 11, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, + 16, 16, 0, 0, 0, 0, 0, 0, 5, 5, + 5, 6, 6, 6, 2, 2, 2, 39, 0, 0, + 0, 0, 0, 12, 12, 12, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 28, 17, 17, 17, + 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, + 26, 0, 0, 0, 0, 0, 0, 0, 0, 12, + 12, 19, 19, 19, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 25, 25, + 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 21, 21, 21, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 22, 22, 22, 0, 52, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 28, 28, 28, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, + 0, 0, 0, 0, 0, 0, 45, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0 + } ; + +static yyconst flex_int32_t yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 4, 5, 6, 1, 4, 7, 8, 9, + 10, 11, 4, 4, 4, 12, 13, 14, 14, 14, + 14, 14, 14, 14, 14, 14, 14, 15, 4, 4, + 4, 4, 4, 1, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 25, 26, 27, 28, 29, 30, + 25, 31, 32, 33, 34, 25, 35, 25, 36, 25, + 37, 38, 39, 1, 40, 1, 41, 42, 43, 44, + + 45, 46, 47, 48, 49, 50, 50, 51, 52, 53, + 54, 55, 50, 56, 57, 58, 59, 60, 50, 61, + 62, 63, 4, 4, 4, 64, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static yyconst flex_int32_t yy_meta[65] = + { 0, + 1, 2, 3, 1, 1, 1, 1, 1, 1, 4, + 5, 1, 1, 6, 7, 8, 8, 8, 8, 8, + 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 8, 8, 8, 8, 9, 1, 1, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 1 + } ; + +static yyconst flex_int16_t yy_base[605] = + { 0, + 0, 64, 128, 14, 14, 15, 16, 18, 1220, 2336, + 2336, 17, 1181, 17, 21, 38, 40, 31, 30, 32, + 46, 39, 2336, 47, 49, 2336, 19, 2336, 1177, 1202, + 45, 1199, 192, 256, 30, 34, 2, 64, 1173, 1208, + 56, 65, 59, 58, 69, 71, 60, 70, 57, 177, + 179, 180, 181, 2336, 209, 1208, 0, 2336, 1196, 1195, + 208, 2336, 0, 1199, 1203, 2336, 2336, 1202, 103, 217, + 1189, 239, 237, 1152, 1141, 1143, 1138, 1146, 242, 1153, + 238, 268, 272, 274, 273, 124, 209, 2336, 1194, 1188, + 1192, 1181, 2336, 1175, 1163, 2336, 275, 1147, 1160, 1145, + + 187, 192, 214, 191, 88, 1134, 2336, 2336, 194, 251, + 262, 220, 195, 243, 270, 276, 225, 275, 271, 277, + 282, 279, 272, 283, 278, 286, 288, 289, 294, 309, + 343, 1170, 1169, 352, 0, 2336, 2336, 2336, 2336, 1167, + 2336, 1167, 1127, 1109, 268, 1111, 1116, 1118, 359, 337, + 360, 358, 374, 366, 2336, 2336, 1160, 2336, 348, 1147, + 1159, 327, 292, 330, 420, 24, 336, 319, 329, 405, + 407, 337, 335, 338, 342, 350, 484, 408, 409, 410, + 343, 318, 411, 412, 414, 415, 417, 416, 413, 418, + 431, 420, 419, 421, 1157, 2336, 546, 0, 1157, 496, + + 1101, 1112, 1098, 1096, 1106, 1096, 1100, 498, 500, 501, + 499, 502, 504, 1146, 609, 478, 357, 480, 2336, 510, + 1132, 495, 497, 422, 424, 425, 673, 427, 452, 481, + 2336, 736, 525, 1131, 499, 434, 479, 500, 507, 504, + 505, 501, 518, 503, 522, 509, 524, 529, 532, 795, + 0, 560, 1088, 1088, 1094, 1099, 1097, 1087, 1086, 859, + 570, 623, 568, 625, 923, 987, 547, 551, 549, 540, + 599, 1051, 1115, 2336, 627, 1123, 601, 604, 0, 629, + 1108, 1106, 621, 1081, 1086, 1088, 1079, 1077, 203, 1076, + 607, 603, 625, 606, 612, 638, 614, 624, 629, 633, + + 630, 627, 1179, 2336, 688, 1099, 0, 0, 1060, 1069, + 1053, 1065, 0, 1064, 2336, 690, 1093, 1243, 1307, 1371, + 694, 2336, 691, 1092, 670, 666, 678, 640, 684, 2336, + 699, 1091, 2336, 702, 1090, 1435, 1075, 1073, 1071, 1069, + 1046, 1058, 1038, 519, 1044, 1042, 653, 1038, 623, 669, + 701, 693, 689, 690, 695, 706, 1499, 691, 697, 2336, + 730, 1079, 0, 0, 0, 0, 1047, 725, 2336, 731, + 1077, 2336, 745, 1076, 2336, 748, 1072, 1563, 696, 726, + 723, 552, 738, 2336, 756, 1071, 1059, 1066, 1064, 1049, + 1030, 1024, 1039, 1038, 759, 1030, 1020, 1022, 1029, 1024, + + 735, 736, 752, 753, 741, 743, 1057, 2336, 773, 1056, + 744, 1627, 0, 0, 809, 2336, 811, 1055, 748, 762, + 793, 787, 754, 1029, 1045, 1027, 1025, 992, 991, 2336, + 813, 990, 1002, 1006, 998, 788, 1691, 791, 790, 2336, + 1042, 2336, 821, 1028, 0, 1009, 707, 800, 801, 789, + 808, 1024, 1024, 1008, 1003, 993, 978, 820, 2336, 836, + 1020, 824, 1755, 0, 998, 821, 823, 853, 855, 825, + 854, 1009, 1001, 1011, 1006, 1819, 2336, 840, 1014, 0, + 1019, 851, 815, 859, 857, 852, 828, 994, 983, 1000, + 1002, 2336, 885, 1005, 0, 2336, 860, 873, 872, 870, + + 874, 998, 985, 975, 994, 0, 876, 908, 880, 988, + 986, 977, 872, 0, 910, 938, 911, 913, 889, 988, + 985, 981, 953, 961, 0, 913, 942, 946, 956, 961, + 963, 957, 954, 948, 936, 946, 0, 965, 967, 2336, + 969, 941, 935, 932, 919, 888, 2336, 917, 887, 748, + 582, 1001, 438, 355, 1003, 73, 2336, 1883, 1893, 1903, + 1913, 1923, 1932, 1942, 1952, 1962, 1972, 1981, 1991, 2001, + 2011, 2021, 2031, 2041, 2050, 2059, 2069, 2078, 2088, 2098, + 2108, 2118, 2127, 2136, 2146, 2155, 2164, 2173, 2182, 2191, + 2201, 2209, 2219, 2229, 2239, 2249, 2259, 2269, 2278, 2288, + + 2297, 2307, 2316, 2325 + } ; + +static yyconst flex_int16_t yy_def[605] = + { 0, + 558, 558, 557, 3, 559, 559, 559, 559, 557, 557, + 557, 560, 561, 562, 563, 557, 557, 563, 563, 563, + 563, 563, 557, 557, 557, 557, 564, 557, 565, 557, + 557, 557, 566, 566, 34, 34, 34, 34, 567, 557, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 557, 557, 568, 569, 557, 570, 570, + 560, 557, 560, 557, 561, 557, 557, 571, 557, 563, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 563, 563, 563, 563, 563, 557, 564, 557, 564, 557, + 565, 557, 557, 572, 557, 557, 557, 34, 557, 34, + + 34, 34, 34, 34, 34, 567, 557, 557, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 557, 568, 568, 573, 574, 557, 557, 557, 557, 571, + 557, 575, 557, 557, 557, 557, 557, 557, 563, 563, + 563, 563, 563, 563, 557, 557, 572, 557, 557, 557, + 576, 34, 34, 34, 566, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 566, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 573, 557, 573, 577, 575, 578, + + 557, 557, 557, 557, 557, 557, 557, 563, 563, 563, + 563, 563, 563, 576, 579, 34, 34, 34, 557, 557, + 557, 34, 34, 34, 34, 34, 566, 34, 34, 34, + 557, 557, 232, 557, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 566, + 580, 578, 557, 557, 557, 557, 557, 557, 557, 563, + 563, 563, 563, 563, 563, 579, 34, 34, 34, 34, + 34, 566, 566, 557, 557, 557, 34, 34, 232, 232, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, + + 34, 34, 566, 557, 557, 557, 581, 582, 557, 557, + 557, 557, 583, 557, 557, 557, 557, 563, 563, 563, + 563, 557, 557, 557, 34, 34, 34, 34, 34, 557, + 557, 557, 557, 557, 557, 566, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 34, 34, + 34, 34, 34, 34, 34, 34, 566, 34, 34, 557, + 557, 557, 584, 585, 586, 587, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 563, 34, 34, + 34, 34, 34, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 588, 557, 557, 557, 557, 557, + + 34, 34, 34, 34, 34, 34, 589, 557, 557, 557, + 34, 566, 590, 591, 557, 557, 557, 557, 34, 34, + 34, 34, 34, 557, 557, 557, 557, 557, 557, 557, + 232, 557, 557, 557, 557, 34, 566, 34, 34, 557, + 592, 557, 557, 557, 593, 557, 34, 34, 34, 34, + 34, 557, 557, 557, 557, 557, 557, 34, 557, 557, + 557, 34, 566, 594, 557, 34, 34, 34, 34, 34, + 34, 557, 557, 557, 557, 566, 557, 557, 557, 595, + 557, 34, 34, 34, 34, 34, 34, 557, 557, 557, + 557, 557, 557, 557, 596, 557, 34, 34, 34, 34, + + 34, 557, 557, 557, 557, 597, 34, 34, 34, 557, + 557, 557, 557, 598, 34, 557, 557, 599, 34, 557, + 557, 557, 557, 557, 600, 34, 557, 557, 599, 599, + 601, 557, 557, 557, 557, 557, 602, 557, 557, 557, + 601, 557, 557, 557, 557, 557, 557, 603, 557, 557, + 603, 604, 557, 557, 604, 557, 0, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + + 557, 557, 557, 557 + } ; + +static yyconst flex_int16_t yy_nxt[2401] = + { 0, + 10, 10, 11, 10, 12, 10, 10, 13, 10, 10, + 10, 10, 14, 10, 10, 55, 58, 58, 58, 56, + 58, 62, 69, 88, 59, 59, 60, 67, 60, 68, + 98, 69, 69, 69, 103, 71, 10, 10, 10, 72, + 69, 79, 222, 73, 71, 71, 71, 69, 86, 86, + 86, 86, 98, 71, 63, 93, 89, 94, 98, 101, + 71, 102, 98, 10, 10, 16, 11, 10, 12, 17, + 10, 13, 10, 10, 10, 10, 14, 10, 10, 104, + 74, 81, 75, 80, 98, 98, 98, 98, 98, 83, + 82, 85, 105, 98, 76, 77, 78, 98, 98, 98, + + 10, 10, 10, 113, 69, 395, 18, 84, 19, 109, + 114, 119, 110, 117, 118, 111, 98, 71, 112, 167, + 20, 21, 22, 116, 115, 86, 86, 10, 23, 24, + 25, 26, 27, 23, 28, 29, 26, 26, 26, 30, + 31, 32, 26, 33, 34, 35, 33, 36, 33, 37, + 38, 33, 33, 33, 33, 33, 33, 33, 33, 33, + 33, 33, 33, 33, 39, 40, 23, 33, 33, 41, + 42, 43, 44, 45, 33, 33, 46, 33, 47, 33, + 48, 49, 50, 33, 51, 52, 53, 33, 33, 33, + 33, 54, 96, 97, 96, 96, 96, 96, 96, 96, + + 96, 96, 96, 96, 96, 98, 99, 98, 98, 98, + 131, 86, 62, 88, 132, 98, 163, 120, 69, 98, + 98, 166, 98, 98, 127, 164, 124, 125, 96, 96, + 96, 71, 121, 129, 122, 123, 126, 130, 79, 69, + 72, 128, 98, 79, 73, 63, 89, 168, 98, 165, + 346, 347, 71, 98, 172, 96, 96, 97, 96, 96, + 96, 96, 96, 96, 96, 96, 96, 96, 96, 69, + 99, 98, 171, 69, 69, 69, 159, 178, 149, 98, + 80, 74, 71, 75, 100, 80, 71, 71, 71, 160, + 98, 169, 96, 96, 96, 76, 77, 78, 98, 98, + + 98, 173, 170, 98, 98, 98, 98, 98, 203, 217, + 98, 98, 151, 185, 98, 180, 98, 98, 174, 96, + 98, 154, 98, 204, 187, 150, 175, 152, 153, 176, + 182, 179, 181, 177, 184, 183, 186, 98, 69, 190, + 188, 189, 192, 191, 131, 86, 98, 98, 132, 159, + 193, 71, 216, 194, 196, 98, 218, 98, 98, 69, + 69, 69, 160, 98, 98, 98, 98, 69, 223, 177, + 98, 98, 71, 71, 71, 69, 226, 238, 98, 268, + 71, 209, 228, 237, 177, 98, 227, 395, 71, 230, + 229, 197, 197, 197, 197, 197, 197, 197, 197, 197, + + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 208, 211, 210, 212, 213, + 219, 220, 219, 219, 219, 219, 219, 219, 219, 219, + 219, 219, 219, 98, 221, 98, 98, 98, 98, 98, + 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, + 98, 240, 98, 98, 177, 98, 219, 219, 219, 98, + 244, 224, 98, 225, 241, 236, 235, 249, 239, 243, + 242, 245, 246, 248, 292, 247, 250, 556, 272, 277, + 98, 273, 177, 219, 231, 232, 233, 231, 231, 231, + 231, 231, 231, 231, 231, 231, 231, 69, 234, 69, + + 69, 69, 69, 69, 278, 69, 98, 98, 98, 98, + 71, 159, 71, 71, 71, 71, 71, 267, 71, 269, + 231, 231, 231, 98, 160, 98, 280, 98, 98, 98, + 293, 98, 98, 98, 270, 98, 271, 98, 177, 557, + 294, 263, 299, 291, 296, 264, 98, 231, 196, 262, + 98, 295, 98, 297, 260, 261, 265, 98, 177, 301, + 98, 69, 298, 325, 300, 327, 326, 302, 98, 69, + 328, 69, 394, 422, 71, 98, 395, 98, 187, 98, + 98, 303, 71, 551, 71, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + + 197, 197, 197, 197, 197, 197, 197, 197, 197, 96, + 97, 96, 96, 96, 96, 96, 96, 96, 96, 96, + 96, 96, 318, 99, 69, 320, 69, 98, 159, 98, + 280, 98, 98, 329, 98, 98, 339, 71, 351, 71, + 98, 160, 98, 557, 336, 96, 96, 96, 336, 340, + 349, 98, 98, 98, 354, 98, 356, 98, 98, 382, + 350, 98, 401, 353, 352, 319, 98, 177, 98, 321, + 358, 359, 96, 274, 275, 274, 274, 274, 274, 274, + 274, 274, 274, 274, 274, 274, 177, 276, 355, 159, + 357, 69, 69, 379, 98, 69, 380, 98, 98, 398, + + 159, 381, 160, 159, 71, 71, 98, 383, 71, 274, + 274, 274, 98, 160, 351, 399, 160, 98, 98, 98, + 407, 98, 402, 98, 98, 98, 415, 415, 419, 98, + 466, 159, 69, 404, 98, 98, 274, 279, 280, 378, + 352, 403, 412, 406, 160, 71, 69, 405, 411, 69, + 160, 98, 281, 282, 98, 421, 423, 159, 283, 71, + 431, 431, 71, 98, 98, 420, 98, 407, 447, 98, + 160, 98, 98, 451, 159, 554, 98, 284, 285, 286, + 98, 98, 98, 439, 287, 438, 288, 160, 336, 436, + 98, 336, 289, 448, 290, 304, 305, 304, 304, 304, + + 304, 304, 304, 304, 304, 304, 304, 304, 437, 306, + 415, 415, 69, 449, 280, 98, 98, 98, 98, 98, + 469, 98, 159, 467, 468, 71, 450, 557, 98, 98, + 446, 304, 304, 304, 462, 160, 98, 159, 407, 470, + 482, 159, 498, 98, 483, 458, 463, 471, 98, 98, + 160, 98, 98, 98, 160, 501, 98, 486, 304, 315, + 316, 315, 315, 315, 315, 315, 315, 315, 315, 315, + 315, 315, 484, 317, 485, 476, 497, 487, 177, 98, + 98, 98, 98, 98, 499, 98, 159, 98, 98, 177, + 508, 500, 507, 509, 515, 315, 315, 315, 98, 160, + + 98, 98, 98, 523, 98, 553, 177, 519, 98, 516, + 517, 524, 528, 528, 530, 530, 518, 98, 551, 529, + 395, 177, 315, 322, 323, 322, 322, 322, 322, 322, + 322, 322, 322, 322, 322, 322, 98, 324, 98, 527, + 528, 98, 550, 527, 528, 177, 529, 528, 528, 526, + 529, 549, 160, 395, 529, 548, 160, 530, 530, 322, + 322, 322, 530, 530, 538, 539, 538, 539, 539, 539, + 538, 539, 540, 546, 540, 545, 540, 542, 540, 542, + 395, 544, 543, 542, 536, 535, 322, 96, 97, 96, + 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, + + 534, 99, 538, 539, 538, 539, 533, 532, 522, 521, + 540, 520, 540, 513, 512, 542, 511, 542, 510, 161, + 505, 504, 503, 96, 96, 96, 502, 496, 161, 491, + 490, 489, 488, 481, 161, 395, 395, 475, 474, 473, + 472, 465, 161, 214, 398, 457, 456, 395, 395, 395, + 96, 330, 331, 330, 330, 330, 330, 330, 330, 330, + 330, 330, 330, 330, 455, 332, 454, 453, 452, 142, + 161, 441, 435, 434, 433, 432, 395, 429, 428, 395, + 395, 427, 426, 425, 424, 161, 142, 330, 330, 330, + 142, 142, 414, 161, 400, 397, 396, 393, 392, 391, + + 390, 389, 388, 387, 161, 161, 142, 142, 368, 367, + 366, 365, 364, 161, 330, 333, 334, 333, 333, 333, + 333, 333, 333, 333, 333, 333, 333, 333, 348, 335, + 345, 344, 343, 342, 341, 338, 337, 161, 314, 313, + 312, 311, 310, 309, 308, 161, 161, 214, 259, 258, + 257, 333, 333, 333, 256, 255, 254, 253, 199, 196, + 214, 161, 158, 207, 206, 205, 202, 201, 199, 141, + 133, 133, 107, 162, 161, 98, 95, 158, 333, 360, + 361, 360, 360, 360, 360, 360, 360, 360, 360, 360, + 360, 360, 156, 362, 557, 155, 557, 148, 147, 146, + + 145, 144, 143, 142, 141, 557, 139, 138, 137, 133, + 108, 107, 95, 92, 91, 360, 360, 360, 65, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 360, 369, 370, 369, 369, 369, 369, 369, + 369, 369, 369, 369, 369, 369, 557, 371, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 369, + 369, 369, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + + 557, 557, 557, 557, 557, 557, 369, 372, 373, 372, + 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, + 557, 374, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 372, 372, 372, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 372, 375, 376, 375, 375, 375, 375, 375, 375, 375, + 375, 375, 375, 375, 557, 377, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + + 557, 557, 557, 557, 557, 557, 557, 375, 375, 375, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 375, 384, 385, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 557, 386, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 384, 384, 384, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 384, 408, + + 409, 408, 408, 408, 408, 408, 408, 408, 408, 408, + 408, 408, 557, 410, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 408, 408, 408, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 408, 416, 417, 416, 416, 416, 416, 416, + 416, 416, 416, 416, 416, 416, 557, 418, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 416, + + 416, 416, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 416, 442, 443, 442, + 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, + 557, 444, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 442, 442, 442, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 442, 459, 460, 459, 459, 459, 459, 459, 459, 459, + + 459, 459, 459, 459, 557, 461, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 459, 459, 459, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 459, 477, 478, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 557, 479, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 477, 477, 477, 557, 557, 557, 557, 557, 557, + + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 477, 492, + 493, 492, 492, 492, 492, 492, 492, 492, 492, 492, + 492, 492, 557, 494, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 492, 492, 492, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 492, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 57, 57, 57, 57, 57, 57, 57, + + 57, 57, 57, 61, 61, 61, 61, 61, 61, 61, + 61, 61, 61, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 66, 66, 66, 66, 66, 66, 66, + 66, 66, 66, 70, 557, 557, 557, 70, 70, 70, + 557, 70, 87, 87, 87, 87, 87, 87, 87, 87, + 87, 87, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 98, 98, 98, 98, 98, 98, 98, 98, + 98, 98, 106, 106, 106, 106, 106, 106, 106, 106, + 557, 106, 134, 557, 557, 557, 557, 557, 557, 557, + 134, 135, 135, 557, 135, 557, 135, 135, 135, 135, + + 135, 136, 136, 136, 136, 136, 136, 136, 136, 136, + 136, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 157, 157, 157, 157, 157, 157, 157, 157, 157, + 157, 195, 195, 195, 195, 195, 195, 195, 195, 195, + 195, 198, 198, 557, 198, 557, 198, 198, 198, 198, + 198, 200, 557, 557, 557, 557, 557, 200, 557, 200, + 215, 557, 557, 557, 557, 557, 215, 557, 215, 251, + 251, 557, 251, 557, 251, 251, 251, 251, 251, 252, + 557, 557, 557, 252, 252, 252, 557, 252, 266, 266, + 266, 266, 266, 266, 266, 266, 266, 266, 307, 307, + + 557, 307, 557, 307, 307, 307, 307, 307, 363, 363, + 557, 363, 557, 363, 363, 363, 363, 363, 315, 315, + 315, 315, 315, 557, 315, 557, 315, 322, 322, 322, + 322, 322, 557, 322, 557, 322, 413, 413, 557, 413, + 557, 413, 413, 413, 413, 413, 369, 369, 369, 369, + 369, 557, 369, 557, 369, 372, 372, 372, 372, 372, + 557, 372, 557, 372, 375, 375, 375, 375, 375, 557, + 375, 557, 375, 430, 430, 430, 430, 430, 557, 430, + 557, 430, 440, 440, 440, 440, 440, 557, 440, 557, + 440, 445, 445, 557, 445, 557, 445, 445, 445, 445, + + 445, 416, 416, 416, 416, 416, 557, 416, 557, 416, + 215, 557, 557, 557, 557, 557, 215, 557, 215, 464, + 464, 557, 464, 557, 464, 464, 464, 464, 464, 480, + 480, 557, 480, 557, 480, 480, 480, 480, 480, 495, + 495, 557, 495, 557, 495, 495, 495, 495, 495, 506, + 506, 557, 506, 557, 506, 506, 506, 506, 506, 514, + 514, 557, 514, 557, 514, 514, 514, 514, 514, 525, + 525, 557, 525, 557, 525, 525, 525, 525, 525, 531, + 531, 557, 557, 557, 557, 531, 557, 531, 537, 537, + 557, 537, 557, 537, 537, 537, 537, 537, 541, 541, + + 541, 557, 541, 541, 541, 557, 541, 547, 547, 557, + 547, 557, 547, 547, 547, 547, 547, 552, 557, 557, + 557, 557, 557, 552, 557, 552, 555, 555, 555, 557, + 555, 555, 555, 557, 555, 9, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557 + + } ; + +static yyconst flex_int16_t yy_chk[2401] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 4, 5, 6, 7, 4, + 8, 12, 15, 27, 5, 6, 7, 14, 8, 14, + 37, 19, 18, 20, 37, 15, 1, 1, 1, 16, + 22, 17, 166, 16, 19, 18, 20, 21, 24, 24, + 25, 25, 166, 22, 12, 31, 27, 31, 35, 35, + 21, 36, 36, 1, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 38, + 16, 18, 16, 17, 41, 49, 44, 43, 47, 20, + 19, 22, 38, 42, 16, 16, 16, 45, 48, 46, + + 2, 2, 2, 43, 69, 556, 2, 21, 2, 41, + 44, 49, 42, 47, 48, 42, 105, 69, 42, 105, + 2, 2, 2, 46, 45, 86, 86, 2, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 33, 33, 33, 33, 33, 33, 33, 33, + + 33, 33, 33, 33, 33, 50, 33, 51, 52, 53, + 55, 55, 61, 87, 55, 101, 101, 50, 70, 104, + 102, 104, 109, 113, 52, 102, 51, 51, 33, 33, + 33, 70, 50, 53, 50, 50, 51, 53, 73, 81, + 72, 52, 103, 79, 72, 61, 87, 109, 112, 103, + 289, 289, 81, 117, 113, 33, 34, 34, 34, 34, + 34, 34, 34, 34, 34, 34, 34, 34, 34, 82, + 34, 114, 112, 83, 85, 84, 97, 117, 81, 110, + 73, 72, 82, 72, 34, 79, 83, 85, 84, 97, + 111, 110, 34, 34, 34, 72, 72, 72, 115, 119, + + 123, 114, 111, 118, 116, 120, 125, 122, 145, 163, + 121, 124, 83, 123, 126, 119, 127, 128, 115, 34, + 163, 85, 129, 145, 125, 82, 116, 83, 84, 116, + 121, 118, 120, 116, 122, 121, 124, 130, 150, 127, + 125, 126, 129, 128, 131, 131, 182, 168, 131, 159, + 129, 150, 162, 130, 134, 162, 164, 169, 164, 152, + 149, 151, 159, 173, 167, 172, 174, 154, 167, 168, + 175, 181, 152, 149, 151, 153, 172, 182, 176, 217, + 154, 150, 174, 181, 169, 217, 173, 554, 153, 176, + 175, 134, 134, 134, 134, 134, 134, 134, 134, 134, + + 134, 134, 134, 134, 134, 134, 134, 134, 134, 134, + 134, 134, 134, 134, 134, 149, 152, 151, 153, 154, + 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, + 165, 165, 165, 170, 165, 171, 178, 179, 180, 183, + 184, 189, 185, 186, 188, 187, 190, 193, 192, 194, + 224, 184, 225, 226, 178, 228, 165, 165, 165, 191, + 188, 170, 236, 171, 185, 180, 179, 193, 183, 187, + 186, 189, 190, 192, 236, 191, 194, 553, 224, 228, + 229, 225, 226, 165, 177, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 200, 177, 208, + + 211, 209, 210, 212, 229, 213, 216, 237, 218, 230, + 200, 220, 208, 211, 209, 210, 212, 216, 213, 218, + 177, 177, 177, 222, 220, 223, 233, 235, 238, 242, + 237, 244, 240, 241, 222, 239, 223, 246, 230, 233, + 238, 211, 244, 235, 240, 212, 243, 177, 197, 210, + 245, 239, 247, 241, 208, 209, 213, 248, 242, 246, + 249, 252, 243, 267, 245, 269, 268, 247, 270, 263, + 270, 261, 344, 382, 252, 267, 344, 269, 249, 268, + 382, 248, 263, 551, 261, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + + 197, 197, 197, 197, 197, 197, 197, 197, 197, 215, + 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, + 215, 215, 261, 215, 262, 263, 264, 271, 275, 277, + 280, 292, 278, 271, 294, 291, 283, 262, 293, 264, + 295, 275, 297, 280, 277, 215, 215, 215, 278, 283, + 291, 349, 298, 293, 295, 302, 297, 299, 301, 328, + 292, 300, 349, 294, 293, 262, 296, 298, 328, 264, + 301, 302, 215, 227, 227, 227, 227, 227, 227, 227, + 227, 227, 227, 227, 227, 227, 299, 227, 296, 305, + 300, 316, 323, 325, 326, 321, 326, 350, 325, 347, + + 331, 327, 305, 334, 316, 323, 327, 329, 321, 227, + 227, 227, 329, 331, 351, 347, 334, 353, 354, 358, + 356, 352, 350, 355, 379, 359, 368, 368, 379, 351, + 447, 361, 370, 353, 356, 447, 227, 232, 232, 321, + 351, 352, 359, 355, 361, 370, 373, 354, 358, 376, + 232, 381, 232, 232, 380, 381, 383, 385, 232, 373, + 395, 395, 376, 401, 402, 380, 383, 404, 419, 405, + 385, 406, 411, 423, 409, 550, 419, 232, 232, 232, + 403, 404, 423, 406, 232, 405, 232, 409, 411, 401, + 420, 402, 232, 420, 232, 250, 250, 250, 250, 250, + + 250, 250, 250, 250, 250, 250, 250, 250, 403, 250, + 415, 415, 417, 421, 431, 422, 436, 450, 439, 438, + 450, 421, 443, 448, 449, 417, 422, 431, 448, 449, + 415, 250, 250, 250, 438, 443, 451, 460, 462, 451, + 466, 478, 483, 483, 467, 436, 439, 451, 458, 466, + 460, 467, 462, 470, 478, 487, 487, 470, 250, 260, + 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, + 260, 260, 468, 260, 469, 458, 482, 471, 497, 482, + 486, 468, 471, 469, 484, 485, 493, 484, 497, 485, + 499, 486, 498, 500, 507, 260, 260, 260, 500, 493, + + 499, 498, 501, 513, 507, 549, 501, 509, 509, 508, + 508, 513, 517, 517, 518, 518, 508, 519, 548, 517, + 546, 519, 260, 265, 265, 265, 265, 265, 265, 265, + 265, 265, 265, 265, 265, 265, 508, 265, 515, 516, + 516, 526, 545, 527, 527, 526, 516, 528, 528, 515, + 527, 544, 516, 543, 528, 542, 527, 529, 529, 265, + 265, 265, 530, 530, 531, 531, 538, 538, 539, 539, + 541, 541, 531, 536, 538, 535, 539, 531, 541, 538, + 534, 533, 532, 541, 524, 523, 265, 266, 266, 266, + 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, + + 522, 266, 552, 552, 555, 555, 521, 520, 512, 511, + 552, 510, 555, 505, 504, 552, 503, 555, 502, 494, + 491, 490, 489, 266, 266, 266, 488, 481, 479, 475, + 474, 473, 472, 465, 461, 457, 456, 455, 454, 453, + 452, 446, 444, 441, 435, 434, 433, 432, 429, 428, + 266, 272, 272, 272, 272, 272, 272, 272, 272, 272, + 272, 272, 272, 272, 427, 272, 426, 425, 424, 418, + 410, 407, 400, 399, 398, 397, 396, 394, 393, 392, + 391, 390, 389, 388, 387, 386, 377, 272, 272, 272, + 374, 371, 367, 362, 348, 346, 345, 343, 342, 341, + + 340, 339, 338, 337, 335, 332, 324, 317, 314, 312, + 311, 310, 309, 306, 272, 273, 273, 273, 273, 273, + 273, 273, 273, 273, 273, 273, 273, 273, 290, 273, + 288, 287, 286, 285, 284, 282, 281, 276, 259, 258, + 257, 256, 255, 254, 253, 234, 221, 214, 207, 206, + 205, 273, 273, 273, 204, 203, 202, 201, 199, 195, + 161, 160, 157, 148, 147, 146, 144, 143, 142, 140, + 133, 132, 106, 100, 99, 98, 95, 94, 273, 303, + 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, + 303, 303, 92, 303, 91, 90, 89, 80, 78, 77, + + 76, 75, 74, 71, 68, 65, 64, 60, 59, 56, + 40, 39, 32, 30, 29, 303, 303, 303, 13, 9, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 303, 318, 318, 318, 318, 318, 318, 318, + 318, 318, 318, 318, 318, 318, 0, 318, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, + 318, 318, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 318, 319, 319, 319, + 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, + 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 319, 319, 319, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 319, 320, 320, 320, 320, 320, 320, 320, 320, 320, + 320, 320, 320, 320, 0, 320, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 320, 320, 320, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 320, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 0, 336, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 336, 336, 336, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 336, 357, + + 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, + 357, 357, 0, 357, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 357, 357, 357, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 357, 378, 378, 378, 378, 378, 378, 378, + 378, 378, 378, 378, 378, 378, 0, 378, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 378, + + 378, 378, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 378, 412, 412, 412, + 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, + 0, 412, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 412, 412, 412, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 412, 437, 437, 437, 437, 437, 437, 437, 437, 437, + + 437, 437, 437, 437, 0, 437, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 437, 437, 437, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 437, 463, 463, 463, 463, 463, + 463, 463, 463, 463, 463, 463, 463, 463, 0, 463, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 463, 463, 463, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 463, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 0, 476, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 476, 476, 476, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 476, 558, 558, 558, 558, 558, 558, 558, + 558, 558, 558, 559, 559, 559, 559, 559, 559, 559, + + 559, 559, 559, 560, 560, 560, 560, 560, 560, 560, + 560, 560, 560, 561, 561, 561, 561, 561, 561, 561, + 561, 561, 561, 562, 562, 562, 562, 562, 562, 562, + 562, 562, 562, 563, 0, 0, 0, 563, 563, 563, + 0, 563, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 565, 565, 565, 565, 565, 565, 565, 565, + 565, 565, 566, 566, 566, 566, 566, 566, 566, 566, + 566, 566, 567, 567, 567, 567, 567, 567, 567, 567, + 0, 567, 568, 0, 0, 0, 0, 0, 0, 0, + 568, 569, 569, 0, 569, 0, 569, 569, 569, 569, + + 569, 570, 570, 570, 570, 570, 570, 570, 570, 570, + 570, 571, 571, 571, 571, 571, 571, 571, 571, 571, + 571, 572, 572, 572, 572, 572, 572, 572, 572, 572, + 572, 573, 573, 573, 573, 573, 573, 573, 573, 573, + 573, 574, 574, 0, 574, 0, 574, 574, 574, 574, + 574, 575, 0, 0, 0, 0, 0, 575, 0, 575, + 576, 0, 0, 0, 0, 0, 576, 0, 576, 577, + 577, 0, 577, 0, 577, 577, 577, 577, 577, 578, + 0, 0, 0, 578, 578, 578, 0, 578, 579, 579, + 579, 579, 579, 579, 579, 579, 579, 579, 580, 580, + + 0, 580, 0, 580, 580, 580, 580, 580, 581, 581, + 0, 581, 0, 581, 581, 581, 581, 581, 582, 582, + 582, 582, 582, 0, 582, 0, 582, 583, 583, 583, + 583, 583, 0, 583, 0, 583, 584, 584, 0, 584, + 0, 584, 584, 584, 584, 584, 585, 585, 585, 585, + 585, 0, 585, 0, 585, 586, 586, 586, 586, 586, + 0, 586, 0, 586, 587, 587, 587, 587, 587, 0, + 587, 0, 587, 588, 588, 588, 588, 588, 0, 588, + 0, 588, 589, 589, 589, 589, 589, 0, 589, 0, + 589, 590, 590, 0, 590, 0, 590, 590, 590, 590, + + 590, 591, 591, 591, 591, 591, 0, 591, 0, 591, + 592, 0, 0, 0, 0, 0, 592, 0, 592, 593, + 593, 0, 593, 0, 593, 593, 593, 593, 593, 594, + 594, 0, 594, 0, 594, 594, 594, 594, 594, 595, + 595, 0, 595, 0, 595, 595, 595, 595, 595, 596, + 596, 0, 596, 0, 596, 596, 596, 596, 596, 597, + 597, 0, 597, 0, 597, 597, 597, 597, 597, 598, + 598, 0, 598, 0, 598, 598, 598, 598, 598, 599, + 599, 0, 0, 0, 0, 599, 0, 599, 600, 600, + 0, 600, 0, 600, 600, 600, 600, 600, 601, 601, + + 601, 0, 601, 601, 601, 0, 601, 602, 602, 0, + 602, 0, 602, 602, 602, 602, 602, 603, 0, 0, + 0, 0, 0, 603, 0, 603, 604, 604, 604, 0, + 604, 604, 604, 0, 604, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557 + + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +/* -*- indented-text -*- */ +/* Process source files and output type information. + Copyright (C) 2002-2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ +#define YY_NO_INPUT 1 +#line 24 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +#ifdef GENERATOR_FILE +#include "bconfig.h" +#else +#include "config.h" +#endif +#include "system.h" + +#define malloc xmalloc +#define realloc xrealloc + +#include "gengtype.h" + +#define YY_DECL int yylex (const char **yylval) +#define yyterminate() return EOF_TOKEN + +struct fileloc lexer_line; +int lexer_toplevel_done; + +static void +update_lineno (const char *l, size_t len) +{ + while (len-- > 0) + if (*l++ == '\n') + lexer_line.line++; +} + +/* Include '::' in identifiers to capture C++ scope qualifiers. */ + +#line 1227 "gengtype-lex.c" + +#define INITIAL 0 +#define in_struct 1 +#define in_struct_comment 2 +#define in_comment 3 + +#ifndef YY_NO_UNISTD_H +/* Special case for "unistd.h", since it is non-ANSI. We include it way + * down here because we want the user's section 1 to have been scanned first. + * The user has a chance to override it with an option. + */ +#include <unistd.h> +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +static int yy_init_globals (void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy (void ); + +int yyget_debug (void ); + +void yyset_debug (int debug_flag ); + +YY_EXTRA_TYPE yyget_extra (void ); + +void yyset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in (void ); + +void yyset_in (FILE * in_str ); + +FILE *yyget_out (void ); + +void yyset_out (FILE * out_str ); + +yy_size_t yyget_leng (void ); + +char *yyget_text (void ); + +int yyget_lineno (void ); + +void yyset_lineno (int line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int yywrap (void ); +#else +extern int yywrap (void ); +#endif +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy (char *,yyconst char *,int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * ); +#endif + +#ifndef YY_NO_INPUT + +#ifdef __cplusplus +static int yyinput (void ); +#else +static int input (void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#define YY_READ_BUF_SIZE 8192 +#endif + +/* Copy whatever the last rule matched to the standard output. */ +#ifndef ECHO +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + size_t n; \ + for ( n = 0; n < max_size && \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(yyin); \ + } \ + }\ +\ + +#endif + +/* No semi-colon after return; correct usage is to write "yyterminate();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +#endif + +/* end tables serialization structures and prototypes */ + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL_IS_OURS 1 + +extern int yylex (void); + +#define YY_DECL int yylex (void) +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after yytext and yyleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK break; +#endif + +#define YY_RULE_SETUP \ + if ( yyleng > 0 ) \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ + (yytext[yyleng - 1] == '\n'); \ + YY_USER_ACTION + +/** The main scanner function which does all the work. + */ +YY_DECL +{ + register yy_state_type yy_current_state; + register char *yy_cp, *yy_bp; + register int yy_act; + +#line 65 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" + + /* Do this on entry to yylex(): */ + *yylval = 0; + if (lexer_toplevel_done) + { + BEGIN(INITIAL); + lexer_toplevel_done = 0; + } + + /* Things we look for in skipping mode: */ +#line 1424 "gengtype-lex.c" + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! yyin ) + yyin = stdin; + + if ( ! yyout ) + yyout = stdout; + + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } + + yy_load_buffer_state( ); + } + + while ( 1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); + + /* Support of yytext. */ + *yy_cp = (yy_hold_char); + + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; + + yy_current_state = (yy_start); + yy_current_state += YY_AT_BOL(); +yy_match: + do + { + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 558 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + ++yy_cp; + } + while ( yy_current_state != 557 ); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + + YY_DO_BEFORE_ACTION; + +do_action: /* This label is used only to access EOF actions. */ + + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + +case 1: +/* rule 1 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 76 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + BEGIN(in_struct); + return TYPEDEF; +} + YY_BREAK +case 2: +/* rule 2 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 80 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + BEGIN(in_struct); + return STRUCT; +} + YY_BREAK +case 3: +/* rule 3 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 84 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + BEGIN(in_struct); + return UNION; +} + YY_BREAK +case 4: +/* rule 4 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 88 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + BEGIN(in_struct); + return STRUCT; +} + YY_BREAK +case 5: +/* rule 5 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 92 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + BEGIN(in_struct); + return EXTERN; +} + YY_BREAK +case 6: +/* rule 6 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 96 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + BEGIN(in_struct); + return STATIC; +} + YY_BREAK + +/* Parsing inside a struct, union or class declaration. */ + +case 7: +YY_RULE_SETUP +#line 104 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ BEGIN(in_struct_comment); } + YY_BREAK +case 8: +/* rule 8 can match eol */ +YY_RULE_SETUP +#line 105 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 9: +/* rule 9 can match eol */ +YY_RULE_SETUP +#line 107 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ update_lineno (yytext, yyleng); } + YY_BREAK +case 10: +/* rule 10 can match eol */ +YY_RULE_SETUP +#line 108 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 11: +/* rule 11 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 5; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 110 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +/* don't care */ + YY_BREAK +case 12: +/* rule 12 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +#line 112 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +case 13: +/* rule 13 can match eol */ +#line 113 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +case 14: +/* rule 14 can match eol */ +YY_RULE_SETUP +#line 113 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + *yylval = XDUPVAR (const char, yytext, yyleng, yyleng + 1); + return IGNORABLE_CXX_KEYWORD; +} + YY_BREAK +case 15: +/* rule 15 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 3; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 117 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return GTY_TOKEN; } + YY_BREAK +case 16: +/* rule 16 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 5; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 118 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return UNION; } + YY_BREAK +case 17: +/* rule 17 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 6; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 119 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return STRUCT; } + YY_BREAK +case 18: +/* rule 18 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 5; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 120 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return STRUCT; } + YY_BREAK +case 19: +/* rule 19 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 7; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 121 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return TYPEDEF; } + YY_BREAK +case 20: +/* rule 20 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 4; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 122 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return ENUM; } + YY_BREAK +case 21: +/* rule 21 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 9; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 123 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return PTR_ALIAS; } + YY_BREAK +case 22: +/* rule 22 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 10; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 124 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return NESTED_PTR; } + YY_BREAK +case 23: +/* rule 23 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 4; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 125 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return USER_GTY; } + YY_BREAK +case 24: +YY_RULE_SETUP +#line 126 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return NUM; } + YY_BREAK +case 25: +/* rule 25 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 127 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); + return PARAM_IS; +} + YY_BREAK +case 26: +/* rule 26 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +#line 133 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +case 27: +/* rule 27 can match eol */ +YY_RULE_SETUP +#line 133 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + size_t len; + + for (len = yyleng; ISSPACE (yytext[len-1]); len--) + ; + + *yylval = XDUPVAR (const char, yytext, len, len+1); + update_lineno (yytext, yyleng); + return SCALAR; +} + YY_BREAK +case 28: +/* rule 28 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 144 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); + return ID; +} + YY_BREAK +case 29: +/* rule 29 can match eol */ +YY_RULE_SETUP +#line 149 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); + return STRING; +} + YY_BREAK +/* This "terminal" avoids having to parse integer constant expressions. */ +case 30: +/* rule 30 can match eol */ +YY_RULE_SETUP +#line 154 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); + return ARRAY; +} + YY_BREAK +case 31: +/* rule 31 can match eol */ +YY_RULE_SETUP +#line 158 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng); + return CHAR; +} + YY_BREAK +case 32: +YY_RULE_SETUP +#line 163 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return ELLIPSIS; } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 164 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ return yytext[0]; } + YY_BREAK +/* ignore pp-directives */ +case 34: +/* rule 34 can match eol */ +YY_RULE_SETUP +#line 167 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{lexer_line.line++;} + YY_BREAK +case 35: +YY_RULE_SETUP +#line 169 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + error_at_line (&lexer_line, "unexpected character `%s'", yytext); +} + YY_BREAK + +case 36: +YY_RULE_SETUP +#line 174 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ BEGIN(in_comment); } + YY_BREAK +case 37: +/* rule 37 can match eol */ +YY_RULE_SETUP +#line 175 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 38: +/* rule 38 can match eol */ +YY_RULE_SETUP +#line 176 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 39: +#line 178 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +case 40: +/* rule 40 can match eol */ +#line 179 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +case 41: +/* rule 41 can match eol */ +YY_RULE_SETUP +#line 179 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +/* do nothing */ + YY_BREAK +case 42: +/* rule 42 can match eol */ +YY_RULE_SETUP +#line 180 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ update_lineno (yytext, yyleng); } + YY_BREAK +case 43: +/* rule 43 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 181 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +/* do nothing */ + YY_BREAK + +case 44: +/* rule 44 can match eol */ +YY_RULE_SETUP +#line 184 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 45: +#line 186 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +case 46: +YY_RULE_SETUP +#line 186 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +/* do nothing */ + YY_BREAK +case 47: +/* rule 47 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ +(yy_c_buf_p) = yy_cp = yy_bp + 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 187 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +/* do nothing */ + YY_BREAK + +case 48: +YY_RULE_SETUP +#line 190 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ BEGIN(INITIAL); } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 191 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ BEGIN(in_struct); } + YY_BREAK +case 50: +#line 194 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +case 51: +YY_RULE_SETUP +#line 194 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +{ + error_at_line (&lexer_line, + "unterminated comment or string; unexpected EOF"); +} + YY_BREAK +case 52: +/* rule 52 can match eol */ +YY_RULE_SETUP +#line 199 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +/* do nothing */ + YY_BREAK +case 53: +YY_RULE_SETUP +#line 201 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" +YY_FATAL_ERROR( "flex scanner jammed" ); + YY_BREAK +#line 1911 "gengtype-lex.c" +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(in_struct): +case YY_STATE_EOF(in_struct_comment): +case YY_STATE_EOF(in_comment): + yyterminate(); + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed yyin at a new source and called + * yylex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( yywrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * yytext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ +} /* end of yylex */ + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ +static int yy_get_next_buffer (void) +{ + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + register char *source = (yytext_ptr); + register int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + yy_size_t num_to_read = + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; + + while ( num_to_read <= 0 ) + { /* Not enough room in the buffer - grow it. */ + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + yy_size_t new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + yyrestart(yyin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + } + + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; + + return ret_val; +} + +/* yy_get_previous_state - get the state just before the EOB char was reached */ + + static yy_state_type yy_get_previous_state (void) +{ + register yy_state_type yy_current_state; + register char *yy_cp; + + yy_current_state = (yy_start); + yy_current_state += YY_AT_BOL(); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 558 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + } + + return yy_current_state; +} + +/* yy_try_NUL_trans - try to make a transition on the NUL character + * + * synopsis + * next_state = yy_try_NUL_trans( current_state ); + */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ + register int yy_is_jam; + register char *yy_cp = (yy_c_buf_p); + + register YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 558 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_is_jam = (yy_current_state == 557); + + return yy_is_jam ? 0 : yy_current_state; +} + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + yyrestart(yyin ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( yywrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } + + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ + (yy_hold_char) = *++(yy_c_buf_p); + + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void yyrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } + + yy_init_buffer(YY_CURRENT_BUFFER,input_file ); + yy_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); + */ + yyensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + yy_load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (yywrap()) processing, but the only time this flag + * is looked at is after yywrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void yy_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); +} + +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_buf_size = size; + + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + yy_init_buffer(b,file ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with yy_create_buffer() + * + */ + void yy_delete_buffer (YY_BUFFER_STATE b ) +{ + + if ( ! b ) + return; + + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + yyfree((void *) b->yy_ch_buf ); + + yyfree((void *) b ); +} + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a yyrestart() or at EOF. + */ + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) + +{ + int oerrno = errno; + + yy_flush_buffer(b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* If b is the current buffer, then yy_init_buffer was _probably_ + * called from yyrestart() or through yy_get_next_buffer. + * In that case, we don't want to reset the lineno or column. + */ + if (b != YY_CURRENT_BUFFER){ + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } + + b->yy_is_interactive = 0; + + errno = oerrno; +} + +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * + */ + void yy_flush_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) + return; + + b->yy_n_chars = 0; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + if ( b == YY_CURRENT_BUFFER ) + yy_load_buffer_state( ); +} + +/** Pushes the new state onto the stack. The new state becomes + * the current state. This function will allocate the stack + * if necessary. + * @param new_buffer The new state. + * + */ +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + yyensure_buffer_stack(); + + /* This block is copied from yy_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void yypop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } +} + +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +static void yyensure_buffer_stack (void) +{ + yy_size_t num_to_alloc; + + if (!(yy_buffer_stack)) { + + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ + num_to_alloc = 1; + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } +} + +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + yy_switch_to_buffer(b ); + + return b; +} + +/** Setup the input buffer state to scan a string. The next call to yylex() will + * scan from a @e copy of @a str. + * @param yystr a NUL-terminated string to scan + * + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use + * yy_scan_bytes() instead. + */ +YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) +{ + + return yy_scan_bytes(yystr,strlen(yystr) ); +} + +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will + * scan from a @e copy of @a bytes. + * @param yybytes the byte buffer to scan + * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + yy_size_t i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) yyalloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = yy_scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +static void yy_fatal_error (yyconst char* msg ) +{ + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} + +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + yytext[yyleng] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + yyleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} + +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} + +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} + +/** Get the length of the current token. + * + */ +yy_size_t yyget_leng (void) +{ + return yyleng; +} + +/** Get the current token. + * + */ + +char *yyget_text (void) +{ + return yytext; +} + +/** Set the current line number. + * @param line_number + * + */ +void yyset_lineno (int line_number ) +{ + + yylineno = line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param in_str A readable stream. + * + * @see yy_switch_to_buffer + */ +void yyset_in (FILE * in_str ) +{ + yyin = in_str ; +} + +void yyset_out (FILE * out_str ) +{ + yyout = out_str ; +} + +int yyget_debug (void) +{ + return yy_flex_debug; +} + +void yyset_debug (int bdebug ) +{ + yy_flex_debug = bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from yylex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; +#else + yyin = (FILE *) 0; + yyout = (FILE *) 0; +#endif + + /* For future reference: Set errno on error, since we are called by + * yylex_init() + */ + return 0; +} + +/* yylex_destroy is for both reentrant and non-reentrant scanners. */ +int yylex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + yypop_buffer_state(); + } + + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; + + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +{ + register int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * s ) +{ + register int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *yyalloc (yy_size_t size ) +{ + return (void *) malloc( size ); +} + +void *yyrealloc (void * ptr, yy_size_t size ) +{ + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); +} + +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 201 "/d/gcc-4.9.0/gcc-4.9.0/gcc/gengtype-lex.l" + + + +void +yybegin (const char *fname) +{ + yyin = fopen (fname, "r"); + if (yyin == NULL) + { + perror (fname); + exit (1); + } + lexer_line.file = input_file_by_name (fname); + lexer_line.line = 1; +} + +void +yyend (void) +{ + fclose (yyin); +} + |