diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manpage-syntax.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/manpage-syntax.pl b/tests/manpage-syntax.pl index dc48a284c..67a0b7402 100644 --- a/tests/manpage-syntax.pl +++ b/tests/manpage-syntax.pl @@ -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; |