From a5329233321fc0c557448963a747428af413ce8f Mon Sep 17 00:00:00 2001 From: "Matth?us G. Chajdas" Date: Mon, 1 Apr 2019 17:34:27 +0200 Subject: Fix nested set warning in Unicon lexers. --- pygments/lexers/unicon.py | 4 ++-- 1 file 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), ], -- cgit v1.2.1