Corrected node merging, which failed to copy the EF_TOP_PORT flag

bit into the merged node.  Corrected reference to efNodeHashTable
to the more proper call to EFHNLook().
This commit is contained in:
Tim Edwards
2018-11-15 15:55:41 -05:00
parent cf9f9784ed
commit 395fb1a8d6
2 changed files with 4 additions and 3 deletions
+2 -3
View File
@@ -1299,12 +1299,11 @@ char *nodeSpiceHierName(hc, hname)
HierName *hname;
{
EFNodeName *nn;
HashEntry *he;
HashEntry *he, *he2;
EFNode *node;
Def *def = hc->hc_use->use_def;
// he = HashLookOnly(&def->def_nodes, EFHNToStr(hname));
he = HashLookOnly(&efNodeHashTable, (char *)hname);
he = EFHNLook(hname, NULL, "ext2spice");
if (he == NULL) return "error";
nn = (EFNodeName *) HashGetValue(he);