
Hi everyone, Here's a patch that adds (hopefully) correct pre-processing to the Haddock 2 command. It should really be added to the Haddock < 2 path as well (which AFAIK doesn't do any pre-processing except for CPP and Unlit), but I've avoided this because of the risk of introducing bugs in the much-used Haddock < 2 path. In the future this code will be replaced by the new make system anyway. The patch also adds CPP include paths and output paths to the commands sent to GHC (via Haddock). The output paths are needed if certain changes to the GHC API don't make it into GHC 6.8.2. With this patch I'm now able to process all boot and core libs of GHC 6.8.1 including base (with a small patch for its Setup.lhs). Hopefully we can get it into the next version of Cabal bundled with GHC. David
participants (1)
-
David Waern