diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 15:09:40 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 15:09:40 +0400 |
commit | 5e34ff29bcc870936ab18172f438a34d042d4e03 (patch) | |
tree | a5e7a528f2f916eb883f1161eadceacdf2dca4be /docs/autodocifier.pl | |
parent | 8b814b4a349e2262c0ad25793b05206a14651ebb (diff) |
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
Diffstat (limited to 'docs/autodocifier.pl')
-rwxr-xr-x | docs/autodocifier.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/autodocifier.pl b/docs/autodocifier.pl index 576e31281..e3ba5c94b 100755 --- a/docs/autodocifier.pl +++ b/docs/autodocifier.pl @@ -24,8 +24,8 @@ sub beautify { my $text = shift; for (;;) { my $text2 = $text; - $text =~ s/SKIP_\w+\(.*?"\s*\)//sxg; - $text =~ s/USE_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; + $text =~ s/IF_NOT_\w+\(.*?"\s*\)//sxg; + $text =~ s/IF_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; $text =~ s/USAGE_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; last if ( $text2 eq $text ); } |