mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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:
parent
9a6e57517b
commit
b6a14aec5f
@ -14,4 +14,7 @@
|
|||||||
(nxml-mode . (
|
(nxml-mode . (
|
||||||
(indent-tabs-mode . nil)
|
(indent-tabs-mode . nil)
|
||||||
))
|
))
|
||||||
|
(perl-mode . (
|
||||||
|
(indent-tabs-mode . nil)
|
||||||
|
))
|
||||||
)
|
)
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user