5
#line 6 "include/psp_flex.h"
7
#line 8 "include/psp_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 31
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
typedef int8_t flex_int8_t;
41
typedef uint8_t flex_uint8_t;
42
typedef int16_t flex_int16_t;
43
typedef uint16_t flex_uint16_t;
44
typedef int32_t flex_int32_t;
45
typedef uint32_t flex_uint32_t;
47
typedef signed char flex_int8_t;
48
typedef short int flex_int16_t;
49
typedef int flex_int32_t;
50
typedef unsigned char flex_uint8_t;
51
typedef unsigned short int flex_uint16_t;
52
typedef unsigned int flex_uint32_t;
55
/* Limits of integral types. */
57
#define INT8_MIN (-128)
60
#define INT16_MIN (-32767-1)
63
#define INT32_MIN (-2147483647-1)
66
#define INT8_MAX (127)
69
#define INT16_MAX (32767)
72
#define INT32_MAX (2147483647)
75
#define UINT8_MAX (255U)
78
#define UINT16_MAX (65535U)
81
#define UINT32_MAX (4294967295U)
84
#endif /* ! FLEXINT_H */
88
/* The "const" storage-class-modifier is valid. */
91
#else /* ! __cplusplus */
98
#endif /* ! __cplusplus */
101
#define yyconst const
106
/* An opaque pointer. */
107
#ifndef YY_TYPEDEF_YY_SCANNER_T
108
#define YY_TYPEDEF_YY_SCANNER_T
109
typedef void* yyscan_t;
112
/* For convenience, these vars (plus the bison vars far below)
113
are macros in the reentrant scanner. */
114
#define yyin yyg->yyin_r
115
#define yyout yyg->yyout_r
116
#define yyextra yyg->yyextra_r
117
#define yyleng yyg->yyleng_r
118
#define yytext yyg->yytext_r
119
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
120
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
121
#define yy_flex_debug yyg->yy_flex_debug_r
123
int yylex_init (yyscan_t* scanner);
125
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
126
#define YY_TYPEDEF_YY_BUFFER_STATE
127
typedef struct yy_buffer_state *YY_BUFFER_STATE;
130
/* The following is because we cannot portably get our hands on size_t
131
* (without autoconf's help, which isn't available because we want
132
* flex-generated scanners to compile on their own).
135
#ifndef YY_TYPEDEF_YY_SIZE_T
136
#define YY_TYPEDEF_YY_SIZE_T
137
typedef unsigned int yy_size_t;
140
#ifndef YY_STRUCT_YY_BUFFER_STATE
141
#define YY_STRUCT_YY_BUFFER_STATE
142
struct yy_buffer_state
146
char *yy_ch_buf; /* input buffer */
147
char *yy_buf_pos; /* current position in input buffer */
149
/* Size of input buffer in bytes, not including room for EOB
152
yy_size_t yy_buf_size;
154
/* Number of characters read into yy_ch_buf, not including EOB
159
/* Whether we "own" the buffer - i.e., we know we created it,
160
* and can realloc() it to grow it, and should free() it to
163
int yy_is_our_buffer;
165
/* Whether this is an "interactive" input source; if so, and
166
* if we're using stdio for input, then we want to use getc()
167
* instead of fread(), to make sure we stop fetching input after
170
int yy_is_interactive;
172
/* Whether we're considered to be at the beginning of a line.
173
* If so, '^' rules will be active on the next match, otherwise
178
int yy_bs_lineno; /**< The line count. */
179
int yy_bs_column; /**< The column count. */
181
/* Whether to try to fill the input buffer when we reach the
186
int yy_buffer_status;
189
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
191
void yyrestart (FILE *input_file ,yyscan_t yyscanner );
192
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
193
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
194
void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
195
void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
196
void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
197
void yypop_buffer_state (yyscan_t yyscanner );
199
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
200
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
201
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
203
void *yyalloc (yy_size_t ,yyscan_t yyscanner );
204
void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
205
void yyfree (void * ,yyscan_t yyscanner );
207
/* Begin user sect3 */
210
#define YY_SKIP_YYWRAP
212
#define yytext_ptr yytext_r
214
#ifdef YY_HEADER_EXPORT_START_CONDITIONS
224
/* Special case for "unistd.h", since it is non-ANSI. We include it way
225
* down here because we want the user's section 1 to have been scanned first.
226
* The user has a chance to override it with an option.
230
#ifndef YY_EXTRA_TYPE
231
#define YY_EXTRA_TYPE void *
234
static int yy_init_globals (yyscan_t yyscanner );
236
/* Accessor methods to globals.
237
These are made visible to non-reentrant scanners for convenience. */
239
int yylex_destroy (yyscan_t yyscanner );
241
int yyget_debug (yyscan_t yyscanner );
243
void yyset_debug (int debug_flag ,yyscan_t yyscanner );
245
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
247
void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
249
FILE *yyget_in (yyscan_t yyscanner );
251
void yyset_in (FILE * in_str ,yyscan_t yyscanner );
253
FILE *yyget_out (yyscan_t yyscanner );
255
void yyset_out (FILE * out_str ,yyscan_t yyscanner );
257
int yyget_leng (yyscan_t yyscanner );
259
char *yyget_text (yyscan_t yyscanner );
261
int yyget_lineno (yyscan_t yyscanner );
263
void yyset_lineno (int line_number ,yyscan_t yyscanner );
265
/* Macros after this point can all be overridden by user definitions in
269
#ifndef YY_SKIP_YYWRAP
271
extern "C" int yywrap (yyscan_t yyscanner );
273
extern int yywrap (yyscan_t yyscanner );
278
static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
281
#ifdef YY_NEED_STRLEN
282
static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
289
/* Amount of stuff to slurp up with each read. */
290
#ifndef YY_READ_BUF_SIZE
291
#define YY_READ_BUF_SIZE 8192
294
/* Number of entries by which start-condition stack grows. */
295
#ifndef YY_START_STACK_INCR
296
#define YY_START_STACK_INCR 25
299
/* Default declaration of generated scanner - a define so the user can
300
* easily add parameters.
303
#define YY_DECL_IS_OURS 1
305
extern int yylex (yyscan_t yyscanner);
307
#define YY_DECL int yylex (yyscan_t yyscanner)
308
#endif /* !YY_DECL */
310
/* yy_get_previous_state - get the state just before the EOB char was reached */
313
#undef YY_FLUSH_BUFFER
316
#undef yy_set_interactive
318
#undef YY_DO_BEFORE_ACTION
320
#ifdef YY_DECL_IS_OURS
321
#undef YY_DECL_IS_OURS
324
#line 228 "psp_parser.l"
327
#line 328 "include/psp_flex.h"
329
#endif /* yyHEADER_H */