From b5520264c67c333862c6f33f7a886113ef18a40d Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 17 Oct 2010 16:08:51 -0300 Subject: [PATCH] boom/mbq2lst: recognize #END comment (as end of file, like in the BOOM parser) --- boom/mbq2lst | 1 + 1 file changed, 1 insertion(+) diff --git a/boom/mbq2lst b/boom/mbq2lst index f3e332c..7e2b750 100755 --- a/boom/mbq2lst +++ b/boom/mbq2lst @@ -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+/, $_);