diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-01-25 23:16:34 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-01-25 23:16:34 +1100 |
commit | 98d2b00dbe08b1303858be5f85704fa4bd1e7233 (patch) | |
tree | 565407437cc94938e7a8988eaa2d92f6dd9b1261 /source4/pidl/lib/Parse/Pidl/Samba4 | |
parent | 8ef7ddbf895d0126f578fcc46d2cb292addddf2b (diff) | |
parent | 21f5f4d4409e5a7076194639570f11ec32cf3257 (diff) | |
download | samba-98d2b00dbe08b1303858be5f85704fa4bd1e7233.tar.gz samba-98d2b00dbe08b1303858be5f85704fa4bd1e7233.tar.bz2 samba-98d2b00dbe08b1303858be5f85704fa4bd1e7233.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 1e042908992cdf3149ffc24472c7f0b1c3f9edef)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba4/Header.pm | 2 |
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++; |