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 |
| 14 | #define YY_FLEX_SUBMINOR_VERSION 0 |
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 | |
| 93 | #ifdef __cplusplus |
| 94 | |
| 95 | /* The "const" storage-class-modifier is valid. */ |
| 96 | #define YY_USE_CONST |
| 97 | |
| 98 | #else /* ! __cplusplus */ |
| 99 | |
| 100 | /* C99 requires __STDC__ to be defined as 1. */ |
| 101 | #if defined (__STDC__) |
| 102 | |
| 103 | #define YY_USE_CONST |
| 104 | |
| 105 | #endif /* defined (__STDC__) */ |
| 106 | #endif /* ! __cplusplus */ |
| 107 | |
| 108 | #ifdef YY_USE_CONST |
| 109 | #define yyconst const |
| 110 | #else |
| 111 | #define yyconst |
| 112 | #endif |
| 113 | |
| 114 | /* Size of default input buffer. */ |
| 115 | #ifndef YY_BUF_SIZE |
| 116 | #ifdef __ia64__ |
| 117 | /* On IA-64, the buffer size is 16k, not 8k. |
| 118 | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. |
| 119 | * Ditto for the __ia64__ case accordingly. |
| 120 | */ |
| 121 | #define YY_BUF_SIZE 32768 |
| 122 | #else |
| 123 | #define YY_BUF_SIZE 16384 |
| 124 | #endif /* __ia64__ */ |
| 125 | #endif |
| 126 | |
| 127 | #ifndef YY_TYPEDEF_YY_BUFFER_STATE |
| 128 | #define YY_TYPEDEF_YY_BUFFER_STATE |
| 129 | typedef struct yy_buffer_state *YY_BUFFER_STATE; |
| 130 | #endif |
| 131 | |
| 132 | #ifndef YY_TYPEDEF_YY_SIZE_T |
| 133 | #define YY_TYPEDEF_YY_SIZE_T |
| 134 | typedef size_t yy_size_t; |
| 135 | #endif |
| 136 | |
| 137 | extern yy_size_t yyleng; |
| 138 | |
| 139 | extern FILE *yyin, *yyout; |
| 140 | |
| 141 | #ifndef YY_STRUCT_YY_BUFFER_STATE |
| 142 | #define YY_STRUCT_YY_BUFFER_STATE |
| 143 | struct yy_buffer_state |
| 144 | { |
| 145 | FILE *yy_input_file; |
| 146 | |
| 147 | char *yy_ch_buf; /* input buffer */ |
| 148 | char *yy_buf_pos; /* current position in input buffer */ |
| 149 | |
| 150 | /* Size of input buffer in bytes, not including room for EOB |
| 151 | * characters. |
| 152 | */ |
| 153 | yy_size_t yy_buf_size; |
| 154 | |
| 155 | /* Number of characters read into yy_ch_buf, not including EOB |
| 156 | * characters. |
| 157 | */ |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 158 | int yy_n_chars; |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 159 | |
| 160 | /* Whether we "own" the buffer - i.e., we know we created it, |
| 161 | * and can realloc() it to grow it, and should free() it to |
| 162 | * delete it. |
| 163 | */ |
| 164 | int yy_is_our_buffer; |
| 165 | |
| 166 | /* Whether this is an "interactive" input source; if so, and |
| 167 | * if we're using stdio for input, then we want to use getc() |
| 168 | * instead of fread(), to make sure we stop fetching input after |
| 169 | * each newline. |
| 170 | */ |
| 171 | int yy_is_interactive; |
| 172 | |
| 173 | /* Whether we're considered to be at the beginning of a line. |
| 174 | * If so, '^' rules will be active on the next match, otherwise |
| 175 | * not. |
| 176 | */ |
| 177 | int yy_at_bol; |
| 178 | |
| 179 | int yy_bs_lineno; /**< The line count. */ |
| 180 | int yy_bs_column; /**< The column count. */ |
| 181 | |
| 182 | /* Whether to try to fill the input buffer when we reach the |
| 183 | * end of it. |
| 184 | */ |
| 185 | int yy_fill_buffer; |
| 186 | |
| 187 | int yy_buffer_status; |
| 188 | |
| 189 | }; |
| 190 | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ |
| 191 | |
| 192 | void yyrestart (FILE *input_file ); |
| 193 | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); |
| 194 | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); |
| 195 | void yy_delete_buffer (YY_BUFFER_STATE b ); |
| 196 | void yy_flush_buffer (YY_BUFFER_STATE b ); |
| 197 | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); |
| 198 | void yypop_buffer_state (void ); |
| 199 | |
| 200 | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); |
| 201 | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); |
| 202 | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); |
| 203 | |
| 204 | void *yyalloc (yy_size_t ); |
| 205 | void *yyrealloc (void *,yy_size_t ); |
| 206 | void yyfree (void * ); |
| 207 | |
| 208 | /* Begin user sect3 */ |
| 209 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 210 | #define yywrap() (/*CONSTCOND*/1) |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 211 | #define YY_SKIP_YYWRAP |
| 212 | |
| 213 | extern int yylineno; |
| 214 | |
| 215 | extern char *yytext; |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 216 | #ifdef yytext_ptr |
| 217 | #undef yytext_ptr |
| 218 | #endif |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 219 | #define yytext_ptr yytext |
| 220 | |
| 221 | #ifdef YY_HEADER_EXPORT_START_CONDITIONS |
| 222 | #define INITIAL 0 |
| 223 | |
| 224 | #endif |
| 225 | |
| 226 | #ifndef YY_NO_UNISTD_H |
| 227 | /* Special case for "unistd.h", since it is non-ANSI. We include it way |
| 228 | * down here because we want the user's section 1 to have been scanned first. |
| 229 | * The user has a chance to override it with an option. |
| 230 | */ |
| 231 | #include <unistd.h> |
| 232 | #endif |
| 233 | |
| 234 | #ifndef YY_EXTRA_TYPE |
| 235 | #define YY_EXTRA_TYPE void * |
| 236 | #endif |
| 237 | |
| 238 | /* Accessor methods to globals. |
| 239 | These are made visible to non-reentrant scanners for convenience. */ |
| 240 | |
| 241 | int yylex_destroy (void ); |
| 242 | |
| 243 | int yyget_debug (void ); |
| 244 | |
| 245 | void yyset_debug (int debug_flag ); |
| 246 | |
| 247 | YY_EXTRA_TYPE yyget_extra (void ); |
| 248 | |
| 249 | void yyset_extra (YY_EXTRA_TYPE user_defined ); |
| 250 | |
| 251 | FILE *yyget_in (void ); |
| 252 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 253 | void yyset_in (FILE * _in_str ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 254 | |
| 255 | FILE *yyget_out (void ); |
| 256 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 257 | void yyset_out (FILE * _out_str ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 258 | |
| 259 | yy_size_t yyget_leng (void ); |
| 260 | |
| 261 | char *yyget_text (void ); |
| 262 | |
| 263 | int yyget_lineno (void ); |
| 264 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 265 | void yyset_lineno (int _line_number ); |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 266 | |
| 267 | /* Macros after this point can all be overridden by user definitions in |
| 268 | * section 1. |
| 269 | */ |
| 270 | |
| 271 | #ifndef YY_SKIP_YYWRAP |
| 272 | #ifdef __cplusplus |
| 273 | extern "C" int yywrap (void ); |
| 274 | #else |
| 275 | extern int yywrap (void ); |
| 276 | #endif |
| 277 | #endif |
| 278 | |
| 279 | #ifndef yytext_ptr |
| 280 | static void yy_flex_strncpy (char *,yyconst char *,int ); |
| 281 | #endif |
| 282 | |
| 283 | #ifdef YY_NEED_STRLEN |
| 284 | static int yy_flex_strlen (yyconst char * ); |
| 285 | #endif |
| 286 | |
| 287 | #ifndef YY_NO_INPUT |
| 288 | |
| 289 | #endif |
| 290 | |
| 291 | /* Amount of stuff to slurp up with each read. */ |
| 292 | #ifndef YY_READ_BUF_SIZE |
| 293 | #ifdef __ia64__ |
| 294 | /* On IA-64, the buffer size is 16k, not 8k */ |
| 295 | #define YY_READ_BUF_SIZE 16384 |
| 296 | #else |
| 297 | #define YY_READ_BUF_SIZE 8192 |
| 298 | #endif /* __ia64__ */ |
| 299 | #endif |
| 300 | |
| 301 | /* Number of entries by which start-condition stack grows. */ |
| 302 | #ifndef YY_START_STACK_INCR |
| 303 | #define YY_START_STACK_INCR 25 |
| 304 | #endif |
| 305 | |
| 306 | /* Default declaration of generated scanner - a define so the user can |
| 307 | * easily add parameters. |
| 308 | */ |
| 309 | #ifndef YY_DECL |
| 310 | #define YY_DECL_IS_OURS 1 |
| 311 | |
| 312 | extern int yylex (void); |
| 313 | |
| 314 | #define YY_DECL int yylex (void) |
| 315 | #endif /* !YY_DECL */ |
| 316 | |
| 317 | /* yy_get_previous_state - get the state just before the EOB char was reached */ |
| 318 | |
| 319 | #undef YY_NEW_FILE |
| 320 | #undef YY_FLUSH_BUFFER |
| 321 | #undef yy_set_bol |
| 322 | #undef yy_new_buffer |
| 323 | #undef yy_set_interactive |
| 324 | #undef YY_DO_BEFORE_ACTION |
| 325 | |
| 326 | #ifdef YY_DECL_IS_OURS |
| 327 | #undef YY_DECL_IS_OURS |
| 328 | #undef YY_DECL |
| 329 | #endif |
| 330 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 331 | #line 41 "fmd_scanner.l" |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 332 | |
| 333 | |
Patrick Georgi | 2b80734 | 2016-06-28 20:45:34 +0200 | [diff] [blame] | 334 | #line 335 "fmd_scanner.h_shipped" |
Sol Boucher | 69b88bf | 2015-02-26 11:47:19 -0800 | [diff] [blame] | 335 | #undef yyIN_HEADER |
| 336 | #endif /* yyHEADER_H */ |