Corrected LEF read routine so as not to truncate LEF "CLASS" to a
single token (LEF CLASS records may have a subclass, such as "PAD INPUT").
This commit is contained in:
parent
70613a3778
commit
b5e06455c5
|
|
@ -1593,10 +1593,14 @@ LefReadMacro(f, mname, oscale, importForeign)
|
||||||
switch (keyword)
|
switch (keyword)
|
||||||
{
|
{
|
||||||
case LEF_CLASS:
|
case LEF_CLASS:
|
||||||
|
strcpy(tsave, "");
|
||||||
token = LefNextToken(f, TRUE);
|
token = LefNextToken(f, TRUE);
|
||||||
if (*token != '\n')
|
while (*token != ';')
|
||||||
DBPropPut(lefMacro, "LEFclass", StrDup((char **)NULL, token));
|
{
|
||||||
LefEndStatement(f);
|
sprintf(tsave + strlen(tsave), " %s", token);
|
||||||
|
token = LefNextToken(f, TRUE);
|
||||||
|
}
|
||||||
|
DBPropPut(lefMacro, "LEFclass", StrDup((char **)NULL, tsave + 1));
|
||||||
break;
|
break;
|
||||||
case LEF_SIZE:
|
case LEF_SIZE:
|
||||||
token = LefNextToken(f, TRUE);
|
token = LefNextToken(f, TRUE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue