9 #define YY_INT_ALIGNED long int
11 /* A lexical scanner generated by flex */
14 #define YY_FLEX_MAJOR_VERSION 2
15 #define YY_FLEX_MINOR_VERSION 6
16 #define YY_FLEX_SUBMINOR_VERSION 4
17 #if YY_FLEX_SUBMINOR_VERSION > 0
22 #define yyget_lval_ALREADY_DEFINED
24 #define yyget_lval yyget_lval
28 #define yyset_lval_ALREADY_DEFINED
30 #define yyset_lval yyset_lval
34 #define yyget_lloc_ALREADY_DEFINED
36 #define yyget_lloc yyget_lloc
40 #define yyset_lloc_ALREADY_DEFINED
42 #define yyset_lloc yyset_lloc
45 /* First, we deal with platform-specific or compiler-specific issues. */
47 /* begin standard C headers. */
53 /* end standard C headers. */
55 /* flex integer type definitions */
60 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
62 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
64 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
65 * if you want the limit (max/min) macros for int types.
67 #ifndef __STDC_LIMIT_MACROS
68 #define __STDC_LIMIT_MACROS 1
72 typedef int8_t flex_int8_t
;
73 typedef uint8_t flex_uint8_t
;
74 typedef int16_t flex_int16_t
;
75 typedef uint16_t flex_uint16_t
;
76 typedef int32_t flex_int32_t
;
77 typedef uint32_t flex_uint32_t
;
79 typedef signed char flex_int8_t
;
80 typedef short int flex_int16_t
;
81 typedef int flex_int32_t
;
82 typedef unsigned char flex_uint8_t
;
83 typedef unsigned short int flex_uint16_t
;
84 typedef unsigned int flex_uint32_t
;
86 /* Limits of integral types. */
88 #define INT8_MIN (-128)
91 #define INT16_MIN (-32767-1)
94 #define INT32_MIN (-2147483647-1)
97 #define INT8_MAX (127)
100 #define INT16_MAX (32767)
103 #define INT32_MAX (2147483647)
106 #define UINT8_MAX (255U)
109 #define UINT16_MAX (65535U)
112 #define UINT32_MAX (4294967295U)
116 #define SIZE_MAX (~(size_t)0)
121 #endif /* ! FLEXINT_H */
123 /* begin standard C++ headers. */
125 /* TODO: this is always defined, so inline it */
126 #define yyconst const
128 #if defined(__GNUC__) && __GNUC__ >= 3
129 #define yynoreturn __attribute__((__noreturn__))
134 /* An opaque pointer. */
135 #ifndef YY_TYPEDEF_YY_SCANNER_T
136 #define YY_TYPEDEF_YY_SCANNER_T
137 typedef void* yyscan_t
;
140 /* For convenience, these vars (plus the bison vars far below)
141 are macros in the reentrant scanner. */
142 #define yyin yyg->yyin_r
143 #define yyout yyg->yyout_r
144 #define yyextra yyg->yyextra_r
145 #define yyleng yyg->yyleng_r
146 #define yytext yyg->yytext_r
147 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
148 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
149 #define yy_flex_debug yyg->yy_flex_debug_r
151 /* Size of default input buffer. */
154 /* On IA-64, the buffer size is 16k, not 8k.
155 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
156 * Ditto for the __ia64__ case accordingly.
158 #define YY_BUF_SIZE 32768
160 #define YY_BUF_SIZE 16384
161 #endif /* __ia64__ */
164 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
165 #define YY_TYPEDEF_YY_BUFFER_STATE
166 typedef struct yy_buffer_state
*YY_BUFFER_STATE
;
169 #ifndef YY_TYPEDEF_YY_SIZE_T
170 #define YY_TYPEDEF_YY_SIZE_T
171 typedef size_t yy_size_t
;
174 #ifndef YY_STRUCT_YY_BUFFER_STATE
175 #define YY_STRUCT_YY_BUFFER_STATE
176 struct yy_buffer_state
180 char *yy_ch_buf
; /* input buffer */
181 char *yy_buf_pos
; /* current position in input buffer */
183 /* Size of input buffer in bytes, not including room for EOB
188 /* Number of characters read into yy_ch_buf, not including EOB
193 /* Whether we "own" the buffer - i.e., we know we created it,
194 * and can realloc() it to grow it, and should free() it to
197 int yy_is_our_buffer
;
199 /* Whether this is an "interactive" input source; if so, and
200 * if we're using stdio for input, then we want to use getc()
201 * instead of fread(), to make sure we stop fetching input after
204 int yy_is_interactive
;
206 /* Whether we're considered to be at the beginning of a line.
207 * If so, '^' rules will be active on the next match, otherwise
212 int yy_bs_lineno
; /**< The line count. */
213 int yy_bs_column
; /**< The column count. */
215 /* Whether to try to fill the input buffer when we reach the
220 int yy_buffer_status
;
223 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
225 void yyrestart ( FILE *input_file
, yyscan_t yyscanner
);
226 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer
, yyscan_t yyscanner
);
227 YY_BUFFER_STATE
yy_create_buffer ( FILE *file
, int size
, yyscan_t yyscanner
);
228 void yy_delete_buffer ( YY_BUFFER_STATE b
, yyscan_t yyscanner
);
229 void yy_flush_buffer ( YY_BUFFER_STATE b
, yyscan_t yyscanner
);
230 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer
, yyscan_t yyscanner
);
231 void yypop_buffer_state ( yyscan_t yyscanner
);
233 YY_BUFFER_STATE
yy_scan_buffer ( char *base
, yy_size_t size
, yyscan_t yyscanner
);
234 YY_BUFFER_STATE
yy_scan_string ( const char *yy_str
, yyscan_t yyscanner
);
235 YY_BUFFER_STATE
yy_scan_bytes ( const char *bytes
, int len
, yyscan_t yyscanner
);
237 void *yyalloc ( yy_size_t
, yyscan_t yyscanner
);
238 void *yyrealloc ( void *, yy_size_t
, yyscan_t yyscanner
);
239 void yyfree ( void * , yyscan_t yyscanner
);
241 /* Begin user sect3 */
243 #define yywrap(yyscanner) (/*CONSTCOND*/1)
244 #define YY_SKIP_YYWRAP
246 #define yytext_ptr yytext_r
248 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
253 #ifndef YY_NO_UNISTD_H
254 /* Special case for "unistd.h", since it is non-ANSI. We include it way
255 * down here because we want the user's section 1 to have been scanned first.
256 * The user has a chance to override it with an option.
261 #ifndef YY_EXTRA_TYPE
262 #define YY_EXTRA_TYPE void *
265 int yylex_init (yyscan_t
* scanner
);
267 int yylex_init_extra ( YY_EXTRA_TYPE user_defined
, yyscan_t
* scanner
);
269 /* Accessor methods to globals.
270 These are made visible to non-reentrant scanners for convenience. */
272 int yylex_destroy ( yyscan_t yyscanner
);
274 YY_EXTRA_TYPE
yyget_extra ( yyscan_t yyscanner
);
276 void yyset_extra ( YY_EXTRA_TYPE user_defined
, yyscan_t yyscanner
);
278 FILE *yyget_in ( yyscan_t yyscanner
);
280 void yyset_in ( FILE * _in_str
, yyscan_t yyscanner
);
282 FILE *yyget_out ( yyscan_t yyscanner
);
284 void yyset_out ( FILE * _out_str
, yyscan_t yyscanner
);
286 int yyget_column ( yyscan_t yyscanner
);
288 void yyset_column ( int _column_no
, yyscan_t yyscanner
);
290 void yyset_lval ( YYSTYPE
* yylval_param
, yyscan_t yyscanner
);
292 YYLTYPE
*yyget_lloc ( yyscan_t yyscanner
);
294 void yyset_lloc ( YYLTYPE
* yylloc_param
, 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 yywrap ( yyscan_t yyscanner
);
304 extern int yywrap ( yyscan_t yyscanner
);
309 static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner
);
312 #ifdef YY_NEED_STRLEN
313 static int yy_flex_strlen ( const 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
342 (YYSTYPE
* yylval_param
, YYLTYPE
* yylloc_param
, yyscan_t yyscanner
);
344 #define YY_DECL int yylex \
345 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
346 #endif /* !YY_DECL */
348 /* yy_get_previous_state - get the state just before the EOB char was reached */
351 #undef YY_FLUSH_BUFFER
354 #undef yy_set_interactive
355 #undef YY_DO_BEFORE_ACTION
357 #ifdef YY_DECL_IS_OURS
358 #undef YY_DECL_IS_OURS
362 #ifndef yy_create_buffer_ALREADY_DEFINED
363 #undef yy_create_buffer
365 #ifndef yy_delete_buffer_ALREADY_DEFINED
366 #undef yy_delete_buffer
368 #ifndef yy_scan_buffer_ALREADY_DEFINED
369 #undef yy_scan_buffer
371 #ifndef yy_scan_string_ALREADY_DEFINED
372 #undef yy_scan_string
374 #ifndef yy_scan_bytes_ALREADY_DEFINED
377 #ifndef yy_init_buffer_ALREADY_DEFINED
378 #undef yy_init_buffer
380 #ifndef yy_flush_buffer_ALREADY_DEFINED
381 #undef yy_flush_buffer
383 #ifndef yy_load_buffer_state_ALREADY_DEFINED
384 #undef yy_load_buffer_state
386 #ifndef yy_switch_to_buffer_ALREADY_DEFINED
387 #undef yy_switch_to_buffer
389 #ifndef yypush_buffer_state_ALREADY_DEFINED
390 #undef yypush_buffer_state
392 #ifndef yypop_buffer_state_ALREADY_DEFINED
393 #undef yypop_buffer_state
395 #ifndef yyensure_buffer_stack_ALREADY_DEFINED
396 #undef yyensure_buffer_stack
398 #ifndef yylex_ALREADY_DEFINED
401 #ifndef yyrestart_ALREADY_DEFINED
404 #ifndef yylex_init_ALREADY_DEFINED
407 #ifndef yylex_init_extra_ALREADY_DEFINED
408 #undef yylex_init_extra
410 #ifndef yylex_destroy_ALREADY_DEFINED
413 #ifndef yyget_debug_ALREADY_DEFINED
416 #ifndef yyset_debug_ALREADY_DEFINED
419 #ifndef yyget_extra_ALREADY_DEFINED
422 #ifndef yyset_extra_ALREADY_DEFINED
425 #ifndef yyget_in_ALREADY_DEFINED
428 #ifndef yyset_in_ALREADY_DEFINED
431 #ifndef yyget_out_ALREADY_DEFINED
434 #ifndef yyset_out_ALREADY_DEFINED
437 #ifndef yyget_leng_ALREADY_DEFINED
440 #ifndef yyget_text_ALREADY_DEFINED
443 #ifndef yyget_lineno_ALREADY_DEFINED
446 #ifndef yyset_lineno_ALREADY_DEFINED
449 #ifndef yyget_column_ALREADY_DEFINED
452 #ifndef yyset_column_ALREADY_DEFINED
455 #ifndef yywrap_ALREADY_DEFINED
458 #ifndef yyget_lval_ALREADY_DEFINED
461 #ifndef yyset_lval_ALREADY_DEFINED
464 #ifndef yyget_lloc_ALREADY_DEFINED
467 #ifndef yyset_lloc_ALREADY_DEFINED
470 #ifndef yyalloc_ALREADY_DEFINED
473 #ifndef yyrealloc_ALREADY_DEFINED
476 #ifndef yyfree_ALREADY_DEFINED
479 #ifndef yytext_ALREADY_DEFINED
482 #ifndef yyleng_ALREADY_DEFINED
485 #ifndef yyin_ALREADY_DEFINED
488 #ifndef yyout_ALREADY_DEFINED
491 #ifndef yy_flex_debug_ALREADY_DEFINED
494 #ifndef yylineno_ALREADY_DEFINED
497 #ifndef yytables_fload_ALREADY_DEFINED
498 #undef yytables_fload
500 #ifndef yytables_destroy_ALREADY_DEFINED
501 #undef yytables_destroy
503 #ifndef yyTABLES_NAME_ALREADY_DEFINED
507 #line 180 "src/scan.l"
510 #line 510 "src/scan.h"
512 #endif /* yyHEADER_H */