if ($state == 1) {
# inside doxygen
s/^[ \t]*\*[ \t]*//;
- #$description = $description . "\n" . $_;
- $description = $description . "\n.br\n" . $_;
+ $description = $description . "\n" . $_;
+ #$description = $description . "\n.br\n" . $_;
}
if (/([\w\*]*)[\t ]+(.*?)\((.*)\);/ and $state == 2) {
# this should also end the current comment parsing
$key =~ s/^\*//;
$return = '*' . $return;
}
- $description =~ s/\\param\[in\][ \t]*([\*\w]+)[ \t]+/\\fB$1\\fR: /g;
- $description =~ s/\\param\[out\][ \t]*([\*\w]+)[ \t]+/\\fB$1\\fR: /g;
+ $description =~ s/\\param\[in\][ \t]*([\*\w]+)[ \t]+/.br\n\\fB$1\\fR: /g;
+ $description =~ s/\\param\[out\][ \t]*([\*\w]+)[ \t]+/.br\n\\fB$1\\fR: /g;
$description =~ s/\\return[ \t]*/Returns /g;
$description{$key} = $description;
foreach (@$a) {
print MAN ".HP\n";
print MAN "\\fI", $_, "\\fR", "()";
+# print MAN ".br\n";
print MAN $description{$_};
print MAN "\n.PP\n";
}
extern ldns_lookup_table ldns_error_str[];
-
/**
* look up a descriptive text by each error
* \param[in] err ldns_status number