1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

pidl/python: Fix bug accidently filling in the body of enums/bitmaps without body.

(This used to be commit 97971f0d80)
This commit is contained in:
Jelmer Vernooij 2008-01-13 15:11:28 +01:00
parent d814f3ce1c
commit 4a8ceb8c56

View File

@ -79,6 +79,8 @@ sub EnumAndBitmapConsts($$$)
{
my ($self, $name, $d) = @_;
return unless (defined($d->{ELEMENTS}));
foreach my $e (@{$d->{ELEMENTS}}) {
$e =~ /^([A-Za-z0-9_]+)=(.*)$/;
my $cname = $1;