From 4a303b5c3ef38bd99c36fa990c922917c0134d52 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 5 Aug 2016 15:17:23 +0100 Subject: Minor refactor and basic library --- src/checker/entity.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/checker/entity.cpp') 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; -- cgit v1.2.3