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

Function var_parse_file_compile

v2/engine/function.c:1817–1828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1815}
1816
1817static void var_parse_file_compile( VAR_PARSE_FILE const * parse, compiler * c )
1818{
1819 int i;
1820 for ( i = 0; i < parse->filename->size; ++i )
1821 var_parse_group_compile( dynamic_array_at( VAR_PARSE_GROUP *,
1822 parse->filename, parse->filename->size - i - 1 ), c );
1823 compile_emit( c, INSTR_APPEND_STRINGS, parse->filename->size );
1824 for ( i = 0; i < parse->contents->size; ++i )
1825 var_parse_group_compile( dynamic_array_at( VAR_PARSE_GROUP *,
1826 parse->contents, parse->contents->size - i - 1 ), c );
1827 compile_emit( c, INSTR_WRITE_FILE, parse->contents->size );
1828}
1829
1830static void var_parse_compile( VAR_PARSE const * parse, compiler * c )
1831{

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