Added the keyword "COVER" to the list of keywords expected for a
PIN entry in a DEF file when read by "def read". Previously, "PLACED" and "FIXED" were handled, but "COVER" was missed. Magic treats all three the same way.
This commit is contained in:
parent
2630ebcde1
commit
63ad80b8bc
|
|
@ -1431,7 +1431,8 @@ enum def_pins_prop_keys {
|
||||||
DEF_PINS_PROP_NET = 0, DEF_PINS_PROP_DIR,
|
DEF_PINS_PROP_NET = 0, DEF_PINS_PROP_DIR,
|
||||||
DEF_PINS_PROP_LAYER, DEF_PINS_PROP_USE,
|
DEF_PINS_PROP_LAYER, DEF_PINS_PROP_USE,
|
||||||
DEF_PINS_PROP_PLACED, DEF_PINS_PROP_FIXED,
|
DEF_PINS_PROP_PLACED, DEF_PINS_PROP_FIXED,
|
||||||
DEF_PINS_PROP_PORT, DEF_PINS_PROP_SPECIAL};
|
DEF_PINS_PROP_COVER, DEF_PINS_PROP_PORT,
|
||||||
|
DEF_PINS_PROP_SPECIAL};
|
||||||
|
|
||||||
void
|
void
|
||||||
DefReadPins(
|
DefReadPins(
|
||||||
|
|
@ -1470,6 +1471,7 @@ DefReadPins(
|
||||||
"USE",
|
"USE",
|
||||||
"PLACED",
|
"PLACED",
|
||||||
"FIXED",
|
"FIXED",
|
||||||
|
"COVER",
|
||||||
"PORT",
|
"PORT",
|
||||||
"SPECIAL",
|
"SPECIAL",
|
||||||
NULL
|
NULL
|
||||||
|
|
@ -1664,6 +1666,7 @@ DefReadPins(
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case DEF_PINS_PROP_FIXED:
|
case DEF_PINS_PROP_FIXED:
|
||||||
|
case DEF_PINS_PROP_COVER:
|
||||||
case DEF_PINS_PROP_PLACED:
|
case DEF_PINS_PROP_PLACED:
|
||||||
DefReadLocation(NULL, f, oscale, &t, FALSE);
|
DefReadLocation(NULL, f, oscale, &t, FALSE);
|
||||||
if (curlayer == -1)
|
if (curlayer == -1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue