mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Fix regular expressions in find_missing_doc after code format changes in
loadparm.c.
This commit is contained in:
parent
4abc5c945e
commit
bcb89826de
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user