diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-10 23:40:06 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-10 23:40:06 -0700 |
commit | 8f8fd768089ae3ac82fd421b1ebd1a80f9fca5fc (patch) | |
tree | 7e2e06e01aef86ef0d24879c3cd02fe8e34a5ddd | |
parent | df9d6fff44ac36fb7f24995494ae46d102a57e7c (diff) | |
download | cproc-8f8fd768089ae3ac82fd421b1ebd1a80f9fca5fc.tar.xz |
type: unions are object types
-rw-r--r-- | type.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -117,6 +117,9 @@ typeprop(struct type *t) case TYPESTRUCT: p |= PROPOBJECT|PROPAGGR; break; + case TYPEUNION: + p |= PROPOBJECT; + break; default: break; } |