mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Finally remove our EOL@EOF check.
This check was added by mistake long ago. It will be nice to see these EOLs disappear from our code over time.
This commit is contained in:
parent
29982e5190
commit
6af248f27f
@ -126,7 +126,7 @@ for my $fn (@ARGV) {
|
||||
## 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";
|
||||
@ -192,11 +192,6 @@ for my $fn (@ARGV) {
|
||||
}
|
||||
}
|
||||
}
|
||||
## Warn if the file doesn't end with a blank line.
|
||||
# (End each file with a single blank line.)
|
||||
if (! $lastnil) {
|
||||
msg " EOL\@EOF:$fn:$.\n";
|
||||
}
|
||||
close(F);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user