Add generated files.
[platform/upstream/binutils.git] / binutils / deflex.c
1
2 #line 3 "deflex.c"
3
4 #define  YY_INT_ALIGNED short int
5
6 /* A lexical scanner generated by flex */
7
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
15
16 /* First, we deal with  platform-specific or compiler-specific issues. */
17
18 /* begin standard C headers. */
19 #include <stdio.h>
20 #include <string.h>
21 #include <errno.h>
22 #include <stdlib.h>
23
24 /* end standard C headers. */
25
26 /* flex integer type definitions */
27
28 #ifndef FLEXINT_H
29 #define FLEXINT_H
30
31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
32
33 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
34
35 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
36  * if you want the limit (max/min) macros for int types. 
37  */
38 #ifndef __STDC_LIMIT_MACROS
39 #define __STDC_LIMIT_MACROS 1
40 #endif
41
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 typedef uint64_t flex_uint64_t;
50 #else
51 typedef signed char flex_int8_t;
52 typedef short int flex_int16_t;
53 typedef int flex_int32_t;
54 typedef unsigned char flex_uint8_t; 
55 typedef unsigned short int flex_uint16_t;
56 typedef unsigned int flex_uint32_t;
57 #endif /* ! C99 */
58
59 /* Limits of integral types. */
60 #ifndef INT8_MIN
61 #define INT8_MIN               (-128)
62 #endif
63 #ifndef INT16_MIN
64 #define INT16_MIN              (-32767-1)
65 #endif
66 #ifndef INT32_MIN
67 #define INT32_MIN              (-2147483647-1)
68 #endif
69 #ifndef INT8_MAX
70 #define INT8_MAX               (127)
71 #endif
72 #ifndef INT16_MAX
73 #define INT16_MAX              (32767)
74 #endif
75 #ifndef INT32_MAX
76 #define INT32_MAX              (2147483647)
77 #endif
78 #ifndef UINT8_MAX
79 #define UINT8_MAX              (255U)
80 #endif
81 #ifndef UINT16_MAX
82 #define UINT16_MAX             (65535U)
83 #endif
84 #ifndef UINT32_MAX
85 #define UINT32_MAX             (4294967295U)
86 #endif
87
88 #endif /* ! FLEXINT_H */
89
90 #ifdef __cplusplus
91
92 /* The "const" storage-class-modifier is valid. */
93 #define YY_USE_CONST
94
95 #else   /* ! __cplusplus */
96
97 /* C99 requires __STDC__ to be defined as 1. */
98 #if defined (__STDC__)
99
100 #define YY_USE_CONST
101
102 #endif  /* defined (__STDC__) */
103 #endif  /* ! __cplusplus */
104
105 #ifdef YY_USE_CONST
106 #define yyconst const
107 #else
108 #define yyconst
109 #endif
110
111 /* Returned upon end-of-file. */
112 #define YY_NULL 0
113
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.
118  */
119 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
120
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.
124  */
125 #define BEGIN (yy_start) = 1 + 2 *
126
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.
130  */
131 #define YY_START (((yy_start) - 1) / 2)
132 #define YYSTATE YY_START
133
134 /* Action number for EOF rule of a given start state. */
135 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
136
137 /* Special action meaning "start processing a new file". */
138 #define YY_NEW_FILE yyrestart(yyin  )
139
140 #define YY_END_OF_BUFFER_CHAR 0
141
142 /* Size of default input buffer. */
143 #ifndef YY_BUF_SIZE
144 #define YY_BUF_SIZE 16384
145 #endif
146
147 /* The state buf must be large enough to hold one state per character in the main buffer.
148  */
149 #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
150
151 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
152 #define YY_TYPEDEF_YY_BUFFER_STATE
153 typedef struct yy_buffer_state *YY_BUFFER_STATE;
154 #endif
155
156 #ifndef YY_TYPEDEF_YY_SIZE_T
157 #define YY_TYPEDEF_YY_SIZE_T
158 typedef size_t yy_size_t;
159 #endif
160
161 extern yy_size_t yyleng;
162
163 extern FILE *yyin, *yyout;
164
165 #define EOB_ACT_CONTINUE_SCAN 0
166 #define EOB_ACT_END_OF_FILE 1
167 #define EOB_ACT_LAST_MATCH 2
168
169     #define YY_LESS_LINENO(n)
170     
171 /* Return all but the first "n" matched characters back to the input stream. */
172 #define yyless(n) \
173         do \
174                 { \
175                 /* Undo effects of setting up yytext. */ \
176         int yyless_macro_arg = (n); \
177         YY_LESS_LINENO(yyless_macro_arg);\
178                 *yy_cp = (yy_hold_char); \
179                 YY_RESTORE_YY_MORE_OFFSET \
180                 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
181                 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
182                 } \
183         while ( 0 )
184
185 #define unput(c) yyunput( c, (yytext_ptr)  )
186
187 #ifndef YY_STRUCT_YY_BUFFER_STATE
188 #define YY_STRUCT_YY_BUFFER_STATE
189 struct yy_buffer_state
190         {
191         FILE *yy_input_file;
192
193         char *yy_ch_buf;                /* input buffer */
194         char *yy_buf_pos;               /* current position in input buffer */
195
196         /* Size of input buffer in bytes, not including room for EOB
197          * characters.
198          */
199         yy_size_t yy_buf_size;
200
201         /* Number of characters read into yy_ch_buf, not including EOB
202          * characters.
203          */
204         yy_size_t yy_n_chars;
205
206         /* Whether we "own" the buffer - i.e., we know we created it,
207          * and can realloc() it to grow it, and should free() it to
208          * delete it.
209          */
210         int yy_is_our_buffer;
211
212         /* Whether this is an "interactive" input source; if so, and
213          * if we're using stdio for input, then we want to use getc()
214          * instead of fread(), to make sure we stop fetching input after
215          * each newline.
216          */
217         int yy_is_interactive;
218
219         /* Whether we're considered to be at the beginning of a line.
220          * If so, '^' rules will be active on the next match, otherwise
221          * not.
222          */
223         int yy_at_bol;
224
225     int yy_bs_lineno; /**< The line count. */
226     int yy_bs_column; /**< The column count. */
227     
228         /* Whether to try to fill the input buffer when we reach the
229          * end of it.
230          */
231         int yy_fill_buffer;
232
233         int yy_buffer_status;
234
235 #define YY_BUFFER_NEW 0
236 #define YY_BUFFER_NORMAL 1
237         /* When an EOF's been seen but there's still some text to process
238          * then we mark the buffer as YY_EOF_PENDING, to indicate that we
239          * shouldn't try reading from the input source any more.  We might
240          * still have a bunch of tokens to match, though, because of
241          * possible backing-up.
242          *
243          * When we actually see the EOF, we change the status to "new"
244          * (via yyrestart()), so that the user can continue scanning by
245          * just pointing yyin at a new input file.
246          */
247 #define YY_BUFFER_EOF_PENDING 2
248
249         };
250 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
251
252 /* Stack of input buffers. */
253 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
254 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
255 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
256
257 /* We provide macros for accessing buffer states in case in the
258  * future we want to put the buffer states in a more general
259  * "scanner state".
260  *
261  * Returns the top of the stack, or NULL.
262  */
263 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
264                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
265                           : NULL)
266
267 /* Same as previous macro, but useful when we know that the buffer stack is not
268  * NULL or when we need an lvalue. For internal use only.
269  */
270 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
271
272 /* yy_hold_char holds the character lost when yytext is formed. */
273 static char yy_hold_char;
274 static yy_size_t yy_n_chars;            /* number of characters read into yy_ch_buf */
275 yy_size_t yyleng;
276
277 /* Points to current character in buffer. */
278 static char *yy_c_buf_p = (char *) 0;
279 static int yy_init = 0;         /* whether we need to initialize */
280 static int yy_start = 0;        /* start state number */
281
282 /* Flag which is used to allow yywrap()'s to do buffer switches
283  * instead of setting up a fresh yyin.  A bit of a hack ...
284  */
285 static int yy_did_buffer_switch_on_eof;
286
287 void yyrestart (FILE *input_file  );
288 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
289 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
290 void yy_delete_buffer (YY_BUFFER_STATE b  );
291 void yy_flush_buffer (YY_BUFFER_STATE b  );
292 void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
293 void yypop_buffer_state (void );
294
295 static void yyensure_buffer_stack (void );
296 static void yy_load_buffer_state (void );
297 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
298
299 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
300
301 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
302 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
303 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
304
305 void *yyalloc (yy_size_t  );
306 void *yyrealloc (void *,yy_size_t  );
307 void yyfree (void *  );
308
309 #define yy_new_buffer yy_create_buffer
310
311 #define yy_set_interactive(is_interactive) \
312         { \
313         if ( ! YY_CURRENT_BUFFER ){ \
314         yyensure_buffer_stack (); \
315                 YY_CURRENT_BUFFER_LVALUE =    \
316             yy_create_buffer(yyin,YY_BUF_SIZE ); \
317         } \
318         YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
319         }
320
321 #define yy_set_bol(at_bol) \
322         { \
323         if ( ! YY_CURRENT_BUFFER ){\
324         yyensure_buffer_stack (); \
325                 YY_CURRENT_BUFFER_LVALUE =    \
326             yy_create_buffer(yyin,YY_BUF_SIZE ); \
327         } \
328         YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
329         }
330
331 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
332
333 /* Begin user sect3 */
334
335 typedef unsigned char YY_CHAR;
336
337 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
338
339 typedef int yy_state_type;
340
341 extern int yylineno;
342
343 int yylineno = 1;
344
345 extern char *yytext;
346 #define yytext_ptr yytext
347
348 static yy_state_type yy_get_previous_state (void );
349 static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
350 static int yy_get_next_buffer (void );
351 static void yy_fatal_error (yyconst char msg[]  );
352
353 /* Done after the current pattern has been matched and before the
354  * corresponding action - sets up yytext.
355  */
356 #define YY_DO_BEFORE_ACTION \
357         (yytext_ptr) = yy_bp; \
358         yyleng = (yy_size_t) (yy_cp - yy_bp); \
359         (yy_hold_char) = *yy_cp; \
360         *yy_cp = '\0'; \
361         (yy_c_buf_p) = yy_cp;
362
363 #define YY_NUM_RULES 42
364 #define YY_END_OF_BUFFER 43
365 /* This struct is not used in this scanner,
366    but its presence is necessary. */
367 struct yy_trans_info
368         {
369         flex_int32_t yy_verify;
370         flex_int32_t yy_nxt;
371         };
372 static yyconst flex_int16_t yy_accept[199] =
373     {   0,
374         0,    0,   43,   42,   34,   36,   35,   33,   42,   28,
375        42,   31,   41,   39,   27,   32,   38,   40,   28,   28,
376        28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
377        28,   28,   28,    0,   29,   28,    0,   30,   31,   27,
378        32,   37,   28,   28,   28,   28,   28,   28,   28,   28,
379        28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
380        28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
381        28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
382        28,   28,   28,   28,   28,   28,   28,   12,    6,   28,
383         7,   28,   28,   28,   28,   28,   28,   28,   28,    1,
384
385        28,   28,   28,   16,   28,   28,   28,   28,   28,   28,
386        28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
387        28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
388        28,   17,   28,   28,   28,   28,   28,   28,   28,   28,
389        28,   28,   14,   28,   28,   28,   19,   21,   28,   28,
390        28,   28,   28,   28,   18,    9,   28,   10,   28,   28,
391         2,   28,   28,   15,   28,   28,   28,   28,   11,   13,
392        28,    5,   28,   28,   22,   28,    8,   28,   28,   28,
393        28,   28,   28,   20,    4,   28,   28,   28,   24,   28,
394        26,   28,    3,   28,   28,   23,   25,    0
395
396     } ;
397
398 static yyconst flex_int32_t yy_ec[256] =
399     {   0,
400         1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
401         1,    1,    4,    1,    1,    1,    1,    1,    1,    1,
402         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
403         1,    5,    1,    6,    1,    7,    1,    1,    8,    1,
404         1,    9,    1,   10,    7,   11,   12,   13,   13,   13,
405        13,   13,   13,   13,   13,   13,   13,    7,   14,   12,
406        15,   12,    7,   16,   17,   18,   19,   20,   21,   22,
407        23,   24,   25,    7,   26,   27,   28,   29,   30,   31,
408         7,   32,   33,   34,   35,   36,   37,   38,   39,   40,
409         1,    1,    1,    1,    7,    1,   22,   22,   22,   22,
410
411        22,   22,    7,    7,    7,    7,    7,    7,    7,    7,
412         7,    7,    7,    7,    7,    7,    7,    7,    7,   22,
413         7,    7,    1,    1,    1,    1,    1,    1,    1,    1,
414         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
415         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
416         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
417         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
418         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
419         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
420         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
421
422         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
423         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
424         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
425         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
426         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
427         1,    1,    1,    1,    1
428     } ;
429
430 static yyconst flex_int32_t yy_meta[41] =
431     {   0,
432         1,    1,    2,    1,    1,    1,    3,    1,    1,    1,
433         1,    4,    5,    1,    1,    4,    6,    6,    6,    6,
434         6,    6,    3,    3,    3,    3,    3,    3,    3,    3,
435         3,    3,    3,    3,    3,    3,    3,    3,    3,    3
436     } ;
437
438 static yyconst flex_int16_t yy_base[206] =
439     {   0,
440         0,    0,  230,  231,  231,  231,  231,  231,  223,    0,
441       220,    0,  231,  231,    0,    0,  212,    0,  209,  195,
442        24,  186,  202,   14,  197,  186,   27,  188,  198,   25,
443       197,  196,  184,  209,  231,    0,  206,  231,    0,    0,
444         0,  231,    0,  180,   27,  178,  178,   27,  193,  178,
445       183,  189,  179,  177,  175,  178,  185,  182,  183,  170,
446       181,  165,  164,  170,  173,  172,  159,  174,  171,  170,
447       158,  156,  156,  151,  152,  149,  161,   34,  145,  160,
448       145,  146,  154,  157,  147,  141,  139,    0,    0,  138,
449         0,  139,  135,  137,  135,  135,   29,  149,  140,    0,
450
451       136,  139,  145,    0,  136,  139,  132,  132,   30,  132,
452       135,  138,  129,  119,  118,  126,  116,  122,  119,  115,
453       115,  124,  127,  109,  112,  121,  119,  106,  111,  108,
454       106,    0,  106,  103,  112,   99,   91,   97,   99,   95,
455        88,   99,    0,   93,  103,   94,    0,    0,   97,   91,
456        87,   90,   84,   83,    0,    0,   95,    0,   97,   80,
457         0,   92,   91,    0,   78,   70,   91,   74,    0,    0,
458        82,    0,   89,   88,    0,   84,    0,   82,   85,   83,
459        69,   66,   56,    0,    0,   39,   36,   35,    0,   44,
460         0,   43,    0,   40,   39,    0,    0,  231,   67,   71,
461
462        77,   83,   85,   91,   95
463     } ;
464
465 static yyconst flex_int16_t yy_def[206] =
466     {   0,
467       198,    1,  198,  198,  198,  198,  198,  198,  199,  200,
468       201,  202,  198,  198,  203,  204,  198,  205,  200,  200,
469       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
470       200,  200,  200,  199,  198,  200,  201,  198,  202,  203,
471       204,  198,  200,  200,  200,  200,  200,  200,  200,  200,
472       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
473       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
474       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
475       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
476       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
477
478       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
479       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
480       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
481       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
482       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
483       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
484       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
485       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
486       200,  200,  200,  200,  200,  200,  200,  200,  200,  200,
487       200,  200,  200,  200,  200,  200,  200,    0,  198,  198,
488
489       198,  198,  198,  198,  198
490     } ;
491
492 static yyconst flex_int16_t yy_nxt[272] =
493     {   0,
494         4,    5,    6,    7,    8,    9,   10,   11,   12,   13,
495        14,    4,   15,   16,   17,   18,   10,   19,   20,   21,
496        22,   10,   10,   23,   24,   10,   25,   26,   27,   10,
497        28,   29,   30,   31,   10,   32,   33,   10,   10,   10,
498        46,   50,   51,   54,   47,   58,   66,   70,   59,   60,
499       101,  118,  129,  119,  130,   67,   55,   71,   61,  197,
500       196,  195,  194,  193,  192,  191,  102,   34,   34,   34,
501        34,   34,   34,   36,   36,   36,   36,   37,   37,   37,
502        37,   37,   37,   39,  190,   39,   39,   39,   39,   40,
503        40,   41,  189,   41,   41,   41,   41,   43,  188,  187,
504
505        43,  186,  185,  184,  183,  182,  181,  180,  179,  178,
506       177,  176,  175,  174,  173,  172,  171,  170,  169,  168,
507       167,  166,  165,  164,  163,  162,  161,  160,  159,  158,
508       157,  156,  155,  154,  153,  152,  151,  150,  149,  148,
509       147,  146,  145,  144,  143,  142,  141,  140,  139,  138,
510       137,  136,  135,  134,  133,  132,  131,  128,  127,  126,
511       125,  124,  123,  122,  121,  120,  117,  116,  115,  114,
512       113,  112,  111,  110,  109,  108,  107,  106,  105,  104,
513       103,  100,   99,   98,   97,   96,   95,   94,   93,   92,
514        91,   90,   89,   88,   87,   86,   85,   84,   83,   82,
515
516        81,   80,   79,   78,   77,   76,   75,   74,   73,   72,
517        69,   68,   65,   38,   35,   64,   63,   62,   57,   56,
518        53,   52,   49,   48,   45,   44,   42,   38,   35,  198,
519         3,  198,  198,  198,  198,  198,  198,  198,  198,  198,
520       198,  198,  198,  198,  198,  198,  198,  198,  198,  198,
521       198,  198,  198,  198,  198,  198,  198,  198,  198,  198,
522       198,  198,  198,  198,  198,  198,  198,  198,  198,  198,
523       198
524     } ;
525
526 static yyconst flex_int16_t yy_chk[272] =
527     {   0,
528         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
529         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
530         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
531         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
532        21,   24,   24,   27,   21,   30,   45,   48,   30,   30,
533        78,   97,  109,   97,  109,   45,   27,   48,   30,  195,
534       194,  192,  190,  188,  187,  186,   78,  199,  199,  199,
535       199,  199,  199,  200,  200,  200,  200,  201,  201,  201,
536       201,  201,  201,  202,  183,  202,  202,  202,  202,  203,
537       203,  204,  182,  204,  204,  204,  204,  205,  181,  180,
538
539       205,  179,  178,  176,  174,  173,  171,  168,  167,  166,
540       165,  163,  162,  160,  159,  157,  154,  153,  152,  151,
541       150,  149,  146,  145,  144,  142,  141,  140,  139,  138,
542       137,  136,  135,  134,  133,  131,  130,  129,  128,  127,
543       126,  125,  124,  123,  122,  121,  120,  119,  118,  117,
544       116,  115,  114,  113,  112,  111,  110,  108,  107,  106,
545       105,  103,  102,  101,   99,   98,   96,   95,   94,   93,
546        92,   90,   87,   86,   85,   84,   83,   82,   81,   80,
547        79,   77,   76,   75,   74,   73,   72,   71,   70,   69,
548        68,   67,   66,   65,   64,   63,   62,   61,   60,   59,
549
550        58,   57,   56,   55,   54,   53,   52,   51,   50,   49,
551        47,   46,   44,   37,   34,   33,   32,   31,   29,   28,
552        26,   25,   23,   22,   20,   19,   17,   11,    9,    3,
553       198,  198,  198,  198,  198,  198,  198,  198,  198,  198,
554       198,  198,  198,  198,  198,  198,  198,  198,  198,  198,
555       198,  198,  198,  198,  198,  198,  198,  198,  198,  198,
556       198,  198,  198,  198,  198,  198,  198,  198,  198,  198,
557       198
558     } ;
559
560 static yy_state_type yy_last_accepting_state;
561 static char *yy_last_accepting_cpos;
562
563 extern int yy_flex_debug;
564 int yy_flex_debug = 0;
565
566 /* The intent behind this definition is that it'll catch
567  * any uses of REJECT which flex missed.
568  */
569 #define REJECT reject_used_but_not_detected
570 #define yymore() yymore_used_but_not_detected
571 #define YY_MORE_ADJ 0
572 #define YY_RESTORE_YY_MORE_OFFSET
573 char *yytext;
574 #line 1 "deflex.l"
575 #define YY_NO_INPUT 1
576 #line 4 "deflex.l"
577
578 /* Copyright (C) 1995-2014 Free Software Foundation, Inc.
579    
580    This file is part of GNU Binutils.
581    
582    This program is free software; you can redistribute it and/or modify
583    it under the terms of the GNU General Public License as published by
584    the Free Software Foundation; either version 3 of the License, or
585    (at your option) any later version.
586    
587    This program is distributed in the hope that it will be useful,
588    but WITHOUT ANY WARRANTY; without even the implied warranty of
589    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
590    GNU General Public License for more details.
591    
592    You should have received a copy of the GNU General Public License
593    along with this program; if not, write to the Free Software
594    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
595    MA 02110-1301, USA.  */
596
597
598 /* Contributed by Steve Chamberlain: sac@cygnus.com  */
599
600 #define DONTDECLARE_MALLOC
601 #include "libiberty.h"
602 #include "defparse.h"
603 #include "dlltool.h"
604
605 int linenumber;
606
607 #line 608 "deflex.c"
608
609 #define INITIAL 0
610
611 #ifndef YY_NO_UNISTD_H
612 /* Special case for "unistd.h", since it is non-ANSI. We include it way
613  * down here because we want the user's section 1 to have been scanned first.
614  * The user has a chance to override it with an option.
615  */
616 #include <unistd.h>
617 #endif
618
619 #ifndef YY_EXTRA_TYPE
620 #define YY_EXTRA_TYPE void *
621 #endif
622
623 static int yy_init_globals (void );
624
625 /* Accessor methods to globals.
626    These are made visible to non-reentrant scanners for convenience. */
627
628 int yylex_destroy (void );
629
630 int yyget_debug (void );
631
632 void yyset_debug (int debug_flag  );
633
634 YY_EXTRA_TYPE yyget_extra (void );
635
636 void yyset_extra (YY_EXTRA_TYPE user_defined  );
637
638 FILE *yyget_in (void );
639
640 void yyset_in  (FILE * in_str  );
641
642 FILE *yyget_out (void );
643
644 void yyset_out  (FILE * out_str  );
645
646 yy_size_t yyget_leng (void );
647
648 char *yyget_text (void );
649
650 int yyget_lineno (void );
651
652 void yyset_lineno (int line_number  );
653
654 /* Macros after this point can all be overridden by user definitions in
655  * section 1.
656  */
657
658 #ifndef YY_SKIP_YYWRAP
659 #ifdef __cplusplus
660 extern "C" int yywrap (void );
661 #else
662 extern int yywrap (void );
663 #endif
664 #endif
665
666 #ifndef yytext_ptr
667 static void yy_flex_strncpy (char *,yyconst char *,int );
668 #endif
669
670 #ifdef YY_NEED_STRLEN
671 static int yy_flex_strlen (yyconst char * );
672 #endif
673
674 #ifndef YY_NO_INPUT
675
676 #ifdef __cplusplus
677 static int yyinput (void );
678 #else
679 static int input (void );
680 #endif
681
682 #endif
683
684 /* Amount of stuff to slurp up with each read. */
685 #ifndef YY_READ_BUF_SIZE
686 #define YY_READ_BUF_SIZE 8192
687 #endif
688
689 /* Copy whatever the last rule matched to the standard output. */
690 #ifndef ECHO
691 /* This used to be an fputs(), but since the string might contain NUL's,
692  * we now use fwrite().
693  */
694 #define ECHO fwrite( yytext, yyleng, 1, yyout )
695 #endif
696
697 /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
698  * is returned in "result".
699  */
700 #ifndef YY_INPUT
701 #define YY_INPUT(buf,result,max_size) \
702         if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
703                 { \
704                 int c = '*'; \
705                 yy_size_t n; \
706                 for ( n = 0; n < max_size && \
707                              (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
708                         buf[n] = (char) c; \
709                 if ( c == '\n' ) \
710                         buf[n++] = (char) c; \
711                 if ( c == EOF && ferror( yyin ) ) \
712                         YY_FATAL_ERROR( "input in flex scanner failed" ); \
713                 result = n; \
714                 } \
715         else \
716                 { \
717                 errno=0; \
718                 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
719                         { \
720                         if( errno != EINTR) \
721                                 { \
722                                 YY_FATAL_ERROR( "input in flex scanner failed" ); \
723                                 break; \
724                                 } \
725                         errno=0; \
726                         clearerr(yyin); \
727                         } \
728                 }\
729 \
730
731 #endif
732
733 /* No semi-colon after return; correct usage is to write "yyterminate();" -
734  * we don't want an extra ';' after the "return" because that will cause
735  * some compilers to complain about unreachable statements.
736  */
737 #ifndef yyterminate
738 #define yyterminate() return YY_NULL
739 #endif
740
741 /* Number of entries by which start-condition stack grows. */
742 #ifndef YY_START_STACK_INCR
743 #define YY_START_STACK_INCR 25
744 #endif
745
746 /* Report a fatal error. */
747 #ifndef YY_FATAL_ERROR
748 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
749 #endif
750
751 /* end tables serialization structures and prototypes */
752
753 /* Default declaration of generated scanner - a define so the user can
754  * easily add parameters.
755  */
756 #ifndef YY_DECL
757 #define YY_DECL_IS_OURS 1
758
759 extern int yylex (void);
760
761 #define YY_DECL int yylex (void)
762 #endif /* !YY_DECL */
763
764 /* Code executed at the beginning of each rule, after yytext and yyleng
765  * have been set up.
766  */
767 #ifndef YY_USER_ACTION
768 #define YY_USER_ACTION
769 #endif
770
771 /* Code executed at the end of each rule. */
772 #ifndef YY_BREAK
773 #define YY_BREAK break;
774 #endif
775
776 #define YY_RULE_SETUP \
777         YY_USER_ACTION
778
779 /** The main scanner function which does all the work.
780  */
781 YY_DECL
782 {
783         register yy_state_type yy_current_state;
784         register char *yy_cp, *yy_bp;
785         register int yy_act;
786     
787 #line 35 "deflex.l"
788
789 #line 790 "deflex.c"
790
791         if ( !(yy_init) )
792                 {
793                 (yy_init) = 1;
794
795 #ifdef YY_USER_INIT
796                 YY_USER_INIT;
797 #endif
798
799                 if ( ! (yy_start) )
800                         (yy_start) = 1; /* first start state */
801
802                 if ( ! yyin )
803                         yyin = stdin;
804
805                 if ( ! yyout )
806                         yyout = stdout;
807
808                 if ( ! YY_CURRENT_BUFFER ) {
809                         yyensure_buffer_stack ();
810                         YY_CURRENT_BUFFER_LVALUE =
811                                 yy_create_buffer(yyin,YY_BUF_SIZE );
812                 }
813
814                 yy_load_buffer_state( );
815                 }
816
817         while ( 1 )             /* loops until end-of-file is reached */
818                 {
819                 yy_cp = (yy_c_buf_p);
820
821                 /* Support of yytext. */
822                 *yy_cp = (yy_hold_char);
823
824                 /* yy_bp points to the position in yy_ch_buf of the start of
825                  * the current run.
826                  */
827                 yy_bp = yy_cp;
828
829                 yy_current_state = (yy_start);
830 yy_match:
831                 do
832                         {
833                         register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
834                         if ( yy_accept[yy_current_state] )
835                                 {
836                                 (yy_last_accepting_state) = yy_current_state;
837                                 (yy_last_accepting_cpos) = yy_cp;
838                                 }
839                         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
840                                 {
841                                 yy_current_state = (int) yy_def[yy_current_state];
842                                 if ( yy_current_state >= 199 )
843                                         yy_c = yy_meta[(unsigned int) yy_c];
844                                 }
845                         yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
846                         ++yy_cp;
847                         }
848                 while ( yy_base[yy_current_state] != 231 );
849
850 yy_find_action:
851                 yy_act = yy_accept[yy_current_state];
852                 if ( yy_act == 0 )
853                         { /* have to back up */
854                         yy_cp = (yy_last_accepting_cpos);
855                         yy_current_state = (yy_last_accepting_state);
856                         yy_act = yy_accept[yy_current_state];
857                         }
858
859                 YY_DO_BEFORE_ACTION;
860
861 do_action:      /* This label is used only to access EOF actions. */
862
863                 switch ( yy_act )
864         { /* beginning of action switch */
865                         case 0: /* must back up */
866                         /* undo the effects of YY_DO_BEFORE_ACTION */
867                         *yy_cp = (yy_hold_char);
868                         yy_cp = (yy_last_accepting_cpos);
869                         yy_current_state = (yy_last_accepting_state);
870                         goto yy_find_action;
871
872 case 1:
873 YY_RULE_SETUP
874 #line 36 "deflex.l"
875 { return NAME;}
876         YY_BREAK
877 case 2:
878 YY_RULE_SETUP
879 #line 37 "deflex.l"
880 { return LIBRARY;}
881         YY_BREAK
882 case 3:
883 YY_RULE_SETUP
884 #line 38 "deflex.l"
885 { return DESCRIPTION;}
886         YY_BREAK
887 case 4:
888 YY_RULE_SETUP
889 #line 39 "deflex.l"
890 { return STACKSIZE;}
891         YY_BREAK
892 case 5:
893 YY_RULE_SETUP
894 #line 40 "deflex.l"
895 { return HEAPSIZE;}
896         YY_BREAK
897 case 6:
898 YY_RULE_SETUP
899 #line 41 "deflex.l"
900 { return CODE;}
901         YY_BREAK
902 case 7:
903 YY_RULE_SETUP
904 #line 42 "deflex.l"
905 { return DATA;}
906         YY_BREAK
907 case 8:
908 YY_RULE_SETUP
909 #line 43 "deflex.l"
910 { return SECTIONS;}
911         YY_BREAK
912 case 9:
913 YY_RULE_SETUP
914 #line 44 "deflex.l"
915 { return EXPORTS;}
916         YY_BREAK
917 case 10:
918 YY_RULE_SETUP
919 #line 45 "deflex.l"
920 { return IMPORTS;}
921         YY_BREAK
922 case 11:
923 YY_RULE_SETUP
924 #line 46 "deflex.l"
925 { return VERSIONK;}
926         YY_BREAK
927 case 12:
928 YY_RULE_SETUP
929 #line 47 "deflex.l"
930 { return BASE;}
931         YY_BREAK
932 case 13:
933 YY_RULE_SETUP
934 #line 48 "deflex.l"
935 { return CONSTANT; }
936         YY_BREAK
937 case 14:
938 YY_RULE_SETUP
939 #line 49 "deflex.l"
940 { return NONAME; }
941         YY_BREAK
942 case 15:
943 YY_RULE_SETUP
944 #line 50 "deflex.l"
945 { return PRIVATE; }
946         YY_BREAK
947 case 16:
948 YY_RULE_SETUP
949 #line 51 "deflex.l"
950 { return READ;}
951         YY_BREAK
952 case 17:
953 YY_RULE_SETUP
954 #line 52 "deflex.l"
955 { return WRITE;}
956         YY_BREAK
957 case 18:
958 YY_RULE_SETUP
959 #line 53 "deflex.l"
960 { return EXECUTE;}
961         YY_BREAK
962 case 19:
963 YY_RULE_SETUP
964 #line 54 "deflex.l"
965 { return SHARED;}
966         YY_BREAK
967 case 20:
968 YY_RULE_SETUP
969 #line 55 "deflex.l"
970 { return NONSHARED;}
971         YY_BREAK
972 case 21:
973 YY_RULE_SETUP
974 #line 56 "deflex.l"
975 { return SINGLE;}
976         YY_BREAK
977 case 22:
978 YY_RULE_SETUP
979 #line 57 "deflex.l"
980 { return MULTIPLE;}
981         YY_BREAK
982 case 23:
983 YY_RULE_SETUP
984 #line 58 "deflex.l"
985 { return INITINSTANCE;}
986         YY_BREAK
987 case 24:
988 YY_RULE_SETUP
989 #line 59 "deflex.l"
990 { return INITGLOBAL;}
991         YY_BREAK
992 case 25:
993 YY_RULE_SETUP
994 #line 60 "deflex.l"
995 { return TERMINSTANCE;}
996         YY_BREAK
997 case 26:
998 YY_RULE_SETUP
999 #line 61 "deflex.l"
1000 { return TERMGLOBAL;}
1001         YY_BREAK
1002 case 27:
1003 YY_RULE_SETUP
1004 #line 63 "deflex.l"
1005 { yylval.number = strtol (yytext,0,0); 
1006                 return NUMBER; }
1007         YY_BREAK
1008 case 28:
1009 YY_RULE_SETUP
1010 #line 66 "deflex.l"
1011 {       
1012                 yylval.id =  xstrdup (yytext);
1013                 return ID;
1014                 }
1015         YY_BREAK
1016 case 29:
1017 /* rule 29 can match eol */
1018 YY_RULE_SETUP
1019 #line 71 "deflex.l"
1020 {
1021                 yylval.id = xstrdup (yytext+1);
1022                 yylval.id[yyleng-2] = 0;
1023                 return ID;
1024                 }
1025         YY_BREAK
1026 case 30:
1027 /* rule 30 can match eol */
1028 YY_RULE_SETUP
1029 #line 77 "deflex.l"
1030 {
1031                 yylval.id = xstrdup (yytext+1);
1032                 yylval.id[yyleng-2] = 0;
1033                 return ID;
1034                 }
1035         YY_BREAK
1036 case 31:
1037 YY_RULE_SETUP
1038 #line 82 "deflex.l"
1039 { }
1040         YY_BREAK
1041 case 32:
1042 YY_RULE_SETUP
1043 #line 83 "deflex.l"
1044 { }
1045         YY_BREAK
1046 case 33:
1047 YY_RULE_SETUP
1048 #line 84 "deflex.l"
1049 { }
1050         YY_BREAK
1051 case 34:
1052 YY_RULE_SETUP
1053 #line 85 "deflex.l"
1054 { }
1055         YY_BREAK
1056 case 35:
1057 YY_RULE_SETUP
1058 #line 86 "deflex.l"
1059 { }
1060         YY_BREAK
1061 case 36:
1062 /* rule 36 can match eol */
1063 YY_RULE_SETUP
1064 #line 87 "deflex.l"
1065 { linenumber ++ ;}
1066         YY_BREAK
1067 case 37:
1068 YY_RULE_SETUP
1069 #line 88 "deflex.l"
1070 { return EQUAL;}
1071         YY_BREAK
1072 case 38:
1073 YY_RULE_SETUP
1074 #line 89 "deflex.l"
1075 { return '=';}
1076         YY_BREAK
1077 case 39:
1078 YY_RULE_SETUP
1079 #line 90 "deflex.l"
1080 { return '.';}
1081         YY_BREAK
1082 case 40:
1083 YY_RULE_SETUP
1084 #line 91 "deflex.l"
1085 { return '@';}
1086         YY_BREAK
1087 case 41:
1088 YY_RULE_SETUP
1089 #line 92 "deflex.l"
1090 { return ',';}
1091         YY_BREAK
1092 case 42:
1093 YY_RULE_SETUP
1094 #line 93 "deflex.l"
1095 ECHO;
1096         YY_BREAK
1097 #line 1098 "deflex.c"
1098 case YY_STATE_EOF(INITIAL):
1099         yyterminate();
1100
1101         case YY_END_OF_BUFFER:
1102                 {
1103                 /* Amount of text matched not including the EOB char. */
1104                 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1105
1106                 /* Undo the effects of YY_DO_BEFORE_ACTION. */
1107                 *yy_cp = (yy_hold_char);
1108                 YY_RESTORE_YY_MORE_OFFSET
1109
1110                 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1111                         {
1112                         /* We're scanning a new file or input source.  It's
1113                          * possible that this happened because the user
1114                          * just pointed yyin at a new source and called
1115                          * yylex().  If so, then we have to assure
1116                          * consistency between YY_CURRENT_BUFFER and our
1117                          * globals.  Here is the right place to do so, because
1118                          * this is the first action (other than possibly a
1119                          * back-up) that will match for the new input source.
1120                          */
1121                         (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1122                         YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1123                         YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1124                         }
1125
1126                 /* Note that here we test for yy_c_buf_p "<=" to the position
1127                  * of the first EOB in the buffer, since yy_c_buf_p will
1128                  * already have been incremented past the NUL character
1129                  * (since all states make transitions on EOB to the
1130                  * end-of-buffer state).  Contrast this with the test
1131                  * in input().
1132                  */
1133                 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1134                         { /* This was really a NUL. */
1135                         yy_state_type yy_next_state;
1136
1137                         (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1138
1139                         yy_current_state = yy_get_previous_state(  );
1140
1141                         /* Okay, we're now positioned to make the NUL
1142                          * transition.  We couldn't have
1143                          * yy_get_previous_state() go ahead and do it
1144                          * for us because it doesn't know how to deal
1145                          * with the possibility of jamming (and we don't
1146                          * want to build jamming into it because then it
1147                          * will run more slowly).
1148                          */
1149
1150                         yy_next_state = yy_try_NUL_trans( yy_current_state );
1151
1152                         yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1153
1154                         if ( yy_next_state )
1155                                 {
1156                                 /* Consume the NUL. */
1157                                 yy_cp = ++(yy_c_buf_p);
1158                                 yy_current_state = yy_next_state;
1159                                 goto yy_match;
1160                                 }
1161
1162                         else
1163                                 {
1164                                 yy_cp = (yy_c_buf_p);
1165                                 goto yy_find_action;
1166                                 }
1167                         }
1168
1169                 else switch ( yy_get_next_buffer(  ) )
1170                         {
1171                         case EOB_ACT_END_OF_FILE:
1172                                 {
1173                                 (yy_did_buffer_switch_on_eof) = 0;
1174
1175                                 if ( yywrap( ) )
1176                                         {
1177                                         /* Note: because we've taken care in
1178                                          * yy_get_next_buffer() to have set up
1179                                          * yytext, we can now set up
1180                                          * yy_c_buf_p so that if some total
1181                                          * hoser (like flex itself) wants to
1182                                          * call the scanner after we return the
1183                                          * YY_NULL, it'll still work - another
1184                                          * YY_NULL will get returned.
1185                                          */
1186                                         (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1187
1188                                         yy_act = YY_STATE_EOF(YY_START);
1189                                         goto do_action;
1190                                         }
1191
1192                                 else
1193                                         {
1194                                         if ( ! (yy_did_buffer_switch_on_eof) )
1195                                                 YY_NEW_FILE;
1196                                         }
1197                                 break;
1198                                 }
1199
1200                         case EOB_ACT_CONTINUE_SCAN:
1201                                 (yy_c_buf_p) =
1202                                         (yytext_ptr) + yy_amount_of_matched_text;
1203
1204                                 yy_current_state = yy_get_previous_state(  );
1205
1206                                 yy_cp = (yy_c_buf_p);
1207                                 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1208                                 goto yy_match;
1209
1210                         case EOB_ACT_LAST_MATCH:
1211                                 (yy_c_buf_p) =
1212                                 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1213
1214                                 yy_current_state = yy_get_previous_state(  );
1215
1216                                 yy_cp = (yy_c_buf_p);
1217                                 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1218                                 goto yy_find_action;
1219                         }
1220                 break;
1221                 }
1222
1223         default:
1224                 YY_FATAL_ERROR(
1225                         "fatal flex scanner internal error--no action found" );
1226         } /* end of action switch */
1227                 } /* end of scanning one token */
1228 } /* end of yylex */
1229
1230 /* yy_get_next_buffer - try to read in a new buffer
1231  *
1232  * Returns a code representing an action:
1233  *      EOB_ACT_LAST_MATCH -
1234  *      EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1235  *      EOB_ACT_END_OF_FILE - end of file
1236  */
1237 static int yy_get_next_buffer (void)
1238 {
1239         register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1240         register char *source = (yytext_ptr);
1241         register int number_to_move, i;
1242         int ret_val;
1243
1244         if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1245                 YY_FATAL_ERROR(
1246                 "fatal flex scanner internal error--end of buffer missed" );
1247
1248         if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1249                 { /* Don't try to fill the buffer, so this is an EOF. */
1250                 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1251                         {
1252                         /* We matched a single character, the EOB, so
1253                          * treat this as a final EOF.
1254                          */
1255                         return EOB_ACT_END_OF_FILE;
1256                         }
1257
1258                 else
1259                         {
1260                         /* We matched some text prior to the EOB, first
1261                          * process it.
1262                          */
1263                         return EOB_ACT_LAST_MATCH;
1264                         }
1265                 }
1266
1267         /* Try to read more data. */
1268
1269         /* First move last chars to start of buffer. */
1270         number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
1271
1272         for ( i = 0; i < number_to_move; ++i )
1273                 *(dest++) = *(source++);
1274
1275         if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1276                 /* don't do the read, it's not guaranteed to return an EOF,
1277                  * just force an EOF
1278                  */
1279                 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1280
1281         else
1282                 {
1283                         yy_size_t num_to_read =
1284                         YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1285
1286                 while ( num_to_read <= 0 )
1287                         { /* Not enough room in the buffer - grow it. */
1288
1289                         /* just a shorter name for the current buffer */
1290                         YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
1291
1292                         int yy_c_buf_p_offset =
1293                                 (int) ((yy_c_buf_p) - b->yy_ch_buf);
1294
1295                         if ( b->yy_is_our_buffer )
1296                                 {
1297                                 yy_size_t new_size = b->yy_buf_size * 2;
1298
1299                                 if ( new_size <= 0 )
1300                                         b->yy_buf_size += b->yy_buf_size / 8;
1301                                 else
1302                                         b->yy_buf_size *= 2;
1303
1304                                 b->yy_ch_buf = (char *)
1305                                         /* Include room in for 2 EOB chars. */
1306                                         yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2  );
1307                                 }
1308                         else
1309                                 /* Can't grow it, we don't own it. */
1310                                 b->yy_ch_buf = 0;
1311
1312                         if ( ! b->yy_ch_buf )
1313                                 YY_FATAL_ERROR(
1314                                 "fatal error - scanner input buffer overflow" );
1315
1316                         (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1317
1318                         num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1319                                                 number_to_move - 1;
1320
1321                         }
1322
1323                 if ( num_to_read > YY_READ_BUF_SIZE )
1324                         num_to_read = YY_READ_BUF_SIZE;
1325
1326                 /* Read in more data. */
1327                 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1328                         (yy_n_chars), num_to_read );
1329
1330                 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1331                 }
1332
1333         if ( (yy_n_chars) == 0 )
1334                 {
1335                 if ( number_to_move == YY_MORE_ADJ )
1336                         {
1337                         ret_val = EOB_ACT_END_OF_FILE;
1338                         yyrestart(yyin  );
1339                         }
1340
1341                 else
1342                         {
1343                         ret_val = EOB_ACT_LAST_MATCH;
1344                         YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1345                                 YY_BUFFER_EOF_PENDING;
1346                         }
1347                 }
1348
1349         else
1350                 ret_val = EOB_ACT_CONTINUE_SCAN;
1351
1352         if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1353                 /* Extend the array by 50%, plus the number we really need. */
1354                 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1355                 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
1356                 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1357                         YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1358         }
1359
1360         (yy_n_chars) += number_to_move;
1361         YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1362         YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1363
1364         (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1365
1366         return ret_val;
1367 }
1368
1369 /* yy_get_previous_state - get the state just before the EOB char was reached */
1370
1371     static yy_state_type yy_get_previous_state (void)
1372 {
1373         register yy_state_type yy_current_state;
1374         register char *yy_cp;
1375     
1376         yy_current_state = (yy_start);
1377
1378         for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1379                 {
1380                 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1381                 if ( yy_accept[yy_current_state] )
1382                         {
1383                         (yy_last_accepting_state) = yy_current_state;
1384                         (yy_last_accepting_cpos) = yy_cp;
1385                         }
1386                 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1387                         {
1388                         yy_current_state = (int) yy_def[yy_current_state];
1389                         if ( yy_current_state >= 199 )
1390                                 yy_c = yy_meta[(unsigned int) yy_c];
1391                         }
1392                 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1393                 }
1394
1395         return yy_current_state;
1396 }
1397
1398 /* yy_try_NUL_trans - try to make a transition on the NUL character
1399  *
1400  * synopsis
1401  *      next_state = yy_try_NUL_trans( current_state );
1402  */
1403     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
1404 {
1405         register int yy_is_jam;
1406         register char *yy_cp = (yy_c_buf_p);
1407
1408         register YY_CHAR yy_c = 1;
1409         if ( yy_accept[yy_current_state] )
1410                 {
1411                 (yy_last_accepting_state) = yy_current_state;
1412                 (yy_last_accepting_cpos) = yy_cp;
1413                 }
1414         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1415                 {
1416                 yy_current_state = (int) yy_def[yy_current_state];
1417                 if ( yy_current_state >= 199 )
1418                         yy_c = yy_meta[(unsigned int) yy_c];
1419                 }
1420         yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1421         yy_is_jam = (yy_current_state == 198);
1422
1423         return yy_is_jam ? 0 : yy_current_state;
1424 }
1425
1426 #ifndef YY_NO_INPUT
1427 #ifdef __cplusplus
1428     static int yyinput (void)
1429 #else
1430     static int input  (void)
1431 #endif
1432
1433 {
1434         int c;
1435     
1436         *(yy_c_buf_p) = (yy_hold_char);
1437
1438         if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1439                 {
1440                 /* yy_c_buf_p now points to the character we want to return.
1441                  * If this occurs *before* the EOB characters, then it's a
1442                  * valid NUL; if not, then we've hit the end of the buffer.
1443                  */
1444                 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1445                         /* This was really a NUL. */
1446                         *(yy_c_buf_p) = '\0';
1447
1448                 else
1449                         { /* need more input */
1450                         yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
1451                         ++(yy_c_buf_p);
1452
1453                         switch ( yy_get_next_buffer(  ) )
1454                                 {
1455                                 case EOB_ACT_LAST_MATCH:
1456                                         /* This happens because yy_g_n_b()
1457                                          * sees that we've accumulated a
1458                                          * token and flags that we need to
1459                                          * try matching the token before
1460                                          * proceeding.  But for input(),
1461                                          * there's no matching to consider.
1462                                          * So convert the EOB_ACT_LAST_MATCH
1463                                          * to EOB_ACT_END_OF_FILE.
1464                                          */
1465
1466                                         /* Reset buffer status. */
1467                                         yyrestart(yyin );
1468
1469                                         /*FALLTHROUGH*/
1470
1471                                 case EOB_ACT_END_OF_FILE:
1472                                         {
1473                                         if ( yywrap( ) )
1474                                                 return 0;
1475
1476                                         if ( ! (yy_did_buffer_switch_on_eof) )
1477                                                 YY_NEW_FILE;
1478 #ifdef __cplusplus
1479                                         return yyinput();
1480 #else
1481                                         return input();
1482 #endif
1483                                         }
1484
1485                                 case EOB_ACT_CONTINUE_SCAN:
1486                                         (yy_c_buf_p) = (yytext_ptr) + offset;
1487                                         break;
1488                                 }
1489                         }
1490                 }
1491
1492         c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
1493         *(yy_c_buf_p) = '\0';   /* preserve yytext */
1494         (yy_hold_char) = *++(yy_c_buf_p);
1495
1496         return c;
1497 }
1498 #endif  /* ifndef YY_NO_INPUT */
1499
1500 /** Immediately switch to a different input stream.
1501  * @param input_file A readable stream.
1502  * 
1503  * @note This function does not reset the start condition to @c INITIAL .
1504  */
1505     void yyrestart  (FILE * input_file )
1506 {
1507     
1508         if ( ! YY_CURRENT_BUFFER ){
1509         yyensure_buffer_stack ();
1510                 YY_CURRENT_BUFFER_LVALUE =
1511             yy_create_buffer(yyin,YY_BUF_SIZE );
1512         }
1513
1514         yy_init_buffer(YY_CURRENT_BUFFER,input_file );
1515         yy_load_buffer_state( );
1516 }
1517
1518 /** Switch to a different input buffer.
1519  * @param new_buffer The new input buffer.
1520  * 
1521  */
1522     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
1523 {
1524     
1525         /* TODO. We should be able to replace this entire function body
1526          * with
1527          *              yypop_buffer_state();
1528          *              yypush_buffer_state(new_buffer);
1529      */
1530         yyensure_buffer_stack ();
1531         if ( YY_CURRENT_BUFFER == new_buffer )
1532                 return;
1533
1534         if ( YY_CURRENT_BUFFER )
1535                 {
1536                 /* Flush out information for old buffer. */
1537                 *(yy_c_buf_p) = (yy_hold_char);
1538                 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1539                 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1540                 }
1541
1542         YY_CURRENT_BUFFER_LVALUE = new_buffer;
1543         yy_load_buffer_state( );
1544
1545         /* We don't actually know whether we did this switch during
1546          * EOF (yywrap()) processing, but the only time this flag
1547          * is looked at is after yywrap() is called, so it's safe
1548          * to go ahead and always set it.
1549          */
1550         (yy_did_buffer_switch_on_eof) = 1;
1551 }
1552
1553 static void yy_load_buffer_state  (void)
1554 {
1555         (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1556         (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1557         yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1558         (yy_hold_char) = *(yy_c_buf_p);
1559 }
1560
1561 /** Allocate and initialize an input buffer state.
1562  * @param file A readable stream.
1563  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1564  * 
1565  * @return the allocated buffer state.
1566  */
1567     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
1568 {
1569         YY_BUFFER_STATE b;
1570     
1571         b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
1572         if ( ! b )
1573                 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1574
1575         b->yy_buf_size = size;
1576
1577         /* yy_ch_buf has to be 2 characters longer than the size given because
1578          * we need to put in 2 end-of-buffer characters.
1579          */
1580         b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
1581         if ( ! b->yy_ch_buf )
1582                 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1583
1584         b->yy_is_our_buffer = 1;
1585
1586         yy_init_buffer(b,file );
1587
1588         return b;
1589 }
1590
1591 /** Destroy the buffer.
1592  * @param b a buffer created with yy_create_buffer()
1593  * 
1594  */
1595     void yy_delete_buffer (YY_BUFFER_STATE  b )
1596 {
1597     
1598         if ( ! b )
1599                 return;
1600
1601         if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1602                 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
1603
1604         if ( b->yy_is_our_buffer )
1605                 yyfree((void *) b->yy_ch_buf  );
1606
1607         yyfree((void *) b  );
1608 }
1609
1610 #ifndef __cplusplus
1611 extern int isatty (int );
1612 #endif /* __cplusplus */
1613     
1614 /* Initializes or reinitializes a buffer.
1615  * This function is sometimes called more than once on the same buffer,
1616  * such as during a yyrestart() or at EOF.
1617  */
1618     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
1619
1620 {
1621         int oerrno = errno;
1622     
1623         yy_flush_buffer(b );
1624
1625         b->yy_input_file = file;
1626         b->yy_fill_buffer = 1;
1627
1628     /* If b is the current buffer, then yy_init_buffer was _probably_
1629      * called from yyrestart() or through yy_get_next_buffer.
1630      * In that case, we don't want to reset the lineno or column.
1631      */
1632     if (b != YY_CURRENT_BUFFER){
1633         b->yy_bs_lineno = 1;
1634         b->yy_bs_column = 0;
1635     }
1636
1637         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1638     
1639         errno = oerrno;
1640 }
1641
1642 /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1643  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1644  * 
1645  */
1646     void yy_flush_buffer (YY_BUFFER_STATE  b )
1647 {
1648         if ( ! b )
1649                 return;
1650
1651         b->yy_n_chars = 0;
1652
1653         /* We always need two end-of-buffer characters.  The first causes
1654          * a transition to the end-of-buffer state.  The second causes
1655          * a jam in that state.
1656          */
1657         b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1658         b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1659
1660         b->yy_buf_pos = &b->yy_ch_buf[0];
1661
1662         b->yy_at_bol = 1;
1663         b->yy_buffer_status = YY_BUFFER_NEW;
1664
1665         if ( b == YY_CURRENT_BUFFER )
1666                 yy_load_buffer_state( );
1667 }
1668
1669 /** Pushes the new state onto the stack. The new state becomes
1670  *  the current state. This function will allocate the stack
1671  *  if necessary.
1672  *  @param new_buffer The new state.
1673  *  
1674  */
1675 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1676 {
1677         if (new_buffer == NULL)
1678                 return;
1679
1680         yyensure_buffer_stack();
1681
1682         /* This block is copied from yy_switch_to_buffer. */
1683         if ( YY_CURRENT_BUFFER )
1684                 {
1685                 /* Flush out information for old buffer. */
1686                 *(yy_c_buf_p) = (yy_hold_char);
1687                 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1688                 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1689                 }
1690
1691         /* Only push if top exists. Otherwise, replace top. */
1692         if (YY_CURRENT_BUFFER)
1693                 (yy_buffer_stack_top)++;
1694         YY_CURRENT_BUFFER_LVALUE = new_buffer;
1695
1696         /* copied from yy_switch_to_buffer. */
1697         yy_load_buffer_state( );
1698         (yy_did_buffer_switch_on_eof) = 1;
1699 }
1700
1701 /** Removes and deletes the top of the stack, if present.
1702  *  The next element becomes the new top.
1703  *  
1704  */
1705 void yypop_buffer_state (void)
1706 {
1707         if (!YY_CURRENT_BUFFER)
1708                 return;
1709
1710         yy_delete_buffer(YY_CURRENT_BUFFER );
1711         YY_CURRENT_BUFFER_LVALUE = NULL;
1712         if ((yy_buffer_stack_top) > 0)
1713                 --(yy_buffer_stack_top);
1714
1715         if (YY_CURRENT_BUFFER) {
1716                 yy_load_buffer_state( );
1717                 (yy_did_buffer_switch_on_eof) = 1;
1718         }
1719 }
1720
1721 /* Allocates the stack if it does not exist.
1722  *  Guarantees space for at least one push.
1723  */
1724 static void yyensure_buffer_stack (void)
1725 {
1726         yy_size_t num_to_alloc;
1727     
1728         if (!(yy_buffer_stack)) {
1729
1730                 /* First allocation is just for 2 elements, since we don't know if this
1731                  * scanner will even need a stack. We use 2 instead of 1 to avoid an
1732                  * immediate realloc on the next call.
1733          */
1734                 num_to_alloc = 1;
1735                 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1736                                                                 (num_to_alloc * sizeof(struct yy_buffer_state*)
1737                                                                 );
1738                 if ( ! (yy_buffer_stack) )
1739                         YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1740                                                                   
1741                 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1742                                 
1743                 (yy_buffer_stack_max) = num_to_alloc;
1744                 (yy_buffer_stack_top) = 0;
1745                 return;
1746         }
1747
1748         if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1749
1750                 /* Increase the buffer to prepare for a possible push. */
1751                 int grow_size = 8 /* arbitrary grow size */;
1752
1753                 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1754                 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1755                                                                 ((yy_buffer_stack),
1756                                                                 num_to_alloc * sizeof(struct yy_buffer_state*)
1757                                                                 );
1758                 if ( ! (yy_buffer_stack) )
1759                         YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1760
1761                 /* zero only the new slots.*/
1762                 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1763                 (yy_buffer_stack_max) = num_to_alloc;
1764         }
1765 }
1766
1767 /** Setup the input buffer state to scan directly from a user-specified character buffer.
1768  * @param base the character buffer
1769  * @param size the size in bytes of the character buffer
1770  * 
1771  * @return the newly allocated buffer state object. 
1772  */
1773 YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
1774 {
1775         YY_BUFFER_STATE b;
1776     
1777         if ( size < 2 ||
1778              base[size-2] != YY_END_OF_BUFFER_CHAR ||
1779              base[size-1] != YY_END_OF_BUFFER_CHAR )
1780                 /* They forgot to leave room for the EOB's. */
1781                 return 0;
1782
1783         b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
1784         if ( ! b )
1785                 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
1786
1787         b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
1788         b->yy_buf_pos = b->yy_ch_buf = base;
1789         b->yy_is_our_buffer = 0;
1790         b->yy_input_file = 0;
1791         b->yy_n_chars = b->yy_buf_size;
1792         b->yy_is_interactive = 0;
1793         b->yy_at_bol = 1;
1794         b->yy_fill_buffer = 0;
1795         b->yy_buffer_status = YY_BUFFER_NEW;
1796
1797         yy_switch_to_buffer(b  );
1798
1799         return b;
1800 }
1801
1802 /** Setup the input buffer state to scan a string. The next call to yylex() will
1803  * scan from a @e copy of @a str.
1804  * @param yystr a NUL-terminated string to scan
1805  * 
1806  * @return the newly allocated buffer state object.
1807  * @note If you want to scan bytes that may contain NUL values, then use
1808  *       yy_scan_bytes() instead.
1809  */
1810 YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
1811 {
1812     
1813         return yy_scan_bytes(yystr,strlen(yystr) );
1814 }
1815
1816 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1817  * scan from a @e copy of @a bytes.
1818  * @param bytes the byte buffer to scan
1819  * @param len the number of bytes in the buffer pointed to by @a bytes.
1820  * 
1821  * @return the newly allocated buffer state object.
1822  */
1823 YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
1824 {
1825         YY_BUFFER_STATE b;
1826         char *buf;
1827         yy_size_t n, i;
1828     
1829         /* Get memory for full buffer, including space for trailing EOB's. */
1830         n = _yybytes_len + 2;
1831         buf = (char *) yyalloc(n  );
1832         if ( ! buf )
1833                 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
1834
1835         for ( i = 0; i < _yybytes_len; ++i )
1836                 buf[i] = yybytes[i];
1837
1838         buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
1839
1840         b = yy_scan_buffer(buf,n );
1841         if ( ! b )
1842                 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
1843
1844         /* It's okay to grow etc. this buffer, and we should throw it
1845          * away when we're done.
1846          */
1847         b->yy_is_our_buffer = 1;
1848
1849         return b;
1850 }
1851
1852 #ifndef YY_EXIT_FAILURE
1853 #define YY_EXIT_FAILURE 2
1854 #endif
1855
1856 static void yy_fatal_error (yyconst char* msg )
1857 {
1858         (void) fprintf( stderr, "%s\n", msg );
1859         exit( YY_EXIT_FAILURE );
1860 }
1861
1862 /* Redefine yyless() so it works in section 3 code. */
1863
1864 #undef yyless
1865 #define yyless(n) \
1866         do \
1867                 { \
1868                 /* Undo effects of setting up yytext. */ \
1869         int yyless_macro_arg = (n); \
1870         YY_LESS_LINENO(yyless_macro_arg);\
1871                 yytext[yyleng] = (yy_hold_char); \
1872                 (yy_c_buf_p) = yytext + yyless_macro_arg; \
1873                 (yy_hold_char) = *(yy_c_buf_p); \
1874                 *(yy_c_buf_p) = '\0'; \
1875                 yyleng = yyless_macro_arg; \
1876                 } \
1877         while ( 0 )
1878
1879 /* Accessor  methods (get/set functions) to struct members. */
1880
1881 /** Get the current line number.
1882  * 
1883  */
1884 int yyget_lineno  (void)
1885 {
1886         
1887     return yylineno;
1888 }
1889
1890 /** Get the input stream.
1891  * 
1892  */
1893 FILE *yyget_in  (void)
1894 {
1895         return yyin;
1896 }
1897
1898 /** Get the output stream.
1899  * 
1900  */
1901 FILE *yyget_out  (void)
1902 {
1903         return yyout;
1904 }
1905
1906 /** Get the length of the current token.
1907  * 
1908  */
1909 yy_size_t yyget_leng  (void)
1910 {
1911         return yyleng;
1912 }
1913
1914 /** Get the current token.
1915  * 
1916  */
1917
1918 char *yyget_text  (void)
1919 {
1920         return yytext;
1921 }
1922
1923 /** Set the current line number.
1924  * @param line_number
1925  * 
1926  */
1927 void yyset_lineno (int  line_number )
1928 {
1929     
1930     yylineno = line_number;
1931 }
1932
1933 /** Set the input stream. This does not discard the current
1934  * input buffer.
1935  * @param in_str A readable stream.
1936  * 
1937  * @see yy_switch_to_buffer
1938  */
1939 void yyset_in (FILE *  in_str )
1940 {
1941         yyin = in_str ;
1942 }
1943
1944 void yyset_out (FILE *  out_str )
1945 {
1946         yyout = out_str ;
1947 }
1948
1949 int yyget_debug  (void)
1950 {
1951         return yy_flex_debug;
1952 }
1953
1954 void yyset_debug (int  bdebug )
1955 {
1956         yy_flex_debug = bdebug ;
1957 }
1958
1959 static int yy_init_globals (void)
1960 {
1961         /* Initialization is the same as for the non-reentrant scanner.
1962      * This function is called from yylex_destroy(), so don't allocate here.
1963      */
1964
1965     (yy_buffer_stack) = 0;
1966     (yy_buffer_stack_top) = 0;
1967     (yy_buffer_stack_max) = 0;
1968     (yy_c_buf_p) = (char *) 0;
1969     (yy_init) = 0;
1970     (yy_start) = 0;
1971
1972 /* Defined in main.c */
1973 #ifdef YY_STDINIT
1974     yyin = stdin;
1975     yyout = stdout;
1976 #else
1977     yyin = (FILE *) 0;
1978     yyout = (FILE *) 0;
1979 #endif
1980
1981     /* For future reference: Set errno on error, since we are called by
1982      * yylex_init()
1983      */
1984     return 0;
1985 }
1986
1987 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
1988 int yylex_destroy  (void)
1989 {
1990     
1991     /* Pop the buffer stack, destroying each element. */
1992         while(YY_CURRENT_BUFFER){
1993                 yy_delete_buffer(YY_CURRENT_BUFFER  );
1994                 YY_CURRENT_BUFFER_LVALUE = NULL;
1995                 yypop_buffer_state();
1996         }
1997
1998         /* Destroy the stack itself. */
1999         yyfree((yy_buffer_stack) );
2000         (yy_buffer_stack) = NULL;
2001
2002     /* Reset the globals. This is important in a non-reentrant scanner so the next time
2003      * yylex() is called, initialization will occur. */
2004     yy_init_globals( );
2005
2006     return 0;
2007 }
2008
2009 /*
2010  * Internal utility routines.
2011  */
2012
2013 #ifndef yytext_ptr
2014 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
2015 {
2016         register int i;
2017         for ( i = 0; i < n; ++i )
2018                 s1[i] = s2[i];
2019 }
2020 #endif
2021
2022 #ifdef YY_NEED_STRLEN
2023 static int yy_flex_strlen (yyconst char * s )
2024 {
2025         register int n;
2026         for ( n = 0; s[n]; ++n )
2027                 ;
2028
2029         return n;
2030 }
2031 #endif
2032
2033 void *yyalloc (yy_size_t  size )
2034 {
2035         return (void *) malloc( size );
2036 }
2037
2038 void *yyrealloc  (void * ptr, yy_size_t  size )
2039 {
2040         /* The cast to (char *) in the following accommodates both
2041          * implementations that use char* generic pointers, and those
2042          * that use void* generic pointers.  It works with the latter
2043          * because both ANSI C and C++ allow castless assignment from
2044          * any pointer type to void*, and deal with argument conversions
2045          * as though doing an assignment.
2046          */
2047         return (void *) realloc( (char *) ptr, size );
2048 }
2049
2050 void yyfree (void * ptr )
2051 {
2052         free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
2053 }
2054
2055 #define YYTABLES_NAME "yytables"
2056
2057 #line 93 "deflex.l"
2058
2059
2060 #ifndef yywrap
2061 /* Needed for lex, though not flex. */
2062 int yywrap(void) { return 1; }
2063 #endif
2064