Author: mcbrown
Date: 2007-07-26 17:55:57 +0200 (Thu, 26 Jul 2007)
New Revision: 7235
Log:
Minor modification to the remap process to not warn about IDs that aren't in the map, but
are in the local document.
Modified:
trunk/tools/idremap.pl
Modified: trunk/tools/idremap.pl
===================================================================
--- trunk/tools/idremap.pl 2007-07-26 15:46:39 UTC (rev 7234)
+++ trunk/tools/idremap.pl 2007-07-26 15:55:57 UTC (rev 7235)
Changed blocks: 1, Lines Added: 6, Lines Deleted: 5; 886 bytes
@@ -114,13 +114,14 @@
if ($warnings);
next;
}
- if (!exists($idmap->{$idref}->{file}))
- {
- print STDERR "Error: Cannot find reference for id=\"$idref\"\n";
- next;
- }
+
if (exists($missing->{$idref}))
{
+ if (!exists($idmap->{$idref}->{file}))
+ {
+ print STDERR "Error: Cannot find reference for id=\"$idref\"\n";
+ next;
+ }
if (length($idmap->{$idref}->{title}) == 0)
{
print STDERR "Warning: Link text would be blank (???) because title text
for $idref is not defined\n";
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r7235 - trunk/tools | mcbrown | 26 Jul |