aboutsummaryrefslogtreecommitdiff
path: root/contrib/checkSpace.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/checkSpace.pl')
-rwxr-xr-xcontrib/checkSpace.pl6
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";