Warn("Conflicting parameters: -iob and -boc; -boc will be ignored\n"
);
}
+ if ( $rOpts->{'break-at-old-semicolon-breakpoints'} ) {
+ Warn("Conflicting parameters: -iob and -bos; -bos will be ignored\n"
+ );
+ }
# Note: there are additional parameters that can be made inactive by
# -iob, but they are on by default so we would generate excessive
# warnings if we noted them. They are:
# $rOpts->{'break-at-old-keyword-breakpoints'}
# $rOpts->{'break-at-old-logical-breakpoints'}
- # $rOpts->{'break-at-old-method-breakpoints'}
- # $rOpts->{'break-at-old-semicolon-breakpoints'}
# $rOpts->{'break-at-old-ternary-breakpoints'}
# $rOpts->{'break-at-old-attribute-breakpoints'}
}
my $rOpts_short_concatenation_item_length =
$rOpts->{'short-concatenation-item-length'};
+ my $rOpts_break_at_old_semicolon_breakpoints =
+ $rOpts->{'break-at-old-semicolon-breakpoints'};
# Make a list of all good joining tokens between the lines
# n-1 and n.
# do any special checks for it
if ( $n == $nmax ) {
+ next
+ if ( $type_ibeg_2 eq ';'
+ && $rOpts_break_at_old_semicolon_breakpoints );
+
# a terminal '{' should stay where it is
# unless preceded by a fat comma
next if ( $type_ibeg_2 eq '{' && $type_iend_1 ne '=>' );
--- /dev/null
+ $top_label->set_text( gettext("check permissions.") )
+ ;
--- /dev/null
+ $top_label->set_text( gettext("check permissions.") )
+ ;
--- /dev/null
+ $top_label->set_text( gettext("check permissions.") );
../snippets17.t wn7.wn
../snippets17.t wn8.def
../snippets17.t wn8.wn
+../snippets17.t pbp6.def
+../snippets17.t pbp6.pbp
../snippets2.t angle.def
../snippets2.t arrows1.def
../snippets2.t arrows2.def
../snippets9.t rt98902.def
../snippets9.t rt98902.rt98902
../snippets9.t rt99961.def
-../snippets17.t pbp6.def
-../snippets17.t pbp6.pbp
+../snippets17.t bos.bos
+../snippets17.t bos.def
#9 wn8.wn
#10 pbp6.def
#11 pbp6.pbp
+#12 bos.bos
+#13 bos.def
# To locate test #13 you can search for its name or the string '#13'
# BEGIN SECTION 1: Parameter combinations #
###########################################
$rparams = {
+ 'bos' => "-bos",
'def' => "",
'pbp' => "-pbp -nst -nse",
'rperl' => "-l=0",
############################
$rsources = {
+ 'bos' => <<'----------',
+ $top_label->set_text( gettext("check permissions.") )
+ ;
+----------
+
'pbp6' => <<'----------',
# These formerly blinked with -pbp
return $width1*$common_length*(
#11...........
},
+
+ 'bos.bos' => {
+ source => "bos",
+ params => "bos",
+ expect => <<'#12...........',
+ $top_label->set_text( gettext("check permissions.") )
+ ;
+#12...........
+ },
+
+ 'bos.def' => {
+ source => "bos",
+ params => "def",
+ expect => <<'#13...........',
+ $top_label->set_text( gettext("check permissions.") );
+#13...........
+ },
};
my $ntests = 0 + keys %{$rtests};