aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-05-24 11:19:01 -0400
committerBen Gamari <ben@smart-cactus.org>2021-05-24 11:19:16 -0400
commit4f9088e4b04e52ca510b55a78048c9230537e449 (patch)
tree009b020d0494120846b256240ea05f65a87f405e /haddock-api/src/Haddock
parentbf4d69edcc8e3928ba7765f85b7a53b96c58d6c5 (diff)
Revert "Add Haddock support for the OPAQUE pragma (#1380)"
This reverts commit a1337c599ef7720b0482a25c55f11794112496dc. The GHC patch associated with this change is not yet ready to be merged.
Diffstat (limited to 'haddock-api/src/Haddock')
-rw-r--r--haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
index d5ee7420..94395218 100644
--- a/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
+++ b/haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
@@ -235,7 +235,6 @@ classify tok =
ITrequires -> TkKeyword
ITinline_prag {} -> TkPragma
- ITopaque_prag {} -> TkPragma
ITspec_prag {} -> TkPragma
ITspec_inline_prag {} -> TkPragma
ITsource_prag {} -> TkPragma
@@ -377,7 +376,6 @@ inPragma True _ = True
inPragma False tok =
case tok of
ITinline_prag {} -> True
- ITopaque_prag {} -> True
ITspec_prag {} -> True
ITspec_inline_prag {} -> True
ITsource_prag {} -> True