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

Function yy_load_buffer_state

src/parser/ds_lexer.cpp:4360–4367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4358}
4359
4360static void yy_load_buffer_state (yyscan_t yyscanner)
4361{
4362 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
4363 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
4364 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
4365 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
4366 yyg->yy_hold_char = *yyg->yy_c_buf_p;
4367}
4368
4369/** Allocate and initialize an input buffer state.
4370 * @param file A readable stream.

Callers 6

ds_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