RE: [sv-bc] Does `\'" violate V95 compatibility?

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Mar 05 2008 - 02:19:51 PST
Sorry, I still don't understand.
 
This mail thread referred to defining a text macro with a name identical
to one of the special character sequences. Mantis 1537 talked about
something different, using a `` within an escaped identifier inside a
macro.
 
Those are not the same subject.
 
Shalom


________________________________

	From: owner-sv-bc@server.eda.org
[mailto:owner-sv-bc@server.eda.org] On Behalf Of Rich, Dave
	Sent: Wednesday, March 05, 2008 10:08 AM
	To: Bresticker, Shalom; Steven Sharp; sv-bc@server.eda.org;
Greg.Jaxon@synopsys.com
	Subject: RE: [sv-bc] Does `\'" violate V95 compatibility?
	
	

	Yes it is relevant. Actually, Greg's first example is not
relevant

	In Verilog it is legal to

	`define \`"  42

	You'd invoke this using `\`" , but according to P1800-2008 draft
4:

	 

	A `\`" indicates that the expansion should include the escape
sequence \".

	 

	because that last sentence is referring to text in the body of
the macro, not the macro identifier.

	 

	His modified example IS part of the dilemma described in 1537:
you can't have the functionality defined in the draft LRM AND also have
backward compatibility with 1364-2005.

	 

	 

	 

	> -----Original Message-----

	> From: owner-sv-bc@server.eda.org
[mailto:owner-sv-bc@server.eda.org] On

	> Behalf Of Bresticker, Shalom

	> Sent: Tuesday, March 04, 2008 11:40 PM

	> To: Steven Sharp; sv-bc@server.eda.org;
Greg.Jaxon@synopsys.com

	> Subject: RE: [sv-bc] Does `\'" violate V95 compatibility?

	> 

	> But is that relevant to Greg's question?

	> Compatibility on independent issues is considered
independently.

	> 

	> Shalom

	> 

	> > -----Original Message-----

	> > From: owner-sv-bc@server.eda.org

	> > [mailto:owner-sv-bc@server.eda.org] On Behalf Of Steven
Sharp

	> > Sent: Tuesday, March 04, 2008 11:16 PM

	> > To: sv-bc@server.eda.org; Greg.Jaxon@synopsys.com

	> > Subject: Re: [sv-bc] Does `\'" violate V95 compatibility?

	> >

	> > Mantis 1537 describes a case where we can maintain V95

	> > compatibility, but that might not be what most people would

	> > prefer.  If we maintain that compatibility, there does not

	> > seem to be a way to use '' to paste something onto the end
of

	> > an escaped identifier.

	>
---------------------------------------------------------------------

	> 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.

	> 

	 


	-- 
	This message has been scanned for viruses and 
	dangerous content by MailScanner <http://www.mailscanner.info/>
, 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 Wed Mar 5 02:24:27 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 05 2008 - 02:27:10 PST