[Hackage] #519: .cpphs files are processed using GHC's built-in CPP
instead of cpphs
Hackage
trac at galois.com
Sat Mar 7 11:24:16 EST 2009
#519: .cpphs files are processed using GHC's built-in CPP instead of cpphs
----------------------------+-----------------------------------------------
Reporter: Deewiant | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.6.0.2
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
----------------------------+-----------------------------------------------
Currently, if you need to use `cpphs`, the only way of going about it is
to define a custom `PreProcessor` in your `Setup.hs` and using it as an
override in `hookedPreProcessors`. A seemingly sensible way of making this
easier would be that `.cpphs` files prefer being processed by `cpphs`
instead of GHC's built-in CPP. (Most people probably just use `{-#
LANGUAGE CPP #-}` in a `.hs` for the latter anyway.)
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/519>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list