aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-18 15:04:14 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-18 15:04:14 -0400
commit2b5bc5613cac86787a42d69b32a2acd3d7b5bae4 (patch)
tree6907abf20b5a3836f01acfb574152fb0b10f03c2 /scripts
parent94a88eaa45adfb05359ceed99aea572f9b123974 (diff)
parentf0e87ff9eb01ead1a959bd45bd8a3588479514c7 (diff)
downloadtor-2b5bc5613cac86787a42d69b32a2acd3d7b5bae4.tar.gz
tor-2b5bc5613cac86787a42d69b32a2acd3d7b5bae4.zip
Merge remote-tracking branch 'ewongbb/chkdblcolon'
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maint/checkSpace.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/maint/checkSpace.pl b/scripts/maint/checkSpace.pl
index 37dcc98af1..9929932cc5 100755
--- a/scripts/maint/checkSpace.pl
+++ b/scripts/maint/checkSpace.pl
@@ -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";