aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Hyperlinker
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2019-11-14 21:03:45 +0300
committerVladislav Zavialov <vlad.z.4096@gmail.com>2019-11-24 13:02:28 +0300
commitb6359cba90e5edfe549f933beeb00a13f01567b2 (patch)
treeb535dc4cb05176f5077a05b98acfe9bfbf873786 /haddock-api/src/Haddock/Backends/Hyperlinker
parentd84d5a572b7ddaf471eccb39da620807ef3591da (diff)
Update Hyperlinker.Parser.classify to use ITdollar
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Hyperlinker')
-rw-r--r--haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
index e9029ae6..139a4c44 100644
--- a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
+++ b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
@@ -320,10 +320,8 @@ classify tok =
ITcloseQuote {} -> TkSpecial
ITopenTExpQuote {} -> TkSpecial
ITcloseTExpQuote -> TkSpecial
- ITidEscape {} -> TkUnknown
- ITparenEscape -> TkSpecial
- ITidTyEscape {} -> TkUnknown
- ITparenTyEscape -> TkSpecial
+ ITdollar -> TkSpecial
+ ITdollardollar -> TkSpecial
ITtyQuote -> TkSpecial
ITquasiQuote {} -> TkUnknown
ITqQuasiQuote {} -> TkUnknown