Fixed bug when '@heading Parameters' occurs several times in the same file

This commit is contained in:
Laurent Saboret 2008-03-05 15:12:00 +00:00
parent 1fc7b699ba
commit 6f41a13ce2
1 changed files with 2 additions and 2 deletions

View File

@ -633,8 +633,8 @@ sub format_doxygen_function_doc
# Insert \ccSeeAlso title at the end of the document
$buf = $buf . "\n\n\\ccSeeAlso\n\n\n";
# Format "Heading Parameters:" comment [L. Saboret extension]
$buf =~ s/\bHeading Parameters:\s*(\\begin\{description\}\s*\\item)\[Parameters:\]/$1\[Template Parameters:\]/sm;
# Format "Heading Parameters:" comments [L. Saboret extension]
$buf =~ s/\bHeading Parameters:\s*(\\begin\{description\}\s*\\item)\[Parameters:\]/$1\[Template Parameters:\]/smg;
# Insert \ccParameters section before \ccSeeAlso
# (from brief section)