mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
gen.pl: error on duplicated See-Also fields
Updated http2.d accordingly. Closes #10925
This commit is contained in:
parent
452b8e39ef
commit
a8fbdb461c
2 changed files with 6 additions and 3 deletions
|
|
@ -241,6 +241,10 @@ sub single {
|
|||
$protocols=$1;
|
||||
}
|
||||
elsif(/^See-also: *(.*)/i) {
|
||||
if($seealso) {
|
||||
print STDERR "ERROR: duplicated See-also in $f\n";
|
||||
return 1;
|
||||
}
|
||||
$seealso=$1;
|
||||
}
|
||||
elsif(/^Requires: *(.*)/i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue