summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-29 16:03:03 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-12-29 16:03:03 +0000
commit9fd14c02c21c437868debdf18e3b397b0f5350c0 (patch)
tree6c40461c498356c08c4451630536806ead2267f8 /source
parentf4681fc4164cf3012ae64ddbe06ac8f27b6ab6af (diff)
downloadsamba-9fd14c02c21c437868debdf18e3b397b0f5350c0.tar.gz
samba-9fd14c02c21c437868debdf18e3b397b0f5350c0.tar.xz
samba-9fd14c02c21c437868debdf18e3b397b0f5350c0.zip
r12572: No longer parse coclasses as interfaces
Diffstat (limited to 'source')
-rw-r--r--source/pidl/lib/Parse/Pidl/NDR.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/pidl/lib/Parse/Pidl/NDR.pm b/source/pidl/lib/Parse/Pidl/NDR.pm
index 0dd1ab4dd25..179d2ecb121 100644
--- a/source/pidl/lib/Parse/Pidl/NDR.pm
+++ b/source/pidl/lib/Parse/Pidl/NDR.pm
@@ -642,7 +642,9 @@ sub Parse($)
my @ndr = ();
- push(@ndr, ParseInterface($_)) foreach (@{$idl});
+ foreach (@{$idl}) {
+ ($_->{TYPE} eq "INTERFACE") && push(@ndr, ParseInterface($_));
+ }
return \@ndr;
}