mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
Added a catch for a node named "(none)" in a merge line. This
prevents magic from crashing but does not do anything about the fact that a non-existent node ended up in the .ext file, which will have to be investigated.
This commit is contained in:
+10
-3
@@ -1782,11 +1782,18 @@ esMakePorts(hc, cdata)
|
||||
if (he != NULL)
|
||||
{
|
||||
nn = (EFNodeName *) HashGetValue(he);
|
||||
flagrec->fdr_node = nn->efnn_node;
|
||||
flagrec->fdr_node->efnode_flags |= flagrec->fdr_flags;
|
||||
if (nn == NULL)
|
||||
{
|
||||
TxError("Error: Node %s not found in cell %s!\n",
|
||||
locname, def->def_name);
|
||||
}
|
||||
else
|
||||
{
|
||||
flagrec->fdr_node = nn->efnn_node;
|
||||
flagrec->fdr_node->efnode_flags |= flagrec->fdr_flags;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user