MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / yy_load_buffer_state

Function yy_load_buffer_state

src/parser/ds2_lexer.cpp:3927–3934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3925}
3926
3927static void yy_load_buffer_state (yyscan_t yyscanner)
3928{
3929 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3930 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3931 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
3932 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
3933 yyg->yy_hold_char = *yyg->yy_c_buf_p;
3934}
3935
3936/** Allocate and initialize an input buffer state.
3937 * @param file A readable stream.

Callers 6

ds2_lexer.cppFile · 0.70
yyrestartFunction · 0.70
yy_switch_to_bufferFunction · 0.70
yy_flush_bufferFunction · 0.70
yypush_buffer_stateFunction · 0.70
yypop_buffer_stateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected