Misc changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
CORE_Static void
|
||||
core_init_compiler(Core_Ctx *ctx, Allocator *allocator) {
|
||||
//apifn
|
||||
static void core_init_compiler(Core_Ctx *ctx, Allocator *allocator) {
|
||||
ctx->time.init_context = os_time();
|
||||
pctx = ctx;
|
||||
|
||||
@@ -158,8 +158,8 @@ pctx->op_info_table[19] = {pctx->intern("!"_s), "NOT"_s, TK_Not, 0, 1};
|
||||
ctx->time.init_context = os_time() - ctx->time.init_context;
|
||||
}
|
||||
|
||||
CORE_Static void
|
||||
core_bootstrap_compiler(Allocator *allocator) {
|
||||
//apifn
|
||||
static void core_bootstrap_compiler(Allocator *allocator) {
|
||||
Core_Ctx *ctx = allocate_struct(allocator, Core_Ctx);
|
||||
core_init_compiler(ctx, allocator);
|
||||
}
|
||||
@@ -189,7 +189,6 @@ parse_all_modules() {
|
||||
|
||||
if (module != pctx->language_base_module) {
|
||||
add(pctx->perm, &module->implicit_imports, (Ast_Scope *)pctx->language_base_module);
|
||||
// module->implicit_imports.add(pctx->language_base_module);
|
||||
}
|
||||
|
||||
module->state = MODULE_PARSED;
|
||||
|
||||
Reference in New Issue
Block a user