Removed a restriction on the "equate pins" command such that pins

are matched on circuits that have no elements.  This condition
does not necessarily indicate an error, and matching pins has no
adverse affect (while refusing to match them certainly can).
This commit is contained in:
Tim Edwards 2020-06-16 15:56:59 -04:00
parent cec6d89474
commit 6f81e1d294
1 changed files with 1 additions and 2 deletions

View File

@ -2982,8 +2982,7 @@ _netcmp_equate(ClientData clientData,
else {
Fprintf(stdout, "Equate pins: cell %s and/or %s "
"has no elements.\n", name1, name2);
Tcl_SetObjResult(interp, Tcl_NewBooleanObj(0));
return TCL_OK;
/* This is not necessarily an error, so go ahead and match pins. */
}
}
if (ElementClasses == NULL) {