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 . ( (nxml-mode . (
(indent-tabs-mode . nil) (indent-tabs-mode . nil)
)) ))
(perl-mode . (
(indent-tabs-mode . nil)
))
) )

View File

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