A question about the pp-tokens in macro actual arguments.
Ron Guilmette
rfg at lupine.ncd.com
Tue Mar 12 12:55:09 AEST 1991
OK boys and girls. It's stump-the-stars time again.
This one should be easy.
When a formal argument for a function-like macro is replaced (whilst a
macro call is being expanded) must (or may) the sequence of replacement
pp-tokens include leading and/or trailing whitespace if the corresponding
actual argument also contained leading or trailing whitespace (respectively)?
In other words, what should be the result of:
#define PREFIX(x) prefix##x
... PREFIX ( xxyyzz) ...
More information about the Comp.std.c
mailing list