logo       

Re: Preprocessors: msg#00050

lang.haskell.glasgow.bugs

Subject: Re: Preprocessors

The reason for this strange behaviour is that it's called *C*pp for a reason:
There's even a remark on a cpp-info page:

"The interior of `#if 0' must consist of complete
tokens; in particular, single-quote characters must balance."

I'm still trying to find the apprioriate hint in the standard, though.

If I'm reading this correctly, your incorrectly terminated C-string literal
confuses cpp, so it won't do any macro expansion in the offending part (past
the single quote).
--
Volker Stolz * http://www-i2.informatik.rwth-aachen.de/stolz/ * PGP * S/MIME


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise