token pasting (was: how widespread is this cpp bug?)

Maarten Litmaath maart at cs.vu.nl
Sat Dec 3 09:00:14 AEST 1988


gwyn at smoke.BRL.MIL (Doug Gwyn ) writes:

\In article <6625 at csli.STANFORD.EDU> wagner at arisia.xerox.com (Juergen Wagner)
\writes:
\>      proc/**/VERSION
\>People relying on this bug should change their habits. There are better ways
\>to concatenate tokens.

\No, for Reiser-based preprocessors there aren't any better ways.
\ANSI-style token pasting is fairly new, and many C implementations
\in current use do not support it.

Why didn't the ANSI committee legalize that current practice, instead of
defining a new paste operator (##)?
-- 
fcntl(fd, F_SETFL, FNDELAY):          |Maarten Litmaath @ VU Amsterdam:
      let's go weepin' in the corner! |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.lang.c mailing list