RE: [sv-bc] Macro mantis proposals 1397 & 1478

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Dec 06 2007 - 02:31:27 PST
Brad,

1. It is true that 1339 is formally being revoted. However, there was
informal oral agreement on the last revision of the proposal at the most
recent meeting.

2. Your example probably should not work because of the rule that a
macro text may not begin or end in the middle of a token. The precise
LRM text in 21.5 is

"The text specified for macro text shall not be split across the
following lexical tokens:
- Comments
- Numbers
- String literals
- Identifiers
- Keywords
- Operators" 

Do you agree?

Thanks,
Shalom


> -----Original Message-----
> From: owner-sv-bc@server.eda.org 
> [mailto:owner-sv-bc@server.eda.org] On Behalf Of Brad Pierce
> Sent: Thursday, December 06, 2007 4:30 AM
> To: sv-bc@server.eda.org
> Subject: RE: [sv-bc] Macro mantis proposals 1397 & 1478
> 
> > Mantis 1339 has been approved which adds the last sentence below:
> 
> Mantis 1339 is still being considered by the current e-mail 
> vote.  Also, I added the following bugnote to it
> 
> --------------------------
> 
> It would be nice to see an example of what this proposal 
> means for macro texts that end with escaped identifiers. For 
> example, I think the following would be legal Verilog under 
> this proposal
> 
>    `define MAC(ignored) \!@#
>    wire `MAC(ignored)%^&* = 1'b1;
>    wire w = \!@#%^&* ; 
> 
> -------------------------
> 
> -- Brad
> 
> --
> This message has been scanned for viruses and dangerous 
> content by MailScanner, and is believed to be clean.
> 
---------------------------------------------------------------------
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 Thu Dec 6 02:41:14 2007

This archive was generated by hypermail 2.1.8 : Thu Dec 06 2007 - 02:41:29 PST