| 1866 | } |
| 1867 | |
| 1868 | static 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 | |
| 1881 | static void var_parse_compile( VAR_PARSE const * parse, compiler * c ) |
| 1882 | { |
no test coverage detected