svn commit: samba r24488 - in branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl: .

metze at samba.org metze at samba.org
Thu Aug 16 13:29:39 GMT 2007


Author: metze
Date: 2007-08-16 13:29:38 +0000 (Thu, 16 Aug 2007)
New Revision: 24488

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24488

Log:
enum's and bitmap's not have nested types

metze
Modified:
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm


Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm	2007-08-16 13:27:41 UTC (rev 24487)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm	2007-08-16 13:29:38 UTC (rev 24488)
@@ -602,6 +602,8 @@
 	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") {



More information about the samba-cvs mailing list