checkSpace: remove the nosplabel test.

This commit is contained in:
Nick Mathewson 2019-12-17 13:58:01 -05:00
parent 573ab70bfe
commit f1d371bf32
2 changed files with 3 additions and 4 deletions

View File

@ -58,9 +58,9 @@ for my $fn (@ARGV) {
} }
## Warn about labels that don't have a space in front of them ## Warn about labels that don't have a space in front of them
# (We indent every label at least one space) # (We indent every label at least one space)
if (/^[a-zA-Z_][a-zA-Z_0-9]*:/) { #if (/^[a-zA-Z_][a-zA-Z_0-9]*:/) {
msg "nosplabel:$fn:$.\n"; # msg "nosplabel:$fn:$.\n";
} #}
## Warn about trailing whitespace. ## Warn about trailing whitespace.
# (We don't allow whitespace at the end of the line; make your # (We don't allow whitespace at the end of the line; make your
# editor highlight it for you so you can stop adding it in.) # editor highlight it for you so you can stop adding it in.)

View File

@ -5,7 +5,6 @@
tp fn():./dubious.c:15 tp fn():./dubious.c:15
Wide:./dubious.c:17 Wide:./dubious.c:17
TAB:./dubious.c:24 TAB:./dubious.c:24
nosplabel:./dubious.c:26
CR:./dubious.c:30 CR:./dubious.c:30
Space@EOL:./dubious.c:32 Space@EOL:./dubious.c:32
non-K&R {:./dubious.c:39 non-K&R {:./dubious.c:39