RE: [sv-bc] Is an unnamed block with declarations a scope?

From: Steven Sharp <sharp_at_.....>
Date: Fri Aug 12 2005 - 12:01:30 PDT
>I do expect tools to create a hierarchy path for purposes of displaying
>these local variables, but I think that path should not be standardized.  I
>am glad to give up the ability to compare dump files on these local
>variables for the protection if offers.

It offers no additional protection.  It is already illegal to use a
hierarchical reference to that variable.  Having tools generate a standard
name doesn't change that.  And if a tool fails to enforce the rule against
hierarchical references, and an engineer chooses to write illegal code that
uses them, I can't imagine that they will be held back by the names being
non-portable.  The use of the hierarchical reference is already non-portable
to any compliant implementation.

So you are talking about giving up an ability in exchange for nothing.

Steven Sharp
sharp@cadence.com
Received on Fri Aug 12 12:01:34 2005

This archive was generated by hypermail 2.1.8 : Fri Aug 12 2005 - 12:01:41 PDT