EOM
}
+ # do not allow negative --indent-columns
+ if ( $rOpts->{'indent-columns'} < 0 ) {
+ $rOpts->{'indent-columns'} = 0;
+ }
+
+ # negative ci is currently allowed provided that ci+i is not negative
+ if ( $rOpts->{'continuation-indentation'} < -$rOpts->{'indent-columns'} ) {
+ $rOpts->{'continuation-indentation'} = -$rOpts->{'indent-columns'};
+ }
+
my $sil = $rOpts->{'starting-indentation-level'};
if ( defined($sil) && $sil < 0 ) {
Die(<<EOM);
if ($2) { $spaces += length($2) }
# correct for outdented labels
- if ( $3 && $rOpts_outdent_labels ) {
+ if ( $3
+ && $rOpts_outdent_labels
+ && $rOpts_continuation_indentation > 0 )
+ {
$spaces += $rOpts_continuation_indentation;
}
}