Subject: | function prototype parser error |
Date: | Tue, 7 Jul 2015 17:43:10 +0300 |
To: | bug-Doxygen-Filter-Perl [...] rt.cpan.org |
From: | Алексей Коляда <devil [...] okidoki.org.ua> |
Hi!
Your input filter does not works with function prototypes(don't show any
information about function in doxygen output)
Function example:
sub insertHash ($%) {
my ($body, %hash) = @_;
foreach(sort { length($b)<=>length($a) } keys %hash) {
patch, for correct prototypes parsing:
devil@devil-MS-7759:~/Projects/doxygen-filter-perl/lib/Doxygen/Filter$ diff
Perl.pm ../../../../Doxygen-Filter-Perl-1.72/lib/Doxygen/Filter/Perl.pm
662c662
< if ($line =~ /^\s*sub\s+([^\({]*)(.*)/)
---
Show quoted text
> if ($line =~ /^\s*sub\s+(.*)/)
Thanks for Your project!