mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
check-spacing: fix error message
The check for whitespace before comma or semicolon referred to comma as colon.
This commit is contained in:
parent
cab2b44d8b
commit
3cc13e005d
@ -138,7 +138,7 @@ foreach my $file (@ARGV) {
|
||||
if ($data =~ /\s[;,]/) {
|
||||
unless ($data =~ /\S; ; / ||
|
||||
$data =~ /^\s+;/) {
|
||||
print "Whitespace before (semi)colon:\n";
|
||||
print "Whitespace before semicolon or comma:\n";
|
||||
print "$file:$.: $line";
|
||||
$ret = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user