Corrected an error in LEF write that will cause a segfault if a

label is attached to space.
This commit is contained in:
Tim Edwards
2018-02-21 10:02:23 -05:00
parent 44e34fb0ad
commit 8d95a3002b
+4
View File
@@ -911,6 +911,10 @@ lefWriteMacro(def, f, scale)
// TTMaskSetOnlyType(&lmask, lab->lab_type);
// Avoid errors caused by labels attached to space or
// various technology file issues.
TTMaskClearType(&lc.rmask, TT_SPACE);
ttype = TT_SPACE;
scx.scx_area = labr;
SelectClear();