Removed handling of LEF macro "SOURCE", which is only valid pre-

version 5.6, and Magic now officially writes version 5.7.
This commit is contained in:
Tim Edwards 2020-07-21 08:40:25 -04:00
parent e453f130ee
commit ae1743e5ad
3 changed files with 3 additions and 7 deletions

View File

@ -1 +1 @@
8.3.37
8.3.38

View File

@ -1839,8 +1839,8 @@ origin_error:
break;
case LEF_SOURCE:
token = LefNextToken(f, TRUE);
if (*token != '\n')
DBPropPut(lefMacro, "LEFsource", StrDup((char **)NULL, token));
/* Ignore "SOURCE" as it is deprecated from LEF 5.6, and */
/* magic will write LEF version 5.7. */
LefEndStatement(f);
break;
case LEF_SITE:

View File

@ -1224,10 +1224,6 @@ lefWriteMacro(def, f, scale, hide, toplayer)
fprintf(f, IN0 "CLASS BLOCK ;\n");
}
propvalue = (char *)DBPropGet(def, "LEFsource", &propfound);
if (propfound)
fprintf(f, IN0 "SOURCE %s ;\n", propvalue);
fprintf(f, IN0 "FOREIGN %s ;\n", def->cd_name);
/* If a boundary class was declared in the LEF section, then use */