summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.yp
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/idl.yp')
-rw-r--r--source4/build/pidl/idl.yp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/pidl/idl.yp b/source4/build/pidl/idl.yp
index b38104fa02..607964f679 100644
--- a/source4/build/pidl/idl.yp
+++ b/source4/build/pidl/idl.yp
@@ -191,14 +191,14 @@ array_len:
property_list:
#empty
- | property_list '[' properties ']' { util::FlattenArray([$_[1],$_[3]]); }
+ | property_list '[' properties ']' { util::FlattenHash([$_[1],$_[3]]); }
;
-properties: property { [ $_[1] ] }
- | properties ',' property { push(@{$_[1]}, $_[3]); $_[1] }
+properties: property { $_[1] }
+ | properties ',' property { util::FlattenHash([$_[1], $_[3]]); }
;
-property: identifier
+property: identifier {{ "$_[1]" => "1" }}
| identifier '(' anytext ')' {{ "$_[1]" => "$_[3]" }}
;