commit 2b5bc5613cac86787a42d69b32a2acd3d7b5bae4
parent 94a88eaa45adfb05359ceed99aea572f9b123974
Author: Nick Mathewson <nickm@torproject.org>
Date: Mon, 18 Sep 2017 15:04:14 -0400
Merge remote-tracking branch 'ewongbb/chkdblcolon'
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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";