aboutsummaryrefslogtreecommitdiff
path: root/contrib/checkSpace.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/checkSpace.pl')
-rwxr-xr-xcontrib/checkSpace.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/checkSpace.pl b/contrib/checkSpace.pl
index b694abff64..6eb32e5620 100755
--- a/contrib/checkSpace.pl
+++ b/contrib/checkSpace.pl
@@ -20,6 +20,10 @@ for $fn (@ARGV) {
if (/\t/) {
print " TAB:$fn:$.\n";
}
+ ## Warn about markers that don't have a space in front of them
+ if (/^[a-zA-Z_][a-zA-Z_0-9]*:/) {
+ print "nosplabel:$fn:$.\n";
+ }
## Warn about trailing whitespace.
if (/ +$/) {
print "Space\@EOL:$fn:$.\n";