1 #ifndef ematch_HEADER_H 2 #define ematch_HEADER_H 1 3 #define ematch_IN_HEADER 1 5 #line 6 "lib/route/cls/ematch_grammar.h" 7 #line 8 "lib/route/cls/ematch_grammar.h" 9 #define YY_INT_ALIGNED short int 14 #define YY_FLEX_MAJOR_VERSION 2 15 #define YY_FLEX_MINOR_VERSION 6 16 #define YY_FLEX_SUBMINOR_VERSION 1 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;
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) 98 #if defined(__GNUC__) && __GNUC__ >= 3 99 #define yynoreturn __attribute__((__noreturn__)) 105 #ifndef YY_TYPEDEF_YY_SCANNER_T 106 #define YY_TYPEDEF_YY_SCANNER_T 107 typedef void* yyscan_t;
112 #define yyin yyg->yyin_r 113 #define yyout yyg->yyout_r 114 #define yyextra yyg->yyextra_r 115 #define yyleng yyg->yyleng_r 116 #define yytext yyg->yytext_r 117 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) 118 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) 119 #define yy_flex_debug yyg->yy_flex_debug_r 128 #define YY_BUF_SIZE 32768 130 #define YY_BUF_SIZE 16384 134 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 135 #define YY_TYPEDEF_YY_BUFFER_STATE 139 #ifndef YY_TYPEDEF_YY_SIZE_T 140 #define YY_TYPEDEF_YY_SIZE_T 141 typedef size_t yy_size_t;
144 #ifndef YY_STRUCT_YY_BUFFER_STATE 145 #define YY_STRUCT_YY_BUFFER_STATE 167 int yy_is_our_buffer;
174 int yy_is_interactive;
190 int yy_buffer_status;
195 void ematch_restart (FILE *input_file ,yyscan_t yyscanner );
196 void ematch__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
197 YY_BUFFER_STATE ematch__create_buffer (FILE *file,
int size ,yyscan_t yyscanner );
198 void ematch__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
199 void ematch__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
200 void ematch_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
201 void ematch_pop_buffer_state (yyscan_t yyscanner );
203 YY_BUFFER_STATE ematch__scan_buffer (
char *base,yy_size_t size ,yyscan_t yyscanner );
204 YY_BUFFER_STATE ematch__scan_string (yyconst
char *yy_str ,yyscan_t yyscanner );
205 YY_BUFFER_STATE ematch__scan_bytes (yyconst
char *bytes,
int len ,yyscan_t yyscanner );
207 void *ematch_alloc (yy_size_t ,yyscan_t yyscanner );
208 void *ematch_realloc (
void *,yy_size_t ,yyscan_t yyscanner );
209 void ematch_free (
void * ,yyscan_t yyscanner );
211 #define ematch_wrap(yyscanner) (1) 212 #define YY_SKIP_YYWRAP 214 #define yytext_ptr yytext_r 216 #ifdef YY_HEADER_EXPORT_START_CONDITIONS 222 #ifndef YY_NO_UNISTD_H 230 #ifndef YY_EXTRA_TYPE 231 #define YY_EXTRA_TYPE void * 234 int ematch_lex_init (yyscan_t* scanner);
236 int ematch_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
241 int ematch_lex_destroy (yyscan_t yyscanner );
243 int ematch_get_debug (yyscan_t yyscanner );
245 void ematch_set_debug (
int debug_flag ,yyscan_t yyscanner );
247 YY_EXTRA_TYPE ematch_get_extra (yyscan_t yyscanner );
249 void ematch_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
251 FILE *ematch_get_in (yyscan_t yyscanner );
253 void ematch_set_in (FILE * _in_str ,yyscan_t yyscanner );
255 FILE *ematch_get_out (yyscan_t yyscanner );
257 void ematch_set_out (FILE * _out_str ,yyscan_t yyscanner );
259 int ematch_get_leng (yyscan_t yyscanner );
261 char *ematch_get_text (yyscan_t yyscanner );
263 int ematch_get_lineno (yyscan_t yyscanner );
265 void ematch_set_lineno (
int _line_number ,yyscan_t yyscanner );
267 int ematch_get_column (yyscan_t yyscanner );
269 void ematch_set_column (
int _column_no ,yyscan_t yyscanner );
271 YYSTYPE * ematch_get_lval (yyscan_t yyscanner );
273 void ematch_set_lval (
YYSTYPE * yylval_param ,yyscan_t yyscanner );
279 #ifndef YY_SKIP_YYWRAP 281 extern "C" int ematch_wrap (yyscan_t yyscanner );
283 extern int ematch_wrap (yyscan_t yyscanner );
288 static void yy_flex_strncpy (
char *,yyconst
char *,
int ,yyscan_t yyscanner);
291 #ifdef YY_NEED_STRLEN 292 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner);
300 #ifndef YY_READ_BUF_SIZE 303 #define YY_READ_BUF_SIZE 16384 305 #define YY_READ_BUF_SIZE 8192 310 #ifndef YY_START_STACK_INCR 311 #define YY_START_STACK_INCR 25 318 #define YY_DECL_IS_OURS 1 320 extern int ematch_lex \
321 (
YYSTYPE * yylval_param ,yyscan_t yyscanner);
323 #define YY_DECL int ematch_lex \ 324 (YYSTYPE * yylval_param , yyscan_t yyscanner) 330 #undef YY_FLUSH_BUFFER 333 #undef yy_set_interactive 334 #undef YY_DO_BEFORE_ACTION 336 #ifdef YY_DECL_IS_OURS 337 #undef YY_DECL_IS_OURS 341 #line 167 "lib/route/cls/ematch_grammar.l" 343 #line 344 "lib/route/cls/ematch_grammar.h" 344 #undef ematch_IN_HEADER int yy_bs_lineno
The line count.
int yy_bs_column
The column count.