MCPcopy Create free account
hub / github.com/Entware/Entware / zconf_endfile

Function zconf_endfile

scripts/config/lexer.lex.c:4176–4192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4174}
4175
4176static void zconf_endfile(void)
4177{
4178 struct buffer *parent;
4179
4180 current_file = current_file->parent;
4181 if (current_file)
4182 yylineno = current_file->lineno;
4183
4184 parent = current_buf->parent;
4185 if (parent) {
4186 fclose(yyin);
4187 yy_delete_buffer(YY_CURRENT_BUFFER);
4188 yy_switch_to_buffer(parent->state);
4189 }
4190 free(current_buf);
4191 current_buf = parent;
4192}
4193
4194int zconf_lineno(void)
4195{

Callers 1

lexer.lex.cFile · 0.85

Calls 2

yy_delete_bufferFunction · 0.85
yy_switch_to_bufferFunction · 0.85

Tested by

no test coverage detected