From b6a14aec5f29073b07a84188849a9cba95090588 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 6 Sep 2012 09:42:35 -0600 Subject: [PATCH] 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. --- .dir-locals.el | 3 +++ src/check-symfile.pl | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index c10603ccb3..a27908f5da 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -14,4 +14,7 @@ (nxml-mode . ( (indent-tabs-mode . nil) )) + (perl-mode . ( + (indent-tabs-mode . nil) + )) ) diff --git a/src/check-symfile.pl b/src/check-symfile.pl index c0b7ec7573..ac37b4614b 100755 --- a/src/check-symfile.pl +++ b/src/check-symfile.pl @@ -24,10 +24,10 @@ while () { 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;