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:
parent
6ccd39d6b7
commit
d0bc092e9e
1 changed files with 4 additions and 0 deletions
|
@ -259,6 +259,10 @@ sub compare {
|
|||
my $mode=0;
|
||||
|
||||
for my $l (@$engref) {
|
||||
if($l =~ /^ *#/) {
|
||||
# comment
|
||||
next;
|
||||
}
|
||||
if($l =~ /^ *desc: (.*)/) {
|
||||
$edesc=$1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue