diff options
author | David Waern <davve@dtek.chalmers.se> | 2007-11-01 13:17:57 +0000 |
---|---|---|
committer | David Waern <davve@dtek.chalmers.se> | 2007-11-01 13:17:57 +0000 |
commit | 03d8585e0940e28e024548654fe3505685aca94f (patch) | |
tree | 758b1b79153b3b182375b3644f17dc1341eb6237 /compiler/main/HscStats.lhs | |
parent | 1ab9e52bb5be57b4a51615e197cee1380f356371 (diff) | |
download | haskell-03d8585e0940e28e024548654fe3505685aca94f.tar.gz |
Refactor Haddock options
This patch renames the DOC_OPTIONS pragma to OPTIONS_HADDOCK. It also
adds "-- # ..."-style Haddock option pragmas, for compatibility with
code that use them.
Another change is that both of these two pragmas behave like
OPTIONS_GHC, i.e. they are only allowed at the top of the module, they
are ignored everywhere else and they are stored in the dynflags. There is
no longer any Haddock options in HsSyn.
Please merge this to the 6.8.2 branch when 6.8.1 is out, if appropriate.
Diffstat (limited to 'compiler/main/HscStats.lhs')
-rw-r--r-- | compiler/main/HscStats.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/HscStats.lhs b/compiler/main/HscStats.lhs index e7b780af5b..188b4f338d 100644 --- a/compiler/main/HscStats.lhs +++ b/compiler/main/HscStats.lhs @@ -30,7 +30,7 @@ import Util ( count ) %************************************************************************ \begin{code} -ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _ _ _)) +ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _ _)) = (if short then hcat else vcat) (map pp_val [("ExportAll ", export_all), -- 1 if no export list |