Added code to fail on the "cellname rename" command if the cell in

question is a read-only cell.
This commit is contained in:
Tim Edwards 2020-05-12 12:31:39 -04:00
parent 55ff3fd1ff
commit 682a559455
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ DBCellRename(cellname, newname)
if ((celldef->cd_flags & CDINTERNAL) == CDINTERNAL)
{
TxError("Attempt to rename internal cell \"%s\"\n", cellname);
TxError("Error: Attempt to rename internal cell \"%s\"\n", cellname);
return FALSE;
}
@ -117,7 +117,7 @@ DBCellRename(cellname, newname)
if ((celldef->cd_flags & CDVENDORGDS) == CDVENDORGDS)
{
TxError("Attempt to rename read-only cell \"%s\"\n", cellname);
TxError("Error: Attempt to rename read-only cell \"%s\"\n", cellname);
return FALSE;
}