[Haskell-cafe] Re: C Preprocessor

Reinier Lamers reinier.lamers at phil.uu.nl
Thu Dec 6 04:56:51 EST 2007


Bernd Brassel wrote:

>Is it already a known problem that the preprocessor cannot cope with the
>whole set of possible string declarations?
>
Yes, it is:

http://hackage.haskell.org/trac/hackage/ticket/146

I ran into it lately. I was totally unaware of what caused GHC's parse 
error on a valid line until someone on the IRC channel pointed it out. 
According to the ticket, cpphs (a Haskell-oriented CPP replacement) does 
get it right.

Regards,
Reinier


More information about the Haskell-Cafe mailing list