summaryrefslogtreecommitdiff
path: root/scripts/buildtable.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/buildtable.pl')
-rwxr-xr-xscripts/buildtable.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/buildtable.pl b/scripts/buildtable.pl
index 981346b..0de4a36 100755
--- a/scripts/buildtable.pl
+++ b/scripts/buildtable.pl
@@ -107,6 +107,7 @@ while (++$bipnum <= $topbip) {
$field = $1;
$val = $2;
die "Duplicate $field field in $fn" if exists $found{$field};
+ die "Too many spaces in $fn" if $val =~ /^\s/;
} elsif (m[^ ( +)(.*\S)$]) {
die "Continuation of non-field in $fn" unless defined $field;
die "Too many spaces in $fn" if length $1 != 2 + length $field;