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 #line 8 "scanner_flex.h"
9 #define YY_INT_ALIGNED short int
11 /* A lexical scanner generated by flex */
14 #define YY_FLEX_MAJOR_VERSION 2
15 #define YY_FLEX_MINOR_VERSION 5
16 #define YY_FLEX_SUBMINOR_VERSION 35
17 #if YY_FLEX_SUBMINOR_VERSION > 0
21 /* First, we deal with platform-specific or compiler-specific issues. */
23 /* begin standard C headers. */
29 /* end standard C headers. */
31 /* flex integer type definitions */
36 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
38 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
40 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
41 * if you want the limit (max/min) macros for int types.
43 #ifndef __STDC_LIMIT_MACROS
44 #define __STDC_LIMIT_MACROS 1
48 typedef int8_t flex_int8_t
;
49 typedef uint8_t flex_uint8_t
;
50 typedef int16_t flex_int16_t
;
51 typedef uint16_t flex_uint16_t
;
52 typedef int32_t flex_int32_t
;
53 typedef uint32_t flex_uint32_t
;
55 typedef signed char flex_int8_t
;
56 typedef short int flex_int16_t
;
57 typedef int flex_int32_t
;
58 typedef unsigned char flex_uint8_t
;
59 typedef unsigned short int flex_uint16_t
;
60 typedef unsigned int flex_uint32_t
;
62 /* Limits of integral types. */
64 #define INT8_MIN (-128)
67 #define INT16_MIN (-32767-1)
70 #define INT32_MIN (-2147483647-1)
73 #define INT8_MAX (127)
76 #define INT16_MAX (32767)
79 #define INT32_MAX (2147483647)
82 #define UINT8_MAX (255U)
85 #define UINT16_MAX (65535U)
88 #define UINT32_MAX (4294967295U)
93 #endif /* ! FLEXINT_H */
97 /* The "const" storage-class-modifier is valid. */
100 #else /* ! __cplusplus */
102 /* C99 requires __STDC__ to be defined as 1. */
103 #if defined (__STDC__)
107 #endif /* defined (__STDC__) */
108 #endif /* ! __cplusplus */
111 #define yyconst const
116 /* An opaque pointer. */
117 #ifndef YY_TYPEDEF_YY_SCANNER_T
118 #define YY_TYPEDEF_YY_SCANNER_T
119 typedef void* yyscan_t
;
122 /* For convenience, these vars (plus the bison vars far below)
123 are macros in the reentrant scanner. */
124 #define yyin yyg->yyin_r
125 #define yyout yyg->yyout_r
126 #define yyextra yyg->yyextra_r
127 #define yyleng yyg->yyleng_r
128 #define yytext yyg->yytext_r
129 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
130 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
131 #define yy_flex_debug yyg->yy_flex_debug_r
133 /* Size of default input buffer. */
136 /* On IA-64, the buffer size is 16k, not 8k.
137 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
138 * Ditto for the __ia64__ case accordingly.
140 #define YY_BUF_SIZE 32768
142 #define YY_BUF_SIZE 16384
143 #endif /* __ia64__ */
146 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
147 #define YY_TYPEDEF_YY_BUFFER_STATE
148 typedef struct yy_buffer_state
*YY_BUFFER_STATE
;
151 #ifndef YY_TYPEDEF_YY_SIZE_T
152 #define YY_TYPEDEF_YY_SIZE_T
153 typedef size_t yy_size_t
;
156 #ifndef YY_STRUCT_YY_BUFFER_STATE
157 #define YY_STRUCT_YY_BUFFER_STATE
158 struct yy_buffer_state
162 char *yy_ch_buf
; /* input buffer */
163 char *yy_buf_pos
; /* current position in input buffer */
165 /* Size of input buffer in bytes, not including room for EOB
168 yy_size_t yy_buf_size
;
170 /* Number of characters read into yy_ch_buf, not including EOB
175 /* Whether we "own" the buffer - i.e., we know we created it,
176 * and can realloc() it to grow it, and should free() it to
179 int yy_is_our_buffer
;
181 /* Whether this is an "interactive" input source; if so, and
182 * if we're using stdio for input, then we want to use getc()
183 * instead of fread(), to make sure we stop fetching input after
186 int yy_is_interactive
;
188 /* Whether we're considered to be at the beginning of a line.
189 * If so, '^' rules will be active on the next match, otherwise
194 int yy_bs_lineno
; /**< The line count. */
195 int yy_bs_column
; /**< The column count. */
197 /* Whether to try to fill the input buffer when we reach the
202 int yy_buffer_status
;
205 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
207 void _gmx_sel_yyrestart (FILE *input_file
,yyscan_t yyscanner
);
208 void _gmx_sel_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer
,yyscan_t yyscanner
);
209 YY_BUFFER_STATE
_gmx_sel_yy_create_buffer (FILE *file
,int size
,yyscan_t yyscanner
);
210 void _gmx_sel_yy_delete_buffer (YY_BUFFER_STATE b
,yyscan_t yyscanner
);
211 void _gmx_sel_yy_flush_buffer (YY_BUFFER_STATE b
,yyscan_t yyscanner
);
212 void _gmx_sel_yypush_buffer_state (YY_BUFFER_STATE new_buffer
,yyscan_t yyscanner
);
213 void _gmx_sel_yypop_buffer_state (yyscan_t yyscanner
);
215 YY_BUFFER_STATE
_gmx_sel_yy_scan_buffer (char *base
,yy_size_t size
,yyscan_t yyscanner
);
216 YY_BUFFER_STATE
_gmx_sel_yy_scan_string (yyconst
char *yy_str
,yyscan_t yyscanner
);
217 YY_BUFFER_STATE
_gmx_sel_yy_scan_bytes (yyconst
char *bytes
,int len
,yyscan_t yyscanner
);
219 void *_gmx_sel_yyalloc (yy_size_t
,yyscan_t yyscanner
);
220 void *_gmx_sel_yyrealloc (void *,yy_size_t
,yyscan_t yyscanner
);
221 void _gmx_sel_yyfree (void * ,yyscan_t yyscanner
);
223 #define _gmx_sel_yywrap(n) 1
224 #define YY_SKIP_YYWRAP
226 #define yytext_ptr yytext_r
228 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
237 #ifndef YY_NO_UNISTD_H
238 /* Special case for "unistd.h", since it is non-ANSI. We include it way
239 * down here because we want the user's section 1 to have been scanned first.
240 * The user has a chance to override it with an option.
245 #ifndef YY_EXTRA_TYPE
246 #define YY_EXTRA_TYPE void *
249 int _gmx_sel_yylex_init (yyscan_t
* scanner
);
251 int _gmx_sel_yylex_init_extra (YY_EXTRA_TYPE user_defined
,yyscan_t
* scanner
);
253 /* Accessor methods to globals.
254 These are made visible to non-reentrant scanners for convenience. */
256 int _gmx_sel_yylex_destroy (yyscan_t yyscanner
);
258 int _gmx_sel_yyget_debug (yyscan_t yyscanner
);
260 void _gmx_sel_yyset_debug (int debug_flag
,yyscan_t yyscanner
);
262 YY_EXTRA_TYPE
_gmx_sel_yyget_extra (yyscan_t yyscanner
);
264 void _gmx_sel_yyset_extra (YY_EXTRA_TYPE user_defined
,yyscan_t yyscanner
);
266 FILE *_gmx_sel_yyget_in (yyscan_t yyscanner
);
268 void _gmx_sel_yyset_in (FILE * in_str
,yyscan_t yyscanner
);
270 FILE *_gmx_sel_yyget_out (yyscan_t yyscanner
);
272 void _gmx_sel_yyset_out (FILE * out_str
,yyscan_t yyscanner
);
274 int _gmx_sel_yyget_leng (yyscan_t yyscanner
);
276 char *_gmx_sel_yyget_text (yyscan_t yyscanner
);
278 int _gmx_sel_yyget_lineno (yyscan_t yyscanner
);
280 void _gmx_sel_yyset_lineno (int line_number
,yyscan_t yyscanner
);
282 /* Macros after this point can all be overridden by user definitions in
286 #ifndef YY_SKIP_YYWRAP
288 extern "C" int _gmx_sel_yywrap (yyscan_t yyscanner
);
290 extern int _gmx_sel_yywrap (yyscan_t yyscanner
);
295 static void yy_flex_strncpy (char *,yyconst
char *,int ,yyscan_t yyscanner
);
298 #ifdef YY_NEED_STRLEN
299 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner
);
306 /* Amount of stuff to slurp up with each read. */
307 #ifndef YY_READ_BUF_SIZE
309 /* On IA-64, the buffer size is 16k, not 8k */
310 #define YY_READ_BUF_SIZE 16384
312 #define YY_READ_BUF_SIZE 8192
313 #endif /* __ia64__ */
316 /* Number of entries by which start-condition stack grows. */
317 #ifndef YY_START_STACK_INCR
318 #define YY_START_STACK_INCR 25
321 /* Default declaration of generated scanner - a define so the user can
322 * easily add parameters.
325 #define YY_DECL_IS_OURS 1
327 extern int _gmx_sel_yylex (yyscan_t yyscanner
);
329 #define YY_DECL int _gmx_sel_yylex (yyscan_t yyscanner)
330 #endif /* !YY_DECL */
332 /* yy_get_previous_state - get the state just before the EOB char was reached */
335 #undef YY_FLUSH_BUFFER
338 #undef yy_set_interactive
339 #undef YY_DO_BEFORE_ACTION
341 #ifdef YY_DECL_IS_OURS
342 #undef YY_DECL_IS_OURS
346 #line 156 "scanner.l"
348 #line 349 "scanner_flex.h"
349 #undef _gmx_sel_yyIN_HEADER
350 #endif /* _gmx_sel_yyHEADER_H */