mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Add check for double-semi-colons at the end of a line
This commit is contained in:
parent
d6568bad5e
commit
f0e87ff9eb
@ -123,6 +123,10 @@ for my $fn (@ARGV) {
|
||||
if (/([^\s'])\{/) {
|
||||
msg " $1\{:$fn:$.\n";
|
||||
}
|
||||
## Warn about double semi-colons at the end of a line.
|
||||
if (/;;$/) {
|
||||
msg " double semi-colons at the end of $. in $fn\n"
|
||||
}
|
||||
## Warn about multiple internal spaces.
|
||||
#if (/[^\s,:]\s{2,}[^\s\\=]/) {
|
||||
# msg " X X:$fn:$.\n";
|
||||
|
Loading…
Reference in New Issue
Block a user