More fixes for the doxygen2doc generator: operator-\/ replacement to operator-

This commit is contained in:
Nico Kruithof 2010-03-16 11:04:04 +00:00
parent 54a73ce38a
commit 922cd70e79
1 changed files with 3 additions and 0 deletions

View File

@ -669,6 +669,9 @@ sub format_curly_brace_pairs_expressions
$buf =~ s/\\ccMethod\{.*?~\Q$item_to_document\E\s.*?\}\n\{.*?\}\n\\ccGlue\n//smg;
$buf =~ s/\\ccMethod\{.*?operator\s*=\s*\(.*?\}\n\{.*?\}\n\\ccGlue\n//smg;
# replace operator-\/ by operator-
$buf =~ s/(\\ccMethod\{[^\}]*operator-)\\\//$1/smg;
# Security: remove blank lines before/after curly braces pairs
$buf =~ s/\{\n+/\{\n/g;
$buf =~ s/\n+\}/\n\}/g;