Skip to content

Commit

Permalink
Bugfix: scripts/buildtable: Increment found marker *after* processing…
Browse files Browse the repository at this point in the history
… the header
  • Loading branch information
luke-jr committed Dec 15, 2016
1 parent 959fecc commit 42770fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/buildtable.pl
Expand Up @@ -115,7 +115,6 @@
} else {
die "Bad line in $fn preamble";
}
++$found{$field};
die "Extra spaces in $fn" if $val =~ /^\s/;
if ($field eq 'BIP') {
die "$fn claims to be BIP $val" if $val ne $bipnum;
Expand Down Expand Up @@ -163,6 +162,7 @@
} elsif (not exists $MiscField{$field}) {
die "Unknown field $field in $fn";
}
++$found{$field};
}
if (not $found{License}) {
die "Missing License in $fn" unless exists $TolerateMissingLicense{$bipnum};
Expand Down

0 comments on commit 42770fb

Please sign in to comment.