summaryrefslogtreecommitdiff
path: root/pygments/lexers/esoteric.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-14 17:10:00 +0100
committerGeorg Brandl <georg@python.org>2016-02-14 17:10:00 +0100
commitfff7caebc1befe71ab088a5d245fbb7708cfc0f2 (patch)
tree346052a8c49dd99ab7dc5abbdc603cc3717308c9 /pygments/lexers/esoteric.py
parent2882c34a141f4f36ded54d1473c6d4f73684ffc7 (diff)
downloadpygments-fff7caebc1befe71ab088a5d245fbb7708cfc0f2.tar.gz
Fix most complaints from regexlint.
Diffstat (limited to 'pygments/lexers/esoteric.py')
-rw-r--r--pygments/lexers/esoteric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/esoteric.py b/pygments/lexers/esoteric.py
index 73ea4a4a..2b17615c 100644
--- a/pygments/lexers/esoteric.py
+++ b/pygments/lexers/esoteric.py
@@ -90,7 +90,7 @@ class CAmkESLexer(RegexLexer):
filenames = ['*.camkes', '*.idl4']
tokens = {
- 'root':[
+ 'root': [
# C pre-processor directive
(r'^\s*#.*\n', Comment.Preproc),
@@ -99,7 +99,7 @@ class CAmkESLexer(RegexLexer):
(r'/\*(.|\n)*?\*/', Comment),
(r'//.*\n', Comment),
- (r'[\[\(\){},\.;=\]]', Punctuation),
+ (r'[\[(){},.;=\]]', Punctuation),
(words(('assembly', 'attribute', 'component', 'composition',
'configuration', 'connection', 'connector', 'consumes',