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 33
17 #if YY_FLEX_SUBMINOR_VERSION > 0
32 /* First, we deal with platform-specific or compiler-specific issues. */
34 /* begin standard C headers. */
42 /* %if-tables-serialization */
44 /* end standard C headers. */
47 /* flex integer type definitions */
52 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
54 #if __STDC_VERSION__ >= 199901L
56 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
57 * if you want the limit (max/min) macros for int types.
59 #ifndef __STDC_LIMIT_MACROS
60 #define __STDC_LIMIT_MACROS 1
64 typedef int8_t flex_int8_t
;
65 typedef uint8_t flex_uint8_t
;
66 typedef int16_t flex_int16_t
;
67 typedef uint16_t flex_uint16_t
;
68 typedef int32_t flex_int32_t
;
69 typedef uint32_t flex_uint32_t
;
71 typedef signed char flex_int8_t
;
72 typedef short int flex_int16_t
;
73 typedef int flex_int32_t
;
74 typedef unsigned char flex_uint8_t
;
75 typedef unsigned short int flex_uint16_t
;
76 typedef unsigned int flex_uint32_t
;
79 /* Limits of integral types. */
81 #define INT8_MIN (-128)
84 #define INT16_MIN (-32767-1)
87 #define INT32_MIN (-2147483647-1)
90 #define INT8_MAX (127)
93 #define INT16_MAX (32767)
96 #define INT32_MAX (2147483647)
99 #define UINT8_MAX (255U)
102 #define UINT16_MAX (65535U)
105 #define UINT32_MAX (4294967295U)
108 #endif /* ! FLEXINT_H */
117 /* The "const" storage-class-modifier is valid. */
120 #else /* ! __cplusplus */
126 #endif /* __STDC__ */
127 #endif /* ! __cplusplus */
130 #define yyconst const
135 /* %not-for-header */
137 /* %not-for-header */
141 /* An opaque pointer. */
142 #ifndef YY_TYPEDEF_YY_SCANNER_T
143 #define YY_TYPEDEF_YY_SCANNER_T
144 typedef void* yyscan_t
;
147 /* For convenience, these vars (plus the bison vars far below)
148 are macros in the reentrant scanner. */
149 #define yyin yyg->yyin_r
150 #define yyout yyg->yyout_r
151 #define yyextra yyg->yyextra_r
152 #define yyleng yyg->yyleng_r
153 #define yytext yyg->yytext_r
154 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
155 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
156 #define yy_flex_debug yyg->yy_flex_debug_r
158 int yylex_init (yyscan_t
* scanner
);
161 /* %if-not-reentrant */
164 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
165 #define YY_TYPEDEF_YY_BUFFER_STATE
166 typedef struct yy_buffer_state
*YY_BUFFER_STATE
;
169 /* %if-not-reentrant */
173 /* %if-not-reentrant */
177 /* The following is because we cannot portably get our hands on size_t
178 * (without autoconf's help, which isn't available because we want
179 * flex-generated scanners to compile on their own).
182 #ifndef YY_TYPEDEF_YY_SIZE_T
183 #define YY_TYPEDEF_YY_SIZE_T
184 typedef unsigned int yy_size_t
;
187 #ifndef YY_STRUCT_YY_BUFFER_STATE
188 #define YY_STRUCT_YY_BUFFER_STATE
189 struct yy_buffer_state
198 char *yy_ch_buf
; /* input buffer */
199 char *yy_buf_pos
; /* current position in input buffer */
201 /* Size of input buffer in bytes, not including room for EOB
204 yy_size_t yy_buf_size
;
206 /* Number of characters read into yy_ch_buf, not including EOB
211 /* Whether we "own" the buffer - i.e., we know we created it,
212 * and can realloc() it to grow it, and should free() it to
215 int yy_is_our_buffer
;
217 /* Whether this is an "interactive" input source; if so, and
218 * if we're using stdio for input, then we want to use getc()
219 * instead of fread(), to make sure we stop fetching input after
222 int yy_is_interactive
;
224 /* Whether we're considered to be at the beginning of a line.
225 * If so, '^' rules will be active on the next match, otherwise
230 int yy_bs_lineno
; /**< The line count. */
231 int yy_bs_column
; /**< The column count. */
233 /* Whether to try to fill the input buffer when we reach the
238 int yy_buffer_status
;
241 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
243 /* %if-c-only Standard (non-C++) definition */
244 /* %not-for-header */
248 /* %if-c-only Standard (non-C++) definition */
250 /* %if-not-reentrant */
251 /* %not-for-header */
255 void yyrestart (FILE *input_file
,yyscan_t yyscanner
);
256 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer
,yyscan_t yyscanner
);
257 YY_BUFFER_STATE
yy_create_buffer (FILE *file
,int size
,yyscan_t yyscanner
);
258 void yy_delete_buffer (YY_BUFFER_STATE b
,yyscan_t yyscanner
);
259 void yy_flush_buffer (YY_BUFFER_STATE b
,yyscan_t yyscanner
);
260 void yypush_buffer_state (YY_BUFFER_STATE new_buffer
,yyscan_t yyscanner
);
261 void yypop_buffer_state (yyscan_t yyscanner
);
263 YY_BUFFER_STATE
yy_scan_buffer (char *base
,yy_size_t size
,yyscan_t yyscanner
);
264 YY_BUFFER_STATE
yy_scan_string (yyconst
char *yy_str
,yyscan_t yyscanner
);
265 YY_BUFFER_STATE
yy_scan_bytes (yyconst
char *bytes
,int len
,yyscan_t yyscanner
);
269 void *yyalloc (yy_size_t
,yyscan_t yyscanner
);
270 void *yyrealloc (void *,yy_size_t
,yyscan_t yyscanner
);
271 void yyfree (void * ,yyscan_t yyscanner
);
273 /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
274 /* Begin user sect3 */
277 #define YY_SKIP_YYWRAP
281 #define yytext_ptr yytext_r
283 /* %if-c-only Standard (non-C++) definition */
287 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
292 #ifndef YY_NO_UNISTD_H
293 /* Special case for "unistd.h", since it is non-ANSI. We include it way
294 * down here because we want the user's section 1 to have been scanned first.
295 * The user has a chance to override it with an option.
304 #ifndef YY_EXTRA_TYPE
305 #define YY_EXTRA_TYPE void *
308 /* %if-c-only Reentrant structure and macros (non-C++). */
319 /* Accessor methods to globals.
320 These are made visible to non-reentrant scanners for convenience. */
322 int yylex_destroy (yyscan_t yyscanner
);
324 int yyget_debug (yyscan_t yyscanner
);
326 void yyset_debug (int debug_flag
,yyscan_t yyscanner
);
328 YY_EXTRA_TYPE
yyget_extra (yyscan_t yyscanner
);
330 void yyset_extra (YY_EXTRA_TYPE user_defined
,yyscan_t yyscanner
);
332 FILE *yyget_in (yyscan_t yyscanner
);
334 void yyset_in (FILE * in_str
,yyscan_t yyscanner
);
336 FILE *yyget_out (yyscan_t yyscanner
);
338 void yyset_out (FILE * out_str
,yyscan_t yyscanner
);
340 int yyget_leng (yyscan_t yyscanner
);
342 char *yyget_text (yyscan_t yyscanner
);
344 int yyget_lineno (yyscan_t yyscanner
);
346 void yyset_lineno (int line_number
,yyscan_t yyscanner
);
348 /* %if-bison-bridge */
350 YYSTYPE
* yyget_lval (yyscan_t yyscanner
);
352 void yyset_lval (YYSTYPE
* yylval_param
,yyscan_t yyscanner
);
355 /* %endif End reentrant structures and macros. */
357 /* Macros after this point can all be overridden by user definitions in
361 #ifndef YY_SKIP_YYWRAP
363 extern "C" int yywrap (yyscan_t yyscanner
);
365 extern int yywrap (yyscan_t yyscanner
);
369 /* %not-for-header */
374 static void yy_flex_strncpy (char *,yyconst
char *,int ,yyscan_t yyscanner
);
377 #ifdef YY_NEED_STRLEN
378 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner
);
382 /* %if-c-only Standard (non-C++) definition */
383 /* %not-for-header */
392 /* Amount of stuff to slurp up with each read. */
393 #ifndef YY_READ_BUF_SIZE
394 #define YY_READ_BUF_SIZE 8192
397 /* Number of entries by which start-condition stack grows. */
398 #ifndef YY_START_STACK_INCR
399 #define YY_START_STACK_INCR 25
402 /* %if-tables-serialization structures and prototypes */
403 /* %not-for-header */
405 /* %not-for-header */
407 /* Default declaration of generated scanner - a define so the user can
408 * easily add parameters.
411 #define YY_DECL_IS_OURS 1
412 /* %if-c-only Standard (non-C++) definition */
414 extern int yylex (YYSTYPE
* yylval_param
,yyscan_t yyscanner
);
416 #define YY_DECL int yylex (YYSTYPE * yylval_param , yyscan_t yyscanner)
418 /* %if-c++-only C++ definition */
420 #endif /* !YY_DECL */
422 /* %not-for-header */
425 /* %not-for-header */
429 /* yy_get_previous_state - get the state just before the EOB char was reached */
432 /* %not-for-header */
435 #undef YY_FLUSH_BUFFER
438 #undef yy_set_interactive
439 #undef YY_DO_BEFORE_ACTION
441 #ifdef YY_DECL_IS_OURS
442 #undef YY_DECL_IS_OURS
449 #line 450 "pirlexer.h"
451 #endif /* yyHEADER_H */