1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-16 20:07:31 +02:00

gemerge: when complaining about a command, show what it looks like

This commit is contained in:
Werner Almesberger 2011-03-22 10:26:53 -03:00
parent 4e5278a5d8
commit e95548df82

View File

@ -64,7 +64,7 @@ LINE: while (<>) {
$c .= "G54D".$map{$1}."*\n"; $c .= "G54D".$map{$1}."*\n";
next; next;
} }
die "unexpected command" unless /^X\d+Y\d+D0*[12]\*/; die "unexpected command \"$_\"" unless /^X-?\d+Y-?\d+D0*[12]\*/;
$c .= $_; $c .= $_;
} }