Re: #s causing errors when -cpp not given

2002-02-01 Thread Ian Lynagh
On Mon, Jan 28, 2002 at 05:25:29PM -, Simon Marlow wrote: You're right, it seems that our 'unlit' program (the filter used to convert a literate file into an illiterate one) leaves lines beginning with '#' in place. We could remove this, but I'm not sure how much code it would break.

RE: #s causing errors when -cpp not given

2002-01-28 Thread Simon Marlow
I've just been looking at using cpp in Haskell scripts and I am rather confused. I can't see anything in the report which gives special meaning to # in the surrounding text of literate scripts, yet if I put such things in (both cpp directives and random things) both nhc98 and ghc give me