Prepare before typing the untyped

This commit is contained in:
Krzosa Karol
2022-06-22 10:07:23 +02:00
parent a229891485
commit de159fc7d9
3 changed files with 19 additions and 9 deletions

View File

@@ -178,7 +178,7 @@ int main(int argument_count, char **arguments){
test_intern_table();
emit_line_directives = true;
String program_name = "vm.kl"_s;
String program_name = "main.kl"_s;
if(argument_count > 1){
program_name = string_from_cstring(arguments[1]);
}
@@ -209,8 +209,8 @@ int main(int argument_count, char **arguments){
arena_clear(&pctx->stage_arena);
compile_to_bc();
__debugbreak();
// compile_to_bc();
// __debugbreak();
String result = get_compilation_result();
assert(os_write_file("program.c"_s, result));
{