Preprocessors

Henrik Nilsson nhn at Cs.Nott.AC.UK
Wed Oct 20 05:52:43 EDT 2004


Hi all,

Malcolm Wallace wrote:
> Ketil Malde <ketil+haskell at ii.uib.no> writes:
> 
> 
>>I've recently run into a problem using the preprocessor (ghc -cpp).
>>It seems it barfs on 's (apostrophe).  Annoying, since naming
>>variables something-prime is a fairly common idiom.
>>
>>Is this something that has a workaround, or could be fixed?
> 
> 
> The main workaround if using traditional cpp is to avoid apostrophes. :-(

And this, of course, is one reason why it is good if it is easy to
run CPP only on those files where it is necessary. (Unless everyone
uses "cpphs", then, which ultimately would seem like a good idea.)

Best,

/Henrik

-- 
Henrik Nilsson
School of Computer Science and Information Technology
The University of Nottingham
nhn at cs.nott.ac.uk


This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



More information about the Libraries mailing list