MCPcopy Create free account
hub / github.com/KDE/kdevelop / cmListFileLexer_yy_load_buffer_state

Function cmListFileLexer_yy_load_buffer_state

plugins/cmake/parser/cmListFileLexer.c:1722–1729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1720}
1721
1722static void cmListFileLexer_yy_load_buffer_state (yyscan_t yyscanner)
1723{
1724 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1725 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1726 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1727 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1728 yyg->yy_hold_char = *yyg->yy_c_buf_p;
1729}
1730
1731/** Allocate and initialize an input buffer state.
1732 * @param file A readable stream.

Calls

no outgoing calls

Tested by

no test coverage detected