diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-02-01 17:52:55 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-02-01 17:52:55 +0000 |
| commit | 4e7082a68dd5261c3c36eccf92a62a0ce84995a8 (patch) | |
| tree | 01b5d690870b28b43a5e5c0c434495e56059babc /src/entity.c | |
| parent | 502e63b9c50e71735c7989e59155a490bca991d2 (diff) | |
Change internals of `context`; Disable `immutable`
Diffstat (limited to 'src/entity.c')
| -rw-r--r-- | src/entity.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entity.c b/src/entity.c index 3464ad82e..3ca709aa4 100644 --- a/src/entity.c +++ b/src/entity.c @@ -101,6 +101,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); |