Skip to content

Commit b6a14ae

Browse files
committed
build: avoid tabs that failed syntax-check
Introduced in commit f299ddd. * src/check-symfile.pl: Fix whitespace. * .dir-locals.el (perl-mode): Prevent future occurrences.
1 parent 9a6e575 commit b6a14ae

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.dir-locals.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@
1414
(nxml-mode . (
1515
(indent-tabs-mode . nil)
1616
))
17+
(perl-mode . (
18+
(indent-tabs-mode . nil)
19+
))
1720
)

src/check-symfile.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
die "malformed line $_" unless /^\s*(\S+);$/;
2525

2626
if (exists $wantsyms{$1}) {
27-
print STDERR "Symbol $1 is listed twice\n";
28-
$ret = 1;
27+
print STDERR "Symbol $1 is listed twice\n";
28+
$ret = 1;
2929
} else {
30-
$wantsyms{$1} = 1;
30+
$wantsyms{$1} = 1;
3131
}
3232
}
3333
close SYMFILE;

0 commit comments

Comments
 (0)