From bcb89826de933ab67589daecb64ff0abf5af8920 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 1 May 2009 04:51:46 +0200 Subject: [PATCH] Fix regular expressions in find_missing_doc after code format changes in loadparm.c. --- docs-xml/scripts/find_missing_doc.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs-xml/scripts/find_missing_doc.pl b/docs-xml/scripts/find_missing_doc.pl index 2b557b974d1..4379d3a4762 100755 --- a/docs-xml/scripts/find_missing_doc.pl +++ b/docs-xml/scripts/find_missing_doc.pl @@ -14,8 +14,8 @@ chdir("smbdotconf"); open(IN,"xsltproc --xinclude --param smb.context ALL generate-context.xsl parameters.all.xml|"); while() { - if( /([^<]*)<\/parameter><\/link><\/para><\/listitem>/g ){ - $doc{$2} = $1; + if( /) { last if $ln =~ m/^\s*\}\;\s*$/; #pull in the param names only next if $ln =~ m/.*P_SEPARATOR.*/; - next unless $ln =~ /\s*\{\"(.*)\".*/; + next unless $ln =~ /\s*\.label\s*=\s*\"(.*)\".*/; if($doc{lc($1)}) { $doc{lc($1)} = "FOUND";