MCPcopy Create free account
hub / github.com/Gecode/gecode / yy_load_buffer_state

Function yy_load_buffer_state

gecode/flatzinc/lexer.yy.cpp:1846–1853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1844}
1845
1846static void yy_load_buffer_state (yyscan_t yyscanner)
1847{
1848 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1849 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1850 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1851 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1852 yyg->yy_hold_char = *yyg->yy_c_buf_p;
1853}
1854
1855/** Allocate and initialize an input buffer state.
1856 * @param file A readable stream.

Callers 6

lexer.yy.cppFile · 0.85
yyrestartFunction · 0.85
yy_switch_to_bufferFunction · 0.85
yy_flush_bufferFunction · 0.85
yypush_buffer_stateFunction · 0.85
yypop_buffer_stateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected