Hygiene of #define DIR "/usr/lib/news (CLEAN UP)
Henry Spencer
henry at utzoo.UUCP
Sat Feb 23 02:36:25 AEST 1985
> ... However, tokens are not allowed to contain embedded
> comments, so this is a more portable way to do the trick:
>
> system(DIR/**//batch");
This isn't any more portable. *Any* technique that relies on unclosed
strings depends on the exact implementation of the preprocessor. And
anything that depends on /**/ disappearing from the middle of (what is
intended to become) a single token depends specifically on the Reiser
preprocessor, found in the Bell compilers and nowhere else.
--
Henry Spencer @ U of Toronto Zoology
{allegra,ihnp4,linus,decvax}!utzoo!henry
More information about the Comp.lang.c
mailing list