[Haskell-cafe] Re: C Preprocessor
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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: C Preprocessor
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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe