skip comments when trying to parse and compare phrases!

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14169 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2007-08-03 20:29:32 +00:00
parent 6ccd39d6b7
commit d0bc092e9e

View file

@ -259,6 +259,10 @@ sub compare {
my $mode=0;
for my $l (@$engref) {
if($l =~ /^ *#/) {
# comment
next;
}
if($l =~ /^ *desc: (.*)/) {
$edesc=$1;
}