Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!ogicse!cvedc!gssc!timr From: timr@gssc.UUCP (Tim Roberts) Newsgroups: comp.lang.c Subject: Re: You _CAN_ "stringize" tokens in (some) K&R pre-processors Message-ID: <6631@gssc.UUCP> Date: 4 Apr 91 16:53:12 GMT References: <15677@smoke.brl.mil> <1991Apr3.193750.14282@informatik.uni-erlangen.de> Organization: Graphic Software Systems, Inc. Beaverton, Or. Lines: 19 In article <1991Apr3.193750.14282@informatik.uni-erlangen.de> cnwietho@immd4.informatik.uni-erlangen.de (Carsten Wiethoff) writes: >I prefer > >#define QUOTE(x) "x >#define STRINGINIZE(x) QUOTE(x)" > >which does not have the problem with spaces before x. If that construct works for some preprocessor, then wouldn't the much simpler #define STRINGINIZE(x) "x" also work? -- timr@gssc.gss.com Tim N Roberts, CCP Graphic Software Systems Beaverton, OR This is a very long palindrome. .emordnilap gnol yrev a si sihT