summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-16 13:29:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:59 -0500
commit53cd0b017a559ba11dcb3f6193858bba81165390 (patch)
treee5fd83ae8f95675db434a6877a840541754d6d6a /source4
parentc06d8aaaefcdc7572d22a4bb407565ea9adc8cae (diff)
downloadsamba-53cd0b017a559ba11dcb3f6193858bba81165390.tar.gz
samba-53cd0b017a559ba11dcb3f6193858bba81165390.tar.bz2
samba-53cd0b017a559ba11dcb3f6193858bba81165390.zip
r24488: enum's and bitmap's not have nested types
metze (This used to be commit 47fb2d42dfa917f5aca4daaacf53134afc22d288)
Diffstat (limited to 'source4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/NDR.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/NDR.pm b/source4/pidl/lib/Parse/Pidl/NDR.pm
index a3282226a1..e9c4b59358 100644
--- a/source4/pidl/lib/Parse/Pidl/NDR.pm
+++ b/source4/pidl/lib/Parse/Pidl/NDR.pm
@@ -602,6 +602,8 @@ sub FindNestedTypes($$)
my ($l, $t) = @_;
return if not defined($t->{ELEMENTS});
+ return if ($t->{TYPE} eq "ENUM");
+ return if ($t->{TYPE} eq "BITMAP");
foreach (@{$t->{ELEMENTS}}) {
if (ref($_->{TYPE}) eq "HASH") {