[Haskell] Re: new release of Hugs / preprocessor usage

Christian Maeder maeder at tzi.de
Tue May 16 06:28:16 EDT 2006


Ross Paterson wrote:
> On Tue, May 16, 2006 at 11:18:16AM +0200, Christian Maeder wrote:
>> How do I use the preprocessor option -F of hugs?
>>
> 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'".

Thanks, this works. My next problem is:

  "Maximum token length (4000) exceeded"

Which spot in the sources do I have to change in order to increase this 
limit? (I've unsuccessfully searched the hugs mailing lists for an answer)

Cheers Christian




More information about the Haskell mailing list