mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-16 20:07:31 +02:00
genex/expand-pintype: preserve a tile at the beginning of a component name
E.g., ~FOO then becomes ~XFOO
This commit is contained in:
parent
7de800eb77
commit
3703852e0b
@ -50,7 +50,7 @@ if (@ARGV < 2) {
|
|||||||
while (<>) {
|
while (<>) {
|
||||||
if ($out) {
|
if ($out) {
|
||||||
# make name differ so that KiCad's cache doesn't get confused
|
# make name differ so that KiCad's cache doesn't get confused
|
||||||
s/^DEF\s+/$&X/;
|
s/^DEF\s+~?/$&X/;
|
||||||
s/^F1\s+"+/$&X/;
|
s/^F1\s+"+/$&X/;
|
||||||
print FILE || die;
|
print FILE || die;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user