summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.yp
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-08 02:55:28 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-08 02:55:28 +0000
commit2773e54c9872ce5b98dd808a0ae07034103420e2 (patch)
tree686206642b3e037cd330bc93582ea387ad416f65 /source4/build/pidl/idl.yp
parent58714e6bda5c12388119cba8688c7cd7140ce85f (diff)
downloadsamba-2773e54c9872ce5b98dd808a0ae07034103420e2.tar.gz
samba-2773e54c9872ce5b98dd808a0ae07034103420e2.tar.bz2
samba-2773e54c9872ce5b98dd808a0ae07034103420e2.zip
commit idl.pm now, as many build farm machines don't have 'yapp'
(This used to be commit 2b1300386dc8a3e3e802c8b1dafdbea286cfbb46)
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]" }}
;