mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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;
|
my $mode=0;
|
||||||
|
|
||||||
for my $l (@$engref) {
|
for my $l (@$engref) {
|
||||||
|
if($l =~ /^ *#/) {
|
||||||
|
# comment
|
||||||
|
next;
|
||||||
|
}
|
||||||
if($l =~ /^ *desc: (.*)/) {
|
if($l =~ /^ *desc: (.*)/) {
|
||||||
$edesc=$1;
|
$edesc=$1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue