From 3703852e0ba161919ddf56cdfae772941889b53f Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 17 Apr 2012 09:55:31 -0300 Subject: [PATCH] genex/expand-pintype: preserve a tile at the beginning of a component name E.g., ~FOO then becomes ~XFOO --- genex/expand-pintype | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genex/expand-pintype b/genex/expand-pintype index 84557a8..4e10cd6 100755 --- a/genex/expand-pintype +++ b/genex/expand-pintype @@ -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; }