Corrected the dereferencing code from the last commit, where the

flag definition had been put in database.h instead of database.h.in,
and so was deleted on "make clean".  Also, corrected a problem that
causes the cif output style to be lost when running DRC-CIF checks
if the first output style is the DRC style.
This commit is contained in:
Tim Edwards 2020-01-03 12:21:39 -05:00
parent 82e33248f2
commit ff2f2de046
2 changed files with 6 additions and 1 deletions

View File

@ -391,6 +391,9 @@ typedef struct celldef
* with the option "gds readonly true".
* CDVISITED indicates that at least one instance of the cell was
* already output during a file write.
* CDDEREFERENCE is a flag indicating that when loading or expanding
* children of a cell, the path should be ignored and the cell
* path should be searched for the location.
*/
#define CDAVAILABLE 0x0001
@ -408,6 +411,7 @@ typedef struct celldef
#define CDPROCESSEDGDS 0x1000
#define CDVENDORGDS 0x2000
#define CDVISITED 0x4000
#define CDDEREFERENCE 0x8000
/*
* Description of an array.

View File

@ -527,7 +527,8 @@ drcCifCheck(arg)
}
if (drcCifValid == FALSE)
{
CIFCurStyle = CIFSaveStyle;
if (CIFSaveStyle != NULL)
CIFCurStyle = CIFSaveStyle;
return;
}