Prepare before typing the untyped
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -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));
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user