mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
Corrected an error in ext2spice related to the recent modification to get
rid of redundant port entries in subcircuits. There is still an outstanding issue as to whether nodes and connections need to be recursively iterated to the hierarchy bottom. The current fix corrected the test case. Also, added a "-dereference" option to the "load" command to revert to the original behavior of using only search paths from "addpath" when searching for files to load.
This commit is contained in:
+2
-2
@@ -294,7 +294,7 @@ DBTreeFindUse(name, use, scx)
|
||||
* is read in from disk.
|
||||
*/
|
||||
if ((def->cd_flags & CDAVAILABLE) == 0)
|
||||
(void) DBCellRead(def, (char *) NULL, TRUE, NULL);
|
||||
(void) DBCellRead(def, (char *) NULL, TRUE, FALSE, NULL);
|
||||
|
||||
cp = name;
|
||||
he = HashLookOnly(&def->cd_idHash, name);
|
||||
@@ -343,7 +343,7 @@ DBTreeFindUse(name, use, scx)
|
||||
/* Ensure that the leaf cell is read in */
|
||||
def = use->cu_def;
|
||||
if ((def->cd_flags & CDAVAILABLE) == 0)
|
||||
(void) DBCellRead(def, (char *) NULL, TRUE, NULL);
|
||||
(void) DBCellRead(def, (char *) NULL, TRUE, FALSE, NULL);
|
||||
|
||||
scx->scx_use = use;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user