diff options
| author | gingerBill <bill@gingerbill.org> | 2017-12-12 18:21:40 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-12-12 18:21:40 +0000 |
| commit | f7e9649be466ea03f556e2918063c5a4d0d28e2e (patch) | |
| tree | 254ccca62132e5fae8af7bbf03ffe7fc5b75f0a4 /src/entity.cpp | |
| parent | fd1f6ec75cf7e26e2e87f84885e4166cd25cf376 (diff) | |
Disable struct field reordering (for the time being)
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 3f81a066d..fcc06f01e 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -189,6 +189,7 @@ Entity *make_entity_using_variable(gbAllocator a, Entity *parent, Token token, T entity->using_parent = parent; entity->parent_proc_decl = parent->parent_proc_decl; entity->flags |= EntityFlag_Using; + entity->flags |= EntityFlag_Used; return entity; } |