aboutsummaryrefslogtreecommitdiff
path: root/src/checker/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/checker/entity.cpp')
-rw-r--r--src/checker/entity.cpp6
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;