diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-05-24 11:19:01 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-05-24 11:19:16 -0400 |
commit | 4f9088e4b04e52ca510b55a78048c9230537e449 (patch) | |
tree | 009b020d0494120846b256240ea05f65a87f405e /haddock-api | |
parent | bf4d69edcc8e3928ba7765f85b7a53b96c58d6c5 (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')
-rw-r--r-- | haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs | 2 |
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 |