1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 13:33:04 +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:
Werner Almesberger 2012-04-17 09:55:31 -03:00
parent 7de800eb77
commit 3703852e0b

View File

@ -50,7 +50,7 @@ if (@ARGV < 2) {
while (<>) {
if ($out) {
# make name differ so that KiCad's cache doesn't get confused
s/^DEF\s+/$&X/;
s/^DEF\s+~?/$&X/;
s/^F1\s+"+/$&X/;
print FILE || die;
}