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