]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
doxy: preserve internal comment indentation
authordberzano <dario.berzano@cern.ch>
Tue, 9 Dec 2014 14:37:22 +0000 (15:37 +0100)
committerdberzano <dario.berzano@cern.ch>
Fri, 9 Jan 2015 15:01:08 +0000 (16:01 +0100)
doxygen/thtml2doxy_clang.py

index 0a320417e08ac2d60863337ff0e23289209f492a..dda289d3294db014e7d0222d78972ea6b2a0bca9 100755 (executable)
@@ -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 = []