build: avoid tabs that failed syntax-check

Introduced in commit f299ddd6.

* src/check-symfile.pl: Fix whitespace.
* .dir-locals.el (perl-mode): Prevent future occurrences.
This commit is contained in:
Eric Blake 2012-09-06 09:42:35 -06:00
parent 9a6e57517b
commit b6a14aec5f
2 changed files with 6 additions and 3 deletions

View File

@ -14,4 +14,7 @@
(nxml-mode . (
(indent-tabs-mode . nil)
))
(perl-mode . (
(indent-tabs-mode . nil)
))
)

View File

@ -24,10 +24,10 @@ while (<SYMFILE>) {
die "malformed line $_" unless /^\s*(\S+);$/;
if (exists $wantsyms{$1}) {
print STDERR "Symbol $1 is listed twice\n";
$ret = 1;
print STDERR "Symbol $1 is listed twice\n";
$ret = 1;
} else {
$wantsyms{$1} = 1;
$wantsyms{$1} = 1;
}
}
close SYMFILE;