diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2007-08-03 20:29:32 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2007-08-03 20:29:32 +0000 |
| commit | d0bc092e9e9ab31f3c815857a57a95808378b04d (patch) | |
| tree | cc4e00ec2bc1a801134f7ef1050203937d170d08 /tools | |
| parent | 6ccd39d6b7da9ada8e8be08fdae2ff356a992333 (diff) | |
| download | rockbox-d0bc092e9e9ab31f3c815857a57a95808378b04d.zip rockbox-d0bc092e9e9ab31f3c815857a57a95808378b04d.tar.gz rockbox-d0bc092e9e9ab31f3c815857a57a95808378b04d.tar.bz2 rockbox-d0bc092e9e9ab31f3c815857a57a95808378b04d.tar.xz | |
skip comments when trying to parse and compare phrases!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14169 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/genlang | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/genlang b/tools/genlang index f213057..621ec37 100755 --- a/tools/genlang +++ b/tools/genlang @@ -259,6 +259,10 @@ sub compare { my $mode=0; for my $l (@$engref) { + if($l =~ /^ *#/) { + # comment + next; + } if($l =~ /^ *desc: (.*)/) { $edesc=$1; } |