mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 06:07:34 +02:00
Corrected a problem with extresist in which node names are not
transferred when doing a node merge, which can cause named terminals to get lost, because there is no longer a node with a name corresponding to the terminal. The node gets a default name which is not the terminal name, and the netlist is broken.
This commit is contained in:
@@ -742,6 +742,9 @@ ResMergeNodes(node1, node2, pendingList, doneList)
|
||||
node1->rn_ce = tCon;
|
||||
}
|
||||
|
||||
/* Moves name to new node, if new node does not have a name */
|
||||
if (node1->rn_name == NULL) node1->rn_name = node2->rn_name;
|
||||
|
||||
/* Moves resistors to new node */
|
||||
|
||||
workingRes = node2->rn_re;
|
||||
|
||||
Reference in New Issue
Block a user