Interpreter - Structs and Arrays

This commit is contained in:
Ginger Bill
2016-10-30 23:48:32 +00:00
parent 0ffe4b600d
commit 5271adb82f
7 changed files with 436 additions and 100 deletions
+1 -1
View File
@@ -887,7 +887,7 @@ void add_dependency_to_map(Map<Entity *> *map, CheckerInfo *info, Entity *node)
DeclInfo *decl = *found;
for_array(i, decl->deps.entries) {
Entity *e = cast(Entity *)cast(uintptr)decl->deps.entries[i].key.key;
Entity *e = cast(Entity *)decl->deps.entries[i].key.ptr;
add_dependency_to_map(map, info, e);
}
}