summaryrefslogtreecommitdiff
path: root/p/tools
diff options
context:
space:
mode:
Diffstat (limited to 'p/tools')
-rwxr-xr-xp/tools/todo.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/p/tools/todo.pl b/p/tools/todo.pl
index c6b0267..8ca4b62 100755
--- a/p/tools/todo.pl
+++ b/p/tools/todo.pl
@@ -3,6 +3,7 @@
# Tool to parse todo files.
#
use strict;
+use locale;
use Template;
use Getopt::Long qw(:config no_ignore_case no_auto_abbrev bundling);
@@ -66,7 +67,7 @@ sub parse_todo
# Empty line.
/^$/ and next;
# Else, die.
- die 'Invalid format';
+ die "Invalid format in file $file at line $.\n";
}
# Close file.
close FILE;