K&R-References (was Re: Commas in macro arguments)
Benjamin Zhu
zhu at crabcake.cs.jhu.edu
Sun Apr 15 02:04:11 AEST 1990
In article <15080007 at hpfinote.HP.COM> pnl at hpfinote.HP.COM (Peter Lim) writes:
>>
>> esp_003 at jhunix.UUCP (Stdnt003) writes:
>> >#define call(a, b) a ## b /* (See K&R for details) */
> ^
> I don't think this <space> 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 at hpsgwg.HP.COM Snail-mail: Hewlett Packard Singapore, :
>Tel: (065)-279-2289 (ICDS, ICS) |
>Telnet: 520-2289 1150 Depot Road, __\@/__
> ... also at: pnl at hpfipnl.HP.COM Singapore 0410. SPLAT !
Benjamin Zhu
zhu at cs.jhu.edu
=========================================================================
Sorry, I will not ``sell'' you my disclaimer this time.
=========================================================================
More information about the Comp.lang.c
mailing list