RE: [sv-bc] A proposal for 1588 `__FILE__ and `__LINE__

From: Rich, Dave <Dave_Rich_at_.....>
Date: Mon Oct 01 2007 - 09:16:54 PDT
Geoffrey,

This is already covered by the section on macros:

"All compiler directives shall be considered predefined macro names;"

"The macro text can contain usages of other text macros. Such usages
shall be substituted after the original macro is substituted, not when
it is defined."

Dave


> -----Original Message-----
> From: Geoffrey.Coram [mailto:geoffrey.coram@analog.com]
> Sent: Monday, October 01, 2007 5:00 AM
> To: Rich, Dave
> Cc: sv-bc@eda-stds.org
> Subject: Re: [sv-bc] A proposal for 1588 `__FILE__ and `__LINE__
> 
> Does anything need to be said about what `__LINE__ does when it
> appears in a macro?  I think I expect it to expand to the line
> where the macro is invoked, rather than the line of the definition.
> 
> -Geoffrey
> 
> 
> 
> Rich, Dave wrote:
> > has been entered.
> >
> >
> >
> > http://www.eda-stds.org/svdb/view.php?id=1588
> >
> >
> >
> >
> >
> > David Rich
> > Verification Technologist
> > Design Verification & Test Division
> > Mentor Graphics Corporation
> > dave_rich@mentor.com
> > Office:   408 487-7206
> > Cell:     510 589-2625
> >
> >
> >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by *MailScanner* <http://www.mailscanner.info/>,
and
> is
> > believed to be clean.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Oct 1 09:17:09 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 01 2007 - 09:17:23 PDT