From 91ea2cf923f5f365244d457b828f4dbc1c23cc76 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 8 Jan 2016 08:48:08 -0500 Subject: struct amgc_entity: add reftype and its initialization bits. --- src/logic/amgc_unit_entities.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/logic/amgc_unit_entities.c b/src/logic/amgc_unit_entities.c index 4309d89..233c9ec 100644 --- a/src/logic/amgc_unit_entities.c +++ b/src/logic/amgc_unit_entities.c @@ -135,6 +135,7 @@ int amgc_get_unit_entities( ptrdepth++; uentities->typedefs[meta->ntypedefs].entity = entity; + uentities->typedefs[meta->ntypedefs].reftype = etype; uentities->typedefs[meta->ntypedefs].ptrdepth = ptrdepth; meta->ntypedefs++; break; -- cgit v1.2.3