aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py2/pygments/lexers/oberon.py
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/python/Pygments/py2/pygments/lexers/oberon.py
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/Pygments/py2/pygments/lexers/oberon.py')
-rw-r--r--contrib/python/Pygments/py2/pygments/lexers/oberon.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/Pygments/py2/pygments/lexers/oberon.py b/contrib/python/Pygments/py2/pygments/lexers/oberon.py
index fb36d7f626..1c18488abd 100644
--- a/contrib/python/Pygments/py2/pygments/lexers/oberon.py
+++ b/contrib/python/Pygments/py2/pygments/lexers/oberon.py
@@ -5,7 +5,7 @@
Lexers for Oberon family languages.
- :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -47,11 +47,11 @@ class ComponentPascalLexer(RegexLexer):
(r'\s+', Text), # whitespace
],
'comments': [
- (r'\(\*([^$].*?)\*\)', Comment.Multiline),
+ (r'\(\*([^$].*?)\*\)', Comment.Multiline),
# TODO: nested comments (* (* ... *) ... (* ... *) *) not supported!
],
'punctuation': [
- (r'[()\[\]{},.:;|]', Punctuation),
+ (r'[()\[\]{},.:;|]', Punctuation),
],
'numliterals': [
(r'[0-9A-F]+X\b', Number.Hex), # char code
@@ -83,7 +83,7 @@ class ComponentPascalLexer(RegexLexer):
(r'\$', Operator),
],
'identifiers': [
- (r'([a-zA-Z_$][\w$]*)', Name),
+ (r'([a-zA-Z_$][\w$]*)', Name),
],
'builtins': [
(words((