mirror of
https://github.com/curl/curl.git
synced 2026-04-15 04:41:41 +03:00
test1173: make manpage-syntax.pl spot \n errors in examples
This commit is contained in:
parent
38ecb56df5
commit
eccaa83cee
1 changed files with 3 additions and 0 deletions
|
|
@ -104,6 +104,9 @@ sub scanmanpage {
|
|||
}
|
||||
elsif($inex) {
|
||||
$exsize++;
|
||||
if($_ =~ /[^\\]\\n/) {
|
||||
print STDERR "$file:$line '\\n' need to be '\\\\n'!\n";
|
||||
}
|
||||
}
|
||||
if($_ =~ /^\.SH ([^\r\n]*)/i) {
|
||||
my $n = $1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue