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
+1 -1
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;
}