mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
"struct foo {};".
Reported by one of the OpenChange folks, thanks!
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c6dfc90daf
commit
d65b520f08
@@ -271,10 +271,13 @@ sub GetElementLevelTable($)
|
||||
|
||||
#####################################################################
|
||||
# see if a type contains any deferred data
|
||||
sub can_contain_deferred
|
||||
sub can_contain_deferred($)
|
||||
{
|
||||
sub can_contain_deferred($);
|
||||
my $e = shift;
|
||||
|
||||
print "$e->{NAME}\n";
|
||||
|
||||
return 0 if (Parse::Pidl::Typelist::is_scalar($e->{TYPE}));
|
||||
return 1 unless (hasType($e->{TYPE})); # assume the worst
|
||||
|
||||
|
||||
Reference in New Issue
Block a user