Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv11484
Modified Files:
Man.pm
Log Message:
Make an error message more useful
Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Man.pm 30 Apr 2004 22:47:58 -0000 1.15
+++ Man.pm 18 Jul 2004 05:25:49 -0000 1.16
@@ -664,9 +664,9 @@
} else {
$self->pushline($line."\n");
die sprintf(gettext(
- "po4a::man: Unknown macro '%s'. Remove it from the document,\n".
- "po4a::man: or provide a patch to
<po4a-devel\(a)lists.alioth.debian.org>."
- ),$line)."\n";
+ "po4a::man: Unknown macro '%s' (at %s).\n".
+ "po4a::man: Remove it from the document, or provide a patch to the po4a
team."
+ ),$line,$ref)."\n";
}
} elsif ($line =~ /^( +)([^.].*)/) {