summaryrefslogtreecommitdiff
path: root/pygments/lexers/haskell.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2017-01-22 20:27:58 +0100
committerGeorg Brandl <georg@python.org>2017-01-22 20:27:58 +0100
commitf9d97178624f11b597803206ba1d918da9c89532 (patch)
tree73ec1e1e0d5a451561453e73b8dcc1947cc52890 /pygments/lexers/haskell.py
parent1f75c51afdbe281e0044ca5c5369e14fc5e0e8e1 (diff)
downloadpygments-f9d97178624f11b597803206ba1d918da9c89532.tar.gz
all: run regexlint, add a few more changelog entries
Diffstat (limited to 'pygments/lexers/haskell.py')
-rw-r--r--pygments/lexers/haskell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/haskell.py b/pygments/lexers/haskell.py
index 9020ceb6..1a2f2217 100644
--- a/pygments/lexers/haskell.py
+++ b/pygments/lexers/haskell.py
@@ -64,8 +64,8 @@ class HaskellLexer(RegexLexer):
(r"'?[_" + uni.Ll + r"][\w']*", Name),
(r"('')?[" + uni.Lu + r"][\w\']*", Keyword.Type),
(r"(')[" + uni.Lu + r"][\w\']*", Keyword.Type),
- (r"(')\[[^\]]*\]", Keyword.Type), # tuples and lists get special treatment in GHC
- (r"(')\([^\)]*\)", Keyword.Type), # ..
+ (r"(')\[[^\]]*\]", Keyword.Type), # tuples and lists get special treatment in GHC
+ (r"(')\([^)]*\)", Keyword.Type), # ..
# Operators
(r'\\(?![:!#$%&*+.\\/<=>?@^|~-]+)', Name.Function), # lambda operator
(r'(<-|::|->|=>|=)(?![:!#$%&*+.\\/<=>?@^|~-]+)', Operator.Word), # specials