Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Making the preprocessor substitute a '#' Message-ID: <13908@smoke.BRL.MIL> Date: 18 Sep 90 21:35:26 GMT References: <6261@castle.ed.ac.uk> <28540:Sep1819:40:1490@kramden.acf.nyu.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 9 In article <28540:Sep1819:40:1490@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: -In article <6261@castle.ed.ac.uk> keith@earth.ox.ac.uk writes: -> Is there any way of defining a macro in an ANSI preprocessor which -> substitutes a '#' plus some other text. That is, I want to say -> #define FOO # pragma bar -Why not just leave out the # and use it as #FOO? Because it doesn't work, perhaps?