
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

Is it already a known problem that the preprocessor cannot cope with the whole set of possible string declarations?
Yes, it is:
According to the ticket, cpphs (a Haskell-oriented CPP replacement) does get it right.
http://www.cs.york.ac.uk/fp/cpphs After installing, give ghc the options "-cpp -pgmPcpphs -optP--cpp". Regards, Malcolm
participants (2)
-
Malcolm Wallace
-
Reinier Lamers