--- a/Utilities/ClassBrowsers/idlclbr.py Fri Nov 01 15:48:48 2013 +0100 +++ b/Utilities/ClassBrowsers/idlclbr.py Sun Nov 03 15:58:22 2013 +0100 @@ -85,7 +85,7 @@ | (?P<End> [ \t]* } [ \t]* ; ) -""", re.VERBOSE | re.DOTALL | re.MULTILINE).search +""", re.VERBOSE | re.DOTALL | re.MULTILINE).search # __IGNORE_WARNING__ # function to replace comments _commentsub = re.compile(r"""//[^\n]*\n|//[^\n]*$""").sub @@ -240,7 +240,7 @@ last_lineno_pos = start # close all interfaces/modules indented at least as much while classstack and \ - classstack[-1][1] >= thisindent: + classstack[-1][1] >= thisindent: if classstack[-1][0] is not None: # record the end line classstack[-1][0].setEndLine(lineno - 1) @@ -289,7 +289,7 @@ indent += 1 # close all interfaces/modules indented at least as much while classstack and \ - classstack[-1][1] >= thisindent: + classstack[-1][1] >= thisindent: if classstack[-1][0] is not None: # record the end line classstack[-1][0].setEndLine(lineno - 1) @@ -325,7 +325,7 @@ indent += 1 # close all interfaces/modules indented at least as much while classstack and \ - classstack[-1][1] >= thisindent: + classstack[-1][1] >= thisindent: if classstack[-1][0] is not None: # record the end line classstack[-1][0].setEndLine(lineno - 1)