Commit d0d42ab6 authored by Nils Goroll's avatar Nils Goroll

ignore empty lines in db files, for instance from additional CRs (0x0d) from DOS-formatting

parent e212bbaf
......@@ -745,6 +745,9 @@ for (my $i = 0; $i <= $#dbrefs; $i++) {
next;
}
# ignore empty lines
next if (/^$/);
my ($key, $type) = split(/\t/, $_);
die "empty key on line ".$line
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment