Functions have unique names now unless they are foreign, probably will
need a keyword to not mangle the names.
This commit is contained in:
@@ -264,6 +264,7 @@ enum Ast_Decl_State{
|
||||
struct Ast_Decl: Ast{
|
||||
Ast_Decl_State state;
|
||||
Intern_String name;
|
||||
Intern_String unique_name; // For code generation
|
||||
|
||||
Ast_Scope *scope;
|
||||
Ast_Expr *typespec;
|
||||
|
||||
Reference in New Issue
Block a user