From 265c1c463276a03c0afd9d6fd3b1381c329d5e3d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 17 Feb 2008 23:42:38 +0000 Subject: 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 --- tools/genlang | 8 ++++---- 1 file 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() { # 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='""'; } -- cgit v1.2.3