diff options
| author | gingerBill <bill@gingerbill.org> | 2017-12-09 18:11:36 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-12-09 18:11:36 +0000 |
| commit | 3703ca4df47134e0c274cf5096d14c9323331ff0 (patch) | |
| tree | a01aab633bf3d25aba33357cb8d181537e9c841b /src/entity.cpp | |
| parent | 41b8281c7355eea7c4a2022027769df8a519ae7a (diff) | |
Explicit procedure group; Remove implicit procedure overloading
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index ef49c4d0e..ff3fd5c20 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -10,7 +10,7 @@ struct DeclInfo; ENTITY_KIND(Variable) \ ENTITY_KIND(TypeName) \ ENTITY_KIND(Procedure) \ - ENTITY_KIND(ProcedureGrouping) \ + ENTITY_KIND(ProcGroup) \ ENTITY_KIND(Builtin) \ ENTITY_KIND(Alias) \ ENTITY_KIND(ImportName) \ @@ -110,7 +110,7 @@ struct Entity { } Procedure; struct { Array<Entity *> entities; - } ProcedureGrouping; + } ProcGroup; struct { i32 id; } Builtin; @@ -248,8 +248,8 @@ Entity *make_entity_procedure(gbAllocator a, Scope *scope, Token token, Type *si return entity; } -Entity *make_entity_procedure_grouping(gbAllocator a, Scope *scope, Token token, Type *type) { - Entity *entity = alloc_entity(a, Entity_ProcedureGrouping, scope, token, type); +Entity *make_entity_proc_group(gbAllocator a, Scope *scope, Token token, Type *type) { + Entity *entity = alloc_entity(a, Entity_ProcGroup, scope, token, type); return entity; } |