2 #line 3 "surf/surfxml.c"
4 #define YY_INT_ALIGNED short int
6 /* A lexical scanner generated by flex */
9 #define YY_FLEX_MAJOR_VERSION 2
10 #define YY_FLEX_MINOR_VERSION 5
11 #define YY_FLEX_SUBMINOR_VERSION 33
12 #if YY_FLEX_SUBMINOR_VERSION > 0
16 /* First, we deal with platform-specific or compiler-specific issues. */
18 /* begin standard C headers. */
24 /* end standard C headers. */
26 /* flex integer type definitions */
31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
33 #if __STDC_VERSION__ >= 199901L
35 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
36 * if you want the limit (max/min) macros for int types.
38 #ifndef __STDC_LIMIT_MACROS
39 #define __STDC_LIMIT_MACROS 1
43 typedef int8_t flex_int8_t;
44 typedef uint8_t flex_uint8_t;
45 typedef int16_t flex_int16_t;
46 typedef uint16_t flex_uint16_t;
47 typedef int32_t flex_int32_t;
48 typedef uint32_t flex_uint32_t;
50 typedef signed char flex_int8_t;
51 typedef short int flex_int16_t;
52 typedef int flex_int32_t;
53 typedef unsigned char flex_uint8_t;
54 typedef unsigned short int flex_uint16_t;
55 typedef unsigned int flex_uint32_t;
58 /* Limits of integral types. */
60 #define INT8_MIN (-128)
63 #define INT16_MIN (-32767-1)
66 #define INT32_MIN (-2147483647-1)
69 #define INT8_MAX (127)
72 #define INT16_MAX (32767)
75 #define INT32_MAX (2147483647)
78 #define UINT8_MAX (255U)
81 #define UINT16_MAX (65535U)
84 #define UINT32_MAX (4294967295U)
87 #endif /* ! FLEXINT_H */
91 /* The "const" storage-class-modifier is valid. */
94 #else /* ! __cplusplus */
100 #endif /* __STDC__ */
101 #endif /* ! __cplusplus */
104 #define yyconst const
109 /* Returned upon end-of-file. */
112 /* Promotes a possibly negative, possibly signed char to an unsigned
113 * integer for use as an array index. If the signed char is negative,
114 * we want to instead treat it as an 8-bit unsigned char, hence the
117 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
119 /* Enter a start condition. This macro really ought to take a parameter,
120 * but we do it the disgusting crufty way forced on us by the ()-less
121 * definition of BEGIN.
123 #define BEGIN (yy_start) = 1 + 2 *
125 /* Translate the current start state into a value that can be later handed
126 * to BEGIN to return to the state. The YYSTATE alias is for lex
129 #define YY_START (((yy_start) - 1) / 2)
130 #define YYSTATE YY_START
132 /* Action number for EOF rule of a given start state. */
133 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
135 /* Special action meaning "start processing a new file". */
136 #define YY_NEW_FILE surf_parse_restart(surf_parse_in )
138 #define YY_END_OF_BUFFER_CHAR 0
140 /* Size of default input buffer. */
142 #define YY_BUF_SIZE 16384
145 /* The state buf must be large enough to hold one state per character in the main buffer.
147 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
149 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
150 #define YY_TYPEDEF_YY_BUFFER_STATE
151 typedef struct yy_buffer_state *YY_BUFFER_STATE;
154 extern int surf_parse_leng;
156 extern FILE *surf_parse_in, *surf_parse_out;
158 #define EOB_ACT_CONTINUE_SCAN 0
159 #define EOB_ACT_END_OF_FILE 1
160 #define EOB_ACT_LAST_MATCH 2
162 /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires
163 * access to the local variable yy_act. Since yyless() is a macro, it would break
164 * existing scanners that call yyless() from OUTSIDE surf_parse_lex.
165 * One obvious solution it to make yy_act a global. I tried that, and saw
166 * a 5% performance hit in a non-surf_parse_lineno scanner, because yy_act is
167 * normally declared as a register variable-- so it is not worth it.
169 #define YY_LESS_LINENO(n) \
172 for ( yyl = n; yyl < surf_parse_leng; ++yyl )\
173 if ( surf_parse_text[yyl] == '\n' )\
174 --surf_parse_lineno;\
177 /* Return all but the first "n" matched characters back to the input stream. */
181 /* Undo effects of setting up surf_parse_text. */ \
182 int yyless_macro_arg = (n); \
183 YY_LESS_LINENO(yyless_macro_arg);\
184 *yy_cp = (yy_hold_char); \
185 YY_RESTORE_YY_MORE_OFFSET \
186 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
187 YY_DO_BEFORE_ACTION; /* set up surf_parse_text again */ \
191 #define unput(c) yyunput( c, (yytext_ptr) )
193 /* The following is because we cannot portably get our hands on size_t
194 * (without autoconf's help, which isn't available because we want
195 * flex-generated scanners to compile on their own).
198 #ifndef YY_TYPEDEF_YY_SIZE_T
199 #define YY_TYPEDEF_YY_SIZE_T
200 typedef unsigned int yy_size_t;
203 #ifndef YY_STRUCT_YY_BUFFER_STATE
204 #define YY_STRUCT_YY_BUFFER_STATE
205 struct yy_buffer_state
209 char *yy_ch_buf; /* input buffer */
210 char *yy_buf_pos; /* current position in input buffer */
212 /* Size of input buffer in bytes, not including room for EOB
215 yy_size_t yy_buf_size;
217 /* Number of characters read into yy_ch_buf, not including EOB
222 /* Whether we "own" the buffer - i.e., we know we created it,
223 * and can realloc() it to grow it, and should free() it to
226 int yy_is_our_buffer;
228 /* Whether this is an "interactive" input source; if so, and
229 * if we're using stdio for input, then we want to use getc()
230 * instead of fread(), to make sure we stop fetching input after
233 int yy_is_interactive;
235 /* Whether we're considered to be at the beginning of a line.
236 * If so, '^' rules will be active on the next match, otherwise
241 int yy_bs_lineno; /**< The line count. */
242 int yy_bs_column; /**< The column count. */
244 /* Whether to try to fill the input buffer when we reach the
249 int yy_buffer_status;
251 #define YY_BUFFER_NEW 0
252 #define YY_BUFFER_NORMAL 1
253 /* When an EOF's been seen but there's still some text to process
254 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
255 * shouldn't try reading from the input source any more. We might
256 * still have a bunch of tokens to match, though, because of
257 * possible backing-up.
259 * When we actually see the EOF, we change the status to "new"
260 * (via surf_parse_restart()), so that the user can continue scanning by
261 * just pointing surf_parse_in at a new input file.
263 #define YY_BUFFER_EOF_PENDING 2
266 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
268 /* Stack of input buffers. */
269 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
270 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
271 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
273 /* We provide macros for accessing buffer states in case in the
274 * future we want to put the buffer states in a more general
277 * Returns the top of the stack, or NULL.
279 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
280 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
283 /* Same as previous macro, but useful when we know that the buffer stack is not
284 * NULL or when we need an lvalue. For internal use only.
286 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
288 /* yy_hold_char holds the character lost when surf_parse_text is formed. */
289 static char yy_hold_char;
290 static int yy_n_chars; /* number of characters read into yy_ch_buf */
293 /* Points to current character in buffer. */
294 static char *yy_c_buf_p = (char *) 0;
295 static int yy_init = 0; /* whether we need to initialize */
296 static int yy_start = 0; /* start state number */
298 /* Flag which is used to allow surf_parse_wrap()'s to do buffer switches
299 * instead of setting up a fresh surf_parse_in. A bit of a hack ...
301 static int yy_did_buffer_switch_on_eof;
303 void surf_parse_restart (FILE *input_file );
304 void surf_parse__switch_to_buffer (YY_BUFFER_STATE new_buffer );
305 YY_BUFFER_STATE surf_parse__create_buffer (FILE *file,int size );
306 void surf_parse__delete_buffer (YY_BUFFER_STATE b );
307 void surf_parse__flush_buffer (YY_BUFFER_STATE b );
308 void surf_parse_push_buffer_state (YY_BUFFER_STATE new_buffer );
309 void surf_parse_pop_buffer_state (void );
311 static void surf_parse_ensure_buffer_stack (void );
312 static void surf_parse__load_buffer_state (void );
313 static void surf_parse__init_buffer (YY_BUFFER_STATE b,FILE *file );
315 #define YY_FLUSH_BUFFER surf_parse__flush_buffer(YY_CURRENT_BUFFER )
317 YY_BUFFER_STATE surf_parse__scan_buffer (char *base,yy_size_t size );
318 YY_BUFFER_STATE surf_parse__scan_string (yyconst char *yy_str );
319 YY_BUFFER_STATE surf_parse__scan_bytes (yyconst char *bytes,int len );
321 void *surf_parse_alloc (yy_size_t );
322 void *surf_parse_realloc (void *,yy_size_t );
323 void surf_parse_free (void * );
325 #define yy_new_buffer surf_parse__create_buffer
327 #define yy_set_interactive(is_interactive) \
329 if ( ! YY_CURRENT_BUFFER ){ \
330 surf_parse_ensure_buffer_stack (); \
331 YY_CURRENT_BUFFER_LVALUE = \
332 surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE ); \
334 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
337 #define yy_set_bol(at_bol) \
339 if ( ! YY_CURRENT_BUFFER ){\
340 surf_parse_ensure_buffer_stack (); \
341 YY_CURRENT_BUFFER_LVALUE = \
342 surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE ); \
344 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
347 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
349 /* Begin user sect3 */
351 #define surf_parse_wrap() 1
352 #define YY_SKIP_YYWRAP
354 typedef unsigned char YY_CHAR;
356 FILE *surf_parse_in = (FILE *) 0, *surf_parse_out = (FILE *) 0;
358 typedef int yy_state_type;
360 extern int surf_parse_lineno;
362 int surf_parse_lineno = 1;
364 extern char *surf_parse_text;
365 #define yytext_ptr surf_parse_text
367 static yy_state_type yy_get_previous_state (void );
368 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
369 static int yy_get_next_buffer (void );
370 static void yy_fatal_error (yyconst char msg[] );
372 /* Done after the current pattern has been matched and before the
373 * corresponding action - sets up surf_parse_text.
375 #define YY_DO_BEFORE_ACTION \
376 (yytext_ptr) = yy_bp; \
377 surf_parse_leng = (size_t) (yy_cp - yy_bp); \
378 (yy_hold_char) = *yy_cp; \
380 (yy_c_buf_p) = yy_cp;
382 #define YY_NUM_RULES 202
383 #define YY_END_OF_BUFFER 203
384 /* This struct is not used in this scanner,
385 but its presence is necessary. */
388 flex_int32_t yy_verify;
391 static yyconst flex_int16_t yy_accept[1517] =
393 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
394 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
395 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
396 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
397 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
398 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
399 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
400 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
401 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
402 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
404 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
405 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
406 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
407 0, 0, 0, 0, 0, 0, 0, 0, 203, 201,
408 24, 10, 10, 24, 24, 181, 10, 181, 5, 6,
409 5, 8, 9, 8, 197, 189, 190, 198, 195, 198,
410 196, 200, 189, 190, 200, 201, 30, 10, 30, 30,
411 30, 28, 30, 34, 10, 34, 201, 34, 34, 201,
412 34, 34, 201, 34, 201, 34, 201, 201, 34, 40,
413 10, 40, 40, 40, 38, 40, 44, 10, 44, 70,
415 10, 70, 70, 70, 68, 70, 70, 70, 70, 70,
416 74, 10, 74, 201, 74, 82, 10, 82, 82, 82,
417 80, 82, 82, 86, 10, 86, 92, 10, 92, 92,
418 92, 90, 92, 96, 10, 96, 120, 10, 120, 120,
419 120, 118, 120, 120, 120, 120, 124, 10, 124, 124,
420 140, 10, 140, 140, 140, 138, 140, 140, 140, 144,
421 10, 144, 201, 144, 150, 10, 150, 150, 150, 148,
422 150, 154, 10, 154, 166, 10, 166, 166, 166, 164,
423 166, 166, 166, 166, 170, 10, 170, 201, 170, 201,
424 176, 10, 176, 176, 176, 174, 176, 180, 10, 180,
426 198, 197, 10, 0, 2, 2, 0, 4, 7, 192,
427 191, 0, 0, 0, 0, 0, 0, 0, 29, 31,
428 31, 0, 0, 0, 0, 0, 0, 0, 0, 39,
429 41, 41, 0, 69, 71, 71, 71, 71, 71, 71,
430 71, 0, 0, 81, 83, 83, 83, 0, 91, 93,
431 93, 0, 119, 121, 121, 121, 121, 121, 121, 0,
432 139, 141, 141, 141, 141, 0, 0, 149, 151, 151,
433 0, 165, 167, 167, 167, 167, 167, 0, 0, 175,
434 177, 177, 0, 0, 0, 0, 0, 0, 0, 3,
435 0, 0, 0, 0, 0, 0, 0, 199, 0, 31,
437 0, 0, 0, 0, 0, 0, 0, 0, 0, 41,
438 0, 0, 71, 0, 0, 71, 71, 71, 71, 0,
439 0, 0, 0, 0, 83, 0, 0, 0, 0, 0,
440 0, 121, 0, 0, 121, 121, 121, 0, 0, 141,
441 141, 141, 0, 0, 0, 0, 0, 0, 0, 167,
442 167, 167, 167, 0, 0, 0, 177, 0, 0, 0,
443 194, 0, 23, 1, 0, 0, 187, 0, 0, 0,
444 184, 183, 0, 0, 31, 0, 0, 33, 0, 0,
445 0, 0, 0, 0, 0, 0, 41, 0, 0, 43,
446 0, 71, 0, 47, 46, 71, 71, 71, 71, 0,
448 0, 73, 0, 0, 0, 77, 76, 83, 0, 0,
449 85, 0, 0, 89, 88, 0, 0, 95, 0, 121,
450 0, 99, 98, 121, 121, 121, 0, 0, 123, 0,
451 0, 0, 141, 0, 0, 0, 0, 143, 0, 0,
452 0, 147, 146, 0, 0, 153, 0, 167, 167, 167,
453 167, 0, 0, 169, 0, 0, 177, 0, 0, 179,
454 0, 0, 0, 0, 188, 182, 0, 0, 0, 31,
455 0, 45, 0, 97, 0, 0, 0, 0, 0, 0,
456 0, 71, 71, 71, 71, 71, 0, 75, 83, 0,
457 0, 121, 121, 121, 121, 0, 0, 129, 128, 141,
459 0, 127, 126, 0, 0, 0, 167, 0, 0, 167,
460 167, 0, 0, 177, 0, 0, 0, 0, 0, 12,
461 0, 185, 186, 0, 31, 0, 45, 0, 97, 0,
462 125, 125, 0, 0, 37, 36, 0, 71, 71, 71,
463 0, 0, 0, 0, 71, 0, 75, 0, 0, 0,
464 0, 121, 121, 121, 0, 0, 121, 0, 141, 0,
465 0, 0, 167, 0, 157, 156, 167, 167, 0, 0,
466 0, 0, 0, 0, 0, 0, 0, 11, 0, 31,
467 0, 0, 0, 125, 87, 0, 71, 71, 71, 0,
468 49, 48, 0, 0, 0, 71, 0, 72, 0, 79,
470 78, 0, 84, 0, 121, 121, 121, 0, 0, 0,
471 121, 0, 122, 141, 0, 0, 0, 167, 167, 167,
472 0, 0, 0, 173, 172, 0, 0, 0, 0, 0,
473 0, 0, 0, 0, 35, 155, 87, 0, 71, 71,
474 71, 0, 0, 71, 0, 121, 0, 0, 121, 121,
475 0, 0, 121, 141, 0, 142, 0, 0, 167, 167,
476 167, 0, 0, 0, 0, 0, 0, 0, 0, 0,
477 27, 26, 0, 35, 155, 0, 71, 71, 71, 0,
478 0, 0, 0, 71, 0, 94, 121, 0, 105, 104,
479 121, 121, 0, 0, 0, 0, 121, 141, 145, 0,
481 0, 0, 167, 167, 0, 171, 0, 193, 0, 0,
482 0, 0, 0, 0, 42, 71, 71, 71, 0, 55,
483 0, 54, 71, 0, 0, 121, 121, 121, 0, 109,
484 0, 108, 121, 141, 145, 0, 0, 159, 158, 0,
485 0, 167, 0, 168, 171, 0, 0, 0, 0, 0,
486 0, 0, 0, 0, 0, 0, 71, 71, 71, 57,
487 56, 0, 0, 0, 101, 100, 121, 121, 121, 111,
488 110, 0, 0, 141, 141, 0, 152, 0, 163, 162,
489 0, 0, 0, 178, 0, 0, 0, 0, 0, 0,
490 0, 0, 0, 0, 0, 71, 71, 71, 0, 59,
492 58, 121, 121, 121, 0, 113, 112, 141, 141, 0,
493 161, 160, 0, 0, 0, 0, 0, 0, 0, 0,
494 0, 0, 0, 0, 0, 71, 71, 71, 121, 0,
495 0, 121, 141, 141, 0, 0, 0, 0, 0, 0,
496 0, 0, 0, 0, 0, 0, 0, 0, 51, 50,
497 71, 71, 71, 71, 121, 0, 107, 106, 121, 0,
498 0, 141, 0, 0, 141, 0, 0, 0, 0, 0,
499 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
500 0, 71, 71, 71, 71, 0, 0, 0, 0, 0,
501 133, 132, 141, 0, 131, 130, 141, 0, 0, 0,
503 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
504 0, 0, 0, 0, 71, 71, 71, 71, 0, 103,
505 102, 0, 0, 0, 141, 141, 0, 0, 0, 0,
506 0, 0, 0, 0, 0, 0, 0, 0, 12, 0,
507 12, 0, 0, 0, 71, 71, 71, 71, 0, 0,
508 0, 0, 141, 141, 0, 0, 0, 0, 0, 0,
509 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
510 0, 0, 0, 0, 0, 0, 71, 0, 0, 0,
511 0, 0, 0, 141, 141, 0, 0, 0, 0, 0,
512 0, 0, 0, 0, 0, 0, 0, 0, 0, 53,
514 52, 0, 63, 62, 0, 61, 60, 71, 0, 67,
515 66, 0, 0, 0, 0, 141, 141, 0, 0, 0,
516 0, 0, 0, 0, 0, 0, 0, 11, 0, 0,
517 71, 0, 0, 0, 0, 141, 141, 0, 0, 0,
518 0, 0, 0, 0, 0, 0, 0, 25, 0, 71,
519 0, 0, 0, 0, 141, 141, 0, 0, 0, 0,
520 0, 0, 0, 0, 0, 0, 25, 0, 71, 0,
521 0, 0, 0, 141, 141, 0, 0, 0, 0, 0,
522 0, 0, 0, 0, 0, 0, 0, 0, 0, 32,
523 0, 0, 0, 115, 0, 114, 141, 141, 0, 0,
525 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
526 0, 0, 0, 65, 64, 117, 116, 141, 141, 0,
527 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
528 0, 0, 0, 0, 141, 141, 0, 0, 0, 0,
529 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
530 0, 0, 0, 141, 141, 0, 0, 0, 0, 0,
531 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
532 0, 0, 0, 0, 141, 141, 0, 0, 0, 0,
533 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
534 0, 0, 0, 0, 0, 141, 141, 0, 0, 0,
536 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
537 0, 0, 0, 0, 0, 0, 141, 141, 0, 0,
538 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
539 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
540 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
541 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
542 0, 137, 136, 0, 135, 134, 0, 0, 0, 0,
543 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
544 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
545 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
547 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
548 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
549 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
550 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
551 0, 0, 19, 0, 0, 0, 13, 0, 0, 0,
552 0, 0, 0, 21, 0, 0, 0, 0, 0, 0,
553 0, 0, 0, 0, 0, 0, 0, 15, 0, 0,
554 0, 0, 0, 0, 0, 0, 0, 18, 0, 0,
555 14, 0, 0, 0, 0, 16, 0, 20, 0, 17,
556 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
558 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
562 static yyconst flex_int32_t yy_ec[256] =
564 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
565 1, 2, 4, 1, 1, 1, 1, 1, 1, 1,
566 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
567 1, 2, 5, 6, 7, 1, 1, 8, 9, 1,
568 1, 1, 1, 1, 10, 11, 12, 13, 13, 13,
569 13, 13, 13, 13, 13, 13, 13, 14, 15, 16,
570 17, 18, 19, 1, 20, 21, 22, 23, 24, 25,
571 26, 27, 28, 26, 26, 26, 29, 30, 31, 32,
572 26, 33, 34, 35, 26, 26, 26, 26, 36, 26,
573 37, 1, 38, 1, 39, 1, 40, 41, 42, 43,
575 44, 45, 46, 47, 48, 26, 49, 50, 51, 52,
576 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
577 63, 26, 1, 1, 1, 1, 1, 1, 1, 1,
578 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
579 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
580 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
581 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
582 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
583 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
584 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
586 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
587 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
588 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
589 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
590 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
594 static yyconst flex_int32_t yy_meta[64] =
596 1, 2, 2, 2, 1, 1, 1, 1, 1, 3,
597 3, 1, 4, 5, 1, 1, 1, 6, 1, 7,
598 7, 7, 7, 7, 7, 5, 5, 5, 5, 5,
599 5, 5, 5, 5, 5, 5, 1, 1, 5, 7,
600 7, 7, 7, 7, 7, 5, 5, 5, 5, 5,
601 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
605 static yyconst flex_int16_t yy_base[1585] =
607 0, 0, 0, 3, 6, 9, 24, 27, 11, 14,
608 15, 17, 29, 38, 45, 52, 59, 61, 67, 70,
609 99, 159, 73, 76, 117, 122, 125, 128, 177, 182,
610 185, 188, 204, 207, 210, 213, 228, 231, 234, 237,
611 252, 255, 258, 261, 276, 279, 282, 285, 300, 303,
612 306, 309, 324, 327, 330, 333, 348, 351, 354, 357,
613 373, 418, 391, 396, 399, 436, 463, 520, 441, 444,
614 481, 486, 489, 492, 538, 543, 546, 549, 577, 637,
615 595, 600, 603, 606, 697, 745, 655, 660, 663, 666,
616 793, 850, 715, 720, 723, 726, 763, 768, 771, 774,
618 811, 816, 907, 964, 819, 822, 868, 873, 876, 879,
619 925, 930, 933, 936, 1021, 1069, 982, 987, 990, 993,
620 1117, 1174, 1039, 1044, 1047, 1050, 1087, 1092, 1095, 1098,
621 1135, 1140, 1231, 1291, 1143, 1192, 1214, 1250, 4284, 4285,
622 4285, 91, 143, 47, 62, 4285, 146, 77, 4285, 4285,
623 4273, 4285, 4285, 4264, 4285, 4277, 4277, 1160, 4285, 4285,
624 4285, 4285, 4275, 4275, 4239, 343, 4285, 149, 4258, 0,
625 79, 4285, 4231, 4285, 152, 1265, 612, 672, 1153, 223,
626 1270, 1306, 138, 1208, 247, 1260, 499, 607, 494, 4285,
627 402, 4256, 0, 271, 4285, 4225, 4285, 447, 551, 4285,
629 625, 4254, 0, 295, 4285, 4211, 7, 4230, 4216, 4210,
630 4285, 630, 1262, 667, 668, 4285, 686, 4249, 0, 319,
631 4285, 4223, 4225, 4285, 690, 828, 4285, 842, 4246, 0,
632 493, 4285, 4220, 4285, 899, 885, 4285, 954, 4244, 0,
633 556, 4285, 4221, 4217, 4219, 76, 4285, 957, 1268, 999,
634 4285, 1011, 4240, 0, 616, 4285, 4200, 4205, 4199, 4285,
635 1146, 1318, 823, 1266, 4285, 1166, 4236, 0, 676, 4285,
636 4210, 4285, 1195, 1271, 4285, 1222, 4234, 0, 880, 4285,
637 4192, 4197, 4201, 4190, 4285, 1253, 1326, 1327, 1322, 1330,
638 4285, 1257, 4229, 0, 943, 4285, 4206, 4285, 1340, 1328,
640 4240, 4206, 1350, 34, 4181, 4285, 4232, 4223, 4285, 4285,
641 4285, 26, 36, 4182, 4181, 4179, 4219, 4186, 4285, 0,
642 4179, 4180, 4180, 4180, 4183, 4174, 4176, 4175, 4174, 4285,
643 0, 4176, 4177, 4285, 0, 4184, 1355, 4165, 4160, 4160,
644 4180, 4172, 4162, 4285, 0, 1361, 4167, 4162, 4285, 0,
645 1371, 4159, 4285, 0, 4162, 1380, 4155, 4172, 4171, 4160,
646 4285, 0, 4151, 4154, 4165, 4150, 4157, 4285, 0, 1383,
647 4154, 4285, 0, 4151, 4145, 4151, 4160, 4145, 4142, 4285,
648 0, 4147, 4156, 4158, 4176, 4175, 4182, 104, 4140, 4285,
649 127, 0, 4136, 4136, 4173, 4172, 4133, 4285, 4145, 4127,
651 1387, 1390, 4126, 4140, 4129, 4127, 4120, 4119, 4118, 4132,
652 1399, 1407, 4127, 1410, 1417, 4130, 4134, 4128, 4113, 1426,
653 1429, 4117, 1432, 1439, 4110, 1435, 1448, 1452, 1458, 1468,
654 1471, 4125, 1474, 1481, 4123, 4110, 4107, 1477, 1490, 1494,
655 4124, 1497, 1503, 1513, 4111, 1516, 1523, 1532, 1537, 4120,
656 4103, 4110, 4103, 1540, 1543, 4112, 4098, 1549, 1560, 4134,
657 4285, 4137, 4285, 4285, 177, 4104, 4285, 4138, 4137, 4094,
658 4285, 4285, 4092, 4091, 4100, 1566, 1569, 4285, 1572, 4089,
659 4096, 4096, 4102, 4085, 4084, 4083, 1577, 1589, 1593, 4285,
660 1599, 4090, 1616, 4285, 4285, 4083, 4085, 4081, 4092, 1606,
662 1611, 4285, 1624, 4081, 1628, 4285, 4285, 4090, 1636, 1641,
663 4285, 1644, 1647, 4285, 4285, 1661, 1664, 4285, 1667, 4072,
664 1671, 4285, 4285, 4080, 4083, 4086, 1684, 1687, 4285, 1690,
665 1696, 1708, 4087, 1716, 1719, 1727, 1732, 4285, 1735, 4079,
666 1745, 4285, 4285, 1753, 1756, 4285, 1759, 4069, 1762, 4087,
667 4067, 1765, 1778, 4285, 1782, 4065, 4079, 1785, 1788, 4285,
668 1795, 4099, 165, 1805, 4285, 4285, 4106, 4105, 4074, 4065,
669 1812, 1602, 4058, 1815, 4072, 4071, 4070, 4069, 1823, 1830,
670 1840, 4072, 4066, 4051, 1843, 1846, 1849, 1818, 1852, 1862,
671 1869, 4061, 4066, 4055, 1872, 1875, 1892, 4285, 4285, 4048,
673 1900, 4285, 4285, 1879, 4091, 1910, 4056, 1915, 1927, 4045,
674 4063, 1936, 4050, 1918, 1939, 4080, 185, 4081, 1942, 4285,
675 4080, 4285, 4285, 4044, 4044, 1945, 1948, 4052, 1962, 4037,
676 1965, 1968, 4037, 1971, 4285, 4285, 1979, 4051, 4047, 4032,
677 1989, 2001, 1992, 2009, 4044, 2021, 1985, 1997, 2024, 2032,
678 2038, 4045, 4024, 4040, 2041, 2045, 4040, 2057, 4045, 2060,
679 4041, 2063, 4029, 2067, 4285, 4285, 4033, 4022, 2081, 4035,
680 2084, 2087, 2103, 4043, 987, 121, 204, 4285, 4021, 2106,
681 2109, 4032, 4018, 2112, 2115, 2126, 4026, 4017, 4026, 2129,
682 4285, 4285, 2137, 4040, 4039, 4021, 2145, 4285, 2149, 4285,
684 4285, 2157, 4285, 2162, 4010, 2168, 4028, 2175, 4035, 4034,
685 4016, 2184, 4285, 4010, 2187, 4004, 2190, 4009, 4009, 4011,
686 2193, 4006, 2197, 4285, 4285, 2210, 4037, 67, 140, 187,
687 4005, 2213, 2217, 2231, 2234, 2237, 2240, 2244, 4005, 4010,
688 4000, 221, 242, 4002, 2249, 4004, 2253, 2257, 4005, 3995,
689 266, 269, 3998, 3995, 2271, 4285, 3994, 2274, 2277, 4001,
690 3993, 2280, 3985, 2293, 4005, 2297, 424, 351, 4002, 2300,
691 4285, 4285, 2310, 2314, 2317, 2320, 3992, 3987, 3990, 4012,
692 4030, 4010, 4025, 3989, 2323, 4285, 2327, 2344, 4285, 4285,
693 3984, 3978, 4005, 3913, 3893, 3899, 3861, 3863, 2331, 2352,
695 2355, 2365, 2360, 3855, 2376, 2379, 2382, 4285, 2439, 184,
696 227, 3853, 2385, 2388, 4285, 3835, 3848, 3835, 3878, 4285,
697 3872, 4285, 2393, 2405, 2409, 3833, 3821, 3816, 3855, 4285,
698 3847, 4285, 2417, 1114, 2423, 2426, 2429, 4285, 4285, 2443,
699 2446, 2459, 2462, 4285, 2465, 2470, 353, 491, 435, 275,
700 516, 583, 297, 715, 3807, 2479, 3783, 3797, 3790, 4285,
701 4285, 2488, 2497, 2505, 4285, 4285, 3783, 3782, 3577, 4285,
702 4285, 2513, 2517, 3567, 3567, 2525, 4285, 2529, 4285, 4285,
703 2537, 2542, 2553, 4285, 326, 573, 207, 878, 299, 763,
704 395, 935, 936, 3565, 2556, 2559, 3580, 3578, 2563, 4285,
706 4285, 3566, 2575, 3572, 2578, 4285, 4285, 3555, 3561, 2587,
707 4285, 4285, 399, 329, 633, 347, 555, 1002, 722, 497,
708 2599, 3559, 2602, 2605, 2609, 3493, 264, 3480, 3486, 2621,
709 2624, 3430, 2632, 2637, 468, 2640, 678, 2643, 323, 725,
710 2648, 741, 2660, 2665, 2682, 3263, 2671, 2690, 4285, 4285,
711 3245, 3239, 3236, 3212, 2699, 2702, 4285, 4285, 2715, 2718,
712 2721, 3180, 2734, 2737, 3124, 773, 2745, 398, 2750, 300,
713 811, 960, 2753, 2677, 2756, 2763, 2774, 2792, 2830, 3129,
714 2787, 3092, 3092, 3074, 3065, 2810, 2813, 2848, 2851, 2860,
715 4285, 4285, 3073, 2868, 4285, 4285, 3057, 1211, 396, 830,
717 582, 1046, 875, 1074, 771, 2822, 2876, 2879, 17, 498,
718 2897, 2935, 3017, 2915, 3024, 2969, 2955, 2863, 2887, 4285,
719 4285, 2918, 542, 707, 2834, 2829, 1047, 887, 2927, 929,
720 1287, 660, 2953, 982, 1343, 2956, 831, 443, 2852, 933,
721 2794, 2962, 2744, 2965, 2974, 2982, 2985, 2990, 2730, 2702,
722 2694, 2645, 2601, 2590, 2993, 1027, 3002, 1075, 3010, 1122,
723 3013, 1170, 1049, 1359, 2608, 2576, 2540, 3019, 2465, 3023,
724 3031, 3036, 3047, 3050, 3058, 3063, 2349, 3074, 3080, 2367,
725 2379, 2307, 2319, 2252, 2251, 3090, 200, 1380, 720, 3093,
726 992, 1386, 768, 1210, 1337, 2267, 2123, 3096, 3100, 4285,
728 4285, 3113, 4285, 4285, 3126, 4285, 4285, 2130, 3134, 4285,
729 4285, 2090, 2067, 2062, 2041, 1984, 1955, 1388, 1039, 1381,
730 1123, 1492, 1332, 1531, 1378, 1091, 1428, 4285, 1904, 3143,
731 1913, 1882, 1881, 1863, 1833, 1746, 1600, 1564, 3146, 1495,
732 3149, 1618, 1145, 1519, 3152, 1439, 1485, 3006, 3155, 1528,
733 1490, 1479, 1433, 1325, 1239, 1157, 1542, 3172, 1565, 3180,
734 1637, 1470, 1660, 3191, 3199, 1530, 3202, 3208, 3211, 1092,
735 1107, 1037, 934, 842, 795, 1677, 1603, 1639, 1686, 1689,
736 1755, 1685, 1605, 1698, 1811, 1843, 3216, 3227, 3233, 4285,
737 3236, 3240, 830, 4285, 779, 4285, 568, 567, 1714, 1094,
739 1142, 3252, 1155, 1617, 1723, 1538, 3255, 1665, 1866, 1905,
740 1998, 3258, 3275, 4285, 4285, 4285, 4285, 581, 530, 3283,
741 1688, 1722, 3286, 1754, 1775, 3294, 1783, 3304, 1870, 1897,
742 1958, 1961, 2011, 2035, 507, 454, 3312, 1757, 1841, 2077,
743 2079, 1916, 1940, 3322, 1400, 2080, 2085, 2001, 2034, 1966,
744 2127, 2013, 2108, 415, 322, 2207, 2211, 2062, 2209, 2139,
745 2150, 2287, 2289, 2251, 2318, 1844, 2186, 2206, 2355, 2375,
746 2213, 2433, 2254, 2342, 311, 231, 2418, 2435, 1318, 1582,
747 2358, 2383, 1777, 1787, 2453, 2466, 1198, 2398, 2440, 2405,
748 2467, 2480, 2506, 2457, 2492, 226, 53, 2529, 2532, 2132,
750 2486, 2552, 2565, 2581, 2603, 2576, 2642, 1505, 2611, 2652,
751 2637, 2692, 2535, 2694, 2557, 2647, 3330, 3333, 2689, 2743,
752 2275, 2764, 2708, 2744, 2810, 2914, 2841, 2866, 3339, 2908,
753 2982, 2964, 3062, 2768, 2823, 2713, 2857, 3342, 3349, 3358,
754 3361, 3012, 3025, 2014, 2322, 2877, 2928, 2672, 2905, 3028,
755 3039, 3369, 3037, 3061, 3067, 3123, 3102, 3107, 2826, 3089,
756 3374, 4285, 4285, 3382, 4285, 4285, 3170, 3173, 2943, 3000,
757 3113, 3115, 3150, 3169, 3181, 3215, 2084, 3142, 3198, 3205,
758 3247, 3229, 3232, 3151, 3161, 3250, 3253, 3251, 3256, 3291,
759 3309, 3305, 3311, 3299, 3348, 2710, 3363, 3371, 3350, 3351,
761 3321, 3338, 3372, 3374, 3384, 3386, 888, 990, 3381, 3382,
762 2204, 1890, 3390, 3394, 2138, 3388, 3389, 2546, 2334, 3391,
763 3392, 3393, 3395, 3396, 3398, 3418, 3400, 3401, 3424, 3405,
764 3411, 1752, 3412, 3415, 3442, 3431, 3162, 3420, 3422, 3425,
765 3429, 3453, 4285, 3432, 3434, 3464, 4285, 3443, 3444, 2441,
766 3446, 3451, 3477, 4285, 3482, 3470, 3273, 3454, 3456, 3472,
767 3487, 3473, 3474, 3504, 3492, 3494, 3511, 4285, 3516, 3503,
768 3514, 3522, 3521, 3519, 3539, 3547, 3550, 4285, 3556, 3559,
769 4285, 3567, 2516, 2892, 3576, 4285, 3579, 4285, 3584, 4285,
770 2802, 2944, 2767, 3014, 3293, 3486, 3493, 3528, 3515, 3538,
772 3517, 3526, 3573, 3581, 3529, 3555, 3546, 3557, 3575, 3577,
773 3590, 3591, 3603, 3608, 4285, 4285, 3626, 3633, 3640, 3647,
774 3654, 3661, 3668, 3675, 3682, 3689, 3696, 3703, 3710, 3717,
775 3724, 3731, 3738, 3745, 3752, 3759, 3766, 3773, 3780, 3787,
776 3794, 3801, 3808, 3815, 3820, 3825, 3830, 3835, 3840, 3845,
777 3850, 3855, 3860, 3865, 3872, 3875, 3878, 3881, 3884, 3887,
778 3890, 3893, 3896, 3899, 3902, 3909, 3913, 3919, 3925, 3931,
779 3937, 3943, 3949, 3955, 3961, 3967, 3973, 3980, 3987, 3994,
780 4001, 4008, 4015, 4022
783 static yyconst flex_int16_t yy_def[1585] =
785 1517, 1517, 1518, 1518, 1518, 1518, 1519, 1519, 1520, 1520,
786 1521, 1521, 1522, 1522, 1522, 1522, 1523, 1523, 1517, 1517,
787 1524, 1524, 1525, 1525, 1517, 1517, 1525, 1525, 1525, 1525,
788 1517, 1517, 1525, 1525, 1525, 1525, 1517, 1517, 1525, 1525,
789 1525, 1525, 1517, 1517, 1525, 1525, 1525, 1525, 1517, 1517,
790 1525, 1525, 1517, 1517, 1525, 1525, 1525, 1525, 1517, 1517,
791 1526, 1526, 1527, 1527, 1517, 1517, 1528, 1528, 1529, 1529,
792 1517, 1517, 1529, 1529, 1529, 1529, 1517, 1517, 1530, 1530,
793 1531, 1531, 1517, 1517, 1532, 1532, 1533, 1533, 1517, 1517,
794 1534, 1534, 1535, 1535, 1517, 1517, 1535, 1535, 1535, 1535,
796 1517, 1517, 1536, 1536, 1537, 1537, 1517, 1517, 1537, 1537,
797 1537, 1537, 1517, 1517, 1538, 1538, 1539, 1539, 1517, 1517,
798 1540, 1540, 1541, 1541, 1517, 1517, 1541, 1541, 1541, 1541,
799 1517, 1517, 1542, 1542, 1543, 1543, 1544, 1544, 1516, 1516,
800 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
801 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
802 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1545,
803 1516, 1516, 1545, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
804 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
805 1516, 1516, 1546, 1516, 1516, 1546, 1516, 1516, 1516, 1516,
807 1516, 1516, 1547, 1516, 1516, 1547, 1547, 1547, 1547, 1547,
808 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1548, 1516,
809 1516, 1548, 1548, 1516, 1516, 1516, 1516, 1516, 1516, 1549,
810 1516, 1516, 1549, 1516, 1516, 1516, 1516, 1516, 1516, 1550,
811 1516, 1516, 1550, 1550, 1550, 1550, 1516, 1516, 1516, 1516,
812 1516, 1516, 1516, 1551, 1516, 1516, 1551, 1551, 1551, 1516,
813 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1552, 1516, 1516,
814 1552, 1516, 1516, 1516, 1516, 1516, 1516, 1553, 1516, 1516,
815 1553, 1553, 1553, 1553, 1516, 1516, 1516, 1516, 1516, 1516,
816 1516, 1516, 1516, 1554, 1516, 1516, 1554, 1516, 1516, 1516,
818 1516, 1516, 1516, 1555, 1516, 1516, 1516, 1516, 1516, 1516,
819 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1545,
820 1545, 1556, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
821 1546, 1546, 1557, 1516, 1547, 1547, 1547, 1547, 1547, 1547,
822 1547, 1558, 1516, 1516, 1548, 1548, 1548, 1559, 1516, 1549,
823 1549, 1560, 1516, 1550, 1550, 1550, 1550, 1550, 1550, 1561,
824 1516, 1551, 1551, 1551, 1551, 1562, 1516, 1516, 1552, 1552,
825 1563, 1516, 1553, 1553, 1553, 1553, 1553, 1564, 1516, 1516,
826 1554, 1554, 1565, 1516, 1516, 1566, 1516, 1566, 1516, 1516,
827 1516, 1567, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1545,
829 1568, 1568, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1546,
830 1569, 1569, 1547, 1516, 1516, 1547, 1547, 1547, 1547, 1570,
831 1570, 1516, 1516, 1516, 1548, 1571, 1571, 1516, 1516, 1572,
832 1572, 1550, 1516, 1516, 1550, 1550, 1550, 1573, 1573, 1551,
833 1551, 1551, 1574, 1574, 1516, 1516, 1516, 1575, 1575, 1553,
834 1553, 1553, 1553, 1576, 1576, 1516, 1554, 1577, 1577, 1516,
835 1516, 1566, 1516, 1516, 1566, 1516, 1516, 1567, 1516, 1516,
836 1516, 1516, 1516, 1516, 1545, 1516, 1568, 1516, 1568, 1516,
837 1516, 1516, 1516, 1516, 1516, 1516, 1546, 1516, 1569, 1516,
838 1569, 1547, 1516, 1516, 1516, 1547, 1547, 1547, 1547, 1516,
840 1570, 1516, 1570, 1516, 1516, 1516, 1516, 1548, 1516, 1571,
841 1516, 1571, 1516, 1516, 1516, 1516, 1572, 1516, 1572, 1550,
842 1516, 1516, 1516, 1550, 1550, 1550, 1516, 1573, 1516, 1573,
843 1516, 1516, 1551, 1516, 1516, 1516, 1574, 1516, 1574, 1516,
844 1516, 1516, 1516, 1516, 1575, 1516, 1575, 1553, 1553, 1553,
845 1553, 1516, 1576, 1516, 1576, 1516, 1554, 1516, 1577, 1516,
846 1577, 1516, 1566, 1578, 1516, 1516, 1516, 1516, 1516, 1545,
847 1568, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
848 1569, 1547, 1547, 1547, 1547, 1547, 1570, 1516, 1548, 1571,
849 1572, 1550, 1550, 1550, 1550, 1573, 1516, 1516, 1516, 1551,
851 1516, 1516, 1516, 1574, 1516, 1575, 1553, 1516, 1516, 1553,
852 1553, 1576, 1516, 1554, 1577, 1516, 1566, 1578, 1578, 1516,
853 1578, 1516, 1516, 1516, 1545, 1568, 1516, 1516, 1516, 1516,
854 1516, 1516, 1516, 1516, 1516, 1516, 1569, 1547, 1547, 1547,
855 1516, 1516, 1516, 1516, 1547, 1570, 1516, 1516, 1516, 1571,
856 1572, 1550, 1550, 1550, 1516, 1516, 1550, 1573, 1551, 1574,
857 1516, 1575, 1553, 1516, 1516, 1516, 1553, 1553, 1576, 1516,
858 1516, 1516, 1577, 1516, 1566, 1578, 1578, 1516, 1516, 1545,
859 1568, 1516, 1516, 1516, 1516, 1569, 1547, 1547, 1547, 1516,
860 1516, 1516, 1516, 1516, 1516, 1547, 1516, 1516, 1516, 1516,
862 1516, 1516, 1516, 1572, 1550, 1550, 1550, 1516, 1516, 1516,
863 1550, 1516, 1516, 1551, 1574, 1516, 1575, 1553, 1553, 1553,
864 1576, 1516, 1516, 1516, 1516, 1577, 1516, 1566, 1578, 1578,
865 1516, 1516, 1516, 1568, 1516, 1516, 1516, 1569, 1547, 1547,
866 1547, 1516, 1516, 1547, 1572, 1550, 1516, 1516, 1550, 1550,
867 1516, 1516, 1550, 1551, 1516, 1516, 1516, 1575, 1553, 1553,
868 1553, 1576, 1516, 1577, 1516, 1566, 1578, 1578, 1516, 1516,
869 1516, 1516, 1568, 1516, 1516, 1569, 1547, 1547, 1547, 1516,
870 1516, 1516, 1516, 1547, 1516, 1516, 1550, 1516, 1516, 1516,
871 1550, 1550, 1516, 1516, 1516, 1516, 1550, 1551, 1516, 1575,
873 1516, 1516, 1553, 1553, 1576, 1516, 1577, 1516, 1566, 1578,
874 1578, 1516, 1568, 1516, 1516, 1547, 1547, 1547, 1516, 1516,
875 1516, 1516, 1547, 1516, 1516, 1550, 1550, 1550, 1516, 1516,
876 1516, 1516, 1550, 1551, 1516, 1575, 1516, 1516, 1516, 1516,
877 1516, 1553, 1516, 1516, 1516, 1577, 1566, 1566, 1566, 1566,
878 1566, 1566, 1578, 1578, 1516, 1568, 1547, 1547, 1547, 1516,
879 1516, 1516, 1516, 1516, 1516, 1516, 1550, 1550, 1550, 1516,
880 1516, 1516, 1516, 1551, 1551, 1516, 1516, 1516, 1516, 1516,
881 1516, 1516, 1516, 1516, 1566, 1566, 1566, 1566, 1566, 1566,
882 1566, 1578, 1578, 1516, 1568, 1547, 1547, 1547, 1516, 1516,
884 1516, 1550, 1550, 1550, 1516, 1516, 1516, 1551, 1551, 1516,
885 1516, 1516, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1578,
886 1578, 1516, 1568, 1516, 1516, 1547, 1547, 1547, 1550, 1516,
887 1516, 1550, 1551, 1551, 1566, 1566, 1566, 1566, 1566, 1566,
888 1566, 1566, 1578, 1578, 1578, 1516, 1568, 1516, 1516, 1516,
889 1547, 1547, 1547, 1547, 1550, 1516, 1516, 1516, 1550, 1516,
890 1516, 1551, 1516, 1516, 1551, 1566, 1566, 1566, 1566, 1566,
891 1566, 1566, 1566, 1566, 1578, 1578, 1578, 1579, 1580, 1516,
892 1568, 1547, 1547, 1547, 1547, 1516, 1516, 1516, 1516, 1516,
893 1516, 1516, 1551, 1516, 1516, 1516, 1551, 1566, 1566, 1566,
895 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1578, 1581, 1582,
896 1579, 1580, 1516, 1568, 1547, 1547, 1547, 1547, 1516, 1516,
897 1516, 1516, 1516, 1516, 1551, 1551, 1566, 1566, 1566, 1566,
898 1566, 1566, 1566, 1566, 1566, 1566, 1581, 1578, 1583, 1582,
899 1584, 1578, 1516, 1568, 1547, 1547, 1547, 1547, 1516, 1516,
900 1516, 1516, 1551, 1551, 1566, 1566, 1566, 1566, 1566, 1566,
901 1566, 1566, 1566, 1566, 1583, 1516, 1584, 1578, 1516, 1568,
902 1516, 1516, 1516, 1516, 1516, 1516, 1547, 1516, 1516, 1516,
903 1516, 1516, 1516, 1551, 1551, 1566, 1566, 1566, 1566, 1566,
904 1566, 1566, 1566, 1566, 1566, 1516, 1516, 1568, 1516, 1516,
906 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1547, 1516, 1516,
907 1516, 1516, 1516, 1516, 1516, 1551, 1551, 1566, 1566, 1566,
908 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1516, 1516, 1568,
909 1547, 1516, 1516, 1516, 1516, 1551, 1551, 1566, 1566, 1566,
910 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1516, 1568, 1547,
911 1516, 1516, 1516, 1516, 1551, 1551, 1566, 1566, 1566, 1566,
912 1566, 1566, 1566, 1566, 1566, 1566, 1516, 1568, 1547, 1516,
913 1516, 1516, 1516, 1551, 1551, 1566, 1566, 1566, 1566, 1566,
914 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1516, 1516,
915 1516, 1516, 1516, 1516, 1516, 1516, 1551, 1551, 1566, 1566,
917 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
918 1566, 1566, 1516, 1516, 1516, 1516, 1516, 1551, 1551, 1566,
919 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
920 1566, 1566, 1566, 1566, 1551, 1551, 1566, 1566, 1566, 1566,
921 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
922 1566, 1566, 1566, 1551, 1551, 1566, 1566, 1566, 1566, 1566,
923 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
924 1566, 1566, 1566, 1566, 1551, 1551, 1566, 1566, 1566, 1566,
925 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
926 1566, 1566, 1566, 1566, 1566, 1551, 1551, 1566, 1566, 1566,
928 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
929 1566, 1566, 1566, 1566, 1566, 1566, 1551, 1551, 1566, 1566,
930 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
931 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1516, 1516, 1516,
932 1516, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
933 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
934 1516, 1516, 1516, 1516, 1516, 1516, 1566, 1566, 1566, 1566,
935 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
936 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
937 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
939 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
940 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
941 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
942 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
943 1566, 1566, 1516, 1566, 1566, 1566, 1516, 1566, 1566, 1566,
944 1566, 1566, 1566, 1516, 1566, 1566, 1566, 1566, 1566, 1566,
945 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1516, 1566, 1566,
946 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1516, 1566, 1566,
947 1516, 1566, 1566, 1566, 1566, 1516, 1566, 1516, 1566, 1516,
948 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
950 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566, 1566,
951 1566, 1566, 1566, 1566, 1516, 0, 1516, 1516, 1516, 1516,
952 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
953 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
954 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
955 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
956 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
957 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
958 1516, 1516, 1516, 1516
961 static yyconst flex_int16_t yy_nxt[4349] =
963 1516, 142, 143, 142, 142, 143, 142, 142, 143, 142,
964 142, 143, 142, 150, 1516, 144, 150, 153, 144, 153,
965 151, 145, 1038, 151, 145, 147, 143, 147, 147, 143,
966 147, 156, 157, 154, 1039, 154, 158, 159, 391, 148,
967 156, 157, 148, 387, 160, 158, 159, 156, 157, 337,
968 161, 304, 158, 160, 156, 157, 388, 161, 338, 158,
969 160, 163, 164, 163, 164, 305, 304, 160, 143, 143,
970 143, 143, 143, 143, 175, 143, 175, 175, 143, 175,
971 306, 307, 166, 307, 463, 166, 393, 392, 176, 394,
972 766, 176, 303, 303, 303, 306, 165, 306, 165, 167,
974 168, 143, 168, 167, 167, 167, 167, 167, 167, 167,
975 169, 167, 1318, 167, 171, 167, 172, 167, 143, 143,
976 143, 463, 358, 143, 143, 143, 175, 143, 175, 175,
977 143, 175, 177, 359, 465, 167, 167, 177, 620, 391,
978 178, 467, 307, 178, 303, 303, 303, 303, 303, 303,
979 303, 303, 303, 303, 303, 303, 306, 620, 173, 167,
980 168, 143, 168, 167, 167, 167, 167, 167, 167, 167,
981 169, 167, 729, 167, 171, 167, 172, 167, 175, 143,
982 175, 767, 463, 175, 143, 175, 143, 143, 143, 143,
983 143, 143, 179, 329, 463, 167, 167, 179, 563, 617,
985 180, 620, 463, 180, 620, 175, 143, 175, 175, 143,
986 175, 175, 143, 175, 175, 143, 175, 463, 173, 181,
987 675, 620, 181, 1119, 463, 182, 853, 307, 182, 143,
988 143, 143, 143, 143, 143, 175, 143, 175, 175, 143,
989 175, 306, 768, 183, 620, 780, 183, 730, 915, 179,
990 781, 307, 179, 175, 143, 175, 175, 143, 175, 143,
991 143, 143, 143, 143, 143, 306, 782, 184, 1317, 323,
992 184, 783, 1297, 185, 854, 307, 185, 175, 143, 175,
993 175, 143, 175, 175, 143, 175, 175, 143, 175, 306,
994 793, 182, 463, 795, 182, 794, 325, 186, 796, 307,
996 186, 143, 143, 143, 143, 143, 143, 175, 143, 175,
997 175, 143, 175, 306, 620, 187, 463, 463, 187, 952,
998 953, 184, 888, 307, 184, 143, 143, 143, 143, 143,
999 143, 175, 143, 175, 175, 143, 175, 306, 917, 188,
1000 463, 1002, 188, 463, 892, 186, 463, 307, 186, 175,
1001 143, 175, 175, 143, 175, 143, 143, 143, 143, 143,
1002 143, 306, 1296, 189, 463, 1276, 189, 971, 620, 177,
1003 463, 913, 177, 190, 191, 143, 191, 190, 190, 190,
1004 190, 190, 190, 190, 192, 190, 936, 190, 194, 190,
1005 195, 190, 198, 143, 198, 938, 318, 198, 143, 198,
1007 143, 143, 143, 303, 303, 303, 199, 811, 885, 190,
1008 190, 199, 463, 463, 180, 463, 463, 196, 190, 191,
1009 143, 191, 190, 190, 190, 190, 190, 190, 190, 192,
1010 190, 1028, 190, 194, 190, 195, 190, 143, 143, 143,
1011 1000, 620, 212, 143, 212, 212, 143, 212, 303, 303,
1012 303, 180, 463, 919, 190, 190, 213, 935, 1275, 213,
1013 620, 621, 196, 200, 201, 143, 201, 200, 200, 200,
1014 200, 200, 200, 200, 202, 200, 810, 200, 204, 200,
1015 205, 200, 143, 143, 143, 463, 887, 143, 143, 143,
1016 212, 143, 212, 212, 143, 212, 214, 307, 307, 200,
1018 200, 214, 206, 307, 213, 322, 1038, 213, 463, 1255,
1019 207, 306, 306, 208, 620, 1041, 209, 306, 966, 210,
1020 200, 201, 143, 201, 200, 200, 200, 200, 200, 200,
1021 200, 202, 200, 463, 200, 204, 200, 205, 200, 212,
1022 143, 212, 943, 886, 212, 143, 212, 143, 143, 143,
1023 143, 143, 143, 215, 328, 307, 200, 200, 215, 206,
1024 307, 214, 333, 1254, 214, 889, 1049, 207, 1236, 306,
1025 208, 890, 463, 209, 306, 1050, 210, 216, 217, 143,
1026 217, 216, 216, 216, 216, 216, 216, 216, 218, 216,
1027 463, 216, 220, 216, 221, 216, 225, 143, 225, 463,
1029 463, 225, 143, 225, 143, 143, 143, 143, 143, 143,
1030 226, 307, 939, 216, 216, 226, 307, 1030, 183, 1235,
1031 307, 183, 1219, 1218, 222, 306, 303, 303, 303, 914,
1032 306, 303, 303, 303, 306, 891, 223, 216, 217, 143,
1033 217, 216, 216, 216, 216, 216, 216, 216, 218, 216,
1034 463, 216, 220, 216, 221, 216, 235, 143, 235, 324,
1035 326, 235, 143, 235, 143, 143, 143, 143, 143, 143,
1036 236, 307, 307, 216, 216, 236, 307, 463, 185, 342,
1037 307, 185, 937, 322, 222, 306, 306, 303, 303, 303,
1038 306, 303, 303, 303, 306, 463, 223, 227, 228, 143,
1040 228, 227, 227, 227, 227, 227, 227, 227, 229, 227,
1041 1060, 227, 231, 227, 232, 227, 248, 143, 248, 324,
1042 343, 248, 143, 248, 143, 143, 143, 143, 143, 143,
1043 249, 1051, 620, 227, 227, 249, 968, 463, 214, 463,
1044 1052, 214, 463, 1121, 233, 227, 228, 143, 228, 227,
1045 227, 227, 227, 227, 227, 227, 229, 227, 463, 227,
1046 231, 227, 232, 227, 248, 143, 248, 893, 972, 248,
1047 143, 248, 248, 143, 248, 248, 143, 248, 249, 942,
1048 463, 227, 227, 249, 974, 463, 250, 1217, 463, 250,
1049 463, 1125, 233, 237, 238, 143, 238, 237, 237, 237,
1051 237, 237, 237, 237, 239, 237, 1034, 237, 241, 237,
1052 242, 237, 143, 143, 143, 918, 998, 143, 143, 143,
1053 261, 143, 261, 261, 143, 261, 187, 307, 463, 237,
1054 237, 187, 307, 243, 262, 1216, 1038, 262, 1198, 348,
1055 244, 306, 245, 303, 303, 303, 306, 463, 1039, 246,
1056 237, 238, 143, 238, 237, 237, 237, 237, 237, 237,
1057 237, 239, 237, 1003, 237, 241, 237, 242, 237, 143,
1058 143, 143, 367, 1029, 143, 143, 143, 261, 143, 261,
1059 261, 143, 261, 263, 307, 1197, 237, 237, 263, 307,
1060 243, 262, 463, 1426, 262, 463, 352, 244, 306, 245,
1062 303, 303, 303, 306, 463, 463, 246, 251, 252, 143,
1063 252, 251, 251, 251, 251, 251, 251, 251, 253, 251,
1064 1056, 251, 255, 251, 256, 251, 261, 143, 261, 916,
1065 1032, 261, 143, 261, 143, 143, 143, 143, 143, 143,
1066 264, 1038, 1196, 251, 251, 264, 463, 307, 263, 257,
1067 1041, 263, 620, 620, 258, 303, 303, 303, 303, 303,
1068 303, 306, 1058, 259, 251, 252, 143, 252, 251, 251,
1069 251, 251, 251, 251, 251, 253, 251, 463, 251, 255,
1070 251, 256, 251, 273, 143, 273, 920, 921, 273, 143,
1071 273, 143, 143, 143, 143, 143, 143, 274, 1426, 463,
1073 251, 251, 274, 307, 463, 188, 257, 463, 188, 463,
1074 360, 258, 303, 303, 303, 1062, 1004, 306, 728, 463,
1075 259, 265, 266, 143, 266, 265, 265, 265, 265, 265,
1076 265, 265, 267, 265, 1123, 265, 269, 265, 270, 265,
1077 286, 143, 286, 940, 463, 286, 143, 286, 143, 143,
1078 143, 143, 143, 143, 287, 941, 463, 265, 265, 287,
1079 1195, 1087, 288, 463, 463, 288, 463, 1139, 271, 265,
1080 266, 143, 266, 265, 265, 265, 265, 265, 265, 265,
1081 267, 265, 1094, 265, 269, 265, 270, 265, 286, 143,
1082 286, 463, 463, 286, 143, 286, 286, 143, 286, 286,
1084 143, 286, 287, 1031, 1055, 265, 265, 287, 463, 1089,
1085 289, 463, 1194, 289, 1146, 1193, 271, 275, 276, 143,
1086 276, 275, 275, 275, 275, 275, 275, 275, 277, 275,
1087 1033, 275, 279, 275, 280, 275, 143, 143, 143, 463,
1088 463, 143, 143, 143, 299, 143, 299, 303, 303, 303,
1089 290, 1141, 1221, 275, 275, 290, 874, 307, 300, 463,
1090 1091, 281, 463, 282, 322, 283, 312, 303, 303, 303,
1091 875, 306, 463, 284, 275, 276, 143, 276, 275, 275,
1092 275, 275, 275, 275, 275, 277, 275, 463, 275, 279,
1093 275, 280, 275, 299, 143, 299, 303, 303, 303, 313,
1095 1222, 1162, 325, 1175, 1093, 314, 326, 300, 327, 315,
1096 275, 275, 307, 1224, 316, 463, 156, 157, 281, 322,
1097 282, 158, 283, 303, 303, 303, 306, 463, 463, 301,
1098 284, 291, 292, 143, 292, 291, 291, 291, 291, 291,
1099 291, 291, 293, 291, 1126, 291, 295, 291, 296, 291,
1100 1308, 302, 156, 157, 303, 303, 303, 158, 303, 303,
1101 303, 326, 1027, 328, 307, 301, 307, 291, 291, 307,
1102 307, 322, 307, 342, 307, 307, 322, 366, 306, 360,
1103 306, 322, 371, 306, 306, 1174, 306, 302, 306, 306,
1104 297, 291, 292, 143, 292, 291, 291, 291, 291, 291,
1106 291, 291, 293, 291, 463, 291, 295, 291, 296, 291,
1107 307, 323, 324, 326, 325, 343, 323, 322, 326, 325,
1108 327, 343, 307, 326, 306, 327, 307, 291, 291, 366,
1109 307, 307, 307, 378, 307, 463, 306, 378, 1059, 383,
1110 306, 303, 303, 303, 306, 306, 306, 1173, 306, 463,
1111 297, 303, 303, 303, 463, 325, 414, 414, 414, 326,
1112 463, 328, 423, 423, 423, 379, 379, 367, 1300, 379,
1113 1127, 415, 428, 428, 428, 1143, 463, 424, 1063, 343,
1114 343, 433, 433, 433, 446, 446, 446, 429, 476, 476,
1115 476, 476, 476, 476, 1095, 463, 434, 463, 463, 447,
1117 488, 488, 488, 463, 478, 463, 1145, 478, 488, 488,
1118 488, 414, 414, 414, 1140, 1120, 490, 463, 493, 493,
1119 493, 1124, 494, 1138, 490, 495, 415, 500, 500, 500,
1120 500, 500, 500, 423, 423, 423, 509, 509, 509, 479,
1121 505, 505, 505, 502, 506, 463, 502, 507, 424, 509,
1122 509, 509, 511, 428, 428, 428, 463, 1266, 491, 513,
1123 513, 513, 1147, 514, 1172, 511, 515, 1165, 429, 516,
1124 516, 516, 516, 516, 516, 433, 433, 433, 527, 527,
1125 527, 503, 521, 521, 521, 518, 522, 463, 518, 523,
1126 434, 527, 527, 527, 529, 531, 531, 531, 534, 534,
1128 534, 1171, 463, 512, 536, 536, 536, 529, 1166, 463,
1129 532, 1183, 463, 535, 536, 536, 536, 446, 446, 446,
1130 538, 1170, 463, 519, 541, 541, 541, 1142, 542, 1159,
1131 538, 543, 447, 544, 544, 544, 463, 530, 544, 544,
1132 544, 552, 552, 552, 552, 552, 552, 463, 463, 546,
1133 558, 558, 558, 1163, 546, 463, 1329, 554, 1188, 463,
1134 554, 558, 558, 558, 1144, 539, 560, 476, 476, 476,
1135 476, 476, 476, 476, 476, 476, 1176, 560, 579, 579,
1136 579, 463, 463, 478, 547, 1227, 478, 1169, 1179, 478,
1137 488, 488, 488, 580, 488, 488, 488, 1157, 555, 463,
1139 488, 488, 488, 627, 627, 627, 490, 500, 500, 500,
1140 490, 571, 500, 500, 500, 561, 490, 493, 493, 493,
1141 463, 494, 463, 502, 495, 500, 500, 500, 502, 505,
1142 505, 505, 1301, 506, 463, 463, 507, 509, 509, 509,
1143 581, 502, 509, 509, 509, 509, 509, 509, 513, 513,
1144 513, 1161, 514, 511, 463, 515, 463, 1156, 511, 1200,
1145 1206, 511, 516, 516, 516, 516, 516, 516, 516, 516,
1146 516, 1182, 521, 521, 521, 1225, 522, 463, 518, 523,
1147 587, 518, 463, 1184, 518, 527, 527, 527, 527, 527,
1148 527, 527, 527, 527, 463, 1201, 590, 531, 531, 531,
1150 1199, 529, 463, 463, 529, 463, 463, 529, 1205, 597,
1151 597, 597, 532, 598, 1202, 463, 599, 534, 534, 534,
1152 601, 601, 601, 1229, 602, 591, 1207, 603, 536, 536,
1153 536, 463, 535, 536, 536, 536, 536, 536, 536, 463,
1154 463, 596, 1220, 1238, 538, 1203, 541, 541, 541, 538,
1155 542, 1226, 538, 543, 544, 544, 544, 544, 544, 544,
1156 544, 544, 544, 608, 608, 608, 552, 552, 552, 463,
1157 546, 463, 463, 546, 463, 1450, 546, 1239, 609, 552,
1158 552, 552, 554, 552, 552, 552, 558, 558, 558, 558,
1159 558, 558, 463, 604, 463, 554, 558, 558, 558, 554,
1161 463, 1258, 560, 1155, 463, 560, 619, 619, 619, 1242,
1162 606, 1204, 560, 476, 476, 476, 629, 629, 629, 647,
1163 647, 647, 620, 621, 579, 579, 579, 1304, 463, 478,
1164 1243, 634, 634, 634, 612, 635, 1245, 1305, 636, 580,
1165 615, 488, 488, 488, 641, 641, 641, 643, 643, 643,
1166 500, 500, 500, 648, 648, 648, 1154, 490, 463, 642,
1167 463, 463, 644, 509, 509, 509, 502, 1208, 649, 626,
1168 516, 516, 516, 655, 655, 655, 527, 527, 527, 511,
1169 536, 536, 536, 463, 645, 1259, 518, 463, 656, 637,
1170 1153, 1287, 529, 597, 597, 597, 538, 598, 1429, 1209,
1172 599, 601, 601, 601, 1152, 602, 646, 463, 603, 1151,
1173 657, 544, 544, 544, 463, 650, 608, 608, 608, 671,
1174 671, 671, 463, 658, 1230, 1248, 651, 546, 664, 664,
1175 664, 609, 665, 463, 672, 666, 660, 552, 552, 552,
1176 558, 558, 558, 619, 619, 619, 476, 476, 476, 627,
1177 627, 627, 1249, 554, 1150, 1148, 560, 463, 662, 620,
1178 1262, 1231, 478, 629, 629, 629, 684, 684, 684, 684,
1179 684, 684, 634, 634, 634, 463, 635, 669, 463, 636,
1180 488, 488, 488, 463, 1263, 676, 647, 647, 647, 681,
1181 641, 641, 641, 643, 643, 643, 490, 673, 648, 648,
1183 648, 677, 690, 690, 690, 642, 691, 1137, 644, 692,
1184 693, 693, 693, 649, 694, 463, 1250, 695, 463, 1251,
1185 685, 1271, 697, 697, 697, 699, 699, 699, 463, 700,
1186 463, 463, 701, 702, 702, 702, 1136, 686, 698, 516,
1187 516, 516, 655, 655, 655, 1269, 708, 708, 708, 703,
1188 709, 463, 463, 710, 1232, 518, 1369, 656, 712, 712,
1189 712, 536, 536, 536, 544, 544, 544, 1252, 664, 664,
1190 664, 1273, 665, 1135, 713, 666, 717, 538, 1270, 463,
1191 546, 704, 552, 552, 552, 671, 671, 671, 723, 723,
1192 723, 1253, 724, 1134, 463, 725, 463, 463, 554, 1133,
1194 672, 463, 463, 715, 558, 558, 558, 732, 732, 732,
1195 476, 476, 476, 684, 684, 684, 737, 737, 737, 1396,
1196 560, 1132, 733, 1279, 721, 463, 478, 488, 488, 488,
1197 690, 690, 690, 1260, 691, 1261, 1267, 692, 693, 693,
1198 693, 1268, 694, 490, 463, 695, 697, 697, 697, 463,
1199 699, 699, 699, 726, 700, 463, 463, 701, 702, 702,
1200 702, 734, 698, 516, 516, 516, 1274, 463, 738, 747,
1201 747, 747, 1432, 1131, 703, 1129, 708, 708, 708, 518,
1202 709, 1321, 1272, 710, 748, 712, 712, 712, 755, 755,
1203 755, 544, 544, 544, 552, 552, 552, 1281, 723, 723,
1205 723, 713, 724, 463, 756, 725, 749, 546, 1282, 1429,
1206 554, 558, 558, 558, 732, 732, 732, 745, 770, 770,
1207 770, 463, 771, 463, 463, 772, 463, 560, 463, 733,
1208 463, 758, 476, 476, 476, 774, 774, 774, 775, 775,
1209 775, 737, 737, 737, 1288, 488, 488, 488, 478, 762,
1210 785, 785, 785, 764, 747, 747, 747, 1292, 788, 788,
1211 788, 490, 789, 1277, 1289, 790, 786, 1278, 463, 748,
1212 1280, 463, 755, 755, 755, 544, 544, 544, 801, 801,
1213 801, 552, 552, 552, 1128, 1344, 773, 776, 756, 1117,
1214 1116, 546, 463, 802, 558, 558, 558, 554, 809, 809,
1216 809, 770, 770, 770, 463, 771, 463, 1285, 772, 1294,
1217 560, 476, 476, 476, 463, 774, 774, 774, 775, 775,
1218 775, 814, 814, 814, 785, 785, 785, 478, 824, 824,
1219 824, 800, 835, 835, 835, 463, 805, 815, 1115, 463,
1220 786, 1114, 1435, 825, 807, 788, 788, 788, 1283, 789,
1221 1284, 463, 790, 544, 544, 544, 801, 801, 801, 463,
1222 813, 840, 840, 840, 1370, 826, 837, 837, 837, 546,
1223 838, 802, 463, 839, 1286, 463, 841, 843, 843, 843,
1224 845, 845, 845, 558, 558, 558, 476, 476, 476, 814,
1225 814, 814, 463, 844, 862, 862, 862, 1295, 1113, 560,
1227 463, 1112, 478, 836, 1108, 815, 824, 824, 824, 863,
1228 864, 864, 864, 1302, 865, 463, 1290, 866, 872, 872,
1229 872, 825, 463, 856, 835, 835, 835, 876, 876, 876,
1230 837, 837, 837, 873, 838, 463, 1291, 839, 1303, 846,
1231 809, 809, 809, 877, 840, 840, 840, 878, 878, 878,
1232 463, 879, 463, 1309, 880, 1311, 463, 463, 463, 841,
1233 881, 881, 881, 843, 843, 843, 845, 845, 845, 1464,
1234 463, 883, 883, 883, 463, 882, 1298, 1293, 847, 844,
1235 476, 476, 476, 463, 463, 848, 849, 884, 850, 862,
1236 862, 862, 851, 1299, 852, 1310, 478, 463, 899, 899,
1238 899, 1315, 900, 463, 863, 901, 864, 864, 864, 463,
1239 865, 1306, 1097, 866, 872, 872, 872, 1312, 905, 905,
1240 905, 895, 906, 463, 1307, 907, 876, 876, 876, 873,
1241 878, 878, 878, 463, 879, 1322, 1316, 880, 881, 881,
1242 881, 1313, 877, 910, 910, 910, 463, 911, 1066, 463,
1243 912, 1435, 463, 882, 883, 883, 883, 476, 476, 476,
1244 924, 924, 924, 463, 899, 899, 899, 1314, 900, 463,
1245 884, 901, 1491, 478, 463, 925, 930, 930, 930, 905,
1246 905, 905, 463, 906, 1319, 1334, 907, 1320, 910, 910,
1247 910, 931, 911, 463, 1096, 912, 1323, 926, 463, 923,
1249 944, 944, 944, 476, 476, 476, 924, 924, 924, 1324,
1250 948, 948, 948, 1066, 949, 945, 620, 950, 1336, 478,
1251 463, 925, 930, 930, 930, 956, 956, 956, 463, 957,
1252 1325, 1327, 958, 960, 960, 960, 1085, 931, 963, 963,
1253 963, 967, 967, 967, 969, 969, 969, 1084, 961, 973,
1254 973, 973, 1326, 964, 463, 1330, 970, 463, 947, 463,
1255 463, 975, 975, 975, 463, 463, 944, 944, 944, 463,
1256 962, 1083, 476, 476, 476, 965, 976, 620, 1006, 1006,
1257 1006, 945, 620, 977, 977, 977, 1332, 978, 478, 463,
1258 979, 948, 948, 948, 463, 949, 1331, 1328, 950, 620,
1260 986, 986, 986, 956, 956, 956, 463, 957, 1337, 463,
1261 958, 463, 981, 1082, 1373, 987, 988, 988, 988, 960,
1262 960, 960, 990, 990, 990, 463, 991, 463, 1081, 992,
1263 463, 989, 1007, 1342, 961, 963, 963, 963, 994, 994,
1264 994, 1333, 995, 1415, 1335, 996, 967, 967, 967, 1080,
1265 964, 969, 969, 969, 973, 973, 973, 975, 975, 975,
1266 463, 463, 463, 1359, 1008, 1008, 1008, 463, 1009, 1346,
1267 463, 1010, 976, 620, 1345, 977, 977, 977, 999, 978,
1268 620, 463, 979, 1001, 463, 463, 1005, 1343, 476, 476,
1269 476, 620, 618, 618, 618, 618, 618, 618, 618, 618,
1271 618, 1069, 1066, 618, 478, 1347, 618, 618, 618, 620,
1272 618, 986, 986, 986, 1019, 1019, 1019, 1357, 1020, 463,
1273 1348, 1021, 1495, 1006, 1006, 1006, 987, 463, 618, 618,
1274 618, 618, 618, 618, 618, 618, 618, 618, 618, 463,
1275 463, 618, 1014, 463, 618, 618, 618, 620, 618, 988,
1276 988, 988, 1022, 1022, 1022, 1035, 1023, 1066, 463, 1024,
1277 1493, 990, 990, 990, 989, 991, 618, 618, 992, 994,
1278 994, 994, 1358, 995, 463, 1384, 996, 1036, 1036, 1036,
1279 1008, 1008, 1008, 463, 1009, 1350, 1054, 1010, 1019, 1019,
1280 1019, 1053, 1020, 463, 463, 1021, 620, 618, 618, 618,
1282 618, 618, 1042, 618, 618, 618, 1048, 1360, 618, 463,
1283 1351, 618, 618, 618, 620, 618, 476, 476, 476, 1022,
1284 1022, 1022, 463, 1023, 1349, 463, 1024, 1371, 1057, 1057,
1285 1057, 463, 478, 618, 618, 618, 618, 618, 618, 618,
1286 618, 618, 618, 1042, 463, 463, 618, 1374, 1492, 618,
1287 618, 618, 620, 618, 1061, 1061, 1061, 1036, 1036, 1036,
1288 463, 463, 1044, 1068, 1068, 1068, 476, 476, 476, 1353,
1289 463, 618, 618, 463, 1355, 1071, 1071, 1071, 1372, 620,
1290 621, 463, 478, 1073, 1073, 1073, 1075, 1075, 1075, 1064,
1291 1072, 1078, 1078, 1078, 1086, 1086, 1086, 1047, 1074, 463,
1293 1388, 1076, 1494, 1057, 1057, 1057, 1079, 1167, 1167, 1167,
1294 463, 1090, 1090, 1090, 1061, 1061, 1061, 463, 1070, 463,
1295 1068, 1068, 1068, 1077, 476, 476, 476, 463, 1046, 463,
1296 463, 463, 1071, 1071, 1071, 1088, 620, 1099, 1099, 1099,
1297 478, 1100, 463, 1354, 1101, 463, 1092, 1072, 1073, 1073,
1298 1073, 1102, 1102, 1102, 463, 1103, 463, 1389, 1104, 1075,
1299 1075, 1075, 676, 1074, 1105, 1105, 1105, 1045, 1106, 1496,
1300 1043, 1107, 1356, 1367, 1076, 1078, 1078, 1078, 463, 463,
1301 1098, 1109, 1109, 1109, 463, 1110, 1368, 1378, 1111, 1375,
1302 1079, 1086, 1086, 1086, 1090, 1090, 1090, 476, 476, 476,
1304 1376, 1099, 1099, 1099, 1026, 1100, 463, 463, 1101, 1380,
1305 463, 1379, 1382, 478, 1102, 1102, 1102, 1383, 1103, 463,
1306 1025, 1104, 1018, 1118, 463, 1017, 1122, 1105, 1105, 1105,
1307 463, 1106, 463, 1016, 1107, 1109, 1109, 1109, 1385, 1110,
1308 463, 1015, 1111, 1130, 476, 476, 476, 1158, 1158, 1158,
1309 1160, 1160, 1160, 1164, 1164, 1164, 476, 476, 476, 463,
1310 478, 1403, 1390, 463, 1391, 1381, 463, 463, 463, 463,
1311 1455, 1404, 478, 1158, 1158, 1158, 1013, 1177, 463, 463,
1312 1178, 1160, 1160, 1160, 997, 1180, 463, 463, 1181, 463,
1313 463, 1397, 1164, 1164, 1164, 1149, 1185, 463, 463, 1186,
1315 1187, 1187, 1187, 1167, 1167, 1167, 1168, 1392, 463, 1189,
1316 1189, 1189, 1191, 1191, 1191, 463, 463, 1187, 1187, 1187,
1317 1386, 1210, 463, 1387, 1211, 1190, 1393, 1192, 1212, 1212,
1318 1212, 1394, 463, 463, 1189, 1189, 1189, 1191, 1191, 1191,
1319 993, 1213, 1213, 1213, 463, 1214, 463, 1398, 1215, 463,
1320 1190, 985, 1192, 1223, 1223, 1223, 1228, 1228, 1228, 1212,
1321 1212, 1212, 1399, 1233, 463, 1395, 1234, 463, 463, 463,
1322 463, 1401, 463, 463, 1402, 463, 1213, 1213, 1213, 984,
1323 1214, 1469, 983, 1215, 1237, 1237, 1237, 1223, 1223, 1223,
1324 463, 1240, 982, 1407, 1241, 1244, 1244, 1244, 1408, 1405,
1326 463, 1409, 1406, 463, 1400, 1228, 1228, 1228, 463, 1246,
1327 463, 463, 1247, 1237, 1237, 1237, 463, 1256, 980, 1410,
1328 1257, 463, 463, 1244, 1244, 1244, 463, 1264, 463, 463,
1329 1265, 1338, 1338, 1338, 1340, 1340, 1340, 1497, 463, 463,
1330 1352, 1352, 1352, 1338, 1338, 1338, 1339, 1411, 1413, 1341,
1331 1361, 1361, 1361, 1412, 1362, 463, 463, 1363, 1339, 1340,
1332 1340, 1340, 1364, 1364, 1364, 463, 1365, 463, 463, 1366,
1333 1352, 1352, 1352, 1416, 1341, 1361, 1361, 1361, 1420, 1362,
1334 463, 1417, 1363, 1364, 1364, 1364, 463, 1365, 463, 463,
1335 1366, 463, 1418, 1419, 1424, 1421, 1425, 1414, 463, 463,
1337 1430, 463, 1377, 463, 1431, 463, 463, 463, 463, 463,
1338 463, 463, 463, 463, 1422, 463, 1423, 463, 463, 1442,
1339 1442, 1442, 463, 1427, 1428, 1446, 1446, 1446, 463, 463,
1340 1433, 1434, 463, 1436, 1437, 1443, 1455, 463, 1440, 463,
1341 1441, 1447, 463, 1453, 1453, 1453, 463, 1448, 463, 463,
1342 1438, 463, 1439, 1449, 1442, 1442, 1442, 1444, 1445, 1454,
1343 463, 463, 1456, 463, 1457, 1446, 1446, 1446, 463, 1451,
1344 1443, 463, 1452, 463, 1460, 1469, 1461, 1472, 1453, 1453,
1345 1453, 1447, 1458, 1467, 1467, 1467, 1459, 463, 1465, 463,
1346 463, 463, 959, 1466, 1454, 1472, 1470, 1476, 1471, 1468,
1348 1462, 1463, 1476, 463, 463, 1475, 1475, 1475, 1479, 463,
1349 463, 463, 1467, 1467, 1467, 1473, 1474, 1477, 1477, 1477,
1350 463, 463, 1479, 1480, 1480, 1480, 1482, 1482, 1468, 955,
1351 1498, 463, 463, 1478, 463, 954, 463, 951, 463, 1481,
1352 1475, 1475, 1475, 463, 1483, 463, 463, 1484, 1485, 1485,
1353 1485, 1477, 1477, 1477, 1499, 463, 463, 1487, 1487, 1487,
1354 1480, 1480, 1480, 463, 1486, 1501, 1503, 1478, 1489, 1489,
1355 1489, 1507, 463, 1488, 463, 1504, 1481, 1485, 1485, 1485,
1356 1487, 1487, 1487, 1505, 1490, 1489, 1489, 1489, 1502, 1500,
1357 463, 1506, 463, 1486, 463, 1513, 1488, 1508, 463, 1513,
1359 946, 1490, 934, 1509, 1514, 1514, 1514, 463, 463, 1514,
1360 1514, 1514, 933, 932, 1510, 929, 928, 1511, 927, 1512,
1361 1515, 922, 909, 908, 904, 1515, 140, 140, 140, 140,
1362 140, 140, 140, 141, 141, 141, 141, 141, 141, 141,
1363 146, 146, 146, 146, 146, 146, 146, 149, 149, 149,
1364 149, 149, 149, 149, 152, 152, 152, 152, 152, 152,
1365 152, 155, 155, 155, 155, 155, 155, 155, 162, 162,
1366 162, 162, 162, 162, 162, 170, 170, 170, 170, 170,
1367 170, 170, 174, 174, 174, 174, 174, 174, 174, 193,
1368 193, 193, 193, 193, 193, 193, 197, 197, 197, 197,
1370 197, 197, 197, 203, 203, 203, 203, 203, 203, 203,
1371 211, 211, 211, 211, 211, 211, 211, 219, 219, 219,
1372 219, 219, 219, 219, 224, 224, 224, 224, 224, 224,
1373 224, 230, 230, 230, 230, 230, 230, 230, 234, 234,
1374 234, 234, 234, 234, 234, 240, 240, 240, 240, 240,
1375 240, 240, 247, 247, 247, 247, 247, 247, 247, 254,
1376 254, 254, 254, 254, 254, 254, 260, 260, 260, 260,
1377 260, 260, 260, 268, 268, 268, 268, 268, 268, 268,
1378 272, 272, 272, 272, 272, 272, 272, 278, 278, 278,
1379 278, 278, 278, 278, 285, 285, 285, 285, 285, 285,
1381 285, 294, 294, 294, 294, 294, 294, 294, 298, 298,
1382 298, 298, 298, 298, 298, 155, 155, 155, 155, 155,
1383 155, 155, 320, 320, 320, 903, 320, 331, 331, 331,
1384 902, 331, 335, 335, 335, 898, 335, 345, 345, 345,
1385 897, 345, 350, 350, 350, 896, 350, 354, 354, 354,
1386 894, 354, 362, 362, 362, 871, 362, 369, 369, 369,
1387 870, 369, 373, 373, 373, 869, 373, 381, 381, 381,
1388 868, 381, 386, 386, 386, 386, 386, 867, 386, 401,
1389 861, 401, 411, 860, 411, 420, 859, 420, 426, 858,
1390 426, 430, 857, 430, 438, 855, 438, 443, 842, 443,
1392 448, 834, 448, 454, 833, 454, 458, 832, 458, 462,
1393 462, 462, 462, 462, 462, 462, 468, 831, 830, 468,
1394 477, 477, 477, 477, 477, 477, 489, 489, 489, 489,
1395 489, 489, 501, 501, 501, 501, 501, 501, 510, 510,
1396 510, 510, 510, 510, 517, 517, 517, 517, 517, 517,
1397 528, 528, 528, 528, 528, 528, 537, 537, 537, 537,
1398 537, 537, 545, 545, 545, 545, 545, 545, 553, 553,
1399 553, 553, 553, 553, 559, 559, 559, 559, 559, 559,
1400 618, 618, 618, 618, 618, 618, 618, 1011, 1011, 1011,
1401 1011, 1011, 1011, 1011, 1012, 1012, 1012, 1012, 1012, 1012,
1403 1012, 1037, 1037, 1037, 1037, 1037, 1037, 1037, 1040, 1040,
1404 1040, 1040, 1040, 1040, 1040, 1065, 1065, 1065, 1065, 1065,
1405 1065, 1065, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 829,
1406 828, 827, 823, 822, 821, 820, 819, 818, 817, 816,
1407 812, 808, 806, 804, 803, 799, 798, 797, 792, 791,
1408 787, 784, 779, 778, 777, 769, 765, 763, 761, 760,
1409 759, 757, 754, 753, 752, 751, 750, 746, 744, 743,
1410 742, 741, 740, 739, 736, 735, 731, 727, 722, 720,
1411 719, 718, 716, 714, 711, 707, 706, 705, 696, 689,
1412 688, 687, 685, 683, 682, 680, 679, 678, 620, 674,
1414 670, 668, 667, 663, 661, 659, 654, 653, 652, 640,
1415 639, 638, 633, 632, 631, 630, 628, 625, 624, 623,
1416 622, 616, 614, 613, 611, 610, 607, 605, 600, 595,
1417 594, 593, 592, 589, 588, 586, 585, 584, 583, 582,
1418 578, 577, 576, 575, 574, 573, 572, 570, 569, 568,
1419 567, 566, 565, 564, 463, 562, 557, 556, 551, 550,
1420 549, 548, 540, 533, 526, 525, 524, 520, 508, 504,
1421 499, 498, 497, 496, 492, 487, 486, 485, 484, 483,
1422 482, 481, 480, 475, 474, 473, 472, 471, 470, 469,
1423 466, 464, 463, 461, 460, 459, 457, 456, 455, 453,
1425 452, 451, 450, 449, 445, 444, 442, 441, 440, 439,
1426 437, 436, 435, 432, 431, 427, 425, 422, 421, 419,
1427 418, 417, 416, 413, 412, 410, 409, 408, 407, 406,
1428 405, 404, 403, 402, 400, 399, 398, 397, 396, 395,
1429 390, 387, 389, 385, 384, 382, 380, 377, 376, 375,
1430 374, 372, 370, 368, 365, 364, 363, 361, 357, 356,
1431 355, 353, 351, 349, 347, 346, 344, 341, 340, 339,
1432 336, 334, 332, 330, 321, 319, 317, 311, 310, 311,
1433 310, 309, 308, 1516, 139, 1516, 1516, 1516, 1516, 1516,
1434 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1436 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1437 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1438 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1439 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1440 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516
1443 static yyconst flex_int16_t yy_chk[4349] =
1445 0, 3, 3, 3, 4, 4, 4, 5, 5, 5,
1446 6, 6, 6, 9, 0, 3, 10, 11, 4, 12,
1447 9, 5, 1009, 10, 6, 7, 7, 7, 8, 8,
1448 8, 13, 13, 11, 1009, 12, 13, 13, 312, 7,
1449 14, 14, 8, 304, 13, 14, 14, 15, 15, 207,
1450 15, 144, 15, 14, 16, 16, 304, 16, 207, 16,
1451 15, 17, 17, 18, 18, 144, 145, 16, 19, 19,
1452 19, 20, 20, 20, 23, 23, 23, 24, 24, 24,
1453 145, 148, 19, 171, 728, 20, 313, 312, 23, 313,
1454 728, 24, 142, 142, 142, 148, 17, 171, 18, 21,
1456 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
1457 21, 21, 1297, 21, 21, 21, 21, 21, 25, 25,
1458 25, 388, 246, 26, 26, 26, 27, 27, 27, 28,
1459 28, 28, 25, 246, 388, 21, 21, 26, 676, 391,
1460 27, 391, 183, 28, 143, 143, 143, 147, 147, 147,
1461 168, 168, 168, 175, 175, 175, 183, 729, 21, 22,
1462 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
1463 22, 22, 676, 22, 22, 22, 22, 22, 29, 29,
1464 29, 729, 563, 30, 30, 30, 31, 31, 31, 32,
1465 32, 32, 29, 183, 465, 22, 22, 30, 465, 563,
1467 31, 810, 617, 32, 730, 33, 33, 33, 34, 34,
1468 34, 35, 35, 35, 36, 36, 36, 1087, 22, 33,
1469 617, 677, 34, 1087, 887, 35, 810, 180, 36, 37,
1470 37, 37, 38, 38, 38, 39, 39, 39, 40, 40,
1471 40, 180, 730, 37, 811, 742, 38, 677, 887, 39,
1472 742, 185, 40, 41, 41, 41, 42, 42, 42, 43,
1473 43, 43, 44, 44, 44, 185, 743, 41, 1296, 180,
1474 42, 743, 1276, 43, 811, 194, 44, 45, 45, 45,
1475 46, 46, 46, 47, 47, 47, 48, 48, 48, 194,
1476 751, 45, 850, 752, 46, 751, 185, 47, 752, 204,
1478 48, 49, 49, 49, 50, 50, 50, 51, 51, 51,
1479 52, 52, 52, 204, 853, 49, 889, 970, 50, 927,
1480 927, 51, 850, 220, 52, 53, 53, 53, 54, 54,
1481 54, 55, 55, 55, 56, 56, 56, 220, 889, 53,
1482 939, 970, 54, 885, 853, 55, 914, 166, 56, 57,
1483 57, 57, 58, 58, 58, 59, 59, 59, 60, 60,
1484 60, 166, 1275, 57, 916, 1255, 58, 939, 768, 59,
1485 847, 885, 60, 61, 61, 61, 61, 61, 61, 61,
1486 61, 61, 61, 61, 61, 61, 914, 61, 61, 61,
1487 61, 61, 63, 63, 63, 916, 166, 64, 64, 64,
1489 65, 65, 65, 191, 191, 191, 63, 768, 847, 61,
1490 61, 64, 891, 999, 65, 968, 913, 61, 62, 62,
1491 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
1492 62, 999, 62, 62, 62, 62, 62, 66, 66, 66,
1493 968, 767, 69, 69, 69, 70, 70, 70, 198, 198,
1494 198, 66, 849, 891, 62, 62, 69, 913, 1254, 70,
1495 1038, 1038, 62, 67, 67, 67, 67, 67, 67, 67,
1496 67, 67, 67, 67, 67, 67, 767, 67, 67, 67,
1497 67, 67, 71, 71, 71, 935, 849, 72, 72, 72,
1498 73, 73, 73, 74, 74, 74, 71, 231, 189, 67,
1500 67, 72, 67, 187, 73, 189, 1010, 74, 848, 1236,
1501 67, 231, 189, 67, 920, 1010, 67, 187, 935, 67,
1502 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
1503 68, 68, 68, 851, 68, 68, 68, 68, 68, 75,
1504 75, 75, 920, 848, 76, 76, 76, 77, 77, 77,
1505 78, 78, 78, 75, 187, 199, 68, 68, 76, 68,
1506 241, 77, 199, 1235, 78, 851, 1023, 68, 1219, 199,
1507 68, 851, 917, 68, 241, 1023, 68, 79, 79, 79,
1508 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
1509 886, 79, 79, 79, 79, 79, 81, 81, 81, 1001,
1511 852, 82, 82, 82, 83, 83, 83, 84, 84, 84,
1512 81, 188, 917, 79, 79, 82, 177, 1001, 83, 1218,
1513 255, 84, 1198, 1197, 79, 188, 201, 201, 201, 886,
1514 177, 212, 212, 212, 255, 852, 79, 80, 80, 80,
1515 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
1516 915, 80, 80, 80, 80, 80, 87, 87, 87, 177,
1517 188, 88, 88, 88, 89, 89, 89, 90, 90, 90,
1518 87, 214, 215, 80, 80, 88, 178, 1032, 89, 215,
1519 269, 90, 915, 178, 80, 214, 215, 217, 217, 217,
1520 178, 225, 225, 225, 269, 937, 80, 85, 85, 85,
1522 85, 85, 85, 85, 85, 85, 85, 85, 85, 85,
1523 1032, 85, 85, 85, 85, 85, 93, 93, 93, 178,
1524 214, 94, 94, 94, 95, 95, 95, 96, 96, 96,
1525 93, 1024, 854, 85, 85, 94, 937, 1089, 95, 919,
1526 1024, 96, 940, 1089, 85, 86, 86, 86, 86, 86,
1527 86, 86, 86, 86, 86, 86, 86, 86, 942, 86,
1528 86, 86, 86, 86, 97, 97, 97, 854, 940, 98,
1529 98, 98, 99, 99, 99, 100, 100, 100, 97, 919,
1530 890, 86, 86, 98, 942, 1093, 99, 1195, 1005, 100,
1531 966, 1093, 86, 91, 91, 91, 91, 91, 91, 91,
1533 91, 91, 91, 91, 91, 91, 1005, 91, 91, 91,
1534 91, 91, 101, 101, 101, 890, 966, 102, 102, 102,
1535 105, 105, 105, 106, 106, 106, 101, 263, 971, 91,
1536 91, 102, 226, 91, 105, 1193, 1037, 106, 1175, 226,
1537 91, 263, 91, 228, 228, 228, 226, 1000, 1037, 91,
1538 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
1539 92, 92, 92, 971, 92, 92, 92, 92, 92, 107,
1540 107, 107, 263, 1000, 108, 108, 108, 109, 109, 109,
1541 110, 110, 110, 107, 279, 1174, 92, 92, 108, 236,
1542 92, 109, 1003, 1407, 110, 888, 236, 92, 279, 92,
1544 235, 235, 235, 236, 1028, 1407, 92, 103, 103, 103,
1545 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
1546 1028, 103, 103, 103, 103, 103, 111, 111, 111, 888,
1547 1003, 112, 112, 112, 113, 113, 113, 114, 114, 114,
1548 111, 1040, 1173, 103, 103, 112, 1030, 295, 113, 103,
1549 1040, 114, 892, 893, 103, 238, 238, 238, 248, 248,
1550 248, 295, 1030, 103, 104, 104, 104, 104, 104, 104,
1551 104, 104, 104, 104, 104, 104, 104, 972, 104, 104,
1552 104, 104, 104, 117, 117, 117, 892, 893, 118, 118,
1553 118, 119, 119, 119, 120, 120, 120, 117, 1408, 1034,
1555 104, 104, 118, 250, 675, 119, 104, 1408, 120, 1091,
1556 250, 104, 252, 252, 252, 1034, 972, 250, 675, 918,
1557 104, 115, 115, 115, 115, 115, 115, 115, 115, 115,
1558 115, 115, 115, 115, 1091, 115, 115, 115, 115, 115,
1559 123, 123, 123, 918, 1056, 124, 124, 124, 125, 125,
1560 125, 126, 126, 126, 123, 918, 1119, 115, 115, 124,
1561 1172, 1056, 125, 1002, 1027, 126, 1063, 1119, 115, 116,
1562 116, 116, 116, 116, 116, 116, 116, 116, 116, 116,
1563 116, 116, 1063, 116, 116, 116, 116, 116, 127, 127,
1564 127, 1004, 1058, 128, 128, 128, 129, 129, 129, 130,
1566 130, 130, 127, 1002, 1027, 116, 116, 128, 1126, 1058,
1567 129, 1200, 1171, 130, 1126, 1170, 116, 121, 121, 121,
1568 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
1569 1004, 121, 121, 121, 121, 121, 131, 131, 131, 1060,
1570 1121, 132, 132, 132, 135, 135, 135, 261, 261, 261,
1571 131, 1121, 1200, 121, 121, 132, 834, 179, 135, 1201,
1572 1060, 121, 1143, 121, 179, 121, 158, 266, 266, 266,
1573 834, 179, 1203, 121, 122, 122, 122, 122, 122, 122,
1574 122, 122, 122, 122, 122, 122, 122, 1062, 122, 122,
1575 122, 122, 122, 136, 136, 136, 273, 273, 273, 158,
1577 1201, 1143, 179, 1156, 1062, 158, 179, 136, 179, 158,
1578 122, 122, 184, 1203, 158, 1287, 137, 137, 122, 184,
1579 122, 137, 122, 276, 276, 276, 184, 1094, 998, 137,
1580 122, 133, 133, 133, 133, 133, 133, 133, 133, 133,
1581 133, 133, 133, 133, 1094, 133, 133, 133, 133, 133,
1582 1287, 137, 138, 138, 286, 286, 286, 138, 292, 292,
1583 292, 184, 998, 184, 186, 138, 213, 133, 133, 176,
1584 264, 186, 249, 213, 181, 274, 176, 264, 186, 249,
1585 213, 181, 274, 176, 264, 1155, 249, 138, 181, 274,
1586 133, 134, 134, 134, 134, 134, 134, 134, 134, 134,
1588 134, 134, 134, 134, 1031, 134, 134, 134, 134, 134,
1589 182, 176, 176, 186, 176, 213, 181, 182, 176, 181,
1590 176, 249, 262, 181, 182, 181, 289, 134, 134, 262,
1591 287, 288, 300, 289, 290, 1279, 262, 287, 1031, 300,
1592 289, 299, 299, 299, 287, 288, 300, 1154, 290, 1123,
1593 134, 303, 303, 303, 1095, 182, 337, 337, 337, 182,
1594 1035, 182, 346, 346, 346, 287, 288, 262, 1279, 290,
1595 1095, 337, 351, 351, 351, 1123, 1064, 346, 1035, 287,
1596 288, 356, 356, 356, 370, 370, 370, 351, 401, 401,
1597 401, 402, 402, 402, 1064, 1125, 356, 1088, 1120, 370,
1599 411, 411, 411, 1092, 401, 1118, 1125, 402, 412, 412,
1600 412, 414, 414, 414, 1120, 1088, 411, 1245, 415, 415,
1601 415, 1092, 415, 1118, 412, 415, 414, 420, 420, 420,
1602 421, 421, 421, 423, 423, 423, 426, 426, 426, 402,
1603 424, 424, 424, 420, 424, 1127, 421, 424, 423, 427,
1604 427, 427, 426, 428, 428, 428, 1146, 1245, 412, 429,
1605 429, 429, 1127, 429, 1153, 427, 429, 1146, 428, 430,
1606 430, 430, 431, 431, 431, 433, 433, 433, 438, 438,
1607 438, 421, 434, 434, 434, 430, 434, 1162, 431, 434,
1608 433, 439, 439, 439, 438, 440, 440, 440, 442, 442,
1610 442, 1152, 1147, 427, 443, 443, 443, 439, 1147, 1122,
1611 440, 1162, 1140, 442, 444, 444, 444, 446, 446, 446,
1612 443, 1151, 1308, 431, 447, 447, 447, 1122, 447, 1140,
1613 444, 447, 446, 448, 448, 448, 1144, 439, 449, 449,
1614 449, 454, 454, 454, 455, 455, 455, 1166, 1124, 448,
1615 458, 458, 458, 1144, 449, 1206, 1308, 454, 1166, 1157,
1616 455, 459, 459, 459, 1124, 444, 458, 476, 476, 476,
1617 477, 477, 477, 479, 479, 479, 1157, 459, 487, 487,
1618 487, 1138, 1159, 476, 449, 1206, 477, 1150, 1159, 479,
1619 488, 488, 488, 487, 489, 489, 489, 1138, 455, 1280,
1621 491, 491, 491, 572, 572, 572, 488, 500, 500, 500,
1622 489, 479, 501, 501, 501, 459, 491, 493, 493, 493,
1623 1177, 493, 1183, 500, 493, 503, 503, 503, 501, 505,
1624 505, 505, 1280, 505, 1204, 1142, 505, 509, 509, 509,
1625 491, 503, 510, 510, 510, 512, 512, 512, 513, 513,
1626 513, 1142, 513, 509, 1161, 513, 1178, 1137, 510, 1177,
1627 1183, 512, 516, 516, 516, 517, 517, 517, 519, 519,
1628 519, 1161, 521, 521, 521, 1204, 521, 1163, 516, 521,
1629 503, 517, 1208, 1163, 519, 527, 527, 527, 528, 528,
1630 528, 530, 530, 530, 1176, 1178, 512, 531, 531, 531,
1632 1176, 527, 1182, 1179, 528, 1221, 1180, 530, 1182, 532,
1633 532, 532, 531, 532, 1179, 1184, 532, 534, 534, 534,
1634 535, 535, 535, 1208, 535, 519, 1184, 535, 536, 536,
1635 536, 1199, 534, 537, 537, 537, 539, 539, 539, 1222,
1636 1205, 530, 1199, 1221, 536, 1180, 541, 541, 541, 537,
1637 541, 1205, 539, 541, 544, 544, 544, 545, 545, 545,
1638 547, 547, 547, 549, 549, 549, 552, 552, 552, 1432,
1639 544, 1224, 1181, 545, 1238, 1432, 547, 1222, 549, 553,
1640 553, 553, 552, 555, 555, 555, 558, 558, 558, 559,
1641 559, 559, 1225, 539, 1283, 553, 561, 561, 561, 555,
1643 1227, 1238, 558, 1136, 1284, 559, 564, 564, 564, 1224,
1644 547, 1181, 561, 571, 571, 571, 574, 574, 574, 588,
1645 588, 588, 564, 564, 579, 579, 579, 1283, 1185, 571,
1646 1225, 580, 580, 580, 555, 580, 1227, 1284, 580, 579,
1647 561, 581, 581, 581, 585, 585, 585, 586, 586, 586,
1648 587, 587, 587, 589, 589, 589, 1135, 581, 1239, 585,
1649 1186, 1266, 586, 590, 590, 590, 587, 1185, 589, 571,
1650 591, 591, 591, 595, 595, 595, 596, 596, 596, 590,
1651 604, 604, 604, 1209, 586, 1239, 591, 1229, 595, 581,
1652 1134, 1266, 596, 597, 597, 597, 604, 597, 1412, 1186,
1654 597, 601, 601, 601, 1133, 601, 587, 1412, 601, 1132,
1655 595, 606, 606, 606, 1230, 590, 608, 608, 608, 614,
1656 614, 614, 1210, 596, 1209, 1229, 591, 606, 609, 609,
1657 609, 608, 609, 1242, 614, 609, 604, 612, 612, 612,
1658 615, 615, 615, 619, 619, 619, 626, 626, 626, 627,
1659 627, 627, 1230, 612, 1131, 1129, 615, 1243, 606, 619,
1660 1242, 1210, 626, 629, 629, 629, 631, 631, 631, 632,
1661 632, 632, 634, 634, 634, 1231, 634, 612, 1232, 634,
1662 637, 637, 637, 1250, 1243, 619, 647, 647, 647, 626,
1663 641, 641, 641, 643, 643, 643, 637, 615, 648, 648,
1665 648, 619, 642, 642, 642, 641, 642, 1117, 643, 642,
1666 644, 644, 644, 648, 644, 1211, 1231, 644, 1248, 1232,
1667 631, 1250, 646, 646, 646, 649, 649, 649, 1233, 649,
1668 1252, 1344, 649, 650, 650, 650, 1116, 637, 646, 651,
1669 651, 651, 655, 655, 655, 1248, 656, 656, 656, 650,
1670 656, 1249, 1234, 656, 1211, 651, 1344, 655, 658, 658,
1671 658, 660, 660, 660, 662, 662, 662, 1233, 664, 664,
1672 664, 1252, 664, 1115, 658, 664, 662, 660, 1249, 1258,
1673 662, 651, 669, 669, 669, 671, 671, 671, 672, 672,
1674 672, 1234, 672, 1114, 1240, 672, 1241, 1246, 669, 1113,
1676 671, 1377, 1247, 660, 673, 673, 673, 680, 680, 680,
1677 681, 681, 681, 684, 684, 684, 685, 685, 685, 1377,
1678 673, 1112, 680, 1258, 669, 1253, 681, 686, 686, 686,
1679 690, 690, 690, 1240, 690, 1241, 1246, 690, 693, 693,
1680 693, 1247, 693, 686, 1251, 693, 697, 697, 697, 1300,
1681 699, 699, 699, 673, 699, 1415, 1260, 699, 702, 702,
1682 702, 681, 697, 704, 704, 704, 1253, 1261, 686, 706,
1683 706, 706, 1415, 1108, 702, 1097, 708, 708, 708, 704,
1684 708, 1300, 1251, 708, 706, 712, 712, 712, 715, 715,
1685 715, 717, 717, 717, 721, 721, 721, 1260, 723, 723,
1687 723, 712, 723, 1267, 715, 723, 706, 717, 1261, 1411,
1688 721, 726, 726, 726, 732, 732, 732, 704, 733, 733,
1689 733, 1411, 733, 1268, 1256, 733, 1259, 726, 1257, 732,
1690 1271, 717, 734, 734, 734, 735, 735, 735, 736, 736,
1691 736, 737, 737, 737, 1267, 738, 738, 738, 734, 721,
1692 745, 745, 745, 726, 747, 747, 747, 1271, 748, 748,
1693 748, 738, 748, 1256, 1268, 748, 745, 1257, 1264, 747,
1694 1259, 1273, 755, 755, 755, 758, 758, 758, 759, 759,
1695 759, 762, 762, 762, 1096, 1321, 734, 738, 755, 1085,
1696 1084, 758, 1321, 759, 764, 764, 764, 762, 766, 766,
1698 766, 770, 770, 770, 1262, 770, 1263, 1264, 770, 1273,
1699 764, 773, 773, 773, 766, 774, 774, 774, 775, 775,
1700 775, 776, 776, 776, 785, 785, 785, 773, 787, 787,
1701 787, 758, 799, 799, 799, 1265, 762, 776, 1083, 1345,
1702 785, 1082, 1419, 787, 764, 788, 788, 788, 1262, 788,
1703 1263, 1419, 788, 800, 800, 800, 801, 801, 801, 1274,
1704 773, 803, 803, 803, 1345, 787, 802, 802, 802, 800,
1705 802, 801, 1269, 802, 1265, 1281, 803, 805, 805, 805,
1706 806, 806, 806, 807, 807, 807, 813, 813, 813, 814,
1707 814, 814, 1270, 805, 823, 823, 823, 1274, 1081, 807,
1709 1282, 1080, 813, 800, 1077, 814, 824, 824, 824, 823,
1710 825, 825, 825, 1281, 825, 1288, 1269, 825, 833, 833,
1711 833, 824, 1290, 813, 835, 835, 835, 836, 836, 836,
1712 837, 837, 837, 833, 837, 1277, 1270, 837, 1282, 807,
1713 809, 809, 809, 836, 840, 840, 840, 841, 841, 841,
1714 1272, 841, 1278, 1288, 841, 1290, 809, 1289, 1450, 840,
1715 842, 842, 842, 843, 843, 843, 845, 845, 845, 1450,
1716 1285, 846, 846, 846, 1294, 842, 1277, 1272, 809, 843,
1717 856, 856, 856, 1286, 1291, 809, 809, 846, 809, 862,
1718 862, 862, 809, 1278, 809, 1289, 856, 1292, 863, 863,
1720 863, 1294, 863, 1301, 862, 863, 864, 864, 864, 1295,
1721 864, 1285, 1069, 864, 872, 872, 872, 1291, 873, 873,
1722 873, 856, 873, 1293, 1286, 873, 876, 876, 876, 872,
1723 878, 878, 878, 1483, 878, 1301, 1295, 878, 881, 881,
1724 881, 1292, 876, 882, 882, 882, 1298, 882, 1067, 1299,
1725 882, 1418, 1313, 881, 883, 883, 883, 895, 895, 895,
1726 896, 896, 896, 1418, 899, 899, 899, 1293, 899, 1302,
1727 883, 899, 1483, 895, 1315, 896, 903, 903, 903, 905,
1728 905, 905, 1303, 905, 1298, 1313, 905, 1299, 910, 910,
1729 910, 903, 910, 1306, 1066, 910, 1302, 896, 1304, 895,
1731 921, 921, 921, 923, 923, 923, 924, 924, 924, 1303,
1732 925, 925, 925, 1065, 925, 921, 921, 925, 1315, 923,
1733 1305, 924, 930, 930, 930, 931, 931, 931, 1309, 931,
1734 1304, 1306, 931, 933, 933, 933, 1054, 930, 934, 934,
1735 934, 936, 936, 936, 938, 938, 938, 1053, 933, 941,
1736 941, 941, 1305, 934, 1311, 1309, 938, 936, 923, 1307,
1737 938, 943, 943, 943, 1316, 941, 944, 944, 944, 1310,
1738 933, 1052, 947, 947, 947, 934, 943, 943, 974, 974,
1739 974, 944, 944, 945, 945, 945, 1311, 945, 947, 1348,
1740 945, 948, 948, 948, 974, 948, 1310, 1307, 948, 945,
1742 955, 955, 955, 956, 956, 956, 1319, 956, 1316, 1312,
1743 956, 1314, 947, 1051, 1348, 955, 959, 959, 959, 960,
1744 960, 960, 961, 961, 961, 1323, 961, 1396, 1050, 961,
1745 1336, 959, 974, 1319, 960, 963, 963, 963, 964, 964,
1746 964, 1312, 964, 1396, 1314, 964, 967, 967, 967, 1049,
1747 963, 969, 969, 969, 973, 973, 973, 975, 975, 975,
1748 1320, 1324, 967, 1336, 976, 976, 976, 969, 976, 1323,
1749 973, 976, 975, 975, 1322, 977, 977, 977, 967, 977,
1750 976, 1322, 977, 969, 1493, 1334, 973, 1320, 981, 981,
1751 981, 977, 978, 978, 978, 978, 978, 978, 978, 978,
1753 978, 1043, 1041, 978, 981, 1324, 978, 978, 978, 978,
1754 978, 986, 986, 986, 987, 987, 987, 1334, 987, 1491,
1755 1325, 987, 1493, 1006, 1006, 1006, 986, 1325, 978, 978,
1756 979, 979, 979, 979, 979, 979, 979, 979, 979, 1006,
1757 1335, 979, 981, 1359, 979, 979, 979, 979, 979, 988,
1758 988, 988, 989, 989, 989, 1006, 989, 1039, 1327, 989,
1759 1491, 990, 990, 990, 988, 990, 979, 979, 990, 994,
1760 994, 994, 1335, 994, 1337, 1359, 994, 1007, 1007, 1007,
1761 1008, 1008, 1008, 1328, 1008, 1327, 1026, 1008, 1019, 1019,
1762 1019, 1025, 1019, 1007, 1346, 1019, 1008, 1011, 1011, 1011,
1764 1011, 1011, 1011, 1011, 1011, 1011, 1018, 1337, 1011, 1484,
1765 1328, 1011, 1011, 1011, 1011, 1011, 1014, 1014, 1014, 1022,
1766 1022, 1022, 1349, 1022, 1326, 1330, 1022, 1346, 1029, 1029,
1767 1029, 1326, 1014, 1011, 1011, 1012, 1012, 1012, 1012, 1012,
1768 1012, 1012, 1012, 1012, 1029, 1347, 1012, 1349, 1484, 1012,
1769 1012, 1012, 1012, 1012, 1033, 1033, 1033, 1036, 1036, 1036,
1770 1369, 1492, 1014, 1042, 1042, 1042, 1044, 1044, 1044, 1330,
1771 1033, 1012, 1012, 1036, 1332, 1045, 1045, 1045, 1347, 1042,
1772 1042, 1332, 1044, 1046, 1046, 1046, 1047, 1047, 1047, 1036,
1773 1045, 1048, 1048, 1048, 1055, 1055, 1055, 1017, 1046, 1331,
1775 1369, 1047, 1492, 1057, 1057, 1057, 1048, 1148, 1148, 1148,
1776 1055, 1059, 1059, 1059, 1061, 1061, 1061, 1370, 1044, 1057,
1777 1068, 1068, 1068, 1047, 1070, 1070, 1070, 1059, 1016, 1342,
1778 1061, 1494, 1071, 1071, 1071, 1057, 1068, 1072, 1072, 1072,
1779 1070, 1072, 1343, 1331, 1072, 1350, 1061, 1071, 1073, 1073,
1780 1073, 1074, 1074, 1074, 1353, 1074, 1351, 1370, 1074, 1075,
1781 1075, 1075, 1068, 1073, 1076, 1076, 1076, 1015, 1076, 1494,
1782 1013, 1076, 1333, 1342, 1075, 1078, 1078, 1078, 1354, 1333,
1783 1070, 1079, 1079, 1079, 1355, 1079, 1343, 1353, 1079, 1350,
1784 1078, 1086, 1086, 1086, 1090, 1090, 1090, 1098, 1098, 1098,
1786 1351, 1099, 1099, 1099, 997, 1099, 1360, 1086, 1099, 1355,
1787 1090, 1354, 1357, 1098, 1102, 1102, 1102, 1358, 1102, 1357,
1788 993, 1102, 985, 1086, 1358, 984, 1090, 1105, 1105, 1105,
1789 1371, 1105, 1372, 983, 1105, 1109, 1109, 1109, 1360, 1109,
1790 1356, 982, 1109, 1098, 1130, 1130, 1130, 1139, 1139, 1139,
1791 1141, 1141, 1141, 1145, 1145, 1145, 1149, 1149, 1149, 1378,
1792 1130, 1384, 1371, 1139, 1372, 1356, 1141, 1373, 1384, 1145,
1793 1437, 1385, 1149, 1158, 1158, 1158, 980, 1158, 1385, 1437,
1794 1158, 1160, 1160, 1160, 965, 1160, 1374, 1367, 1160, 1158,
1795 1368, 1378, 1164, 1164, 1164, 1130, 1164, 1160, 1375, 1164,
1797 1165, 1165, 1165, 1167, 1167, 1167, 1149, 1373, 1164, 1168,
1798 1168, 1168, 1169, 1169, 1169, 1379, 1165, 1187, 1187, 1187,
1799 1367, 1187, 1380, 1368, 1187, 1168, 1374, 1169, 1188, 1188,
1800 1188, 1375, 1376, 1187, 1189, 1189, 1189, 1191, 1191, 1191,
1801 962, 1192, 1192, 1192, 1188, 1192, 1382, 1379, 1192, 1383,
1802 1189, 954, 1191, 1202, 1202, 1202, 1207, 1207, 1207, 1212,
1803 1212, 1212, 1380, 1212, 1381, 1376, 1212, 1386, 1388, 1202,
1804 1387, 1382, 1207, 1389, 1383, 1212, 1213, 1213, 1213, 953,
1805 1213, 1457, 952, 1213, 1220, 1220, 1220, 1223, 1223, 1223,
1806 1457, 1223, 951, 1388, 1223, 1226, 1226, 1226, 1389, 1386,
1808 1220, 1390, 1387, 1223, 1381, 1228, 1228, 1228, 1390, 1228,
1809 1495, 1226, 1228, 1237, 1237, 1237, 1394, 1237, 946, 1391,
1810 1237, 1228, 1392, 1244, 1244, 1244, 1391, 1244, 1393, 1237,
1811 1244, 1317, 1317, 1317, 1318, 1318, 1318, 1495, 1401, 1244,
1812 1329, 1329, 1329, 1338, 1338, 1338, 1317, 1392, 1394, 1318,
1813 1339, 1339, 1339, 1393, 1339, 1402, 1329, 1339, 1338, 1340,
1814 1340, 1340, 1341, 1341, 1341, 1395, 1341, 1399, 1400, 1341,
1815 1352, 1352, 1352, 1397, 1340, 1361, 1361, 1361, 1401, 1361,
1816 1397, 1398, 1361, 1364, 1364, 1364, 1352, 1364, 1398, 1403,
1817 1364, 1404, 1399, 1400, 1405, 1402, 1406, 1395, 1409, 1410,
1819 1413, 1405, 1352, 1406, 1414, 1416, 1417, 1413, 1420, 1421,
1820 1422, 1414, 1423, 1424, 1403, 1425, 1404, 1427, 1428, 1426,
1821 1426, 1426, 1430, 1409, 1410, 1429, 1429, 1429, 1431, 1433,
1822 1416, 1417, 1434, 1420, 1421, 1426, 1436, 1438, 1424, 1439,
1823 1425, 1429, 1440, 1435, 1435, 1435, 1441, 1430, 1436, 1444,
1824 1422, 1445, 1423, 1431, 1442, 1442, 1442, 1427, 1428, 1435,
1825 1448, 1449, 1438, 1451, 1439, 1446, 1446, 1446, 1452, 1433,
1826 1442, 1458, 1434, 1459, 1444, 1456, 1445, 1460, 1453, 1453,
1827 1453, 1446, 1440, 1455, 1455, 1455, 1441, 1456, 1451, 1460,
1828 1462, 1463, 932, 1452, 1453, 1461, 1458, 1465, 1459, 1455,
1830 1448, 1449, 1466, 1496, 1461, 1464, 1464, 1464, 1470, 1465,
1831 1497, 1466, 1467, 1467, 1467, 1462, 1463, 1469, 1469, 1469,
1832 1470, 1464, 1471, 1472, 1472, 1472, 1473, 1474, 1467, 929,
1833 1496, 1471, 1499, 1469, 1501, 928, 1474, 926, 1473, 1472,
1834 1475, 1475, 1475, 1502, 1475, 1498, 1505, 1475, 1476, 1476,
1835 1476, 1477, 1477, 1477, 1497, 1500, 1475, 1479, 1479, 1479,
1836 1480, 1480, 1480, 1507, 1476, 1499, 1501, 1477, 1482, 1482,
1837 1482, 1505, 1506, 1479, 1508, 1502, 1480, 1485, 1485, 1485,
1838 1487, 1487, 1487, 1503, 1482, 1489, 1489, 1489, 1500, 1498,
1839 1503, 1504, 1509, 1485, 1510, 1511, 1487, 1506, 1504, 1512,
1841 922, 1489, 909, 1507, 1513, 1513, 1513, 1511, 1512, 1514,
1842 1514, 1514, 908, 904, 1508, 902, 898, 1509, 897, 1510,
1843 1513, 894, 875, 874, 869, 1514, 1517, 1517, 1517, 1517,
1844 1517, 1517, 1517, 1518, 1518, 1518, 1518, 1518, 1518, 1518,
1845 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1520, 1520, 1520,
1846 1520, 1520, 1520, 1520, 1521, 1521, 1521, 1521, 1521, 1521,
1847 1521, 1522, 1522, 1522, 1522, 1522, 1522, 1522, 1523, 1523,
1848 1523, 1523, 1523, 1523, 1523, 1524, 1524, 1524, 1524, 1524,
1849 1524, 1524, 1525, 1525, 1525, 1525, 1525, 1525, 1525, 1526,
1850 1526, 1526, 1526, 1526, 1526, 1526, 1527, 1527, 1527, 1527,
1852 1527, 1527, 1527, 1528, 1528, 1528, 1528, 1528, 1528, 1528,
1853 1529, 1529, 1529, 1529, 1529, 1529, 1529, 1530, 1530, 1530,
1854 1530, 1530, 1530, 1530, 1531, 1531, 1531, 1531, 1531, 1531,
1855 1531, 1532, 1532, 1532, 1532, 1532, 1532, 1532, 1533, 1533,
1856 1533, 1533, 1533, 1533, 1533, 1534, 1534, 1534, 1534, 1534,
1857 1534, 1534, 1535, 1535, 1535, 1535, 1535, 1535, 1535, 1536,
1858 1536, 1536, 1536, 1536, 1536, 1536, 1537, 1537, 1537, 1537,
1859 1537, 1537, 1537, 1538, 1538, 1538, 1538, 1538, 1538, 1538,
1860 1539, 1539, 1539, 1539, 1539, 1539, 1539, 1540, 1540, 1540,
1861 1540, 1540, 1540, 1540, 1541, 1541, 1541, 1541, 1541, 1541,
1863 1541, 1542, 1542, 1542, 1542, 1542, 1542, 1542, 1543, 1543,
1864 1543, 1543, 1543, 1543, 1543, 1544, 1544, 1544, 1544, 1544,
1865 1544, 1544, 1545, 1545, 1545, 868, 1545, 1546, 1546, 1546,
1866 867, 1546, 1547, 1547, 1547, 859, 1547, 1548, 1548, 1548,
1867 858, 1548, 1549, 1549, 1549, 857, 1549, 1550, 1550, 1550,
1868 855, 1550, 1551, 1551, 1551, 831, 1551, 1552, 1552, 1552,
1869 829, 1552, 1553, 1553, 1553, 828, 1553, 1554, 1554, 1554,
1870 827, 1554, 1555, 1555, 1555, 1555, 1555, 826, 1555, 1556,
1871 821, 1556, 1557, 819, 1557, 1558, 818, 1558, 1559, 817,
1872 1559, 1560, 816, 1560, 1561, 812, 1561, 1562, 804, 1562,
1874 1563, 798, 1563, 1564, 797, 1564, 1565, 796, 1565, 1566,
1875 1566, 1566, 1566, 1566, 1566, 1566, 1567, 795, 794, 1567,
1876 1568, 1568, 1568, 1568, 1568, 1568, 1569, 1569, 1569, 1569,
1877 1569, 1569, 1570, 1570, 1570, 1570, 1570, 1570, 1571, 1571,
1878 1571, 1571, 1571, 1571, 1572, 1572, 1572, 1572, 1572, 1572,
1879 1573, 1573, 1573, 1573, 1573, 1573, 1574, 1574, 1574, 1574,
1880 1574, 1574, 1575, 1575, 1575, 1575, 1575, 1575, 1576, 1576,
1881 1576, 1576, 1576, 1576, 1577, 1577, 1577, 1577, 1577, 1577,
1882 1578, 1578, 1578, 1578, 1578, 1578, 1578, 1579, 1579, 1579,
1883 1579, 1579, 1579, 1579, 1580, 1580, 1580, 1580, 1580, 1580,
1885 1580, 1581, 1581, 1581, 1581, 1581, 1581, 1581, 1582, 1582,
1886 1582, 1582, 1582, 1582, 1582, 1583, 1583, 1583, 1583, 1583,
1887 1583, 1583, 1584, 1584, 1584, 1584, 1584, 1584, 1584, 793,
1888 792, 791, 784, 783, 782, 781, 780, 779, 778, 777,
1889 769, 765, 763, 761, 760, 757, 754, 753, 750, 749,
1890 746, 744, 741, 740, 739, 731, 727, 722, 720, 719,
1891 718, 716, 714, 711, 710, 709, 707, 705, 696, 695,
1892 694, 689, 688, 687, 683, 682, 679, 674, 670, 668,
1893 667, 663, 661, 659, 657, 654, 653, 652, 645, 640,
1894 639, 638, 633, 630, 628, 625, 624, 621, 618, 616,
1896 613, 611, 610, 607, 605, 600, 594, 593, 592, 584,
1897 583, 582, 578, 577, 576, 575, 573, 570, 569, 568,
1898 567, 562, 557, 556, 551, 550, 548, 540, 533, 526,
1899 525, 524, 520, 508, 504, 499, 498, 497, 496, 492,
1900 486, 485, 484, 483, 482, 481, 480, 475, 474, 473,
1901 470, 469, 468, 466, 462, 460, 457, 456, 453, 452,
1902 451, 450, 445, 441, 437, 436, 435, 432, 425, 422,
1903 419, 418, 417, 416, 413, 410, 409, 408, 407, 406,
1904 405, 404, 403, 400, 399, 397, 396, 395, 394, 393,
1905 389, 387, 386, 385, 384, 383, 382, 379, 378, 377,
1907 376, 375, 374, 371, 367, 366, 365, 364, 363, 360,
1908 359, 358, 357, 355, 352, 348, 347, 343, 342, 341,
1909 340, 339, 338, 336, 333, 332, 329, 328, 327, 326,
1910 325, 324, 323, 322, 321, 318, 317, 316, 315, 314,
1911 308, 307, 305, 302, 301, 297, 293, 284, 283, 282,
1912 281, 277, 271, 267, 259, 258, 257, 253, 245, 244,
1913 243, 239, 233, 229, 223, 222, 218, 210, 209, 208,
1914 206, 202, 196, 192, 173, 169, 165, 164, 163, 157,
1915 156, 154, 151, 139, 1516, 1516, 1516, 1516, 1516, 1516,
1916 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1918 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1919 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1920 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1921 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516,
1922 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516
1925 /* Table of booleans, true if rule could match eol. */
1926 static yyconst flex_int32_t yy_rule_can_match_eol[203] =
1928 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1929 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0,
1930 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1931 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1,
1932 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1,
1933 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
1934 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
1935 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1,
1936 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1,
1937 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0,
1940 static yy_state_type yy_last_accepting_state;
1941 static char *yy_last_accepting_cpos;
1943 extern int surf_parse__flex_debug;
1944 int surf_parse__flex_debug = 0;
1946 /* The intent behind this definition is that it'll catch
1947 * any uses of REJECT which flex missed.
1949 #define REJECT reject_used_but_not_detected
1950 #define yymore() yymore_used_but_not_detected
1951 #define YY_MORE_ADJ 0
1952 #define YY_RESTORE_YY_MORE_OFFSET
1953 char *surf_parse_text;
1954 /* Validating XML processor for surf/surfxml.dtd.
1955 * Generated 2007/10/23 11:08:07.
1957 * This program was generated with the FleXML XML processor generator.
1958 * FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved.
1959 * FleXML is Copyright (C) 2003-2006 Martin Quinson. All rights reserved.
1960 * (Id: flexml.pl,v 1.61 2006/09/13 16:34:33 wdowling Exp).
1962 * There are two, intertwined parts to this program, part A and part B.
1967 * Some parts, here collectively called "Part A", are found in the
1968 * FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose
1969 * and Copyright (C) 2003-2006 Martin Quinson. All rights reserved.
1971 * You can redistribute, use, perform, display and/or modify "Part A"
1972 * provided the following two conditions hold:
1974 * 1. The program is distributed WITHOUT ANY WARRANTY from the author of
1975 * FleXML; without even the implied warranty of MERCHANTABILITY or
1976 * FITNESS FOR A PARTICULAR PURPOSE.
1978 * 2. The program distribution conditions do not in any way affect the
1979 * distribution conditions of the FleXML system used to generate this
1980 * file or any version of FleXML derived from that system.
1982 * Notice that these are explicit rights granted to you for files
1983 * generated by the FleXML system. For your rights in connection with
1984 * the FleXML system itself please consult the GNU General Public License.
1989 * The other parts, here collectively called "Part B", and which came
1990 * from the DTD used by FleXML to generate this program, can be
1991 * distributed (or not, as the case may be) under the terms of whoever
1992 * wrote them, provided these terms respect and obey the two conditions
1993 * above under the heading "Part A".
1995 * The author of and contributors to FleXML specifically disclaim
1996 * any copyright interest in "Part B", unless "Part B" was written
1997 * by the author of or contributors to FleXML.
2001 /* Version strings. */
2002 const char rcs_surfxml_flexml_skeleton[] =
2003 "$" "Id: skel,v 1.38 2006/09/12 18:05:45 wdowling Exp $";
2004 const char rcs_surfxml_flexml[] =
2005 "$" "Id: flexml.pl,v 1.61 2006/09/13 16:34:33 wdowling Exp $";
2008 #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)
2009 # ifndef __STRICT_ANSI__
2011 # include <process.h>
2014 # include <unistd.h>
2022 #ifndef FLEXML_INDEXSTACKSIZE
2023 #define FLEXML_INDEXSTACKSIZE 1000
2026 /* Generated definitions. */
2027 #define FLEXML_yylineno
2028 #ifndef FLEXML_BUFFERSTACKSIZE
2029 #define FLEXML_BUFFERSTACKSIZE 1000000
2031 #define FLEXML_NEED_BUFFERLIT
2033 /* XML processor api. */
2034 /* FleXML-provided data. */
2035 int surfxml_pcdata_ix;
2036 extern char *surfxml_bufferstack;
2037 #define surfxml_pcdata (surfxml_bufferstack + surfxml_pcdata_ix)
2038 AT_surfxml_link_id AX_surfxml_link_id;
2039 #define A_surfxml_link_id (surfxml_bufferstack + AX_surfxml_link_id)
2040 AT_surfxml_prop_id AX_surfxml_prop_id;
2041 #define A_surfxml_prop_id (surfxml_bufferstack + AX_surfxml_prop_id)
2042 AT_surfxml_host_interference_recv AX_surfxml_host_interference_recv;
2043 #define A_surfxml_host_interference_recv (surfxml_bufferstack + AX_surfxml_host_interference_recv)
2044 AT_surfxml_host_id AX_surfxml_host_id;
2045 #define A_surfxml_host_id (surfxml_bufferstack + AX_surfxml_host_id)
2046 AT_surfxml_link_latency_file AX_surfxml_link_latency_file;
2047 #define A_surfxml_link_latency_file (surfxml_bufferstack + AX_surfxml_link_latency_file)
2048 AT_surfxml_process_host AX_surfxml_process_host;
2049 #define A_surfxml_process_host (surfxml_bufferstack + AX_surfxml_process_host)
2050 AT_surfxml_host_availability_file AX_surfxml_host_availability_file;
2051 #define A_surfxml_host_availability_file (surfxml_bufferstack + AX_surfxml_host_availability_file)
2052 AT_surfxml_host_state AX_surfxml_host_state;
2053 #define A_surfxml_host_state AX_surfxml_host_state
2054 AT_surfxml_host_interference_send_recv AX_surfxml_host_interference_send_recv;
2055 #define A_surfxml_host_interference_send_recv (surfxml_bufferstack + AX_surfxml_host_interference_send_recv)
2056 AT_surfxml_route_impact_on_dst_with_other_send AX_surfxml_route_impact_on_dst_with_other_send;
2057 #define A_surfxml_route_impact_on_dst_with_other_send (surfxml_bufferstack + AX_surfxml_route_impact_on_dst_with_other_send)
2058 AT_surfxml_host_interference_send AX_surfxml_host_interference_send;
2059 #define A_surfxml_host_interference_send (surfxml_bufferstack + AX_surfxml_host_interference_send)
2060 AT_surfxml_route_impact_on_dst AX_surfxml_route_impact_on_dst;
2061 #define A_surfxml_route_impact_on_dst (surfxml_bufferstack + AX_surfxml_route_impact_on_dst)
2062 AT_surfxml_platform_description_version AX_surfxml_platform_description_version;
2063 #define A_surfxml_platform_description_version (surfxml_bufferstack + AX_surfxml_platform_description_version)
2064 AT_surfxml_prop_value AX_surfxml_prop_value;
2065 #define A_surfxml_prop_value (surfxml_bufferstack + AX_surfxml_prop_value)
2066 AT_surfxml_route_impact_on_src_with_other_recv AX_surfxml_route_impact_on_src_with_other_recv;
2067 #define A_surfxml_route_impact_on_src_with_other_recv (surfxml_bufferstack + AX_surfxml_route_impact_on_src_with_other_recv)
2068 AT_surfxml_host_power AX_surfxml_host_power;
2069 #define A_surfxml_host_power (surfxml_bufferstack + AX_surfxml_host_power)
2070 AT_surfxml_link_state_file AX_surfxml_link_state_file;
2071 #define A_surfxml_link_state_file (surfxml_bufferstack + AX_surfxml_link_state_file)
2072 AT_surfxml_router_id AX_surfxml_router_id;
2073 #define A_surfxml_router_id (surfxml_bufferstack + AX_surfxml_router_id)
2074 AT_surfxml_process_start_time AX_surfxml_process_start_time;
2075 #define A_surfxml_process_start_time (surfxml_bufferstack + AX_surfxml_process_start_time)
2076 AT_surfxml_process_function AX_surfxml_process_function;
2077 #define A_surfxml_process_function (surfxml_bufferstack + AX_surfxml_process_function)
2078 AT_surfxml_host_max_outgoing_rate AX_surfxml_host_max_outgoing_rate;
2079 #define A_surfxml_host_max_outgoing_rate (surfxml_bufferstack + AX_surfxml_host_max_outgoing_rate)
2080 AT_surfxml_link_sharing_policy AX_surfxml_link_sharing_policy;
2081 #define A_surfxml_link_sharing_policy AX_surfxml_link_sharing_policy
2082 AT_surfxml_link_c_ctn_id AX_surfxml_link_c_ctn_id;
2083 #define A_surfxml_link_c_ctn_id (surfxml_bufferstack + AX_surfxml_link_c_ctn_id)
2084 AT_surfxml_process_kill_time AX_surfxml_process_kill_time;
2085 #define A_surfxml_process_kill_time (surfxml_bufferstack + AX_surfxml_process_kill_time)
2086 AT_surfxml_host_availability AX_surfxml_host_availability;
2087 #define A_surfxml_host_availability (surfxml_bufferstack + AX_surfxml_host_availability)
2088 AT_surfxml_argument_value AX_surfxml_argument_value;
2089 #define A_surfxml_argument_value (surfxml_bufferstack + AX_surfxml_argument_value)
2090 AT_surfxml_link_state AX_surfxml_link_state;
2091 #define A_surfxml_link_state AX_surfxml_link_state
2092 AT_surfxml_route_src AX_surfxml_route_src;
2093 #define A_surfxml_route_src (surfxml_bufferstack + AX_surfxml_route_src)
2094 AT_surfxml_route_impact_on_src AX_surfxml_route_impact_on_src;
2095 #define A_surfxml_route_impact_on_src (surfxml_bufferstack + AX_surfxml_route_impact_on_src)
2096 AT_surfxml_link_bandwidth AX_surfxml_link_bandwidth;
2097 #define A_surfxml_link_bandwidth (surfxml_bufferstack + AX_surfxml_link_bandwidth)
2098 AT_surfxml_link_latency AX_surfxml_link_latency;
2099 #define A_surfxml_link_latency (surfxml_bufferstack + AX_surfxml_link_latency)
2100 AT_surfxml_include_file AX_surfxml_include_file;
2101 #define A_surfxml_include_file (surfxml_bufferstack + AX_surfxml_include_file)
2102 AT_surfxml_link_bandwidth_file AX_surfxml_link_bandwidth_file;
2103 #define A_surfxml_link_bandwidth_file (surfxml_bufferstack + AX_surfxml_link_bandwidth_file)
2104 AT_surfxml_host_state_file AX_surfxml_host_state_file;
2105 #define A_surfxml_host_state_file (surfxml_bufferstack + AX_surfxml_host_state_file)
2106 AT_surfxml_route_dst AX_surfxml_route_dst;
2107 #define A_surfxml_route_dst (surfxml_bufferstack + AX_surfxml_route_dst)
2111 # define ENTER(state) debug_enter(state,#state)
2112 # define LEAVE debug_leave()
2113 # define SET(state) debug_set(state,#state)
2114 static void debug_enter(int, const char*);
2115 static void debug_leave(void);
2116 static void debug_set(int, const char*);
2118 # define ENTER(state) (yy_push_state(state))
2119 # define LEAVE (yy_pop_state())
2120 # define SET(state) BEGIN(state)
2123 /* Generic actions. */
2124 #define SKIP /*skip*/
2125 #define SUCCEED CLEANUP; return 0
2127 #define FAIL return fail
2128 static int fail(const char*, ...);
2130 enum {flexml_max_err_msg_size = 512};
2131 static char flexml_err_msg[flexml_max_err_msg_size];
2132 const char * surfxml_parse_err_msg()
2134 return flexml_err_msg;
2136 static void reset_surfxml_parse_err_msg()
2138 flexml_err_msg[0] = '\0';
2142 static void cleanup(void);
2143 #define CLEANUP cleanup()
2145 /* Text buffer stack handling. */
2146 char *surfxml_bufferstack = NULL;
2147 static int blimit = FLEXML_BUFFERSTACKSIZE;
2148 static int bnext = 1;
2150 static int *indexstack = NULL;
2151 static int ilimit = FLEXML_INDEXSTACKSIZE;
2152 static int inext = 1;
2154 #define BUFFERSET(P) (P = bnext)
2155 #define BUFFERPUTC(C) (ck_blimit(), surfxml_bufferstack[bnext++] = (C))
2156 #define BUFFERDONE (BUFFERPUTC('\0'))
2158 #define BUFFERLITERAL(C, P) surfxml_bufferliteral(C, &(P), surf_parse_text)
2160 /* after this is called, there are at least 2 slots left in the stack */
2161 static int ck_blimit()
2163 if (bnext >= blimit) {
2164 blimit += FLEXML_BUFFERSTACKSIZE + 2;
2166 char *temp = (char *) realloc(surfxml_bufferstack, blimit);
2168 surfxml_bufferstack = temp;
2174 /* after this is called, there are at least 2 slots left in the stack */
2175 static int ck_ilimit()
2177 if (inext >= ilimit) {
2178 ilimit += FLEXML_INDEXSTACKSIZE + 2;
2180 int *temp = (int *) realloc(indexstack, ilimit);
2188 #ifdef FLEXML_NEED_BUFFERLIT
2189 static void surfxml_bufferliteral(char c, int* pp, const char* text)
2191 const char *s = (c ? strchr(text,c) : text-1), *e = strrchr(text,c);
2192 assert(s <= e); BUFFERSET(*pp);
2194 if (isspace(*s) && c) { BUFFERPUTC(' '); while (isspace(*s)) ++s; }
2195 else BUFFERPUTC(*s);
2201 static void pushbuffer(int p)
2204 indexstack[inext++] = p;
2205 indexstack[inext++] = bnext;
2208 static int popbuffer(void)
2211 bnext = indexstack[--inext];
2212 return indexstack[--inext];
2215 /* General internal entities are `unput' back onto the input stream... */
2216 #define ENTITYTEXT(T) \
2217 { char *s = (T), *e = s+strlen(s);\
2218 while (--e >= s) { unput(*e); }}
2220 /* Flex standard options. */
2221 #define YY_NO_INPUT 1
2222 /* Flex user-requested options. */
2223 /* XML character classes (currently restricted to ASCII). */
2224 /* "Common syntactic structures." */
2225 /* "Names and Tokens." */
2226 /* Miscellaneous. */
2227 /* Parser states (flex `exclusive start conditions'):
2229 * PROLOG the XML prolog of the document before <?xml...>
2230 * DOCTYPE the XML prolog of the document after <?xml...>
2231 * EPILOG after the root element
2232 * INCOMMENT inside an XML comment <!--....-->
2233 * INPI inside an XML PI <?...?>
2234 * VALUE1 inside a '...'-delimited literal
2235 * VALUE2 inside a "..."-delimited literal
2236 * CDATA inside a <![CDATA[...] ]> section.
2237 * ROOT_<tag> expect root element <tag>
2238 * AL_<tag> inside the attribute list for <tag>
2239 * IN_<tag> inside a <tag> with element contents (ready for end tag)
2240 * IMPOSSIBLE dummy to permit disabling rules; must be last
2244 const char* *surfxml_statenames=NULL;
2255 #define ROOT_surfxml_platform_description 9
2256 #define AL_surfxml_platform_description 10
2257 #define S_surfxml_platform_description 11
2258 #define S_surfxml_platform_description_1 12
2259 #define S_surfxml_platform_description_2 13
2260 #define S_surfxml_platform_description_3 14
2261 #define S_surfxml_platform_description_4 15
2262 #define S_surfxml_platform_description_5 16
2263 #define S_surfxml_platform_description_6 17
2264 #define S_surfxml_platform_description_7 18
2265 #define S_surfxml_platform_description_8 19
2266 #define S_surfxml_platform_description_9 20
2267 #define S_surfxml_platform_description_10 21
2268 #define S_surfxml_platform_description_11 22
2269 #define S_surfxml_platform_description_12 23
2270 #define S_surfxml_platform_description_13 24
2271 #define S_surfxml_platform_description_14 25
2272 #define S_surfxml_platform_description_15 26
2273 #define S_surfxml_platform_description_16 27
2274 #define E_surfxml_platform_description 28
2275 #define ROOT_surfxml_include 29
2276 #define AL_surfxml_include 30
2277 #define E_surfxml_include 31
2278 #define ROOT_surfxml_host 32
2279 #define AL_surfxml_host 33
2280 #define S_surfxml_host 34
2281 #define S_surfxml_host_1 35
2282 #define S_surfxml_host_2 36
2283 #define E_surfxml_host 37
2284 #define ROOT_surfxml_prop 38
2285 #define AL_surfxml_prop 39
2286 #define E_surfxml_prop 40
2287 #define ROOT_surfxml_router 41
2288 #define AL_surfxml_router 42
2289 #define E_surfxml_router 43
2290 #define ROOT_surfxml_link 44
2291 #define AL_surfxml_link 45
2292 #define S_surfxml_link 46
2293 #define S_surfxml_link_1 47
2294 #define S_surfxml_link_2 48
2295 #define E_surfxml_link 49
2296 #define ROOT_surfxml_route 50
2297 #define AL_surfxml_route 51
2298 #define S_surfxml_route 52
2299 #define S_surfxml_route_1 53
2300 #define S_surfxml_route_2 54
2301 #define E_surfxml_route 55
2302 #define ROOT_surfxml_link_c_ctn 56
2303 #define AL_surfxml_link_c_ctn 57
2304 #define E_surfxml_link_c_ctn 58
2305 #define ROOT_surfxml_process 59
2306 #define AL_surfxml_process 60
2307 #define S_surfxml_process 61
2308 #define S_surfxml_process_1 62
2309 #define S_surfxml_process_2 63
2310 #define E_surfxml_process 64
2311 #define ROOT_surfxml_argument 65
2312 #define AL_surfxml_argument 66
2313 #define E_surfxml_argument 67
2314 #define IMPOSSIBLE 68
2316 #ifndef YY_NO_UNISTD_H
2317 /* Special case for "unistd.h", since it is non-ANSI. We include it way
2318 * down here because we want the user's section 1 to have been scanned first.
2319 * The user has a chance to override it with an option.
2321 #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)
2322 # ifndef __STRICT_ANSI__
2324 # include <process.h>
2327 # include <unistd.h>
2331 #ifndef YY_EXTRA_TYPE
2332 #define YY_EXTRA_TYPE void *
2335 static int yy_init_globals (void );
2337 /* Macros after this point can all be overridden by user definitions in
2341 #ifndef YY_SKIP_YYWRAP
2343 extern "C" int surf_parse_wrap (void );
2345 extern int surf_parse_wrap (void );
2350 static void yy_flex_strncpy (char *,yyconst char *,int );
2353 #ifdef YY_NEED_STRLEN
2354 static int yy_flex_strlen (yyconst char * );
2360 static int yyinput (void );
2362 static int input (void );
2367 static int yy_start_stack_ptr = 0;
2368 static int yy_start_stack_depth = 0;
2369 static int *yy_start_stack = NULL;
2371 static void yy_push_state (int new_state );
2373 static void yy_pop_state (void );
2375 /* Amount of stuff to slurp up with each read. */
2376 #ifndef YY_READ_BUF_SIZE
2377 #define YY_READ_BUF_SIZE 8192
2380 /* Copy whatever the last rule matched to the standard output. */
2382 /* This used to be an fputs(), but since the string might contain NUL's,
2383 * we now use fwrite().
2385 #define ECHO (void) fwrite( surf_parse_text, surf_parse_leng, 1, surf_parse_out )
2388 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
2389 * is returned in "result".
2392 #define YY_INPUT(buf,result,max_size) \
2393 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
2397 for ( n = 0; n < max_size && \
2398 (c = getc( surf_parse_in )) != EOF && c != '\n'; ++n ) \
2399 buf[n] = (char) c; \
2401 buf[n++] = (char) c; \
2402 if ( c == EOF && ferror( surf_parse_in ) ) \
2403 YY_FATAL_ERROR( "input in flex scanner failed" ); \
2409 while ( (result = fread(buf, 1, max_size, surf_parse_in))==0 && ferror(surf_parse_in)) \
2411 if( errno != EINTR) \
2413 YY_FATAL_ERROR( "input in flex scanner failed" ); \
2417 clearerr(surf_parse_in); \
2424 /* No semi-colon after return; correct usage is to write "yyterminate();" -
2425 * we don't want an extra ';' after the "return" because that will cause
2426 * some compilers to complain about unreachable statements.
2429 #define yyterminate() return YY_NULL
2432 /* Number of entries by which start-condition stack grows. */
2433 #ifndef YY_START_STACK_INCR
2434 #define YY_START_STACK_INCR 25
2437 /* Report a fatal error. */
2438 #ifndef YY_FATAL_ERROR
2439 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
2442 /* end tables serialization structures and prototypes */
2444 /* Default declaration of generated scanner - a define so the user can
2445 * easily add parameters.
2448 #define YY_DECL_IS_OURS 1
2450 extern int surf_parse_lex (void);
2452 #define YY_DECL int surf_parse_lex (void)
2453 #endif /* !YY_DECL */
2455 /* Code executed at the beginning of each rule, after surf_parse_text and surf_parse_leng
2458 #ifndef YY_USER_ACTION
2459 #define YY_USER_ACTION
2462 /* Code executed at the end of each rule. */
2464 #define YY_BREAK break;
2467 #define YY_RULE_SETUP \
2470 /** The main scanner function which does all the work.
2474 register yy_state_type yy_current_state;
2475 register char *yy_cp, *yy_bp;
2476 register int yy_act;
2478 /* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */
2480 reset_surfxml_parse_err_msg();
2481 surfxml_bufferstack = (char *) malloc(FLEXML_BUFFERSTACKSIZE);
2482 assert(surfxml_bufferstack);
2486 for (i = 0; i < blimit; i++) {
2487 surfxml_bufferstack[i] = '\377';
2491 surfxml_bufferstack[0] = '\0';
2492 indexstack = (int *) malloc(FLEXML_INDEXSTACKSIZE * sizeof(int));
2498 surfxml_bufferliteral('\0', &bnext, "0.0");
2499 surfxml_bufferliteral('\0', &bnext, "1.0");
2500 surfxml_bufferliteral('\0', &bnext, "1.0");
2501 surfxml_bufferliteral('\0', &bnext, "1.0");
2502 surfxml_bufferliteral('\0', &bnext, "1.0");
2503 surfxml_bufferliteral('\0', &bnext, "-1.0");
2504 surfxml_bufferliteral('\0', &bnext, "0.0");
2505 surfxml_bufferliteral('\0', &bnext, "0.0");
2506 surfxml_bufferliteral('\0', &bnext, "0.0");
2507 surfxml_bufferliteral('\0', &bnext, "0.0");
2508 surfxml_bufferliteral('\0', &bnext, "0.0");
2509 surfxml_bufferliteral('\0', &bnext, "-1.0");
2510 surfxml_bufferliteral('\0', &bnext, "-1.0");
2511 if(!surfxml_statenames) {surfxml_statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));
2512 surfxml_statenames[PROLOG] = NULL;
2513 surfxml_statenames[DOCTYPE] = NULL;
2514 surfxml_statenames[EPILOG] = NULL;
2515 surfxml_statenames[INCOMMENT] = NULL;
2516 surfxml_statenames[INPI] = NULL;
2517 surfxml_statenames[VALUE1] = NULL;
2518 surfxml_statenames[VALUE2] = NULL;
2519 surfxml_statenames[CDATA] = NULL;
2520 surfxml_statenames[ROOT_surfxml_platform_description] = NULL;
2521 surfxml_statenames[AL_surfxml_platform_description] = NULL;
2522 surfxml_statenames[S_surfxml_platform_description] = "platform_description";
2523 surfxml_statenames[S_surfxml_platform_description_1] = "platform_description";
2524 surfxml_statenames[S_surfxml_platform_description_2] = "platform_description";
2525 surfxml_statenames[S_surfxml_platform_description_3] = "platform_description";
2526 surfxml_statenames[S_surfxml_platform_description_4] = "platform_description";
2527 surfxml_statenames[S_surfxml_platform_description_5] = "platform_description";
2528 surfxml_statenames[S_surfxml_platform_description_6] = "platform_description";
2529 surfxml_statenames[S_surfxml_platform_description_7] = "platform_description";
2530 surfxml_statenames[S_surfxml_platform_description_8] = "platform_description";
2531 surfxml_statenames[S_surfxml_platform_description_9] = "platform_description";
2532 surfxml_statenames[S_surfxml_platform_description_10] = "platform_description";
2533 surfxml_statenames[S_surfxml_platform_description_11] = "platform_description";
2534 surfxml_statenames[S_surfxml_platform_description_12] = "platform_description";
2535 surfxml_statenames[S_surfxml_platform_description_13] = "platform_description";
2536 surfxml_statenames[S_surfxml_platform_description_14] = "platform_description";
2537 surfxml_statenames[S_surfxml_platform_description_15] = "platform_description";
2538 surfxml_statenames[S_surfxml_platform_description_16] = "platform_description";
2539 surfxml_statenames[E_surfxml_platform_description] = "platform_description";
2540 surfxml_statenames[ROOT_surfxml_include] = NULL;
2541 surfxml_statenames[AL_surfxml_include] = NULL;
2542 surfxml_statenames[E_surfxml_include] = "include";
2543 surfxml_statenames[ROOT_surfxml_host] = NULL;
2544 surfxml_statenames[AL_surfxml_host] = NULL;
2545 surfxml_statenames[S_surfxml_host] = "host";
2546 surfxml_statenames[S_surfxml_host_1] = "host";
2547 surfxml_statenames[S_surfxml_host_2] = "host";
2548 surfxml_statenames[E_surfxml_host] = "host";
2549 surfxml_statenames[ROOT_surfxml_prop] = NULL;
2550 surfxml_statenames[AL_surfxml_prop] = NULL;
2551 surfxml_statenames[E_surfxml_prop] = "prop";
2552 surfxml_statenames[ROOT_surfxml_router] = NULL;
2553 surfxml_statenames[AL_surfxml_router] = NULL;
2554 surfxml_statenames[E_surfxml_router] = "router";
2555 surfxml_statenames[ROOT_surfxml_link] = NULL;
2556 surfxml_statenames[AL_surfxml_link] = NULL;
2557 surfxml_statenames[S_surfxml_link] = "link";
2558 surfxml_statenames[S_surfxml_link_1] = "link";
2559 surfxml_statenames[S_surfxml_link_2] = "link";
2560 surfxml_statenames[E_surfxml_link] = "link";
2561 surfxml_statenames[ROOT_surfxml_route] = NULL;
2562 surfxml_statenames[AL_surfxml_route] = NULL;
2563 surfxml_statenames[S_surfxml_route] = "route";
2564 surfxml_statenames[S_surfxml_route_1] = "route";
2565 surfxml_statenames[S_surfxml_route_2] = "route";
2566 surfxml_statenames[E_surfxml_route] = "route";
2567 surfxml_statenames[ROOT_surfxml_link_c_ctn] = NULL;
2568 surfxml_statenames[AL_surfxml_link_c_ctn] = NULL;
2569 surfxml_statenames[E_surfxml_link_c_ctn] = "link:ctn";
2570 surfxml_statenames[ROOT_surfxml_process] = NULL;
2571 surfxml_statenames[AL_surfxml_process] = NULL;
2572 surfxml_statenames[S_surfxml_process] = "process";
2573 surfxml_statenames[S_surfxml_process_1] = "process";
2574 surfxml_statenames[S_surfxml_process_2] = "process";
2575 surfxml_statenames[E_surfxml_process] = "process";
2576 surfxml_statenames[ROOT_surfxml_argument] = NULL;
2577 surfxml_statenames[AL_surfxml_argument] = NULL;
2578 surfxml_statenames[E_surfxml_argument] = "argument";
2581 /* COMMENTS and PIs: handled uniformly for efficiency. */
2592 (yy_start) = 1; /* first start state */
2594 if ( ! surf_parse_in )
2595 surf_parse_in = stdin;
2597 if ( ! surf_parse_out )
2598 surf_parse_out = stdout;
2600 if ( ! YY_CURRENT_BUFFER ) {
2601 surf_parse_ensure_buffer_stack ();
2602 YY_CURRENT_BUFFER_LVALUE =
2603 surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE );
2606 surf_parse__load_buffer_state( );
2609 while ( 1 ) /* loops until end-of-file is reached */
2611 yy_cp = (yy_c_buf_p);
2613 /* Support of surf_parse_text. */
2614 *yy_cp = (yy_hold_char);
2616 /* yy_bp points to the position in yy_ch_buf of the start of
2621 yy_current_state = (yy_start);
2625 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
2626 if ( yy_accept[yy_current_state] )
2628 (yy_last_accepting_state) = yy_current_state;
2629 (yy_last_accepting_cpos) = yy_cp;
2631 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2633 yy_current_state = (int) yy_def[yy_current_state];
2634 if ( yy_current_state >= 1517 )
2635 yy_c = yy_meta[(unsigned int) yy_c];
2637 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2640 while ( yy_base[yy_current_state] != 4285 );
2643 yy_act = yy_accept[yy_current_state];
2645 { /* have to back up */
2646 yy_cp = (yy_last_accepting_cpos);
2647 yy_current_state = (yy_last_accepting_state);
2648 yy_act = yy_accept[yy_current_state];
2651 YY_DO_BEFORE_ACTION;
2653 if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
2656 for ( yyl = 0; yyl < surf_parse_leng; ++yyl )
2657 if ( surf_parse_text[yyl] == '\n' )
2659 surf_parse_lineno++;
2663 do_action: /* This label is used only to access EOF actions. */
2666 { /* beginning of action switch */
2667 case 0: /* must back up */
2668 /* undo the effects of YY_DO_BEFORE_ACTION */
2669 *yy_cp = (yy_hold_char);
2670 yy_cp = (yy_last_accepting_cpos);
2671 yy_current_state = (yy_last_accepting_state);
2672 goto yy_find_action;
2690 /* rule 6 can match eol */
2694 case YY_STATE_EOF(INCOMMENT):
2695 FAIL("EOF in comment.");
2704 /* rule 9 can match eol */
2708 case YY_STATE_EOF(INPI):
2709 FAIL("EOF in PI (processing instruction).");
2712 /* SPACES: skipped uniformly */
2714 /* rule 10 can match eol */
2718 /* PROLOG: determine root element and process it. */
2721 /* rule 11 can match eol */
2726 /* rule 12 can match eol */
2728 FAIL("Bad declaration %s.",surf_parse_text);
2732 /* rule 13 can match eol */
2734 SET(ROOT_surfxml_link);
2737 /* rule 14 can match eol */
2739 SET(ROOT_surfxml_include);
2742 /* rule 15 can match eol */
2744 SET(ROOT_surfxml_route);
2747 /* rule 16 can match eol */
2749 SET(ROOT_surfxml_process);
2752 /* rule 17 can match eol */
2754 SET(ROOT_surfxml_link_c_ctn);
2757 /* rule 18 can match eol */
2759 SET(ROOT_surfxml_router);
2762 /* rule 19 can match eol */
2764 SET(ROOT_surfxml_host);
2767 /* rule 20 can match eol */
2769 SET(ROOT_surfxml_argument);
2772 /* rule 21 can match eol */
2774 SET(ROOT_surfxml_prop);
2777 /* rule 22 can match eol */
2779 SET(ROOT_surfxml_platform_description);
2782 /* rule 23 can match eol */
2784 FAIL("Bad declaration %s.",surf_parse_text);
2788 FAIL("Unexpected character `%c' in prolog.", surf_parse_text[0]);
2790 case YY_STATE_EOF(PROLOG):
2791 case YY_STATE_EOF(DOCTYPE):
2792 FAIL("EOF in prolog.");
2795 /* RULES DERIVED FROM DTD. */
2796 /* <!-- Small DTD for SURF based tools. --> */
2798 /* rule 25 can match eol */
2801 AX_surfxml_platform_description_version = 1;
2802 ENTER(AL_surfxml_platform_description); pushbuffer(0);
2807 /* rule 26 can match eol */
2809 ENTER(VALUE1); BUFFERSET(AX_surfxml_platform_description_version);
2812 /* rule 27 can match eol */
2814 ENTER(VALUE2); BUFFERSET(AX_surfxml_platform_description_version);
2819 LEAVE; STag_surfxml_platform_description();surfxml_pcdata_ix = 0; ENTER(S_surfxml_platform_description);
2825 LEAVE; STag_surfxml_platform_description(); surfxml_pcdata_ix = 0; ETag_surfxml_platform_description(); popbuffer(); /* attribute */
2827 case ROOT_surfxml_platform_description: SET(EPILOG); break;
2833 FAIL("Unexpected character `%c' in attribute list of platform_description element.", surf_parse_text[0]);
2837 FAIL("Bad attribute `%s' in `platform_description' element start tag.",surf_parse_text);
2839 case YY_STATE_EOF(AL_surfxml_platform_description):
2840 FAIL("EOF in attribute list of `platform_description' element.");
2844 /* rule 32 can match eol */
2848 ETag_surfxml_platform_description();
2849 popbuffer(); /* attribute */
2851 case ROOT_surfxml_platform_description: SET(EPILOG); break;
2856 /* rule 33 can match eol */
2858 FAIL("Unexpected end-tag `%s': `</platform_description>' expected.",surf_parse_text);
2862 FAIL("Unexpected character `%c': `</platform_description>' expected.",surf_parse_text[0]);
2864 case YY_STATE_EOF(S_surfxml_platform_description_8):
2865 case YY_STATE_EOF(S_surfxml_platform_description_16):
2866 case YY_STATE_EOF(E_surfxml_platform_description):
2867 case YY_STATE_EOF(S_surfxml_platform_description_2):
2868 case YY_STATE_EOF(S_surfxml_platform_description_5):
2869 case YY_STATE_EOF(S_surfxml_platform_description_9):
2870 case YY_STATE_EOF(S_surfxml_platform_description_11):
2871 case YY_STATE_EOF(S_surfxml_platform_description_12):
2872 case YY_STATE_EOF(S_surfxml_platform_description_14):
2873 case YY_STATE_EOF(S_surfxml_platform_description_3):
2874 case YY_STATE_EOF(S_surfxml_platform_description):
2875 case YY_STATE_EOF(S_surfxml_platform_description_6):
2876 FAIL("Premature EOF: `</platform_description>' expected.");
2880 /* rule 35 can match eol */
2883 AX_surfxml_include_file = 0;
2884 ENTER(AL_surfxml_include); pushbuffer(0);
2889 /* rule 36 can match eol */
2891 ENTER(VALUE1); BUFFERSET(AX_surfxml_include_file);
2894 /* rule 37 can match eol */
2896 ENTER(VALUE2); BUFFERSET(AX_surfxml_include_file);
2901 if (!AX_surfxml_include_file) FAIL("Required attribute `file' not set for `include' element.");
2902 LEAVE; STag_surfxml_include();surfxml_pcdata_ix = 0; ENTER(E_surfxml_include);
2908 if (!AX_surfxml_include_file) FAIL("Required attribute `file' not set for `include' element.");
2909 LEAVE; STag_surfxml_include(); surfxml_pcdata_ix = 0; ETag_surfxml_include(); popbuffer(); /* attribute */
2911 case S_surfxml_platform_description_2: case S_surfxml_platform_description_1: case S_surfxml_platform_description: SET(S_surfxml_platform_description_2); break;
2912 case ROOT_surfxml_include: SET(EPILOG); break;
2918 FAIL("Unexpected character `%c' in attribute list of include element.", surf_parse_text[0]);
2922 FAIL("Bad attribute `%s' in `include' element start tag.",surf_parse_text);
2924 case YY_STATE_EOF(AL_surfxml_include):
2925 FAIL("EOF in attribute list of `include' element.");
2929 /* rule 42 can match eol */
2933 ETag_surfxml_include();
2934 popbuffer(); /* attribute */
2936 case S_surfxml_platform_description_2: case S_surfxml_platform_description_1: case S_surfxml_platform_description: SET(S_surfxml_platform_description_2); break;
2937 case ROOT_surfxml_include: SET(EPILOG); break;
2942 /* rule 43 can match eol */
2944 FAIL("Unexpected end-tag `%s': `</include>' expected.",surf_parse_text);
2948 FAIL("Unexpected character `%c': `</include>' expected.",surf_parse_text[0]);
2950 case YY_STATE_EOF(E_surfxml_include):
2951 FAIL("Premature EOF: `</include>' expected.");
2955 /* rule 45 can match eol */
2958 AX_surfxml_host_id = 0;
2959 AX_surfxml_host_power = 0;
2960 AX_surfxml_host_availability = 5;
2961 AX_surfxml_host_availability_file = 0;
2962 AX_surfxml_host_state = A_surfxml_host_state_ON;
2963 AX_surfxml_host_state_file = 0;
2964 AX_surfxml_host_interference_send = 9;
2965 AX_surfxml_host_interference_recv = 13;
2966 AX_surfxml_host_interference_send_recv = 17;
2967 AX_surfxml_host_max_outgoing_rate = 21;
2968 ENTER(AL_surfxml_host); pushbuffer(0);
2973 /* rule 46 can match eol */
2975 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_id);
2978 /* rule 47 can match eol */
2980 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_id);
2983 /* rule 48 can match eol */
2985 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_power);
2988 /* rule 49 can match eol */
2990 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_power);
2993 /* rule 50 can match eol */
2995 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_availability);
2998 /* rule 51 can match eol */
3000 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_availability);
3003 /* rule 52 can match eol */
3005 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_availability_file);
3008 /* rule 53 can match eol */
3010 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_availability_file);
3013 /* rule 54 can match eol */
3015 /* rule 55 can match eol */
3017 A_surfxml_host_state = A_surfxml_host_state_ON;
3020 /* rule 56 can match eol */
3022 /* rule 57 can match eol */
3024 A_surfxml_host_state = A_surfxml_host_state_OFF;
3027 /* rule 58 can match eol */
3029 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_state_file);
3032 /* rule 59 can match eol */
3034 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_state_file);
3037 /* rule 60 can match eol */
3039 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_interference_send);
3042 /* rule 61 can match eol */
3044 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_interference_send);
3047 /* rule 62 can match eol */
3049 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_interference_recv);
3052 /* rule 63 can match eol */
3054 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_interference_recv);
3057 /* rule 64 can match eol */
3059 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_interference_send_recv);
3062 /* rule 65 can match eol */
3064 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_interference_send_recv);
3067 /* rule 66 can match eol */
3069 ENTER(VALUE1); BUFFERSET(AX_surfxml_host_max_outgoing_rate);
3072 /* rule 67 can match eol */
3074 ENTER(VALUE2); BUFFERSET(AX_surfxml_host_max_outgoing_rate);
3079 if (!AX_surfxml_host_id) FAIL("Required attribute `id' not set for `host' element.");
3080 if (!AX_surfxml_host_power) FAIL("Required attribute `power' not set for `host' element.");
3081 LEAVE; STag_surfxml_host();surfxml_pcdata_ix = 0; ENTER(S_surfxml_host);
3087 if (!AX_surfxml_host_id) FAIL("Required attribute `id' not set for `host' element.");
3088 if (!AX_surfxml_host_power) FAIL("Required attribute `power' not set for `host' element.");
3089 LEAVE; STag_surfxml_host(); surfxml_pcdata_ix = 0; ETag_surfxml_host(); popbuffer(); /* attribute */
3091 case S_surfxml_platform_description_5: case S_surfxml_platform_description: case S_surfxml_platform_description_4: SET(S_surfxml_platform_description_5); break;
3092 case ROOT_surfxml_host: SET(EPILOG); break;
3098 FAIL("Unexpected character `%c' in attribute list of host element.", surf_parse_text[0]);
3102 FAIL("Bad attribute `%s' in `host' element start tag.",surf_parse_text);
3104 case YY_STATE_EOF(AL_surfxml_host):
3105 FAIL("EOF in attribute list of `host' element.");
3109 /* rule 72 can match eol */
3113 ETag_surfxml_host();
3114 popbuffer(); /* attribute */
3116 case S_surfxml_platform_description_5: case S_surfxml_platform_description: case S_surfxml_platform_description_4: SET(S_surfxml_platform_description_5); break;
3117 case ROOT_surfxml_host: SET(EPILOG); break;
3122 /* rule 73 can match eol */
3124 FAIL("Unexpected end-tag `%s': `</host>' expected.",surf_parse_text);
3128 FAIL("Unexpected character `%c': `</host>' expected.",surf_parse_text[0]);
3130 case YY_STATE_EOF(S_surfxml_host):
3131 case YY_STATE_EOF(E_surfxml_host):
3132 case YY_STATE_EOF(S_surfxml_host_2):
3133 FAIL("Premature EOF: `</host>' expected.");
3137 /* rule 75 can match eol */
3140 AX_surfxml_prop_id = 0;
3141 AX_surfxml_prop_value = 0;
3142 ENTER(AL_surfxml_prop); pushbuffer(0);
3147 /* rule 76 can match eol */
3149 ENTER(VALUE1); BUFFERSET(AX_surfxml_prop_id);
3152 /* rule 77 can match eol */
3154 ENTER(VALUE2); BUFFERSET(AX_surfxml_prop_id);
3157 /* rule 78 can match eol */
3159 ENTER(VALUE1); BUFFERSET(AX_surfxml_prop_value);
3162 /* rule 79 can match eol */
3164 ENTER(VALUE2); BUFFERSET(AX_surfxml_prop_value);
3169 if (!AX_surfxml_prop_id) FAIL("Required attribute `id' not set for `prop' element.");
3170 if (!AX_surfxml_prop_value) FAIL("Required attribute `value' not set for `prop' element.");
3171 LEAVE; STag_surfxml_prop();surfxml_pcdata_ix = 0; ENTER(E_surfxml_prop);
3177 if (!AX_surfxml_prop_id) FAIL("Required attribute `id' not set for `prop' element.");
3178 if (!AX_surfxml_prop_value) FAIL("Required attribute `value' not set for `prop' element.");
3179 LEAVE; STag_surfxml_prop(); surfxml_pcdata_ix = 0; ETag_surfxml_prop(); popbuffer(); /* attribute */
3181 case S_surfxml_process_1: case S_surfxml_process: case S_surfxml_process_2: SET(S_surfxml_process_2); break;
3182 case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break;
3183 case ROOT_surfxml_prop: SET(EPILOG); break;
3184 case S_surfxml_link_1: case S_surfxml_link_2: case S_surfxml_link: SET(S_surfxml_link_2); break;
3190 FAIL("Unexpected character `%c' in attribute list of prop element.", surf_parse_text[0]);
3194 FAIL("Bad attribute `%s' in `prop' element start tag.",surf_parse_text);
3196 case YY_STATE_EOF(AL_surfxml_prop):
3197 FAIL("EOF in attribute list of `prop' element.");
3201 /* rule 84 can match eol */
3205 ETag_surfxml_prop();
3206 popbuffer(); /* attribute */
3208 case S_surfxml_process_1: case S_surfxml_process: case S_surfxml_process_2: SET(S_surfxml_process_2); break;
3209 case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break;
3210 case ROOT_surfxml_prop: SET(EPILOG); break;
3211 case S_surfxml_link_1: case S_surfxml_link_2: case S_surfxml_link: SET(S_surfxml_link_2); break;
3216 /* rule 85 can match eol */
3218 FAIL("Unexpected end-tag `%s': `</prop>' expected.",surf_parse_text);
3222 FAIL("Unexpected character `%c': `</prop>' expected.",surf_parse_text[0]);
3224 case YY_STATE_EOF(E_surfxml_prop):
3225 FAIL("Premature EOF: `</prop>' expected.");
3229 /* rule 87 can match eol */
3232 AX_surfxml_router_id = 0;
3233 ENTER(AL_surfxml_router); pushbuffer(0);
3238 /* rule 88 can match eol */
3240 ENTER(VALUE1); BUFFERSET(AX_surfxml_router_id);
3243 /* rule 89 can match eol */
3245 ENTER(VALUE2); BUFFERSET(AX_surfxml_router_id);
3250 if (!AX_surfxml_router_id) FAIL("Required attribute `id' not set for `router' element.");
3251 LEAVE; STag_surfxml_router();surfxml_pcdata_ix = 0; ENTER(E_surfxml_router);
3257 if (!AX_surfxml_router_id) FAIL("Required attribute `id' not set for `router' element.");
3258 LEAVE; STag_surfxml_router(); surfxml_pcdata_ix = 0; ETag_surfxml_router(); popbuffer(); /* attribute */
3260 case S_surfxml_platform_description_8: case S_surfxml_platform_description_5: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_7: SET(S_surfxml_platform_description_8); break;
3261 case ROOT_surfxml_router: SET(EPILOG); break;
3267 FAIL("Unexpected character `%c' in attribute list of router element.", surf_parse_text[0]);
3271 FAIL("Bad attribute `%s' in `router' element start tag.",surf_parse_text);
3273 case YY_STATE_EOF(AL_surfxml_router):
3274 FAIL("EOF in attribute list of `router' element.");
3278 /* rule 94 can match eol */
3282 ETag_surfxml_router();
3283 popbuffer(); /* attribute */
3285 case S_surfxml_platform_description_8: case S_surfxml_platform_description_5: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_7: SET(S_surfxml_platform_description_8); break;
3286 case ROOT_surfxml_router: SET(EPILOG); break;
3291 /* rule 95 can match eol */
3293 FAIL("Unexpected end-tag `%s': `</router>' expected.",surf_parse_text);
3297 FAIL("Unexpected character `%c': `</router>' expected.",surf_parse_text[0]);
3299 case YY_STATE_EOF(E_surfxml_router):
3300 FAIL("Premature EOF: `</router>' expected.");
3304 /* rule 97 can match eol */
3307 AX_surfxml_link_id = 0;
3308 AX_surfxml_link_bandwidth = 0;
3309 AX_surfxml_link_bandwidth_file = 0;
3310 AX_surfxml_link_latency = 26;
3311 AX_surfxml_link_latency_file = 0;
3312 AX_surfxml_link_state = A_surfxml_link_state_ON;
3313 AX_surfxml_link_state_file = 0;
3314 AX_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_SHARED;
3315 ENTER(AL_surfxml_link); pushbuffer(0);
3320 /* rule 98 can match eol */
3322 ENTER(VALUE1); BUFFERSET(AX_surfxml_link_id);
3325 /* rule 99 can match eol */
3327 ENTER(VALUE2); BUFFERSET(AX_surfxml_link_id);
3330 /* rule 100 can match eol */
3332 ENTER(VALUE1); BUFFERSET(AX_surfxml_link_bandwidth);
3335 /* rule 101 can match eol */
3337 ENTER(VALUE2); BUFFERSET(AX_surfxml_link_bandwidth);
3340 /* rule 102 can match eol */
3342 ENTER(VALUE1); BUFFERSET(AX_surfxml_link_bandwidth_file);
3345 /* rule 103 can match eol */
3347 ENTER(VALUE2); BUFFERSET(AX_surfxml_link_bandwidth_file);
3350 /* rule 104 can match eol */
3352 ENTER(VALUE1); BUFFERSET(AX_surfxml_link_latency);
3355 /* rule 105 can match eol */
3357 ENTER(VALUE2); BUFFERSET(AX_surfxml_link_latency);
3360 /* rule 106 can match eol */
3362 ENTER(VALUE1); BUFFERSET(AX_surfxml_link_latency_file);
3365 /* rule 107 can match eol */
3367 ENTER(VALUE2); BUFFERSET(AX_surfxml_link_latency_file);
3370 /* rule 108 can match eol */
3372 /* rule 109 can match eol */
3374 A_surfxml_link_state = A_surfxml_link_state_ON;
3377 /* rule 110 can match eol */
3379 /* rule 111 can match eol */
3381 A_surfxml_link_state = A_surfxml_link_state_OFF;
3384 /* rule 112 can match eol */
3386 ENTER(VALUE1); BUFFERSET(AX_surfxml_link_state_file);
3389 /* rule 113 can match eol */
3391 ENTER(VALUE2); BUFFERSET(AX_surfxml_link_state_file);
3394 /* rule 114 can match eol */
3396 /* rule 115 can match eol */
3398 A_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_SHARED;
3401 /* rule 116 can match eol */
3403 /* rule 117 can match eol */
3405 A_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_FATPIPE;
3410 if (!AX_surfxml_link_id) FAIL("Required attribute `id' not set for `link' element.");
3411 if (!AX_surfxml_link_bandwidth) FAIL("Required attribute `bandwidth' not set for `link' element.");
3412 LEAVE; STag_surfxml_link();surfxml_pcdata_ix = 0; ENTER(S_surfxml_link);
3418 if (!AX_surfxml_link_id) FAIL("Required attribute `id' not set for `link' element.");
3419 if (!AX_surfxml_link_bandwidth) FAIL("Required attribute `bandwidth' not set for `link' element.");
3420 LEAVE; STag_surfxml_link(); surfxml_pcdata_ix = 0; ETag_surfxml_link(); popbuffer(); /* attribute */
3422 case S_surfxml_platform_description_8: case S_surfxml_platform_description_10: case S_surfxml_platform_description_5: case S_surfxml_platform_description_11: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_6: SET(S_surfxml_platform_description_11); break;
3423 case ROOT_surfxml_link: SET(EPILOG); break;
3429 FAIL("Unexpected character `%c' in attribute list of link element.", surf_parse_text[0]);
3433 FAIL("Bad attribute `%s' in `link' element start tag.",surf_parse_text);
3435 case YY_STATE_EOF(AL_surfxml_link):
3436 FAIL("EOF in attribute list of `link' element.");
3440 /* rule 122 can match eol */
3444 ETag_surfxml_link();
3445 popbuffer(); /* attribute */
3447 case S_surfxml_platform_description_8: case S_surfxml_platform_description_10: case S_surfxml_platform_description_5: case S_surfxml_platform_description_11: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_6: SET(S_surfxml_platform_description_11); break;
3448 case ROOT_surfxml_link: SET(EPILOG); break;
3453 /* rule 123 can match eol */
3455 FAIL("Unexpected end-tag `%s': `</link>' expected.",surf_parse_text);
3459 FAIL("Unexpected character `%c': `</link>' expected.",surf_parse_text[0]);
3461 case YY_STATE_EOF(E_surfxml_link):
3462 case YY_STATE_EOF(S_surfxml_link_2):
3463 case YY_STATE_EOF(S_surfxml_link):
3464 FAIL("Premature EOF: `</link>' expected.");
3468 /* rule 125 can match eol */
3471 AX_surfxml_route_src = 0;
3472 AX_surfxml_route_dst = 0;
3473 AX_surfxml_route_impact_on_src = 30;
3474 AX_surfxml_route_impact_on_dst = 34;
3475 AX_surfxml_route_impact_on_src_with_other_recv = 38;
3476 AX_surfxml_route_impact_on_dst_with_other_send = 42;
3477 ENTER(AL_surfxml_route); pushbuffer(0);
3482 /* rule 126 can match eol */
3484 ENTER(VALUE1); BUFFERSET(AX_surfxml_route_src);
3487 /* rule 127 can match eol */
3489 ENTER(VALUE2); BUFFERSET(AX_surfxml_route_src);
3492 /* rule 128 can match eol */
3494 ENTER(VALUE1); BUFFERSET(AX_surfxml_route_dst);
3497 /* rule 129 can match eol */
3499 ENTER(VALUE2); BUFFERSET(AX_surfxml_route_dst);
3502 /* rule 130 can match eol */
3504 ENTER(VALUE1); BUFFERSET(AX_surfxml_route_impact_on_src);
3507 /* rule 131 can match eol */
3509 ENTER(VALUE2); BUFFERSET(AX_surfxml_route_impact_on_src);
3512 /* rule 132 can match eol */
3514 ENTER(VALUE1); BUFFERSET(AX_surfxml_route_impact_on_dst);
3517 /* rule 133 can match eol */
3519 ENTER(VALUE2); BUFFERSET(AX_surfxml_route_impact_on_dst);
3522 /* rule 134 can match eol */
3524 ENTER(VALUE1); BUFFERSET(AX_surfxml_route_impact_on_src_with_other_recv);
3527 /* rule 135 can match eol */
3529 ENTER(VALUE2); BUFFERSET(AX_surfxml_route_impact_on_src_with_other_recv);
3532 /* rule 136 can match eol */
3534 ENTER(VALUE1); BUFFERSET(AX_surfxml_route_impact_on_dst_with_other_send);
3537 /* rule 137 can match eol */
3539 ENTER(VALUE2); BUFFERSET(AX_surfxml_route_impact_on_dst_with_other_send);
3544 if (!AX_surfxml_route_src) FAIL("Required attribute `src' not set for `route' element.");
3545 if (!AX_surfxml_route_dst) FAIL("Required attribute `dst' not set for `route' element.");
3546 LEAVE; STag_surfxml_route();surfxml_pcdata_ix = 0; ENTER(S_surfxml_route);
3552 if (!AX_surfxml_route_src) FAIL("Required attribute `src' not set for `route' element.");
3553 if (!AX_surfxml_route_dst) FAIL("Required attribute `dst' not set for `route' element.");
3554 LEAVE; STag_surfxml_route(); surfxml_pcdata_ix = 0; ETag_surfxml_route(); popbuffer(); /* attribute */
3556 case S_surfxml_platform_description_8: case S_surfxml_platform_description_5: case S_surfxml_platform_description_9: case S_surfxml_platform_description_11: case S_surfxml_platform_description_13: case S_surfxml_platform_description_14: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_6: SET(S_surfxml_platform_description_14); break;
3557 case ROOT_surfxml_route: SET(EPILOG); break;
3563 FAIL("Unexpected character `%c' in attribute list of route element.", surf_parse_text[0]);
3567 FAIL("Bad attribute `%s' in `route' element start tag.",surf_parse_text);
3569 case YY_STATE_EOF(AL_surfxml_route):
3570 FAIL("EOF in attribute list of `route' element.");
3574 /* rule 142 can match eol */
3578 ETag_surfxml_route();
3579 popbuffer(); /* attribute */
3581 case S_surfxml_platform_description_8: case S_surfxml_platform_description_5: case S_surfxml_platform_description_9: case S_surfxml_platform_description_11: case S_surfxml_platform_description_13: case S_surfxml_platform_description_14: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_6: SET(S_surfxml_platform_description_14); break;
3582 case ROOT_surfxml_route: SET(EPILOG); break;
3587 /* rule 143 can match eol */
3589 FAIL("Unexpected end-tag `%s': `</route>' expected.",surf_parse_text);
3593 FAIL("Unexpected character `%c': `</route>' expected.",surf_parse_text[0]);
3595 case YY_STATE_EOF(S_surfxml_route):
3596 case YY_STATE_EOF(S_surfxml_route_2):
3597 case YY_STATE_EOF(E_surfxml_route):
3598 FAIL("Premature EOF: `</route>' expected.");
3602 /* rule 145 can match eol */
3605 AX_surfxml_link_c_ctn_id = 0;
3606 ENTER(AL_surfxml_link_c_ctn); pushbuffer(0);
3611 /* rule 146 can match eol */
3613 ENTER(VALUE1); BUFFERSET(AX_surfxml_link_c_ctn_id);
3616 /* rule 147 can match eol */
3618 ENTER(VALUE2); BUFFERSET(AX_surfxml_link_c_ctn_id);
3623 if (!AX_surfxml_link_c_ctn_id) FAIL("Required attribute `id' not set for `link:ctn' element.");
3624 LEAVE; STag_surfxml_link_c_ctn();surfxml_pcdata_ix = 0; ENTER(E_surfxml_link_c_ctn);
3630 if (!AX_surfxml_link_c_ctn_id) FAIL("Required attribute `id' not set for `link:ctn' element.");
3631 LEAVE; STag_surfxml_link_c_ctn(); surfxml_pcdata_ix = 0; ETag_surfxml_link_c_ctn(); popbuffer(); /* attribute */
3633 case S_surfxml_route_1: case S_surfxml_route: case S_surfxml_route_2: SET(S_surfxml_route_2); break;
3634 case ROOT_surfxml_link_c_ctn: SET(EPILOG); break;
3640 FAIL("Unexpected character `%c' in attribute list of link:ctn element.", surf_parse_text[0]);
3644 FAIL("Bad attribute `%s' in `link:ctn' element start tag.",surf_parse_text);
3646 case YY_STATE_EOF(AL_surfxml_link_c_ctn):
3647 FAIL("EOF in attribute list of `link:ctn' element.");
3651 /* rule 152 can match eol */
3655 ETag_surfxml_link_c_ctn();
3656 popbuffer(); /* attribute */
3658 case S_surfxml_route_1: case S_surfxml_route: case S_surfxml_route_2: SET(S_surfxml_route_2); break;
3659 case ROOT_surfxml_link_c_ctn: SET(EPILOG); break;
3664 /* rule 153 can match eol */
3666 FAIL("Unexpected end-tag `%s': `</link:ctn>' expected.",surf_parse_text);
3670 FAIL("Unexpected character `%c': `</link:ctn>' expected.",surf_parse_text[0]);
3672 case YY_STATE_EOF(E_surfxml_link_c_ctn):
3673 FAIL("Premature EOF: `</link:ctn>' expected.");
3677 /* rule 155 can match eol */
3680 AX_surfxml_process_host = 0;
3681 AX_surfxml_process_function = 0;
3682 AX_surfxml_process_start_time = 46;
3683 AX_surfxml_process_kill_time = 51;
3684 ENTER(AL_surfxml_process); pushbuffer(0);
3689 /* rule 156 can match eol */
3691 ENTER(VALUE1); BUFFERSET(AX_surfxml_process_host);
3694 /* rule 157 can match eol */
3696 ENTER(VALUE2); BUFFERSET(AX_surfxml_process_host);
3699 /* rule 158 can match eol */
3701 ENTER(VALUE1); BUFFERSET(AX_surfxml_process_function);
3704 /* rule 159 can match eol */
3706 ENTER(VALUE2); BUFFERSET(AX_surfxml_process_function);
3709 /* rule 160 can match eol */
3711 ENTER(VALUE1); BUFFERSET(AX_surfxml_process_start_time);
3714 /* rule 161 can match eol */
3716 ENTER(VALUE2); BUFFERSET(AX_surfxml_process_start_time);
3719 /* rule 162 can match eol */
3721 ENTER(VALUE1); BUFFERSET(AX_surfxml_process_kill_time);
3724 /* rule 163 can match eol */
3726 ENTER(VALUE2); BUFFERSET(AX_surfxml_process_kill_time);
3731 if (!AX_surfxml_process_host) FAIL("Required attribute `host' not set for `process' element.");
3732 if (!AX_surfxml_process_function) FAIL("Required attribute `function' not set for `process' element.");
3733 LEAVE; STag_surfxml_process();surfxml_pcdata_ix = 0; ENTER(S_surfxml_process);
3739 if (!AX_surfxml_process_host) FAIL("Required attribute `host' not set for `process' element.");
3740 if (!AX_surfxml_process_function) FAIL("Required attribute `function' not set for `process' element.");
3741 LEAVE; STag_surfxml_process(); surfxml_pcdata_ix = 0; ETag_surfxml_process(); popbuffer(); /* attribute */
3743 case S_surfxml_platform_description_8: case S_surfxml_platform_description_16: case S_surfxml_platform_description_5: case S_surfxml_platform_description_9: case S_surfxml_platform_description_11: case S_surfxml_platform_description_15: case S_surfxml_platform_description_12: case S_surfxml_platform_description_14: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_6: SET(S_surfxml_platform_description_16); break;
3744 case ROOT_surfxml_process: SET(EPILOG); break;
3750 FAIL("Unexpected character `%c' in attribute list of process element.", surf_parse_text[0]);
3754 FAIL("Bad attribute `%s' in `process' element start tag.",surf_parse_text);
3756 case YY_STATE_EOF(AL_surfxml_process):
3757 FAIL("EOF in attribute list of `process' element.");
3761 /* rule 168 can match eol */
3765 ETag_surfxml_process();
3766 popbuffer(); /* attribute */
3768 case S_surfxml_platform_description_8: case S_surfxml_platform_description_16: case S_surfxml_platform_description_5: case S_surfxml_platform_description_9: case S_surfxml_platform_description_11: case S_surfxml_platform_description_15: case S_surfxml_platform_description_12: case S_surfxml_platform_description_14: case S_surfxml_platform_description_3: case S_surfxml_platform_description: case S_surfxml_platform_description_6: SET(S_surfxml_platform_description_16); break;
3769 case ROOT_surfxml_process: SET(EPILOG); break;
3774 /* rule 169 can match eol */
3776 FAIL("Unexpected end-tag `%s': `</process>' expected.",surf_parse_text);
3780 FAIL("Unexpected character `%c': `</process>' expected.",surf_parse_text[0]);
3782 case YY_STATE_EOF(E_surfxml_process):
3783 case YY_STATE_EOF(S_surfxml_process):
3784 case YY_STATE_EOF(S_surfxml_process_2):
3785 FAIL("Premature EOF: `</process>' expected.");
3789 /* rule 171 can match eol */
3792 AX_surfxml_argument_value = 0;
3793 ENTER(AL_surfxml_argument); pushbuffer(0);
3798 /* rule 172 can match eol */
3800 ENTER(VALUE1); BUFFERSET(AX_surfxml_argument_value);
3803 /* rule 173 can match eol */
3805 ENTER(VALUE2); BUFFERSET(AX_surfxml_argument_value);
3810 if (!AX_surfxml_argument_value) FAIL("Required attribute `value' not set for `argument' element.");
3811 LEAVE; STag_surfxml_argument();surfxml_pcdata_ix = 0; ENTER(E_surfxml_argument);
3817 if (!AX_surfxml_argument_value) FAIL("Required attribute `value' not set for `argument' element.");
3818 LEAVE; STag_surfxml_argument(); surfxml_pcdata_ix = 0; ETag_surfxml_argument(); popbuffer(); /* attribute */
3820 case S_surfxml_process_1: case S_surfxml_process: case S_surfxml_process_2: SET(S_surfxml_process_2); break;
3821 case ROOT_surfxml_argument: SET(EPILOG); break;
3827 FAIL("Unexpected character `%c' in attribute list of argument element.", surf_parse_text[0]);
3831 FAIL("Bad attribute `%s' in `argument' element start tag.",surf_parse_text);
3833 case YY_STATE_EOF(AL_surfxml_argument):
3834 FAIL("EOF in attribute list of `argument' element.");
3838 /* rule 178 can match eol */
3842 ETag_surfxml_argument();
3843 popbuffer(); /* attribute */
3845 case S_surfxml_process_1: case S_surfxml_process: case S_surfxml_process_2: SET(S_surfxml_process_2); break;
3846 case ROOT_surfxml_argument: SET(EPILOG); break;
3851 /* rule 179 can match eol */
3853 FAIL("Unexpected end-tag `%s': `</argument>' expected.",surf_parse_text);
3857 FAIL("Unexpected character `%c': `</argument>' expected.",surf_parse_text[0]);
3859 case YY_STATE_EOF(E_surfxml_argument):
3860 FAIL("Premature EOF: `</argument>' expected.");
3863 /* EPILOG: after the root element. */
3867 {SET(PROLOG); yyless(0); CLEANUP; return -1;}
3869 case YY_STATE_EOF(EPILOG):
3873 /* CHARACTER DATA. */
3875 /* Non-defined standard entities... */
3896 /* Character entities. */
3899 BUFFERPUTC((unsigned char)atoi(surf_parse_text+2));
3903 BUFFERPUTC((unsigned char)strtol(surf_parse_text+3,NULL,16));
3907 /* rule 189 can match eol */
3909 /* rule 190 can match eol */
3911 /* rule 191 can match eol */
3913 /* rule 192 can match eol */
3924 FAIL("Unexpected `]""]>' in character data.");
3931 case YY_STATE_EOF(VALUE1):
3932 FAIL("EOF in literal (\"'\" expected).");
3939 case YY_STATE_EOF(VALUE2):
3940 FAIL("EOF in literal (`\"' expected).");
3944 /* rule 197 can match eol */
3946 BUFFERPUTC(surf_parse_text[0]);
3950 FAIL("Spurious `%c' in character data.",surf_parse_text[0]);
3957 /* "]""]" BUFFERPUTC(surf_parse_text[0]); BUFFERPUTC(surf_parse_text[1]); */
3960 BUFFERPUTC(surf_parse_text[0]);
3962 case YY_STATE_EOF(CDATA):
3963 FAIL("EOF in CDATA section.");
3966 /* Impossible rules to avoid warnings from flex(1). */
3967 /* Ideally, this should be replaced by code in flexml.pl that
3968 generates just the states not covered by other rules. */
3971 /* rule 201 can match eol */
3973 FAIL("Syntax error on character `%c'.", surf_parse_text[0]);
3980 case YY_STATE_EOF(INITIAL):
3981 case YY_STATE_EOF(ROOT_surfxml_platform_description):
3982 case YY_STATE_EOF(S_surfxml_platform_description_1):
3983 case YY_STATE_EOF(S_surfxml_platform_description_4):
3984 case YY_STATE_EOF(S_surfxml_platform_description_7):
3985 case YY_STATE_EOF(S_surfxml_platform_description_10):
3986 case YY_STATE_EOF(S_surfxml_platform_description_13):
3987 case YY_STATE_EOF(S_surfxml_platform_description_15):
3988 case YY_STATE_EOF(ROOT_surfxml_include):
3989 case YY_STATE_EOF(ROOT_surfxml_host):
3990 case YY_STATE_EOF(S_surfxml_host_1):
3991 case YY_STATE_EOF(ROOT_surfxml_prop):
3992 case YY_STATE_EOF(ROOT_surfxml_router):
3993 case YY_STATE_EOF(ROOT_surfxml_link):
3994 case YY_STATE_EOF(S_surfxml_link_1):
3995 case YY_STATE_EOF(ROOT_surfxml_route):
3996 case YY_STATE_EOF(S_surfxml_route_1):
3997 case YY_STATE_EOF(ROOT_surfxml_link_c_ctn):
3998 case YY_STATE_EOF(ROOT_surfxml_process):
3999 case YY_STATE_EOF(S_surfxml_process_1):
4000 case YY_STATE_EOF(ROOT_surfxml_argument):
4001 case YY_STATE_EOF(IMPOSSIBLE):
4004 case YY_END_OF_BUFFER:
4006 /* Amount of text matched not including the EOB char. */
4007 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
4009 /* Undo the effects of YY_DO_BEFORE_ACTION. */
4010 *yy_cp = (yy_hold_char);
4011 YY_RESTORE_YY_MORE_OFFSET
4013 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
4015 /* We're scanning a new file or input source. It's
4016 * possible that this happened because the user
4017 * just pointed surf_parse_in at a new source and called
4018 * surf_parse_lex(). If so, then we have to assure
4019 * consistency between YY_CURRENT_BUFFER and our
4020 * globals. Here is the right place to do so, because
4021 * this is the first action (other than possibly a
4022 * back-up) that will match for the new input source.
4024 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
4025 YY_CURRENT_BUFFER_LVALUE->yy_input_file = surf_parse_in;
4026 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
4029 /* Note that here we test for yy_c_buf_p "<=" to the position
4030 * of the first EOB in the buffer, since yy_c_buf_p will
4031 * already have been incremented past the NUL character
4032 * (since all states make transitions on EOB to the
4033 * end-of-buffer state). Contrast this with the test
4036 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
4037 { /* This was really a NUL. */
4038 yy_state_type yy_next_state;
4040 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
4042 yy_current_state = yy_get_previous_state( );
4044 /* Okay, we're now positioned to make the NUL
4045 * transition. We couldn't have
4046 * yy_get_previous_state() go ahead and do it
4047 * for us because it doesn't know how to deal
4048 * with the possibility of jamming (and we don't
4049 * want to build jamming into it because then it
4050 * will run more slowly).
4053 yy_next_state = yy_try_NUL_trans( yy_current_state );
4055 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
4057 if ( yy_next_state )
4059 /* Consume the NUL. */
4060 yy_cp = ++(yy_c_buf_p);
4061 yy_current_state = yy_next_state;
4067 yy_cp = (yy_c_buf_p);
4068 goto yy_find_action;
4072 else switch ( yy_get_next_buffer( ) )
4074 case EOB_ACT_END_OF_FILE:
4076 (yy_did_buffer_switch_on_eof) = 0;
4078 if ( surf_parse_wrap( ) )
4080 /* Note: because we've taken care in
4081 * yy_get_next_buffer() to have set up
4082 * surf_parse_text, we can now set up
4083 * yy_c_buf_p so that if some total
4084 * hoser (like flex itself) wants to
4085 * call the scanner after we return the
4086 * YY_NULL, it'll still work - another
4087 * YY_NULL will get returned.
4089 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
4091 yy_act = YY_STATE_EOF(YY_START);
4097 if ( ! (yy_did_buffer_switch_on_eof) )
4103 case EOB_ACT_CONTINUE_SCAN:
4105 (yytext_ptr) + yy_amount_of_matched_text;
4107 yy_current_state = yy_get_previous_state( );
4109 yy_cp = (yy_c_buf_p);
4110 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
4113 case EOB_ACT_LAST_MATCH:
4115 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
4117 yy_current_state = yy_get_previous_state( );
4119 yy_cp = (yy_c_buf_p);
4120 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
4121 goto yy_find_action;
4128 "fatal flex scanner internal error--no action found" );
4129 } /* end of action switch */
4130 } /* end of scanning one token */
4131 } /* end of surf_parse_lex */
4133 /* yy_get_next_buffer - try to read in a new buffer
4135 * Returns a code representing an action:
4136 * EOB_ACT_LAST_MATCH -
4137 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
4138 * EOB_ACT_END_OF_FILE - end of file
4140 static int yy_get_next_buffer (void)
4142 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
4143 register char *source = (yytext_ptr);
4144 register int number_to_move, i;
4147 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
4149 "fatal flex scanner internal error--end of buffer missed" );
4151 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
4152 { /* Don't try to fill the buffer, so this is an EOF. */
4153 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
4155 /* We matched a single character, the EOB, so
4156 * treat this as a final EOF.
4158 return EOB_ACT_END_OF_FILE;
4163 /* We matched some text prior to the EOB, first
4166 return EOB_ACT_LAST_MATCH;
4170 /* Try to read more data. */
4172 /* First move last chars to start of buffer. */
4173 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
4175 for ( i = 0; i < number_to_move; ++i )
4176 *(dest++) = *(source++);
4178 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
4179 /* don't do the read, it's not guaranteed to return an EOF,
4182 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
4187 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
4189 while ( num_to_read <= 0 )
4190 { /* Not enough room in the buffer - grow it. */
4192 /* just a shorter name for the current buffer */
4193 YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
4195 int yy_c_buf_p_offset =
4196 (int) ((yy_c_buf_p) - b->yy_ch_buf);
4198 if ( b->yy_is_our_buffer )
4200 int new_size = b->yy_buf_size * 2;
4202 if ( new_size <= 0 )
4203 b->yy_buf_size += b->yy_buf_size / 8;
4205 b->yy_buf_size *= 2;
4207 b->yy_ch_buf = (char *)
4208 /* Include room in for 2 EOB chars. */
4209 surf_parse_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
4212 /* Can't grow it, we don't own it. */
4215 if ( ! b->yy_ch_buf )
4217 "fatal error - scanner input buffer overflow" );
4219 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
4221 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
4226 if ( num_to_read > YY_READ_BUF_SIZE )
4227 num_to_read = YY_READ_BUF_SIZE;
4229 /* Read in more data. */
4230 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
4231 (yy_n_chars), (size_t) num_to_read );
4233 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
4236 if ( (yy_n_chars) == 0 )
4238 if ( number_to_move == YY_MORE_ADJ )
4240 ret_val = EOB_ACT_END_OF_FILE;
4241 surf_parse_restart(surf_parse_in );
4246 ret_val = EOB_ACT_LAST_MATCH;
4247 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
4248 YY_BUFFER_EOF_PENDING;
4253 ret_val = EOB_ACT_CONTINUE_SCAN;
4255 (yy_n_chars) += number_to_move;
4256 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
4257 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
4259 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
4264 /* yy_get_previous_state - get the state just before the EOB char was reached */
4266 static yy_state_type yy_get_previous_state (void)
4268 register yy_state_type yy_current_state;
4269 register char *yy_cp;
4271 yy_current_state = (yy_start);
4273 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
4275 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
4276 if ( yy_accept[yy_current_state] )
4278 (yy_last_accepting_state) = yy_current_state;
4279 (yy_last_accepting_cpos) = yy_cp;
4281 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
4283 yy_current_state = (int) yy_def[yy_current_state];
4284 if ( yy_current_state >= 1517 )
4285 yy_c = yy_meta[(unsigned int) yy_c];
4287 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
4290 return yy_current_state;
4293 /* yy_try_NUL_trans - try to make a transition on the NUL character
4296 * next_state = yy_try_NUL_trans( current_state );
4298 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
4300 register int yy_is_jam;
4301 register char *yy_cp = (yy_c_buf_p);
4303 register YY_CHAR yy_c = 1;
4304 if ( yy_accept[yy_current_state] )
4306 (yy_last_accepting_state) = yy_current_state;
4307 (yy_last_accepting_cpos) = yy_cp;
4309 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
4311 yy_current_state = (int) yy_def[yy_current_state];
4312 if ( yy_current_state >= 1517 )
4313 yy_c = yy_meta[(unsigned int) yy_c];
4315 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
4316 yy_is_jam = (yy_current_state == 1516);
4318 return yy_is_jam ? 0 : yy_current_state;
4323 static int yyinput (void)
4325 static int input (void)
4331 *(yy_c_buf_p) = (yy_hold_char);
4333 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
4335 /* yy_c_buf_p now points to the character we want to return.
4336 * If this occurs *before* the EOB characters, then it's a
4337 * valid NUL; if not, then we've hit the end of the buffer.
4339 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
4340 /* This was really a NUL. */
4341 *(yy_c_buf_p) = '\0';
4344 { /* need more input */
4345 int offset = (yy_c_buf_p) - (yytext_ptr);
4348 switch ( yy_get_next_buffer( ) )
4350 case EOB_ACT_LAST_MATCH:
4351 /* This happens because yy_g_n_b()
4352 * sees that we've accumulated a
4353 * token and flags that we need to
4354 * try matching the token before
4355 * proceeding. But for input(),
4356 * there's no matching to consider.
4357 * So convert the EOB_ACT_LAST_MATCH
4358 * to EOB_ACT_END_OF_FILE.
4361 /* Reset buffer status. */
4362 surf_parse_restart(surf_parse_in );
4366 case EOB_ACT_END_OF_FILE:
4368 if ( surf_parse_wrap( ) )
4371 if ( ! (yy_did_buffer_switch_on_eof) )
4380 case EOB_ACT_CONTINUE_SCAN:
4381 (yy_c_buf_p) = (yytext_ptr) + offset;
4387 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
4388 *(yy_c_buf_p) = '\0'; /* preserve surf_parse_text */
4389 (yy_hold_char) = *++(yy_c_buf_p);
4393 surf_parse_lineno++;
4398 #endif /* ifndef YY_NO_INPUT */
4400 /** Immediately switch to a different input stream.
4401 * @param input_file A readable stream.
4403 * @note This function does not reset the start condition to @c INITIAL .
4405 void surf_parse_restart (FILE * input_file )
4408 if ( ! YY_CURRENT_BUFFER ){
4409 surf_parse_ensure_buffer_stack ();
4410 YY_CURRENT_BUFFER_LVALUE =
4411 surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE );
4414 surf_parse__init_buffer(YY_CURRENT_BUFFER,input_file );
4415 surf_parse__load_buffer_state( );
4418 /** Switch to a different input buffer.
4419 * @param new_buffer The new input buffer.
4422 void surf_parse__switch_to_buffer (YY_BUFFER_STATE new_buffer )
4425 /* TODO. We should be able to replace this entire function body
4427 * surf_parse_pop_buffer_state();
4428 * surf_parse_push_buffer_state(new_buffer);
4430 surf_parse_ensure_buffer_stack ();
4431 if ( YY_CURRENT_BUFFER == new_buffer )
4434 if ( YY_CURRENT_BUFFER )
4436 /* Flush out information for old buffer. */
4437 *(yy_c_buf_p) = (yy_hold_char);
4438 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
4439 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
4442 YY_CURRENT_BUFFER_LVALUE = new_buffer;
4443 surf_parse__load_buffer_state( );
4445 /* We don't actually know whether we did this switch during
4446 * EOF (surf_parse_wrap()) processing, but the only time this flag
4447 * is looked at is after surf_parse_wrap() is called, so it's safe
4448 * to go ahead and always set it.
4450 (yy_did_buffer_switch_on_eof) = 1;
4453 static void surf_parse__load_buffer_state (void)
4455 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
4456 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
4457 surf_parse_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
4458 (yy_hold_char) = *(yy_c_buf_p);
4461 /** Allocate and initialize an input buffer state.
4462 * @param file A readable stream.
4463 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
4465 * @return the allocated buffer state.
4467 YY_BUFFER_STATE surf_parse__create_buffer (FILE * file, int size )
4471 b = (YY_BUFFER_STATE) surf_parse_alloc(sizeof( struct yy_buffer_state ) );
4473 YY_FATAL_ERROR( "out of dynamic memory in surf_parse__create_buffer()" );
4475 b->yy_buf_size = size;
4477 /* yy_ch_buf has to be 2 characters longer than the size given because
4478 * we need to put in 2 end-of-buffer characters.
4480 b->yy_ch_buf = (char *) surf_parse_alloc(b->yy_buf_size + 2 );
4481 if ( ! b->yy_ch_buf )
4482 YY_FATAL_ERROR( "out of dynamic memory in surf_parse__create_buffer()" );
4484 b->yy_is_our_buffer = 1;
4486 surf_parse__init_buffer(b,file );
4491 /** Destroy the buffer.
4492 * @param b a buffer created with surf_parse__create_buffer()
4495 void surf_parse__delete_buffer (YY_BUFFER_STATE b )
4501 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
4502 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
4504 if ( b->yy_is_our_buffer )
4505 surf_parse_free((void *) b->yy_ch_buf );
4507 surf_parse_free((void *) b );
4511 extern int isatty (int );
4512 #endif /* __cplusplus */
4514 /* Initializes or reinitializes a buffer.
4515 * This function is sometimes called more than once on the same buffer,
4516 * such as during a surf_parse_restart() or at EOF.
4518 static void surf_parse__init_buffer (YY_BUFFER_STATE b, FILE * file )
4523 surf_parse__flush_buffer(b );
4525 b->yy_input_file = file;
4526 b->yy_fill_buffer = 1;
4528 /* If b is the current buffer, then surf_parse__init_buffer was _probably_
4529 * called from surf_parse_restart() or through yy_get_next_buffer.
4530 * In that case, we don't want to reset the lineno or column.
4532 if (b != YY_CURRENT_BUFFER){
4533 b->yy_bs_lineno = 1;
4534 b->yy_bs_column = 0;
4537 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
4542 /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
4543 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
4546 void surf_parse__flush_buffer (YY_BUFFER_STATE b )
4553 /* We always need two end-of-buffer characters. The first causes
4554 * a transition to the end-of-buffer state. The second causes
4555 * a jam in that state.
4557 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
4558 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
4560 b->yy_buf_pos = &b->yy_ch_buf[0];
4563 b->yy_buffer_status = YY_BUFFER_NEW;
4565 if ( b == YY_CURRENT_BUFFER )
4566 surf_parse__load_buffer_state( );
4569 /** Pushes the new state onto the stack. The new state becomes
4570 * the current state. This function will allocate the stack
4572 * @param new_buffer The new state.
4575 void surf_parse_push_buffer_state (YY_BUFFER_STATE new_buffer )
4577 if (new_buffer == NULL)
4580 surf_parse_ensure_buffer_stack();
4582 /* This block is copied from surf_parse__switch_to_buffer. */
4583 if ( YY_CURRENT_BUFFER )
4585 /* Flush out information for old buffer. */
4586 *(yy_c_buf_p) = (yy_hold_char);
4587 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
4588 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
4591 /* Only push if top exists. Otherwise, replace top. */
4592 if (YY_CURRENT_BUFFER)
4593 (yy_buffer_stack_top)++;
4594 YY_CURRENT_BUFFER_LVALUE = new_buffer;
4596 /* copied from surf_parse__switch_to_buffer. */
4597 surf_parse__load_buffer_state( );
4598 (yy_did_buffer_switch_on_eof) = 1;
4601 /** Removes and deletes the top of the stack, if present.
4602 * The next element becomes the new top.
4605 void surf_parse_pop_buffer_state (void)
4607 if (!YY_CURRENT_BUFFER)
4610 surf_parse__delete_buffer(YY_CURRENT_BUFFER );
4611 YY_CURRENT_BUFFER_LVALUE = NULL;
4612 if ((yy_buffer_stack_top) > 0)
4613 --(yy_buffer_stack_top);
4615 if (YY_CURRENT_BUFFER) {
4616 surf_parse__load_buffer_state( );
4617 (yy_did_buffer_switch_on_eof) = 1;
4621 /* Allocates the stack if it does not exist.
4622 * Guarantees space for at least one push.
4624 static void surf_parse_ensure_buffer_stack (void)
4628 if (!(yy_buffer_stack)) {
4630 /* First allocation is just for 2 elements, since we don't know if this
4631 * scanner will even need a stack. We use 2 instead of 1 to avoid an
4632 * immediate realloc on the next call.
4635 (yy_buffer_stack) = (struct yy_buffer_state**)surf_parse_alloc
4636 (num_to_alloc * sizeof(struct yy_buffer_state*)
4639 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
4641 (yy_buffer_stack_max) = num_to_alloc;
4642 (yy_buffer_stack_top) = 0;
4646 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
4648 /* Increase the buffer to prepare for a possible push. */
4649 int grow_size = 8 /* arbitrary grow size */;
4651 num_to_alloc = (yy_buffer_stack_max) + grow_size;
4652 (yy_buffer_stack) = (struct yy_buffer_state**)surf_parse_realloc
4654 num_to_alloc * sizeof(struct yy_buffer_state*)
4657 /* zero only the new slots.*/
4658 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
4659 (yy_buffer_stack_max) = num_to_alloc;
4663 /** Setup the input buffer state to scan directly from a user-specified character buffer.
4664 * @param base the character buffer
4665 * @param size the size in bytes of the character buffer
4667 * @return the newly allocated buffer state object.
4669 YY_BUFFER_STATE surf_parse__scan_buffer (char * base, yy_size_t size )
4674 base[size-2] != YY_END_OF_BUFFER_CHAR ||
4675 base[size-1] != YY_END_OF_BUFFER_CHAR )
4676 /* They forgot to leave room for the EOB's. */
4679 b = (YY_BUFFER_STATE) surf_parse_alloc(sizeof( struct yy_buffer_state ) );
4681 YY_FATAL_ERROR( "out of dynamic memory in surf_parse__scan_buffer()" );
4683 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
4684 b->yy_buf_pos = b->yy_ch_buf = base;
4685 b->yy_is_our_buffer = 0;
4686 b->yy_input_file = 0;
4687 b->yy_n_chars = b->yy_buf_size;
4688 b->yy_is_interactive = 0;
4690 b->yy_fill_buffer = 0;
4691 b->yy_buffer_status = YY_BUFFER_NEW;
4693 surf_parse__switch_to_buffer(b );
4698 /** Setup the input buffer state to scan a string. The next call to surf_parse_lex() will
4699 * scan from a @e copy of @a str.
4700 * @param yystr a NUL-terminated string to scan
4702 * @return the newly allocated buffer state object.
4703 * @note If you want to scan bytes that may contain NUL values, then use
4704 * surf_parse__scan_bytes() instead.
4706 YY_BUFFER_STATE surf_parse__scan_string (yyconst char * yystr )
4709 return surf_parse__scan_bytes(yystr,strlen(yystr) );
4712 /** Setup the input buffer state to scan the given bytes. The next call to surf_parse_lex() will
4713 * scan from a @e copy of @a bytes.
4714 * @param bytes the byte buffer to scan
4715 * @param len the number of bytes in the buffer pointed to by @a bytes.
4717 * @return the newly allocated buffer state object.
4719 YY_BUFFER_STATE surf_parse__scan_bytes (yyconst char * yybytes, int _yybytes_len )
4726 /* Get memory for full buffer, including space for trailing EOB's. */
4727 n = _yybytes_len + 2;
4728 buf = (char *) surf_parse_alloc(n );
4730 YY_FATAL_ERROR( "out of dynamic memory in surf_parse__scan_bytes()" );
4732 for ( i = 0; i < _yybytes_len; ++i )
4733 buf[i] = yybytes[i];
4735 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
4737 b = surf_parse__scan_buffer(buf,n );
4739 YY_FATAL_ERROR( "bad buffer in surf_parse__scan_bytes()" );
4741 /* It's okay to grow etc. this buffer, and we should throw it
4742 * away when we're done.
4744 b->yy_is_our_buffer = 1;
4749 static void yy_push_state (int new_state )
4751 if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) )
4755 (yy_start_stack_depth) += YY_START_STACK_INCR;
4756 new_size = (yy_start_stack_depth) * sizeof( int );
4758 if ( ! (yy_start_stack) )
4759 (yy_start_stack) = (int *) surf_parse_alloc(new_size );
4762 (yy_start_stack) = (int *) surf_parse_realloc((void *) (yy_start_stack),new_size );
4764 if ( ! (yy_start_stack) )
4766 "out of memory expanding start-condition stack" );
4769 (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START;
4774 static void yy_pop_state (void)
4776 if ( --(yy_start_stack_ptr) < 0 )
4777 YY_FATAL_ERROR( "start-condition stack underflow" );
4779 BEGIN((yy_start_stack)[(yy_start_stack_ptr)]);
4782 #ifndef YY_EXIT_FAILURE
4783 #define YY_EXIT_FAILURE 2
4786 static void yy_fatal_error (yyconst char* msg )
4788 (void) fprintf( stderr, "%s\n", msg );
4789 exit( YY_EXIT_FAILURE );
4792 /* Redefine yyless() so it works in section 3 code. */
4798 /* Undo effects of setting up surf_parse_text. */ \
4799 int yyless_macro_arg = (n); \
4800 YY_LESS_LINENO(yyless_macro_arg);\
4801 surf_parse_text[surf_parse_leng] = (yy_hold_char); \
4802 (yy_c_buf_p) = surf_parse_text + yyless_macro_arg; \
4803 (yy_hold_char) = *(yy_c_buf_p); \
4804 *(yy_c_buf_p) = '\0'; \
4805 surf_parse_leng = yyless_macro_arg; \
4809 /* Accessor methods (get/set functions) to struct members. */
4811 /** Get the current line number.
4814 int surf_parse_get_lineno (void)
4817 return surf_parse_lineno;
4820 /** Get the input stream.
4823 FILE *surf_parse_get_in (void)
4825 return surf_parse_in;
4828 /** Get the output stream.
4831 FILE *surf_parse_get_out (void)
4833 return surf_parse_out;
4836 /** Get the length of the current token.
4839 int surf_parse_get_leng (void)
4841 return surf_parse_leng;
4844 /** Get the current token.
4848 char *surf_parse_get_text (void)
4850 return surf_parse_text;
4853 /** Set the current line number.
4854 * @param line_number
4857 void surf_parse_set_lineno (int line_number )
4860 surf_parse_lineno = line_number;
4863 /** Set the input stream. This does not discard the current
4865 * @param in_str A readable stream.
4867 * @see surf_parse__switch_to_buffer
4869 void surf_parse_set_in (FILE * in_str )
4871 surf_parse_in = in_str ;
4874 void surf_parse_set_out (FILE * out_str )
4876 surf_parse_out = out_str ;
4879 int surf_parse_get_debug (void)
4881 return surf_parse__flex_debug;
4884 void surf_parse_set_debug (int bdebug )
4886 surf_parse__flex_debug = bdebug ;
4889 static int yy_init_globals (void)
4891 /* Initialization is the same as for the non-reentrant scanner.
4892 * This function is called from surf_parse_lex_destroy(), so don't allocate here.
4895 /* We do not touch surf_parse_lineno unless the option is enabled. */
4896 surf_parse_lineno = 1;
4898 (yy_buffer_stack) = 0;
4899 (yy_buffer_stack_top) = 0;
4900 (yy_buffer_stack_max) = 0;
4901 (yy_c_buf_p) = (char *) 0;
4905 (yy_start_stack_ptr) = 0;
4906 (yy_start_stack_depth) = 0;
4907 (yy_start_stack) = NULL;
4909 /* Defined in main.c */
4911 surf_parse_in = stdin;
4912 surf_parse_out = stdout;
4914 surf_parse_in = (FILE *) 0;
4915 surf_parse_out = (FILE *) 0;
4918 /* For future reference: Set errno on error, since we are called by
4919 * surf_parse_lex_init()
4924 /* surf_parse_lex_destroy is for both reentrant and non-reentrant scanners. */
4925 int surf_parse_lex_destroy (void)
4928 /* Pop the buffer stack, destroying each element. */
4929 while(YY_CURRENT_BUFFER){
4930 surf_parse__delete_buffer(YY_CURRENT_BUFFER );
4931 YY_CURRENT_BUFFER_LVALUE = NULL;
4932 surf_parse_pop_buffer_state();
4935 /* Destroy the stack itself. */
4936 surf_parse_free((yy_buffer_stack) );
4937 (yy_buffer_stack) = NULL;
4939 /* Destroy the start condition stack. */
4940 surf_parse_free((yy_start_stack) );
4941 (yy_start_stack) = NULL;
4943 /* Reset the globals. This is important in a non-reentrant scanner so the next time
4944 * surf_parse_lex() is called, initialization will occur. */
4951 * Internal utility routines.
4955 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
4958 for ( i = 0; i < n; ++i )
4963 #ifdef YY_NEED_STRLEN
4964 static int yy_flex_strlen (yyconst char * s )
4967 for ( n = 0; s[n]; ++n )
4974 void *surf_parse_alloc (yy_size_t size )
4976 return (void *) malloc( size );
4979 void *surf_parse_realloc (void * ptr, yy_size_t size )
4981 /* The cast to (char *) in the following accommodates both
4982 * implementations that use char* generic pointers, and those
4983 * that use void* generic pointers. It works with the latter
4984 * because both ANSI C and C++ allow castless assignment from
4985 * any pointer type to void*, and deal with argument conversions
4986 * as though doing an assignment.
4988 return (void *) realloc( (char *) ptr, size );
4991 void surf_parse_free (void * ptr )
4993 free( (char *) ptr ); /* see surf_parse_realloc() for (char *) cast */
4996 #define YYTABLES_NAME "yytables"
4998 /* Element context stack lookup. */
4999 int surfxml_element_context(int i)
5001 return (0<i && i<yy_start_stack_depth
5002 ? yy_start_stack[yy_start_stack_ptr - i]
5007 void print_yy_stack(char* fmt, ...)
5009 int i = 0; va_list ap; va_start(ap, fmt);
5010 vfprintf(stderr, fmt, ap);
5011 if (surfxml_statenames) {
5012 for (i=1; i<yy_start_stack_ptr; i++) {
5013 fprintf(stderr, "%s/", surfxml_statenames[yy_start_stack[i] ]);
5015 fprintf(stderr,"%s\n", surfxml_statenames[YY_START]);
5020 void print_surfxml_bufferstack()
5023 fputs("Buffer: ", stderr);
5024 for (i = 0; i < blimit; i++) {
5025 if ( surfxml_bufferstack[i] == '\377' ) break;
5026 putc(surfxml_bufferstack[i], stderr);
5031 static void debug_enter(int state, const char* statename) {
5032 yy_push_state(state);
5033 if (surf_parse__flex_debug) {
5034 print_yy_stack("--ENTER(%s) : ",statename);
5035 print_surfxml_bufferstack();
5039 static void debug_leave(void) {
5040 if (surf_parse__flex_debug) {
5041 print_yy_stack("--LEAVE : ");
5042 print_surfxml_bufferstack();
5047 static void debug_set(int state, const char* statename) {
5049 if (surf_parse__flex_debug) print_yy_stack("--SET(%s) : ",statename);
5053 static void cleanup(void)
5055 if (surfxml_statenames) {
5056 free(surfxml_statenames);
5057 surfxml_statenames = NULL;
5059 free(surfxml_bufferstack);
5060 surfxml_bufferstack = NULL;
5066 static int fail(const char* fmt, ...)
5068 int chars_left, used;
5069 va_list ap; va_start(ap, fmt);
5070 #ifdef FLEXML_yylineno
5071 used = sprintf(flexml_err_msg,
5072 "Invalid XML (XML input line %d, state %d): ",
5073 surf_parse_lineno, YY_START);
5075 used = sprintf(flexml_err_msg,
5076 "Invalid XML (state %d): ",
5079 chars_left = flexml_max_err_msg_size - used - 1;
5080 vsnprintf(flexml_err_msg + used, chars_left, fmt, ap);
5083 #ifndef FLEXML_quiet_parser
5084 /* print directly to sdterr */
5085 fprintf(stderr, "%s\n", flexml_err_msg);
5086 flexml_err_msg[0] = '\0';