summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-17 23:42:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-17 23:42:38 +0000
commit265c1c463276a03c0afd9d6fd3b1381c329d5e3d (patch)
tree753772726c3efac7cb62acefcf42930e321f54c7 /tools
parentbd8d7a5f5e1cf754a22f08fb14e79a8367144ca3 (diff)
downloadrockbox-265c1c463276a03c0afd9d6fd3b1381c329d5e3d.tar.gz
rockbox-265c1c463276a03c0afd9d6fd3b1381c329d5e3d.zip
make the warnings gcc-style to be trapped by the scripts easier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16341 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/genlang b/tools/genlang
index 99b28b81fe..9da03479bd 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -7,7 +7,7 @@
7# \/ \/ \/ \/ \/ 7# \/ \/ \/ \/ \/
8# $Id$ 8# $Id$
9# 9#
10# Copyright (C) 2006 - 2007 by Daniel Stenberg 10# Copyright (C) 2006 - 2008 by Daniel Stenberg
11# 11#
12 12
13# binary version for the binary lang file 13# binary version for the binary lang file
@@ -412,15 +412,15 @@ while(<LANG>) {
412 # basic syntax error alerts, if there are no quotes we 412 # basic syntax error alerts, if there are no quotes we
413 # will assume an empty string was intended 413 # will assume an empty string was intended
414 if($dest !~ /^\"/) { 414 if($dest !~ /^\"/) {
415 print STDERR "Warning: dest before $input line $line lacks quotes ($dest)!\n"; 415 print STDERR "$input:$line:1: warning: dest before line lacks quotes ($dest)!\n";
416 $dest='""'; 416 $dest='""';
417 } 417 }
418 if($src !~ /^\"/) { 418 if($src !~ /^\"/) {
419 print STDERR "Warning: source before $input line $line lacks quotes ($src)!\n"; 419 print STDERR "$input:$line:1: warning: source before line lacks quotes ($src)!\n";
420 $src='""'; 420 $src='""';
421 } 421 }
422 if($voice !~ /^\"/ and $voice !~ /^none\z/i) { 422 if($voice !~ /^\"/ and $voice !~ /^none\z/i) {
423 print STDERR "Warning: voice before $input line $line lacks quotes ($voice)!\n"; 423 print STDERR "$input:$line:1: warning: voice before line lacks quotes ($voice)!\n";
424 $voice='""'; 424 $voice='""';
425 } 425 }
426 426