#define CTRL(x) followup

Tim Smith tim at ism780c.UUCP
Tue Dec 2 11:54:17 AEST 1986


K&R clearly allow the Reiser cpp behaviour.  When they say macro
substitution does not occur in quoted strings, they must mean C
quoted strings ( since those are the only quoted strings that
have been defined ).

K&R state that cpp has a syntax independent from the rest of C.
Thus, there is no problem with something like

	#define foo(X) "this is X"

because "this is X" is not a quoted string.  It is a token string,
where token is defined by cpp.

Note that this is not portable, because cpp does not have to work
this way.  It is just not illegal for it to work this way.
-- 
emordnilapregnolanalpanama

Tim Smith       USENET: sdcrdcf!ism780c!tim   Compuserve: 72257,3706
                Delphi or GEnie: mnementh



More information about the Comp.lang.c mailing list