Ref: #14014
Closes #14015
my $top = ($line == 1);
my $quote;
my $level;
+ my $blankline;
$start = 0;
while(<$fh>) {
my $d = $_;
$line++;
+ $blankline = ($d eq "\n");
if($d =~ /^\.(SH|BR|IP|B)/) {
print STDERR "$f:$line:1:ERROR: nroff instruction in input: \".$1\"\n";
return 4;
$header = 0;
}
+ if($blankline) {
+ print STDERR "$f:$line:1:ERROR: trailing blank line\n";
+ exit 3;
+ }
if($tablemode) {
# end of table
push @desc, ".RE\n.IP\n" if($manpage);