On Mon, 2005-12-12 at 10:55 -0800, Chip Salzenberg wrote:

> Forbidding commas in the expanded code is not OK

So why not treat the comma as a delimiter only when either

(1) It is on the same line as the start of the macro call, or
(2) it appears alone on a line.

The same rule can apply for the closing right-parenthesis.

So we can have:

   .IfDebug(stuff1, stuff2)

or

   .IfDebug(1,
      multi,line
      stuff,with,commas
   ,
      stuff_with_{braces}
      stuff(with)parentheses
   )

With this convention, there's no need for extra syntax such as braces.

Regards,
Roger Browne

Reply via email to