doxy: in member comment, array size can be var
authordberzano <dario.berzano@cern.ch>
Thu, 5 Feb 2015 15:38:10 +0000 (16:38 +0100)
committerdberzano <dario.berzano@cern.ch>
Tue, 10 Feb 2015 15:21:11 +0000 (16:21 +0100)
doxygen/thtml2doxy.py

index ea98a8f..6f20a37 100755 (executable)
@@ -282,7 +282,7 @@ def comment_datamember(cursor, comments):
 
   assert found, 'A line that should exist was not found in file' % cursor.location.file
 
-  recomm = r'(//(!|\|\||->)|///?)(\[([0-9,]+)\])?<?\s*(.*?)\s*$'
+  recomm = r'(//(!|\|\||->)|///?)(\[(.+?)\])?<?\s*(.*?)\s*$'
   recomm_prevline = r'^\s*///\s*(.*?)\s*$'
 
   mcomm = re.search(recomm, raw)