提交 3cc13e00 编写于 作者: J Ján Tomko

check-spacing: fix error message

The check for whitespace before comma or semicolon referred
to comma as colon.
上级 cab2b44d
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册