summaryrefslogtreecommitdiff
path: root/source4/build/pidl/dump.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/dump.pm')
-rw-r--r--source4/build/pidl/dump.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/build/pidl/dump.pm b/source4/build/pidl/dump.pm
index 9e896cd256..2cd0c140a5 100644
--- a/source4/build/pidl/dump.pm
+++ b/source4/build/pidl/dump.pm
@@ -51,7 +51,9 @@ sub DumpElement($)
$res .= "*";
}
$res .= "$element->{NAME}";
- (defined $element->{ARRAY_LEN}) && ($res .= "[$element->{ARRAY_LEN}]");
+ foreach (@{$element->{ARRAY_LEN}}) {
+ $res .= "[$_]";
+ }
return $res;
}