summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygments/lexers/agile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index 158f5617..af3aef1d 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -885,8 +885,8 @@ class SchemeLexer(RegexLexer):
(r"('|#|`|,@|,|\.)", Operator),
# highlight the keywords
- ('(%s)' % '|'.join(
- re.escape(entry) + ' ' for entry in keywords),
+ ('(%s)' % '|'.join([
+ re.escape(entry) + ' ' for entry in keywords]),
Keyword
),
@@ -896,8 +896,8 @@ class SchemeLexer(RegexLexer):
(r"(?<=#\()" + valid_name, Name.Variable),
# highlight the builtins
- ("(?<=\()(%s)" % '|'.join(
- re.escape(entry) + ' ' for entry in builtins),
+ ("(?<=\()(%s)" % '|'.join([
+ re.escape(entry) + ' ' for entry in builtins]),
Name.Builtin
),