Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
haddock
Merge requests
!2
Add Haddock support for the OPAQUE pragma
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add Haddock support for the OPAQUE pragma
wip/opaque_pragma
into
ghc-head
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Christiaan Baaij
requested to merge
wip/opaque_pragma
into
ghc-head
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
This is the haddock change required for
ghc!5562 (closed)
0
0
Merge request reports
Compare
ghc-head
ghc-head (base)
and
latest version
latest version
746df785
1 commit,
3 years ago
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs
+
2
−
0
Options
@@ -238,6 +238,7 @@ classify tok =
ITrequires
->
TkKeyword
ITinline_prag
{}
->
TkPragma
ITopaque_prag
{}
->
TkPragma
ITspec_prag
{}
->
TkPragma
ITspec_inline_prag
{}
->
TkPragma
ITsource_prag
{}
->
TkPragma
@@ -379,6 +380,7 @@ 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
Loading