Preprocessors

Volker Stolz vs at foldr.org
Wed Oct 20 11:25:11 EDT 2004


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



More information about the Glasgow-haskell-bugs mailing list