summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-01 18:43:05 +0100
committerGeorg Brandl <georg@python.org>2010-03-01 18:43:05 +0100
commitce802b6aea5f21efa06c61dacb54be7a6d79e966 (patch)
treebc0a6d8decebd270def7de51984f9ffaead1058f
parent3ea85f2033e3e6f1a719bd8bba420ca457f9feb0 (diff)
downloadpygments-ce802b6aea5f21efa06c61dacb54be7a6d79e966.tar.gz
Clojure: Recognize \# correctly.
-rw-r--r--CHANGES2
-rw-r--r--pygments/lexers/agile.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 26aa8144..14a62a66 100644
--- a/CHANGES
+++ b/CHANGES
@@ -36,7 +36,7 @@ Version 1.3
- Add small enhancements to the C lexer (#467) and Bash lexer (#469).
- Small fixes for the Tcl, Debian control file, Nginx config,
- Smalltalk, Objective-C lexers.
+ Smalltalk, Objective-C, Clojure lexers.
- Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index c9b57583..ea605404 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -1438,7 +1438,7 @@ class ClojureLexer(RegexLexer):
# strings, symbols and characters
(r'"(\\\\|\\"|[^"])*"', String),
(r"'" + valid_name, String.Symbol),
- (r"\\([()/'\".'_!§$%& ?;=+-]{1}|[a-zA-Z0-9]+)", String.Char),
+ (r"\\([()/'\".'_!§$%& ?;=#+-]{1}|[a-zA-Z0-9]+)", String.Char),
# constants
(r'(#t|#f)', Name.Constant),