diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2019-04-01 17:34:27 +0200 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-04-01 17:34:27 +0200 |
commit | a5329233321fc0c557448963a747428af413ce8f (patch) | |
tree | 801e7976c4ecfacc776184500a47e7f211eb1adb /pygments/lexers/unicon.py | |
parent | e6ad9b8cc716ae1990b3ca6e11d6c1bb24679a36 (diff) | |
download | pygments-a5329233321fc0c557448963a747428af413ce8f.tar.gz |
Fix nested set warning in Unicon lexers.
Diffstat (limited to 'pygments/lexers/unicon.py')
-rw-r--r-- | pygments/lexers/unicon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/unicon.py b/pygments/lexers/unicon.py index 7b0cdfe3..6301a88b 100644 --- a/pygments/lexers/unicon.py +++ b/pygments/lexers/unicon.py @@ -140,7 +140,7 @@ class UniconLexer(RegexLexer): (r'[*<>+=/&!?@~\\-]', Operator), (r'\^', Operator), (r'(\w+)(\s*|[(,])', bygroups(Name, using(this))), - (r"([[\]])", Punctuation), + (r"([\[\]])", Punctuation), (r"(<>|=>|[()|:;,.'`]|[{}]|[%]|[&?])", Punctuation), (r'\n+', Text), ], @@ -280,7 +280,7 @@ class IconLexer(RegexLexer): (r"'(?:[^\\']|\\.)*'", String.Character), (r'[*<>+=/&!?@~\\-]', Operator), (r'(\w+)(\s*|[(,])', bygroups(Name, using(this))), - (r"([[\]])", Punctuation), + (r"([\[\]])", Punctuation), (r"(<>|=>|[()|:;,.'`]|[{}]|[%^]|[&?])", Punctuation), (r'\n+', Text), ], |