5 #line 6 "jsgf_scanner.h"
7 #line 8 "jsgf_scanner.h"
9 #define YY_INT_ALIGNED short int
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
38 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
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;
65 #define INT8_MIN (-128)
68 #define INT16_MIN (-32767-1)
71 #define INT32_MIN (-2147483647-1)
74 #define INT8_MAX (127)
77 #define INT16_MAX (32767)
80 #define INT32_MAX (2147483647)
83 #define UINT8_MAX (255U)
86 #define UINT16_MAX (65535U)
89 #define UINT32_MAX (4294967295U)
102 #if defined (__STDC__)
110 #define yyconst const
116 #ifndef YY_TYPEDEF_YY_SCANNER_T
117 #define YY_TYPEDEF_YY_SCANNER_T
118 typedef void* yyscan_t;
123 #define yyin yyg->yyin_r
124 #define yyout yyg->yyout_r
125 #define yyextra yyg->yyextra_r
126 #define yyleng yyg->yyleng_r
127 #define yytext yyg->yytext_r
128 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
129 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
130 #define yy_flex_debug yyg->yy_flex_debug_r
134 #define YY_BUF_SIZE 16384
137 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
138 #define YY_TYPEDEF_YY_BUFFER_STATE
142 #ifndef YY_TYPEDEF_YY_SIZE_T
143 #define YY_TYPEDEF_YY_SIZE_T
144 typedef size_t yy_size_t;
147 #ifndef YY_STRUCT_YY_BUFFER_STATE
148 #define YY_STRUCT_YY_BUFFER_STATE
159 yy_size_t yy_buf_size;
170 int yy_is_our_buffer;
177 int yy_is_interactive;
193 int yy_buffer_status;
198 void yyrestart (FILE *input_file ,yyscan_t yyscanner );
199 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
200 YY_BUFFER_STATE yy_create_buffer (FILE *file,
int size ,yyscan_t yyscanner );
201 void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
202 void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
203 void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
204 void yypop_buffer_state (yyscan_t yyscanner );
206 YY_BUFFER_STATE yy_scan_buffer (
char *base,yy_size_t size ,yyscan_t yyscanner );
207 YY_BUFFER_STATE yy_scan_string (yyconst
char *yy_str ,yyscan_t yyscanner );
208 YY_BUFFER_STATE yy_scan_bytes (yyconst
char *bytes,
int len ,yyscan_t yyscanner );
210 void *
yyalloc (yy_size_t ,yyscan_t yyscanner );
211 void *yyrealloc (
void *,yy_size_t ,yyscan_t yyscanner );
212 void yyfree (
void * ,yyscan_t yyscanner );
217 #define YY_SKIP_YYWRAP
219 #define yytext_ptr yytext_r
221 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
225 #define DECLCOMMENT 3
229 #ifndef YY_NO_UNISTD_H
237 #ifndef YY_EXTRA_TYPE
238 #define YY_EXTRA_TYPE void *
241 int yylex_init (yyscan_t* scanner);
243 int yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
248 int yylex_destroy (yyscan_t yyscanner );
250 int yyget_debug (yyscan_t yyscanner );
252 void yyset_debug (
int debug_flag ,yyscan_t yyscanner );
254 YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
256 void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
258 FILE *yyget_in (yyscan_t yyscanner );
260 void yyset_in (FILE * in_str ,yyscan_t yyscanner );
262 FILE *yyget_out (yyscan_t yyscanner );
264 void yyset_out (FILE * out_str ,yyscan_t yyscanner );
266 int yyget_leng (yyscan_t yyscanner );
268 char *yyget_text (yyscan_t yyscanner );
270 int yyget_lineno (yyscan_t yyscanner );
272 void yyset_lineno (
int line_number ,yyscan_t yyscanner );
274 YYSTYPE * yyget_lval (yyscan_t yyscanner );
276 void yyset_lval (
YYSTYPE * yylval_param ,yyscan_t yyscanner );
282 #ifndef YY_SKIP_YYWRAP
284 extern "C" int yywrap (yyscan_t yyscanner );
286 extern int yywrap (yyscan_t yyscanner );
291 static void yy_flex_strncpy (
char *,yyconst
char *,
int ,yyscan_t yyscanner);
294 #ifdef YY_NEED_STRLEN
295 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner);
303 #ifndef YY_READ_BUF_SIZE
304 #define YY_READ_BUF_SIZE 8192
308 #ifndef YY_START_STACK_INCR
309 #define YY_START_STACK_INCR 25
316 #define YY_DECL_IS_OURS 1
319 (
YYSTYPE * yylval_param ,yyscan_t yyscanner);
321 #define YY_DECL int yylex \
322 (YYSTYPE * yylval_param , yyscan_t yyscanner)
328 #undef YY_FLUSH_BUFFER
331 #undef yy_set_interactive
332 #undef YY_DO_BEFORE_ACTION
334 #ifdef YY_DECL_IS_OURS
335 #undef YY_DECL_IS_OURS
339 #line 87 "_jsgf_scanner.l"
342 #line 343 "jsgf_scanner.h"
int yy_bs_lineno
The line count.
int yy_bs_column
The column count.