summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang
index 659e5f44e1..9c7f8949c1 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -63,7 +63,8 @@ while(<LANG>) {
63 63
64 if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) || 64 if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) ||
65 (($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) { 65 (($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) {
66 print "missing quotes on line $line for ".$set{'id'}."\n"; 66 print "$input:$line:missing quotes for ".$set{'id'}."\n";
67 $errors++;
67 next; 68 next;
68 } 69 }
69 70
@@ -101,3 +102,5 @@ MOO
101 102
102close(CFILE); 103close(CFILE);
103close(HFILE); 104close(HFILE);
105
106exit $errors;