diff options
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 c0f2410bfb..f64a22fb9b 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"; |