diff options
| author | Georg Brandl <georg@python.org> | 2016-02-14 17:10:00 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2016-02-14 17:10:00 +0100 |
| commit | fff7caebc1befe71ab088a5d245fbb7708cfc0f2 (patch) | |
| tree | 346052a8c49dd99ab7dc5abbdc603cc3717308c9 /pygments/lexers/esoteric.py | |
| parent | 2882c34a141f4f36ded54d1473c6d4f73684ffc7 (diff) | |
| download | pygments-fff7caebc1befe71ab088a5d245fbb7708cfc0f2.tar.gz | |
Fix most complaints from regexlint.
Diffstat (limited to 'pygments/lexers/esoteric.py')
| -rw-r--r-- | pygments/lexers/esoteric.py | 4 |
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', |
