From: dberzano Date: Tue, 9 Dec 2014 14:37:22 +0000 (+0100) Subject: doxy: preserve internal comment indentation X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=f11779ec42ceb686acee93673b486b28acc28f98;p=u%2Fmrichter%2FAliRoot.git doxy: preserve internal comment indentation --- diff --git a/doxygen/thtml2doxy_clang.py b/doxygen/thtml2doxy_clang.py index 0a320417e08..dda289d3294 100755 --- a/doxygen/thtml2doxy_clang.py +++ b/doxygen/thtml2doxy_clang.py @@ -451,7 +451,7 @@ def strip_html(s): # @param comment An array containing the lines of the original comment def refactor_comment(comment, do_strip_html=True): - recomm = r'^(/{2,}|/\*)?\s*(.*?)\s*((/{2,})?\s*|\*/)$' + recomm = r'^(/{2,}|/\*)? ?(\s*.*?)\s*((/{2,})?\s*|\*/)$' regarbage = r'^(?i)\s*([\s*=-_#]+|(Begin|End)_Html)\s*$' new_comment = []