From d34045b904cffbd240bb607e5d0afbd4d171286f Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 14 Mar 2003 05:01:22 +0000 Subject: [PATCH] vpiModule handle of scope is parent scope. --- vvp/vpi_scope.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vvp/vpi_scope.cc b/vvp/vpi_scope.cc index e07a61185..30c24ffa2 100644 --- a/vvp/vpi_scope.cc +++ b/vvp/vpi_scope.cc @@ -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. *