From: Jelte Jansen Date: Fri, 13 May 2005 11:06:31 +0000 (+0000) Subject: why the const hassle? it breaks in-comment const mentioning, but there probably was... X-Git-Tag: release-0.60^2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a63f0f5e72ae5dd32fa67db2201b5fcb3b388f4;p=thirdparty%2Fldns.git why the const hassle? it breaks in-comment const mentioning, but there probably was a reason for :) --- diff --git a/doc/doxyparse.pl b/doc/doxyparse.pl index 099f6bfa..d1f90154 100755 --- a/doc/doxyparse.pl +++ b/doc/doxyparse.pl @@ -119,10 +119,10 @@ while(<>) { } if ($state == 2 and /const/) { # the const word exists in the function call - $const = "const"; - s/[\t ]*const[\t ]*//; + #$const = "const"; + #s/[\t ]*const[\t ]*//; } else { - undef $const; + #undef $const; } if (/^INLINE/) { @@ -134,8 +134,7 @@ while(<>) { $_ =~ s/{/;/; } -#print "line: $_\n"; - if (/([\w\* ]*)[\t ]+(.*?)\((.*)\)\s*;/ and $state == 2) { + if (/([\w\* ]+)[\t ]+(.*?)\((.*)\)\s*;/ and $state == 2) { # this should also end the current comment parsing $return = $1; $key = $2; diff --git a/ldns/rr.h b/ldns/rr.h index b81d17f3..c4bb69d6 100644 --- a/ldns/rr.h +++ b/ldns/rr.h @@ -559,7 +559,8 @@ uint8_t ldns_rr_label_count(ldns_rr *rr); /* todo */ -/** returns the resource record descriptor for the given rr type. +/** + * returns the resource record descriptor for the given rr type. * * \param[in] type the type value of the rr type *\return the ldns_rr_descriptor for this type