blob: 8e5e85e4c5f9691fd0d6c4432a6bc0a093e29120 [file] [log] [blame]
Eric Andersen72d8e442003-08-05 02:18:25 +00001
2#line 3 "lex.zconf.c"
3
4#define YY_INT_ALIGNED short int
Eric Andersenc9f20d92002-12-05 08:41:41 +00005
6/* A lexical scanner generated by flex */
7
Eric Andersenc9f20d92002-12-05 08:41:41 +00008#define FLEX_SCANNER
9#define YY_FLEX_MAJOR_VERSION 2
10#define YY_FLEX_MINOR_VERSION 5
Eric Andersen72d8e442003-08-05 02:18:25 +000011#define YY_FLEX_SUBMINOR_VERSION 31
12#if YY_FLEX_SUBMINOR_VERSION > 0
13#define FLEX_BETA
14#endif
Eric Andersenc9f20d92002-12-05 08:41:41 +000015
Eric Andersen72d8e442003-08-05 02:18:25 +000016/* First, we deal with platform-specific or compiler-specific issues. */
17
18/* begin standard C headers. */
Eric Andersenc9f20d92002-12-05 08:41:41 +000019#include <stdio.h>
Eric Andersen72d8e442003-08-05 02:18:25 +000020#include <string.h>
Eric Andersenc9f20d92002-12-05 08:41:41 +000021#include <errno.h>
Eric Andersen72d8e442003-08-05 02:18:25 +000022#include <stdlib.h>
Eric Andersenc9f20d92002-12-05 08:41:41 +000023
Eric Andersen72d8e442003-08-05 02:18:25 +000024/* end standard C headers. */
25
26/* flex integer type definitions */
27
28#ifndef FLEXINT_H
29#define FLEXINT_H
30
31/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
32
33#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
34#include <inttypes.h>
35typedef int8_t flex_int8_t;
36typedef uint8_t flex_uint8_t;
37typedef int16_t flex_int16_t;
38typedef uint16_t flex_uint16_t;
39typedef int32_t flex_int32_t;
40typedef uint32_t flex_uint32_t;
41#else
42typedef signed char flex_int8_t;
43typedef short int flex_int16_t;
44typedef int flex_int32_t;
Eric Andersenc7bda1c2004-03-15 08:29:22 +000045typedef unsigned char flex_uint8_t;
Eric Andersen72d8e442003-08-05 02:18:25 +000046typedef unsigned short int flex_uint16_t;
47typedef unsigned int flex_uint32_t;
48#endif /* ! C99 */
49
50/* Limits of integral types. */
51#ifndef INT8_MIN
52#define INT8_MIN (-128)
Eric Andersenc9f20d92002-12-05 08:41:41 +000053#endif
Eric Andersen72d8e442003-08-05 02:18:25 +000054#ifndef INT16_MIN
55#define INT16_MIN (-32767-1)
56#endif
57#ifndef INT32_MIN
58#define INT32_MIN (-2147483647-1)
59#endif
60#ifndef INT8_MAX
61#define INT8_MAX (127)
62#endif
63#ifndef INT16_MAX
64#define INT16_MAX (32767)
65#endif
66#ifndef INT32_MAX
67#define INT32_MAX (2147483647)
68#endif
69#ifndef UINT8_MAX
70#define UINT8_MAX (255U)
71#endif
72#ifndef UINT16_MAX
73#define UINT16_MAX (65535U)
74#endif
75#ifndef UINT32_MAX
76#define UINT32_MAX (4294967295U)
Eric Andersenc9f20d92002-12-05 08:41:41 +000077#endif
78
Eric Andersen72d8e442003-08-05 02:18:25 +000079#endif /* ! FLEXINT_H */
Eric Andersenc9f20d92002-12-05 08:41:41 +000080
81#ifdef __cplusplus
82
Eric Andersenc9f20d92002-12-05 08:41:41 +000083/* The "const" storage-class-modifier is valid. */
84#define YY_USE_CONST
85
86#else /* ! __cplusplus */
87
88#if __STDC__
89
Eric Andersenc9f20d92002-12-05 08:41:41 +000090#define YY_USE_CONST
91
92#endif /* __STDC__ */
93#endif /* ! __cplusplus */
94
Eric Andersenc9f20d92002-12-05 08:41:41 +000095#ifdef YY_USE_CONST
96#define yyconst const
97#else
98#define yyconst
99#endif
100
Eric Andersenc9f20d92002-12-05 08:41:41 +0000101/* Returned upon end-of-file. */
102#define YY_NULL 0
103
104/* Promotes a possibly negative, possibly signed char to an unsigned
105 * integer for use as an array index. If the signed char is negative,
106 * we want to instead treat it as an 8-bit unsigned char, hence the
107 * double cast.
108 */
109#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
110
111/* Enter a start condition. This macro really ought to take a parameter,
112 * but we do it the disgusting crufty way forced on us by the ()-less
113 * definition of BEGIN.
114 */
Eric Andersen72d8e442003-08-05 02:18:25 +0000115#define BEGIN (yy_start) = 1 + 2 *
Eric Andersenc9f20d92002-12-05 08:41:41 +0000116
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 */
Eric Andersen72d8e442003-08-05 02:18:25 +0000121#define YY_START (((yy_start) - 1) / 2)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000122#define YYSTATE YY_START
123
124/* Action number for EOF rule of a given start state. */
125#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
126
127/* Special action meaning "start processing a new file". */
Eric Andersen72d8e442003-08-05 02:18:25 +0000128#define YY_NEW_FILE zconfrestart(zconfin )
Eric Andersenc9f20d92002-12-05 08:41:41 +0000129
130#define YY_END_OF_BUFFER_CHAR 0
131
132/* Size of default input buffer. */
Eric Andersen72d8e442003-08-05 02:18:25 +0000133#ifndef YY_BUF_SIZE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000134#define YY_BUF_SIZE 16384
Eric Andersen72d8e442003-08-05 02:18:25 +0000135#endif
Eric Andersenc9f20d92002-12-05 08:41:41 +0000136
Eric Andersen72d8e442003-08-05 02:18:25 +0000137#ifndef YY_TYPEDEF_YY_BUFFER_STATE
138#define YY_TYPEDEF_YY_BUFFER_STATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000139typedef struct yy_buffer_state *YY_BUFFER_STATE;
Eric Andersen72d8e442003-08-05 02:18:25 +0000140#endif
Eric Andersenc9f20d92002-12-05 08:41:41 +0000141
Eric Andersen72d8e442003-08-05 02:18:25 +0000142extern int zconfleng;
143
144extern FILE *zconfin, *zconfout;
Eric Andersenc9f20d92002-12-05 08:41:41 +0000145
146#define EOB_ACT_CONTINUE_SCAN 0
147#define EOB_ACT_END_OF_FILE 1
148#define EOB_ACT_LAST_MATCH 2
149
Eric Andersen72d8e442003-08-05 02:18:25 +0000150 #define YY_LESS_LINENO(n)
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000151
Eric Andersen72d8e442003-08-05 02:18:25 +0000152/* Return all but the first "n" matched characters back to the input stream. */
Eric Andersenc9f20d92002-12-05 08:41:41 +0000153#define yyless(n) \
154 do \
155 { \
Eric Andersen72d8e442003-08-05 02:18:25 +0000156 /* Undo effects of setting up zconftext. */ \
157 int yyless_macro_arg = (n); \
158 YY_LESS_LINENO(yyless_macro_arg);\
159 *yy_cp = (yy_hold_char); \
Eric Andersenc9f20d92002-12-05 08:41:41 +0000160 YY_RESTORE_YY_MORE_OFFSET \
Eric Andersen72d8e442003-08-05 02:18:25 +0000161 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
162 YY_DO_BEFORE_ACTION; /* set up zconftext again */ \
Eric Andersenc9f20d92002-12-05 08:41:41 +0000163 } \
164 while ( 0 )
165
Eric Andersen72d8e442003-08-05 02:18:25 +0000166#define unput(c) yyunput( c, (yytext_ptr) )
Eric Andersenc9f20d92002-12-05 08:41:41 +0000167
168/* The following is because we cannot portably get our hands on size_t
169 * (without autoconf's help, which isn't available because we want
170 * flex-generated scanners to compile on their own).
171 */
Eric Andersen72d8e442003-08-05 02:18:25 +0000172
173#ifndef YY_TYPEDEF_YY_SIZE_T
174#define YY_TYPEDEF_YY_SIZE_T
Eric Andersenc9f20d92002-12-05 08:41:41 +0000175typedef unsigned int yy_size_t;
Eric Andersen72d8e442003-08-05 02:18:25 +0000176#endif
Eric Andersenc9f20d92002-12-05 08:41:41 +0000177
Eric Andersen72d8e442003-08-05 02:18:25 +0000178#ifndef YY_STRUCT_YY_BUFFER_STATE
179#define YY_STRUCT_YY_BUFFER_STATE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000180struct yy_buffer_state
181 {
182 FILE *yy_input_file;
183
184 char *yy_ch_buf; /* input buffer */
185 char *yy_buf_pos; /* current position in input buffer */
186
187 /* Size of input buffer in bytes, not including room for EOB
188 * characters.
189 */
190 yy_size_t yy_buf_size;
191
192 /* Number of characters read into yy_ch_buf, not including EOB
193 * characters.
194 */
195 int yy_n_chars;
196
197 /* Whether we "own" the buffer - i.e., we know we created it,
198 * and can realloc() it to grow it, and should free() it to
199 * delete it.
200 */
201 int yy_is_our_buffer;
202
203 /* Whether this is an "interactive" input source; if so, and
204 * if we're using stdio for input, then we want to use getc()
205 * instead of fread(), to make sure we stop fetching input after
206 * each newline.
207 */
208 int yy_is_interactive;
209
210 /* Whether we're considered to be at the beginning of a line.
211 * If so, '^' rules will be active on the next match, otherwise
212 * not.
213 */
214 int yy_at_bol;
215
Eric Andersen72d8e442003-08-05 02:18:25 +0000216 int yy_bs_lineno; /**< The line count. */
217 int yy_bs_column; /**< The column count. */
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000218
Eric Andersenc9f20d92002-12-05 08:41:41 +0000219 /* Whether to try to fill the input buffer when we reach the
220 * end of it.
221 */
222 int yy_fill_buffer;
223
224 int yy_buffer_status;
Eric Andersen72d8e442003-08-05 02:18:25 +0000225
Eric Andersenc9f20d92002-12-05 08:41:41 +0000226#define YY_BUFFER_NEW 0
227#define YY_BUFFER_NORMAL 1
228 /* When an EOF's been seen but there's still some text to process
229 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
230 * shouldn't try reading from the input source any more. We might
231 * still have a bunch of tokens to match, though, because of
232 * possible backing-up.
233 *
234 * When we actually see the EOF, we change the status to "new"
Eric Andersen72d8e442003-08-05 02:18:25 +0000235 * (via zconfrestart()), so that the user can continue scanning by
236 * just pointing zconfin at a new input file.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000237 */
238#define YY_BUFFER_EOF_PENDING 2
Eric Andersenc9f20d92002-12-05 08:41:41 +0000239
Eric Andersen72d8e442003-08-05 02:18:25 +0000240 };
241#endif /* !YY_STRUCT_YY_BUFFER_STATE */
242
243/* Stack of input buffers. */
244static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
245static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
246static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
Eric Andersenc9f20d92002-12-05 08:41:41 +0000247
248/* We provide macros for accessing buffer states in case in the
249 * future we want to put the buffer states in a more general
250 * "scanner state".
Eric Andersen72d8e442003-08-05 02:18:25 +0000251 *
252 * Returns the top of the stack, or NULL.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000253 */
Eric Andersen72d8e442003-08-05 02:18:25 +0000254#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
255 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
256 : NULL)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000257
Eric Andersen72d8e442003-08-05 02:18:25 +0000258/* Same as previous macro, but useful when we know that the buffer stack is not
259 * NULL or when we need an lvalue. For internal use only.
260 */
261#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
Eric Andersenc9f20d92002-12-05 08:41:41 +0000262
Eric Andersen72d8e442003-08-05 02:18:25 +0000263/* yy_hold_char holds the character lost when zconftext is formed. */
Eric Andersenc9f20d92002-12-05 08:41:41 +0000264static char yy_hold_char;
Eric Andersenc9f20d92002-12-05 08:41:41 +0000265static int yy_n_chars; /* number of characters read into yy_ch_buf */
Eric Andersen72d8e442003-08-05 02:18:25 +0000266int zconfleng;
Eric Andersenc9f20d92002-12-05 08:41:41 +0000267
268/* Points to current character in buffer. */
269static char *yy_c_buf_p = (char *) 0;
270static int yy_init = 1; /* whether we need to initialize */
271static int yy_start = 0; /* start state number */
272
Eric Andersen72d8e442003-08-05 02:18:25 +0000273/* Flag which is used to allow zconfwrap()'s to do buffer switches
274 * instead of setting up a fresh zconfin. A bit of a hack ...
Eric Andersenc9f20d92002-12-05 08:41:41 +0000275 */
276static int yy_did_buffer_switch_on_eof;
277
Eric Andersen72d8e442003-08-05 02:18:25 +0000278void zconfrestart (FILE *input_file );
279void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer );
280YY_BUFFER_STATE zconf_create_buffer (FILE *file,int size );
281void zconf_delete_buffer (YY_BUFFER_STATE b );
282void zconf_flush_buffer (YY_BUFFER_STATE b );
283void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer );
284void zconfpop_buffer_state (void );
Eric Andersenc9f20d92002-12-05 08:41:41 +0000285
Eric Andersen72d8e442003-08-05 02:18:25 +0000286static void zconfensure_buffer_stack (void );
287static void zconf_load_buffer_state (void );
288static void zconf_init_buffer (YY_BUFFER_STATE b,FILE *file );
Eric Andersenc9f20d92002-12-05 08:41:41 +0000289
Eric Andersen72d8e442003-08-05 02:18:25 +0000290#define YY_FLUSH_BUFFER zconf_flush_buffer(YY_CURRENT_BUFFER )
Eric Andersenc9f20d92002-12-05 08:41:41 +0000291
Eric Andersen72d8e442003-08-05 02:18:25 +0000292YY_BUFFER_STATE zconf_scan_buffer (char *base,yy_size_t size );
293YY_BUFFER_STATE zconf_scan_string (yyconst char *yy_str );
294YY_BUFFER_STATE zconf_scan_bytes (yyconst char *bytes,int len );
Eric Andersenc9f20d92002-12-05 08:41:41 +0000295
Eric Andersen72d8e442003-08-05 02:18:25 +0000296void *zconfalloc (yy_size_t );
297void *zconfrealloc (void *,yy_size_t );
298void zconffree (void * );
299
300#define yy_new_buffer zconf_create_buffer
Eric Andersenc9f20d92002-12-05 08:41:41 +0000301
302#define yy_set_interactive(is_interactive) \
303 { \
Eric Andersen72d8e442003-08-05 02:18:25 +0000304 if ( ! YY_CURRENT_BUFFER ){ \
305 zconfensure_buffer_stack (); \
306 YY_CURRENT_BUFFER_LVALUE = \
307 zconf_create_buffer(zconfin,YY_BUF_SIZE ); \
308 } \
309 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
Eric Andersenc9f20d92002-12-05 08:41:41 +0000310 }
311
312#define yy_set_bol(at_bol) \
313 { \
Eric Andersen72d8e442003-08-05 02:18:25 +0000314 if ( ! YY_CURRENT_BUFFER ){\
315 zconfensure_buffer_stack (); \
316 YY_CURRENT_BUFFER_LVALUE = \
317 zconf_create_buffer(zconfin,YY_BUF_SIZE ); \
318 } \
319 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
Eric Andersenc9f20d92002-12-05 08:41:41 +0000320 }
321
Eric Andersen72d8e442003-08-05 02:18:25 +0000322#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000323
Eric Andersen72d8e442003-08-05 02:18:25 +0000324/* Begin user sect3 */
Eric Andersenc9f20d92002-12-05 08:41:41 +0000325
Eric Andersen72d8e442003-08-05 02:18:25 +0000326#define zconfwrap(n) 1
Eric Andersenc9f20d92002-12-05 08:41:41 +0000327#define YY_SKIP_YYWRAP
Eric Andersen72d8e442003-08-05 02:18:25 +0000328
Eric Andersenc9f20d92002-12-05 08:41:41 +0000329typedef unsigned char YY_CHAR;
Eric Andersen72d8e442003-08-05 02:18:25 +0000330
331FILE *zconfin = (FILE *) 0, *zconfout = (FILE *) 0;
332
Eric Andersenc9f20d92002-12-05 08:41:41 +0000333typedef int yy_state_type;
Eric Andersen72d8e442003-08-05 02:18:25 +0000334
335extern int zconflineno;
336
337int zconflineno = 1;
338
339extern char *zconftext;
340#define yytext_ptr zconftext
341static yyconst flex_int16_t yy_nxt[][38] =
Eric Andersenc9f20d92002-12-05 08:41:41 +0000342 {
343 {
344 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
345 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
346 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Eric Andersen72d8e442003-08-05 02:18:25 +0000347 0, 0, 0, 0, 0, 0, 0, 0
Eric Andersenc9f20d92002-12-05 08:41:41 +0000348 },
349
350 {
351 11, 12, 13, 14, 12, 12, 15, 12, 12, 12,
352 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
353 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
Eric Andersen72d8e442003-08-05 02:18:25 +0000354 12, 12, 12, 12, 12, 12, 12, 12
Eric Andersenc9f20d92002-12-05 08:41:41 +0000355 },
356
357 {
358 11, 12, 13, 14, 12, 12, 15, 12, 12, 12,
359 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
360
361 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
Eric Andersen72d8e442003-08-05 02:18:25 +0000362 12, 12, 12, 12, 12, 12, 12, 12
Eric Andersenc9f20d92002-12-05 08:41:41 +0000363 },
364
365 {
366 11, 16, 16, 17, 16, 16, 16, 16, 16, 16,
Eric Andersen72d8e442003-08-05 02:18:25 +0000367 16, 16, 16, 18, 16, 16, 18, 18, 19, 20,
368 21, 22, 18, 18, 23, 24, 18, 25, 18, 26,
369 27, 18, 28, 29, 30, 18, 18, 16
Eric Andersenc9f20d92002-12-05 08:41:41 +0000370 },
371
372 {
373 11, 16, 16, 17, 16, 16, 16, 16, 16, 16,
Eric Andersen72d8e442003-08-05 02:18:25 +0000374 16, 16, 16, 18, 16, 16, 18, 18, 19, 20,
375 21, 22, 18, 18, 23, 24, 18, 25, 18, 26,
376 27, 18, 28, 29, 30, 18, 18, 16
Eric Andersenc9f20d92002-12-05 08:41:41 +0000377
378 },
379
380 {
381 11, 31, 32, 33, 31, 31, 31, 31, 31, 31,
382 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
383 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
Eric Andersen72d8e442003-08-05 02:18:25 +0000384 31, 31, 31, 31, 31, 31, 31, 31
Eric Andersenc9f20d92002-12-05 08:41:41 +0000385 },
386
387 {
388 11, 31, 32, 33, 31, 31, 31, 31, 31, 31,
389 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
390 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
Eric Andersen72d8e442003-08-05 02:18:25 +0000391 31, 31, 31, 31, 31, 31, 31, 31
Eric Andersenc9f20d92002-12-05 08:41:41 +0000392 },
393
394 {
395 11, 34, 34, 35, 34, 36, 34, 34, 36, 34,
396 34, 34, 34, 34, 34, 37, 34, 34, 34, 34,
397
398 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
Eric Andersen72d8e442003-08-05 02:18:25 +0000399 34, 34, 34, 34, 34, 34, 34, 34
Eric Andersenc9f20d92002-12-05 08:41:41 +0000400 },
401
402 {
403 11, 34, 34, 35, 34, 36, 34, 34, 36, 34,
404 34, 34, 34, 34, 34, 37, 34, 34, 34, 34,
405 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
Eric Andersen72d8e442003-08-05 02:18:25 +0000406 34, 34, 34, 34, 34, 34, 34, 34
Eric Andersenc9f20d92002-12-05 08:41:41 +0000407 },
408
409 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000410 11, 38, 38, 39, 40, 41, 42, 43, 41, 44,
411 45, 46, 47, 47, 48, 49, 47, 47, 47, 47,
412 47, 47, 47, 47, 47, 50, 47, 47, 47, 51,
413 47, 47, 47, 47, 47, 47, 47, 52
Eric Andersenc9f20d92002-12-05 08:41:41 +0000414
415 },
416
417 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000418 11, 38, 38, 39, 40, 41, 42, 43, 41, 44,
419 45, 46, 47, 47, 48, 49, 47, 47, 47, 47,
420 47, 47, 47, 47, 47, 50, 47, 47, 47, 51,
421 47, 47, 47, 47, 47, 47, 47, 52
Eric Andersenc9f20d92002-12-05 08:41:41 +0000422 },
423
424 {
425 -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
426 -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
427 -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
Eric Andersen72d8e442003-08-05 02:18:25 +0000428 -11, -11, -11, -11, -11, -11, -11, -11
Eric Andersenc9f20d92002-12-05 08:41:41 +0000429 },
430
431 {
432 11, -12, -12, -12, -12, -12, -12, -12, -12, -12,
433 -12, -12, -12, -12, -12, -12, -12, -12, -12, -12,
434
435 -12, -12, -12, -12, -12, -12, -12, -12, -12, -12,
Eric Andersen72d8e442003-08-05 02:18:25 +0000436 -12, -12, -12, -12, -12, -12, -12, -12
Eric Andersenc9f20d92002-12-05 08:41:41 +0000437 },
438
439 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000440 11, -13, 53, 54, -13, -13, 55, -13, -13, -13,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000441 -13, -13, -13, -13, -13, -13, -13, -13, -13, -13,
442 -13, -13, -13, -13, -13, -13, -13, -13, -13, -13,
Eric Andersen72d8e442003-08-05 02:18:25 +0000443 -13, -13, -13, -13, -13, -13, -13, -13
Eric Andersenc9f20d92002-12-05 08:41:41 +0000444 },
445
446 {
447 11, -14, -14, -14, -14, -14, -14, -14, -14, -14,
448 -14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
449 -14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
Eric Andersen72d8e442003-08-05 02:18:25 +0000450 -14, -14, -14, -14, -14, -14, -14, -14
Eric Andersenc9f20d92002-12-05 08:41:41 +0000451
452 },
453
454 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000455 11, 56, 56, 57, 56, 56, 56, 56, 56, 56,
456 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
457 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
458 56, 56, 56, 56, 56, 56, 56, 56
Eric Andersenc9f20d92002-12-05 08:41:41 +0000459 },
460
461 {
462 11, -16, -16, -16, -16, -16, -16, -16, -16, -16,
463 -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
464 -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
Eric Andersen72d8e442003-08-05 02:18:25 +0000465 -16, -16, -16, -16, -16, -16, -16, -16
Eric Andersenc9f20d92002-12-05 08:41:41 +0000466 },
467
468 {
469 11, -17, -17, -17, -17, -17, -17, -17, -17, -17,
470 -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
471
472 -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
Eric Andersen72d8e442003-08-05 02:18:25 +0000473 -17, -17, -17, -17, -17, -17, -17, -17
Eric Andersenc9f20d92002-12-05 08:41:41 +0000474 },
475
476 {
477 11, -18, -18, -18, -18, -18, -18, -18, -18, -18,
Eric Andersen72d8e442003-08-05 02:18:25 +0000478 -18, -18, -18, 58, -18, -18, 58, 58, 58, 58,
479 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
480 58, 58, 58, 58, 58, 58, 58, -18
Eric Andersenc9f20d92002-12-05 08:41:41 +0000481 },
482
483 {
484 11, -19, -19, -19, -19, -19, -19, -19, -19, -19,
Eric Andersen72d8e442003-08-05 02:18:25 +0000485 -19, -19, -19, 58, -19, -19, 58, 58, 58, 58,
486 58, 58, 58, 58, 58, 58, 58, 58, 58, 59,
487 58, 58, 58, 58, 58, 58, 58, -19
Eric Andersenc9f20d92002-12-05 08:41:41 +0000488
489 },
490
491 {
492 11, -20, -20, -20, -20, -20, -20, -20, -20, -20,
Eric Andersen72d8e442003-08-05 02:18:25 +0000493 -20, -20, -20, 58, -20, -20, 58, 58, 58, 58,
494 58, 58, 58, 58, 60, 58, 58, 58, 58, 61,
495 58, 58, 58, 58, 58, 58, 58, -20
Eric Andersenc9f20d92002-12-05 08:41:41 +0000496 },
497
498 {
499 11, -21, -21, -21, -21, -21, -21, -21, -21, -21,
Eric Andersen72d8e442003-08-05 02:18:25 +0000500 -21, -21, -21, 58, -21, -21, 58, 58, 58, 58,
501 58, 62, 58, 58, 58, 58, 58, 58, 58, 58,
502 58, 58, 58, 58, 58, 58, 58, -21
Eric Andersenc9f20d92002-12-05 08:41:41 +0000503 },
504
505 {
506 11, -22, -22, -22, -22, -22, -22, -22, -22, -22,
Eric Andersen72d8e442003-08-05 02:18:25 +0000507 -22, -22, -22, 58, -22, -22, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000508
Eric Andersen72d8e442003-08-05 02:18:25 +0000509 58, 58, 58, 58, 58, 58, 58, 58, 63, 58,
510 58, 58, 58, 58, 58, 58, 58, -22
Eric Andersenc9f20d92002-12-05 08:41:41 +0000511 },
512
513 {
514 11, -23, -23, -23, -23, -23, -23, -23, -23, -23,
Eric Andersen72d8e442003-08-05 02:18:25 +0000515 -23, -23, -23, 58, -23, -23, 58, 58, 58, 58,
516 58, 64, 58, 58, 58, 58, 58, 58, 58, 58,
517 58, 58, 58, 58, 58, 58, 58, -23
Eric Andersenc9f20d92002-12-05 08:41:41 +0000518 },
519
520 {
521 11, -24, -24, -24, -24, -24, -24, -24, -24, -24,
Eric Andersen72d8e442003-08-05 02:18:25 +0000522 -24, -24, -24, 58, -24, -24, 58, 58, 58, 58,
523 58, 58, 65, 58, 58, 58, 58, 58, 66, 58,
524 58, 58, 58, 58, 58, 58, 58, -24
Eric Andersenc9f20d92002-12-05 08:41:41 +0000525
526 },
527
528 {
529 11, -25, -25, -25, -25, -25, -25, -25, -25, -25,
Eric Andersen72d8e442003-08-05 02:18:25 +0000530 -25, -25, -25, 58, -25, -25, 58, 67, 58, 58,
531 58, 68, 58, 58, 58, 58, 58, 58, 58, 58,
532 58, 58, 58, 58, 58, 58, 58, -25
Eric Andersenc9f20d92002-12-05 08:41:41 +0000533 },
534
535 {
536 11, -26, -26, -26, -26, -26, -26, -26, -26, -26,
Eric Andersen72d8e442003-08-05 02:18:25 +0000537 -26, -26, -26, 58, -26, -26, 58, 58, 58, 58,
538 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
539 69, 58, 58, 58, 58, 58, 58, -26
Eric Andersenc9f20d92002-12-05 08:41:41 +0000540 },
541
542 {
543 11, -27, -27, -27, -27, -27, -27, -27, -27, -27,
Eric Andersen72d8e442003-08-05 02:18:25 +0000544 -27, -27, -27, 58, -27, -27, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000545
Eric Andersen72d8e442003-08-05 02:18:25 +0000546 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
547 58, 58, 70, 58, 58, 58, 58, -27
Eric Andersenc9f20d92002-12-05 08:41:41 +0000548 },
549
550 {
551 11, -28, -28, -28, -28, -28, -28, -28, -28, -28,
Eric Andersen72d8e442003-08-05 02:18:25 +0000552 -28, -28, -28, 58, -28, -28, 58, 71, 58, 58,
553 58, 72, 58, 58, 58, 58, 58, 58, 58, 58,
554 58, 58, 58, 58, 58, 58, 58, -28
Eric Andersenc9f20d92002-12-05 08:41:41 +0000555 },
556
557 {
558 11, -29, -29, -29, -29, -29, -29, -29, -29, -29,
Eric Andersen72d8e442003-08-05 02:18:25 +0000559 -29, -29, -29, 58, -29, -29, 58, 58, 58, 58,
560 58, 73, 58, 58, 58, 58, 58, 58, 58, 74,
561 58, 58, 58, 58, 75, 58, 58, -29
Eric Andersenc9f20d92002-12-05 08:41:41 +0000562
563 },
564
565 {
566 11, -30, -30, -30, -30, -30, -30, -30, -30, -30,
Eric Andersen72d8e442003-08-05 02:18:25 +0000567 -30, -30, -30, 58, -30, -30, 58, 58, 58, 58,
568 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
569 58, 58, 76, 58, 58, 58, 58, -30
Eric Andersenc9f20d92002-12-05 08:41:41 +0000570 },
571
572 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000573 11, 77, 77, -31, 77, 77, 77, 77, 77, 77,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000574 77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
Eric Andersen72d8e442003-08-05 02:18:25 +0000575 77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
576 77, 77, 77, 77, 77, 77, 77, 77
577 },
578
579 {
580 11, -32, 78, 79, -32, -32, -32, -32, -32, -32,
581 -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
582
583 -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
584 -32, -32, -32, -32, -32, -32, -32, -32
585 },
586
587 {
588 11, 80, -33, -33, 80, 80, 80, 80, 80, 80,
589 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
590 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
591 80, 80, 80, 80, 80, 80, 80, 80
592 },
593
594 {
595 11, 81, 81, 82, 81, -34, 81, 81, -34, 81,
596 81, 81, 81, 81, 81, -34, 81, 81, 81, 81,
597 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
598 81, 81, 81, 81, 81, 81, 81, 81
Eric Andersenc9f20d92002-12-05 08:41:41 +0000599
600 },
601
602 {
603 11, -35, -35, -35, -35, -35, -35, -35, -35, -35,
604 -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
605 -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
Eric Andersen72d8e442003-08-05 02:18:25 +0000606 -35, -35, -35, -35, -35, -35, -35, -35
Eric Andersenc9f20d92002-12-05 08:41:41 +0000607 },
608
609 {
610 11, -36, -36, -36, -36, -36, -36, -36, -36, -36,
611 -36, -36, -36, -36, -36, -36, -36, -36, -36, -36,
612 -36, -36, -36, -36, -36, -36, -36, -36, -36, -36,
Eric Andersen72d8e442003-08-05 02:18:25 +0000613 -36, -36, -36, -36, -36, -36, -36, -36
Eric Andersenc9f20d92002-12-05 08:41:41 +0000614 },
615
616 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000617 11, 83, 83, 84, 83, 83, 83, 83, 83, 83,
618 83, 83, 83, 83, 83, 83, 83, 83, 83, 83,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000619
Eric Andersen72d8e442003-08-05 02:18:25 +0000620 83, 83, 83, 83, 83, 83, 83, 83, 83, 83,
621 83, 83, 83, 83, 83, 83, 83, 83
Eric Andersenc9f20d92002-12-05 08:41:41 +0000622 },
623
624 {
625 11, -38, -38, -38, -38, -38, -38, -38, -38, -38,
626 -38, -38, -38, -38, -38, -38, -38, -38, -38, -38,
627 -38, -38, -38, -38, -38, -38, -38, -38, -38, -38,
Eric Andersen72d8e442003-08-05 02:18:25 +0000628 -38, -38, -38, -38, -38, -38, -38, -38
Eric Andersenc9f20d92002-12-05 08:41:41 +0000629 },
630
631 {
632 11, -39, -39, -39, -39, -39, -39, -39, -39, -39,
633 -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
634 -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
Eric Andersen72d8e442003-08-05 02:18:25 +0000635 -39, -39, -39, -39, -39, -39, -39, -39
Eric Andersenc9f20d92002-12-05 08:41:41 +0000636
637 },
638
639 {
640 11, -40, -40, -40, -40, -40, -40, -40, -40, -40,
Eric Andersen72d8e442003-08-05 02:18:25 +0000641 -40, -40, -40, -40, 85, -40, -40, -40, -40, -40,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000642 -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
Eric Andersen72d8e442003-08-05 02:18:25 +0000643 -40, -40, -40, -40, -40, -40, -40, -40
Eric Andersenc9f20d92002-12-05 08:41:41 +0000644 },
645
646 {
647 11, -41, -41, -41, -41, -41, -41, -41, -41, -41,
648 -41, -41, -41, -41, -41, -41, -41, -41, -41, -41,
649 -41, -41, -41, -41, -41, -41, -41, -41, -41, -41,
Eric Andersen72d8e442003-08-05 02:18:25 +0000650 -41, -41, -41, -41, -41, -41, -41, -41
Eric Andersenc9f20d92002-12-05 08:41:41 +0000651 },
652
653 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000654 11, 86, 86, -42, 86, 86, 86, 86, 86, 86,
655 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000656
Eric Andersen72d8e442003-08-05 02:18:25 +0000657 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
658 86, 86, 86, 86, 86, 86, 86, 86
Eric Andersenc9f20d92002-12-05 08:41:41 +0000659 },
660
661 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000662 11, -43, -43, -43, -43, -43, -43, 87, -43, -43,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000663 -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
664 -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
Eric Andersen72d8e442003-08-05 02:18:25 +0000665 -43, -43, -43, -43, -43, -43, -43, -43
Eric Andersenc9f20d92002-12-05 08:41:41 +0000666 },
667
668 {
669 11, -44, -44, -44, -44, -44, -44, -44, -44, -44,
670 -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
671 -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
Eric Andersen72d8e442003-08-05 02:18:25 +0000672 -44, -44, -44, -44, -44, -44, -44, -44
Eric Andersenc9f20d92002-12-05 08:41:41 +0000673
674 },
675
676 {
677 11, -45, -45, -45, -45, -45, -45, -45, -45, -45,
Eric Andersen72d8e442003-08-05 02:18:25 +0000678 -45, -45, -45, -45, -45, -45, -45, -45, -45, -45,
679 -45, -45, -45, -45, -45, -45, -45, -45, -45, -45,
680 -45, -45, -45, -45, -45, -45, -45, -45
Eric Andersenc9f20d92002-12-05 08:41:41 +0000681 },
682
683 {
684 11, -46, -46, -46, -46, -46, -46, -46, -46, -46,
Eric Andersen72d8e442003-08-05 02:18:25 +0000685 -46, 88, 89, 89, -46, -46, 89, 89, 89, 89,
686 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
687 89, 89, 89, 89, 89, 89, 89, -46
Eric Andersenc9f20d92002-12-05 08:41:41 +0000688 },
689
690 {
691 11, -47, -47, -47, -47, -47, -47, -47, -47, -47,
Eric Andersen72d8e442003-08-05 02:18:25 +0000692 -47, 89, 89, 89, -47, -47, 89, 89, 89, 89,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000693
Eric Andersen72d8e442003-08-05 02:18:25 +0000694 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
695 89, 89, 89, 89, 89, 89, 89, -47
Eric Andersenc9f20d92002-12-05 08:41:41 +0000696 },
697
698 {
699 11, -48, -48, -48, -48, -48, -48, -48, -48, -48,
Eric Andersen72d8e442003-08-05 02:18:25 +0000700 -48, -48, -48, -48, -48, -48, -48, -48, -48, -48,
701 -48, -48, -48, -48, -48, -48, -48, -48, -48, -48,
702 -48, -48, -48, -48, -48, -48, -48, -48
Eric Andersenc9f20d92002-12-05 08:41:41 +0000703 },
704
705 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000706 11, -49, -49, 90, -49, -49, -49, -49, -49, -49,
707 -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
708 -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
709 -49, -49, -49, -49, -49, -49, -49, -49
Eric Andersenc9f20d92002-12-05 08:41:41 +0000710
711 },
712
713 {
714 11, -50, -50, -50, -50, -50, -50, -50, -50, -50,
Eric Andersen72d8e442003-08-05 02:18:25 +0000715 -50, 89, 89, 89, -50, -50, 89, 89, 89, 89,
716 89, 89, 91, 89, 89, 89, 89, 89, 89, 89,
717 89, 89, 89, 89, 89, 89, 89, -50
Eric Andersenc9f20d92002-12-05 08:41:41 +0000718 },
719
720 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000721 11, -51, -51, -51, -51, -51, -51, -51, -51, -51,
722 -51, 89, 89, 89, -51, -51, 89, 89, 89, 89,
723 89, 89, 89, 89, 89, 89, 89, 89, 92, 89,
724 89, 89, 89, 89, 89, 89, 89, -51
Eric Andersenc9f20d92002-12-05 08:41:41 +0000725 },
726
727 {
728 11, -52, -52, -52, -52, -52, -52, -52, -52, -52,
729 -52, -52, -52, -52, -52, -52, -52, -52, -52, -52,
730
731 -52, -52, -52, -52, -52, -52, -52, -52, -52, -52,
Eric Andersen72d8e442003-08-05 02:18:25 +0000732 -52, -52, -52, -52, -52, -52, -52, 93
Eric Andersenc9f20d92002-12-05 08:41:41 +0000733 },
734
735 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000736 11, -53, 53, 54, -53, -53, 55, -53, -53, -53,
737 -53, -53, -53, -53, -53, -53, -53, -53, -53, -53,
738 -53, -53, -53, -53, -53, -53, -53, -53, -53, -53,
739 -53, -53, -53, -53, -53, -53, -53, -53
Eric Andersenc9f20d92002-12-05 08:41:41 +0000740 },
741
742 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000743 11, -54, -54, -54, -54, -54, -54, -54, -54, -54,
744 -54, -54, -54, -54, -54, -54, -54, -54, -54, -54,
745 -54, -54, -54, -54, -54, -54, -54, -54, -54, -54,
746 -54, -54, -54, -54, -54, -54, -54, -54
Eric Andersenc9f20d92002-12-05 08:41:41 +0000747
748 },
749
750 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000751 11, 56, 56, 57, 56, 56, 56, 56, 56, 56,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000752 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
Eric Andersen72d8e442003-08-05 02:18:25 +0000753 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
754 56, 56, 56, 56, 56, 56, 56, 56
755 },
756
757 {
758 11, 56, 56, 57, 56, 56, 56, 56, 56, 56,
759 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
760 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
761 56, 56, 56, 56, 56, 56, 56, 56
Eric Andersenc9f20d92002-12-05 08:41:41 +0000762 },
763
764 {
765 11, -57, -57, -57, -57, -57, -57, -57, -57, -57,
Eric Andersen72d8e442003-08-05 02:18:25 +0000766 -57, -57, -57, -57, -57, -57, -57, -57, -57, -57,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000767
Eric Andersen72d8e442003-08-05 02:18:25 +0000768 -57, -57, -57, -57, -57, -57, -57, -57, -57, -57,
769 -57, -57, -57, -57, -57, -57, -57, -57
Eric Andersenc9f20d92002-12-05 08:41:41 +0000770 },
771
772 {
773 11, -58, -58, -58, -58, -58, -58, -58, -58, -58,
Eric Andersen72d8e442003-08-05 02:18:25 +0000774 -58, -58, -58, 58, -58, -58, 58, 58, 58, 58,
775 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
776 58, 58, 58, 58, 58, 58, 58, -58
Eric Andersenc9f20d92002-12-05 08:41:41 +0000777 },
778
779 {
780 11, -59, -59, -59, -59, -59, -59, -59, -59, -59,
Eric Andersen72d8e442003-08-05 02:18:25 +0000781 -59, -59, -59, 58, -59, -59, 58, 58, 58, 58,
782 58, 58, 58, 58, 58, 58, 58, 58, 58, 94,
783 58, 58, 58, 58, 58, 58, 58, -59
Eric Andersenc9f20d92002-12-05 08:41:41 +0000784
785 },
786
787 {
788 11, -60, -60, -60, -60, -60, -60, -60, -60, -60,
Eric Andersen72d8e442003-08-05 02:18:25 +0000789 -60, -60, -60, 58, -60, -60, 58, 58, 58, 58,
790 58, 58, 58, 58, 58, 58, 58, 58, 58, 95,
791 58, 58, 58, 58, 58, 58, 58, -60
Eric Andersenc9f20d92002-12-05 08:41:41 +0000792 },
793
794 {
795 11, -61, -61, -61, -61, -61, -61, -61, -61, -61,
Eric Andersen72d8e442003-08-05 02:18:25 +0000796 -61, -61, -61, 58, -61, -61, 58, 58, 58, 58,
797 58, 58, 58, 58, 58, 58, 58, 96, 97, 58,
798 58, 58, 58, 58, 58, 58, 58, -61
Eric Andersenc9f20d92002-12-05 08:41:41 +0000799 },
800
801 {
802 11, -62, -62, -62, -62, -62, -62, -62, -62, -62,
Eric Andersen72d8e442003-08-05 02:18:25 +0000803 -62, -62, -62, 58, -62, -62, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000804
Eric Andersen72d8e442003-08-05 02:18:25 +0000805 58, 58, 98, 58, 58, 58, 58, 58, 58, 58,
806 99, 58, 58, 58, 58, 58, 58, -62
Eric Andersenc9f20d92002-12-05 08:41:41 +0000807 },
808
809 {
810 11, -63, -63, -63, -63, -63, -63, -63, -63, -63,
Eric Andersen72d8e442003-08-05 02:18:25 +0000811 -63, -63, -63, 58, -63, -63, 58, 100, 58, 58,
812 101, 58, 58, 58, 58, 58, 58, 58, 58, 58,
813 58, 58, 58, 58, 58, 58, 58, -63
Eric Andersenc9f20d92002-12-05 08:41:41 +0000814 },
815
816 {
817 11, -64, -64, -64, -64, -64, -64, -64, -64, -64,
Eric Andersen72d8e442003-08-05 02:18:25 +0000818 -64, -64, -64, 58, -64, -64, 58, 58, 58, 58,
819 58, 58, 58, 58, 58, 58, 102, 58, 58, 58,
820 58, 58, 58, 58, 58, 58, 103, -64
Eric Andersenc9f20d92002-12-05 08:41:41 +0000821
822 },
823
824 {
825 11, -65, -65, -65, -65, -65, -65, -65, -65, -65,
Eric Andersen72d8e442003-08-05 02:18:25 +0000826 -65, -65, -65, 58, -65, -65, 58, 58, 58, 58,
827 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
828 58, 58, 58, 58, 58, 58, 58, -65
Eric Andersenc9f20d92002-12-05 08:41:41 +0000829 },
830
831 {
832 11, -66, -66, -66, -66, -66, -66, -66, -66, -66,
Eric Andersen72d8e442003-08-05 02:18:25 +0000833 -66, -66, -66, 58, -66, -66, 58, 58, 58, 58,
834 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
835 58, 58, 58, 58, 104, 58, 58, -66
Eric Andersenc9f20d92002-12-05 08:41:41 +0000836 },
837
838 {
839 11, -67, -67, -67, -67, -67, -67, -67, -67, -67,
Eric Andersen72d8e442003-08-05 02:18:25 +0000840 -67, -67, -67, 58, -67, -67, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000841
Eric Andersen72d8e442003-08-05 02:18:25 +0000842 58, 58, 58, 58, 58, 105, 58, 58, 58, 58,
843 58, 58, 58, 58, 58, 58, 58, -67
Eric Andersenc9f20d92002-12-05 08:41:41 +0000844 },
845
846 {
847 11, -68, -68, -68, -68, -68, -68, -68, -68, -68,
Eric Andersen72d8e442003-08-05 02:18:25 +0000848 -68, -68, -68, 58, -68, -68, 58, 58, 58, 58,
849 58, 58, 58, 58, 58, 58, 58, 58, 106, 58,
850 58, 58, 58, 58, 58, 58, 58, -68
Eric Andersenc9f20d92002-12-05 08:41:41 +0000851 },
852
853 {
854 11, -69, -69, -69, -69, -69, -69, -69, -69, -69,
Eric Andersen72d8e442003-08-05 02:18:25 +0000855 -69, -69, -69, 58, -69, -69, 58, 58, 58, 58,
856 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
857 58, 58, 58, 58, 107, 58, 58, -69
Eric Andersenc9f20d92002-12-05 08:41:41 +0000858
859 },
860
861 {
862 11, -70, -70, -70, -70, -70, -70, -70, -70, -70,
Eric Andersen72d8e442003-08-05 02:18:25 +0000863 -70, -70, -70, 58, -70, -70, 58, 58, 58, 58,
864 58, 58, 58, 58, 58, 58, 58, 58, 58, 108,
865 58, 58, 58, 58, 58, 58, 58, -70
Eric Andersenc9f20d92002-12-05 08:41:41 +0000866 },
867
868 {
869 11, -71, -71, -71, -71, -71, -71, -71, -71, -71,
Eric Andersen72d8e442003-08-05 02:18:25 +0000870 -71, -71, -71, 58, -71, -71, 58, 58, 58, 58,
871 58, 58, 58, 58, 58, 58, 58, 58, 109, 58,
872 58, 58, 58, 58, 58, 58, 58, -71
Eric Andersenc9f20d92002-12-05 08:41:41 +0000873 },
874
875 {
876 11, -72, -72, -72, -72, -72, -72, -72, -72, -72,
Eric Andersen72d8e442003-08-05 02:18:25 +0000877 -72, -72, -72, 58, -72, -72, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000878
Eric Andersen72d8e442003-08-05 02:18:25 +0000879 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
880 58, 110, 58, 58, 58, 58, 58, -72
Eric Andersenc9f20d92002-12-05 08:41:41 +0000881 },
882
883 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000884 11, -73, -73, -73, -73, -73, -73, -73, -73, -73,
885 -73, -73, -73, 58, -73, -73, 58, 58, 58, 58,
886 58, 58, 58, 58, 58, 58, 111, 58, 58, 58,
887 58, 58, 58, 58, 58, 58, 58, -73
Eric Andersenc9f20d92002-12-05 08:41:41 +0000888 },
889
890 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000891 11, -74, -74, -74, -74, -74, -74, -74, -74, -74,
892 -74, -74, -74, 58, -74, -74, 58, 58, 58, 58,
893 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
894 58, 58, 58, 58, 58, 112, 58, -74
Eric Andersenc9f20d92002-12-05 08:41:41 +0000895
896 },
897
898 {
899 11, -75, -75, -75, -75, -75, -75, -75, -75, -75,
Eric Andersen72d8e442003-08-05 02:18:25 +0000900 -75, -75, -75, 58, -75, -75, 58, 58, 58, 58,
901 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
902 58, 58, 113, 58, 58, 58, 58, -75
Eric Andersenc9f20d92002-12-05 08:41:41 +0000903 },
904
905 {
906 11, -76, -76, -76, -76, -76, -76, -76, -76, -76,
Eric Andersen72d8e442003-08-05 02:18:25 +0000907 -76, -76, -76, 58, -76, -76, 58, 58, 58, 58,
908 58, 58, 58, 58, 58, 114, 58, 58, 58, 58,
909 58, 58, 58, 58, 58, 58, 58, -76
Eric Andersenc9f20d92002-12-05 08:41:41 +0000910 },
911
912 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000913 11, 77, 77, -77, 77, 77, 77, 77, 77, 77,
914 77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000915
916 77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
Eric Andersen72d8e442003-08-05 02:18:25 +0000917 77, 77, 77, 77, 77, 77, 77, 77
Eric Andersenc9f20d92002-12-05 08:41:41 +0000918 },
919
920 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000921 11, -78, 78, 79, -78, -78, -78, -78, -78, -78,
Eric Andersenc9f20d92002-12-05 08:41:41 +0000922 -78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
923 -78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
Eric Andersen72d8e442003-08-05 02:18:25 +0000924 -78, -78, -78, -78, -78, -78, -78, -78
Eric Andersenc9f20d92002-12-05 08:41:41 +0000925 },
926
927 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000928 11, 80, -79, -79, 80, 80, 80, 80, 80, 80,
929 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
930 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
931 80, 80, 80, 80, 80, 80, 80, 80
Eric Andersenc9f20d92002-12-05 08:41:41 +0000932
933 },
934
935 {
936 11, -80, -80, -80, -80, -80, -80, -80, -80, -80,
937 -80, -80, -80, -80, -80, -80, -80, -80, -80, -80,
938 -80, -80, -80, -80, -80, -80, -80, -80, -80, -80,
Eric Andersen72d8e442003-08-05 02:18:25 +0000939 -80, -80, -80, -80, -80, -80, -80, -80
Eric Andersenc9f20d92002-12-05 08:41:41 +0000940 },
941
942 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000943 11, 81, 81, 82, 81, -81, 81, 81, -81, 81,
944 81, 81, 81, 81, 81, -81, 81, 81, 81, 81,
945 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
946 81, 81, 81, 81, 81, 81, 81, 81
Eric Andersenc9f20d92002-12-05 08:41:41 +0000947 },
948
949 {
950 11, -82, -82, -82, -82, -82, -82, -82, -82, -82,
951 -82, -82, -82, -82, -82, -82, -82, -82, -82, -82,
952
953 -82, -82, -82, -82, -82, -82, -82, -82, -82, -82,
Eric Andersen72d8e442003-08-05 02:18:25 +0000954 -82, -82, -82, -82, -82, -82, -82, -82
Eric Andersenc9f20d92002-12-05 08:41:41 +0000955 },
956
957 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000958 11, -83, -83, 84, -83, -83, -83, -83, -83, -83,
959 -83, -83, -83, -83, -83, -83, -83, -83, -83, -83,
960 -83, -83, -83, -83, -83, -83, -83, -83, -83, -83,
961 -83, -83, -83, -83, -83, -83, -83, -83
Eric Andersenc9f20d92002-12-05 08:41:41 +0000962 },
963
964 {
965 11, -84, -84, -84, -84, -84, -84, -84, -84, -84,
Eric Andersen72d8e442003-08-05 02:18:25 +0000966 -84, -84, -84, -84, -84, -84, -84, -84, -84, -84,
967 -84, -84, -84, -84, -84, -84, -84, -84, -84, -84,
968 -84, -84, -84, -84, -84, -84, -84, -84
Eric Andersenc9f20d92002-12-05 08:41:41 +0000969
970 },
971
972 {
973 11, -85, -85, -85, -85, -85, -85, -85, -85, -85,
Eric Andersen72d8e442003-08-05 02:18:25 +0000974 -85, -85, -85, -85, -85, -85, -85, -85, -85, -85,
975 -85, -85, -85, -85, -85, -85, -85, -85, -85, -85,
976 -85, -85, -85, -85, -85, -85, -85, -85
Eric Andersenc9f20d92002-12-05 08:41:41 +0000977 },
978
979 {
Eric Andersen72d8e442003-08-05 02:18:25 +0000980 11, 86, 86, -86, 86, 86, 86, 86, 86, 86,
981 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
982 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
983 86, 86, 86, 86, 86, 86, 86, 86
Eric Andersenc9f20d92002-12-05 08:41:41 +0000984 },
985
986 {
987 11, -87, -87, -87, -87, -87, -87, -87, -87, -87,
988 -87, -87, -87, -87, -87, -87, -87, -87, -87, -87,
989
990 -87, -87, -87, -87, -87, -87, -87, -87, -87, -87,
Eric Andersen72d8e442003-08-05 02:18:25 +0000991 -87, -87, -87, -87, -87, -87, -87, -87
Eric Andersenc9f20d92002-12-05 08:41:41 +0000992 },
993
994 {
995 11, -88, -88, -88, -88, -88, -88, -88, -88, -88,
Eric Andersen72d8e442003-08-05 02:18:25 +0000996 -88, 115, 89, 89, -88, -88, 89, 89, 89, 89,
997 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
998 89, 89, 89, 89, 89, 89, 89, -88
Eric Andersenc9f20d92002-12-05 08:41:41 +0000999 },
1000
1001 {
1002 11, -89, -89, -89, -89, -89, -89, -89, -89, -89,
Eric Andersen72d8e442003-08-05 02:18:25 +00001003 -89, 89, 89, 89, -89, -89, 89, 89, 89, 89,
1004 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
1005 89, 89, 89, 89, 89, 89, 89, -89
Eric Andersenc9f20d92002-12-05 08:41:41 +00001006
1007 },
1008
1009 {
1010 11, -90, -90, -90, -90, -90, -90, -90, -90, -90,
Eric Andersen72d8e442003-08-05 02:18:25 +00001011 -90, -90, -90, -90, -90, -90, -90, -90, -90, -90,
1012 -90, -90, -90, -90, -90, -90, -90, -90, -90, -90,
1013 -90, -90, -90, -90, -90, -90, -90, -90
Eric Andersenc9f20d92002-12-05 08:41:41 +00001014 },
1015
1016 {
1017 11, -91, -91, -91, -91, -91, -91, -91, -91, -91,
Eric Andersen72d8e442003-08-05 02:18:25 +00001018 -91, 89, 89, 89, -91, -91, 89, 89, 89, 89,
1019 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
1020 89, 89, 89, 89, 89, 89, 89, -91
Eric Andersenc9f20d92002-12-05 08:41:41 +00001021 },
1022
1023 {
1024 11, -92, -92, -92, -92, -92, -92, -92, -92, -92,
Eric Andersen72d8e442003-08-05 02:18:25 +00001025 -92, 89, 89, 89, -92, -92, 89, 89, 89, 89,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001026
Eric Andersen72d8e442003-08-05 02:18:25 +00001027 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
1028 89, 89, 89, 89, 89, 89, 89, -92
Eric Andersenc9f20d92002-12-05 08:41:41 +00001029 },
1030
1031 {
1032 11, -93, -93, -93, -93, -93, -93, -93, -93, -93,
Eric Andersen72d8e442003-08-05 02:18:25 +00001033 -93, -93, -93, -93, -93, -93, -93, -93, -93, -93,
1034 -93, -93, -93, -93, -93, -93, -93, -93, -93, -93,
1035 -93, -93, -93, -93, -93, -93, -93, -93
Eric Andersenc9f20d92002-12-05 08:41:41 +00001036 },
1037
1038 {
1039 11, -94, -94, -94, -94, -94, -94, -94, -94, -94,
Eric Andersen72d8e442003-08-05 02:18:25 +00001040 -94, -94, -94, 58, -94, -94, 58, 58, 58, 58,
1041 58, 58, 58, 58, 58, 58, 116, 58, 58, 58,
1042 58, 58, 58, 58, 58, 58, 58, -94
Eric Andersenc9f20d92002-12-05 08:41:41 +00001043
1044 },
1045
1046 {
1047 11, -95, -95, -95, -95, -95, -95, -95, -95, -95,
Eric Andersen72d8e442003-08-05 02:18:25 +00001048 -95, -95, -95, 58, -95, -95, 58, 58, 58, 58,
1049 58, 58, 58, 58, 58, 117, 58, 58, 58, 58,
1050 58, 58, 58, 58, 58, 58, 58, -95
Eric Andersenc9f20d92002-12-05 08:41:41 +00001051 },
1052
1053 {
1054 11, -96, -96, -96, -96, -96, -96, -96, -96, -96,
Eric Andersen72d8e442003-08-05 02:18:25 +00001055 -96, -96, -96, 58, -96, -96, 58, 58, 58, 58,
1056 58, 58, 58, 58, 58, 58, 58, 118, 58, 58,
1057 58, 58, 58, 58, 58, 58, 58, -96
Eric Andersenc9f20d92002-12-05 08:41:41 +00001058 },
1059
1060 {
1061 11, -97, -97, -97, -97, -97, -97, -97, -97, -97,
Eric Andersen72d8e442003-08-05 02:18:25 +00001062 -97, -97, -97, 58, -97, -97, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001063
Eric Andersen72d8e442003-08-05 02:18:25 +00001064 58, 58, 119, 58, 58, 58, 58, 58, 58, 58,
1065 58, 58, 58, 58, 58, 58, 58, -97
Eric Andersenc9f20d92002-12-05 08:41:41 +00001066 },
1067
1068 {
1069 11, -98, -98, -98, -98, -98, -98, -98, -98, -98,
Eric Andersen72d8e442003-08-05 02:18:25 +00001070 -98, -98, -98, 58, -98, -98, 120, 121, 58, 58,
1071 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1072 58, 58, 58, 58, 58, 58, 58, -98
Eric Andersenc9f20d92002-12-05 08:41:41 +00001073 },
1074
1075 {
1076 11, -99, -99, -99, -99, -99, -99, -99, -99, -99,
Eric Andersen72d8e442003-08-05 02:18:25 +00001077 -99, -99, -99, 58, -99, -99, 58, 58, 58, 58,
1078 58, 122, 58, 58, 58, 58, 58, 58, 58, 58,
1079 58, 58, 58, 58, 58, 58, 58, -99
Eric Andersenc9f20d92002-12-05 08:41:41 +00001080
1081 },
1082
1083 {
1084 11, -100, -100, -100, -100, -100, -100, -100, -100, -100,
Eric Andersen72d8e442003-08-05 02:18:25 +00001085 -100, -100, -100, 58, -100, -100, 58, 58, 123, 58,
1086 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1087 58, 58, 58, 58, 58, 58, 58, -100
Eric Andersenc9f20d92002-12-05 08:41:41 +00001088 },
1089
1090 {
1091 11, -101, -101, -101, -101, -101, -101, -101, -101, -101,
Eric Andersen72d8e442003-08-05 02:18:25 +00001092 -101, -101, -101, 58, -101, -101, 58, 58, 58, 124,
1093 58, 58, 58, 58, 58, 125, 58, 126, 58, 58,
1094 58, 58, 58, 58, 58, 58, 58, -101
Eric Andersenc9f20d92002-12-05 08:41:41 +00001095 },
1096
1097 {
1098 11, -102, -102, -102, -102, -102, -102, -102, -102, -102,
Eric Andersen72d8e442003-08-05 02:18:25 +00001099 -102, -102, -102, 58, -102, -102, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001100
Eric Andersen72d8e442003-08-05 02:18:25 +00001101 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1102 127, 58, 58, 58, 58, 58, 58, -102
Eric Andersenc9f20d92002-12-05 08:41:41 +00001103 },
1104
1105 {
1106 11, -103, -103, -103, -103, -103, -103, -103, -103, -103,
Eric Andersen72d8e442003-08-05 02:18:25 +00001107 -103, -103, -103, 58, -103, -103, 58, 58, 58, 58,
1108 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1109 58, 58, 58, 58, 58, 58, 58, -103
Eric Andersenc9f20d92002-12-05 08:41:41 +00001110 },
1111
1112 {
1113 11, -104, -104, -104, -104, -104, -104, -104, -104, -104,
Eric Andersen72d8e442003-08-05 02:18:25 +00001114 -104, -104, -104, 58, -104, -104, 58, 58, 58, 58,
1115 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1116 58, 58, 58, 58, 58, 58, 58, -104
Eric Andersenc9f20d92002-12-05 08:41:41 +00001117
1118 },
1119
1120 {
1121 11, -105, -105, -105, -105, -105, -105, -105, -105, -105,
Eric Andersen72d8e442003-08-05 02:18:25 +00001122 -105, -105, -105, 58, -105, -105, 58, 58, 58, 58,
1123 58, 58, 58, 58, 58, 58, 58, 58, 128, 58,
1124 58, 58, 58, 58, 58, 58, 58, -105
Eric Andersenc9f20d92002-12-05 08:41:41 +00001125 },
1126
1127 {
1128 11, -106, -106, -106, -106, -106, -106, -106, -106, -106,
Eric Andersen72d8e442003-08-05 02:18:25 +00001129 -106, -106, -106, 58, -106, -106, 58, 58, 58, 58,
1130 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1131 58, 58, 58, 58, 58, 129, 58, -106
Eric Andersenc9f20d92002-12-05 08:41:41 +00001132 },
1133
1134 {
1135 11, -107, -107, -107, -107, -107, -107, -107, -107, -107,
Eric Andersen72d8e442003-08-05 02:18:25 +00001136 -107, -107, -107, 58, -107, -107, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001137
Eric Andersen72d8e442003-08-05 02:18:25 +00001138 58, 58, 58, 58, 58, 130, 58, 58, 58, 58,
1139 58, 58, 58, 58, 58, 58, 58, -107
Eric Andersenc9f20d92002-12-05 08:41:41 +00001140 },
1141
1142 {
1143 11, -108, -108, -108, -108, -108, -108, -108, -108, -108,
Eric Andersen72d8e442003-08-05 02:18:25 +00001144 -108, -108, -108, 58, -108, -108, 58, 58, 58, 58,
1145 58, 58, 58, 58, 58, 58, 58, 131, 58, 58,
1146 58, 58, 58, 58, 58, 58, 58, -108
Eric Andersenc9f20d92002-12-05 08:41:41 +00001147 },
1148
1149 {
1150 11, -109, -109, -109, -109, -109, -109, -109, -109, -109,
Eric Andersen72d8e442003-08-05 02:18:25 +00001151 -109, -109, -109, 58, -109, -109, 58, 58, 58, 58,
1152 58, 58, 58, 132, 58, 58, 58, 58, 58, 58,
1153 58, 58, 58, 58, 58, 58, 58, -109
Eric Andersenc9f20d92002-12-05 08:41:41 +00001154
1155 },
1156
1157 {
1158 11, -110, -110, -110, -110, -110, -110, -110, -110, -110,
Eric Andersen72d8e442003-08-05 02:18:25 +00001159 -110, -110, -110, 58, -110, -110, 58, 58, 58, 58,
1160 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1161 58, 58, 58, 58, 58, 133, 58, -110
Eric Andersenc9f20d92002-12-05 08:41:41 +00001162 },
1163
1164 {
1165 11, -111, -111, -111, -111, -111, -111, -111, -111, -111,
Eric Andersen72d8e442003-08-05 02:18:25 +00001166 -111, -111, -111, 58, -111, -111, 58, 58, 58, 58,
1167 58, 134, 58, 58, 58, 58, 58, 58, 58, 58,
1168 58, 58, 58, 58, 58, 58, 58, -111
Eric Andersenc9f20d92002-12-05 08:41:41 +00001169 },
1170
1171 {
1172 11, -112, -112, -112, -112, -112, -112, -112, -112, -112,
Eric Andersen72d8e442003-08-05 02:18:25 +00001173 -112, -112, -112, 58, -112, -112, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001174
Eric Andersen72d8e442003-08-05 02:18:25 +00001175 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1176 58, 58, 135, 58, 58, 58, 58, -112
Eric Andersenc9f20d92002-12-05 08:41:41 +00001177 },
1178
1179 {
1180 11, -113, -113, -113, -113, -113, -113, -113, -113, -113,
Eric Andersen72d8e442003-08-05 02:18:25 +00001181 -113, -113, -113, 58, -113, -113, 58, 58, 58, 58,
1182 58, 58, 58, 58, 58, 136, 58, 58, 58, 58,
1183 58, 58, 58, 58, 58, 58, 58, -113
Eric Andersenc9f20d92002-12-05 08:41:41 +00001184 },
1185
1186 {
1187 11, -114, -114, -114, -114, -114, -114, -114, -114, -114,
Eric Andersen72d8e442003-08-05 02:18:25 +00001188 -114, -114, -114, 58, -114, -114, 58, 58, 58, 58,
1189 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1190 58, 58, 58, 137, 58, 58, 58, -114
Eric Andersenc9f20d92002-12-05 08:41:41 +00001191
1192 },
1193
1194 {
1195 11, -115, -115, -115, -115, -115, -115, -115, -115, -115,
Eric Andersen72d8e442003-08-05 02:18:25 +00001196 -115, 89, 89, 89, -115, -115, 89, 89, 89, 89,
1197 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
1198 89, 89, 89, 89, 89, 89, 89, -115
Eric Andersenc9f20d92002-12-05 08:41:41 +00001199 },
1200
1201 {
1202 11, -116, -116, -116, -116, -116, -116, -116, -116, -116,
Eric Andersen72d8e442003-08-05 02:18:25 +00001203 -116, -116, -116, 58, -116, -116, 58, 58, 58, 58,
1204 58, 138, 58, 58, 58, 58, 58, 58, 58, 58,
1205 58, 58, 58, 58, 58, 58, 58, -116
Eric Andersenc9f20d92002-12-05 08:41:41 +00001206 },
1207
1208 {
1209 11, -117, -117, -117, -117, -117, -117, -117, -117, -117,
Eric Andersen72d8e442003-08-05 02:18:25 +00001210 -117, -117, -117, 58, -117, -117, 58, 58, 58, 139,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001211
Eric Andersen72d8e442003-08-05 02:18:25 +00001212 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1213 58, 58, 58, 58, 58, 58, 58, -117
Eric Andersenc9f20d92002-12-05 08:41:41 +00001214 },
1215
1216 {
1217 11, -118, -118, -118, -118, -118, -118, -118, -118, -118,
Eric Andersen72d8e442003-08-05 02:18:25 +00001218 -118, -118, -118, 58, -118, -118, 58, 58, 58, 58,
1219 58, 140, 58, 58, 58, 58, 58, 58, 58, 58,
1220 58, 58, 58, 58, 58, 58, 58, -118
Eric Andersenc9f20d92002-12-05 08:41:41 +00001221 },
1222
1223 {
1224 11, -119, -119, -119, -119, -119, -119, -119, -119, -119,
Eric Andersen72d8e442003-08-05 02:18:25 +00001225 -119, -119, -119, 58, -119, -119, 58, 58, 58, 58,
1226 58, 58, 58, 58, 58, 141, 58, 58, 58, 58,
1227 58, 58, 58, 58, 58, 58, 58, -119
Eric Andersenc9f20d92002-12-05 08:41:41 +00001228
1229 },
1230
1231 {
1232 11, -120, -120, -120, -120, -120, -120, -120, -120, -120,
Eric Andersen72d8e442003-08-05 02:18:25 +00001233 -120, -120, -120, 58, -120, -120, 58, 58, 142, 58,
1234 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1235 58, 58, 58, 58, 143, 58, 58, -120
Eric Andersenc9f20d92002-12-05 08:41:41 +00001236 },
1237
1238 {
1239 11, -121, -121, -121, -121, -121, -121, -121, -121, -121,
Eric Andersen72d8e442003-08-05 02:18:25 +00001240 -121, -121, -121, 58, -121, -121, 58, 58, 58, 58,
1241 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1242 58, 58, 58, 58, 58, 144, 58, -121
Eric Andersenc9f20d92002-12-05 08:41:41 +00001243 },
1244
1245 {
1246 11, -122, -122, -122, -122, -122, -122, -122, -122, -122,
Eric Andersen72d8e442003-08-05 02:18:25 +00001247 -122, -122, -122, 58, -122, -122, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001248
Eric Andersen72d8e442003-08-05 02:18:25 +00001249 58, 58, 58, 58, 58, 58, 58, 58, 145, 58,
1250 58, 58, 58, 58, 58, 58, 58, -122
Eric Andersenc9f20d92002-12-05 08:41:41 +00001251 },
1252
1253 {
1254 11, -123, -123, -123, -123, -123, -123, -123, -123, -123,
Eric Andersen72d8e442003-08-05 02:18:25 +00001255 -123, -123, -123, 58, -123, -123, 58, 58, 58, 58,
1256 58, 58, 58, 58, 58, 58, 146, 58, 58, 58,
1257 58, 58, 58, 58, 58, 58, 58, -123
Eric Andersenc9f20d92002-12-05 08:41:41 +00001258 },
1259
1260 {
1261 11, -124, -124, -124, -124, -124, -124, -124, -124, -124,
Eric Andersen72d8e442003-08-05 02:18:25 +00001262 -124, -124, -124, 58, -124, -124, 58, 58, 58, 58,
1263 58, 58, 58, 58, 147, 58, 58, 58, 58, 58,
1264 58, 58, 58, 58, 58, 58, 58, -124
Eric Andersenc9f20d92002-12-05 08:41:41 +00001265
1266 },
1267
1268 {
1269 11, -125, -125, -125, -125, -125, -125, -125, -125, -125,
Eric Andersen72d8e442003-08-05 02:18:25 +00001270 -125, -125, -125, 58, -125, -125, 58, 58, 58, 58,
1271 58, 58, 148, 58, 58, 58, 58, 58, 58, 58,
1272 58, 58, 58, 58, 58, 58, 58, -125
Eric Andersenc9f20d92002-12-05 08:41:41 +00001273 },
1274
1275 {
1276 11, -126, -126, -126, -126, -126, -126, -126, -126, -126,
Eric Andersen72d8e442003-08-05 02:18:25 +00001277 -126, -126, -126, 58, -126, -126, 58, 58, 58, 58,
1278 58, 149, 58, 58, 58, 58, 58, 58, 58, 58,
1279 58, 58, 58, 58, 58, 58, 58, -126
Eric Andersenc9f20d92002-12-05 08:41:41 +00001280 },
1281
1282 {
1283 11, -127, -127, -127, -127, -127, -127, -127, -127, -127,
Eric Andersen72d8e442003-08-05 02:18:25 +00001284 -127, -127, -127, 58, -127, -127, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001285
Eric Andersen72d8e442003-08-05 02:18:25 +00001286 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1287 58, 58, 58, 58, 58, 58, 58, -127
Eric Andersenc9f20d92002-12-05 08:41:41 +00001288 },
1289
1290 {
1291 11, -128, -128, -128, -128, -128, -128, -128, -128, -128,
Eric Andersen72d8e442003-08-05 02:18:25 +00001292 -128, -128, -128, 58, -128, -128, 58, 58, 58, 58,
1293 58, 58, 58, 58, 58, 58, 58, 150, 58, 58,
1294 58, 58, 58, 58, 58, 58, 58, -128
Eric Andersenc9f20d92002-12-05 08:41:41 +00001295 },
1296
1297 {
1298 11, -129, -129, -129, -129, -129, -129, -129, -129, -129,
Eric Andersen72d8e442003-08-05 02:18:25 +00001299 -129, -129, -129, 58, -129, -129, 58, 58, 58, 151,
1300 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1301 58, 58, 58, 58, 58, 58, 58, -129
Eric Andersenc9f20d92002-12-05 08:41:41 +00001302
1303 },
1304
1305 {
1306 11, -130, -130, -130, -130, -130, -130, -130, -130, -130,
Eric Andersen72d8e442003-08-05 02:18:25 +00001307 -130, -130, -130, 58, -130, -130, 58, 58, 58, 58,
1308 58, 58, 58, 58, 58, 58, 58, 58, 58, 152,
1309 58, 58, 58, 58, 58, 58, 58, -130
Eric Andersenc9f20d92002-12-05 08:41:41 +00001310 },
1311
1312 {
1313 11, -131, -131, -131, -131, -131, -131, -131, -131, -131,
Eric Andersen72d8e442003-08-05 02:18:25 +00001314 -131, -131, -131, 58, -131, -131, 58, 58, 58, 58,
1315 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1316 153, 58, 58, 58, 58, 58, 58, -131
Eric Andersenc9f20d92002-12-05 08:41:41 +00001317 },
1318
1319 {
1320 11, -132, -132, -132, -132, -132, -132, -132, -132, -132,
Eric Andersen72d8e442003-08-05 02:18:25 +00001321 -132, -132, -132, 58, -132, -132, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001322
Eric Andersen72d8e442003-08-05 02:18:25 +00001323 58, 154, 58, 58, 58, 58, 58, 58, 58, 58,
1324 58, 58, 58, 58, 58, 58, 58, -132
Eric Andersenc9f20d92002-12-05 08:41:41 +00001325 },
1326
1327 {
1328 11, -133, -133, -133, -133, -133, -133, -133, -133, -133,
Eric Andersen72d8e442003-08-05 02:18:25 +00001329 -133, -133, -133, 58, -133, -133, 58, 58, 58, 58,
1330 58, 58, 58, 58, 58, 155, 58, 58, 58, 58,
1331 58, 58, 58, 58, 58, 58, 58, -133
Eric Andersenc9f20d92002-12-05 08:41:41 +00001332 },
1333
1334 {
1335 11, -134, -134, -134, -134, -134, -134, -134, -134, -134,
Eric Andersen72d8e442003-08-05 02:18:25 +00001336 -134, -134, -134, 58, -134, -134, 58, 58, 58, 156,
1337 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1338 58, 58, 58, 58, 58, 58, 58, -134
Eric Andersenc9f20d92002-12-05 08:41:41 +00001339
1340 },
1341
1342 {
1343 11, -135, -135, -135, -135, -135, -135, -135, -135, -135,
Eric Andersen72d8e442003-08-05 02:18:25 +00001344 -135, -135, -135, 58, -135, -135, 58, 58, 58, 157,
1345 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1346 58, 58, 58, 58, 58, 58, 58, -135
Eric Andersenc9f20d92002-12-05 08:41:41 +00001347 },
1348
1349 {
1350 11, -136, -136, -136, -136, -136, -136, -136, -136, -136,
Eric Andersen72d8e442003-08-05 02:18:25 +00001351 -136, -136, -136, 58, -136, -136, 58, 58, 58, 58,
1352 58, 58, 58, 58, 58, 58, 58, 58, 158, 58,
1353 58, 58, 58, 58, 58, 58, 58, -136
Eric Andersenc9f20d92002-12-05 08:41:41 +00001354 },
1355
1356 {
1357 11, -137, -137, -137, -137, -137, -137, -137, -137, -137,
Eric Andersen72d8e442003-08-05 02:18:25 +00001358 -137, -137, -137, 58, -137, -137, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001359
Eric Andersen72d8e442003-08-05 02:18:25 +00001360 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1361 58, 58, 58, 58, 159, 58, 58, -137
Eric Andersenc9f20d92002-12-05 08:41:41 +00001362 },
1363
1364 {
1365 11, -138, -138, -138, -138, -138, -138, -138, -138, -138,
Eric Andersen72d8e442003-08-05 02:18:25 +00001366 -138, -138, -138, 58, -138, -138, 58, 160, 58, 58,
1367 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1368 58, 58, 58, 58, 58, 58, 58, -138
Eric Andersenc9f20d92002-12-05 08:41:41 +00001369 },
1370
1371 {
1372 11, -139, -139, -139, -139, -139, -139, -139, -139, -139,
Eric Andersen72d8e442003-08-05 02:18:25 +00001373 -139, -139, -139, 58, -139, -139, 58, 58, 58, 58,
1374 58, 161, 58, 58, 58, 58, 58, 58, 58, 58,
1375 58, 58, 58, 58, 58, 58, 58, -139
Eric Andersenc9f20d92002-12-05 08:41:41 +00001376
1377 },
1378
1379 {
1380 11, -140, -140, -140, -140, -140, -140, -140, -140, -140,
Eric Andersen72d8e442003-08-05 02:18:25 +00001381 -140, -140, -140, 58, -140, -140, 58, 58, 58, 58,
1382 58, 58, 58, 58, 58, 58, 58, 58, 162, 58,
1383 58, 58, 58, 58, 58, 58, 58, -140
Eric Andersenc9f20d92002-12-05 08:41:41 +00001384 },
1385
1386 {
1387 11, -141, -141, -141, -141, -141, -141, -141, -141, -141,
Eric Andersen72d8e442003-08-05 02:18:25 +00001388 -141, -141, -141, 58, -141, -141, 58, 58, 58, 58,
1389 58, 58, 58, 163, 58, 58, 58, 58, 58, 58,
1390 58, 58, 58, 58, 58, 58, 58, -141
Eric Andersenc9f20d92002-12-05 08:41:41 +00001391 },
1392
1393 {
1394 11, -142, -142, -142, -142, -142, -142, -142, -142, -142,
Eric Andersen72d8e442003-08-05 02:18:25 +00001395 -142, -142, -142, 58, -142, -142, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001396
Eric Andersen72d8e442003-08-05 02:18:25 +00001397 58, 58, 58, 58, 58, 58, 58, 58, 58, 164,
1398 58, 58, 58, 58, 58, 58, 58, -142
Eric Andersenc9f20d92002-12-05 08:41:41 +00001399 },
1400
1401 {
1402 11, -143, -143, -143, -143, -143, -143, -143, -143, -143,
Eric Andersen72d8e442003-08-05 02:18:25 +00001403 -143, -143, -143, 58, -143, -143, 58, 58, 58, 58,
1404 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1405 58, 58, 165, 58, 58, 58, 58, -143
Eric Andersenc9f20d92002-12-05 08:41:41 +00001406 },
1407
1408 {
1409 11, -144, -144, -144, -144, -144, -144, -144, -144, -144,
Eric Andersen72d8e442003-08-05 02:18:25 +00001410 -144, -144, -144, 58, -144, -144, 58, 58, 58, 58,
1411 58, 58, 58, 58, 58, 58, 166, 58, 58, 58,
1412 58, 58, 58, 58, 58, 58, 58, -144
Eric Andersenc9f20d92002-12-05 08:41:41 +00001413
1414 },
1415
1416 {
1417 11, -145, -145, -145, -145, -145, -145, -145, -145, -145,
Eric Andersen72d8e442003-08-05 02:18:25 +00001418 -145, -145, -145, 58, -145, -145, 58, 58, 58, 58,
1419 167, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1420 58, 58, 58, 58, 58, 58, 58, -145
Eric Andersenc9f20d92002-12-05 08:41:41 +00001421 },
1422
1423 {
1424 11, -146, -146, -146, -146, -146, -146, -146, -146, -146,
Eric Andersen72d8e442003-08-05 02:18:25 +00001425 -146, -146, -146, 58, -146, -146, 58, 58, 58, 58,
1426 58, 168, 58, 58, 58, 58, 58, 58, 58, 58,
1427 58, 58, 58, 58, 58, 58, 58, -146
Eric Andersenc9f20d92002-12-05 08:41:41 +00001428 },
1429
1430 {
1431 11, -147, -147, -147, -147, -147, -147, -147, -147, -147,
Eric Andersen72d8e442003-08-05 02:18:25 +00001432 -147, -147, -147, 58, -147, -147, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001433
Eric Andersen72d8e442003-08-05 02:18:25 +00001434 58, 58, 58, 58, 58, 58, 58, 58, 58, 169,
1435 58, 58, 58, 58, 58, 58, 58, -147
Eric Andersenc9f20d92002-12-05 08:41:41 +00001436 },
1437
1438 {
1439 11, -148, -148, -148, -148, -148, -148, -148, -148, -148,
Eric Andersen72d8e442003-08-05 02:18:25 +00001440 -148, -148, -148, 58, -148, -148, 58, 58, 58, 58,
1441 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1442 58, 58, 58, 58, 58, 58, 58, -148
Eric Andersenc9f20d92002-12-05 08:41:41 +00001443 },
1444
1445 {
1446 11, -149, -149, -149, -149, -149, -149, -149, -149, -149,
Eric Andersen72d8e442003-08-05 02:18:25 +00001447 -149, -149, -149, 58, -149, -149, 58, 58, 58, 58,
1448 58, 58, 58, 58, 58, 58, 58, 58, 170, 58,
1449 58, 58, 58, 58, 58, 58, 58, -149
Eric Andersenc9f20d92002-12-05 08:41:41 +00001450
1451 },
1452
1453 {
1454 11, -150, -150, -150, -150, -150, -150, -150, -150, -150,
Eric Andersen72d8e442003-08-05 02:18:25 +00001455 -150, -150, -150, 58, -150, -150, 58, 58, 58, 58,
1456 58, 171, 58, 58, 58, 58, 58, 58, 58, 58,
1457 58, 58, 58, 58, 58, 58, 58, -150
Eric Andersenc9f20d92002-12-05 08:41:41 +00001458 },
1459
1460 {
1461 11, -151, -151, -151, -151, -151, -151, -151, -151, -151,
Eric Andersen72d8e442003-08-05 02:18:25 +00001462 -151, -151, -151, 58, -151, -151, 58, 58, 58, 58,
1463 58, 58, 58, 58, 58, 58, 58, 58, 58, 172,
1464 58, 58, 58, 58, 58, 58, 58, -151
Eric Andersenc9f20d92002-12-05 08:41:41 +00001465 },
1466
1467 {
1468 11, -152, -152, -152, -152, -152, -152, -152, -152, -152,
Eric Andersen72d8e442003-08-05 02:18:25 +00001469 -152, -152, -152, 58, -152, -152, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001470
Eric Andersen72d8e442003-08-05 02:18:25 +00001471 58, 58, 58, 58, 58, 58, 58, 58, 173, 58,
1472 58, 58, 58, 58, 58, 58, 58, -152
Eric Andersenc9f20d92002-12-05 08:41:41 +00001473 },
1474
1475 {
1476 11, -153, -153, -153, -153, -153, -153, -153, -153, -153,
Eric Andersen72d8e442003-08-05 02:18:25 +00001477 -153, -153, -153, 58, -153, -153, 58, 58, 58, 58,
1478 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1479 58, 58, 58, 58, 174, 58, 58, -153
Eric Andersenc9f20d92002-12-05 08:41:41 +00001480 },
1481
1482 {
1483 11, -154, -154, -154, -154, -154, -154, -154, -154, -154,
Eric Andersen72d8e442003-08-05 02:18:25 +00001484 -154, -154, -154, 58, -154, -154, 58, 58, 58, 58,
1485 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1486 58, 58, 58, 58, 58, 58, 58, -154
Eric Andersenc9f20d92002-12-05 08:41:41 +00001487
1488 },
1489
1490 {
1491 11, -155, -155, -155, -155, -155, -155, -155, -155, -155,
Eric Andersen72d8e442003-08-05 02:18:25 +00001492 -155, -155, -155, 58, -155, -155, 58, 58, 58, 58,
1493 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1494 58, 58, 175, 58, 58, 58, 58, -155
Eric Andersenc9f20d92002-12-05 08:41:41 +00001495 },
1496
1497 {
1498 11, -156, -156, -156, -156, -156, -156, -156, -156, -156,
Eric Andersen72d8e442003-08-05 02:18:25 +00001499 -156, -156, -156, 58, -156, -156, 58, 58, 58, 58,
1500 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1501 58, 58, 58, 58, 176, 58, 58, -156
Eric Andersenc9f20d92002-12-05 08:41:41 +00001502 },
1503
1504 {
1505 11, -157, -157, -157, -157, -157, -157, -157, -157, -157,
Eric Andersen72d8e442003-08-05 02:18:25 +00001506 -157, -157, -157, 58, -157, -157, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001507
Eric Andersen72d8e442003-08-05 02:18:25 +00001508 58, 177, 58, 58, 58, 58, 58, 58, 58, 58,
1509 58, 58, 58, 58, 58, 58, 58, -157
Eric Andersenc9f20d92002-12-05 08:41:41 +00001510 },
1511
1512 {
1513 11, -158, -158, -158, -158, -158, -158, -158, -158, -158,
Eric Andersen72d8e442003-08-05 02:18:25 +00001514 -158, -158, -158, 58, -158, -158, 58, 58, 58, 58,
1515 58, 58, 58, 178, 58, 58, 58, 58, 58, 58,
1516 58, 58, 58, 58, 58, 58, 58, -158
Eric Andersenc9f20d92002-12-05 08:41:41 +00001517 },
1518
1519 {
1520 11, -159, -159, -159, -159, -159, -159, -159, -159, -159,
Eric Andersen72d8e442003-08-05 02:18:25 +00001521 -159, -159, -159, 58, -159, -159, 58, 179, 58, 58,
1522 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1523 58, 58, 58, 58, 58, 58, 58, -159
Eric Andersenc9f20d92002-12-05 08:41:41 +00001524
1525 },
1526
1527 {
1528 11, -160, -160, -160, -160, -160, -160, -160, -160, -160,
Eric Andersen72d8e442003-08-05 02:18:25 +00001529 -160, -160, -160, 58, -160, -160, 58, 58, 58, 58,
1530 58, 58, 58, 58, 58, 58, 58, 58, 180, 58,
1531 58, 58, 58, 58, 58, 58, 58, -160
Eric Andersenc9f20d92002-12-05 08:41:41 +00001532 },
1533
1534 {
1535 11, -161, -161, -161, -161, -161, -161, -161, -161, -161,
Eric Andersen72d8e442003-08-05 02:18:25 +00001536 -161, -161, -161, 58, -161, -161, 58, 58, 58, 58,
1537 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1538 58, 58, 58, 58, 58, 58, 58, -161
Eric Andersenc9f20d92002-12-05 08:41:41 +00001539 },
1540
1541 {
1542 11, -162, -162, -162, -162, -162, -162, -162, -162, -162,
Eric Andersen72d8e442003-08-05 02:18:25 +00001543 -162, -162, -162, 58, -162, -162, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001544
Eric Andersen72d8e442003-08-05 02:18:25 +00001545 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1546 58, 58, 58, 58, 181, 58, 58, -162
Eric Andersenc9f20d92002-12-05 08:41:41 +00001547 },
1548
1549 {
1550 11, -163, -163, -163, -163, -163, -163, -163, -163, -163,
Eric Andersen72d8e442003-08-05 02:18:25 +00001551 -163, -163, -163, 58, -163, -163, 58, 58, 58, 58,
1552 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1553 58, 58, 58, 58, 58, 58, 58, -163
Eric Andersenc9f20d92002-12-05 08:41:41 +00001554 },
1555
1556 {
1557 11, -164, -164, -164, -164, -164, -164, -164, -164, -164,
Eric Andersen72d8e442003-08-05 02:18:25 +00001558 -164, -164, -164, 58, -164, -164, 58, 58, 58, 58,
1559 58, 58, 58, 58, 58, 58, 58, 58, 58, 182,
1560 58, 58, 58, 58, 58, 58, 58, -164
Eric Andersenc9f20d92002-12-05 08:41:41 +00001561
1562 },
1563
1564 {
1565 11, -165, -165, -165, -165, -165, -165, -165, -165, -165,
Eric Andersen72d8e442003-08-05 02:18:25 +00001566 -165, -165, -165, 58, -165, -165, 58, 58, 58, 58,
1567 58, 58, 58, 58, 58, 183, 58, 58, 58, 58,
1568 58, 58, 58, 58, 58, 58, 58, -165
Eric Andersenc9f20d92002-12-05 08:41:41 +00001569 },
1570
1571 {
1572 11, -166, -166, -166, -166, -166, -166, -166, -166, -166,
Eric Andersen72d8e442003-08-05 02:18:25 +00001573 -166, -166, -166, 58, -166, -166, 58, 58, 58, 58,
1574 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1575 58, 58, 58, 58, 184, 58, 58, -166
Eric Andersenc9f20d92002-12-05 08:41:41 +00001576 },
1577
1578 {
1579 11, -167, -167, -167, -167, -167, -167, -167, -167, -167,
Eric Andersen72d8e442003-08-05 02:18:25 +00001580 -167, -167, -167, 58, -167, -167, 58, 58, 58, 58,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001581
Eric Andersen72d8e442003-08-05 02:18:25 +00001582 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1583 58, 58, 58, 185, 58, 58, 58, -167
Eric Andersenc9f20d92002-12-05 08:41:41 +00001584 },
1585
1586 {
1587 11, -168, -168, -168, -168, -168, -168, -168, -168, -168,
Eric Andersen72d8e442003-08-05 02:18:25 +00001588 -168, -168, -168, 58, -168, -168, 58, 58, 58, 58,
1589 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1590 58, 58, 58, 58, 58, 58, 58, -168
Eric Andersenc9f20d92002-12-05 08:41:41 +00001591 },
1592
1593 {
1594 11, -169, -169, -169, -169, -169, -169, -169, -169, -169,
Eric Andersen72d8e442003-08-05 02:18:25 +00001595 -169, -169, -169, 58, -169, -169, 58, 58, 58, 58,
1596 58, 58, 58, 58, 58, 186, 58, 58, 58, 58,
1597 58, 58, 58, 58, 58, 58, 58, -169
Eric Andersenc9f20d92002-12-05 08:41:41 +00001598
1599 },
1600
1601 {
1602 11, -170, -170, -170, -170, -170, -170, -170, -170, -170,
Eric Andersen72d8e442003-08-05 02:18:25 +00001603 -170, -170, -170, 58, -170, -170, 58, 58, 58, 58,
1604 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1605 58, 58, 58, 58, 58, 187, 58, -170
Eric Andersenc9f20d92002-12-05 08:41:41 +00001606 },
1607
1608 {
1609 11, -171, -171, -171, -171, -171, -171, -171, -171, -171,
Eric Andersen72d8e442003-08-05 02:18:25 +00001610 -171, -171, -171, 58, -171, -171, 58, 58, 58, 58,
1611 58, 58, 58, 58, 58, 58, 58, 58, 188, 58,
1612 58, 58, 58, 58, 58, 58, 58, -171
1613 },
1614
1615 {
1616 11, -172, -172, -172, -172, -172, -172, -172, -172, -172,
1617 -172, -172, -172, 58, -172, -172, 58, 58, 58, 58,
1618
1619 58, 58, 58, 58, 58, 58, 58, 58, 189, 58,
1620 58, 58, 58, 58, 58, 58, 58, -172
1621 },
1622
1623 {
1624 11, -173, -173, -173, -173, -173, -173, -173, -173, -173,
1625 -173, -173, -173, 58, -173, -173, 58, 190, 58, 58,
1626 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1627 58, 58, 58, 58, 58, 58, 58, -173
1628 },
1629
1630 {
1631 11, -174, -174, -174, -174, -174, -174, -174, -174, -174,
1632 -174, -174, -174, 58, -174, -174, 58, 58, 58, 58,
1633 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1634 58, 58, 58, 58, 58, 58, 58, -174
1635
1636 },
1637
1638 {
1639 11, -175, -175, -175, -175, -175, -175, -175, -175, -175,
1640 -175, -175, -175, 58, -175, -175, 58, 58, 58, 58,
1641 58, 191, 58, 58, 58, 58, 58, 58, 58, 58,
1642 58, 58, 58, 58, 58, 58, 58, -175
1643 },
1644
1645 {
1646 11, -176, -176, -176, -176, -176, -176, -176, -176, -176,
1647 -176, -176, -176, 58, -176, -176, 58, 58, 58, 58,
1648 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1649 58, 58, 58, 58, 58, 58, 58, -176
1650 },
1651
1652 {
1653 11, -177, -177, -177, -177, -177, -177, -177, -177, -177,
1654 -177, -177, -177, 58, -177, -177, 58, 58, 58, 58,
1655
1656 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1657 58, 58, 58, 58, 58, 58, 58, -177
1658 },
1659
1660 {
1661 11, -178, -178, -178, -178, -178, -178, -178, -178, -178,
1662 -178, -178, -178, 58, -178, -178, 58, 58, 58, 58,
1663 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1664 58, 58, 58, 58, 58, 58, 58, -178
1665 },
1666
1667 {
1668 11, -179, -179, -179, -179, -179, -179, -179, -179, -179,
1669 -179, -179, -179, 58, -179, -179, 58, 58, 58, 58,
1670 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1671 58, 58, 58, 58, 192, 58, 58, -179
1672
1673 },
1674
1675 {
1676 11, -180, -180, -180, -180, -180, -180, -180, -180, -180,
1677 -180, -180, -180, 58, -180, -180, 58, 58, 58, 58,
1678 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1679 58, 58, 58, 58, 58, 58, 58, -180
1680 },
1681
1682 {
1683 11, -181, -181, -181, -181, -181, -181, -181, -181, -181,
1684 -181, -181, -181, 58, -181, -181, 58, 58, 58, 58,
1685 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1686 58, 58, 58, 58, 58, 58, 58, -181
1687 },
1688
1689 {
1690 11, -182, -182, -182, -182, -182, -182, -182, -182, -182,
1691 -182, -182, -182, 58, -182, -182, 58, 58, 58, 58,
1692
1693 58, 58, 58, 58, 58, 58, 193, 58, 58, 58,
1694 58, 58, 58, 58, 58, 58, 58, -182
1695 },
1696
1697 {
1698 11, -183, -183, -183, -183, -183, -183, -183, -183, -183,
1699 -183, -183, -183, 58, -183, -183, 58, 58, 58, 58,
1700 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1701 58, 58, 58, 194, 58, 58, 58, -183
1702 },
1703
1704 {
1705 11, -184, -184, -184, -184, -184, -184, -184, -184, -184,
1706 -184, -184, -184, 58, -184, -184, 58, 58, 58, 58,
1707 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1708 58, 58, 58, 58, 58, 58, 58, -184
1709
1710 },
1711
1712 {
1713 11, -185, -185, -185, -185, -185, -185, -185, -185, -185,
1714 -185, -185, -185, 58, -185, -185, 58, 58, 58, 58,
1715 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1716 58, 58, 58, 58, 58, 58, 58, -185
1717 },
1718
1719 {
1720 11, -186, -186, -186, -186, -186, -186, -186, -186, -186,
1721 -186, -186, -186, 58, -186, -186, 58, 58, 58, 195,
1722 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1723 58, 58, 58, 58, 58, 58, 58, -186
1724 },
1725
1726 {
1727 11, -187, -187, -187, -187, -187, -187, -187, -187, -187,
1728 -187, -187, -187, 58, -187, -187, 58, 58, 58, 58,
1729
1730 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1731 58, 58, 58, 58, 58, 58, 58, -187
1732 },
1733
1734 {
1735 11, -188, -188, -188, -188, -188, -188, -188, -188, -188,
1736 -188, -188, -188, 58, -188, -188, 58, 58, 58, 58,
1737 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1738 58, 58, 58, 58, 58, 196, 58, -188
1739 },
1740
1741 {
1742 11, -189, -189, -189, -189, -189, -189, -189, -189, -189,
1743 -189, -189, -189, 58, -189, -189, 58, 58, 58, 58,
1744 58, 58, 197, 58, 58, 58, 58, 58, 58, 58,
1745 58, 58, 58, 58, 58, 58, 58, -189
1746
1747 },
1748
1749 {
1750 11, -190, -190, -190, -190, -190, -190, -190, -190, -190,
1751 -190, -190, -190, 58, -190, -190, 58, 58, 58, 58,
1752 58, 58, 58, 58, 58, 58, 198, 58, 58, 58,
1753 58, 58, 58, 58, 58, 58, 58, -190
1754 },
1755
1756 {
1757 11, -191, -191, -191, -191, -191, -191, -191, -191, -191,
1758 -191, -191, -191, 58, -191, -191, 58, 58, 58, 58,
1759 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1760 58, 58, 58, 199, 58, 58, 58, -191
1761 },
1762
1763 {
1764 11, -192, -192, -192, -192, -192, -192, -192, -192, -192,
1765 -192, -192, -192, 58, -192, -192, 58, 58, 58, 58,
1766
1767 58, 200, 58, 58, 58, 58, 58, 58, 58, 58,
1768 58, 58, 58, 58, 58, 58, 58, -192
1769 },
1770
1771 {
1772 11, -193, -193, -193, -193, -193, -193, -193, -193, -193,
1773 -193, -193, -193, 58, -193, -193, 58, 58, 58, 58,
1774 58, 201, 58, 58, 58, 58, 58, 58, 58, 58,
1775 58, 58, 58, 58, 58, 58, 58, -193
1776 },
1777
1778 {
1779 11, -194, -194, -194, -194, -194, -194, -194, -194, -194,
1780 -194, -194, -194, 58, -194, -194, 58, 58, 58, 58,
1781 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1782 58, 58, 58, 58, 202, 58, 58, -194
1783
1784 },
1785
1786 {
1787 11, -195, -195, -195, -195, -195, -195, -195, -195, -195,
1788 -195, -195, -195, 58, -195, -195, 58, 58, 58, 58,
1789 58, 203, 58, 58, 58, 58, 58, 58, 58, 58,
1790 58, 58, 58, 58, 58, 58, 58, -195
1791 },
1792
1793 {
1794 11, -196, -196, -196, -196, -196, -196, -196, -196, -196,
1795 -196, -196, -196, 58, -196, -196, 58, 58, 58, 58,
1796 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1797 58, 58, 58, 58, 58, 58, 58, -196
1798 },
1799
1800 {
1801 11, -197, -197, -197, -197, -197, -197, -197, -197, -197,
1802 -197, -197, -197, 58, -197, -197, 58, 58, 58, 58,
1803
1804 58, 58, 58, 58, 58, 204, 58, 58, 58, 58,
1805 58, 58, 58, 58, 58, 58, 58, -197
1806 },
1807
1808 {
1809 11, -198, -198, -198, -198, -198, -198, -198, -198, -198,
1810 -198, -198, -198, 58, -198, -198, 58, 58, 58, 58,
1811 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1812 58, 58, 58, 58, 58, 58, 58, -198
1813 },
1814
1815 {
1816 11, -199, -199, -199, -199, -199, -199, -199, -199, -199,
1817 -199, -199, -199, 58, -199, -199, 58, 58, 58, 58,
1818 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1819 58, 58, 58, 58, 58, 58, 58, -199
1820
1821 },
1822
1823 {
1824 11, -200, -200, -200, -200, -200, -200, -200, -200, -200,
1825 -200, -200, -200, 58, -200, -200, 58, 58, 58, 58,
1826 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1827 58, 58, 58, 58, 58, 58, 58, -200
1828 },
1829
1830 {
1831 11, -201, -201, -201, -201, -201, -201, -201, -201, -201,
1832 -201, -201, -201, 58, -201, -201, 58, 205, 58, 58,
1833 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1834 58, 58, 58, 58, 58, 58, 58, -201
1835 },
1836
1837 {
1838 11, -202, -202, -202, -202, -202, -202, -202, -202, -202,
1839 -202, -202, -202, 58, -202, -202, 58, 206, 58, 58,
1840
1841 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1842 58, 58, 58, 58, 58, 58, 58, -202
1843 },
1844
1845 {
1846 11, -203, -203, -203, -203, -203, -203, -203, -203, -203,
1847 -203, -203, -203, 58, -203, -203, 58, 58, 58, 58,
1848 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1849 58, 58, 58, 58, 58, 58, 58, -203
1850 },
1851
1852 {
1853 11, -204, -204, -204, -204, -204, -204, -204, -204, -204,
1854 -204, -204, -204, 58, -204, -204, 58, 58, 58, 58,
1855 58, 58, 58, 207, 58, 58, 58, 58, 58, 58,
1856 58, 58, 58, 58, 58, 58, 58, -204
1857
1858 },
1859
1860 {
1861 11, -205, -205, -205, -205, -205, -205, -205, -205, -205,
1862 -205, -205, -205, 58, -205, -205, 58, 58, 58, 58,
1863 58, 58, 58, 58, 58, 58, 58, 58, 208, 58,
1864 58, 58, 58, 58, 58, 58, 58, -205
1865 },
1866
1867 {
1868 11, -206, -206, -206, -206, -206, -206, -206, -206, -206,
1869 -206, -206, -206, 58, -206, -206, 58, 58, 58, 58,
1870 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1871 58, 58, 58, 58, 209, 58, 58, -206
1872 },
1873
1874 {
1875 11, -207, -207, -207, -207, -207, -207, -207, -207, -207,
1876 -207, -207, -207, 58, -207, -207, 58, 58, 58, 58,
1877
1878 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1879 58, 58, 58, 58, 58, 58, 58, -207
1880 },
1881
1882 {
1883 11, -208, -208, -208, -208, -208, -208, -208, -208, -208,
1884 -208, -208, -208, 58, -208, -208, 58, 58, 58, 58,
1885 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1886 58, 58, 58, 58, 58, 58, 58, -208
1887 },
1888
1889 {
1890 11, -209, -209, -209, -209, -209, -209, -209, -209, -209,
1891 -209, -209, -209, 58, -209, -209, 58, 58, 58, 58,
1892 58, 210, 58, 58, 58, 58, 58, 58, 58, 58,
1893 58, 58, 58, 58, 58, 58, 58, -209
1894
1895 },
1896
1897 {
1898 11, -210, -210, -210, -210, -210, -210, -210, -210, -210,
1899 -210, -210, -210, 58, -210, -210, 58, 58, 58, 58,
1900 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
1901 58, 58, 58, 58, 58, 58, 58, -210
Eric Andersenc9f20d92002-12-05 08:41:41 +00001902 },
1903
1904 } ;
1905
Eric Andersen72d8e442003-08-05 02:18:25 +00001906static yy_state_type yy_get_previous_state (void );
1907static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
1908static int yy_get_next_buffer (void );
1909static void yy_fatal_error (yyconst char msg[] );
Eric Andersenc9f20d92002-12-05 08:41:41 +00001910
1911/* Done after the current pattern has been matched and before the
Eric Andersen72d8e442003-08-05 02:18:25 +00001912 * corresponding action - sets up zconftext.
Eric Andersenc9f20d92002-12-05 08:41:41 +00001913 */
1914#define YY_DO_BEFORE_ACTION \
Eric Andersen72d8e442003-08-05 02:18:25 +00001915 (yytext_ptr) = yy_bp; \
1916 zconfleng = (size_t) (yy_cp - yy_bp); \
1917 (yy_hold_char) = *yy_cp; \
Eric Andersenc9f20d92002-12-05 08:41:41 +00001918 *yy_cp = '\0'; \
Eric Andersen72d8e442003-08-05 02:18:25 +00001919 (yy_c_buf_p) = yy_cp;
Eric Andersenc9f20d92002-12-05 08:41:41 +00001920
Eric Andersen72d8e442003-08-05 02:18:25 +00001921#define YY_NUM_RULES 64
1922#define YY_END_OF_BUFFER 65
1923/* This struct is not used in this scanner,
1924 but its presence is necessary. */
1925struct yy_trans_info
1926 {
1927 flex_int32_t yy_verify;
1928 flex_int32_t yy_nxt;
1929 };
1930static yyconst flex_int16_t yy_accept[211] =
Eric Andersenc9f20d92002-12-05 08:41:41 +00001931 { 0,
1932 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Eric Andersen72d8e442003-08-05 02:18:25 +00001933 65, 5, 4, 3, 2, 36, 37, 35, 35, 35,
1934 35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
1935 63, 60, 62, 55, 59, 58, 57, 53, 48, 42,
1936 47, 51, 53, 40, 41, 50, 50, 43, 53, 50,
1937 50, 53, 4, 3, 2, 2, 1, 35, 35, 35,
1938 35, 35, 35, 35, 16, 35, 35, 35, 35, 35,
1939 35, 35, 35, 35, 35, 35, 63, 60, 62, 61,
1940 55, 54, 57, 56, 44, 51, 38, 50, 50, 52,
1941 45, 46, 39, 35, 35, 35, 35, 35, 35, 35,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001942
Eric Andersen72d8e442003-08-05 02:18:25 +00001943 35, 35, 30, 29, 35, 35, 35, 35, 35, 35,
1944 35, 35, 35, 35, 49, 25, 35, 35, 35, 35,
1945 35, 35, 35, 35, 35, 35, 15, 35, 7, 35,
1946 35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
1947 35, 35, 35, 35, 35, 35, 35, 17, 35, 35,
1948 35, 35, 35, 34, 35, 35, 35, 35, 35, 35,
1949 10, 35, 13, 35, 35, 35, 35, 33, 35, 35,
1950 35, 35, 35, 22, 35, 32, 9, 31, 35, 26,
1951 12, 35, 35, 21, 18, 35, 8, 35, 35, 35,
1952 35, 35, 27, 35, 35, 6, 35, 20, 19, 23,
1953
1954 35, 35, 11, 35, 35, 35, 14, 28, 35, 24
Eric Andersenc9f20d92002-12-05 08:41:41 +00001955 } ;
1956
Eric Andersen72d8e442003-08-05 02:18:25 +00001957static yyconst flex_int32_t yy_ec[256] =
Eric Andersenc9f20d92002-12-05 08:41:41 +00001958 { 0,
1959 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1960 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1961 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1962 1, 2, 4, 5, 6, 1, 1, 7, 8, 9,
1963 10, 1, 1, 1, 11, 12, 12, 13, 13, 13,
1964 13, 13, 13, 13, 13, 13, 13, 1, 1, 1,
1965 14, 1, 1, 1, 13, 13, 13, 13, 13, 13,
1966 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
1967 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
Eric Andersen72d8e442003-08-05 02:18:25 +00001968 1, 15, 1, 1, 16, 1, 17, 18, 19, 20,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001969
Eric Andersen72d8e442003-08-05 02:18:25 +00001970 21, 22, 23, 24, 25, 13, 13, 26, 27, 28,
1971 29, 30, 31, 32, 33, 34, 35, 13, 13, 36,
1972 13, 13, 1, 37, 1, 1, 1, 1, 1, 1,
Eric Andersenc9f20d92002-12-05 08:41:41 +00001973 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1974 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1975 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1976 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1977 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1978 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1979 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1980
1981 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1982 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1983 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1984 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1985 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1986 1, 1, 1, 1, 1
1987 } ;
1988
Eric Andersen72d8e442003-08-05 02:18:25 +00001989extern int zconf_flex_debug;
1990int zconf_flex_debug = 0;
1991
Eric Andersenc9f20d92002-12-05 08:41:41 +00001992/* The intent behind this definition is that it'll catch
1993 * any uses of REJECT which flex missed.
1994 */
1995#define REJECT reject_used_but_not_detected
1996#define yymore() yymore_used_but_not_detected
1997#define YY_MORE_ADJ 0
1998#define YY_RESTORE_YY_MORE_OFFSET
Eric Andersen72d8e442003-08-05 02:18:25 +00001999char *zconftext;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002000
Eric Andersenc9f20d92002-12-05 08:41:41 +00002001/*
2002 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
2003 * Released under the terms of the GNU GPL v2.0.
2004 */
2005
Eric Andersen72d8e442003-08-05 02:18:25 +00002006#include <limits.h>
Eric Andersenc9f20d92002-12-05 08:41:41 +00002007#include <stdio.h>
2008#include <stdlib.h>
2009#include <string.h>
2010#include <unistd.h>
2011
2012#define LKC_DIRECT_LINK
2013#include "lkc.h"
Eric Andersenc9f20d92002-12-05 08:41:41 +00002014
2015#define START_STRSIZE 16
2016
2017char *text;
2018static char *text_ptr;
2019static int text_size, text_asize;
2020
2021struct buffer {
2022 struct buffer *parent;
2023 YY_BUFFER_STATE state;
2024};
2025
2026struct buffer *current_buf;
2027
2028static int last_ts, first_ts;
2029
2030static void zconf_endhelp(void);
2031static struct buffer *zconf_endfile(void);
2032
2033void new_string(void)
2034{
2035 text = malloc(START_STRSIZE);
2036 text_asize = START_STRSIZE;
2037 text_ptr = text;
2038 text_size = 0;
2039 *text_ptr = 0;
2040}
2041
2042void append_string(const char *str, int size)
2043{
2044 int new_size = text_size + size + 1;
2045 if (new_size > text_asize) {
2046 text = realloc(text, new_size);
2047 text_asize = new_size;
2048 text_ptr = text + text_size;
2049 }
2050 memcpy(text_ptr, str, size);
2051 text_ptr += size;
2052 text_size += size;
2053 *text_ptr = 0;
2054}
2055
2056void alloc_string(const char *str, int size)
2057{
2058 text = malloc(size + 1);
2059 memcpy(text, str, size);
2060 text[size] = 0;
2061}
Eric Andersen72d8e442003-08-05 02:18:25 +00002062
2063#define INITIAL 0
2064#define COMMAND 1
2065#define HELP 2
2066#define STRING 3
2067#define PARAM 4
2068
2069/* Special case for "unistd.h", since it is non-ANSI. We include it way
2070 * down here because we want the user's section 1 to have been scanned first.
2071 * The user has a chance to override it with an option.
2072 */
2073#include <unistd.h>
2074
2075#ifndef YY_EXTRA_TYPE
2076#define YY_EXTRA_TYPE void *
2077#endif
Eric Andersenc9f20d92002-12-05 08:41:41 +00002078
2079/* Macros after this point can all be overridden by user definitions in
2080 * section 1.
2081 */
2082
2083#ifndef YY_SKIP_YYWRAP
2084#ifdef __cplusplus
Eric Andersen72d8e442003-08-05 02:18:25 +00002085extern "C" int zconfwrap (void );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002086#else
Eric Andersen72d8e442003-08-05 02:18:25 +00002087extern int zconfwrap (void );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002088#endif
2089#endif
2090
Eric Andersen72d8e442003-08-05 02:18:25 +00002091 static void yyunput (int c,char *buf_ptr );
Eric Andersenc7bda1c2004-03-15 08:29:22 +00002092
Eric Andersenc9f20d92002-12-05 08:41:41 +00002093#ifndef yytext_ptr
Eric Andersen72d8e442003-08-05 02:18:25 +00002094static void yy_flex_strncpy (char *,yyconst char *,int );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002095#endif
2096
2097#ifdef YY_NEED_STRLEN
Eric Andersen72d8e442003-08-05 02:18:25 +00002098static int yy_flex_strlen (yyconst char * );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002099#endif
2100
2101#ifndef YY_NO_INPUT
Eric Andersen72d8e442003-08-05 02:18:25 +00002102
Eric Andersenc9f20d92002-12-05 08:41:41 +00002103#ifdef __cplusplus
Eric Andersen72d8e442003-08-05 02:18:25 +00002104static int yyinput (void );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002105#else
Eric Andersen72d8e442003-08-05 02:18:25 +00002106static int input (void );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002107#endif
2108
Eric Andersenc9f20d92002-12-05 08:41:41 +00002109#endif
2110
2111/* Amount of stuff to slurp up with each read. */
2112#ifndef YY_READ_BUF_SIZE
2113#define YY_READ_BUF_SIZE 8192
2114#endif
2115
2116/* Copy whatever the last rule matched to the standard output. */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002117#ifndef ECHO
2118/* This used to be an fputs(), but since the string might contain NUL's,
2119 * we now use fwrite().
2120 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002121#define ECHO (void) fwrite( zconftext, zconfleng, 1, zconfout )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002122#endif
2123
2124/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
2125 * is returned in "result".
2126 */
2127#ifndef YY_INPUT
2128#define YY_INPUT(buf,result,max_size) \
2129 errno=0; \
Eric Andersen72d8e442003-08-05 02:18:25 +00002130 while ( (result = read( fileno(zconfin), (char *) buf, max_size )) < 0 ) \
Eric Andersenc9f20d92002-12-05 08:41:41 +00002131 { \
2132 if( errno != EINTR) \
2133 { \
2134 YY_FATAL_ERROR( "input in flex scanner failed" ); \
2135 break; \
2136 } \
2137 errno=0; \
Eric Andersen72d8e442003-08-05 02:18:25 +00002138 clearerr(zconfin); \
2139 }\
2140\
2141
Eric Andersenc9f20d92002-12-05 08:41:41 +00002142#endif
2143
2144/* No semi-colon after return; correct usage is to write "yyterminate();" -
2145 * we don't want an extra ';' after the "return" because that will cause
2146 * some compilers to complain about unreachable statements.
2147 */
2148#ifndef yyterminate
2149#define yyterminate() return YY_NULL
2150#endif
2151
2152/* Number of entries by which start-condition stack grows. */
2153#ifndef YY_START_STACK_INCR
2154#define YY_START_STACK_INCR 25
2155#endif
2156
2157/* Report a fatal error. */
2158#ifndef YY_FATAL_ERROR
2159#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
2160#endif
2161
Eric Andersen72d8e442003-08-05 02:18:25 +00002162/* end tables serialization structures and prototypes */
2163
Eric Andersenc9f20d92002-12-05 08:41:41 +00002164/* Default declaration of generated scanner - a define so the user can
2165 * easily add parameters.
2166 */
2167#ifndef YY_DECL
Eric Andersen72d8e442003-08-05 02:18:25 +00002168#define YY_DECL_IS_OURS 1
Eric Andersenc9f20d92002-12-05 08:41:41 +00002169
Eric Andersen72d8e442003-08-05 02:18:25 +00002170extern int zconflex (void);
2171
2172#define YY_DECL int zconflex (void)
2173#endif /* !YY_DECL */
2174
2175/* Code executed at the beginning of each rule, after zconftext and zconfleng
Eric Andersenc9f20d92002-12-05 08:41:41 +00002176 * have been set up.
2177 */
2178#ifndef YY_USER_ACTION
2179#define YY_USER_ACTION
2180#endif
2181
2182/* Code executed at the end of each rule. */
2183#ifndef YY_BREAK
2184#define YY_BREAK break;
2185#endif
2186
2187#define YY_RULE_SETUP \
2188 YY_USER_ACTION
2189
Eric Andersen72d8e442003-08-05 02:18:25 +00002190/** The main scanner function which does all the work.
2191 */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002192YY_DECL
Eric Andersen72d8e442003-08-05 02:18:25 +00002193{
Eric Andersenc9f20d92002-12-05 08:41:41 +00002194 register yy_state_type yy_current_state;
2195 register char *yy_cp, *yy_bp;
2196 register int yy_act;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00002197
Eric Andersenc9f20d92002-12-05 08:41:41 +00002198 int str = 0;
2199 int ts, i;
2200
Eric Andersen72d8e442003-08-05 02:18:25 +00002201 if ( (yy_init) )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002202 {
Eric Andersen72d8e442003-08-05 02:18:25 +00002203 (yy_init) = 0;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002204
2205#ifdef YY_USER_INIT
2206 YY_USER_INIT;
2207#endif
2208
Eric Andersen72d8e442003-08-05 02:18:25 +00002209 if ( ! (yy_start) )
2210 (yy_start) = 1; /* first start state */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002211
Eric Andersen72d8e442003-08-05 02:18:25 +00002212 if ( ! zconfin )
2213 zconfin = stdin;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002214
Eric Andersen72d8e442003-08-05 02:18:25 +00002215 if ( ! zconfout )
2216 zconfout = stdout;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002217
Eric Andersen72d8e442003-08-05 02:18:25 +00002218 if ( ! YY_CURRENT_BUFFER ) {
2219 zconfensure_buffer_stack ();
2220 YY_CURRENT_BUFFER_LVALUE =
2221 zconf_create_buffer(zconfin,YY_BUF_SIZE );
2222 }
Eric Andersenc9f20d92002-12-05 08:41:41 +00002223
Eric Andersen72d8e442003-08-05 02:18:25 +00002224 zconf_load_buffer_state( );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002225 }
2226
2227 while ( 1 ) /* loops until end-of-file is reached */
2228 {
Eric Andersen72d8e442003-08-05 02:18:25 +00002229 yy_cp = (yy_c_buf_p);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002230
Eric Andersen72d8e442003-08-05 02:18:25 +00002231 /* Support of zconftext. */
2232 *yy_cp = (yy_hold_char);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002233
2234 /* yy_bp points to the position in yy_ch_buf of the start of
2235 * the current run.
2236 */
2237 yy_bp = yy_cp;
2238
Eric Andersen72d8e442003-08-05 02:18:25 +00002239 yy_current_state = (yy_start);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002240yy_match:
Eric Andersen72d8e442003-08-05 02:18:25 +00002241 while ( (yy_current_state = yy_nxt[yy_current_state][ yy_ec[YY_SC_TO_UI(*yy_cp)] ]) > 0 )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002242 ++yy_cp;
2243
2244 yy_current_state = -yy_current_state;
2245
2246yy_find_action:
2247 yy_act = yy_accept[yy_current_state];
2248
2249 YY_DO_BEFORE_ACTION;
2250
Eric Andersenc9f20d92002-12-05 08:41:41 +00002251do_action: /* This label is used only to access EOF actions. */
2252
Eric Andersenc9f20d92002-12-05 08:41:41 +00002253 switch ( yy_act )
2254 { /* beginning of action switch */
2255case 1:
Eric Andersen72d8e442003-08-05 02:18:25 +00002256/* rule 1 can match eol */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002257YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002258current_file->lineno++;
2259 YY_BREAK
2260case 2:
2261YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002262
2263 YY_BREAK
2264case 3:
Eric Andersen72d8e442003-08-05 02:18:25 +00002265/* rule 3 can match eol */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002266YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002267current_file->lineno++; return T_EOL;
2268 YY_BREAK
2269case 4:
2270YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002271{
2272 BEGIN(COMMAND);
2273}
2274 YY_BREAK
2275case 5:
2276YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002277{
Eric Andersen72d8e442003-08-05 02:18:25 +00002278 unput(zconftext[0]);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002279 BEGIN(COMMAND);
2280}
2281 YY_BREAK
2282
2283case 6:
2284YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002285BEGIN(PARAM); return T_MAINMENU;
2286 YY_BREAK
2287case 7:
2288YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002289BEGIN(PARAM); return T_MENU;
2290 YY_BREAK
2291case 8:
2292YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002293BEGIN(PARAM); return T_ENDMENU;
2294 YY_BREAK
2295case 9:
2296YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002297BEGIN(PARAM); return T_SOURCE;
2298 YY_BREAK
2299case 10:
2300YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002301BEGIN(PARAM); return T_CHOICE;
2302 YY_BREAK
2303case 11:
2304YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002305BEGIN(PARAM); return T_ENDCHOICE;
2306 YY_BREAK
2307case 12:
2308YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002309BEGIN(PARAM); return T_COMMENT;
2310 YY_BREAK
2311case 13:
2312YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002313BEGIN(PARAM); return T_CONFIG;
2314 YY_BREAK
2315case 14:
2316YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002317BEGIN(PARAM); return T_MENUCONFIG;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002318 YY_BREAK
2319case 15:
2320YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002321BEGIN(PARAM); return T_HELP;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002322 YY_BREAK
2323case 16:
2324YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002325BEGIN(PARAM); return T_IF;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002326 YY_BREAK
2327case 17:
2328YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002329BEGIN(PARAM); return T_ENDIF;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002330 YY_BREAK
2331case 18:
2332YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002333BEGIN(PARAM); return T_DEPENDS;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002334 YY_BREAK
2335case 19:
2336YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002337BEGIN(PARAM); return T_REQUIRES;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002338 YY_BREAK
2339case 20:
2340YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002341BEGIN(PARAM); return T_OPTIONAL;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002342 YY_BREAK
2343case 21:
2344YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002345BEGIN(PARAM); return T_DEFAULT;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002346 YY_BREAK
2347case 22:
2348YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002349BEGIN(PARAM); return T_PROMPT;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002350 YY_BREAK
2351case 23:
2352YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002353BEGIN(PARAM); return T_TRISTATE;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002354 YY_BREAK
2355case 24:
2356YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002357BEGIN(PARAM); return T_DEF_TRISTATE;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002358 YY_BREAK
2359case 25:
2360YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002361BEGIN(PARAM); return T_BOOLEAN;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002362 YY_BREAK
2363case 26:
2364YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002365BEGIN(PARAM); return T_BOOLEAN;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002366 YY_BREAK
2367case 27:
2368YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002369BEGIN(PARAM); return T_DEF_BOOLEAN;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002370 YY_BREAK
2371case 28:
2372YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002373BEGIN(PARAM); return T_DEF_BOOLEAN;
2374 YY_BREAK
2375case 29:
2376YY_RULE_SETUP
2377BEGIN(PARAM); return T_INT;
2378 YY_BREAK
2379case 30:
2380YY_RULE_SETUP
2381BEGIN(PARAM); return T_HEX;
2382 YY_BREAK
2383case 31:
2384YY_RULE_SETUP
2385BEGIN(PARAM); return T_STRING;
2386 YY_BREAK
2387case 32:
2388YY_RULE_SETUP
2389BEGIN(PARAM); return T_SELECT;
2390 YY_BREAK
2391case 33:
2392YY_RULE_SETUP
2393BEGIN(PARAM); return T_SELECT;
2394 YY_BREAK
2395case 34:
2396YY_RULE_SETUP
2397BEGIN(PARAM); return T_RANGE;
2398 YY_BREAK
2399case 35:
2400YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002401{
Eric Andersen72d8e442003-08-05 02:18:25 +00002402 alloc_string(zconftext, zconfleng);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002403 zconflval.string = text;
2404 return T_WORD;
2405 }
2406 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002407case 36:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002408YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002409
2410 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002411case 37:
2412/* rule 37 can match eol */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002413YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002414current_file->lineno++; BEGIN(INITIAL);
2415 YY_BREAK
2416
Eric Andersenc9f20d92002-12-05 08:41:41 +00002417case 38:
2418YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002419return T_AND;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002420 YY_BREAK
2421case 39:
2422YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002423return T_OR;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002424 YY_BREAK
2425case 40:
2426YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002427return T_OPEN_PAREN;
2428 YY_BREAK
2429case 41:
2430YY_RULE_SETUP
2431return T_CLOSE_PAREN;
2432 YY_BREAK
2433case 42:
2434YY_RULE_SETUP
2435return T_NOT;
2436 YY_BREAK
2437case 43:
2438YY_RULE_SETUP
2439return T_EQUAL;
2440 YY_BREAK
2441case 44:
2442YY_RULE_SETUP
2443return T_UNEQUAL;
2444 YY_BREAK
2445case 45:
2446YY_RULE_SETUP
2447return T_IF;
2448 YY_BREAK
2449case 46:
2450YY_RULE_SETUP
2451return T_ON;
2452 YY_BREAK
2453case 47:
2454YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002455{
Eric Andersen72d8e442003-08-05 02:18:25 +00002456 str = zconftext[0];
Eric Andersenc9f20d92002-12-05 08:41:41 +00002457 new_string();
2458 BEGIN(STRING);
2459 }
2460 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002461case 48:
2462/* rule 48 can match eol */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002463YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002464BEGIN(INITIAL); current_file->lineno++; return T_EOL;
2465 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002466case 49:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002467YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002468/* ignore */
2469 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002470case 50:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002471YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002472{
Eric Andersen72d8e442003-08-05 02:18:25 +00002473 alloc_string(zconftext, zconfleng);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002474 zconflval.string = text;
2475 return T_WORD;
2476 }
2477 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002478case 51:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002479YY_RULE_SETUP
Eric Andersen72d8e442003-08-05 02:18:25 +00002480/* comment */
2481 YY_BREAK
2482case 52:
2483/* rule 52 can match eol */
2484YY_RULE_SETUP
2485current_file->lineno++;
2486 YY_BREAK
2487case 53:
2488YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002489
2490 YY_BREAK
2491case YY_STATE_EOF(PARAM):
Eric Andersenc9f20d92002-12-05 08:41:41 +00002492{
2493 BEGIN(INITIAL);
2494 }
2495 YY_BREAK
2496
Eric Andersen72d8e442003-08-05 02:18:25 +00002497case 54:
2498/* rule 54 can match eol */
2499*yy_cp = (yy_hold_char); /* undo effects of setting up zconftext */
2500(yy_c_buf_p) = yy_cp -= 1;
2501YY_DO_BEFORE_ACTION; /* set up zconftext again */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002502YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002503{
Eric Andersen72d8e442003-08-05 02:18:25 +00002504 append_string(zconftext, zconfleng);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002505 zconflval.string = text;
Eric Andersen72d8e442003-08-05 02:18:25 +00002506 return T_WORD_QUOTE;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002507 }
2508 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002509case 55:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002510YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002511{
Eric Andersen72d8e442003-08-05 02:18:25 +00002512 append_string(zconftext, zconfleng);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002513 }
2514 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002515case 56:
2516/* rule 56 can match eol */
2517*yy_cp = (yy_hold_char); /* undo effects of setting up zconftext */
2518(yy_c_buf_p) = yy_cp -= 1;
2519YY_DO_BEFORE_ACTION; /* set up zconftext again */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002520YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002521{
Eric Andersen72d8e442003-08-05 02:18:25 +00002522 append_string(zconftext + 1, zconfleng - 1);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002523 zconflval.string = text;
Eric Andersen72d8e442003-08-05 02:18:25 +00002524 return T_WORD_QUOTE;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002525 }
2526 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002527case 57:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002528YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002529{
Eric Andersen72d8e442003-08-05 02:18:25 +00002530 append_string(zconftext + 1, zconfleng - 1);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002531 }
2532 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002533case 58:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002534YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002535{
Eric Andersen72d8e442003-08-05 02:18:25 +00002536 if (str == zconftext[0]) {
Eric Andersenc9f20d92002-12-05 08:41:41 +00002537 BEGIN(PARAM);
2538 zconflval.string = text;
Eric Andersen72d8e442003-08-05 02:18:25 +00002539 return T_WORD_QUOTE;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002540 } else
Eric Andersen72d8e442003-08-05 02:18:25 +00002541 append_string(zconftext, 1);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002542 }
2543 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002544case 59:
2545/* rule 59 can match eol */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002546YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002547{
2548 printf("%s:%d:warning: multi-line strings not supported\n", zconf_curname(), zconf_lineno());
Eric Andersen72d8e442003-08-05 02:18:25 +00002549 current_file->lineno++;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002550 BEGIN(INITIAL);
2551 return T_EOL;
2552 }
2553 YY_BREAK
2554case YY_STATE_EOF(STRING):
Eric Andersenc9f20d92002-12-05 08:41:41 +00002555{
2556 BEGIN(INITIAL);
2557 }
2558 YY_BREAK
2559
Eric Andersen72d8e442003-08-05 02:18:25 +00002560case 60:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002561YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002562{
2563 ts = 0;
Eric Andersen72d8e442003-08-05 02:18:25 +00002564 for (i = 0; i < zconfleng; i++) {
2565 if (zconftext[i] == '\t')
Eric Andersenc9f20d92002-12-05 08:41:41 +00002566 ts = (ts & ~7) + 8;
2567 else
2568 ts++;
2569 }
2570 last_ts = ts;
2571 if (first_ts) {
2572 if (ts < first_ts) {
2573 zconf_endhelp();
2574 return T_HELPTEXT;
2575 }
2576 ts -= first_ts;
2577 while (ts > 8) {
2578 append_string(" ", 8);
2579 ts -= 8;
2580 }
2581 append_string(" ", ts);
2582 }
Eric Andersenc9f20d92002-12-05 08:41:41 +00002583 }
2584 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002585case 61:
2586/* rule 61 can match eol */
2587*yy_cp = (yy_hold_char); /* undo effects of setting up zconftext */
2588(yy_c_buf_p) = yy_cp -= 1;
2589YY_DO_BEFORE_ACTION; /* set up zconftext again */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002590YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002591{
2592 current_file->lineno++;
2593 zconf_endhelp();
2594 return T_HELPTEXT;
2595 }
2596 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002597case 62:
2598/* rule 62 can match eol */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002599YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002600{
2601 current_file->lineno++;
2602 append_string("\n", 1);
2603 }
2604 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002605case 63:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002606YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002607{
Eric Andersen72d8e442003-08-05 02:18:25 +00002608 append_string(zconftext, zconfleng);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002609 if (!first_ts)
2610 first_ts = last_ts;
2611 }
2612 YY_BREAK
2613case YY_STATE_EOF(HELP):
Eric Andersenc9f20d92002-12-05 08:41:41 +00002614{
2615 zconf_endhelp();
2616 return T_HELPTEXT;
2617 }
2618 YY_BREAK
2619
2620case YY_STATE_EOF(INITIAL):
2621case YY_STATE_EOF(COMMAND):
Eric Andersenc9f20d92002-12-05 08:41:41 +00002622{
2623 if (current_buf) {
2624 zconf_endfile();
2625 return T_EOF;
2626 }
Eric Andersen72d8e442003-08-05 02:18:25 +00002627 fclose(zconfin);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002628 yyterminate();
2629}
2630 YY_BREAK
Eric Andersen72d8e442003-08-05 02:18:25 +00002631case 64:
Eric Andersenc9f20d92002-12-05 08:41:41 +00002632YY_RULE_SETUP
Eric Andersenc9f20d92002-12-05 08:41:41 +00002633YY_FATAL_ERROR( "flex scanner jammed" );
2634 YY_BREAK
Eric Andersenc9f20d92002-12-05 08:41:41 +00002635
2636 case YY_END_OF_BUFFER:
2637 {
2638 /* Amount of text matched not including the EOB char. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002639 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002640
2641 /* Undo the effects of YY_DO_BEFORE_ACTION. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002642 *yy_cp = (yy_hold_char);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002643 YY_RESTORE_YY_MORE_OFFSET
2644
Eric Andersen72d8e442003-08-05 02:18:25 +00002645 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002646 {
2647 /* We're scanning a new file or input source. It's
2648 * possible that this happened because the user
Eric Andersen72d8e442003-08-05 02:18:25 +00002649 * just pointed zconfin at a new source and called
2650 * zconflex(). If so, then we have to assure
2651 * consistency between YY_CURRENT_BUFFER and our
Eric Andersenc9f20d92002-12-05 08:41:41 +00002652 * globals. Here is the right place to do so, because
2653 * this is the first action (other than possibly a
2654 * back-up) that will match for the new input source.
2655 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002656 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2657 YY_CURRENT_BUFFER_LVALUE->yy_input_file = zconfin;
2658 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002659 }
2660
2661 /* Note that here we test for yy_c_buf_p "<=" to the position
2662 * of the first EOB in the buffer, since yy_c_buf_p will
2663 * already have been incremented past the NUL character
2664 * (since all states make transitions on EOB to the
2665 * end-of-buffer state). Contrast this with the test
2666 * in input().
2667 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002668 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002669 { /* This was really a NUL. */
2670 yy_state_type yy_next_state;
2671
Eric Andersen72d8e442003-08-05 02:18:25 +00002672 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002673
Eric Andersen72d8e442003-08-05 02:18:25 +00002674 yy_current_state = yy_get_previous_state( );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002675
2676 /* Okay, we're now positioned to make the NUL
2677 * transition. We couldn't have
2678 * yy_get_previous_state() go ahead and do it
2679 * for us because it doesn't know how to deal
2680 * with the possibility of jamming (and we don't
2681 * want to build jamming into it because then it
2682 * will run more slowly).
2683 */
2684
2685 yy_next_state = yy_try_NUL_trans( yy_current_state );
2686
Eric Andersen72d8e442003-08-05 02:18:25 +00002687 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002688
2689 if ( yy_next_state )
2690 {
2691 /* Consume the NUL. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002692 yy_cp = ++(yy_c_buf_p);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002693 yy_current_state = yy_next_state;
2694 goto yy_match;
2695 }
2696
2697 else
2698 {
Eric Andersen72d8e442003-08-05 02:18:25 +00002699 yy_cp = (yy_c_buf_p);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002700 goto yy_find_action;
2701 }
2702 }
2703
Eric Andersen72d8e442003-08-05 02:18:25 +00002704 else switch ( yy_get_next_buffer( ) )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002705 {
2706 case EOB_ACT_END_OF_FILE:
2707 {
Eric Andersen72d8e442003-08-05 02:18:25 +00002708 (yy_did_buffer_switch_on_eof) = 0;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002709
Eric Andersen72d8e442003-08-05 02:18:25 +00002710 if ( zconfwrap( ) )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002711 {
2712 /* Note: because we've taken care in
2713 * yy_get_next_buffer() to have set up
Eric Andersen72d8e442003-08-05 02:18:25 +00002714 * zconftext, we can now set up
Eric Andersenc9f20d92002-12-05 08:41:41 +00002715 * yy_c_buf_p so that if some total
2716 * hoser (like flex itself) wants to
2717 * call the scanner after we return the
2718 * YY_NULL, it'll still work - another
2719 * YY_NULL will get returned.
2720 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002721 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002722
2723 yy_act = YY_STATE_EOF(YY_START);
2724 goto do_action;
2725 }
2726
2727 else
2728 {
Eric Andersen72d8e442003-08-05 02:18:25 +00002729 if ( ! (yy_did_buffer_switch_on_eof) )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002730 YY_NEW_FILE;
2731 }
2732 break;
2733 }
2734
2735 case EOB_ACT_CONTINUE_SCAN:
Eric Andersen72d8e442003-08-05 02:18:25 +00002736 (yy_c_buf_p) =
2737 (yytext_ptr) + yy_amount_of_matched_text;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002738
Eric Andersen72d8e442003-08-05 02:18:25 +00002739 yy_current_state = yy_get_previous_state( );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002740
Eric Andersen72d8e442003-08-05 02:18:25 +00002741 yy_cp = (yy_c_buf_p);
2742 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002743 goto yy_match;
2744
2745 case EOB_ACT_LAST_MATCH:
Eric Andersen72d8e442003-08-05 02:18:25 +00002746 (yy_c_buf_p) =
2747 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
Eric Andersenc9f20d92002-12-05 08:41:41 +00002748
Eric Andersen72d8e442003-08-05 02:18:25 +00002749 yy_current_state = yy_get_previous_state( );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002750
Eric Andersen72d8e442003-08-05 02:18:25 +00002751 yy_cp = (yy_c_buf_p);
2752 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002753 goto yy_find_action;
2754 }
2755 break;
2756 }
2757
2758 default:
2759 YY_FATAL_ERROR(
2760 "fatal flex scanner internal error--no action found" );
2761 } /* end of action switch */
2762 } /* end of scanning one token */
Eric Andersen72d8e442003-08-05 02:18:25 +00002763} /* end of zconflex */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002764
2765/* yy_get_next_buffer - try to read in a new buffer
2766 *
2767 * Returns a code representing an action:
2768 * EOB_ACT_LAST_MATCH -
2769 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2770 * EOB_ACT_END_OF_FILE - end of file
2771 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002772static int yy_get_next_buffer (void)
2773{
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00002774 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
Eric Andersen72d8e442003-08-05 02:18:25 +00002775 register char *source = (yytext_ptr);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002776 register int number_to_move, i;
2777 int ret_val;
2778
Eric Andersen72d8e442003-08-05 02:18:25 +00002779 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002780 YY_FATAL_ERROR(
2781 "fatal flex scanner internal error--end of buffer missed" );
2782
Eric Andersen72d8e442003-08-05 02:18:25 +00002783 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002784 { /* Don't try to fill the buffer, so this is an EOF. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002785 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002786 {
2787 /* We matched a single character, the EOB, so
2788 * treat this as a final EOF.
2789 */
2790 return EOB_ACT_END_OF_FILE;
2791 }
2792
2793 else
2794 {
2795 /* We matched some text prior to the EOB, first
2796 * process it.
2797 */
2798 return EOB_ACT_LAST_MATCH;
2799 }
2800 }
2801
2802 /* Try to read more data. */
2803
2804 /* First move last chars to start of buffer. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002805 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002806
2807 for ( i = 0; i < number_to_move; ++i )
2808 *(dest++) = *(source++);
2809
Eric Andersen72d8e442003-08-05 02:18:25 +00002810 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002811 /* don't do the read, it's not guaranteed to return an EOF,
2812 * just force an EOF
2813 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002814 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002815
2816 else
2817 {
Eric Andersen72d8e442003-08-05 02:18:25 +00002818 size_t num_to_read =
2819 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002820
2821 while ( num_to_read <= 0 )
2822 { /* Not enough room in the buffer - grow it. */
Eric Andersenc9f20d92002-12-05 08:41:41 +00002823
2824 /* just a shorter name for the current buffer */
Eric Andersen72d8e442003-08-05 02:18:25 +00002825 YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002826
2827 int yy_c_buf_p_offset =
Eric Andersen72d8e442003-08-05 02:18:25 +00002828 (int) ((yy_c_buf_p) - b->yy_ch_buf);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002829
2830 if ( b->yy_is_our_buffer )
2831 {
2832 int new_size = b->yy_buf_size * 2;
2833
2834 if ( new_size <= 0 )
2835 b->yy_buf_size += b->yy_buf_size / 8;
2836 else
2837 b->yy_buf_size *= 2;
2838
2839 b->yy_ch_buf = (char *)
2840 /* Include room in for 2 EOB chars. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002841 zconfrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002842 }
2843 else
2844 /* Can't grow it, we don't own it. */
2845 b->yy_ch_buf = 0;
2846
2847 if ( ! b->yy_ch_buf )
2848 YY_FATAL_ERROR(
2849 "fatal error - scanner input buffer overflow" );
2850
Eric Andersen72d8e442003-08-05 02:18:25 +00002851 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
Eric Andersenc9f20d92002-12-05 08:41:41 +00002852
Eric Andersen72d8e442003-08-05 02:18:25 +00002853 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
Eric Andersenc9f20d92002-12-05 08:41:41 +00002854 number_to_move - 1;
Eric Andersen72d8e442003-08-05 02:18:25 +00002855
Eric Andersenc9f20d92002-12-05 08:41:41 +00002856 }
2857
2858 if ( num_to_read > YY_READ_BUF_SIZE )
2859 num_to_read = YY_READ_BUF_SIZE;
2860
2861 /* Read in more data. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002862 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
2863 (yy_n_chars), num_to_read );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002864
Eric Andersen72d8e442003-08-05 02:18:25 +00002865 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002866 }
2867
Eric Andersen72d8e442003-08-05 02:18:25 +00002868 if ( (yy_n_chars) == 0 )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002869 {
2870 if ( number_to_move == YY_MORE_ADJ )
2871 {
2872 ret_val = EOB_ACT_END_OF_FILE;
Eric Andersen72d8e442003-08-05 02:18:25 +00002873 zconfrestart(zconfin );
Eric Andersenc9f20d92002-12-05 08:41:41 +00002874 }
2875
2876 else
2877 {
2878 ret_val = EOB_ACT_LAST_MATCH;
Eric Andersen72d8e442003-08-05 02:18:25 +00002879 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
Eric Andersenc9f20d92002-12-05 08:41:41 +00002880 YY_BUFFER_EOF_PENDING;
2881 }
2882 }
2883
2884 else
2885 ret_val = EOB_ACT_CONTINUE_SCAN;
2886
Eric Andersen72d8e442003-08-05 02:18:25 +00002887 (yy_n_chars) += number_to_move;
2888 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
2889 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002890
Eric Andersen72d8e442003-08-05 02:18:25 +00002891 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
Eric Andersenc9f20d92002-12-05 08:41:41 +00002892
2893 return ret_val;
Eric Andersen72d8e442003-08-05 02:18:25 +00002894}
Eric Andersenc9f20d92002-12-05 08:41:41 +00002895
2896/* yy_get_previous_state - get the state just before the EOB char was reached */
2897
Eric Andersen72d8e442003-08-05 02:18:25 +00002898 static yy_state_type yy_get_previous_state (void)
2899{
Eric Andersenc9f20d92002-12-05 08:41:41 +00002900 register yy_state_type yy_current_state;
2901 register char *yy_cp;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00002902
Eric Andersen72d8e442003-08-05 02:18:25 +00002903 yy_current_state = (yy_start);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002904
Eric Andersen72d8e442003-08-05 02:18:25 +00002905 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002906 {
2907 yy_current_state = yy_nxt[yy_current_state][(*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1)];
2908 }
2909
2910 return yy_current_state;
Eric Andersen72d8e442003-08-05 02:18:25 +00002911}
Eric Andersenc9f20d92002-12-05 08:41:41 +00002912
2913/* yy_try_NUL_trans - try to make a transition on the NUL character
2914 *
2915 * synopsis
2916 * next_state = yy_try_NUL_trans( current_state );
2917 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002918 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
2919{
Eric Andersenc9f20d92002-12-05 08:41:41 +00002920 register int yy_is_jam;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00002921
Eric Andersenc9f20d92002-12-05 08:41:41 +00002922 yy_current_state = yy_nxt[yy_current_state][1];
2923 yy_is_jam = (yy_current_state <= 0);
2924
2925 return yy_is_jam ? 0 : yy_current_state;
Eric Andersen72d8e442003-08-05 02:18:25 +00002926}
Eric Andersenc9f20d92002-12-05 08:41:41 +00002927
Eric Andersen72d8e442003-08-05 02:18:25 +00002928 static void yyunput (int c, register char * yy_bp )
2929{
2930 register char *yy_cp;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00002931
Eric Andersen72d8e442003-08-05 02:18:25 +00002932 yy_cp = (yy_c_buf_p);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002933
Eric Andersen72d8e442003-08-05 02:18:25 +00002934 /* undo effects of setting up zconftext */
2935 *yy_cp = (yy_hold_char);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002936
Eric Andersen72d8e442003-08-05 02:18:25 +00002937 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002938 { /* need to shift things up to make room */
2939 /* +2 for EOB chars. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002940 register int number_to_move = (yy_n_chars) + 2;
2941 register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
2942 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
Eric Andersenc9f20d92002-12-05 08:41:41 +00002943 register char *source =
Eric Andersen72d8e442003-08-05 02:18:25 +00002944 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
Eric Andersenc9f20d92002-12-05 08:41:41 +00002945
Eric Andersen72d8e442003-08-05 02:18:25 +00002946 while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002947 *--dest = *--source;
2948
2949 yy_cp += (int) (dest - source);
2950 yy_bp += (int) (dest - source);
Eric Andersen72d8e442003-08-05 02:18:25 +00002951 YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
2952 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
Eric Andersenc9f20d92002-12-05 08:41:41 +00002953
Eric Andersen72d8e442003-08-05 02:18:25 +00002954 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002955 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2956 }
2957
2958 *--yy_cp = (char) c;
2959
Eric Andersen72d8e442003-08-05 02:18:25 +00002960 (yytext_ptr) = yy_bp;
2961 (yy_hold_char) = *yy_cp;
2962 (yy_c_buf_p) = yy_cp;
2963}
Eric Andersenc9f20d92002-12-05 08:41:41 +00002964
Eric Andersen72d8e442003-08-05 02:18:25 +00002965#ifndef YY_NO_INPUT
Eric Andersenc9f20d92002-12-05 08:41:41 +00002966#ifdef __cplusplus
Eric Andersen72d8e442003-08-05 02:18:25 +00002967 static int yyinput (void)
Eric Andersenc9f20d92002-12-05 08:41:41 +00002968#else
Eric Andersen72d8e442003-08-05 02:18:25 +00002969 static int input (void)
Eric Andersenc9f20d92002-12-05 08:41:41 +00002970#endif
Eric Andersen72d8e442003-08-05 02:18:25 +00002971
2972{
Eric Andersenc9f20d92002-12-05 08:41:41 +00002973 int c;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00002974
Eric Andersen72d8e442003-08-05 02:18:25 +00002975 *(yy_c_buf_p) = (yy_hold_char);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002976
Eric Andersen72d8e442003-08-05 02:18:25 +00002977 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002978 {
2979 /* yy_c_buf_p now points to the character we want to return.
2980 * If this occurs *before* the EOB characters, then it's a
2981 * valid NUL; if not, then we've hit the end of the buffer.
2982 */
Eric Andersen72d8e442003-08-05 02:18:25 +00002983 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002984 /* This was really a NUL. */
Eric Andersen72d8e442003-08-05 02:18:25 +00002985 *(yy_c_buf_p) = '\0';
Eric Andersenc9f20d92002-12-05 08:41:41 +00002986
2987 else
2988 { /* need more input */
Eric Andersen72d8e442003-08-05 02:18:25 +00002989 int offset = (yy_c_buf_p) - (yytext_ptr);
2990 ++(yy_c_buf_p);
Eric Andersenc9f20d92002-12-05 08:41:41 +00002991
Eric Andersen72d8e442003-08-05 02:18:25 +00002992 switch ( yy_get_next_buffer( ) )
Eric Andersenc9f20d92002-12-05 08:41:41 +00002993 {
2994 case EOB_ACT_LAST_MATCH:
2995 /* This happens because yy_g_n_b()
2996 * sees that we've accumulated a
2997 * token and flags that we need to
2998 * try matching the token before
2999 * proceeding. But for input(),
3000 * there's no matching to consider.
3001 * So convert the EOB_ACT_LAST_MATCH
3002 * to EOB_ACT_END_OF_FILE.
3003 */
3004
3005 /* Reset buffer status. */
Eric Andersen72d8e442003-08-05 02:18:25 +00003006 zconfrestart(zconfin );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003007
Eric Andersen72d8e442003-08-05 02:18:25 +00003008 /*FALLTHROUGH*/
Eric Andersenc9f20d92002-12-05 08:41:41 +00003009
3010 case EOB_ACT_END_OF_FILE:
3011 {
Eric Andersen72d8e442003-08-05 02:18:25 +00003012 if ( zconfwrap( ) )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003013 return EOF;
3014
Eric Andersen72d8e442003-08-05 02:18:25 +00003015 if ( ! (yy_did_buffer_switch_on_eof) )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003016 YY_NEW_FILE;
3017#ifdef __cplusplus
3018 return yyinput();
3019#else
3020 return input();
3021#endif
3022 }
3023
3024 case EOB_ACT_CONTINUE_SCAN:
Eric Andersen72d8e442003-08-05 02:18:25 +00003025 (yy_c_buf_p) = (yytext_ptr) + offset;
Eric Andersenc9f20d92002-12-05 08:41:41 +00003026 break;
3027 }
3028 }
3029 }
3030
Eric Andersen72d8e442003-08-05 02:18:25 +00003031 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
3032 *(yy_c_buf_p) = '\0'; /* preserve zconftext */
3033 (yy_hold_char) = *++(yy_c_buf_p);
Eric Andersenc9f20d92002-12-05 08:41:41 +00003034
3035 return c;
Eric Andersen72d8e442003-08-05 02:18:25 +00003036}
3037#endif /* ifndef YY_NO_INPUT */
3038
3039/** Immediately switch to a different input stream.
3040 * @param input_file A readable stream.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003041 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003042 * @note This function does not reset the start condition to @c INITIAL .
3043 */
3044 void zconfrestart (FILE * input_file )
3045{
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003046
Eric Andersen72d8e442003-08-05 02:18:25 +00003047 if ( ! YY_CURRENT_BUFFER ){
3048 zconfensure_buffer_stack ();
3049 YY_CURRENT_BUFFER_LVALUE =
3050 zconf_create_buffer(zconfin,YY_BUF_SIZE );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003051 }
3052
Eric Andersen72d8e442003-08-05 02:18:25 +00003053 zconf_init_buffer(YY_CURRENT_BUFFER,input_file );
3054 zconf_load_buffer_state( );
3055}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003056
Eric Andersen72d8e442003-08-05 02:18:25 +00003057/** Switch to a different input buffer.
3058 * @param new_buffer The new input buffer.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003059 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003060 */
3061 void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer )
3062{
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003063
Eric Andersen72d8e442003-08-05 02:18:25 +00003064 /* TODO. We should be able to replace this entire function body
3065 * with
3066 * zconfpop_buffer_state();
3067 * zconfpush_buffer_state(new_buffer);
3068 */
3069 zconfensure_buffer_stack ();
3070 if ( YY_CURRENT_BUFFER == new_buffer )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003071 return;
3072
Eric Andersen72d8e442003-08-05 02:18:25 +00003073 if ( YY_CURRENT_BUFFER )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003074 {
3075 /* Flush out information for old buffer. */
Eric Andersen72d8e442003-08-05 02:18:25 +00003076 *(yy_c_buf_p) = (yy_hold_char);
3077 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3078 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
Eric Andersenc9f20d92002-12-05 08:41:41 +00003079 }
3080
Eric Andersen72d8e442003-08-05 02:18:25 +00003081 YY_CURRENT_BUFFER_LVALUE = new_buffer;
3082 zconf_load_buffer_state( );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003083
3084 /* We don't actually know whether we did this switch during
Eric Andersen72d8e442003-08-05 02:18:25 +00003085 * EOF (zconfwrap()) processing, but the only time this flag
3086 * is looked at is after zconfwrap() is called, so it's safe
Eric Andersenc9f20d92002-12-05 08:41:41 +00003087 * to go ahead and always set it.
3088 */
Eric Andersen72d8e442003-08-05 02:18:25 +00003089 (yy_did_buffer_switch_on_eof) = 1;
3090}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003091
Eric Andersen72d8e442003-08-05 02:18:25 +00003092static void zconf_load_buffer_state (void)
3093{
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00003094 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
Eric Andersen72d8e442003-08-05 02:18:25 +00003095 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
3096 zconfin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
3097 (yy_hold_char) = *(yy_c_buf_p);
3098}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003099
Eric Andersen72d8e442003-08-05 02:18:25 +00003100/** Allocate and initialize an input buffer state.
3101 * @param file A readable stream.
3102 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003103 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003104 * @return the allocated buffer state.
3105 */
3106 YY_BUFFER_STATE zconf_create_buffer (FILE * file, int size )
3107{
Eric Andersenc9f20d92002-12-05 08:41:41 +00003108 YY_BUFFER_STATE b;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003109
Eric Andersen72d8e442003-08-05 02:18:25 +00003110 b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003111 if ( ! b )
Eric Andersen72d8e442003-08-05 02:18:25 +00003112 YY_FATAL_ERROR( "out of dynamic memory in zconf_create_buffer()" );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003113
3114 b->yy_buf_size = size;
3115
3116 /* yy_ch_buf has to be 2 characters longer than the size given because
3117 * we need to put in 2 end-of-buffer characters.
3118 */
Eric Andersen72d8e442003-08-05 02:18:25 +00003119 b->yy_ch_buf = (char *) zconfalloc(b->yy_buf_size + 2 );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003120 if ( ! b->yy_ch_buf )
Eric Andersen72d8e442003-08-05 02:18:25 +00003121 YY_FATAL_ERROR( "out of dynamic memory in zconf_create_buffer()" );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003122
3123 b->yy_is_our_buffer = 1;
3124
Eric Andersen72d8e442003-08-05 02:18:25 +00003125 zconf_init_buffer(b,file );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003126
3127 return b;
Eric Andersen72d8e442003-08-05 02:18:25 +00003128}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003129
Eric Andersen72d8e442003-08-05 02:18:25 +00003130/** Destroy the buffer.
3131 * @param b a buffer created with zconf_create_buffer()
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003132 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003133 */
3134 void zconf_delete_buffer (YY_BUFFER_STATE b )
3135{
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003136
Eric Andersenc9f20d92002-12-05 08:41:41 +00003137 if ( ! b )
3138 return;
3139
Eric Andersen72d8e442003-08-05 02:18:25 +00003140 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
3141 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
Eric Andersenc9f20d92002-12-05 08:41:41 +00003142
3143 if ( b->yy_is_our_buffer )
Eric Andersen72d8e442003-08-05 02:18:25 +00003144 zconffree((void *) b->yy_ch_buf );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003145
Eric Andersen72d8e442003-08-05 02:18:25 +00003146 zconffree((void *) b );
3147}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003148
Eric Andersen72d8e442003-08-05 02:18:25 +00003149/* Initializes or reinitializes a buffer.
3150 * This function is sometimes called more than once on the same buffer,
3151 * such as during a zconfrestart() or at EOF.
3152 */
3153 static void zconf_init_buffer (YY_BUFFER_STATE b, FILE * file )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003154
Eric Andersen72d8e442003-08-05 02:18:25 +00003155{
3156 int oerrno = errno;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003157
Eric Andersen72d8e442003-08-05 02:18:25 +00003158 zconf_flush_buffer(b );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003159
3160 b->yy_input_file = file;
3161 b->yy_fill_buffer = 1;
3162
Eric Andersen72d8e442003-08-05 02:18:25 +00003163 /* If b is the current buffer, then zconf_init_buffer was _probably_
3164 * called from zconfrestart() or through yy_get_next_buffer.
3165 * In that case, we don't want to reset the lineno or column.
3166 */
3167 if (b != YY_CURRENT_BUFFER){
3168 b->yy_bs_lineno = 1;
3169 b->yy_bs_column = 0;
3170 }
Eric Andersenc9f20d92002-12-05 08:41:41 +00003171
Eric Andersen72d8e442003-08-05 02:18:25 +00003172 b->yy_is_interactive = 0;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003173
Eric Andersen72d8e442003-08-05 02:18:25 +00003174 errno = oerrno;
3175}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003176
Eric Andersen72d8e442003-08-05 02:18:25 +00003177/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
3178 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003179 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003180 */
3181 void zconf_flush_buffer (YY_BUFFER_STATE b )
3182{
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00003183 if ( ! b )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003184 return;
3185
3186 b->yy_n_chars = 0;
3187
3188 /* We always need two end-of-buffer characters. The first causes
3189 * a transition to the end-of-buffer state. The second causes
3190 * a jam in that state.
3191 */
3192 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
3193 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
3194
3195 b->yy_buf_pos = &b->yy_ch_buf[0];
3196
3197 b->yy_at_bol = 1;
3198 b->yy_buffer_status = YY_BUFFER_NEW;
3199
Eric Andersen72d8e442003-08-05 02:18:25 +00003200 if ( b == YY_CURRENT_BUFFER )
3201 zconf_load_buffer_state( );
3202}
3203
3204/** Pushes the new state onto the stack. The new state becomes
3205 * the current state. This function will allocate the stack
3206 * if necessary.
3207 * @param new_buffer The new state.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003208 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003209 */
3210void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer )
3211{
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00003212 if (new_buffer == NULL)
Eric Andersen72d8e442003-08-05 02:18:25 +00003213 return;
3214
3215 zconfensure_buffer_stack();
3216
3217 /* This block is copied from zconf_switch_to_buffer. */
3218 if ( YY_CURRENT_BUFFER )
3219 {
3220 /* Flush out information for old buffer. */
3221 *(yy_c_buf_p) = (yy_hold_char);
3222 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3223 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3224 }
3225
3226 /* Only push if top exists. Otherwise, replace top. */
3227 if (YY_CURRENT_BUFFER)
3228 (yy_buffer_stack_top)++;
3229 YY_CURRENT_BUFFER_LVALUE = new_buffer;
3230
3231 /* copied from zconf_switch_to_buffer. */
3232 zconf_load_buffer_state( );
3233 (yy_did_buffer_switch_on_eof) = 1;
3234}
3235
3236/** Removes and deletes the top of the stack, if present.
3237 * The next element becomes the new top.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003238 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003239 */
3240void zconfpop_buffer_state (void)
3241{
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00003242 if (!YY_CURRENT_BUFFER)
Eric Andersen72d8e442003-08-05 02:18:25 +00003243 return;
3244
3245 zconf_delete_buffer(YY_CURRENT_BUFFER );
3246 YY_CURRENT_BUFFER_LVALUE = NULL;
3247 if ((yy_buffer_stack_top) > 0)
3248 --(yy_buffer_stack_top);
3249
3250 if (YY_CURRENT_BUFFER) {
3251 zconf_load_buffer_state( );
3252 (yy_did_buffer_switch_on_eof) = 1;
3253 }
3254}
3255
3256/* Allocates the stack if it does not exist.
3257 * Guarantees space for at least one push.
3258 */
3259static void zconfensure_buffer_stack (void)
3260{
3261 int num_to_alloc;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003262
Eric Andersen72d8e442003-08-05 02:18:25 +00003263 if (!(yy_buffer_stack)) {
3264
3265 /* First allocation is just for 2 elements, since we don't know if this
3266 * scanner will even need a stack. We use 2 instead of 1 to avoid an
3267 * immediate realloc on the next call.
3268 */
3269 num_to_alloc = 1;
3270 (yy_buffer_stack) = (struct yy_buffer_state**)zconfalloc
3271 (num_to_alloc * sizeof(struct yy_buffer_state*)
3272 );
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003273
Eric Andersen72d8e442003-08-05 02:18:25 +00003274 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003275
Eric Andersen72d8e442003-08-05 02:18:25 +00003276 (yy_buffer_stack_max) = num_to_alloc;
3277 (yy_buffer_stack_top) = 0;
3278 return;
Eric Andersenc9f20d92002-12-05 08:41:41 +00003279 }
3280
Eric Andersen72d8e442003-08-05 02:18:25 +00003281 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
Eric Andersenc9f20d92002-12-05 08:41:41 +00003282
Eric Andersen72d8e442003-08-05 02:18:25 +00003283 /* Increase the buffer to prepare for a possible push. */
3284 int grow_size = 8 /* arbitrary grow size */;
3285
3286 num_to_alloc = (yy_buffer_stack_max) + grow_size;
3287 (yy_buffer_stack) = (struct yy_buffer_state**)zconfrealloc
3288 ((yy_buffer_stack),
3289 num_to_alloc * sizeof(struct yy_buffer_state*)
3290 );
3291
3292 /* zero only the new slots.*/
3293 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
3294 (yy_buffer_stack_max) = num_to_alloc;
3295 }
3296}
3297
3298/** Setup the input buffer state to scan directly from a user-specified character buffer.
3299 * @param base the character buffer
3300 * @param size the size in bytes of the character buffer
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003301 *
3302 * @return the newly allocated buffer state object.
Eric Andersen72d8e442003-08-05 02:18:25 +00003303 */
3304YY_BUFFER_STATE zconf_scan_buffer (char * base, yy_size_t size )
3305{
Eric Andersenc9f20d92002-12-05 08:41:41 +00003306 YY_BUFFER_STATE b;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003307
Eric Andersenc9f20d92002-12-05 08:41:41 +00003308 if ( size < 2 ||
3309 base[size-2] != YY_END_OF_BUFFER_CHAR ||
3310 base[size-1] != YY_END_OF_BUFFER_CHAR )
3311 /* They forgot to leave room for the EOB's. */
3312 return 0;
3313
Eric Andersen72d8e442003-08-05 02:18:25 +00003314 b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003315 if ( ! b )
Eric Andersen72d8e442003-08-05 02:18:25 +00003316 YY_FATAL_ERROR( "out of dynamic memory in zconf_scan_buffer()" );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003317
3318 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
3319 b->yy_buf_pos = b->yy_ch_buf = base;
3320 b->yy_is_our_buffer = 0;
3321 b->yy_input_file = 0;
3322 b->yy_n_chars = b->yy_buf_size;
3323 b->yy_is_interactive = 0;
3324 b->yy_at_bol = 1;
3325 b->yy_fill_buffer = 0;
3326 b->yy_buffer_status = YY_BUFFER_NEW;
3327
Eric Andersen72d8e442003-08-05 02:18:25 +00003328 zconf_switch_to_buffer(b );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003329
3330 return b;
Eric Andersen72d8e442003-08-05 02:18:25 +00003331}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003332
Eric Andersen72d8e442003-08-05 02:18:25 +00003333/** Setup the input buffer state to scan a string. The next call to zconflex() will
3334 * scan from a @e copy of @a str.
3335 * @param str a NUL-terminated string to scan
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003336 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003337 * @return the newly allocated buffer state object.
3338 * @note If you want to scan bytes that may contain NUL values, then use
3339 * zconf_scan_bytes() instead.
3340 */
3341YY_BUFFER_STATE zconf_scan_string (yyconst char * str )
3342{
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003343
Eric Andersen72d8e442003-08-05 02:18:25 +00003344 return zconf_scan_bytes(str,strlen(str) );
3345}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003346
Eric Andersen72d8e442003-08-05 02:18:25 +00003347/** Setup the input buffer state to scan the given bytes. The next call to zconflex() will
3348 * scan from a @e copy of @a bytes.
3349 * @param bytes the byte buffer to scan
3350 * @param len the number of bytes in the buffer pointed to by @a bytes.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003351 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003352 * @return the newly allocated buffer state object.
3353 */
3354YY_BUFFER_STATE zconf_scan_bytes (yyconst char * bytes, int len )
3355{
Eric Andersenc9f20d92002-12-05 08:41:41 +00003356 YY_BUFFER_STATE b;
3357 char *buf;
3358 yy_size_t n;
3359 int i;
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003360
Eric Andersenc9f20d92002-12-05 08:41:41 +00003361 /* Get memory for full buffer, including space for trailing EOB's. */
3362 n = len + 2;
Eric Andersen72d8e442003-08-05 02:18:25 +00003363 buf = (char *) zconfalloc(n );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003364 if ( ! buf )
Eric Andersen72d8e442003-08-05 02:18:25 +00003365 YY_FATAL_ERROR( "out of dynamic memory in zconf_scan_bytes()" );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003366
3367 for ( i = 0; i < len; ++i )
3368 buf[i] = bytes[i];
3369
3370 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
3371
Eric Andersen72d8e442003-08-05 02:18:25 +00003372 b = zconf_scan_buffer(buf,n );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003373 if ( ! b )
Eric Andersen72d8e442003-08-05 02:18:25 +00003374 YY_FATAL_ERROR( "bad buffer in zconf_scan_bytes()" );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003375
3376 /* It's okay to grow etc. this buffer, and we should throw it
3377 * away when we're done.
3378 */
3379 b->yy_is_our_buffer = 1;
3380
3381 return b;
Eric Andersen72d8e442003-08-05 02:18:25 +00003382}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003383
3384#ifndef YY_EXIT_FAILURE
3385#define YY_EXIT_FAILURE 2
3386#endif
3387
Eric Andersen72d8e442003-08-05 02:18:25 +00003388static void yy_fatal_error (yyconst char* msg )
3389{
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00003390 (void) fprintf( stderr, "%s\n", msg );
Eric Andersenc9f20d92002-12-05 08:41:41 +00003391 exit( YY_EXIT_FAILURE );
Eric Andersen72d8e442003-08-05 02:18:25 +00003392}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003393
3394/* Redefine yyless() so it works in section 3 code. */
3395
3396#undef yyless
3397#define yyless(n) \
3398 do \
3399 { \
Eric Andersen72d8e442003-08-05 02:18:25 +00003400 /* Undo effects of setting up zconftext. */ \
3401 int yyless_macro_arg = (n); \
3402 YY_LESS_LINENO(yyless_macro_arg);\
3403 zconftext[zconfleng] = (yy_hold_char); \
3404 (yy_c_buf_p) = zconftext + yyless_macro_arg; \
3405 (yy_hold_char) = *(yy_c_buf_p); \
3406 *(yy_c_buf_p) = '\0'; \
3407 zconfleng = yyless_macro_arg; \
Eric Andersenc9f20d92002-12-05 08:41:41 +00003408 } \
3409 while ( 0 )
3410
Eric Andersen72d8e442003-08-05 02:18:25 +00003411/* Accessor methods (get/set functions) to struct members. */
Eric Andersenc9f20d92002-12-05 08:41:41 +00003412
Eric Andersen72d8e442003-08-05 02:18:25 +00003413/** Get the current line number.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003414 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003415 */
3416int zconfget_lineno (void)
3417{
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003418
Eric Andersen72d8e442003-08-05 02:18:25 +00003419 return zconflineno;
3420}
3421
3422/** Get the input stream.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003423 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003424 */
3425FILE *zconfget_in (void)
3426{
3427 return zconfin;
3428}
3429
3430/** Get the output stream.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003431 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003432 */
3433FILE *zconfget_out (void)
3434{
3435 return zconfout;
3436}
3437
3438/** Get the length of the current token.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003439 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003440 */
3441int zconfget_leng (void)
3442{
3443 return zconfleng;
3444}
3445
3446/** Get the current token.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003447 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003448 */
3449
3450char *zconfget_text (void)
3451{
3452 return zconftext;
3453}
3454
3455/** Set the current line number.
3456 * @param line_number
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003457 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003458 */
3459void zconfset_lineno (int line_number )
3460{
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003461
Eric Andersen72d8e442003-08-05 02:18:25 +00003462 zconflineno = line_number;
3463}
3464
3465/** Set the input stream. This does not discard the current
3466 * input buffer.
3467 * @param in_str A readable stream.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003468 *
Eric Andersen72d8e442003-08-05 02:18:25 +00003469 * @see zconf_switch_to_buffer
3470 */
3471void zconfset_in (FILE * in_str )
3472{
3473 zconfin = in_str ;
3474}
3475
3476void zconfset_out (FILE * out_str )
3477{
3478 zconfout = out_str ;
3479}
3480
3481int zconfget_debug (void)
3482{
3483 return zconf_flex_debug;
3484}
3485
3486void zconfset_debug (int bdebug )
3487{
3488 zconf_flex_debug = bdebug ;
3489}
3490
3491/* zconflex_destroy is for both reentrant and non-reentrant scanners. */
3492int zconflex_destroy (void)
3493{
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003494
Eric Andersen72d8e442003-08-05 02:18:25 +00003495 /* Pop the buffer stack, destroying each element. */
3496 while(YY_CURRENT_BUFFER){
3497 zconf_delete_buffer(YY_CURRENT_BUFFER );
3498 YY_CURRENT_BUFFER_LVALUE = NULL;
3499 zconfpop_buffer_state();
3500 }
3501
3502 /* Destroy the stack itself. */
3503 zconffree((yy_buffer_stack) );
3504 (yy_buffer_stack) = NULL;
3505
3506 return 0;
3507}
3508
3509/*
3510 * Internal utility routines.
3511 */
Eric Andersenc9f20d92002-12-05 08:41:41 +00003512
3513#ifndef yytext_ptr
Eric Andersen72d8e442003-08-05 02:18:25 +00003514static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
3515{
Eric Andersenc9f20d92002-12-05 08:41:41 +00003516 register int i;
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00003517 for ( i = 0; i < n; ++i )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003518 s1[i] = s2[i];
Eric Andersen72d8e442003-08-05 02:18:25 +00003519}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003520#endif
3521
3522#ifdef YY_NEED_STRLEN
Eric Andersen72d8e442003-08-05 02:18:25 +00003523static int yy_flex_strlen (yyconst char * s )
3524{
Eric Andersenc9f20d92002-12-05 08:41:41 +00003525 register int n;
Tim Rikerc1ef7bd2006-01-25 00:08:53 +00003526 for ( n = 0; s[n]; ++n )
Eric Andersenc9f20d92002-12-05 08:41:41 +00003527 ;
3528
3529 return n;
Eric Andersen72d8e442003-08-05 02:18:25 +00003530}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003531#endif
3532
Eric Andersen72d8e442003-08-05 02:18:25 +00003533void *zconfalloc (yy_size_t size )
3534{
Eric Andersenc9f20d92002-12-05 08:41:41 +00003535 return (void *) malloc( size );
Eric Andersen72d8e442003-08-05 02:18:25 +00003536}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003537
Eric Andersen72d8e442003-08-05 02:18:25 +00003538void *zconfrealloc (void * ptr, yy_size_t size )
3539{
Eric Andersenc9f20d92002-12-05 08:41:41 +00003540 /* The cast to (char *) in the following accommodates both
3541 * implementations that use char* generic pointers, and those
3542 * that use void* generic pointers. It works with the latter
3543 * because both ANSI C and C++ allow castless assignment from
3544 * any pointer type to void*, and deal with argument conversions
3545 * as though doing an assignment.
3546 */
3547 return (void *) realloc( (char *) ptr, size );
Eric Andersen72d8e442003-08-05 02:18:25 +00003548}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003549
Eric Andersen72d8e442003-08-05 02:18:25 +00003550void zconffree (void * ptr )
3551{
3552 free( (char *) ptr ); /* see zconfrealloc() for (char *) cast */
3553}
Eric Andersenc9f20d92002-12-05 08:41:41 +00003554
Eric Andersen72d8e442003-08-05 02:18:25 +00003555#define YYTABLES_NAME "yytables"
3556
3557#undef YY_NEW_FILE
3558#undef YY_FLUSH_BUFFER
3559#undef yy_set_bol
3560#undef yy_new_buffer
3561#undef yy_set_interactive
3562#undef yytext_ptr
3563#undef YY_DO_BEFORE_ACTION
3564
3565#ifdef YY_DECL_IS_OURS
3566#undef YY_DECL_IS_OURS
3567#undef YY_DECL
Eric Andersenc9f20d92002-12-05 08:41:41 +00003568#endif
Eric Andersenc9f20d92002-12-05 08:41:41 +00003569
3570void zconf_starthelp(void)
3571{
3572 new_string();
3573 last_ts = first_ts = 0;
3574 BEGIN(HELP);
3575}
3576
3577static void zconf_endhelp(void)
3578{
3579 zconflval.string = text;
Eric Andersen72d8e442003-08-05 02:18:25 +00003580 BEGIN(INITIAL);
3581}
3582
3583/*
3584 * Try to open specified file with following names:
3585 * ./name
3586 * $(srctree)/name
3587 * The latter is used when srctree is separate from objtree
3588 * when compiling the kernel.
3589 * Return NULL if file is not found.
3590 */
3591FILE *zconf_fopen(const char *name)
3592{
3593 char *env, fullname[PATH_MAX+1];
3594 FILE *f;
3595
3596 f = fopen(name, "r");
3597 if (!f && name[0] != '/') {
3598 env = getenv(SRCTREE);
3599 if (env) {
3600 sprintf(fullname, "%s/%s", env, name);
3601 f = fopen(fullname, "r");
3602 }
3603 }
3604 return f;
Eric Andersenc9f20d92002-12-05 08:41:41 +00003605}
3606
3607void zconf_initscan(const char *name)
3608{
Eric Andersen72d8e442003-08-05 02:18:25 +00003609 zconfin = zconf_fopen(name);
3610 if (!zconfin) {
Eric Andersenc9f20d92002-12-05 08:41:41 +00003611 printf("can't find file %s\n", name);
3612 exit(1);
3613 }
3614
3615 current_buf = malloc(sizeof(*current_buf));
3616 memset(current_buf, 0, sizeof(*current_buf));
3617
3618 current_file = file_lookup(name);
3619 current_file->lineno = 1;
3620 current_file->flags = FILE_BUSY;
3621}
3622
3623void zconf_nextfile(const char *name)
3624{
3625 struct file *file = file_lookup(name);
3626 struct buffer *buf = malloc(sizeof(*buf));
3627 memset(buf, 0, sizeof(*buf));
3628
3629 current_buf->state = YY_CURRENT_BUFFER;
Eric Andersen72d8e442003-08-05 02:18:25 +00003630 zconfin = zconf_fopen(name);
3631 if (!zconfin) {
Eric Andersenc9f20d92002-12-05 08:41:41 +00003632 printf("%s:%d: can't open file \"%s\"\n", zconf_curname(), zconf_lineno(), name);
3633 exit(1);
3634 }
Eric Andersen72d8e442003-08-05 02:18:25 +00003635 zconf_switch_to_buffer(zconf_create_buffer(zconfin,YY_BUF_SIZE));
Eric Andersenc9f20d92002-12-05 08:41:41 +00003636 buf->parent = current_buf;
3637 current_buf = buf;
3638
3639 if (file->flags & FILE_BUSY) {
3640 printf("recursive scan (%s)?\n", name);
3641 exit(1);
3642 }
3643 if (file->flags & FILE_SCANNED) {
3644 printf("file %s already scanned?\n", name);
3645 exit(1);
3646 }
3647 file->flags |= FILE_BUSY;
3648 file->lineno = 1;
3649 file->parent = current_file;
3650 current_file = file;
3651}
3652
3653static struct buffer *zconf_endfile(void)
3654{
3655 struct buffer *parent;
3656
3657 current_file->flags |= FILE_SCANNED;
3658 current_file->flags &= ~FILE_BUSY;
3659 current_file = current_file->parent;
3660
3661 parent = current_buf->parent;
3662 if (parent) {
Eric Andersen72d8e442003-08-05 02:18:25 +00003663 fclose(zconfin);
3664 zconf_delete_buffer(YY_CURRENT_BUFFER);
3665 zconf_switch_to_buffer(parent->state);
Eric Andersenc9f20d92002-12-05 08:41:41 +00003666 }
3667 free(current_buf);
3668 current_buf = parent;
3669
3670 return parent;
3671}
3672
3673int zconf_lineno(void)
3674{
3675 if (current_buf)
Eric Andersen72d8e442003-08-05 02:18:25 +00003676 return current_file->lineno - 1;
Eric Andersenc9f20d92002-12-05 08:41:41 +00003677 else
3678 return 0;
3679}
3680
3681char *zconf_curname(void)
3682{
3683 if (current_buf)
3684 return current_file->name;
3685 else
3686 return "<none>";
3687}
Eric Andersen72d8e442003-08-05 02:18:25 +00003688