diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-18 16:10:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-18 16:10:47 -0400 |
commit | 6af248f27f887a9a36a94a9f87a7b7ce66896c08 (patch) | |
tree | 1d525e064f8aa0836c70b6629f022523cff17f8e /scripts/maint/checkSpace.pl | |
parent | 29982e51909c657d3d1323e332d4517d9e9f8046 (diff) | |
download | tor-6af248f27f887a9a36a94a9f87a7b7ce66896c08.tar.gz tor-6af248f27f887a9a36a94a9f87a7b7ce66896c08.zip |
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.
Diffstat (limited to 'scripts/maint/checkSpace.pl')
-rwxr-xr-x | scripts/maint/checkSpace.pl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/maint/checkSpace.pl b/scripts/maint/checkSpace.pl index 9929932cc5..4f4ac9b0e5 100755 --- a/scripts/maint/checkSpace.pl +++ b/scripts/maint/checkSpace.pl @@ -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); } |