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

Function cmListFileLexerInit

plugins/cmake/parser/cmListFileLexer.c:2495–2501  ·  view source on GitHub ↗

--------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

2493
2494/*--------------------------------------------------------------------------*/
2495static void cmListFileLexerInit(cmListFileLexer* lexer)
2496{
2497 if (lexer->file || lexer->string_buffer) {
2498 cmListFileLexer_yylex_init(&lexer->scanner);
2499 cmListFileLexer_yyset_extra(lexer, lexer->scanner);
2500 }
2501}
2502
2503/*--------------------------------------------------------------------------*/
2504static void cmListFileLexerDestroy(cmListFileLexer* lexer)

Callers 2

Calls 2

Tested by

no test coverage detected