Corrected a problem in CalmaWrite where a cell that was defined

redundantly was flagged, and output anyway, but the cellname was
not being written to the output, resulting in a bad GDS file.
This commit is contained in:
Tim Edwards 2019-05-22 16:52:34 -04:00
parent 243e9652e5
commit 30a2226dbb
1 changed files with 2 additions and 0 deletions

View File

@ -404,6 +404,8 @@ calmaDumpStructure(def, cellstart, outf, calmaDefHash, filename)
{
/* Structure is defined more than once */
TxError("Structure %s defined redundantly in GDS\n", strname);
/* To be considered: Should the structure be output more than once? */
calmaOutStringRecord(CALMA_STRNAME, newnameptr, outf);
}
else if (!strcmp(strname, def->cd_name))
{