vpiModule handle of scope is parent scope.
This commit is contained in:
parent
fd4985cc62
commit
d34045b904
|
|
@ -17,7 +17,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#ifdef HAVE_CVS_IDENT
|
||||
#ident "$Id: vpi_scope.cc,v 1.28 2003/03/06 04:32:00 steve Exp $"
|
||||
#ident "$Id: vpi_scope.cc,v 1.29 2003/03/14 05:01:22 steve Exp $"
|
||||
#endif
|
||||
|
||||
# include "compile.h"
|
||||
|
|
@ -123,6 +123,9 @@ static vpiHandle scope_get_handle(int code, vpiHandle obj)
|
|||
|
||||
case vpiScope:
|
||||
return &rfp->scope->base;
|
||||
|
||||
case vpiModule:
|
||||
return &rfp->scope->base;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
@ -460,6 +463,9 @@ void vpip_attach_to_current_scope(vpiHandle obj)
|
|||
|
||||
/*
|
||||
* $Log: vpi_scope.cc,v $
|
||||
* Revision 1.29 2003/03/14 05:01:22 steve
|
||||
* vpiModule handle of scope is parent scope.
|
||||
*
|
||||
* Revision 1.28 2003/03/06 04:32:00 steve
|
||||
* Use hashed name strings for identifiers.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue