mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user