Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.std.c Subject: Re: Macro sustitution inside quotes Message-ID: <3155@auspex.auspex.com> Date: 10 Apr 90 17:44:14 GMT References: <1281@necisa.ho.necisa.oz> <12534@smoke.BRL.MIL> <1284@necisa.ho.necisa.oz> Organization: Auspex Systems, Santa Clara Lines: 15 >Whereas: > > #define string(s) "s" > >evaluates in the way you would expect. In other words, it evaluates to the string "s" i.e., a one-character string containing the letter "s"? That's what a reader of K&R would expect; too bad their expectations are dashed on systems like UNIX that use the Reiser preprocessor. (Reference: K&R I, Appendix A "C Reference Manual", p. 207: "Text inside a string or a character constant is not subject to replacement.")