mirror of
https://github.com/curl/curl.git
synced 2026-07-28 22:53:07 +03:00
adddocsref.pl: rename variable to avoid spelling exceptions
This commit is contained in:
parent
c79ed59e36
commit
9de25ee030
3 changed files with 4 additions and 5 deletions
|
|
@ -36,9 +36,9 @@ for $f (@ARGV) {
|
|||
# just ignore preciously added refs
|
||||
}
|
||||
elsif($l =~ /^( *).*curl_easy_setopt\([^,]*, *([^ ,]*) *,/) {
|
||||
my ($prefix, $anc) = ($1, $2);
|
||||
$anc =~ s/_//g;
|
||||
print NEW "$prefix/* $docroot/curl_easy_setopt.html#$anc */\n";
|
||||
my ($prefix, $anchor) = ($1, $2);
|
||||
$anchor =~ s/_//g;
|
||||
print NEW "$prefix/* $docroot/curl_easy_setopt.html#$anchor */\n";
|
||||
print NEW $l;
|
||||
}
|
||||
elsif($l =~ /^( *).*(curl_([^\(]*))\(/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue