next;
}
}
+
+ my $err;
if ( $pos eq '^' || $pos eq '*' ) {
- if ( defined( $rflags->[0] ) && $rflags ne $select ) {
- $msg1 .= " '$item_save'";
+ if ( defined( $rflags->[0] ) && $rflags->[0] ne $select ) {
+ $err = 1;
}
$rflags->[0] = $select;
}
if ( $pos eq '.' || $pos eq '*' ) {
- if ( defined( $rflags->[1] ) && $rflags ne $select ) {
- $msg1 .= " '$item_save'";
+ if ( defined( $rflags->[1] ) && $rflags->[1] ne $select ) {
+ $err = 1;
}
$rflags->[1] = $select;
}
+ if ($err) { $msg2 .= " '$item_save'"; }
}
if ($msg1) {
Warn(<<EOM);
}
if ($msg2) {
Warn(<<EOM);
-Multiple specifications were encountered in the --weld-nested-exclusion-list for:
+Multiple specifications were encountered in the --weld-nested-exclusion-list at:
$msg2
Only the last will be used.
EOM
=over 4
+=item B<Fix error message for multiple conflicting specifications in -wnxl>
+
+There was an error in the coding for an error message which checks for
+conflicting requests in the -wnxl parameter.
+
+Fixed 21 Mar 2021.
+
=item B<Fix issue git #57, Warn_count was not initialized>
This update fixes issue git #57, in which a warning flag was not getting zeroed
on each new call to perltidy.
-19 Mar 2021.
+19 Mar 2021, b6d296a.
=item B<Fix rare problem with combination -lp -wn -naws>