Debian Codegraph @

lexsrc.c

raw
1 #define yy_create_buffer __regina_create_buffer
2 #define yy_delete_buffer __regina_delete_buffer
3 #define yy_scan_buffer __regina_scan_buffer
4 #define yy_scan_string __regina_scan_string
5 #define yy_scan_bytes __regina_scan_bytes
6 #define yy_flex_debug __regina_flex_debug
7 #define yy_init_buffer __regina_init_buffer
8 #define yy_flush_buffer __regina_flush_buffer
9 #define yy_load_buffer_state __regina_load_buffer_state
10 #define yy_switch_to_buffer __regina_switch_to_buffer
11 #define yyin __reginain
12 #define yyleng __reginaleng
13 #define yylex __reginalex
14 #define yyout __reginaout
15 #define yyrestart __reginarestart
16 #define yytext __reginatext
17 #define yywrap __reginawrap
18
19 #line 20 "./lexsrc.c"
20 /* A lexical scanner generated by flex */
21
22 /* This skeleton will only work with versions of flex prior to 2.5.33 (at least).
23 * Known to work with flex v2.5.4a
24 */
25
26 #define FLEX_SCANNER
27 #define YY_FLEX_MAJOR_VERSION 2
28 #define YY_FLEX_MINOR_VERSION 5
29 #define YY_FLEX_SUBMINOR_VERSION 4
30
31 #include <stdio.h>
32 #line 15 "flex.skl"
33
34
35 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
36 #ifdef c_plusplus
37 #ifndef __cplusplus
38 #define __cplusplus
39 #endif
40 #endif
41
42
43 #ifdef __cplusplus
44
45 #include <stdlib.h>
46 #line 33 "flex.skl"
47 #include <unistd.h>
48
49 /* Use prototypes in function declarations. */
50 #define YY_USE_PROTOS
51
52 /* The "const" storage-class-modifier is valid. */
53 #define YY_USE_CONST
54
55 #else /* ! __cplusplus */
56
57 #if __STDC__
58
59 #define YY_USE_PROTOS
60 #define YY_USE_CONST
61
62 #endif /* __STDC__ */
63 #endif /* ! __cplusplus */
64
65 #ifdef __TURBOC__
66 #pragma warn -rch
67 #pragma warn -use
68 #include <io.h>
69 #include <stdlib.h>
70 #define YY_USE_CONST
71 #define YY_USE_PROTOS
72 #endif
73
74 #ifdef YY_USE_CONST
75 #define yyconst const
76 #else
77 #define yyconst
78 #endif
79
80
81 #ifdef YY_USE_PROTOS
82 #define YY_PROTO(proto) proto
83 #else
84 #define YY_PROTO(proto) ()
85 #endif
86
87 /* Returned upon end-of-file. */
88 #define YY_NULL 0
89
90 /* Promotes a possibly negative, possibly signed char to an unsigned
91 * integer for use as an array index. If the signed char is negative,
92 * we want to instead treat it as an 8-bit unsigned char, hence the
93 * double cast.
94 */
95 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
96
97 /* Enter a start condition. This macro really ought to take a parameter,
98 * but we do it the disgusting crufty way forced on us by the ()-less
99 * definition of BEGIN.
100 */
101 #define BEGIN yy_start = 1 + 2 *
102
103 /* Translate the current start state into a value that can be later handed
104 * to BEGIN to return to the state. The YYSTATE alias is for lex
105 * compatibility.
106 */
107 #define YY_START ((yy_start - 1) / 2)
108 #define YYSTATE YY_START
109
110 /* Action number for EOF rule of a given start state. */
111 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
112
113 /* Special action meaning "start processing a new file". */
114 #define YY_NEW_FILE yyrestart( yyin )
115
116 #define YY_END_OF_BUFFER_CHAR 0
117
118 /* Size of default input buffer. */
119 #define YY_BUF_SIZE 101000
120
121 typedef struct yy_buffer_state *YY_BUFFER_STATE;
122
123 extern int yyleng;
124 #line 112 "flex.skl"
125 extern FILE *yyin, *yyout;
126 #line 115 "flex.skl"
127
128 #define EOB_ACT_CONTINUE_SCAN 0
129 #define EOB_ACT_END_OF_FILE 1
130 #define EOB_ACT_LAST_MATCH 2
131
132 /* The funky do-while in the following #define is used to turn the definition
133 * int a single C statement (which needs a semi-colon terminator). This
134 * avoids problems with code like:
135 *
136 * if ( condition_holds )
137 * yyless( 5 );
138 * else
139 * do_something_else();
140 *
141 * Prior to using the do-while the compiler would get upset at the
142 * "else" because it interpreted the "if" statement as being all
143 * done when it reached the ';' after the yyless() call.
144 */
145
146 /* Return all but the first 'n' matched characters back to the input stream. */
147
148 #define yyless(n) \
149 do \
150 { \
151 /* Undo effects of setting up yytext. */ \
152 *yy_cp = yy_hold_char; \
153 YY_RESTORE_YY_MORE_OFFSET \
154 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
155 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
156 } \
157 while ( 0 )
158
159 #define unput(c) yyunput( c, yytext_ptr )
160
161 /* The following is because we cannot portably get our hands on size_t
162 * (without autoconf's help, which isn't available because we want
163 * flex-generated scanners to compile on their own).
164 */
165 typedef unsigned int yy_size_t;
166
167
168 struct yy_buffer_state
169 {
170 #line 160 "flex.skl"
171 FILE *yy_input_file;
172 #line 166 "flex.skl"
173
174 char *yy_ch_buf; /* input buffer */
175 char *yy_buf_pos; /* current position in input buffer */
176
177 /* Size of input buffer in bytes, not including room for EOB
178 * characters.
179 */
180 yy_size_t yy_buf_size;
181
182 /* Number of characters read into yy_ch_buf, not including EOB
183 * characters.
184 */
185 int yy_n_chars;
186
187 /* Whether we "own" the buffer - i.e., we know we created it,
188 * and can realloc() it to grow it, and should free() it to
189 * delete it.
190 */
191 int yy_is_our_buffer;
192
193 /* Whether this is an "interactive" input source; if so, and
194 * if we're using stdio for input, then we want to use getc()
195 * instead of fread(), to make sure we stop fetching input after
196 * each newline.
197 */
198 int yy_is_interactive;
199
200 /* Whether we're considered to be at the beginning of a line.
201 * If so, '^' rules will be active on the next match, otherwise
202 * not.
203 */
204 int yy_at_bol;
205
206 /* Whether to try to fill the input buffer when we reach the
207 * end of it.
208 */
209 int yy_fill_buffer;
210
211 int yy_buffer_status;
212 #define YY_BUFFER_NEW 0
213 #define YY_BUFFER_NORMAL 1
214 /* When an EOF's been seen but there's still some text to process
215 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
216 * shouldn't try reading from the input source any more. We might
217 * still have a bunch of tokens to match, though, because of
218 * possible backing-up.
219 *
220 * When we actually see the EOF, we change the status to "new"
221 * (via yyrestart()), so that the user can continue scanning by
222 * just pointing yyin at a new input file.
223 */
224 #define YY_BUFFER_EOF_PENDING 2
225 };
226
227 #line 222 "flex.skl"
228 static YY_BUFFER_STATE yy_current_buffer = 0;
229 #line 225 "flex.skl"
230
231 /* We provide macros for accessing buffer states in case in the
232 * future we want to put the buffer states in a more general
233 * "scanner state".
234 */
235 #define YY_CURRENT_BUFFER yy_current_buffer
236
237
238 #line 235 "flex.skl"
239 /* yy_hold_char holds the character lost when yytext is formed. */
240 static char yy_hold_char;
241
242 static int yy_n_chars; /* number of characters read into yy_ch_buf */
243
244
245 int yyleng;
246
247 /* Points to current character in buffer. */
248 static char *yy_c_buf_p = (char *) 0;
249 static int yy_init = 1; /* whether we need to initialize */
250 static int yy_start = 0; /* start state number */
251
252 /* Flag which is used to allow yywrap()'s to do buffer switches
253 * instead of setting up a fresh yyin. A bit of a hack ...
254 */
255 static int yy_did_buffer_switch_on_eof;
256
257 void yyrestart YY_PROTO(( FILE *input_file ));
258
259 void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
260 void yy_load_buffer_state YY_PROTO(( void ));
261 YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
262 void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
263 void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
264 void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
265 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
266
267 YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
268 YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
269 YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
270 #line 268 "flex.skl"
271
272 static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
273 static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
274 static void yy_flex_free YY_PROTO(( void * ));
275
276 #define yy_new_buffer yy_create_buffer
277
278 #define yy_set_interactive(is_interactive) \
279 { \
280 if ( ! yy_current_buffer ) \
281 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
282 yy_current_buffer->yy_is_interactive = is_interactive; \
283 }
284
285 #define yy_set_bol(at_bol) \
286 { \
287 if ( ! yy_current_buffer ) \
288 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
289 yy_current_buffer->yy_at_bol = at_bol; \
290 }
291
292 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
293
294
295 #define YY_USES_REJECT
296 typedef unsigned char YY_CHAR;
297 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
298 typedef int yy_state_type;
299 extern char *yytext;
300 #define yytext_ptr yytext
301 #line 293 "flex.skl"
302
303 #line 296 "flex.skl"
304 static yy_state_type yy_get_previous_state YY_PROTO(( void ));
305 static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
306 static int yy_get_next_buffer YY_PROTO(( void ));
307 static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
308 #line 302 "flex.skl"
309
310 /* Done after the current pattern has been matched and before the
311 * corresponding action - sets up yytext.
312 */
313 #define YY_DO_BEFORE_ACTION \
314 yytext_ptr = yy_bp; \
315 yyleng = (int) (yy_cp - yy_bp); \
316 yy_hold_char = *yy_cp; \
317 *yy_cp = '\0'; \
318 yy_c_buf_p = yy_cp;
319 #line 314 "flex.skl"
320 #line 315 "flex.skl"
321
322 #define YY_NUM_RULES 144
323 #define YY_END_OF_BUFFER 145
324 static yyconst short int yy_acclist[1357] =
325 { 0,
326 1, 33, 1, 33, 1, 33, 1, 33, 1, 33,
327 1, 33, 1, 33, 1, 33, 1, 33, 1, 33,
328 1, 33, 1, 33, 1, 33, 1, 33, 1, 33,
329 1, 33, 1, 33, 1, 33, 1, 33, 1, 33,
330 1, 33, 1, 33, 1, 33, 1, 33, 1, 33,
331 1, 33, 1, 33, 1, 33, 1, 33, 1, 33,
332 145, 143, 144, 33, 140, 143, 144, 3, 144, 33,
333 140, 143, 144, 109, 143, 144, 141, 143, 144, 117,
334 143, 144, 120, 143, 144, 141, 143, 144, 112, 143,
335 144, 111, 143, 144, 118, 143, 144, 115, 143, 144,
336
337 113, 143, 144, 114, 143, 144, 34, 108, 143, 144,
338 116, 143, 144, 105, 108, 143, 144, 142, 143, 144,
339 3, 143, 144, 131, 143, 144, 121, 143, 144, 129,
340 143, 144, 109, 143, 144, 109, 143, 144, 109, 143,
341 144, 109, 143, 144, 109, 143, 144, 122, 143, 144,
342 1, 33, 143, 144, 119, 143, 144, 33, 140, 143,
343 144, 33, 140, 143, 144, 109, 143, 144, 141, 143,
344 144, 141, 143, 144, 34, 108, 143, 144, 105, 108,
345 143, 144, 109, 143, 144, 109, 143, 144, 109, 143,
346 144, 109, 143, 144, 109, 143, 144, 109, 143, 144,
347
348 109, 143, 144, 109, 143, 144, 109, 143, 144, 109,
349 143, 144, 109, 143, 144, 109, 143, 144, 109, 143,
350 144, 109, 143, 144, 109, 143, 144, 109, 143, 144,
351 109, 143, 144, 1, 33, 143, 144, 33, 140, 143,
352 144, 33, 140, 143, 144, 109, 143, 144, 109, 143,
353 144, 1, 33, 143, 144, 109, 143, 144, 109, 143,
354 144, 109, 143, 144, 109, 143, 144, 109, 143, 144,
355 109, 143, 144, 109, 143, 144, 109, 143, 144, 109,
356 143, 144, 109, 143, 144, 109, 143, 144, 109, 143,
357 144, 109, 143, 144, 109, 143, 144, 109, 143, 144,
358
359 109, 143, 144, 109, 143, 144, 109, 143, 144, 109,
360 143, 144, 34, 108, 143, 144, 109, 143, 144, 109,
361 143, 144, 109, 143, 144, 109, 143, 144, 109, 143,
362 144, 33, 140, 143, 144, 33, 140, 143, 144, 109,
363 143, 144, 1, 33, 143, 144, 33, 140, 143, 144,
364 33, 140, 143, 144, 68, 109, 143, 144, 34, 68,
365 108, 143, 144, 68, 105, 108, 143, 144, 68, 109,
366 143, 144, 68, 109, 143, 144, 68, 109, 143, 144,
367 68, 109, 143, 144, 68, 109, 143, 144, 68, 109,
368 143, 144, 1, 33, 143, 144, 33, 140, 143, 144,
369
370 2, 3, 144, 33, 140, 143, 144, 2, 3, 143,
371 144, 1, 33, 143, 144, 109, 143, 144, 109, 143,
372 144, 109, 143, 144, 33, 140, 3, 33, 140, 117,
373 120, 111, 118, 115, 113, 114, 116, 131, 121, 129,
374 33, 140, 119, 3, 109, 109, 104, 117, 120, 137,
375 120, 104, 112, 118, 139, 118, 115, 113, 114, 108,
376 108, 108, 108, 110, 108, 110, 116, 136, 116, 106,
377 107, 108, 105, 108, 108, 131, 124, 132, 133, 131,
378 121, 134, 130, 121, 129, 123, 129, 92, 109, 109,
379 91, 109, 109, 109, 109, 122, 130, 133, 132, 122,
380
381 33, 140, 33, 140, 1, 33, 119, 119, 138, 33,
382 140, 33, 140, 33, 140, 109, 109, 98, 36, 104,
383 104, 108, 108, 108, 35, 108, 110, 108, 110, 106,
384 107, 106, 107, 106, 107, 106, 107, 106, 107, 106,
385 107, 108, 106, 107, 105, 108, 98, 106, 107, 35,
386 106, 107, 108, 106, 107, 109, 109, 92, 109, 109,
387 8, 109, 109, 109, 109, 109, 109, 12, 109, 109,
388 109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
389 109, 109, 109, 109, 109, 91, 109, 109, 109, 109,
390 109, 109, 33, 140, 33, 140, 1, 33, 33, 140,
391
392 33, 140, 33, 140, 109, 58, 109, 109, 33, 140,
393 33, 140, 1, 33, 109, 109, 109, 109, 109, 109,
394 109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
395 109, 109, 109, 109, 109, 109, 109, 97, 108, 110,
396 108, 110, 92, 109, 109, 91, 109, 109, 109, 109,
397 33, 140, 33, 140, 33, 140, 109, 33, 140, 33,
398 140, 1, 33, 33, 140, 33, 140, 68, 68, 68,
399 68, 33, 140, 68, 68, 109, 68, 109, 68, 108,
400 68, 108, 68, 108, 68, 108, 110, 68, 108, 110,
401 68, 106, 107, 68, 108, 68, 105, 108, 68, 108,
402
403 68, 92, 109, 68, 109, 68, 91, 109, 68, 109,
404 68, 109, 68, 109, 68, 109, 33, 140, 33, 140,
405 1, 33, 33, 140, 2, 3, 33, 140, 33, 140,
406 2, 3, 33, 140, 33, 140, 1, 33, 109, 109,
407 109, 104, 104, 104, 137, 104, 104, 104, 139, 107,
408 108, 110, 136, 108, 108, 124, 128, 124, 132, 133,
409 134, 130, 123, 127, 123, 92, 93, 109, 91, 109,
410 109, 109, 130, 126, 129, 133, 135, 131, 132, 125,
411 138, 46, 52, 42, 38, 40, 44, 98, 36, 50,
412 104, 104, 104, 104, 104, 104, 45, 51, 41, 37,
413
414 39, 43, 107, 107, 107, 107, 107, 107, 107, 98,
415 107, 35, 107, 107, 35, 108, 110, 49, 108, 108,
416 109, 6, 109, 92, 109, 8, 109, 109, 32, 109,
417 109, 93, 109, 12, 109, 109, 109, 17, 109, 109,
418 109, 109, 109, 109, 109, 109, 109, 109, 25, 109,
419 109, 109, 109, 91, 109, 109, 109, 109, 109, 109,
420 59, 109, 58, 109, 109, 109, 109, 109, 109, 109,
421 109, 109, 73, 109, 109, 109, 109, 109, 109, 109,
422 109, 109, 109, 80, 109, 109, 109, 93, 109, 109,
423 96, 108, 110, 92, 93, 109, 91, 109, 109, 109,
424
425 109, 68, 68, 68, 68, 68, 68, 68, 109, 68,
426 109, 68, 108, 68, 108, 68, 107, 68, 108, 110,
427 68, 108, 110, 68, 108, 68, 108, 68, 92, 68,
428 93, 109, 68, 91, 68, 109, 68, 109, 68, 109,
429 68, 109, 109, 109, 109, 100, 102, 103, 102, 101,
430 103, 101, 108, 110, 128, 127, 93, 109, 109, 84,
431 109, 126, 135, 125, 46, 54, 52, 42, 38, 40,
432 48, 44, 50, 56, 99, 45, 53, 51, 41, 37,
433 39, 47, 43, 108, 110, 49, 55, 109, 6, 7,
434 109, 9, 109, 10, 109, 32, 11, 109, 93, 109,
435
436 109, 109, 17, 109, 109, 109, 109, 109, 21, 109,
437 22, 109, 109, 109, 25, 109, 109, 82, 109, 109,
438 109, 109, 30, 109, 109, 84, 109, 59, 109, 109,
439 109, 62, 109, 109, 109, 109, 109, 109, 73, 109,
440 109, 109, 109, 109, 75, 109, 109, 109, 109, 80,
441 109, 109, 86, 109, 89, 109, 108, 110, 93, 109,
442 109, 109, 84, 109, 83, 109, 68, 68, 68, 68,
443 68, 108, 110, 68, 93, 68, 109, 68, 109, 68,
444 109, 68, 84, 109, 60, 109, 109, 109, 84, 103,
445 108, 110, 95, 109, 94, 109, 84, 82, 54, 48,
446
447 56, 99, 53, 47, 108, 110, 55, 109, 7, 9,
448 10, 11, 109, 109, 15, 109, 109, 109, 109, 19,
449 109, 109, 21, 22, 23, 109, 109, 109, 109, 82,
450 28, 109, 95, 109, 29, 109, 30, 94, 109, 84,
451 57, 109, 61, 109, 109, 62, 109, 109, 109, 109,
452 109, 109, 109, 109, 71, 109, 109, 75, 109, 70,
453 109, 81, 109, 109, 109, 86, 89, 108, 110, 109,
454 95, 109, 94, 109, 84, 83, 83, 68, 68, 84,
455 68, 108, 110, 68, 95, 109, 57, 68, 109, 68,
456 94, 109, 68, 84, 60, 109, 109, 4, 95, 94,
457
458 82, 4, 4, 4, 4, 4, 4, 4, 4, 98,
459 4, 35, 4, 109, 109, 109, 15, 109, 109, 109,
460 19, 109, 23, 24, 109, 26, 109, 27, 109, 28,
461 95, 29, 94, 57, 57, 61, 109, 109, 109, 109,
462 66, 109, 69, 109, 109, 109, 78, 109, 71, 109,
463 76, 109, 70, 81, 109, 85, 109, 4, 4, 96,
464 109, 95, 94, 57, 68, 4, 68, 68, 95, 57,
465 68, 68, 94, 109, 109, 5, 109, 109, 14, 109,
466 18, 109, 16, 109, 109, 109, 24, 26, 27, 65,
467 109, 109, 109, 63, 109, 66, 69, 109, 109, 78,
468
469 74, 109, 76, 79, 109, 85, 90, 109, 109, 109,
470 5, 109, 14, 18, 16, 109, 109, 65, 109, 64,
471 109, 63, 72, 109, 77, 109, 74, 79, 90, 109,
472 109, 13, 109, 31, 109, 20, 109, 109, 64, 72,
473 77, 109, 109, 13, 31, 20, 67, 109, 109, 87,
474 109, 67, 88, 109, 87, 88
475 } ;
476
477 static yyconst short int yy_accept[993] =
478 { 0,
479 1, 3, 5, 7, 9, 11, 13, 15, 17, 19,
480 21, 23, 25, 27, 29, 31, 33, 35, 37, 39,
481 41, 43, 45, 47, 49, 51, 53, 55, 57, 59,
482 61, 62, 64, 68, 70, 74, 77, 80, 83, 86,
483 89, 92, 95, 98, 101, 104, 107, 111, 114, 118,
484 121, 124, 127, 130, 133, 136, 139, 142, 145, 148,
485 151, 155, 158, 162, 166, 169, 172, 175, 179, 183,
486 186, 189, 192, 195, 198, 201, 204, 207, 210, 213,
487 216, 219, 222, 225, 228, 231, 234, 238, 242, 246,
488 249, 252, 256, 259, 262, 265, 268, 271, 274, 277,
489
490 280, 283, 286, 289, 292, 295, 298, 301, 304, 307,
491 310, 313, 317, 320, 323, 326, 329, 332, 336, 340,
492 343, 347, 351, 355, 359, 364, 369, 373, 377, 381,
493 385, 389, 393, 397, 401, 404, 408, 412, 416, 419,
494 422, 425, 427, 428, 430, 431, 432, 433, 434, 435,
495 436, 437, 438, 439, 440, 441, 441, 441, 443, 444,
496 445, 446, 447, 447, 448, 448, 448, 449, 450, 451,
497 452, 452, 453, 453, 453, 454, 455, 456, 457, 458,
498 459, 460, 461, 462, 463, 465, 467, 468, 469, 470,
499 472, 473, 475, 476, 477, 478, 479, 480, 481, 482,
500
501 483, 484, 485, 486, 487, 488, 490, 491, 493, 494,
502 495, 496, 497, 498, 499, 500, 501, 503, 505, 507,
503 508, 509, 510, 512, 514, 514, 516, 516, 517, 517,
504 517, 517, 517, 517, 518, 518, 519, 520, 520, 520,
505 521, 521, 521, 521, 522, 522, 522, 522, 523, 523,
506 523, 523, 523, 523, 524, 524, 525, 526, 528, 530,
507 530, 532, 534, 536, 538, 540, 542, 543, 545, 547,
508 550, 553, 554, 556, 557, 558, 560, 561, 563, 564,
509 565, 566, 567, 568, 570, 571, 572, 573, 574, 575,
510 576, 577, 578, 579, 580, 581, 582, 583, 584, 585,
511
512 586, 588, 589, 590, 591, 592, 593, 595, 597, 599,
513 601, 603, 603, 605, 606, 608, 609, 611, 613, 615,
514 616, 617, 618, 619, 620, 621, 622, 623, 624, 625,
515 626, 627, 628, 629, 630, 631, 632, 633, 634, 635,
516 636, 636, 637, 638, 639, 641, 643, 645, 646, 648,
517 649, 650, 651, 653, 655, 655, 657, 658, 660, 662,
518 664, 666, 668, 669, 670, 671, 672, 674, 675, 677,
519 679, 681, 683, 685, 688, 691, 694, 696, 699, 701,
520 704, 706, 709, 711, 713, 715, 717, 719, 721, 723,
521 725, 727, 729, 731, 733, 735, 737, 739, 740, 741,
522
523 742, 742, 742, 743, 743, 743, 743, 744, 744, 744,
524 744, 745, 746, 747, 747, 748, 748, 748, 748, 749,
525 750, 751, 753, 754, 755, 755, 756, 757, 758, 759,
526 760, 761, 762, 763, 764, 765, 766, 767, 769, 770,
527 771, 772, 773, 774, 775, 776, 777, 778, 779, 780,
528 781, 782, 782, 782, 783, 783, 783, 784, 784, 785,
529 785, 786, 786, 787, 787, 787, 788, 789, 790, 790,
530 791, 791, 792, 792, 793, 793, 793, 793, 794, 795,
531 795, 796, 796, 796, 796, 797, 797, 798, 798, 798,
532 799, 799, 800, 800, 801, 801, 802, 802, 802, 803,
533
534 804, 805, 806, 807, 808, 809, 810, 812, 814, 815,
535 816, 818, 818, 819, 819, 820, 820, 820, 821, 822,
536 824, 825, 826, 827, 828, 829, 831, 832, 834, 835,
537 836, 837, 838, 840, 841, 842, 843, 844, 845, 846,
538 847, 848, 849, 851, 852, 853, 854, 855, 856, 857,
539 858, 859, 860, 861, 861, 863, 864, 865, 866, 867,
540 868, 869, 870, 871, 872, 873, 875, 876, 877, 878,
541 879, 880, 881, 882, 883, 884, 886, 887, 888, 890,
542 891, 891, 892, 894, 895, 897, 898, 899, 900, 901,
543 901, 902, 903, 904, 905, 906, 907, 908, 910, 912,
544
545 914, 916, 918, 921, 924, 926, 928, 930, 933, 935,
546 937, 939, 941, 943, 944, 945, 946, 946, 947, 947,
547 947, 949, 950, 952, 953, 953, 953, 953, 953, 953,
548 953, 953, 953, 955, 955, 956, 957, 958, 959, 960,
549 962, 963, 964, 965, 965, 966, 966, 967, 968, 969,
550 970, 971, 971, 972, 973, 974, 974, 975, 975, 976,
551 976, 976, 976, 976, 976, 976, 976, 976, 976, 977,
552 977, 978, 979, 980, 981, 982, 982, 983, 984, 986,
553 987, 987, 988, 989, 990, 992, 994, 996, 997, 999,
554 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009,
555
556 1011, 1013, 1014, 1015, 1016, 1017, 1018, 1020, 1021, 1022,
557 1023, 1025, 1026, 1028, 1028, 1029, 1030, 1031, 1032, 1034,
558 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044,
559 1045, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1055, 1057,
560 1059, 1060, 1061, 1062, 1063, 1065, 1065, 1067, 1068, 1069,
561 1070, 1071, 1074, 1076, 1078, 1080, 1082, 1085, 1087, 1088,
562 1089, 1090, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1093,
563 1095, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1103, 1103,
564 1103, 1103, 1103, 1103, 1104, 1105, 1107, 1108, 1109, 1110,
565 1111, 1112, 1113, 1114, 1115, 1117, 1118, 1119, 1120, 1122,
566
567 1123, 1124, 1125, 1127, 1128, 1129, 1130, 1131, 1133, 1135,
568 1137, 1138, 1140, 1141, 1141, 1143, 1145, 1146, 1147, 1148,
569 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1157, 1158, 1159,
570 1160, 1162, 1164, 1165, 1166, 1167, 1168, 1170, 1171, 1173,
571 1175, 1176, 1177, 1178, 1179, 1181, 1184, 1187, 1190, 1193,
572 1195, 1196, 1197, 1198, 1198, 1198, 1198, 1198, 1199, 1200,
573 1201, 1202, 1202, 1202, 1202, 1202, 1203, 1204, 1205, 1206,
574 1207, 1208, 1209, 1211, 1213, 1214, 1215, 1216, 1217, 1218,
575 1219, 1220, 1221, 1222, 1223, 1224, 1226, 1228, 1230, 1231,
576 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241,
577
578 1243, 1245, 1246, 1247, 1249, 1250, 1251, 1253, 1254, 1255,
579 1256, 1258, 1259, 1261, 1262, 1263, 1264, 1266, 1268, 1270,
580 1272, 1274, 1275, 1276, 1276, 1276, 1276, 1276, 1278, 1279,
581 1281, 1283, 1285, 1286, 1287, 1288, 1289, 1290, 1292, 1293,
582 1294, 1296, 1297, 1298, 1299, 1300, 1301, 1303, 1304, 1306,
583 1307, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317,
584 1318, 1319, 1320, 1322, 1323, 1325, 1327, 1328, 1329, 1330,
585 1331, 1332, 1334, 1336, 1338, 1339, 1340, 1341, 1342, 1343,
586 1344, 1345, 1346, 1347, 1349, 1350, 1352, 1353, 1355, 1356,
587 1357, 1357
588
589 } ;
590
591 static yyconst int yy_ec[256] =
592 { 0,
593 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
594 4, 4, 5, 1, 1, 1, 1, 1, 1, 1,
595 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
596 1, 2, 6, 7, 8, 8, 9, 10, 11, 12,
597 13, 14, 15, 16, 17, 18, 19, 20, 20, 21,
598 21, 21, 21, 21, 21, 21, 21, 22, 23, 24,
599 25, 26, 6, 8, 27, 28, 29, 30, 31, 32,
600 33, 34, 35, 36, 36, 37, 38, 39, 40, 41,
601 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
602 1, 52, 1, 52, 6, 53, 27, 28, 29, 30,
603
604 31, 32, 33, 34, 35, 36, 36, 37, 38, 39,
605 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
606 50, 51, 1, 54, 1, 52, 1, 1, 1, 1,
607 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
608 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
609 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
610 1, 1, 1, 1, 1, 1, 1, 1, 1, 52,
611 1, 52, 1, 1, 1, 1, 1, 1, 1, 1,
612 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
613 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
614
615 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
616 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
617 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
618 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
619 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
620 1, 1, 1, 1, 1
621 } ;
622
623 static yyconst int yy_meta[55] =
624 { 0,
625 1, 2, 1, 2, 2, 3, 1, 3, 4, 4,
626 1, 5, 1, 4, 4, 1, 4, 3, 4, 6,
627 6, 4, 1, 1, 7, 1, 3, 3, 3, 3,
628 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
629 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
630 3, 1, 2, 4
631 } ;
632
633 static yyconst short int yy_base[1037] =
634 { 0,
635 0, 0, 54, 0, 107, 111, 86, 90, 1800, 1797,
636 138, 159, 0, 0, 0, 0, 96, 101, 206, 0,
637 136, 148, 260, 0, 313, 317, 1782, 1768, 321, 325,
638 1800, 6342, 377, 141, 0, 141, 425, 330, 344, 447,
639 355, 6342, 359, 409, 413, 417, 443, 431, 484, 6342,
640 537, 541, 545, 549, 152, 386, 419, 537, 543, 579,
641 583, 587, 604, 0, 656, 704, 726, 757, 811, 864,
642 89, 144, 298, 294, 345, 580, 105, 398, 552, 584,
643 570, 125, 591, 599, 312, 613, 633, 648, 0, 664,
644 670, 711, 684, 699, 722, 730, 870, 875, 879, 883,
645
646 888, 893, 901, 909, 913, 917, 925, 929, 933, 949,
647 972, 965, 1024, 126, 327, 141, 629, 977, 0, 978,
648 999, 1076, 0, 1003, 1129, 1182, 1015, 349, 355, 300,
649 87, 633, 1009, 1035, 1235, 0, 1239, 1243, 1030, 1118,
650 1043, 0, 1247, 0, 1251, 1255, 6342, 1259, 1264, 1270,
651 1274, 1278, 1285, 1289, 1320, 1756, 1138, 0, 1297, 1301,
652 451, 1049, 1759, 150, 1372, 1149, 1314, 1330, 1353, 1357,
653 1751, 399, 1409, 1156, 1364, 1380, 1393, 1403, 1414, 1419,
654 1423, 1055, 1150, 1476, 1437, 1497, 1502, 1457, 1461, 6342,
655 324, 0, 1157, 1518, 1522, 1466, 1507, 1529, 1533, 1544,
656
657 1548, 1559, 1563, 1568, 1572, 1590, 1369, 1576, 1308, 1414,
658 1430, 1594, 1598, 1602, 1628, 1632, 0, 0, 0, 1636,
659 1640, 1644, 0, 0, 1713, 0, 1696, 341, 1654, 1658,
660 1662, 1667, 1671, 404, 1712, 1718, 1722, 1728, 1736, 552,
661 1781, 1734, 1697, 432, 1812, 1740, 1843, 1896, 1753, 1759,
662 1768, 1772, 1790, 1949, 1801, 2003, 1785, 2056, 1669, 1825,
663 0, 1794, 1859, 1868, 1878, 1883, 403, 1918, 2110, 1872,
664 1887, 672, 1922, 556, 629, 1930, 669, 2135, 577, 601,
665 585, 738, 664, 2139, 678, 698, 935, 1300, 837, 918,
666 957, 862, 1241, 1016, 909, 1335, 1004, 1122, 1306, 1255,
667
668 2143, 945, 1439, 1345, 1317, 1511, 0, 0, 1926, 0,
669 0, 1653, 0, 1747, 1934, 1924, 0, 0, 1980, 1816,
670 1957, 2017, 1977, 1804, 1970, 2022, 2026, 2131, 2135, 2030,
671 2139, 2156, 2163, 2177, 2150, 2181, 2185, 2189, 2193, 2199,
672 2227, 1611, 1607, 6342, 2279, 1589, 2236, 99, 2240, 147,
673 619, 601, 0, 0, 1575, 0, 2228, 0, 0, 2249,
674 0, 0, 2253, 2258, 2303, 438, 0, 2262, 1519, 2308,
675 2315, 2337, 2390, 2443, 2495, 2290, 462, 2548, 2601, 2452,
676 366, 2464, 826, 1095, 695, 827, 0, 0, 2468, 2472,
677 2476, 0, 0, 2480, 0, 0, 2484, 2326, 2330, 2349,
678
679 1517, 2502, 2528, 1533, 1496, 2653, 2571, 2684, 2369, 2715,
680 2579, 2488, 2326, 2746, 2564, 2777, 2534, 2808, 2576, 2542,
681 6342, 2576, 2606, 2840, 903, 1350, 2637, 2641, 2645, 2665,
682 2673, 2705, 2719, 2727, 2736, 2758, 2781, 2893, 2897, 2432,
683 2615, 2490, 2901, 2905, 2909, 2913, 2917, 2925, 2930, 2938,
684 2943, 1442, 2518, 2947, 2789, 2798, 2955, 2959, 2963, 2967,
685 2971, 2977, 2983, 2993, 3001, 3005, 3009, 3015, 3023, 3027,
686 3035, 3079, 3131, 155, 3162, 2659, 3193, 1403, 533, 3224,
687 966, 3255, 2813, 3286, 1228, 3039, 3045, 3049, 3065, 3061,
688 3071, 3090, 3083, 3095, 3100, 3115, 3122, 3140, 3135, 3317,
689
690 3151, 3176, 3202, 3206, 3213, 3244, 3228, 3275, 3269, 3291,
691 3370, 3299, 3306, 3237, 3424, 3336, 3343, 1433, 3477, 3530,
692 3582, 519, 3535, 657, 517, 3542, 998, 3547, 3552, 889,
693 1224, 525, 3559, 1040, 679, 1207, 966, 709, 1136, 726,
694 737, 1098, 3563, 1211, 859, 873, 3567, 915, 1227, 1215,
695 941, 1372, 1112, 1111, 3572, 3576, 2679, 2750, 3092, 3154,
696 3216, 3334, 2360, 3247, 3590, 3613, 2675, 3601, 3606, 3613,
697 3620, 3625, 3629, 3634, 3638, 3659, 3649, 3653, 3673, 3662,
698 3685, 6342, 3737, 3693, 3789, 3697, 3841, 1407, 997, 1067,
699 3685, 3712, 3749, 3759, 3779, 3801, 1319, 3829, 3835, 3863,
700
701 3869, 3732, 3921, 3973, 4026, 4080, 3770, 3875, 3811, 3897,
702 981, 1548, 1146, 3888, 3806, 3893, 1053, 6342, 0, 1513,
703 6342, 6342, 6342, 6342, 4128, 4154, 4185, 3929, 4207, 4229,
704 4260, 3784, 3937, 1300, 3933, 3942, 3949, 3707, 3941, 3961,
705 3965, 4109, 4113, 1027, 4117, 3978, 4123, 4135, 4140, 4148,
706 4167, 3983, 4192, 4198, 4217, 3994, 4221, 4250, 4242, 4264,
707 4311, 4337, 4368, 4002, 4390, 4412, 4443, 4273, 4292, 4105,
708 4296, 4300, 4306, 4310, 4318, 4205, 4323, 4331, 4474, 4350,
709 4377, 4381, 1264, 4402, 4424, 4447, 4527, 4433, 4531, 4535,
710 1012, 1404, 1508, 4539, 963, 1473, 844, 1548, 1574, 4543,
711
712 4547, 1634, 827, 4551, 1431, 1588, 4555, 1639, 1547, 766,
713 4559, 1643, 4563, 698, 4567, 4147, 4372, 4439, 4571, 2735,
714 4211, 4573, 4601, 4330, 4577, 4597, 4593, 4605, 4611, 4617,
715 4637, 3995, 4625, 4630, 4651, 4644, 4159, 4665, 4669, 4721,
716 4678, 4773, 4825, 1647, 4682, 679, 4687, 4691, 4695, 1326,
717 1654, 1663, 4703, 1615, 1302, 1391, 4728, 4732, 4448, 4729,
718 4749, 6342, 4877, 660, 635, 4908, 604, 576, 4940, 4753,
719 4757, 4762, 4768, 4778, 4782, 4795, 4799, 4993, 559, 532,
720 5024, 422, 400, 4803, 4807, 5056, 4812, 1570, 4820, 4832,
721 4836, 4849, 1666, 1703, 4872, 1660, 1497, 1348, 4997, 1669,
722
723 4864, 5032, 5072, 1596, 1811, 1682, 5037, 5084, 5089, 5093,
724 5097, 5101, 5109, 367, 5114, 5118, 4837, 5124, 4997, 4843,
725 4870, 4657, 4900, 4985, 4875, 4991, 5129, 5120, 5143, 5138,
726 5147, 5159, 5152, 5158, 5179, 5183, 5236, 1697, 5289, 5293,
727 5297, 5301, 5305, 1698, 5310, 5363, 5316, 5355, 5379, 5339,
728 5351, 5173, 5177, 5431, 356, 5462, 327, 6342, 5389, 5393,
729 5401, 5493, 175, 5524, 143, 5555, 5201, 5205, 5209, 5323,
730 5327, 5405, 5416, 5421, 5445, 1737, 101, 1709, 5435, 1775,
731 1823, 1843, 5451, 1713, 5474, 5505, 5528, 5532, 5513, 5536,
732 5545, 5574, 5582, 5586, 5590, 5198, 5316, 5203, 5485, 5595,
733
734 5599, 5592, 4906, 5612, 5616, 5604, 5624, 5636, 5640, 5629,
735 5649, 5653, 6342, 1838, 5657, 5662, 5668, 5679, 5686, 5690,
736 5694, 5683, 5466, 5696, 5721, 5734, 5747, 5729, 1859, 5754,
737 5779, 5783, 1851, 67, 5707, 5733, 5787, 5791, 5780, 5784,
738 5804, 5808, 5812, 5803, 5809, 5833, 5837, 5846, 5850, 5854,
739 5858, 5846, 5850, 5870, 1864, 5874, 5879, 5883, 1898, 1950,
740 5889, 5423, 5896, 5900, 5904, 5908, 5912, 5916, 5920, 5908,
741 5913, 5933, 5942, 5950, 5938, 5958, 5962, 5966, 5957, 5963,
742 5985, 5995, 6000, 6004, 5992, 6012, 6016, 6022, 6026, 6030,
743 6342, 6081, 6087, 6094, 6099, 6104, 6111, 6118, 6124, 6129,
744
745 6134, 6139, 6143, 6148, 6154, 6159, 6164, 6169, 6174, 6179,
746 6185, 6192, 6199, 6206, 6211, 6217, 6224, 6230, 6236, 6242,
747 6247, 6252, 6257, 6262, 6267, 6272, 6278, 6285, 6292, 6297,
748 6303, 6310, 6317, 6323, 6329, 6335
749 } ;
750
751 static yyconst short int yy_def[1037] =
752 { 0,
753 991, 1, 991, 3, 1, 1, 1, 1, 1, 1,
754 1, 1, 1, 1, 1, 1, 1, 1, 991, 19,
755 1, 1, 991, 23, 1, 1, 1, 1, 1, 1,
756 991, 991, 991, 991, 33, 992, 993, 991, 991, 994,
757 991, 991, 991, 991, 991, 991, 995, 991, 991, 991,
758 991, 991, 991, 991, 992, 992, 992, 992, 992, 991,
759 33, 991, 33, 63, 996, 997, 998, 991, 991, 996,
760 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
761 70, 70, 70, 70, 70, 70, 63, 33, 88, 992,
762 992, 88, 992, 992, 992, 992, 992, 992, 992, 992,
763
764 992, 992, 992, 992, 992, 992, 992, 992, 992, 992,
765 999, 1000, 999, 113, 113, 113, 113, 33, 118, 992,
766 118, 991, 122, 1001, 1002, 991, 1001, 127, 127, 127,
767 127, 127, 122, 118, 991, 134, 991, 134, 992, 992,
768 992, 33, 991, 33, 991, 991, 991, 991, 991, 991,
769 991, 991, 991, 991, 991, 991, 991, 33, 991, 991,
770 992, 992, 993, 991, 993, 165, 991, 991, 991, 991,
771 994, 991, 994, 173, 991, 991, 991, 991, 991, 991,
772 991, 1003, 1003, 49, 995, 995, 991, 991, 991, 991,
773 184, 49, 1003, 991, 991, 991, 991, 991, 991, 991,
774
775 991, 991, 991, 991, 991, 992, 992, 206, 992, 992,
776 992, 991, 991, 991, 991, 991, 33, 33, 61, 991,
777 991, 991, 63, 63, 991, 63, 991, 70, 991, 991,
778 991, 991, 991, 70, 991, 991, 991, 991, 997, 991,
779 997, 241, 998, 991, 998, 245, 991, 1004, 991, 991,
780 991, 991, 991, 1004, 991, 254, 991, 991, 258, 991,
781 247, 991, 991, 991, 991, 991, 256, 991, 256, 991,
782 991, 254, 991, 70, 70, 70, 70, 70, 70, 70,
783 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
784 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
785
786 70, 70, 70, 70, 70, 70, 63, 63, 63, 88,
787 88, 991, 88, 992, 206, 992, 88, 88, 88, 992,
788 992, 992, 992, 992, 992, 992, 992, 992, 992, 992,
789 992, 992, 992, 992, 992, 992, 992, 992, 992, 992,
790 991, 113, 113, 991, 1000, 345, 113, 113, 113, 113,
791 113, 113, 118, 118, 991, 118, 992, 118, 118, 118,
792 122, 122, 1005, 1006, 1005, 365, 122, 991, 127, 1007,
793 1008, 1009, 991, 1010, 1010, 991, 373, 373, 1008, 127,
794 127, 127, 127, 127, 127, 127, 122, 122, 122, 118,
795 991, 390, 390, 991, 390, 390, 390, 992, 992, 992,
796
797 991, 991, 991, 1011, 1012, 1013, 991, 1013, 408, 408,
798 991, 991, 991, 1014, 991, 1014, 416, 416, 991, 991,
799 991, 1015, 991, 991, 991, 424, 991, 991, 991, 991,
800 991, 991, 991, 991, 991, 991, 991, 206, 991, 992,
801 992, 992, 991, 991, 991, 991, 991, 991, 991, 991,
802 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
803 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
804 991, 991, 1016, 472, 1016, 475, 475, 472, 472, 1017,
805 479, 1017, 482, 482, 479, 991, 991, 991, 991, 991,
806 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
807
808 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
809 991, 991, 991, 991, 991, 991, 991, 515, 991, 519,
810 991, 519, 521, 519, 519, 519, 519, 519, 521, 519,
811 519, 519, 519, 519, 519, 519, 519, 519, 519, 519,
812 519, 519, 519, 519, 519, 519, 521, 519, 519, 519,
813 519, 519, 519, 991, 206, 991, 992, 992, 992, 992,
814 992, 992, 992, 992, 992, 206, 992, 992, 992, 992,
815 992, 992, 992, 992, 992, 206, 992, 992, 206, 992,
816 991, 991, 1018, 991, 1019, 991, 1019, 587, 587, 991,
817 992, 1020, 1021, 1021, 1022, 1020, 596, 1023, 1023, 1024,
818
819 1024, 991, 1025, 1025, 991, 601, 991, 1026, 991, 1026,
820 610, 610, 610, 992, 992, 992, 991, 991, 1027, 991,
821 991, 991, 991, 991, 1028, 1028, 1028, 627, 1029, 1029,
822 1029, 631, 1030, 1031, 991, 991, 991, 992, 992, 206,
823 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
824 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
825 1032, 1032, 1032, 663, 1033, 1033, 1033, 667, 991, 991,
826 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
827 991, 991, 519, 521, 519, 519, 519, 521, 519, 521,
828 519, 519, 519, 521, 519, 519, 519, 519, 519, 519,
829
830 519, 519, 519, 521, 519, 519, 519, 519, 519, 519,
831 519, 519, 519, 991, 991, 992, 992, 992, 206, 992,
832 992, 992, 992, 992, 991, 992, 992, 992, 992, 992,
833 206, 992, 992, 992, 991, 992, 992, 206, 206, 1034,
834 991, 1035, 1035, 743, 743, 991, 206, 1036, 1036, 596,
835 596, 604, 991, 610, 610, 610, 610, 206, 992, 992,
836 991, 991, 627, 763, 627, 631, 766, 631, 991, 206,
837 206, 991, 991, 991, 991, 991, 991, 663, 778, 663,
838 667, 781, 667, 991, 991, 679, 991, 519, 521, 521,
839 521, 521, 519, 519, 519, 519, 519, 519, 519, 519,
840
841 521, 521, 519, 519, 519, 519, 521, 519, 519, 519,
842 521, 519, 521, 991, 206, 206, 992, 991, 992, 992,
843 992, 992, 992, 992, 992, 992, 206, 992, 991, 992,
844 206, 206, 992, 992, 991, 991, 991, 743, 743, 743,
845 991, 991, 991, 596, 596, 604, 610, 610, 610, 991,
846 991, 992, 992, 627, 627, 631, 631, 991, 991, 991,
847 991, 663, 663, 667, 667, 991, 991, 991, 991, 991,
848 991, 991, 991, 991, 991, 519, 519, 519, 521, 519,
849 519, 519, 521, 519, 521, 519, 519, 519, 521, 521,
850 521, 521, 991, 991, 991, 992, 992, 992, 992, 206,
851
852 206, 992, 992, 206, 991, 992, 206, 991, 991, 992,
853 206, 991, 991, 743, 991, 991, 596, 991, 991, 991,
854 991, 992, 992, 627, 631, 663, 667, 519, 519, 519,
855 519, 519, 519, 519, 521, 521, 521, 206, 992, 992,
856 206, 991, 991, 992, 992, 991, 206, 991, 206, 991,
857 743, 992, 992, 521, 519, 521, 521, 521, 519, 519,
858 991, 992, 206, 991, 206, 206, 991, 991, 991, 992,
859 992, 519, 519, 519, 992, 991, 991, 991, 992, 992,
860 521, 521, 521, 206, 992, 206, 991, 206, 991, 991,
861 0, 991, 991, 991, 991, 991, 991, 991, 991, 991,
862
863 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
864 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
865 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
866 991, 991, 991, 991, 991, 991
867 } ;
868
869 static yyconst short int yy_nxt[6397] =
870 { 0,
871 32, 33, 34, 33, 35, 36, 37, 36, 38, 39,
872 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
873 49, 50, 51, 52, 53, 54, 36, 55, 36, 36,
874 36, 56, 36, 36, 36, 36, 36, 36, 36, 36,
875 36, 36, 36, 36, 57, 58, 36, 59, 36, 36,
876 36, 60, 61, 62, 32, 63, 34, 63, 64, 65,
877 66, 65, 38, 39, 67, 41, 42, 43, 44, 45,
878 46, 68, 48, 69, 69, 50, 51, 52, 53, 54,
879 70, 71, 72, 73, 74, 75, 65, 65, 76, 65,
880 77, 65, 78, 79, 80, 81, 82, 83, 84, 85,
881
882 65, 86, 65, 65, 65, 60, 87, 62, 88, 960,
883 88, 89, 88, 384, 88, 89, 93, 94, 228, 95,
884 93, 94, 96, 95, 97, 109, 96, 110, 97, 98,
885 109, 228, 110, 98, 228, 287, 369, 118, 276, 118,
886 119, 585, 160, 929, 160, 160, 90, 228, 342, 118,
887 90, 118, 119, 91, 228, 296, 163, 91, 162, 92,
888 162, 162, 865, 92, 100, 348, 101, 228, 102, 162,
889 277, 162, 162, 228, 103, 342, 104, 404, 105, 350,
890 120, 106, 404, 107, 108, 100, 228, 101, 121, 102,
891 342, 587, 120, 160, 863, 103, 342, 104, 405, 105,
892
893 121, 206, 106, 405, 107, 108, 32, 33, 34, 33,
894 35, 111, 37, 111, 38, 39, 40, 41, 42, 43,
895 44, 45, 46, 112, 48, 49, 49, 50, 51, 52,
896 53, 54, 111, 113, 111, 111, 111, 114, 111, 111,
897 111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
898 115, 116, 111, 117, 111, 111, 111, 60, 61, 62,
899 32, 122, 34, 122, 123, 124, 37, 124, 38, 39,
900 40, 41, 42, 43, 44, 45, 46, 125, 48, 126,
901 126, 50, 51, 52, 53, 54, 124, 127, 124, 124,
902 124, 128, 124, 124, 124, 124, 124, 124, 124, 124,
903
904 124, 124, 124, 124, 129, 130, 131, 132, 124, 124,
905 124, 60, 133, 62, 134, 135, 134, 136, 134, 135,
906 134, 136, 88, 228, 88, 89, 88, 228, 88, 89,
907 280, 167, 281, 167, 167, 137, 228, 278, 383, 137,
908 279, 228, 282, 424, 424, 168, 857, 168, 168, 369,
909 303, 140, 304, 169, 228, 140, 175, 120, 175, 175,
910 176, 120, 176, 176, 141, 138, 349, 91, 141, 138,
911 228, 91, 177, 92, 228, 855, 342, 92, 142, 143,
912 142, 144, 167, 228, 283, 145, 146, 228, 381, 147,
913 148, 149, 150, 151, 382, 152, 170, 893, 369, 143,
914
915 153, 154, 155, 162, 369, 162, 162, 175, 608, 171,
916 179, 178, 179, 179, 180, 369, 180, 180, 181, 865,
917 181, 181, 515, 515, 156, 207, 404, 228, 157, 158,
918 159, 164, 187, 228, 187, 187, 162, 288, 162, 162,
919 228, 666, 243, 289, 165, 166, 228, 405, 182, 188,
920 182, 166, 166, 166, 166, 166, 166, 172, 208, 404,
921 183, 179, 184, 184, 592, 180, 173, 174, 162, 181,
922 162, 162, 597, 174, 174, 174, 174, 174, 174, 186,
923 405, 605, 605, 189, 190, 190, 190, 190, 190, 182,
924 190, 182, 190, 190, 190, 190, 190, 190, 190, 190,
925
926 190, 191, 190, 192, 192, 190, 190, 190, 190, 190,
927 182, 182, 182, 182, 193, 182, 182, 182, 182, 182,
928 182, 182, 182, 182, 182, 182, 182, 182, 182, 182,
929 182, 182, 182, 182, 182, 190, 190, 190, 160, 991,
930 160, 160, 194, 243, 194, 194, 199, 687, 199, 199,
931 203, 863, 203, 203, 162, 685, 162, 162, 239, 228,
932 162, 228, 162, 162, 195, 196, 197, 228, 196, 200,
933 201, 693, 197, 201, 204, 209, 210, 211, 662, 404,
934 212, 228, 212, 212, 217, 519, 217, 218, 220, 160,
935 220, 220, 290, 198, 228, 857, 291, 202, 228, 228,
936
937 405, 205, 213, 214, 215, 223, 228, 223, 224, 228,
938 292, 284, 228, 228, 526, 295, 524, 297, 285, 228,
939 228, 298, 228, 630, 286, 299, 293, 228, 228, 294,
940 228, 216, 300, 228, 307, 219, 307, 308, 301, 221,
941 222, 302, 228, 228, 525, 589, 305, 306, 225, 310,
942 342, 310, 311, 588, 855, 228, 226, 227, 228, 227,
943 227, 520, 351, 352, 229, 230, 385, 386, 342, 231,
944 232, 228, 233, 234, 235, 234, 234, 236, 342, 626,
945 237, 162, 369, 162, 162, 309, 516, 162, 517, 162,
946 162, 518, 518, 228, 312, 314, 316, 686, 228, 228,
947
948 313, 162, 315, 162, 162, 522, 528, 228, 227, 238,
949 240, 228, 317, 696, 317, 318, 162, 842, 162, 162,
950 228, 228, 530, 241, 242, 321, 320, 228, 531, 612,
951 242, 242, 242, 242, 242, 242, 244, 699, 207, 162,
952 228, 162, 162, 814, 369, 245, 246, 162, 322, 162,
953 162, 228, 246, 246, 246, 246, 246, 246, 247, 701,
954 247, 247, 248, 319, 248, 249, 250, 228, 228, 323,
955 251, 252, 527, 253, 254, 255, 256, 256, 236, 228,
956 228, 257, 702, 258, 258, 258, 258, 258, 258, 258,
957 258, 258, 258, 259, 258, 258, 258, 258, 258, 258,
958
959 258, 258, 258, 258, 258, 258, 258, 258, 810, 247,
960 260, 190, 261, 190, 261, 261, 248, 190, 248, 262,
961 263, 190, 190, 190, 264, 265, 190, 266, 267, 268,
962 269, 269, 270, 190, 190, 271, 190, 248, 248, 248,
963 248, 272, 248, 248, 248, 248, 248, 248, 248, 248,
964 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
965 248, 248, 190, 261, 273, 227, 228, 227, 227, 804,
966 610, 613, 229, 230, 534, 369, 369, 231, 232, 228,
967 233, 234, 235, 234, 234, 236, 798, 162, 237, 162,
968 162, 228, 162, 274, 162, 162, 162, 706, 162, 162,
969
970 162, 228, 162, 162, 537, 162, 275, 162, 162, 324,
971 162, 707, 162, 162, 328, 228, 227, 238, 162, 691,
972 162, 162, 634, 634, 325, 327, 162, 326, 162, 162,
973 162, 228, 162, 162, 162, 330, 162, 162, 228, 541,
974 331, 329, 162, 708, 162, 162, 162, 228, 162, 162,
975 162, 228, 162, 162, 332, 336, 334, 228, 333, 337,
976 228, 532, 535, 209, 228, 335, 162, 338, 162, 162,
977 182, 548, 182, 341, 228, 341, 341, 228, 353, 711,
978 353, 354, 183, 228, 184, 184, 228, 228, 339, 343,
979 536, 343, 343, 404, 340, 162, 344, 162, 162, 228,
980
981 358, 346, 358, 359, 368, 796, 368, 368, 228, 698,
982 387, 357, 387, 388, 405, 369, 368, 208, 368, 368,
983 370, 355, 370, 370, 341, 341, 755, 341, 341, 356,
984 745, 342, 370, 228, 370, 370, 390, 391, 390, 392,
985 228, 343, 689, 343, 343, 228, 228, 162, 344, 162,
986 162, 360, 539, 543, 793, 368, 398, 391, 228, 540,
987 162, 389, 162, 162, 380, 773, 162, 368, 162, 162,
988 695, 400, 183, 347, 183, 183, 341, 361, 143, 361,
989 362, 363, 228, 363, 145, 146, 761, 393, 147, 148,
990 149, 150, 151, 364, 152, 364, 364, 746, 143, 153,
991
992 154, 155, 363, 363, 363, 363, 363, 363, 363, 363,
993 363, 363, 363, 363, 363, 363, 363, 363, 363, 363,
994 363, 363, 365, 366, 363, 363, 363, 157, 367, 159,
995 368, 611, 368, 368, 371, 162, 371, 162, 162, 402,
996 228, 402, 402, 703, 369, 713, 372, 714, 373, 373,
997 410, 228, 410, 410, 228, 411, 399, 418, 544, 418,
998 418, 213, 214, 215, 228, 375, 419, 183, 409, 183,
999 183, 425, 700, 425, 183, 417, 426, 426, 228, 757,
1000 369, 368, 190, 376, 190, 376, 376, 371, 190, 371,
1001 190, 190, 190, 190, 190, 190, 190, 190, 190, 377,
1002
1003 190, 378, 378, 190, 190, 190, 190, 190, 371, 371,
1004 371, 371, 379, 371, 371, 371, 371, 371, 371, 371,
1005 371, 371, 371, 371, 371, 371, 371, 371, 371, 371,
1006 371, 371, 371, 190, 376, 190, 394, 697, 394, 394,
1007 394, 705, 394, 394, 395, 710, 395, 396, 160, 228,
1008 160, 160, 167, 228, 167, 167, 168, 228, 168, 168,
1009 176, 709, 176, 176, 169, 179, 692, 179, 179, 228,
1010 228, 180, 177, 180, 180, 181, 405, 181, 181, 187,
1011 538, 187, 187, 228, 228, 546, 194, 394, 194, 194,
1012 199, 394, 199, 199, 788, 397, 188, 228, 220, 160,
1013
1014 220, 220, 160, 167, 160, 160, 228, 170, 195, 196,
1015 197, 178, 196, 200, 201, 167, 179, 167, 167, 634,
1016 634, 203, 180, 203, 203, 162, 181, 162, 162, 228,
1017 189, 168, 848, 168, 168, 228, 369, 198, 545, 169,
1018 533, 202, 228, 197, 201, 204, 228, 551, 228, 221,
1019 222, 552, 440, 160, 412, 592, 412, 412, 170, 228,
1020 170, 170, 592, 751, 228, 175, 167, 175, 175, 426,
1021 426, 844, 205, 406, 228, 406, 406, 228, 407, 542,
1022 182, 176, 170, 176, 176, 550, 162, 228, 162, 162,
1023 228, 408, 409, 177, 420, 882, 420, 420, 409, 409,
1024
1025 409, 409, 409, 409, 178, 412, 178, 178, 712, 170,
1026 414, 438, 414, 414, 228, 179, 175, 179, 179, 415,
1027 180, 849, 180, 180, 181, 369, 181, 181, 416, 417,
1028 794, 162, 178, 162, 162, 417, 417, 417, 417, 417,
1029 417, 342, 182, 744, 182, 420, 228, 162, 441, 162,
1030 162, 405, 518, 518, 183, 178, 183, 183, 423, 805,
1031 423, 423, 189, 248, 189, 189, 179, 430, 228, 430,
1032 430, 180, 644, 228, 442, 181, 421, 421, 421, 421,
1033 421, 228, 421, 549, 421, 421, 421, 421, 421, 421,
1034 421, 421, 421, 183, 421, 184, 184, 421, 421, 421,
1035
1036 421, 421, 182, 187, 182, 187, 187, 624, 431, 423,
1037 431, 431, 797, 189, 183, 228, 183, 183, 430, 194,
1038 188, 194, 194, 427, 618, 427, 427, 421, 421, 421,
1039 198, 422, 198, 198, 199, 881, 199, 199, 795, 228,
1040 228, 195, 196, 197, 622, 432, 428, 432, 432, 433,
1041 228, 433, 433, 228, 189, 553, 196, 200, 201, 431,
1042 202, 617, 202, 202, 203, 620, 203, 203, 369, 434,
1043 198, 434, 434, 205, 429, 205, 205, 439, 799, 439,
1044 439, 198, 369, 809, 756, 202, 197, 201, 204, 228,
1045 228, 437, 435, 437, 437, 212, 432, 212, 212, 443,
1046
1047 433, 443, 443, 446, 800, 446, 446, 162, 590, 162,
1048 162, 202, 228, 876, 806, 205, 228, 213, 214, 215,
1049 436, 444, 445, 583, 205, 445, 447, 448, 439, 449,
1050 228, 449, 449, 216, 886, 216, 216, 220, 228, 220,
1051 220, 221, 437, 221, 221, 451, 216, 451, 451, 369,
1052 433, 847, 448, 450, 431, 453, 342, 453, 453, 455,
1053 342, 455, 455, 458, 803, 458, 458, 456, 460, 808,
1054 460, 460, 462, 812, 462, 462, 228, 840, 454, 554,
1055 430, 228, 457, 342, 216, 228, 459, 845, 221, 222,
1056 592, 461, 221, 846, 880, 463, 451, 227, 884, 227,
1057
1058 227, 603, 228, 511, 229, 230, 877, 479, 228, 231,
1059 232, 228, 233, 464, 235, 464, 464, 236, 888, 467,
1060 237, 467, 467, 468, 228, 468, 468, 914, 917, 469,
1061 465, 469, 469, 342, 592, 477, 466, 477, 477, 930,
1062 478, 484, 472, 484, 484, 228, 452, 878, 227, 238,
1063 485, 228, 470, 476, 486, 228, 486, 486, 934, 483,
1064 488, 413, 488, 488, 162, 403, 162, 162, 489, 491,
1065 467, 491, 491, 493, 468, 493, 493, 487, 555, 228,
1066 928, 471, 473, 490, 473, 473, 510, 474, 510, 510,
1067 401, 495, 492, 495, 495, 486, 494, 486, 486, 991,
1068
1069 475, 476, 497, 931, 497, 497, 139, 476, 476, 476,
1070 476, 476, 476, 480, 496, 480, 480, 228, 487, 498,
1071 139, 162, 481, 162, 162, 499, 512, 99, 512, 512,
1072 99, 482, 483, 162, 991, 162, 162, 510, 483, 483,
1073 483, 483, 483, 483, 247, 991, 247, 247, 562, 513,
1074 563, 249, 250, 228, 991, 887, 251, 252, 558, 253,
1075 488, 255, 488, 488, 236, 228, 932, 257, 489, 491,
1076 991, 491, 491, 467, 342, 467, 467, 933, 514, 493,
1077 951, 493, 493, 490, 495, 228, 495, 495, 510, 955,
1078 510, 510, 492, 228, 959, 247, 260, 247, 991, 247,
1079
1080 247, 228, 494, 991, 249, 250, 228, 496, 972, 251,
1081 252, 991, 253, 254, 255, 254, 254, 236, 991, 497,
1082 257, 497, 497, 512, 467, 512, 512, 307, 973, 307,
1083 308, 521, 991, 521, 521, 556, 498, 556, 556, 510,
1084 228, 162, 499, 162, 162, 991, 513, 991, 247, 260,
1085 247, 991, 247, 247, 991, 991, 991, 249, 250, 228,
1086 557, 991, 251, 252, 991, 253, 254, 255, 254, 254,
1087 236, 991, 228, 257, 162, 514, 162, 162, 309, 991,
1088 974, 317, 521, 317, 318, 991, 556, 162, 991, 162,
1089 162, 559, 228, 991, 162, 991, 162, 162, 991, 991,
1090
1091 991, 247, 260, 421, 500, 421, 500, 500, 564, 421,
1092 991, 501, 502, 421, 421, 421, 503, 504, 421, 505,
1093 561, 506, 256, 256, 507, 421, 421, 508, 421, 991,
1094 991, 991, 319, 272, 162, 991, 162, 162, 991, 162,
1095 991, 162, 162, 162, 991, 162, 162, 162, 991, 162,
1096 162, 991, 991, 560, 421, 500, 509, 247, 566, 247,
1097 247, 248, 565, 248, 249, 250, 991, 991, 569, 251,
1098 252, 991, 253, 254, 255, 254, 254, 236, 991, 991,
1099 257, 991, 258, 258, 258, 258, 258, 258, 258, 258,
1100 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
1101
1102 258, 258, 258, 258, 258, 258, 258, 991, 247, 260,
1103 190, 261, 190, 261, 261, 991, 190, 991, 262, 263,
1104 190, 190, 190, 264, 265, 190, 266, 267, 268, 269,
1105 269, 270, 190, 190, 271, 190, 523, 991, 523, 523,
1106 529, 991, 529, 529, 547, 991, 547, 547, 162, 991,
1107 162, 162, 162, 991, 162, 162, 162, 991, 162, 162,
1108 991, 190, 261, 273, 228, 991, 991, 162, 228, 162,
1109 162, 991, 228, 162, 567, 162, 162, 228, 991, 568,
1110 162, 228, 162, 162, 991, 228, 570, 523, 991, 991,
1111 574, 529, 991, 571, 162, 547, 162, 162, 162, 572,
1112
1113 162, 162, 162, 991, 162, 162, 162, 991, 162, 162,
1114 162, 991, 162, 162, 991, 991, 162, 575, 162, 162,
1115 991, 578, 573, 576, 991, 991, 991, 577, 341, 991,
1116 341, 341, 991, 991, 991, 579, 991, 584, 991, 584,
1117 584, 586, 991, 586, 586, 162, 991, 162, 162, 580,
1118 358, 344, 358, 359, 368, 991, 368, 368, 591, 368,
1119 991, 368, 368, 368, 991, 368, 368, 991, 991, 991,
1120 593, 991, 593, 593, 991, 595, 991, 595, 595, 341,
1121 581, 991, 581, 581, 182, 342, 182, 991, 584, 342,
1122 991, 368, 586, 368, 368, 991, 183, 991, 183, 183,
1123
1124 991, 360, 991, 582, 368, 368, 368, 368, 991, 368,
1125 368, 368, 368, 991, 368, 991, 368, 991, 368, 368,
1126 593, 991, 593, 593, 991, 599, 991, 599, 599, 596,
1127 991, 581, 601, 991, 601, 601, 171, 618, 368, 991,
1128 368, 368, 368, 162, 991, 162, 162, 162, 991, 162,
1129 162, 991, 991, 619, 372, 368, 372, 372, 991, 991,
1130 368, 991, 615, 614, 991, 991, 162, 368, 162, 162,
1131 410, 991, 410, 410, 619, 411, 991, 162, 620, 162,
1132 162, 991, 991, 616, 991, 991, 722, 991, 628, 368,
1133 421, 602, 421, 602, 602, 371, 421, 371, 421, 421,
1134
1135 421, 421, 421, 421, 421, 421, 421, 372, 421, 373,
1136 373, 421, 421, 421, 421, 421, 371, 371, 371, 371,
1137 379, 371, 371, 371, 371, 371, 371, 371, 371, 371,
1138 371, 371, 371, 371, 371, 371, 371, 371, 371, 371,
1139 371, 421, 602, 421, 368, 991, 368, 368, 600, 162,
1140 600, 162, 162, 607, 991, 607, 607, 991, 991, 991,
1141 601, 991, 601, 601, 991, 609, 638, 609, 609, 387,
1142 991, 387, 388, 390, 391, 390, 392, 394, 991, 394,
1143 394, 394, 991, 394, 394, 395, 991, 395, 396, 412,
1144 991, 412, 412, 991, 391, 368, 368, 991, 368, 368,
1145
1146 600, 369, 600, 402, 607, 402, 402, 162, 991, 162,
1147 162, 991, 601, 369, 601, 601, 609, 991, 991, 453,
1148 389, 453, 453, 640, 393, 213, 214, 215, 394, 604,
1149 991, 991, 394, 991, 163, 418, 397, 418, 418, 618,
1150 412, 991, 454, 420, 419, 420, 420, 368, 190, 376,
1151 190, 376, 376, 632, 190, 619, 190, 190, 190, 190,
1152 190, 190, 190, 190, 190, 377, 190, 378, 378, 190,
1153 190, 190, 190, 190, 171, 618, 619, 163, 991, 991,
1154 620, 182, 618, 182, 991, 163, 171, 618, 991, 991,
1155 618, 404, 991, 183, 420, 183, 183, 991, 404, 190,
1156
1157 376, 190, 368, 619, 368, 368, 619, 423, 991, 423,
1158 423, 991, 405, 991, 633, 425, 620, 425, 601, 405,
1159 606, 606, 991, 620, 405, 991, 991, 405, 620, 991,
1160 991, 620, 162, 991, 162, 162, 991, 991, 427, 991,
1161 427, 427, 635, 991, 635, 635, 429, 991, 429, 429,
1162 991, 639, 991, 368, 406, 991, 406, 406, 423, 403,
1163 477, 428, 477, 477, 991, 478, 430, 991, 430, 430,
1164 991, 991, 625, 626, 431, 991, 431, 431, 664, 626,
1165 626, 626, 626, 626, 626, 406, 991, 406, 406, 429,
1166 407, 991, 162, 635, 162, 162, 162, 429, 162, 162,
1167
1168 991, 991, 991, 627, 628, 726, 432, 991, 432, 432,
1169 628, 628, 628, 628, 628, 628, 410, 430, 410, 410,
1170 433, 403, 433, 433, 716, 431, 991, 991, 434, 991,
1171 434, 434, 991, 991, 626, 626, 991, 636, 991, 636,
1172 636, 626, 626, 626, 626, 626, 626, 414, 991, 414,
1173 414, 435, 162, 991, 162, 162, 413, 432, 991, 436,
1174 991, 436, 436, 991, 819, 629, 630, 162, 991, 162,
1175 162, 433, 630, 630, 630, 630, 630, 630, 414, 436,
1176 414, 414, 437, 991, 437, 437, 991, 415, 636, 717,
1177 455, 991, 455, 455, 991, 991, 631, 632, 456, 646,
1178
1179 991, 646, 646, 632, 632, 632, 632, 632, 632, 418,
1180 436, 418, 418, 457, 484, 991, 484, 484, 413, 991,
1181 991, 991, 647, 485, 991, 991, 991, 630, 630, 991,
1182 991, 991, 668, 437, 630, 630, 630, 630, 630, 630,
1183 421, 421, 421, 421, 421, 182, 421, 182, 421, 421,
1184 421, 421, 421, 421, 421, 421, 421, 183, 421, 424,
1185 424, 421, 421, 421, 421, 421, 182, 182, 182, 182,
1186 193, 182, 182, 182, 182, 182, 182, 182, 182, 182,
1187 182, 182, 182, 182, 182, 182, 182, 182, 182, 182,
1188 182, 421, 421, 421, 637, 991, 637, 637, 439, 991,
1189
1190 439, 439, 443, 991, 443, 443, 641, 991, 641, 641,
1191 205, 991, 205, 205, 446, 991, 446, 446, 642, 991,
1192 642, 642, 991, 991, 444, 445, 198, 991, 198, 198,
1193 991, 449, 991, 449, 449, 991, 445, 447, 448, 643,
1194 991, 643, 643, 991, 451, 637, 451, 451, 645, 439,
1195 645, 645, 991, 433, 448, 450, 648, 641, 648, 648,
1196 458, 205, 458, 458, 649, 431, 649, 649, 460, 642,
1197 460, 460, 650, 991, 650, 650, 991, 198, 462, 991,
1198 462, 462, 430, 459, 651, 991, 651, 651, 991, 991,
1199 643, 461, 991, 991, 464, 451, 464, 464, 991, 645,
1200
1201 991, 463, 652, 991, 652, 652, 654, 648, 654, 654,
1202 467, 465, 467, 467, 991, 649, 468, 466, 468, 468,
1203 991, 991, 991, 650, 469, 653, 469, 469, 655, 991,
1204 655, 655, 991, 991, 991, 651, 656, 991, 656, 656,
1205 486, 991, 486, 486, 991, 991, 669, 470, 669, 669,
1206 488, 991, 488, 488, 991, 991, 991, 654, 489, 657,
1207 991, 467, 672, 487, 672, 672, 670, 468, 670, 670,
1208 991, 991, 491, 490, 491, 491, 471, 991, 991, 655,
1209 658, 991, 658, 658, 493, 239, 493, 493, 991, 671,
1210 618, 673, 991, 673, 673, 492, 674, 669, 674, 674,
1211
1212 659, 495, 991, 495, 495, 991, 619, 494, 991, 162,
1213 991, 162, 162, 672, 991, 991, 675, 991, 675, 675,
1214 991, 991, 991, 497, 496, 497, 497, 619, 718, 991,
1215 991, 660, 473, 991, 473, 473, 678, 472, 678, 678,
1216 498, 676, 673, 676, 676, 991, 499, 674, 991, 991,
1217 661, 662, 486, 991, 486, 486, 991, 662, 662, 662,
1218 662, 662, 662, 473, 677, 473, 473, 675, 474, 991,
1219 991, 162, 991, 162, 162, 487, 991, 488, 991, 488,
1220 488, 663, 664, 991, 991, 489, 991, 678, 664, 664,
1221 664, 664, 664, 664, 477, 991, 477, 477, 719, 472,
1222
1223 490, 991, 991, 491, 991, 491, 491, 493, 991, 493,
1224 493, 991, 662, 662, 495, 991, 495, 495, 991, 662,
1225 662, 662, 662, 662, 662, 480, 492, 480, 480, 467,
1226 494, 467, 467, 162, 479, 162, 162, 496, 681, 991,
1227 681, 681, 991, 665, 666, 497, 991, 497, 497, 991,
1228 666, 666, 666, 666, 666, 666, 480, 991, 480, 480,
1229 720, 682, 498, 991, 162, 481, 162, 162, 499, 991,
1230 512, 991, 512, 512, 667, 668, 510, 991, 510, 510,
1231 467, 668, 668, 668, 668, 668, 668, 484, 991, 484,
1232 484, 723, 510, 513, 510, 510, 479, 991, 991, 991,
1233
1234 512, 991, 512, 512, 991, 666, 666, 680, 991, 680,
1235 680, 991, 666, 666, 666, 666, 666, 666, 247, 991,
1236 247, 247, 514, 513, 991, 249, 250, 510, 991, 991,
1237 251, 252, 991, 253, 991, 255, 991, 493, 236, 493,
1238 493, 257, 991, 510, 495, 991, 495, 495, 991, 991,
1239 991, 162, 514, 162, 162, 634, 634, 991, 680, 991,
1240 494, 991, 634, 634, 991, 991, 991, 496, 991, 247,
1241 260, 247, 991, 247, 247, 248, 721, 248, 249, 250,
1242 991, 991, 991, 251, 252, 991, 253, 254, 255, 254,
1243 254, 236, 991, 991, 257, 991, 258, 258, 258, 258,
1244
1245 258, 258, 258, 258, 258, 258, 258, 258, 679, 258,
1246 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
1247 258, 991, 247, 260, 421, 500, 421, 500, 500, 248,
1248 421, 248, 501, 502, 421, 421, 421, 503, 504, 421,
1249 505, 254, 506, 515, 515, 507, 421, 421, 508, 421,
1250 248, 248, 248, 248, 272, 248, 248, 248, 248, 248,
1251 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
1252 248, 248, 248, 248, 248, 421, 500, 509, 227, 991,
1253 227, 227, 228, 991, 228, 229, 230, 991, 991, 991,
1254 231, 232, 991, 233, 234, 235, 234, 234, 236, 991,
1255
1256 991, 237, 991, 228, 228, 228, 228, 228, 228, 228,
1257 228, 228, 228, 228, 228, 228, 228, 228, 228, 683,
1258 228, 228, 228, 228, 228, 228, 228, 228, 991, 227,
1259 238, 684, 991, 684, 684, 991, 523, 991, 523, 523,
1260 991, 991, 991, 688, 991, 688, 688, 991, 690, 991,
1261 690, 690, 991, 529, 991, 529, 529, 991, 991, 991,
1262 694, 991, 694, 694, 704, 991, 704, 704, 547, 991,
1263 547, 547, 228, 715, 991, 715, 715, 556, 991, 556,
1264 556, 991, 684, 521, 228, 521, 521, 523, 991, 228,
1265 229, 230, 991, 991, 688, 231, 232, 991, 233, 690,
1266
1267 235, 228, 991, 236, 529, 228, 237, 162, 991, 162,
1268 162, 694, 991, 991, 725, 704, 725, 725, 162, 547,
1269 162, 162, 991, 162, 715, 162, 162, 991, 556, 724,
1270 162, 727, 162, 162, 521, 238, 728, 162, 991, 162,
1271 162, 991, 162, 729, 162, 162, 162, 991, 162, 162,
1272 730, 162, 991, 162, 162, 162, 991, 162, 162, 991,
1273 735, 731, 735, 735, 733, 725, 162, 991, 162, 162,
1274 162, 732, 162, 162, 637, 991, 637, 637, 991, 162,
1275 991, 162, 162, 734, 991, 991, 581, 737, 581, 581,
1276 991, 991, 736, 991, 584, 991, 584, 584, 586, 991,
1277
1278 586, 586, 162, 991, 162, 162, 991, 991, 991, 582,
1279 738, 735, 739, 368, 991, 368, 368, 344, 991, 991,
1280 991, 344, 991, 747, 162, 637, 162, 162, 991, 593,
1281 991, 593, 593, 368, 991, 368, 368, 581, 581, 991,
1282 581, 581, 182, 770, 182, 584, 991, 991, 991, 586,
1283 368, 991, 368, 368, 183, 991, 183, 183, 991, 991,
1284 368, 582, 368, 368, 368, 991, 749, 991, 749, 749,
1285 991, 607, 991, 607, 607, 740, 749, 991, 749, 749,
1286 368, 991, 368, 368, 368, 418, 991, 418, 418, 581,
1287 741, 991, 741, 741, 419, 991, 595, 991, 595, 595,
1288
1289 991, 368, 368, 632, 368, 368, 343, 991, 343, 343,
1290 991, 368, 609, 344, 609, 609, 991, 991, 593, 742,
1291 593, 593, 607, 162, 991, 162, 162, 991, 991, 991,
1292 368, 368, 368, 368, 991, 991, 368, 750, 368, 368,
1293 759, 741, 341, 991, 341, 341, 599, 991, 599, 599,
1294 991, 991, 599, 368, 599, 599, 991, 991, 343, 991,
1295 343, 343, 991, 609, 368, 344, 368, 368, 991, 991,
1296 368, 991, 368, 368, 991, 743, 753, 991, 753, 753,
1297 601, 368, 601, 601, 991, 991, 601, 368, 601, 601,
1298 991, 991, 370, 341, 370, 370, 991, 991, 368, 991,
1299
1300 368, 368, 991, 991, 991, 162, 991, 162, 162, 991,
1301 162, 991, 162, 162, 370, 368, 370, 370, 758, 991,
1302 991, 368, 368, 760, 368, 368, 600, 753, 600, 991,
1303 410, 754, 410, 410, 635, 411, 635, 635, 601, 991,
1304 601, 601, 182, 636, 182, 636, 636, 991, 628, 368,
1305 637, 991, 637, 637, 183, 991, 183, 183, 162, 991,
1306 162, 162, 772, 991, 772, 772, 641, 769, 641, 641,
1307 991, 771, 991, 368, 368, 991, 368, 368, 600, 646,
1308 600, 646, 646, 991, 652, 635, 652, 652, 991, 991,
1309 601, 991, 601, 601, 636, 656, 991, 656, 656, 991,
1310
1311 991, 637, 647, 477, 991, 477, 477, 653, 478, 991,
1312 991, 752, 162, 772, 162, 162, 991, 641, 657, 991,
1313 991, 664, 991, 830, 991, 368, 421, 602, 421, 602,
1314 602, 371, 421, 371, 421, 421, 421, 421, 421, 421,
1315 421, 421, 421, 372, 421, 605, 605, 421, 421, 421,
1316 421, 421, 371, 371, 371, 371, 379, 371, 371, 371,
1317 371, 371, 371, 371, 371, 371, 371, 371, 371, 371,
1318 371, 371, 371, 371, 371, 371, 371, 421, 602, 421,
1319 421, 602, 421, 602, 602, 991, 421, 991, 421, 421,
1320 421, 421, 421, 421, 421, 421, 421, 991, 421, 606,
1321
1322 606, 421, 421, 421, 421, 421, 670, 991, 670, 670,
1323 642, 991, 642, 642, 643, 991, 643, 643, 645, 991,
1324 645, 645, 991, 991, 774, 991, 774, 774, 991, 671,
1325 991, 421, 602, 421, 403, 991, 648, 991, 648, 648,
1326 991, 649, 991, 649, 649, 991, 991, 763, 764, 650,
1327 991, 650, 650, 991, 764, 764, 764, 764, 764, 764,
1328 403, 642, 991, 991, 162, 643, 162, 162, 651, 645,
1329 651, 651, 991, 764, 764, 774, 162, 815, 162, 162,
1330 764, 764, 764, 764, 764, 764, 406, 648, 406, 406,
1331 991, 407, 649, 775, 991, 775, 775, 991, 991, 654,
1332
1333 650, 654, 654, 834, 765, 628, 676, 991, 676, 676,
1334 991, 628, 628, 628, 628, 628, 628, 413, 655, 651,
1335 655, 655, 776, 991, 776, 776, 766, 767, 162, 677,
1336 162, 162, 991, 767, 767, 767, 767, 767, 767, 413,
1337 991, 820, 991, 777, 775, 777, 777, 991, 767, 767,
1338 654, 658, 991, 658, 658, 767, 767, 767, 767, 767,
1339 767, 414, 991, 414, 414, 658, 991, 658, 658, 655,
1340 415, 659, 991, 776, 484, 618, 484, 484, 991, 768,
1341 632, 991, 991, 485, 991, 659, 632, 632, 632, 632,
1342 632, 632, 668, 669, 777, 669, 669, 784, 991, 784,
1343
1344 784, 672, 658, 672, 672, 991, 991, 673, 991, 673,
1345 673, 674, 991, 674, 674, 991, 660, 472, 991, 675,
1346 991, 675, 675, 991, 785, 991, 785, 785, 991, 991,
1347 778, 779, 678, 991, 678, 678, 991, 779, 779, 779,
1348 779, 779, 779, 472, 669, 991, 991, 162, 784, 162,
1349 162, 680, 672, 680, 680, 991, 779, 779, 673, 991,
1350 991, 991, 674, 779, 779, 779, 779, 779, 779, 473,
1351 675, 473, 473, 823, 474, 785, 991, 991, 681, 991,
1352 681, 681, 787, 678, 787, 787, 991, 780, 664, 162,
1353 991, 162, 162, 991, 664, 664, 664, 664, 664, 664,
1354
1355 479, 682, 680, 684, 991, 684, 684, 991, 991, 781,
1356 782, 991, 991, 991, 816, 991, 782, 782, 782, 782,
1357 782, 782, 479, 991, 991, 789, 991, 789, 789, 991,
1358 991, 782, 782, 787, 688, 991, 688, 688, 782, 782,
1359 782, 782, 782, 782, 480, 991, 480, 480, 790, 991,
1360 790, 790, 991, 481, 684, 991, 162, 991, 162, 162,
1361 991, 991, 783, 668, 991, 162, 228, 162, 162, 668,
1362 668, 668, 668, 668, 668, 247, 789, 247, 247, 248,
1363 991, 248, 249, 250, 817, 688, 852, 251, 252, 228,
1364 253, 254, 255, 254, 254, 236, 991, 991, 257, 790,
1365
1366 258, 258, 258, 258, 786, 258, 258, 258, 258, 258,
1367 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
1368 258, 258, 258, 258, 258, 991, 247, 260, 791, 991,
1369 791, 791, 792, 991, 792, 792, 690, 991, 690, 690,
1370 694, 991, 694, 694, 801, 991, 801, 801, 802, 991,
1371 802, 802, 704, 991, 704, 704, 807, 991, 807, 807,
1372 811, 991, 811, 811, 813, 991, 813, 813, 715, 228,
1373 715, 715, 818, 228, 818, 818, 991, 991, 725, 791,
1374 725, 725, 991, 792, 991, 228, 991, 690, 991, 228,
1375 162, 694, 162, 162, 991, 801, 991, 228, 991, 802,
1376
1377 991, 228, 991, 704, 991, 228, 991, 807, 991, 821,
1378 162, 811, 162, 162, 162, 813, 162, 162, 162, 715,
1379 162, 162, 162, 818, 162, 162, 991, 822, 162, 725,
1380 162, 162, 991, 824, 162, 825, 162, 162, 829, 826,
1381 829, 829, 162, 991, 162, 162, 991, 162, 991, 162,
1382 162, 991, 735, 827, 735, 735, 991, 991, 991, 828,
1383 832, 162, 991, 162, 162, 991, 835, 831, 835, 835,
1384 836, 991, 836, 836, 162, 991, 162, 162, 833, 741,
1385 991, 741, 741, 841, 991, 841, 841, 991, 843, 829,
1386 843, 843, 368, 991, 368, 368, 368, 991, 368, 368,
1387
1388 991, 991, 344, 735, 753, 900, 753, 753, 749, 991,
1389 749, 749, 749, 991, 749, 749, 991, 835, 342, 991,
1390 991, 836, 581, 991, 581, 581, 182, 991, 182, 850,
1391 741, 850, 850, 851, 841, 851, 851, 991, 183, 843,
1392 183, 183, 991, 368, 991, 582, 162, 368, 162, 162,
1393 772, 837, 772, 772, 859, 753, 859, 859, 860, 991,
1394 860, 860, 369, 772, 991, 772, 772, 853, 991, 861,
1395 991, 861, 861, 581, 341, 991, 341, 341, 991, 774,
1396 850, 774, 774, 775, 851, 775, 775, 991, 991, 991,
1397 343, 991, 343, 343, 991, 991, 776, 344, 776, 776,
1398
1399 777, 772, 777, 777, 784, 859, 784, 784, 785, 860,
1400 785, 785, 991, 787, 772, 787, 787, 991, 991, 838,
1401 861, 789, 991, 789, 789, 341, 341, 991, 341, 341,
1402 774, 991, 991, 790, 775, 790, 790, 791, 991, 791,
1403 791, 991, 343, 991, 343, 343, 991, 776, 991, 344,
1404 792, 777, 792, 792, 162, 784, 162, 162, 991, 785,
1405 162, 839, 162, 162, 787, 801, 991, 801, 801, 898,
1406 991, 991, 789, 879, 991, 879, 879, 341, 410, 896,
1407 410, 410, 991, 411, 790, 991, 991, 162, 791, 162,
1408 162, 991, 162, 991, 162, 162, 854, 626, 991, 991,
1409
1410 991, 792, 991, 626, 626, 626, 626, 626, 626, 418,
1411 991, 418, 418, 903, 228, 899, 801, 162, 419, 162,
1412 162, 991, 991, 162, 879, 162, 162, 856, 630, 991,
1413 901, 991, 945, 991, 630, 630, 630, 630, 630, 630,
1414 858, 858, 858, 858, 858, 182, 858, 182, 858, 858,
1415 858, 858, 858, 858, 858, 858, 858, 183, 858, 183,
1416 183, 858, 858, 858, 858, 858, 185, 185, 185, 185,
1417 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
1418 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
1419 185, 858, 858, 858, 477, 991, 477, 477, 883, 478,
1420
1421 883, 883, 162, 991, 162, 162, 991, 991, 162, 991,
1422 162, 162, 862, 662, 162, 902, 162, 162, 991, 662,
1423 662, 662, 662, 662, 662, 484, 991, 484, 484, 904,
1424 991, 897, 991, 802, 485, 802, 802, 991, 807, 228,
1425 807, 807, 991, 864, 666, 991, 991, 991, 991, 883,
1426 666, 666, 666, 666, 666, 666, 858, 866, 858, 866,
1427 866, 991, 858, 991, 867, 868, 858, 858, 858, 869,
1428 870, 858, 871, 885, 872, 885, 885, 873, 858, 858,
1429 874, 858, 991, 991, 802, 889, 258, 889, 889, 807,
1430 890, 991, 890, 890, 891, 991, 891, 891, 811, 991,
1431
1432 811, 811, 892, 991, 892, 892, 991, 858, 866, 875,
1433 813, 991, 813, 813, 228, 894, 991, 894, 894, 895,
1434 991, 895, 895, 991, 885, 818, 228, 818, 818, 991,
1435 905, 228, 905, 905, 991, 228, 889, 162, 991, 162,
1436 162, 890, 991, 228, 829, 891, 829, 829, 908, 811,
1437 908, 908, 991, 892, 906, 162, 991, 162, 162, 991,
1438 909, 813, 909, 909, 991, 991, 894, 991, 907, 162,
1439 895, 162, 162, 991, 991, 162, 818, 162, 162, 991,
1440 835, 905, 835, 835, 836, 991, 836, 836, 991, 991,
1441 162, 910, 162, 162, 162, 829, 162, 162, 991, 908,
1442
1443 991, 911, 486, 922, 486, 486, 488, 991, 488, 488,
1444 491, 909, 491, 491, 489, 162, 991, 162, 162, 991,
1445 162, 923, 162, 162, 991, 487, 991, 991, 938, 490,
1446 991, 835, 940, 492, 991, 836, 858, 912, 858, 912,
1447 912, 182, 858, 182, 858, 858, 858, 858, 858, 858,
1448 858, 858, 858, 183, 858, 183, 183, 858, 858, 858,
1449 913, 858, 345, 345, 345, 345, 345, 345, 345, 345,
1450 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
1451 345, 345, 345, 345, 345, 345, 345, 858, 912, 858,
1452 915, 991, 915, 915, 916, 991, 916, 916, 841, 991,
1453
1454 841, 841, 843, 991, 843, 843, 843, 991, 843, 843,
1455 991, 850, 991, 850, 850, 991, 991, 919, 991, 919,
1456 919, 344, 991, 991, 493, 342, 493, 493, 495, 342,
1457 495, 495, 991, 162, 991, 162, 162, 991, 991, 991,
1458 850, 915, 850, 850, 991, 916, 592, 494, 939, 841,
1459 369, 496, 851, 843, 851, 851, 920, 843, 920, 920,
1460 991, 991, 850, 858, 918, 858, 918, 918, 919, 858,
1461 991, 858, 858, 858, 858, 858, 858, 858, 858, 858,
1462 921, 858, 921, 921, 858, 858, 858, 858, 858, 369,
1463 859, 850, 859, 859, 860, 991, 860, 860, 991, 991,
1464
1465 991, 603, 861, 851, 861, 861, 497, 920, 497, 497,
1466 991, 991, 991, 369, 858, 918, 858, 467, 991, 467,
1467 467, 991, 510, 498, 510, 510, 991, 991, 991, 499,
1468 991, 921, 163, 991, 163, 163, 879, 403, 879, 879,
1469 162, 859, 162, 162, 991, 860, 512, 991, 512, 512,
1470 924, 764, 883, 861, 883, 883, 991, 764, 764, 764,
1471 764, 764, 764, 171, 991, 171, 171, 975, 467, 513,
1472 991, 991, 413, 510, 991, 885, 991, 885, 885, 991,
1473 991, 925, 767, 162, 991, 162, 162, 879, 767, 767,
1474 767, 767, 767, 767, 239, 991, 239, 239, 514, 472,
1475
1476 953, 991, 162, 883, 162, 162, 935, 991, 935, 935,
1477 991, 991, 926, 779, 889, 941, 889, 889, 991, 779,
1478 779, 779, 779, 779, 779, 243, 885, 243, 243, 936,
1479 991, 936, 936, 937, 479, 937, 937, 890, 991, 890,
1480 890, 991, 991, 927, 782, 991, 891, 228, 891, 891,
1481 782, 782, 782, 782, 782, 782, 247, 935, 247, 247,
1482 991, 991, 991, 249, 250, 889, 991, 991, 251, 252,
1483 228, 253, 991, 255, 228, 892, 236, 892, 892, 257,
1484 936, 991, 991, 894, 937, 894, 894, 894, 890, 894,
1485 894, 895, 991, 895, 895, 991, 942, 891, 942, 942,
1486
1487 943, 991, 943, 943, 991, 991, 991, 247, 260, 162,
1488 991, 162, 162, 946, 991, 946, 946, 905, 991, 905,
1489 905, 162, 991, 162, 162, 948, 892, 948, 948, 991,
1490 991, 991, 947, 991, 894, 944, 991, 908, 894, 908,
1491 908, 909, 895, 909, 909, 991, 162, 942, 162, 162,
1492 950, 943, 950, 950, 581, 991, 581, 581, 915, 991,
1493 915, 915, 991, 916, 946, 916, 916, 949, 905, 920,
1494 991, 920, 920, 991, 991, 991, 948, 582, 991, 991,
1495 368, 344, 368, 368, 991, 991, 344, 919, 908, 919,
1496 919, 920, 909, 920, 920, 921, 991, 921, 921, 991,
1497
1498 162, 950, 162, 162, 592, 581, 991, 991, 935, 915,
1499 935, 935, 991, 952, 916, 625, 626, 991, 991, 991,
1500 920, 991, 626, 626, 626, 626, 626, 626, 991, 991,
1501 954, 368, 954, 954, 936, 991, 936, 936, 919, 991,
1502 629, 630, 920, 991, 991, 991, 921, 630, 630, 630,
1503 630, 630, 630, 661, 662, 956, 991, 956, 956, 935,
1504 662, 662, 662, 662, 662, 662, 665, 666, 991, 991,
1505 991, 228, 991, 666, 666, 666, 666, 666, 666, 991,
1506 957, 954, 957, 957, 958, 936, 958, 958, 937, 991,
1507 937, 937, 961, 991, 961, 961, 228, 162, 991, 162,
1508
1509 162, 162, 991, 162, 162, 964, 956, 964, 964, 942,
1510 991, 942, 942, 943, 962, 943, 943, 991, 991, 991,
1511 162, 228, 162, 162, 991, 228, 162, 991, 162, 162,
1512 991, 957, 991, 963, 946, 958, 946, 946, 967, 937,
1513 967, 967, 991, 961, 991, 966, 965, 948, 991, 948,
1514 948, 968, 991, 968, 968, 950, 964, 950, 950, 969,
1515 942, 969, 969, 162, 943, 162, 162, 162, 991, 162,
1516 162, 954, 991, 954, 954, 956, 991, 956, 956, 991,
1517 957, 971, 957, 957, 958, 946, 958, 958, 970, 967,
1518 961, 991, 961, 961, 342, 991, 991, 976, 948, 976,
1519
1520 976, 964, 968, 964, 964, 977, 950, 977, 977, 978,
1521 969, 978, 978, 967, 991, 967, 967, 968, 991, 968,
1522 968, 969, 954, 969, 969, 162, 956, 162, 162, 991,
1523 162, 957, 162, 162, 981, 958, 981, 981, 991, 991,
1524 991, 961, 979, 982, 344, 982, 982, 980, 976, 991,
1525 991, 983, 964, 983, 983, 162, 977, 162, 162, 976,
1526 978, 976, 976, 977, 967, 977, 977, 978, 968, 978,
1527 978, 991, 969, 991, 162, 228, 162, 162, 991, 991,
1528 162, 984, 162, 162, 228, 981, 981, 991, 981, 981,
1529 991, 986, 228, 991, 982, 985, 982, 991, 982, 982,
1530
1531 991, 983, 983, 983, 983, 987, 991, 987, 987, 162,
1532 976, 162, 162, 989, 977, 989, 989, 987, 978, 987,
1533 987, 991, 991, 990, 988, 990, 990, 989, 991, 989,
1534 989, 990, 991, 990, 990, 991, 991, 981, 991, 991,
1535 991, 991, 991, 991, 991, 991, 991, 982, 991, 991,
1536 991, 991, 983, 991, 991, 991, 987, 991, 991, 991,
1537 991, 991, 991, 991, 989, 991, 991, 991, 987, 991,
1538 991, 991, 991, 991, 990, 991, 991, 991, 989, 991,
1539 991, 991, 990, 161, 991, 991, 161, 163, 163, 163,
1540 163, 163, 163, 163, 171, 171, 171, 171, 171, 171,
1541
1542 171, 185, 991, 991, 185, 228, 228, 228, 991, 228,
1543 228, 239, 239, 239, 239, 239, 239, 239, 243, 243,
1544 243, 243, 243, 243, 243, 342, 342, 991, 991, 342,
1545 342, 345, 991, 991, 345, 369, 369, 991, 991, 369,
1546 374, 374, 991, 991, 374, 182, 991, 991, 182, 248,
1547 248, 248, 991, 248, 248, 592, 592, 991, 991, 592,
1548 594, 594, 991, 991, 594, 598, 598, 991, 991, 598,
1549 600, 600, 991, 991, 600, 371, 371, 991, 991, 371,
1550 603, 603, 991, 991, 603, 621, 621, 991, 621, 621,
1551 991, 621, 623, 623, 991, 623, 623, 991, 623, 163,
1552
1553 163, 163, 163, 163, 163, 163, 171, 171, 171, 171,
1554 171, 171, 171, 185, 991, 991, 185, 239, 239, 239,
1555 239, 239, 239, 239, 243, 243, 243, 243, 243, 243,
1556 243, 345, 345, 991, 991, 345, 345, 342, 342, 991,
1557 991, 342, 342, 592, 592, 991, 991, 592, 748, 748,
1558 991, 991, 748, 594, 594, 991, 991, 594, 598, 598,
1559 991, 991, 598, 600, 600, 991, 991, 600, 603, 603,
1560 991, 991, 603, 369, 369, 991, 991, 369, 762, 762,
1561 991, 762, 991, 991, 762, 163, 163, 163, 163, 163,
1562 163, 163, 171, 171, 171, 171, 171, 171, 171, 185,
1563
1564 991, 991, 185, 421, 421, 991, 421, 421, 421, 421,
1565 239, 239, 239, 239, 239, 239, 239, 243, 243, 243,
1566 243, 243, 243, 243, 345, 345, 991, 991, 345, 345,
1567 342, 342, 991, 991, 342, 342, 748, 748, 991, 991,
1568 748, 31, 991, 991, 991, 991, 991, 991, 991, 991,
1569 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
1570 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
1571 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
1572 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
1573 991, 991, 991, 991, 991, 991
1574
1575 } ;
1576
1577 static yyconst short int yy_chk[6397] =
1578 { 0,
1579 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1580 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1581 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1582 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1583 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1584 1, 1, 1, 1, 3, 3, 3, 3, 3, 3,
1585 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1586 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1587 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1588 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1589
1590 3, 3, 3, 3, 3, 3, 3, 3, 5, 934,
1591 5, 5, 6, 131, 6, 6, 7, 7, 71, 7,
1592 8, 8, 7, 8, 7, 17, 8, 17, 8, 7,
1593 18, 71, 18, 8, 77, 77, 131, 21, 71, 21,
1594 21, 348, 34, 877, 34, 34, 5, 77, 348, 22,
1595 6, 22, 22, 5, 82, 82, 164, 6, 36, 5,
1596 36, 36, 865, 6, 11, 114, 11, 82, 11, 55,
1597 72, 55, 55, 72, 11, 114, 11, 164, 11, 116,
1598 21, 11, 474, 11, 11, 12, 72, 12, 21, 12,
1599 116, 350, 22, 34, 863, 12, 350, 12, 164, 12,
1600
1601 22, 55, 12, 474, 12, 12, 19, 19, 19, 19,
1602 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
1603 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
1604 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
1605 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
1606 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
1607 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
1608 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
1609 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
1610 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
1611
1612 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
1613 23, 23, 23, 23, 25, 25, 25, 25, 26, 26,
1614 26, 26, 29, 74, 29, 29, 30, 73, 30, 30,
1615 74, 38, 74, 38, 38, 25, 74, 73, 130, 26,
1616 73, 85, 74, 191, 191, 39, 857, 39, 39, 130,
1617 85, 29, 85, 39, 85, 30, 41, 25, 41, 41,
1618 43, 26, 43, 43, 29, 25, 115, 29, 30, 26,
1619 228, 30, 43, 29, 75, 855, 115, 30, 33, 33,
1620 33, 33, 38, 228, 75, 33, 33, 75, 128, 33,
1621 33, 33, 33, 33, 129, 33, 39, 814, 128, 33,
1622
1623 33, 33, 33, 56, 129, 56, 56, 41, 381, 172,
1624 44, 43, 44, 44, 45, 381, 45, 45, 46, 783,
1625 46, 46, 267, 267, 33, 56, 172, 78, 33, 33,
1626 33, 37, 48, 234, 48, 48, 57, 78, 57, 57,
1627 78, 782, 244, 78, 37, 37, 234, 172, 47, 48,
1628 47, 37, 37, 37, 37, 37, 37, 40, 57, 244,
1629 47, 44, 47, 47, 366, 45, 40, 40, 161, 46,
1630 161, 161, 366, 40, 40, 40, 40, 40, 40, 47,
1631 244, 377, 377, 48, 49, 49, 49, 49, 49, 49,
1632 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
1633
1634 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
1635 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
1636 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
1637 49, 49, 49, 49, 49, 49, 49, 49, 51, 479,
1638 51, 51, 52, 479, 52, 52, 53, 525, 53, 53,
1639 54, 780, 54, 54, 58, 522, 58, 58, 240, 525,
1640 59, 522, 59, 59, 52, 52, 52, 532, 53, 53,
1641 53, 532, 54, 54, 54, 58, 59, 59, 779, 240,
1642 60, 79, 60, 60, 61, 274, 61, 61, 62, 51,
1643 62, 62, 79, 52, 79, 768, 79, 53, 274, 81,
1644
1645 240, 54, 60, 60, 60, 63, 279, 63, 63, 76,
1646 80, 76, 81, 80, 281, 81, 279, 83, 76, 279,
1647 83, 83, 76, 767, 76, 83, 80, 281, 84, 80,
1648 280, 60, 84, 83, 87, 61, 87, 87, 84, 62,
1649 62, 84, 86, 280, 280, 352, 86, 86, 63, 88,
1650 352, 88, 88, 351, 765, 86, 63, 65, 275, 65,
1651 65, 275, 117, 117, 65, 65, 132, 132, 351, 65,
1652 65, 275, 65, 65, 65, 65, 65, 65, 117, 764,
1653 65, 90, 132, 90, 90, 87, 272, 91, 272, 91,
1654 91, 272, 272, 283, 88, 90, 91, 524, 277, 524,
1655
1656 88, 93, 90, 93, 93, 277, 283, 285, 65, 65,
1657 66, 277, 92, 535, 92, 92, 94, 746, 94, 94,
1658 285, 535, 285, 66, 66, 94, 93, 286, 286, 385,
1659 66, 66, 66, 66, 66, 66, 67, 538, 94, 95,
1660 286, 95, 95, 714, 385, 67, 67, 96, 95, 96,
1661 96, 538, 67, 67, 67, 67, 67, 67, 68, 540,
1662 68, 68, 68, 92, 68, 68, 68, 282, 540, 96,
1663 68, 68, 282, 68, 68, 68, 68, 68, 68, 541,
1664 282, 68, 541, 68, 68, 68, 68, 68, 68, 68,
1665 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
1666
1667 68, 68, 68, 68, 68, 68, 68, 68, 710, 68,
1668 68, 69, 69, 69, 69, 69, 69, 69, 69, 69,
1669 69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
1670 69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
1671 69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
1672 69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
1673 69, 69, 69, 69, 69, 70, 289, 70, 70, 703,
1674 383, 386, 70, 70, 289, 383, 386, 70, 70, 289,
1675 70, 70, 70, 70, 70, 70, 697, 97, 70, 97,
1676 97, 292, 98, 70, 98, 98, 99, 545, 99, 99,
1677
1678 100, 545, 100, 100, 292, 101, 70, 101, 101, 97,
1679 102, 546, 102, 102, 101, 546, 70, 70, 103, 530,
1680 103, 103, 425, 425, 98, 100, 104, 99, 104, 104,
1681 105, 530, 105, 105, 106, 103, 106, 106, 295, 295,
1682 103, 102, 107, 548, 107, 107, 108, 290, 108, 108,
1683 109, 295, 109, 109, 104, 108, 106, 548, 105, 108,
1684 290, 287, 290, 107, 287, 107, 110, 109, 110, 110,
1685 112, 302, 112, 111, 302, 111, 111, 287, 118, 551,
1686 118, 118, 112, 551, 112, 112, 291, 302, 110, 111,
1687 291, 111, 111, 481, 110, 120, 111, 120, 120, 291,
1688
1689 121, 112, 121, 121, 124, 695, 124, 124, 537, 537,
1690 133, 120, 133, 133, 481, 611, 127, 120, 127, 127,
1691 124, 118, 124, 124, 111, 113, 611, 113, 113, 118,
1692 589, 589, 127, 297, 127, 127, 134, 134, 134, 134,
1693 527, 113, 527, 113, 113, 294, 297, 139, 113, 139,
1694 139, 121, 294, 297, 691, 124, 139, 134, 294, 294,
1695 141, 133, 141, 141, 127, 644, 162, 127, 162, 162,
1696 534, 141, 182, 113, 182, 182, 113, 122, 122, 122,
1697 122, 122, 534, 122, 122, 122, 617, 134, 122, 122,
1698 122, 122, 122, 122, 122, 122, 122, 590, 122, 122,
1699
1700 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
1701 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
1702 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
1703 125, 384, 125, 125, 125, 140, 125, 140, 140, 157,
1704 542, 157, 157, 542, 384, 553, 125, 554, 125, 125,
1705 166, 298, 166, 166, 553, 166, 140, 174, 298, 174,
1706 174, 157, 157, 157, 298, 125, 174, 183, 166, 183,
1707 183, 193, 539, 193, 193, 174, 193, 193, 539, 613,
1708 613, 125, 126, 126, 126, 126, 126, 126, 126, 126,
1709 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
1710
1711 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
1712 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
1713 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
1714 126, 126, 126, 126, 126, 126, 135, 536, 135, 135,
1715 137, 544, 137, 137, 138, 550, 138, 138, 143, 536,
1716 143, 143, 145, 544, 145, 145, 146, 550, 146, 146,
1717 148, 549, 148, 148, 146, 149, 531, 149, 149, 549,
1718 293, 150, 148, 150, 150, 151, 485, 151, 151, 152,
1719 293, 152, 152, 293, 300, 300, 153, 135, 153, 153,
1720 154, 137, 154, 154, 683, 138, 152, 300, 159, 143,
1721
1722 159, 159, 160, 145, 160, 160, 683, 146, 153, 153,
1723 153, 148, 154, 154, 154, 167, 149, 167, 167, 634,
1724 634, 155, 150, 155, 155, 209, 151, 209, 209, 288,
1725 152, 168, 755, 168, 168, 299, 755, 153, 299, 168,
1726 288, 154, 288, 155, 155, 155, 305, 305, 299, 159,
1727 159, 305, 209, 160, 169, 597, 169, 169, 170, 305,
1728 170, 170, 750, 597, 296, 175, 167, 175, 175, 426,
1729 426, 750, 155, 165, 304, 165, 165, 296, 165, 296,
1730 426, 176, 168, 176, 176, 304, 207, 304, 207, 207,
1731 798, 165, 165, 176, 177, 798, 177, 177, 165, 165,
1732
1733 165, 165, 165, 165, 178, 169, 178, 178, 552, 170,
1734 173, 207, 173, 173, 552, 179, 175, 179, 179, 173,
1735 180, 756, 180, 180, 181, 756, 181, 181, 173, 173,
1736 692, 210, 176, 210, 210, 173, 173, 173, 173, 173,
1737 173, 588, 185, 588, 185, 177, 692, 211, 210, 211,
1738 211, 478, 518, 518, 185, 178, 185, 185, 188, 705,
1739 188, 188, 189, 518, 189, 189, 179, 196, 303, 196,
1740 196, 180, 452, 705, 211, 181, 184, 184, 184, 184,
1741 184, 303, 184, 303, 184, 184, 184, 184, 184, 184,
1742 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
1743
1744 184, 184, 186, 187, 186, 187, 187, 405, 197, 188,
1745 197, 197, 696, 189, 186, 696, 186, 186, 196, 194,
1746 187, 194, 194, 195, 620, 195, 195, 184, 184, 184,
1747 198, 186, 198, 198, 199, 797, 199, 199, 693, 797,
1748 306, 194, 194, 194, 404, 200, 195, 200, 200, 201,
1749 693, 201, 201, 306, 187, 306, 199, 199, 199, 197,
1750 202, 401, 202, 202, 203, 620, 203, 203, 369, 204,
1751 194, 204, 204, 205, 195, 205, 205, 208, 698, 208,
1752 208, 198, 612, 709, 612, 199, 203, 203, 203, 709,
1753 698, 206, 204, 206, 206, 212, 200, 212, 212, 213,
1754
1755 201, 213, 213, 214, 699, 214, 214, 206, 355, 206,
1756 206, 202, 788, 788, 706, 203, 699, 212, 212, 212,
1757 204, 213, 213, 346, 205, 214, 214, 214, 208, 215,
1758 706, 215, 215, 216, 804, 216, 216, 220, 804, 220,
1759 220, 221, 206, 221, 221, 222, 212, 222, 222, 754,
1760 213, 754, 215, 215, 214, 229, 343, 229, 229, 230,
1761 342, 230, 230, 231, 702, 231, 231, 230, 232, 708,
1762 232, 232, 233, 712, 233, 233, 702, 744, 229, 312,
1763 215, 708, 230, 744, 216, 712, 231, 751, 220, 220,
1764 751, 232, 221, 752, 796, 233, 222, 227, 800, 227,
1765
1766 227, 752, 796, 259, 227, 227, 793, 243, 793, 227,
1767 227, 800, 227, 235, 227, 235, 235, 227, 806, 236,
1768 227, 236, 236, 237, 806, 237, 237, 838, 844, 238,
1769 235, 238, 238, 838, 844, 242, 235, 242, 242, 878,
1770 242, 246, 239, 246, 246, 794, 225, 794, 227, 227,
1771 246, 878, 238, 242, 249, 884, 249, 249, 884, 246,
1772 250, 171, 250, 250, 314, 163, 314, 314, 250, 251,
1773 236, 251, 251, 252, 237, 252, 252, 249, 314, 876,
1774 876, 238, 241, 250, 241, 241, 257, 241, 257, 257,
1775 156, 253, 251, 253, 253, 262, 252, 262, 262, 31,
1776
1777 241, 241, 255, 880, 255, 255, 28, 241, 241, 241,
1778 241, 241, 241, 245, 253, 245, 245, 880, 262, 255,
1779 27, 324, 245, 324, 324, 255, 260, 10, 260, 260,
1780 9, 245, 245, 320, 0, 320, 320, 257, 245, 245,
1781 245, 245, 245, 245, 247, 0, 247, 247, 324, 260,
1782 324, 247, 247, 805, 0, 805, 247, 247, 320, 247,
1783 263, 247, 263, 263, 247, 881, 881, 247, 263, 264,
1784 0, 264, 264, 270, 914, 270, 270, 882, 260, 265,
1785 914, 265, 265, 263, 266, 882, 266, 266, 271, 929,
1786 271, 271, 264, 933, 933, 247, 247, 248, 0, 248,
1787
1788 248, 929, 265, 0, 248, 248, 955, 266, 955, 248,
1789 248, 0, 248, 248, 248, 248, 248, 248, 0, 268,
1790 248, 268, 268, 273, 270, 273, 273, 309, 959, 309,
1791 309, 276, 0, 276, 276, 315, 268, 315, 315, 271,
1792 959, 316, 268, 316, 316, 0, 273, 0, 248, 248,
1793 254, 0, 254, 254, 0, 0, 0, 254, 254, 276,
1794 316, 0, 254, 254, 0, 254, 254, 254, 254, 254,
1795 254, 0, 276, 254, 321, 273, 321, 321, 309, 0,
1796 960, 319, 276, 319, 319, 0, 315, 325, 0, 325,
1797 325, 321, 960, 0, 323, 0, 323, 323, 0, 0,
1798
1799 0, 254, 254, 256, 256, 256, 256, 256, 325, 256,
1800 0, 256, 256, 256, 256, 256, 256, 256, 256, 256,
1801 323, 256, 256, 256, 256, 256, 256, 256, 256, 0,
1802 0, 0, 319, 256, 322, 0, 322, 322, 0, 326,
1803 0, 326, 326, 327, 0, 327, 327, 330, 0, 330,
1804 330, 0, 0, 322, 256, 256, 256, 258, 327, 258,
1805 258, 258, 326, 258, 258, 258, 0, 0, 330, 258,
1806 258, 0, 258, 258, 258, 258, 258, 258, 0, 0,
1807 258, 0, 258, 258, 258, 258, 258, 258, 258, 258,
1808 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
1809
1810 258, 258, 258, 258, 258, 258, 258, 0, 258, 258,
1811 269, 269, 269, 269, 269, 0, 269, 0, 269, 269,
1812 269, 269, 269, 269, 269, 269, 269, 269, 269, 269,
1813 269, 269, 269, 269, 269, 269, 278, 0, 278, 278,
1814 284, 0, 284, 284, 301, 0, 301, 301, 328, 0,
1815 328, 328, 329, 0, 329, 329, 331, 0, 331, 331,
1816 0, 269, 269, 269, 278, 0, 0, 335, 284, 335,
1817 335, 0, 301, 332, 328, 332, 332, 278, 0, 329,
1818 333, 284, 333, 333, 0, 301, 331, 278, 0, 0,
1819 335, 284, 0, 332, 334, 301, 334, 334, 336, 333,
1820
1821 336, 336, 337, 0, 337, 337, 338, 0, 338, 338,
1822 339, 0, 339, 339, 0, 0, 340, 336, 340, 340,
1823 0, 338, 334, 336, 0, 0, 0, 337, 341, 0,
1824 341, 341, 0, 0, 0, 339, 0, 347, 0, 347,
1825 347, 349, 0, 349, 349, 357, 0, 357, 357, 340,
1826 360, 341, 360, 360, 363, 0, 363, 363, 357, 364,
1827 0, 364, 364, 368, 0, 368, 368, 0, 0, 0,
1828 363, 0, 363, 363, 0, 364, 0, 364, 364, 341,
1829 345, 0, 345, 345, 345, 347, 345, 0, 347, 349,
1830 0, 376, 349, 376, 376, 0, 345, 0, 345, 345,
1831
1832 0, 360, 0, 345, 365, 363, 365, 365, 0, 370,
1833 364, 370, 370, 0, 368, 0, 371, 0, 371, 371,
1834 365, 0, 365, 365, 0, 370, 0, 370, 370, 365,
1835 0, 345, 371, 0, 371, 371, 413, 413, 372, 0,
1836 372, 372, 376, 398, 0, 398, 398, 399, 0, 399,
1837 399, 0, 0, 413, 372, 365, 372, 372, 0, 0,
1838 370, 0, 399, 398, 0, 0, 400, 371, 400, 400,
1839 409, 0, 409, 409, 413, 409, 0, 563, 413, 563,
1840 563, 0, 0, 400, 0, 0, 563, 0, 409, 372,
1841 373, 373, 373, 373, 373, 373, 373, 373, 373, 373,
1842
1843 373, 373, 373, 373, 373, 373, 373, 373, 373, 373,
1844 373, 373, 373, 373, 373, 373, 373, 373, 373, 373,
1845 373, 373, 373, 373, 373, 373, 373, 373, 373, 373,
1846 373, 373, 373, 373, 373, 373, 373, 373, 373, 373,
1847 373, 373, 373, 373, 374, 0, 374, 374, 374, 440,
1848 374, 440, 440, 380, 0, 380, 380, 0, 0, 0,
1849 374, 0, 374, 374, 0, 382, 440, 382, 382, 389,
1850 0, 389, 389, 390, 390, 390, 390, 391, 0, 391,
1851 391, 394, 0, 394, 394, 397, 0, 397, 397, 412,
1852 0, 412, 412, 0, 390, 374, 375, 0, 375, 375,
1853
1854 375, 380, 375, 402, 380, 402, 402, 442, 0, 442,
1855 442, 0, 375, 382, 375, 375, 382, 0, 0, 453,
1856 389, 453, 453, 442, 390, 402, 402, 402, 391, 375,
1857 0, 0, 394, 0, 403, 417, 397, 417, 417, 403,
1858 412, 0, 453, 420, 417, 420, 420, 375, 378, 378,
1859 378, 378, 378, 417, 378, 403, 378, 378, 378, 378,
1860 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
1861 378, 378, 378, 378, 415, 415, 403, 407, 0, 0,
1862 403, 422, 407, 422, 0, 411, 419, 419, 0, 0,
1863 411, 415, 0, 422, 420, 422, 422, 0, 407, 378,
1864
1865 378, 378, 379, 419, 379, 379, 411, 423, 0, 423,
1866 423, 0, 415, 0, 422, 379, 415, 379, 379, 407,
1867 379, 379, 0, 407, 419, 0, 0, 411, 419, 0,
1868 0, 411, 441, 0, 441, 441, 0, 0, 427, 0,
1869 427, 427, 428, 0, 428, 428, 429, 0, 429, 429,
1870 0, 441, 0, 379, 406, 0, 406, 406, 423, 406,
1871 476, 427, 476, 476, 0, 476, 430, 0, 430, 430,
1872 0, 0, 406, 406, 431, 0, 431, 431, 476, 406,
1873 406, 406, 406, 406, 406, 408, 0, 408, 408, 427,
1874 408, 0, 567, 428, 567, 567, 557, 429, 557, 557,
1875
1876 0, 0, 0, 408, 408, 567, 432, 0, 432, 432,
1877 408, 408, 408, 408, 408, 408, 410, 430, 410, 410,
1878 433, 410, 433, 433, 557, 431, 0, 0, 434, 0,
1879 434, 434, 0, 0, 410, 410, 0, 435, 0, 435,
1880 435, 410, 410, 410, 410, 410, 410, 414, 0, 414,
1881 414, 434, 720, 0, 720, 720, 414, 432, 0, 436,
1882 0, 436, 436, 0, 720, 414, 414, 558, 0, 558,
1883 558, 433, 414, 414, 414, 414, 414, 414, 416, 434,
1884 416, 416, 437, 0, 437, 437, 0, 416, 435, 558,
1885 455, 0, 455, 455, 0, 0, 416, 416, 455, 456,
1886
1887 0, 456, 456, 416, 416, 416, 416, 416, 416, 418,
1888 436, 418, 418, 455, 483, 0, 483, 483, 418, 0,
1889 0, 0, 456, 483, 0, 0, 0, 418, 418, 0,
1890 0, 0, 483, 437, 418, 418, 418, 418, 418, 418,
1891 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
1892 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
1893 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
1894 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
1895 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
1896 424, 424, 424, 424, 438, 0, 438, 438, 439, 0,
1897
1898 439, 439, 443, 0, 443, 443, 444, 0, 444, 444,
1899 445, 0, 445, 445, 446, 0, 446, 446, 447, 0,
1900 447, 447, 0, 0, 443, 443, 448, 0, 448, 448,
1901 0, 449, 0, 449, 449, 0, 446, 446, 446, 450,
1902 0, 450, 450, 0, 451, 438, 451, 451, 454, 439,
1903 454, 454, 0, 443, 449, 449, 457, 444, 457, 457,
1904 458, 445, 458, 458, 459, 446, 459, 459, 460, 447,
1905 460, 460, 461, 0, 461, 461, 0, 448, 462, 0,
1906 462, 462, 449, 458, 463, 0, 463, 463, 0, 0,
1907 450, 460, 0, 0, 464, 451, 464, 464, 0, 454,
1908
1909 0, 462, 465, 0, 465, 465, 466, 457, 466, 466,
1910 467, 464, 467, 467, 0, 459, 468, 464, 468, 468,
1911 0, 0, 0, 461, 469, 465, 469, 469, 470, 0,
1912 470, 470, 0, 0, 0, 463, 471, 0, 471, 471,
1913 486, 0, 486, 486, 0, 0, 487, 469, 487, 487,
1914 488, 0, 488, 488, 0, 0, 0, 466, 488, 471,
1915 0, 467, 490, 486, 490, 490, 489, 468, 489, 489,
1916 0, 0, 491, 488, 491, 491, 469, 0, 0, 470,
1917 472, 0, 472, 472, 493, 472, 493, 493, 0, 489,
1918 472, 492, 0, 492, 492, 491, 494, 487, 494, 494,
1919
1920 472, 495, 0, 495, 495, 0, 472, 493, 0, 559,
1921 0, 559, 559, 490, 0, 0, 496, 0, 496, 496,
1922 0, 0, 0, 497, 495, 497, 497, 472, 559, 0,
1923 0, 472, 473, 0, 473, 473, 499, 473, 499, 499,
1924 497, 498, 492, 498, 498, 0, 497, 494, 0, 0,
1925 473, 473, 501, 0, 501, 501, 0, 473, 473, 473,
1926 473, 473, 473, 475, 498, 475, 475, 496, 475, 0,
1927 0, 560, 0, 560, 560, 501, 0, 502, 0, 502,
1928 502, 475, 475, 0, 0, 502, 0, 499, 475, 475,
1929 475, 475, 475, 475, 477, 0, 477, 477, 560, 477,
1930
1931 502, 0, 0, 503, 0, 503, 503, 504, 0, 504,
1932 504, 0, 477, 477, 505, 0, 505, 505, 0, 477,
1933 477, 477, 477, 477, 477, 480, 503, 480, 480, 507,
1934 504, 507, 507, 561, 480, 561, 561, 505, 514, 0,
1935 514, 514, 0, 480, 480, 506, 0, 506, 506, 0,
1936 480, 480, 480, 480, 480, 480, 482, 0, 482, 482,
1937 561, 514, 506, 0, 564, 482, 564, 564, 506, 0,
1938 509, 0, 509, 509, 482, 482, 508, 0, 508, 508,
1939 507, 482, 482, 482, 482, 482, 482, 484, 0, 484,
1940 484, 564, 510, 509, 510, 510, 484, 0, 0, 0,
1941
1942 512, 0, 512, 512, 0, 484, 484, 513, 0, 513,
1943 513, 0, 484, 484, 484, 484, 484, 484, 500, 0,
1944 500, 500, 509, 512, 0, 500, 500, 508, 0, 0,
1945 500, 500, 0, 500, 0, 500, 0, 516, 500, 516,
1946 516, 500, 0, 510, 517, 0, 517, 517, 0, 0,
1947 0, 562, 512, 562, 562, 516, 516, 0, 513, 0,
1948 516, 0, 517, 517, 0, 0, 0, 517, 0, 500,
1949 500, 511, 0, 511, 511, 511, 562, 511, 511, 511,
1950 0, 0, 0, 511, 511, 0, 511, 511, 511, 511,
1951 511, 511, 0, 0, 511, 0, 511, 511, 511, 511,
1952
1953 511, 511, 511, 511, 511, 511, 511, 511, 511, 511,
1954 511, 511, 511, 511, 511, 511, 511, 511, 511, 511,
1955 511, 0, 511, 511, 515, 515, 515, 515, 515, 515,
1956 515, 515, 515, 515, 515, 515, 515, 515, 515, 515,
1957 515, 515, 515, 515, 515, 515, 515, 515, 515, 515,
1958 515, 515, 515, 515, 515, 515, 515, 515, 515, 515,
1959 515, 515, 515, 515, 515, 515, 515, 515, 515, 515,
1960 515, 515, 515, 515, 515, 515, 515, 515, 519, 0,
1961 519, 519, 519, 0, 519, 519, 519, 0, 0, 0,
1962 519, 519, 0, 519, 519, 519, 519, 519, 519, 0,
1963
1964 0, 519, 0, 519, 519, 519, 519, 519, 519, 519,
1965 519, 519, 519, 519, 519, 519, 519, 519, 519, 519,
1966 519, 519, 519, 519, 519, 519, 519, 519, 0, 519,
1967 519, 520, 0, 520, 520, 0, 523, 0, 523, 523,
1968 0, 0, 0, 526, 0, 526, 526, 0, 528, 0,
1969 528, 528, 0, 529, 0, 529, 529, 0, 0, 0,
1970 533, 0, 533, 533, 543, 0, 543, 543, 547, 0,
1971 547, 547, 520, 555, 0, 555, 555, 556, 0, 556,
1972 556, 0, 520, 521, 526, 521, 521, 523, 0, 528,
1973 521, 521, 0, 0, 526, 521, 521, 0, 521, 528,
1974
1975 521, 533, 0, 521, 529, 543, 521, 565, 0, 565,
1976 565, 533, 0, 0, 566, 543, 566, 566, 568, 547,
1977 568, 568, 0, 569, 555, 569, 569, 0, 556, 565,
1978 570, 568, 570, 570, 521, 521, 569, 571, 0, 571,
1979 571, 0, 572, 570, 572, 572, 573, 0, 573, 573,
1980 571, 574, 0, 574, 574, 575, 0, 575, 575, 0,
1981 576, 572, 576, 576, 574, 566, 577, 0, 577, 577,
1982 578, 573, 578, 578, 579, 0, 579, 579, 0, 580,
1983 0, 580, 580, 575, 0, 0, 581, 578, 581, 581,
1984 0, 0, 577, 0, 584, 0, 584, 584, 586, 0,
1985
1986 586, 586, 591, 0, 591, 591, 0, 0, 0, 581,
1987 579, 576, 580, 592, 0, 592, 592, 584, 0, 0,
1988 0, 586, 0, 591, 638, 579, 638, 638, 0, 592,
1989 0, 592, 592, 602, 0, 602, 602, 581, 583, 0,
1990 583, 583, 583, 638, 583, 584, 0, 0, 0, 586,
1991 593, 0, 593, 593, 583, 0, 583, 583, 0, 0,
1992 594, 583, 594, 594, 592, 0, 593, 0, 593, 593,
1993 0, 607, 0, 607, 607, 583, 594, 0, 594, 594,
1994 595, 0, 595, 595, 602, 632, 0, 632, 632, 583,
1995 585, 0, 585, 585, 632, 0, 595, 0, 595, 595,
1996
1997 0, 593, 596, 632, 596, 596, 585, 0, 585, 585,
1998 0, 594, 609, 585, 609, 609, 0, 0, 596, 585,
1999 596, 596, 607, 615, 0, 615, 615, 0, 0, 0,
2000 598, 595, 598, 598, 0, 0, 599, 596, 599, 599,
2001 615, 585, 587, 0, 587, 587, 598, 0, 598, 598,
2002 0, 0, 599, 596, 599, 599, 0, 0, 587, 0,
2003 587, 587, 0, 609, 600, 587, 600, 600, 0, 0,
2004 601, 0, 601, 601, 0, 587, 608, 0, 608, 608,
2005 600, 598, 600, 600, 0, 0, 601, 599, 601, 601,
2006 0, 0, 608, 587, 608, 608, 0, 0, 610, 0,
2007
2008 610, 610, 0, 0, 0, 614, 0, 614, 614, 0,
2009 616, 0, 616, 616, 610, 600, 610, 610, 614, 0,
2010 0, 601, 603, 616, 603, 603, 603, 608, 603, 0,
2011 628, 610, 628, 628, 635, 628, 635, 635, 603, 0,
2012 603, 603, 633, 636, 633, 636, 636, 0, 628, 610,
2013 637, 0, 637, 637, 633, 0, 633, 633, 639, 0,
2014 639, 639, 640, 0, 640, 640, 641, 633, 641, 641,
2015 0, 639, 0, 603, 604, 0, 604, 604, 604, 646,
2016 604, 646, 646, 0, 652, 635, 652, 652, 0, 0,
2017 604, 0, 604, 604, 636, 656, 0, 656, 656, 0,
2018
2019 0, 637, 646, 664, 0, 664, 664, 652, 664, 0,
2020 0, 604, 732, 640, 732, 732, 0, 641, 656, 0,
2021 0, 664, 0, 732, 0, 604, 605, 605, 605, 605,
2022 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
2023 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
2024 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
2025 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
2026 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
2027 606, 606, 606, 606, 606, 0, 606, 0, 606, 606,
2028 606, 606, 606, 606, 606, 606, 606, 0, 606, 606,
2029
2030 606, 606, 606, 606, 606, 606, 670, 0, 670, 670,
2031 642, 0, 642, 642, 643, 0, 643, 643, 645, 0,
2032 645, 645, 0, 0, 647, 0, 647, 647, 0, 670,
2033 0, 606, 606, 606, 625, 0, 648, 0, 648, 648,
2034 0, 649, 0, 649, 649, 0, 0, 625, 625, 650,
2035 0, 650, 650, 0, 625, 625, 625, 625, 625, 625,
2036 626, 642, 0, 0, 716, 643, 716, 716, 651, 645,
2037 651, 651, 0, 626, 626, 647, 737, 716, 737, 737,
2038 626, 626, 626, 626, 626, 626, 627, 648, 627, 627,
2039 0, 627, 649, 653, 0, 653, 653, 0, 0, 654,
2040
2041 650, 654, 654, 737, 627, 627, 676, 0, 676, 676,
2042 0, 627, 627, 627, 627, 627, 627, 629, 655, 651,
2043 655, 655, 657, 0, 657, 657, 629, 629, 721, 676,
2044 721, 721, 0, 629, 629, 629, 629, 629, 629, 630,
2045 0, 721, 0, 659, 653, 659, 659, 0, 630, 630,
2046 654, 658, 0, 658, 658, 630, 630, 630, 630, 630,
2047 630, 631, 0, 631, 631, 660, 0, 660, 660, 655,
2048 631, 658, 0, 657, 668, 660, 668, 668, 0, 631,
2049 631, 0, 0, 668, 0, 660, 631, 631, 631, 631,
2050 631, 631, 668, 669, 659, 669, 669, 671, 0, 671,
2051
2052 671, 672, 658, 672, 672, 0, 0, 673, 0, 673,
2053 673, 674, 0, 674, 674, 0, 660, 661, 0, 675,
2054 0, 675, 675, 0, 677, 0, 677, 677, 0, 0,
2055 661, 661, 678, 0, 678, 678, 0, 661, 661, 661,
2056 661, 661, 661, 662, 669, 0, 0, 724, 671, 724,
2057 724, 680, 672, 680, 680, 0, 662, 662, 673, 0,
2058 0, 0, 674, 662, 662, 662, 662, 662, 662, 663,
2059 675, 663, 663, 724, 663, 677, 0, 0, 681, 0,
2060 681, 681, 682, 678, 682, 682, 0, 663, 663, 717,
2061 0, 717, 717, 0, 663, 663, 663, 663, 663, 663,
2062
2063 665, 681, 680, 684, 0, 684, 684, 0, 0, 665,
2064 665, 0, 0, 0, 717, 0, 665, 665, 665, 665,
2065 665, 665, 666, 0, 0, 685, 0, 685, 685, 0,
2066 0, 666, 666, 682, 688, 0, 688, 688, 666, 666,
2067 666, 666, 666, 666, 667, 0, 667, 667, 686, 0,
2068 686, 686, 0, 667, 684, 0, 718, 0, 718, 718,
2069 0, 0, 667, 667, 0, 759, 685, 759, 759, 667,
2070 667, 667, 667, 667, 667, 679, 685, 679, 679, 679,
2071 0, 679, 679, 679, 718, 688, 759, 679, 679, 686,
2072 679, 679, 679, 679, 679, 679, 0, 0, 679, 686,
2073
2074 679, 679, 679, 679, 679, 679, 679, 679, 679, 679,
2075 679, 679, 679, 679, 679, 679, 679, 679, 679, 679,
2076 679, 679, 679, 679, 679, 0, 679, 679, 687, 0,
2077 687, 687, 689, 0, 689, 689, 690, 0, 690, 690,
2078 694, 0, 694, 694, 700, 0, 700, 700, 701, 0,
2079 701, 701, 704, 0, 704, 704, 707, 0, 707, 707,
2080 711, 0, 711, 711, 713, 0, 713, 713, 715, 687,
2081 715, 715, 719, 689, 719, 719, 0, 0, 725, 687,
2082 725, 725, 0, 689, 0, 700, 0, 690, 0, 701,
2083 722, 694, 722, 722, 0, 700, 0, 707, 0, 701,
2084
2085 0, 711, 0, 704, 0, 713, 0, 707, 0, 722,
2086 727, 711, 727, 727, 726, 713, 726, 726, 723, 715,
2087 723, 723, 728, 719, 728, 728, 0, 723, 729, 725,
2088 729, 729, 0, 726, 730, 727, 730, 730, 731, 728,
2089 731, 731, 733, 0, 733, 733, 0, 734, 0, 734,
2090 734, 0, 735, 729, 735, 735, 0, 0, 0, 730,
2091 734, 736, 0, 736, 736, 0, 738, 733, 738, 738,
2092 739, 0, 739, 739, 822, 0, 822, 822, 736, 741,
2093 0, 741, 741, 745, 0, 745, 745, 0, 747, 731,
2094 747, 747, 748, 0, 748, 748, 749, 0, 749, 749,
2095
2096 0, 0, 741, 735, 753, 822, 753, 753, 748, 0,
2097 748, 748, 749, 0, 749, 749, 0, 738, 745, 0,
2098 0, 739, 740, 0, 740, 740, 740, 0, 740, 757,
2099 741, 757, 757, 758, 745, 758, 758, 0, 740, 747,
2100 740, 740, 0, 748, 0, 740, 760, 749, 760, 760,
2101 761, 740, 761, 761, 770, 753, 770, 770, 771, 0,
2102 771, 771, 757, 772, 0, 772, 772, 760, 0, 773,
2103 0, 773, 773, 740, 742, 0, 742, 742, 0, 774,
2104 757, 774, 774, 775, 758, 775, 775, 0, 0, 0,
2105 742, 0, 742, 742, 0, 0, 776, 742, 776, 776,
2106
2107 777, 761, 777, 777, 784, 770, 784, 784, 785, 771,
2108 785, 785, 0, 787, 772, 787, 787, 0, 0, 742,
2109 773, 789, 0, 789, 789, 742, 743, 0, 743, 743,
2110 774, 0, 0, 790, 775, 790, 790, 791, 0, 791,
2111 791, 0, 743, 0, 743, 743, 0, 776, 0, 743,
2112 792, 777, 792, 792, 817, 784, 817, 817, 0, 785,
2113 820, 743, 820, 820, 787, 801, 0, 801, 801, 820,
2114 0, 0, 789, 795, 0, 795, 795, 743, 763, 817,
2115 763, 763, 0, 763, 790, 0, 0, 821, 791, 821,
2116 821, 0, 825, 0, 825, 825, 763, 763, 0, 0,
2117
2118 0, 792, 0, 763, 763, 763, 763, 763, 763, 766,
2119 0, 766, 766, 825, 795, 821, 801, 823, 766, 823,
2120 823, 0, 0, 903, 795, 903, 903, 766, 766, 0,
2121 823, 0, 903, 0, 766, 766, 766, 766, 766, 766,
2122 769, 769, 769, 769, 769, 769, 769, 769, 769, 769,
2123 769, 769, 769, 769, 769, 769, 769, 769, 769, 769,
2124 769, 769, 769, 769, 769, 769, 769, 769, 769, 769,
2125 769, 769, 769, 769, 769, 769, 769, 769, 769, 769,
2126 769, 769, 769, 769, 769, 769, 769, 769, 769, 769,
2127 769, 769, 769, 769, 778, 0, 778, 778, 799, 778,
2128
2129 799, 799, 824, 0, 824, 824, 0, 0, 826, 0,
2130 826, 826, 778, 778, 819, 824, 819, 819, 0, 778,
2131 778, 778, 778, 778, 778, 781, 0, 781, 781, 826,
2132 0, 819, 0, 802, 781, 802, 802, 0, 807, 799,
2133 807, 807, 0, 781, 781, 0, 0, 0, 0, 799,
2134 781, 781, 781, 781, 781, 781, 786, 786, 786, 786,
2135 786, 0, 786, 0, 786, 786, 786, 786, 786, 786,
2136 786, 786, 786, 803, 786, 803, 803, 786, 786, 786,
2137 786, 786, 0, 0, 802, 808, 786, 808, 808, 807,
2138 809, 0, 809, 809, 810, 0, 810, 810, 811, 0,
2139
2140 811, 811, 812, 0, 812, 812, 0, 786, 786, 786,
2141 813, 0, 813, 813, 803, 815, 0, 815, 815, 816,
2142 0, 816, 816, 0, 803, 818, 808, 818, 818, 0,
2143 827, 809, 827, 827, 0, 810, 808, 828, 0, 828,
2144 828, 809, 0, 812, 829, 810, 829, 829, 831, 811,
2145 831, 831, 0, 812, 828, 830, 0, 830, 830, 0,
2146 832, 813, 832, 832, 0, 0, 815, 0, 830, 833,
2147 816, 833, 833, 0, 0, 834, 818, 834, 834, 0,
2148 835, 827, 835, 835, 836, 0, 836, 836, 0, 0,
2149 852, 833, 852, 852, 853, 829, 853, 853, 0, 831,
2150
2151 0, 834, 867, 852, 867, 867, 868, 0, 868, 868,
2152 869, 832, 869, 869, 868, 896, 0, 896, 896, 0,
2153 898, 853, 898, 898, 0, 867, 0, 0, 896, 868,
2154 0, 835, 898, 869, 0, 836, 837, 837, 837, 837,
2155 837, 837, 837, 837, 837, 837, 837, 837, 837, 837,
2156 837, 837, 837, 837, 837, 837, 837, 837, 837, 837,
2157 837, 837, 837, 837, 837, 837, 837, 837, 837, 837,
2158 837, 837, 837, 837, 837, 837, 837, 837, 837, 837,
2159 837, 837, 837, 837, 837, 837, 837, 837, 837, 837,
2160 839, 0, 839, 839, 840, 0, 840, 840, 841, 0,
2161
2162 841, 841, 842, 0, 842, 842, 843, 0, 843, 843,
2163 0, 845, 0, 845, 845, 0, 0, 847, 0, 847,
2164 847, 841, 0, 0, 870, 839, 870, 870, 871, 840,
2165 871, 871, 0, 897, 0, 897, 897, 0, 0, 0,
2166 850, 839, 850, 850, 0, 840, 845, 870, 897, 841,
2167 847, 871, 851, 842, 851, 851, 848, 843, 848, 848,
2168 0, 0, 845, 846, 846, 846, 846, 846, 847, 846,
2169 0, 846, 846, 846, 846, 846, 846, 846, 846, 846,
2170 849, 846, 849, 849, 846, 846, 846, 846, 846, 848,
2171 859, 850, 859, 859, 860, 0, 860, 860, 0, 0,
2172
2173 0, 846, 861, 851, 861, 861, 872, 848, 872, 872,
2174 0, 0, 0, 849, 846, 846, 846, 873, 0, 873,
2175 873, 0, 874, 872, 874, 874, 0, 0, 0, 872,
2176 0, 849, 854, 0, 854, 854, 879, 854, 879, 879,
2177 962, 859, 962, 962, 0, 860, 875, 0, 875, 875,
2178 854, 854, 883, 861, 883, 883, 0, 854, 854, 854,
2179 854, 854, 854, 856, 0, 856, 856, 962, 873, 875,
2180 0, 0, 856, 874, 0, 885, 0, 885, 885, 0,
2181 0, 856, 856, 923, 0, 923, 923, 879, 856, 856,
2182 856, 856, 856, 856, 862, 0, 862, 862, 875, 862,
2183
2184 923, 0, 899, 883, 899, 899, 886, 0, 886, 886,
2185 0, 0, 862, 862, 889, 899, 889, 889, 0, 862,
2186 862, 862, 862, 862, 862, 864, 885, 864, 864, 887,
2187 0, 887, 887, 888, 864, 888, 888, 890, 0, 890,
2188 890, 0, 0, 864, 864, 0, 891, 886, 891, 891,
2189 864, 864, 864, 864, 864, 864, 866, 886, 866, 866,
2190 0, 0, 0, 866, 866, 889, 0, 0, 866, 866,
2191 887, 866, 0, 866, 888, 892, 866, 892, 892, 866,
2192 887, 0, 0, 893, 888, 893, 893, 894, 890, 894,
2193 894, 895, 0, 895, 895, 0, 900, 891, 900, 900,
2194
2195 901, 0, 901, 901, 0, 0, 0, 866, 866, 902,
2196 0, 902, 902, 904, 0, 904, 904, 905, 0, 905,
2197 905, 906, 0, 906, 906, 907, 892, 907, 907, 0,
2198 0, 0, 906, 0, 893, 902, 0, 908, 894, 908,
2199 908, 909, 895, 909, 909, 0, 910, 900, 910, 910,
2200 911, 901, 911, 911, 912, 0, 912, 912, 915, 0,
2201 915, 915, 0, 916, 904, 916, 916, 910, 905, 917,
2202 0, 917, 917, 0, 0, 0, 907, 912, 0, 0,
2203 918, 915, 918, 918, 0, 0, 916, 919, 908, 919,
2204 919, 920, 909, 920, 920, 921, 0, 921, 921, 0,
2205
2206 922, 911, 922, 922, 917, 912, 0, 0, 935, 915,
2207 935, 935, 0, 922, 916, 924, 924, 0, 0, 0,
2208 917, 0, 924, 924, 924, 924, 924, 924, 0, 0,
2209 928, 918, 928, 928, 936, 0, 936, 936, 919, 0,
2210 925, 925, 920, 0, 0, 0, 921, 925, 925, 925,
2211 925, 925, 925, 926, 926, 930, 0, 930, 930, 935,
2212 926, 926, 926, 926, 926, 926, 927, 927, 0, 0,
2213 0, 928, 0, 927, 927, 927, 927, 927, 927, 0,
2214 931, 928, 931, 931, 932, 936, 932, 932, 937, 0,
2215 937, 937, 938, 0, 938, 938, 930, 939, 0, 939,
2216
2217 939, 940, 0, 940, 940, 941, 930, 941, 941, 942,
2218 0, 942, 942, 943, 939, 943, 943, 0, 0, 0,
2219 944, 931, 944, 944, 0, 932, 945, 0, 945, 945,
2220 0, 931, 0, 940, 946, 932, 946, 946, 947, 937,
2221 947, 947, 0, 938, 0, 945, 944, 948, 0, 948,
2222 948, 949, 0, 949, 949, 950, 941, 950, 950, 951,
2223 942, 951, 951, 952, 943, 952, 952, 953, 0, 953,
2224 953, 954, 0, 954, 954, 956, 0, 956, 956, 0,
2225 957, 953, 957, 957, 958, 946, 958, 958, 952, 947,
2226 961, 0, 961, 961, 951, 0, 0, 963, 948, 963,
2227
2228 963, 964, 949, 964, 964, 965, 950, 965, 965, 966,
2229 951, 966, 966, 967, 0, 967, 967, 968, 0, 968,
2230 968, 969, 954, 969, 969, 970, 956, 970, 970, 0,
2231 971, 957, 971, 971, 972, 958, 972, 972, 0, 0,
2232 0, 961, 970, 973, 969, 973, 973, 971, 963, 0,
2233 0, 974, 964, 974, 974, 975, 965, 975, 975, 976,
2234 966, 976, 976, 977, 967, 977, 977, 978, 968, 978,
2235 978, 0, 969, 0, 979, 972, 979, 979, 0, 0,
2236 980, 975, 980, 980, 973, 972, 981, 0, 981, 981,
2237 0, 980, 974, 0, 973, 979, 982, 0, 982, 982,
2238
2239 0, 983, 974, 983, 983, 984, 0, 984, 984, 985,
2240 976, 985, 985, 986, 977, 986, 986, 987, 978, 987,
2241 987, 0, 0, 988, 985, 988, 988, 989, 0, 989,
2242 989, 990, 0, 990, 990, 0, 0, 981, 0, 0,
2243 0, 0, 0, 0, 0, 0, 0, 982, 0, 0,
2244 0, 0, 983, 0, 0, 0, 984, 0, 0, 0,
2245 0, 0, 0, 0, 986, 0, 0, 0, 987, 0,
2246 0, 0, 0, 0, 988, 0, 0, 0, 989, 0,
2247 0, 0, 990, 992, 0, 0, 992, 993, 993, 993,
2248 993, 993, 993, 993, 994, 994, 994, 994, 994, 994,
2249
2250 994, 995, 0, 0, 995, 996, 996, 996, 0, 996,
2251 996, 997, 997, 997, 997, 997, 997, 997, 998, 998,
2252 998, 998, 998, 998, 998, 999, 999, 0, 0, 999,
2253 999, 1000, 0, 0, 1000, 1001, 1001, 0, 0, 1001,
2254 1002, 1002, 0, 0, 1002, 1003, 0, 0, 1003, 1004,
2255 1004, 1004, 0, 1004, 1004, 1005, 1005, 0, 0, 1005,
2256 1006, 1006, 0, 0, 1006, 1007, 1007, 0, 0, 1007,
2257 1008, 1008, 0, 0, 1008, 1009, 1009, 0, 0, 1009,
2258 1010, 1010, 0, 0, 1010, 1011, 1011, 0, 1011, 1011,
2259 0, 1011, 1012, 1012, 0, 1012, 1012, 0, 1012, 1013,
2260
2261 1013, 1013, 1013, 1013, 1013, 1013, 1014, 1014, 1014, 1014,
2262 1014, 1014, 1014, 1015, 0, 0, 1015, 1016, 1016, 1016,
2263 1016, 1016, 1016, 1016, 1017, 1017, 1017, 1017, 1017, 1017,
2264 1017, 1018, 1018, 0, 0, 1018, 1018, 1019, 1019, 0,
2265 0, 1019, 1019, 1020, 1020, 0, 0, 1020, 1021, 1021,
2266 0, 0, 1021, 1022, 1022, 0, 0, 1022, 1023, 1023,
2267 0, 0, 1023, 1024, 1024, 0, 0, 1024, 1025, 1025,
2268 0, 0, 1025, 1026, 1026, 0, 0, 1026, 1027, 1027,
2269 0, 1027, 0, 0, 1027, 1028, 1028, 1028, 1028, 1028,
2270 1028, 1028, 1029, 1029, 1029, 1029, 1029, 1029, 1029, 1030,
2271
2272 0, 0, 1030, 1031, 1031, 0, 1031, 1031, 1031, 1031,
2273 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1033, 1033, 1033,
2274 1033, 1033, 1033, 1033, 1034, 1034, 0, 0, 1034, 1034,
2275 1035, 1035, 0, 0, 1035, 1035, 1036, 1036, 0, 0,
2276 1036, 991, 991, 991, 991, 991, 991, 991, 991, 991,
2277 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
2278 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
2279 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
2280 991, 991, 991, 991, 991, 991, 991, 991, 991, 991,
2281 991, 991, 991, 991, 991, 991
2282
2283 } ;
2284
2285 static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
2286 static char *yy_full_match;
2287 static int yy_lp;
2288 #define REJECT \
2289 { \
2290 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
2291 yy_cp = yy_full_match; /* restore poss. backed-over text */ \
2292 ++yy_lp; \
2293 goto find_rule; \
2294 }
2295 #define yymore() yymore_used_but_not_detected
2296 #define YY_MORE_ADJ 0
2297 #define YY_RESTORE_YY_MORE_OFFSET
2298 char *yytext;
2299 #line 1 "./lexsrc.l"
2300 #define INITIAL 0
2301 #line 2 "./lexsrc.l"
2302 /*
2303 * The Regina Rexx Interpreter
2304 * Copyright (C) 1992-1994 Anders Christensen <[email protected]>
2305 *
2306 * This library is free software; you can redistribute it and/or
2307 * modify it under the terms of the GNU Library General Public
2308 * License as published by the Free Software Foundation; either
2309 * version 2 of the License, or (at your option) any later version.
2310 *
2311 * This library is distributed in the hope that it will be useful,
2312 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2313 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2314 * Library General Public License for more details.
2315 *
2316 * You should have received a copy of the GNU Library General Public
2317 * License along with this library; if not, write to the Free
2318 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2319 */
2320 /*
2321 * If you change this file the following has to be done:
2322 * - regenerate lexsrc.c using an old version of Flex: 2.5.4. This is
2323 * provided by flex-old package. Run: make lexsrc
2324 * - change the value of YY_BUF_SIZE to 101000 in lexsrc.c
2325 * This value MUST be larger than BUFFERSIZE in rexx.h
2326 * It is not set automatically because certain variables
2327 * are defined with this value BEFORE rexx.h is included
2328 * Increasing this value will slow down parsing a bit.
2329 * This value will be blown away if you regenerate lexxsrc.c
2330 * from this file.
2331 */
2332
2333 #include "rexx.h"
2334 #include "yaccsrc.h"
2335 #include <string.h>
2336 #include <assert.h>
2337 #include <errno.h>
2338
2339 /* Define ASCII_0_TERMINATES_STRING if you want that ASCII-0 terminates
2340 * an input string. Normally this should not happen. Input strings are
2341 * terminated by a length encoding. The string {"", length=1} is invalid for
2342 * the lexer (ASCII-0 is not allowed) while {"", length=0} is allowed (this
2343 * is an empty input).
2344 * ASCII_0_TERMINATES_STRING is only(!) for backward compatibility and
2345 * shouldn't be used under normal circumstances.
2346 * FGC
2347 */
2348 #define ASCII_0_TERMINATES_STRING
2349
2350 #ifdef YYLMAX
2351 # undef YYLMAX
2352 #endif
2353 #define YYLMAX BUFFERSIZE
2354
2355 #ifdef FLEX_SCANNER
2356 #undef YY_CHAR
2357 #define YY_CHAR YY_CHAR_TYPE
2358 #undef YY_INPUT
2359 #define YY_INPUT(buf,result,max_size) result=fill_buffer(buf,max_size)
2360 #endif
2361
2362 /* NOTE: Every comment is replaced by a '`' character in the lower input
2363 * routines. These should check for such (illegal) characters.
2364 */
2365 #define MY_ISBLANK(c) (((c)==' ')||((c)=='\t')||((c)=='\v')||((c)=='\f')|| \
2366 ((c)=='\r')||((c)=='`'))
2367
2368 PROTECTION_VAR(regina_parser)
2369 /* externals which are protected by regina_parser */
2370 internal_parser_type parser_data = {NULL, };
2371 int retlength=0 ;
2372 char retvalue[BUFFERSIZE] ;
2373 unsigned SymbolDetect = 0;
2374 /* end of externals protected by regina_parser */
2375
2376 /* locals, they are protected by regina_parser, too */
2377 static int nextline = 1;
2378 static int nextstart = 1;
2379 static int do_level = 0 ;
2380 static int in_numform=0, next_numform=0 ;
2381 static int obs_with=0, in_do=0, in_then=0;
2382 static int in_parse=0 ;
2383 static int in_trace=0, itflag=0 ;
2384 static int in_signal=0, in_call=0 ;
2385 static enum { not_in_address = 0,
2386 in_address_keyword, /* ADDRESS just seen */
2387 in_address_main, /* after the first word */
2388 in_address_value, /* like main but VALUE was seen */
2389 in_address_with} in_address = not_in_address,
2390 last_in_address = not_in_address ;
2391 static enum {no_seek_with = 0,
2392 seek_with_from_parse,
2393 seek_with_from_address} seek_with = no_seek_with ;
2394 /*
2395 * expression_ended is set if a typical expression has ended and the next
2396 * token has to be preceeded by a CONCATENATE (abuttal) operator in most
2397 * cases.
2398 */
2399 static int expression_ended=0;
2400
2401 /*
2402 * insert_abuttal is set if the last token was a possible end of an expression.
2403 * The next token may need to be preceeded by an additional CONCATENATE
2404 * operator under some conditions like not being "in_parse".
2405 */
2406 static int insert_abuttal=0;
2407
2408 /*
2409 * A symbol may be pending after a CONTATENATE (abuttal) operator has been
2410 * returned. This symbol will be stored here. 0 indicates no pending symbol.
2411 * ASCII 0 will never been returned, there is no need for another indicator.
2412 */
2413 static int delayed_symbol=0;
2414
2415 /*
2416 * inhibit_delayed_abuttal can be set only if delayed_symbol has been set,
2417 * but not always. An opening parenthesis must have been detected, too.
2418 * It inhibits the use of a CONCATENATE (abuttal) operator after the staring
2419 * parenthesis. Examples:
2420 * CONCATENATE {var_symbol} <-- needs a CONCATENATE, another {var_symbol}
2421 * may follow.
2422 * CONCATENATE {var_symbol} "(" <-- needs a CONCATENATE, another {var_symbol}
2423 * is an expression's start.
2424 */
2425 static int inhibit_delayed_abuttal=0;
2426
2427 static char ch;
2428 static int kill_this_space=0, kill_next_space=1 ;
2429 static int extnextline = -1, extnextstart; /* for a delayed line increment */
2430 static int linenr=1 ;
2431 static int contline = 0;
2432 static int inEOF=0 ;
2433 static int singlequote=0, doblequote=0 ;
2434 static int firstln=0 ;
2435 static int bufptr=0 ;
2436 /* Previous bug. 8-bits clean combined with EOF ==> need an int */
2437 static int chbuffer[LOOKAHEAD] ;
2438 static int ipretflag=0, cch=0 ;
2439 static const char *interptr=NULL ;
2440 static const char *last_interptr=NULL ;
2441 static const char *interptrmax ;
2442 static int cchmax = 0 ;
2443
2444 static YY_CHAR_TYPE *rmspc( YY_CHAR_TYPE *instr ) ;
2445 static void set_assignment( char delim );
2446 static int process_number_or_const( const char *text, int len );
2447 static int process_hex_or_bin_string( char *text, int len, int base );
2448 static void compress_string( char *dest, const char *src );
2449 static int fill_buffer( char *buf, int max_size ) ;
2450 #define SET_NEXTSTART() (nextstart += yyleng)
2451
2452 #define YY_FATAL_ERROR(s) exiterror( ERR_PROG_UNREADABLE, 1, s )
2453 #define comm 1
2454 #define signal 2
2455 #define sgtype 3
2456 #define procd 4
2457 #define parse 5
2458 #define then 6
2459 #define with 7
2460
2461 #define numeric 8
2462 #define do1 9
2463 #define other 10
2464 #define value1 11
2465 #define ifcont 12
2466 #define signame 13
2467 #define nmform 14
2468
2469 #line 167 "./lexsrc.l"
2470 /*
2471 * ANSI 6.2.2 definitions (partially with extensions)
2472 */
2473 /*
2474 * sigh, we need the reversed classes. flex isn't smart
2475 * enough to provide it.
2476 * Added "0-9" to notGeneral... to fix bug 724390
2477 */
2478 /*
2479 * A comment is converted to a sequence of ` signs in the
2480 * lower layer
2481 */
2482 /*
2483 * A number is a little bit different to detect signs in the
2484 * exponent
2485 */
2486 /*
2487 * read ANSI 6.2.1.1 carefully. We have to check the chars
2488 * after the exponent for notGeneralDot below.
2489 */
2490 /*
2491 * Allow characters for any token in string passed back to TRACE instruction
2492 * Fixes bug 3564586.
2493 */
2494 /*
2495 * The list of keywords.
2496 */
2497 #line 2498 "./lexsrc.c"
2498 #line 318 "flex.skl"
2499
2500 /* Macros after this point can all be overridden by user definitions in
2501 * section 1.
2502 */
2503
2504 #ifndef YY_SKIP_YYWRAP
2505 #ifdef __cplusplus
2506 extern "C" int yywrap YY_PROTO(( void ));
2507 #else
2508 extern int yywrap YY_PROTO(( void ));
2509 #endif
2510 #endif
2511
2512 #line 333 "flex.skl"
2513 #ifndef YY_NO_UNPUT
2514 static void yyunput YY_PROTO(( int c, char *buf_ptr ));
2515 #endif
2516 #line 338 "flex.skl"
2517
2518 #ifndef yytext_ptr
2519 static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
2520 #endif
2521
2522 #ifdef YY_NEED_STRLEN
2523 static int yy_flex_strlen YY_PROTO(( yyconst char * ));
2524 #endif
2525
2526 #ifndef YY_NO_INPUT
2527 #line 350 "flex.skl"
2528 #ifdef __cplusplus
2529 static int yyinput YY_PROTO(( void ));
2530 #else
2531 static int input YY_PROTO(( void ));
2532 #endif
2533 #endif
2534 #line 358 "flex.skl"
2535
2536 #if YY_STACK_USED
2537 static int yy_start_stack_ptr = 0;
2538 static int yy_start_stack_depth = 0;
2539 static int *yy_start_stack = 0;
2540 #ifndef YY_NO_PUSH_STATE
2541 static void yy_push_state YY_PROTO(( int new_state ));
2542 #endif
2543 #ifndef YY_NO_POP_STATE
2544 static void yy_pop_state YY_PROTO(( void ));
2545 #endif
2546 #ifndef YY_NO_TOP_STATE
2547 static int yy_top_state YY_PROTO(( void ));
2548 #endif
2549
2550 #else
2551 #define YY_NO_PUSH_STATE 1
2552 #define YY_NO_POP_STATE 1
2553 #define YY_NO_TOP_STATE 1
2554 #endif
2555
2556 #ifdef YY_MALLOC_DECL
2557 YY_MALLOC_DECL
2558 #else
2559 #if __STDC__
2560 #ifndef __cplusplus
2561 #include <stdlib.h>
2562 #endif
2563 #else
2564 /* Just try to get by without declaring the routines.. This will fail
2565 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
2566 * or sizeof(void*) != sizeof(int).
2567 */
2568 #endif
2569 #endif
2570
2571 /* Amount of stuff to slurp up with each read. */
2572 #ifndef YY_READ_BUF_SIZE
2573 #define YY_READ_BUF_SIZE 8192
2574 #endif
2575
2576 /* Copy whatever the last rule matched to the standard output. */
2577
2578 #ifndef ECHO
2579 #line 404 "flex.skl"
2580 /* This used to be an fputs(), but since the string might contain NUL's,
2581 * we now use fwrite().
2582 */
2583 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
2584 #endif
2585 #line 414 "flex.skl"
2586
2587 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
2588 * is returned in "result".
2589 */
2590 #ifndef YY_INPUT
2591 #define YY_INPUT(buf,result,max_size) \
2592 if ( yy_current_buffer->yy_is_interactive ) \
2593 { \
2594 int c = '*', n; \
2595 for ( n = 0; n < max_size && \
2596 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
2597 buf[n] = (char) c; \
2598 if ( c == '\n' ) \
2599 buf[n++] = (char) c; \
2600 if ( c == EOF && ferror( yyin ) ) \
2601 YY_FATAL_ERROR( "input in flex scanner failed" ); \
2602 result = n; \
2603 } \
2604 else \
2605 { \
2606 errno=0; \
2607 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
2608 { \
2609 if( errno != EINTR) \
2610 { \
2611 YY_FATAL_ERROR( "input in flex scanner failed" ); \
2612 break; \
2613 } \
2614 errno=0; \
2615 clearerr(yyin); \
2616 } \
2617 }
2618 #line 422 "flex.skl"
2619 #endif
2620 #line 429 "flex.skl"
2621
2622 /* No semi-colon after return; correct usage is to write "yyterminate();" -
2623 * we don't want an extra ';' after the "return" because that will cause
2624 * some compilers to complain about unreachable statements.
2625 */
2626 #ifndef yyterminate
2627 #define yyterminate() return YY_NULL
2628 #endif
2629
2630 /* Number of entries by which start-condition stack grows. */
2631 #ifndef YY_START_STACK_INCR
2632 #define YY_START_STACK_INCR 25
2633 #endif
2634
2635 /* Report a fatal error. */
2636 #ifndef YY_FATAL_ERROR
2637 #line 447 "flex.skl"
2638 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
2639 #endif
2640 #line 454 "flex.skl"
2641
2642 /* Default declaration of generated scanner - a define so the user can
2643 * easily add parameters.
2644 */
2645 #ifndef YY_DECL
2646 #line 461 "flex.skl"
2647 #define YY_DECL int yylex YY_PROTO(( void ))
2648 #endif
2649 #line 468 "flex.skl"
2650
2651 /* Code executed at the beginning of each rule, after yytext and yyleng
2652 * have been set up.
2653 */
2654 #ifndef YY_USER_ACTION
2655 #define YY_USER_ACTION
2656 #endif
2657
2658 /* Code executed at the end of each rule. */
2659 #ifndef YY_BREAK
2660 #define YY_BREAK break;
2661 #endif
2662
2663 #define YY_RULE_SETUP \
2664 YY_USER_ACTION
2665 #line 483 "flex.skl"
2666
2667 YY_DECL
2668 {
2669 register yy_state_type yy_current_state;
2670 register char *yy_cp, *yy_bp;
2671 register int yy_act;
2672
2673 #line 302 "./lexsrc.l"
2674
2675
2676 {
2677 if ( delayed_symbol )
2678 {
2679 int retval;
2680 retval = delayed_symbol;
2681 delayed_symbol = 0;
2682 /*
2683 * Pass the meaning of inhibit_delayed_abuttal to the normal algorithm
2684 * for automatic abuttal detection.
2685 */
2686 expression_ended = !inhibit_delayed_abuttal;
2687 inhibit_delayed_abuttal = 0;
2688 return retval;
2689 }
2690
2691 if (next_numform)
2692 {
2693 in_numform = 1 ;
2694 next_numform = 0 ;
2695 }
2696 else
2697 in_numform = 0 ;
2698
2699 last_in_address = in_address ; /* just for the "Environment" */
2700 /* there can't be an intermediate SPACE between ADDRESS and the next word*/
2701 if ( in_address == in_address_keyword )
2702 in_address = in_address_main ;
2703
2704 kill_this_space = kill_next_space ;
2705 kill_next_space = 0 ;
2706
2707
2708 if (itflag)
2709 {
2710 in_trace = 0 ;
2711 seek_with = no_seek_with ;
2712 }
2713 itflag = (in_trace) ;
2714
2715 if (extnextline != -1)
2716 {
2717 parser_data.tstart = nextstart = extnextstart;
2718 parser_data.tline = nextline = extnextline;
2719 extnextline = -1;
2720 }
2721 else
2722 {
2723 parser_data.tstart = nextstart ;
2724 parser_data.tline = nextline ;
2725 }
2726 insert_abuttal = expression_ended ;
2727 expression_ended = 0 ;
2728 }
2729
2730 #line 2731 "./lexsrc.c"
2731 #line 492 "flex.skl"
2732
2733 if ( yy_init )
2734 {
2735 yy_init = 0;
2736
2737 #ifdef YY_USER_INIT
2738 YY_USER_INIT;
2739 #endif
2740
2741 if ( ! yy_start )
2742 yy_start = 1; /* first start state */
2743
2744 if ( ! yyin )
2745 #line 507 "flex.skl"
2746 yyin = stdin;
2747 #line 513 "flex.skl"
2748
2749 if ( ! yyout )
2750 #line 517 "flex.skl"
2751 yyout = stdout;
2752 #line 523 "flex.skl"
2753
2754 if ( ! yy_current_buffer )
2755 yy_current_buffer =
2756 yy_create_buffer( yyin, YY_BUF_SIZE );
2757
2758 yy_load_buffer_state();
2759 }
2760
2761 while ( 1 ) /* loops until end-of-file is reached */
2762 {
2763 #line 535 "flex.skl"
2764 yy_cp = yy_c_buf_p;
2765
2766 /* Support of yytext. */
2767 *yy_cp = yy_hold_char;
2768
2769 /* yy_bp points to the position in yy_ch_buf of the start of
2770 * the current run.
2771 */
2772 yy_bp = yy_cp;
2773
2774 yy_current_state = yy_start;
2775 yy_state_ptr = yy_state_buf;
2776 *yy_state_ptr++ = yy_current_state;
2777 yy_match:
2778 do
2779 {
2780 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
2781 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2782 {
2783 yy_current_state = (int) yy_def[yy_current_state];
2784 if ( yy_current_state >= 992 )
2785 yy_c = yy_meta[(unsigned int) yy_c];
2786 }
2787 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2788 *yy_state_ptr++ = yy_current_state;
2789 ++yy_cp;
2790 }
2791 while ( yy_base[yy_current_state] != 6342 );
2792 #line 547 "flex.skl"
2793
2794 yy_find_action:
2795 yy_current_state = *--yy_state_ptr;
2796 yy_lp = yy_accept[yy_current_state];
2797 find_rule: /* we branch to this label when backing up */
2798 for ( ; ; ) /* until we find what rule we matched */
2799 {
2800 if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
2801 {
2802 yy_act = yy_acclist[yy_lp];
2803 {
2804 yy_full_match = yy_cp;
2805 break;
2806 }
2807 }
2808 --yy_cp;
2809 yy_current_state = *--yy_state_ptr;
2810 yy_lp = yy_accept[yy_current_state];
2811 }
2812 #line 551 "flex.skl"
2813
2814 YY_DO_BEFORE_ACTION;
2815
2816 #line 556 "flex.skl"
2817
2818 do_action: /* This label is used only to access EOF actions. */
2819
2820 #line 561 "flex.skl"
2821
2822 switch ( yy_act )
2823 { /* beginning of action switch */
2824 case 1:
2825 YY_RULE_SETUP
2826 #line 358 "./lexsrc.l"
2827 {
2828 SET_NEXTSTART() ; }
2829 YY_BREAK
2830 case 2:
2831 YY_RULE_SETUP
2832 #line 361 "./lexsrc.l"
2833 {
2834 /*
2835 * Fixes bug 579597, "[;\r?\n]" instead of "{EOL}" causes the bug.
2836 */
2837 char *ptr;
2838 if ((ptr = strchr(yytext, '\n')) != NULL)
2839 {
2840 nextstart = yyleng - (int) (ptr - (char *) yytext) ;
2841 nextline++ ;
2842 if (extnextline != -1)
2843 {
2844 extnextline++;
2845 extnextstart = nextstart; /* fixes bug 938204 */
2846 }
2847 }
2848 else
2849 SET_NEXTSTART() ;
2850 return STATSEP ; }
2851 YY_BREAK
2852 case 3:
2853 YY_RULE_SETUP
2854 #line 380 "./lexsrc.l"
2855 {
2856 char *ptr;
2857 BEGIN comm ;
2858 if ( obs_with )
2859 {
2860 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
2861 exiterror( ERR_INVALID_TEMPLATE, 1, yytext ) ;
2862 }
2863 obs_with = in_do = 0 ;
2864 in_signal = in_call = 0 ;
2865 in_address = not_in_address;
2866 in_parse = 0 ;
2867 if ( seek_with == seek_with_from_address )
2868 seek_with = no_seek_with ;
2869 if ((ptr = strchr(yytext, '\n')) != NULL)
2870 {
2871 nextstart = yyleng - (int) (ptr - (char *) yytext) ;
2872 nextline++ ;
2873 if (extnextline != -1)
2874 {
2875 extnextline++;
2876 extnextstart = nextstart; /* fixes bug 938204 */
2877 }
2878 }
2879 else
2880 SET_NEXTSTART() ;
2881 return STATSEP ; }
2882 YY_BREAK
2883 case 4:
2884 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
2885 yy_c_buf_p = yy_cp = yy_bp + 5;
2886 YY_DO_BEFORE_ACTION; /* set up yytext again */
2887 YY_RULE_SETUP
2888 #line 408 "./lexsrc.l"
2889 {
2890 int i;
2891 char work[16];
2892
2893 /* support C-like __LINE__ value */
2894 /* determine current source line, and create a numeric literal */
2895
2896 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
2897
2898 sprintf (work, "%d", parser_data.tline);
2899
2900 /* copy back work, right-to-left */
2901
2902 for (i = strlen (work) - 1; i >= 0; i--)
2903 {
2904 unput (work[i]);
2905 }
2906 }
2907 YY_BREAK
2908 case 5:
2909 YY_RULE_SETUP
2910 #line 427 "./lexsrc.l"
2911 {
2912 BEGIN value1 ; /* Allow a following VALUE keyword */
2913 seek_with = seek_with_from_address ;
2914 in_address = in_address_keyword ;
2915 in_call = 1 ; /* Allow the next words to be given as in CALL. */
2916 SET_NEXTSTART() ;
2917 return ADDRESS ; }
2918 YY_BREAK
2919 case 6:
2920 YY_RULE_SETUP
2921 #line 435 "./lexsrc.l"
2922 {
2923 BEGIN other ;
2924 in_parse = 1 ;
2925 SET_NEXTSTART() ;
2926 return ARG ; }
2927 YY_BREAK
2928 case 7:
2929 YY_RULE_SETUP
2930 #line 441 "./lexsrc.l"
2931 {
2932 BEGIN signal ;
2933 in_call = 1 ;
2934 SET_NEXTSTART() ;
2935 return CALL ; }
2936 YY_BREAK
2937 case 8:
2938 YY_RULE_SETUP
2939 #line 447 "./lexsrc.l"
2940 {
2941 BEGIN do1 ;
2942 assert( do_level >=0 ) ;
2943 do_level++ ;
2944 in_do = 1 ;
2945 SET_NEXTSTART() ;
2946 return DO ; }
2947 YY_BREAK
2948 case 9:
2949 YY_RULE_SETUP
2950 #line 455 "./lexsrc.l"
2951 {
2952 BEGIN other ;
2953 in_parse = 1 ;
2954 SET_NEXTSTART() ;
2955 return DROP ; }
2956 YY_BREAK
2957 case 10:
2958 YY_RULE_SETUP
2959 #line 461 "./lexsrc.l"
2960 {
2961 BEGIN comm ;
2962 SET_NEXTSTART() ;
2963 return ELSE ; }
2964 YY_BREAK
2965 case 11:
2966 YY_RULE_SETUP
2967 #line 466 "./lexsrc.l"
2968 {
2969 BEGIN other ;
2970 SET_NEXTSTART() ;
2971 return EXIT ; }
2972 YY_BREAK
2973 case 12:
2974 YY_RULE_SETUP
2975 #line 471 "./lexsrc.l"
2976 {
2977 BEGIN ifcont ;
2978 in_then = 1 ;
2979 parser_data.if_linenr = linenr - 1;
2980 SET_NEXTSTART() ;
2981 return IF ; }
2982 YY_BREAK
2983 case 13:
2984 YY_RULE_SETUP
2985 #line 478 "./lexsrc.l"
2986 {
2987 BEGIN other ;
2988 SET_NEXTSTART() ;
2989 return INTERPRET ; }
2990 YY_BREAK
2991 case 14:
2992 YY_RULE_SETUP
2993 #line 483 "./lexsrc.l"
2994 {
2995 BEGIN other ;
2996 SET_NEXTSTART() ;
2997 return ITERATE ; }
2998 YY_BREAK
2999 case 15:
3000 YY_RULE_SETUP
3001 #line 488 "./lexsrc.l"
3002 {
3003 BEGIN other ;
3004 SET_NEXTSTART() ;
3005 return LEAVE ; }
3006 YY_BREAK
3007 case 16:
3008 YY_RULE_SETUP
3009 #line 493 "./lexsrc.l"
3010 {
3011 BEGIN other ;
3012 SET_NEXTSTART() ;
3013 return OPTIONS ; }
3014 YY_BREAK
3015 case 17:
3016 YY_RULE_SETUP
3017 #line 498 "./lexsrc.l"
3018 {
3019 BEGIN other ;
3020 SET_NEXTSTART() ;
3021 return NOP ; }
3022 YY_BREAK
3023 case 18:
3024 YY_RULE_SETUP
3025 #line 503 "./lexsrc.l"
3026 {
3027 BEGIN numeric ;
3028 SET_NEXTSTART() ;
3029 return NUMERIC ; }
3030 YY_BREAK
3031 case 19:
3032 YY_RULE_SETUP
3033 #line 508 "./lexsrc.l"
3034 {
3035 BEGIN parse ;
3036 in_parse = 1 ;
3037 SET_NEXTSTART() ;
3038 return PARSE ; }
3039 YY_BREAK
3040 case 20:
3041 YY_RULE_SETUP
3042 #line 514 "./lexsrc.l"
3043 {
3044 BEGIN procd ;
3045 SET_NEXTSTART() ;
3046 return PROCEDURE ; }
3047 YY_BREAK
3048 case 21:
3049 YY_RULE_SETUP
3050 #line 519 "./lexsrc.l"
3051 {
3052 BEGIN other ;
3053 in_parse = 1 ;
3054 SET_NEXTSTART() ;
3055 return PULL ; }
3056 YY_BREAK
3057 case 22:
3058 YY_RULE_SETUP
3059 #line 525 "./lexsrc.l"
3060 {
3061 BEGIN other ;
3062 SET_NEXTSTART() ;
3063 return PUSH ; }
3064 YY_BREAK
3065 case 23:
3066 YY_RULE_SETUP
3067 #line 530 "./lexsrc.l"
3068 {
3069 BEGIN other ;
3070 SET_NEXTSTART() ;
3071 return QUEUE ; }
3072 YY_BREAK
3073 case 24:
3074 YY_RULE_SETUP
3075 #line 535 "./lexsrc.l"
3076 {
3077 BEGIN other ;
3078 SET_NEXTSTART() ;
3079 return RETURN ; }
3080 YY_BREAK
3081 case 25:
3082 YY_RULE_SETUP
3083 #line 540 "./lexsrc.l"
3084 {
3085 BEGIN other ;
3086 SET_NEXTSTART() ;
3087 return SAY ; }
3088 YY_BREAK
3089 case 26:
3090 YY_RULE_SETUP
3091 #line 545 "./lexsrc.l"
3092 {
3093 BEGIN other ;
3094 assert( do_level >= 0 ) ;
3095 do_level++ ; parser_data.select_linenr = linenr - 1;
3096 SET_NEXTSTART() ;
3097 return SELECT ; }
3098 YY_BREAK
3099 case 27:
3100 YY_RULE_SETUP
3101 #line 552 "./lexsrc.l"
3102 {
3103 BEGIN signal ;
3104 in_signal = 1 ;
3105 SET_NEXTSTART() ;
3106 return SIGNAL ; }
3107 YY_BREAK
3108 case 28:
3109 YY_RULE_SETUP
3110 #line 558 "./lexsrc.l"
3111 {
3112 BEGIN value1 ;
3113 in_trace = 1 ;
3114 SET_NEXTSTART() ;
3115 return TRACE ; }
3116 YY_BREAK
3117 case 29:
3118 YY_RULE_SETUP
3119 #line 564 "./lexsrc.l"
3120 {
3121 BEGIN other ;
3122 in_parse = 1 ;
3123 SET_NEXTSTART() ;
3124 return UPPER ; }
3125 YY_BREAK
3126 case 30:
3127 YY_RULE_SETUP
3128 #line 570 "./lexsrc.l"
3129 {
3130 BEGIN ifcont ;
3131 in_then = 1 ;
3132 parser_data.when_linenr = linenr - 1;
3133 SET_NEXTSTART() ;
3134 return WHEN ; }
3135 YY_BREAK
3136 case 31:
3137 YY_RULE_SETUP
3138 #line 577 "./lexsrc.l"
3139 {
3140 BEGIN comm ;
3141 SET_NEXTSTART() ;
3142 return OTHERWISE ; }
3143 YY_BREAK
3144 case 32:
3145 YY_RULE_SETUP
3146 #line 582 "./lexsrc.l"
3147 {
3148 BEGIN other ;
3149 assert( do_level >= 0 ) ;
3150 if ( !do_level )
3151 {
3152 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3153 exiterror( ERR_UNMATCHED_END, 1 ) ;
3154 }
3155 do_level-- ;
3156 SET_NEXTSTART() ;
3157 return END ; }
3158 YY_BREAK
3159 case 33:
3160 YY_RULE_SETUP
3161 #line 594 "./lexsrc.l"
3162 {
3163 if (in_parse)
3164 {
3165 SET_NEXTSTART() ;
3166 return yylex() ;
3167 }
3168 else
3169 REJECT ; }
3170 YY_BREAK
3171 case 34:
3172 YY_RULE_SETUP
3173 #line 603 "./lexsrc.l"
3174 {
3175 if (in_parse)
3176 {
3177 SET_NEXTSTART() ;
3178 return PLACEHOLDER ;
3179 }
3180 else
3181 {
3182 REJECT ;
3183 }
3184 }
3185 YY_BREAK
3186 case 35:
3187 YY_RULE_SETUP
3188 #line 615 "./lexsrc.l"
3189 {
3190 /* .var = */
3191 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3192 if ( yytext[0] == '.' )
3193 {
3194 set_assignment( '=' );
3195 /*
3196 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3197 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3198 * in its content.
3199 * We use 6.2.3.1
3200 */
3201 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3202 {
3203 yytext[retlength] = '\0';
3204 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3205 }
3206 else
3207 {
3208 yytext[retlength] = '\0';
3209 exiterror( ERR_INVALID_START, 3, yytext );
3210 }
3211 }
3212 else
3213 {
3214 yytext[retlength] = '\0';
3215 exiterror( ERR_INVALID_START, 2, yytext );
3216 }
3217 /* known reserved variable */
3218 SET_NEXTSTART() ;
3219 return ASSIGNMENTVARIABLE ; }
3220 YY_BREAK
3221 case 36:
3222 YY_RULE_SETUP
3223 #line 647 "./lexsrc.l"
3224 {
3225 /* var = */
3226 BEGIN other ;
3227
3228 set_assignment( '=' );
3229
3230 SET_NEXTSTART() ;
3231 return ASSIGNMENTVARIABLE ; }
3232 YY_BREAK
3233 case 37:
3234 YY_RULE_SETUP
3235 #line 656 "./lexsrc.l"
3236 {
3237 /* .var += */
3238 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3239 if ( yytext[0] == '.' )
3240 {
3241 set_assignment( '+' );
3242 /*
3243 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3244 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3245 * in its content.
3246 * We use 6.2.3.1
3247 */
3248 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3249 {
3250 yytext[retlength] = '\0';
3251 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3252 }
3253 else
3254 {
3255 yytext[retlength] = '\0';
3256 exiterror( ERR_INVALID_START, 3, yytext );
3257 }
3258 }
3259 else
3260 {
3261 yytext[retlength] = '\0';
3262 exiterror( ERR_INVALID_START, 2, yytext );
3263 }
3264 /* known reserved variable */
3265 SET_NEXTSTART() ;
3266 return PLUSASSIGNMENTVARIABLE ; }
3267 YY_BREAK
3268 case 38:
3269 YY_RULE_SETUP
3270 #line 688 "./lexsrc.l"
3271 {
3272 /* var += */
3273 BEGIN other ;
3274
3275 set_assignment( '+' );
3276
3277 SET_NEXTSTART() ;
3278 return PLUSASSIGNMENTVARIABLE ; }
3279 YY_BREAK
3280 case 39:
3281 YY_RULE_SETUP
3282 #line 697 "./lexsrc.l"
3283 {
3284 /* .var -= */
3285 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3286 if ( yytext[0] == '.' )
3287 {
3288 set_assignment( '-' );
3289 /*
3290 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3291 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3292 * in its content.
3293 * We use 6.2.3.1
3294 */
3295 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3296 {
3297 yytext[retlength] = '\0';
3298 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3299 }
3300 else
3301 {
3302 yytext[retlength] = '\0';
3303 exiterror( ERR_INVALID_START, 3, yytext );
3304 }
3305 }
3306 else
3307 {
3308 yytext[retlength] = '\0';
3309 exiterror( ERR_INVALID_START, 2, yytext );
3310 }
3311 /* known reserved variable */
3312 SET_NEXTSTART() ;
3313 return MINUSASSIGNMENTVARIABLE ; }
3314 YY_BREAK
3315 case 40:
3316 YY_RULE_SETUP
3317 #line 729 "./lexsrc.l"
3318 {
3319 /* var -= */
3320 BEGIN other ;
3321
3322 set_assignment( '-' );
3323
3324 SET_NEXTSTART() ;
3325 return MINUSASSIGNMENTVARIABLE ; }
3326 YY_BREAK
3327 case 41:
3328 YY_RULE_SETUP
3329 #line 738 "./lexsrc.l"
3330 {
3331 /* .var *= */
3332 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3333 if ( yytext[0] == '.' )
3334 {
3335 set_assignment( '*' );
3336 /*
3337 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3338 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3339 * in its content.
3340 * We use 6.2.3.1
3341 */
3342 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3343 {
3344 yytext[retlength] = '\0';
3345 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3346 }
3347 else
3348 {
3349 yytext[retlength] = '\0';
3350 exiterror( ERR_INVALID_START, 3, yytext );
3351 }
3352 }
3353 else
3354 {
3355 yytext[retlength] = '\0';
3356 exiterror( ERR_INVALID_START, 2, yytext );
3357 }
3358 /* known reserved variable */
3359 SET_NEXTSTART() ;
3360 return MULTASSIGNMENTVARIABLE ; }
3361 YY_BREAK
3362 case 42:
3363 YY_RULE_SETUP
3364 #line 770 "./lexsrc.l"
3365 {
3366 /* var *= */
3367 BEGIN other ;
3368
3369 set_assignment( '*' );
3370
3371 SET_NEXTSTART() ;
3372 return MULTASSIGNMENTVARIABLE ; }
3373 YY_BREAK
3374 case 43:
3375 YY_RULE_SETUP
3376 #line 779 "./lexsrc.l"
3377 {
3378 /* .var /= */
3379 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3380 if ( yytext[0] == '.' )
3381 {
3382 set_assignment( '/' );
3383 /*
3384 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3385 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3386 * in its content.
3387 * We use 6.2.3.1
3388 */
3389 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3390 {
3391 yytext[retlength] = '\0';
3392 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3393 }
3394 else
3395 {
3396 yytext[retlength] = '\0';
3397 exiterror( ERR_INVALID_START, 3, yytext );
3398 }
3399 }
3400 else
3401 {
3402 yytext[retlength] = '\0';
3403 exiterror( ERR_INVALID_START, 2, yytext );
3404 }
3405 /* known reserved variable */
3406 SET_NEXTSTART() ;
3407 return DIVASSIGNMENTVARIABLE ; }
3408 YY_BREAK
3409 case 44:
3410 YY_RULE_SETUP
3411 #line 811 "./lexsrc.l"
3412 {
3413 /* var /= */
3414 BEGIN other ;
3415
3416 set_assignment( '/' );
3417
3418 SET_NEXTSTART() ;
3419 return DIVASSIGNMENTVARIABLE ; }
3420 YY_BREAK
3421 case 45:
3422 YY_RULE_SETUP
3423 #line 820 "./lexsrc.l"
3424 {
3425 /* .var %= */
3426 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3427 if ( yytext[0] == '.' )
3428 {
3429 set_assignment( '%' );
3430 /*
3431 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3432 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3433 * in its content.
3434 * We use 6.2.3.1
3435 */
3436 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3437 {
3438 yytext[retlength] = '\0';
3439 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3440 }
3441 else
3442 {
3443 yytext[retlength] = '\0';
3444 exiterror( ERR_INVALID_START, 3, yytext );
3445 }
3446 }
3447 else
3448 {
3449 yytext[retlength] = '\0';
3450 exiterror( ERR_INVALID_START, 2, yytext );
3451 }
3452 /* known reserved variable */
3453 SET_NEXTSTART() ;
3454 return INTDIVASSIGNMENTVARIABLE ; }
3455 YY_BREAK
3456 case 46:
3457 YY_RULE_SETUP
3458 #line 852 "./lexsrc.l"
3459 {
3460 /* var %= */
3461 BEGIN other ;
3462
3463 set_assignment( '%' );
3464
3465 SET_NEXTSTART() ;
3466 return INTDIVASSIGNMENTVARIABLE ; }
3467 YY_BREAK
3468 case 47:
3469 YY_RULE_SETUP
3470 #line 861 "./lexsrc.l"
3471 {
3472 /* .var //= */
3473 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3474 if ( yytext[0] == '.' )
3475 {
3476 set_assignment( '/' );
3477 /*
3478 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3479 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3480 * in its content.
3481 * We use 6.2.3.1
3482 */
3483 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3484 {
3485 yytext[retlength] = '\0';
3486 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3487 }
3488 else
3489 {
3490 yytext[retlength] = '\0';
3491 exiterror( ERR_INVALID_START, 3, yytext );
3492 }
3493 }
3494 else
3495 {
3496 yytext[retlength] = '\0';
3497 exiterror( ERR_INVALID_START, 2, yytext );
3498 }
3499 /* known reserved variable */
3500 SET_NEXTSTART() ;
3501 return MODULUSASSIGNMENTVARIABLE ; }
3502 YY_BREAK
3503 case 48:
3504 YY_RULE_SETUP
3505 #line 893 "./lexsrc.l"
3506 {
3507 /* var //= */
3508 BEGIN other ;
3509
3510 set_assignment( '/' );
3511
3512 SET_NEXTSTART() ;
3513 return MODULUSASSIGNMENTVARIABLE ; }
3514 YY_BREAK
3515 case 49:
3516 YY_RULE_SETUP
3517 #line 902 "./lexsrc.l"
3518 {
3519 /* .var |= */
3520 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3521 if ( yytext[0] == '.' )
3522 {
3523 set_assignment( '|' );
3524 /*
3525 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3526 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3527 * in its content.
3528 * We use 6.2.3.1
3529 */
3530 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3531 {
3532 yytext[retlength] = '\0';
3533 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3534 }
3535 else
3536 {
3537 yytext[retlength] = '\0';
3538 exiterror( ERR_INVALID_START, 3, yytext );
3539 }
3540 }
3541 else
3542 {
3543 yytext[retlength] = '\0';
3544 exiterror( ERR_INVALID_START, 2, yytext );
3545 }
3546 /* known reserved variable */
3547 SET_NEXTSTART() ;
3548 return ORASSIGNMENTVARIABLE ; }
3549 YY_BREAK
3550 case 50:
3551 YY_RULE_SETUP
3552 #line 934 "./lexsrc.l"
3553 {
3554 /* var |= */
3555 BEGIN other ;
3556
3557 set_assignment( '|' );
3558
3559 SET_NEXTSTART() ;
3560 return ORASSIGNMENTVARIABLE ; }
3561 YY_BREAK
3562 case 51:
3563 YY_RULE_SETUP
3564 #line 943 "./lexsrc.l"
3565 {
3566 /* .var &= */
3567 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3568 if ( yytext[0] == '.' )
3569 {
3570 set_assignment( '&' );
3571 /*
3572 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3573 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3574 * in its content.
3575 * We use 6.2.3.1
3576 */
3577 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3578 {
3579 yytext[retlength] = '\0';
3580 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3581 }
3582 else
3583 {
3584 yytext[retlength] = '\0';
3585 exiterror( ERR_INVALID_START, 3, yytext );
3586 }
3587 }
3588 else
3589 {
3590 yytext[retlength] = '\0';
3591 exiterror( ERR_INVALID_START, 2, yytext );
3592 }
3593 /* known reserved variable */
3594 SET_NEXTSTART() ;
3595 return ANDASSIGNMENTVARIABLE ; }
3596 YY_BREAK
3597 case 52:
3598 YY_RULE_SETUP
3599 #line 975 "./lexsrc.l"
3600 {
3601 /* var &= */
3602 BEGIN other ;
3603
3604 set_assignment( '&' );
3605
3606 SET_NEXTSTART() ;
3607 return ANDASSIGNMENTVARIABLE ; }
3608 YY_BREAK
3609 case 53:
3610 YY_RULE_SETUP
3611 #line 984 "./lexsrc.l"
3612 {
3613 /* .var &&= */
3614 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3615 if ( yytext[0] == '.' )
3616 {
3617 set_assignment( '&' );
3618 /*
3619 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3620 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3621 * in its content.
3622 * We use 6.2.3.1
3623 */
3624 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3625 {
3626 yytext[retlength] = '\0';
3627 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3628 }
3629 else
3630 {
3631 yytext[retlength] = '\0';
3632 exiterror( ERR_INVALID_START, 3, yytext );
3633 }
3634 }
3635 else
3636 {
3637 yytext[retlength] = '\0';
3638 exiterror( ERR_INVALID_START, 2, yytext );
3639 }
3640 /* known reserved variable */
3641 SET_NEXTSTART() ;
3642 return XORASSIGNMENTVARIABLE ; }
3643 YY_BREAK
3644 case 54:
3645 YY_RULE_SETUP
3646 #line 1016 "./lexsrc.l"
3647 {
3648 /* var &&= */
3649 BEGIN other ;
3650
3651 set_assignment( '&' );
3652
3653 SET_NEXTSTART() ;
3654 return XORASSIGNMENTVARIABLE ; }
3655 YY_BREAK
3656 case 55:
3657 YY_RULE_SETUP
3658 #line 1025 "./lexsrc.l"
3659 {
3660 /* .var ||= */
3661 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
3662 if ( yytext[0] == '.' )
3663 {
3664 set_assignment( '|' );
3665 /*
3666 * FIXME, FGC: ANSI 6.2.3.1 forces an error 50.1 if yytext[0]=='.'
3667 * ANSI 6.3.2.8 forces this error 31.3 which is wrong
3668 * in its content.
3669 * We use 6.2.3.1
3670 */
3671 if ( !KNOWN_RESERVED( retvalue, retlength ) )
3672 {
3673 yytext[retlength] = '\0';
3674 exiterror( ERR_RESERVED_SYMBOL, 1, yytext );
3675 }
3676 else
3677 {
3678 yytext[retlength] = '\0';
3679 exiterror( ERR_INVALID_START, 3, yytext );
3680 }
3681 }
3682 else
3683 {
3684 yytext[retlength] = '\0';
3685 exiterror( ERR_INVALID_START, 2, yytext );
3686 }
3687 /* known reserved variable */
3688 SET_NEXTSTART() ;
3689 return CONCATASSIGNMENTVARIABLE ; }
3690 YY_BREAK
3691 case 56:
3692 YY_RULE_SETUP
3693 #line 1057 "./lexsrc.l"
3694 {
3695 /* var ||= */
3696 BEGIN other ;
3697
3698 set_assignment( '|' );
3699
3700 SET_NEXTSTART() ;
3701 return CONCATASSIGNMENTVARIABLE ; }
3702 YY_BREAK
3703 case 57:
3704 YY_RULE_SETUP
3705 #line 1066 "./lexsrc.l"
3706 {
3707 if (in_call)
3708 {
3709 if ( ( last_in_address == in_address_keyword )
3710 && ( in_address == in_address_main ) )
3711 {
3712 BEGIN other ; /* the next useful expression will set it to "other"
3713 * in either case. The BEGIN-states aren't very
3714 * handy in most cases; they are not flexible enough.
3715 */
3716 in_address = in_address_value ;
3717 in_call = 0;
3718 SET_NEXTSTART() ;
3719 return VALUE ;
3720 }
3721 REJECT ;
3722 }
3723 BEGIN other ;
3724 if ((!in_trace)&&(!in_address)&&(!in_signal)&&(!in_call)&&(!in_numform))
3725 obs_with = 1 ;
3726 in_trace = in_signal = in_call = 0 ;
3727 SET_NEXTSTART() ;
3728 return VALUE ; }
3729 YY_BREAK
3730 case 58:
3731 YY_RULE_SETUP
3732 #line 1090 "./lexsrc.l"
3733 {
3734 BEGIN sgtype ;
3735 SET_NEXTSTART() ;
3736 return ON ; }
3737 YY_BREAK
3738 case 59:
3739 YY_RULE_SETUP
3740 #line 1095 "./lexsrc.l"
3741 {
3742 BEGIN sgtype ;
3743 SET_NEXTSTART() ;
3744 return OFF ; }
3745 YY_BREAK
3746 case 60:
3747 YY_RULE_SETUP
3748 #line 1100 "./lexsrc.l"
3749 {
3750 BEGIN other ;
3751 SET_NEXTSTART() ;
3752 return NAME ; }
3753 YY_BREAK
3754 case 61:
3755 YY_RULE_SETUP
3756 #line 1105 "./lexsrc.l"
3757 {
3758 BEGIN signame ;
3759 SET_NEXTSTART() ;
3760 return ERROR ; }
3761 YY_BREAK
3762 case 62:
3763 YY_RULE_SETUP
3764 #line 1110 "./lexsrc.l"
3765 {
3766 BEGIN signame ;
3767 SET_NEXTSTART() ;
3768 return HALT ; }
3769 YY_BREAK
3770 case 63:
3771 YY_RULE_SETUP
3772 #line 1115 "./lexsrc.l"
3773 {
3774 BEGIN signame ;
3775 SET_NEXTSTART() ;
3776 return NOVALUE ; }
3777 YY_BREAK
3778 case 64:
3779 YY_RULE_SETUP
3780 #line 1120 "./lexsrc.l"
3781 {
3782 BEGIN signame ;
3783 SET_NEXTSTART() ;
3784 return NOTREADY ; }
3785 YY_BREAK
3786 case 65:
3787 YY_RULE_SETUP
3788 #line 1125 "./lexsrc.l"
3789 {
3790 BEGIN signame ;
3791 SET_NEXTSTART() ;
3792 return FAILURE ; }
3793 YY_BREAK
3794 case 66:
3795 YY_RULE_SETUP
3796 #line 1130 "./lexsrc.l"
3797 {
3798 BEGIN signame ;
3799 SET_NEXTSTART() ;
3800 return SYNTAX ; }
3801 YY_BREAK
3802 case 67:
3803 YY_RULE_SETUP
3804 #line 1135 "./lexsrc.l"
3805 {
3806 BEGIN signame ;
3807 SET_NEXTSTART() ;
3808 return LOSTDIGITS ; }
3809 YY_BREAK
3810 case 68:
3811 YY_RULE_SETUP
3812 #line 1140 "./lexsrc.l"
3813 {
3814 if (!in_trace) REJECT ;
3815 strcpy(retvalue,rmspc( yytext )) ;
3816 SET_NEXTSTART() ;
3817 return WHATEVER ; }
3818 YY_BREAK
3819 case 69:
3820 YY_RULE_SETUP
3821 #line 1146 "./lexsrc.l"
3822 {
3823 BEGIN other ;
3824 in_parse = 1 ;
3825 SET_NEXTSTART() ;
3826 return EXPOSE ; }
3827 YY_BREAK
3828 case 70:
3829 YY_RULE_SETUP
3830 #line 1152 "./lexsrc.l"
3831 {
3832 SET_NEXTSTART() ;
3833 return UPPER ; }
3834 YY_BREAK
3835 case 71:
3836 YY_RULE_SETUP
3837 #line 1156 "./lexsrc.l"
3838 {
3839 SET_NEXTSTART() ;
3840 return LOWER ; }
3841 YY_BREAK
3842 case 72:
3843 YY_RULE_SETUP
3844 #line 1160 "./lexsrc.l"
3845 {
3846 SET_NEXTSTART() ;
3847 return CASELESS ; }
3848 YY_BREAK
3849 case 73:
3850 YY_RULE_SETUP
3851 #line 1164 "./lexsrc.l"
3852 {
3853 BEGIN other ;
3854 SET_NEXTSTART() ;
3855 return ARG ; }
3856 YY_BREAK
3857 case 74:
3858 YY_RULE_SETUP
3859 #line 1169 "./lexsrc.l"
3860 {
3861 BEGIN other ;
3862 SET_NEXTSTART() ;
3863 return NUMERIC ; }
3864 YY_BREAK
3865 case 75:
3866 YY_RULE_SETUP
3867 #line 1174 "./lexsrc.l"
3868 {
3869 BEGIN other ;
3870 SET_NEXTSTART() ;
3871 return PULL ; }
3872 YY_BREAK
3873 case 76:
3874 YY_RULE_SETUP
3875 #line 1179 "./lexsrc.l"
3876 {
3877 BEGIN other ;
3878 SET_NEXTSTART() ;
3879 return SOURCE ; }
3880 YY_BREAK
3881 case 77:
3882 YY_RULE_SETUP
3883 #line 1184 "./lexsrc.l"
3884 {
3885 BEGIN other ;
3886 SET_NEXTSTART() ;
3887 return EXTERNAL ; }
3888 YY_BREAK
3889 case 78:
3890 YY_RULE_SETUP
3891 #line 1189 "./lexsrc.l"
3892 {
3893 BEGIN other ;
3894 SET_NEXTSTART() ;
3895 return LINEIN ; }
3896 YY_BREAK
3897 case 79:
3898 YY_RULE_SETUP
3899 #line 1194 "./lexsrc.l"
3900 {
3901 BEGIN other ;
3902 SET_NEXTSTART() ;
3903 return VERSION ; }
3904 YY_BREAK
3905 case 80:
3906 YY_RULE_SETUP
3907 #line 1199 "./lexsrc.l"
3908 {
3909 BEGIN other ;
3910 in_parse = 2; /* accept a variable and treat func(a) as func (a) */
3911 SET_NEXTSTART() ;
3912 return VAR ; }
3913 YY_BREAK
3914 case 81:
3915 YY_RULE_SETUP
3916 #line 1205 "./lexsrc.l"
3917 {
3918 seek_with = seek_with_from_parse ;
3919 in_trace = 0 ;
3920 in_parse = 0 ;
3921 BEGIN with ; /* in fact this works as a "not comm" */
3922 SET_NEXTSTART() ;
3923 return VALUE ; }
3924 YY_BREAK
3925 case 82:
3926 YY_RULE_SETUP
3927 #line 1213 "./lexsrc.l"
3928 {
3929 in_then = 0 ;
3930 SET_NEXTSTART() ;
3931 return THEN ; }
3932 YY_BREAK
3933 case 83:
3934 YY_RULE_SETUP
3935 #line 1218 "./lexsrc.l"
3936 {
3937 if (in_then!=1) REJECT ;
3938 BEGIN comm ;
3939 in_then = 0 ;
3940 SET_NEXTSTART() ;
3941 return THEN ; }
3942 YY_BREAK
3943 case 84:
3944 YY_RULE_SETUP
3945 #line 1225 "./lexsrc.l"
3946 {
3947 /*
3948 * Fixes bug 952380
3949 */
3950 if ((in_do)||(!seek_with))
3951 REJECT ;
3952 BEGIN other ;
3953 if ( seek_with == seek_with_from_parse )
3954 in_parse = 1 ;
3955 seek_with = no_seek_with ;
3956 if (in_address) /* any address state */
3957 in_address = in_address_with ; /* WITH seen */
3958 SET_NEXTSTART() ;
3959 return WITH ; }
3960 YY_BREAK
3961 case 85:
3962 YY_RULE_SETUP
3963 #line 1241 "./lexsrc.l"
3964 {
3965 BEGIN other ;
3966 SET_NEXTSTART() ;
3967 return DIGITS ; }
3968 YY_BREAK
3969 case 86:
3970 YY_RULE_SETUP
3971 #line 1246 "./lexsrc.l"
3972 {
3973 BEGIN nmform ;
3974 next_numform = 1 ;
3975 SET_NEXTSTART() ;
3976 return FORM ; }
3977 YY_BREAK
3978 case 87:
3979 YY_RULE_SETUP
3980 #line 1252 "./lexsrc.l"
3981 {
3982 SET_NEXTSTART() ;
3983 return SCIENTIFIC ; }
3984 YY_BREAK
3985 case 88:
3986 YY_RULE_SETUP
3987 #line 1256 "./lexsrc.l"
3988 {
3989 SET_NEXTSTART() ;
3990 return ENGINEERING ; }
3991 YY_BREAK
3992 case 89:
3993 YY_RULE_SETUP
3994 #line 1260 "./lexsrc.l"
3995 {
3996 BEGIN other ;
3997 SET_NEXTSTART() ;
3998 return FUZZ ; }
3999 YY_BREAK
4000 case 90:
4001 YY_RULE_SETUP
4002 #line 1265 "./lexsrc.l"
4003 {
4004 BEGIN other ;
4005 assert(in_do) ;
4006 in_do = 2 ;
4007 SET_NEXTSTART() ;
4008 return FOREVER ; }
4009 YY_BREAK
4010 case 91:
4011 YY_RULE_SETUP
4012 #line 1272 "./lexsrc.l"
4013 {
4014 if ( in_do == 2 )
4015 {
4016 BEGIN other ;
4017 SET_NEXTSTART() ;
4018 return TO ;
4019 }
4020 else if ( in_do == 1 )
4021 {
4022 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4023 exiterror( ERR_INVALID_DO_SYNTAX, 1, "TO" ) ;
4024 }
4025 REJECT ; }
4026 YY_BREAK
4027 case 92:
4028 YY_RULE_SETUP
4029 #line 1286 "./lexsrc.l"
4030 {
4031 if ( in_do == 2 )
4032 {
4033 BEGIN other ;
4034 SET_NEXTSTART() ;
4035 return BY ;
4036 }
4037 else if ( in_do == 1 )
4038 {
4039 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4040 exiterror( ERR_INVALID_DO_SYNTAX, 1, "BY" ) ;
4041 }
4042 REJECT ; }
4043 YY_BREAK
4044 case 93:
4045 YY_RULE_SETUP
4046 #line 1300 "./lexsrc.l"
4047 {
4048 if ( in_do == 2 )
4049 {
4050 BEGIN other ;
4051 SET_NEXTSTART() ;
4052 return FOR ;
4053 }
4054 else if ( in_do == 1 )
4055 {
4056 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4057 exiterror( ERR_INVALID_DO_SYNTAX, 1, "FOR" ) ;
4058 }
4059 REJECT ; }
4060 YY_BREAK
4061 case 94:
4062 YY_RULE_SETUP
4063 #line 1314 "./lexsrc.l"
4064 {
4065 if (in_do)
4066 {
4067 if ( in_do == 3 )
4068 {
4069 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4070 exiterror( ERR_INVALID_DO_SYNTAX, 1, "WHILE" ) ;
4071 }
4072 in_do=3 ;
4073 BEGIN other ;
4074 SET_NEXTSTART() ;
4075 return WHILE ;
4076 }
4077 REJECT ; }
4078 YY_BREAK
4079 case 95:
4080 YY_RULE_SETUP
4081 #line 1329 "./lexsrc.l"
4082 {
4083 if (in_do) {
4084 if ( in_do == 3 )
4085 {
4086 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4087 exiterror( ERR_INVALID_DO_SYNTAX, 1, "UNTIL" ) ;
4088 }
4089
4090 in_do=3 ;
4091 BEGIN other ;
4092 SET_NEXTSTART() ;
4093 return UNTIL ; }
4094 REJECT ; }
4095 YY_BREAK
4096 case 96:
4097 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
4098 yy_c_buf_p = yy_cp -= 1;
4099 YY_DO_BEFORE_ACTION; /* set up yytext again */
4100 YY_RULE_SETUP
4101 #line 1344 "./lexsrc.l"
4102 {
4103 BEGIN other ;
4104 in_do = 2 ;
4105 set_assignment( '=' );
4106 if ( !KNOWN_RESERVED( retvalue, retlength ) )
4107 exiterror( ERR_RESERVED_SYMBOL, 1, yytext ) ;
4108 SET_NEXTSTART() ;
4109 return DOVARIABLE ; }
4110 YY_BREAK
4111 case 97:
4112 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
4113 yy_c_buf_p = yy_cp -= 1;
4114 YY_DO_BEFORE_ACTION; /* set up yytext again */
4115 YY_RULE_SETUP
4116 #line 1353 "./lexsrc.l"
4117 {
4118 BEGIN other ;
4119 in_do = 2 ;
4120 strcpy(retvalue,rmspc( yytext )) ;
4121 SET_NEXTSTART() ;
4122 return DOVARIABLE ; }
4123 YY_BREAK
4124 case 98:
4125 YY_RULE_SETUP
4126 #line 1360 "./lexsrc.l"
4127 {
4128 unsigned i;
4129 BEGIN comm ;
4130
4131 for( i = 0; ( ch = yytext[i] ) != '\0'; i++ )
4132 {
4133 /*
4134 * A blank or ':' can't occur in the normal text. They are terminators.
4135 */
4136 if ( ( ch == ':' )
4137 || ( ch == '\n' )
4138 || ( MY_ISBLANK( ch ) ) )
4139 break;
4140 retvalue[i] = (char) rx_toupper( ch );
4141 }
4142 retvalue[i] = '\0' ;
4143 SET_NEXTSTART() ;
4144 return LABEL ; }
4145 YY_BREAK
4146 case 99:
4147 YY_RULE_SETUP
4148 #line 1380 "./lexsrc.l"
4149 {
4150 BEGIN comm ;
4151
4152 compress_string( retvalue, yytext );
4153
4154 SET_NEXTSTART() ;
4155 return LABEL ; }
4156 YY_BREAK
4157 case 100:
4158 YY_RULE_SETUP
4159 #line 1389 "./lexsrc.l"
4160 {
4161 BEGIN other ;
4162
4163 compress_string( retvalue, yytext );
4164
4165 kill_next_space = 1 ;
4166 if ( insert_abuttal ) {
4167 inhibit_delayed_abuttal = 1 ;
4168 delayed_symbol = EXFUNCNAME ;
4169 SET_NEXTSTART() ;
4170 return CONCATENATE ; }
4171
4172 expression_ended = 0 ;
4173 SET_NEXTSTART() ;
4174 return EXFUNCNAME ; }
4175 YY_BREAK
4176 case 101:
4177 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
4178 yy_c_buf_p = yy_cp -= 1;
4179 YY_DO_BEFORE_ACTION; /* set up yytext again */
4180 YY_RULE_SETUP
4181 #line 1407 "./lexsrc.l"
4182 {
4183 /*
4184 * fixes bug 617225.
4185 */
4186 return process_hex_or_bin_string( yytext, yyleng, 16 ); }
4187 YY_BREAK
4188 case 102:
4189 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
4190 yy_c_buf_p = yy_cp -= 1;
4191 YY_DO_BEFORE_ACTION; /* set up yytext again */
4192 YY_RULE_SETUP
4193 #line 1415 "./lexsrc.l"
4194 {
4195 return process_hex_or_bin_string( yytext, yyleng, 2 ); }
4196 YY_BREAK
4197 case 103:
4198 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
4199 yy_c_buf_p = yy_cp -= 1;
4200 YY_DO_BEFORE_ACTION; /* set up yytext again */
4201 YY_RULE_SETUP
4202 #line 1418 "./lexsrc.l"
4203 {
4204 char c;
4205 int i,base,charcount,first,tuple;
4206
4207 base = ( rx_toupper( yytext[yyleng - 1] ) == 'X' ) ? 16 : 2;
4208 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4209 /*
4210 * We are sure to have an invalid string since the above patterns won't
4211 * match. We can either have invalid characters or misplaced spaces.
4212 *
4213 * Blanks as the first characters are forbidden.
4214 */
4215 if ( MY_ISBLANK( yytext[1] ) )
4216 exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 1 : 2, 1 );
4217
4218 tuple = ( base == 16 ) ? 2 : 4;
4219 for ( i = 1, first = 1, charcount = 0; i < yyleng - 2; i++ )
4220 {
4221 c = yytext[i];
4222 if ( MY_ISBLANK( c ) )
4223 {
4224 /*
4225 * The first tuple may have less than tuple chars
4226 */
4227 if ( ( ( charcount % tuple ) == 0 ) || first )
4228 {
4229 first = 0;
4230 charcount = 0;
4231 continue;
4232 }
4233 exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 1 : 2, i );
4234 }
4235 charcount++;
4236 if ( base == 2 )
4237 {
4238 if ( ( c == '0' ) || ( c == '1' ) )
4239 continue;
4240 }
4241 if ( base == 16 )
4242 {
4243 if ( rx_isxdigit( c ) )
4244 continue;
4245 }
4246 exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 3 : 4, c );
4247 }
4248 /*
4249 * We didn't match something like "1 12 34 "X Assume this as the error.
4250 * Look back to the first blank in the last sequence.
4251 */
4252 for ( i = yyleng - 2; i > 1; i-- )
4253 if ( !MY_ISBLANK( yytext[i - 1] ) )
4254 break;
4255 exiterror( ERR_INVALID_HEX_CONST, ( base == 16 ) ? 1 : 2, i ); }
4256 YY_BREAK
4257 case 104:
4258 YY_RULE_SETUP
4259 #line 1472 "./lexsrc.l"
4260 {
4261 BEGIN other ;
4262
4263 compress_string( retvalue, yytext );
4264
4265 strcpy( yytext, retvalue ); /* proper error display */
4266
4267 if (in_numform)
4268 {
4269 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4270 exiterror( ERR_INV_SUBKEYWORD, 11, "ENGINEERING SCIENTIFIC", retvalue ) ;
4271 }
4272
4273 /* fixes 1109372 */
4274 if ( insert_abuttal && !in_parse && !in_signal && !in_call ) {
4275 delayed_symbol = STRING ;
4276 SET_NEXTSTART() ;
4277 return CONCATENATE ; }
4278
4279 if (in_call)
4280 {
4281 in_call = 0 ;
4282 kill_next_space = 1 ;
4283 }
4284 else
4285 expression_ended = 1 ;
4286
4287 SET_NEXTSTART() ;
4288 return STRING ; }
4289 YY_BREAK
4290 case 105:
4291 YY_RULE_SETUP
4292 #line 1503 "./lexsrc.l"
4293 {
4294 if (!in_parse)
4295 REJECT ;
4296 strcpy(retvalue,yytext) ;
4297 SET_NEXTSTART() ;
4298 return OFFSET ; }
4299 YY_BREAK
4300 case 106:
4301 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
4302 yy_c_buf_p = yy_cp -= 1;
4303 YY_DO_BEFORE_ACTION; /* set up yytext again */
4304 YY_RULE_SETUP
4305 #line 1510 "./lexsrc.l"
4306 {
4307 /*
4308 * This is the same as of the "{digit}+" rule above. flex is very stupid.
4309 * (Or is it a feature?)
4310 * The number below will take precedence instead of a plain "{digit}+",
4311 * even of the fact that the above rule may match the same length of
4312 * characters. flex seems to count the next "expect characters" for the
4313 * comparison which rule shall be used.
4314 */
4315 if (!in_parse)
4316 REJECT ;
4317 strcpy(retvalue,yytext) ;
4318 SET_NEXTSTART() ;
4319 return OFFSET ; }
4320 YY_BREAK
4321 case 107:
4322 *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
4323 yy_c_buf_p = yy_cp -= 1;
4324 YY_DO_BEFORE_ACTION; /* set up yytext again */
4325 YY_RULE_SETUP
4326 #line 1525 "./lexsrc.l"
4327 {
4328 /*
4329 * must split two rule parts because of the "/" rule-part.
4330 * This fixes bug 602283.
4331 */
4332 return process_number_or_const( yytext, yyleng );
4333 }
4334 YY_BREAK
4335 case 108:
4336 YY_RULE_SETUP
4337 #line 1533 "./lexsrc.l"
4338 {
4339 return process_number_or_const( yytext, yyleng );
4340 }
4341 YY_BREAK
4342 case 109:
4343 YY_RULE_SETUP
4344 #line 1537 "./lexsrc.l"
4345 {
4346 int i,j;
4347 /*
4348 * this might be a symbol in front of a function, but only if next
4349 * char in input stream is "(".
4350 */
4351
4352 if (in_trace) REJECT ;
4353
4354 memcpy( retvalue, yytext, yyleng + 1 ); /* include terminating '\0' */
4355 mem_upper( retvalue, yyleng );
4356
4357 if (in_numform)
4358 {
4359 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4360 exiterror( ERR_INV_SUBKEYWORD, 11, "ENGINEERING SCIENTIFIC", retvalue ) ;
4361 }
4362
4363 if ( ( last_in_address == in_address_keyword )
4364 && ( in_address == in_address_main ) )
4365 {
4366 kill_next_space = 1 ;
4367 in_call = 0 ;
4368 SET_NEXTSTART() ;
4369 return SIMSYMBOL ;
4370 }
4371
4372 BEGIN other;
4373
4374 if ( in_call )
4375 {
4376 /*
4377 * This has precedence over checking the parenthesis below.
4378 * Fixes bug 521502.
4379 */
4380 in_call = 0;
4381 kill_next_space = 1;
4382 SET_NEXTSTART();
4383 return SIMSYMBOL;
4384 }
4385
4386 if ( in_parse == 2 )
4387 {
4388 /*
4389 * This has precedence over checking the parenthesis below.
4390 * Fixes bug 1109335.
4391 */
4392 in_parse = 1;
4393 kill_next_space = 1;
4394 SET_NEXTSTART();
4395 return SIMSYMBOL;
4396 }
4397
4398 /* We must check if a '(' follows. Remember the number of eaten chars. */
4399 j = 1;
4400 #ifdef __cplusplus
4401 for (; ( i = yyinput() ) == '`';)
4402 #else
4403 for (; ( i = input() ) == '`';)
4404 #endif
4405 j++ ;
4406 if (i != '(')
4407 {
4408 j-- ;
4409 unput(i) ;
4410 }
4411 /* input() has destroyed the yytext-terminator re-set it */
4412 yytext[yyleng] = '\0';
4413 SET_NEXTSTART() ;
4414 nextstart += j ;
4415
4416 if ( i == '(' )
4417 {
4418 kill_next_space = 1 ;
4419 if ( insert_abuttal )
4420 {
4421 inhibit_delayed_abuttal = 1 ;
4422 delayed_symbol = INFUNCNAME ;
4423 return CONCATENATE ;
4424 }
4425 expression_ended = 0 ;
4426 return INFUNCNAME ;
4427 }
4428
4429 if ( insert_abuttal && !in_parse ) {
4430 delayed_symbol = SIMSYMBOL ;
4431 return CONCATENATE ; }
4432
4433 expression_ended = 1 ;
4434
4435 if ( in_address == in_address_with )
4436 kill_next_space = 1 ;
4437 if (SymbolDetect) /* allow a fast breakout */
4438 {
4439 /* We define a tricky preprocessor directive. This will give us
4440 * maximum performance without the loss of control or errors produced
4441 * by typos.
4442 */
4443 #define RET_IF(s) if ((SymbolDetect & SD_##s) && \
4444 (yyleng == sizeof(#s) - 1) && \
4445 (strncmp(retvalue, \
4446 #s, \
4447 sizeof(#s) - 1) == 0)) \
4448 return(s)
4449 /* e.g. RET_IF(INPUT); is replaced by:
4450 * if ((SymbolDetect & SD_INPUT) &&
4451 * (yyleng == sizeof("INPUT") - 1) &&
4452 * (strncmp(retvalue,
4453 * "INPUT",
4454 * sizeof("INPUT") - 1) == 0))
4455 * return(s);
4456 */
4457 RET_IF(INPUT);
4458 RET_IF(OUTPUT);
4459 RET_IF(ERROR);
4460 RET_IF(NORMAL);
4461 RET_IF(APPEND);
4462 RET_IF(REPLACE);
4463 RET_IF(STREAM);
4464 RET_IF(STEM);
4465 RET_IF(LIFO);
4466 RET_IF(FIFO);
4467 RET_IF(NOEOL);
4468 #undef RET_IF
4469 }
4470 return SIMSYMBOL ; }
4471 YY_BREAK
4472 case 110:
4473 YY_RULE_SETUP
4474 #line 1664 "./lexsrc.l"
4475 {
4476 int i,j;
4477 /*
4478 * this is mainly the content of var_symbol but we do a REJECT for all but
4479 * normal variable names.
4480 */
4481
4482 if ( in_trace || in_numform || in_call )
4483 REJECT;
4484
4485 if ( ( last_in_address == in_address_keyword )
4486 && ( in_address == in_address_main ) )
4487 REJECT;
4488
4489 set_assignment( '=' );
4490 if ( !KNOWN_RESERVED( retvalue, retlength ) )
4491 REJECT;
4492
4493 /* We must check if a '(' follows. Remember the number of eaten chars. */
4494 #ifdef __cplusplus
4495 for ( j = 1; ( i = yyinput() ) == '`'; )
4496 #else
4497 for ( j = 1; ( i = input() ) == '`'; )
4498 #endif
4499 j++;
4500 if ( i != '(' )
4501 {
4502 j--;
4503 unput( i );
4504 }
4505 /* input() has destroyed the yytext-terminator re-set it */
4506 yytext[yyleng] = '\0';
4507 SET_NEXTSTART();
4508 nextstart += j;
4509
4510 if ( i == '(' )
4511 REJECT; /* function name can't start with '.' */
4512
4513 BEGIN other;
4514 if ( insert_abuttal && !in_parse )
4515 {
4516 delayed_symbol = SIMSYMBOL;
4517 return CONCATENATE;
4518 }
4519
4520 expression_ended = 1;
4521 return SIMSYMBOL;
4522 }
4523 YY_BREAK
4524 case 111:
4525 YY_RULE_SETUP
4526 #line 1713 "./lexsrc.l"
4527 {
4528 expression_ended = 1 ;
4529 SET_NEXTSTART() ;
4530 return ')' ; }
4531 YY_BREAK
4532 case 112:
4533 YY_RULE_SETUP
4534 #line 1718 "./lexsrc.l"
4535 {
4536 BEGIN other ;
4537 if ( insert_abuttal )
4538 {
4539 inhibit_delayed_abuttal = 1 ;
4540 delayed_symbol = '(' ;
4541 SET_NEXTSTART() ;
4542 return CONCATENATE ;
4543 }
4544 SET_NEXTSTART() ;
4545 return '(' ; }
4546 YY_BREAK
4547 case 113:
4548 YY_RULE_SETUP
4549 #line 1730 "./lexsrc.l"
4550 {
4551 SET_NEXTSTART() ;
4552 return ',' ; }
4553 YY_BREAK
4554 case 114:
4555 YY_RULE_SETUP
4556 #line 1734 "./lexsrc.l"
4557 {
4558 BEGIN other ;
4559 SET_NEXTSTART() ;
4560 return '-' ; }
4561 YY_BREAK
4562 case 115:
4563 YY_RULE_SETUP
4564 #line 1739 "./lexsrc.l"
4565 {
4566 BEGIN other ;
4567 SET_NEXTSTART() ;
4568 return '+' ; }
4569 YY_BREAK
4570 case 116:
4571 YY_RULE_SETUP
4572 #line 1744 "./lexsrc.l"
4573 {
4574 SET_NEXTSTART() ;
4575 return '/' ; }
4576 YY_BREAK
4577 case 117:
4578 YY_RULE_SETUP
4579 #line 1748 "./lexsrc.l"
4580 {
4581 SET_NEXTSTART() ;
4582 return '%' ; }
4583 YY_BREAK
4584 case 118:
4585 YY_RULE_SETUP
4586 #line 1752 "./lexsrc.l"
4587 {
4588 SET_NEXTSTART() ;
4589 return '*' ; }
4590 YY_BREAK
4591 case 119:
4592 YY_RULE_SETUP
4593 #line 1756 "./lexsrc.l"
4594 {
4595 SET_NEXTSTART() ;
4596 return '|' ; }
4597 YY_BREAK
4598 case 120:
4599 YY_RULE_SETUP
4600 #line 1760 "./lexsrc.l"
4601 {
4602 SET_NEXTSTART() ;
4603 return '&' ; }
4604 YY_BREAK
4605 case 121:
4606 YY_RULE_SETUP
4607 #line 1764 "./lexsrc.l"
4608 {
4609 SET_NEXTSTART() ;
4610 return '=' ; }
4611 YY_BREAK
4612 case 122:
4613 YY_RULE_SETUP
4614 #line 1768 "./lexsrc.l"
4615 {
4616 /* why don't I have a {between} in the beginning of this re? bug? */
4617 BEGIN other ;
4618 SET_NEXTSTART() ;
4619 return NOT ; }
4620 YY_BREAK
4621 case 123:
4622 YY_RULE_SETUP
4623 #line 1774 "./lexsrc.l"
4624 {
4625 SET_NEXTSTART() ;
4626 return GTGT ; }
4627 YY_BREAK
4628 case 124:
4629 YY_RULE_SETUP
4630 #line 1778 "./lexsrc.l"
4631 {
4632 SET_NEXTSTART() ;
4633 return LTLT ; }
4634 YY_BREAK
4635 case 125:
4636 YY_RULE_SETUP
4637 #line 1782 "./lexsrc.l"
4638 {
4639 SET_NEXTSTART() ;
4640 return NOTGTGT ; }
4641 YY_BREAK
4642 case 126:
4643 YY_RULE_SETUP
4644 #line 1786 "./lexsrc.l"
4645 {
4646 SET_NEXTSTART() ;
4647 return NOTLTLT ; }
4648 YY_BREAK
4649 case 127:
4650 YY_RULE_SETUP
4651 #line 1790 "./lexsrc.l"
4652 {
4653 SET_NEXTSTART() ;
4654 return GTGTE ; }
4655 YY_BREAK
4656 case 128:
4657 YY_RULE_SETUP
4658 #line 1794 "./lexsrc.l"
4659 {
4660 SET_NEXTSTART() ;
4661 return LTLTE ; }
4662 YY_BREAK
4663 case 129:
4664 YY_RULE_SETUP
4665 #line 1798 "./lexsrc.l"
4666 {
4667 SET_NEXTSTART() ;
4668 return GT ; }
4669 YY_BREAK
4670 case 130:
4671 YY_RULE_SETUP
4672 #line 1802 "./lexsrc.l"
4673 {
4674 SET_NEXTSTART() ;
4675 return GTE ; }
4676 YY_BREAK
4677 case 131:
4678 YY_RULE_SETUP
4679 #line 1806 "./lexsrc.l"
4680 {
4681 SET_NEXTSTART() ;
4682 return LT ; }
4683 YY_BREAK
4684 case 132:
4685 YY_RULE_SETUP
4686 #line 1810 "./lexsrc.l"
4687 {
4688 SET_NEXTSTART() ;
4689 return LTE ; }
4690 YY_BREAK
4691 case 133:
4692 YY_RULE_SETUP
4693 #line 1814 "./lexsrc.l"
4694 {
4695 SET_NEXTSTART() ;
4696 return DIFFERENT ; }
4697 YY_BREAK
4698 case 134:
4699 YY_RULE_SETUP
4700 #line 1818 "./lexsrc.l"
4701 {
4702 SET_NEXTSTART() ;
4703 return EQUALEQUAL ; }
4704 YY_BREAK
4705 case 135:
4706 YY_RULE_SETUP
4707 #line 1822 "./lexsrc.l"
4708 {
4709 SET_NEXTSTART() ;
4710 return NOTEQUALEQUAL ; }
4711 YY_BREAK
4712 case 136:
4713 YY_RULE_SETUP
4714 #line 1826 "./lexsrc.l"
4715 {
4716 SET_NEXTSTART() ;
4717 return MODULUS ; }
4718 YY_BREAK
4719 case 137:
4720 YY_RULE_SETUP
4721 #line 1830 "./lexsrc.l"
4722 {
4723 SET_NEXTSTART() ;
4724 return XOR ; }
4725 YY_BREAK
4726 case 138:
4727 YY_RULE_SETUP
4728 #line 1834 "./lexsrc.l"
4729 {
4730 SET_NEXTSTART() ;
4731 return CONCATENATE ; }
4732 YY_BREAK
4733 case 139:
4734 YY_RULE_SETUP
4735 #line 1838 "./lexsrc.l"
4736 {
4737 SET_NEXTSTART() ;
4738 return EXP ; }
4739 YY_BREAK
4740 case 140:
4741 YY_RULE_SETUP
4742 #line 1842 "./lexsrc.l"
4743 {
4744 if ( in_address == in_address_value ) /* Always allow spaces in the VALUE */
4745 { /* part of the ADDRESS stmt. */
4746 SET_NEXTSTART() ;
4747 return SPACE ;
4748 }
4749 if (kill_this_space)
4750 {
4751 SET_NEXTSTART() ;
4752 return yylex() ;
4753 }
4754 SET_NEXTSTART() ;
4755 return (((in_parse)&&(!seek_with)) ? yylex() : SPACE) ; }
4756 YY_BREAK
4757 case 141:
4758 YY_RULE_SETUP
4759 #line 1856 "./lexsrc.l"
4760 {
4761 SET_NEXTSTART() ;
4762 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4763 exiterror( ERR_UNMATCHED_QUOTE, 0 ) ; }
4764 YY_BREAK
4765 case 142:
4766 YY_RULE_SETUP
4767 #line 1862 "./lexsrc.l"
4768 {
4769 SET_NEXTSTART() ;
4770 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4771 exiterror( ERR_SYMBOL_EXPECTED, 1, yytext ) ;}
4772 YY_BREAK
4773 case 143:
4774 YY_RULE_SETUP
4775 #line 1867 "./lexsrc.l"
4776 {
4777 SET_NEXTSTART() ;
4778 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
4779 exiterror( ERR_INVALID_CHAR, 1, yytext[0], yytext[0] ); }
4780 YY_BREAK
4781 case 144:
4782 YY_RULE_SETUP
4783 #line 1873 "./lexsrc.l"
4784 ECHO;
4785 YY_BREAK
4786 #line 4787 "./lexsrc.c"
4787 case YY_STATE_EOF(INITIAL):
4788 case YY_STATE_EOF(comm):
4789 case YY_STATE_EOF(signal):
4790 case YY_STATE_EOF(sgtype):
4791 case YY_STATE_EOF(procd):
4792 case YY_STATE_EOF(parse):
4793 case YY_STATE_EOF(then):
4794 case YY_STATE_EOF(with):
4795 case YY_STATE_EOF(numeric):
4796 case YY_STATE_EOF(do1):
4797 case YY_STATE_EOF(other):
4798 case YY_STATE_EOF(value1):
4799 case YY_STATE_EOF(ifcont):
4800 case YY_STATE_EOF(signame):
4801 case YY_STATE_EOF(nmform):
4802 yyterminate();
4803 #line 566 "flex.skl"
4804
4805 case YY_END_OF_BUFFER:
4806 {
4807 /* Amount of text matched not including the EOB char. */
4808 int yy_amount_of_matched_text = (int) (yy_cp - (char *) yytext_ptr) - 1;
4809
4810 /* Undo the effects of YY_DO_BEFORE_ACTION. */
4811 *yy_cp = yy_hold_char;
4812 YY_RESTORE_YY_MORE_OFFSET
4813
4814 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
4815 {
4816 /* We're scanning a new file or input source. It's
4817 * possible that this happened because the user
4818 * just pointed yyin at a new source and called
4819 * yylex(). If so, then we have to assure
4820 * consistency between yy_current_buffer and our
4821 * globals. Here is the right place to do so, because
4822 * this is the first action (other than possibly a
4823 * back-up) that will match for the new input source.
4824 */
4825 yy_n_chars = yy_current_buffer->yy_n_chars;
4826 yy_current_buffer->yy_input_file = yyin;
4827 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
4828 }
4829
4830 /* Note that here we test for yy_c_buf_p "<=" to the position
4831 * of the first EOB in the buffer, since yy_c_buf_p will
4832 * already have been incremented past the NUL character
4833 * (since all states make transitions on EOB to the
4834 * end-of-buffer state). Contrast this with the test
4835 * in input().
4836 */
4837 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
4838 { /* This was really a NUL. */
4839 yy_state_type yy_next_state;
4840
4841 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
4842
4843 yy_current_state = yy_get_previous_state();
4844
4845 /* Okay, we're now positioned to make the NUL
4846 * transition. We couldn't have
4847 * yy_get_previous_state() go ahead and do it
4848 * for us because it doesn't know how to deal
4849 * with the possibility of jamming (and we don't
4850 * want to build jamming into it because then it
4851 * will run more slowly).
4852 */
4853
4854 yy_next_state = yy_try_NUL_trans( yy_current_state );
4855
4856 yy_bp = yytext_ptr + YY_MORE_ADJ;
4857
4858 if ( yy_next_state )
4859 {
4860 /* Consume the NUL. */
4861 yy_cp = ++yy_c_buf_p;
4862 yy_current_state = yy_next_state;
4863 goto yy_match;
4864 }
4865
4866 else
4867 {
4868 yy_cp = yy_c_buf_p;
4869 #line 632 "flex.skl"
4870 goto yy_find_action;
4871 }
4872 }
4873
4874 else switch ( yy_get_next_buffer() )
4875 {
4876 case EOB_ACT_END_OF_FILE:
4877 {
4878 yy_did_buffer_switch_on_eof = 0;
4879
4880 if ( yywrap() )
4881 {
4882 /* Note: because we've taken care in
4883 * yy_get_next_buffer() to have set up
4884 * yytext, we can now set up
4885 * yy_c_buf_p so that if some total
4886 * hoser (like flex itself) wants to
4887 * call the scanner after we return the
4888 * YY_NULL, it'll still work - another
4889 * YY_NULL will get returned.
4890 */
4891 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
4892
4893 yy_act = YY_STATE_EOF(YY_START);
4894 goto do_action;
4895 }
4896
4897 else
4898 {
4899 if ( ! yy_did_buffer_switch_on_eof )
4900 YY_NEW_FILE;
4901 }
4902 break;
4903 }
4904
4905 case EOB_ACT_CONTINUE_SCAN:
4906 yy_c_buf_p =
4907 yytext_ptr + yy_amount_of_matched_text;
4908
4909 yy_current_state = yy_get_previous_state();
4910
4911 yy_cp = yy_c_buf_p;
4912 yy_bp = yytext_ptr + YY_MORE_ADJ;
4913 goto yy_match;
4914
4915 case EOB_ACT_LAST_MATCH:
4916 yy_c_buf_p =
4917 &yy_current_buffer->yy_ch_buf[yy_n_chars];
4918
4919 yy_current_state = yy_get_previous_state();
4920
4921 yy_cp = yy_c_buf_p;
4922 yy_bp = yytext_ptr + YY_MORE_ADJ;
4923 goto yy_find_action;
4924 }
4925 break;
4926 }
4927
4928 default:
4929 YY_FATAL_ERROR(
4930 "fatal flex scanner internal error--no action found" );
4931 } /* end of action switch */
4932 } /* end of scanning one token */
4933 } /* end of yylex */
4934
4935 #line 782 "flex.skl"
4936
4937 /* yy_get_next_buffer - try to read in a new buffer
4938 *
4939 * Returns a code representing an action:
4940 * EOB_ACT_LAST_MATCH -
4941 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
4942 * EOB_ACT_END_OF_FILE - end of file
4943 */
4944
4945 #line 793 "flex.skl"
4946 static int yy_get_next_buffer()
4947 #line 799 "flex.skl"
4948 {
4949 register char *dest = yy_current_buffer->yy_ch_buf;
4950 register char *source = yytext_ptr;
4951 register int number_to_move, i;
4952 int ret_val;
4953
4954 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
4955 YY_FATAL_ERROR(
4956 "fatal flex scanner internal error--end of buffer missed" );
4957
4958 if ( yy_current_buffer->yy_fill_buffer == 0 )
4959 { /* Don't try to fill the buffer, so this is an EOF. */
4960 if ( yy_c_buf_p - (char *) yytext_ptr - YY_MORE_ADJ == 1 )
4961 {
4962 /* We matched a single character, the EOB, so
4963 * treat this as a final EOF.
4964 */
4965 return EOB_ACT_END_OF_FILE;
4966 }
4967
4968 else
4969 {
4970 /* We matched some text prior to the EOB, first
4971 * process it.
4972 */
4973 return EOB_ACT_LAST_MATCH;
4974 }
4975 }
4976
4977 /* Try to read more data. */
4978
4979 /* First move last chars to start of buffer. */
4980 number_to_move = (int) (yy_c_buf_p - (char *) yytext_ptr) - 1;
4981
4982 for ( i = 0; i < number_to_move; ++i )
4983 *(dest++) = *(source++);
4984
4985 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
4986 /* don't do the read, it's not guaranteed to return an EOF,
4987 * just force an EOF
4988 */
4989 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
4990
4991 else
4992 {
4993 int num_to_read =
4994 yy_current_buffer->yy_buf_size - number_to_move - 1;
4995
4996 while ( num_to_read <= 0 )
4997 { /* Not enough room in the buffer - grow it. */
4998 #ifdef YY_USES_REJECT
4999 YY_FATAL_ERROR(
5000 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
5001 #else
5002
5003 /* just a shorter name for the current buffer */
5004 YY_BUFFER_STATE b = yy_current_buffer;
5005
5006 int yy_c_buf_p_offset =
5007 (int) (yy_c_buf_p - b->yy_ch_buf);
5008
5009 if ( b->yy_is_our_buffer )
5010 {
5011 int new_size = b->yy_buf_size * 2;
5012
5013 if ( new_size <= 0 )
5014 b->yy_buf_size += b->yy_buf_size / 8;
5015 else
5016 b->yy_buf_size *= 2;
5017
5018 b->yy_ch_buf = (char *)
5019 /* Include room in for 2 EOB chars. */
5020 yy_flex_realloc( (void *) b->yy_ch_buf,
5021 b->yy_buf_size + 2 );
5022 }
5023 else
5024 /* Can't grow it, we don't own it. */
5025 b->yy_ch_buf = 0;
5026
5027 if ( ! b->yy_ch_buf )
5028 YY_FATAL_ERROR(
5029 "fatal error - scanner input buffer overflow" );
5030
5031 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
5032
5033 num_to_read = yy_current_buffer->yy_buf_size -
5034 number_to_move - 1;
5035 #endif
5036 }
5037
5038 if ( num_to_read > YY_READ_BUF_SIZE )
5039 num_to_read = YY_READ_BUF_SIZE;
5040
5041 /* Read in more data. */
5042 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
5043 yy_n_chars, num_to_read );
5044
5045 yy_current_buffer->yy_n_chars = yy_n_chars;
5046 }
5047
5048 if ( yy_n_chars == 0 )
5049 {
5050 if ( number_to_move == YY_MORE_ADJ )
5051 {
5052 ret_val = EOB_ACT_END_OF_FILE;
5053 yyrestart( yyin );
5054 }
5055
5056 else
5057 {
5058 ret_val = EOB_ACT_LAST_MATCH;
5059 yy_current_buffer->yy_buffer_status =
5060 YY_BUFFER_EOF_PENDING;
5061 }
5062 }
5063
5064 else
5065 ret_val = EOB_ACT_CONTINUE_SCAN;
5066
5067 yy_n_chars += number_to_move;
5068 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
5069 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
5070
5071 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
5072
5073 return ret_val;
5074 }
5075
5076
5077 /* yy_get_previous_state - get the state just before the EOB char was reached */
5078
5079 #line 932 "flex.skl"
5080 static yy_state_type yy_get_previous_state()
5081 #line 938 "flex.skl"
5082 {
5083 register yy_state_type yy_current_state;
5084 register char *yy_cp;
5085
5086 yy_current_state = yy_start;
5087 yy_state_ptr = yy_state_buf;
5088 *yy_state_ptr++ = yy_current_state;
5089 #line 944 "flex.skl"
5090
5091 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
5092 {
5093 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
5094 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
5095 {
5096 yy_current_state = (int) yy_def[yy_current_state];
5097 if ( yy_current_state >= 992 )
5098 yy_c = yy_meta[(unsigned int) yy_c];
5099 }
5100 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
5101 *yy_state_ptr++ = yy_current_state;
5102 #line 949 "flex.skl"
5103 }
5104
5105 return yy_current_state;
5106 }
5107
5108
5109 /* yy_try_NUL_trans - try to make a transition on the NUL character
5110 *
5111 * synopsis
5112 * next_state = yy_try_NUL_trans( current_state );
5113 */
5114
5115 #line 963 "flex.skl"
5116 #ifdef YY_USE_PROTOS
5117 static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
5118 #else
5119 static yy_state_type yy_try_NUL_trans( yy_current_state )
5120 yy_state_type yy_current_state;
5121 #endif
5122 #line 974 "flex.skl"
5123 {
5124 register int yy_is_jam;
5125
5126 register YY_CHAR yy_c = 1;
5127 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
5128 {
5129 yy_current_state = (int) yy_def[yy_current_state];
5130 if ( yy_current_state >= 992 )
5131 yy_c = yy_meta[(unsigned int) yy_c];
5132 }
5133 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
5134 yy_is_jam = (yy_current_state == 991);
5135 if ( ! yy_is_jam )
5136 *yy_state_ptr++ = yy_current_state;
5137 #line 978 "flex.skl"
5138
5139 return yy_is_jam ? 0 : yy_current_state;
5140 }
5141
5142
5143 #line 985 "flex.skl"
5144 #ifndef YY_NO_UNPUT
5145 #ifdef YY_USE_PROTOS
5146 static void yyunput( int c, register char *yy_bp )
5147 #else
5148 static void yyunput( c, yy_bp )
5149 int c;
5150 register char *yy_bp;
5151 #endif
5152 #line 998 "flex.skl"
5153 {
5154 register char *yy_cp = yy_c_buf_p;
5155
5156 /* undo effects of setting up yytext */
5157 *yy_cp = yy_hold_char;
5158
5159 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
5160 { /* need to shift things up to make room */
5161 /* +2 for EOB chars. */
5162 register int number_to_move = yy_n_chars + 2;
5163 register char *dest = &yy_current_buffer->yy_ch_buf[
5164 yy_current_buffer->yy_buf_size + 2];
5165 register char *source =
5166 &yy_current_buffer->yy_ch_buf[number_to_move];
5167
5168 while ( source > yy_current_buffer->yy_ch_buf )
5169 *--dest = *--source;
5170
5171 yy_cp += (int) (dest - source);
5172 yy_bp += (int) (dest - source);
5173 yy_current_buffer->yy_n_chars =
5174 yy_n_chars = yy_current_buffer->yy_buf_size;
5175
5176 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
5177 YY_FATAL_ERROR( "flex scanner push-back overflow" );
5178 }
5179
5180 *--yy_cp = (char) c;
5181
5182 #line 1029 "flex.skl"
5183
5184 yytext_ptr = yy_bp;
5185 yy_hold_char = *yy_cp;
5186 yy_c_buf_p = yy_cp;
5187 }
5188 #line 1036 "flex.skl"
5189 #endif /* ifndef YY_NO_UNPUT */
5190 #line 1039 "flex.skl"
5191
5192
5193 #line 1043 "flex.skl"
5194 #ifdef __cplusplus
5195 static int yyinput()
5196 #else
5197 static int input()
5198 #endif
5199 #line 1053 "flex.skl"
5200 {
5201 int c;
5202
5203 *yy_c_buf_p = yy_hold_char;
5204
5205 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
5206 {
5207 /* yy_c_buf_p now points to the character we want to return.
5208 * If this occurs *before* the EOB characters, then it's a
5209 * valid NUL; if not, then we've hit the end of the buffer.
5210 */
5211 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
5212 /* This was really a NUL. */
5213 *yy_c_buf_p = '\0';
5214
5215 else
5216 { /* need more input */
5217 int offset = yy_c_buf_p - (char *) yytext_ptr;
5218 ++yy_c_buf_p;
5219
5220 switch ( yy_get_next_buffer() )
5221 {
5222 case EOB_ACT_LAST_MATCH:
5223 /* This happens because yy_g_n_b()
5224 * sees that we've accumulated a
5225 * token and flags that we need to
5226 * try matching the token before
5227 * proceeding. But for input(),
5228 * there's no matching to consider.
5229 * So convert the EOB_ACT_LAST_MATCH
5230 * to EOB_ACT_END_OF_FILE.
5231 */
5232
5233 /* Reset buffer status. */
5234 yyrestart( yyin );
5235
5236 /* fall through */
5237
5238 case EOB_ACT_END_OF_FILE:
5239 {
5240 if ( yywrap() )
5241 return EOF;
5242
5243 if ( ! yy_did_buffer_switch_on_eof )
5244 YY_NEW_FILE;
5245 #ifdef __cplusplus
5246 return yyinput();
5247 #else
5248 return input();
5249 #endif
5250 }
5251
5252 case EOB_ACT_CONTINUE_SCAN:
5253 yy_c_buf_p = yytext_ptr + offset;
5254 break;
5255 }
5256 }
5257 }
5258
5259 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
5260 *yy_c_buf_p = '\0'; /* preserve yytext */
5261 yy_hold_char = *++yy_c_buf_p;
5262
5263 #line 1118 "flex.skl"
5264
5265 return c;
5266 }
5267
5268
5269 #line 1125 "flex.skl"
5270 #ifdef YY_USE_PROTOS
5271 void yyrestart( FILE *input_file )
5272 #else
5273 void yyrestart( input_file )
5274 FILE *input_file;
5275 #endif
5276 #line 1136 "flex.skl"
5277 {
5278 if ( ! yy_current_buffer )
5279 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
5280
5281 yy_init_buffer( yy_current_buffer, input_file );
5282 yy_load_buffer_state();
5283 }
5284
5285
5286 #line 1147 "flex.skl"
5287 #ifdef YY_USE_PROTOS
5288 void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
5289 #else
5290 void yy_switch_to_buffer( new_buffer )
5291 YY_BUFFER_STATE new_buffer;
5292 #endif
5293 #line 1158 "flex.skl"
5294 {
5295 if ( yy_current_buffer == new_buffer )
5296 return;
5297
5298 if ( yy_current_buffer )
5299 {
5300 /* Flush out information for old buffer. */
5301 *yy_c_buf_p = yy_hold_char;
5302 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
5303 yy_current_buffer->yy_n_chars = yy_n_chars;
5304 }
5305
5306 yy_current_buffer = new_buffer;
5307 yy_load_buffer_state();
5308
5309 /* We don't actually know whether we did this switch during
5310 * EOF (yywrap()) processing, but the only time this flag
5311 * is looked at is after yywrap() is called, so it's safe
5312 * to go ahead and always set it.
5313 */
5314 yy_did_buffer_switch_on_eof = 1;
5315 }
5316
5317
5318 #line 1184 "flex.skl"
5319 #ifdef YY_USE_PROTOS
5320 void yy_load_buffer_state( void )
5321 #else
5322 void yy_load_buffer_state()
5323 #endif
5324 #line 1194 "flex.skl"
5325 {
5326 yy_n_chars = yy_current_buffer->yy_n_chars;
5327 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
5328 yyin = yy_current_buffer->yy_input_file;
5329 yy_hold_char = *yy_c_buf_p;
5330 }
5331
5332
5333 #line 1204 "flex.skl"
5334 #ifdef YY_USE_PROTOS
5335 YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
5336 #else
5337 YY_BUFFER_STATE yy_create_buffer( file, size )
5338 FILE *file;
5339 int size;
5340 #endif
5341 #line 1216 "flex.skl"
5342 {
5343 YY_BUFFER_STATE b;
5344
5345 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
5346 if ( ! b )
5347 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
5348
5349 b->yy_buf_size = size;
5350
5351 /* yy_ch_buf has to be 2 characters longer than the size given because
5352 * we need to put in 2 end-of-buffer characters.
5353 */
5354 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
5355 if ( ! b->yy_ch_buf )
5356 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
5357
5358 b->yy_is_our_buffer = 1;
5359
5360 yy_init_buffer( b, file );
5361
5362 return b;
5363 }
5364
5365
5366 #line 1242 "flex.skl"
5367 #ifdef YY_USE_PROTOS
5368 void yy_delete_buffer( YY_BUFFER_STATE b )
5369 #else
5370 void yy_delete_buffer( b )
5371 YY_BUFFER_STATE b;
5372 #endif
5373 #line 1253 "flex.skl"
5374 {
5375 if ( ! b )
5376 return;
5377
5378 if ( b == yy_current_buffer )
5379 yy_current_buffer = (YY_BUFFER_STATE) 0;
5380
5381 if ( b->yy_is_our_buffer )
5382 yy_flex_free( (void *) b->yy_ch_buf );
5383
5384 yy_flex_free( (void *) b );
5385 }
5386
5387
5388 #line 1269 "flex.skl"
5389 #ifndef YY_ALWAYS_INTERACTIVE
5390 #ifndef YY_NEVER_INTERACTIVE
5391 extern int isatty YY_PROTO(( int ));
5392 #endif
5393 #endif
5394
5395 #ifdef YY_USE_PROTOS
5396 void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
5397 #else
5398 void yy_init_buffer( b, file )
5399 YY_BUFFER_STATE b;
5400 FILE *file;
5401 #endif
5402
5403 #line 1289 "flex.skl"
5404
5405 {
5406 #line 1292 "flex.skl"
5407 yy_flush_buffer( b );
5408
5409 b->yy_input_file = file;
5410 b->yy_fill_buffer = 1;
5411
5412 #line 1299 "flex.skl"
5413 #if YY_ALWAYS_INTERACTIVE
5414 b->yy_is_interactive = 1;
5415 #else
5416 #if YY_NEVER_INTERACTIVE
5417 b->yy_is_interactive = 0;
5418 #else
5419 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
5420 #endif
5421 #endif
5422 #line 1313 "flex.skl"
5423 }
5424
5425
5426 #line 1318 "flex.skl"
5427 #ifdef YY_USE_PROTOS
5428 void yy_flush_buffer( YY_BUFFER_STATE b )
5429 #else
5430 void yy_flush_buffer( b )
5431 YY_BUFFER_STATE b;
5432 #endif
5433
5434 #line 1330 "flex.skl"
5435 {
5436 if ( ! b )
5437 return;
5438
5439 b->yy_n_chars = 0;
5440
5441 /* We always need two end-of-buffer characters. The first causes
5442 * a transition to the end-of-buffer state. The second causes
5443 * a jam in that state.
5444 */
5445 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
5446 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
5447
5448 b->yy_buf_pos = &b->yy_ch_buf[0];
5449
5450 b->yy_at_bol = 1;
5451 b->yy_buffer_status = YY_BUFFER_NEW;
5452
5453 if ( b == yy_current_buffer )
5454 yy_load_buffer_state();
5455 }
5456 #line 1353 "flex.skl"
5457
5458
5459 #ifndef YY_NO_SCAN_BUFFER
5460 #line 1358 "flex.skl"
5461 #ifdef YY_USE_PROTOS
5462 YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
5463 #else
5464 YY_BUFFER_STATE yy_scan_buffer( base, size )
5465 char *base;
5466 yy_size_t size;
5467 #endif
5468 {
5469 YY_BUFFER_STATE b;
5470
5471 if ( size < 2 ||
5472 base[size-2] != YY_END_OF_BUFFER_CHAR ||
5473 base[size-1] != YY_END_OF_BUFFER_CHAR )
5474 /* They forgot to leave room for the EOB's. */
5475 return 0;
5476
5477 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
5478 if ( ! b )
5479 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
5480
5481 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
5482 b->yy_buf_pos = b->yy_ch_buf = base;
5483 b->yy_is_our_buffer = 0;
5484 b->yy_input_file = 0;
5485 b->yy_n_chars = b->yy_buf_size;
5486 b->yy_is_interactive = 0;
5487 b->yy_at_bol = 1;
5488 b->yy_fill_buffer = 0;
5489 b->yy_buffer_status = YY_BUFFER_NEW;
5490
5491 yy_switch_to_buffer( b );
5492
5493 return b;
5494 }
5495 #endif
5496 #line 1395 "flex.skl"
5497
5498
5499 #ifndef YY_NO_SCAN_STRING
5500 #line 1400 "flex.skl"
5501 #ifdef YY_USE_PROTOS
5502 YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
5503 #else
5504 YY_BUFFER_STATE yy_scan_string( yy_str )
5505 yyconst char *yy_str;
5506 #endif
5507 {
5508 int len;
5509 for ( len = 0; yy_str[len]; ++len )
5510 ;
5511
5512 return yy_scan_bytes( yy_str, len );
5513 }
5514 #endif
5515 #line 1416 "flex.skl"
5516
5517
5518 #ifndef YY_NO_SCAN_BYTES
5519 #line 1421 "flex.skl"
5520 #ifdef YY_USE_PROTOS
5521 YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
5522 #else
5523 YY_BUFFER_STATE yy_scan_bytes( bytes, len )
5524 yyconst char *bytes;
5525 int len;
5526 #endif
5527 {
5528 YY_BUFFER_STATE b;
5529 char *buf;
5530 yy_size_t n;
5531 int i;
5532
5533 /* Get memory for full buffer, including space for trailing EOB's. */
5534 n = len + 2;
5535 buf = (char *) yy_flex_alloc( n );
5536 if ( ! buf )
5537 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
5538
5539 for ( i = 0; i < len; ++i )
5540 buf[i] = bytes[i];
5541
5542 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
5543
5544 b = yy_scan_buffer( buf, n );
5545 if ( ! b )
5546 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
5547
5548 /* It's okay to grow etc. this buffer, and we should throw it
5549 * away when we're done.
5550 */
5551 b->yy_is_our_buffer = 1;
5552
5553 return b;
5554 }
5555 #endif
5556 #line 1459 "flex.skl"
5557
5558
5559 #ifndef YY_NO_PUSH_STATE
5560 #line 1464 "flex.skl"
5561 #ifdef YY_USE_PROTOS
5562 static void yy_push_state( int new_state )
5563 #else
5564 static void yy_push_state( new_state )
5565 int new_state;
5566 #endif
5567 #line 1475 "flex.skl"
5568 {
5569 if ( yy_start_stack_ptr >= yy_start_stack_depth )
5570 {
5571 yy_size_t new_size;
5572
5573 yy_start_stack_depth += YY_START_STACK_INCR;
5574 new_size = yy_start_stack_depth * sizeof( int );
5575
5576 if ( ! yy_start_stack )
5577 yy_start_stack = (int *) yy_flex_alloc( new_size );
5578
5579 else
5580 yy_start_stack = (int *) yy_flex_realloc(
5581 (void *) yy_start_stack, new_size );
5582
5583 if ( ! yy_start_stack )
5584 YY_FATAL_ERROR(
5585 "out of memory expanding start-condition stack" );
5586 }
5587
5588 yy_start_stack[yy_start_stack_ptr++] = YY_START;
5589
5590 BEGIN(new_state);
5591 }
5592 #endif
5593
5594
5595 #ifndef YY_NO_POP_STATE
5596 #line 1505 "flex.skl"
5597 static void yy_pop_state()
5598 #line 1511 "flex.skl"
5599 {
5600 if ( --yy_start_stack_ptr < 0 )
5601 YY_FATAL_ERROR( "start-condition stack underflow" );
5602
5603 BEGIN(yy_start_stack[yy_start_stack_ptr]);
5604 }
5605 #endif
5606
5607
5608 #ifndef YY_NO_TOP_STATE
5609 #line 1523 "flex.skl"
5610 static int yy_top_state()
5611 #line 1529 "flex.skl"
5612 {
5613 return yy_start_stack[yy_start_stack_ptr - 1];
5614 }
5615 #endif
5616
5617 #ifndef YY_EXIT_FAILURE
5618 #define YY_EXIT_FAILURE 2
5619 #endif
5620
5621 #line 1540 "flex.skl"
5622 #ifdef YY_USE_PROTOS
5623 static void yy_fatal_error( yyconst char msg[] )
5624 #else
5625 static void yy_fatal_error( msg )
5626 char msg[];
5627 #endif
5628 {
5629 (void) fprintf( stderr, "%s\n", msg );
5630 exit( YY_EXIT_FAILURE );
5631 }
5632
5633 #line 1561 "flex.skl"
5634
5635
5636 /* Redefine yyless() so it works in section 3 code. */
5637
5638 #undef yyless
5639 #define yyless(n) \
5640 do \
5641 { \
5642 /* Undo effects of setting up yytext. */ \
5643 yytext[yyleng] = yy_hold_char; \
5644 yy_c_buf_p = yytext + n; \
5645 yy_hold_char = *yy_c_buf_p; \
5646 *yy_c_buf_p = '\0'; \
5647 yyleng = n; \
5648 } \
5649 while ( 0 )
5650
5651
5652 /* Internal utility routines. */
5653
5654 #ifndef yytext_ptr
5655 #ifdef YY_USE_PROTOS
5656 static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
5657 #else
5658 static void yy_flex_strncpy( s1, s2, n )
5659 char *s1;
5660 yyconst char *s2;
5661 int n;
5662 #endif
5663 {
5664 register int i;
5665 for ( i = 0; i < n; ++i )
5666 s1[i] = s2[i];
5667 }
5668 #endif
5669
5670 #ifdef YY_NEED_STRLEN
5671 #ifdef YY_USE_PROTOS
5672 static int yy_flex_strlen( yyconst char *s )
5673 #else
5674 static int yy_flex_strlen( s )
5675 yyconst char *s;
5676 #endif
5677 {
5678 register int n;
5679 for ( n = 0; s[n]; ++n )
5680 ;
5681
5682 return n;
5683 }
5684 #endif
5685
5686
5687 #ifdef YY_USE_PROTOS
5688 static void *yy_flex_alloc( yy_size_t size )
5689 #else
5690 static void *yy_flex_alloc( size )
5691 yy_size_t size;
5692 #endif
5693 {
5694 return (void *) malloc( size );
5695 }
5696
5697 #ifdef YY_USE_PROTOS
5698 static void *yy_flex_realloc( void *ptr, yy_size_t size )
5699 #else
5700 static void *yy_flex_realloc( ptr, size )
5701 void *ptr;
5702 yy_size_t size;
5703 #endif
5704 {
5705 /* The cast to (char *) in the following accommodates both
5706 * implementations that use char* generic pointers, and those
5707 * that use void* generic pointers. It works with the latter
5708 * because both ANSI C and C++ allow castless assignment from
5709 * any pointer type to void*, and deal with argument conversions
5710 * as though doing an assignment.
5711 */
5712 return (void *) realloc( (char *) ptr, size );
5713 }
5714
5715 #ifdef YY_USE_PROTOS
5716 static void yy_flex_free( void *ptr )
5717 #else
5718 static void yy_flex_free( ptr )
5719 void *ptr;
5720 #endif
5721 {
5722 free( ptr );
5723 }
5724
5725 #if YY_MAIN
5726 int main()
5727 {
5728 yylex();
5729 return 0;
5730 }
5731 #endif
5732 #line 1873 "./lexsrc.l"
5733
5734
5735 #define NORMALSTAT 0
5736 #define COMMENTSTAT 1
5737 #define SINGLEQUOTE 2
5738 #define DOUBLEQUOTE 3
5739
5740 /*
5741 * set_assignment sets an assignment variable in retvalue from yytext with
5742 * a trailing {between}[={between}] stripped.
5743 * retlength is set, too.
5744 */
5745 static void set_assignment( char delim )
5746 {
5747 char ch;
5748
5749 for( retlength = 0; ( ch = yytext[retlength] ) != 0; retlength++ )
5750 {
5751 /*
5752 * A blank or delim can't occur in the normal text. They are terminators.
5753 */
5754 if ( ( ch == delim )
5755 || ( ch == '\n' )
5756 || ( MY_ISBLANK( ch ) ) )
5757 break;
5758 retvalue[retlength] = (char) rx_toupper( ch );
5759 }
5760 retvalue[retlength] = '\0' ;
5761 }
5762
5763 /* rmspc uppercases all characters and removes blanks from a string.
5764 * Returns the input string.
5765 */
5766 static YY_CHAR_TYPE *rmspc( YY_CHAR_TYPE *instr )
5767 {
5768 YY_CHAR_TYPE *retval=instr ,
5769 *dest =instr ,
5770 c ;
5771
5772 while ((c = *instr++) != '\0')
5773 {
5774 c = (YY_CHAR_TYPE) rx_toupper(c);
5775 /* These characters are treated as blanks: */
5776 if ((c!='`') && (c!=' ') && (c!=',') && (c!='\t') && (c!='\n'))
5777 *dest++ = c ;
5778 }
5779 *dest = '\0' ;
5780
5781 return( retval ) ;
5782 }
5783
5784 /*
5785 * process_number_or_const does the processing of a decimal number or a const.
5786 * The detection was to complicated to put it into one routine.
5787 * We have to read some more characters to decide whether or not we have
5788 * an INFUNCNAME.
5789 * Returns a lexical code.
5790 */
5791 static int process_number_or_const( const char *text, int len )
5792 {
5793 int eaten,c,symbol;
5794
5795 /*
5796 * Copy and uppercase the return value.
5797 */
5798 memcpy( retvalue, text, len + 1 ); /* include terminating '\0' */
5799 mem_upper( retvalue, len );
5800
5801 if ( in_numform )
5802 {
5803 parser_data.tline = linenr - 1; /* set tline for exiterror */
5804 exiterror( ERR_INV_SUBKEYWORD, 11, "ENGINEERING SCIENTIFIC", retvalue );
5805 }
5806 nextstart += len;
5807
5808 BEGIN other;
5809
5810 /*
5811 * Plain number or const_symbol.
5812 */
5813 if ( KNOWN_RESERVED( retvalue, len ) )
5814 symbol = SIMSYMBOL;
5815 else
5816 symbol = CONSYMBOL;
5817
5818 if ( in_call )
5819 {
5820 /*
5821 * This has precedence over checking the parenthesis below.
5822 * Fixes bug 521502.
5823 */
5824 in_call = 0;
5825 kill_next_space = 1;
5826 SET_NEXTSTART();
5827 return symbol;
5828 }
5829
5830 /*
5831 * We must check if a '(' follows. Remember the number of eaten chars.
5832 */
5833 eaten = 1;
5834 #ifdef __cplusplus
5835 while ( ( c = yyinput() ) == '`' )
5836 #else
5837 while ( ( c = input() ) == '`' )
5838 #endif
5839 {
5840 eaten++;
5841 }
5842 if ( c != '(' )
5843 {
5844 eaten--;
5845 unput( c );
5846 }
5847 /*
5848 * input() has destroyed the yytext-terminator re-set it
5849 */
5850 yytext[yyleng] = '\0';
5851 nextstart += eaten;
5852 if ( c == '(' )
5853 {
5854 kill_next_space = 1;
5855 if ( insert_abuttal )
5856 {
5857 inhibit_delayed_abuttal = 1;
5858 delayed_symbol = INFUNCNAME;
5859 return CONCATENATE;
5860 }
5861 expression_ended = 0;
5862 return INFUNCNAME;
5863 }
5864
5865 if ( insert_abuttal && !in_parse )
5866 {
5867 delayed_symbol = symbol;
5868 return CONCATENATE;
5869 }
5870
5871 expression_ended = 1;
5872 return symbol;
5873 }
5874
5875 /*
5876 * compress_string removes quotes or double quotes from the src and changes
5877 * double delimiter to one. The delimiter should be either ' or ".
5878 */
5879 static void compress_string( char *dest, const char *src )
5880 {
5881 char c, delim = *src++;
5882
5883 for (;;)
5884 {
5885 if ( ( c = *src++ ) == delim )
5886 {
5887 if (*src == delim )
5888 {
5889 *dest++ = *src++;
5890 }
5891 else
5892 {
5893 break;
5894 }
5895 }
5896 else
5897 {
5898 if ( c == '\n' )
5899 {
5900 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
5901 exiterror( ERR_UNMATCHED_QUOTE, 0 ) ;
5902 }
5903 *dest++ = c;
5904 }
5905 }
5906 *dest = '\0';
5907 }
5908
5909 /*
5910 * process_hex_or_bin_string convert the string in text which is given as
5911 * a hexstring or a binstring to a "normal" string. base must be either 2 or
5912 * 16.
5913 * We rely on having a well-formed string. This must be ensured. It is
5914 * something of the form "content"x or 'content'b or similar.
5915 * Returns a lexical code. retvalue and retlength will be filled.
5916 */
5917 static int process_hex_or_bin_string( char *text, int len, int base )
5918 {
5919 char c;
5920 int i,left;
5921 unsigned char *dest,sum;
5922
5923 BEGIN other;
5924 SET_NEXTSTART();
5925
5926 text++;
5927 len -= 3;
5928
5929 /*
5930 * First, count the number of valid chars to determine the missed leading
5931 * zeros of the first final character.
5932 */
5933 for ( i = 0, left = 0 ; i < len; i++ )
5934 {
5935 c = text[i];
5936 if ( !MY_ISBLANK( c ) )
5937 left++;
5938 }
5939
5940 /*
5941 * left shall be the count of input char left to process one dest char.
5942 * Accessing one character after the content's end is allowed.
5943 */
5944 left %= ( base == 2 ) ? 8 : 2;
5945
5946 dest = (unsigned char *) retvalue;
5947 retlength = 0;
5948
5949 sum = 0;
5950 c = *text;
5951 for (;;)
5952 {
5953 while ( len && MY_ISBLANK( c ) )
5954 {
5955 c = *++text;
5956 len--;
5957 }
5958 if ( len == 0 )
5959 break;
5960
5961 if ( base == 2 )
5962 {
5963 if ( left == 0 )
5964 left = 8;
5965 sum <<= 1;
5966 sum |= (unsigned char) ( c - '0' );
5967 }
5968 else
5969 {
5970 if ( left == 0 )
5971 left = 2;
5972 sum <<= 4;
5973 sum |= HEXVAL( c );
5974 }
5975 c = *++text;
5976 len--;
5977
5978 if ( --left == 0 )
5979 {
5980 dest[retlength++] = sum;
5981 sum = 0;
5982 }
5983 }
5984 dest[retlength] = '\0';
5985
5986 /* We must check if a '(' follows. Remember the number of eaten chars. */
5987 left = 1;
5988 #ifdef __cplusplus
5989 for (; ( i = yyinput() ) == '`';)
5990 #else
5991 for (; ( i = input() ) == '`';)
5992 #endif
5993 left++;
5994 if (i != '(')
5995 {
5996 left--;
5997 unput(i);
5998 }
5999 /* input() has destroyed the yytext-terminator re-set it */
6000 text[len] = '\0';
6001 SET_NEXTSTART();
6002 nextstart += left;
6003
6004 if (i == '(')
6005 {
6006 kill_next_space = 1;
6007 if (insert_abuttal)
6008 {
6009 inhibit_delayed_abuttal = 1;
6010 delayed_symbol = INFUNCNAME;
6011 return CONCATENATE;
6012 }
6013 expression_ended = 0;
6014 return INFUNCNAME;
6015 }
6016
6017 if ( insert_abuttal && !in_parse && !in_call )
6018 {
6019 /* fix bug 456 - the delayed symbol MUST be BINSTRING or HEXSTRING */
6020 delayed_symbol = ( base == 2 ) ? BINSTRING : HEXSTRING;
6021 return CONCATENATE;
6022 }
6023
6024 if ( in_call )
6025 {
6026 in_call = 0;
6027 kill_next_space = 1;
6028 }
6029 else
6030 expression_ended = 1;
6031
6032 return ( base == 2 ) ? BINSTRING : HEXSTRING;
6033 }
6034
6035 /* get_next_line: Lower level input fetcher.
6036 * Reads exactly one line from the input stream (file or string).
6037 * All EOL characters are removed and the result is stored in
6038 * last_source_line. A check for line overflow occurred here.
6039 * A special check is done for CP/M ^Z (DOS and friends use this for
6040 * "backward" compatibility, too).
6041 * line is filled with valid values on success.
6042 * max must reflect size of line and should be at least BUFFERSIZE + 2;
6043 * Returns -1 (no input) or the number of valid chars in line.
6044 */
6045 static int get_next_line( char *line, int max, FILE *stream )
6046 {
6047 lineboxptr newline ;
6048 offsrcline *incore_newline;
6049 int pos = 0;
6050 int c = 0;
6051
6052 if (inEOF) /* You can't use myunputc if EOF is reached! */
6053 return EOF ;
6054
6055 while (pos <= max - 2)
6056 {
6057 /* get next char */
6058 if (bufptr>0)
6059 c = chbuffer[--bufptr] ;
6060 else if (ipretflag)
6061 {
6062 if (interptr>=interptrmax)
6063 c = EOF ;
6064 else
6065 #ifdef ASCII_0_TERMINATES_STRING
6066 if ((c = *interptr++) == '\0')
6067 c = EOF ;
6068 #else
6069 c = *interptr++ ;
6070 #endif
6071 }
6072 else
6073 {
6074 c = getc(stream) ;
6075
6076 if ( parser_data.TSD->HaltRaised )
6077 halt_raised( parser_data.TSD );
6078 }
6079
6080 if ((c=='\r') || (c=='\n') || (c==EOF))
6081 break ;
6082 line[pos++] = (char) (unsigned char) c ;
6083 }
6084
6085 /* first, check for overflow */
6086 if ((c!='\r') && (c!='\n') && (c!=EOF))
6087 {
6088 parser_data.tline = linenr ; /* set tline for exiterror */
6089 exiterror( ERR_TOO_LONG_LINE, 0 ) ;
6090 }
6091
6092 /* We have either a (first) line terminator or EOF */
6093 if (c==EOF)
6094 {
6095 if ((pos==1) && (line[0]=='\x1A')) /* CP/M ^Z EOF? */
6096 pos-- ;
6097 if (pos == 0)
6098 {
6099 inEOF = 1 ;
6100 return EOF ;
6101 }
6102 chbuffer[bufptr++] = EOF; /* push back EOF for reuse */
6103 }
6104 else
6105 {
6106 /* Maybe we have CRLF or LFCR. Check for the pair character. */
6107 char pairChar = (c == '\r') ? '\n' : '\r';
6108
6109
6110 /* get one more char and consume it if it is the pair of the EOL */
6111 if (bufptr > 0)
6112 {
6113 if (chbuffer[bufptr - 1] == (int) pairChar)
6114 bufptr--;
6115 }
6116 else if (ipretflag)
6117 {
6118 if ((interptr < interptrmax) && (*interptr == pairChar))
6119 interptr++;
6120 }
6121 else
6122 {
6123 int next = getc(stream);
6124 if (next != pairChar)
6125 {
6126 /* ungetc may break some runtime stuff. Use the internal lookahead*/
6127 chbuffer[bufptr++] = next;
6128 }
6129 if ( parser_data.TSD->HaltRaised )
6130 halt_raised( parser_data.TSD );
6131 }
6132 }
6133
6134
6135 cch = 0 ; /* not needed ? */
6136 line[pos++] = '\n';
6137
6138 if (parser_data.incore_source)
6139 {
6140 /*
6141 * We can use the incore string to describe a source line, but we
6142 * MUST incement linenr otherwise .LINE doesn't work in instore macros.
6143 * This will probably also allow errors to be reported for the correct line number.
6144 */
6145 linenr++;
6146 incore_newline = FreshLine() ;
6147 incore_newline->length = pos - 1 ;
6148 incore_newline->offset = last_interptr - parser_data.incore_source ;
6149 last_interptr = interptr;
6150 return pos ;
6151 }
6152
6153 newline = (lineboxptr)Malloc(sizeof(linebox)) ;
6154 newline->line = Str_make_TSD( parser_data.TSD, pos - 1 ) ;
6155 newline->line->len = pos - 1 ;
6156 memcpy(newline->line->value, line, pos - 1 ) ;
6157 newline->prev = parser_data.last_source_line ;
6158 newline->next = NULL ;
6159 newline->lineno = linenr++ ;
6160
6161 if (parser_data.first_source_line==NULL)
6162 parser_data.first_source_line = newline ;
6163 else
6164 parser_data.last_source_line->next = newline ;
6165 parser_data.last_source_line = newline ;
6166
6167 return pos ;
6168 }
6169
6170 /* fill_buffer: Higher level input fetcher.
6171 * (To allow the C-file to compile, all Rexx comments in this comment
6172 * are written as "{*" "*}" instead of the normal, C-like manner.)
6173 * Reads lines from the input stream (yyin or string) with get_next_line.
6174 * Only one line is returned to allow the saving of the line number.
6175 * This routine replaces all comments by '`' signs. This allows
6176 * the detection of a "pseudo" blank: The fragment "say x{* *}y" uses two
6177 * variables, not one called "xy". The parsing of comments must be done
6178 * here to check for the actual numbers of open and closes ("{*" and "*}").
6179 * While doing this we must always check for strings since "'{*'" is not part
6180 * of a comment.
6181 * Here is a problem: Is this a nested valid comment: "{* '{*' *} *}"?
6182 * I think so although you cannot remove the outer comment signs without an
6183 * error. Everything within a comment is a comment (per def.). Counting
6184 * opens and closes of comment signs is an ugly trick to help the user.
6185 * He/she must know what he/she is doing if nesting comments!
6186 *
6187 * max_size gives the maximum size of buf. This is filled up with input.
6188 * We never return less than one character until EOF is reached. Thus, we
6189 * read more than one true input line if a comment spans over more than one
6190 * line.
6191 * A line will either be terminated by a single '\n' or by a blank. The
6192 * later one replaces a line continuation (',' [spaces] EOL).
6193 * Errors in this low
6194 *
6195 * Conclusion: We have to fight very hard to set the expected line number.
6196 * * Comments spanning over lines set them on getting the
6197 * "follow" lines.
6198 * * Concatenated lines set
6199 */
6200 static int fill_buffer( char *buf, int max_size )
6201 {
6202 /* statics protected by regina_parser */
6203 static char line[BUFFERSIZE+2] ; /* special buffer to allow max_size */
6204 static int pos = 0, max = 0 ; /* being smaller than BUFFERSIZE+1 */
6205 static int nesting = 0; /* nesting level of comments */
6206 int nesting_start_line = 0; /* start line of comment for errortext() */
6207 char *dest, c;
6208 int i, squote, dquote;
6209 int line_comment;
6210
6211 if (firstln == 0)
6212 {
6213 firstln = 1;
6214 contline = 0;
6215 nesting = 0;
6216 pos = 0;
6217 max = get_next_line( line, sizeof(line), yyin ) ;
6218 if (max < 0) /* empty input file */
6219 return 0 ;
6220 /* test for both #! - fixes bug 1230639 */
6221 if ( max > 1
6222 && line[0] == '#'
6223 && line[1] == '!' )
6224 { /* Ignore first line beginning this way for unix compat */
6225 max = 5;
6226 memcpy( line, "/**/\n", 5 );
6227 }
6228 }
6229 else if (pos < max) /* Are there still characters to transmit? */
6230 {
6231 /* Buffer already checked for correctness */
6232 if (max_size > max - pos)
6233 max_size = max - pos;
6234 memcpy(buf, line + pos, max_size);
6235 pos += max_size;
6236 return(max_size);
6237 }
6238 else /* Need next line */
6239 {
6240 if (contline && !nesting)
6241 {
6242 extnextline = ++nextline ;
6243 extnextstart = 1 ;
6244 contline = 0;
6245 }
6246 pos = 0;
6247 max = get_next_line( line, sizeof(line), yyin ) ;
6248 if (max < 0) /* empty input file */
6249 {
6250 if (nesting)
6251 {
6252 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6253 exiterror( ERR_UNMATCHED_QUOTE, 1 ) ;
6254 }
6255 return 0 ;
6256 }
6257 }
6258
6259 /* A new line is available, check first for an ending comment */
6260 dest = line; /* we change comments in line */
6261 if (nesting) /* This may lead to more line reading */
6262 {
6263 /*
6264 * The first time extnextline is non-zero, we have the comment
6265 * starting sequence line. This is saved for use if no matching
6266 * ending comment sequence is found, so that the error message
6267 * reflects the start of the comment.
6268 * Regina feature request: #508788
6269 */
6270 if ( extnextline < 0 )
6271 nesting_start_line = nextline+1;
6272 extnextline = ++nextline ;
6273 extnextstart = 1; /* See Reference (*) below */
6274 repeated_nesting:
6275 while (pos < max)
6276 {
6277 c = line[pos];
6278 if (c == '*') /* start of comment end? */
6279 {
6280 if (line[pos+1] == '/')
6281 { /* pos+1 always exists, at least '\n' or '\0' */
6282 if (--nesting == 0)
6283 {
6284 pos += 2;
6285 *dest++ = '`';
6286 *dest++ = '`';
6287 break;
6288 }
6289 *dest++ = '`';
6290 pos++;
6291 }
6292 }
6293 else if (c == '/') /* start of new begin? */
6294 {
6295 if (line[pos+1] == '*')
6296 {
6297 nesting++;
6298 *dest++ = '`';
6299 pos++;
6300 }
6301 }
6302 *dest++ = '`';
6303 pos++;
6304 }
6305 if (pos >= max)
6306 {
6307 pos = 0;
6308 max = get_next_line( line, sizeof(line), yyin ) ;
6309 if (max < 0) /* empty input file */
6310 {
6311 if ( nesting_start_line )
6312 parser_data.tline = nesting_start_line ; /* set tline for exiterror */
6313 else
6314 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6315 exiterror( ERR_UNMATCHED_QUOTE, 1 ) ;
6316 return 0 ;
6317 }
6318 /* This is a comment continuation. If the lexer will return
6319 * something it already has a valid tline/tstart pair.
6320 * The lexer will return the current token and on the NEXT
6321 * call it expects a valid nextline/nextstart pair.
6322 */
6323 extnextline = ++nextline; extnextstart = 1;
6324 dest = line; /* we change comments in line */
6325 goto repeated_nesting;
6326 }
6327 extnextstart = pos + 1;
6328 if (contline)
6329 { /* Exception! Have a look at: "x='y',{*\n\n*}\n'z'". This should
6330 * result in "x = 'y' 'z'".
6331 * We must parse until EOL and check for whitespaces and comments...
6332 */
6333 while (pos < max)
6334 {
6335 c = line[pos];
6336 if (!rx_isspace(c))
6337 {
6338 if (c == '/')
6339 {
6340 if (line[pos+1] == '*')
6341 {
6342 pos += 2;
6343 nesting++;
6344 goto repeated_nesting;
6345 }
6346 }
6347 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6348 exiterror( ERR_YACC_SYNTAX, 1, parser_data.tline ) ; /* standard error */
6349 }
6350 pos++;
6351 }
6352 /* All done, it was a continuation line. */
6353 /* contline will be resetted by: */
6354 return fill_buffer( buf, max_size ) ;
6355 }
6356 }
6357 /* We have something to play with. Run through the input and check for
6358 * strings including comments.
6359 */
6360 squote = dquote = 0;
6361 line_comment = 0;
6362 while (pos < max)
6363 {
6364 /* We use selective loops to reduce comparisons */
6365 if (nesting)
6366 do
6367 {
6368 c = line[pos];
6369 if (c == '*') /* start of comment end? */
6370 {
6371 if (line[pos+1] == '/')
6372 { /* pos+1 always exists, at least '\n' or '\0' */
6373 if (--nesting == 0)
6374 {
6375 pos += 2;
6376 *dest++ = '`';
6377 *dest++ = '`';
6378 break;
6379 }
6380 pos++;
6381 }
6382 }
6383 else if (c == '/') /* start of new begin? */
6384 {
6385 if (line[pos+1] == '*')
6386 {
6387 nesting++;
6388 pos++;
6389 *dest++ = '`';
6390 }
6391 }
6392 pos++;
6393 *dest++ = '`';
6394 } while (pos < max);
6395 else if (squote)
6396 {
6397 while ((c = line[pos]) != '\'')
6398 {
6399 *dest++ = c;
6400 if (++pos >= max)
6401 {
6402 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6403 exiterror( ERR_UNMATCHED_QUOTE, 2 ) ;
6404 }
6405 }
6406 *dest++ = '\'';
6407 pos++;
6408 squote = 0;
6409 }
6410 else if (dquote)
6411 {
6412 while ((c = line[pos]) != '\"')
6413 {
6414 *dest++ = c;
6415 if (++pos >= max)
6416 {
6417 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6418 exiterror( ERR_UNMATCHED_QUOTE, 3 ) ;
6419 }
6420 }
6421 *dest++ = '\"';
6422 pos++;
6423 dquote = 0;
6424 }
6425 else if (line_comment)
6426 {
6427 while ((c = line[pos]) >= ' ') /* not at end of line yet */
6428 {
6429 *dest++ = '`';
6430 if (++pos >= max)
6431 {
6432 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6433 exiterror( ERR_UNMATCHED_QUOTE, 3 ) ;
6434 }
6435 }
6436 *dest++ = c; /* line terminator */
6437 pos++;
6438 line_comment = 0;
6439 }
6440 else
6441 while (pos < max)
6442 switch (c = line[pos])
6443 {
6444 case '\'':
6445 *dest++ = c ;
6446 squote = 1 ;
6447 pos++ ;
6448 goto outer_loop;
6449
6450 case '\"':
6451 *dest++ = c ;
6452 dquote = 1 ;
6453 pos++ ;
6454 goto outer_loop;
6455
6456 case '/':
6457 if (line[pos + 1] == '*')
6458 {
6459 *dest++ = '`' ;
6460 *dest++ = '`' ;
6461 pos += 2 ;
6462 nesting++ ;
6463 goto outer_loop;
6464 }
6465 else
6466 {
6467 *dest++ = c;
6468 pos++ ;
6469 }
6470 break ;
6471
6472 case '-': /* line "--" comments */
6473 if ( line[pos + 1] == '-'
6474 && get_options_flag( parser_data.TSD->currlevel, EXT_SINGLE_LINE_COMMENTS )
6475 && !get_options_flag( parser_data.TSD->currlevel, EXT_STRICT_ANSI ) )
6476 {
6477 *dest++ = '`' ;
6478 *dest++ = '`' ;
6479 pos += 2 ;
6480 line_comment = 1 ;
6481 goto outer_loop;
6482 }
6483 else
6484 {
6485 *dest++ = c;
6486 pos++ ;
6487 }
6488 break ;
6489
6490 case '`':
6491 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6492 exiterror( ERR_INVALID_CHAR, 1, c, c ) ;
6493
6494 default:
6495 *dest++ = c;
6496 pos++ ;
6497 }
6498 outer_loop:
6499 ;
6500 }
6501
6502 max = (int) (dest - line);
6503
6504 /* Now we can replace a ',' [spaces|comments] '\n' with the line
6505 * continuation, but check for nesting first
6506 */
6507 if (nesting)
6508 { /* Don't leave ANY spaces at EOL. That would confuse the lexer. */
6509 i = max - 1;
6510 while ((i >= 0) && rx_isspace(line[i]))
6511 i--;
6512 max = i + 1;
6513 /* Of course, there is one exception: line continuation */
6514 while ((i >= 0) && (line[i] == '`'))
6515 i-- ;
6516 if ((i >= 0) && (line[i] == ','))
6517 {
6518 contline = 1;
6519 line[i] = ' ';
6520 max = i + 1;
6521 }
6522 /* (Reference (*) )
6523 * At this point the lexer can't determine the nextline since we eat up
6524 * the \n. This leads to an incorrect count. But either the '`'-signs
6525 * are ignored or they are follows of a "token", a valid word.
6526 * Look at "say x;say y ``". This will cause the lexer to
6527 * return at least 4 tokens (SAY "x" ";" SAY) before "y" will be
6528 * returned. We can only set nextline/nextstart at "y".
6529 * Result: We set this pair at the start of the next call to
6530 * fill_buffer such that the next call to yylex will set the correct
6531 * values.
6532 */
6533 }
6534 else
6535 {
6536 i = max - 1; /* on last valid char */
6537 while (i >= 0)
6538 {
6539 if (!MY_ISBLANK(line[i]) && (line[i] != '\n'))
6540 break;
6541 i--;
6542 }
6543 /* i now -1 or on last nonblank */
6544 if ((i >= 0) && (line[i] == ','))
6545 { /* FIXME: What shall be do with "," followed by EOF? */
6546 max = i + 1;
6547 line[i] = ' ';
6548 contline = 1;
6549 }
6550 }
6551
6552 if (max_size > max)
6553 max_size = max;
6554 memcpy(buf, line, max_size);
6555 pos = max_size;
6556 return(max_size);
6557 }
6558
6559
6560 /* yywrap MAY be called by the lexer is EOF encounters, see (f)lex docu */
6561 int yywrap( void )
6562 {
6563 assert( do_level>= 0 ) ;
6564 if (do_level>0)
6565 {
6566 parser_data.tline = linenr - 1 ; /* set tline for exiterror */
6567 exiterror( ERR_INCOMPLETE_STRUCT, 0 ) ;
6568 }
6569 return 1 ;
6570 }
6571
6572 /******************************************************************************
6573 ******************************************************************************
6574 * global interface ***********************************************************
6575 ******************************************************************************
6576 *****************************************************************************/
6577
6578 /* initalize all local and global values */
6579 static void init_it_all( tsd_t *TSD )
6580 {
6581 #if defined(FLEX_SCANNER) && defined(FLEX_DEBUG)
6582 if (__reginadebug)
6583 yy_flex_debug = 1;
6584 else
6585 yy_flex_debug = 0;
6586 #endif
6587 inEOF = 0 ;
6588 in_numform = 0 ;
6589 next_numform = 0 ;
6590 expression_ended = 0 ;
6591 insert_abuttal = 0 ;
6592 obs_with = 0 ;
6593 in_do = 0 ;
6594 in_then = 0 ;
6595 inhibit_delayed_abuttal = 0 ;
6596 firstln = 0 ;
6597 in_parse = 0 ;
6598 in_trace = 0 ;
6599 itflag = 0 ;
6600 in_signal = 0 ;
6601 in_call = 0 ;
6602 in_address = not_in_address ;
6603 seek_with = no_seek_with ;
6604 kill_this_space = 0 ;
6605 ipretflag = 0 ;
6606 do_level = 0 ;
6607 singlequote = 0 ;
6608 doblequote = 0 ;
6609 cch = 0 ;
6610 bufptr = 0 ;
6611 cchmax = 0 ;
6612 ch = '\0',
6613 delayed_symbol = 0,
6614 contline = 0;
6615 extnextstart = 0;
6616 interptr = NULL ;
6617 interptrmax = NULL ;
6618 /* non-zero values */
6619 linenr = 1 ;
6620 nextline = 1;
6621 nextstart = 1;
6622 kill_next_space = 1 ;
6623 extnextline = -1 ;
6624 SymbolDetect = 0;
6625
6626 memset(&parser_data, 0, sizeof(internal_parser_type));
6627 parser_data.TSD = TSD;
6628 }
6629
6630 /* fetch may only be called by fetch_protected. The parser and lexer are
6631 * already protected by regina_parser by fetch_protected.
6632 * This function prepares the lexer and parser and call them. The
6633 * result and all generated values are stored in result. The parser
6634 * tree isn't executed here.
6635 * Exactly fptr xor str must be non-null.
6636 */
6637 static void fetch(tsd_t *TSD, FILE *fptr, const streng *str,
6638 internal_parser_type *result)
6639 {
6640 init_it_all( TSD ) ;
6641
6642 #ifdef FLEX_SCANNER
6643 yy_init = 1 ;
6644 yy_delete_buffer(YY_CURRENT_BUFFER) ;
6645 yyrestart(fptr) ;
6646 #else
6647 yysptr = yysbuf ;
6648 yyin = fptr ;
6649 #endif
6650
6651 if (str != NULL)
6652 {
6653 ipretflag = 1 ;
6654 cchmax = str->len ;
6655 interptr = str->value ;
6656 last_interptr = interptr ;
6657 interptrmax = interptr + cchmax ;
6658 parser_data.incore_source = str->value; /* fixes bug 972796 */
6659 result->incore_source = str->value;
6660 }
6661
6662 BEGIN comm ;
6663 NewProg();
6664 parser_data.result = __reginaparse();
6665
6666 #ifdef FLEX_SCANNER
6667 yy_delete_buffer(YY_CURRENT_BUFFER) ;
6668 #else
6669 yysptr = yysbuf ;
6670 #endif
6671 yyin = NULL ;
6672
6673 *result = parser_data;
6674 /* Some functions assume null values if parsing isn't running: */
6675 memset(&parser_data, 0, sizeof(internal_parser_type));
6676 }
6677
6678 /* This function serializes the parser/lexer requests of the process and
6679 * call fetch which will make the work. Look there.
6680 */
6681 static void fetch_protected( tsd_t * volatile TSD, FILE *fptr,
6682 const streng *str, internal_parser_type *result )
6683 {
6684 volatile int panicked = 0;
6685 tsd_t * volatile saved_TSD;
6686
6687 THREAD_PROTECT( regina_parser )
6688 TSD->in_protected = 1;
6689 memset(&parser_data, 0, sizeof(internal_parser_type));
6690
6691 saved_TSD = TSD; /* vars used until here */
6692 if ( setjmp( TSD->protect_return ) )
6693 {
6694 TSD = saved_TSD; /* prevents bugs like 592393 */
6695 panicked = 1;
6696 }
6697 else
6698 fetch( TSD, fptr, str, result );
6699
6700 TSD->in_protected = 0;
6701 THREAD_UNPROTECT( regina_parser )
6702
6703 if ( !panicked )
6704 return;
6705
6706 /*
6707 * We got a fatal condition while fetching the input.
6708 */
6709 memset(result, 0, sizeof(internal_parser_type));
6710
6711 /*
6712 * FIXME: Currently no time to investigate it, but we have to do
6713 * a cleanup of the node and source lines of parser_data
6714 * here. Test this with
6715 * interpret '"a='
6716 * and with
6717 * interpret 'nop;"a='
6718 */
6719 if ( TSD->delayed_error_type == PROTECTED_DelayedInterpreterExit )
6720 jump_interpreter_exit( TSD, TSD->expected_exit_error );
6721 if ( TSD->delayed_error_type == PROTECTED_DelayedRexxSignal )
6722 jump_rexx_signal( TSD );
6723 jump_script_exit( TSD, TSD->systeminfo->result );
6724 }
6725
6726 /* fetch_file reads in a REXX file from disk (or a pipe). It returns without
6727 * executing the program. The parsed tree with all needed values including
6728 * the result of the parsing is copied to result.
6729 * fptr remains open after this call.
6730 * type is either PARSE_ONLY or PARSE_AND_TIN. In the later case a tinned variant of the
6731 * parsing tree is created, too.
6732 */
6733 void fetch_file(tsd_t *TSD, FILE *fptr, internal_parser_type *result)
6734 {
6735 fetch_protected(TSD, fptr, NULL, result);
6736 }
6737
6738 /* fetch_string reads in a REXX macro from a streng. It returns without
6739 * executing the program. The parsed tree with all needed values including
6740 * the result of the parsing is copied to result.
6741 * type is either PARSE_ONLY or PARSE_AND_TIN. In the later case a tinned variant of the
6742 * parsing tree is created, too.
6743 * The function is typically called by an "INTERPRET" instruction.
6744 */
6745 void fetch_string(tsd_t *TSD, const streng *str, internal_parser_type *result)
6746 {
6747 fetch_protected(TSD, NULL, str, result);
6748 }