diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-29 16:03:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:48:52 -0500 |
commit | 1cfda1af18db8aee6d4d3031f2056d80f4afe75b (patch) | |
tree | 04be0e4686aac4b5888d536df95ccaadca31dd64 /source4/pidl/lib/Parse/Pidl | |
parent | e82a044e6d4917766b4567b647c6d42987c99224 (diff) | |
download | samba-1cfda1af18db8aee6d4d3031f2056d80f4afe75b.tar.gz samba-1cfda1af18db8aee6d4d3031f2056d80f4afe75b.tar.bz2 samba-1cfda1af18db8aee6d4d3031f2056d80f4afe75b.zip |
r12572: No longer parse coclasses as interfaces
(This used to be commit f75f757b621a46ea531c27ac682623829a4fdea7)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/NDR.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/NDR.pm b/source4/pidl/lib/Parse/Pidl/NDR.pm index 0dd1ab4dd2..179d2ecb12 100644 --- a/source4/pidl/lib/Parse/Pidl/NDR.pm +++ b/source4/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; } |