Ticket #146 (new defect)
cabal should support CPP and haskell string gaps in the same file
|Reported by:||guest||Owned by:|
|Cc:||Difficulty:||easy (<4 hours)|
Haskell string gaps are not completely compatible with cpp preprocessing. cpphs works fine as a preprocessor, but ghc -cpp needs trailing whitespace so that the C preprocessor only emits warnings but accepts the file.
Using "extensions: CPP" in a .cabal file results in a call to "ghc -cpp", even if cpphs is installed. Removing "extensions: CPP" breaks haddock generation.