...;
}
-if ( ioctl ( STDERR, $TIOCGWINSZ,
- $winsize )
+if ( ioctl ( STDERR, $TIOCGWINSZ, $winsize
+ )
)
{
...;
==> b1396 <==
print 'not '
- unless ( near ( great_circle_distance ( 0, 0, 0, pi / 2 ),
- pi / 2 ) );
+ unless ( near (
+ great_circle_distance ( 0, 0, 0, pi / 2 ), pi / 2
+ ) );
print 'not '
- unless ( near ( great_circle_distance ( 0, 0, 0, pi / 2 ),
- pi / 2 ) );
+ unless ( near (
+ great_circle_distance ( 0, 0, 0, pi / 2 ), pi / 2
+ ) );
==> b1397 <==
(
- my $msg = sprintf ( gettext("%s: fatal error at line %d:\n"),
- $progname, $line )
+ my $msg = sprintf (
+ gettext("%s: fatal error at line %d:\n"), $progname, $line
+ )
. "@_\n"
) =~ tr/\0//d;
(
- my $msg = sprintf ( gettext("%s: fatal error at line %d:\n"),
- $progname, $line )
+ my $msg = sprintf (
+ gettext("%s: fatal error at line %d:\n"), $progname, $line
+ )
. "@_\n"
) =~ tr/\0//d;
# y - want scalar but no return seen
# s - want scalar but only arrays with count > 1 returned
$rwarn_mismatched_return_types =
- initialize_warn_hash( 'warn-mismatched-return-types',
- 1, [qw(x o u y s)] );
+ initialize_warn_hash( 'warn-mismatched-return-types', 1,
+ [qw(x o u y s)] );
$ris_warn_mismatched_return_excluded_name =
make_excluded_name_hash('warn-mismatched-return-exclusion-list');
return;
$weld_count_this_start = 0;
$weld_starts_in_block = 0;
- (
- my $new_weld_ok,
- $maximum_text_length, $starting_lentot, my $msg
- )
+ ( my $new_weld_ok, $maximum_text_length, $starting_lentot, my $msg )
= $self->setup_new_weld_measurements( $Kouter_opening,
$Kinner_opening );
# Increase tol when -atc and -dtc are both used to allow for
# possible loss in length on next pass due to a comma. Fixes b1455.
- if ( $rOpts_delete_trailing_commas && $rOpts_add_trailing_commas ) {
+ if (
+ $rOpts_delete_trailing_commas
+ && $rOpts_add_trailing_commas
+
+ # optional additional restriction which works for b1455:
+ && $rOpts_extended_continuation_indentation
+ && $rOpts_continuation_indentation > $rOpts_indent_columns
+ )
+ {
$tol += 1;
}
#----------------------------------------------------
# Create a hash of alignment token info for each line
#----------------------------------------------------
- (
- my $rline_hashes, my $requals_info,
- $saw_side_comment, $max_lev_diff
- )
+ ( my $rline_hashes, my $requals_info, $saw_side_comment, $max_lev_diff )
= make_alignment_info( $group_level, $rnew_lines, $saw_side_comment );
#------------------------------------------------------------