summaryrefslogtreecommitdiffstats
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.tar.bz2
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 @@
# \/ \/ \/ \/ \/
# $Id$
#
-# Copyright (C) 2006 - 2007 by Daniel Stenberg
+# Copyright (C) 2006 - 2008 by Daniel Stenberg
#
# binary version for the binary lang file
@@ -412,15 +412,15 @@ while(<LANG>) {
# basic syntax error alerts, if there are no quotes we
# will assume an empty string was intended
if($dest !~ /^\"/) {
- print STDERR "Warning: dest before $input line $line lacks quotes ($dest)!\n";
+ print STDERR "$input:$line:1: warning: dest before line lacks quotes ($dest)!\n";
$dest='""';
}
if($src !~ /^\"/) {
- print STDERR "Warning: source before $input line $line lacks quotes ($src)!\n";
+ print STDERR "$input:$line:1: warning: source before line lacks quotes ($src)!\n";
$src='""';
}
if($voice !~ /^\"/ and $voice !~ /^none\z/i) {
- print STDERR "Warning: voice before $input line $line lacks quotes ($voice)!\n";
+ print STDERR "$input:$line:1: warning: voice before line lacks quotes ($voice)!\n";
$voice='""';
}