From 6f5dbefa7efe0c0c86928777b8821b3fdc91cf45 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 28 Nov 2004 09:05:49 +0000 Subject: Normalize space: add one between every control keyword and control clause. svn:r3003 --- contrib/checkSpace.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib') 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"; -- cgit v1.2.3-54-g00ecf