test1173: make manpage-syntax.pl spot \n errors in examples
This commit is contained in:
parent
38ecb56df5
commit
eccaa83cee
@ -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…
Reference in New Issue
Block a user