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:
parent
d814f3ce1c
commit
4a8ceb8c56
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user