[Haskell] new release of Hugs / preprocessor usage
Ross Paterson
ross at soi.city.ac.uk
Tue May 16 05:27:05 EDT 2006
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'".
More information about the Haskell
mailing list