16 May
2006
16 May
'06
9:27 a.m.
On Tue, May 16, 2006 at 11:18:16AM +0200, Christian Maeder wrote:
How do I use the preprocessor option -F of hugs?
Without this option hugs correctly reports: unexpected symbol "#"
But adding "-Fcpphs" results in "Unable to load Prelude"
The problem is that cpphs (like other C preprocessors) puts #line directives in its output, and they're not Haskell. But you can tell it not to with "hugs -F'cpphs --noline'".