Scan scope objects before subscopes.
This commit is contained in:
parent
26a80005d6
commit
f0d2e20342
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT) && !defined(macintosh)
|
#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
|
#endif
|
||||||
|
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
|
|
@ -534,16 +534,15 @@ static void scan_item(unsigned depth, vpiHandle item, int skip)
|
||||||
/* list of types to iterate upon */
|
/* list of types to iterate upon */
|
||||||
int i;
|
int i;
|
||||||
static int types[] = {
|
static int types[] = {
|
||||||
|
/* Value */
|
||||||
|
vpiNet,
|
||||||
|
vpiReg,
|
||||||
/* Scope */
|
/* Scope */
|
||||||
vpiFunction,
|
vpiFunction,
|
||||||
vpiModule,
|
vpiModule,
|
||||||
vpiNamedBegin,
|
vpiNamedBegin,
|
||||||
vpiNamedFork,
|
vpiNamedFork,
|
||||||
vpiTask,
|
vpiTask,
|
||||||
/* Value */
|
|
||||||
vpiNet,
|
|
||||||
vpiReg,
|
|
||||||
vpiIntegerVar,
|
|
||||||
-1
|
-1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -800,6 +799,9 @@ void sys_vcd_register()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: sys_vcd.c,v $
|
* $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
|
* Revision 1.32 2002/07/12 02:10:20 steve
|
||||||
* Make types array static, not on stack.
|
* Make types array static, not on stack.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue