aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src
diff options
context:
space:
mode:
authorMatthías Páll Gissurarson <mpg@mpg.is>2020-06-19 17:47:48 +0200
committerAlexander Biehl <alexbiehl@gmail.com>2020-12-08 21:15:30 +0100
commit8dcc6d652c434b6ed9aea7a6019447aa72e7ba28 (patch)
treef21125b81760a899ce6c70f16392f48896bd86ea /haddock-api/src
parent02769a1fb005c68199b16f350e649464a346bd48 (diff)
Adapt Haddock for QualifiedDo
Diffstat (limited to 'haddock-api/src')
-rw-r--r--haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
index 0974d6da..285b0ee7 100644
--- a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
+++ b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
@@ -176,7 +176,7 @@ classify tok =
ITdata -> TkKeyword
ITdefault -> TkKeyword
ITderiving -> TkKeyword
- ITdo -> TkKeyword
+ ITdo {} -> TkKeyword
ITelse -> TkKeyword
IThiding -> TkKeyword
ITforeign -> TkKeyword
@@ -209,7 +209,7 @@ classify tok =
ITcapiconv -> TkKeyword
ITprimcallconv -> TkKeyword
ITjavascriptcallconv -> TkKeyword
- ITmdo -> TkKeyword
+ ITmdo {} -> TkKeyword
ITfamily -> TkKeyword
ITrole -> TkKeyword
ITgroup -> TkKeyword