MCPcopy Create free account
hub / github.com/Kitware/CMake / yy_load_buffer_state

Function yy_load_buffer_state

Source/LexerParser/cmListFileLexer.c:1905–1912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1903}
1904
1905static void yy_load_buffer_state (yyscan_t yyscanner)
1906{
1907 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1908 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1909 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1910 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1911 yyg->yy_hold_char = *yyg->yy_c_buf_p;
1912}
1913
1914/** Allocate and initialize an input buffer state.
1915 * @param file A readable stream.

Callers 6

cmListFileLexer.cFile · 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…