macros with parameters in MSC 5.0

Doug Gwyn gwyn at brl-smoke.ARPA
Thu Mar 24 07:13:14 AEST 1988


In article <983 at mcgill-vision.UUCP> mouse at mcgill-vision.UUCP (der Mouse) writes:
>The statement in 12.1 of Appendix A says that "Text inside a string or
>a character constant is not subject to replacement.", but they don't
>make it clear whether they mean replacement of macros with their
>expansions or all replacement arising from the preprocessor.

You're the first person I've encountered who doesn't take that
sentence IN CONTEXT to mean what I said.  Every AT&T compiler
person I've consulted (which is several) have agreed that the
Reiser CPP incorrectly implements this aspect of K&R.  Certainly
X3J11 thinks so.



More information about the Comp.lang.c mailing list