doxy: single-line block does not continue a multi
authordberzano <dario.berzano@cern.ch>
Fri, 5 Dec 2014 18:44:59 +0000 (19:44 +0100)
committerdberzano <dario.berzano@cern.ch>
Fri, 9 Jan 2015 15:01:05 +0000 (16:01 +0100)
doxygen/thtml2doxy_clang.py

index b4d0178..26545fa 100755 (executable)
@@ -116,6 +116,10 @@ def traverse_ast(cursor, recursion=0):
               print Colt("%s  [%d-%d]" % (indent, line_start, line_end)).green(),
               print Colt(comment_line).cyan()
 
+            # multiline comments are parsed in one go, therefore don't expect subsequent comments
+            if line_end - line_start > 0:
+              expect_comment = False
+
           else:
             expect_comment = False