diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-08-05 15:17:23 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-08-05 15:17:23 +0100 |
| commit | 4a303b5c3ef38bd99c36fa990c922917c0134d52 (patch) | |
| tree | fc46614cd8b13cbb84228911209fd505d46370b6 /src/checker/entity.cpp | |
| parent | 2aaef48c5c362bb3e04d0c9cd1e722e21b3755e5 (diff) | |
Minor refactor and basic library
Diffstat (limited to 'src/checker/entity.cpp')
| -rw-r--r-- | src/checker/entity.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/checker/entity.cpp b/src/checker/entity.cpp index 6a562ecf0..bd784bc4d 100644 --- a/src/checker/entity.cpp +++ b/src/checker/entity.cpp @@ -1,6 +1,6 @@ struct Scope; struct Checker; -enum BuiltinProcedureId; +enum BuiltinProcId; #define ENTITY_KINDS \ ENTITY_KIND(Invalid), \ @@ -47,7 +47,7 @@ struct Entity { struct {} type_name; struct {} alias_name; struct {} procedure; - struct { BuiltinProcedureId id; } builtin; + struct { BuiltinProcId id; } builtin; }; }; @@ -105,7 +105,7 @@ Entity *make_entity_procedure(gbAllocator a, Scope *parent, Token token, Type *s return entity; } -Entity *make_entity_builtin(gbAllocator a, Scope *parent, Token token, Type *type, BuiltinProcedureId id) { +Entity *make_entity_builtin(gbAllocator a, Scope *parent, Token token, Type *type, BuiltinProcId id) { Entity *entity = alloc_entity(a, Entity_Builtin, parent, token, type); entity->builtin.id = id; return entity; |