diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
commit | 6f5dbefa7efe0c0c86928777b8821b3fdc91cf45 (patch) | |
tree | e92106bd8cac85684983daf62d952a9d8e6b8f18 /contrib | |
parent | 67dc7baa59e2b38a6720d843b54257ca0dd9e722 (diff) | |
download | tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.tar tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.tar.gz |
Normalize space: add one between every control keyword and control clause.
svn:r3003
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/checkSpace.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/checkSpace.pl b/contrib/checkSpace.pl index c0f2410bf..f64a22fb9 100755 --- a/contrib/checkSpace.pl +++ b/contrib/checkSpace.pl @@ -18,9 +18,9 @@ for $fn (@ARGV) { print "Space\@EOL:$fn:$.\n"; } ## Warn about control keywords without following space. - #if (/\s(?:if|while|for|switch)\(/) { - # print " KW(:$fn:$.\n"; - #} + if (/\s(?:if|while|for|switch)\(/) { + print " KW(:$fn:$.\n"; + } ## Warn about multiple empty lines. if ($lastnil && /^$/) { print " DoubleNL:$fn:$.\n"; |