mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
add line and file info to 'Malformed line' error msg on *.num files in make-doc-nits
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11092)
This commit is contained in:
parent
ae8483d24d
commit
bc6ca4cbea
@ -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];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user