]> mj.ucw.cz Git - libucw.git/commitdiff
doc. system: Do not backslash name...
authorMichal Vaner <vorner@ucw.cz>
Sun, 15 Feb 2009 10:55:32 +0000 (11:55 +0100)
committerMichal Vaner <vorner@ucw.cz>
Sun, 15 Feb 2009 10:55:32 +0000 (11:55 +0100)
It puts the backslash there, not escapes the ellipsis.

build/doc-extract

index 6be99b45fb54e8e5728adb7dab147908ecfa4036..576ad022cd75e6c0fda264cf35aba80fd34020a0 100755 (executable)
@@ -68,7 +68,7 @@ sub formatNote( $$ ) {
        $oneline =~ s/\s+$//;
        $oneline =~ s/;?$/;/ if( $semicolon );
        $head =~ s/;?\s*$/;/ if( $semicolon );
-       $head =~ s/(\.\.\.)/\\$1/g;
+       $head =~ s/(\s|,|\()(\.\.\.)/$1\\$2/g; # Do not convert tripple dot into ellipsis
        print OUT "[[${type}_$name]]\n";
        $head = $oneline if $type eq 'fun';#Remove { from inline functions
        # Remove the generic hack markup