aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/checksrc.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/checksrc.pl b/lib/checksrc.pl
index 2eff3e0cf..b9fa9362f 100755
--- a/lib/checksrc.pl
+++ b/lib/checksrc.pl
@@ -345,6 +345,9 @@ sub scanfile {
elsif($3 eq "return") {
# return must have a space
}
+ elsif($3 eq "case") {
+ # case must have a space
+ }
elsif($4 eq "*") {
# (* beginning makes the space OK!
}