summaryrefslogtreecommitdiff
path: root/pygments/lexers/_mapping.py
diff options
context:
space:
mode:
authorBruce Mitchener, Jr. <bruce.mitchener@gmail.com>2013-01-09 16:16:34 +0700
committerBruce Mitchener, Jr. <bruce.mitchener@gmail.com>2013-01-09 16:16:34 +0700
commitf3e614b2a8ae54b7bf5a7ee7751c36fd952e6a30 (patch)
treef011f2a6558830c804e725344666511065ebb4d1 /pygments/lexers/_mapping.py
parent6e145a03531db07ed5bad04ad6f894559067e2eb (diff)
downloadpygments-f3e614b2a8ae54b7bf5a7ee7751c36fd952e6a30.tar.gz
Rewrite the Dylan Lexer and provide a lexer for Dylan LID files.
Fixes include: * Dylan is not case sensitive. * Support for other number literal formats (hex, octal, binary). * Support nested multi-line comments. * Correct various issues with matching of 'names'. * Support highlighting of macro definitions better. * Support keyword / required keyword syntax in class definitions. * Support each-subclass slot allocation. * Handle the | operator. * Change what tokens are mapped to what types and reduce the Christmas tree look of the output a bit. * Explicitly list and handle the various builtins defined in the DRM.
Diffstat (limited to 'pygments/lexers/_mapping.py')
-rw-r--r--pygments/lexers/_mapping.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index b4706848..c0cbeae9 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -83,7 +83,8 @@ LEXERS = {
'DjangoLexer': ('pygments.lexers.templates', 'Django/Jinja', ('django', 'jinja'), (), ('application/x-django-templating', 'application/x-jinja')),
'DtdLexer': ('pygments.lexers.web', 'DTD', ('dtd',), ('*.dtd',), ('application/xml-dtd',)),
'DuelLexer': ('pygments.lexers.web', 'Duel', ('duel', 'Duel Engine', 'Duel View', 'JBST', 'jbst', 'JsonML+BST'), ('*.duel', '*.jbst'), ('text/x-duel', 'text/x-jbst')),
- 'DylanLexer': ('pygments.lexers.compiled', 'Dylan', ('dylan',), ('*.dylan', '*.dyl'), ('text/x-dylan',)),
+ 'DylanLexer': ('pygments.lexers.compiled', 'Dylan', ('dylan',), ('*.dylan', '*.dyl', '*.intr'), ('text/x-dylan',)),
+ 'DylanLidLexer': ('pygments.lexers.compiled', 'DylanLID', ('dylan-lid', 'lid'), ('*.lid', '*.hdp'), ('text/x-dylan-lid',)),
'ECLLexer': ('pygments.lexers.other', 'ECL', ('ecl',), ('*.ecl',), ('application/x-ecl',)),
'ECLexer': ('pygments.lexers.compiled', 'eC', ('ec',), ('*.ec', '*.eh'), ('text/x-echdr', 'text/x-ecsrc')),
'ElixirConsoleLexer': ('pygments.lexers.functional', 'Elixir iex session', ('iex',), (), ('text/x-elixir-shellsession',)),