Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!rutgers!mailrus!purdue!haven!umd5!crabcake!zhu From: zhu@crabcake.cs.jhu.edu (Benjamin Zhu) Newsgroups: comp.lang.c Subject: Re: K&R-References (was Re: Commas in macro arguments) Message-ID: <1351@crabcake> Date: 14 Apr 90 16:04:11 GMT References: <15080007@hpfinote.HP.COM> Reply-To: zhu@crabcake.cs.jhu.edu (Benjamin Zhu) Followup-To: comp.lang.c Organization: Johns Hopkins University CS Dept -- Town of Solitude Lines: 27 In article <15080007@hpfinote.HP.COM> pnl@hpfinote.HP.COM (Peter Lim) writes: >> >> esp_003@jhunix.UUCP (Stdnt003) writes: >> >#define call(a, b) a ## b /* (See K&R for details) */ > ^ > I don't think this is allowed. > The space is valid. Except that there should be no space between the macro identifier (call in this instance) and the first (, you are allowed to use spaces between the identifiers that constitute the macro argument list. > > >Regards, ## Life is fast enough as it is ........ >Peter Lim. ## .... DON'T PUSH IT !! >>>-------, > ########################################### : >E-mail: plim@hpsgwg.HP.COM Snail-mail: Hewlett Packard Singapore, : >Tel: (065)-279-2289 (ICDS, ICS) | >Telnet: 520-2289 1150 Depot Road, __\@/__ > ... also at: pnl@hpfipnl.HP.COM Singapore 0410. SPLAT ! Benjamin Zhu zhu@cs.jhu.edu ========================================================================= Sorry, I will not ``sell'' you my disclaimer this time. =========================================================================