Add operation works!
This commit is contained in:
3
main.cpp
3
main.cpp
@@ -214,9 +214,9 @@ int main(int argument_count, char **arguments){
|
||||
Ast_Module *module = add_module(0, pctx->intern("language.kl"_s));
|
||||
insert_builtin_types_into_scope(module);
|
||||
pctx->language_base_module = module;
|
||||
|
||||
parse_all_modules();
|
||||
resolve_everything_in_module(module);
|
||||
|
||||
// @note: language stuff needs to be declared before type_info data
|
||||
// so we mark where it ends
|
||||
pctx->base_language_ordered_decl_len = pctx->ordered_decls.len;
|
||||
@@ -225,6 +225,7 @@ int main(int argument_count, char **arguments){
|
||||
type_any = any_decl->type_val;
|
||||
}
|
||||
|
||||
|
||||
Ast_Module *module = add_module(0, pctx->intern(program_name));
|
||||
parse_all_modules();
|
||||
assert(module);
|
||||
|
||||
Reference in New Issue
Block a user