]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
ignore spaces in function definition
authorMiek Gieben <miekg@NLnetLabs.nl>
Tue, 26 Apr 2005 12:11:26 +0000 (12:11 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Tue, 26 Apr 2005 12:11:26 +0000 (12:11 +0000)
doc/doxyparse.pl

index 87786bd9ecf8b4f3b1502c0fc8bc872cfb401e6f..9ae29f92153b561c67d41eee23ed56656100516f 100755 (executable)
@@ -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;