Asciidoc tries to convert all ... strings into ellipsis character, which
is wrong in function parameters (it is 3 separate chars in reality,
besides this caused problems with xrefs, links, etc).
$file =~ s/^\///;
$file =~ s/\.[^.]+$//;
$text =~ s/\(/!!PARENT_OPEN!!/g;
+ $text =~ s/(\.\.\.)/\\$1/g;
print OUT "- <<$file:auto_$num,`$text`>>\n";
}
chomp $head;
print OUT "[[auto_$id]]\n";
my( $type, $semicolon, $name, $oneline ) = detect( $head );
+ $oneline =~ s/\s+$//;
$head =~ s/;?\s*$/;/ if( $semicolon );
+ $head =~ s/(\.\.\.)/\\$1/g;
if( $type eq 'function' ) {
print OUT "!!f!$head!!!\n\n";
} else {