This commit is contained in:
zhiayang
2017-02-02 04:21:42 +08:00
12 changed files with 254 additions and 243 deletions
+2
View File
@@ -158,6 +158,8 @@ struct Entity {
};
};
gb_global Entity *e_context = NULL;
Entity *alloc_entity(gbAllocator a, EntityKind kind, Scope *scope, Token token, Type *type) {
Entity *entity = gb_alloc_item(a, Entity);