diff options
author | gbrandl <devnull@localhost> | 2006-12-07 09:31:48 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-12-07 09:31:48 +0100 |
commit | 0f5580f5078f4a583131249543391f66914808c5 (patch) | |
tree | 01ec7514e20d505bbb1fc1601806889803d8d5fa | |
parent | 6a06358c6e1bead713c78314c0b785aa5afc54a6 (diff) | |
download | pygments-0f5580f5078f4a583131249543391f66914808c5.tar.gz |
[svn] Fix 2.3 compatibility.
-rw-r--r-- | pygments/lexers/agile.py | 8 |
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 ), |