summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-25 11:50:00 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-25 11:50:00 +0100
commit1c5e713cceb6a4467540043df4087fe3f9f335d5 (patch)
tree1c93f2ab8c76694a91d8e57394f77f4b872fec8b /source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
parent6c2d4f2806bae8072d61ba8795832d9a9e75573e (diff)
parent5d55aa99e6488244208d7d84b188f92306c083f6 (diff)
downloadsamba-1c5e713cceb6a4467540043df4087fe3f9f335d5.tar.gz
samba-1c5e713cceb6a4467540043df4087fe3f9f335d5.tar.bz2
samba-1c5e713cceb6a4467540043df4087fe3f9f335d5.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts: source/scripting/python/samba/provision.py (This used to be commit 64babbec22f165e34799d36ff4b76806d9fead50)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4/Header.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Header.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
index 14f472340c..2e77ff01b8 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
@@ -86,6 +86,7 @@ sub HeaderStruct($$;$)
{
my($struct,$name,$tail) = @_;
pidl "struct $name";
+ pidl $tail if defined($tail) and not defined($struct->{ELEMENTS});
return if (not defined($struct->{ELEMENTS}));
pidl " {\n";
$tab_depth++;
@@ -178,6 +179,7 @@ sub HeaderUnion($$;$)
my %done = ();
pidl "union $name";
+ pidl $tail if defined($tail) and not defined($union->{ELEMENTS});
return if (not defined($union->{ELEMENTS}));
pidl " {\n";
$tab_depth++;