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.
This commit is contained in:
Tim Edwards 2024-04-02 21:55:57 -04:00
parent d0f6dab896
commit 9800d98dee
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
8.3.467
8.3.468

View File

@ -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;