--indent-columns=1
--square-bracket-vertical-tightness-closing=1
+==> b1331.in <==
+# S1
+WriteMakefile PREREQ_PM =>
+ { # e.g., Module::Name => 1.1
+ 'ExtUtils::MakeMaker' => 5.45,
+ 'LWP::UserAgent' => 0,
+ },
+ ;
+
+# S2
+WriteMakefile PREREQ_PM =>
+ { # e.g., Module::Name => 1.1
+ 'ExtUtils::MakeMaker' => 5.45,
+ 'LWP::UserAgent' => 0,
+ },
+ ;
+
+
+==> b1331.par <==
+--extended-line-up-parentheses
+--maximum-line-length=32
+
==> b1332.in <==
# S1
$b->configure (
defined($K_c)
&& $rLL->[$K_terminal]->[_TYPE_] eq ','
- # Ignore a terminal comma, causes instability (b1297, b1330)
+ # Ignore if terminal comma, causes instability (b1297, b1330)
&& (
$K_c - $K_terminal > 2
|| ( $K_c - $K_terminal == 2
my $leng = $rLL->[$Kend]->[_CUMULATIVE_LENGTH_] -
$rLL->[ $K_first - 1 ]->[_CUMULATIVE_LENGTH_];
+ # Fix for b1331: at a broken => item, include the length of
+ # the previous half of the item plus one for the missing space
+ if ( $last_nonblank_type eq '=>' ) {
+ $leng += $len + 1;
+ }
+
if ( $leng > $max_prong_len ) { $max_prong_len = $leng }
}
}
if ( $len > $max_prong_len ) { $max_prong_len = $len }
# but only include one => per item
- if ( $last_nonblank_type eq '=>' ) { $len = $token_length }
+ $len = $token_length;
}
# include everthing to end of line after a here target