summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-01 20:06:58 +0100
committerGeorg Brandl <georg@python.org>2010-01-01 20:06:58 +0100
commit9e93673ceddccc55e4bcdc03acebf3f258481c90 (patch)
tree061bc457522f554b0033db9c0d60349f833801b7
parentdfbda8243f3696245395c8a3f951c50db782c33c (diff)
downloadpygments-9e93673ceddccc55e4bcdc03acebf3f258481c90.tar.gz
Fix Haskell lexer definition of string gaps (#438).
-rw-r--r--pygments/lexers/functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/functional.py b/pygments/lexers/functional.py
index 7129d12f..5c035bb9 100644
--- a/pygments/lexers/functional.py
+++ b/pygments/lexers/functional.py
@@ -443,7 +443,7 @@ class HaskellLexer(RegexLexer):
(r'o[0-7]+', String.Escape, '#pop'),
(r'x[\da-fA-F]+', String.Escape, '#pop'),
(r'\d+', String.Escape, '#pop'),
- (r'\n\s+\\', String.Escape, '#pop'),
+ (r'\s+\\', String.Escape, '#pop'),
],
}