aboutsummaryrefslogtreecommitdiff
path: root/type.c
diff options
context:
space:
mode:
Diffstat (limited to 'type.c')
-rw-r--r--type.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/type.c b/type.c
index e0cde2d..e458c19 100644
--- a/type.c
+++ b/type.c
@@ -117,6 +117,9 @@ typeprop(struct type *t)
case TYPESTRUCT:
p |= PROPOBJECT|PROPAGGR;
break;
+ case TYPEUNION:
+ p |= PROPOBJECT;
+ break;
default:
break;
}