diff --git a/util/morestyle.pl b/util/morestyle.pl index acbc4c447..16176e439 100755 --- a/util/morestyle.pl +++ b/util/morestyle.pl @@ -93,6 +93,7 @@ if ($line =~ /\\$/) { $comment_not_end = 1; + } else { $one_line_comment = 1; } @@ -205,6 +206,9 @@ $var_line = $line; save_var(); + } elsif ($line =~ /^\s+[\+\-\*\/] [\s\w\(\)\+\-\*\/\.\-\>]/) { + # ignoring line with a portion of a wrapped expression + } elsif (!$cur_line_is_empty) { if ($n_vars > 0 && $min_var_space - $max_var_type > 3) { var_output "excessive spacing in variable alignment: needs 2 spaces from longest type to first name/pointer.";