Article View: comp.std.c
Article #96preprocessing subterfuge
From: Jeff Woolsey
Date: Fri, 07 Aug 1992 00:15
Date: Fri, 07 Aug 1992 00:15
22 lines
981 bytes
981 bytes
Basically, is the following module legal?
#define it 1,2
#define that(a,b) a+b
void f(void) {
that(it);
}
I've been reading the standard all afternoon looking for supporting
evidence one way or the other on this one, and have been unable to
convince myself of the disposition of this code fragment (reading the
standard is usually like this, but eventually something falls out
and settles it).
Your advice, please?
--
--
Jeff Woolsey 800 950 5554 woolsey@mri.COM
Microtec Research, Inc. +1 408 980 1300 woolsey@netcom.COM
Nothing like a three-address mailer.... woolsey@folderol.UUCP
Technical Details
Message-ID:
<1992Aug7.001510.13418@mri.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!uwm.edu!linac!att!pacbell.com!decwrl!infopiz!lupine!motcsd!mri!woolseyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!uwm.edu!linac!att!pacbell.com!decwrl!infopiz!lupine!motcsd!mri!woolsey From: woolsey@mri.com (Jeff Woolsey) Newsgroups: comp.std.c Subject: preprocessing subterfuge Message-ID: <1992Aug7.001510.13418@mri.com> Date: 7 Aug 92 00:15:10 GMT Organization: Microtec Research Inc., Santa Clara, CA Lines: 22