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 !defined _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 6
27 #define YY_FLEX_SUBMINOR_VERSION 0
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. */
147 /* On IA-64, the buffer size is 16k, not 8k.
148 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
149 * Ditto for the __ia64__ case accordingly.
151 #define YY_BUF_SIZE 32768
153 #define YY_BUF_SIZE 16384
154 #endif /* __ia64__ */
157 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
158 #define YY_TYPEDEF_YY_BUFFER_STATE
159 typedef struct yy_buffer_state
*YY_BUFFER_STATE
;
162 #ifndef YY_TYPEDEF_YY_SIZE_T
163 #define YY_TYPEDEF_YY_SIZE_T
164 typedef size_t yy_size_t
;
167 #ifndef YY_STRUCT_YY_BUFFER_STATE
168 #define YY_STRUCT_YY_BUFFER_STATE
169 struct yy_buffer_state
173 char *yy_ch_buf
; /* input buffer */
174 char *yy_buf_pos
; /* current position in input buffer */
176 /* Size of input buffer in bytes, not including room for EOB
179 yy_size_t yy_buf_size
;
181 /* Number of characters read into yy_ch_buf, not including EOB
184 yy_size_t yy_n_chars
;
186 /* Whether we "own" the buffer - i.e., we know we created it,
187 * and can realloc() it to grow it, and should free() it to
190 int yy_is_our_buffer
;
192 /* Whether this is an "interactive" input source; if so, and
193 * if we're using stdio for input, then we want to use getc()
194 * instead of fread(), to make sure we stop fetching input after
197 int yy_is_interactive
;
199 /* Whether we're considered to be at the beginning of a line.
200 * If so, '^' rules will be active on the next match, otherwise
205 int yy_bs_lineno
; /**< The line count. */
206 int yy_bs_column
; /**< The column count. */
208 /* Whether to try to fill the input buffer when we reach the
213 int yy_buffer_status
;
216 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
218 void _gmx_sel_yyrestart (FILE *input_file
,yyscan_t yyscanner
);
219 void _gmx_sel_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer
,yyscan_t yyscanner
);
220 YY_BUFFER_STATE
_gmx_sel_yy_create_buffer (FILE *file
,int size
,yyscan_t yyscanner
);
221 void _gmx_sel_yy_delete_buffer (YY_BUFFER_STATE b
,yyscan_t yyscanner
);
222 void _gmx_sel_yy_flush_buffer (YY_BUFFER_STATE b
,yyscan_t yyscanner
);
223 void _gmx_sel_yypush_buffer_state (YY_BUFFER_STATE new_buffer
,yyscan_t yyscanner
);
224 void _gmx_sel_yypop_buffer_state (yyscan_t yyscanner
);
226 YY_BUFFER_STATE
_gmx_sel_yy_scan_buffer (char *base
,yy_size_t size
,yyscan_t yyscanner
);
227 YY_BUFFER_STATE
_gmx_sel_yy_scan_string (yyconst
char *yy_str
,yyscan_t yyscanner
);
228 YY_BUFFER_STATE
_gmx_sel_yy_scan_bytes (yyconst
char *bytes
,yy_size_t len
,yyscan_t yyscanner
);
230 void *_gmx_sel_yyalloc (yy_size_t
,yyscan_t yyscanner
);
231 void *_gmx_sel_yyrealloc (void *,yy_size_t
,yyscan_t yyscanner
);
232 void _gmx_sel_yyfree (void * ,yyscan_t yyscanner
);
234 #define _gmx_sel_yywrap(yyscanner) (/*CONSTCOND*/1)
235 #define YY_SKIP_YYWRAP
237 #define yytext_ptr yytext_r
239 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
247 #ifndef YY_NO_UNISTD_H
248 /* Special case for "unistd.h", since it is non-ANSI. We include it way
249 * down here because we want the user's section 1 to have been scanned first.
250 * The user has a chance to override it with an option.
255 #ifndef YY_EXTRA_TYPE
256 #define YY_EXTRA_TYPE void *
259 int _gmx_sel_yylex_init (yyscan_t
* scanner
);
261 int _gmx_sel_yylex_init_extra (YY_EXTRA_TYPE user_defined
,yyscan_t
* scanner
);
263 /* Accessor methods to globals.
264 These are made visible to non-reentrant scanners for convenience. */
266 int _gmx_sel_yylex_destroy (yyscan_t yyscanner
);
268 int _gmx_sel_yyget_debug (yyscan_t yyscanner
);
270 void _gmx_sel_yyset_debug (int debug_flag
,yyscan_t yyscanner
);
272 YY_EXTRA_TYPE
_gmx_sel_yyget_extra (yyscan_t yyscanner
);
274 void _gmx_sel_yyset_extra (YY_EXTRA_TYPE user_defined
,yyscan_t yyscanner
);
276 FILE *_gmx_sel_yyget_in (yyscan_t yyscanner
);
278 void _gmx_sel_yyset_in (FILE * _in_str
,yyscan_t yyscanner
);
280 FILE *_gmx_sel_yyget_out (yyscan_t yyscanner
);
282 void _gmx_sel_yyset_out (FILE * _out_str
,yyscan_t yyscanner
);
284 yy_size_t
_gmx_sel_yyget_leng (yyscan_t yyscanner
);
286 char *_gmx_sel_yyget_text (yyscan_t yyscanner
);
288 int _gmx_sel_yyget_lineno (yyscan_t yyscanner
);
290 void _gmx_sel_yyset_lineno (int _line_number
,yyscan_t yyscanner
);
292 int _gmx_sel_yyget_column (yyscan_t yyscanner
);
294 void _gmx_sel_yyset_column (int _column_no
,yyscan_t yyscanner
);
296 /* Macros after this point can all be overridden by user definitions in
300 #ifndef YY_SKIP_YYWRAP
302 extern "C" int _gmx_sel_yywrap (yyscan_t yyscanner
);
304 extern int _gmx_sel_yywrap (yyscan_t yyscanner
);
309 static void yy_flex_strncpy (char *,yyconst
char *,int ,yyscan_t yyscanner
);
312 #ifdef YY_NEED_STRLEN
313 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner
);
320 /* Amount of stuff to slurp up with each read. */
321 #ifndef YY_READ_BUF_SIZE
323 /* On IA-64, the buffer size is 16k, not 8k */
324 #define YY_READ_BUF_SIZE 16384
326 #define YY_READ_BUF_SIZE 8192
327 #endif /* __ia64__ */
330 /* Number of entries by which start-condition stack grows. */
331 #ifndef YY_START_STACK_INCR
332 #define YY_START_STACK_INCR 25
335 /* Default declaration of generated scanner - a define so the user can
336 * easily add parameters.
339 #define YY_DECL_IS_OURS 1
341 extern int _gmx_sel_yylex (yyscan_t yyscanner
);
343 #define YY_DECL int _gmx_sel_yylex (yyscan_t yyscanner)
344 #endif /* !YY_DECL */
346 /* yy_get_previous_state - get the state just before the EOB char was reached */
349 #undef YY_FLUSH_BUFFER
352 #undef yy_set_interactive
353 #undef YY_DO_BEFORE_ACTION
355 #ifdef YY_DECL_IS_OURS
356 #undef YY_DECL_IS_OURS
360 #line 178 "scanner.l"
362 #line 363 "scanner_flex.h"
363 #undef _gmx_sel_yyIN_HEADER
364 #endif /* _gmx_sel_yyHEADER_H */