List:Commits« Previous MessageNext Message »
From:mcbrown Date:September 6 2006 10:04am
Subject:svn commit - mysqldoc@docsrva: r3249 - trunk/tools
View as plain text  
Author: mcbrown
Date: 2006-09-06 12:04:30 +0200 (Wed, 06 Sep 2006)
New Revision: 3249

Log:
Fix the edge case where a <link...> entry is not identified as an ID error in the parser



Modified:
   trunk/tools/idvalidate.pl


Modified: trunk/tools/idvalidate.pl
===================================================================
--- trunk/tools/idvalidate.pl	2006-09-06 09:12:42 UTC (rev 3248)
+++ trunk/tools/idvalidate.pl	2006-09-06 10:04:30 UTC (rev 3249)
Changed blocks: 1, Lines Added: 2, Lines Deleted: 2; 492 bytes

@@ -34,9 +34,9 @@
 
 while(<STDIN>)
 {
-    if (m/xref: validity error.*?ID "(.*?)"/)
+    if (m/(xref|link): validity error.*?ID "(.*?)"/)
     {
-        my $idref = $1;
+        my $idref = $2;
         $missingids->{$idref} = 1;
     }
     elsif (m/does not validate/)


Thread
svn commit - mysqldoc@docsrva: r3249 - trunk/toolsmcbrown6 Sep