They will not be output but might cause incorrect line length calcs
EOM
};
+ # Remove any trailing blank, which is possible (c192 has example)
+ if ( $max_index_to_go >= 0 && $types_to_go[$max_index_to_go] eq 'b' ) {
+ $max_index_to_go -= 1;
+ }
+
return if ( $max_index_to_go < 0 );
if ($rOpts_line_up_parentheses) {
my $imin = 0;
my $imax = $max_index_to_go;
- # trim any blank tokens
+ # trim any blank tokens - for safety, but should not be necessary
if ( $types_to_go[$imin] eq 'b' ) { $imin++ }
if ( $types_to_go[$imax] eq 'b' ) { $imax-- }