--keyword-group-blanks-after=2
--keyword-group-blanks-before=0
--keyword-group-blanks-size='1.8'
+
+==> c314.in <==
+ my $map =
+ {
+ dtend =>
+ { # 4.8.2.2
+ },
+ } ;
+
+==> c314.par <==
+--noadd-whitespace
+--indent-columns=0
+--line-up-parentheses
+--maximum-line-length=39
+--continuation-indentation=4
+
+==> c400.in <==
+Readonly::Array my @PATTERNS => ( # requires this side comment
+ ['A-Z','a-z','0-9','_'] => ['\\w', '\\W'],
+ ['A-Z','a-z'] => ['[[:alpha:]]','[[:^alpha:]]'],
+);
+
+==> c400.par <==
+--indent-columns=0
+--continuation-indentation=3
+--extended-line-up-parentheses
+--maximum-line-length=12
+--variable-maximum-line-length
my $v1;
my ( $v1, $v2, $v3, $v4 );
+
+==> c314 <==
+my $map ={
+dtend =>
+ { # 4.8.2.2
+ },
+} ;
+
+==> c400 <==
+Readonly::Array
+ my @PATTERNS
+ => ( # requires this side comment
+[
+ 'A-Z',
+ 'a-z',
+ '0-9',
+ '_'
+] => [
+ '\\w',
+ '\\W'
+],
+[
+ 'A-Z',
+ 'a-z'
+] => [
+'[[:alpha:]]',
+'[[:^alpha:]]'
+],
+ );
# comment we don't know what the space to the actual
# next code token will be. We will allow a space for
# sub correct_lp to move it in if necessary.
- if ( $type eq '#'
+ # NOTE for c314, c400: this fix is not really necessary,
+ # and it caused a DEVEL_MODE fault when -i=0.
+ # It could be completely removed, but this would change
+ # existing formatting in a few cases. So for now, the fix
+ # is to only skip this if -i=0.
+ if (
+ $type eq '#'
&& $max_index_to_go > 0
- && $align_seqno )
+ && $align_seqno
+
+ # fix for c314, c400 (see above note)
+ && $rOpts_indent_columns > 0
+ )
{
$available_spaces += 1;
}