RE: [sv-bc] Mantis 1571: Add default values for macro arguments

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Oct 20 2006 - 01:35:08 PDT
Greg,

> Just noting that despite any other merits, this design is not
> backward compatible with existing uses of macro expansion.
> 
> In  the expansion of `ABC(.arg1(arg1), ...), existing products
> will use the token sequences .arg1(arg1) and this may have been
> the user's intent.

[SB] I have acknowledged that.

> In the expansion of `ABC #(.arg1(arg1),...), `ABC has no arguments
> so it's expansion will be followed by #(.arg1(arg1),...).

[SB] No. If `ABC has a defined formal argument list, it is required to
give it an actual argument list. The # (which has only an initial
suggestion thrown out in order to initiate a discussion) would indicate
that the actual argument list which is required to follow it, would be
by name and not by position.

As others have said in other situations, if there are problems, let's
find solutions instead of saying that we can't do it.

Shalom
Received on Fri Oct 20 01:36:21 2006

This archive was generated by hypermail 2.1.8 : Fri Oct 20 2006 - 01:36:55 PDT