diff options
Diffstat (limited to 'scripts/find_error.py')
-rwxr-xr-x | scripts/find_error.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/find_error.py b/scripts/find_error.py index 1b793790..fcd36199 100755 --- a/scripts/find_error.py +++ b/scripts/find_error.py @@ -101,6 +101,9 @@ def main(fn, lexer=None, options={}): if lx.__class__.__bases__ == (RegexLexer,): lx.__class__.__bases__ = (DebuggingRegexLexer,) debug_lexer = True + elif lx.__class__.__bases__ == (DebuggingRegexLexer,): + # already debugged before + debug_lexer = True lno = 1 text = file(fn, 'U').read() text = text.strip('\n') + '\n' |