aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Hyperlinker
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-01-27 00:42:02 -0800
committerAlexander Biehl <abiehl@novomind.com>2018-02-02 12:36:02 +0100
commitac33472e834d381f95fd56586e57e6653263055c (patch)
treedd1a6d5ea2a21996dc6ca87edfa94bd221f0d8f5 /haddock-api/src/Haddock/Backends/Hyperlinker
parent97b0189927924b82ee26f762c88ccd965eee8d80 (diff)
Support the new 'ITcolumn_prag' token
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Hyperlinker')
-rw-r--r--haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
index cd2237e9..34512de8 100644
--- a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
+++ b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
@@ -249,6 +249,7 @@ classify tok =
ITwarning_prag {} -> TkPragma
ITdeprecated_prag {} -> TkPragma
ITline_prag {} -> TkPragma
+ ITcolumn_prag {} -> TkPragma
ITscc_prag {} -> TkPragma
ITgenerated_prag {} -> TkPragma
ITcore_prag {} -> TkPragma
@@ -396,6 +397,7 @@ inPragma False tok =
ITwarning_prag {} -> True
ITdeprecated_prag {} -> True
ITline_prag {} -> True
+ ITcolumn_prag {} -> True
ITscc_prag {} -> True
ITgenerated_prag {} -> True
ITcore_prag {} -> True