diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-05-01 04:51:46 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-05-01 13:10:14 +0200 |
commit | bcb89826de933ab67589daecb64ff0abf5af8920 (patch) | |
tree | fc4cdeccfa9d30e9200083ca933959558047b74f | |
parent | 4abc5c945e305df24476f2cc93b63353c3dd922e (diff) | |
download | samba-bcb89826de933ab67589daecb64ff0abf5af8920.tar.gz samba-bcb89826de933ab67589daecb64ff0abf5af8920.tar.bz2 samba-bcb89826de933ab67589daecb64ff0abf5af8920.zip |
Fix regular expressions in find_missing_doc after code format changes in
loadparm.c.
-rwxr-xr-x | docs-xml/scripts/find_missing_doc.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs-xml/scripts/find_missing_doc.pl b/docs-xml/scripts/find_missing_doc.pl index 2b557b974d..4379d3a476 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(<IN>) { - if( /<listitem><para><link linkend="([^"]*)"><parameter moreinfo="none">([^<]*)<\/parameter><\/link><\/para><\/listitem>/g ){ - $doc{$2} = $1; + if( /<samba:parameter .*?name="([^"]*?)"/g ){ + $doc{$1} = "NOTFOUND"; } } @@ -37,7 +37,7 @@ while ($ln = <SOURCE>) { 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"; |