1 #ifndef _gmx_sel_yyHEADER_H
2 #define _gmx_sel_yyHEADER_H 1
3 #define _gmx_sel_yyIN_HEADER 1
5 #line 6 "scanner_flex.h"
7 // Required before flex definitions, since it includes <stdint.h>.
8 // Otherwise, compilers not strictly C99 get macro redefinition errors,
9 // since flex defines INT32_MAX etc. in such cases.
10 #include "gromacs/legacyheaders/types/simple.h"
14 #line 15 "scanner_flex.h"
16 #define YY_INT_ALIGNED short int
18 /* A lexical scanner generated by flex */
21 #define YY_FLEX_MAJOR_VERSION 2
22 #define YY_FLEX_MINOR_VERSION 5
23 #define YY_FLEX_SUBMINOR_VERSION 37
24 #if YY_FLEX_SUBMINOR_VERSION > 0
28 /* First, we deal with platform-specific or compiler-specific issues. */
30 /* begin standard C headers. */
36 /* end standard C headers. */
38 /* flex integer type definitions */
43 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
45 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
47 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
48 * if you want the limit (max/min) macros for int types.
50 #ifndef __STDC_LIMIT_MACROS
51 #define __STDC_LIMIT_MACROS 1
55 typedef int8_t flex_int8_t;
56 typedef uint8_t flex_uint8_t;
57 typedef int16_t flex_int16_t;
58 typedef uint16_t flex_uint16_t;
59 typedef int32_t flex_int32_t;
60 typedef uint32_t flex_uint32_t;
62 typedef signed char flex_int8_t;
63 typedef short int flex_int16_t;
64 typedef int flex_int32_t;
65 typedef unsigned char flex_uint8_t;
66 typedef unsigned short int flex_uint16_t;
67 typedef unsigned int flex_uint32_t;
69 /* Limits of integral types. */
71 #define INT8_MIN (-128)
74 #define INT16_MIN (-32767-1)
77 #define INT32_MIN (-2147483647-1)
80 #define INT8_MAX (127)
83 #define INT16_MAX (32767)
86 #define INT32_MAX (2147483647)
89 #define UINT8_MAX (255U)
92 #define UINT16_MAX (65535U)
95 #define UINT32_MAX (4294967295U)
100 #endif /* ! FLEXINT_H */
104 /* The "const" storage-class-modifier is valid. */
107 #else /* ! __cplusplus */
109 /* C99 requires __STDC__ to be defined as 1. */
110 #if defined (__STDC__)
114 #endif /* defined (__STDC__) */
115 #endif /* ! __cplusplus */
118 #define yyconst const
123 /* An opaque pointer. */
124 #ifndef YY_TYPEDEF_YY_SCANNER_T
125 #define YY_TYPEDEF_YY_SCANNER_T
126 typedef void* yyscan_t;
129 /* For convenience, these vars (plus the bison vars far below)
130 are macros in the reentrant scanner. */
131 #define yyin yyg->yyin_r
132 #define yyout yyg->yyout_r
133 #define yyextra yyg->yyextra_r
134 #define yyleng yyg->yyleng_r
135 #define yytext yyg->yytext_r
136 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
137 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
138 #define yy_flex_debug yyg->yy_flex_debug_r
140 /* Size of default input buffer. */
142 #define YY_BUF_SIZE 16384
145 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
146 #define YY_TYPEDEF_YY_BUFFER_STATE
147 typedef struct yy_buffer_state *YY_BUFFER_STATE;
150 #ifndef YY_TYPEDEF_YY_SIZE_T
151 #define YY_TYPEDEF_YY_SIZE_T
152 typedef size_t yy_size_t;
155 #ifndef YY_STRUCT_YY_BUFFER_STATE
156 #define YY_STRUCT_YY_BUFFER_STATE
157 struct yy_buffer_state
161 char *yy_ch_buf; /* input buffer */
162 char *yy_buf_pos; /* current position in input buffer */
164 /* Size of input buffer in bytes, not including room for EOB
167 yy_size_t yy_buf_size;
169 /* Number of characters read into yy_ch_buf, not including EOB
172 yy_size_t yy_n_chars;
174 /* Whether we "own" the buffer - i.e., we know we created it,
175 * and can realloc() it to grow it, and should free() it to
178 int yy_is_our_buffer;
180 /* Whether this is an "interactive" input source; if so, and
181 * if we're using stdio for input, then we want to use getc()
182 * instead of fread(), to make sure we stop fetching input after
185 int yy_is_interactive;
187 /* Whether we're considered to be at the beginning of a line.
188 * If so, '^' rules will be active on the next match, otherwise
193 int yy_bs_lineno; /**< The line count. */
194 int yy_bs_column; /**< The column count. */
196 /* Whether to try to fill the input buffer when we reach the
201 int yy_buffer_status;
204 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
206 void _gmx_sel_yyrestart (FILE *input_file ,yyscan_t yyscanner );
207 void _gmx_sel_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
208 YY_BUFFER_STATE _gmx_sel_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
209 void _gmx_sel_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
210 void _gmx_sel_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
211 void _gmx_sel_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
212 void _gmx_sel_yypop_buffer_state (yyscan_t yyscanner );
214 YY_BUFFER_STATE _gmx_sel_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
215 YY_BUFFER_STATE _gmx_sel_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
216 YY_BUFFER_STATE _gmx_sel_yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
218 void *_gmx_sel_yyalloc (yy_size_t ,yyscan_t yyscanner );
219 void *_gmx_sel_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
220 void _gmx_sel_yyfree (void * ,yyscan_t yyscanner );
222 #define _gmx_sel_yywrap(yyscanner) 1
223 #define YY_SKIP_YYWRAP
225 #define yytext_ptr yytext_r
227 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
235 #ifndef YY_NO_UNISTD_H
236 /* Special case for "unistd.h", since it is non-ANSI. We include it way
237 * down here because we want the user's section 1 to have been scanned first.
238 * The user has a chance to override it with an option.
243 #ifndef YY_EXTRA_TYPE
244 #define YY_EXTRA_TYPE void *
247 int _gmx_sel_yylex_init (yyscan_t* scanner);
249 int _gmx_sel_yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
251 /* Accessor methods to globals.
252 These are made visible to non-reentrant scanners for convenience. */
254 int _gmx_sel_yylex_destroy (yyscan_t yyscanner );
256 int _gmx_sel_yyget_debug (yyscan_t yyscanner );
258 void _gmx_sel_yyset_debug (int debug_flag ,yyscan_t yyscanner );
260 YY_EXTRA_TYPE _gmx_sel_yyget_extra (yyscan_t yyscanner );
262 void _gmx_sel_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
264 FILE *_gmx_sel_yyget_in (yyscan_t yyscanner );
266 void _gmx_sel_yyset_in (FILE * in_str ,yyscan_t yyscanner );
268 FILE *_gmx_sel_yyget_out (yyscan_t yyscanner );
270 void _gmx_sel_yyset_out (FILE * out_str ,yyscan_t yyscanner );
272 yy_size_t _gmx_sel_yyget_leng (yyscan_t yyscanner );
274 char *_gmx_sel_yyget_text (yyscan_t yyscanner );
276 int _gmx_sel_yyget_lineno (yyscan_t yyscanner );
278 void _gmx_sel_yyset_lineno (int line_number ,yyscan_t yyscanner );
280 int _gmx_sel_yyget_column (yyscan_t yyscanner );
282 void _gmx_sel_yyset_column (int column_no ,yyscan_t yyscanner );
284 /* Macros after this point can all be overridden by user definitions in
288 #ifndef YY_SKIP_YYWRAP
290 extern "C" int _gmx_sel_yywrap (yyscan_t yyscanner );
292 extern int _gmx_sel_yywrap (yyscan_t yyscanner );
297 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
300 #ifdef YY_NEED_STRLEN
301 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
308 /* Amount of stuff to slurp up with each read. */
309 #ifndef YY_READ_BUF_SIZE
310 #define YY_READ_BUF_SIZE 8192
313 /* Number of entries by which start-condition stack grows. */
314 #ifndef YY_START_STACK_INCR
315 #define YY_START_STACK_INCR 25
318 /* Default declaration of generated scanner - a define so the user can
319 * easily add parameters.
322 #define YY_DECL_IS_OURS 1
324 extern int _gmx_sel_yylex (yyscan_t yyscanner);
326 #define YY_DECL int _gmx_sel_yylex (yyscan_t yyscanner)
327 #endif /* !YY_DECL */
329 /* yy_get_previous_state - get the state just before the EOB char was reached */
332 #undef YY_FLUSH_BUFFER
335 #undef yy_set_interactive
336 #undef YY_DO_BEFORE_ACTION
338 #ifdef YY_DECL_IS_OURS
339 #undef YY_DECL_IS_OURS
343 #line 168 "scanner.l"
345 #line 346 "scanner_flex.h"
346 #undef _gmx_sel_yyIN_HEADER
347 #endif /* _gmx_sel_yyHEADER_H */