Added ever so slightly more information to the output when handling

issues with subcell loading.
This commit is contained in:
Tim Edwards 2018-04-18 14:09:26 -04:00
parent 8fb6e50821
commit 5da432b821
1 changed files with 5 additions and 4 deletions

View File

@ -1035,7 +1035,7 @@ dbReadOpen(cellDef, name, setFileName, errptr)
if (f != NULL)
{
if (pptr != NULL) *pptr = '.';
TxError("Warning: Parent cell lists instance \"%s\" at bad file "
TxError("Warning: Parent cell lists instance of \"%s\" at bad file "
"path %s.\n", cellDef->cd_name, cellDef->cd_file);
TxError("The cell exists in the search paths at %s.\n", filename);
TxError("The discovered version will be used.\n");
@ -1409,9 +1409,10 @@ badTransform:
if (strcmp(subCellDef->cd_file, pathptr))
{
TxError("Duplicate cell: Instance of cell %s is from path %s"
" but cell was previously read from %s.\n",
slashptr + 1, pathptr, subCellDef->cd_file);
TxError("Duplicate cell in %s: Instance of cell %s is from "
"path %s but cell was previously read from %s.\n",
cellDef->cd_name, slashptr + 1, pathptr,
subCellDef->cd_file);
/* To do: Check if new path does not exist (ignore), */
/* or if new path has same symbolic link or is the same */