1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-25 16:29:42 +02:00

boom/mbq2lst: recognize #END comment (as end of file, like in the BOOM parser)

This commit is contained in:
Werner Almesberger 2010-10-17 16:08:51 -03:00
parent d31ede8bea
commit b5520264c6

View File

@ -9,6 +9,7 @@
print "eeschema (whatever) >> some date\n\n";
print "#Cmp ( order = Reference )\n";
while (<>) {
last if /^#END\b/;
s/#.*//;
next if /^\s*$/;
@a = split(/\s+/, $_);