blob: 1b778ec193f919d5627175ac575975f4fd35c552 [file] [log] [blame]
Sol Boucher69b88bf2015-02-26 11:47:19 -08001#ifndef yyHEADER_H
2#define yyHEADER_H 1
3#define yyIN_HEADER 1
4
Patrick Georgi2b807342016-06-28 20:45:34 +02005#line 6 "fmd_scanner.h_shipped"
Sol Boucher69b88bf2015-02-26 11:47:19 -08006
7#define YY_INT_ALIGNED short int
8
9/* A lexical scanner generated by flex */
10
11#define FLEX_SCANNER
12#define YY_FLEX_MAJOR_VERSION 2
Patrick Georgi2b807342016-06-28 20:45:34 +020013#define YY_FLEX_MINOR_VERSION 6
Hung-Te Lin9497fcb2019-03-04 14:28:37 +080014#define YY_FLEX_SUBMINOR_VERSION 1
Sol Boucher69b88bf2015-02-26 11:47:19 -080015#if YY_FLEX_SUBMINOR_VERSION > 0
16#define FLEX_BETA
17#endif
18
19/* First, we deal with platform-specific or compiler-specific issues. */
20
21/* begin standard C headers. */
22#include <stdio.h>
23#include <string.h>
24#include <errno.h>
25#include <stdlib.h>
26
27/* end standard C headers. */
28
29/* flex integer type definitions */
30
31#ifndef FLEXINT_H
32#define FLEXINT_H
33
34/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
35
36#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
37
38/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
Martin Roth5c734132021-02-14 13:52:00 -070039 * if you want the limit (max/min) macros for int types.
Sol Boucher69b88bf2015-02-26 11:47:19 -080040 */
41#ifndef __STDC_LIMIT_MACROS
42#define __STDC_LIMIT_MACROS 1
43#endif
44
45#include <inttypes.h>
46typedef int8_t flex_int8_t;
47typedef uint8_t flex_uint8_t;
48typedef int16_t flex_int16_t;
49typedef uint16_t flex_uint16_t;
50typedef int32_t flex_int32_t;
51typedef uint32_t flex_uint32_t;
52#else
53typedef signed char flex_int8_t;
54typedef short int flex_int16_t;
55typedef int flex_int32_t;
Martin Roth5c734132021-02-14 13:52:00 -070056typedef unsigned char flex_uint8_t;
Sol Boucher69b88bf2015-02-26 11:47:19 -080057typedef unsigned short int flex_uint16_t;
58typedef unsigned int flex_uint32_t;
59
60/* Limits of integral types. */
61#ifndef INT8_MIN
62#define INT8_MIN (-128)
63#endif
64#ifndef INT16_MIN
65#define INT16_MIN (-32767-1)
66#endif
67#ifndef INT32_MIN
68#define INT32_MIN (-2147483647-1)
69#endif
70#ifndef INT8_MAX
71#define INT8_MAX (127)
72#endif
73#ifndef INT16_MAX
74#define INT16_MAX (32767)
75#endif
76#ifndef INT32_MAX
77#define INT32_MAX (2147483647)
78#endif
79#ifndef UINT8_MAX
80#define UINT8_MAX (255U)
81#endif
82#ifndef UINT16_MAX
83#define UINT16_MAX (65535U)
84#endif
85#ifndef UINT32_MAX
86#define UINT32_MAX (4294967295U)
87#endif
88
89#endif /* ! C99 */
90
91#endif /* ! FLEXINT_H */
92
Hung-Te Lin9497fcb2019-03-04 14:28:37 +080093/* TODO: this is always defined, so inline it */
Sol Boucher69b88bf2015-02-26 11:47:19 -080094#define yyconst const
Hung-Te Lin9497fcb2019-03-04 14:28:37 +080095
96#if defined(__GNUC__) && __GNUC__ >= 3
97#define yynoreturn __attribute__((__noreturn__))
Sol Boucher69b88bf2015-02-26 11:47:19 -080098#else
Hung-Te Lin9497fcb2019-03-04 14:28:37 +080099#define yynoreturn
Sol Boucher69b88bf2015-02-26 11:47:19 -0800100#endif
101
102/* Size of default input buffer. */
103#ifndef YY_BUF_SIZE
104#ifdef __ia64__
105/* On IA-64, the buffer size is 16k, not 8k.
106 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
107 * Ditto for the __ia64__ case accordingly.
108 */
109#define YY_BUF_SIZE 32768
110#else
111#define YY_BUF_SIZE 16384
112#endif /* __ia64__ */
113#endif
114
115#ifndef YY_TYPEDEF_YY_BUFFER_STATE
116#define YY_TYPEDEF_YY_BUFFER_STATE
117typedef struct yy_buffer_state *YY_BUFFER_STATE;
118#endif
119
120#ifndef YY_TYPEDEF_YY_SIZE_T
121#define YY_TYPEDEF_YY_SIZE_T
122typedef size_t yy_size_t;
123#endif
124
Hung-Te Lin9497fcb2019-03-04 14:28:37 +0800125extern int yyleng;
Sol Boucher69b88bf2015-02-26 11:47:19 -0800126
127extern FILE *yyin, *yyout;
128
129#ifndef YY_STRUCT_YY_BUFFER_STATE
130#define YY_STRUCT_YY_BUFFER_STATE
131struct yy_buffer_state
132 {
133 FILE *yy_input_file;
134
135 char *yy_ch_buf; /* input buffer */
136 char *yy_buf_pos; /* current position in input buffer */
137
138 /* Size of input buffer in bytes, not including room for EOB
139 * characters.
140 */
Hung-Te Lin9497fcb2019-03-04 14:28:37 +0800141 int yy_buf_size;
Sol Boucher69b88bf2015-02-26 11:47:19 -0800142
143 /* Number of characters read into yy_ch_buf, not including EOB
144 * characters.
145 */
Patrick Georgi2b807342016-06-28 20:45:34 +0200146 int yy_n_chars;
Sol Boucher69b88bf2015-02-26 11:47:19 -0800147
148 /* Whether we "own" the buffer - i.e., we know we created it,
149 * and can realloc() it to grow it, and should free() it to
150 * delete it.
151 */
152 int yy_is_our_buffer;
153
154 /* Whether this is an "interactive" input source; if so, and
155 * if we're using stdio for input, then we want to use getc()
156 * instead of fread(), to make sure we stop fetching input after
157 * each newline.
158 */
159 int yy_is_interactive;
160
161 /* Whether we're considered to be at the beginning of a line.
162 * If so, '^' rules will be active on the next match, otherwise
163 * not.
164 */
165 int yy_at_bol;
166
167 int yy_bs_lineno; /**< The line count. */
168 int yy_bs_column; /**< The column count. */
Hung-Te Lin9497fcb2019-03-04 14:28:37 +0800169
Sol Boucher69b88bf2015-02-26 11:47:19 -0800170 /* Whether to try to fill the input buffer when we reach the
171 * end of it.
172 */
173 int yy_fill_buffer;
174
175 int yy_buffer_status;
176
177 };
178#endif /* !YY_STRUCT_YY_BUFFER_STATE */
179
180void yyrestart (FILE *input_file );
181void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
182YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
183void yy_delete_buffer (YY_BUFFER_STATE b );
184void yy_flush_buffer (YY_BUFFER_STATE b );
185void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
186void yypop_buffer_state (void );
187
188YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
189YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
Hung-Te Lin9497fcb2019-03-04 14:28:37 +0800190YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
Sol Boucher69b88bf2015-02-26 11:47:19 -0800191
192void *yyalloc (yy_size_t );
193void *yyrealloc (void *,yy_size_t );
194void yyfree (void * );
195
196/* Begin user sect3 */
197
Patrick Georgi2b807342016-06-28 20:45:34 +0200198#define yywrap() (/*CONSTCOND*/1)
Sol Boucher69b88bf2015-02-26 11:47:19 -0800199#define YY_SKIP_YYWRAP
200
201extern int yylineno;
202
203extern char *yytext;
Patrick Georgi2b807342016-06-28 20:45:34 +0200204#ifdef yytext_ptr
205#undef yytext_ptr
206#endif
Sol Boucher69b88bf2015-02-26 11:47:19 -0800207#define yytext_ptr yytext
208
209#ifdef YY_HEADER_EXPORT_START_CONDITIONS
210#define INITIAL 0
Hung-Te Lin9497fcb2019-03-04 14:28:37 +0800211#define FLAGS 1
Sol Boucher69b88bf2015-02-26 11:47:19 -0800212
213#endif
214
215#ifndef YY_NO_UNISTD_H
216/* Special case for "unistd.h", since it is non-ANSI. We include it way
217 * down here because we want the user's section 1 to have been scanned first.
218 * The user has a chance to override it with an option.
219 */
220#include <unistd.h>
221#endif
222
223#ifndef YY_EXTRA_TYPE
224#define YY_EXTRA_TYPE void *
225#endif
226
227/* Accessor methods to globals.
228 These are made visible to non-reentrant scanners for convenience. */
229
230int yylex_destroy (void );
231
232int yyget_debug (void );
233
234void yyset_debug (int debug_flag );
235
236YY_EXTRA_TYPE yyget_extra (void );
237
238void yyset_extra (YY_EXTRA_TYPE user_defined );
239
240FILE *yyget_in (void );
241
Patrick Georgi2b807342016-06-28 20:45:34 +0200242void yyset_in (FILE * _in_str );
Sol Boucher69b88bf2015-02-26 11:47:19 -0800243
244FILE *yyget_out (void );
245
Patrick Georgi2b807342016-06-28 20:45:34 +0200246void yyset_out (FILE * _out_str );
Sol Boucher69b88bf2015-02-26 11:47:19 -0800247
Hung-Te Lin9497fcb2019-03-04 14:28:37 +0800248 int yyget_leng (void );
Sol Boucher69b88bf2015-02-26 11:47:19 -0800249
250char *yyget_text (void );
251
252int yyget_lineno (void );
253
Patrick Georgi2b807342016-06-28 20:45:34 +0200254void yyset_lineno (int _line_number );
Sol Boucher69b88bf2015-02-26 11:47:19 -0800255
256/* Macros after this point can all be overridden by user definitions in
257 * section 1.
258 */
259
260#ifndef YY_SKIP_YYWRAP
261#ifdef __cplusplus
262extern "C" int yywrap (void );
263#else
264extern int yywrap (void );
265#endif
266#endif
267
268#ifndef yytext_ptr
269static void yy_flex_strncpy (char *,yyconst char *,int );
270#endif
271
272#ifdef YY_NEED_STRLEN
273static int yy_flex_strlen (yyconst char * );
274#endif
275
276#ifndef YY_NO_INPUT
277
278#endif
279
280/* Amount of stuff to slurp up with each read. */
281#ifndef YY_READ_BUF_SIZE
282#ifdef __ia64__
283/* On IA-64, the buffer size is 16k, not 8k */
284#define YY_READ_BUF_SIZE 16384
285#else
286#define YY_READ_BUF_SIZE 8192
287#endif /* __ia64__ */
288#endif
289
290/* Number of entries by which start-condition stack grows. */
291#ifndef YY_START_STACK_INCR
292#define YY_START_STACK_INCR 25
293#endif
294
295/* Default declaration of generated scanner - a define so the user can
296 * easily add parameters.
297 */
298#ifndef YY_DECL
299#define YY_DECL_IS_OURS 1
300
301extern int yylex (void);
302
303#define YY_DECL int yylex (void)
304#endif /* !YY_DECL */
305
306/* yy_get_previous_state - get the state just before the EOB char was reached */
307
308#undef YY_NEW_FILE
309#undef YY_FLUSH_BUFFER
310#undef yy_set_bol
311#undef yy_new_buffer
312#undef yy_set_interactive
313#undef YY_DO_BEFORE_ACTION
314
315#ifdef YY_DECL_IS_OURS
316#undef YY_DECL_IS_OURS
317#undef YY_DECL
318#endif
319
Hung-Te Lin49a44502019-03-04 15:41:09 +0800320#line 45 "fmd_scanner.l"
Sol Boucher69b88bf2015-02-26 11:47:19 -0800321
322
Hung-Te Lin9497fcb2019-03-04 14:28:37 +0800323#line 324 "fmd_scanner.h_shipped"
Sol Boucher69b88bf2015-02-26 11:47:19 -0800324#undef yyIN_HEADER
325#endif /* yyHEADER_H */