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 #if !_gmx_sel_yyIN_HEADER
11 // Required before flex definitions, since it includes <stdint.h>.
12 // Otherwise, compilers not strictly C99 get macro redefinition errors,
13 // since flex defines INT32_MAX etc. in such cases.
14 #include "gromacs/utility/basedefinitions.h"
18 #line 19 "scanner_flex.h"
20 #define YY_INT_ALIGNED short int
22 /* A lexical scanner generated by flex */
25 #define YY_FLEX_MAJOR_VERSION 2
26 #define YY_FLEX_MINOR_VERSION 5
27 #define YY_FLEX_SUBMINOR_VERSION 37
28 #if YY_FLEX_SUBMINOR_VERSION > 0
32 /* First, we deal with platform-specific or compiler-specific issues. */
34 /* begin standard C headers. */
40 /* end standard C headers. */
42 /* flex integer type definitions */
47 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
49 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
51 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
52 * if you want the limit (max/min) macros for int types.
54 #ifndef __STDC_LIMIT_MACROS
55 #define __STDC_LIMIT_MACROS 1
59 typedef int8_t flex_int8_t;
60 typedef uint8_t flex_uint8_t;
61 typedef int16_t flex_int16_t;
62 typedef uint16_t flex_uint16_t;
63 typedef int32_t flex_int32_t;
64 typedef uint32_t flex_uint32_t;
66 typedef signed char flex_int8_t;
67 typedef short int flex_int16_t;
68 typedef int flex_int32_t;
69 typedef unsigned char flex_uint8_t;
70 typedef unsigned short int flex_uint16_t;
71 typedef unsigned int flex_uint32_t;
73 /* Limits of integral types. */
75 #define INT8_MIN (-128)
78 #define INT16_MIN (-32767-1)
81 #define INT32_MIN (-2147483647-1)
84 #define INT8_MAX (127)
87 #define INT16_MAX (32767)
90 #define INT32_MAX (2147483647)
93 #define UINT8_MAX (255U)
96 #define UINT16_MAX (65535U)
99 #define UINT32_MAX (4294967295U)
104 #endif /* ! FLEXINT_H */
108 /* The "const" storage-class-modifier is valid. */
111 #else /* ! __cplusplus */
113 /* C99 requires __STDC__ to be defined as 1. */
114 #if defined (__STDC__)
118 #endif /* defined (__STDC__) */
119 #endif /* ! __cplusplus */
122 #define yyconst const
127 /* An opaque pointer. */
128 #ifndef YY_TYPEDEF_YY_SCANNER_T
129 #define YY_TYPEDEF_YY_SCANNER_T
130 typedef void* yyscan_t;
133 /* For convenience, these vars (plus the bison vars far below)
134 are macros in the reentrant scanner. */
135 #define yyin yyg->yyin_r
136 #define yyout yyg->yyout_r
137 #define yyextra yyg->yyextra_r
138 #define yyleng yyg->yyleng_r
139 #define yytext yyg->yytext_r
140 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
141 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
142 #define yy_flex_debug yyg->yy_flex_debug_r
144 /* Size of default input buffer. */
146 #define YY_BUF_SIZE 16384
149 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
150 #define YY_TYPEDEF_YY_BUFFER_STATE
151 typedef struct yy_buffer_state *YY_BUFFER_STATE;
154 #ifndef YY_TYPEDEF_YY_SIZE_T
155 #define YY_TYPEDEF_YY_SIZE_T
156 typedef size_t yy_size_t;
159 #ifndef YY_STRUCT_YY_BUFFER_STATE
160 #define YY_STRUCT_YY_BUFFER_STATE
161 struct yy_buffer_state
165 char *yy_ch_buf; /* input buffer */
166 char *yy_buf_pos; /* current position in input buffer */
168 /* Size of input buffer in bytes, not including room for EOB
171 yy_size_t yy_buf_size;
173 /* Number of characters read into yy_ch_buf, not including EOB
176 yy_size_t yy_n_chars;
178 /* Whether we "own" the buffer - i.e., we know we created it,
179 * and can realloc() it to grow it, and should free() it to
182 int yy_is_our_buffer;
184 /* Whether this is an "interactive" input source; if so, and
185 * if we're using stdio for input, then we want to use getc()
186 * instead of fread(), to make sure we stop fetching input after
189 int yy_is_interactive;
191 /* Whether we're considered to be at the beginning of a line.
192 * If so, '^' rules will be active on the next match, otherwise
197 int yy_bs_lineno; /**< The line count. */
198 int yy_bs_column; /**< The column count. */
200 /* Whether to try to fill the input buffer when we reach the
205 int yy_buffer_status;
208 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
210 void _gmx_sel_yyrestart (FILE *input_file ,yyscan_t yyscanner );
211 void _gmx_sel_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
212 YY_BUFFER_STATE _gmx_sel_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
213 void _gmx_sel_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
214 void _gmx_sel_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
215 void _gmx_sel_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
216 void _gmx_sel_yypop_buffer_state (yyscan_t yyscanner );
218 YY_BUFFER_STATE _gmx_sel_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
219 YY_BUFFER_STATE _gmx_sel_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
220 YY_BUFFER_STATE _gmx_sel_yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
222 void *_gmx_sel_yyalloc (yy_size_t ,yyscan_t yyscanner );
223 void *_gmx_sel_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
224 void _gmx_sel_yyfree (void * ,yyscan_t yyscanner );
226 #define _gmx_sel_yywrap(yyscanner) 1
227 #define YY_SKIP_YYWRAP
229 #define yytext_ptr yytext_r
231 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
239 #ifndef YY_NO_UNISTD_H
240 /* Special case for "unistd.h", since it is non-ANSI. We include it way
241 * down here because we want the user's section 1 to have been scanned first.
242 * The user has a chance to override it with an option.
247 #ifndef YY_EXTRA_TYPE
248 #define YY_EXTRA_TYPE void *
251 int _gmx_sel_yylex_init (yyscan_t* scanner);
253 int _gmx_sel_yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
255 /* Accessor methods to globals.
256 These are made visible to non-reentrant scanners for convenience. */
258 int _gmx_sel_yylex_destroy (yyscan_t yyscanner );
260 int _gmx_sel_yyget_debug (yyscan_t yyscanner );
262 void _gmx_sel_yyset_debug (int debug_flag ,yyscan_t yyscanner );
264 YY_EXTRA_TYPE _gmx_sel_yyget_extra (yyscan_t yyscanner );
266 void _gmx_sel_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
268 FILE *_gmx_sel_yyget_in (yyscan_t yyscanner );
270 void _gmx_sel_yyset_in (FILE * in_str ,yyscan_t yyscanner );
272 FILE *_gmx_sel_yyget_out (yyscan_t yyscanner );
274 void _gmx_sel_yyset_out (FILE * out_str ,yyscan_t yyscanner );
276 yy_size_t _gmx_sel_yyget_leng (yyscan_t yyscanner );
278 char *_gmx_sel_yyget_text (yyscan_t yyscanner );
280 int _gmx_sel_yyget_lineno (yyscan_t yyscanner );
282 void _gmx_sel_yyset_lineno (int line_number ,yyscan_t yyscanner );
284 int _gmx_sel_yyget_column (yyscan_t yyscanner );
286 void _gmx_sel_yyset_column (int column_no ,yyscan_t yyscanner );
288 /* Macros after this point can all be overridden by user definitions in
292 #ifndef YY_SKIP_YYWRAP
294 extern "C" int _gmx_sel_yywrap (yyscan_t yyscanner );
296 extern int _gmx_sel_yywrap (yyscan_t yyscanner );
301 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
304 #ifdef YY_NEED_STRLEN
305 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
312 /* Amount of stuff to slurp up with each read. */
313 #ifndef YY_READ_BUF_SIZE
314 #define YY_READ_BUF_SIZE 8192
317 /* Number of entries by which start-condition stack grows. */
318 #ifndef YY_START_STACK_INCR
319 #define YY_START_STACK_INCR 25
322 /* Default declaration of generated scanner - a define so the user can
323 * easily add parameters.
326 #define YY_DECL_IS_OURS 1
328 extern int _gmx_sel_yylex (yyscan_t yyscanner);
330 #define YY_DECL int _gmx_sel_yylex (yyscan_t yyscanner)
331 #endif /* !YY_DECL */
333 /* yy_get_previous_state - get the state just before the EOB char was reached */
336 #undef YY_FLUSH_BUFFER
339 #undef yy_set_interactive
340 #undef YY_DO_BEFORE_ACTION
342 #ifdef YY_DECL_IS_OURS
343 #undef YY_DECL_IS_OURS
347 #line 172 "scanner.l"
349 #line 350 "scanner_flex.h"
350 #undef _gmx_sel_yyIN_HEADER
351 #endif /* _gmx_sel_yyHEADER_H */