From f0d2e20342201e09343e5ce8b6949b48ed1c8c99 Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 12 Jul 2002 17:02:38 +0000 Subject: [PATCH] Scan scope objects before subscopes. --- vpi/sys_vcd.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/vpi/sys_vcd.c b/vpi/sys_vcd.c index 7850f9e9b..eef213ad5 100644 --- a/vpi/sys_vcd.c +++ b/vpi/sys_vcd.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: sys_vcd.c,v 1.32 2002/07/12 02:10:20 steve Exp $" +#ident "$Id: sys_vcd.c,v 1.33 2002/07/12 17:02:38 steve Exp $" #endif # include "config.h" @@ -534,16 +534,15 @@ static void scan_item(unsigned depth, vpiHandle item, int skip) /* list of types to iterate upon */ int i; static int types[] = { + /* Value */ + vpiNet, + vpiReg, /* Scope */ vpiFunction, vpiModule, vpiNamedBegin, vpiNamedFork, vpiTask, - /* Value */ - vpiNet, - vpiReg, - vpiIntegerVar, -1 }; @@ -800,6 +799,9 @@ void sys_vcd_register() /* * $Log: sys_vcd.c,v $ + * Revision 1.33 2002/07/12 17:02:38 steve + * Scan scope objects before subscopes. + * * Revision 1.32 2002/07/12 02:10:20 steve * Make types array static, not on stack. *