aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r--gdb/d-exp.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y
index b526575..8625e41 100644
--- a/gdb/d-exp.y
+++ b/gdb/d-exp.y
@@ -648,6 +648,7 @@ type_aggregate_p (struct type *type)
{
return (TYPE_CODE (type) == TYPE_CODE_STRUCT
|| TYPE_CODE (type) == TYPE_CODE_UNION
+ || TYPE_CODE (type) == TYPE_CODE_MODULE
|| (TYPE_CODE (type) == TYPE_CODE_ENUM
&& TYPE_DECLARED_CLASS (type)));
}