Skip to content

Commit

Permalink
Checking value of dont_use attribute
Browse files Browse the repository at this point in the history
Fix for issue berkeley-abc#140
  • Loading branch information
bfg86 committed Feb 2, 2022
1 parent 0b4350a commit fbf3ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/scl/sclLiberty.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ int Scl_LibertyReadCellIsDontUse( Scl_Tree_t * p, Scl_Item_t * pCell )
{
Scl_Item_t * pAttr;
Scl_ItemForEachChild( p, pCell, pAttr )
if ( !Scl_LibertyCompare(p, pAttr->Key, "dont_use") )
if ( !Scl_LibertyCompare(p, pAttr->Key, "dont_use") && !Scl_LibertyCompare(p, pAttr->Head, "\"true\""))
return 1;
return 0;
}
Expand Down

0 comments on commit fbf3ef9

Please sign in to comment.