From bc6ca4cbea281fbf5088a947103cc1ee4f028861 Mon Sep 17 00:00:00 2001 From: David von Oheimb Date: Thu, 13 Feb 2020 21:37:04 +0100 Subject: [PATCH] add line and file info to 'Malformed line' error msg on *.num files in make-doc-nits Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/11092) --- util/find-doc-nits | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/find-doc-nits b/util/find-doc-nits index c508e242fe..2239cac58d 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -752,7 +752,7 @@ sub parsenum { next if /^#/; next if /\bNOEXIST\b/; my @fields = split(); - die "Malformed line $_" + die "Malformed line $. in $file: $_" if scalar @fields != 2 && scalar @fields != 4; push @apis, $fields[0]; } -- 2.25.1