Macro sustitution inside quotes

John F. Haugh II jfh at rpp386.cactus.org
Wed Apr 11 22:58:01 AEST 1990


In article <1457 at tkou02.enet.dec.com> diamond at tkou02.enet.dec.com (diamond at tkovoa) writes:
>True.  But Reiser's inventions were easier to understand, easier to use,
>easier to implement, and less surprising than ANSI's inventions.  ANSI
>should have done less work.

Had Reiser never violated the constraints in K&R1 against macro expansion
in strings and character constants, there would be no discussion.  All
ANSI did in this case was reitterate what K&R1 says already.

This is one area [ other than their work in token pasting ] where ANSI
did not "invent" anything.
-- 
John F. Haugh II                             UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 832-8832                           Domain: jfh at rpp386.cactus.org



More information about the Comp.std.c mailing list