mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-25 16:50:17 +02:00
boom/mbq2lst: recognize #END comment (as end of file, like in the BOOM parser)
This commit is contained in:
parent
d31ede8bea
commit
b5520264c6
@ -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+/, $_);
|
||||||
|
Loading…
Reference in New Issue
Block a user