Fix assembly of GOT references
[nacl-binutils.git] / ld / ldlex.c
blob700353aa2e92789f3cf083808cb5e021a7bc2c03
2 #line 3 "ldlex.c"
4 #define YY_INT_ALIGNED short int
6 /* A lexical scanner generated by flex */
8 #define FLEX_SCANNER
9 #define YY_FLEX_MAJOR_VERSION 2
10 #define YY_FLEX_MINOR_VERSION 5
11 #define YY_FLEX_SUBMINOR_VERSION 31
12 #if YY_FLEX_SUBMINOR_VERSION > 0
13 #define FLEX_BETA
14 #endif
16 /* First, we deal with platform-specific or compiler-specific issues. */
18 /* begin standard C headers. */
19 #include <stdio.h>
20 #include <string.h>
21 #include <errno.h>
22 #include <stdlib.h>
24 /* end standard C headers. */
26 /* flex integer type definitions */
28 #ifndef FLEXINT_H
29 #define FLEXINT_H
31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
33 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
34 #include <inttypes.h>
35 typedef int8_t flex_int8_t;
36 typedef uint8_t flex_uint8_t;
37 typedef int16_t flex_int16_t;
38 typedef uint16_t flex_uint16_t;
39 typedef int32_t flex_int32_t;
40 typedef uint32_t flex_uint32_t;
41 #else
42 typedef signed char flex_int8_t;
43 typedef short int flex_int16_t;
44 typedef int flex_int32_t;
45 typedef unsigned char flex_uint8_t;
46 typedef unsigned short int flex_uint16_t;
47 typedef unsigned int flex_uint32_t;
48 #endif /* ! C99 */
50 /* Limits of integral types. */
51 #ifndef INT8_MIN
52 #define INT8_MIN (-128)
53 #endif
54 #ifndef INT16_MIN
55 #define INT16_MIN (-32767-1)
56 #endif
57 #ifndef INT32_MIN
58 #define INT32_MIN (-2147483647-1)
59 #endif
60 #ifndef INT8_MAX
61 #define INT8_MAX (127)
62 #endif
63 #ifndef INT16_MAX
64 #define INT16_MAX (32767)
65 #endif
66 #ifndef INT32_MAX
67 #define INT32_MAX (2147483647)
68 #endif
69 #ifndef UINT8_MAX
70 #define UINT8_MAX (255U)
71 #endif
72 #ifndef UINT16_MAX
73 #define UINT16_MAX (65535U)
74 #endif
75 #ifndef UINT32_MAX
76 #define UINT32_MAX (4294967295U)
77 #endif
79 #endif /* ! FLEXINT_H */
81 #ifdef __cplusplus
83 /* The "const" storage-class-modifier is valid. */
84 #define YY_USE_CONST
86 #else /* ! __cplusplus */
88 #if __STDC__
90 #define YY_USE_CONST
92 #endif /* __STDC__ */
93 #endif /* ! __cplusplus */
95 #ifdef YY_USE_CONST
96 #define yyconst const
97 #else
98 #define yyconst
99 #endif
101 /* Returned upon end-of-file. */
102 #define YY_NULL 0
104 /* Promotes a possibly negative, possibly signed char to an unsigned
105 * integer for use as an array index. If the signed char is negative,
106 * we want to instead treat it as an 8-bit unsigned char, hence the
107 * double cast.
109 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
111 /* Enter a start condition. This macro really ought to take a parameter,
112 * but we do it the disgusting crufty way forced on us by the ()-less
113 * definition of BEGIN.
115 #define BEGIN (yy_start) = 1 + 2 *
117 /* Translate the current start state into a value that can be later handed
118 * to BEGIN to return to the state. The YYSTATE alias is for lex
119 * compatibility.
121 #define YY_START (((yy_start) - 1) / 2)
122 #define YYSTATE YY_START
124 /* Action number for EOF rule of a given start state. */
125 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
127 /* Special action meaning "start processing a new file". */
128 #define YY_NEW_FILE yyrestart(yyin )
130 #define YY_END_OF_BUFFER_CHAR 0
132 /* Size of default input buffer. */
133 #ifndef YY_BUF_SIZE
134 #define YY_BUF_SIZE 16384
135 #endif
137 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
138 #define YY_TYPEDEF_YY_BUFFER_STATE
139 typedef struct yy_buffer_state *YY_BUFFER_STATE;
140 #endif
142 extern int yyleng;
144 extern FILE *yyin, *yyout;
146 #define EOB_ACT_CONTINUE_SCAN 0
147 #define EOB_ACT_END_OF_FILE 1
148 #define EOB_ACT_LAST_MATCH 2
150 #define YY_LESS_LINENO(n)
152 /* Return all but the first "n" matched characters back to the input stream. */
153 #define yyless(n) \
154 do \
156 /* Undo effects of setting up yytext. */ \
157 int yyless_macro_arg = (n); \
158 YY_LESS_LINENO(yyless_macro_arg);\
159 *yy_cp = (yy_hold_char); \
160 YY_RESTORE_YY_MORE_OFFSET \
161 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
162 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
164 while ( 0 )
166 #define unput(c) yyunput( c, (yytext_ptr) )
168 /* The following is because we cannot portably get our hands on size_t
169 * (without autoconf's help, which isn't available because we want
170 * flex-generated scanners to compile on their own).
173 #ifndef YY_TYPEDEF_YY_SIZE_T
174 #define YY_TYPEDEF_YY_SIZE_T
175 typedef unsigned int yy_size_t;
176 #endif
178 #ifndef YY_STRUCT_YY_BUFFER_STATE
179 #define YY_STRUCT_YY_BUFFER_STATE
180 struct yy_buffer_state
182 FILE *yy_input_file;
184 char *yy_ch_buf; /* input buffer */
185 char *yy_buf_pos; /* current position in input buffer */
187 /* Size of input buffer in bytes, not including room for EOB
188 * characters.
190 yy_size_t yy_buf_size;
192 /* Number of characters read into yy_ch_buf, not including EOB
193 * characters.
195 int yy_n_chars;
197 /* Whether we "own" the buffer - i.e., we know we created it,
198 * and can realloc() it to grow it, and should free() it to
199 * delete it.
201 int yy_is_our_buffer;
203 /* Whether this is an "interactive" input source; if so, and
204 * if we're using stdio for input, then we want to use getc()
205 * instead of fread(), to make sure we stop fetching input after
206 * each newline.
208 int yy_is_interactive;
210 /* Whether we're considered to be at the beginning of a line.
211 * If so, '^' rules will be active on the next match, otherwise
212 * not.
214 int yy_at_bol;
216 int yy_bs_lineno; /**< The line count. */
217 int yy_bs_column; /**< The column count. */
219 /* Whether to try to fill the input buffer when we reach the
220 * end of it.
222 int yy_fill_buffer;
224 int yy_buffer_status;
226 #define YY_BUFFER_NEW 0
227 #define YY_BUFFER_NORMAL 1
228 /* When an EOF's been seen but there's still some text to process
229 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
230 * shouldn't try reading from the input source any more. We might
231 * still have a bunch of tokens to match, though, because of
232 * possible backing-up.
234 * When we actually see the EOF, we change the status to "new"
235 * (via yyrestart()), so that the user can continue scanning by
236 * just pointing yyin at a new input file.
238 #define YY_BUFFER_EOF_PENDING 2
241 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
243 /* Stack of input buffers. */
244 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
245 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
246 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
248 /* We provide macros for accessing buffer states in case in the
249 * future we want to put the buffer states in a more general
250 * "scanner state".
252 * Returns the top of the stack, or NULL.
254 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
255 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
256 : NULL)
258 /* Same as previous macro, but useful when we know that the buffer stack is not
259 * NULL or when we need an lvalue. For internal use only.
261 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
263 /* yy_hold_char holds the character lost when yytext is formed. */
264 static char yy_hold_char;
265 static int yy_n_chars; /* number of characters read into yy_ch_buf */
266 int yyleng;
268 /* Points to current character in buffer. */
269 static char *yy_c_buf_p = (char *) 0;
270 static int yy_init = 1; /* whether we need to initialize */
271 static int yy_start = 0; /* start state number */
273 /* Flag which is used to allow yywrap()'s to do buffer switches
274 * instead of setting up a fresh yyin. A bit of a hack ...
276 static int yy_did_buffer_switch_on_eof;
278 void yyrestart (FILE *input_file );
279 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
280 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
281 void yy_delete_buffer (YY_BUFFER_STATE b );
282 void yy_flush_buffer (YY_BUFFER_STATE b );
283 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
284 void yypop_buffer_state (void );
286 static void yyensure_buffer_stack (void );
287 static void yy_load_buffer_state (void );
288 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
290 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
292 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
293 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
294 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
296 void *yyalloc (yy_size_t );
297 void *yyrealloc (void *,yy_size_t );
298 void yyfree (void * );
300 #define yy_new_buffer yy_create_buffer
302 #define yy_set_interactive(is_interactive) \
304 if ( ! YY_CURRENT_BUFFER ){ \
305 yyensure_buffer_stack (); \
306 YY_CURRENT_BUFFER_LVALUE = \
307 yy_create_buffer(yyin,YY_BUF_SIZE ); \
309 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
312 #define yy_set_bol(at_bol) \
314 if ( ! YY_CURRENT_BUFFER ){\
315 yyensure_buffer_stack (); \
316 YY_CURRENT_BUFFER_LVALUE = \
317 yy_create_buffer(yyin,YY_BUF_SIZE ); \
319 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
322 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
324 /* Begin user sect3 */
326 typedef unsigned char YY_CHAR;
328 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
330 typedef int yy_state_type;
332 extern int yylineno;
334 int yylineno = 1;
336 extern char *yytext;
337 #define yytext_ptr yytext
339 static yy_state_type yy_get_previous_state (void );
340 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
341 static int yy_get_next_buffer (void );
342 static void yy_fatal_error (yyconst char msg[] );
344 /* Done after the current pattern has been matched and before the
345 * corresponding action - sets up yytext.
347 #define YY_DO_BEFORE_ACTION \
348 (yytext_ptr) = yy_bp; \
349 yyleng = (size_t) (yy_cp - yy_bp); \
350 (yy_hold_char) = *yy_cp; \
351 *yy_cp = '\0'; \
352 (yy_c_buf_p) = yy_cp;
354 #define YY_NUM_RULES 188
355 #define YY_END_OF_BUFFER 189
356 /* This struct is not used in this scanner,
357 but its presence is necessary. */
358 struct yy_trans_info
360 flex_int32_t yy_verify;
361 flex_int32_t yy_nxt;
363 static yyconst flex_int16_t yy_accept[1562] =
364 { 0,
365 0, 0, 168, 168, 0, 0, 0, 0, 0, 0,
366 0, 0, 0, 0, 0, 0, 0, 0, 189, 188,
367 186, 171, 170, 32, 186, 168, 38, 29, 44, 43,
368 34, 35, 28, 36, 168, 37, 8, 8, 45, 46,
369 39, 40, 27, 33, 168, 168, 168, 168, 168, 168,
370 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
371 168, 168, 168, 10, 9, 168, 113, 111, 168, 42,
372 30, 41, 31, 187, 171, 32, 187, 166, 38, 29,
373 44, 43, 34, 35, 28, 36, 166, 37, 8, 8,
374 45, 46, 39, 40, 27, 33, 166, 166, 166, 166,
376 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
377 166, 10, 9, 166, 166, 42, 30, 41, 31, 164,
378 36, 164, 37, 8, 8, 164, 164, 164, 164, 164,
379 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
380 164, 164, 164, 164, 164, 113, 111, 164, 31, 4,
381 3, 2, 4, 5, 125, 124, 163, 34, 35, 28,
382 36, 163, 37, 8, 8, 45, 46, 40, 33, 163,
383 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
384 163, 10, 9, 163, 163, 163, 163, 163, 163, 163,
385 163, 163, 163, 163, 31, 185, 183, 184, 186, 178,
387 177, 172, 179, 180, 176, 176, 176, 176, 181, 182,
388 171, 15, 0, 169, 168, 8, 26, 24, 22, 20,
389 21, 1, 23, 8, 8, 168, 18, 17, 14, 16,
390 19, 168, 168, 168, 168, 117, 168, 168, 168, 168,
391 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
392 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
393 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
394 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
395 168, 25, 13, 166, 6, 22, 20, 21, 0, 1,
396 23, 8, 0, 7, 7, 8, 7, 14, 166, 7,
398 7, 7, 166, 166, 117, 7, 166, 166, 166, 7,
399 166, 166, 166, 7, 166, 166, 166, 166, 166, 166,
400 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
401 166, 166, 7, 166, 164, 8, 0, 23, 8, 0,
402 164, 164, 164, 164, 117, 164, 164, 164, 164, 164,
403 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
404 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
405 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
406 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
407 164, 164, 164, 4, 4, 124, 124, 163, 6, 126,
409 22, 127, 163, 7, 7, 7, 163, 163, 163, 7,
410 163, 7, 7, 163, 163, 163, 163, 163, 163, 163,
411 163, 7, 163, 163, 163, 7, 163, 7, 7, 163,
412 163, 163, 163, 163, 163, 163, 163, 185, 184, 177,
413 176, 0, 176, 176, 176, 11, 12, 168, 168, 168,
414 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
415 168, 168, 168, 168, 168, 168, 168, 168, 89, 168,
416 168, 168, 168, 168, 168, 168, 168, 71, 168, 168,
417 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
418 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
420 168, 168, 168, 168, 114, 112, 168, 8, 167, 8,
421 166, 7, 166, 166, 166, 166, 166, 166, 166, 166,
422 166, 166, 166, 166, 166, 166, 166, 166, 166, 60,
423 61, 166, 166, 166, 166, 166, 166, 166, 166, 166,
424 166, 166, 166, 166, 166, 8, 165, 164, 164, 164,
425 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
426 164, 164, 164, 164, 164, 164, 164, 164, 164, 89,
427 164, 164, 164, 164, 164, 164, 164, 164, 71, 60,
428 164, 61, 164, 164, 164, 164, 164, 164, 164, 164,
429 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
431 164, 164, 164, 164, 164, 164, 164, 164, 114, 112,
432 164, 4, 8, 163, 163, 163, 163, 163, 128, 163,
433 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
434 163, 163, 163, 163, 145, 163, 163, 163, 163, 163,
435 163, 163, 163, 163, 163, 176, 176, 176, 168, 57,
436 168, 168, 168, 51, 168, 96, 168, 105, 168, 168,
437 168, 168, 168, 168, 168, 85, 168, 168, 168, 168,
438 106, 168, 168, 121, 168, 168, 94, 168, 67, 168,
439 168, 168, 168, 168, 168, 168, 168, 168, 92, 168,
440 168, 168, 168, 168, 102, 168, 168, 168, 168, 168,
442 168, 168, 168, 168, 166, 57, 166, 166, 166, 51,
443 166, 166, 166, 105, 166, 166, 166, 166, 166, 106,
444 121, 166, 166, 166, 67, 166, 166, 166, 166, 166,
445 166, 166, 166, 166, 166, 166, 166, 164, 57, 164,
446 164, 164, 51, 164, 96, 164, 164, 105, 164, 164,
447 164, 164, 164, 164, 164, 85, 164, 164, 164, 164,
448 106, 164, 164, 121, 164, 164, 94, 164, 164, 67,
449 164, 164, 164, 164, 164, 164, 164, 164, 164, 92,
450 164, 164, 164, 164, 164, 102, 164, 164, 164, 164,
451 164, 164, 164, 164, 164, 163, 163, 163, 132, 140,
453 131, 163, 163, 142, 135, 138, 163, 163, 143, 163,
454 163, 163, 163, 163, 149, 157, 148, 163, 163, 160,
455 152, 155, 163, 163, 161, 163, 163, 176, 176, 176,
456 168, 53, 168, 168, 50, 168, 168, 168, 168, 104,
457 65, 168, 168, 91, 168, 77, 168, 168, 76, 168,
458 168, 168, 168, 168, 168, 168, 168, 168, 168, 116,
459 168, 168, 168, 168, 95, 168, 168, 168, 93, 168,
460 168, 168, 168, 168, 168, 168, 166, 53, 166, 166,
461 50, 166, 166, 166, 166, 104, 166, 77, 166, 166,
462 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
464 166, 166, 166, 164, 53, 164, 164, 50, 164, 164,
465 164, 164, 164, 104, 65, 164, 164, 91, 164, 77,
466 164, 164, 76, 164, 164, 164, 164, 164, 164, 164,
467 164, 164, 164, 164, 116, 164, 164, 164, 164, 95,
468 164, 164, 164, 93, 164, 164, 164, 164, 164, 164,
469 164, 163, 133, 130, 163, 163, 142, 142, 137, 163,
470 141, 163, 163, 150, 147, 163, 163, 160, 160, 154,
471 163, 159, 163, 176, 176, 174, 168, 168, 64, 168,
472 168, 168, 168, 168, 168, 168, 66, 168, 168, 168,
473 52, 168, 47, 168, 168, 103, 168, 48, 75, 168,
475 168, 168, 168, 168, 72, 168, 168, 168, 168, 90,
476 73, 168, 168, 168, 166, 166, 64, 166, 62, 166,
477 166, 166, 166, 52, 166, 166, 166, 103, 166, 48,
478 166, 166, 166, 72, 166, 166, 166, 166, 164, 164,
479 64, 164, 62, 164, 164, 164, 164, 164, 164, 66,
480 164, 164, 164, 52, 164, 47, 164, 164, 164, 103,
481 164, 48, 75, 164, 164, 164, 164, 164, 72, 164,
482 164, 164, 164, 90, 73, 164, 164, 164, 163, 163,
483 66, 139, 136, 163, 163, 163, 158, 156, 153, 163,
484 175, 173, 168, 59, 168, 168, 168, 168, 168, 79,
486 168, 168, 115, 168, 168, 168, 97, 168, 168, 99,
487 119, 168, 168, 168, 168, 168, 110, 86, 168, 49,
488 168, 168, 166, 59, 166, 166, 166, 79, 166, 166,
489 166, 166, 166, 107, 119, 166, 166, 110, 166, 166,
490 166, 164, 59, 164, 164, 164, 164, 164, 79, 164,
491 164, 115, 164, 164, 164, 164, 97, 164, 164, 99,
492 119, 164, 164, 164, 164, 164, 110, 86, 164, 49,
493 164, 164, 163, 163, 163, 163, 163, 163, 144, 168,
494 123, 168, 168, 168, 168, 168, 168, 58, 168, 168,
495 168, 168, 168, 168, 84, 168, 168, 168, 118, 162,
497 168, 144, 166, 123, 166, 166, 58, 166, 166, 166,
498 166, 166, 166, 118, 162, 166, 144, 164, 123, 164,
499 164, 164, 164, 164, 164, 58, 164, 164, 164, 164,
500 164, 164, 164, 84, 164, 164, 164, 118, 162, 164,
501 144, 129, 134, 162, 146, 151, 78, 168, 168, 168,
502 168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
503 168, 168, 168, 168, 78, 166, 166, 63, 166, 166,
504 166, 166, 166, 166, 78, 164, 164, 164, 164, 164,
505 164, 63, 164, 164, 164, 164, 164, 164, 164, 164,
506 164, 164, 164, 168, 168, 168, 168, 168, 168, 168,
508 108, 109, 168, 168, 168, 74, 168, 168, 168, 168,
509 168, 166, 166, 166, 108, 109, 166, 166, 166, 166,
510 164, 164, 164, 164, 164, 164, 164, 108, 109, 164,
511 164, 164, 74, 164, 164, 164, 164, 164, 168, 168,
512 168, 168, 168, 168, 98, 88, 168, 168, 168, 168,
513 168, 168, 168, 166, 166, 98, 166, 166, 166, 166,
514 164, 164, 164, 164, 164, 164, 98, 88, 164, 164,
515 164, 164, 164, 164, 164, 81, 168, 168, 122, 168,
516 168, 168, 168, 168, 168, 168, 100, 168, 166, 122,
517 166, 166, 166, 166, 81, 164, 164, 122, 164, 164,
519 164, 164, 164, 164, 164, 100, 164, 168, 168, 168,
520 168, 87, 168, 70, 168, 168, 168, 166, 166, 70,
521 166, 166, 164, 164, 164, 164, 87, 164, 70, 164,
522 164, 164, 168, 168, 168, 168, 168, 168, 120, 69,
523 168, 68, 166, 166, 166, 120, 69, 68, 164, 164,
524 164, 164, 164, 164, 120, 69, 164, 68, 168, 168,
525 168, 168, 168, 168, 168, 166, 166, 166, 164, 164,
526 164, 164, 164, 164, 164, 168, 168, 56, 168, 168,
527 168, 168, 166, 56, 166, 164, 164, 56, 164, 164,
528 164, 164, 168, 168, 168, 168, 168, 101, 166, 166,
530 164, 164, 164, 164, 164, 101, 168, 54, 168, 168,
531 168, 54, 166, 164, 54, 164, 164, 164, 168, 168,
532 168, 168, 166, 164, 164, 164, 164, 168, 168, 168,
533 168, 166, 164, 164, 164, 164, 80, 168, 168, 168,
534 166, 80, 164, 164, 164, 55, 168, 168, 55, 55,
535 164, 164, 82, 168, 82, 164, 168, 164, 83, 83,
539 static yyconst flex_int32_t yy_ec[256] =
540 { 0,
541 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
542 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
543 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
544 1, 2, 4, 5, 6, 7, 8, 9, 1, 10,
545 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
546 19, 19, 19, 19, 19, 19, 19, 21, 22, 23,
547 24, 25, 26, 1, 27, 28, 29, 30, 31, 32,
548 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
549 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
550 53, 54, 55, 56, 57, 1, 58, 59, 60, 61,
552 62, 63, 64, 65, 66, 16, 67, 68, 69, 70,
553 71, 72, 16, 73, 74, 75, 76, 16, 16, 77,
554 16, 78, 79, 80, 81, 82, 1, 1, 1, 1,
555 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
556 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
557 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
558 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
559 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
560 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
561 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
563 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
564 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
565 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
566 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
567 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
568 1, 1, 1, 1, 1
571 static yyconst flex_int32_t yy_meta[83] =
572 { 0,
573 1, 1, 2, 3, 1, 1, 4, 1, 1, 1,
574 1, 5, 6, 7, 8, 9, 10, 11, 11, 11,
575 8, 1, 1, 7, 1, 5, 11, 11, 11, 11,
576 11, 11, 9, 9, 9, 9, 9, 9, 9, 9,
577 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
578 9, 9, 8, 4, 8, 3, 9, 11, 11, 11,
579 11, 11, 11, 9, 9, 9, 9, 9, 9, 9,
580 9, 9, 9, 9, 9, 9, 9, 9, 1, 1,
581 1, 10
584 static yyconst flex_int16_t yy_base[1586] =
585 { 0,
586 0, 0, 0, 0, 82, 0, 164, 0, 246, 327,
587 408, 0, 275, 277, 490, 572, 654, 736, 2557, 2558,
588 2558, 2554, 2558, 2531, 2549, 801, 2558, 264, 2558, 2558,
589 2529, 2528, 0, 2527, 0, 250, 581, 499, 0, 2558,
590 252, 2526, 260, 0, 259, 255, 254, 255, 263, 273,
591 2505, 2510, 2507, 2515, 276, 285, 278, 315, 276, 2498,
592 326, 2517, 2512, 0, 0, 2483, 2479, 2467, 2473, 2558,
593 291, 2558, 0, 2558, 2536, 2513, 2531, 847, 2558, 334,
594 2558, 2558, 2511, 2510, 2558, 297, 0, 352, 893, 241,
595 2558, 2558, 299, 2509, 350, 2558, 953, 351, 357, 494,
597 503, 576, 2488, 2491, 2499, 353, 343, 496, 486, 2485,
598 516, 2558, 2558, 652, 2462, 2558, 320, 2558, 0, 1013,
599 482, 0, 380, 745, 757, 655, 572, 511, 534, 351,
600 519, 2483, 2488, 2485, 2493, 571, 578, 588, 590, 598,
601 2476, 661, 2495, 2490, 2461, 2457, 2445, 2451, 0, 1059,
602 2558, 2558, 0, 2558, 2558, 2513, 1105, 2491, 2490, 2558,
603 2489, 0, 2488, 0, 316, 2558, 0, 2487, 2558, 1151,
604 608, 686, 605, 677, 653, 364, 2483, 2465, 2461, 489,
605 2463, 2558, 2558, 724, 611, 661, 702, 740, 493, 2448,
606 2432, 2428, 541, 2430, 0, 2500, 2558, 0, 2489, 2558,
608 0, 2558, 2558, 2558, 2479, 567, 619, 546, 2558, 2558,
609 2497, 2558, 2493, 2558, 0, 1211, 2558, 2558, 0, 0,
610 0, 0, 0, 768, 0, 730, 2473, 2558, 0, 2558,
611 2472, 2450, 2464, 2458, 664, 0, 2452, 2450, 2444, 605,
612 2458, 2442, 2455, 2455, 2439, 595, 2446, 2442, 2438, 2440,
613 2442, 807, 2448, 2438, 683, 2435, 2437, 2425, 742, 2436,
614 2438, 2426, 2440, 2440, 2428, 2441, 811, 2426, 2414, 2421,
615 2433, 2416, 2435, 2433, 2415, 2415, 2414, 2383, 2386, 2391,
616 2376, 2558, 2558, 0, 1263, 2558, 2558, 2558, 0, 2558,
617 2558, 479, 864, 0, 2558, 2558, 0, 2558, 763, 842,
619 929, 0, 2418, 686, 0, 962, 2412, 2410, 991, 644,
620 1018, 1021, 2419, 2420, 2407, 2415, 2415, 2405, 2417, 2393,
621 2402, 2412, 2390, 632, 2401, 2403, 2406, 2395, 2402, 2382,
622 2402, 2404, 1024, 2353, 0, 1315, 0, 0, 878, 0,
623 2385, 2399, 2393, 728, 0, 2387, 2385, 2379, 2389, 783,
624 2392, 2376, 2389, 2389, 2373, 760, 2380, 2376, 2372, 2374,
625 2376, 813, 2382, 2372, 763, 760, 2372, 2370, 2380, 2358,
626 814, 2369, 2371, 2359, 2373, 2373, 2361, 2374, 821, 2359,
627 2347, 2354, 2366, 2349, 2368, 2366, 2348, 2348, 2347, 2316,
628 2319, 2324, 2309, 0, 1367, 2383, 2558, 0, 1419, 0,
630 0, 0, 830, 857, 843, 0, 2350, 890, 891, 2349,
631 2353, 2336, 2337, 2335, 2352, 2339, 2347, 2348, 2346, 2347,
632 2326, 866, 2306, 948, 951, 2305, 2309, 2294, 2295, 2293,
633 2308, 2296, 2303, 2304, 2302, 2303, 2284, 2357, 0, 0,
634 2337, 2336, 869, 868, 813, 2558, 2558, 2315, 2311, 2321,
635 2322, 2312, 2321, 2321, 2318, 2303, 2296, 2319, 2318, 2309,
636 2314, 2298, 2303, 2309, 2301, 2311, 2308, 2289, 0, 2297,
637 2293, 2298, 2285, 2289, 2297, 2299, 2295, 0, 2286, 2280,
638 2281, 2286, 2282, 2271, 2288, 2278, 2275, 2274, 2269, 2286,
639 2271, 2268, 2274, 2268, 2280, 2264, 2280, 2281, 2263, 2279,
641 2267, 2271, 2258, 2231, 0, 0, 2239, 0, 0, 926,
642 2259, 1055, 2266, 2267, 2257, 2266, 2266, 2256, 2248, 2241,
643 2264, 1067, 2261, 2251, 2241, 2246, 2244, 2252, 2254, 0,
644 0, 2245, 2236, 2237, 2239, 2228, 2245, 2233, 2228, 2236,
645 2243, 2244, 2245, 2200, 2208, 0, 0, 2228, 2224, 2234,
646 2235, 2225, 2234, 2234, 2231, 2223, 2215, 2208, 2231, 2230,
647 2221, 2226, 2210, 2215, 2221, 2213, 2223, 2220, 2201, 0,
648 2209, 2205, 2210, 2197, 2201, 2209, 2211, 2207, 0, 0,
649 2198, 0, 2200, 2191, 2192, 2197, 2193, 2182, 2199, 2189,
650 2186, 2185, 2180, 2197, 2182, 2179, 2185, 2179, 2191, 2175,
652 2191, 2192, 2174, 2190, 2178, 2182, 2169, 2142, 0, 0,
653 2150, 0, 0, 2170, 824, 2179, 2178, 2166, 0, 2176,
654 2167, 2159, 2174, 2172, 2171, 2163, 2154, 2155, 2158, 2126,
655 828, 2134, 2133, 2122, 0, 2131, 2123, 2116, 2129, 2127,
656 2126, 2119, 2111, 2112, 2114, 667, 707, 835, 2145, 0,
657 2142, 2137, 2149, 0, 2142, 0, 2132, 0, 2131, 2119,
658 2135, 2128, 2122, 2125, 2127, 0, 2124, 2138, 2126, 2120,
659 0, 2138, 2119, 0, 2118, 2136, 0, 2118, 0, 2120,
660 2119, 2132, 2101, 2122, 2109, 2117, 2109, 2118, 0, 2123,
661 2116, 2119, 2103, 2107, 2090, 2111, 2115, 2098, 2105, 2107,
663 2110, 2105, 2071, 2067, 2099, 0, 2096, 2091, 2103, 0,
664 2096, 2090, 2085, 0, 2073, 2089, 2082, 2080, 2084, 0,
665 0, 2079, 2097, 2066, 0, 2081, 2094, 2063, 2084, 2080,
666 2082, 2085, 2074, 2079, 2075, 2044, 2040, 2072, 0, 2069,
667 2064, 2076, 0, 2069, 0, 2063, 2058, 0, 2057, 2045,
668 2061, 2054, 2048, 2051, 2053, 0, 2050, 2064, 2052, 2046,
669 0, 2064, 2045, 0, 2044, 2062, 0, 2044, 2030, 0,
670 2045, 2044, 2057, 2026, 2047, 2034, 2033, 2015, 2014, 0,
671 2009, 1995, 1993, 1976, 1978, 1959, 1980, 1980, 1953, 1950,
672 1942, 1940, 1934, 1885, 1881, 1913, 1905, 1902, 0, 0,
674 0, 1892, 236, 1488, 0, 0, 252, 289, 0, 344,
675 468, 460, 488, 538, 0, 0, 0, 538, 608, 1569,
676 0, 0, 633, 659, 0, 657, 688, 895, 879, 870,
677 704, 729, 735, 782, 0, 922, 796, 808, 838, 0,
678 0, 869, 886, 0, 885, 0, 916, 913, 0, 916,
679 931, 918, 932, 951, 958, 961, 957, 955, 975, 0,
680 974, 971, 965, 969, 0, 978, 989, 993, 0, 976,
681 992, 1000, 988, 994, 962, 976, 1000, 1009, 1009, 1026,
682 0, 1038, 1033, 1016, 1034, 0, 1038, 0, 1046, 1051,
683 1043, 1039, 1062, 1059, 1056, 1076, 1074, 1066, 1075, 1081,
685 1074, 1034, 1048, 1067, 1074, 1070, 1095, 0, 1107, 1101,
686 1098, 1085, 1100, 0, 0, 1108, 1099, 0, 1083, 0,
687 1111, 1107, 0, 1109, 1114, 1095, 1108, 1103, 1122, 1120,
688 1116, 1112, 1107, 1127, 0, 1125, 1122, 1116, 1118, 0,
689 1127, 1132, 1134, 0, 1115, 1137, 1145, 1128, 1134, 1100,
690 1114, 1137, 0, 1147, 1147, 1142, 0, 1650, 0, 1161,
691 0, 1164, 1117, 0, 1125, 1125, 1121, 0, 1731, 0,
692 1137, 0, 1140, 1179, 1178, 1181, 1157, 1172, 0, 1175,
693 1166, 1160, 1151, 1184, 1187, 1187, 0, 1190, 1189, 1175,
694 0, 1193, 0, 1179, 1179, 0, 1194, 0, 1170, 1181,
696 1202, 1177, 1195, 1190, 1180, 1193, 1207, 1205, 1218, 0,
697 0, 1212, 1178, 1197, 1209, 1224, 0, 1227, 0, 1218,
698 1228, 1230, 1230, 0, 1232, 1236, 1219, 0, 1233, 0,
699 1215, 1236, 1222, 1218, 1238, 1244, 1204, 1227, 1239, 1254,
700 0, 1257, 0, 1248, 1242, 1239, 1266, 1268, 1268, 0,
701 1272, 1272, 1258, 0, 1275, 0, 1279, 1262, 1262, 0,
702 1277, 0, 1253, 1260, 1281, 1256, 1274, 1269, 1259, 1266,
703 1280, 1277, 1287, 0, 0, 1287, 1253, 1272, 1285, 1295,
704 0, 0, 0, 1291, 1263, 1268, 0, 0, 0, 1265,
705 1320, 1327, 1318, 0, 1319, 1305, 1324, 1314, 1323, 0,
707 1300, 1317, 0, 1302, 1316, 1317, 0, 1305, 1336, 0,
708 1307, 1335, 1321, 1310, 1335, 1313, 0, 0, 1331, 0,
709 1310, 1314, 1349, 0, 1350, 1337, 1355, 0, 1332, 1346,
710 1346, 1348, 1336, 0, 1343, 1344, 1368, 0, 1363, 1343,
711 1342, 1377, 0, 1378, 1364, 1382, 1371, 1380, 0, 1357,
712 1374, 0, 1359, 1373, 1373, 1375, 0, 1363, 1408, 0,
713 1364, 1392, 1378, 1367, 1397, 1375, 0, 0, 1393, 0,
714 1379, 1377, 1412, 1414, 1414, 1390, 1392, 1392, 0, 1425,
715 0, 1411, 1431, 1421, 1429, 1423, 1434, 0, 1433, 1421,
716 1422, 1426, 1434, 1434, 0, 1425, 1440, 1445, 0, 0,
718 1411, 0, 1444, 0, 1436, 1444, 0, 1446, 1453, 1443,
719 1457, 1450, 1470, 0, 0, 1441, 0, 1474, 0, 1459,
720 1478, 1468, 1476, 1470, 1486, 0, 1479, 1486, 1474, 1475,
721 1479, 1487, 1487, 0, 1478, 1493, 1498, 0, 0, 1464,
722 0, 0, 0, 0, 0, 0, 0, 1486, 1492, 1498,
723 1495, 1492, 1491, 1501, 1493, 1506, 1492, 1502, 1495, 1494,
724 1514, 1505, 1518, 1488, 0, 1516, 1513, 0, 1517, 1509,
725 1516, 1506, 1526, 1496, 0, 1514, 1520, 1526, 1524, 1521,
726 1520, 0, 1530, 1523, 1534, 1521, 1531, 1532, 1536, 1557,
727 1547, 1559, 1529, 1544, 1558, 1550, 1558, 1556, 1559, 1554,
729 0, 0, 1566, 1562, 1572, 0, 1576, 1574, 1570, 1567,
730 1546, 1568, 1571, 1565, 0, 0, 1581, 1585, 1583, 1553,
731 1571, 1585, 1577, 1580, 1578, 1581, 1576, 0, 0, 1588,
732 1584, 1594, 0, 1599, 1597, 1593, 1590, 1569, 1586, 1603,
733 1587, 1603, 1595, 1597, 0, 0, 1610, 1608, 1595, 1609,
734 1608, 1611, 1581, 1598, 1614, 0, 1616, 1603, 1622, 1595,
735 1618, 1636, 1620, 1636, 1628, 1630, 0, 0, 1643, 1641,
736 1633, 1647, 1646, 1649, 1619, 0, 1636, 1626, 0, 1627,
737 1644, 1640, 1656, 1642, 1645, 1650, 0, 1618, 1635, 0,
738 1662, 1648, 1651, 1623, 0, 1651, 1641, 0, 1642, 1659,
740 1655, 1671, 1657, 1660, 1665, 0, 1634, 1651, 1682, 1683,
741 1671, 0, 1672, 0, 1669, 1676, 1642, 1690, 1678, 0,
742 1674, 1646, 1665, 1717, 1696, 1684, 0, 1685, 0, 1682,
743 1689, 1664, 1701, 1709, 1709, 1719, 1713, 1695, 0, 0,
744 1727, 0, 1721, 1720, 1731, 0, 0, 0, 1718, 1726,
745 1725, 1735, 1729, 1711, 0, 0, 1738, 0, 1719, 1736,
746 1742, 1735, 1736, 1748, 1736, 1742, 1748, 1741, 1729, 1746,
747 1752, 1745, 1746, 1758, 1746, 1749, 1756, 0, 1746, 1750,
748 1754, 1747, 1761, 0, 1751, 1757, 1764, 0, 1754, 1758,
749 1762, 1755, 1774, 1763, 1763, 1776, 1768, 0, 1767, 1767,
751 1781, 1773, 1773, 1786, 1778, 0, 1776, 0, 1761, 1792,
752 1779, 0, 1764, 1781, 0, 1766, 1797, 1784, 1788, 1796,
753 1782, 1800, 1799, 1793, 1801, 1787, 1805, 1790, 1796, 1802,
754 1811, 1799, 1795, 1801, 1807, 1816, 0, 1814, 1804, 1800,
755 1817, 0, 1818, 1808, 1804, 0, 1811, 1817, 0, 0,
756 1813, 1819, 0, 1814, 0, 1815, 1817, 1818, 0, 0,
757 2558, 1858, 1869, 1880, 1891, 1902, 1913, 1921, 1929, 1937,
758 1945, 1956, 1964, 1975, 1986, 1997, 2000, 2009, 2017, 1923,
759 2025, 2036, 2047, 2058, 2069
762 static yyconst flex_int16_t yy_def[1586] =
763 { 0,
764 1562, 1562, 1561, 3, 1561, 5, 1561, 7, 1563, 1563,
765 1561, 11, 1564, 1564, 1565, 1565, 1566, 1566, 1561, 1561,
766 1561, 1561, 1561, 1561, 1567, 1568, 1561, 1561, 1561, 1561,
767 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1561,
768 1561, 1568, 1561, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
769 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
770 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1561,
771 1561, 1561, 1568, 1561, 1561, 1561, 1567, 1569, 1561, 1561,
772 1561, 1561, 1561, 1561, 1561, 1561, 1569, 1569, 1561, 89,
773 1561, 1561, 1561, 1561, 1561, 1561, 1569, 97, 97, 97,
775 97, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
776 1569, 1561, 1561, 97, 1569, 1561, 1561, 1561, 1569, 1570,
777 1561, 1570, 1570, 1561, 1561, 1570, 1570, 1570, 1570, 1570,
778 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
779 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1571,
780 1561, 1561, 1571, 1561, 1561, 1572, 1573, 1574, 1561, 1561,
781 1561, 1573, 1573, 89, 89, 1561, 1575, 1561, 1561, 1573,
782 170, 170, 170, 170, 170, 1573, 1573, 1573, 1573, 1573,
783 1573, 1561, 1561, 170, 170, 170, 170, 170, 1573, 1573,
784 1573, 1573, 1573, 1573, 1573, 1561, 1561, 1576, 1561, 1561,
786 1577, 1561, 1561, 1561, 1578, 1578, 1578, 1578, 1561, 1561,
787 1561, 1561, 1567, 1561, 1568, 1568, 1561, 1561, 1568, 1568,
788 1568, 1568, 1568, 1568, 1568, 216, 1561, 1561, 1568, 1561,
789 1561, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
790 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
791 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
792 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
793 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
794 1568, 1561, 1561, 1569, 1569, 1561, 1561, 1561, 1579, 1561,
795 1561, 89, 89, 293, 1561, 1561, 1580, 1561, 97, 97,
797 97, 1569, 1569, 1569, 1569, 97, 1569, 1569, 97, 1569,
798 97, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
799 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
800 1569, 1569, 97, 1569, 1570, 1570, 1581, 1570, 1561, 1580,
801 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
802 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
803 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
804 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
805 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
806 1570, 1570, 1570, 1571, 1571, 1572, 1561, 1573, 1573, 1574,
808 1574, 1575, 170, 170, 170, 1573, 1573, 170, 170, 1573,
809 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573,
810 1573, 170, 1573, 170, 170, 1573, 1573, 1573, 1573, 1573,
811 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1561, 1576, 1577,
812 1578, 1561, 1578, 1578, 1578, 1561, 1561, 1568, 1568, 1568,
813 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
814 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
815 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
816 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
817 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
819 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1579, 1580,
820 1569, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
821 1569, 97, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
822 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
823 1569, 1569, 1569, 1569, 1569, 1570, 1581, 1570, 1570, 1570,
824 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
825 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
826 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
827 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
828 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
830 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
831 1570, 1571, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573,
832 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573,
833 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573,
834 1573, 1573, 1573, 1573, 1573, 1578, 1578, 1578, 1568, 1568,
835 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
836 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
837 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
838 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
839 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
841 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569,
842 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
843 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
844 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570,
845 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
846 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
847 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
848 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
849 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
850 1570, 1570, 1570, 1570, 1570, 1573, 1573, 1573, 1573, 1573,
852 1573, 1573, 1573, 1582, 1573, 1573, 1573, 1573, 1573, 1573,
853 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1583,
854 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1578, 1578, 1578,
855 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
856 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
857 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
858 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
859 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569,
860 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
861 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
863 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
864 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
865 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
866 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
867 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
868 1570, 1573, 1573, 1573, 1573, 1573, 1584, 1582, 1573, 1573,
869 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1585, 1583, 1573,
870 1573, 1573, 1573, 1578, 1578, 1578, 1568, 1568, 1568, 1568,
871 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
872 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
874 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
875 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569,
876 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
877 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570,
878 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
879 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
880 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
881 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1573, 1573,
882 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573, 1573,
883 1578, 1578, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
885 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
886 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
887 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
888 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
889 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
890 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
891 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
892 1570, 1570, 1573, 1573, 1573, 1573, 1573, 1573, 1568, 1568,
893 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
894 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
896 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
897 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570,
898 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
899 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
900 1573, 1573, 1573, 1573, 1573, 1573, 1568, 1568, 1568, 1568,
901 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
902 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569,
903 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570,
904 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
905 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
907 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
908 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
909 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
910 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568,
911 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
912 1568, 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1569,
913 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
914 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568,
915 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569,
916 1569, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570,
918 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568,
919 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569,
920 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570,
921 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1568, 1568,
922 1568, 1568, 1569, 1569, 1569, 1569, 1569, 1569, 1570, 1570,
923 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568,
924 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1570, 1570,
925 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568, 1568,
926 1568, 1568, 1569, 1569, 1569, 1570, 1570, 1570, 1570, 1570,
927 1570, 1570, 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569,
929 1570, 1570, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568,
930 1568, 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1568, 1568,
931 1568, 1568, 1569, 1570, 1570, 1570, 1570, 1568, 1568, 1568,
932 1568, 1569, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1568,
933 1569, 1570, 1570, 1570, 1570, 1568, 1568, 1568, 1569, 1570,
934 1570, 1570, 1568, 1568, 1570, 1570, 1568, 1570, 1568, 1570,
935 0, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
936 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
937 1561, 1561, 1561, 1561, 1561
940 static yyconst flex_int16_t yy_nxt[2641] =
941 { 0,
942 21, 22, 23, 24, 25, 21, 26, 27, 28, 29,
943 30, 31, 32, 33, 34, 35, 36, 37, 38, 38,
944 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
945 49, 50, 51, 52, 53, 35, 54, 55, 56, 57,
946 58, 59, 60, 35, 61, 62, 35, 63, 35, 35,
947 35, 35, 64, 35, 65, 21, 35, 66, 35, 35,
948 35, 35, 35, 35, 35, 35, 35, 67, 35, 35,
949 68, 35, 35, 69, 35, 35, 35, 35, 70, 71,
950 72, 73, 74, 75, 23, 76, 77, 74, 78, 79,
951 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
953 90, 90, 91, 92, 93, 94, 95, 96, 97, 98,
954 99, 100, 101, 102, 103, 87, 104, 87, 105, 106,
955 107, 108, 109, 110, 87, 87, 111, 87, 87, 87,
956 87, 87, 87, 87, 112, 87, 113, 74, 87, 114,
957 102, 102, 102, 102, 102, 87, 87, 87, 87, 87,
958 87, 87, 87, 87, 87, 115, 87, 87, 87, 87,
959 116, 117, 118, 119, 74, 75, 23, 76, 77, 74,
960 120, 79, 80, 81, 82, 83, 84, 85, 121, 122,
961 123, 124, 125, 125, 91, 92, 93, 94, 95, 96,
962 126, 127, 128, 129, 130, 131, 132, 133, 134, 122,
964 135, 136, 137, 138, 139, 140, 141, 122, 142, 143,
965 122, 144, 122, 122, 122, 122, 112, 122, 113, 74,
966 122, 145, 122, 122, 122, 122, 122, 122, 122, 122,
967 122, 146, 122, 122, 147, 122, 122, 148, 122, 122,
968 122, 122, 116, 117, 118, 149, 74, 74, 20, 74,
969 74, 74, 150, 74, 74, 74, 74, 74, 151, 74,
970 152, 222, 956, 124, 125, 125, 74, 74, 74, 154,
971 74, 74, 217, 223, 227, 228, 196, 197, 196, 197,
972 198, 242, 198, 230, 231, 243, 232, 218, 233, 237,
973 295, 199, 238, 199, 240, 959, 234, 241, 74, 244,
975 74, 74, 245, 235, 236, 239, 254, 247, 258, 264,
976 248, 256, 246, 249, 282, 257, 255, 295, 259, 265,
977 288, 227, 228, 960, 74, 74, 74, 74, 74, 20,
978 74, 74, 74, 150, 74, 74, 74, 74, 74, 151,
979 74, 152, 217, 282, 124, 125, 125, 74, 74, 74,
980 154, 74, 74, 200, 260, 200, 267, 218, 261, 268,
981 269, 262, 263, 290, 289, 295, 270, 271, 272, 320,
982 283, 273, 274, 230, 231, 291, 275, 321, 306, 74,
983 306, 74, 74, 318, 306, 307, 306, 309, 308, 961,
984 355, 290, 295, 319, 284, 284, 284, 310, 414, 283,
986 356, 284, 284, 338, 415, 74, 74, 74, 21, 22,
987 155, 24, 21, 156, 157, 27, 28, 29, 30, 158,
988 159, 160, 161, 162, 163, 164, 165, 165, 166, 167,
989 41, 168, 43, 169, 170, 171, 172, 173, 174, 175,
990 162, 162, 162, 162, 162, 176, 162, 177, 178, 179,
991 162, 162, 180, 181, 162, 162, 162, 162, 162, 162,
992 182, 162, 183, 21, 162, 184, 185, 186, 173, 187,
993 188, 162, 162, 162, 162, 189, 162, 190, 191, 192,
994 162, 193, 194, 162, 162, 162, 70, 71, 72, 195,
995 21, 196, 197, 21, 21, 198, 962, 21, 21, 21,
997 21, 21, 21, 202, 21, 288, 199, 21, 21, 21,
998 202, 202, 21, 21, 21, 21, 224, 224, 224, 419,
999 311, 306, 322, 306, 312, 325, 323, 963, 295, 326,
1000 306, 284, 306, 327, 420, 225, 324, 225, 313, 284,
1001 284, 349, 21, 21, 21, 21, 329, 284, 284, 337,
1002 330, 350, 314, 357, 351, 295, 358, 331, 430, 359,
1003 352, 964, 332, 431, 353, 225, 442, 225, 203, 21,
1004 204, 21, 21, 196, 197, 21, 21, 198, 354, 21,
1005 21, 21, 21, 21, 21, 202, 21, 442, 199, 21,
1006 21, 21, 202, 202, 21, 21, 21, 21, 224, 224,
1008 224, 364, 435, 306, 366, 306, 346, 965, 367, 347,
1009 966, 365, 368, 284, 369, 436, 445, 225, 370, 225,
1010 284, 284, 348, 463, 21, 21, 21, 21, 371, 372,
1011 226, 376, 405, 373, 408, 405, 374, 375, 405, 442,
1012 464, 377, 398, 443, 456, 398, 457, 225, 398, 225,
1013 203, 21, 204, 21, 21, 196, 197, 226, 25, 198,
1014 534, 21, 21, 21, 21, 967, 21, 202, 424, 535,
1015 199, 21, 21, 21, 202, 202, 21, 21, 21, 306,
1016 405, 306, 341, 519, 342, 520, 444, 442, 405, 284,
1017 398, 379, 343, 413, 380, 381, 284, 284, 398, 344,
1019 345, 382, 383, 384, 405, 970, 385, 386, 451, 476,
1020 333, 387, 409, 405, 398, 206, 411, 207, 425, 410,
1021 452, 208, 477, 398, 971, 426, 412, 442, 828, 405,
1022 514, 972, 209, 21, 210, 21, 21, 196, 197, 398,
1023 25, 198, 515, 21, 21, 21, 21, 973, 21, 202,
1024 977, 405, 199, 21, 21, 21, 202, 202, 21, 21,
1025 21, 398, 339, 339, 339, 829, 215, 405, 215, 978,
1026 481, 427, 551, 482, 339, 339, 339, 398, 428, 483,
1027 979, 296, 422, 296, 552, 224, 224, 224, 564, 577,
1028 306, 423, 306, 296, 340, 296, 215, 206, 215, 207,
1030 284, 579, 578, 208, 225, 565, 225, 284, 284, 580,
1031 429, 296, 980, 296, 209, 21, 210, 21, 216, 216,
1032 216, 340, 557, 296, 558, 296, 983, 216, 216, 216,
1033 216, 216, 216, 442, 225, 470, 225, 491, 471, 492,
1034 472, 571, 585, 493, 572, 586, 573, 595, 473, 596,
1035 797, 587, 984, 597, 574, 442, 798, 405, 216, 216,
1036 216, 216, 216, 216, 285, 285, 285, 398, 985, 306,
1037 405, 306, 648, 285, 285, 285, 285, 285, 285, 284,
1038 398, 293, 293, 293, 405, 813, 511, 284, 442, 442,
1039 442, 814, 830, 405, 398, 339, 339, 339, 986, 442,
1041 1561, 614, 1561, 398, 285, 285, 285, 285, 285, 285,
1042 292, 292, 292, 295, 296, 442, 296, 405, 405, 293,
1043 294, 293, 294, 293, 293, 987, 295, 398, 398, 296,
1044 1561, 296, 1561, 295, 616, 617, 975, 976, 647, 630,
1045 295, 988, 297, 646, 296, 989, 296, 990, 981, 991,
1046 293, 294, 293, 294, 293, 293, 306, 295, 512, 296,
1047 992, 296, 296, 295, 296, 982, 284, 974, 993, 297,
1048 299, 299, 299, 284, 284, 405, 994, 995, 405, 299,
1049 300, 299, 301, 299, 299, 398, 302, 996, 398, 306,
1050 303, 306, 296, 302, 296, 997, 998, 304, 305, 284,
1052 999, 1000, 302, 1001, 1002, 1003, 284, 284, 1004, 1005,
1053 299, 306, 299, 306, 299, 299, 1006, 302, 306, 1007,
1054 306, 632, 1008, 302, 633, 518, 1009, 1010, 284, 302,
1055 336, 336, 336, 1011, 1012, 284, 284, 1013, 1014, 336,
1056 336, 336, 336, 336, 336, 306, 1015, 306, 306, 1016,
1057 306, 306, 522, 306, 1017, 284, 1018, 1019, 284, 1020,
1058 1021, 284, 284, 521, 1022, 284, 284, 1023, 284, 284,
1059 336, 336, 336, 336, 336, 336, 395, 395, 395, 1024,
1060 1025, 1026, 306, 1027, 306, 395, 395, 395, 395, 395,
1061 395, 1028, 284, 1029, 306, 1030, 306, 544, 706, 284,
1063 284, 716, 1031, 1032, 284, 1033, 1034, 1035, 1036, 1037,
1064 1038, 284, 284, 1039, 1040, 1041, 395, 395, 395, 395,
1065 395, 395, 399, 399, 399, 1042, 1043, 1044, 1046, 1047,
1066 1048, 399, 399, 399, 399, 399, 399, 1049, 1050, 1051,
1067 1052, 1053, 1054, 1055, 1045, 1056, 1057, 1058, 1059, 1060,
1068 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070,
1069 1071, 1072, 399, 399, 399, 399, 399, 399, 403, 403,
1070 403, 1073, 1074, 1075, 1076, 1077, 1078, 403, 404, 403,
1071 405, 403, 403, 1079, 406, 1080, 1081, 1082, 407, 1083,
1072 1084, 406, 1085, 1086, 1087, 1088, 1089, 1090, 442, 442,
1074 406, 442, 1093, 1094, 1095, 1096, 1097, 1098, 403, 405,
1075 403, 405, 403, 403, 1099, 406, 1100, 1101, 1102, 1103,
1076 1104, 406, 1105, 1106, 1107, 1108, 1109, 406, 216, 216,
1077 216, 1110, 1111, 1112, 1113, 1114, 1115, 216, 216, 216,
1078 216, 216, 216, 1116, 1117, 1092, 1118, 225, 1091, 225,
1079 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128,
1080 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 216, 216,
1081 216, 216, 216, 216, 1137, 1138, 1139, 225, 1140, 225,
1082 285, 285, 285, 1141, 1142, 1143, 1144, 1145, 1146, 285,
1083 285, 285, 285, 285, 285, 1147, 1148, 1149, 1150, 508,
1085 1151, 508, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159,
1086 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169,
1087 285, 285, 285, 285, 285, 285, 1170, 1171, 1172, 508,
1088 1173, 508, 336, 336, 336, 1174, 1175, 1176, 1177, 1178,
1089 442, 336, 336, 336, 336, 336, 336, 442, 1179, 1180,
1090 1181, 546, 1182, 546, 1183, 1184, 1185, 1186, 1187, 1188,
1091 1189, 1190, 1191, 1193, 1194, 1195, 1196, 1192, 1197, 1198,
1092 1199, 1200, 336, 336, 336, 336, 336, 336, 1201, 1202,
1093 1203, 546, 1204, 546, 395, 395, 395, 1205, 1206, 1207,
1094 1208, 1209, 1210, 395, 395, 395, 395, 395, 395, 1211,
1096 1212, 1213, 1214, 612, 1215, 612, 1216, 1217, 1218, 1219,
1097 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229,
1098 1232, 1233, 1234, 1235, 395, 395, 395, 395, 395, 395,
1099 1236, 1237, 1238, 612, 1230, 612, 399, 399, 399, 1231,
1100 1239, 1240, 1241, 1242, 1243, 399, 399, 399, 399, 399,
1101 399, 1244, 1245, 1246, 1247, 613, 1248, 613, 1249, 1250,
1102 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260,
1103 1261, 1262, 1264, 1265, 1266, 1267, 399, 399, 399, 399,
1104 399, 399, 1268, 1269, 1263, 613, 1270, 613, 957, 957,
1105 1271, 957, 957, 957, 1272, 957, 957, 957, 957, 957,
1107 1273, 957, 1274, 1275, 1276, 1277, 1278, 1279, 1280, 957,
1108 957, 957, 957, 957, 1281, 1282, 1283, 1284, 1285, 1286,
1109 1287, 1288, 1289, 1290, 1291, 1293, 1294, 1295, 1296, 1297,
1110 1298, 1299, 1300, 1301, 1303, 1304, 1305, 1292, 1306, 1307,
1111 1308, 1302, 1309, 957, 1310, 1311, 1312, 1313, 1314, 1315,
1112 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1316, 1324, 1325,
1113 1326, 1327, 1330, 1328, 1331, 1332, 957, 957, 957, 968,
1114 968, 1329, 968, 968, 968, 1333, 968, 968, 968, 968,
1115 968, 1334, 968, 1335, 1336, 1337, 1338, 1339, 1340, 1341,
1116 968, 968, 968, 968, 968, 1342, 1343, 1344, 1345, 1346,
1118 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356,
1119 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366,
1120 1367, 1368, 1369, 1370, 968, 1371, 1372, 1373, 1374, 1375,
1121 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385,
1122 1386, 1387, 1388, 1389, 1390, 1391, 1392, 968, 968, 968,
1123 957, 957, 1393, 957, 957, 957, 1394, 957, 957, 957,
1124 957, 957, 1395, 957, 1396, 1397, 1398, 1399, 1400, 1401,
1125 1402, 957, 957, 957, 957, 957, 1403, 1404, 1405, 1406,
1126 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416,
1127 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426,
1129 1427, 1428, 1429, 1430, 1431, 957, 1432, 1433, 1434, 1437,
1130 1438, 1439, 1435, 1440, 1441, 1442, 1443, 1446, 1447, 1448,
1131 1444, 1449, 1453, 1454, 1455, 1436, 1456, 1457, 957, 957,
1132 957, 968, 968, 1445, 968, 968, 968, 1458, 968, 968,
1133 968, 968, 968, 1450, 968, 1459, 1460, 1451, 1461, 1462,
1134 1463, 1464, 968, 968, 968, 968, 968, 1465, 1466, 1467,
1135 1452, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476,
1136 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486,
1137 1487, 1488, 1489, 1490, 1491, 1492, 968, 1493, 1494, 1495,
1138 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505,
1140 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 968,
1141 968, 968, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522,
1142 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532,
1143 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542,
1144 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552,
1145 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 20, 20,
1146 20, 20, 20, 20, 20, 20, 20, 20, 20, 153,
1147 153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
1148 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
1149 21, 201, 201, 201, 201, 201, 201, 201, 201, 201,
1151 201, 201, 205, 205, 205, 205, 205, 205, 205, 205,
1152 205, 205, 205, 213, 213, 213, 213, 213, 213, 213,
1153 213, 213, 213, 213, 215, 215, 215, 215, 215, 215,
1154 215, 215, 284, 510, 284, 955, 284, 284, 284, 284,
1155 335, 954, 335, 335, 335, 335, 335, 335, 394, 953,
1156 952, 951, 950, 394, 394, 394, 396, 396, 396, 396,
1157 396, 396, 396, 396, 396, 396, 396, 398, 949, 398,
1158 948, 398, 398, 398, 398, 400, 947, 400, 400, 400,
1159 400, 400, 400, 400, 400, 400, 402, 946, 402, 402,
1160 402, 402, 402, 402, 402, 402, 402, 439, 945, 439,
1162 439, 439, 439, 439, 439, 439, 439, 439, 440, 944,
1163 440, 441, 441, 441, 943, 942, 441, 441, 941, 441,
1164 509, 940, 509, 939, 509, 509, 509, 509, 547, 938,
1165 547, 547, 547, 547, 547, 547, 958, 937, 958, 958,
1166 958, 958, 958, 958, 958, 958, 958, 969, 936, 969,
1167 969, 969, 969, 969, 969, 969, 969, 969, 957, 935,
1168 957, 957, 957, 957, 957, 957, 957, 957, 957, 968,
1169 934, 968, 968, 968, 968, 968, 968, 968, 968, 968,
1170 933, 932, 931, 930, 929, 928, 927, 926, 925, 924,
1171 923, 922, 921, 920, 919, 918, 917, 916, 915, 914,
1173 913, 912, 911, 910, 909, 908, 907, 906, 905, 904,
1174 903, 902, 901, 900, 899, 898, 897, 896, 895, 894,
1175 893, 892, 891, 890, 889, 888, 887, 886, 885, 884,
1176 883, 882, 881, 880, 879, 878, 877, 876, 875, 874,
1177 873, 872, 871, 870, 869, 868, 867, 866, 865, 864,
1178 863, 862, 861, 860, 859, 858, 857, 856, 855, 854,
1179 853, 852, 851, 850, 849, 848, 847, 846, 845, 844,
1180 843, 842, 841, 840, 839, 838, 837, 836, 835, 834,
1181 833, 832, 831, 827, 826, 825, 824, 823, 822, 821,
1182 820, 819, 818, 817, 816, 815, 812, 811, 810, 809,
1184 808, 807, 806, 805, 804, 803, 802, 801, 800, 799,
1185 796, 795, 794, 793, 792, 791, 790, 789, 788, 787,
1186 786, 785, 784, 783, 782, 781, 780, 779, 778, 777,
1187 776, 775, 774, 773, 772, 771, 770, 769, 768, 767,
1188 766, 765, 764, 763, 762, 761, 760, 759, 758, 757,
1189 756, 755, 754, 753, 752, 751, 750, 749, 748, 747,
1190 746, 745, 744, 743, 742, 741, 740, 739, 738, 737,
1191 736, 735, 734, 733, 732, 731, 730, 729, 728, 727,
1192 726, 725, 724, 723, 722, 721, 720, 719, 718, 717,
1193 715, 714, 713, 712, 711, 710, 709, 708, 707, 705,
1195 704, 703, 702, 701, 700, 699, 698, 697, 696, 695,
1196 694, 693, 692, 691, 690, 689, 688, 687, 686, 685,
1197 684, 683, 682, 681, 680, 679, 678, 677, 676, 675,
1198 674, 673, 672, 671, 670, 669, 668, 667, 666, 665,
1199 664, 663, 662, 661, 660, 659, 658, 657, 656, 655,
1200 654, 653, 652, 651, 650, 649, 441, 442, 438, 645,
1201 644, 643, 642, 641, 640, 639, 638, 637, 636, 635,
1202 634, 631, 629, 628, 627, 626, 625, 624, 623, 622,
1203 621, 620, 619, 618, 615, 397, 611, 610, 609, 608,
1204 607, 606, 605, 604, 603, 602, 601, 600, 599, 598,
1206 594, 593, 592, 591, 590, 589, 588, 584, 583, 582,
1207 581, 576, 575, 570, 569, 568, 567, 566, 563, 562,
1208 561, 560, 559, 556, 555, 554, 553, 550, 549, 548,
1209 545, 543, 542, 541, 540, 539, 538, 537, 536, 533,
1210 532, 531, 530, 529, 528, 527, 526, 525, 524, 523,
1211 517, 516, 513, 507, 506, 505, 504, 503, 502, 501,
1212 500, 499, 498, 497, 496, 495, 494, 490, 489, 488,
1213 487, 486, 485, 484, 480, 479, 478, 475, 474, 469,
1214 468, 467, 466, 465, 462, 461, 460, 459, 458, 455,
1215 454, 453, 450, 449, 448, 447, 446, 214, 211, 442,
1217 290, 438, 437, 434, 433, 432, 421, 418, 417, 416,
1218 298, 291, 288, 287, 401, 397, 393, 392, 391, 390,
1219 389, 388, 378, 363, 362, 361, 360, 334, 328, 317,
1220 316, 315, 298, 287, 286, 214, 212, 211, 281, 280,
1221 279, 278, 277, 276, 266, 253, 252, 251, 250, 229,
1222 221, 220, 219, 214, 212, 211, 1561, 19, 1561, 1561,
1223 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1224 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1225 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1226 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1228 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1229 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1230 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1231 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561
1234 static yyconst flex_int16_t yy_chk[2641] =
1235 { 0,
1236 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1237 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1238 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1239 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1240 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1241 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1242 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1243 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1244 3, 3, 5, 5, 5, 5, 5, 5, 5, 5,
1245 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1247 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1248 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1249 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1250 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1251 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1252 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1253 5, 5, 5, 5, 7, 7, 7, 7, 7, 7,
1254 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1255 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1256 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1258 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1259 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1260 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1261 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
1262 7, 7, 7, 7, 7, 7, 9, 9, 9, 9,
1263 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
1264 9, 36, 803, 9, 9, 9, 9, 9, 9, 9,
1265 9, 9, 28, 36, 41, 41, 13, 13, 14, 14,
1266 13, 48, 14, 43, 43, 48, 45, 28, 45, 46,
1267 90, 13, 46, 14, 47, 807, 45, 47, 9, 48,
1269 9, 9, 49, 45, 45, 46, 55, 50, 57, 59,
1270 50, 56, 49, 50, 71, 56, 55, 90, 57, 59,
1271 86, 93, 93, 808, 9, 9, 9, 10, 10, 10,
1272 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
1273 10, 10, 80, 117, 10, 10, 10, 10, 10, 10,
1274 10, 10, 10, 13, 58, 14, 61, 80, 58, 61,
1275 61, 58, 58, 88, 86, 165, 61, 61, 61, 107,
1276 71, 61, 61, 95, 95, 88, 61, 107, 98, 10,
1277 98, 10, 10, 106, 99, 98, 99, 99, 98, 810,
1278 130, 123, 165, 106, 99, 98, 98, 99, 176, 117,
1280 130, 99, 99, 123, 176, 10, 10, 10, 11, 11,
1281 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1282 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1283 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1284 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1285 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1286 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1287 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1288 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
1289 15, 15, 15, 15, 15, 15, 811, 15, 15, 15,
1291 15, 15, 15, 15, 15, 121, 15, 15, 15, 15,
1292 15, 15, 15, 15, 15, 15, 38, 38, 38, 180,
1293 100, 100, 108, 100, 100, 109, 108, 812, 292, 109,
1294 101, 100, 101, 109, 180, 38, 108, 38, 100, 100,
1295 101, 128, 15, 15, 15, 15, 111, 101, 101, 121,
1296 111, 128, 101, 131, 128, 292, 131, 111, 189, 131,
1297 129, 813, 111, 189, 129, 38, 208, 38, 15, 15,
1298 15, 15, 16, 16, 16, 16, 16, 16, 129, 16,
1299 16, 16, 16, 16, 16, 16, 16, 206, 16, 16,
1300 16, 16, 16, 16, 16, 16, 16, 16, 37, 37,
1302 37, 136, 193, 102, 137, 102, 127, 814, 137, 127,
1303 818, 136, 137, 102, 138, 193, 208, 37, 138, 37,
1304 102, 102, 127, 246, 16, 16, 16, 16, 138, 139,
1305 37, 140, 173, 139, 171, 171, 139, 139, 185, 207,
1306 246, 140, 173, 206, 240, 171, 240, 37, 185, 37,
1307 16, 16, 16, 16, 17, 17, 17, 37, 17, 17,
1308 324, 17, 17, 17, 17, 819, 17, 17, 185, 324,
1309 17, 17, 17, 17, 17, 17, 17, 17, 17, 114,
1310 175, 114, 126, 310, 126, 310, 207, 646, 186, 114,
1311 175, 142, 126, 175, 142, 142, 114, 114, 186, 126,
1313 126, 142, 142, 142, 174, 823, 142, 142, 235, 255,
1314 114, 142, 172, 172, 174, 17, 174, 17, 186, 172,
1315 235, 17, 255, 172, 824, 186, 174, 647, 646, 187,
1316 304, 826, 17, 17, 17, 17, 18, 18, 18, 187,
1317 18, 18, 304, 18, 18, 18, 18, 827, 18, 18,
1318 831, 184, 18, 18, 18, 18, 18, 18, 18, 18,
1319 18, 184, 124, 124, 124, 647, 226, 188, 226, 832,
1320 259, 187, 344, 259, 125, 125, 125, 188, 187, 259,
1321 833, 124, 184, 124, 344, 224, 224, 224, 356, 365,
1322 299, 184, 299, 125, 124, 125, 226, 18, 226, 18,
1324 299, 366, 365, 18, 224, 356, 224, 299, 299, 366,
1325 188, 124, 834, 124, 18, 18, 18, 18, 26, 26,
1326 26, 124, 350, 125, 350, 125, 837, 26, 26, 26,
1327 26, 26, 26, 445, 224, 252, 224, 267, 252, 267,
1328 252, 362, 371, 267, 362, 371, 362, 379, 252, 379,
1329 615, 371, 838, 379, 362, 648, 615, 403, 26, 26,
1330 26, 26, 26, 26, 78, 78, 78, 403, 839, 300,
1331 405, 300, 445, 78, 78, 78, 78, 78, 78, 300,
1332 405, 293, 293, 293, 404, 631, 300, 300, 444, 443,
1333 830, 631, 648, 422, 404, 339, 339, 339, 842, 829,
1335 293, 404, 293, 422, 78, 78, 78, 78, 78, 78,
1336 89, 89, 89, 293, 339, 828, 339, 408, 409, 89,
1337 89, 89, 89, 89, 89, 843, 89, 408, 409, 89,
1338 293, 89, 293, 89, 408, 409, 829, 830, 444, 422,
1339 293, 845, 89, 443, 339, 847, 339, 848, 836, 850,
1340 89, 89, 89, 89, 89, 89, 301, 89, 301, 89,
1341 851, 89, 510, 89, 510, 836, 301, 828, 852, 89,
1342 97, 97, 97, 301, 301, 424, 853, 854, 425, 97,
1343 97, 97, 97, 97, 97, 424, 97, 855, 425, 306,
1344 97, 306, 510, 97, 510, 856, 857, 97, 97, 306,
1346 858, 859, 97, 861, 862, 863, 306, 306, 864, 866,
1347 97, 97, 97, 97, 97, 97, 867, 97, 309, 868,
1348 309, 424, 870, 97, 425, 309, 871, 872, 309, 97,
1349 120, 120, 120, 873, 874, 309, 309, 875, 876, 120,
1350 120, 120, 120, 120, 120, 311, 877, 311, 312, 878,
1351 312, 333, 312, 333, 879, 311, 880, 882, 312, 883,
1352 884, 333, 311, 311, 885, 312, 312, 887, 333, 333,
1353 120, 120, 120, 120, 120, 120, 150, 150, 150, 889,
1354 890, 891, 512, 892, 512, 150, 150, 150, 150, 150,
1355 150, 893, 512, 894, 522, 895, 522, 333, 512, 512,
1357 512, 522, 896, 897, 522, 898, 899, 900, 901, 902,
1358 903, 522, 522, 904, 905, 906, 150, 150, 150, 150,
1359 150, 150, 157, 157, 157, 907, 909, 910, 911, 912,
1360 913, 157, 157, 157, 157, 157, 157, 916, 917, 919,
1361 921, 922, 924, 925, 910, 926, 927, 928, 929, 930,
1362 931, 932, 933, 934, 936, 937, 938, 939, 941, 942,
1363 943, 945, 157, 157, 157, 157, 157, 157, 170, 170,
1364 170, 946, 947, 948, 949, 950, 951, 170, 170, 170,
1365 170, 170, 170, 952, 170, 954, 955, 956, 170, 960,
1366 962, 170, 963, 965, 966, 967, 971, 973, 975, 974,
1368 170, 976, 977, 978, 980, 981, 982, 983, 170, 170,
1369 170, 170, 170, 170, 984, 170, 985, 986, 988, 989,
1370 990, 170, 992, 994, 995, 997, 999, 170, 216, 216,
1371 216, 1000, 1001, 1002, 1003, 1004, 1005, 216, 216, 216,
1372 216, 216, 216, 1006, 1007, 975, 1008, 216, 974, 216,
1373 1009, 1012, 1013, 1014, 1015, 1016, 1018, 1020, 1021, 1022,
1374 1023, 1025, 1026, 1027, 1029, 1031, 1032, 1033, 216, 216,
1375 216, 216, 216, 216, 1034, 1035, 1036, 216, 1037, 216,
1376 285, 285, 285, 1038, 1039, 1040, 1042, 1044, 1045, 285,
1377 285, 285, 285, 285, 285, 1046, 1047, 1048, 1049, 285,
1379 1051, 285, 1052, 1053, 1055, 1057, 1058, 1059, 1061, 1063,
1380 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073,
1381 285, 285, 285, 285, 285, 285, 1076, 1077, 1078, 285,
1382 1079, 285, 336, 336, 336, 1080, 1084, 1085, 1086, 1090,
1383 1091, 336, 336, 336, 336, 336, 336, 1092, 1093, 1095,
1384 1096, 336, 1097, 336, 1098, 1099, 1101, 1102, 1104, 1105,
1385 1106, 1108, 1109, 1111, 1112, 1113, 1114, 1109, 1115, 1116,
1386 1119, 1121, 336, 336, 336, 336, 336, 336, 1122, 1123,
1387 1125, 336, 1126, 336, 395, 395, 395, 1127, 1129, 1130,
1388 1131, 1132, 1133, 395, 395, 395, 395, 395, 395, 1135,
1390 1136, 1137, 1139, 395, 1140, 395, 1141, 1142, 1144, 1145,
1391 1146, 1147, 1148, 1150, 1151, 1153, 1154, 1155, 1156, 1158,
1392 1161, 1162, 1163, 1164, 395, 395, 395, 395, 395, 395,
1393 1165, 1166, 1169, 395, 1159, 395, 399, 399, 399, 1159,
1394 1171, 1172, 1173, 1174, 1175, 399, 399, 399, 399, 399,
1395 399, 1176, 1177, 1178, 1180, 399, 1182, 399, 1183, 1184,
1396 1185, 1186, 1187, 1189, 1190, 1191, 1192, 1193, 1194, 1196,
1397 1197, 1198, 1201, 1203, 1205, 1206, 399, 399, 399, 399,
1398 399, 399, 1208, 1209, 1198, 399, 1210, 399, 804, 804,
1399 1211, 804, 804, 804, 1212, 804, 804, 804, 804, 804,
1401 1213, 804, 1216, 1218, 1220, 1221, 1222, 1223, 1224, 804,
1402 804, 804, 804, 804, 1225, 1227, 1228, 1229, 1230, 1231,
1403 1232, 1233, 1235, 1236, 1237, 1240, 1248, 1249, 1250, 1251,
1404 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1237, 1259, 1260,
1405 1261, 1255, 1262, 804, 1263, 1264, 1266, 1267, 1269, 1270,
1406 1271, 1272, 1273, 1274, 1276, 1277, 1278, 1270, 1279, 1280,
1407 1281, 1283, 1285, 1284, 1286, 1287, 804, 804, 804, 820,
1408 820, 1284, 820, 820, 820, 1288, 820, 820, 820, 820,
1409 820, 1289, 820, 1290, 1291, 1292, 1293, 1294, 1295, 1296,
1410 820, 820, 820, 820, 820, 1297, 1298, 1299, 1300, 1303,
1412 1304, 1305, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314,
1413 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326,
1414 1327, 1330, 1331, 1332, 820, 1334, 1335, 1336, 1337, 1338,
1415 1339, 1340, 1341, 1342, 1343, 1344, 1347, 1348, 1349, 1350,
1416 1351, 1352, 1353, 1354, 1355, 1357, 1358, 820, 820, 820,
1417 958, 958, 1359, 958, 958, 958, 1360, 958, 958, 958,
1418 958, 958, 1361, 958, 1362, 1363, 1364, 1365, 1366, 1369,
1419 1370, 958, 958, 958, 958, 958, 1371, 1372, 1373, 1374,
1420 1375, 1377, 1378, 1380, 1381, 1382, 1383, 1384, 1385, 1386,
1421 1388, 1389, 1391, 1392, 1393, 1394, 1396, 1397, 1399, 1400,
1423 1401, 1402, 1403, 1404, 1405, 958, 1407, 1408, 1409, 1410,
1424 1411, 1413, 1409, 1415, 1416, 1417, 1418, 1419, 1421, 1422,
1425 1418, 1423, 1425, 1426, 1428, 1409, 1430, 1431, 958, 958,
1426 958, 969, 969, 1418, 969, 969, 969, 1432, 969, 969,
1427 969, 969, 969, 1424, 969, 1433, 1434, 1424, 1435, 1436,
1428 1437, 1438, 969, 969, 969, 969, 969, 1441, 1443, 1444,
1429 1424, 1445, 1449, 1450, 1451, 1452, 1453, 1454, 1457, 1459,
1430 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469,
1431 1470, 1471, 1472, 1473, 1474, 1475, 969, 1476, 1477, 1479,
1432 1480, 1481, 1482, 1483, 1485, 1486, 1487, 1489, 1490, 1491,
1434 1492, 1493, 1494, 1495, 1496, 1497, 1499, 1500, 1501, 969,
1435 969, 969, 1502, 1503, 1504, 1505, 1507, 1509, 1510, 1511,
1436 1513, 1514, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523,
1437 1524, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533,
1438 1534, 1535, 1536, 1538, 1539, 1540, 1541, 1543, 1544, 1545,
1439 1547, 1548, 1551, 1552, 1554, 1556, 1557, 1558, 1562, 1562,
1440 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1562, 1563,
1441 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1563, 1563,
1442 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1564, 1564,
1443 1564, 1565, 1565, 1565, 1565, 1565, 1565, 1565, 1565, 1565,
1445 1565, 1565, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
1446 1566, 1566, 1566, 1567, 1567, 1567, 1567, 1567, 1567, 1567,
1447 1567, 1567, 1567, 1567, 1568, 1568, 1568, 1568, 1568, 1568,
1448 1568, 1568, 1569, 1580, 1569, 802, 1569, 1569, 1569, 1569,
1449 1570, 798, 1570, 1570, 1570, 1570, 1570, 1570, 1571, 797,
1450 796, 795, 794, 1571, 1571, 1571, 1572, 1572, 1572, 1572,
1451 1572, 1572, 1572, 1572, 1572, 1572, 1572, 1573, 793, 1573,
1452 792, 1573, 1573, 1573, 1573, 1574, 791, 1574, 1574, 1574,
1453 1574, 1574, 1574, 1574, 1574, 1574, 1575, 790, 1575, 1575,
1454 1575, 1575, 1575, 1575, 1575, 1575, 1575, 1576, 789, 1576,
1456 1576, 1576, 1576, 1576, 1576, 1576, 1576, 1576, 1577, 788,
1457 1577, 1578, 1578, 1578, 787, 786, 1578, 1578, 785, 1578,
1458 1579, 784, 1579, 783, 1579, 1579, 1579, 1579, 1581, 782,
1459 1581, 1581, 1581, 1581, 1581, 1581, 1582, 781, 1582, 1582,
1460 1582, 1582, 1582, 1582, 1582, 1582, 1582, 1583, 779, 1583,
1461 1583, 1583, 1583, 1583, 1583, 1583, 1583, 1583, 1584, 778,
1462 1584, 1584, 1584, 1584, 1584, 1584, 1584, 1584, 1584, 1585,
1463 777, 1585, 1585, 1585, 1585, 1585, 1585, 1585, 1585, 1585,
1464 776, 775, 774, 773, 772, 771, 769, 768, 766, 765,
1465 763, 762, 760, 759, 758, 757, 755, 754, 753, 752,
1467 751, 750, 749, 747, 746, 744, 742, 741, 740, 738,
1468 737, 736, 735, 734, 733, 732, 731, 730, 729, 728,
1469 727, 726, 724, 723, 722, 719, 718, 717, 716, 715,
1470 713, 712, 711, 709, 708, 707, 705, 704, 703, 702,
1471 701, 700, 699, 698, 697, 696, 695, 694, 693, 692,
1472 691, 690, 688, 687, 686, 685, 684, 683, 682, 681,
1473 680, 678, 676, 675, 673, 672, 670, 669, 668, 667,
1474 665, 664, 663, 662, 661, 660, 659, 657, 655, 653,
1475 652, 651, 649, 645, 644, 643, 642, 641, 640, 639,
1476 638, 637, 636, 634, 633, 632, 630, 629, 628, 627,
1478 626, 625, 624, 623, 622, 621, 620, 618, 617, 616,
1479 614, 611, 608, 607, 606, 605, 604, 603, 602, 601,
1480 600, 599, 598, 597, 596, 595, 594, 593, 592, 591,
1481 590, 589, 588, 587, 586, 585, 584, 583, 581, 578,
1482 577, 576, 575, 574, 573, 572, 571, 569, 568, 567,
1483 566, 565, 564, 563, 562, 561, 560, 559, 558, 557,
1484 556, 555, 554, 553, 552, 551, 550, 549, 548, 545,
1485 544, 543, 542, 541, 540, 539, 538, 537, 536, 535,
1486 534, 533, 532, 529, 528, 527, 526, 525, 524, 523,
1487 521, 520, 519, 518, 517, 516, 515, 514, 513, 511,
1489 507, 504, 503, 502, 501, 500, 499, 498, 497, 496,
1490 495, 494, 493, 492, 491, 490, 489, 488, 487, 486,
1491 485, 484, 483, 482, 481, 480, 479, 477, 476, 475,
1492 474, 473, 472, 471, 470, 468, 467, 466, 465, 464,
1493 463, 462, 461, 460, 459, 458, 457, 456, 455, 454,
1494 453, 452, 451, 450, 449, 448, 442, 441, 438, 437,
1495 436, 435, 434, 433, 432, 431, 430, 429, 428, 427,
1496 426, 423, 421, 420, 419, 418, 417, 416, 415, 414,
1497 413, 412, 411, 410, 407, 396, 393, 392, 391, 390,
1498 389, 388, 387, 386, 385, 384, 383, 382, 381, 380,
1500 378, 377, 376, 375, 374, 373, 372, 370, 369, 368,
1501 367, 364, 363, 361, 360, 359, 358, 357, 355, 354,
1502 353, 352, 351, 349, 348, 347, 346, 343, 342, 341,
1503 334, 332, 331, 330, 329, 328, 327, 326, 325, 323,
1504 322, 321, 320, 319, 318, 317, 316, 315, 314, 313,
1505 308, 307, 303, 281, 280, 279, 278, 277, 276, 275,
1506 274, 273, 272, 271, 270, 269, 268, 266, 265, 264,
1507 263, 262, 261, 260, 258, 257, 256, 254, 253, 251,
1508 250, 249, 248, 247, 245, 244, 243, 242, 241, 239,
1509 238, 237, 234, 233, 232, 231, 227, 213, 211, 205,
1511 199, 196, 194, 192, 191, 190, 181, 179, 178, 177,
1512 168, 163, 161, 159, 158, 156, 148, 147, 146, 145,
1513 144, 143, 141, 135, 134, 133, 132, 115, 110, 105,
1514 104, 103, 94, 84, 83, 77, 76, 75, 69, 68,
1515 67, 66, 63, 62, 60, 54, 53, 52, 51, 42,
1516 34, 32, 31, 25, 24, 22, 19, 1561, 1561, 1561,
1517 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1518 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1519 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1520 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1522 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1523 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1524 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561,
1525 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561, 1561
1528 static yy_state_type yy_last_accepting_state;
1529 static char *yy_last_accepting_cpos;
1531 extern int yy_flex_debug;
1532 int yy_flex_debug = 0;
1534 /* The intent behind this definition is that it'll catch
1535 * any uses of REJECT which flex missed.
1537 #define REJECT reject_used_but_not_detected
1538 #define yymore() yymore_used_but_not_detected
1539 #define YY_MORE_ADJ 0
1540 #define YY_RESTORE_YY_MORE_OFFSET
1541 char *yytext;
1542 #line 1 "ldlex.l"
1543 #line 2 "ldlex.l"
1545 /* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1546 2000, 2001, 2002, 2003, 2004, 2005, 2007
1547 Free Software Foundation, Inc.
1548 Written by Steve Chamberlain of Cygnus Support.
1550 This file is part of the GNU Binutils.
1552 This program is free software; you can redistribute it and/or modify
1553 it under the terms of the GNU General Public License as published by
1554 the Free Software Foundation; either version 3 of the License, or
1555 (at your option) any later version.
1557 This program is distributed in the hope that it will be useful,
1558 but WITHOUT ANY WARRANTY; without even the implied warranty of
1559 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1560 GNU General Public License for more details.
1562 You should have received a copy of the GNU General Public License
1563 along with this program; if not, write to the Free Software
1564 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
1565 MA 02110-1301, USA. */
1567 #include "sysdep.h"
1568 #include "bfd.h"
1569 #include "safe-ctype.h"
1570 #include "bfdlink.h"
1571 #include "ld.h"
1572 #include "ldmisc.h"
1573 #include "ldexp.h"
1574 #include "ldlang.h"
1575 #include <ldgram.h>
1576 #include "ldfile.h"
1577 #include "ldlex.h"
1578 #include "ldmain.h"
1579 #include "libiberty.h"
1581 /* The type of top-level parser input.
1582 yylex and yyparse (indirectly) both check this. */
1583 input_type parser_input;
1585 /* Line number in the current input file.
1586 (FIXME Actually, it doesn't appear to get reset for each file?) */
1587 unsigned int lineno = 1;
1589 /* The string we are currently lexing, or NULL if we are reading a
1590 file. */
1591 const char *lex_string = NULL;
1593 /* Support for flex reading from more than one input file (stream).
1594 `include_stack' is flex's input state for each open file;
1595 `file_name_stack' is the file names. `lineno_stack' is the current
1596 line numbers.
1598 If `include_stack_ptr' is 0, we haven't started reading anything yet.
1599 Otherwise, stack elements 0 through `include_stack_ptr - 1' are valid. */
1601 #undef YY_INPUT
1602 #define YY_INPUT(buf,result,max_size) yy_input (buf, &result, max_size)
1604 #define YY_NO_UNPUT
1606 #define MAX_INCLUDE_DEPTH 10
1607 static YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH];
1608 static const char *file_name_stack[MAX_INCLUDE_DEPTH];
1609 static unsigned int lineno_stack[MAX_INCLUDE_DEPTH];
1610 static unsigned int include_stack_ptr = 0;
1611 static int vers_node_nesting = 0;
1613 static void yy_input (char *, int *, int);
1614 static void comment (void);
1615 static void lex_warn_invalid (char *where, char *what);
1617 /* STATES
1618 EXPRESSION definitely in an expression
1619 SCRIPT definitely in a script
1620 BOTH either EXPRESSION or SCRIPT
1621 DEFSYMEXP in an argument to -defsym
1622 MRI in an MRI script
1623 VERS_START starting a Sun style mapfile
1624 VERS_SCRIPT a Sun style mapfile
1625 VERS_NODE a node within a Sun style mapfile
1627 #define RTOKEN(x) { yylval.token = x; return x; }
1629 /* Some versions of flex want this. */
1630 #ifndef yywrap
1631 int yywrap (void) { return 1; }
1632 #endif
1641 #line 1642 "ldlex.c"
1643 #define INITIAL 0
1644 #define SCRIPT 1
1645 #define EXPRESSION 2
1646 #define BOTH 3
1647 #define DEFSYMEXP 4
1648 #define MRI 5
1649 #define VERS_START 6
1650 #define VERS_SCRIPT 7
1651 #define VERS_NODE 8
1653 #ifndef YY_NO_UNISTD_H
1654 /* Special case for "unistd.h", since it is non-ANSI. We include it way
1655 * down here because we want the user's section 1 to have been scanned first.
1656 * The user has a chance to override it with an option.
1658 #include <unistd.h>
1659 #endif
1661 #ifndef YY_EXTRA_TYPE
1662 #define YY_EXTRA_TYPE void *
1663 #endif
1665 /* Macros after this point can all be overridden by user definitions in
1666 * section 1.
1669 #ifndef YY_SKIP_YYWRAP
1670 #ifdef __cplusplus
1671 extern "C" int yywrap (void );
1672 #else
1673 extern int yywrap (void );
1674 #endif
1675 #endif
1677 static void yyunput (int c,char *buf_ptr );
1679 #ifndef yytext_ptr
1680 static void yy_flex_strncpy (char *,yyconst char *,int );
1681 #endif
1683 #ifdef YY_NEED_STRLEN
1684 static int yy_flex_strlen (yyconst char * );
1685 #endif
1687 #ifndef YY_NO_INPUT
1689 #ifdef __cplusplus
1690 static int yyinput (void );
1691 #else
1692 static int input (void );
1693 #endif
1695 #endif
1697 /* Amount of stuff to slurp up with each read. */
1698 #ifndef YY_READ_BUF_SIZE
1699 #define YY_READ_BUF_SIZE 8192
1700 #endif
1702 /* Copy whatever the last rule matched to the standard output. */
1703 #ifndef ECHO
1704 /* This used to be an fputs(), but since the string might contain NUL's,
1705 * we now use fwrite().
1707 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1708 #endif
1710 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1711 * is returned in "result".
1713 #ifndef YY_INPUT
1714 #define YY_INPUT(buf,result,max_size) \
1715 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1717 int c = '*'; \
1718 size_t n; \
1719 for ( n = 0; n < max_size && \
1720 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1721 buf[n] = (char) c; \
1722 if ( c == '\n' ) \
1723 buf[n++] = (char) c; \
1724 if ( c == EOF && ferror( yyin ) ) \
1725 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1726 result = n; \
1728 else \
1730 errno=0; \
1731 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1733 if( errno != EINTR) \
1735 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1736 break; \
1738 errno=0; \
1739 clearerr(yyin); \
1744 #endif
1746 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1747 * we don't want an extra ';' after the "return" because that will cause
1748 * some compilers to complain about unreachable statements.
1750 #ifndef yyterminate
1751 #define yyterminate() return YY_NULL
1752 #endif
1754 /* Number of entries by which start-condition stack grows. */
1755 #ifndef YY_START_STACK_INCR
1756 #define YY_START_STACK_INCR 25
1757 #endif
1759 /* Report a fatal error. */
1760 #ifndef YY_FATAL_ERROR
1761 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1762 #endif
1764 /* end tables serialization structures and prototypes */
1766 /* Default declaration of generated scanner - a define so the user can
1767 * easily add parameters.
1769 #ifndef YY_DECL
1770 #define YY_DECL_IS_OURS 1
1772 extern int yylex (void);
1774 #define YY_DECL int yylex (void)
1775 #endif /* !YY_DECL */
1777 /* Code executed at the beginning of each rule, after yytext and yyleng
1778 * have been set up.
1780 #ifndef YY_USER_ACTION
1781 #define YY_USER_ACTION
1782 #endif
1784 /* Code executed at the end of each rule. */
1785 #ifndef YY_BREAK
1786 #define YY_BREAK break;
1787 #endif
1789 #define YY_RULE_SETUP \
1790 YY_USER_ACTION
1792 /** The main scanner function which does all the work.
1794 YY_DECL
1796 register yy_state_type yy_current_state;
1797 register char *yy_cp, *yy_bp;
1798 register int yy_act;
1800 #line 117 "ldlex.l"
1803 if (parser_input != input_selected)
1805 /* The first token of the input determines the initial parser state. */
1806 input_type t = parser_input;
1807 parser_input = input_selected;
1808 switch (t)
1810 case input_script: return INPUT_SCRIPT; break;
1811 case input_mri_script: return INPUT_MRI_SCRIPT; break;
1812 case input_version_script: return INPUT_VERSION_SCRIPT; break;
1813 case input_dynamic_list: return INPUT_DYNAMIC_LIST; break;
1814 case input_defsym: return INPUT_DEFSYM; break;
1815 default: abort ();
1819 #line 1820 "ldlex.c"
1821 if ( (yy_init) )
1823 (yy_init) = 0;
1825 #ifdef YY_USER_INIT
1826 YY_USER_INIT;
1827 #endif
1829 if ( ! (yy_start) )
1830 (yy_start) = 1; /* first start state */
1832 if ( ! yyin )
1833 yyin = stdin;
1835 if ( ! yyout )
1836 yyout = stdout;
1838 if ( ! YY_CURRENT_BUFFER ) {
1839 yyensure_buffer_stack ();
1840 YY_CURRENT_BUFFER_LVALUE =
1841 yy_create_buffer(yyin,YY_BUF_SIZE );
1844 yy_load_buffer_state( );
1847 while ( 1 ) /* loops until end-of-file is reached */
1849 yy_cp = (yy_c_buf_p);
1851 /* Support of yytext. */
1852 *yy_cp = (yy_hold_char);
1854 /* yy_bp points to the position in yy_ch_buf of the start of
1855 * the current run.
1857 yy_bp = yy_cp;
1859 yy_current_state = (yy_start);
1860 yy_match:
1863 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1864 if ( yy_accept[yy_current_state] )
1866 (yy_last_accepting_state) = yy_current_state;
1867 (yy_last_accepting_cpos) = yy_cp;
1869 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1871 yy_current_state = (int) yy_def[yy_current_state];
1872 if ( yy_current_state >= 1562 )
1873 yy_c = yy_meta[(unsigned int) yy_c];
1875 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1876 ++yy_cp;
1878 while ( yy_base[yy_current_state] != 2558 );
1880 yy_find_action:
1881 yy_act = yy_accept[yy_current_state];
1882 if ( yy_act == 0 )
1883 { /* have to back up */
1884 yy_cp = (yy_last_accepting_cpos);
1885 yy_current_state = (yy_last_accepting_state);
1886 yy_act = yy_accept[yy_current_state];
1889 YY_DO_BEFORE_ACTION;
1891 do_action: /* This label is used only to access EOF actions. */
1893 switch ( yy_act )
1894 { /* beginning of action switch */
1895 case 0: /* must back up */
1896 /* undo the effects of YY_DO_BEFORE_ACTION */
1897 *yy_cp = (yy_hold_char);
1898 yy_cp = (yy_last_accepting_cpos);
1899 yy_current_state = (yy_last_accepting_state);
1900 goto yy_find_action;
1902 case 1:
1903 YY_RULE_SETUP
1904 #line 135 "ldlex.l"
1905 { comment (); }
1906 YY_BREAK
1907 case 2:
1908 YY_RULE_SETUP
1909 #line 138 "ldlex.l"
1910 { RTOKEN('-');}
1911 YY_BREAK
1912 case 3:
1913 YY_RULE_SETUP
1914 #line 139 "ldlex.l"
1915 { RTOKEN('+');}
1916 YY_BREAK
1917 case 4:
1918 YY_RULE_SETUP
1919 #line 140 "ldlex.l"
1920 { yylval.name = xstrdup (yytext); return NAME; }
1921 YY_BREAK
1922 case 5:
1923 YY_RULE_SETUP
1924 #line 141 "ldlex.l"
1925 { RTOKEN('='); }
1926 YY_BREAK
1927 case 6:
1928 YY_RULE_SETUP
1929 #line 143 "ldlex.l"
1931 yylval.integer = bfd_scan_vma (yytext + 1, 0, 16);
1932 yylval.bigint.str = NULL;
1933 return INT;
1935 YY_BREAK
1936 case 7:
1937 YY_RULE_SETUP
1938 #line 149 "ldlex.l"
1940 int ibase ;
1941 switch (yytext[yyleng - 1]) {
1942 case 'X':
1943 case 'x':
1944 case 'H':
1945 case 'h':
1946 ibase = 16;
1947 break;
1948 case 'O':
1949 case 'o':
1950 ibase = 8;
1951 break;
1952 case 'B':
1953 case 'b':
1954 ibase = 2;
1955 break;
1956 default:
1957 ibase = 10;
1959 yylval.integer = bfd_scan_vma (yytext, 0,
1960 ibase);
1961 yylval.bigint.str = NULL;
1962 return INT;
1964 YY_BREAK
1965 case 8:
1966 YY_RULE_SETUP
1967 #line 174 "ldlex.l"
1969 char *s = yytext;
1970 int ibase = 0;
1972 if (*s == '$')
1974 ++s;
1975 ibase = 16;
1977 yylval.integer = bfd_scan_vma (s, 0, ibase);
1978 yylval.bigint.str = NULL;
1979 if (yytext[yyleng - 1] == 'M'
1980 || yytext[yyleng - 1] == 'm')
1982 yylval.integer *= 1024 * 1024;
1984 else if (yytext[yyleng - 1] == 'K'
1985 || yytext[yyleng - 1]=='k')
1987 yylval.integer *= 1024;
1989 else if (yytext[0] == '0'
1990 && (yytext[1] == 'x'
1991 || yytext[1] == 'X'))
1993 yylval.bigint.str = xstrdup (yytext + 2);
1995 return INT;
1997 YY_BREAK
1998 case 9:
1999 YY_RULE_SETUP
2000 #line 203 "ldlex.l"
2001 { RTOKEN(']');}
2002 YY_BREAK
2003 case 10:
2004 YY_RULE_SETUP
2005 #line 204 "ldlex.l"
2006 { RTOKEN('[');}
2007 YY_BREAK
2008 case 11:
2009 YY_RULE_SETUP
2010 #line 205 "ldlex.l"
2011 { RTOKEN(LSHIFTEQ);}
2012 YY_BREAK
2013 case 12:
2014 YY_RULE_SETUP
2015 #line 206 "ldlex.l"
2016 { RTOKEN(RSHIFTEQ);}
2017 YY_BREAK
2018 case 13:
2019 YY_RULE_SETUP
2020 #line 207 "ldlex.l"
2021 { RTOKEN(OROR);}
2022 YY_BREAK
2023 case 14:
2024 YY_RULE_SETUP
2025 #line 208 "ldlex.l"
2026 { RTOKEN(EQ);}
2027 YY_BREAK
2028 case 15:
2029 YY_RULE_SETUP
2030 #line 209 "ldlex.l"
2031 { RTOKEN(NE);}
2032 YY_BREAK
2033 case 16:
2034 YY_RULE_SETUP
2035 #line 210 "ldlex.l"
2036 { RTOKEN(GE);}
2037 YY_BREAK
2038 case 17:
2039 YY_RULE_SETUP
2040 #line 211 "ldlex.l"
2041 { RTOKEN(LE);}
2042 YY_BREAK
2043 case 18:
2044 YY_RULE_SETUP
2045 #line 212 "ldlex.l"
2046 { RTOKEN(LSHIFT);}
2047 YY_BREAK
2048 case 19:
2049 YY_RULE_SETUP
2050 #line 213 "ldlex.l"
2051 { RTOKEN(RSHIFT);}
2052 YY_BREAK
2053 case 20:
2054 YY_RULE_SETUP
2055 #line 214 "ldlex.l"
2056 { RTOKEN(PLUSEQ);}
2057 YY_BREAK
2058 case 21:
2059 YY_RULE_SETUP
2060 #line 215 "ldlex.l"
2061 { RTOKEN(MINUSEQ);}
2062 YY_BREAK
2063 case 22:
2064 YY_RULE_SETUP
2065 #line 216 "ldlex.l"
2066 { RTOKEN(MULTEQ);}
2067 YY_BREAK
2068 case 23:
2069 YY_RULE_SETUP
2070 #line 217 "ldlex.l"
2071 { RTOKEN(DIVEQ);}
2072 YY_BREAK
2073 case 24:
2074 YY_RULE_SETUP
2075 #line 218 "ldlex.l"
2076 { RTOKEN(ANDEQ);}
2077 YY_BREAK
2078 case 25:
2079 YY_RULE_SETUP
2080 #line 219 "ldlex.l"
2081 { RTOKEN(OREQ);}
2082 YY_BREAK
2083 case 26:
2084 YY_RULE_SETUP
2085 #line 220 "ldlex.l"
2086 { RTOKEN(ANDAND);}
2087 YY_BREAK
2088 case 27:
2089 YY_RULE_SETUP
2090 #line 221 "ldlex.l"
2091 { RTOKEN('>');}
2092 YY_BREAK
2093 case 28:
2094 YY_RULE_SETUP
2095 #line 222 "ldlex.l"
2096 { RTOKEN(',');}
2097 YY_BREAK
2098 case 29:
2099 YY_RULE_SETUP
2100 #line 223 "ldlex.l"
2101 { RTOKEN('&');}
2102 YY_BREAK
2103 case 30:
2104 YY_RULE_SETUP
2105 #line 224 "ldlex.l"
2106 { RTOKEN('|');}
2107 YY_BREAK
2108 case 31:
2109 YY_RULE_SETUP
2110 #line 225 "ldlex.l"
2111 { RTOKEN('~');}
2112 YY_BREAK
2113 case 32:
2114 YY_RULE_SETUP
2115 #line 226 "ldlex.l"
2116 { RTOKEN('!');}
2117 YY_BREAK
2118 case 33:
2119 YY_RULE_SETUP
2120 #line 227 "ldlex.l"
2121 { RTOKEN('?');}
2122 YY_BREAK
2123 case 34:
2124 YY_RULE_SETUP
2125 #line 228 "ldlex.l"
2126 { RTOKEN('*');}
2127 YY_BREAK
2128 case 35:
2129 YY_RULE_SETUP
2130 #line 229 "ldlex.l"
2131 { RTOKEN('+');}
2132 YY_BREAK
2133 case 36:
2134 YY_RULE_SETUP
2135 #line 230 "ldlex.l"
2136 { RTOKEN('-');}
2137 YY_BREAK
2138 case 37:
2139 YY_RULE_SETUP
2140 #line 231 "ldlex.l"
2141 { RTOKEN('/');}
2142 YY_BREAK
2143 case 38:
2144 YY_RULE_SETUP
2145 #line 232 "ldlex.l"
2146 { RTOKEN('%');}
2147 YY_BREAK
2148 case 39:
2149 YY_RULE_SETUP
2150 #line 233 "ldlex.l"
2151 { RTOKEN('<');}
2152 YY_BREAK
2153 case 40:
2154 YY_RULE_SETUP
2155 #line 234 "ldlex.l"
2156 { RTOKEN('=');}
2157 YY_BREAK
2158 case 41:
2159 YY_RULE_SETUP
2160 #line 235 "ldlex.l"
2161 { RTOKEN('}') ; }
2162 YY_BREAK
2163 case 42:
2164 YY_RULE_SETUP
2165 #line 236 "ldlex.l"
2166 { RTOKEN('{'); }
2167 YY_BREAK
2168 case 43:
2169 YY_RULE_SETUP
2170 #line 237 "ldlex.l"
2171 { RTOKEN(')');}
2172 YY_BREAK
2173 case 44:
2174 YY_RULE_SETUP
2175 #line 238 "ldlex.l"
2176 { RTOKEN('(');}
2177 YY_BREAK
2178 case 45:
2179 YY_RULE_SETUP
2180 #line 239 "ldlex.l"
2181 { RTOKEN(':'); }
2182 YY_BREAK
2183 case 46:
2184 YY_RULE_SETUP
2185 #line 240 "ldlex.l"
2186 { RTOKEN(';');}
2187 YY_BREAK
2188 case 47:
2189 YY_RULE_SETUP
2190 #line 241 "ldlex.l"
2191 { RTOKEN(MEMORY);}
2192 YY_BREAK
2193 case 48:
2194 YY_RULE_SETUP
2195 #line 242 "ldlex.l"
2196 { RTOKEN(ORIGIN);}
2197 YY_BREAK
2198 case 49:
2199 YY_RULE_SETUP
2200 #line 243 "ldlex.l"
2201 { RTOKEN(VERSIONK);}
2202 YY_BREAK
2203 case 50:
2204 YY_RULE_SETUP
2205 #line 244 "ldlex.l"
2206 { RTOKEN(BLOCK);}
2207 YY_BREAK
2208 case 51:
2209 YY_RULE_SETUP
2210 #line 245 "ldlex.l"
2211 { RTOKEN(BIND);}
2212 YY_BREAK
2213 case 52:
2214 YY_RULE_SETUP
2215 #line 246 "ldlex.l"
2216 { RTOKEN(LENGTH);}
2217 YY_BREAK
2218 case 53:
2219 YY_RULE_SETUP
2220 #line 247 "ldlex.l"
2221 { RTOKEN(ALIGN_K);}
2222 YY_BREAK
2223 case 54:
2224 YY_RULE_SETUP
2225 #line 248 "ldlex.l"
2226 { RTOKEN(DATA_SEGMENT_ALIGN);}
2227 YY_BREAK
2228 case 55:
2229 YY_RULE_SETUP
2230 #line 249 "ldlex.l"
2231 { RTOKEN(DATA_SEGMENT_RELRO_END);}
2232 YY_BREAK
2233 case 56:
2234 YY_RULE_SETUP
2235 #line 250 "ldlex.l"
2236 { RTOKEN(DATA_SEGMENT_END);}
2237 YY_BREAK
2238 case 57:
2239 YY_RULE_SETUP
2240 #line 251 "ldlex.l"
2241 { RTOKEN(ADDR);}
2242 YY_BREAK
2243 case 58:
2244 YY_RULE_SETUP
2245 #line 252 "ldlex.l"
2246 { RTOKEN(LOADADDR);}
2247 YY_BREAK
2248 case 59:
2249 YY_RULE_SETUP
2250 #line 253 "ldlex.l"
2251 { RTOKEN(ALIGNOF); }
2252 YY_BREAK
2253 case 60:
2254 YY_RULE_SETUP
2255 #line 254 "ldlex.l"
2256 { RTOKEN(MAX_K); }
2257 YY_BREAK
2258 case 61:
2259 YY_RULE_SETUP
2260 #line 255 "ldlex.l"
2261 { RTOKEN(MIN_K); }
2262 YY_BREAK
2263 case 62:
2264 YY_RULE_SETUP
2265 #line 256 "ldlex.l"
2266 { RTOKEN(CEILP2); }
2267 YY_BREAK
2268 case 63:
2269 YY_RULE_SETUP
2270 #line 257 "ldlex.l"
2271 { RTOKEN(NACL_MASK);}
2272 YY_BREAK
2273 case 64:
2274 YY_RULE_SETUP
2275 #line 258 "ldlex.l"
2276 { RTOKEN(ASSERT_K); }
2277 YY_BREAK
2278 case 65:
2279 YY_RULE_SETUP
2280 #line 259 "ldlex.l"
2281 { RTOKEN(ENTRY);}
2282 YY_BREAK
2283 case 66:
2284 YY_RULE_SETUP
2285 #line 260 "ldlex.l"
2286 { RTOKEN(EXTERN);}
2287 YY_BREAK
2288 case 67:
2289 YY_RULE_SETUP
2290 #line 261 "ldlex.l"
2291 { RTOKEN(NEXT);}
2292 YY_BREAK
2293 case 68:
2294 YY_RULE_SETUP
2295 #line 262 "ldlex.l"
2296 { RTOKEN(SIZEOF_HEADERS);}
2297 YY_BREAK
2298 case 69:
2299 YY_RULE_SETUP
2300 #line 263 "ldlex.l"
2301 { RTOKEN(SIZEOF_HEADERS);}
2302 YY_BREAK
2303 case 70:
2304 YY_RULE_SETUP
2305 #line 264 "ldlex.l"
2306 { RTOKEN(SEGMENT_START);}
2307 YY_BREAK
2308 case 71:
2309 YY_RULE_SETUP
2310 #line 265 "ldlex.l"
2311 { RTOKEN(MAP);}
2312 YY_BREAK
2313 case 72:
2314 YY_RULE_SETUP
2315 #line 266 "ldlex.l"
2316 { RTOKEN(SIZEOF);}
2317 YY_BREAK
2318 case 73:
2319 YY_RULE_SETUP
2320 #line 267 "ldlex.l"
2321 { RTOKEN(TARGET_K);}
2322 YY_BREAK
2323 case 74:
2324 YY_RULE_SETUP
2325 #line 268 "ldlex.l"
2326 { RTOKEN(SEARCH_DIR);}
2327 YY_BREAK
2328 case 75:
2329 YY_RULE_SETUP
2330 #line 269 "ldlex.l"
2331 { RTOKEN(OUTPUT);}
2332 YY_BREAK
2333 case 76:
2334 YY_RULE_SETUP
2335 #line 270 "ldlex.l"
2336 { RTOKEN(INPUT);}
2337 YY_BREAK
2338 case 77:
2339 YY_RULE_SETUP
2340 #line 271 "ldlex.l"
2341 { RTOKEN(GROUP);}
2342 YY_BREAK
2343 case 78:
2344 YY_RULE_SETUP
2345 #line 272 "ldlex.l"
2346 { RTOKEN(AS_NEEDED);}
2347 YY_BREAK
2348 case 79:
2349 YY_RULE_SETUP
2350 #line 273 "ldlex.l"
2351 { RTOKEN(DEFINED);}
2352 YY_BREAK
2353 case 80:
2354 YY_RULE_SETUP
2355 #line 274 "ldlex.l"
2356 { RTOKEN(CREATE_OBJECT_SYMBOLS);}
2357 YY_BREAK
2358 case 81:
2359 YY_RULE_SETUP
2360 #line 275 "ldlex.l"
2361 { RTOKEN( CONSTRUCTORS);}
2362 YY_BREAK
2363 case 82:
2364 YY_RULE_SETUP
2365 #line 276 "ldlex.l"
2366 { RTOKEN(FORCE_COMMON_ALLOCATION);}
2367 YY_BREAK
2368 case 83:
2369 YY_RULE_SETUP
2370 #line 277 "ldlex.l"
2371 { RTOKEN(INHIBIT_COMMON_ALLOCATION);}
2372 YY_BREAK
2373 case 84:
2374 YY_RULE_SETUP
2375 #line 278 "ldlex.l"
2376 { RTOKEN(SECTIONS);}
2377 YY_BREAK
2378 case 85:
2379 YY_RULE_SETUP
2380 #line 279 "ldlex.l"
2381 { RTOKEN(FILL);}
2382 YY_BREAK
2383 case 86:
2384 YY_RULE_SETUP
2385 #line 280 "ldlex.l"
2386 { RTOKEN(STARTUP);}
2387 YY_BREAK
2388 case 87:
2389 YY_RULE_SETUP
2390 #line 281 "ldlex.l"
2391 { RTOKEN(OUTPUT_FORMAT);}
2392 YY_BREAK
2393 case 88:
2394 YY_RULE_SETUP
2395 #line 282 "ldlex.l"
2396 { RTOKEN( OUTPUT_ARCH);}
2397 YY_BREAK
2398 case 89:
2399 YY_RULE_SETUP
2400 #line 283 "ldlex.l"
2401 { RTOKEN(HLL);}
2402 YY_BREAK
2403 case 90:
2404 YY_RULE_SETUP
2405 #line 284 "ldlex.l"
2406 { RTOKEN(SYSLIB);}
2407 YY_BREAK
2408 case 91:
2409 YY_RULE_SETUP
2410 #line 285 "ldlex.l"
2411 { RTOKEN(FLOAT);}
2412 YY_BREAK
2413 case 92:
2414 YY_RULE_SETUP
2415 #line 286 "ldlex.l"
2416 { RTOKEN( QUAD);}
2417 YY_BREAK
2418 case 93:
2419 YY_RULE_SETUP
2420 #line 287 "ldlex.l"
2421 { RTOKEN( SQUAD);}
2422 YY_BREAK
2423 case 94:
2424 YY_RULE_SETUP
2425 #line 288 "ldlex.l"
2426 { RTOKEN( LONG);}
2427 YY_BREAK
2428 case 95:
2429 YY_RULE_SETUP
2430 #line 289 "ldlex.l"
2431 { RTOKEN( SHORT);}
2432 YY_BREAK
2433 case 96:
2434 YY_RULE_SETUP
2435 #line 290 "ldlex.l"
2436 { RTOKEN( BYTE);}
2437 YY_BREAK
2438 case 97:
2439 YY_RULE_SETUP
2440 #line 291 "ldlex.l"
2441 { RTOKEN(NOFLOAT);}
2442 YY_BREAK
2443 case 98:
2444 YY_RULE_SETUP
2445 #line 292 "ldlex.l"
2446 { RTOKEN(NOCROSSREFS);}
2447 YY_BREAK
2448 case 99:
2449 YY_RULE_SETUP
2450 #line 293 "ldlex.l"
2451 { RTOKEN(OVERLAY); }
2452 YY_BREAK
2453 case 100:
2454 YY_RULE_SETUP
2455 #line 294 "ldlex.l"
2456 { RTOKEN(SORT_BY_NAME); }
2457 YY_BREAK
2458 case 101:
2459 YY_RULE_SETUP
2460 #line 295 "ldlex.l"
2461 { RTOKEN(SORT_BY_ALIGNMENT); }
2462 YY_BREAK
2463 case 102:
2464 YY_RULE_SETUP
2465 #line 296 "ldlex.l"
2466 { RTOKEN(SORT_BY_NAME); }
2467 YY_BREAK
2468 case 103:
2469 YY_RULE_SETUP
2470 #line 297 "ldlex.l"
2471 { RTOKEN(NOLOAD);}
2472 YY_BREAK
2473 case 104:
2474 YY_RULE_SETUP
2475 #line 298 "ldlex.l"
2476 { RTOKEN(DSECT);}
2477 YY_BREAK
2478 case 105:
2479 YY_RULE_SETUP
2480 #line 299 "ldlex.l"
2481 { RTOKEN(COPY);}
2482 YY_BREAK
2483 case 106:
2484 YY_RULE_SETUP
2485 #line 300 "ldlex.l"
2486 { RTOKEN(INFO);}
2487 YY_BREAK
2488 case 107:
2489 YY_RULE_SETUP
2490 #line 301 "ldlex.l"
2491 { RTOKEN(OVERLAY);}
2492 YY_BREAK
2493 case 108:
2494 YY_RULE_SETUP
2495 #line 302 "ldlex.l"
2496 { RTOKEN(ONLY_IF_RO); }
2497 YY_BREAK
2498 case 109:
2499 YY_RULE_SETUP
2500 #line 303 "ldlex.l"
2501 { RTOKEN(ONLY_IF_RW); }
2502 YY_BREAK
2503 case 110:
2504 YY_RULE_SETUP
2505 #line 304 "ldlex.l"
2506 { RTOKEN(SPECIAL); }
2507 YY_BREAK
2508 case 111:
2509 YY_RULE_SETUP
2510 #line 305 "ldlex.l"
2511 { RTOKEN(ORIGIN);}
2512 YY_BREAK
2513 case 112:
2514 YY_RULE_SETUP
2515 #line 306 "ldlex.l"
2516 { RTOKEN(ORIGIN);}
2517 YY_BREAK
2518 case 113:
2519 YY_RULE_SETUP
2520 #line 307 "ldlex.l"
2521 { RTOKEN( LENGTH);}
2522 YY_BREAK
2523 case 114:
2524 YY_RULE_SETUP
2525 #line 308 "ldlex.l"
2526 { RTOKEN( LENGTH);}
2527 YY_BREAK
2528 case 115:
2529 YY_RULE_SETUP
2530 #line 309 "ldlex.l"
2531 { RTOKEN(INCLUDE);}
2532 YY_BREAK
2533 case 116:
2534 YY_RULE_SETUP
2535 #line 310 "ldlex.l"
2536 { RTOKEN (PHDRS); }
2537 YY_BREAK
2538 case 117:
2539 YY_RULE_SETUP
2540 #line 311 "ldlex.l"
2541 { RTOKEN(AT);}
2542 YY_BREAK
2543 case 118:
2544 YY_RULE_SETUP
2545 #line 312 "ldlex.l"
2546 { RTOKEN(SUBALIGN);}
2547 YY_BREAK
2548 case 119:
2549 YY_RULE_SETUP
2550 #line 313 "ldlex.l"
2551 { RTOKEN(PROVIDE); }
2552 YY_BREAK
2553 case 120:
2554 YY_RULE_SETUP
2555 #line 314 "ldlex.l"
2556 { RTOKEN(PROVIDE_HIDDEN); }
2557 YY_BREAK
2558 case 121:
2559 YY_RULE_SETUP
2560 #line 315 "ldlex.l"
2561 { RTOKEN(KEEP); }
2562 YY_BREAK
2563 case 122:
2564 YY_RULE_SETUP
2565 #line 316 "ldlex.l"
2566 { RTOKEN(EXCLUDE_FILE); }
2567 YY_BREAK
2568 case 123:
2569 YY_RULE_SETUP
2570 #line 317 "ldlex.l"
2571 { RTOKEN(CONSTANT);}
2572 YY_BREAK
2573 case 124:
2574 /* rule 124 can match eol */
2575 YY_RULE_SETUP
2576 #line 318 "ldlex.l"
2577 { ++ lineno; }
2578 YY_BREAK
2579 case 125:
2580 /* rule 125 can match eol */
2581 YY_RULE_SETUP
2582 #line 319 "ldlex.l"
2583 { ++ lineno; RTOKEN(NEWLINE); }
2584 YY_BREAK
2585 case 126:
2586 YY_RULE_SETUP
2587 #line 320 "ldlex.l"
2588 { /* Mri comment line */ }
2589 YY_BREAK
2590 case 127:
2591 YY_RULE_SETUP
2592 #line 321 "ldlex.l"
2593 { /* Mri comment line */ }
2594 YY_BREAK
2595 case 128:
2596 YY_RULE_SETUP
2597 #line 322 "ldlex.l"
2598 { RTOKEN(ENDWORD); }
2599 YY_BREAK
2600 case 129:
2601 YY_RULE_SETUP
2602 #line 323 "ldlex.l"
2603 { RTOKEN(ALIGNMOD);}
2604 YY_BREAK
2605 case 130:
2606 YY_RULE_SETUP
2607 #line 324 "ldlex.l"
2608 { RTOKEN(ALIGN_K);}
2609 YY_BREAK
2610 case 131:
2611 YY_RULE_SETUP
2612 #line 325 "ldlex.l"
2613 { RTOKEN(CHIP); }
2614 YY_BREAK
2615 case 132:
2616 YY_RULE_SETUP
2617 #line 326 "ldlex.l"
2618 { RTOKEN(BASE); }
2619 YY_BREAK
2620 case 133:
2621 YY_RULE_SETUP
2622 #line 327 "ldlex.l"
2623 { RTOKEN(ALIAS); }
2624 YY_BREAK
2625 case 134:
2626 YY_RULE_SETUP
2627 #line 328 "ldlex.l"
2628 { RTOKEN(TRUNCATE); }
2629 YY_BREAK
2630 case 135:
2631 YY_RULE_SETUP
2632 #line 329 "ldlex.l"
2633 { RTOKEN(LOAD); }
2634 YY_BREAK
2635 case 136:
2636 YY_RULE_SETUP
2637 #line 330 "ldlex.l"
2638 { RTOKEN(PUBLIC); }
2639 YY_BREAK
2640 case 137:
2641 YY_RULE_SETUP
2642 #line 331 "ldlex.l"
2643 { RTOKEN(ORDER); }
2644 YY_BREAK
2645 case 138:
2646 YY_RULE_SETUP
2647 #line 332 "ldlex.l"
2648 { RTOKEN(NAMEWORD); }
2649 YY_BREAK
2650 case 139:
2651 YY_RULE_SETUP
2652 #line 333 "ldlex.l"
2653 { RTOKEN(FORMAT); }
2654 YY_BREAK
2655 case 140:
2656 YY_RULE_SETUP
2657 #line 334 "ldlex.l"
2658 { RTOKEN(CASE); }
2659 YY_BREAK
2660 case 141:
2661 YY_RULE_SETUP
2662 #line 335 "ldlex.l"
2663 { RTOKEN(START); }
2664 YY_BREAK
2665 case 142:
2666 YY_RULE_SETUP
2667 #line 336 "ldlex.l"
2668 { RTOKEN(LIST); /* LIST and ignore to end of line */ }
2669 YY_BREAK
2670 case 143:
2671 YY_RULE_SETUP
2672 #line 337 "ldlex.l"
2673 { RTOKEN(SECT); }
2674 YY_BREAK
2675 case 144:
2676 YY_RULE_SETUP
2677 #line 338 "ldlex.l"
2678 { RTOKEN(ABSOLUTE); }
2679 YY_BREAK
2680 case 145:
2681 YY_RULE_SETUP
2682 #line 339 "ldlex.l"
2683 { RTOKEN(ENDWORD); }
2684 YY_BREAK
2685 case 146:
2686 YY_RULE_SETUP
2687 #line 340 "ldlex.l"
2688 { RTOKEN(ALIGNMOD);}
2689 YY_BREAK
2690 case 147:
2691 YY_RULE_SETUP
2692 #line 341 "ldlex.l"
2693 { RTOKEN(ALIGN_K);}
2694 YY_BREAK
2695 case 148:
2696 YY_RULE_SETUP
2697 #line 342 "ldlex.l"
2698 { RTOKEN(CHIP); }
2699 YY_BREAK
2700 case 149:
2701 YY_RULE_SETUP
2702 #line 343 "ldlex.l"
2703 { RTOKEN(BASE); }
2704 YY_BREAK
2705 case 150:
2706 YY_RULE_SETUP
2707 #line 344 "ldlex.l"
2708 { RTOKEN(ALIAS); }
2709 YY_BREAK
2710 case 151:
2711 YY_RULE_SETUP
2712 #line 345 "ldlex.l"
2713 { RTOKEN(TRUNCATE); }
2714 YY_BREAK
2715 case 152:
2716 YY_RULE_SETUP
2717 #line 346 "ldlex.l"
2718 { RTOKEN(LOAD); }
2719 YY_BREAK
2720 case 153:
2721 YY_RULE_SETUP
2722 #line 347 "ldlex.l"
2723 { RTOKEN(PUBLIC); }
2724 YY_BREAK
2725 case 154:
2726 YY_RULE_SETUP
2727 #line 348 "ldlex.l"
2728 { RTOKEN(ORDER); }
2729 YY_BREAK
2730 case 155:
2731 YY_RULE_SETUP
2732 #line 349 "ldlex.l"
2733 { RTOKEN(NAMEWORD); }
2734 YY_BREAK
2735 case 156:
2736 YY_RULE_SETUP
2737 #line 350 "ldlex.l"
2738 { RTOKEN(FORMAT); }
2739 YY_BREAK
2740 case 157:
2741 YY_RULE_SETUP
2742 #line 351 "ldlex.l"
2743 { RTOKEN(CASE); }
2744 YY_BREAK
2745 case 158:
2746 YY_RULE_SETUP
2747 #line 352 "ldlex.l"
2748 { RTOKEN(EXTERN); }
2749 YY_BREAK
2750 case 159:
2751 YY_RULE_SETUP
2752 #line 353 "ldlex.l"
2753 { RTOKEN(START); }
2754 YY_BREAK
2755 case 160:
2756 YY_RULE_SETUP
2757 #line 354 "ldlex.l"
2758 { RTOKEN(LIST); /* LIST and ignore to end of line */ }
2759 YY_BREAK
2760 case 161:
2761 YY_RULE_SETUP
2762 #line 355 "ldlex.l"
2763 { RTOKEN(SECT); }
2764 YY_BREAK
2765 case 162:
2766 YY_RULE_SETUP
2767 #line 356 "ldlex.l"
2768 { RTOKEN(ABSOLUTE); }
2769 YY_BREAK
2770 case 163:
2771 YY_RULE_SETUP
2772 #line 358 "ldlex.l"
2774 /* Filename without commas, needed to parse mri stuff */
2775 yylval.name = xstrdup (yytext);
2776 return NAME;
2778 YY_BREAK
2779 case 164:
2780 YY_RULE_SETUP
2781 #line 365 "ldlex.l"
2783 yylval.name = xstrdup (yytext);
2784 return NAME;
2786 YY_BREAK
2787 case 165:
2788 YY_RULE_SETUP
2789 #line 369 "ldlex.l"
2791 yylval.name = xstrdup (yytext + 2);
2792 return LNAME;
2794 YY_BREAK
2795 case 166:
2796 YY_RULE_SETUP
2797 #line 373 "ldlex.l"
2799 yylval.name = xstrdup (yytext);
2800 return NAME;
2802 YY_BREAK
2803 case 167:
2804 YY_RULE_SETUP
2805 #line 377 "ldlex.l"
2807 yylval.name = xstrdup (yytext + 2);
2808 return LNAME;
2810 YY_BREAK
2811 case 168:
2812 YY_RULE_SETUP
2813 #line 381 "ldlex.l"
2815 /* Annoyingly, this pattern can match comments, and we have
2816 longest match issues to consider. So if the first two
2817 characters are a comment opening, put the input back and
2818 try again. */
2819 if (yytext[0] == '/' && yytext[1] == '*')
2821 yyless (2);
2822 comment ();
2824 else
2826 yylval.name = xstrdup (yytext);
2827 return NAME;
2830 YY_BREAK
2831 case 169:
2832 /* rule 169 can match eol */
2833 YY_RULE_SETUP
2834 #line 398 "ldlex.l"
2836 /* No matter the state, quotes
2837 give what's inside */
2838 yylval.name = xstrdup (yytext + 1);
2839 yylval.name[yyleng - 2] = 0;
2840 return NAME;
2842 YY_BREAK
2843 case 170:
2844 /* rule 170 can match eol */
2845 YY_RULE_SETUP
2846 #line 405 "ldlex.l"
2847 { lineno++;}
2848 YY_BREAK
2849 case 171:
2850 YY_RULE_SETUP
2851 #line 406 "ldlex.l"
2853 YY_BREAK
2854 case 172:
2855 YY_RULE_SETUP
2856 #line 408 "ldlex.l"
2857 { return *yytext; }
2858 YY_BREAK
2859 case 173:
2860 YY_RULE_SETUP
2861 #line 410 "ldlex.l"
2862 { RTOKEN(GLOBAL); }
2863 YY_BREAK
2864 case 174:
2865 YY_RULE_SETUP
2866 #line 412 "ldlex.l"
2867 { RTOKEN(LOCAL); }
2868 YY_BREAK
2869 case 175:
2870 YY_RULE_SETUP
2871 #line 414 "ldlex.l"
2872 { RTOKEN(EXTERN); }
2873 YY_BREAK
2874 case 176:
2875 YY_RULE_SETUP
2876 #line 416 "ldlex.l"
2877 { yylval.name = xstrdup (yytext);
2878 return VERS_IDENTIFIER; }
2879 YY_BREAK
2880 case 177:
2881 YY_RULE_SETUP
2882 #line 419 "ldlex.l"
2883 { yylval.name = xstrdup (yytext);
2884 return VERS_TAG; }
2885 YY_BREAK
2886 case 178:
2887 YY_RULE_SETUP
2888 #line 422 "ldlex.l"
2889 { BEGIN(VERS_SCRIPT); return *yytext; }
2890 YY_BREAK
2891 case 179:
2892 YY_RULE_SETUP
2893 #line 424 "ldlex.l"
2894 { BEGIN(VERS_NODE);
2895 vers_node_nesting = 0;
2896 return *yytext;
2898 YY_BREAK
2899 case 180:
2900 YY_RULE_SETUP
2901 #line 428 "ldlex.l"
2902 { return *yytext; }
2903 YY_BREAK
2904 case 181:
2905 YY_RULE_SETUP
2906 #line 429 "ldlex.l"
2907 { vers_node_nesting++; return *yytext; }
2908 YY_BREAK
2909 case 182:
2910 YY_RULE_SETUP
2911 #line 430 "ldlex.l"
2912 { if (--vers_node_nesting < 0)
2913 BEGIN(VERS_SCRIPT);
2914 return *yytext;
2916 YY_BREAK
2917 case 183:
2918 /* rule 183 can match eol */
2919 YY_RULE_SETUP
2920 #line 435 "ldlex.l"
2921 { lineno++; }
2922 YY_BREAK
2923 case 184:
2924 YY_RULE_SETUP
2925 #line 437 "ldlex.l"
2926 { /* Eat up comments */ }
2927 YY_BREAK
2928 case 185:
2929 YY_RULE_SETUP
2930 #line 439 "ldlex.l"
2931 { /* Eat up whitespace */ }
2932 YY_BREAK
2933 case YY_STATE_EOF(INITIAL):
2934 case YY_STATE_EOF(SCRIPT):
2935 case YY_STATE_EOF(EXPRESSION):
2936 case YY_STATE_EOF(BOTH):
2937 case YY_STATE_EOF(DEFSYMEXP):
2938 case YY_STATE_EOF(MRI):
2939 case YY_STATE_EOF(VERS_START):
2940 case YY_STATE_EOF(VERS_SCRIPT):
2941 case YY_STATE_EOF(VERS_NODE):
2942 #line 441 "ldlex.l"
2944 include_stack_ptr--;
2946 if (include_stack_ptr == 0)
2948 yyterminate ();
2950 else
2952 yy_switch_to_buffer (include_stack[include_stack_ptr]);
2955 ldfile_input_filename = file_name_stack[include_stack_ptr - 1];
2956 lineno = lineno_stack[include_stack_ptr];
2958 return END;
2960 YY_BREAK
2961 case 186:
2962 YY_RULE_SETUP
2963 #line 459 "ldlex.l"
2964 lex_warn_invalid (" in script", yytext);
2965 YY_BREAK
2966 case 187:
2967 YY_RULE_SETUP
2968 #line 460 "ldlex.l"
2969 lex_warn_invalid (" in expression", yytext);
2970 YY_BREAK
2971 case 188:
2972 YY_RULE_SETUP
2973 #line 462 "ldlex.l"
2974 ECHO;
2975 YY_BREAK
2976 #line 2977 "ldlex.c"
2978 case YY_END_OF_BUFFER:
2980 /* Amount of text matched not including the EOB char. */
2981 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
2983 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2984 *yy_cp = (yy_hold_char);
2985 YY_RESTORE_YY_MORE_OFFSET
2987 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
2989 /* We're scanning a new file or input source. It's
2990 * possible that this happened because the user
2991 * just pointed yyin at a new source and called
2992 * yylex(). If so, then we have to assure
2993 * consistency between YY_CURRENT_BUFFER and our
2994 * globals. Here is the right place to do so, because
2995 * this is the first action (other than possibly a
2996 * back-up) that will match for the new input source.
2998 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2999 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
3000 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
3003 /* Note that here we test for yy_c_buf_p "<=" to the position
3004 * of the first EOB in the buffer, since yy_c_buf_p will
3005 * already have been incremented past the NUL character
3006 * (since all states make transitions on EOB to the
3007 * end-of-buffer state). Contrast this with the test
3008 * in input().
3010 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
3011 { /* This was really a NUL. */
3012 yy_state_type yy_next_state;
3014 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
3016 yy_current_state = yy_get_previous_state( );
3018 /* Okay, we're now positioned to make the NUL
3019 * transition. We couldn't have
3020 * yy_get_previous_state() go ahead and do it
3021 * for us because it doesn't know how to deal
3022 * with the possibility of jamming (and we don't
3023 * want to build jamming into it because then it
3024 * will run more slowly).
3027 yy_next_state = yy_try_NUL_trans( yy_current_state );
3029 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3031 if ( yy_next_state )
3033 /* Consume the NUL. */
3034 yy_cp = ++(yy_c_buf_p);
3035 yy_current_state = yy_next_state;
3036 goto yy_match;
3039 else
3041 yy_cp = (yy_c_buf_p);
3042 goto yy_find_action;
3046 else switch ( yy_get_next_buffer( ) )
3048 case EOB_ACT_END_OF_FILE:
3050 (yy_did_buffer_switch_on_eof) = 0;
3052 if ( yywrap( ) )
3054 /* Note: because we've taken care in
3055 * yy_get_next_buffer() to have set up
3056 * yytext, we can now set up
3057 * yy_c_buf_p so that if some total
3058 * hoser (like flex itself) wants to
3059 * call the scanner after we return the
3060 * YY_NULL, it'll still work - another
3061 * YY_NULL will get returned.
3063 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
3065 yy_act = YY_STATE_EOF(YY_START);
3066 goto do_action;
3069 else
3071 if ( ! (yy_did_buffer_switch_on_eof) )
3072 YY_NEW_FILE;
3074 break;
3077 case EOB_ACT_CONTINUE_SCAN:
3078 (yy_c_buf_p) =
3079 (yytext_ptr) + yy_amount_of_matched_text;
3081 yy_current_state = yy_get_previous_state( );
3083 yy_cp = (yy_c_buf_p);
3084 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3085 goto yy_match;
3087 case EOB_ACT_LAST_MATCH:
3088 (yy_c_buf_p) =
3089 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
3091 yy_current_state = yy_get_previous_state( );
3093 yy_cp = (yy_c_buf_p);
3094 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3095 goto yy_find_action;
3097 break;
3100 default:
3101 YY_FATAL_ERROR(
3102 "fatal flex scanner internal error--no action found" );
3103 } /* end of action switch */
3104 } /* end of scanning one token */
3105 } /* end of yylex */
3107 /* yy_get_next_buffer - try to read in a new buffer
3109 * Returns a code representing an action:
3110 * EOB_ACT_LAST_MATCH -
3111 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
3112 * EOB_ACT_END_OF_FILE - end of file
3114 static int yy_get_next_buffer (void)
3116 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
3117 register char *source = (yytext_ptr);
3118 register int number_to_move, i;
3119 int ret_val;
3121 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
3122 YY_FATAL_ERROR(
3123 "fatal flex scanner internal error--end of buffer missed" );
3125 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
3126 { /* Don't try to fill the buffer, so this is an EOF. */
3127 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
3129 /* We matched a single character, the EOB, so
3130 * treat this as a final EOF.
3132 return EOB_ACT_END_OF_FILE;
3135 else
3137 /* We matched some text prior to the EOB, first
3138 * process it.
3140 return EOB_ACT_LAST_MATCH;
3144 /* Try to read more data. */
3146 /* First move last chars to start of buffer. */
3147 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
3149 for ( i = 0; i < number_to_move; ++i )
3150 *(dest++) = *(source++);
3152 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
3153 /* don't do the read, it's not guaranteed to return an EOF,
3154 * just force an EOF
3156 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
3158 else
3160 int num_to_read =
3161 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
3163 while ( num_to_read <= 0 )
3164 { /* Not enough room in the buffer - grow it. */
3166 /* just a shorter name for the current buffer */
3167 YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
3169 int yy_c_buf_p_offset =
3170 (int) ((yy_c_buf_p) - b->yy_ch_buf);
3172 if ( b->yy_is_our_buffer )
3174 int new_size = b->yy_buf_size * 2;
3176 if ( new_size <= 0 )
3177 b->yy_buf_size += b->yy_buf_size / 8;
3178 else
3179 b->yy_buf_size *= 2;
3181 b->yy_ch_buf = (char *)
3182 /* Include room in for 2 EOB chars. */
3183 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
3185 else
3186 /* Can't grow it, we don't own it. */
3187 b->yy_ch_buf = 0;
3189 if ( ! b->yy_ch_buf )
3190 YY_FATAL_ERROR(
3191 "fatal error - scanner input buffer overflow" );
3193 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
3195 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
3196 number_to_move - 1;
3200 if ( num_to_read > YY_READ_BUF_SIZE )
3201 num_to_read = YY_READ_BUF_SIZE;
3203 /* Read in more data. */
3204 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
3205 (yy_n_chars), num_to_read );
3207 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3210 if ( (yy_n_chars) == 0 )
3212 if ( number_to_move == YY_MORE_ADJ )
3214 ret_val = EOB_ACT_END_OF_FILE;
3215 yyrestart(yyin );
3218 else
3220 ret_val = EOB_ACT_LAST_MATCH;
3221 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
3222 YY_BUFFER_EOF_PENDING;
3226 else
3227 ret_val = EOB_ACT_CONTINUE_SCAN;
3229 (yy_n_chars) += number_to_move;
3230 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
3231 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
3233 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
3235 return ret_val;
3238 /* yy_get_previous_state - get the state just before the EOB char was reached */
3240 static yy_state_type yy_get_previous_state (void)
3242 register yy_state_type yy_current_state;
3243 register char *yy_cp;
3245 yy_current_state = (yy_start);
3247 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
3249 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
3250 if ( yy_accept[yy_current_state] )
3252 (yy_last_accepting_state) = yy_current_state;
3253 (yy_last_accepting_cpos) = yy_cp;
3255 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3257 yy_current_state = (int) yy_def[yy_current_state];
3258 if ( yy_current_state >= 1562 )
3259 yy_c = yy_meta[(unsigned int) yy_c];
3261 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
3264 return yy_current_state;
3267 /* yy_try_NUL_trans - try to make a transition on the NUL character
3269 * synopsis
3270 * next_state = yy_try_NUL_trans( current_state );
3272 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
3274 register int yy_is_jam;
3275 register char *yy_cp = (yy_c_buf_p);
3277 register YY_CHAR yy_c = 1;
3278 if ( yy_accept[yy_current_state] )
3280 (yy_last_accepting_state) = yy_current_state;
3281 (yy_last_accepting_cpos) = yy_cp;
3283 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3285 yy_current_state = (int) yy_def[yy_current_state];
3286 if ( yy_current_state >= 1562 )
3287 yy_c = yy_meta[(unsigned int) yy_c];
3289 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
3290 yy_is_jam = (yy_current_state == 1561);
3292 return yy_is_jam ? 0 : yy_current_state;
3295 static void yyunput (int c, register char * yy_bp )
3297 register char *yy_cp;
3299 yy_cp = (yy_c_buf_p);
3301 /* undo effects of setting up yytext */
3302 *yy_cp = (yy_hold_char);
3304 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3305 { /* need to shift things up to make room */
3306 /* +2 for EOB chars. */
3307 register int number_to_move = (yy_n_chars) + 2;
3308 register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
3309 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
3310 register char *source =
3311 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
3313 while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
3314 *--dest = *--source;
3316 yy_cp += (int) (dest - source);
3317 yy_bp += (int) (dest - source);
3318 YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
3319 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
3321 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3322 YY_FATAL_ERROR( "flex scanner push-back overflow" );
3325 *--yy_cp = (char) c;
3327 (yytext_ptr) = yy_bp;
3328 (yy_hold_char) = *yy_cp;
3329 (yy_c_buf_p) = yy_cp;
3332 #ifndef YY_NO_INPUT
3333 #ifdef __cplusplus
3334 static int yyinput (void)
3335 #else
3336 static int input (void)
3337 #endif
3340 int c;
3342 *(yy_c_buf_p) = (yy_hold_char);
3344 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
3346 /* yy_c_buf_p now points to the character we want to return.
3347 * If this occurs *before* the EOB characters, then it's a
3348 * valid NUL; if not, then we've hit the end of the buffer.
3350 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
3351 /* This was really a NUL. */
3352 *(yy_c_buf_p) = '\0';
3354 else
3355 { /* need more input */
3356 int offset = (yy_c_buf_p) - (yytext_ptr);
3357 ++(yy_c_buf_p);
3359 switch ( yy_get_next_buffer( ) )
3361 case EOB_ACT_LAST_MATCH:
3362 /* This happens because yy_g_n_b()
3363 * sees that we've accumulated a
3364 * token and flags that we need to
3365 * try matching the token before
3366 * proceeding. But for input(),
3367 * there's no matching to consider.
3368 * So convert the EOB_ACT_LAST_MATCH
3369 * to EOB_ACT_END_OF_FILE.
3372 /* Reset buffer status. */
3373 yyrestart(yyin );
3375 /*FALLTHROUGH*/
3377 case EOB_ACT_END_OF_FILE:
3379 if ( yywrap( ) )
3380 return EOF;
3382 if ( ! (yy_did_buffer_switch_on_eof) )
3383 YY_NEW_FILE;
3384 #ifdef __cplusplus
3385 return yyinput();
3386 #else
3387 return input();
3388 #endif
3391 case EOB_ACT_CONTINUE_SCAN:
3392 (yy_c_buf_p) = (yytext_ptr) + offset;
3393 break;
3398 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
3399 *(yy_c_buf_p) = '\0'; /* preserve yytext */
3400 (yy_hold_char) = *++(yy_c_buf_p);
3402 return c;
3404 #endif /* ifndef YY_NO_INPUT */
3406 /** Immediately switch to a different input stream.
3407 * @param input_file A readable stream.
3409 * @note This function does not reset the start condition to @c INITIAL .
3411 void yyrestart (FILE * input_file )
3414 if ( ! YY_CURRENT_BUFFER ){
3415 yyensure_buffer_stack ();
3416 YY_CURRENT_BUFFER_LVALUE =
3417 yy_create_buffer(yyin,YY_BUF_SIZE );
3420 yy_init_buffer(YY_CURRENT_BUFFER,input_file );
3421 yy_load_buffer_state( );
3424 /** Switch to a different input buffer.
3425 * @param new_buffer The new input buffer.
3428 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
3431 /* TODO. We should be able to replace this entire function body
3432 * with
3433 * yypop_buffer_state();
3434 * yypush_buffer_state(new_buffer);
3436 yyensure_buffer_stack ();
3437 if ( YY_CURRENT_BUFFER == new_buffer )
3438 return;
3440 if ( YY_CURRENT_BUFFER )
3442 /* Flush out information for old buffer. */
3443 *(yy_c_buf_p) = (yy_hold_char);
3444 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3445 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3448 YY_CURRENT_BUFFER_LVALUE = new_buffer;
3449 yy_load_buffer_state( );
3451 /* We don't actually know whether we did this switch during
3452 * EOF (yywrap()) processing, but the only time this flag
3453 * is looked at is after yywrap() is called, so it's safe
3454 * to go ahead and always set it.
3456 (yy_did_buffer_switch_on_eof) = 1;
3459 static void yy_load_buffer_state (void)
3461 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3462 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
3463 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
3464 (yy_hold_char) = *(yy_c_buf_p);
3467 /** Allocate and initialize an input buffer state.
3468 * @param file A readable stream.
3469 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
3471 * @return the allocated buffer state.
3473 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
3475 YY_BUFFER_STATE b;
3477 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
3478 if ( ! b )
3479 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3481 b->yy_buf_size = size;
3483 /* yy_ch_buf has to be 2 characters longer than the size given because
3484 * we need to put in 2 end-of-buffer characters.
3486 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
3487 if ( ! b->yy_ch_buf )
3488 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3490 b->yy_is_our_buffer = 1;
3492 yy_init_buffer(b,file );
3494 return b;
3497 /** Destroy the buffer.
3498 * @param b a buffer created with yy_create_buffer()
3501 void yy_delete_buffer (YY_BUFFER_STATE b )
3504 if ( ! b )
3505 return;
3507 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
3508 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
3510 if ( b->yy_is_our_buffer )
3511 yyfree((void *) b->yy_ch_buf );
3513 yyfree((void *) b );
3516 #ifndef __cplusplus
3517 extern int isatty (int );
3518 #endif /* __cplusplus */
3520 /* Initializes or reinitializes a buffer.
3521 * This function is sometimes called more than once on the same buffer,
3522 * such as during a yyrestart() or at EOF.
3524 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
3527 int oerrno = errno;
3529 yy_flush_buffer(b );
3531 b->yy_input_file = file;
3532 b->yy_fill_buffer = 1;
3534 /* If b is the current buffer, then yy_init_buffer was _probably_
3535 * called from yyrestart() or through yy_get_next_buffer.
3536 * In that case, we don't want to reset the lineno or column.
3538 if (b != YY_CURRENT_BUFFER){
3539 b->yy_bs_lineno = 1;
3540 b->yy_bs_column = 0;
3543 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
3545 errno = oerrno;
3548 /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
3549 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
3552 void yy_flush_buffer (YY_BUFFER_STATE b )
3554 if ( ! b )
3555 return;
3557 b->yy_n_chars = 0;
3559 /* We always need two end-of-buffer characters. The first causes
3560 * a transition to the end-of-buffer state. The second causes
3561 * a jam in that state.
3563 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
3564 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
3566 b->yy_buf_pos = &b->yy_ch_buf[0];
3568 b->yy_at_bol = 1;
3569 b->yy_buffer_status = YY_BUFFER_NEW;
3571 if ( b == YY_CURRENT_BUFFER )
3572 yy_load_buffer_state( );
3575 /** Pushes the new state onto the stack. The new state becomes
3576 * the current state. This function will allocate the stack
3577 * if necessary.
3578 * @param new_buffer The new state.
3581 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
3583 if (new_buffer == NULL)
3584 return;
3586 yyensure_buffer_stack();
3588 /* This block is copied from yy_switch_to_buffer. */
3589 if ( YY_CURRENT_BUFFER )
3591 /* Flush out information for old buffer. */
3592 *(yy_c_buf_p) = (yy_hold_char);
3593 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3594 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3597 /* Only push if top exists. Otherwise, replace top. */
3598 if (YY_CURRENT_BUFFER)
3599 (yy_buffer_stack_top)++;
3600 YY_CURRENT_BUFFER_LVALUE = new_buffer;
3602 /* copied from yy_switch_to_buffer. */
3603 yy_load_buffer_state( );
3604 (yy_did_buffer_switch_on_eof) = 1;
3607 /** Removes and deletes the top of the stack, if present.
3608 * The next element becomes the new top.
3611 void yypop_buffer_state (void)
3613 if (!YY_CURRENT_BUFFER)
3614 return;
3616 yy_delete_buffer(YY_CURRENT_BUFFER );
3617 YY_CURRENT_BUFFER_LVALUE = NULL;
3618 if ((yy_buffer_stack_top) > 0)
3619 --(yy_buffer_stack_top);
3621 if (YY_CURRENT_BUFFER) {
3622 yy_load_buffer_state( );
3623 (yy_did_buffer_switch_on_eof) = 1;
3627 /* Allocates the stack if it does not exist.
3628 * Guarantees space for at least one push.
3630 static void yyensure_buffer_stack (void)
3632 int num_to_alloc;
3634 if (!(yy_buffer_stack)) {
3636 /* First allocation is just for 2 elements, since we don't know if this
3637 * scanner will even need a stack. We use 2 instead of 1 to avoid an
3638 * immediate realloc on the next call.
3640 num_to_alloc = 1;
3641 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
3642 (num_to_alloc * sizeof(struct yy_buffer_state*)
3645 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
3647 (yy_buffer_stack_max) = num_to_alloc;
3648 (yy_buffer_stack_top) = 0;
3649 return;
3652 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
3654 /* Increase the buffer to prepare for a possible push. */
3655 int grow_size = 8 /* arbitrary grow size */;
3657 num_to_alloc = (yy_buffer_stack_max) + grow_size;
3658 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
3659 ((yy_buffer_stack),
3660 num_to_alloc * sizeof(struct yy_buffer_state*)
3663 /* zero only the new slots.*/
3664 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
3665 (yy_buffer_stack_max) = num_to_alloc;
3669 /** Setup the input buffer state to scan directly from a user-specified character buffer.
3670 * @param base the character buffer
3671 * @param size the size in bytes of the character buffer
3673 * @return the newly allocated buffer state object.
3675 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
3677 YY_BUFFER_STATE b;
3679 if ( size < 2 ||
3680 base[size-2] != YY_END_OF_BUFFER_CHAR ||
3681 base[size-1] != YY_END_OF_BUFFER_CHAR )
3682 /* They forgot to leave room for the EOB's. */
3683 return 0;
3685 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
3686 if ( ! b )
3687 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
3689 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
3690 b->yy_buf_pos = b->yy_ch_buf = base;
3691 b->yy_is_our_buffer = 0;
3692 b->yy_input_file = 0;
3693 b->yy_n_chars = b->yy_buf_size;
3694 b->yy_is_interactive = 0;
3695 b->yy_at_bol = 1;
3696 b->yy_fill_buffer = 0;
3697 b->yy_buffer_status = YY_BUFFER_NEW;
3699 yy_switch_to_buffer(b );
3701 return b;
3704 /** Setup the input buffer state to scan a string. The next call to yylex() will
3705 * scan from a @e copy of @a str.
3706 * @param str a NUL-terminated string to scan
3708 * @return the newly allocated buffer state object.
3709 * @note If you want to scan bytes that may contain NUL values, then use
3710 * yy_scan_bytes() instead.
3712 YY_BUFFER_STATE yy_scan_string (yyconst char * yy_str )
3715 return yy_scan_bytes(yy_str,strlen(yy_str) );
3718 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
3719 * scan from a @e copy of @a bytes.
3720 * @param bytes the byte buffer to scan
3721 * @param len the number of bytes in the buffer pointed to by @a bytes.
3723 * @return the newly allocated buffer state object.
3725 YY_BUFFER_STATE yy_scan_bytes (yyconst char * bytes, int len )
3727 YY_BUFFER_STATE b;
3728 char *buf;
3729 yy_size_t n;
3730 int i;
3732 /* Get memory for full buffer, including space for trailing EOB's. */
3733 n = len + 2;
3734 buf = (char *) yyalloc(n );
3735 if ( ! buf )
3736 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3738 for ( i = 0; i < len; ++i )
3739 buf[i] = bytes[i];
3741 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
3743 b = yy_scan_buffer(buf,n );
3744 if ( ! b )
3745 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3747 /* It's okay to grow etc. this buffer, and we should throw it
3748 * away when we're done.
3750 b->yy_is_our_buffer = 1;
3752 return b;
3755 #ifndef YY_EXIT_FAILURE
3756 #define YY_EXIT_FAILURE 2
3757 #endif
3759 static void yy_fatal_error (yyconst char* msg )
3761 (void) fprintf( stderr, "%s\n", msg );
3762 exit( YY_EXIT_FAILURE );
3765 /* Redefine yyless() so it works in section 3 code. */
3767 #undef yyless
3768 #define yyless(n) \
3769 do \
3771 /* Undo effects of setting up yytext. */ \
3772 int yyless_macro_arg = (n); \
3773 YY_LESS_LINENO(yyless_macro_arg);\
3774 yytext[yyleng] = (yy_hold_char); \
3775 (yy_c_buf_p) = yytext + yyless_macro_arg; \
3776 (yy_hold_char) = *(yy_c_buf_p); \
3777 *(yy_c_buf_p) = '\0'; \
3778 yyleng = yyless_macro_arg; \
3780 while ( 0 )
3782 /* Accessor methods (get/set functions) to struct members. */
3784 /** Get the current line number.
3787 int yyget_lineno (void)
3790 return yylineno;
3793 /** Get the input stream.
3796 FILE *yyget_in (void)
3798 return yyin;
3801 /** Get the output stream.
3804 FILE *yyget_out (void)
3806 return yyout;
3809 /** Get the length of the current token.
3812 int yyget_leng (void)
3814 return yyleng;
3817 /** Get the current token.
3821 char *yyget_text (void)
3823 return yytext;
3826 /** Set the current line number.
3827 * @param line_number
3830 void yyset_lineno (int line_number )
3833 yylineno = line_number;
3836 /** Set the input stream. This does not discard the current
3837 * input buffer.
3838 * @param in_str A readable stream.
3840 * @see yy_switch_to_buffer
3842 void yyset_in (FILE * in_str )
3844 yyin = in_str ;
3847 void yyset_out (FILE * out_str )
3849 yyout = out_str ;
3852 int yyget_debug (void)
3854 return yy_flex_debug;
3857 void yyset_debug (int bdebug )
3859 yy_flex_debug = bdebug ;
3862 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
3863 int yylex_destroy (void)
3866 /* Pop the buffer stack, destroying each element. */
3867 while(YY_CURRENT_BUFFER){
3868 yy_delete_buffer(YY_CURRENT_BUFFER );
3869 YY_CURRENT_BUFFER_LVALUE = NULL;
3870 yypop_buffer_state();
3873 /* Destroy the stack itself. */
3874 yyfree((yy_buffer_stack) );
3875 (yy_buffer_stack) = NULL;
3877 return 0;
3881 * Internal utility routines.
3884 #ifndef yytext_ptr
3885 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
3887 register int i;
3888 for ( i = 0; i < n; ++i )
3889 s1[i] = s2[i];
3891 #endif
3893 #ifdef YY_NEED_STRLEN
3894 static int yy_flex_strlen (yyconst char * s )
3896 register int n;
3897 for ( n = 0; s[n]; ++n )
3900 return n;
3902 #endif
3904 void *yyalloc (yy_size_t size )
3906 return (void *) malloc( size );
3909 void *yyrealloc (void * ptr, yy_size_t size )
3911 /* The cast to (char *) in the following accommodates both
3912 * implementations that use char* generic pointers, and those
3913 * that use void* generic pointers. It works with the latter
3914 * because both ANSI C and C++ allow castless assignment from
3915 * any pointer type to void*, and deal with argument conversions
3916 * as though doing an assignment.
3918 return (void *) realloc( (char *) ptr, size );
3921 void yyfree (void * ptr )
3923 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
3926 #define YYTABLES_NAME "yytables"
3928 #undef YY_NEW_FILE
3929 #undef YY_FLUSH_BUFFER
3930 #undef yy_set_bol
3931 #undef yy_new_buffer
3932 #undef yy_set_interactive
3933 #undef yytext_ptr
3934 #undef YY_DO_BEFORE_ACTION
3936 #ifdef YY_DECL_IS_OURS
3937 #undef YY_DECL_IS_OURS
3938 #undef YY_DECL
3939 #endif
3940 #line 462 "ldlex.l"
3945 /* Switch flex to reading script file NAME, open on FILE,
3946 saving the current input info on the include stack. */
3948 void
3949 lex_push_file (FILE *file, const char *name)
3951 if (include_stack_ptr >= MAX_INCLUDE_DEPTH)
3953 einfo ("%F:includes nested too deeply\n");
3955 file_name_stack[include_stack_ptr] = name;
3956 lineno_stack[include_stack_ptr] = lineno;
3957 include_stack[include_stack_ptr] = YY_CURRENT_BUFFER;
3959 include_stack_ptr++;
3960 lineno = 1;
3961 yyin = file;
3962 yy_switch_to_buffer (yy_create_buffer (yyin, YY_BUF_SIZE));
3965 /* Return a newly created flex input buffer containing STRING,
3966 which is SIZE bytes long. */
3968 static YY_BUFFER_STATE
3969 yy_create_string_buffer (const char *string, size_t size)
3971 YY_BUFFER_STATE b;
3973 /* Calls to m-alloc get turned by sed into xm-alloc. */
3974 b = malloc (sizeof (struct yy_buffer_state));
3975 b->yy_input_file = 0;
3976 b->yy_buf_size = size;
3978 /* yy_ch_buf has to be 2 characters longer than the size given because
3979 we need to put in 2 end-of-buffer characters. */
3980 b->yy_ch_buf = malloc ((unsigned) (b->yy_buf_size + 3));
3982 b->yy_ch_buf[0] = '\n';
3983 strcpy (b->yy_ch_buf+1, string);
3984 b->yy_ch_buf[size+1] = YY_END_OF_BUFFER_CHAR;
3985 b->yy_ch_buf[size+2] = YY_END_OF_BUFFER_CHAR;
3986 b->yy_n_chars = size+1;
3987 b->yy_buf_pos = &b->yy_ch_buf[1];
3989 b->yy_is_our_buffer = 1;
3990 b->yy_is_interactive = 0;
3991 b->yy_at_bol = 1;
3992 b->yy_fill_buffer = 0;
3994 /* flex 2.4.7 changed the interface. FIXME: We should not be using
3995 a flex internal interface in the first place! */
3996 #ifdef YY_BUFFER_NEW
3997 b->yy_buffer_status = YY_BUFFER_NEW;
3998 #else
3999 b->yy_eof_status = EOF_NOT_SEEN;
4000 #endif
4002 return b;
4005 /* Switch flex to reading from STRING, saving the current input info
4006 on the include stack. */
4008 void
4009 lex_redirect (const char *string)
4011 YY_BUFFER_STATE tmp;
4013 yy_init = 0;
4014 if (include_stack_ptr >= MAX_INCLUDE_DEPTH)
4016 einfo("%F: macros nested too deeply\n");
4018 file_name_stack[include_stack_ptr] = "redirect";
4019 lineno_stack[include_stack_ptr] = lineno;
4020 include_stack[include_stack_ptr] = YY_CURRENT_BUFFER;
4021 include_stack_ptr++;
4022 lineno = 1;
4023 tmp = yy_create_string_buffer (string, strlen (string));
4024 yy_switch_to_buffer (tmp);
4027 /* Functions to switch to a different flex start condition,
4028 saving the current start condition on `state_stack'. */
4030 static int state_stack[MAX_INCLUDE_DEPTH * 2];
4031 static int *state_stack_p = state_stack;
4033 void
4034 ldlex_script (void)
4036 *(state_stack_p)++ = yy_start;
4037 BEGIN (SCRIPT);
4040 void
4041 ldlex_mri_script (void)
4043 *(state_stack_p)++ = yy_start;
4044 BEGIN (MRI);
4047 void
4048 ldlex_version_script (void)
4050 *(state_stack_p)++ = yy_start;
4051 BEGIN (VERS_START);
4054 void
4055 ldlex_version_file (void)
4057 *(state_stack_p)++ = yy_start;
4058 BEGIN (VERS_SCRIPT);
4061 void
4062 ldlex_defsym (void)
4064 *(state_stack_p)++ = yy_start;
4065 BEGIN (DEFSYMEXP);
4068 void
4069 ldlex_expression (void)
4071 *(state_stack_p)++ = yy_start;
4072 BEGIN (EXPRESSION);
4075 void
4076 ldlex_both (void)
4078 *(state_stack_p)++ = yy_start;
4079 BEGIN (BOTH);
4082 void
4083 ldlex_popstate (void)
4085 yy_start = *(--state_stack_p);
4089 /* Place up to MAX_SIZE characters in BUF and return in *RESULT
4090 either the number of characters read, or 0 to indicate EOF. */
4092 static void
4093 yy_input (char *buf, int *result, int max_size)
4095 *result = 0;
4096 if (YY_CURRENT_BUFFER->yy_input_file)
4098 if (yyin)
4100 *result = fread (buf, 1, max_size, yyin);
4101 if (*result < max_size && ferror (yyin))
4102 einfo ("%F%P: read in flex scanner failed\n");
4107 /* Eat the rest of a C-style comment. */
4109 static void
4110 comment (void)
4112 int c;
4114 while (1)
4116 c = input();
4117 while (c != '*' && c != EOF)
4119 if (c == '\n')
4120 lineno++;
4121 c = input();
4124 if (c == '*')
4126 c = input();
4127 while (c == '*')
4128 c = input();
4129 if (c == '/')
4130 break; /* found the end */
4133 if (c == '\n')
4134 lineno++;
4136 if (c == EOF)
4138 einfo( "%F%P: EOF in comment\n");
4139 break;
4144 /* Warn the user about a garbage character WHAT in the input
4145 in context WHERE. */
4147 static void
4148 lex_warn_invalid (char *where, char *what)
4150 char buf[5];
4152 /* If we have found an input file whose format we do not recognize,
4153 and we are therefore treating it as a linker script, and we find
4154 an invalid character, then most likely this is a real object file
4155 of some different format. Treat it as such. */
4156 if (ldfile_assumed_script)
4158 bfd_set_error (bfd_error_file_not_recognized);
4159 einfo ("%F%s: file not recognized: %E\n", ldfile_input_filename);
4162 if (! ISPRINT (*what))
4164 sprintf (buf, "\\%03o", (unsigned int) *what);
4165 what = buf;
4168 einfo ("%P:%S: ignoring invalid character `%s'%s\n", what, where);