1 #ifndef args_HEADER_H
2 #define args_HEADER_H 1
3 #define args_IN_HEADER 1
4 
5 #line 10 "arg_lexer.l"
6 #	include <cli/Tokenizer.h>
7 #	define register
8 
9 
10 
11 #define  YY_INT_ALIGNED short int
12 
13 /* A lexical scanner generated by flex */
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 #define FLEX_SCANNER
25 #define YY_FLEX_MAJOR_VERSION 2
26 #define YY_FLEX_MINOR_VERSION 6
27 #define YY_FLEX_SUBMINOR_VERSION 1
28 #if YY_FLEX_SUBMINOR_VERSION > 0
29 #define FLEX_BETA
30 #endif
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 /* First, we deal with  platform-specific or compiler-specific issues. */
95 
96 /* begin standard C headers. */
97 #include <stdio.h>
98 #include <string.h>
99 #include <errno.h>
100 #include <stdlib.h>
101 
102 /* end standard C headers. */
103 
104 /* flex integer type definitions */
105 
106 #ifndef FLEXINT_H
107 #define FLEXINT_H
108 
109 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
110 
111 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
112 
113 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
114  * if you want the limit (max/min) macros for int types.
115  */
116 #ifndef __STDC_LIMIT_MACROS
117 #define __STDC_LIMIT_MACROS 1
118 #endif
119 
120 #include <inttypes.h>
121 typedef int8_t flex_int8_t;
122 typedef uint8_t flex_uint8_t;
123 typedef int16_t flex_int16_t;
124 typedef uint16_t flex_uint16_t;
125 typedef int32_t flex_int32_t;
126 typedef uint32_t flex_uint32_t;
127 #else
128 typedef signed char flex_int8_t;
129 typedef short int flex_int16_t;
130 typedef int flex_int32_t;
131 typedef unsigned char flex_uint8_t;
132 typedef unsigned short int flex_uint16_t;
133 typedef unsigned int flex_uint32_t;
134 
135 /* Limits of integral types. */
136 #ifndef INT8_MIN
137 #define INT8_MIN               (-128)
138 #endif
139 #ifndef INT16_MIN
140 #define INT16_MIN              (-32767-1)
141 #endif
142 #ifndef INT32_MIN
143 #define INT32_MIN              (-2147483647-1)
144 #endif
145 #ifndef INT8_MAX
146 #define INT8_MAX               (127)
147 #endif
148 #ifndef INT16_MAX
149 #define INT16_MAX              (32767)
150 #endif
151 #ifndef INT32_MAX
152 #define INT32_MAX              (2147483647)
153 #endif
154 #ifndef UINT8_MAX
155 #define UINT8_MAX              (255U)
156 #endif
157 #ifndef UINT16_MAX
158 #define UINT16_MAX             (65535U)
159 #endif
160 #ifndef UINT32_MAX
161 #define UINT32_MAX             (4294967295U)
162 #endif
163 
164 #endif /* ! C99 */
165 
166 #endif /* ! FLEXINT_H */
167 
168 
169 
170 /* TODO: this is always defined, so inline it */
171 #define yyconst const
172 
173 #if defined(__GNUC__) && __GNUC__ >= 3
174 #define yynoreturn __attribute__((__noreturn__))
175 #else
176 #define yynoreturn
177 #endif
178 
179 
180 
181 
182 
183 
184 
185 
186 
187 
188 
189 
190 /* An opaque pointer. */
191 #ifndef YY_TYPEDEF_YY_SCANNER_T
192 #define YY_TYPEDEF_YY_SCANNER_T
193 typedef void* yyscan_t;
194 #endif
195 
196 
197 
198 
199 
200 
201 
202 
203 
204 
205 
206 
207 
208 
209 
210 
211 
212 
213 
214 /* For convenience, these vars (plus the bison vars far below)
215    are macros in the reentrant scanner. */
216 #define yyin yyg->yyin_r
217 #define yyout yyg->yyout_r
218 #define yyextra yyg->yyextra_r
219 #define yyleng yyg->yyleng_r
220 #define yytext yyg->yytext_r
221 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
222 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
223 #define yy_flex_debug yyg->yy_flex_debug_r
224 
225 
226 
227 
228 
229 
230 
231 
232 
233 
234 
235 
236 
237 
238 
239 
240 
241 
242 
243 
244 
245 
246 
247 
248 
249 /* Size of default input buffer. */
250 #ifndef YY_BUF_SIZE
251 #ifdef __ia64__
252 /* On IA-64, the buffer size is 16k, not 8k.
253  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
254  * Ditto for the __ia64__ case accordingly.
255  */
256 #define YY_BUF_SIZE 32768
257 #else
258 #define YY_BUF_SIZE 16384
259 #endif /* __ia64__ */
260 #endif
261 
262 
263 
264 
265 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
266 #define YY_TYPEDEF_YY_BUFFER_STATE
267 typedef struct yy_buffer_state *YY_BUFFER_STATE;
268 #endif
269 
270 #ifndef YY_TYPEDEF_YY_SIZE_T
271 #define YY_TYPEDEF_YY_SIZE_T
272 typedef size_t yy_size_t;
273 #endif
274 
275 
276 
277 
278 
279 
280 
281 
282 
283 
284 
285 #ifndef YY_STRUCT_YY_BUFFER_STATE
286 #define YY_STRUCT_YY_BUFFER_STATE
287 struct yy_buffer_state
288 	{
289 	FILE *yy_input_file;
290 
291 
292 
293 	char *yy_ch_buf;		/* input buffer */
294 	char *yy_buf_pos;		/* current position in input buffer */
295 
296 	/* Size of input buffer in bytes, not including room for EOB
297 	 * characters.
298 	 */
299 	int yy_buf_size;
300 
301 	/* Number of characters read into yy_ch_buf, not including EOB
302 	 * characters.
303 	 */
304 	int yy_n_chars;
305 
306 	/* Whether we "own" the buffer - i.e., we know we created it,
307 	 * and can realloc() it to grow it, and should free() it to
308 	 * delete it.
309 	 */
310 	int yy_is_our_buffer;
311 
312 	/* Whether this is an "interactive" input source; if so, and
313 	 * if we're using stdio for input, then we want to use getc()
314 	 * instead of fread(), to make sure we stop fetching input after
315 	 * each newline.
316 	 */
317 	int yy_is_interactive;
318 
319 	/* Whether we're considered to be at the beginning of a line.
320 	 * If so, '^' rules will be active on the next match, otherwise
321 	 * not.
322 	 */
323 	int yy_at_bol;
324 
325     int yy_bs_lineno; /**< The line count. */
326     int yy_bs_column; /**< The column count. */
327 
328 
329 	/* Whether to try to fill the input buffer when we reach the
330 	 * end of it.
331 	 */
332 	int yy_fill_buffer;
333 
334 	int yy_buffer_status;
335 
336 	};
337 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
338 
339 
340 
341 
342 
343 
344 
345 
346 
347 
348 void args_restart (FILE *input_file ,yyscan_t yyscanner );
349 void args__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
350 YY_BUFFER_STATE args__create_buffer (FILE *file,int size ,yyscan_t yyscanner );
351 void args__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
352 void args__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
353 void args_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
354 void args_pop_buffer_state (yyscan_t yyscanner );
355 
356 
357 
358 
359 
360 YY_BUFFER_STATE args__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
361 YY_BUFFER_STATE args__scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
362 YY_BUFFER_STATE args__scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
363 
364 
365 void *args_alloc (yy_size_t ,yyscan_t yyscanner );
366 void *args_realloc (void *,yy_size_t ,yyscan_t yyscanner );
367 void args_free (void * ,yyscan_t yyscanner );
368 
369 
370 
371 
372 
373 
374 
375 
376 
377 /* Begin user sect3 */
378 
379 #define args_wrap(yyscanner) (/*CONSTCOND*/1)
380 #define YY_SKIP_YYWRAP
381 
382 
383 
384 #define yytext_ptr yytext_r
385 
386 
387 
388 
389 
390 
391 
392 
393 
394 
395 
396 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
397 #define INITIAL 0
398 #define STRING 1
399 
400 #endif
401 
402 
403 #ifndef YY_NO_UNISTD_H
404 /* Special case for "unistd.h", since it is non-ANSI. We include it way
405  * down here because we want the user's section 1 to have been scanned first.
406  * The user has a chance to override it with an option.
407  */
408 #include <unistd.h>
409 #endif
410 
411 
412 
413 #ifndef YY_EXTRA_TYPE
414 #define YY_EXTRA_TYPE void *
415 #endif
416 
417 
418 
419 
420 
421 
422 
423 
424 
425 
426 
427 
428 int args_lex_init (yyscan_t* scanner);
429 
430 int args_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
431 
432 
433 
434 /* Accessor methods to globals.
435    These are made visible to non-reentrant scanners for convenience. */
436 
437 
438 int args_lex_destroy (yyscan_t yyscanner );
439 
440 
441 
442 int args_get_debug (yyscan_t yyscanner );
443 
444 
445 
446 void args_set_debug (int debug_flag ,yyscan_t yyscanner );
447 
448 
449 
450 YY_EXTRA_TYPE args_get_extra (yyscan_t yyscanner );
451 
452 
453 
454 void args_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
455 
456 
457 
458 FILE *args_get_in (yyscan_t yyscanner );
459 
460 
461 
462 void args_set_in  (FILE * _in_str ,yyscan_t yyscanner );
463 
464 
465 
466 FILE *args_get_out (yyscan_t yyscanner );
467 
468 
469 
470 void args_set_out  (FILE * _out_str ,yyscan_t yyscanner );
471 
472 
473 
474 			int args_get_leng (yyscan_t yyscanner );
475 
476 
477 
478 char *args_get_text (yyscan_t yyscanner );
479 
480 
481 
482 int args_get_lineno (yyscan_t yyscanner );
483 
484 
485 
486 void args_set_lineno (int _line_number ,yyscan_t yyscanner );
487 
488 
489 
490 
491 int args_get_column  (yyscan_t yyscanner );
492 
493 
494 
495 
496 
497 void args_set_column (int _column_no ,yyscan_t yyscanner );
498 
499 
500 
501 
502 /* Macros after this point can all be overridden by user definitions in
503  * section 1.
504  */
505 
506 #ifndef YY_SKIP_YYWRAP
507 #ifdef __cplusplus
508 extern "C" int args_wrap (yyscan_t yyscanner );
509 #else
510 extern int args_wrap (yyscan_t yyscanner );
511 #endif
512 #endif
513 
514 
515 
516 #ifndef yytext_ptr
517 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
518 #endif
519 
520 #ifdef YY_NEED_STRLEN
521 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
522 #endif
523 
524 #ifndef YY_NO_INPUT
525 
526 #endif
527 
528 
529 
530 
531 
532 
533 
534 
535 /* Amount of stuff to slurp up with each read. */
536 #ifndef YY_READ_BUF_SIZE
537 #ifdef __ia64__
538 /* On IA-64, the buffer size is 16k, not 8k */
539 #define YY_READ_BUF_SIZE 16384
540 #else
541 #define YY_READ_BUF_SIZE 8192
542 #endif /* __ia64__ */
543 #endif
544 
545 
546 
547 
548 
549 
550 
551 /* Number of entries by which start-condition stack grows. */
552 #ifndef YY_START_STACK_INCR
553 #define YY_START_STACK_INCR 25
554 #endif
555 
556 
557 
558 
559 
560 
561 /* Default declaration of generated scanner - a define so the user can
562  * easily add parameters.
563  */
564 #ifndef YY_DECL
565 #define YY_DECL_IS_OURS 1
566 
567 
568 
569 
570 
571 
572 
573 
574 
575 extern int args_lex (yyscan_t yyscanner);
576 
577 #define YY_DECL int args_lex (yyscan_t yyscanner)
578 #endif /* !YY_DECL */
579 
580 
581 
582 
583 
584 
585 
586 
587 
588 
589 
590 
591 
592 /* yy_get_previous_state - get the state just before the EOB char was reached */
593 
594 
595 
596 #undef YY_NEW_FILE
597 #undef YY_FLUSH_BUFFER
598 #undef yy_set_bol
599 #undef yy_new_buffer
600 #undef yy_set_interactive
601 #undef YY_DO_BEFORE_ACTION
602 
603 #ifdef YY_DECL_IS_OURS
604 #undef YY_DECL_IS_OURS
605 #undef YY_DECL
606 #endif
607 
608 
609 
610 #line 611 "arg_lexer.l.h"
611 #undef args_IN_HEADER
612 #endif /* args_HEADER_H */
613