[Haskell-cafe] Disable LINE Pragma handling in GHC

Ben Millwood haskell at benmachine.co.uk
Fri Sep 10 16:14:21 EDT 2010


On Fri, Sep 10, 2010 at 7:40 AM, JP Moresmau <jpmoresmau at gmail.com> wrote:
> I suppose even using GHC for building and something else
> (haskell-src-exts?) for code handling would leave us with compilation
> messages at the wrong place.

I don't quite understand your use case so I'm not sure it helps, but
for what it's worth haskell-src-exts allows you to ignore line pragmas
while parsing:

http://hackage.haskell.org/packages/archive/haskell-src-exts/1.9.0/doc/html/Language-Haskell-Exts-Parser.html#t:ParseMode


More information about the Haskell-Cafe mailing list