This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cpp and compliance to C99
- To: Neil Booth <NeilB at earthling dot net>
- Subject: Re: cpp and compliance to C99
- From: Jamie Lokier <jamie dot lokier at cern dot ch>
- Date: Fri, 20 Oct 2000 02:25:54 +0200
- Cc: Thomas Pornin <Thomas dot Pornin at ens dot fr>, gcc-bugs at gcc dot gnu dot org, Dave Brolley <brolley at redhat dot com>, Jeff Law <law at cygnus dot com>
- References: <20001012162452.A32672@bolet.ens.fr> <20001013173837.A20027@daikokuya.demon.co.uk> <20001019223257.A6873@daikokuya.demon.co.uk>
Neil Booth wrote:
> #define glue(x, y) x ## y
> #define xglue(x,y) glue (x,y)
> glue (xgl, ue) (1, 2)
If xglue isn't considered nested, does the macro below recurse
infinitely? Does any macro recurse?
#define recurse() _r(re,curse ())
#define _r(a,b) a ## b
-- Jamie