c57119fa235caa746644a1b8cc5e4457709bb1db
[openwrt/openwrt.git] / scripts / config / lexer.lex.c
1
2 #define YY_INT_ALIGNED short int
3
4 /* A lexical scanner generated by flex */
5
6 #define FLEX_SCANNER
7 #define YY_FLEX_MAJOR_VERSION 2
8 #define YY_FLEX_MINOR_VERSION 6
9 #define YY_FLEX_SUBMINOR_VERSION 4
10 #if YY_FLEX_SUBMINOR_VERSION > 0
11 #define FLEX_BETA
12 #endif
13
14 /* First, we deal with platform-specific or compiler-specific issues. */
15
16 /* begin standard C headers. */
17
18 #include <stdio.h>
19 #include <string.h>
20 #include <errno.h>
21 #include <stdlib.h>
22
23 /* end standard C headers. */
24
25 /* flex integer type definitions */
26
27 #ifndef FLEXINT_H
28 #define FLEXINT_H
29
30 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
31
32 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
33
34 /* C++ systems might need __STDC_LIMIT_MACROS defined before including
35 * <stdint.h>, if you want the limit (max/min) macros for int types.
36 */
37 #ifndef __STDC_LIMIT_MACROS
38 #define __STDC_LIMIT_MACROS 1
39 #endif
40
41 #include <inttypes.h>
42 typedef int8_t flex_int8_t;
43 typedef uint8_t flex_uint8_t;
44 typedef int16_t flex_int16_t;
45 typedef uint16_t flex_uint16_t;
46 typedef int32_t flex_int32_t;
47 typedef uint32_t flex_uint32_t;
48 #else
49 typedef signed char flex_int8_t;
50 typedef short int flex_int16_t;
51 typedef int flex_int32_t;
52 typedef unsigned char flex_uint8_t;
53 typedef unsigned short int flex_uint16_t;
54 typedef unsigned int flex_uint32_t;
55
56 /* Limits of integral types. */
57 #ifndef INT8_MIN
58 #define INT8_MIN (-128)
59 #endif
60 #ifndef INT16_MIN
61 #define INT16_MIN (-32767-1)
62 #endif
63 #ifndef INT32_MIN
64 #define INT32_MIN (-2147483647-1)
65 #endif
66 #ifndef INT8_MAX
67 #define INT8_MAX (127)
68 #endif
69 #ifndef INT16_MAX
70 #define INT16_MAX (32767)
71 #endif
72 #ifndef INT32_MAX
73 #define INT32_MAX (2147483647)
74 #endif
75 #ifndef UINT8_MAX
76 #define UINT8_MAX (255U)
77 #endif
78 #ifndef UINT16_MAX
79 #define UINT16_MAX (65535U)
80 #endif
81 #ifndef UINT32_MAX
82 #define UINT32_MAX (4294967295U)
83 #endif
84
85 #ifndef SIZE_MAX
86 #define SIZE_MAX (~(size_t)0)
87 #endif
88
89 #endif /* ! C99 */
90
91 #endif /* ! FLEXINT_H */
92
93 /* begin standard C++ headers. */
94
95 /* TODO: this is always defined, so inline it */
96 #define yyconst const
97
98 #if defined(__GNUC__) && __GNUC__ >= 3
99 #define yynoreturn __attribute__((__noreturn__))
100 #else
101 #define yynoreturn
102 #endif
103
104 /* Returned upon end-of-file. */
105 #define YY_NULL 0
106
107 /* Promotes a possibly negative, possibly signed char to an
108 * integer in range [0..255] for use as an array index.
109 */
110 #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
111
112 /* Enter a start condition. This macro really ought to take a parameter,
113 * but we do it the disgusting crufty way forced on us by the ()-less
114 * definition of BEGIN.
115 */
116 #define BEGIN (yy_start) = 1 + 2 *
117 /* Translate the current start state into a value that can be later handed
118 * to BEGIN to return to the state. The YYSTATE alias is for lex
119 * compatibility.
120 */
121 #define YY_START (((yy_start) - 1) / 2)
122 #define YYSTATE YY_START
123 /* Action number for EOF rule of a given start state. */
124 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
125 /* Special action meaning "start processing a new file". */
126 #define YY_NEW_FILE yyrestart( yyin )
127 #define YY_END_OF_BUFFER_CHAR 0
128
129 /* Size of default input buffer. */
130 #ifndef YY_BUF_SIZE
131 #ifdef __ia64__
132 /* On IA-64, the buffer size is 16k, not 8k.
133 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
134 * Ditto for the __ia64__ case accordingly.
135 */
136 #define YY_BUF_SIZE 32768
137 #else
138 #define YY_BUF_SIZE 16384
139 #endif /* __ia64__ */
140 #endif
141
142 /* The state buf must be large enough to hold one state per character in the main buffer.
143 */
144 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
145
146 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
147 #define YY_TYPEDEF_YY_BUFFER_STATE
148 typedef struct yy_buffer_state *YY_BUFFER_STATE;
149 #endif
150
151 #ifndef YY_TYPEDEF_YY_SIZE_T
152 #define YY_TYPEDEF_YY_SIZE_T
153 typedef size_t yy_size_t;
154 #endif
155
156 extern int yyleng;
157
158 extern FILE *yyin, *yyout;
159
160 #define EOB_ACT_CONTINUE_SCAN 0
161 #define EOB_ACT_END_OF_FILE 1
162 #define EOB_ACT_LAST_MATCH 2
163
164 /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires
165 * access to the local variable yy_act. Since yyless() is a macro, it would break
166 * existing scanners that call yyless() from OUTSIDE yylex.
167 * One obvious solution it to make yy_act a global. I tried that, and saw
168 * a 5% performance hit in a non-yylineno scanner, because yy_act is
169 * normally declared as a register variable-- so it is not worth it.
170 */
171 #define YY_LESS_LINENO(n) \
172 do { \
173 int yyl;\
174 for ( yyl = n; yyl < yyleng; ++yyl )\
175 if ( yytext[yyl] == '\n' )\
176 --yylineno;\
177 }while(0)
178 #define YY_LINENO_REWIND_TO(dst) \
179 do {\
180 const char *p;\
181 for ( p = yy_cp-1; p >= (dst); --p)\
182 if ( *p == '\n' )\
183 --yylineno;\
184 }while(0)
185
186 /* Return all but the first "n" matched characters back to the input stream. */
187 #define yyless(n) \
188 do \
189 { \
190 /* Undo effects of setting up yytext. */ \
191 int yyless_macro_arg = (n); \
192 YY_LESS_LINENO(yyless_macro_arg);\
193 *yy_cp = (yy_hold_char); \
194 YY_RESTORE_YY_MORE_OFFSET \
195 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
196 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
197 } \
198 while ( 0 )
199 #define unput(c) yyunput( c, (yytext_ptr) )
200
201 #ifndef YY_STRUCT_YY_BUFFER_STATE
202 #define YY_STRUCT_YY_BUFFER_STATE
203 struct yy_buffer_state
204 {
205 FILE *yy_input_file;
206
207 char *yy_ch_buf; /* input buffer */
208 char *yy_buf_pos; /* current position in input buffer */
209
210 /* Size of input buffer in bytes, not including room for EOB
211 * characters.
212 */
213 int yy_buf_size;
214
215 /* Number of characters read into yy_ch_buf, not including EOB
216 * characters.
217 */
218 int yy_n_chars;
219
220 /* Whether we "own" the buffer - i.e., we know we created it,
221 * and can realloc() it to grow it, and should free() it to
222 * delete it.
223 */
224 int yy_is_our_buffer;
225
226 /* Whether this is an "interactive" input source; if so, and
227 * if we're using stdio for input, then we want to use getc()
228 * instead of fread(), to make sure we stop fetching input after
229 * each newline.
230 */
231 int yy_is_interactive;
232
233 /* Whether we're considered to be at the beginning of a line.
234 * If so, '^' rules will be active on the next match, otherwise
235 * not.
236 */
237 int yy_at_bol;
238
239 int yy_bs_lineno; /**< The line count. */
240 int yy_bs_column; /**< The column count. */
241
242 /* Whether to try to fill the input buffer when we reach the
243 * end of it.
244 */
245 int yy_fill_buffer;
246
247 int yy_buffer_status;
248
249 #define YY_BUFFER_NEW 0
250 #define YY_BUFFER_NORMAL 1
251 /* When an EOF's been seen but there's still some text to process
252 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
253 * shouldn't try reading from the input source any more. We might
254 * still have a bunch of tokens to match, though, because of
255 * possible backing-up.
256 *
257 * When we actually see the EOF, we change the status to "new"
258 * (via yyrestart()), so that the user can continue scanning by
259 * just pointing yyin at a new input file.
260 */
261 #define YY_BUFFER_EOF_PENDING 2
262
263 };
264 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
265
266 /* Stack of input buffers. */
267 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
268 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
269 static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
270
271 /* We provide macros for accessing buffer states in case in the
272 * future we want to put the buffer states in a more general
273 * "scanner state".
274 *
275 * Returns the top of the stack, or NULL.
276 */
277 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
278 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
279 : NULL)
280 /* Same as previous macro, but useful when we know that the buffer stack is not
281 * NULL or when we need an lvalue. For internal use only.
282 */
283 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
284
285 /* yy_hold_char holds the character lost when yytext is formed. */
286 static char yy_hold_char;
287 static int yy_n_chars; /* number of characters read into yy_ch_buf */
288 int yyleng;
289
290 /* Points to current character in buffer. */
291 static char *yy_c_buf_p = NULL;
292 static int yy_init = 0; /* whether we need to initialize */
293 static int yy_start = 0; /* start state number */
294
295 /* Flag which is used to allow yywrap()'s to do buffer switches
296 * instead of setting up a fresh yyin. A bit of a hack ...
297 */
298 static int yy_did_buffer_switch_on_eof;
299
300 void yyrestart ( FILE *input_file );
301 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
302 YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
303 void yy_delete_buffer ( YY_BUFFER_STATE b );
304 void yy_flush_buffer ( YY_BUFFER_STATE b );
305 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
306 void yypop_buffer_state ( void );
307
308 static void yyensure_buffer_stack ( void );
309 static void yy_load_buffer_state ( void );
310 static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
311 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
312
313 YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
314 YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
315 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
316
317 void *yyalloc ( yy_size_t );
318 void *yyrealloc ( void *, yy_size_t );
319 void yyfree ( void * );
320
321 #define yy_new_buffer yy_create_buffer
322 #define yy_set_interactive(is_interactive) \
323 { \
324 if ( ! YY_CURRENT_BUFFER ){ \
325 yyensure_buffer_stack (); \
326 YY_CURRENT_BUFFER_LVALUE = \
327 yy_create_buffer( yyin, YY_BUF_SIZE ); \
328 } \
329 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
330 }
331 #define yy_set_bol(at_bol) \
332 { \
333 if ( ! YY_CURRENT_BUFFER ){\
334 yyensure_buffer_stack (); \
335 YY_CURRENT_BUFFER_LVALUE = \
336 yy_create_buffer( yyin, YY_BUF_SIZE ); \
337 } \
338 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
339 }
340 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
341
342 /* Begin user sect3 */
343
344 #define yywrap() (/*CONSTCOND*/1)
345 #define YY_SKIP_YYWRAP
346 typedef flex_uint8_t YY_CHAR;
347
348 FILE *yyin = NULL, *yyout = NULL;
349
350 typedef int yy_state_type;
351
352 extern int yylineno;
353 int yylineno = 1;
354
355 extern char *yytext;
356 #ifdef yytext_ptr
357 #undef yytext_ptr
358 #endif
359 #define yytext_ptr yytext
360
361 static const flex_int16_t yy_nxt[][43] =
362 {
363 {
364 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
365 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
366 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
367 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
368 0, 0, 0
369 },
370
371 {
372 9, 10, 11, 12, 13, 14, 15, 16, 17, 14,
373 18, 19, 20, 21, 21, 22, 23, 24, 25, 26,
374 21, 21, 27, 28, 29, 30, 21, 21, 31, 32,
375 21, 33, 21, 34, 35, 36, 37, 38, 21, 39,
376 21, 21, 40
377
378 },
379
380 {
381 9, 10, 11, 12, 13, 14, 15, 16, 17, 14,
382 18, 19, 20, 21, 21, 22, 23, 24, 25, 26,
383 21, 21, 27, 28, 29, 30, 21, 21, 31, 32,
384 21, 33, 21, 34, 35, 36, 37, 38, 21, 39,
385 21, 21, 40
386 },
387
388 {
389 9, 41, 42, 43, 41, 41, 41, 41, 41, 41,
390 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
391 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
392 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
393 41, 41, 41
394
395 },
396
397 {
398 9, 41, 42, 43, 41, 41, 41, 41, 41, 41,
399 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
400 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
401 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
402 41, 41, 41
403 },
404
405 {
406 9, 44, 45, 46, 44, 44, 44, 44, 44, 44,
407 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
408 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
409 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
410 44, 44, 44
411
412 },
413
414 {
415 9, 44, 45, 46, 44, 44, 44, 44, 44, 44,
416 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
417 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
418 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
419 44, 44, 44
420 },
421
422 {
423 9, 47, 47, 48, 47, 49, 47, 50, 47, 49,
424 47, 47, 47, 47, 47, 47, 47, 47, 47, 51,
425 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
426 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
427 47, 47, 47
428
429 },
430
431 {
432 9, 47, 47, 48, 47, 49, 47, 50, 47, 49,
433 47, 47, 47, 47, 47, 47, 47, 47, 47, 51,
434 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
435 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
436 47, 47, 47
437 },
438
439 {
440 -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
441 -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
442 -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
443 -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
444 -9, -9, -9
445
446 },
447
448 {
449 9, -10, -10, -10, -10, -10, -10, -10, -10, -10,
450 -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
451 -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
452 -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
453 -10, -10, -10
454 },
455
456 {
457 9, -11, 52, -11, -11, -11, -11, -11, -11, -11,
458 -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
459 -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
460 -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
461 -11, -11, -11
462
463 },
464
465 {
466 9, -12, -12, -12, -12, -12, -12, -12, -12, -12,
467 -12, -12, -12, -12, -12, -12, -12, -12, -12, -12,
468 -12, -12, -12, -12, -12, -12, -12, -12, -12, -12,
469 -12, -12, -12, -12, -12, -12, -12, -12, -12, -12,
470 -12, -12, -12
471 },
472
473 {
474 9, -13, -13, -13, -13, -13, -13, -13, -13, -13,
475 -13, -13, -13, -13, -13, -13, -13, 53, -13, -13,
476 -13, -13, -13, -13, -13, -13, -13, -13, -13, -13,
477 -13, -13, -13, -13, -13, -13, -13, -13, -13, -13,
478 -13, -13, -13
479
480 },
481
482 {
483 9, -14, -14, -14, -14, -14, -14, -14, -14, -14,
484 -14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
485 -14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
486 -14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
487 -14, -14, -14
488 },
489
490 {
491 9, 54, 54, -15, 54, 54, 54, 54, 54, 54,
492 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
493 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
494 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
495 54, 54, 54
496
497 },
498
499 {
500 9, -16, -16, -16, -16, -16, -16, 55, -16, -16,
501 -16, -16, -16, 55, 55, -16, -16, -16, -16, -16,
502 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
503 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
504 55, 55, -16
505 },
506
507 {
508 9, -17, -17, -17, -17, -17, -17, -17, 56, -17,
509 -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
510 -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
511 -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
512 -17, -17, -17
513
514 },
515
516 {
517 9, -18, -18, -18, -18, -18, -18, -18, -18, -18,
518 -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
519 -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
520 -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
521 -18, -18, -18
522 },
523
524 {
525 9, -19, -19, -19, -19, -19, -19, -19, -19, -19,
526 -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
527 -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
528 -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
529 -19, -19, -19
530
531 },
532
533 {
534 9, -20, -20, -20, -20, -20, -20, -20, -20, -20,
535 -20, -20, -20, -20, -20, -20, -20, 57, -20, -20,
536 -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
537 -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
538 -20, -20, -20
539 },
540
541 {
542 9, -21, -21, -21, -21, -21, -21, 55, -21, -21,
543 -21, -21, -21, 58, 58, -21, -21, -21, -21, -21,
544 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
545 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
546 58, 58, -21
547
548 },
549
550 {
551 9, -22, -22, -22, -22, -22, -22, -22, -22, -22,
552 -22, -22, -22, -22, -22, -22, -22, 59, -22, -22,
553 -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
554 -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
555 -22, -22, -22
556 },
557
558 {
559 9, -23, -23, -23, -23, -23, -23, -23, -23, -23,
560 -23, -23, -23, -23, -23, -23, -23, 60, -23, -23,
561 -23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
562 -23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
563 -23, -23, -23
564
565 },
566
567 {
568 9, -24, -24, -24, -24, -24, -24, -24, -24, -24,
569 -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
570 -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
571 -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
572 -24, -24, -24
573 },
574
575 {
576 9, -25, -25, -25, -25, -25, -25, -25, -25, -25,
577 -25, -25, -25, -25, -25, -25, -25, 61, -25, -25,
578 -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
579 -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
580 -25, -25, -25
581
582 },
583
584 {
585 9, -26, -26, 62, -26, -26, -26, -26, -26, -26,
586 -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
587 -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
588 -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
589 -26, -26, -26
590 },
591
592 {
593 9, -27, -27, -27, -27, -27, -27, 55, -27, -27,
594 -27, -27, -27, 58, 58, -27, -27, -27, -27, -27,
595 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
596 58, 58, 58, 63, 58, 58, 58, 58, 58, 58,
597 58, 58, -27
598
599 },
600
601 {
602 9, -28, -28, -28, -28, -28, -28, 55, -28, -28,
603 -28, -28, -28, 58, 58, -28, -28, -28, -28, -28,
604 58, 58, 58, 58, 58, 58, 58, 58, 64, 58,
605 58, 58, 58, 65, 58, 58, 58, 58, 58, 58,
606 58, 58, -28
607 },
608
609 {
610 9, -29, -29, -29, -29, -29, -29, 55, -29, -29,
611 -29, -29, -29, 58, 58, -29, -29, -29, -29, -29,
612 58, 58, 58, 58, 58, 66, 58, 58, 58, 58,
613 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
614 58, 58, -29
615
616 },
617
618 {
619 9, -30, -30, -30, -30, -30, -30, 55, -30, -30,
620 -30, -30, -30, 58, 58, -30, -30, -30, -30, -30,
621 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
622 58, 58, 67, 58, 58, 58, 58, 58, 58, 58,
623 58, 58, -30
624 },
625
626 {
627 9, -31, -31, -31, -31, -31, -31, 55, -31, -31,
628 -31, -31, -31, 58, 58, -31, -31, -31, -31, -31,
629 58, 58, 58, 58, 58, 68, 58, 58, 58, 58,
630 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
631 58, 58, -31
632
633 },
634
635 {
636 9, -32, -32, -32, -32, -32, -32, 55, -32, -32,
637 -32, -32, -32, 58, 58, -32, -32, -32, -32, -32,
638 58, 58, 58, 58, 58, 58, 69, 58, 58, 58,
639 58, 70, 71, 58, 58, 58, 58, 58, 58, 58,
640 58, 58, -32
641 },
642
643 {
644 9, -33, -33, -33, -33, -33, -33, 55, -33, -33,
645 -33, -33, -33, 58, 58, -33, -33, -33, -33, -33,
646 58, 72, 58, 58, 58, 73, 58, 58, 58, 58,
647 58, 58, 58, 74, 58, 58, 58, 58, 58, 58,
648 58, 58, -33
649
650 },
651
652 {
653 9, -34, -34, -34, -34, -34, -34, 55, -34, -34,
654 -34, -34, -34, 58, 58, -34, -34, -34, -34, -34,
655 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
656 58, 58, 75, 58, 76, 58, 58, 58, 58, 58,
657 58, 58, -34
658 },
659
660 {
661 9, -35, -35, -35, -35, -35, -35, 55, -35, -35,
662 -35, -35, -35, 58, 58, -35, -35, -35, -35, -35,
663 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
664 58, 58, 58, 58, 58, 77, 58, 58, 58, 58,
665 58, 58, -35
666
667 },
668
669 {
670 9, -36, -36, -36, -36, -36, -36, 55, -36, -36,
671 -36, -36, -36, 58, 58, -36, -36, -36, -36, -36,
672 58, 78, 58, 58, 58, 79, 58, 58, 58, 58,
673 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
674 58, 58, -36
675 },
676
677 {
678 9, -37, -37, -37, -37, -37, -37, 55, -37, -37,
679 -37, -37, -37, 58, 58, -37, -37, -37, -37, -37,
680 58, 58, 58, 58, 58, 80, 58, 58, 58, 58,
681 58, 58, 58, 81, 58, 58, 58, 82, 58, 58,
682 58, 58, -37
683
684 },
685
686 {
687 9, -38, -38, -38, -38, -38, -38, 55, -38, -38,
688 -38, -38, -38, 58, 58, -38, -38, -38, -38, -38,
689 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
690 58, 58, 58, 58, 58, 83, 58, 58, 58, 58,
691 58, 58, -38
692 },
693
694 {
695 9, -39, -39, -39, -39, -39, -39, 55, -39, -39,
696 -39, -39, -39, 58, 58, -39, -39, -39, -39, -39,
697 58, 58, 58, 58, 58, 58, 58, 58, 58, 84,
698 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
699 58, 58, -39
700
701 },
702
703 {
704 9, -40, -40, -40, -40, -40, -40, -40, -40, -40,
705 -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
706 -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
707 -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
708 -40, -40, 85
709 },
710
711 {
712 9, 86, 87, -41, 86, 86, 86, 86, 86, 86,
713 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
714 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
715 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
716 86, 86, 86
717
718 },
719
720 {
721 9, -42, -42, -42, -42, -42, -42, -42, -42, -42,
722 -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
723 -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
724 -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
725 -42, -42, -42
726 },
727
728 {
729 9, -43, -43, -43, -43, -43, -43, -43, -43, -43,
730 -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
731 -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
732 -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
733 -43, -43, -43
734
735 },
736
737 {
738 9, 88, 88, -44, 88, 88, 88, 88, 88, 88,
739 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
740 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
741 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
742 88, 88, 88
743 },
744
745 {
746 9, -45, 89, 90, -45, -45, -45, -45, -45, -45,
747 -45, -45, -45, -45, -45, -45, -45, -45, -45, -45,
748 -45, -45, -45, -45, -45, -45, -45, -45, -45, -45,
749 -45, -45, -45, -45, -45, -45, -45, -45, -45, -45,
750 -45, -45, -45
751
752 },
753
754 {
755 9, 91, -46, -46, 91, 91, 91, 91, 91, 91,
756 91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
757 91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
758 91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
759 91, 91, 91
760 },
761
762 {
763 9, 92, 92, -47, 92, -47, 92, -47, 92, -47,
764 92, 92, 92, 92, 92, 92, 92, 92, 92, -47,
765 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
766 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
767 92, 92, 92
768
769 },
770
771 {
772 9, -48, -48, -48, -48, -48, -48, -48, -48, -48,
773 -48, -48, -48, -48, -48, -48, -48, -48, -48, -48,
774 -48, -48, -48, -48, -48, -48, -48, -48, -48, -48,
775 -48, -48, -48, -48, -48, -48, -48, -48, -48, -48,
776 -48, -48, -48
777 },
778
779 {
780 9, -49, -49, -49, -49, -49, -49, -49, -49, -49,
781 -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
782 -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
783 -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
784 -49, -49, -49
785
786 },
787
788 {
789 9, 93, 93, -50, 93, 93, 93, 93, 93, 93,
790 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
791 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
792 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
793 93, 93, 93
794 },
795
796 {
797 9, 94, 94, -51, 94, 94, 94, 94, 94, 94,
798 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
799 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
800 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
801 94, 94, 94
802
803 },
804
805 {
806 9, -52, 52, -52, -52, -52, -52, -52, -52, -52,
807 -52, -52, -52, -52, -52, -52, -52, -52, -52, -52,
808 -52, -52, -52, -52, -52, -52, -52, -52, -52, -52,
809 -52, -52, -52, -52, -52, -52, -52, -52, -52, -52,
810 -52, -52, -52
811 },
812
813 {
814 9, -53, -53, -53, -53, -53, -53, -53, -53, -53,
815 -53, -53, -53, -53, -53, -53, -53, -53, -53, -53,
816 -53, -53, -53, -53, -53, -53, -53, -53, -53, -53,
817 -53, -53, -53, -53, -53, -53, -53, -53, -53, -53,
818 -53, -53, -53
819
820 },
821
822 {
823 9, 54, 54, -54, 54, 54, 54, 54, 54, 54,
824 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
825 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
826 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
827 54, 54, 54
828 },
829
830 {
831 9, -55, -55, -55, -55, -55, -55, 55, -55, -55,
832 -55, -55, -55, 55, 55, -55, -55, -55, -55, -55,
833 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
834 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
835 55, 55, -55
836
837 },
838
839 {
840 9, -56, -56, -56, -56, -56, -56, -56, -56, -56,
841 -56, -56, -56, -56, -56, -56, -56, -56, -56, -56,
842 -56, -56, -56, -56, -56, -56, -56, -56, -56, -56,
843 -56, -56, -56, -56, -56, -56, -56, -56, -56, -56,
844 -56, -56, -56
845 },
846
847 {
848 9, -57, -57, -57, -57, -57, -57, -57, -57, -57,
849 -57, -57, -57, -57, -57, -57, -57, -57, -57, -57,
850 -57, -57, -57, -57, -57, -57, -57, -57, -57, -57,
851 -57, -57, -57, -57, -57, -57, -57, -57, -57, -57,
852 -57, -57, -57
853
854 },
855
856 {
857 9, -58, -58, -58, -58, -58, -58, 55, -58, -58,
858 -58, -58, -58, 58, 58, -58, -58, -58, -58, -58,
859 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
860 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
861 58, 58, -58
862 },
863
864 {
865 9, -59, -59, -59, -59, -59, -59, -59, -59, -59,
866 -59, -59, -59, -59, -59, -59, -59, -59, -59, -59,
867 -59, -59, -59, -59, -59, -59, -59, -59, -59, -59,
868 -59, -59, -59, -59, -59, -59, -59, -59, -59, -59,
869 -59, -59, -59
870
871 },
872
873 {
874 9, -60, -60, -60, -60, -60, -60, -60, -60, -60,
875 -60, -60, -60, -60, -60, -60, -60, -60, -60, -60,
876 -60, -60, -60, -60, -60, -60, -60, -60, -60, -60,
877 -60, -60, -60, -60, -60, -60, -60, -60, -60, -60,
878 -60, -60, -60
879 },
880
881 {
882 9, -61, -61, -61, -61, -61, -61, -61, -61, -61,
883 -61, -61, -61, -61, -61, -61, -61, -61, -61, -61,
884 -61, -61, -61, -61, -61, -61, -61, -61, -61, -61,
885 -61, -61, -61, -61, -61, -61, -61, -61, -61, -61,
886 -61, -61, -61
887
888 },
889
890 {
891 9, -62, -62, -62, -62, -62, -62, -62, -62, -62,
892 -62, -62, -62, -62, -62, -62, -62, -62, -62, -62,
893 -62, -62, -62, -62, -62, -62, -62, -62, -62, -62,
894 -62, -62, -62, -62, -62, -62, -62, -62, -62, -62,
895 -62, -62, -62
896 },
897
898 {
899 9, -63, -63, -63, -63, -63, -63, 55, -63, -63,
900 -63, -63, -63, 58, 58, -63, -63, -63, -63, -63,
901 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
902 58, 58, 58, 95, 58, 58, 58, 58, 58, 58,
903 58, 58, -63
904
905 },
906
907 {
908 9, -64, -64, -64, -64, -64, -64, 55, -64, -64,
909 -64, -64, -64, 58, 58, -64, -64, -64, -64, -64,
910 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
911 58, 58, 58, 96, 58, 58, 58, 58, 58, 58,
912 58, 58, -64
913 },
914
915 {
916 9, -65, -65, -65, -65, -65, -65, 55, -65, -65,
917 -65, -65, -65, 58, 58, -65, -65, -65, -65, -65,
918 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
919 58, 97, 98, 58, 58, 58, 58, 58, 58, 58,
920 58, 58, -65
921
922 },
923
924 {
925 9, -66, -66, -66, -66, -66, -66, 55, -66, -66,
926 -66, -66, -66, 58, 58, -66, -66, -66, -66, -66,
927 58, 58, 58, 58, 58, 58, 99, 58, 58, 58,
928 58, 58, 58, 58, 100, 58, 58, 58, 58, 58,
929 58, 58, -66
930 },
931
932 {
933 9, -67, -67, -67, -67, -67, -67, 55, -67, -67,
934 -67, -67, -67, 58, 58, -67, -67, -67, -67, -67,
935 58, 58, 58, 58, 101, 58, 58, 58, 58, 58,
936 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
937 58, 58, -67
938
939 },
940
941 {
942 9, -68, -68, -68, -68, -68, -68, 55, -68, -68,
943 -68, -68, -68, 58, 58, -68, -68, -68, -68, -68,
944 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
945 102, 58, 58, 58, 58, 58, 58, 58, 58, 58,
946 103, 58, -68
947 },
948
949 {
950 9, -69, -69, -69, -69, -69, -69, 55, -69, -69,
951 -69, -69, -69, 58, 58, -69, -69, -69, -69, -69,
952 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
953 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
954 58, 58, -69
955
956 },
957
958 {
959 9, -70, -70, -70, -70, -70, -70, 55, -70, -70,
960 -70, -70, -70, 58, 58, -70, -70, -70, -70, -70,
961 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
962 58, 58, 58, 58, 104, 58, 58, 58, 58, 58,
963 58, 58, -70
964 },
965
966 {
967 9, -71, -71, -71, -71, -71, -71, 55, -71, -71,
968 -71, -71, -71, 58, 58, -71, -71, -71, -71, -71,
969 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
970 58, 58, 58, 58, 58, 58, 58, 105, 58, 58,
971 58, 58, -71
972
973 },
974
975 {
976 9, -72, -72, -72, -72, -72, -72, 55, -72, -72,
977 -72, -72, -72, 58, 58, -72, -72, -72, -72, -72,
978 58, 58, 58, 58, 58, 58, 58, 58, 58, 106,
979 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
980 58, 58, -72
981 },
982
983 {
984 9, -73, -73, -73, -73, -73, -73, 55, -73, -73,
985 -73, -73, -73, 58, 58, -73, -73, -73, -73, -73,
986 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
987 58, 58, 107, 58, 58, 58, 58, 58, 58, 58,
988 58, 58, -73
989
990 },
991
992 {
993 9, -74, -74, -74, -74, -74, -74, 55, -74, -74,
994 -74, -74, -74, 58, 58, -74, -74, -74, -74, -74,
995 58, 58, 58, 58, 108, 58, 58, 58, 58, 58,
996 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
997 58, 58, -74
998 },
999
1000 {
1001 9, -75, -75, -75, -75, -75, -75, 55, -75, -75,
1002 -75, -75, -75, 58, 58, -75, -75, -75, -75, -75,
1003 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1004 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1005 58, 58, -75
1006
1007 },
1008
1009 {
1010 9, -76, -76, -76, -76, -76, -76, 55, -76, -76,
1011 -76, -76, -76, 58, 58, -76, -76, -76, -76, -76,
1012 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1013 58, 58, 58, 58, 58, 58, 58, 109, 58, 58,
1014 58, 58, -76
1015 },
1016
1017 {
1018 9, -77, -77, -77, -77, -77, -77, 55, -77, -77,
1019 -77, -77, -77, 58, 58, -77, -77, -77, -77, -77,
1020 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1021 58, 58, 58, 110, 58, 58, 58, 58, 58, 58,
1022 58, 58, -77
1023
1024 },
1025
1026 {
1027 9, -78, -78, -78, -78, -78, -78, 55, -78, -78,
1028 -78, -78, -78, 58, 58, -78, -78, -78, -78, -78,
1029 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1030 58, 58, 111, 58, 58, 58, 58, 58, 58, 58,
1031 58, 58, -78
1032 },
1033
1034 {
1035 9, -79, -79, -79, -79, -79, -79, 55, -79, -79,
1036 -79, -79, -79, 58, 58, -79, -79, -79, -79, -79,
1037 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1038 58, 58, 58, 58, 58, 58, 112, 58, 58, 58,
1039 58, 58, -79
1040
1041 },
1042
1043 {
1044 9, -80, -80, -80, -80, -80, -80, 55, -80, -80,
1045 -80, -80, -80, 58, 58, -80, -80, -80, -80, -80,
1046 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1047 113, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1048 58, 58, -80
1049 },
1050
1051 {
1052 9, -81, -81, -81, -81, -81, -81, 55, -81, -81,
1053 -81, -81, -81, 58, 58, -81, -81, -81, -81, -81,
1054 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1055 58, 58, 58, 58, 58, 58, 58, 58, 114, 58,
1056 58, 58, -81
1057
1058 },
1059
1060 {
1061 9, -82, -82, -82, -82, -82, -82, 55, -82, -82,
1062 -82, -82, -82, 58, 58, -82, -82, -82, -82, -82,
1063 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1064 58, 58, 58, 58, 58, 115, 58, 58, 58, 58,
1065 58, 58, -82
1066 },
1067
1068 {
1069 9, -83, -83, -83, -83, -83, -83, 55, -83, -83,
1070 -83, -83, -83, 58, 58, -83, -83, -83, -83, -83,
1071 58, 58, 58, 58, 58, 58, 58, 58, 58, 116,
1072 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1073 58, 58, -83
1074
1075 },
1076
1077 {
1078 9, -84, -84, -84, -84, -84, -84, 55, -84, -84,
1079 -84, -84, -84, 58, 58, -84, -84, -84, -84, -84,
1080 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1081 58, 58, 58, 58, 58, 58, 117, 58, 58, 58,
1082 58, 58, -84
1083 },
1084
1085 {
1086 9, -85, -85, -85, -85, -85, -85, -85, -85, -85,
1087 -85, -85, -85, -85, -85, -85, -85, -85, -85, -85,
1088 -85, -85, -85, -85, -85, -85, -85, -85, -85, -85,
1089 -85, -85, -85, -85, -85, -85, -85, -85, -85, -85,
1090 -85, -85, -85
1091
1092 },
1093
1094 {
1095 9, 86, 87, -86, 86, 86, 86, 86, 86, 86,
1096 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
1097 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
1098 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
1099 86, 86, 86
1100 },
1101
1102 {
1103 9, 87, 87, -87, 87, 87, 87, 87, 87, 87,
1104 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,
1105 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,
1106 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,
1107 87, 87, 87
1108
1109 },
1110
1111 {
1112 9, 88, 88, -88, 88, 88, 88, 88, 88, 88,
1113 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
1114 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
1115 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
1116 88, 88, 88
1117 },
1118
1119 {
1120 9, -89, 89, 90, -89, -89, -89, -89, -89, -89,
1121 -89, -89, -89, -89, -89, -89, -89, -89, -89, -89,
1122 -89, -89, -89, -89, -89, -89, -89, -89, -89, -89,
1123 -89, -89, -89, -89, -89, -89, -89, -89, -89, -89,
1124 -89, -89, -89
1125
1126 },
1127
1128 {
1129 9, 91, -90, -90, 91, 91, 91, 91, 91, 91,
1130 91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
1131 91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
1132 91, 91, 91, 91, 91, 91, 91, 91, 91, 91,
1133 91, 91, 91
1134 },
1135
1136 {
1137 9, -91, -91, -91, -91, -91, -91, -91, -91, -91,
1138 -91, -91, -91, -91, -91, -91, -91, -91, -91, -91,
1139 -91, -91, -91, -91, -91, -91, -91, -91, -91, -91,
1140 -91, -91, -91, -91, -91, -91, -91, -91, -91, -91,
1141 -91, -91, -91
1142
1143 },
1144
1145 {
1146 9, 92, 92, -92, 92, -92, 92, -92, 92, -92,
1147 92, 92, 92, 92, 92, 92, 92, 92, 92, -92,
1148 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
1149 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
1150 92, 92, 92
1151 },
1152
1153 {
1154 9, 93, 93, -93, 93, 93, 93, 93, 93, 93,
1155 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
1156 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
1157 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
1158 93, 93, 93
1159
1160 },
1161
1162 {
1163 9, -94, -94, -94, -94, -94, -94, -94, -94, -94,
1164 -94, -94, -94, -94, -94, -94, -94, -94, -94, -94,
1165 -94, -94, -94, -94, -94, -94, -94, -94, -94, -94,
1166 -94, -94, -94, -94, -94, -94, -94, -94, -94, -94,
1167 -94, -94, -94
1168 },
1169
1170 {
1171 9, -95, -95, -95, -95, -95, -95, 55, -95, -95,
1172 -95, -95, -95, 58, 58, -95, -95, -95, -95, -95,
1173 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1174 118, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1175 58, 58, -95
1176
1177 },
1178
1179 {
1180 9, -96, -96, -96, -96, -96, -96, 55, -96, -96,
1181 -96, -96, -96, 58, 58, -96, -96, -96, -96, -96,
1182 58, 58, 58, 58, 58, 58, 58, 58, 58, 119,
1183 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1184 58, 58, -96
1185 },
1186
1187 {
1188 9, -97, -97, -97, -97, -97, -97, 55, -97, -97,
1189 -97, -97, -97, 58, 58, -97, -97, -97, -97, -97,
1190 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1191 58, 120, 58, 58, 58, 58, 58, 58, 58, 58,
1192 58, 58, -97
1193
1194 },
1195
1196 {
1197 9, -98, -98, -98, -98, -98, -98, 55, -98, -98,
1198 -98, -98, -98, 58, 58, -98, -98, -98, -98, -98,
1199 58, 58, 58, 58, 58, 58, 121, 58, 58, 58,
1200 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1201 58, 58, -98
1202 },
1203
1204 {
1205 9, -99, -99, -99, -99, -99, -99, 55, -99, -99,
1206 -99, -99, -99, 58, 58, -99, -99, -99, -99, -99,
1207 122, 123, 58, 58, 58, 58, 58, 58, 58, 58,
1208 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1209 58, 58, -99
1210
1211 },
1212
1213 {
1214 9, -100, -100, -100, -100, -100, -100, 55, -100, -100,
1215 -100, -100, -100, 58, 58, -100, -100, -100, -100, -100,
1216 58, 58, 58, 58, 58, 124, 58, 58, 58, 58,
1217 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1218 58, 58, -100
1219 },
1220
1221 {
1222 9, -101, -101, -101, -101, -101, -101, 55, -101, -101,
1223 -101, -101, -101, 58, 58, -101, -101, -101, -101, -101,
1224 58, 58, 58, 125, 58, 58, 58, 58, 58, 126,
1225 58, 127, 58, 58, 58, 58, 58, 58, 58, 58,
1226 58, 58, -101
1227
1228 },
1229
1230 {
1231 9, -102, -102, -102, -102, -102, -102, 55, -102, -102,
1232 -102, -102, -102, 58, 58, -102, -102, -102, -102, -102,
1233 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1234 58, 58, 58, 58, 128, 58, 58, 58, 58, 58,
1235 58, 58, -102
1236 },
1237
1238 {
1239 9, -103, -103, -103, -103, -103, -103, 55, -103, -103,
1240 -103, -103, -103, 58, 58, -103, -103, -103, -103, -103,
1241 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1242 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1243 58, 58, -103
1244
1245 },
1246
1247 {
1248 9, -104, -104, -104, -104, -104, -104, 55, -104, -104,
1249 -104, -104, -104, 58, 58, -104, -104, -104, -104, -104,
1250 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1251 129, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1252 58, 58, -104
1253 },
1254
1255 {
1256 9, -105, -105, -105, -105, -105, -105, 55, -105, -105,
1257 -105, -105, -105, 58, 58, -105, -105, -105, -105, -105,
1258 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1259 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1260 58, 58, -105
1261
1262 },
1263
1264 {
1265 9, -106, -106, -106, -106, -106, -106, 55, -106, -106,
1266 -106, -106, -106, 58, 58, -106, -106, -106, -106, -106,
1267 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1268 58, 58, 130, 58, 58, 58, 58, 58, 58, 58,
1269 58, 58, -106
1270 },
1271
1272 {
1273 9, -107, -107, -107, -107, -107, -107, 55, -107, -107,
1274 -107, -107, -107, 58, 58, -107, -107, -107, -107, -107,
1275 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1276 58, 58, 58, 58, 58, 58, 58, 58, 131, 58,
1277 58, 58, -107
1278
1279 },
1280
1281 {
1282 9, -108, -108, -108, -108, -108, -108, 55, -108, -108,
1283 -108, -108, -108, 58, 58, -108, -108, -108, -108, -108,
1284 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1285 58, 58, 58, 58, 58, 58, 58, 58, 132, 58,
1286 58, 58, -108
1287 },
1288
1289 {
1290 9, -109, -109, -109, -109, -109, -109, 55, -109, -109,
1291 -109, -109, -109, 58, 58, -109, -109, -109, -109, -109,
1292 58, 58, 58, 58, 58, 58, 58, 58, 58, 133,
1293 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1294 58, 58, -109
1295
1296 },
1297
1298 {
1299 9, -110, -110, -110, -110, -110, -110, 55, -110, -110,
1300 -110, -110, -110, 58, 58, -110, -110, -110, -110, -110,
1301 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1302 58, 134, 58, 58, 58, 58, 58, 58, 58, 58,
1303 58, 58, -110
1304 },
1305
1306 {
1307 9, -111, -111, -111, -111, -111, -111, 55, -111, -111,
1308 -111, -111, -111, 58, 58, -111, -111, -111, -111, -111,
1309 58, 58, 58, 58, 58, 58, 58, 135, 58, 58,
1310 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1311 58, 58, -111
1312
1313 },
1314
1315 {
1316 9, -112, -112, -112, -112, -112, -112, 55, -112, -112,
1317 -112, -112, -112, 58, 58, -112, -112, -112, -112, -112,
1318 58, 58, 58, 58, 58, 136, 58, 58, 58, 58,
1319 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1320 58, 58, -112
1321 },
1322
1323 {
1324 9, -113, -113, -113, -113, -113, -113, 55, -113, -113,
1325 -113, -113, -113, 58, 58, -113, -113, -113, -113, -113,
1326 58, 58, 58, 58, 58, 137, 58, 58, 58, 58,
1327 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1328 58, 58, -113
1329
1330 },
1331
1332 {
1333 9, -114, -114, -114, -114, -114, -114, 55, -114, -114,
1334 -114, -114, -114, 58, 58, -114, -114, -114, -114, -114,
1335 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1336 58, 58, 58, 58, 58, 138, 58, 58, 58, 58,
1337 58, 58, -114
1338 },
1339
1340 {
1341 9, -115, -115, -115, -115, -115, -115, 55, -115, -115,
1342 -115, -115, -115, 58, 58, -115, -115, -115, -115, -115,
1343 58, 58, 58, 58, 58, 58, 58, 58, 58, 139,
1344 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1345 58, 58, -115
1346
1347 },
1348
1349 {
1350 9, -116, -116, -116, -116, -116, -116, 55, -116, -116,
1351 -116, -116, -116, 58, 58, -116, -116, -116, -116, -116,
1352 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1353 58, 58, 58, 58, 58, 58, 140, 58, 58, 58,
1354 58, 58, -116
1355 },
1356
1357 {
1358 9, -117, -117, -117, -117, -117, -117, 55, -117, -117,
1359 -117, -117, -117, 58, 58, -117, -117, -117, -117, -117,
1360 58, 58, 58, 58, 58, 58, 58, 58, 58, 141,
1361 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1362 58, 58, -117
1363
1364 },
1365
1366 {
1367 9, -118, -118, -118, -118, -118, -118, 55, -118, -118,
1368 -118, -118, -118, 58, 58, -118, -118, -118, -118, -118,
1369 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1370 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1371 58, 58, -118
1372 },
1373
1374 {
1375 9, -119, -119, -119, -119, -119, -119, 55, -119, -119,
1376 -119, -119, -119, 58, 58, -119, -119, -119, -119, -119,
1377 58, 58, 58, 142, 58, 58, 58, 58, 58, 58,
1378 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1379 58, 58, -119
1380
1381 },
1382
1383 {
1384 9, -120, -120, -120, -120, -120, -120, 55, -120, -120,
1385 -120, -120, -120, 58, 58, -120, -120, -120, -120, -120,
1386 58, 58, 58, 58, 58, 143, 58, 58, 58, 58,
1387 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1388 58, 58, -120
1389 },
1390
1391 {
1392 9, -121, -121, -121, -121, -121, -121, 55, -121, -121,
1393 -121, -121, -121, 58, 58, -121, -121, -121, -121, -121,
1394 58, 58, 58, 58, 58, 58, 58, 58, 58, 144,
1395 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1396 58, 58, -121
1397
1398 },
1399
1400 {
1401 9, -122, -122, -122, -122, -122, -122, 55, -122, -122,
1402 -122, -122, -122, 58, 58, -122, -122, -122, -122, -122,
1403 58, 58, 145, 58, 58, 58, 58, 58, 58, 58,
1404 58, 58, 58, 58, 58, 58, 58, 146, 58, 58,
1405 58, 58, -122
1406 },
1407
1408 {
1409 9, -123, -123, -123, -123, -123, -123, 55, -123, -123,
1410 -123, -123, -123, 58, 58, -123, -123, -123, -123, -123,
1411 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1412 58, 58, 58, 58, 58, 58, 58, 58, 147, 58,
1413 58, 58, -123
1414
1415 },
1416
1417 {
1418 9, -124, -124, -124, -124, -124, -124, 55, -124, -124,
1419 -124, -124, -124, 58, 58, -124, -124, -124, -124, -124,
1420 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1421 58, 58, 148, 58, 58, 58, 58, 58, 58, 58,
1422 58, 58, -124
1423 },
1424
1425 {
1426 9, -125, -125, -125, -125, -125, -125, 55, -125, -125,
1427 -125, -125, -125, 58, 58, -125, -125, -125, -125, -125,
1428 58, 58, 58, 58, 58, 58, 58, 58, 149, 58,
1429 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1430 58, 58, -125
1431
1432 },
1433
1434 {
1435 9, -126, -126, -126, -126, -126, -126, 55, -126, -126,
1436 -126, -126, -126, 58, 58, -126, -126, -126, -126, -126,
1437 58, 58, 58, 58, 58, 58, 150, 58, 58, 58,
1438 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1439 58, 58, -126
1440 },
1441
1442 {
1443 9, -127, -127, -127, -127, -127, -127, 55, -127, -127,
1444 -127, -127, -127, 58, 58, -127, -127, -127, -127, -127,
1445 58, 58, 58, 58, 58, 151, 58, 58, 58, 58,
1446 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1447 58, 58, -127
1448
1449 },
1450
1451 {
1452 9, -128, -128, -128, -128, -128, -128, 55, -128, -128,
1453 -128, -128, -128, 58, 58, -128, -128, -128, -128, -128,
1454 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1455 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1456 58, 58, -128
1457 },
1458
1459 {
1460 9, -129, -129, -129, -129, -129, -129, 55, -129, -129,
1461 -129, -129, -129, 58, 58, -129, -129, -129, -129, -129,
1462 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1463 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1464 58, 152, -129
1465
1466 },
1467
1468 {
1469 9, -130, -130, -130, -130, -130, -130, 55, -130, -130,
1470 -130, -130, -130, 58, 58, -130, -130, -130, -130, -130,
1471 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1472 58, 153, 58, 58, 58, 58, 58, 58, 58, 58,
1473 58, 58, -130
1474 },
1475
1476 {
1477 9, -131, -131, -131, -131, -131, -131, 55, -131, -131,
1478 -131, -131, -131, 58, 58, -131, -131, -131, -131, -131,
1479 58, 58, 58, 154, 58, 58, 58, 58, 58, 58,
1480 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1481 58, 58, -131
1482
1483 },
1484
1485 {
1486 9, -132, -132, -132, -132, -132, -132, 55, -132, -132,
1487 -132, -132, -132, 58, 58, -132, -132, -132, -132, -132,
1488 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1489 155, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1490 58, 58, -132
1491 },
1492
1493 {
1494 9, -133, -133, -133, -133, -133, -133, 55, -133, -133,
1495 -133, -133, -133, 58, 58, -133, -133, -133, -133, -133,
1496 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1497 58, 58, 58, 156, 58, 58, 58, 58, 58, 58,
1498 58, 58, -133
1499
1500 },
1501
1502 {
1503 9, -134, -134, -134, -134, -134, -134, 55, -134, -134,
1504 -134, -134, -134, 58, 58, -134, -134, -134, -134, -134,
1505 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1506 58, 58, 58, 58, 157, 58, 58, 58, 58, 58,
1507 58, 58, -134
1508 },
1509
1510 {
1511 9, -135, -135, -135, -135, -135, -135, 55, -135, -135,
1512 -135, -135, -135, 58, 58, -135, -135, -135, -135, -135,
1513 58, 58, 58, 58, 58, 158, 58, 58, 58, 58,
1514 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1515 58, 58, -135
1516
1517 },
1518
1519 {
1520 9, -136, -136, -136, -136, -136, -136, 55, -136, -136,
1521 -136, -136, -136, 58, 58, -136, -136, -136, -136, -136,
1522 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1523 58, 58, 58, 58, 58, 58, 58, 159, 58, 58,
1524 58, 58, -136
1525 },
1526
1527 {
1528 9, -137, -137, -137, -137, -137, -137, 55, -137, -137,
1529 -137, -137, -137, 58, 58, -137, -137, -137, -137, -137,
1530 58, 58, 58, 160, 58, 58, 58, 58, 58, 58,
1531 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1532 58, 58, -137
1533
1534 },
1535
1536 {
1537 9, -138, -138, -138, -138, -138, -138, 55, -138, -138,
1538 -138, -138, -138, 58, 58, -138, -138, -138, -138, -138,
1539 58, 58, 58, 161, 58, 58, 58, 58, 58, 58,
1540 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1541 58, 58, -138
1542 },
1543
1544 {
1545 9, -139, -139, -139, -139, -139, -139, 55, -139, -139,
1546 -139, -139, -139, 58, 58, -139, -139, -139, -139, -139,
1547 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1548 58, 58, 162, 58, 58, 58, 58, 58, 58, 58,
1549 58, 58, -139
1550
1551 },
1552
1553 {
1554 9, -140, -140, -140, -140, -140, -140, 55, -140, -140,
1555 -140, -140, -140, 58, 58, -140, -140, -140, -140, -140,
1556 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1557 58, 58, 58, 58, 58, 58, 58, 163, 58, 58,
1558 58, 58, -140
1559 },
1560
1561 {
1562 9, -141, -141, -141, -141, -141, -141, 55, -141, -141,
1563 -141, -141, -141, 58, 58, -141, -141, -141, -141, -141,
1564 58, 58, 164, 58, 58, 58, 58, 58, 58, 58,
1565 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1566 58, 58, -141
1567
1568 },
1569
1570 {
1571 9, -142, -142, -142, -142, -142, -142, 55, -142, -142,
1572 -142, -142, -142, 58, 58, -142, -142, -142, -142, -142,
1573 58, 58, 58, 58, 58, 165, 58, 58, 58, 58,
1574 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1575 58, 58, -142
1576 },
1577
1578 {
1579 9, -143, -143, -143, -143, -143, -143, 55, -143, -143,
1580 -143, -143, -143, 58, 58, -143, -143, -143, -143, -143,
1581 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1582 58, 58, 166, 58, 58, 58, 58, 58, 58, 58,
1583 58, 58, -143
1584
1585 },
1586
1587 {
1588 9, -144, -144, -144, -144, -144, -144, 55, -144, -144,
1589 -144, -144, -144, 58, 58, -144, -144, -144, -144, -144,
1590 58, 58, 58, 58, 58, 58, 58, 167, 58, 58,
1591 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1592 58, 58, -144
1593 },
1594
1595 {
1596 9, -145, -145, -145, -145, -145, -145, 55, -145, -145,
1597 -145, -145, -145, 58, 58, -145, -145, -145, -145, -145,
1598 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1599 58, 58, 58, 168, 58, 58, 58, 58, 58, 58,
1600 58, 58, -145
1601
1602 },
1603
1604 {
1605 9, -146, -146, -146, -146, -146, -146, 55, -146, -146,
1606 -146, -146, -146, 58, 58, -146, -146, -146, -146, -146,
1607 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1608 58, 58, 58, 58, 58, 169, 58, 58, 58, 58,
1609 58, 58, -146
1610 },
1611
1612 {
1613 9, -147, -147, -147, -147, -147, -147, 55, -147, -147,
1614 -147, -147, -147, 58, 58, -147, -147, -147, -147, -147,
1615 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1616 170, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1617 58, 58, -147
1618
1619 },
1620
1621 {
1622 9, -148, -148, -148, -148, -148, -148, 55, -148, -148,
1623 -148, -148, -148, 58, 58, -148, -148, -148, -148, -148,
1624 58, 58, 58, 58, 171, 58, 58, 58, 58, 58,
1625 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1626 58, 58, -148
1627 },
1628
1629 {
1630 9, -149, -149, -149, -149, -149, -149, 55, -149, -149,
1631 -149, -149, -149, 58, 58, -149, -149, -149, -149, -149,
1632 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1633 58, 58, 58, 172, 58, 58, 58, 58, 58, 58,
1634 58, 58, -149
1635
1636 },
1637
1638 {
1639 9, -150, -150, -150, -150, -150, -150, 55, -150, -150,
1640 -150, -150, -150, 58, 58, -150, -150, -150, -150, -150,
1641 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1642 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1643 58, 58, -150
1644 },
1645
1646 {
1647 9, -151, -151, -151, -151, -151, -151, 55, -151, -151,
1648 -151, -151, -151, 58, 58, -151, -151, -151, -151, -151,
1649 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1650 58, 58, 173, 58, 58, 58, 58, 58, 58, 58,
1651 58, 58, -151
1652
1653 },
1654
1655 {
1656 9, -152, -152, -152, -152, -152, -152, 55, -152, -152,
1657 -152, -152, -152, 58, 58, -152, -152, -152, -152, -152,
1658 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1659 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1660 58, 58, -152
1661 },
1662
1663 {
1664 9, -153, -153, -153, -153, -153, -153, 55, -153, -153,
1665 -153, -153, -153, 58, 58, -153, -153, -153, -153, -153,
1666 58, 58, 58, 58, 58, 174, 58, 58, 58, 58,
1667 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1668 58, 58, -153
1669
1670 },
1671
1672 {
1673 9, -154, -154, -154, -154, -154, -154, 55, -154, -154,
1674 -154, -154, -154, 58, 58, -154, -154, -154, -154, -154,
1675 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1676 58, 58, 58, 175, 58, 58, 58, 58, 58, 58,
1677 58, 58, -154
1678 },
1679
1680 {
1681 9, -155, -155, -155, -155, -155, -155, 55, -155, -155,
1682 -155, -155, -155, 58, 58, -155, -155, -155, -155, -155,
1683 58, 58, 58, 58, 58, 176, 58, 58, 58, 58,
1684 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1685 58, 58, -155
1686
1687 },
1688
1689 {
1690 9, -156, -156, -156, -156, -156, -156, 55, -156, -156,
1691 -156, -156, -156, 58, 58, -156, -156, -156, -156, -156,
1692 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1693 58, 58, 177, 58, 58, 58, 58, 58, 58, 58,
1694 58, 58, -156
1695 },
1696
1697 {
1698 9, -157, -157, -157, -157, -157, -157, 55, -157, -157,
1699 -157, -157, -157, 58, 58, -157, -157, -157, -157, -157,
1700 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1701 58, 58, 58, 58, 58, 58, 58, 178, 58, 58,
1702 58, 58, -157
1703
1704 },
1705
1706 {
1707 9, -158, -158, -158, -158, -158, -158, 55, -158, -158,
1708 -158, -158, -158, 58, 58, -158, -158, -158, -158, -158,
1709 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1710 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1711 58, 58, -158
1712 },
1713
1714 {
1715 9, -159, -159, -159, -159, -159, -159, 55, -159, -159,
1716 -159, -159, -159, 58, 58, -159, -159, -159, -159, -159,
1717 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1718 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1719 58, 58, -159
1720
1721 },
1722
1723 {
1724 9, -160, -160, -160, -160, -160, -160, 55, -160, -160,
1725 -160, -160, -160, 58, 58, -160, -160, -160, -160, -160,
1726 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1727 58, 58, 58, 58, 58, 58, 58, 179, 58, 58,
1728 58, 58, -160
1729 },
1730
1731 {
1732 9, -161, -161, -161, -161, -161, -161, 55, -161, -161,
1733 -161, -161, -161, 58, 58, -161, -161, -161, -161, -161,
1734 58, 58, 58, 58, 58, 180, 58, 58, 58, 58,
1735 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1736 58, 58, -161
1737
1738 },
1739
1740 {
1741 9, -162, -162, -162, -162, -162, -162, 55, -162, -162,
1742 -162, -162, -162, 58, 58, -162, -162, -162, -162, -162,
1743 58, 58, 58, 58, 58, 58, 58, 181, 58, 58,
1744 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1745 58, 58, -162
1746 },
1747
1748 {
1749 9, -163, -163, -163, -163, -163, -163, 55, -163, -163,
1750 -163, -163, -163, 58, 58, -163, -163, -163, -163, -163,
1751 58, 182, 58, 58, 58, 58, 58, 58, 58, 58,
1752 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1753 58, 58, -163
1754
1755 },
1756
1757 {
1758 9, -164, -164, -164, -164, -164, -164, 55, -164, -164,
1759 -164, -164, -164, 58, 58, -164, -164, -164, -164, -164,
1760 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1761 183, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1762 58, 58, -164
1763 },
1764
1765 {
1766 9, -165, -165, -165, -165, -165, -165, 55, -165, -165,
1767 -165, -165, -165, 58, 58, -165, -165, -165, -165, -165,
1768 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1769 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1770 58, 58, -165
1771
1772 },
1773
1774 {
1775 9, -166, -166, -166, -166, -166, -166, 55, -166, -166,
1776 -166, -166, -166, 58, 58, -166, -166, -166, -166, -166,
1777 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1778 58, 58, 58, 58, 58, 58, 58, 184, 58, 58,
1779 58, 58, -166
1780 },
1781
1782 {
1783 9, -167, -167, -167, -167, -167, -167, 55, -167, -167,
1784 -167, -167, -167, 58, 58, -167, -167, -167, -167, -167,
1785 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1786 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1787 58, 58, -167
1788
1789 },
1790
1791 {
1792 9, -168, -168, -168, -168, -168, -168, 55, -168, -168,
1793 -168, -168, -168, 58, 58, -168, -168, -168, -168, -168,
1794 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1795 58, 58, 58, 185, 58, 58, 58, 58, 58, 58,
1796 58, 58, -168
1797 },
1798
1799 {
1800 9, -169, -169, -169, -169, -169, -169, 55, -169, -169,
1801 -169, -169, -169, 58, 58, -169, -169, -169, -169, -169,
1802 58, 58, 58, 58, 58, 58, 58, 58, 58, 186,
1803 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1804 58, 58, -169
1805
1806 },
1807
1808 {
1809 9, -170, -170, -170, -170, -170, -170, 55, -170, -170,
1810 -170, -170, -170, 58, 58, -170, -170, -170, -170, -170,
1811 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1812 58, 58, 58, 58, 58, 58, 58, 187, 58, 58,
1813 58, 58, -170
1814 },
1815
1816 {
1817 9, -171, -171, -171, -171, -171, -171, 55, -171, -171,
1818 -171, -171, -171, 58, 58, -171, -171, -171, -171, -171,
1819 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1820 58, 58, 58, 58, 58, 58, 188, 58, 58, 58,
1821 58, 58, -171
1822
1823 },
1824
1825 {
1826 9, -172, -172, -172, -172, -172, -172, 55, -172, -172,
1827 -172, -172, -172, 58, 58, -172, -172, -172, -172, -172,
1828 58, 58, 58, 58, 58, 58, 58, 58, 58, 189,
1829 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1830 58, 58, -172
1831 },
1832
1833 {
1834 9, -173, -173, -173, -173, -173, -173, 55, -173, -173,
1835 -173, -173, -173, 58, 58, -173, -173, -173, -173, -173,
1836 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1837 58, 58, 58, 58, 58, 58, 58, 58, 190, 58,
1838 58, 58, -173
1839
1840 },
1841
1842 {
1843 9, -174, -174, -174, -174, -174, -174, 55, -174, -174,
1844 -174, -174, -174, 58, 58, -174, -174, -174, -174, -174,
1845 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1846 58, 58, 191, 58, 58, 58, 58, 58, 58, 58,
1847 58, 58, -174
1848 },
1849
1850 {
1851 9, -175, -175, -175, -175, -175, -175, 55, -175, -175,
1852 -175, -175, -175, 58, 58, -175, -175, -175, -175, -175,
1853 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1854 58, 58, 192, 58, 58, 58, 58, 58, 58, 58,
1855 58, 58, -175
1856
1857 },
1858
1859 {
1860 9, -176, -176, -176, -176, -176, -176, 55, -176, -176,
1861 -176, -176, -176, 58, 58, -176, -176, -176, -176, -176,
1862 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1863 58, 58, 58, 58, 58, 58, 193, 58, 58, 58,
1864 58, 58, -176
1865 },
1866
1867 {
1868 9, -177, -177, -177, -177, -177, -177, 55, -177, -177,
1869 -177, -177, -177, 58, 58, -177, -177, -177, -177, -177,
1870 58, 194, 58, 58, 58, 58, 58, 58, 58, 58,
1871 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1872 58, 58, -177
1873
1874 },
1875
1876 {
1877 9, -178, -178, -178, -178, -178, -178, 55, -178, -178,
1878 -178, -178, -178, 58, 58, -178, -178, -178, -178, -178,
1879 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1880 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1881 58, 58, -178
1882 },
1883
1884 {
1885 9, -179, -179, -179, -179, -179, -179, 55, -179, -179,
1886 -179, -179, -179, 58, 58, -179, -179, -179, -179, -179,
1887 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1888 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1889 58, 58, -179
1890
1891 },
1892
1893 {
1894 9, -180, -180, -180, -180, -180, -180, 55, -180, -180,
1895 -180, -180, -180, 58, 58, -180, -180, -180, -180, -180,
1896 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1897 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1898 58, 58, -180
1899 },
1900
1901 {
1902 9, -181, -181, -181, -181, -181, -181, 55, -181, -181,
1903 -181, -181, -181, 58, 58, -181, -181, -181, -181, -181,
1904 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1905 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1906 58, 58, -181
1907
1908 },
1909
1910 {
1911 9, -182, -182, -182, -182, -182, -182, 55, -182, -182,
1912 -182, -182, -182, 58, 58, -182, -182, -182, -182, -182,
1913 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1914 58, 58, 58, 58, 58, 58, 58, 195, 58, 58,
1915 58, 58, -182
1916 },
1917
1918 {
1919 9, -183, -183, -183, -183, -183, -183, 55, -183, -183,
1920 -183, -183, -183, 58, 58, -183, -183, -183, -183, -183,
1921 58, 58, 58, 58, 58, 196, 58, 58, 58, 58,
1922 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1923 58, 58, -183
1924
1925 },
1926
1927 {
1928 9, -184, -184, -184, -184, -184, -184, 55, -184, -184,
1929 -184, -184, -184, 58, 58, -184, -184, -184, -184, -184,
1930 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1931 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1932 58, 58, -184
1933 },
1934
1935 {
1936 9, -185, -185, -185, -185, -185, -185, 55, -185, -185,
1937 -185, -185, -185, 58, 58, -185, -185, -185, -185, -185,
1938 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1939 197, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1940 58, 58, -185
1941
1942 },
1943
1944 {
1945 9, -186, -186, -186, -186, -186, -186, 55, -186, -186,
1946 -186, -186, -186, 58, 58, -186, -186, -186, -186, -186,
1947 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1948 58, 58, 58, 58, 58, 58, 198, 58, 58, 58,
1949 58, 58, -186
1950 },
1951
1952 {
1953 9, -187, -187, -187, -187, -187, -187, 55, -187, -187,
1954 -187, -187, -187, 58, 58, -187, -187, -187, -187, -187,
1955 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1956 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1957 58, 58, -187
1958
1959 },
1960
1961 {
1962 9, -188, -188, -188, -188, -188, -188, 55, -188, -188,
1963 -188, -188, -188, 58, 58, -188, -188, -188, -188, -188,
1964 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1965 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1966 58, 58, -188
1967 },
1968
1969 {
1970 9, -189, -189, -189, -189, -189, -189, 55, -189, -189,
1971 -189, -189, -189, 58, 58, -189, -189, -189, -189, -189,
1972 58, 58, 58, 199, 58, 58, 58, 58, 58, 58,
1973 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1974 58, 58, -189
1975
1976 },
1977
1978 {
1979 9, -190, -190, -190, -190, -190, -190, 55, -190, -190,
1980 -190, -190, -190, 58, 58, -190, -190, -190, -190, -190,
1981 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1982 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1983 58, 58, -190
1984 },
1985
1986 {
1987 9, -191, -191, -191, -191, -191, -191, 55, -191, -191,
1988 -191, -191, -191, 58, 58, -191, -191, -191, -191, -191,
1989 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1990 58, 58, 58, 58, 58, 58, 58, 58, 200, 58,
1991 58, 58, -191
1992
1993 },
1994
1995 {
1996 9, -192, -192, -192, -192, -192, -192, 55, -192, -192,
1997 -192, -192, -192, 58, 58, -192, -192, -192, -192, -192,
1998 58, 58, 58, 58, 58, 58, 201, 58, 58, 58,
1999 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2000 58, 58, -192
2001 },
2002
2003 {
2004 9, -193, -193, -193, -193, -193, -193, 55, -193, -193,
2005 -193, -193, -193, 58, 58, -193, -193, -193, -193, -193,
2006 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2007 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2008 58, 58, -193
2009
2010 },
2011
2012 {
2013 9, -194, -194, -194, -194, -194, -194, 55, -194, -194,
2014 -194, -194, -194, 58, 58, -194, -194, -194, -194, -194,
2015 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2016 202, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2017 58, 58, -194
2018 },
2019
2020 {
2021 9, -195, -195, -195, -195, -195, -195, 55, -195, -195,
2022 -195, -195, -195, 58, 58, -195, -195, -195, -195, -195,
2023 58, 58, 58, 58, 58, 203, 58, 58, 58, 58,
2024 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2025 58, 58, -195
2026
2027 },
2028
2029 {
2030 9, -196, -196, -196, -196, -196, -196, 55, -196, -196,
2031 -196, -196, -196, 58, 58, -196, -196, -196, -196, -196,
2032 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2033 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2034 58, 58, -196
2035 },
2036
2037 {
2038 9, -197, -197, -197, -197, -197, -197, 55, -197, -197,
2039 -197, -197, -197, 58, 58, -197, -197, -197, -197, -197,
2040 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2041 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2042 58, 58, -197
2043
2044 },
2045
2046 {
2047 9, -198, -198, -198, -198, -198, -198, 55, -198, -198,
2048 -198, -198, -198, 58, 58, -198, -198, -198, -198, -198,
2049 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2050 58, 58, 58, 58, 58, 58, 58, 204, 58, 58,
2051 58, 58, -198
2052 },
2053
2054 {
2055 9, -199, -199, -199, -199, -199, -199, 55, -199, -199,
2056 -199, -199, -199, 58, 58, -199, -199, -199, -199, -199,
2057 58, 58, 58, 58, 58, 205, 58, 58, 58, 58,
2058 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2059 58, 58, -199
2060
2061 },
2062
2063 {
2064 9, -200, -200, -200, -200, -200, -200, 55, -200, -200,
2065 -200, -200, -200, 58, 58, -200, -200, -200, -200, -200,
2066 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2067 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2068 58, 58, -200
2069 },
2070
2071 {
2072 9, -201, -201, -201, -201, -201, -201, 55, -201, -201,
2073 -201, -201, -201, 58, 58, -201, -201, -201, -201, -201,
2074 58, 58, 58, 58, 58, 58, 58, 58, 58, 206,
2075 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2076 58, 58, -201
2077
2078 },
2079
2080 {
2081 9, -202, -202, -202, -202, -202, -202, 55, -202, -202,
2082 -202, -202, -202, 58, 58, -202, -202, -202, -202, -202,
2083 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2084 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2085 58, 58, -202
2086 },
2087
2088 {
2089 9, -203, -203, -203, -203, -203, -203, 55, -203, -203,
2090 -203, -203, -203, 58, 58, -203, -203, -203, -203, -203,
2091 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2092 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2093 58, 58, -203
2094
2095 },
2096
2097 {
2098 9, -204, -204, -204, -204, -204, -204, 55, -204, -204,
2099 -204, -204, -204, 58, 58, -204, -204, -204, -204, -204,
2100 58, 207, 58, 58, 58, 58, 58, 58, 58, 58,
2101 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2102 58, 58, -204
2103 },
2104
2105 {
2106 9, -205, -205, -205, -205, -205, -205, 55, -205, -205,
2107 -205, -205, -205, 58, 58, -205, -205, -205, -205, -205,
2108 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2109 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2110 58, 58, -205
2111
2112 },
2113
2114 {
2115 9, -206, -206, -206, -206, -206, -206, 55, -206, -206,
2116 -206, -206, -206, 58, 58, -206, -206, -206, -206, -206,
2117 58, 58, 58, 58, 58, 58, 58, 208, 58, 58,
2118 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2119 58, 58, -206
2120 },
2121
2122 {
2123 9, -207, -207, -207, -207, -207, -207, 55, -207, -207,
2124 -207, -207, -207, 58, 58, -207, -207, -207, -207, -207,
2125 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2126 58, 58, 58, 58, 58, 58, 58, 209, 58, 58,
2127 58, 58, -207
2128
2129 },
2130
2131 {
2132 9, -208, -208, -208, -208, -208, -208, 55, -208, -208,
2133 -208, -208, -208, 58, 58, -208, -208, -208, -208, -208,
2134 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2135 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2136 58, 58, -208
2137 },
2138
2139 {
2140 9, -209, -209, -209, -209, -209, -209, 55, -209, -209,
2141 -209, -209, -209, 58, 58, -209, -209, -209, -209, -209,
2142 58, 58, 58, 58, 58, 210, 58, 58, 58, 58,
2143 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2144 58, 58, -209
2145
2146 },
2147
2148 {
2149 9, -210, -210, -210, -210, -210, -210, 55, -210, -210,
2150 -210, -210, -210, 58, 58, -210, -210, -210, -210, -210,
2151 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2152 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
2153 58, 58, -210
2154 },
2155
2156 } ;
2157
2158 static yy_state_type yy_get_previous_state ( void );
2159 static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
2160 static int yy_get_next_buffer ( void );
2161 static void yynoreturn yy_fatal_error ( const char* msg );
2162
2163 /* Done after the current pattern has been matched and before the
2164 * corresponding action - sets up yytext.
2165 */
2166 #define YY_DO_BEFORE_ACTION \
2167 (yytext_ptr) = yy_bp; \
2168 yyleng = (int) (yy_cp - yy_bp); \
2169 (yy_hold_char) = *yy_cp; \
2170 *yy_cp = '\0'; \
2171 (yy_c_buf_p) = yy_cp;
2172 #define YY_NUM_RULES 64
2173 #define YY_END_OF_BUFFER 65
2174 /* This struct is not used in this scanner,
2175 but its presence is necessary. */
2176 struct yy_trans_info
2177 {
2178 flex_int32_t yy_verify;
2179 flex_int32_t yy_nxt;
2180 };
2181 static const flex_int16_t yy_accept[211] =
2182 { 0,
2183 2, 2, 0, 0, 0, 0, 0, 0, 65, 51,
2184 2, 4, 43, 48, 1, 50, 51, 44, 45, 51,
2185 49, 51, 39, 37, 41, 51, 49, 49, 49, 49,
2186 49, 49, 49, 49, 49, 49, 49, 49, 49, 51,
2187 52, 54, 53, 63, 60, 62, 56, 59, 58, 55,
2188 57, 2, 38, 1, 50, 36, 47, 49, 46, 40,
2189 42, 3, 49, 49, 49, 49, 49, 49, 18, 49,
2190 49, 49, 49, 49, 25, 49, 49, 49, 49, 49,
2191 49, 49, 49, 49, 35, 52, 52, 63, 60, 62,
2192 61, 56, 55, 57, 49, 49, 49, 49, 49, 49,
2193
2194 49, 49, 17, 49, 20, 49, 49, 49, 49, 49,
2195 49, 49, 49, 49, 49, 49, 49, 5, 49, 49,
2196 49, 49, 49, 49, 49, 49, 49, 16, 49, 49,
2197 22, 49, 49, 49, 49, 49, 49, 49, 49, 49,
2198 49, 49, 49, 49, 49, 49, 49, 49, 49, 14,
2199 49, 19, 49, 49, 49, 49, 49, 28, 29, 49,
2200 49, 49, 49, 49, 6, 49, 8, 49, 49, 49,
2201 49, 49, 49, 49, 49, 49, 49, 27, 30, 31,
2202 32, 49, 49, 7, 49, 49, 11, 12, 49, 15,
2203 49, 49, 24, 49, 49, 34, 9, 49, 49, 21,
2204
2205 49, 26, 33, 49, 13, 49, 49, 23, 49, 10
2206 } ;
2207
2208 static const YY_CHAR yy_ec[256] =
2209 { 0,
2210 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
2211 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2212 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2213 1, 2, 4, 5, 6, 7, 1, 8, 9, 10,
2214 11, 1, 12, 1, 13, 14, 14, 13, 13, 13,
2215 13, 13, 13, 13, 13, 13, 13, 15, 1, 16,
2216 17, 18, 1, 1, 13, 13, 13, 13, 13, 13,
2217 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
2218 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
2219 1, 19, 1, 1, 20, 1, 21, 22, 23, 24,
2220
2221 25, 26, 27, 28, 29, 13, 13, 30, 31, 32,
2222 33, 34, 13, 35, 36, 37, 38, 39, 13, 40,
2223 41, 13, 1, 42, 1, 1, 1, 1, 1, 1,
2224 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2225 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2226 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2227 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2228 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2229 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2230 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2231
2232 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2233 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2234 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2235 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2236 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2237 1, 1, 1, 1, 1
2238 } ;
2239
2240 /* Table of booleans, true if rule could match eol. */
2241 static const flex_int32_t yy_rule_can_match_eol[65] =
2242 { 0,
2243 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2244 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2245 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1,
2246 0, 1, 1, 0, 0, };
2247
2248 extern int yy_flex_debug;
2249 int yy_flex_debug = 0;
2250
2251 /* The intent behind this definition is that it'll catch
2252 * any uses of REJECT which flex missed.
2253 */
2254 #define REJECT reject_used_but_not_detected
2255 #define yymore() yymore_used_but_not_detected
2256 #define YY_MORE_ADJ 0
2257 #define YY_RESTORE_YY_MORE_OFFSET
2258 char *yytext;
2259 /* SPDX-License-Identifier: GPL-2.0-only */
2260 /*
2261 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
2262 */
2263
2264 #include <assert.h>
2265 #include <limits.h>
2266 #include <stdio.h>
2267 #include <stdlib.h>
2268 #include <string.h>
2269 #include <glob.h>
2270 #include <libgen.h>
2271
2272 #include "lkc.h"
2273 #include "parser.tab.h"
2274
2275 #define YY_DECL static int yylex1(void)
2276
2277 #define START_STRSIZE 16
2278
2279 static struct {
2280 struct file *file;
2281 int lineno;
2282 } current_pos;
2283
2284 static int prev_prev_token = T_EOL;
2285 static int prev_token = T_EOL;
2286 static char *text;
2287 static int text_size, text_asize;
2288
2289 struct buffer {
2290 struct buffer *parent;
2291 YY_BUFFER_STATE state;
2292 };
2293
2294 static struct buffer *current_buf;
2295
2296 static int last_ts, first_ts;
2297
2298 static char *expand_token(const char *in, size_t n);
2299 static void append_expanded_string(const char *in);
2300 static void zconf_endhelp(void);
2301 static void zconf_endfile(void);
2302
2303 static void new_string(void)
2304 {
2305 text = xmalloc(START_STRSIZE);
2306 text_asize = START_STRSIZE;
2307 text_size = 0;
2308 *text = 0;
2309 }
2310
2311 static void append_string(const char *str, int size)
2312 {
2313 int new_size = text_size + size + 1;
2314 if (new_size > text_asize) {
2315 new_size += START_STRSIZE - 1;
2316 new_size &= -START_STRSIZE;
2317 text = xrealloc(text, new_size);
2318 text_asize = new_size;
2319 }
2320 memcpy(text + text_size, str, size);
2321 text_size += size;
2322 text[text_size] = 0;
2323 }
2324
2325 static void alloc_string(const char *str, int size)
2326 {
2327 text = xmalloc(size + 1);
2328 memcpy(text, str, size);
2329 text[size] = 0;
2330 }
2331
2332 static void warn_ignored_character(char chr)
2333 {
2334 fprintf(stderr,
2335 "%s:%d:warning: ignoring unsupported character '%c'\n",
2336 current_file->name, yylineno, chr);
2337 }
2338
2339 #define INITIAL 0
2340 #define ASSIGN_VAL 1
2341 #define HELP 2
2342 #define STRING 3
2343
2344 #ifndef YY_NO_UNISTD_H
2345 /* Special case for "unistd.h", since it is non-ANSI. We include it way
2346 * down here because we want the user's section 1 to have been scanned first.
2347 * The user has a chance to override it with an option.
2348 */
2349 #include <unistd.h>
2350 #endif
2351
2352 #ifndef YY_EXTRA_TYPE
2353 #define YY_EXTRA_TYPE void *
2354 #endif
2355
2356 static int yy_init_globals ( void );
2357
2358 /* Accessor methods to globals.
2359 These are made visible to non-reentrant scanners for convenience. */
2360
2361 int yylex_destroy ( void );
2362
2363 int yyget_debug ( void );
2364
2365 void yyset_debug ( int debug_flag );
2366
2367 YY_EXTRA_TYPE yyget_extra ( void );
2368
2369 void yyset_extra ( YY_EXTRA_TYPE user_defined );
2370
2371 FILE *yyget_in ( void );
2372
2373 void yyset_in ( FILE * _in_str );
2374
2375 FILE *yyget_out ( void );
2376
2377 void yyset_out ( FILE * _out_str );
2378
2379 int yyget_leng ( void );
2380
2381 char *yyget_text ( void );
2382
2383 int yyget_lineno ( void );
2384
2385 void yyset_lineno ( int _line_number );
2386
2387 /* Macros after this point can all be overridden by user definitions in
2388 * section 1.
2389 */
2390
2391 #ifndef YY_SKIP_YYWRAP
2392 #ifdef __cplusplus
2393 extern "C" int yywrap ( void );
2394 #else
2395 extern int yywrap ( void );
2396 #endif
2397 #endif
2398
2399 #ifndef YY_NO_UNPUT
2400
2401 static void yyunput ( int c, char *buf_ptr );
2402
2403 #endif
2404
2405 #ifndef yytext_ptr
2406 static void yy_flex_strncpy ( char *, const char *, int );
2407 #endif
2408
2409 #ifdef YY_NEED_STRLEN
2410 static int yy_flex_strlen ( const char * );
2411 #endif
2412
2413 #ifndef YY_NO_INPUT
2414 #ifdef __cplusplus
2415 static int yyinput ( void );
2416 #else
2417 static int input ( void );
2418 #endif
2419
2420 #endif
2421
2422 /* Amount of stuff to slurp up with each read. */
2423 #ifndef YY_READ_BUF_SIZE
2424 #ifdef __ia64__
2425 /* On IA-64, the buffer size is 16k, not 8k */
2426 #define YY_READ_BUF_SIZE 16384
2427 #else
2428 #define YY_READ_BUF_SIZE 8192
2429 #endif /* __ia64__ */
2430 #endif
2431
2432 /* Copy whatever the last rule matched to the standard output. */
2433 #ifndef ECHO
2434 /* This used to be an fputs(), but since the string might contain NUL's,
2435 * we now use fwrite().
2436 */
2437 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
2438 #endif
2439
2440 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
2441 * is returned in "result".
2442 */
2443 #ifndef YY_INPUT
2444 #define YY_INPUT(buf,result,max_size) \
2445 errno=0; \
2446 while ( (result = (int) read( fileno(yyin), buf, (yy_size_t) max_size )) < 0 ) \
2447 { \
2448 if( errno != EINTR) \
2449 { \
2450 YY_FATAL_ERROR( "input in flex scanner failed" ); \
2451 break; \
2452 } \
2453 errno=0; \
2454 clearerr(yyin); \
2455 }\
2456 \
2457
2458 #endif
2459
2460 /* No semi-colon after return; correct usage is to write "yyterminate();" -
2461 * we don't want an extra ';' after the "return" because that will cause
2462 * some compilers to complain about unreachable statements.
2463 */
2464 #ifndef yyterminate
2465 #define yyterminate() return YY_NULL
2466 #endif
2467
2468 /* Number of entries by which start-condition stack grows. */
2469 #ifndef YY_START_STACK_INCR
2470 #define YY_START_STACK_INCR 25
2471 #endif
2472
2473 /* Report a fatal error. */
2474 #ifndef YY_FATAL_ERROR
2475 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
2476 #endif
2477
2478 /* end tables serialization structures and prototypes */
2479
2480 /* Default declaration of generated scanner - a define so the user can
2481 * easily add parameters.
2482 */
2483 #ifndef YY_DECL
2484 #define YY_DECL_IS_OURS 1
2485
2486 extern int yylex (void);
2487
2488 #define YY_DECL int yylex (void)
2489 #endif /* !YY_DECL */
2490
2491 /* Code executed at the beginning of each rule, after yytext and yyleng
2492 * have been set up.
2493 */
2494 #ifndef YY_USER_ACTION
2495 #define YY_USER_ACTION
2496 #endif
2497
2498 /* Code executed at the end of each rule. */
2499 #ifndef YY_BREAK
2500 #define YY_BREAK /*LINTED*/break;
2501 #endif
2502
2503 #define YY_RULE_SETUP \
2504 YY_USER_ACTION
2505
2506 /** The main scanner function which does all the work.
2507 */
2508 YY_DECL
2509 {
2510 yy_state_type yy_current_state;
2511 char *yy_cp, *yy_bp;
2512 int yy_act;
2513
2514 if ( !(yy_init) )
2515 {
2516 (yy_init) = 1;
2517
2518 #ifdef YY_USER_INIT
2519 YY_USER_INIT;
2520 #endif
2521
2522 if ( ! (yy_start) )
2523 (yy_start) = 1; /* first start state */
2524
2525 if ( ! yyin )
2526 yyin = stdin;
2527
2528 if ( ! yyout )
2529 yyout = stdout;
2530
2531 if ( ! YY_CURRENT_BUFFER ) {
2532 yyensure_buffer_stack ();
2533 YY_CURRENT_BUFFER_LVALUE =
2534 yy_create_buffer( yyin, YY_BUF_SIZE );
2535 }
2536
2537 yy_load_buffer_state( );
2538 }
2539
2540 {
2541
2542 char open_quote = 0;
2543
2544 while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
2545 {
2546 yy_cp = (yy_c_buf_p);
2547
2548 /* Support of yytext. */
2549 *yy_cp = (yy_hold_char);
2550
2551 /* yy_bp points to the position in yy_ch_buf of the start of
2552 * the current run.
2553 */
2554 yy_bp = yy_cp;
2555
2556 yy_current_state = (yy_start);
2557 yy_match:
2558 while ( (yy_current_state = yy_nxt[yy_current_state][ yy_ec[YY_SC_TO_UI(*yy_cp)] ]) > 0 )
2559 ++yy_cp;
2560
2561 yy_current_state = -yy_current_state;
2562
2563 yy_find_action:
2564 yy_act = yy_accept[yy_current_state];
2565
2566 YY_DO_BEFORE_ACTION;
2567
2568 if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
2569 {
2570 int yyl;
2571 for ( yyl = 0; yyl < yyleng; ++yyl )
2572 if ( yytext[yyl] == '\n' )
2573
2574 yylineno++;
2575 ;
2576 }
2577
2578 do_action: /* This label is used only to access EOF actions. */
2579
2580 switch ( yy_act )
2581 { /* beginning of action switch */
2582 case 1:
2583 YY_RULE_SETUP
2584 /* ignore comment */
2585 YY_BREAK
2586 case 2:
2587 YY_RULE_SETUP
2588 /* whitespaces */
2589 YY_BREAK
2590 case 3:
2591 /* rule 3 can match eol */
2592 YY_RULE_SETUP
2593 /* escaped new line */
2594 YY_BREAK
2595 case 4:
2596 /* rule 4 can match eol */
2597 YY_RULE_SETUP
2598 return T_EOL;
2599 YY_BREAK
2600 case 5:
2601 YY_RULE_SETUP
2602 return T_BOOL;
2603 YY_BREAK
2604 case 6:
2605 YY_RULE_SETUP
2606 return T_CHOICE;
2607 YY_BREAK
2608 case 7:
2609 YY_RULE_SETUP
2610 return T_COMMENT;
2611 YY_BREAK
2612 case 8:
2613 YY_RULE_SETUP
2614 return T_CONFIG;
2615 YY_BREAK
2616 case 9:
2617 YY_RULE_SETUP
2618 return T_DEF_BOOL;
2619 YY_BREAK
2620 case 10:
2621 YY_RULE_SETUP
2622 return T_DEF_TRISTATE;
2623 YY_BREAK
2624 case 11:
2625 YY_RULE_SETUP
2626 return T_DEFAULT;
2627 YY_BREAK
2628 case 12:
2629 YY_RULE_SETUP
2630 return T_DEPENDS;
2631 YY_BREAK
2632 case 13:
2633 YY_RULE_SETUP
2634 return T_ENDCHOICE;
2635 YY_BREAK
2636 case 14:
2637 YY_RULE_SETUP
2638 return T_ENDIF;
2639 YY_BREAK
2640 case 15:
2641 YY_RULE_SETUP
2642 return T_ENDMENU;
2643 YY_BREAK
2644 case 16:
2645 YY_RULE_SETUP
2646 return T_HELP;
2647 YY_BREAK
2648 case 17:
2649 YY_RULE_SETUP
2650 return T_HEX;
2651 YY_BREAK
2652 case 18:
2653 YY_RULE_SETUP
2654 return T_IF;
2655 YY_BREAK
2656 case 19:
2657 YY_RULE_SETUP
2658 return T_IMPLY;
2659 YY_BREAK
2660 case 20:
2661 YY_RULE_SETUP
2662 return T_INT;
2663 YY_BREAK
2664 case 21:
2665 YY_RULE_SETUP
2666 return T_MAINMENU;
2667 YY_BREAK
2668 case 22:
2669 YY_RULE_SETUP
2670 return T_MENU;
2671 YY_BREAK
2672 case 23:
2673 YY_RULE_SETUP
2674 return T_MENUCONFIG;
2675 YY_BREAK
2676 case 24:
2677 YY_RULE_SETUP
2678 return T_MODULES;
2679 YY_BREAK
2680 case 25:
2681 YY_RULE_SETUP
2682 return T_ON;
2683 YY_BREAK
2684 case 26:
2685 YY_RULE_SETUP
2686 return T_OPTIONAL;
2687 YY_BREAK
2688 case 27:
2689 YY_RULE_SETUP
2690 return T_PROMPT;
2691 YY_BREAK
2692 case 28:
2693 YY_RULE_SETUP
2694 return T_RANGE;
2695 YY_BREAK
2696 case 29:
2697 YY_RULE_SETUP
2698 return T_RESET;
2699 YY_BREAK
2700 case 30:
2701 YY_RULE_SETUP
2702 return T_SELECT;
2703 YY_BREAK
2704 case 31:
2705 YY_RULE_SETUP
2706 return T_SOURCE;
2707 YY_BREAK
2708 case 32:
2709 YY_RULE_SETUP
2710 return T_STRING;
2711 YY_BREAK
2712 case 33:
2713 YY_RULE_SETUP
2714 return T_TRISTATE;
2715 YY_BREAK
2716 case 34:
2717 YY_RULE_SETUP
2718 return T_VISIBLE;
2719 YY_BREAK
2720 case 35:
2721 YY_RULE_SETUP
2722 return T_OR;
2723 YY_BREAK
2724 case 36:
2725 YY_RULE_SETUP
2726 return T_AND;
2727 YY_BREAK
2728 case 37:
2729 YY_RULE_SETUP
2730 return T_EQUAL;
2731 YY_BREAK
2732 case 38:
2733 YY_RULE_SETUP
2734 return T_UNEQUAL;
2735 YY_BREAK
2736 case 39:
2737 YY_RULE_SETUP
2738 return T_LESS;
2739 YY_BREAK
2740 case 40:
2741 YY_RULE_SETUP
2742 return T_LESS_EQUAL;
2743 YY_BREAK
2744 case 41:
2745 YY_RULE_SETUP
2746 return T_GREATER;
2747 YY_BREAK
2748 case 42:
2749 YY_RULE_SETUP
2750 return T_GREATER_EQUAL;
2751 YY_BREAK
2752 case 43:
2753 YY_RULE_SETUP
2754 return T_NOT;
2755 YY_BREAK
2756 case 44:
2757 YY_RULE_SETUP
2758 return T_OPEN_PAREN;
2759 YY_BREAK
2760 case 45:
2761 YY_RULE_SETUP
2762 return T_CLOSE_PAREN;
2763 YY_BREAK
2764 case 46:
2765 YY_RULE_SETUP
2766 return T_COLON_EQUAL;
2767 YY_BREAK
2768 case 47:
2769 YY_RULE_SETUP
2770 return T_PLUS_EQUAL;
2771 YY_BREAK
2772 case 48:
2773 YY_RULE_SETUP
2774 {
2775 open_quote = yytext[0];
2776 new_string();
2777 BEGIN(STRING);
2778 }
2779 YY_BREAK
2780 case 49:
2781 YY_RULE_SETUP
2782 {
2783 alloc_string(yytext, yyleng);
2784 yylval.string = text;
2785 return T_WORD;
2786 }
2787 YY_BREAK
2788 case 50:
2789 YY_RULE_SETUP
2790 {
2791 /* this token includes at least one '$' */
2792 yylval.string = expand_token(yytext, yyleng);
2793 if (strlen(yylval.string))
2794 return T_WORD;
2795 free(yylval.string);
2796 }
2797 YY_BREAK
2798 case 51:
2799 YY_RULE_SETUP
2800 warn_ignored_character(*yytext);
2801 YY_BREAK
2802
2803 case 52:
2804 YY_RULE_SETUP
2805 {
2806 alloc_string(yytext, yyleng);
2807 yylval.string = text;
2808 return T_ASSIGN_VAL;
2809 }
2810 YY_BREAK
2811 case 53:
2812 /* rule 53 can match eol */
2813 YY_RULE_SETUP
2814 { BEGIN(INITIAL); return T_EOL; }
2815 YY_BREAK
2816 case 54:
2817 YY_RULE_SETUP
2818
2819 YY_BREAK
2820
2821 case 55:
2822 YY_RULE_SETUP
2823 append_expanded_string(yytext);
2824 YY_BREAK
2825 case 56:
2826 YY_RULE_SETUP
2827 {
2828 append_string(yytext, yyleng);
2829 }
2830 YY_BREAK
2831 case 57:
2832 YY_RULE_SETUP
2833 {
2834 append_string(yytext + 1, yyleng - 1);
2835 }
2836 YY_BREAK
2837 case 58:
2838 YY_RULE_SETUP
2839 {
2840 if (open_quote == yytext[0]) {
2841 BEGIN(INITIAL);
2842 yylval.string = text;
2843 return T_WORD_QUOTE;
2844 } else
2845 append_string(yytext, 1);
2846 }
2847 YY_BREAK
2848 case 59:
2849 /* rule 59 can match eol */
2850 YY_RULE_SETUP
2851 {
2852 fprintf(stderr,
2853 "%s:%d:warning: multi-line strings not supported\n",
2854 zconf_curname(), zconf_lineno());
2855 unput('\n');
2856 BEGIN(INITIAL);
2857 yylval.string = text;
2858 return T_WORD_QUOTE;
2859 }
2860 YY_BREAK
2861 case YY_STATE_EOF(STRING):
2862 {
2863 BEGIN(INITIAL);
2864 yylval.string = text;
2865 return T_WORD_QUOTE;
2866 }
2867 YY_BREAK
2868
2869 case 60:
2870 YY_RULE_SETUP
2871 {
2872 int ts, i;
2873
2874 ts = 0;
2875 for (i = 0; i < yyleng; i++) {
2876 if (yytext[i] == '\t')
2877 ts = (ts & ~7) + 8;
2878 else
2879 ts++;
2880 }
2881 last_ts = ts;
2882 if (first_ts) {
2883 if (ts < first_ts) {
2884 zconf_endhelp();
2885 return T_HELPTEXT;
2886 }
2887 ts -= first_ts;
2888 while (ts > 8) {
2889 append_string(" ", 8);
2890 ts -= 8;
2891 }
2892 append_string(" ", ts);
2893 }
2894 }
2895 YY_BREAK
2896 case 61:
2897 /* rule 61 can match eol */
2898 *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
2899 YY_LINENO_REWIND_TO(yy_cp - 1);
2900 (yy_c_buf_p) = yy_cp -= 1;
2901 YY_DO_BEFORE_ACTION; /* set up yytext again */
2902 YY_RULE_SETUP
2903 {
2904 zconf_endhelp();
2905 return T_HELPTEXT;
2906 }
2907 YY_BREAK
2908 case 62:
2909 /* rule 62 can match eol */
2910 YY_RULE_SETUP
2911 {
2912 append_string("\n", 1);
2913 }
2914 YY_BREAK
2915 case 63:
2916 YY_RULE_SETUP
2917 {
2918 while (yyleng) {
2919 if ((yytext[yyleng-1] != ' ') && (yytext[yyleng-1] != '\t'))
2920 break;
2921 yyleng--;
2922 }
2923 append_string(yytext, yyleng);
2924 if (!first_ts)
2925 first_ts = last_ts;
2926 }
2927 YY_BREAK
2928 case YY_STATE_EOF(HELP):
2929 {
2930 zconf_endhelp();
2931 return T_HELPTEXT;
2932 }
2933 YY_BREAK
2934
2935 case YY_STATE_EOF(INITIAL):
2936 case YY_STATE_EOF(ASSIGN_VAL):
2937 {
2938 BEGIN(INITIAL);
2939
2940 if (prev_token != T_EOL && prev_token != T_HELPTEXT)
2941 fprintf(stderr, "%s:%d:warning: no new line at end of file\n",
2942 current_file->name, yylineno);
2943
2944 if (current_file) {
2945 zconf_endfile();
2946 return T_EOL;
2947 }
2948 fclose(yyin);
2949 yyterminate();
2950 }
2951 YY_BREAK
2952 case 64:
2953 YY_RULE_SETUP
2954 YY_FATAL_ERROR( "flex scanner jammed" );
2955 YY_BREAK
2956
2957 case YY_END_OF_BUFFER:
2958 {
2959 /* Amount of text matched not including the EOB char. */
2960 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
2961
2962 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2963 *yy_cp = (yy_hold_char);
2964 YY_RESTORE_YY_MORE_OFFSET
2965
2966 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
2967 {
2968 /* We're scanning a new file or input source. It's
2969 * possible that this happened because the user
2970 * just pointed yyin at a new source and called
2971 * yylex(). If so, then we have to assure
2972 * consistency between YY_CURRENT_BUFFER and our
2973 * globals. Here is the right place to do so, because
2974 * this is the first action (other than possibly a
2975 * back-up) that will match for the new input source.
2976 */
2977 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2978 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
2979 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
2980 }
2981
2982 /* Note that here we test for yy_c_buf_p "<=" to the position
2983 * of the first EOB in the buffer, since yy_c_buf_p will
2984 * already have been incremented past the NUL character
2985 * (since all states make transitions on EOB to the
2986 * end-of-buffer state). Contrast this with the test
2987 * in input().
2988 */
2989 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2990 { /* This was really a NUL. */
2991 yy_state_type yy_next_state;
2992
2993 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
2994
2995 yy_current_state = yy_get_previous_state( );
2996
2997 /* Okay, we're now positioned to make the NUL
2998 * transition. We couldn't have
2999 * yy_get_previous_state() go ahead and do it
3000 * for us because it doesn't know how to deal
3001 * with the possibility of jamming (and we don't
3002 * want to build jamming into it because then it
3003 * will run more slowly).
3004 */
3005
3006 yy_next_state = yy_try_NUL_trans( yy_current_state );
3007
3008 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3009
3010 if ( yy_next_state )
3011 {
3012 /* Consume the NUL. */
3013 yy_cp = ++(yy_c_buf_p);
3014 yy_current_state = yy_next_state;
3015 goto yy_match;
3016 }
3017
3018 else
3019 {
3020 yy_cp = (yy_c_buf_p);
3021 goto yy_find_action;
3022 }
3023 }
3024
3025 else switch ( yy_get_next_buffer( ) )
3026 {
3027 case EOB_ACT_END_OF_FILE:
3028 {
3029 (yy_did_buffer_switch_on_eof) = 0;
3030
3031 if ( yywrap( ) )
3032 {
3033 /* Note: because we've taken care in
3034 * yy_get_next_buffer() to have set up
3035 * yytext, we can now set up
3036 * yy_c_buf_p so that if some total
3037 * hoser (like flex itself) wants to
3038 * call the scanner after we return the
3039 * YY_NULL, it'll still work - another
3040 * YY_NULL will get returned.
3041 */
3042 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
3043
3044 yy_act = YY_STATE_EOF(YY_START);
3045 goto do_action;
3046 }
3047
3048 else
3049 {
3050 if ( ! (yy_did_buffer_switch_on_eof) )
3051 YY_NEW_FILE;
3052 }
3053 break;
3054 }
3055
3056 case EOB_ACT_CONTINUE_SCAN:
3057 (yy_c_buf_p) =
3058 (yytext_ptr) + yy_amount_of_matched_text;
3059
3060 yy_current_state = yy_get_previous_state( );
3061
3062 yy_cp = (yy_c_buf_p);
3063 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3064 goto yy_match;
3065
3066 case EOB_ACT_LAST_MATCH:
3067 (yy_c_buf_p) =
3068 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
3069
3070 yy_current_state = yy_get_previous_state( );
3071
3072 yy_cp = (yy_c_buf_p);
3073 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3074 goto yy_find_action;
3075 }
3076 break;
3077 }
3078
3079 default:
3080 YY_FATAL_ERROR(
3081 "fatal flex scanner internal error--no action found" );
3082 } /* end of action switch */
3083 } /* end of scanning one token */
3084 } /* end of user's declarations */
3085 } /* end of yylex */
3086
3087 /* yy_get_next_buffer - try to read in a new buffer
3088 *
3089 * Returns a code representing an action:
3090 * EOB_ACT_LAST_MATCH -
3091 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
3092 * EOB_ACT_END_OF_FILE - end of file
3093 */
3094 static int yy_get_next_buffer (void)
3095 {
3096 char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
3097 char *source = (yytext_ptr);
3098 int number_to_move, i;
3099 int ret_val;
3100
3101 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
3102 YY_FATAL_ERROR(
3103 "fatal flex scanner internal error--end of buffer missed" );
3104
3105 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
3106 { /* Don't try to fill the buffer, so this is an EOF. */
3107 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
3108 {
3109 /* We matched a single character, the EOB, so
3110 * treat this as a final EOF.
3111 */
3112 return EOB_ACT_END_OF_FILE;
3113 }
3114
3115 else
3116 {
3117 /* We matched some text prior to the EOB, first
3118 * process it.
3119 */
3120 return EOB_ACT_LAST_MATCH;
3121 }
3122 }
3123
3124 /* Try to read more data. */
3125
3126 /* First move last chars to start of buffer. */
3127 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
3128
3129 for ( i = 0; i < number_to_move; ++i )
3130 *(dest++) = *(source++);
3131
3132 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
3133 /* don't do the read, it's not guaranteed to return an EOF,
3134 * just force an EOF
3135 */
3136 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
3137
3138 else
3139 {
3140 int num_to_read =
3141 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
3142
3143 while ( num_to_read <= 0 )
3144 { /* Not enough room in the buffer - grow it. */
3145
3146 /* just a shorter name for the current buffer */
3147 YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
3148
3149 int yy_c_buf_p_offset =
3150 (int) ((yy_c_buf_p) - b->yy_ch_buf);
3151
3152 if ( b->yy_is_our_buffer )
3153 {
3154 int new_size = b->yy_buf_size * 2;
3155
3156 if ( new_size <= 0 )
3157 b->yy_buf_size += b->yy_buf_size / 8;
3158 else
3159 b->yy_buf_size *= 2;
3160
3161 b->yy_ch_buf = (char *)
3162 /* Include room in for 2 EOB chars. */
3163 yyrealloc( (void *) b->yy_ch_buf,
3164 (yy_size_t) (b->yy_buf_size + 2) );
3165 }
3166 else
3167 /* Can't grow it, we don't own it. */
3168 b->yy_ch_buf = NULL;
3169
3170 if ( ! b->yy_ch_buf )
3171 YY_FATAL_ERROR(
3172 "fatal error - scanner input buffer overflow" );
3173
3174 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
3175
3176 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
3177 number_to_move - 1;
3178
3179 }
3180
3181 if ( num_to_read > YY_READ_BUF_SIZE )
3182 num_to_read = YY_READ_BUF_SIZE;
3183
3184 /* Read in more data. */
3185 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
3186 (yy_n_chars), num_to_read );
3187
3188 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3189 }
3190
3191 if ( (yy_n_chars) == 0 )
3192 {
3193 if ( number_to_move == YY_MORE_ADJ )
3194 {
3195 ret_val = EOB_ACT_END_OF_FILE;
3196 yyrestart( yyin );
3197 }
3198
3199 else
3200 {
3201 ret_val = EOB_ACT_LAST_MATCH;
3202 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
3203 YY_BUFFER_EOF_PENDING;
3204 }
3205 }
3206
3207 else
3208 ret_val = EOB_ACT_CONTINUE_SCAN;
3209
3210 if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
3211 /* Extend the array by 50%, plus the number we really need. */
3212 int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
3213 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
3214 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
3215 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
3216 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
3217 /* "- 2" to take care of EOB's */
3218 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
3219 }
3220
3221 (yy_n_chars) += number_to_move;
3222 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
3223 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
3224
3225 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
3226
3227 return ret_val;
3228 }
3229
3230 /* yy_get_previous_state - get the state just before the EOB char was reached */
3231
3232 static yy_state_type yy_get_previous_state (void)
3233 {
3234 yy_state_type yy_current_state;
3235 char *yy_cp;
3236
3237 yy_current_state = (yy_start);
3238
3239 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
3240 {
3241 yy_current_state = yy_nxt[yy_current_state][(*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1)];
3242 }
3243
3244 return yy_current_state;
3245 }
3246
3247 /* yy_try_NUL_trans - try to make a transition on the NUL character
3248 *
3249 * synopsis
3250 * next_state = yy_try_NUL_trans( current_state );
3251 */
3252 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
3253 {
3254 int yy_is_jam;
3255
3256 yy_current_state = yy_nxt[yy_current_state][1];
3257 yy_is_jam = (yy_current_state <= 0);
3258
3259 return yy_is_jam ? 0 : yy_current_state;
3260 }
3261
3262 #ifndef YY_NO_UNPUT
3263
3264 static void yyunput (int c, char * yy_bp )
3265 {
3266 char *yy_cp;
3267
3268 yy_cp = (yy_c_buf_p);
3269
3270 /* undo effects of setting up yytext */
3271 *yy_cp = (yy_hold_char);
3272
3273 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3274 { /* need to shift things up to make room */
3275 /* +2 for EOB chars. */
3276 int number_to_move = (yy_n_chars) + 2;
3277 char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
3278 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
3279 char *source =
3280 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
3281
3282 while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
3283 *--dest = *--source;
3284
3285 yy_cp += (int) (dest - source);
3286 yy_bp += (int) (dest - source);
3287 YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
3288 (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
3289
3290 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3291 YY_FATAL_ERROR( "flex scanner push-back overflow" );
3292 }
3293
3294 *--yy_cp = (char) c;
3295
3296 if ( c == '\n' ){
3297 --yylineno;
3298 }
3299
3300 (yytext_ptr) = yy_bp;
3301 (yy_hold_char) = *yy_cp;
3302 (yy_c_buf_p) = yy_cp;
3303 }
3304
3305 #endif
3306
3307 #ifndef YY_NO_INPUT
3308 #ifdef __cplusplus
3309 static int yyinput (void)
3310 #else
3311 static int input (void)
3312 #endif
3313
3314 {
3315 int c;
3316
3317 *(yy_c_buf_p) = (yy_hold_char);
3318
3319 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
3320 {
3321 /* yy_c_buf_p now points to the character we want to return.
3322 * If this occurs *before* the EOB characters, then it's a
3323 * valid NUL; if not, then we've hit the end of the buffer.
3324 */
3325 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
3326 /* This was really a NUL. */
3327 *(yy_c_buf_p) = '\0';
3328
3329 else
3330 { /* need more input */
3331 int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
3332 ++(yy_c_buf_p);
3333
3334 switch ( yy_get_next_buffer( ) )
3335 {
3336 case EOB_ACT_LAST_MATCH:
3337 /* This happens because yy_g_n_b()
3338 * sees that we've accumulated a
3339 * token and flags that we need to
3340 * try matching the token before
3341 * proceeding. But for input(),
3342 * there's no matching to consider.
3343 * So convert the EOB_ACT_LAST_MATCH
3344 * to EOB_ACT_END_OF_FILE.
3345 */
3346
3347 /* Reset buffer status. */
3348 yyrestart( yyin );
3349
3350 /*FALLTHROUGH*/
3351
3352 case EOB_ACT_END_OF_FILE:
3353 {
3354 if ( yywrap( ) )
3355 return 0;
3356
3357 if ( ! (yy_did_buffer_switch_on_eof) )
3358 YY_NEW_FILE;
3359 #ifdef __cplusplus
3360 return yyinput();
3361 #else
3362 return input();
3363 #endif
3364 }
3365
3366 case EOB_ACT_CONTINUE_SCAN:
3367 (yy_c_buf_p) = (yytext_ptr) + offset;
3368 break;
3369 }
3370 }
3371 }
3372
3373 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
3374 *(yy_c_buf_p) = '\0'; /* preserve yytext */
3375 (yy_hold_char) = *++(yy_c_buf_p);
3376
3377 if ( c == '\n' )
3378
3379 yylineno++;
3380 ;
3381
3382 return c;
3383 }
3384 #endif /* ifndef YY_NO_INPUT */
3385
3386 /** Immediately switch to a different input stream.
3387 * @param input_file A readable stream.
3388 *
3389 * @note This function does not reset the start condition to @c INITIAL .
3390 */
3391 void yyrestart (FILE * input_file )
3392 {
3393
3394 if ( ! YY_CURRENT_BUFFER ){
3395 yyensure_buffer_stack ();
3396 YY_CURRENT_BUFFER_LVALUE =
3397 yy_create_buffer( yyin, YY_BUF_SIZE );
3398 }
3399
3400 yy_init_buffer( YY_CURRENT_BUFFER, input_file );
3401 yy_load_buffer_state( );
3402 }
3403
3404 /** Switch to a different input buffer.
3405 * @param new_buffer The new input buffer.
3406 *
3407 */
3408 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
3409 {
3410
3411 /* TODO. We should be able to replace this entire function body
3412 * with
3413 * yypop_buffer_state();
3414 * yypush_buffer_state(new_buffer);
3415 */
3416 yyensure_buffer_stack ();
3417 if ( YY_CURRENT_BUFFER == new_buffer )
3418 return;
3419
3420 if ( YY_CURRENT_BUFFER )
3421 {
3422 /* Flush out information for old buffer. */
3423 *(yy_c_buf_p) = (yy_hold_char);
3424 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3425 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3426 }
3427
3428 YY_CURRENT_BUFFER_LVALUE = new_buffer;
3429 yy_load_buffer_state( );
3430
3431 /* We don't actually know whether we did this switch during
3432 * EOF (yywrap()) processing, but the only time this flag
3433 * is looked at is after yywrap() is called, so it's safe
3434 * to go ahead and always set it.
3435 */
3436 (yy_did_buffer_switch_on_eof) = 1;
3437 }
3438
3439 static void yy_load_buffer_state (void)
3440 {
3441 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3442 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
3443 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
3444 (yy_hold_char) = *(yy_c_buf_p);
3445 }
3446
3447 /** Allocate and initialize an input buffer state.
3448 * @param file A readable stream.
3449 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
3450 *
3451 * @return the allocated buffer state.
3452 */
3453 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
3454 {
3455 YY_BUFFER_STATE b;
3456
3457 b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
3458 if ( ! b )
3459 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3460
3461 b->yy_buf_size = size;
3462
3463 /* yy_ch_buf has to be 2 characters longer than the size given because
3464 * we need to put in 2 end-of-buffer characters.
3465 */
3466 b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
3467 if ( ! b->yy_ch_buf )
3468 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3469
3470 b->yy_is_our_buffer = 1;
3471
3472 yy_init_buffer( b, file );
3473
3474 return b;
3475 }
3476
3477 /** Destroy the buffer.
3478 * @param b a buffer created with yy_create_buffer()
3479 *
3480 */
3481 void yy_delete_buffer (YY_BUFFER_STATE b )
3482 {
3483
3484 if ( ! b )
3485 return;
3486
3487 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
3488 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
3489
3490 if ( b->yy_is_our_buffer )
3491 yyfree( (void *) b->yy_ch_buf );
3492
3493 yyfree( (void *) b );
3494 }
3495
3496 /* Initializes or reinitializes a buffer.
3497 * This function is sometimes called more than once on the same buffer,
3498 * such as during a yyrestart() or at EOF.
3499 */
3500 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
3501
3502 {
3503 int oerrno = errno;
3504
3505 yy_flush_buffer( b );
3506
3507 b->yy_input_file = file;
3508 b->yy_fill_buffer = 1;
3509
3510 /* If b is the current buffer, then yy_init_buffer was _probably_
3511 * called from yyrestart() or through yy_get_next_buffer.
3512 * In that case, we don't want to reset the lineno or column.
3513 */
3514 if (b != YY_CURRENT_BUFFER){
3515 b->yy_bs_lineno = 1;
3516 b->yy_bs_column = 0;
3517 }
3518
3519 b->yy_is_interactive = 0;
3520
3521 errno = oerrno;
3522 }
3523
3524 /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
3525 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
3526 *
3527 */
3528 void yy_flush_buffer (YY_BUFFER_STATE b )
3529 {
3530 if ( ! b )
3531 return;
3532
3533 b->yy_n_chars = 0;
3534
3535 /* We always need two end-of-buffer characters. The first causes
3536 * a transition to the end-of-buffer state. The second causes
3537 * a jam in that state.
3538 */
3539 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
3540 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
3541
3542 b->yy_buf_pos = &b->yy_ch_buf[0];
3543
3544 b->yy_at_bol = 1;
3545 b->yy_buffer_status = YY_BUFFER_NEW;
3546
3547 if ( b == YY_CURRENT_BUFFER )
3548 yy_load_buffer_state( );
3549 }
3550
3551 /** Pushes the new state onto the stack. The new state becomes
3552 * the current state. This function will allocate the stack
3553 * if necessary.
3554 * @param new_buffer The new state.
3555 *
3556 */
3557 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
3558 {
3559 if (new_buffer == NULL)
3560 return;
3561
3562 yyensure_buffer_stack();
3563
3564 /* This block is copied from yy_switch_to_buffer. */
3565 if ( YY_CURRENT_BUFFER )
3566 {
3567 /* Flush out information for old buffer. */
3568 *(yy_c_buf_p) = (yy_hold_char);
3569 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3570 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3571 }
3572
3573 /* Only push if top exists. Otherwise, replace top. */
3574 if (YY_CURRENT_BUFFER)
3575 (yy_buffer_stack_top)++;
3576 YY_CURRENT_BUFFER_LVALUE = new_buffer;
3577
3578 /* copied from yy_switch_to_buffer. */
3579 yy_load_buffer_state( );
3580 (yy_did_buffer_switch_on_eof) = 1;
3581 }
3582
3583 /** Removes and deletes the top of the stack, if present.
3584 * The next element becomes the new top.
3585 *
3586 */
3587 void yypop_buffer_state (void)
3588 {
3589 if (!YY_CURRENT_BUFFER)
3590 return;
3591
3592 yy_delete_buffer(YY_CURRENT_BUFFER );
3593 YY_CURRENT_BUFFER_LVALUE = NULL;
3594 if ((yy_buffer_stack_top) > 0)
3595 --(yy_buffer_stack_top);
3596
3597 if (YY_CURRENT_BUFFER) {
3598 yy_load_buffer_state( );
3599 (yy_did_buffer_switch_on_eof) = 1;
3600 }
3601 }
3602
3603 /* Allocates the stack if it does not exist.
3604 * Guarantees space for at least one push.
3605 */
3606 static void yyensure_buffer_stack (void)
3607 {
3608 yy_size_t num_to_alloc;
3609
3610 if (!(yy_buffer_stack)) {
3611
3612 /* First allocation is just for 2 elements, since we don't know if this
3613 * scanner will even need a stack. We use 2 instead of 1 to avoid an
3614 * immediate realloc on the next call.
3615 */
3616 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
3617 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
3618 (num_to_alloc * sizeof(struct yy_buffer_state*)
3619 );
3620 if ( ! (yy_buffer_stack) )
3621 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3622
3623 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
3624
3625 (yy_buffer_stack_max) = num_to_alloc;
3626 (yy_buffer_stack_top) = 0;
3627 return;
3628 }
3629
3630 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
3631
3632 /* Increase the buffer to prepare for a possible push. */
3633 yy_size_t grow_size = 8 /* arbitrary grow size */;
3634
3635 num_to_alloc = (yy_buffer_stack_max) + grow_size;
3636 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
3637 ((yy_buffer_stack),
3638 num_to_alloc * sizeof(struct yy_buffer_state*)
3639 );
3640 if ( ! (yy_buffer_stack) )
3641 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3642
3643 /* zero only the new slots.*/
3644 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
3645 (yy_buffer_stack_max) = num_to_alloc;
3646 }
3647 }
3648
3649 /** Setup the input buffer state to scan directly from a user-specified character buffer.
3650 * @param base the character buffer
3651 * @param size the size in bytes of the character buffer
3652 *
3653 * @return the newly allocated buffer state object.
3654 */
3655 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
3656 {
3657 YY_BUFFER_STATE b;
3658
3659 if ( size < 2 ||
3660 base[size-2] != YY_END_OF_BUFFER_CHAR ||
3661 base[size-1] != YY_END_OF_BUFFER_CHAR )
3662 /* They forgot to leave room for the EOB's. */
3663 return NULL;
3664
3665 b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
3666 if ( ! b )
3667 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
3668
3669 b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
3670 b->yy_buf_pos = b->yy_ch_buf = base;
3671 b->yy_is_our_buffer = 0;
3672 b->yy_input_file = NULL;
3673 b->yy_n_chars = b->yy_buf_size;
3674 b->yy_is_interactive = 0;
3675 b->yy_at_bol = 1;
3676 b->yy_fill_buffer = 0;
3677 b->yy_buffer_status = YY_BUFFER_NEW;
3678
3679 yy_switch_to_buffer( b );
3680
3681 return b;
3682 }
3683
3684 /** Setup the input buffer state to scan a string. The next call to yylex() will
3685 * scan from a @e copy of @a str.
3686 * @param yystr a NUL-terminated string to scan
3687 *
3688 * @return the newly allocated buffer state object.
3689 * @note If you want to scan bytes that may contain NUL values, then use
3690 * yy_scan_bytes() instead.
3691 */
3692 YY_BUFFER_STATE yy_scan_string (const char * yystr )
3693 {
3694
3695 return yy_scan_bytes( yystr, (int) strlen(yystr) );
3696 }
3697
3698 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
3699 * scan from a @e copy of @a bytes.
3700 * @param yybytes the byte buffer to scan
3701 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
3702 *
3703 * @return the newly allocated buffer state object.
3704 */
3705 YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
3706 {
3707 YY_BUFFER_STATE b;
3708 char *buf;
3709 yy_size_t n;
3710 int i;
3711
3712 /* Get memory for full buffer, including space for trailing EOB's. */
3713 n = (yy_size_t) (_yybytes_len + 2);
3714 buf = (char *) yyalloc( n );
3715 if ( ! buf )
3716 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3717
3718 for ( i = 0; i < _yybytes_len; ++i )
3719 buf[i] = yybytes[i];
3720
3721 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
3722
3723 b = yy_scan_buffer( buf, n );
3724 if ( ! b )
3725 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3726
3727 /* It's okay to grow etc. this buffer, and we should throw it
3728 * away when we're done.
3729 */
3730 b->yy_is_our_buffer = 1;
3731
3732 return b;
3733 }
3734
3735 #ifndef YY_EXIT_FAILURE
3736 #define YY_EXIT_FAILURE 2
3737 #endif
3738
3739 static void yynoreturn yy_fatal_error (const char* msg )
3740 {
3741 fprintf( stderr, "%s\n", msg );
3742 exit( YY_EXIT_FAILURE );
3743 }
3744
3745 /* Redefine yyless() so it works in section 3 code. */
3746
3747 #undef yyless
3748 #define yyless(n) \
3749 do \
3750 { \
3751 /* Undo effects of setting up yytext. */ \
3752 int yyless_macro_arg = (n); \
3753 YY_LESS_LINENO(yyless_macro_arg);\
3754 yytext[yyleng] = (yy_hold_char); \
3755 (yy_c_buf_p) = yytext + yyless_macro_arg; \
3756 (yy_hold_char) = *(yy_c_buf_p); \
3757 *(yy_c_buf_p) = '\0'; \
3758 yyleng = yyless_macro_arg; \
3759 } \
3760 while ( 0 )
3761
3762 /* Accessor methods (get/set functions) to struct members. */
3763
3764 /** Get the current line number.
3765 *
3766 */
3767 int yyget_lineno (void)
3768 {
3769
3770 return yylineno;
3771 }
3772
3773 /** Get the input stream.
3774 *
3775 */
3776 FILE *yyget_in (void)
3777 {
3778 return yyin;
3779 }
3780
3781 /** Get the output stream.
3782 *
3783 */
3784 FILE *yyget_out (void)
3785 {
3786 return yyout;
3787 }
3788
3789 /** Get the length of the current token.
3790 *
3791 */
3792 int yyget_leng (void)
3793 {
3794 return yyleng;
3795 }
3796
3797 /** Get the current token.
3798 *
3799 */
3800
3801 char *yyget_text (void)
3802 {
3803 return yytext;
3804 }
3805
3806 /** Set the current line number.
3807 * @param _line_number line number
3808 *
3809 */
3810 void yyset_lineno (int _line_number )
3811 {
3812
3813 yylineno = _line_number;
3814 }
3815
3816 /** Set the input stream. This does not discard the current
3817 * input buffer.
3818 * @param _in_str A readable stream.
3819 *
3820 * @see yy_switch_to_buffer
3821 */
3822 void yyset_in (FILE * _in_str )
3823 {
3824 yyin = _in_str ;
3825 }
3826
3827 void yyset_out (FILE * _out_str )
3828 {
3829 yyout = _out_str ;
3830 }
3831
3832 int yyget_debug (void)
3833 {
3834 return yy_flex_debug;
3835 }
3836
3837 void yyset_debug (int _bdebug )
3838 {
3839 yy_flex_debug = _bdebug ;
3840 }
3841
3842 static int yy_init_globals (void)
3843 {
3844 /* Initialization is the same as for the non-reentrant scanner.
3845 * This function is called from yylex_destroy(), so don't allocate here.
3846 */
3847
3848 /* We do not touch yylineno unless the option is enabled. */
3849 yylineno = 1;
3850
3851 (yy_buffer_stack) = NULL;
3852 (yy_buffer_stack_top) = 0;
3853 (yy_buffer_stack_max) = 0;
3854 (yy_c_buf_p) = NULL;
3855 (yy_init) = 0;
3856 (yy_start) = 0;
3857
3858 /* Defined in main.c */
3859 #ifdef YY_STDINIT
3860 yyin = stdin;
3861 yyout = stdout;
3862 #else
3863 yyin = NULL;
3864 yyout = NULL;
3865 #endif
3866
3867 /* For future reference: Set errno on error, since we are called by
3868 * yylex_init()
3869 */
3870 return 0;
3871 }
3872
3873 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
3874 int yylex_destroy (void)
3875 {
3876
3877 /* Pop the buffer stack, destroying each element. */
3878 while(YY_CURRENT_BUFFER){
3879 yy_delete_buffer( YY_CURRENT_BUFFER );
3880 YY_CURRENT_BUFFER_LVALUE = NULL;
3881 yypop_buffer_state();
3882 }
3883
3884 /* Destroy the stack itself. */
3885 yyfree((yy_buffer_stack) );
3886 (yy_buffer_stack) = NULL;
3887
3888 /* Reset the globals. This is important in a non-reentrant scanner so the next time
3889 * yylex() is called, initialization will occur. */
3890 yy_init_globals( );
3891
3892 return 0;
3893 }
3894
3895 /*
3896 * Internal utility routines.
3897 */
3898
3899 #ifndef yytext_ptr
3900 static void yy_flex_strncpy (char* s1, const char * s2, int n )
3901 {
3902
3903 int i;
3904 for ( i = 0; i < n; ++i )
3905 s1[i] = s2[i];
3906 }
3907 #endif
3908
3909 #ifdef YY_NEED_STRLEN
3910 static int yy_flex_strlen (const char * s )
3911 {
3912 int n;
3913 for ( n = 0; s[n]; ++n )
3914 ;
3915
3916 return n;
3917 }
3918 #endif
3919
3920 void *yyalloc (yy_size_t size )
3921 {
3922 return malloc(size);
3923 }
3924
3925 void *yyrealloc (void * ptr, yy_size_t size )
3926 {
3927
3928 /* The cast to (char *) in the following accommodates both
3929 * implementations that use char* generic pointers, and those
3930 * that use void* generic pointers. It works with the latter
3931 * because both ANSI C and C++ allow castless assignment from
3932 * any pointer type to void*, and deal with argument conversions
3933 * as though doing an assignment.
3934 */
3935 return realloc(ptr, size);
3936 }
3937
3938 void yyfree (void * ptr )
3939 {
3940 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
3941 }
3942
3943 #define YYTABLES_NAME "yytables"
3944
3945 /* second stage lexer */
3946 int yylex(void)
3947 {
3948 int token;
3949
3950 repeat:
3951 token = yylex1();
3952
3953 if (prev_token == T_EOL || prev_token == T_HELPTEXT) {
3954 if (token == T_EOL) {
3955 /* Do not pass unneeded T_EOL to the parser. */
3956 goto repeat;
3957 } else {
3958 /*
3959 * For the parser, update file/lineno at the first token
3960 * of each statement. Generally, \n is a statement
3961 * terminator in Kconfig, but it is not always true
3962 * because \n could be escaped by a backslash.
3963 */
3964 current_pos.file = current_file;
3965 current_pos.lineno = yylineno;
3966 }
3967 }
3968
3969 if (prev_prev_token == T_EOL && prev_token == T_WORD &&
3970 (token == T_EQUAL || token == T_COLON_EQUAL || token == T_PLUS_EQUAL))
3971 BEGIN(ASSIGN_VAL);
3972
3973 prev_prev_token = prev_token;
3974 prev_token = token;
3975
3976 return token;
3977 }
3978
3979 static char *expand_token(const char *in, size_t n)
3980 {
3981 char *out;
3982 int c;
3983 char c2;
3984 const char *rest, *end;
3985
3986 new_string();
3987 append_string(in, n);
3988
3989 /* get the whole line because we do not know the end of token. */
3990 while ((c = input()) != EOF) {
3991 if (c == '\n') {
3992 unput(c);
3993 break;
3994 }
3995 c2 = c;
3996 append_string(&c2, 1);
3997 }
3998
3999 rest = text;
4000 out = expand_one_token(&rest);
4001
4002 /* push back unused characters to the input stream */
4003 end = rest + strlen(rest);
4004 while (end > rest)
4005 unput(*--end);
4006
4007 free(text);
4008
4009 return out;
4010 }
4011
4012 static void append_expanded_string(const char *str)
4013 {
4014 const char *end;
4015 char *res;
4016
4017 str++;
4018
4019 res = expand_dollar(&str);
4020
4021 /* push back unused characters to the input stream */
4022 end = str + strlen(str);
4023 while (end > str)
4024 unput(*--end);
4025
4026 append_string(res, strlen(res));
4027
4028 free(res);
4029 }
4030
4031 void zconf_starthelp(void)
4032 {
4033 new_string();
4034 last_ts = first_ts = 0;
4035 BEGIN(HELP);
4036 }
4037
4038 static void zconf_endhelp(void)
4039 {
4040 yylval.string = text;
4041 BEGIN(INITIAL);
4042 }
4043
4044 /*
4045 * Try to open specified file with following names:
4046 * ./name
4047 * $(srctree)/name
4048 * The latter is used when srctree is separate from objtree
4049 * when compiling the kernel.
4050 * Return NULL if file is not found.
4051 */
4052 FILE *zconf_fopen(const char *name)
4053 {
4054 char *env, fullname[PATH_MAX+1];
4055 FILE *f;
4056
4057 f = fopen(name, "r");
4058 if (!f && name != NULL && name[0] != '/') {
4059 env = getenv(SRCTREE);
4060 if (env) {
4061 snprintf(fullname, sizeof(fullname),
4062 "%s/%s", env, name);
4063 f = fopen(fullname, "r");
4064 }
4065 }
4066 return f;
4067 }
4068
4069 void zconf_initscan(const char *name)
4070 {
4071 yyin = zconf_fopen(name);
4072 if (!yyin) {
4073 fprintf(stderr, "can't find file %s\n", name);
4074 exit(1);
4075 }
4076
4077 current_buf = xmalloc(sizeof(*current_buf));
4078 memset(current_buf, 0, sizeof(*current_buf));
4079
4080 current_file = file_lookup(name);
4081 yylineno = 1;
4082 }
4083
4084 static void __zconf_nextfile(const char *name)
4085 {
4086 struct file *iter;
4087 struct file *file = file_lookup(name);
4088 struct buffer *buf = xmalloc(sizeof(*buf));
4089 memset(buf, 0, sizeof(*buf));
4090
4091 current_buf->state = YY_CURRENT_BUFFER;
4092 yyin = zconf_fopen(file->name);
4093 if (!yyin) {
4094 fprintf(stderr, "%s:%d: can't open file \"%s\"\n",
4095 zconf_curname(), zconf_lineno(), file->name);
4096 exit(1);
4097 }
4098 yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE));
4099 buf->parent = current_buf;
4100 current_buf = buf;
4101
4102 current_file->lineno = yylineno;
4103 file->parent = current_file;
4104
4105 for (iter = current_file; iter; iter = iter->parent) {
4106 if (!strcmp(iter->name, file->name)) {
4107 fprintf(stderr,
4108 "Recursive inclusion detected.\n"
4109 "Inclusion path:\n"
4110 " current file : %s\n", file->name);
4111 iter = file;
4112 do {
4113 iter = iter->parent;
4114 fprintf(stderr, " included from: %s:%d\n",
4115 iter->name, iter->lineno - 1);
4116 } while (strcmp(iter->name, file->name));
4117 exit(1);
4118 }
4119 }
4120
4121 yylineno = 1;
4122 current_file = file;
4123 }
4124
4125 void zconf_nextfile(const char *name)
4126 {
4127 glob_t gl;
4128 int err;
4129 int i;
4130 char path[PATH_MAX], *p;
4131
4132 err = glob(name, GLOB_ERR | GLOB_MARK, NULL, &gl);
4133
4134 /* ignore wildcard patterns that return no result */
4135 if (err == GLOB_NOMATCH && strchr(name, '*')) {
4136 err = 0;
4137 gl.gl_pathc = 0;
4138 }
4139
4140 if (err == GLOB_NOMATCH) {
4141 p = strdup(current_file->name);
4142 if (p) {
4143 snprintf(path, sizeof(path), "%s/%s", dirname(p), name);
4144 err = glob(path, GLOB_ERR | GLOB_MARK, NULL, &gl);
4145 free(p);
4146 }
4147 }
4148
4149 if (err) {
4150 const char *reason = "unknown error";
4151
4152 switch (err) {
4153 case GLOB_NOSPACE:
4154 reason = "out of memory";
4155 break;
4156 case GLOB_ABORTED:
4157 reason = "read error";
4158 break;
4159 case GLOB_NOMATCH:
4160 reason = "No files found";
4161 break;
4162 default:
4163 break;
4164 }
4165
4166 printf("%s:%d: glob failed: %s \"%s\"\n", zconf_curname(), zconf_lineno(),
4167 reason, name);
4168
4169 exit(1);
4170 }
4171
4172 for (i = 0; i < gl.gl_pathc; i++)
4173 __zconf_nextfile(gl.gl_pathv[i]);
4174 }
4175
4176 static void zconf_endfile(void)
4177 {
4178 struct buffer *parent;
4179
4180 current_file = current_file->parent;
4181 if (current_file)
4182 yylineno = current_file->lineno;
4183
4184 parent = current_buf->parent;
4185 if (parent) {
4186 fclose(yyin);
4187 yy_delete_buffer(YY_CURRENT_BUFFER);
4188 yy_switch_to_buffer(parent->state);
4189 }
4190 free(current_buf);
4191 current_buf = parent;
4192 }
4193
4194 int zconf_lineno(void)
4195 {
4196 return current_pos.lineno;
4197 }
4198
4199 const char *zconf_curname(void)
4200 {
4201 return current_pos.file ? current_pos.file->name : "<none>";
4202 }
4203