vpiModule handle of scope is parent scope.

This commit is contained in:
steve 2003-03-14 05:01:22 +00:00
parent fd4985cc62
commit d34045b904
1 changed files with 7 additions and 1 deletions

View File

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