MCPcopy Create free account
hub / github.com/boostorg/build / var_parse_file_compile

Function var_parse_file_compile

src/engine/function.c:1868–1879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1866}
1867
1868static void var_parse_file_compile( VAR_PARSE_FILE const * parse, compiler * c )
1869{
1870 int i;
1871 for ( i = 0; i < parse->filename->size; ++i )
1872 var_parse_group_compile( dynamic_array_at( VAR_PARSE_GROUP *,
1873 parse->filename, parse->filename->size - i - 1 ), c );
1874 compile_emit( c, INSTR_APPEND_STRINGS, parse->filename->size );
1875 for ( i = 0; i < parse->contents->size; ++i )
1876 var_parse_group_compile( dynamic_array_at( VAR_PARSE_GROUP *,
1877 parse->contents, parse->contents->size - i - 1 ), c );
1878 compile_emit( c, INSTR_WRITE_FILE, parse->contents->size );
1879}
1880
1881static void var_parse_compile( VAR_PARSE const * parse, compiler * c )
1882{

Callers 1

var_parse_compileFunction · 0.85

Calls 2

var_parse_group_compileFunction · 0.85
compile_emitFunction · 0.85

Tested by

no test coverage detected