| 1815 | } |
| 1816 | |
| 1817 | static 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 | |
| 1830 | static void var_parse_compile( VAR_PARSE const * parse, compiler * c ) |
| 1831 | { |
no test coverage detected