diff options
author | hoosieree <ashroyer@gmail.com> | 2014-12-03 15:42:08 +0000 |
---|---|---|
committer | hoosieree <ashroyer@gmail.com> | 2014-12-03 15:42:08 +0000 |
commit | 762540340e7cc1e3c6802aeddfc98b71d3bc9f9c (patch) | |
tree | 424c13afbc1cb6d45bf39e3793204055dac869d7 /pygments/lexers/j.py | |
parent | 2156458e21aee30776add7d33ab79f99f8ee658c (diff) | |
download | pygments-762540340e7cc1e3c6802aeddfc98b71d3bc9f9c.tar.gz |
Remove duplicates and "error" code for too many underscores.
Diffstat (limited to 'pygments/lexers/j.py')
-rw-r--r-- | pygments/lexers/j.py | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/pygments/lexers/j.py b/pygments/lexers/j.py index 0c8a9f22..5eb85332 100644 --- a/pygments/lexers/j.py +++ b/pygments/lexers/j.py @@ -63,26 +63,21 @@ class JLexer(RegexLexer): 'ARGV', 'CR', 'CRLF', 'DEL', 'Debug', 'EAV', 'EMPTY', 'FF', 'JVERSION', 'LF', 'LF2', 'Note', 'TAB', 'alpha17', 'alpha27', - 'apply', 'bind', 'bind', 'boxopen', 'boxopen', - 'boxxopen', 'boxxopen', 'bx', 'clear', 'clear', - 'cutLF', 'cutopen', 'cutopen', 'datatype', 'datatype', - 'def', 'def', 'dfh', 'drop', 'drop', - 'each', 'each', 'echo', 'empty', 'empty', - 'erase', 'erase', 'every', 'every', 'evtloop', - 'exit', 'expand', 'expand', 'fetch', 'fetch', - 'file2url', 'fixdotdot', 'fliprgb', 'getargs', 'getenv', - 'hfd', 'inv', 'inverse', 'inverse', 'iospath', - 'isatty', 'isutf8', 'items', 'leaf', 'leaf', - 'list', 'list', 'nameclass', 'nameclass', 'namelist', - 'namelist', 'names', 'names', 'nc', 'nc', - 'nl', 'nl', 'on', 'on', 'pick', - 'pick', 'rows', 'rows', 'script', 'script', - 'scriptd', 'scriptd', 'sign', 'sign', 'sminfo', - 'smoutput', 'smoutput', 'sort', 'split', 'stderr', - 'stdin', 'stdout', 'table', 'take', 'timespacex', - 'timex', 'tmoutput', 'toCRLF', 'toHOST', 'toJ', - 'tolower', 'toupper', 'type', 'ucp', 'ucpcount', - 'usleep', 'utf8', 'uucp', + 'apply', 'bind', 'boxopen', 'boxxopen', 'bx', + 'clear', 'cutLF', 'cutopen', 'datatype', 'def', + 'dfh', 'drop', 'each', 'echo', 'empty', + 'erase', 'every', 'evtloop', 'exit', 'expand', + 'fetch', 'file2url', 'fixdotdot', 'fliprgb', 'getargs', + 'getenv', 'hfd', 'inv', 'inverse', 'iospath', + 'isatty', 'isutf8', 'items', 'leaf', 'list', + 'nameclass', 'namelist', 'namelist', 'names', 'nc', + 'nl', 'on', 'pick', 'pick', 'rows', + 'script', 'scriptd', 'sign', 'sminfo', 'smoutput', + 'sort', 'split', 'stderr', 'stdin', 'stdout', + 'table', 'take', 'timespacex', 'timex', 'tmoutput', + 'toCRLF', 'toHOST', 'toJ', 'tolower', 'toupper', + 'type', 'ucp', 'ucpcount', 'usleep', 'utf8', + 'uucp', )), Name.Function), # Copula @@ -118,7 +113,6 @@ class JLexer(RegexLexer): ], 'numbers': [ - (r'_{3,}', Error), (r'\b_{1,2}\b', Number), (r'_?\d+(\.\d+)?(\s*[ejr]\s*)_?\d+(\.?=\d+)?', Number), (r'_?\d+\.(?=\d+)', Number.Float), |