This commit is contained in:
Krzosa Karol
2022-09-29 17:10:56 +02:00
parent 66b2be3550
commit 9ee22abbd2
2 changed files with 3 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ struct Ast_File_Namespace;
struct Ast_File; struct Ast_File;
struct Ast_Module; struct Ast_Module;
struct Ast_Type; struct Ast_Type;
struct Ast;
enum Token_Kind{ enum Token_Kind{
TK_End, TK_End,
@@ -195,3 +196,5 @@ function void lex_init(Allocator *token_string_arena, Allocator *map_allocator,
function String compile_to_c_code(); function String compile_to_c_code();
function Ast_Module *ast_module(Token *pos, Intern_String filename); function Ast_Module *ast_module(Token *pos, Intern_String filename);
function void insert_builtin_types_into_scope(Ast_Scope *p); function void insert_builtin_types_into_scope(Ast_Scope *p);
function void insert_into_scope(Ast_Scope *scope, Ast_Decl *decl);
function Ast_Type *type_incomplete(Ast *ast);

View File

@@ -883,9 +883,6 @@ parse_decl(B32 is_global){
return result; return result;
} }
function void insert_into_scope(Ast_Scope *scope, Ast_Decl *decl);
function Ast_Type *type_incomplete(Ast *ast);
function void function void
parse_file(Ast_File *file){ parse_file(Ast_File *file){
assert(file); assert(file);