diff options
author | Georg Brandl <georg@python.org> | 2017-01-22 20:27:58 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2017-01-22 20:27:58 +0100 |
commit | afb20c8b7e5308de2c099e06876538ca002861d8 (patch) | |
tree | 892a16820bac6d9c13a329d791fc899d360b5d18 /pygments/lexers/haskell.py | |
parent | 9ca765ccb0597781159a4df6a43b25eb8f8125c5 (diff) | |
download | pygments-git-afb20c8b7e5308de2c099e06876538ca002861d8.tar.gz |
all: run regexlint, add a few more changelog entries
Diffstat (limited to 'pygments/lexers/haskell.py')
-rw-r--r-- | pygments/lexers/haskell.py | 4 |
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 |