From 3542f8acd6f7d3c6a9b930112c7158d8e51d6445 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Wed, 3 Aug 2011 17:11:50 +0200 Subject: [PATCH] Ignore empty lines in EXPORTS --- firmware/l0dable/mktable.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/l0dable/mktable.pl b/firmware/l0dable/mktable.pl index 9c56a50..38cf043 100755 --- a/firmware/l0dable/mktable.pl +++ b/firmware/l0dable/mktable.pl @@ -18,6 +18,8 @@ my @symb; open(Q,"<","l0dable/EXPORTS") || die "$!"; while(){ chomp;s/\r$//; + next if /^#/; + next if /^\s*$/; push @symb,$_; }; close(Q);