my %block_type_map;
my %keyword_map;
my %operator_map;
+ my %is_w_n_C;
BEGIN {
'*=' => '+=',
'/=' => '+=',
);
+
+ %is_w_n_C = (
+ 'w' => 1,
+ 'n' => 1,
+ 'C' => 1,
+ );
}
sub delete_needless_alignments {
# Mark most things before arrows as a quote to
# get them to line up. Testfile: mixed.pl.
- if ( ( $i < $iend - 1 ) && ( $type =~ /^[wnC]$/ ) ) {
+ # $type =~ /^[wnC]$/
+ if ( $i < $iend - 1 && $is_w_n_C{$type} ) {
my $next_type = $types_to_go[ $i + 1 ];
my $i_next_nonblank =
( ( $next_type eq 'b' ) ? $i + 2 : $i + 1 );