Skip to content

Commit ac6a553

Browse files
committed
Small prototype support
Small problem with nameless routines.
1 parent df9d90d commit ac6a553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doxygen/Filter/Perl.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ sub _ProcessPerlMethod
712712
$sName =~ s/\s//g;
713713
# check if we have a prototype
714714
my ($method, $proto) = split /[()]/, $sName;
715-
$sName = $method;
715+
$sName = $method || "";
716716
$sName =~ s/\s//g;
717717
if (defined($proto)) {$proto =~ s/\s//g;}
718718
my $sProtoType = $proto || "";

0 commit comments

Comments
 (0)