From 6f81e1d294bbf17186c0a16c146e00878492e683 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Tue, 16 Jun 2020 15:56:59 -0400 Subject: [PATCH] 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). --- tcltk/tclnetgen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tcltk/tclnetgen.c b/tcltk/tclnetgen.c index 67ea64f..22dc13f 100644 --- a/tcltk/tclnetgen.c +++ b/tcltk/tclnetgen.c @@ -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) {