From: Miek Gieben Date: Tue, 26 Apr 2005 12:11:26 +0000 (+0000) Subject: ignore spaces in function definition X-Git-Tag: release-0.50~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22dc2eb583d38fac2806e11808b7ed7c6bc08af1;p=thirdparty%2Fldns.git ignore spaces in function definition --- diff --git a/doc/doxyparse.pl b/doc/doxyparse.pl index 87786bd9..9ae29f92 100755 --- a/doc/doxyparse.pl +++ b/doc/doxyparse.pl @@ -102,7 +102,7 @@ while(<>) { s/^[ \t]*\*[ \t]*//; $description = $description . "\n.br\n" . $_; } - if (/(.*)[\t ]+(.*?)\((.*)\);/ and $state == 2) { + if (/([\w\*]*)[\t ]+(.*?)\((.*)\);/ and $state == 2) { # this should also end the current comment parsing $return = $1; $key = $2;