1 #ifndef fts0bHEADER_H
2 #define fts0bHEADER_H 1
3 #define fts0bIN_HEADER 1
4 
5 #line 6 "../include/fts0blex.h"
6 
7 #line 8 "../include/fts0blex.h"
8 
9 #define  YY_INT_ALIGNED short int
10 
11 /* A lexical scanner generated by flex */
12 
13 #define FLEX_SCANNER
14 #define YY_FLEX_MAJOR_VERSION 2
15 #define YY_FLEX_MINOR_VERSION 6
16 #define YY_FLEX_SUBMINOR_VERSION 4
17 #if YY_FLEX_SUBMINOR_VERSION > 0
18 #define FLEX_BETA
19 #endif
20 
21 #ifdef yy_create_buffer
22 #define fts0b_create_buffer_ALREADY_DEFINED
23 #else
24 #define yy_create_buffer fts0b_create_buffer
25 #endif
26 
27 #ifdef yy_delete_buffer
28 #define fts0b_delete_buffer_ALREADY_DEFINED
29 #else
30 #define yy_delete_buffer fts0b_delete_buffer
31 #endif
32 
33 #ifdef yy_scan_buffer
34 #define fts0b_scan_buffer_ALREADY_DEFINED
35 #else
36 #define yy_scan_buffer fts0b_scan_buffer
37 #endif
38 
39 #ifdef yy_scan_string
40 #define fts0b_scan_string_ALREADY_DEFINED
41 #else
42 #define yy_scan_string fts0b_scan_string
43 #endif
44 
45 #ifdef yy_scan_bytes
46 #define fts0b_scan_bytes_ALREADY_DEFINED
47 #else
48 #define yy_scan_bytes fts0b_scan_bytes
49 #endif
50 
51 #ifdef yy_init_buffer
52 #define fts0b_init_buffer_ALREADY_DEFINED
53 #else
54 #define yy_init_buffer fts0b_init_buffer
55 #endif
56 
57 #ifdef yy_flush_buffer
58 #define fts0b_flush_buffer_ALREADY_DEFINED
59 #else
60 #define yy_flush_buffer fts0b_flush_buffer
61 #endif
62 
63 #ifdef yy_load_buffer_state
64 #define fts0b_load_buffer_state_ALREADY_DEFINED
65 #else
66 #define yy_load_buffer_state fts0b_load_buffer_state
67 #endif
68 
69 #ifdef yy_switch_to_buffer
70 #define fts0b_switch_to_buffer_ALREADY_DEFINED
71 #else
72 #define yy_switch_to_buffer fts0b_switch_to_buffer
73 #endif
74 
75 #ifdef yypush_buffer_state
76 #define fts0bpush_buffer_state_ALREADY_DEFINED
77 #else
78 #define yypush_buffer_state fts0bpush_buffer_state
79 #endif
80 
81 #ifdef yypop_buffer_state
82 #define fts0bpop_buffer_state_ALREADY_DEFINED
83 #else
84 #define yypop_buffer_state fts0bpop_buffer_state
85 #endif
86 
87 #ifdef yyensure_buffer_stack
88 #define fts0bensure_buffer_stack_ALREADY_DEFINED
89 #else
90 #define yyensure_buffer_stack fts0bensure_buffer_stack
91 #endif
92 
93 #ifdef yylex
94 #define fts0blex_ALREADY_DEFINED
95 #else
96 #define yylex fts0blex
97 #endif
98 
99 #ifdef yyrestart
100 #define fts0brestart_ALREADY_DEFINED
101 #else
102 #define yyrestart fts0brestart
103 #endif
104 
105 #ifdef yylex_init
106 #define fts0blex_init_ALREADY_DEFINED
107 #else
108 #define yylex_init fts0blex_init
109 #endif
110 
111 #ifdef yylex_init_extra
112 #define fts0blex_init_extra_ALREADY_DEFINED
113 #else
114 #define yylex_init_extra fts0blex_init_extra
115 #endif
116 
117 #ifdef yylex_destroy
118 #define fts0blex_destroy_ALREADY_DEFINED
119 #else
120 #define yylex_destroy fts0blex_destroy
121 #endif
122 
123 #ifdef yyget_debug
124 #define fts0bget_debug_ALREADY_DEFINED
125 #else
126 #define yyget_debug fts0bget_debug
127 #endif
128 
129 #ifdef yyset_debug
130 #define fts0bset_debug_ALREADY_DEFINED
131 #else
132 #define yyset_debug fts0bset_debug
133 #endif
134 
135 #ifdef yyget_extra
136 #define fts0bget_extra_ALREADY_DEFINED
137 #else
138 #define yyget_extra fts0bget_extra
139 #endif
140 
141 #ifdef yyset_extra
142 #define fts0bset_extra_ALREADY_DEFINED
143 #else
144 #define yyset_extra fts0bset_extra
145 #endif
146 
147 #ifdef yyget_in
148 #define fts0bget_in_ALREADY_DEFINED
149 #else
150 #define yyget_in fts0bget_in
151 #endif
152 
153 #ifdef yyset_in
154 #define fts0bset_in_ALREADY_DEFINED
155 #else
156 #define yyset_in fts0bset_in
157 #endif
158 
159 #ifdef yyget_out
160 #define fts0bget_out_ALREADY_DEFINED
161 #else
162 #define yyget_out fts0bget_out
163 #endif
164 
165 #ifdef yyset_out
166 #define fts0bset_out_ALREADY_DEFINED
167 #else
168 #define yyset_out fts0bset_out
169 #endif
170 
171 #ifdef yyget_leng
172 #define fts0bget_leng_ALREADY_DEFINED
173 #else
174 #define yyget_leng fts0bget_leng
175 #endif
176 
177 #ifdef yyget_text
178 #define fts0bget_text_ALREADY_DEFINED
179 #else
180 #define yyget_text fts0bget_text
181 #endif
182 
183 #ifdef yyget_lineno
184 #define fts0bget_lineno_ALREADY_DEFINED
185 #else
186 #define yyget_lineno fts0bget_lineno
187 #endif
188 
189 #ifdef yyset_lineno
190 #define fts0bset_lineno_ALREADY_DEFINED
191 #else
192 #define yyset_lineno fts0bset_lineno
193 #endif
194 
195 #ifdef yyget_column
196 #define fts0bget_column_ALREADY_DEFINED
197 #else
198 #define yyget_column fts0bget_column
199 #endif
200 
201 #ifdef yyset_column
202 #define fts0bset_column_ALREADY_DEFINED
203 #else
204 #define yyset_column fts0bset_column
205 #endif
206 
207 #ifdef yywrap
208 #define fts0bwrap_ALREADY_DEFINED
209 #else
210 #define yywrap fts0bwrap
211 #endif
212 
213 #ifdef yyalloc
214 #define fts0balloc_ALREADY_DEFINED
215 #else
216 #define yyalloc fts0balloc
217 #endif
218 
219 #ifdef yyrealloc
220 #define fts0brealloc_ALREADY_DEFINED
221 #else
222 #define yyrealloc fts0brealloc
223 #endif
224 
225 #ifdef yyfree
226 #define fts0bfree_ALREADY_DEFINED
227 #else
228 #define yyfree fts0bfree
229 #endif
230 
231 /* First, we deal with  platform-specific or compiler-specific issues. */
232 
233 /* begin standard C headers. */
234 #include <stdio.h>
235 #include <string.h>
236 #include <errno.h>
237 #include <stdlib.h>
238 
239 /* end standard C headers. */
240 
241 /* flex integer type definitions */
242 
243 #ifndef FLEXINT_H
244 #define FLEXINT_H
245 
246 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
247 
248 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
249 
250 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
251  * if you want the limit (max/min) macros for int types.
252  */
253 #ifndef __STDC_LIMIT_MACROS
254 #define __STDC_LIMIT_MACROS 1
255 #endif
256 
257 #include <inttypes.h>
258 typedef int8_t flex_int8_t;
259 typedef uint8_t flex_uint8_t;
260 typedef int16_t flex_int16_t;
261 typedef uint16_t flex_uint16_t;
262 typedef int32_t flex_int32_t;
263 typedef uint32_t flex_uint32_t;
264 #else
265 typedef signed char flex_int8_t;
266 typedef short int flex_int16_t;
267 typedef int flex_int32_t;
268 typedef unsigned char flex_uint8_t;
269 typedef unsigned short int flex_uint16_t;
270 typedef unsigned int flex_uint32_t;
271 
272 /* Limits of integral types. */
273 #ifndef INT8_MIN
274 #define INT8_MIN               (-128)
275 #endif
276 #ifndef INT16_MIN
277 #define INT16_MIN              (-32767-1)
278 #endif
279 #ifndef INT32_MIN
280 #define INT32_MIN              (-2147483647-1)
281 #endif
282 #ifndef INT8_MAX
283 #define INT8_MAX               (127)
284 #endif
285 #ifndef INT16_MAX
286 #define INT16_MAX              (32767)
287 #endif
288 #ifndef INT32_MAX
289 #define INT32_MAX              (2147483647)
290 #endif
291 #ifndef UINT8_MAX
292 #define UINT8_MAX              (255U)
293 #endif
294 #ifndef UINT16_MAX
295 #define UINT16_MAX             (65535U)
296 #endif
297 #ifndef UINT32_MAX
298 #define UINT32_MAX             (4294967295U)
299 #endif
300 
301 #ifndef SIZE_MAX
302 #define SIZE_MAX               (~(size_t)0)
303 #endif
304 
305 #endif /* ! C99 */
306 
307 #endif /* ! FLEXINT_H */
308 
309 /* begin standard C++ headers. */
310 
311 /* TODO: this is always defined, so inline it */
312 #define yyconst const
313 
314 #if defined(__GNUC__) && __GNUC__ >= 3
315 #define yynoreturn __attribute__((__noreturn__))
316 #else
317 #define yynoreturn
318 #endif
319 
320 /* An opaque pointer. */
321 #ifndef YY_TYPEDEF_YY_SCANNER_T
322 #define YY_TYPEDEF_YY_SCANNER_T
323 typedef void* yyscan_t;
324 #endif
325 
326 /* For convenience, these vars (plus the bison vars far below)
327    are macros in the reentrant scanner. */
328 #define yyin yyg->yyin_r
329 #define yyout yyg->yyout_r
330 #define yyextra yyg->yyextra_r
331 #define yyleng yyg->yyleng_r
332 #define yytext yyg->yytext_r
333 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
334 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
335 #define yy_flex_debug yyg->yy_flex_debug_r
336 
337 /* Size of default input buffer. */
338 #ifndef YY_BUF_SIZE
339 #ifdef __ia64__
340 /* On IA-64, the buffer size is 16k, not 8k.
341  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
342  * Ditto for the __ia64__ case accordingly.
343  */
344 #define YY_BUF_SIZE 32768
345 #else
346 #define YY_BUF_SIZE 16384
347 #endif /* __ia64__ */
348 #endif
349 
350 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
351 #define YY_TYPEDEF_YY_BUFFER_STATE
352 typedef struct yy_buffer_state *YY_BUFFER_STATE;
353 #endif
354 
355 #ifndef YY_TYPEDEF_YY_SIZE_T
356 #define YY_TYPEDEF_YY_SIZE_T
357 typedef size_t yy_size_t;
358 #endif
359 
360 #ifndef YY_STRUCT_YY_BUFFER_STATE
361 #define YY_STRUCT_YY_BUFFER_STATE
362 struct yy_buffer_state
363 	{
364 	FILE *yy_input_file;
365 
366 	char *yy_ch_buf;		/* input buffer */
367 	char *yy_buf_pos;		/* current position in input buffer */
368 
369 	/* Size of input buffer in bytes, not including room for EOB
370 	 * characters.
371 	 */
372 	int yy_buf_size;
373 
374 	/* Number of characters read into yy_ch_buf, not including EOB
375 	 * characters.
376 	 */
377 	int yy_n_chars;
378 
379 	/* Whether we "own" the buffer - i.e., we know we created it,
380 	 * and can realloc() it to grow it, and should free() it to
381 	 * delete it.
382 	 */
383 	int yy_is_our_buffer;
384 
385 	/* Whether this is an "interactive" input source; if so, and
386 	 * if we're using stdio for input, then we want to use getc()
387 	 * instead of fread(), to make sure we stop fetching input after
388 	 * each newline.
389 	 */
390 	int yy_is_interactive;
391 
392 	/* Whether we're considered to be at the beginning of a line.
393 	 * If so, '^' rules will be active on the next match, otherwise
394 	 * not.
395 	 */
396 	int yy_at_bol;
397 
398     int yy_bs_lineno; /**< The line count. */
399     int yy_bs_column; /**< The column count. */
400 
401 	/* Whether to try to fill the input buffer when we reach the
402 	 * end of it.
403 	 */
404 	int yy_fill_buffer;
405 
406 	int yy_buffer_status;
407 
408 	};
409 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
410 
411 void yyrestart ( FILE *input_file , yyscan_t yyscanner );
412 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
413 YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner );
414 void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
415 void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
416 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
417 void yypop_buffer_state ( yyscan_t yyscanner );
418 
419 YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner );
420 YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner );
421 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
422 
423 void *yyalloc ( yy_size_t , yyscan_t yyscanner );
424 void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner );
425 void yyfree ( void * , yyscan_t yyscanner );
426 
427 /* Begin user sect3 */
428 
429 #define fts0bwrap(yyscanner) (/*CONSTCOND*/1)
430 #define YY_SKIP_YYWRAP
431 
432 #define yytext_ptr yytext_r
433 
434 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
435 #define INITIAL 0
436 
437 #endif
438 
439 #ifndef YY_NO_UNISTD_H
440 /* Special case for "unistd.h", since it is non-ANSI. We include it way
441  * down here because we want the user's section 1 to have been scanned first.
442  * The user has a chance to override it with an option.
443  */
444 #include <unistd.h>
445 #endif
446 
447 #ifndef YY_EXTRA_TYPE
448 #define YY_EXTRA_TYPE void *
449 #endif
450 
451 int yylex_init (yyscan_t* scanner);
452 
453 int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);
454 
455 /* Accessor methods to globals.
456    These are made visible to non-reentrant scanners for convenience. */
457 
458 int yylex_destroy ( yyscan_t yyscanner );
459 
460 int yyget_debug ( yyscan_t yyscanner );
461 
462 void yyset_debug ( int debug_flag , yyscan_t yyscanner );
463 
464 YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner );
465 
466 void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
467 
468 FILE *yyget_in ( yyscan_t yyscanner );
469 
470 void yyset_in  ( FILE * _in_str , yyscan_t yyscanner );
471 
472 FILE *yyget_out ( yyscan_t yyscanner );
473 
474 void yyset_out  ( FILE * _out_str , yyscan_t yyscanner );
475 
476 			int yyget_leng ( yyscan_t yyscanner );
477 
478 char *yyget_text ( yyscan_t yyscanner );
479 
480 int yyget_lineno ( yyscan_t yyscanner );
481 
482 void yyset_lineno ( int _line_number , yyscan_t yyscanner );
483 
484 int yyget_column  ( yyscan_t yyscanner );
485 
486 void yyset_column ( int _column_no , yyscan_t yyscanner );
487 
488 /* Macros after this point can all be overridden by user definitions in
489  * section 1.
490  */
491 
492 #ifndef YY_SKIP_YYWRAP
493 #ifdef __cplusplus
494 extern "C" int yywrap ( yyscan_t yyscanner );
495 #else
496 extern int yywrap ( yyscan_t yyscanner );
497 #endif
498 #endif
499 
500 #ifndef yytext_ptr
501 static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner);
502 #endif
503 
504 #ifdef YY_NEED_STRLEN
505 static int yy_flex_strlen ( const char * , yyscan_t yyscanner);
506 #endif
507 
508 #ifndef YY_NO_INPUT
509 
510 #endif
511 
512 /* Amount of stuff to slurp up with each read. */
513 #ifndef YY_READ_BUF_SIZE
514 #ifdef __ia64__
515 /* On IA-64, the buffer size is 16k, not 8k */
516 #define YY_READ_BUF_SIZE 16384
517 #else
518 #define YY_READ_BUF_SIZE 8192
519 #endif /* __ia64__ */
520 #endif
521 
522 /* Number of entries by which start-condition stack grows. */
523 #ifndef YY_START_STACK_INCR
524 #define YY_START_STACK_INCR 25
525 #endif
526 
527 /* Default declaration of generated scanner - a define so the user can
528  * easily add parameters.
529  */
530 #ifndef YY_DECL
531 #define YY_DECL_IS_OURS 1
532 
533 extern int yylex (yyscan_t yyscanner);
534 
535 #define YY_DECL int yylex (yyscan_t yyscanner)
536 #endif /* !YY_DECL */
537 
538 /* yy_get_previous_state - get the state just before the EOB char was reached */
539 
540 #undef YY_NEW_FILE
541 #undef YY_FLUSH_BUFFER
542 #undef yy_set_bol
543 #undef yy_new_buffer
544 #undef yy_set_interactive
545 #undef YY_DO_BEFORE_ACTION
546 
547 #ifdef YY_DECL_IS_OURS
548 #undef YY_DECL_IS_OURS
549 #undef YY_DECL
550 #endif
551 
552 #ifndef fts0b_create_buffer_ALREADY_DEFINED
553 #undef yy_create_buffer
554 #endif
555 #ifndef fts0b_delete_buffer_ALREADY_DEFINED
556 #undef yy_delete_buffer
557 #endif
558 #ifndef fts0b_scan_buffer_ALREADY_DEFINED
559 #undef yy_scan_buffer
560 #endif
561 #ifndef fts0b_scan_string_ALREADY_DEFINED
562 #undef yy_scan_string
563 #endif
564 #ifndef fts0b_scan_bytes_ALREADY_DEFINED
565 #undef yy_scan_bytes
566 #endif
567 #ifndef fts0b_init_buffer_ALREADY_DEFINED
568 #undef yy_init_buffer
569 #endif
570 #ifndef fts0b_flush_buffer_ALREADY_DEFINED
571 #undef yy_flush_buffer
572 #endif
573 #ifndef fts0b_load_buffer_state_ALREADY_DEFINED
574 #undef yy_load_buffer_state
575 #endif
576 #ifndef fts0b_switch_to_buffer_ALREADY_DEFINED
577 #undef yy_switch_to_buffer
578 #endif
579 #ifndef fts0bpush_buffer_state_ALREADY_DEFINED
580 #undef yypush_buffer_state
581 #endif
582 #ifndef fts0bpop_buffer_state_ALREADY_DEFINED
583 #undef yypop_buffer_state
584 #endif
585 #ifndef fts0bensure_buffer_stack_ALREADY_DEFINED
586 #undef yyensure_buffer_stack
587 #endif
588 #ifndef fts0blex_ALREADY_DEFINED
589 #undef yylex
590 #endif
591 #ifndef fts0brestart_ALREADY_DEFINED
592 #undef yyrestart
593 #endif
594 #ifndef fts0blex_init_ALREADY_DEFINED
595 #undef yylex_init
596 #endif
597 #ifndef fts0blex_init_extra_ALREADY_DEFINED
598 #undef yylex_init_extra
599 #endif
600 #ifndef fts0blex_destroy_ALREADY_DEFINED
601 #undef yylex_destroy
602 #endif
603 #ifndef fts0bget_debug_ALREADY_DEFINED
604 #undef yyget_debug
605 #endif
606 #ifndef fts0bset_debug_ALREADY_DEFINED
607 #undef yyset_debug
608 #endif
609 #ifndef fts0bget_extra_ALREADY_DEFINED
610 #undef yyget_extra
611 #endif
612 #ifndef fts0bset_extra_ALREADY_DEFINED
613 #undef yyset_extra
614 #endif
615 #ifndef fts0bget_in_ALREADY_DEFINED
616 #undef yyget_in
617 #endif
618 #ifndef fts0bset_in_ALREADY_DEFINED
619 #undef yyset_in
620 #endif
621 #ifndef fts0bget_out_ALREADY_DEFINED
622 #undef yyget_out
623 #endif
624 #ifndef fts0bset_out_ALREADY_DEFINED
625 #undef yyset_out
626 #endif
627 #ifndef fts0bget_leng_ALREADY_DEFINED
628 #undef yyget_leng
629 #endif
630 #ifndef fts0bget_text_ALREADY_DEFINED
631 #undef yyget_text
632 #endif
633 #ifndef fts0bget_lineno_ALREADY_DEFINED
634 #undef yyget_lineno
635 #endif
636 #ifndef fts0bset_lineno_ALREADY_DEFINED
637 #undef yyset_lineno
638 #endif
639 #ifndef fts0bget_column_ALREADY_DEFINED
640 #undef yyget_column
641 #endif
642 #ifndef fts0bset_column_ALREADY_DEFINED
643 #undef yyset_column
644 #endif
645 #ifndef fts0bwrap_ALREADY_DEFINED
646 #undef yywrap
647 #endif
648 #ifndef fts0bget_lval_ALREADY_DEFINED
649 #undef yyget_lval
650 #endif
651 #ifndef fts0bset_lval_ALREADY_DEFINED
652 #undef yyset_lval
653 #endif
654 #ifndef fts0bget_lloc_ALREADY_DEFINED
655 #undef yyget_lloc
656 #endif
657 #ifndef fts0bset_lloc_ALREADY_DEFINED
658 #undef yyset_lloc
659 #endif
660 #ifndef fts0balloc_ALREADY_DEFINED
661 #undef yyalloc
662 #endif
663 #ifndef fts0brealloc_ALREADY_DEFINED
664 #undef yyrealloc
665 #endif
666 #ifndef fts0bfree_ALREADY_DEFINED
667 #undef yyfree
668 #endif
669 #ifndef fts0btext_ALREADY_DEFINED
670 #undef yytext
671 #endif
672 #ifndef fts0bleng_ALREADY_DEFINED
673 #undef yyleng
674 #endif
675 #ifndef fts0bin_ALREADY_DEFINED
676 #undef yyin
677 #endif
678 #ifndef fts0bout_ALREADY_DEFINED
679 #undef yyout
680 #endif
681 #ifndef fts0b_flex_debug_ALREADY_DEFINED
682 #undef yy_flex_debug
683 #endif
684 #ifndef fts0blineno_ALREADY_DEFINED
685 #undef yylineno
686 #endif
687 #ifndef fts0btables_fload_ALREADY_DEFINED
688 #undef yytables_fload
689 #endif
690 #ifndef fts0btables_destroy_ALREADY_DEFINED
691 #undef yytables_destroy
692 #endif
693 #ifndef fts0bTABLES_NAME_ALREADY_DEFINED
694 #undef yyTABLES_NAME
695 #endif
696 
697 #line 74 "fts0blex.l"
698 
699 
700 #line 701 "../include/fts0blex.h"
701 #undef fts0bIN_HEADER
702 #endif /* fts0bHEADER_H */
703