From 3d753b59a95fdb04c26e349c93fddab485beab0f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 17 Aug 2007 08:05:57 +0000 Subject: r24507: pass $d down to HeaderTypedef metze (This used to be commit 0edec25af84744074aeeb5f8f7b61a6c78ef35b7) --- source4/pidl/lib/Parse/Pidl/Samba4/Header.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/pidl/lib') diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm index e10f647635..76034109b7 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm @@ -223,7 +223,7 @@ sub HeaderType($$$) sub HeaderTypedef($) { my($typedef) = shift; - HeaderType($typedef, $typedef->{DATA}, $typedef->{NAME}); + HeaderType($typedef, $typedef->{DATA}->{ORIGINAL}, $typedef->{NAME}); } ##################################################################### @@ -360,7 +360,7 @@ sub HeaderInterface($) } foreach my $d (@{$interface->{TYPES}}) { - HeaderTypedef($d->{ORIGINAL}) if ($d->{TYPE} eq "TYPEDEF"); + HeaderTypedef($d) if ($d->{TYPE} eq "TYPEDEF"); HeaderStruct($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "STRUCT"); HeaderUnion($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "UNION"); HeaderEnum($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "ENUM"); -- cgit