aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-10-29 11:35:21 +0000
committergingerBill <bill@gingerbill.org>2017-10-29 11:35:21 +0000
commita43b89f36e988df8268ee92ea54017806b3226bb (patch)
treeb9db9300453604a565ee3ac7e56c9fe6ad17be08 /src/entity.cpp
parent0ed34af19d20aa5ae13c2147bd0f767d68d2e965 (diff)
#alias type declarations; core library additions; `_global` import name for the global scope
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index e03adeab8..de0922650 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -156,6 +156,7 @@ bool is_entity_exported(Entity *e) {
return name[0] != '_';
}
+
gb_global u64 global_entity_id = 0;
Entity *alloc_entity(gbAllocator a, EntityKind kind, Scope *scope, Token token, Type *type) {