Misc
This commit is contained in:
@@ -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);
|
||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user