From c0ea84a3f0d6891bb1d0c7610de122fe4fb00cc3 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sat, 13 Sep 2008 20:12:51 +0200 Subject: [PATCH] Doc. system: Fix inline functions in description They had { }, if it was on the first line. Simpler handling of definitions. --- build/doc-extract | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build/doc-extract b/build/doc-extract index 9ce8a3c5..db713095 100755 --- a/build/doc-extract +++ b/build/doc-extract @@ -56,13 +56,10 @@ sub formatNote( $$ ) { $head =~ s/;?\s*$/;/ if( $semicolon ); $head =~ s/(\.\.\.)/\\$1/g; print OUT "[[${type}_$name]]\n"; - if( $type eq 'fun' ) { - print OUT "!!f!$head!!!\n\n"; - } else { - print OUT "..................\n"; - print OUT "$head\n"; - print OUT "..................\n\n"; - } + $head = $oneline if $type eq 'fun';#Remove { from inline functions + print OUT "..................\n"; + print OUT "$head\n"; + print OUT "..................\n\n"; if( $hasdump ) { print DUMP "$outname,${type}_$name,$type,$name,$oneline\n"; $id ++; -- 2.39.5