}
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/) {
$_ =~ 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;
/* 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