Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: Hygiene of #define DIR "/usr/lib/news (CLEAN UP) Message-ID: <5087@utzoo.UUCP> Date: Fri, 22-Feb-85 11:36:25 EST Article-I.D.: utzoo.5087 Posted: Fri Feb 22 11:36:25 1985 Date-Received: Fri, 22-Feb-85 11:36:25 EST References: <5053@elsie.UUCP>, <587@mako.UUCP> Organization: U of Toronto Zoology Lines: 13 > ... 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