'one-line-block-exclusion-list' =>
[ 'sort', 'map', 'grep', 'eval', '*', 'zzyzx' ],
- 'break-at-trailing-comma-types' => [ '0', '*', 'm', 'b', 'h', 'i', ' ' ],
+ 'break-at-trailing-comma-types' => [ '0', '1', 'm', 'b' ],
'use-feature' => [ 'class', ' ', 'xyzzy' ],
--line-up-parentheses
--break-at-trailing-comma-types='b'
+==> b1499.in <==
+ ( $_[ 0 ] < 0 ) ?
+ -1 : (
+ ( $_[ 0 ] >0 ) ? 1 : 0 );
+
+ ( $_[0] < 0 ) ? -1 :
+ (
+ ( $_[0] > 0 ) ? 1 : 0 );
+
+==> b1499.par <==
+--maximum-line-length=25
+--variable-maximum-line-length
+--opening-paren-right
+--break-after-all-operators
+
==> b156.in <==
# State 1
{
@theme_args =
get_themes(
\%opt, (
- $2 ? $2 : (
+ $2 ? $2 :
+ (
shift(
@theme_args)
||
@theme_args =
get_themes(
\%opt, (
- $2 ? $2 : (
+ $2 ? $2 :
+ (
shift(
@theme_args)
||
==> b1440 <==
$comp = (
- $form->[3] ? (
+ $form->[3] ?
+ (
$im3->dummy( 0, 3 ) > 0 ) *
255 :
( $im3 > 0 ) );
$comp = (
- $form->[3] ? (
+ $form->[3] ?
+ (
$im3->dummy( 0, 3 ) > 0 ) *
255 :
( $im3 > 0 ) );
ruler_make_tab( $c, $x, $y, $rinfo ),
);
+==> b1499 <==
+ ( $_[0] < 0 ) ?
+ -1 :
+ (
+ ( $_[0] > 0 ) ? 1 : 0 );
+
+ ( $_[0] < 0 ) ?
+ -1 :
+ (
+ ( $_[0] > 0 ) ? 1 : 0 );
+
==> b156 <==
# State 1
{
return;
} ## end sub examine_vertical_tightness_flags
+my %is_uncovered_operator;
+
+# b1060, b1499
+BEGIN {
+ my @q = qw( ? : && || );
+ @is_uncovered_operator{@q} = (1) x scalar(@q);
+}
+
sub set_vertical_tightness_flags {
my (
# Fix for case b1060 when both -baoo and -otr are set:
# to avoid blinking, honor the -baoo flag over the -otr flag.
- && $token_end ne '||' && $token_end ne '&&'
+ # b1499 added ? and : for same reason
+ ##&& $token_end ne '||' && $token_end ne '&&'
+ && !$is_uncovered_operator{$token_end}
# Keep break after '=' if -lp. Fixes b964 b1040 b1062 b1083 b1089.
# Generalized from '=' to $is_assignment to fix b1375.