cvsimport
[fvwm.git] / modules / FvwmScript / scanner.c
blobcd5ff1424acc700fb3f41d2f703a67e0e6393a54
2 #line 3 "lex.yy.c"
4 #define YY_INT_ALIGNED short int
6 /* A lexical scanner generated by flex */
8 #define FLEX_SCANNER
9 #define YY_FLEX_MAJOR_VERSION 2
10 #define YY_FLEX_MINOR_VERSION 5
11 #define YY_FLEX_SUBMINOR_VERSION 35
12 #if YY_FLEX_SUBMINOR_VERSION > 0
13 #define FLEX_BETA
14 #endif
16 /* First, we deal with platform-specific or compiler-specific issues. */
18 /* begin standard C headers. */
19 #include <stdio.h>
20 #include <string.h>
21 #include <errno.h>
22 #include <stdlib.h>
24 /* end standard C headers. */
26 /* flex integer type definitions */
28 #ifndef FLEXINT_H
29 #define FLEXINT_H
31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
33 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
35 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
36 * if you want the limit (max/min) macros for int types.
38 #ifndef __STDC_LIMIT_MACROS
39 #define __STDC_LIMIT_MACROS 1
40 #endif
42 #include <inttypes.h>
43 typedef int8_t flex_int8_t;
44 typedef uint8_t flex_uint8_t;
45 typedef int16_t flex_int16_t;
46 typedef uint16_t flex_uint16_t;
47 typedef int32_t flex_int32_t;
48 typedef uint32_t flex_uint32_t;
49 #else
50 typedef signed char flex_int8_t;
51 typedef short int flex_int16_t;
52 typedef int flex_int32_t;
53 typedef unsigned char flex_uint8_t;
54 typedef unsigned short int flex_uint16_t;
55 typedef unsigned int flex_uint32_t;
57 /* Limits of integral types. */
58 #ifndef INT8_MIN
59 #define INT8_MIN (-128)
60 #endif
61 #ifndef INT16_MIN
62 #define INT16_MIN (-32767-1)
63 #endif
64 #ifndef INT32_MIN
65 #define INT32_MIN (-2147483647-1)
66 #endif
67 #ifndef INT8_MAX
68 #define INT8_MAX (127)
69 #endif
70 #ifndef INT16_MAX
71 #define INT16_MAX (32767)
72 #endif
73 #ifndef INT32_MAX
74 #define INT32_MAX (2147483647)
75 #endif
76 #ifndef UINT8_MAX
77 #define UINT8_MAX (255U)
78 #endif
79 #ifndef UINT16_MAX
80 #define UINT16_MAX (65535U)
81 #endif
82 #ifndef UINT32_MAX
83 #define UINT32_MAX (4294967295U)
84 #endif
86 #endif /* ! C99 */
88 #endif /* ! FLEXINT_H */
90 #ifdef __cplusplus
92 /* The "const" storage-class-modifier is valid. */
93 #define YY_USE_CONST
95 #else /* ! __cplusplus */
97 /* C99 requires __STDC__ to be defined as 1. */
98 #if defined (__STDC__)
100 #define YY_USE_CONST
102 #endif /* defined (__STDC__) */
103 #endif /* ! __cplusplus */
105 #ifdef YY_USE_CONST
106 #define yyconst const
107 #else
108 #define yyconst
109 #endif
111 /* Returned upon end-of-file. */
112 #define YY_NULL 0
114 /* Promotes a possibly negative, possibly signed char to an unsigned
115 * integer for use as an array index. If the signed char is negative,
116 * we want to instead treat it as an 8-bit unsigned char, hence the
117 * double cast.
119 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
121 /* Enter a start condition. This macro really ought to take a parameter,
122 * but we do it the disgusting crufty way forced on us by the ()-less
123 * definition of BEGIN.
125 #define BEGIN (yy_start) = 1 + 2 *
127 /* Translate the current start state into a value that can be later handed
128 * to BEGIN to return to the state. The YYSTATE alias is for lex
129 * compatibility.
131 #define YY_START (((yy_start) - 1) / 2)
132 #define YYSTATE YY_START
134 /* Action number for EOF rule of a given start state. */
135 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
137 /* Special action meaning "start processing a new file". */
138 #define YY_NEW_FILE yyrestart(yyin )
140 #define YY_END_OF_BUFFER_CHAR 0
142 /* Size of default input buffer. */
143 #ifndef YY_BUF_SIZE
144 #ifdef __ia64__
145 /* On IA-64, the buffer size is 16k, not 8k.
146 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
147 * Ditto for the __ia64__ case accordingly.
149 #define YY_BUF_SIZE 32768
150 #else
151 #define YY_BUF_SIZE 16384
152 #endif /* __ia64__ */
153 #endif
155 /* The state buf must be large enough to hold one state per character in the main buffer.
157 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
159 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
160 #define YY_TYPEDEF_YY_BUFFER_STATE
161 typedef struct yy_buffer_state *YY_BUFFER_STATE;
162 #endif
164 extern int yyleng;
166 extern FILE *yyin, *yyout;
168 #define EOB_ACT_CONTINUE_SCAN 0
169 #define EOB_ACT_END_OF_FILE 1
170 #define EOB_ACT_LAST_MATCH 2
172 #define YY_LESS_LINENO(n)
174 /* Return all but the first "n" matched characters back to the input stream. */
175 #define yyless(n) \
176 do \
178 /* Undo effects of setting up yytext. */ \
179 int yyless_macro_arg = (n); \
180 YY_LESS_LINENO(yyless_macro_arg);\
181 *yy_cp = (yy_hold_char); \
182 YY_RESTORE_YY_MORE_OFFSET \
183 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
184 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
186 while ( 0 )
188 #define unput(c) yyunput( c, (yytext_ptr) )
190 #ifndef YY_TYPEDEF_YY_SIZE_T
191 #define YY_TYPEDEF_YY_SIZE_T
192 typedef size_t yy_size_t;
193 #endif
195 #ifndef YY_STRUCT_YY_BUFFER_STATE
196 #define YY_STRUCT_YY_BUFFER_STATE
197 struct yy_buffer_state
199 FILE *yy_input_file;
201 char *yy_ch_buf; /* input buffer */
202 char *yy_buf_pos; /* current position in input buffer */
204 /* Size of input buffer in bytes, not including room for EOB
205 * characters.
207 yy_size_t yy_buf_size;
209 /* Number of characters read into yy_ch_buf, not including EOB
210 * characters.
212 int yy_n_chars;
214 /* Whether we "own" the buffer - i.e., we know we created it,
215 * and can realloc() it to grow it, and should free() it to
216 * delete it.
218 int yy_is_our_buffer;
220 /* Whether this is an "interactive" input source; if so, and
221 * if we're using stdio for input, then we want to use getc()
222 * instead of fread(), to make sure we stop fetching input after
223 * each newline.
225 int yy_is_interactive;
227 /* Whether we're considered to be at the beginning of a line.
228 * If so, '^' rules will be active on the next match, otherwise
229 * not.
231 int yy_at_bol;
233 int yy_bs_lineno; /**< The line count. */
234 int yy_bs_column; /**< The column count. */
236 /* Whether to try to fill the input buffer when we reach the
237 * end of it.
239 int yy_fill_buffer;
241 int yy_buffer_status;
243 #define YY_BUFFER_NEW 0
244 #define YY_BUFFER_NORMAL 1
245 /* When an EOF's been seen but there's still some text to process
246 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
247 * shouldn't try reading from the input source any more. We might
248 * still have a bunch of tokens to match, though, because of
249 * possible backing-up.
251 * When we actually see the EOF, we change the status to "new"
252 * (via yyrestart()), so that the user can continue scanning by
253 * just pointing yyin at a new input file.
255 #define YY_BUFFER_EOF_PENDING 2
258 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
260 /* Stack of input buffers. */
261 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
262 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
263 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
265 /* We provide macros for accessing buffer states in case in the
266 * future we want to put the buffer states in a more general
267 * "scanner state".
269 * Returns the top of the stack, or NULL.
271 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
272 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
273 : NULL)
275 /* Same as previous macro, but useful when we know that the buffer stack is not
276 * NULL or when we need an lvalue. For internal use only.
278 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
280 /* yy_hold_char holds the character lost when yytext is formed. */
281 static char yy_hold_char;
282 static int yy_n_chars; /* number of characters read into yy_ch_buf */
283 int yyleng;
285 /* Points to current character in buffer. */
286 static char *yy_c_buf_p = (char *) 0;
287 static int yy_init = 0; /* whether we need to initialize */
288 static int yy_start = 0; /* start state number */
290 /* Flag which is used to allow yywrap()'s to do buffer switches
291 * instead of setting up a fresh yyin. A bit of a hack ...
293 static int yy_did_buffer_switch_on_eof;
295 void yyrestart (FILE *input_file );
296 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
297 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
298 void yy_delete_buffer (YY_BUFFER_STATE b );
299 void yy_flush_buffer (YY_BUFFER_STATE b );
300 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
301 void yypop_buffer_state (void );
303 static void yyensure_buffer_stack (void );
304 static void yy_load_buffer_state (void );
305 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
307 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
309 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
310 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
311 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
313 void *yyalloc (yy_size_t );
314 void *yyrealloc (void *,yy_size_t );
315 void yyfree (void * );
317 #define yy_new_buffer yy_create_buffer
319 #define yy_set_interactive(is_interactive) \
321 if ( ! YY_CURRENT_BUFFER ){ \
322 yyensure_buffer_stack (); \
323 YY_CURRENT_BUFFER_LVALUE = \
324 yy_create_buffer(yyin,YY_BUF_SIZE ); \
326 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
329 #define yy_set_bol(at_bol) \
331 if ( ! YY_CURRENT_BUFFER ){\
332 yyensure_buffer_stack (); \
333 YY_CURRENT_BUFFER_LVALUE = \
334 yy_create_buffer(yyin,YY_BUF_SIZE ); \
336 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
339 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
341 typedef unsigned char YY_CHAR;
343 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
345 typedef int yy_state_type;
347 extern int yylineno;
349 int yylineno = 1;
351 extern char *yytext;
352 #define yytext_ptr yytext
354 static yy_state_type yy_get_previous_state (void );
355 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
356 static int yy_get_next_buffer (void );
357 static void yy_fatal_error (yyconst char msg[] );
359 /* Done after the current pattern has been matched and before the
360 * corresponding action - sets up yytext.
362 #define YY_DO_BEFORE_ACTION \
363 (yytext_ptr) = yy_bp; \
364 yyleng = (size_t) (yy_cp - yy_bp); \
365 (yy_hold_char) = *yy_cp; \
366 *yy_cp = '\0'; \
367 (yy_c_buf_p) = yy_cp;
369 #define YY_NUM_RULES 114
370 #define YY_END_OF_BUFFER 115
371 /* This struct is not used in this scanner,
372 but its presence is necessary. */
373 struct yy_trans_info
375 flex_int32_t yy_verify;
376 flex_int32_t yy_nxt;
378 static yyconst flex_int16_t yy_accept[1059] =
379 { 0,
380 1, 1, 115, 112, 1, 113, 2, 112, 107, 108,
381 109, 109, 106, 96, 102, 99, 112, 112, 112, 112,
382 112, 112, 112, 112, 112, 112, 112, 112, 112, 114,
383 114, 1, 112, 112, 112, 112, 112, 112, 112, 112,
384 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
385 1, 2, 2, 110, 110, 109, 97, 100, 101, 98,
386 112, 112, 112, 92, 112, 112, 112, 112, 112, 112,
387 112, 112, 112, 112, 112, 112, 112, 112, 112, 91,
388 0, 111, 1, 0, 0, 0, 0, 0, 0, 0,
389 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
391 112, 112, 112, 112, 112, 37, 112, 112, 112, 112,
392 112, 93, 112, 112, 112, 112, 112, 112, 112, 112,
393 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
394 112, 112, 112, 54, 112, 56, 112, 112, 112, 112,
395 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
396 112, 112, 112, 112, 0, 0, 0, 0, 0, 37,
397 0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
398 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
399 0, 0, 0, 0, 0, 0, 0, 112, 112, 112,
400 112, 112, 112, 18, 112, 112, 84, 112, 112, 112,
402 112, 90, 112, 112, 112, 112, 112, 112, 112, 112,
403 112, 78, 112, 112, 112, 112, 112, 112, 112, 112,
404 112, 112, 112, 112, 112, 112, 112, 95, 112, 112,
405 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
406 112, 112, 35, 55, 112, 112, 112, 112, 112, 112,
407 112, 112, 112, 94, 0, 0, 0, 0, 0, 0,
408 18, 0, 0, 84, 0, 0, 0, 0, 90, 0,
409 0, 0, 0, 0, 0, 0, 0, 0, 78, 0,
410 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
411 0, 0, 0, 112, 112, 112, 112, 112, 112, 112,
413 19, 112, 112, 112, 29, 81, 112, 17, 112, 112,
414 112, 112, 112, 80, 112, 112, 112, 112, 21, 112,
415 112, 20, 112, 112, 112, 112, 112, 112, 112, 112,
416 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
417 112, 112, 112, 112, 112, 112, 112, 112, 112, 66,
418 112, 112, 36, 112, 112, 0, 0, 0, 0, 0,
419 0, 0, 19, 0, 0, 0, 29, 81, 0, 17,
420 0, 0, 0, 0, 0, 80, 0, 0, 0, 0,
421 21, 0, 0, 20, 0, 0, 0, 0, 0, 0,
422 0, 112, 105, 0, 112, 112, 112, 30, 19, 19,
424 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
425 112, 112, 112, 112, 112, 112, 26, 112, 23, 112,
426 103, 112, 112, 112, 34, 112, 112, 112, 112, 112,
427 112, 64, 112, 112, 112, 112, 112, 112, 112, 31,
428 112, 112, 112, 112, 112, 112, 112, 112, 112, 0,
429 105, 0, 0, 0, 30, 0, 0, 0, 0, 0,
430 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
431 0, 26, 0, 23, 0, 103, 0, 0, 0, 112,
432 0, 112, 112, 112, 112, 112, 112, 112, 112, 112,
433 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
435 112, 112, 15, 112, 112, 48, 47, 112, 112, 112,
436 112, 112, 112, 62, 112, 112, 68, 112, 112, 112,
437 32, 112, 112, 112, 112, 112, 57, 0, 0, 0,
438 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
439 0, 0, 0, 0, 0, 0, 0, 0, 0, 15,
440 0, 0, 112, 0, 112, 112, 112, 112, 112, 112,
441 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
442 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
443 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
444 112, 112, 112, 112, 112, 112, 43, 44, 53, 112,
446 112, 112, 52, 112, 112, 112, 0, 0, 0, 0,
447 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
448 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
449 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
450 0, 0, 0, 112, 0, 112, 112, 112, 112, 112,
451 112, 112, 112, 112, 112, 112, 112, 14, 112, 112,
452 112, 112, 112, 25, 24, 112, 22, 16, 83, 112,
453 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
454 112, 112, 112, 112, 112, 51, 112, 50, 112, 112,
455 112, 112, 112, 112, 0, 0, 0, 0, 0, 0,
457 0, 0, 0, 0, 0, 0, 0, 14, 0, 0,
458 0, 0, 0, 25, 24, 0, 22, 16, 83, 0,
459 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
460 0, 0, 11, 0, 112, 112, 112, 112, 112, 112,
461 112, 112, 112, 112, 112, 112, 112, 112, 10, 112,
462 112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
463 112, 112, 112, 112, 112, 112, 49, 112, 112, 112,
464 112, 67, 112, 112, 112, 112, 112, 11, 0, 0,
465 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
466 0, 0, 10, 0, 0, 0, 0, 0, 0, 0,
468 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
469 0, 112, 112, 74, 112, 73, 112, 112, 112, 112,
470 70, 112, 112, 112, 89, 38, 112, 112, 112, 79,
471 112, 112, 39, 88, 112, 3, 112, 112, 112, 8,
472 112, 112, 46, 45, 112, 112, 112, 112, 112, 112,
473 112, 0, 0, 74, 0, 73, 0, 0, 0, 0,
474 70, 0, 0, 0, 89, 38, 0, 0, 0, 79,
475 0, 0, 39, 88, 0, 3, 0, 0, 0, 8,
476 0, 0, 0, 112, 112, 112, 112, 112, 112, 112,
477 71, 40, 112, 112, 27, 112, 112, 12, 28, 85,
479 112, 112, 4, 86, 112, 112, 58, 112, 112, 112,
480 112, 0, 0, 0, 0, 0, 0, 0, 71, 40,
481 0, 0, 27, 0, 0, 12, 28, 85, 0, 0,
482 4, 86, 0, 112, 112, 112, 112, 112, 112, 112,
483 112, 13, 112, 87, 112, 112, 112, 112, 112, 112,
484 112, 65, 0, 0, 0, 0, 0, 0, 0, 0,
485 13, 0, 87, 0, 0, 0, 112, 112, 112, 112,
486 112, 112, 112, 112, 82, 112, 112, 112, 112, 33,
487 112, 61, 0, 0, 0, 0, 0, 0, 0, 0,
488 82, 0, 0, 0, 112, 77, 112, 112, 41, 42,
490 69, 112, 112, 9, 112, 59, 112, 0, 77, 0,
491 0, 41, 42, 69, 0, 0, 9, 104, 76, 75,
492 112, 112, 112, 112, 60, 76, 75, 0, 0, 0,
493 112, 112, 112, 63, 0, 0, 0, 72, 5, 7,
494 72, 5, 7, 112, 0, 112, 0, 112, 0, 112,
495 0, 112, 0, 112, 0, 6, 6, 0
498 static yyconst flex_int32_t yy_ec[256] =
499 { 0,
500 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
501 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
502 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
503 1, 2, 1, 1, 4, 5, 1, 1, 1, 6,
504 7, 1, 8, 1, 8, 1, 1, 9, 9, 9,
505 9, 9, 9, 9, 9, 9, 9, 10, 1, 11,
506 12, 13, 1, 1, 14, 15, 16, 17, 18, 19,
507 20, 21, 22, 1, 23, 24, 25, 26, 27, 28,
508 29, 30, 31, 32, 33, 34, 35, 1, 1, 1,
509 1, 1, 1, 1, 1, 1, 36, 37, 38, 39,
511 40, 41, 42, 43, 44, 1, 45, 46, 47, 48,
512 49, 50, 1, 51, 52, 53, 54, 55, 56, 57,
513 58, 59, 60, 1, 61, 1, 1, 1, 1, 1,
514 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
515 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
516 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
517 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
518 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
519 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
520 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
522 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
523 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
524 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
525 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
526 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
527 1, 1, 1, 1, 1
530 static yyconst flex_int32_t yy_meta[62] =
531 { 0,
532 1, 2, 3, 1, 1, 2, 2, 1, 1, 1,
533 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
534 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
535 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
536 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
537 1, 1, 1, 1, 1, 1, 1, 1, 1, 4,
541 static yyconst flex_int16_t yy_base[1066] =
542 { 0,
543 0, 60, 1155, 0, 1152, 1156, 61, 1148, 1156, 1156,
544 1143, 1142, 0, 52, 1138, 1137, 1109, 1107, 22, 1100,
545 1105, 46, 60, 1090, 48, 1107, 59, 58, 58, 66,
546 1156, 126, 68, 69, 66, 68, 71, 79, 88, 1102,
547 97, 120, 126, 1087, 125, 81, 1088, 1103, 136, 0,
548 1136, 182, 0, 0, 1132, 1127, 1156, 1156, 1156, 1156,
549 1096, 1086, 1078, 0, 1080, 1078, 1073, 1090, 80, 1087,
550 1081, 133, 1079, 1074, 93, 1082, 1075, 1071, 1081, 0,
551 77, 1156, 0, 131, 147, 1071, 1071, 124, 1074, 144,
552 1077, 1067, 155, 157, 1061, 158, 142, 1062, 1077, 167,
554 1074, 1069, 1058, 1073, 1062, 1053, 1067, 1069, 156, 67,
555 1055, 0, 1059, 1044, 1063, 165, 1052, 1048, 1046, 1048,
556 1052, 164, 177, 157, 1059, 1041, 1043, 1052, 1045, 1039,
557 1045, 176, 1044, 0, 1034, 0, 1046, 229, 1053, 1045,
558 1030, 1034, 1028, 1027, 1030, 1038, 1045, 1024, 1035, 1038,
559 1030, 1033, 1055, 1022, 1031, 1026, 1015, 1030, 1019, 1010,
560 1024, 1026, 172, 182, 1012, 1156, 1016, 1001, 1020, 175,
561 1009, 1005, 1003, 1005, 1009, 177, 191, 186, 1016, 998,
562 1000, 1009, 1002, 996, 1002, 190, 1001, 999, 999, 1002,
563 993, 991, 1002, 0, 996, 984, 996, 196, 991, 986,
565 980, 0, 996, 983, 996, 995, 984, 983, 976, 972,
566 985, 0, 984, 966, 979, 980, 973, 972, 977, 996,
567 961, 964, 967, 970, 972, 957, 969, 0, 972, 958,
568 962, 195, 951, 960, 203, 959, 966, 961, 951, 959,
569 967, 959, 0, 0, 958, 949, 945, 953, 948, 947,
570 937, 964, 939, 0, 942, 942, 945, 936, 934, 945,
571 1156, 939, 927, 939, 938, 933, 928, 922, 1156, 938,
572 925, 938, 937, 926, 925, 918, 914, 927, 1156, 926,
573 908, 921, 922, 915, 914, 919, 938, 903, 906, 909,
574 912, 914, 899, 935, 902, 231, 907, 897, 901, 894,
576 262, 929, 909, 901, 0, 0, 896, 0, 905, 904,
577 890, 885, 897, 917, 227, 886, 899, 887, 0, 886,
578 891, 0, 890, 889, 900, 887, 886, 876, 884, 872,
579 884, 870, 874, 862, 870, 864, 877, 864, 878, 200,
580 867, 855, 885, 862, 856, 865, 853, 862, 884, 0,
581 849, 855, 0, 850, 851, 884, 851, 247, 856, 846,
582 850, 843, 0, 878, 858, 850, 1156, 1156, 845, 1156,
583 854, 853, 839, 834, 846, 866, 234, 835, 848, 836,
584 1156, 835, 840, 1156, 839, 838, 849, 836, 835, 825,
585 833, 823, 0, 249, 831, 818, 829, 0, 277, 0,
587 819, 823, 823, 825, 818, 817, 823, 817, 809, 805,
588 814, 808, 800, 811, 814, 804, 0, 799, 0, 802,
589 0, 797, 793, 816, 0, 802, 806, 801, 810, 809,
590 792, 0, 797, 801, 799, 792, 783, 783, 781, 0,
591 783, 802, 780, 791, 790, 810, 789, 785, 768, 776,
592 1156, 784, 771, 782, 1156, 772, 776, 776, 778, 771,
593 770, 776, 770, 762, 758, 767, 761, 753, 764, 767,
594 757, 1156, 752, 1156, 755, 1156, 750, 746, 769, 754,
595 759, 324, 758, 781, 750, 756, 741, 761, 738, 737,
596 746, 740, 735, 739, 744, 754, 768, 744, 766, 725,
598 727, 735, 0, 267, 729, 0, 0, 735, 740, 739,
599 720, 723, 723, 0, 731, 730, 0, 722, 724, 729,
600 0, 725, 708, 713, 723, 748, 0, 715, 345, 720,
601 743, 712, 718, 703, 723, 700, 699, 708, 702, 697,
602 701, 706, 716, 730, 706, 728, 687, 689, 697, 1156,
603 269, 691, 690, 686, 701, 687, 686, 696, 684, 226,
604 683, 687, 686, 693, 684, 674, 680, 676, 682, 707,
605 678, 681, 680, 681, 670, 659, 678, 667, 676, 664,
606 670, 665, 692, 669, 660, 658, 657, 661, 660, 684,
607 659, 655, 654, 646, 645, 641, 0, 0, 0, 648,
609 644, 663, 0, 644, 641, 643, 641, 653, 639, 638,
610 648, 636, 236, 635, 639, 638, 645, 636, 626, 632,
611 628, 634, 659, 630, 633, 632, 633, 622, 611, 630,
612 619, 628, 616, 622, 617, 644, 621, 612, 609, 605,
613 606, 26, 68, 84, 101, 138, 191, 230, 206, 229,
614 219, 229, 233, 227, 239, 248, 254, 0, 259, 253,
615 265, 257, 254, 0, 0, 276, 0, 0, 0, 273,
616 259, 265, 272, 269, 257, 258, 263, 279, 266, 260,
617 267, 277, 271, 271, 272, 0, 313, 0, 286, 285,
618 277, 284, 306, 295, 284, 298, 295, 294, 295, 309,
620 293, 303, 301, 295, 304, 316, 315, 1156, 321, 315,
621 328, 322, 319, 1156, 1156, 342, 1156, 1156, 1156, 339,
622 327, 335, 342, 339, 327, 328, 333, 349, 336, 330,
623 337, 347, 0, 356, 348, 345, 342, 356, 349, 362,
624 365, 366, 357, 362, 357, 350, 366, 368, 0, 354,
625 362, 363, 374, 365, 368, 364, 361, 377, 376, 364,
626 378, 383, 376, 381, 376, 377, 0, 384, 385, 375,
627 391, 0, 378, 378, 399, 390, 412, 1156, 388, 385,
628 382, 396, 389, 402, 405, 406, 397, 402, 397, 390,
629 406, 408, 1156, 394, 402, 403, 414, 405, 408, 404,
631 401, 417, 416, 404, 418, 423, 416, 421, 416, 417,
632 422, 449, 415, 0, 451, 0, 422, 433, 434, 418,
633 0, 432, 433, 425, 0, 0, 426, 436, 425, 0,
634 428, 428, 0, 0, 442, 0, 430, 436, 430, 0,
635 444, 445, 0, 0, 444, 434, 435, 445, 452, 474,
636 452, 477, 443, 1156, 479, 1156, 450, 461, 462, 446,
637 1156, 460, 461, 453, 1156, 1156, 454, 464, 453, 1156,
638 456, 456, 1156, 1156, 470, 1156, 458, 464, 458, 1156,
639 472, 473, 474, 466, 464, 468, 478, 473, 474, 477,
640 0, 0, 466, 472, 0, 479, 472, 0, 0, 0,
642 486, 483, 0, 0, 474, 486, 0, 482, 480, 488,
643 480, 485, 483, 487, 497, 492, 493, 496, 1156, 1156,
644 485, 491, 1156, 498, 491, 1156, 1156, 1156, 505, 502,
645 1156, 1156, 545, 502, 509, 504, 519, 498, 499, 505,
646 523, 0, 504, 0, 525, 509, 512, 520, 519, 518,
647 508, 0, 518, 525, 520, 535, 514, 515, 521, 539,
648 1156, 520, 1156, 541, 525, 526, 527, 524, 529, 535,
649 540, 541, 534, 539, 0, 540, 538, 547, 537, 0,
650 539, 0, 541, 538, 543, 549, 554, 555, 548, 553,
651 1156, 554, 551, 559, 550, 0, 551, 550, 0, 0,
653 0, 551, 552, 0, 558, 0, 554, 557, 1156, 558,
654 557, 1156, 1156, 1156, 558, 559, 1156, 1156, 0, 0,
655 567, 568, 569, 563, 0, 1156, 1156, 571, 572, 573,
656 580, 581, 582, 0, 583, 584, 585, 0, 607, 0,
657 1156, 608, 1156, 577, 578, 581, 582, 585, 586, 620,
658 621, 585, 586, 596, 597, 0, 1156, 1156, 639, 640,
659 642, 644, 647, 651, 655
662 static yyconst flex_int16_t yy_def[1066] =
663 { 0,
664 1058, 1, 1058, 1059, 1058, 1058, 1060, 1061, 1058, 1058,
665 1059, 1059, 1059, 1058, 1058, 1058, 1059, 1059, 1059, 1059,
666 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1062,
667 1058, 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
668 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
669 1058, 1060, 1063, 1061, 1061, 1059, 1058, 1058, 1058, 1058,
670 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
671 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
672 1062, 1058, 32, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
673 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
675 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
676 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
677 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
678 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
679 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
680 1059, 1059, 1059, 1059, 1058, 1058, 1058, 1058, 1058, 1058,
681 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
682 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
683 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1059, 1059, 1059,
684 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
686 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
687 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
688 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
689 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
690 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
691 1059, 1059, 1059, 1059, 1058, 1058, 1058, 1058, 1058, 1058,
692 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
693 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
694 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
695 1058, 1058, 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
697 1064, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
698 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
699 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
700 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
701 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
702 1059, 1059, 1059, 1059, 1059, 1058, 1058, 1058, 1058, 1058,
703 1058, 1058, 1065, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
704 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
705 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
706 1058, 1059, 1059, 1058, 1059, 1059, 1059, 1059, 1064, 1065,
708 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
709 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
710 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
711 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
712 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1058,
713 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
714 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
715 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1059,
716 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
717 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
719 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
720 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
721 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1058, 1058, 1058,
722 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
723 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
724 1058, 1058, 1059, 1058, 1059, 1059, 1059, 1059, 1059, 1059,
725 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
726 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
727 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
728 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
730 1059, 1059, 1059, 1059, 1059, 1059, 1058, 1058, 1058, 1058,
731 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
732 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
733 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
734 1058, 1058, 1058, 1059, 1058, 1059, 1059, 1059, 1059, 1059,
735 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
736 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
737 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
738 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
739 1059, 1059, 1059, 1059, 1058, 1058, 1058, 1058, 1058, 1058,
741 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
742 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
743 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
744 1058, 1058, 1059, 1058, 1059, 1059, 1059, 1059, 1059, 1059,
745 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
746 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
747 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
748 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1058, 1058, 1058,
749 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
750 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
752 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
753 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
754 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
755 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
756 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
757 1059, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
758 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
759 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
760 1058, 1058, 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
761 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
763 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
764 1059, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
765 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
766 1058, 1058, 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
767 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
768 1059, 1059, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
769 1058, 1058, 1058, 1058, 1058, 1058, 1059, 1059, 1059, 1059,
770 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059,
771 1059, 1059, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
772 1058, 1058, 1058, 1058, 1059, 1059, 1059, 1059, 1059, 1059,
774 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1058, 1058, 1058,
775 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1059, 1059,
776 1059, 1059, 1059, 1059, 1059, 1058, 1058, 1058, 1058, 1058,
777 1059, 1059, 1059, 1059, 1058, 1058, 1058, 1059, 1059, 1059,
778 1058, 1058, 1058, 1059, 1058, 1059, 1058, 1059, 1058, 1059,
779 1058, 1059, 1058, 1059, 1058, 1059, 1058, 0, 1058, 1058,
780 1058, 1058, 1058, 1058, 1058
783 static yyconst flex_int16_t yy_nxt[1218] =
784 { 0,
785 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
786 14, 15, 16, 17, 4, 18, 19, 20, 4, 21,
787 22, 4, 4, 23, 24, 25, 4, 26, 4, 27,
788 28, 29, 4, 4, 4, 4, 4, 4, 4, 4,
789 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
790 4, 4, 4, 4, 4, 4, 4, 4, 4, 30,
791 31, 32, 53, 57, 58, 63, 53, 53, 82, 731,
792 64, 53, 53, 53, 33, 34, 35, 36, 37, 82,
793 38, 39, 40, 41, 42, 67, 732, 43, 44, 68,
794 45, 46, 47, 48, 49, 69, 72, 77, 75, 70,
796 79, 73, 76, 101, 103, 198, 80, 102, 62, 63,
797 78, 104, 199, 65, 106, 107, 108, 105, 67, 109,
798 53, 53, 110, 79, 126, 111, 82, 83, 112, 80,
799 149, 141, 69, 142, 733, 113, 70, 82, 127, 150,
800 84, 85, 86, 87, 88, 115, 89, 90, 91, 92,
801 93, 145, 734, 94, 95, 116, 96, 97, 98, 99,
802 100, 74, 146, 117, 122, 118, 155, 123, 124, 162,
803 156, 130, 163, 71, 119, 735, 120, 78, 131, 132,
804 125, 165, 157, 53, 166, 180, 133, 53, 53, 158,
805 170, 167, 53, 53, 53, 159, 172, 176, 171, 181,
807 177, 178, 184, 196, 215, 173, 197, 174, 204, 185,
808 186, 211, 213, 179, 224, 216, 212, 187, 271, 263,
809 265, 205, 264, 225, 278, 214, 280, 266, 291, 279,
810 334, 272, 394, 282, 240, 303, 736, 292, 335, 281,
811 338, 53, 53, 229, 283, 339, 435, 230, 394, 231,
812 394, 354, 436, 232, 739, 233, 234, 411, 412, 235,
813 236, 651, 237, 400, 466, 467, 740, 400, 400, 652,
814 296, 701, 400, 400, 400, 741, 742, 737, 400, 702,
815 738, 238, 400, 400, 743, 744, 358, 400, 400, 400,
816 586, 745, 639, 746, 587, 481, 640, 588, 589, 641,
818 642, 747, 748, 749, 750, 751, 752, 753, 754, 755,
819 756, 757, 758, 759, 760, 761, 762, 763, 764, 765,
820 766, 400, 400, 767, 768, 769, 770, 772, 773, 774,
821 775, 771, 776, 777, 778, 779, 400, 400, 555, 556,
822 780, 781, 557, 783, 782, 558, 784, 559, 560, 785,
823 786, 561, 787, 788, 562, 563, 789, 564, 565, 608,
824 609, 790, 791, 610, 792, 793, 611, 794, 612, 613,
825 795, 796, 614, 797, 798, 615, 616, 799, 617, 618,
826 800, 801, 802, 803, 804, 805, 806, 807, 808, 809,
827 810, 811, 812, 813, 814, 815, 816, 817, 818, 819,
829 820, 821, 822, 823, 824, 825, 826, 827, 828, 829,
830 830, 831, 832, 833, 834, 835, 836, 837, 838, 839,
831 840, 841, 842, 843, 844, 845, 846, 847, 848, 849,
832 850, 851, 852, 853, 854, 855, 856, 857, 858, 859,
833 860, 861, 862, 863, 864, 865, 866, 867, 868, 869,
834 870, 871, 872, 873, 874, 875, 876, 877, 878, 879,
835 880, 881, 882, 883, 884, 885, 886, 887, 888, 889,
836 890, 891, 892, 893, 894, 895, 896, 897, 898, 899,
837 900, 901, 902, 903, 904, 905, 906, 907, 908, 909,
838 910, 911, 912, 913, 914, 915, 916, 917, 918, 919,
840 920, 921, 922, 923, 924, 925, 926, 927, 928, 929,
841 930, 931, 932, 933, 934, 935, 936, 937, 938, 939,
842 940, 941, 942, 943, 944, 945, 946, 947, 948, 949,
843 950, 951, 952, 953, 954, 955, 956, 957, 958, 959,
844 960, 961, 962, 963, 964, 965, 966, 967, 968, 969,
845 970, 971, 972, 973, 974, 975, 976, 977, 978, 979,
846 980, 981, 982, 983, 984, 985, 986, 987, 988, 989,
847 990, 991, 992, 993, 994, 995, 996, 997, 998, 999,
848 1000, 1001, 1002, 1003, 933, 1004, 1005, 1006, 1007, 1008,
849 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018,
851 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028,
852 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038,
853 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048,
854 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 50,
855 52, 52, 54, 52, 81, 81, 81, 53, 53, 730,
856 53, 399, 399, 729, 399, 400, 400, 728, 400, 727,
857 726, 725, 724, 723, 722, 721, 720, 719, 718, 717,
858 716, 715, 714, 713, 712, 711, 710, 709, 708, 707,
859 706, 705, 704, 703, 700, 699, 698, 697, 696, 695,
860 694, 693, 692, 691, 690, 689, 688, 687, 686, 685,
862 684, 683, 682, 681, 680, 679, 678, 677, 676, 675,
863 674, 673, 672, 671, 670, 669, 668, 667, 666, 665,
864 664, 663, 662, 661, 660, 659, 658, 657, 656, 655,
865 654, 653, 650, 649, 648, 647, 646, 645, 644, 643,
866 638, 637, 636, 635, 634, 633, 632, 631, 630, 629,
867 628, 627, 626, 625, 624, 623, 622, 621, 620, 619,
868 607, 606, 605, 604, 603, 602, 601, 600, 599, 598,
869 597, 596, 595, 594, 593, 592, 591, 590, 585, 584,
870 583, 582, 581, 580, 579, 578, 577, 576, 575, 574,
871 573, 572, 571, 570, 569, 568, 567, 566, 554, 553,
873 552, 551, 550, 549, 548, 547, 546, 545, 544, 543,
874 542, 541, 540, 539, 538, 537, 536, 535, 534, 533,
875 532, 531, 530, 529, 528, 527, 526, 525, 524, 523,
876 522, 521, 520, 519, 518, 517, 516, 515, 514, 513,
877 512, 511, 510, 509, 508, 507, 506, 505, 504, 503,
878 502, 501, 500, 499, 498, 497, 496, 495, 494, 493,
879 492, 491, 490, 489, 488, 487, 486, 485, 484, 483,
880 482, 480, 479, 478, 477, 476, 475, 474, 473, 472,
881 471, 470, 469, 468, 465, 464, 463, 462, 461, 460,
882 459, 458, 457, 456, 455, 454, 453, 452, 451, 450,
884 449, 448, 447, 446, 445, 444, 443, 442, 441, 440,
885 439, 438, 437, 434, 433, 432, 431, 430, 429, 428,
886 427, 426, 425, 424, 423, 422, 421, 420, 419, 418,
887 417, 416, 415, 414, 413, 410, 409, 408, 407, 406,
888 405, 404, 403, 402, 401, 398, 397, 396, 395, 393,
889 392, 391, 390, 389, 388, 387, 386, 385, 384, 383,
890 382, 381, 380, 379, 378, 377, 376, 375, 374, 373,
891 372, 371, 370, 369, 368, 367, 366, 365, 364, 363,
892 362, 361, 360, 359, 358, 357, 356, 355, 354, 353,
893 352, 351, 350, 349, 348, 347, 346, 345, 344, 343,
895 342, 341, 340, 337, 336, 333, 332, 331, 330, 329,
896 328, 327, 326, 325, 324, 323, 322, 321, 320, 319,
897 318, 317, 316, 315, 314, 313, 312, 311, 310, 309,
898 308, 307, 306, 305, 304, 302, 301, 300, 299, 298,
899 297, 296, 295, 294, 293, 290, 289, 288, 287, 286,
900 285, 284, 277, 276, 275, 274, 273, 270, 269, 268,
901 267, 262, 261, 260, 259, 258, 257, 256, 255, 254,
902 253, 252, 251, 250, 249, 248, 247, 246, 245, 244,
903 243, 242, 241, 240, 239, 228, 227, 226, 223, 222,
904 221, 220, 219, 218, 217, 210, 209, 208, 207, 206,
906 203, 202, 201, 200, 195, 194, 193, 192, 191, 190,
907 189, 188, 183, 182, 175, 169, 168, 164, 161, 160,
908 154, 153, 152, 151, 148, 147, 144, 143, 140, 139,
909 138, 137, 136, 135, 134, 56, 55, 51, 129, 128,
910 121, 114, 74, 71, 66, 65, 62, 61, 60, 59,
911 56, 56, 55, 51, 1058, 3, 1058, 1058, 1058, 1058,
912 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
913 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
914 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
915 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
917 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
918 1058, 1058, 1058, 1058, 1058, 1058, 1058
921 static yyconst flex_int16_t yy_chk[1218] =
922 { 0,
923 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
924 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
925 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
926 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
927 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
928 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
929 1, 2, 7, 14, 14, 19, 7, 7, 30, 642,
930 19, 7, 7, 7, 2, 2, 2, 2, 2, 81,
931 2, 2, 2, 2, 2, 22, 643, 2, 2, 22,
932 2, 2, 2, 2, 2, 23, 25, 28, 27, 23,
934 29, 25, 27, 33, 34, 110, 29, 33, 34, 35,
935 28, 34, 110, 36, 35, 36, 37, 34, 38, 37,
936 7, 7, 38, 46, 46, 39, 30, 32, 39, 46,
937 75, 69, 41, 69, 644, 39, 41, 81, 46, 75,
938 32, 32, 32, 32, 32, 41, 32, 32, 32, 32,
939 32, 72, 645, 32, 32, 42, 32, 32, 32, 32,
940 32, 43, 72, 42, 45, 43, 84, 45, 45, 88,
941 84, 49, 88, 42, 43, 646, 43, 45, 49, 49,
942 45, 90, 85, 52, 90, 97, 49, 52, 52, 85,
943 93, 90, 52, 52, 52, 85, 94, 96, 93, 97,
945 96, 96, 100, 109, 124, 94, 109, 94, 116, 100,
946 100, 122, 123, 96, 132, 124, 122, 100, 170, 163,
947 164, 116, 163, 132, 176, 123, 177, 164, 186, 176,
948 232, 170, 296, 178, 198, 198, 647, 186, 232, 177,
949 235, 52, 52, 138, 178, 235, 340, 138, 358, 138,
950 394, 315, 340, 138, 649, 138, 138, 315, 315, 138,
951 138, 560, 138, 301, 377, 377, 650, 301, 301, 560,
952 296, 613, 301, 301, 301, 651, 652, 648, 399, 613,
953 648, 138, 399, 399, 653, 654, 358, 399, 399, 399,
954 504, 655, 551, 656, 504, 394, 551, 504, 504, 551,
956 551, 657, 659, 660, 661, 662, 663, 666, 670, 671,
957 672, 673, 674, 675, 676, 677, 678, 679, 680, 681,
958 682, 301, 301, 683, 684, 685, 687, 689, 690, 691,
959 692, 687, 693, 694, 695, 696, 399, 399, 482, 482,
960 697, 698, 482, 699, 698, 482, 700, 482, 482, 701,
961 702, 482, 703, 704, 482, 482, 705, 482, 482, 529,
962 529, 706, 707, 529, 709, 710, 529, 711, 529, 529,
963 712, 713, 529, 716, 720, 529, 529, 721, 529, 529,
964 722, 723, 724, 725, 726, 727, 728, 729, 730, 731,
965 732, 734, 735, 736, 737, 738, 739, 740, 741, 742,
967 743, 744, 745, 746, 747, 748, 750, 751, 752, 753,
968 754, 755, 756, 757, 758, 759, 760, 761, 762, 763,
969 764, 765, 766, 768, 769, 770, 771, 773, 774, 775,
970 776, 777, 779, 780, 781, 782, 783, 784, 785, 786,
971 787, 788, 789, 790, 791, 792, 794, 795, 796, 797,
972 798, 799, 800, 801, 802, 803, 804, 805, 806, 807,
973 808, 809, 810, 811, 812, 813, 815, 817, 818, 819,
974 820, 822, 823, 824, 827, 828, 829, 831, 832, 835,
975 837, 838, 839, 841, 842, 845, 846, 847, 848, 849,
976 850, 851, 852, 853, 855, 857, 858, 859, 860, 862,
978 863, 864, 867, 868, 869, 871, 872, 875, 877, 878,
979 879, 881, 882, 883, 884, 885, 886, 887, 888, 889,
980 890, 893, 894, 896, 897, 901, 902, 905, 906, 908,
981 909, 910, 911, 912, 913, 914, 915, 916, 917, 918,
982 921, 922, 924, 925, 929, 930, 933, 934, 935, 936,
983 937, 938, 939, 940, 941, 943, 945, 946, 947, 948,
984 949, 950, 951, 953, 954, 955, 956, 957, 958, 959,
985 960, 962, 964, 965, 966, 967, 968, 969, 970, 971,
986 972, 973, 974, 976, 933, 977, 978, 979, 981, 983,
987 984, 985, 986, 987, 988, 989, 990, 992, 993, 994,
989 995, 997, 998, 1002, 1003, 1005, 1007, 1008, 1010, 1011,
990 1015, 1016, 1021, 1022, 1023, 1024, 1028, 1029, 1030, 1031,
991 1032, 1033, 1035, 1036, 1037, 1039, 1042, 1044, 1045, 1046,
992 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1059,
993 1060, 1060, 1061, 1060, 1062, 1062, 1062, 1063, 1063, 641,
994 1063, 1064, 1064, 640, 1064, 1065, 1065, 639, 1065, 638,
995 637, 636, 635, 634, 633, 632, 631, 630, 629, 628,
996 627, 626, 625, 624, 623, 622, 621, 620, 619, 618,
997 617, 616, 615, 614, 612, 611, 610, 609, 608, 607,
998 606, 605, 604, 602, 601, 600, 596, 595, 594, 593,
1000 592, 591, 590, 589, 588, 587, 586, 585, 584, 583,
1001 582, 581, 580, 579, 578, 577, 576, 575, 574, 573,
1002 572, 571, 570, 569, 568, 567, 566, 565, 564, 563,
1003 562, 561, 559, 558, 557, 556, 555, 554, 553, 552,
1004 549, 548, 547, 546, 545, 544, 543, 542, 541, 540,
1005 539, 538, 537, 536, 535, 534, 533, 532, 531, 530,
1006 528, 526, 525, 524, 523, 522, 520, 519, 518, 516,
1007 515, 513, 512, 511, 510, 509, 508, 505, 502, 501,
1008 500, 499, 498, 497, 496, 495, 494, 493, 492, 491,
1009 490, 489, 488, 487, 486, 485, 484, 483, 481, 480,
1011 479, 478, 477, 475, 473, 471, 470, 469, 468, 467,
1012 466, 465, 464, 463, 462, 461, 460, 459, 458, 457,
1013 456, 454, 453, 452, 450, 449, 448, 447, 446, 445,
1014 444, 443, 442, 441, 439, 438, 437, 436, 435, 434,
1015 433, 431, 430, 429, 428, 427, 426, 424, 423, 422,
1016 420, 418, 416, 415, 414, 413, 412, 411, 410, 409,
1017 408, 407, 406, 405, 404, 403, 402, 401, 397, 396,
1018 395, 392, 391, 390, 389, 388, 387, 386, 385, 383,
1019 382, 380, 379, 378, 376, 375, 374, 373, 372, 371,
1020 369, 366, 365, 364, 362, 361, 360, 359, 357, 356,
1022 355, 354, 352, 351, 349, 348, 347, 346, 345, 344,
1023 343, 342, 341, 339, 338, 337, 336, 335, 334, 333,
1024 332, 331, 330, 329, 328, 327, 326, 325, 324, 323,
1025 321, 320, 318, 317, 316, 314, 313, 312, 311, 310,
1026 309, 307, 304, 303, 302, 300, 299, 298, 297, 295,
1027 294, 293, 292, 291, 290, 289, 288, 287, 286, 285,
1028 284, 283, 282, 281, 280, 278, 277, 276, 275, 274,
1029 273, 272, 271, 270, 268, 267, 266, 265, 264, 263,
1030 262, 260, 259, 258, 257, 256, 255, 253, 252, 251,
1031 250, 249, 248, 247, 246, 245, 242, 241, 240, 239,
1033 238, 237, 236, 234, 233, 231, 230, 229, 227, 226,
1034 225, 224, 223, 222, 221, 220, 219, 218, 217, 216,
1035 215, 214, 213, 211, 210, 209, 208, 207, 206, 205,
1036 204, 203, 201, 200, 199, 197, 196, 195, 193, 192,
1037 191, 190, 189, 188, 187, 185, 184, 183, 182, 181,
1038 180, 179, 175, 174, 173, 172, 171, 169, 168, 167,
1039 165, 162, 161, 160, 159, 158, 157, 156, 155, 154,
1040 153, 152, 151, 150, 149, 148, 147, 146, 145, 144,
1041 143, 142, 141, 140, 139, 137, 135, 133, 131, 130,
1042 129, 128, 127, 126, 125, 121, 120, 119, 118, 117,
1044 115, 114, 113, 111, 108, 107, 106, 105, 104, 103,
1045 102, 101, 99, 98, 95, 92, 91, 89, 87, 86,
1046 79, 78, 77, 76, 74, 73, 71, 70, 68, 67,
1047 66, 65, 63, 62, 61, 56, 55, 51, 48, 47,
1048 44, 40, 26, 24, 21, 20, 18, 17, 16, 15,
1049 12, 11, 8, 5, 3, 1058, 1058, 1058, 1058, 1058,
1050 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
1051 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
1052 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
1053 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
1055 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058,
1056 1058, 1058, 1058, 1058, 1058, 1058, 1058
1059 static yy_state_type yy_last_accepting_state;
1060 static char *yy_last_accepting_cpos;
1062 extern int yy_flex_debug;
1063 int yy_flex_debug = 0;
1065 /* The intent behind this definition is that it'll catch
1066 * any uses of REJECT which flex missed.
1068 #define REJECT reject_used_but_not_detected
1069 #define yymore() yymore_used_but_not_detected
1070 #define YY_MORE_ADJ 0
1071 #define YY_RESTORE_YY_MORE_OFFSET
1072 char *yytext;
1073 #line 1 "scanner.l"
1074 #line 2 "scanner.l"
1075 /* This program is free software; you can redistribute it and/or modify
1076 * it under the terms of the GNU General Public License as published by
1077 * the Free Software Foundation; either version 2 of the License, or
1078 * (at your option) any later version.
1080 * This program is distributed in the hope that it will be useful,
1081 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1082 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1083 * GNU General Public License for more details.
1085 * You should have received a copy of the GNU General Public License
1086 * along with this program; if not, write to the Free Software
1087 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1089 # include "config.h"
1090 # include "script.h"
1091 # include "types.h"
1092 # include "libs/Parse.h"
1094 /* Suppress definition of yyunput() and yyinput(), as we do not use it. */
1095 #define YY_NO_UNPUT
1096 #define YY_NO_INPUT
1098 int numligne=1;
1099 #line 1100 "lex.yy.c"
1101 #define INITIAL 0
1103 #ifndef YY_NO_UNISTD_H
1104 /* Special case for "unistd.h", since it is non-ANSI. We include it way
1105 * down here because we want the user's section 1 to have been scanned first.
1106 * The user has a chance to override it with an option.
1108 #include <unistd.h>
1109 #endif
1111 #ifndef YY_EXTRA_TYPE
1112 #define YY_EXTRA_TYPE void *
1113 #endif
1115 static int yy_init_globals (void );
1117 /* Accessor methods to globals.
1118 These are made visible to non-reentrant scanners for convenience. */
1120 int yylex_destroy (void );
1122 int yyget_debug (void );
1124 void yyset_debug (int debug_flag );
1126 YY_EXTRA_TYPE yyget_extra (void );
1128 void yyset_extra (YY_EXTRA_TYPE user_defined );
1130 FILE *yyget_in (void );
1132 void yyset_in (FILE * in_str );
1134 FILE *yyget_out (void );
1136 void yyset_out (FILE * out_str );
1138 int yyget_leng (void );
1140 char *yyget_text (void );
1142 int yyget_lineno (void );
1144 void yyset_lineno (int line_number );
1146 /* Macros after this point can all be overridden by user definitions in
1147 * section 1.
1150 #ifndef YY_SKIP_YYWRAP
1151 #ifdef __cplusplus
1152 extern "C" int yywrap (void );
1153 #else
1154 extern int yywrap (void );
1155 #endif
1156 #endif
1158 #ifndef yytext_ptr
1159 static void yy_flex_strncpy (char *,yyconst char *,int );
1160 #endif
1162 #ifdef YY_NEED_STRLEN
1163 static int yy_flex_strlen (yyconst char * );
1164 #endif
1166 #ifndef YY_NO_INPUT
1168 #ifdef __cplusplus
1169 static int yyinput (void );
1170 #else
1171 static int input (void );
1172 #endif
1174 #endif
1176 /* Amount of stuff to slurp up with each read. */
1177 #ifndef YY_READ_BUF_SIZE
1178 #ifdef __ia64__
1179 /* On IA-64, the buffer size is 16k, not 8k */
1180 #define YY_READ_BUF_SIZE 16384
1181 #else
1182 #define YY_READ_BUF_SIZE 8192
1183 #endif /* __ia64__ */
1184 #endif
1186 /* Copy whatever the last rule matched to the standard output. */
1187 #ifndef ECHO
1188 /* This used to be an fputs(), but since the string might contain NUL's,
1189 * we now use fwrite().
1191 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
1192 #endif
1194 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1195 * is returned in "result".
1197 #ifndef YY_INPUT
1198 #define YY_INPUT(buf,result,max_size) \
1199 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1201 int c = '*'; \
1202 size_t n; \
1203 for ( n = 0; n < max_size && \
1204 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1205 buf[n] = (char) c; \
1206 if ( c == '\n' ) \
1207 buf[n++] = (char) c; \
1208 if ( c == EOF && ferror( yyin ) ) \
1209 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1210 result = n; \
1212 else \
1214 errno=0; \
1215 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1217 if( errno != EINTR) \
1219 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1220 break; \
1222 errno=0; \
1223 clearerr(yyin); \
1228 #endif
1230 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1231 * we don't want an extra ';' after the "return" because that will cause
1232 * some compilers to complain about unreachable statements.
1234 #ifndef yyterminate
1235 #define yyterminate() return YY_NULL
1236 #endif
1238 /* Number of entries by which start-condition stack grows. */
1239 #ifndef YY_START_STACK_INCR
1240 #define YY_START_STACK_INCR 25
1241 #endif
1243 /* Report a fatal error. */
1244 #ifndef YY_FATAL_ERROR
1245 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1246 #endif
1248 /* end tables serialization structures and prototypes */
1250 /* Default declaration of generated scanner - a define so the user can
1251 * easily add parameters.
1253 #ifndef YY_DECL
1254 #define YY_DECL_IS_OURS 1
1256 extern int yylex (void);
1258 #define YY_DECL int yylex (void)
1259 #endif /* !YY_DECL */
1261 /* Code executed at the beginning of each rule, after yytext and yyleng
1262 * have been set up.
1264 #ifndef YY_USER_ACTION
1265 #define YY_USER_ACTION
1266 #endif
1268 /* Code executed at the end of each rule. */
1269 #ifndef YY_BREAK
1270 #define YY_BREAK break;
1271 #endif
1273 #define YY_RULE_SETUP \
1274 if ( yyleng > 0 ) \
1275 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
1276 (yytext[yyleng - 1] == '\n'); \
1277 YY_USER_ACTION
1279 /** The main scanner function which does all the work.
1281 YY_DECL
1283 register yy_state_type yy_current_state;
1284 register char *yy_cp, *yy_bp;
1285 register int yy_act;
1287 #line 43 "scanner.l"
1289 #line 1290 "lex.yy.c"
1291 if ( !(yy_init) )
1293 (yy_init) = 1;
1295 #ifdef YY_USER_INIT
1296 YY_USER_INIT;
1297 #endif
1299 if ( ! (yy_start) )
1300 (yy_start) = 1; /* first start state */
1302 if ( ! yyin )
1303 yyin = stdin;
1305 if ( ! yyout )
1306 yyout = stdout;
1308 if ( ! YY_CURRENT_BUFFER ) {
1309 yyensure_buffer_stack ();
1310 YY_CURRENT_BUFFER_LVALUE =
1311 yy_create_buffer(yyin,YY_BUF_SIZE );
1314 yy_load_buffer_state( );
1317 while ( 1 ) /* loops until end-of-file is reached */
1319 yy_cp = (yy_c_buf_p);
1321 /* Support of yytext. */
1322 *yy_cp = (yy_hold_char);
1324 /* yy_bp points to the position in yy_ch_buf of the start of
1325 * the current run.
1327 yy_bp = yy_cp;
1329 yy_current_state = (yy_start);
1330 yy_current_state += YY_AT_BOL();
1331 yy_match:
1334 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1335 if ( yy_accept[yy_current_state] )
1337 (yy_last_accepting_state) = yy_current_state;
1338 (yy_last_accepting_cpos) = yy_cp;
1340 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1342 yy_current_state = (int) yy_def[yy_current_state];
1343 if ( yy_current_state >= 1059 )
1344 yy_c = yy_meta[(unsigned int) yy_c];
1346 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1347 ++yy_cp;
1349 while ( yy_base[yy_current_state] != 1156 );
1351 yy_find_action:
1352 yy_act = yy_accept[yy_current_state];
1353 if ( yy_act == 0 )
1354 { /* have to back up */
1355 yy_cp = (yy_last_accepting_cpos);
1356 yy_current_state = (yy_last_accepting_state);
1357 yy_act = yy_accept[yy_current_state];
1360 YY_DO_BEFORE_ACTION;
1362 do_action: /* This label is used only to access EOF actions. */
1364 switch ( yy_act )
1365 { /* beginning of action switch */
1366 case 0: /* must back up */
1367 /* undo the effects of YY_DO_BEFORE_ACTION */
1368 *yy_cp = (yy_hold_char);
1369 yy_cp = (yy_last_accepting_cpos);
1370 yy_current_state = (yy_last_accepting_state);
1371 goto yy_find_action;
1373 case 1:
1374 YY_RULE_SETUP
1375 #line 44 "scanner.l"
1377 YY_BREAK
1378 case 2:
1379 YY_RULE_SETUP
1380 #line 45 "scanner.l"
1382 YY_BREAK
1383 case 3:
1384 YY_RULE_SETUP
1385 #line 47 "scanner.l"
1386 { return USEGETTEXT; }
1387 YY_BREAK
1388 case 4:
1389 YY_RULE_SETUP
1390 #line 48 "scanner.l"
1391 { return WINDOWTITLE; }
1392 YY_BREAK
1393 case 5:
1394 YY_RULE_SETUP
1395 #line 49 "scanner.l"
1396 { return CHWINDOWTITLE; }
1397 YY_BREAK
1398 case 6:
1399 YY_RULE_SETUP
1400 #line 50 "scanner.l"
1401 { return CHWINDOWTITLEFARG; }
1402 YY_BREAK
1403 case 7:
1404 YY_RULE_SETUP
1405 #line 51 "scanner.l"
1406 { return WINDOWLOCALETITLE; }
1407 YY_BREAK
1408 case 8:
1409 YY_RULE_SETUP
1410 #line 52 "scanner.l"
1411 { return WINDOWSIZE; }
1412 YY_BREAK
1413 case 9:
1414 YY_RULE_SETUP
1415 #line 53 "scanner.l"
1416 { return WINDOWPOSITION; }
1417 YY_BREAK
1418 case 10:
1419 YY_RULE_SETUP
1420 #line 54 "scanner.l"
1421 { return FORECOLOR; }
1422 YY_BREAK
1423 case 11:
1424 YY_RULE_SETUP
1425 #line 55 "scanner.l"
1426 { return BACKCOLOR; }
1427 YY_BREAK
1428 case 12:
1429 YY_RULE_SETUP
1430 #line 56 "scanner.l"
1431 { return SHADCOLOR; }
1432 YY_BREAK
1433 case 13:
1434 YY_RULE_SETUP
1435 #line 57 "scanner.l"
1436 { return LICOLOR; }
1437 YY_BREAK
1438 case 14:
1439 YY_RULE_SETUP
1440 #line 58 "scanner.l"
1441 { return COLORSET; }
1442 YY_BREAK
1443 case 15:
1444 YY_RULE_SETUP
1445 #line 59 "scanner.l"
1446 { return OBJECT; }
1447 YY_BREAK
1448 case 16:
1449 YY_RULE_SETUP
1450 #line 60 "scanner.l"
1451 { return PROP; }
1452 YY_BREAK
1453 case 17:
1454 YY_RULE_SETUP
1455 #line 61 "scanner.l"
1456 { return MAIN; }
1457 YY_BREAK
1458 case 18:
1459 YY_RULE_SETUP
1460 #line 62 "scanner.l"
1461 { return END; }
1462 YY_BREAK
1463 case 19:
1464 YY_RULE_SETUP
1465 #line 63 "scanner.l"
1467 char *tmp,*rest;
1469 rest = GetNextToken(yytext, &tmp); /* skip Font */
1470 GetNextToken(rest, &yylval.str); /* get the font */
1471 if (tmp != NULL)
1472 free(tmp);
1473 return FONT;
1475 YY_BREAK
1476 case 20:
1477 YY_RULE_SETUP
1478 #line 73 "scanner.l"
1479 { return TYPE; }
1480 YY_BREAK
1481 case 21:
1482 YY_RULE_SETUP
1483 #line 74 "scanner.l"
1484 { return SIZE; }
1485 YY_BREAK
1486 case 22:
1487 YY_RULE_SETUP
1488 #line 75 "scanner.l"
1489 { return POSITION; }
1490 YY_BREAK
1491 case 23:
1492 YY_RULE_SETUP
1493 #line 76 "scanner.l"
1494 { return VALUE; }
1495 YY_BREAK
1496 case 24:
1497 YY_RULE_SETUP
1498 #line 77 "scanner.l"
1499 { return VALUEMIN; }
1500 YY_BREAK
1501 case 25:
1502 YY_RULE_SETUP
1503 #line 78 "scanner.l"
1504 { return VALUEMAX; }
1505 YY_BREAK
1506 case 26:
1507 YY_RULE_SETUP
1508 #line 79 "scanner.l"
1509 { return TITLE; }
1510 YY_BREAK
1511 case 27:
1512 YY_RULE_SETUP
1513 #line 80 "scanner.l"
1514 { return LOCALETITLE; }
1515 YY_BREAK
1516 case 28:
1517 YY_RULE_SETUP
1518 #line 81 "scanner.l"
1519 { return SWALLOWEXEC; }
1520 YY_BREAK
1521 case 29:
1522 YY_RULE_SETUP
1523 #line 82 "scanner.l"
1524 { return ICON; }
1525 YY_BREAK
1526 case 30:
1527 YY_RULE_SETUP
1528 #line 83 "scanner.l"
1529 { return FLAGS; }
1530 YY_BREAK
1531 case 31:
1532 YY_RULE_SETUP
1533 #line 84 "scanner.l"
1534 { return HIDDEN; }
1535 YY_BREAK
1536 case 32:
1537 YY_RULE_SETUP
1538 #line 85 "scanner.l"
1539 { return NOFOCUS; }
1540 YY_BREAK
1541 case 33:
1542 YY_RULE_SETUP
1543 #line 86 "scanner.l"
1544 { return NORELIEFSTRING; }
1545 YY_BREAK
1546 case 34:
1547 YY_RULE_SETUP
1548 #line 87 "scanner.l"
1549 { return CENTER; }
1550 YY_BREAK
1551 case 35:
1552 YY_RULE_SETUP
1553 #line 88 "scanner.l"
1554 { return LEFT; }
1555 YY_BREAK
1556 case 36:
1557 YY_RULE_SETUP
1558 #line 89 "scanner.l"
1559 { return RIGHT; }
1560 YY_BREAK
1561 case 37:
1562 YY_RULE_SETUP
1563 #line 91 "scanner.l"
1564 { return EXEC; }
1565 YY_BREAK
1566 case 38:
1567 YY_RULE_SETUP
1568 #line 92 "scanner.l"
1569 { return HIDE; }
1570 YY_BREAK
1571 case 39:
1572 YY_RULE_SETUP
1573 #line 93 "scanner.l"
1574 { return SHOW; }
1575 YY_BREAK
1576 case 40:
1577 YY_RULE_SETUP
1578 #line 94 "scanner.l"
1579 { return CHVALUE; }
1580 YY_BREAK
1581 case 41:
1582 YY_RULE_SETUP
1583 #line 95 "scanner.l"
1584 { return CHVALUEMAX; }
1585 YY_BREAK
1586 case 42:
1587 YY_RULE_SETUP
1588 #line 96 "scanner.l"
1589 { return CHVALUEMIN; }
1590 YY_BREAK
1591 case 43:
1592 YY_RULE_SETUP
1593 #line 97 "scanner.l"
1594 { return GETTITLE; }
1595 YY_BREAK
1596 case 44:
1597 YY_RULE_SETUP
1598 #line 98 "scanner.l"
1599 { return GETVALUE; }
1600 YY_BREAK
1601 case 45:
1602 YY_RULE_SETUP
1603 #line 99 "scanner.l"
1604 { return GETMINVALUE; }
1605 YY_BREAK
1606 case 46:
1607 YY_RULE_SETUP
1608 #line 100 "scanner.l"
1609 { return GETMAXVALUE; }
1610 YY_BREAK
1611 case 47:
1612 YY_RULE_SETUP
1613 #line 101 "scanner.l"
1614 { return GETFORE; }
1615 YY_BREAK
1616 case 48:
1617 YY_RULE_SETUP
1618 #line 102 "scanner.l"
1619 { return GETBACK; }
1620 YY_BREAK
1621 case 49:
1622 YY_RULE_SETUP
1623 #line 103 "scanner.l"
1624 { return GETHILIGHT; }
1625 YY_BREAK
1626 case 50:
1627 YY_RULE_SETUP
1628 #line 104 "scanner.l"
1629 { return GETSHADOW; }
1630 YY_BREAK
1631 case 51:
1632 YY_RULE_SETUP
1633 #line 105 "scanner.l"
1634 { return GETOUTPUT; }
1635 YY_BREAK
1636 case 52:
1637 YY_RULE_SETUP
1638 #line 106 "scanner.l"
1639 { return NUMTOHEX; }
1640 YY_BREAK
1641 case 53:
1642 YY_RULE_SETUP
1643 #line 107 "scanner.l"
1644 { return HEXTONUM; }
1645 YY_BREAK
1646 case 54:
1647 YY_RULE_SETUP
1648 #line 108 "scanner.l"
1649 { return ADD;}
1650 YY_BREAK
1651 case 55:
1652 YY_RULE_SETUP
1653 #line 109 "scanner.l"
1654 { return MULT;}
1655 YY_BREAK
1656 case 56:
1657 YY_RULE_SETUP
1658 #line 110 "scanner.l"
1659 { return DIV;}
1660 YY_BREAK
1661 case 57:
1662 YY_RULE_SETUP
1663 #line 111 "scanner.l"
1664 { return STRCOPY; }
1665 YY_BREAK
1666 case 58:
1667 YY_RULE_SETUP
1668 #line 112 "scanner.l"
1669 { return LAUNCHSCRIPT; }
1670 YY_BREAK
1671 case 59:
1672 YY_RULE_SETUP
1673 #line 113 "scanner.l"
1674 { return GETSCRIPTFATHER; }
1675 YY_BREAK
1676 case 60:
1677 YY_RULE_SETUP
1678 #line 114 "scanner.l"
1679 { return RECEIVFROMSCRIPT; }
1680 YY_BREAK
1681 case 61:
1682 YY_RULE_SETUP
1683 #line 115 "scanner.l"
1684 { return REMAINDEROFDIV; }
1685 YY_BREAK
1686 case 62:
1687 YY_RULE_SETUP
1688 #line 116 "scanner.l"
1689 { return GETTIME; }
1690 YY_BREAK
1691 case 63:
1692 YY_RULE_SETUP
1693 #line 117 "scanner.l"
1694 { return GETSCRIPTARG; }
1695 YY_BREAK
1696 case 64:
1697 YY_RULE_SETUP
1698 #line 118 "scanner.l"
1699 { return GETPID; }
1700 YY_BREAK
1701 case 65:
1702 YY_RULE_SETUP
1703 #line 119 "scanner.l"
1704 { return SENDMSGANDGET; }
1705 YY_BREAK
1706 case 66:
1707 YY_RULE_SETUP
1708 #line 120 "scanner.l"
1709 { return PARSE; }
1710 YY_BREAK
1711 case 67:
1712 YY_RULE_SETUP
1713 #line 121 "scanner.l"
1714 { return LASTSTRING; }
1715 YY_BREAK
1716 case 68:
1717 YY_RULE_SETUP
1718 #line 122 "scanner.l"
1719 { return GETTEXT; }
1720 YY_BREAK
1721 case 69:
1722 YY_RULE_SETUP
1723 #line 123 "scanner.l"
1724 { return POSITION; }
1725 YY_BREAK
1726 case 70:
1727 YY_RULE_SETUP
1728 #line 124 "scanner.l"
1729 { return SIZE; }
1730 YY_BREAK
1731 case 71:
1732 YY_RULE_SETUP
1733 #line 125 "scanner.l"
1734 { return TITLE; }
1735 YY_BREAK
1736 case 72:
1737 YY_RULE_SETUP
1738 #line 126 "scanner.l"
1739 { return LOCALETITLE; }
1740 YY_BREAK
1741 case 73:
1742 YY_RULE_SETUP
1743 #line 127 "scanner.l"
1744 { return ICON; }
1745 YY_BREAK
1746 case 74:
1747 YY_RULE_SETUP
1748 #line 128 "scanner.l"
1749 { return CHFONT; }
1750 YY_BREAK
1751 case 75:
1752 YY_RULE_SETUP
1753 #line 129 "scanner.l"
1754 { return CHFORECOLOR; }
1755 YY_BREAK
1756 case 76:
1757 YY_RULE_SETUP
1758 #line 130 "scanner.l"
1759 { return CHBACKCOLOR; }
1760 YY_BREAK
1761 case 77:
1762 YY_RULE_SETUP
1763 #line 131 "scanner.l"
1764 { return CHCOLORSET; }
1765 YY_BREAK
1766 case 78:
1767 YY_RULE_SETUP
1768 #line 132 "scanner.l"
1769 { return SET; }
1770 YY_BREAK
1771 case 79:
1772 YY_RULE_SETUP
1773 #line 133 "scanner.l"
1774 { return SENDSIGN; }
1775 YY_BREAK
1776 case 80:
1777 YY_RULE_SETUP
1778 #line 134 "scanner.l"
1779 { return QUIT; }
1780 YY_BREAK
1781 case 81:
1782 YY_RULE_SETUP
1783 #line 135 "scanner.l"
1784 { return INIT; }
1785 YY_BREAK
1786 case 82:
1787 YY_RULE_SETUP
1788 #line 136 "scanner.l"
1789 { return PERIODICTASK; }
1790 YY_BREAK
1791 case 83:
1792 YY_RULE_SETUP
1793 #line 137 "scanner.l"
1794 { return QUITFUNC; }
1795 YY_BREAK
1796 case 84:
1797 YY_RULE_SETUP
1798 #line 138 "scanner.l"
1799 { return FOR; }
1800 YY_BREAK
1801 case 85:
1802 YY_RULE_SETUP
1803 #line 139 "scanner.l"
1804 { return WARP; }
1805 YY_BREAK
1806 case 86:
1807 YY_RULE_SETUP
1808 #line 140 "scanner.l"
1809 { return WRITETOFILE; }
1810 YY_BREAK
1811 case 87:
1812 YY_RULE_SETUP
1813 #line 141 "scanner.l"
1814 { return SENDTOSCRIPT; }
1815 YY_BREAK
1816 case 88:
1817 YY_RULE_SETUP
1818 #line 142 "scanner.l"
1819 { return SINGLECLIC; }
1820 YY_BREAK
1821 case 89:
1822 YY_RULE_SETUP
1823 #line 143 "scanner.l"
1824 { return DOUBLECLIC; }
1825 YY_BREAK
1826 case 90:
1827 YY_RULE_SETUP
1828 #line 144 "scanner.l"
1829 { return KEY; }
1830 YY_BREAK
1831 case 91:
1832 YY_RULE_SETUP
1833 #line 145 "scanner.l"
1834 { return TO; }
1835 YY_BREAK
1836 case 92:
1837 YY_RULE_SETUP
1838 #line 146 "scanner.l"
1839 { return DO; }
1840 YY_BREAK
1841 case 93:
1842 YY_RULE_SETUP
1843 #line 147 "scanner.l"
1844 { return IF; }
1845 YY_BREAK
1846 case 94:
1847 YY_RULE_SETUP
1848 #line 148 "scanner.l"
1849 { return THEN; }
1850 YY_BREAK
1851 case 95:
1852 YY_RULE_SETUP
1853 #line 149 "scanner.l"
1854 { return ELSE; }
1855 YY_BREAK
1856 case 96:
1857 YY_RULE_SETUP
1858 #line 151 "scanner.l"
1859 { return INF; }
1860 YY_BREAK
1861 case 97:
1862 YY_RULE_SETUP
1863 #line 152 "scanner.l"
1864 { return INFEQ; }
1865 YY_BREAK
1866 case 98:
1867 YY_RULE_SETUP
1868 #line 153 "scanner.l"
1869 { return SUPEQ; }
1870 YY_BREAK
1871 case 99:
1872 YY_RULE_SETUP
1873 #line 154 "scanner.l"
1874 { return SUP; }
1875 YY_BREAK
1876 case 100:
1877 YY_RULE_SETUP
1878 #line 155 "scanner.l"
1879 { return DIFF; }
1880 YY_BREAK
1881 case 101:
1882 YY_RULE_SETUP
1883 #line 156 "scanner.l"
1884 { return EQUAL; }
1885 YY_BREAK
1886 case 102:
1887 YY_RULE_SETUP
1888 #line 157 "scanner.l"
1889 { return GET; }
1890 YY_BREAK
1891 case 103:
1892 YY_RULE_SETUP
1893 #line 159 "scanner.l"
1894 { return WHILE; }
1895 YY_BREAK
1896 case 104:
1897 YY_RULE_SETUP
1898 #line 160 "scanner.l"
1899 { return CASE; }
1900 YY_BREAK
1901 case 105:
1902 YY_RULE_SETUP
1903 #line 161 "scanner.l"
1904 { return BEG; }
1905 YY_BREAK
1906 case 106:
1907 YY_RULE_SETUP
1908 #line 162 "scanner.l"
1909 { return POINT; }
1910 YY_BREAK
1911 case 107:
1912 YY_RULE_SETUP
1913 #line 163 "scanner.l"
1914 { return BEGF; }
1915 YY_BREAK
1916 case 108:
1917 YY_RULE_SETUP
1918 #line 164 "scanner.l"
1919 { return ENDF; }
1920 YY_BREAK
1921 case 109:
1922 YY_RULE_SETUP
1923 #line 167 "scanner.l"
1924 { yylval.number=atoi(yytext);
1925 return NUMBER;
1927 YY_BREAK
1928 case 110:
1929 YY_RULE_SETUP
1930 #line 171 "scanner.l"
1932 yylval.str=(char*) safestrdup(yytext+1);
1933 yylval.str[yyleng-1]='\0';
1934 return VAR;
1936 YY_BREAK
1937 case 111:
1938 /* rule 111 can match eol */
1939 YY_RULE_SETUP
1940 #line 177 "scanner.l"
1941 { /* Str entre "" */
1942 yylval.str=(char*) safestrdup(yytext+1);
1943 yylval.str[yyleng-2]='\0';
1944 return GSTR;
1946 YY_BREAK
1947 case 112:
1948 YY_RULE_SETUP
1949 #line 183 "scanner.l"
1950 { yylval.str=(char*) safestrdup(yytext);
1951 yylval.str[yyleng]='\0';
1952 return STR;
1954 YY_BREAK
1955 case 113:
1956 /* rule 113 can match eol */
1957 YY_RULE_SETUP
1958 #line 188 "scanner.l"
1959 { numligne++; }
1960 YY_BREAK
1961 case 114:
1962 YY_RULE_SETUP
1963 #line 189 "scanner.l"
1964 ECHO;
1965 YY_BREAK
1966 #line 1967 "lex.yy.c"
1967 case YY_STATE_EOF(INITIAL):
1968 yyterminate();
1970 case YY_END_OF_BUFFER:
1972 /* Amount of text matched not including the EOB char. */
1973 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1975 /* Undo the effects of YY_DO_BEFORE_ACTION. */
1976 *yy_cp = (yy_hold_char);
1977 YY_RESTORE_YY_MORE_OFFSET
1979 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1981 /* We're scanning a new file or input source. It's
1982 * possible that this happened because the user
1983 * just pointed yyin at a new source and called
1984 * yylex(). If so, then we have to assure
1985 * consistency between YY_CURRENT_BUFFER and our
1986 * globals. Here is the right place to do so, because
1987 * this is the first action (other than possibly a
1988 * back-up) that will match for the new input source.
1990 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1991 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1992 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1995 /* Note that here we test for yy_c_buf_p "<=" to the position
1996 * of the first EOB in the buffer, since yy_c_buf_p will
1997 * already have been incremented past the NUL character
1998 * (since all states make transitions on EOB to the
1999 * end-of-buffer state). Contrast this with the test
2000 * in input().
2002 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2003 { /* This was really a NUL. */
2004 yy_state_type yy_next_state;
2006 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
2008 yy_current_state = yy_get_previous_state( );
2010 /* Okay, we're now positioned to make the NUL
2011 * transition. We couldn't have
2012 * yy_get_previous_state() go ahead and do it
2013 * for us because it doesn't know how to deal
2014 * with the possibility of jamming (and we don't
2015 * want to build jamming into it because then it
2016 * will run more slowly).
2019 yy_next_state = yy_try_NUL_trans( yy_current_state );
2021 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2023 if ( yy_next_state )
2025 /* Consume the NUL. */
2026 yy_cp = ++(yy_c_buf_p);
2027 yy_current_state = yy_next_state;
2028 goto yy_match;
2031 else
2033 yy_cp = (yy_c_buf_p);
2034 goto yy_find_action;
2038 else switch ( yy_get_next_buffer( ) )
2040 case EOB_ACT_END_OF_FILE:
2042 (yy_did_buffer_switch_on_eof) = 0;
2044 if ( yywrap( ) )
2046 /* Note: because we've taken care in
2047 * yy_get_next_buffer() to have set up
2048 * yytext, we can now set up
2049 * yy_c_buf_p so that if some total
2050 * hoser (like flex itself) wants to
2051 * call the scanner after we return the
2052 * YY_NULL, it'll still work - another
2053 * YY_NULL will get returned.
2055 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
2057 yy_act = YY_STATE_EOF(YY_START);
2058 goto do_action;
2061 else
2063 if ( ! (yy_did_buffer_switch_on_eof) )
2064 YY_NEW_FILE;
2066 break;
2069 case EOB_ACT_CONTINUE_SCAN:
2070 (yy_c_buf_p) =
2071 (yytext_ptr) + yy_amount_of_matched_text;
2073 yy_current_state = yy_get_previous_state( );
2075 yy_cp = (yy_c_buf_p);
2076 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2077 goto yy_match;
2079 case EOB_ACT_LAST_MATCH:
2080 (yy_c_buf_p) =
2081 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
2083 yy_current_state = yy_get_previous_state( );
2085 yy_cp = (yy_c_buf_p);
2086 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2087 goto yy_find_action;
2089 break;
2092 default:
2093 YY_FATAL_ERROR(
2094 "fatal flex scanner internal error--no action found" );
2095 } /* end of action switch */
2096 } /* end of scanning one token */
2097 } /* end of yylex */
2099 /* yy_get_next_buffer - try to read in a new buffer
2101 * Returns a code representing an action:
2102 * EOB_ACT_LAST_MATCH -
2103 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2104 * EOB_ACT_END_OF_FILE - end of file
2106 static int yy_get_next_buffer (void)
2108 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
2109 register char *source = (yytext_ptr);
2110 register int number_to_move, i;
2111 int ret_val;
2113 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
2114 YY_FATAL_ERROR(
2115 "fatal flex scanner internal error--end of buffer missed" );
2117 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
2118 { /* Don't try to fill the buffer, so this is an EOF. */
2119 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
2121 /* We matched a single character, the EOB, so
2122 * treat this as a final EOF.
2124 return EOB_ACT_END_OF_FILE;
2127 else
2129 /* We matched some text prior to the EOB, first
2130 * process it.
2132 return EOB_ACT_LAST_MATCH;
2136 /* Try to read more data. */
2138 /* First move last chars to start of buffer. */
2139 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
2141 for ( i = 0; i < number_to_move; ++i )
2142 *(dest++) = *(source++);
2144 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2145 /* don't do the read, it's not guaranteed to return an EOF,
2146 * just force an EOF
2148 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
2150 else
2152 int num_to_read =
2153 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
2155 while ( num_to_read <= 0 )
2156 { /* Not enough room in the buffer - grow it. */
2158 /* just a shorter name for the current buffer */
2159 YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
2161 int yy_c_buf_p_offset =
2162 (int) ((yy_c_buf_p) - b->yy_ch_buf);
2164 if ( b->yy_is_our_buffer )
2166 int new_size = b->yy_buf_size * 2;
2168 if ( new_size <= 0 )
2169 b->yy_buf_size += b->yy_buf_size / 8;
2170 else
2171 b->yy_buf_size *= 2;
2173 b->yy_ch_buf = (char *)
2174 /* Include room in for 2 EOB chars. */
2175 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
2177 else
2178 /* Can't grow it, we don't own it. */
2179 b->yy_ch_buf = 0;
2181 if ( ! b->yy_ch_buf )
2182 YY_FATAL_ERROR(
2183 "fatal error - scanner input buffer overflow" );
2185 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
2187 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
2188 number_to_move - 1;
2192 if ( num_to_read > YY_READ_BUF_SIZE )
2193 num_to_read = YY_READ_BUF_SIZE;
2195 /* Read in more data. */
2196 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
2197 (yy_n_chars), (size_t) num_to_read );
2199 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2202 if ( (yy_n_chars) == 0 )
2204 if ( number_to_move == YY_MORE_ADJ )
2206 ret_val = EOB_ACT_END_OF_FILE;
2207 yyrestart(yyin );
2210 else
2212 ret_val = EOB_ACT_LAST_MATCH;
2213 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
2214 YY_BUFFER_EOF_PENDING;
2218 else
2219 ret_val = EOB_ACT_CONTINUE_SCAN;
2221 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2222 /* Extend the array by 50%, plus the number we really need. */
2223 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
2224 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
2225 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
2226 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
2229 (yy_n_chars) += number_to_move;
2230 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
2231 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
2233 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2235 return ret_val;
2238 /* yy_get_previous_state - get the state just before the EOB char was reached */
2240 static yy_state_type yy_get_previous_state (void)
2242 register yy_state_type yy_current_state;
2243 register char *yy_cp;
2245 yy_current_state = (yy_start);
2246 yy_current_state += YY_AT_BOL();
2248 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
2250 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2251 if ( yy_accept[yy_current_state] )
2253 (yy_last_accepting_state) = yy_current_state;
2254 (yy_last_accepting_cpos) = yy_cp;
2256 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2258 yy_current_state = (int) yy_def[yy_current_state];
2259 if ( yy_current_state >= 1059 )
2260 yy_c = yy_meta[(unsigned int) yy_c];
2262 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2265 return yy_current_state;
2268 /* yy_try_NUL_trans - try to make a transition on the NUL character
2270 * synopsis
2271 * next_state = yy_try_NUL_trans( current_state );
2273 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
2275 register int yy_is_jam;
2276 register char *yy_cp = (yy_c_buf_p);
2278 register YY_CHAR yy_c = 1;
2279 if ( yy_accept[yy_current_state] )
2281 (yy_last_accepting_state) = yy_current_state;
2282 (yy_last_accepting_cpos) = yy_cp;
2284 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2286 yy_current_state = (int) yy_def[yy_current_state];
2287 if ( yy_current_state >= 1059 )
2288 yy_c = yy_meta[(unsigned int) yy_c];
2290 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2291 yy_is_jam = (yy_current_state == 1058);
2293 return yy_is_jam ? 0 : yy_current_state;
2296 #ifndef YY_NO_INPUT
2297 #ifdef __cplusplus
2298 static int yyinput (void)
2299 #else
2300 static int input (void)
2301 #endif
2304 int c;
2306 *(yy_c_buf_p) = (yy_hold_char);
2308 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
2310 /* yy_c_buf_p now points to the character we want to return.
2311 * If this occurs *before* the EOB characters, then it's a
2312 * valid NUL; if not, then we've hit the end of the buffer.
2314 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2315 /* This was really a NUL. */
2316 *(yy_c_buf_p) = '\0';
2318 else
2319 { /* need more input */
2320 int offset = (yy_c_buf_p) - (yytext_ptr);
2321 ++(yy_c_buf_p);
2323 switch ( yy_get_next_buffer( ) )
2325 case EOB_ACT_LAST_MATCH:
2326 /* This happens because yy_g_n_b()
2327 * sees that we've accumulated a
2328 * token and flags that we need to
2329 * try matching the token before
2330 * proceeding. But for input(),
2331 * there's no matching to consider.
2332 * So convert the EOB_ACT_LAST_MATCH
2333 * to EOB_ACT_END_OF_FILE.
2336 /* Reset buffer status. */
2337 yyrestart(yyin );
2339 /*FALLTHROUGH*/
2341 case EOB_ACT_END_OF_FILE:
2343 if ( yywrap( ) )
2344 return EOF;
2346 if ( ! (yy_did_buffer_switch_on_eof) )
2347 YY_NEW_FILE;
2348 #ifdef __cplusplus
2349 return yyinput();
2350 #else
2351 return input();
2352 #endif
2355 case EOB_ACT_CONTINUE_SCAN:
2356 (yy_c_buf_p) = (yytext_ptr) + offset;
2357 break;
2362 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
2363 *(yy_c_buf_p) = '\0'; /* preserve yytext */
2364 (yy_hold_char) = *++(yy_c_buf_p);
2366 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
2368 return c;
2370 #endif /* ifndef YY_NO_INPUT */
2372 /** Immediately switch to a different input stream.
2373 * @param input_file A readable stream.
2375 * @note This function does not reset the start condition to @c INITIAL .
2377 void yyrestart (FILE * input_file )
2380 if ( ! YY_CURRENT_BUFFER ){
2381 yyensure_buffer_stack ();
2382 YY_CURRENT_BUFFER_LVALUE =
2383 yy_create_buffer(yyin,YY_BUF_SIZE );
2386 yy_init_buffer(YY_CURRENT_BUFFER,input_file );
2387 yy_load_buffer_state( );
2390 /** Switch to a different input buffer.
2391 * @param new_buffer The new input buffer.
2394 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
2397 /* TODO. We should be able to replace this entire function body
2398 * with
2399 * yypop_buffer_state();
2400 * yypush_buffer_state(new_buffer);
2402 yyensure_buffer_stack ();
2403 if ( YY_CURRENT_BUFFER == new_buffer )
2404 return;
2406 if ( YY_CURRENT_BUFFER )
2408 /* Flush out information for old buffer. */
2409 *(yy_c_buf_p) = (yy_hold_char);
2410 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
2411 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2414 YY_CURRENT_BUFFER_LVALUE = new_buffer;
2415 yy_load_buffer_state( );
2417 /* We don't actually know whether we did this switch during
2418 * EOF (yywrap()) processing, but the only time this flag
2419 * is looked at is after yywrap() is called, so it's safe
2420 * to go ahead and always set it.
2422 (yy_did_buffer_switch_on_eof) = 1;
2425 static void yy_load_buffer_state (void)
2427 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2428 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2429 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
2430 (yy_hold_char) = *(yy_c_buf_p);
2433 /** Allocate and initialize an input buffer state.
2434 * @param file A readable stream.
2435 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
2437 * @return the allocated buffer state.
2439 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
2441 YY_BUFFER_STATE b;
2443 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
2444 if ( ! b )
2445 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2447 b->yy_buf_size = size;
2449 /* yy_ch_buf has to be 2 characters longer than the size given because
2450 * we need to put in 2 end-of-buffer characters.
2452 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
2453 if ( ! b->yy_ch_buf )
2454 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2456 b->yy_is_our_buffer = 1;
2458 yy_init_buffer(b,file );
2460 return b;
2463 /** Destroy the buffer.
2464 * @param b a buffer created with yy_create_buffer()
2467 void yy_delete_buffer (YY_BUFFER_STATE b )
2470 if ( ! b )
2471 return;
2473 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
2474 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
2476 if ( b->yy_is_our_buffer )
2477 yyfree((void *) b->yy_ch_buf );
2479 yyfree((void *) b );
2482 #ifndef __cplusplus
2483 extern int isatty (int );
2484 #endif /* __cplusplus */
2486 /* Initializes or reinitializes a buffer.
2487 * This function is sometimes called more than once on the same buffer,
2488 * such as during a yyrestart() or at EOF.
2490 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
2493 int oerrno = errno;
2495 yy_flush_buffer(b );
2497 b->yy_input_file = file;
2498 b->yy_fill_buffer = 1;
2500 /* If b is the current buffer, then yy_init_buffer was _probably_
2501 * called from yyrestart() or through yy_get_next_buffer.
2502 * In that case, we don't want to reset the lineno or column.
2504 if (b != YY_CURRENT_BUFFER){
2505 b->yy_bs_lineno = 1;
2506 b->yy_bs_column = 0;
2509 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2511 errno = oerrno;
2514 /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
2515 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
2518 void yy_flush_buffer (YY_BUFFER_STATE b )
2520 if ( ! b )
2521 return;
2523 b->yy_n_chars = 0;
2525 /* We always need two end-of-buffer characters. The first causes
2526 * a transition to the end-of-buffer state. The second causes
2527 * a jam in that state.
2529 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2530 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2532 b->yy_buf_pos = &b->yy_ch_buf[0];
2534 b->yy_at_bol = 1;
2535 b->yy_buffer_status = YY_BUFFER_NEW;
2537 if ( b == YY_CURRENT_BUFFER )
2538 yy_load_buffer_state( );
2541 /** Pushes the new state onto the stack. The new state becomes
2542 * the current state. This function will allocate the stack
2543 * if necessary.
2544 * @param new_buffer The new state.
2547 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
2549 if (new_buffer == NULL)
2550 return;
2552 yyensure_buffer_stack();
2554 /* This block is copied from yy_switch_to_buffer. */
2555 if ( YY_CURRENT_BUFFER )
2557 /* Flush out information for old buffer. */
2558 *(yy_c_buf_p) = (yy_hold_char);
2559 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
2560 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2563 /* Only push if top exists. Otherwise, replace top. */
2564 if (YY_CURRENT_BUFFER)
2565 (yy_buffer_stack_top)++;
2566 YY_CURRENT_BUFFER_LVALUE = new_buffer;
2568 /* copied from yy_switch_to_buffer. */
2569 yy_load_buffer_state( );
2570 (yy_did_buffer_switch_on_eof) = 1;
2573 /** Removes and deletes the top of the stack, if present.
2574 * The next element becomes the new top.
2577 void yypop_buffer_state (void)
2579 if (!YY_CURRENT_BUFFER)
2580 return;
2582 yy_delete_buffer(YY_CURRENT_BUFFER );
2583 YY_CURRENT_BUFFER_LVALUE = NULL;
2584 if ((yy_buffer_stack_top) > 0)
2585 --(yy_buffer_stack_top);
2587 if (YY_CURRENT_BUFFER) {
2588 yy_load_buffer_state( );
2589 (yy_did_buffer_switch_on_eof) = 1;
2593 /* Allocates the stack if it does not exist.
2594 * Guarantees space for at least one push.
2596 static void yyensure_buffer_stack (void)
2598 int num_to_alloc;
2600 if (!(yy_buffer_stack)) {
2602 /* First allocation is just for 2 elements, since we don't know if this
2603 * scanner will even need a stack. We use 2 instead of 1 to avoid an
2604 * immediate realloc on the next call.
2606 num_to_alloc = 1;
2607 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
2608 (num_to_alloc * sizeof(struct yy_buffer_state*)
2610 if ( ! (yy_buffer_stack) )
2611 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2613 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2615 (yy_buffer_stack_max) = num_to_alloc;
2616 (yy_buffer_stack_top) = 0;
2617 return;
2620 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
2622 /* Increase the buffer to prepare for a possible push. */
2623 int grow_size = 8 /* arbitrary grow size */;
2625 num_to_alloc = (yy_buffer_stack_max) + grow_size;
2626 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
2627 ((yy_buffer_stack),
2628 num_to_alloc * sizeof(struct yy_buffer_state*)
2630 if ( ! (yy_buffer_stack) )
2631 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2633 /* zero only the new slots.*/
2634 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
2635 (yy_buffer_stack_max) = num_to_alloc;
2639 /** Setup the input buffer state to scan directly from a user-specified character buffer.
2640 * @param base the character buffer
2641 * @param size the size in bytes of the character buffer
2643 * @return the newly allocated buffer state object.
2645 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
2647 YY_BUFFER_STATE b;
2649 if ( size < 2 ||
2650 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2651 base[size-1] != YY_END_OF_BUFFER_CHAR )
2652 /* They forgot to leave room for the EOB's. */
2653 return 0;
2655 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
2656 if ( ! b )
2657 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2659 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2660 b->yy_buf_pos = b->yy_ch_buf = base;
2661 b->yy_is_our_buffer = 0;
2662 b->yy_input_file = 0;
2663 b->yy_n_chars = b->yy_buf_size;
2664 b->yy_is_interactive = 0;
2665 b->yy_at_bol = 1;
2666 b->yy_fill_buffer = 0;
2667 b->yy_buffer_status = YY_BUFFER_NEW;
2669 yy_switch_to_buffer(b );
2671 return b;
2674 /** Setup the input buffer state to scan a string. The next call to yylex() will
2675 * scan from a @e copy of @a str.
2676 * @param yystr a NUL-terminated string to scan
2678 * @return the newly allocated buffer state object.
2679 * @note If you want to scan bytes that may contain NUL values, then use
2680 * yy_scan_bytes() instead.
2682 YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
2685 return yy_scan_bytes(yystr,strlen(yystr) );
2688 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
2689 * scan from a @e copy of @a bytes.
2690 * @param yybytes the byte buffer to scan
2691 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
2693 * @return the newly allocated buffer state object.
2695 YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
2697 YY_BUFFER_STATE b;
2698 char *buf;
2699 yy_size_t n;
2700 int i;
2702 /* Get memory for full buffer, including space for trailing EOB's. */
2703 n = _yybytes_len + 2;
2704 buf = (char *) yyalloc(n );
2705 if ( ! buf )
2706 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2708 for ( i = 0; i < _yybytes_len; ++i )
2709 buf[i] = yybytes[i];
2711 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
2713 b = yy_scan_buffer(buf,n );
2714 if ( ! b )
2715 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2717 /* It's okay to grow etc. this buffer, and we should throw it
2718 * away when we're done.
2720 b->yy_is_our_buffer = 1;
2722 return b;
2725 #ifndef YY_EXIT_FAILURE
2726 #define YY_EXIT_FAILURE 2
2727 #endif
2729 static void yy_fatal_error (yyconst char* msg )
2731 (void) fprintf( stderr, "%s\n", msg );
2732 exit( YY_EXIT_FAILURE );
2735 /* Redefine yyless() so it works in section 3 code. */
2737 #undef yyless
2738 #define yyless(n) \
2739 do \
2741 /* Undo effects of setting up yytext. */ \
2742 int yyless_macro_arg = (n); \
2743 YY_LESS_LINENO(yyless_macro_arg);\
2744 yytext[yyleng] = (yy_hold_char); \
2745 (yy_c_buf_p) = yytext + yyless_macro_arg; \
2746 (yy_hold_char) = *(yy_c_buf_p); \
2747 *(yy_c_buf_p) = '\0'; \
2748 yyleng = yyless_macro_arg; \
2750 while ( 0 )
2752 /* Accessor methods (get/set functions) to struct members. */
2754 /** Get the current line number.
2757 int yyget_lineno (void)
2760 return yylineno;
2763 /** Get the input stream.
2766 FILE *yyget_in (void)
2768 return yyin;
2771 /** Get the output stream.
2774 FILE *yyget_out (void)
2776 return yyout;
2779 /** Get the length of the current token.
2782 int yyget_leng (void)
2784 return yyleng;
2787 /** Get the current token.
2791 char *yyget_text (void)
2793 return yytext;
2796 /** Set the current line number.
2797 * @param line_number
2800 void yyset_lineno (int line_number )
2803 yylineno = line_number;
2806 /** Set the input stream. This does not discard the current
2807 * input buffer.
2808 * @param in_str A readable stream.
2810 * @see yy_switch_to_buffer
2812 void yyset_in (FILE * in_str )
2814 yyin = in_str ;
2817 void yyset_out (FILE * out_str )
2819 yyout = out_str ;
2822 int yyget_debug (void)
2824 return yy_flex_debug;
2827 void yyset_debug (int bdebug )
2829 yy_flex_debug = bdebug ;
2832 static int yy_init_globals (void)
2834 /* Initialization is the same as for the non-reentrant scanner.
2835 * This function is called from yylex_destroy(), so don't allocate here.
2838 (yy_buffer_stack) = 0;
2839 (yy_buffer_stack_top) = 0;
2840 (yy_buffer_stack_max) = 0;
2841 (yy_c_buf_p) = (char *) 0;
2842 (yy_init) = 0;
2843 (yy_start) = 0;
2845 /* Defined in main.c */
2846 #ifdef YY_STDINIT
2847 yyin = stdin;
2848 yyout = stdout;
2849 #else
2850 yyin = (FILE *) 0;
2851 yyout = (FILE *) 0;
2852 #endif
2854 /* For future reference: Set errno on error, since we are called by
2855 * yylex_init()
2857 return 0;
2860 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2861 int yylex_destroy (void)
2864 /* Pop the buffer stack, destroying each element. */
2865 while(YY_CURRENT_BUFFER){
2866 yy_delete_buffer(YY_CURRENT_BUFFER );
2867 YY_CURRENT_BUFFER_LVALUE = NULL;
2868 yypop_buffer_state();
2871 /* Destroy the stack itself. */
2872 yyfree((yy_buffer_stack) );
2873 (yy_buffer_stack) = NULL;
2875 /* Reset the globals. This is important in a non-reentrant scanner so the next time
2876 * yylex() is called, initialization will occur. */
2877 yy_init_globals( );
2879 return 0;
2883 * Internal utility routines.
2886 #ifndef yytext_ptr
2887 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
2889 register int i;
2890 for ( i = 0; i < n; ++i )
2891 s1[i] = s2[i];
2893 #endif
2895 #ifdef YY_NEED_STRLEN
2896 static int yy_flex_strlen (yyconst char * s )
2898 register int n;
2899 for ( n = 0; s[n]; ++n )
2902 return n;
2904 #endif
2906 void *yyalloc (yy_size_t size )
2908 return (void *) malloc( size );
2911 void *yyrealloc (void * ptr, yy_size_t size )
2913 /* The cast to (char *) in the following accommodates both
2914 * implementations that use char* generic pointers, and those
2915 * that use void* generic pointers. It works with the latter
2916 * because both ANSI C and C++ allow castless assignment from
2917 * any pointer type to void*, and deal with argument conversions
2918 * as though doing an assignment.
2920 return (void *) realloc( (char *) ptr, size );
2923 void yyfree (void * ptr )
2925 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2928 #define YYTABLES_NAME "yytables"
2930 #line 189 "scanner.l"