patch applied (ghc): Refactor Haddock options
davve at dtek.chalmers.se
Thu Nov 1 10:02:37 EDT 2007
Thu Nov 1 06:17:57 PDT 2007 David Waern <davve at dtek.chalmers.se>
* 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.
M ./compiler/hsSyn/HsSyn.lhs -3 +2
M ./compiler/main/DynFlags.hs -1 +8
M ./compiler/main/HeaderInfo.hs -1 +10
M ./compiler/main/HscStats.lhs -1 +1
M ./compiler/parser/Lexer.x -11 +17
M ./compiler/parser/Parser.y.pp -23 +15
M ./compiler/typecheck/TcRnDriver.lhs -1 +1
More information about the Cvs-ghc