This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpp and compliance to C99


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]