%is_counted_type,
%is_opening_sequence_token,
%is_closing_sequence_token,
+ %matching_token,
%is_container_label_type,
%is_die_confess_croak_warn,
%is_my_our_local,
%space_after_keyword,
%tightness,
- %matching_token,
%opening_vertical_tightness,
%closing_vertical_tightness,
@q = qw< } ) ] : >;
@is_closing_sequence_token{@q} = (1) x scalar(@q);
+ %matching_token = (
+ '{' => '}',
+ '(' => ')',
+ '[' => ']',
+ '?' => ':',
+
+ '}' => '{',
+ ')' => '(',
+ ']' => '[',
+ ':' => '?',
+ );
+
# a hash needed by sub break_lists for labeling containers
@q = qw( k => && || ? : . );
@is_container_label_type{@q} = (1) x scalar(@q);
'[' => $rOpts->{'square-bracket-tightness'},
']' => $rOpts->{'square-bracket-tightness'},
);
- %matching_token = (
- '{' => '}',
- '(' => ')',
- '[' => ']',
- '?' => ':',
-
- '}' => '{',
- ')' => '(',
- ']' => '[',
- ':' => '?',
- );
if ( $rOpts->{'ignore-old-breakpoints'} ) {