mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-08 11:43:43 +02:00
Corrected an extraction issue in which an error message about
"unexpected asymmetric device" is printed prematurely, as it is inside a loop checking over all device entries compatible with a device type. Also: Flagged an issue with the "label" keyword in the "cifinput" section of a tech file. The "label" keyword cannot be used in conjunction with boolean operators. It can only connect labels on a specific GDS type to one magic type. Unfortunately, because this was not flagged before as an error or warning, the incorrect usage has crept into a lot of tech files. This uncovers an underlying issue that labels must be allowed to automatically reconnect types, which is undermined by the "no-reconnect-labels" cifinput option. That issue will be addressed in an upcoming commit.
This commit is contained in:
+2
-8
@@ -3490,16 +3490,10 @@ extTransPerimFunc(bp)
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Do not generate error messages on "Ignore" or "Short"
|
||||
* device types
|
||||
/* Do not print error messages here, as errors may
|
||||
* be resolved when checking the next device entry.
|
||||
*/
|
||||
if (strcmp(extTransRec.tr_devrec->exts_deviceName, "Ignore") &&
|
||||
strcmp(extTransRec.tr_devrec->exts_deviceName, "Short"))
|
||||
TxError("Warning: Unexpected asymmetric device at %d, %d!\n",
|
||||
bp->b_outside->ti_ll.p_x, bp->b_outside->ti_ll.p_y);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Add the length to this terminal's perimeter */
|
||||
extTransRec.tr_termlen[thisterm] += len;
|
||||
|
||||
Reference in New Issue
Block a user