Added an error message when writing GDS if any cell being written
still has the default "(UNNAMED)" cell name; this is not strictly an error, but is almost certainly not what the user intended.
This commit is contained in:
parent
9af83abfe5
commit
f6695cea52
|
|
@ -879,6 +879,17 @@ calmaProcessDef(def, outf, do_library)
|
|||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Flag an error if attempting to write the default (UNNAMED) cell
|
||||
* into GDS. This is not strictly an error but is almost certainly
|
||||
* not what the user intended.
|
||||
*/
|
||||
|
||||
if (!strcmp(def->cd_name, UNNAMED))
|
||||
{
|
||||
TxError("Error: Cell has the default name \"%s\"!\n", UNNAMED);
|
||||
}
|
||||
|
||||
/*
|
||||
* Check if this is a read-only file that is supposed to be copied
|
||||
* verbatim from input to output. If so, do the direct copy. If
|
||||
|
|
|
|||
Loading…
Reference in New Issue