trouble with macro`s

Dave P. Schaumann dave at cs.arizona.edu
Sat Mar 16 09:39:05 AEST 1991


In article <RJOHNSON.91Mar14111149 at olorin.shell.com> rjohnson at shell.com (Roy Johnson) writes:
|In article <27489 at netcom.COM> aed at netcom.COM (Andrew Davidson) writes:
|>[wants token pasting on a pre-ansi compiler]
|
|Instead of ##, use an empty comment: /**/
|I've tried it, it works.  Document it somewhere if the code is going
|to move.

Actually, from what I understand, this only works on *some* pre-ansi
preprocessors.  It is by no means universal.  Let the programmer beware.

-- 
Dave Schaumann | dave at cs.arizona.edu | Short .sig's rule!



More information about the Comp.lang.c mailing list