undns 0.4.0a

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