Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 1 | #ifndef yyHEADER_H |
| 2 | #define yyHEADER_H 1 |
| 3 | #define yyIN_HEADER 1 |
| 4 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 5 | #line 6 "fmd_scanner.h_shipped" |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 6 | |
| 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 Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 13 | #define YY_FLEX_MINOR_VERSION 6 |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 14 | #define YY_FLEX_SUBMINOR_VERSION 1 |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 15 | #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, |
| 39 | * if you want the limit (max/min) macros for int types. |
| 40 | */ |
| 41 | #ifndef __STDC_LIMIT_MACROS |
| 42 | #define __STDC_LIMIT_MACROS 1 |
| 43 | #endif |
| 44 | |
| 45 | #include <inttypes.h> |
| 46 | typedef int8_t flex_int8_t; |
| 47 | typedef uint8_t flex_uint8_t; |
| 48 | typedef int16_t flex_int16_t; |
| 49 | typedef uint16_t flex_uint16_t; |
| 50 | typedef int32_t flex_int32_t; |
| 51 | typedef uint32_t flex_uint32_t; |
| 52 | #else |
| 53 | typedef signed char flex_int8_t; |
| 54 | typedef short int flex_int16_t; |
| 55 | typedef int flex_int32_t; |
| 56 | typedef unsigned char flex_uint8_t; |
| 57 | typedef unsigned short int flex_uint16_t; |
| 58 | typedef 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 Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 93 | /* TODO: this is always defined, so inline it */ |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 94 | #define yyconst const |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 95 | |
| 96 | #if defined(__GNUC__) && __GNUC__ >= 3 |
| 97 | #define yynoreturn __attribute__((__noreturn__)) |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 98 | #else |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 99 | #define yynoreturn |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 100 | #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 |
| 117 | typedef struct yy_buffer_state *YY_BUFFER_STATE; |
| 118 | #endif |
| 119 | |
| 120 | #ifndef YY_TYPEDEF_YY_SIZE_T |
| 121 | #define YY_TYPEDEF_YY_SIZE_T |
| 122 | typedef size_t yy_size_t; |
| 123 | #endif |
| 124 | |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 125 | extern int yyleng; |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 126 | |
| 127 | extern FILE *yyin, *yyout; |
| 128 | |
| 129 | #ifndef YY_STRUCT_YY_BUFFER_STATE |
| 130 | #define YY_STRUCT_YY_BUFFER_STATE |
| 131 | struct 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 Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 141 | int yy_buf_size; |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 142 | |
| 143 | /* Number of characters read into yy_ch_buf, not including EOB |
| 144 | * characters. |
| 145 | */ |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 146 | int yy_n_chars; |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 147 | |
| 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 Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 169 | |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 170 | /* 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 | |
| 180 | void yyrestart (FILE *input_file ); |
| 181 | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); |
| 182 | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); |
| 183 | void yy_delete_buffer (YY_BUFFER_STATE b ); |
| 184 | void yy_flush_buffer (YY_BUFFER_STATE b ); |
| 185 | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); |
| 186 | void yypop_buffer_state (void ); |
| 187 | |
| 188 | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); |
| 189 | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 190 | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 191 | |
| 192 | void *yyalloc (yy_size_t ); |
| 193 | void *yyrealloc (void *,yy_size_t ); |
| 194 | void yyfree (void * ); |
| 195 | |
| 196 | /* Begin user sect3 */ |
| 197 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 198 | #define yywrap() (/*CONSTCOND*/1) |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 199 | #define YY_SKIP_YYWRAP |
| 200 | |
| 201 | extern int yylineno; |
| 202 | |
| 203 | extern char *yytext; |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 204 | #ifdef yytext_ptr |
| 205 | #undef yytext_ptr |
| 206 | #endif |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 207 | #define yytext_ptr yytext |
| 208 | |
| 209 | #ifdef YY_HEADER_EXPORT_START_CONDITIONS |
| 210 | #define INITIAL 0 |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 211 | #define FLAGS 1 |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 212 | |
| 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 | |
| 230 | int yylex_destroy (void ); |
| 231 | |
| 232 | int yyget_debug (void ); |
| 233 | |
| 234 | void yyset_debug (int debug_flag ); |
| 235 | |
| 236 | YY_EXTRA_TYPE yyget_extra (void ); |
| 237 | |
| 238 | void yyset_extra (YY_EXTRA_TYPE user_defined ); |
| 239 | |
| 240 | FILE *yyget_in (void ); |
| 241 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 242 | void yyset_in (FILE * _in_str ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 243 | |
| 244 | FILE *yyget_out (void ); |
| 245 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 246 | void yyset_out (FILE * _out_str ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 247 | |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 248 | int yyget_leng (void ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 249 | |
| 250 | char *yyget_text (void ); |
| 251 | |
| 252 | int yyget_lineno (void ); |
| 253 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 254 | void yyset_lineno (int _line_number ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 255 | |
| 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 |
| 262 | extern "C" int yywrap (void ); |
| 263 | #else |
| 264 | extern int yywrap (void ); |
| 265 | #endif |
| 266 | #endif |
| 267 | |
| 268 | #ifndef yytext_ptr |
| 269 | static void yy_flex_strncpy (char *,yyconst char *,int ); |
| 270 | #endif |
| 271 | |
| 272 | #ifdef YY_NEED_STRLEN |
| 273 | static 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 | |
| 301 | extern 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 Lin | 49a4450 | 2019-03-04 15:41:09 +0800 | [diff] [blame] | 320 | #line 45 "fmd_scanner.l" |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 321 | |
| 322 | |
Hung-Te Lin | 9497fcb | 2019-03-04 14:28:37 +0800 | [diff] [blame] | 323 | #line 324 "fmd_scanner.h_shipped" |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 324 | #undef yyIN_HEADER |
| 325 | #endif /* yyHEADER_H */ |