|
@@ -3621,7 +3621,7 @@ sub process {
|
|
|
# if should not continue a brace
|
|
|
if ($line =~ /}\s*if\b/) {
|
|
|
ERROR("TRAILING_STATEMENTS",
|
|
|
- "trailing statements should be on next line\n" .
|
|
|
+ "trailing statements should be on next line (or did you mean 'else if'?)\n" .
|
|
|
$herecurr);
|
|
|
}
|
|
|
# case and default should not have general statements after them
|