From 53cd0b017a559ba11dcb3f6193858bba81165390 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 16 Aug 2007 13:29:38 +0000 Subject: r24488: enum's and bitmap's not have nested types metze (This used to be commit 47fb2d42dfa917f5aca4daaacf53134afc22d288) --- source4/pidl/lib/Parse/Pidl/NDR.pm | 2 ++ 1 file changed, 2 insertions(+) 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") { -- cgit