1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-16 20:07:31 +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 "eeschema (whatever) >> some date\n\n";
print "#Cmp ( order = Reference )\n"; print "#Cmp ( order = Reference )\n";
while (<>) { while (<>) {
last if /^#END\b/;
s/#.*//; s/#.*//;
next if /^\s*$/; next if /^\s*$/;
@a = split(/\s+/, $_); @a = split(/\s+/, $_);