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