From 9800d98dee12e2172689f198f560647c9d6ed0e6 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Tue, 2 Apr 2024 21:55:57 -0400 Subject: [PATCH] Corrects "ext2spice hierarchy off" when subcircuits with ports are present. Note, however, this fix breaks the use of "ext2spice subcircuit descend off" because subcircuits are always descended into. It's not clear that "subcircuit descend off" worked at all before, anyway. That still needs fixing. --- VERSION | 2 +- ext2spice/ext2spice.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 36c8ecb7..45cdbf01 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.467 +8.3.468 diff --git a/ext2spice/ext2spice.c b/ext2spice/ext2spice.c index 5dc614cd..6ae81ed1 100644 --- a/ext2spice/ext2spice.c +++ b/ext2spice/ext2spice.c @@ -875,7 +875,8 @@ runexttospice: sprintf(spcesDefaultOut, "%s.spice", inName); /* Read the hierarchical description of the input circuit */ - if (EFReadFile(inName, TRUE, esDoExtResis, FALSE, TRUE) == FALSE) + if (EFReadFile(inName, esDoHierarchy, esDoExtResis, FALSE, TRUE) + == FALSE) { EFDone(); return;