Preprocessor Trickery - (nf)
rgh at inmet.UUCP
rgh at inmet.UUCP
Sat Jun 30 14:46:16 AEST 1984
#R:arizona:-1236100:inmet:5000019:000:403
inmet!rgh Jun 28 14:01:00 1984
There's no portable way to use C #define's to introduce new tokens into
a program, since macro replacement is defined in terms of token strings
in K&R [C RefMan 12.1]. This issue -- character string vs. token string
macros -- came up at the most recent C ANSI standards committee meeting,
and the token string viewpoint prevailed.
Randy Hudson
{harpo, ihnp4, decvax!cca!ima} !inmet!rgh
More information about the Comp.lang.c
mailing list