[Hackage] #230: setup haddock ignores LANGUAGE CPP pragma
Hackage
trac at galois.com
Mon Feb 4 12:42:57 EST 2008
#230: setup haddock ignores LANGUAGE CPP pragma
----------------------------------+-----------------------------------------
Reporter: ross at soi.city.ac.uk | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------------+-----------------------------------------
`setup haddock` preprocesses sources with cpp if `CPP` is included in the
`extensions` field, but not if a source file starts with
{{{
{-# LANGUAGE CPP #-}
}}}
This is confusing, because that works with `setup build`.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/230>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list