Article View: comp.std.c
Article #4266token pasting after macro expansion
From: Marty Leisner 25733
Date: Sat, 21 Oct 1995 23:36
Date: Sat, 21 Oct 1995 23:36
29 lines
784 bytes
784 bytes
I want to token paste after macro expansion...any strategies? What I want is: #ifdef __STDC__ #define PASTE(X, Y) X##Y #else #define PASTE(X,Y) X/**/Y #endif #define A stringA #define B stringB PASTE(A,B) to come up with stringAstringB instead of AB marty leisner@sdsp.mc.xerox.com -- marty leisner@sdsp.mc.xerox.com Member of the League for Programming Freedom
Technical Details
Message-ID:
<1995Oct21.233622.11972@news.wrc.xerox.com>Path:
arc1-ca.pugleaf.net!delmarva.com!udel!rochester!rocksanne!gemini!leisnerShow Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!delmarva.com!udel!rochester!rocksanne!gemini!leisner From: leisner@gemini.mcwbst311b (Marty Leisner 25733) Subject: token pasting after macro expansion Message-ID: <1995Oct21.233622.11972@news.wrc.xerox.com> Sender: news@news.wrc.xerox.com Reply-To: leisner@sdsp.mc.xerox.com Organization: xerox Date: Sat, 21 Oct 1995 23:36:22 GMT