Add foreign functions
This commit is contained in:
@@ -404,8 +404,7 @@ compile_string(String filecontent, String filename = "default_name"_s){
|
||||
OS_Heap heap = win32_os_heap_create(false, mib(4), 0);
|
||||
|
||||
Parse_Ctx ctx = {};
|
||||
ctx.init(scratch, &heap);
|
||||
pctx = &ctx;
|
||||
parse_init(&ctx, scratch, &heap);
|
||||
|
||||
F64 tokenize_begin = os_time();
|
||||
lex_restream(&ctx, filecontent, filename);
|
||||
|
||||
Reference in New Issue
Block a user