diff options
author | Georg Brandl <georg@python.org> | 2016-02-26 10:09:18 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2016-02-26 10:09:18 +0100 |
commit | 1e3fa4bde6827107e7f5d6a3f38f57c51618ba82 (patch) | |
tree | 1ea6d3e16393aa41f2e647c09d6f979d34cc79da /scripts/debug_lexer.py | |
parent | d75dd4a9501658a05db7475b4b6d5800a1a92700 (diff) | |
parent | 4611730d0ca3cc6baad598f1802759bbf5bcad38 (diff) | |
download | pygments-git-1e3fa4bde6827107e7f5d6a3f38f57c51618ba82.tar.gz |
merge with stable
Diffstat (limited to 'scripts/debug_lexer.py')
-rwxr-xr-x | scripts/debug_lexer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/debug_lexer.py b/scripts/debug_lexer.py index cedd0988..4b7db41a 100755 --- a/scripts/debug_lexer.py +++ b/scripts/debug_lexer.py @@ -109,6 +109,8 @@ def main(fn, lexer=None, options={}): lxcls = find_lexer_class(name) if lxcls is None: raise AssertionError('no lexer found for file %r' % fn) + print('Using lexer: %s (%s.%s)' % (lxcls.name, lxcls.__module__, + lxcls.__name__)) debug_lexer = False # if profile: # # does not work for e.g. ExtendedRegexLexers |