Included Files
- #include </usr/include/stdio.h>
- #include </usr/include/string.h>
- #include </usr/include/errno.h>
- #include </usr/include/stdlib.h>
- #include </usr/include/ctype.h>
- #include </usr/include/fcntl.h>
- #include </usr/include/unistd.h>
typedef signed char flex_int8_t
typedef short int flex_int16_t
typedef int flex_int32_t
typedef unsigned char flex_uint8_t
typedef unsigned short int flex_uint16_t
typedef unsigned int flex_uint32_t
typedef void* yyscan_t
typedef struct yy_buffer_state* YY_BUFFER_STATE
- See:
-
typedef unsigned int yy_size_t
struct yy_buffer_state
| struct yy_buffer_state |
|
| { |
|
| FILE* yy_input_file; |
|
| char* yy_ch_buf; |
|
| char* yy_buf_pos; |
|
| yy_size_t yy_buf_size; |
|
| int yy_n_chars; |
|
| int yy_is_our_buffer; |
|
| int yy_is_interactive; |
|
| int yy_at_bol; |
|
| int yy_bs_lineno; |
|
| int yy_bs_column; |
|
| int yy_fill_buffer; |
|
| int yy_buffer_status; |
|
| } |
|
typedef unsigned char YY_CHAR
typedef int yy_state_type
struct yy_trans_info
| struct yy_trans_info |
|
| { |
|
| flex_int32_t yy_verify; |
|
| flex_int32_t yy_nxt; |
|
| } |
|
struct yyguts_t
| struct yyguts_t |
|
| { |
|
| void* yyextra_r; |
|
| FILE* yyin_r; |
|
| FILE* yyout_r; |
|
| size_t yy_buffer_stack_top; |
|
| size_t yy_buffer_stack_max; |
|
| YY_BUFFER_STATE* yy_buffer_stack; |
|
| char yy_hold_char; |
|
| int yy_n_chars; |
|
| int yyleng_r; |
|
| char* yy_c_buf_p; |
|
| int yy_init; |
|
| int yy_start; |
|
| int yy_did_buffer_switch_on_eof; |
|
| int yy_start_stack_ptr; |
|
| int yy_start_stack_depth; |
|
| int* yy_start_stack; |
|
| yy_state_type yy_last_accepting_state; |
|
| char* yy_last_accepting_cpos; |
|
| int yylineno_r; |
|
| int yy_flex_debug_r; |
|
| yy_state_type* yy_state_buf; |
|
| yy_state_type* yy_state_ptr; |
|
| char* yy_full_match; |
|
| int yy_lp; |
|
| char* yytext_r; |
|
| int yy_more_flag; |
|
| int yy_more_len; |
|
| YYSTYPE* yylval_r; |
|
| } |
|
Local Variables
yy_acclist
static const flex_int16_t yy_acclist[120]
yy_accept
static const flex_int16_t yy_accept[105]
yy_ec
static const flex_int32_t yy_ec[256]
yy_meta
static const flex_int32_t yy_meta[35]
yy_base
static const flex_int16_t yy_base[122]
yy_def
static const flex_int16_t yy_def[122]
yy_nxt
static const flex_int16_t yy_nxt[408]
yy_chk
static const flex_int16_t yy_chk[408]
yy_rule_linenum
static const flex_int16_t yy_rule_linenum[36]
yy_looking_for_trail_begin
static int yy_looking_for_trail_begin
yy_full_lp
static int yy_full_lp
yy_full_state
static int* yy_full_state
lexical_analyzer_rcs_sccs_id
static const char lexical_analyzer_rcs_sccs_id[]
YY_BUFFER_STATE abnf_create_buffer ( FILE* file, int size, yyscan_t yyscanner )
void abnf_delete_buffer ( YY_BUFFER_STATE b, yyscan_t yyscanner )
void abnf_flush_buffer ( YY_BUFFER_STATE b, yyscan_t yyscanner )
YY_BUFFER_STATE abnf_scan_buffer ( char* base, yy_size_t size, yyscan_t yyscanner )
YY_BUFFER_STATE abnf_scan_bytes ( const char* bytes, int len, yyscan_t yyscanner )
YY_BUFFER_STATE abnf_scan_string ( const char* str, yyscan_t yyscanner )
void abnf_switch_to_buffer ( YY_BUFFER_STATE new_buffer, yyscan_t yyscanner )
void* abnfalloc ( size_t n, void* unused_cruft )
void abnffree ( void* p, void* unused_cruft )
int abnfget_column ( yyscan_t yyscanner )
int abnfget_debug ( yyscan_t yyscanner )
void* abnfget_extra ( yyscan_t yyscanner )
FILE* abnfget_in ( yyscan_t yyscanner )
int abnfget_leng ( yyscan_t yyscanner )
YYSTYPE* abnfget_lval ( yyscan_t yyscanner )
FILE* abnfget_out ( yyscan_t yyscanner )
char* abnfget_text ( yyscan_t yyscanner )
int abnflex ( YYSTYPE* yylval_param, yyscan_t yyscanner )
int abnflex_destroy ( yyscan_t yyscanner )
int abnflex_init ( yyscan_t* ptr_yy_globals )
void abnfpop_buffer_state ( yyscan_t yyscanner )
void abnfpush_buffer_state ( YY_BUFFER_STATE new_buffer, yyscan_t yyscanner )
void* abnfrealloc ( void* p, size_t n, void* unused_cruft )
void abnfrestart ( FILE* input_file, yyscan_t yyscanner )
void abnfset_column ( int column_no, yyscan_t yyscanner )
void abnfset_debug ( int bdebug, yyscan_t yyscanner )
void abnfset_extra ( void* user_defined, yyscan_t yyscanner )
void abnfset_in ( FILE* in_str, yyscan_t yyscanner )
void abnfset_lval ( YYSTYPE* yylval_param, yyscan_t yyscanner )
void abnfset_out ( FILE* out_str, yyscan_t yyscanner )
void cleanup_lexer ( struct ruleset* ruleset )
void format_list ( struct ruleset* ruleset )
void free_rule ( struct ruleset* ruleset, struct rule* r )
int initialize_lexer ( const struct rule* r, FILE* in )
static void abnf_init_buffer ( YY_BUFFER_STATE b, FILE* file, yyscan_t yyscanner )
static void abnf_load_buffer_state ( yyscan_t yyscanner )
static void abnfensure_buffer_stack ( yyscan_t yyscanner )
static int abnftoken ( struct rule* r, YYSTYPE* lvalp, const char* s, size_t len, int type, unsigned int eol, int state, int push )
static int input ( yyscan_t yyscanner )
static void yy_fatal_error ( const char* msg, yyscan_t yyscanner )
static int yy_get_next_buffer ( yyscan_t yyscanner )
static yy_state_type yy_get_previous_state ( yyscan_t yyscanner )
static int yy_get_state ( yyscan_t yyscanner )
static int yy_init_globals ( yyscan_t yyscanner )
static void yy_pop_state ( yyscan_t yyscanner )
static void yy_push_state ( int new_state, yyscan_t yyscanner )
static void yy_set_state ( int state, yyscan_t yyscanner )
static int yy_start_stack_size ( const yyscan_t yyscanner )
static yy_state_type yy_try_NUL_trans ( yy_state_type yy_current_state, yyscan_t yyscanner )