aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/lexers/dylan.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-05-20 07:58:40 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-05-20 08:05:00 +0300
commitbcd5bcc390793791d293d386b2ebefbe683fb4e1 (patch)
treec93e3b8c847237e7e7626f4a07f1b657bb34f04d /contrib/python/Pygments/py3/pygments/lexers/dylan.py
parent1a9f1508fe9c8c5927ffebf33197a6108e70501d (diff)
downloadydb-bcd5bcc390793791d293d386b2ebefbe683fb4e1.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/dylan.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/lexers/dylan.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/dylan.py b/contrib/python/Pygments/py3/pygments/lexers/dylan.py
index f5aa73ab77..8cd0d624df 100644
--- a/contrib/python/Pygments/py3/pygments/lexers/dylan.py
+++ b/contrib/python/Pygments/py3/pygments/lexers/dylan.py
@@ -4,7 +4,7 @@
Lexers for the Dylan language.
- :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -21,8 +21,6 @@ __all__ = ['DylanLexer', 'DylanConsoleLexer', 'DylanLidLexer']
class DylanLexer(RegexLexer):
"""
For the Dylan language.
-
- .. versionadded:: 0.7
"""
name = 'Dylan'
@@ -30,6 +28,7 @@ class DylanLexer(RegexLexer):
aliases = ['dylan']
filenames = ['*.dylan', '*.dyl', '*.intr']
mimetypes = ['text/x-dylan']
+ version_added = '0.7'
flags = re.IGNORECASE
@@ -214,15 +213,14 @@ class DylanLexer(RegexLexer):
class DylanLidLexer(RegexLexer):
"""
For Dylan LID (Library Interchange Definition) files.
-
- .. versionadded:: 1.6
"""
name = 'DylanLID'
aliases = ['dylan-lid', 'lid']
filenames = ['*.lid', '*.hdp']
mimetypes = ['text/x-dylan-lid']
-
+ url = 'http://www.opendylan.org/'
+ version_added = '1.6'
flags = re.IGNORECASE
tokens = {
@@ -245,13 +243,13 @@ class DylanConsoleLexer(Lexer):
For Dylan interactive console output.
This is based on a copy of the RubyConsoleLexer.
-
- .. versionadded:: 1.6
"""
name = 'Dylan session'
aliases = ['dylan-console', 'dylan-repl']
filenames = ['*.dylan-console']
mimetypes = ['text/x-dylan-console']
+ url = 'http://www.opendylan.org/'
+ version_added = '1.6'
_example = 'dylan-console/console'
_prompt_re = re.compile(r'\?| ')