code-skipping-begin
code-skipping-end
line-range-tidy
+
+ vertical-tightness
+ vertical-tightness-closing
);
+ # Added vertical-tightness and vertical-tightness-closing because
+ # they are expansions. They should not be among the options. (c271)
+
my %skip;
@skip{@q} = (1) x scalar(@q);
--vertical-tightness=2
--weld-nested-containers
+==> b1460.in <==
+# S1;
+ diag "Connected to "
+ . inet_ntoa (( unpack_sockaddr_in (
+ getpeername (T)
+ ) )[1] ) . "\n" ;
+
+# S2
+ diag "Connected to "
+ . inet_ntoa (
+ (unpack_sockaddr_in (
+ getpeername (T)
+ )
+ )[1] ) . "\n" ;
+
+
+==> b1460.par <==
+--continuation-indentation=6
+--extended-line-up-parentheses
+--indent-columns=1
+--maximum-line-length=43
+--space-function-paren
+--stack-closing-paren
+--stack-opening-paren
+--vertical-tightness=2
+--weld-nested-containers
+
==> b148.in <==
# state 1
@yydgoto=(
==> b1020 <==
# S1
{
- return(self->_testStrand($other,$so)and not((
+ return(
+ self->_testStrand($other,$so)and not((
$self->start()>$other->end()
or$self->end()<$other->start()
))
exec_stmt ( $i_cond->[ 1 ] );
} } }
+==> b1460 <==
+ # S1;
+ diag "Connected to "
+ . inet_ntoa (
+ ( unpack_sockaddr_in (
+ getpeername(T)
+ ) )[1] ) . "\n";
+
+ # S2
+ diag "Connected to "
+ . inet_ntoa (
+ ( unpack_sockaddr_in (
+ getpeername(T)
+ ) )[1] ) . "\n";
+
+
==> b148 <==
# state 1
@yydgoto=(
# requested
my $ovt = $opening_vertical_tightness{$token_end};
- # Turn off the -vt flag if the next line ends in a weld.
- # This avoids an instability with one-line welds (fixes b1183).
- my $type_end_next = $types_to_go[$iend_next];
- $ovt = 0
- if ( $self->[_rK_weld_left_]->{ $K_to_go[$iend_next] }
- && $is_closing_type{$type_end_next} );
+ # if we are in -lp and the next line ends in a weld..
+ if ( $rOpts_line_up_parentheses
+ && $self->[_rK_weld_left_]->{ $K_to_go[$iend_next] } )
+ {
+ my $type_end_next = $types_to_go[$iend_next];
+
+ # Turn off -vt if the next line ends in a closing token. This
+ # avoids an instability with one-line welds (b1183).
+ if ( $is_closing_type{$type_end_next} ) {
+ $ovt = 0;
+ }
+
+ # Turn off -vt if the next line ends in an opening token. This
+ # avoids an instability (b1460).
+ elsif ( $is_opening_type{$type_end_next} ) {
+ $ovt = 0;
+ }
+ }
# The flag '_rbreak_container_' avoids conflict of -bom and -pt=1
# or -pt=2; fixes b1270. See similar patch above for $cvt.