RE: [sv-bc] Trimming whitespace from macro actuals

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sun Oct 28 2007 - 02:33:07 PDT
Hi, 

> So we should be careful that we don't 
> define something until we are sure what we ultimately want to define.

So far, I have not heard anyone claim that the general rules I proposed
are wrong, i.e., 

1. Normal actual arguments have leading and trailing white space
stripped off.
2. Exception: an escaped identifier at the end of an actual argument
should keep a white space.

That takes care of the simple case of escaped identifiers, not involving
``.
Example:

`define D(a,b) a+b

`D(\coco , puffs)

should give you 

\coco +puffs

and not

\coco+puffs

There is a special case involving escaped identifiers around ``. That
could be added subsequently as a special case which is really a question
of how `` works. I don't see that it makes the general rules wrong.
While it may be clear to everyone that white space is stripped off
normal arguments, the behavior regarding escaped identifiers has not
been universal, and therefore even the simple example I wrote above does
not work in all tools (so I understood).

If we will manage to specify a desirable behavior for the special cases
before the deadline, great. That can be addition or a revision of the
general rules. But let's at least the general rules passed, so that at
least the simple cases will be guaranteed to work consistently in all
tools.

Shalom
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sun Oct 28 02:34:13 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 28 2007 - 02:34:26 PDT