diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-10-20 13:10:41 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-10-20 13:27:31 -0600 |
commit | e2a80cb510d52963a6daffd5dec140417f3b625e (patch) | |
tree | 6ba6d411d90f7d126ae9ad10ebddac5f711bce21 /regen | |
parent | 75929b4b01bac1759d29bba98f74642bca7f57ae (diff) | |
download | perl-e2a80cb510d52963a6daffd5dec140417f3b625e.tar.gz |
regen/regcharclass.pl: White space only; no code changes
Indent as a result of a new block
Diffstat (limited to 'regen')
-rwxr-xr-x | regen/regcharclass.pl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/regen/regcharclass.pl b/regen/regcharclass.pl index 9a45fe03fa..b7dddd2efc 100755 --- a/regen/regcharclass.pl +++ b/regen/regcharclass.pl @@ -1033,16 +1033,16 @@ sub _cond_as_str { $range_count_extra++; # This range requires 2 branches to # represent - if ($ranges[$i]->[0] + 1 == $ranges[$i]->[1]) { - $ranges[$i] = "( " - . join( " || ", ( map - { sprintf "$self->{val_fmt} == $test", $_ } - @{$ranges[$i]} ) ) - . " )"; - } - else { # Full bounds checking - $ranges[$i] = sprintf("( $self->{val_fmt} <= $test && $test <= $self->{val_fmt} )", $ranges[$i]->[0], $ranges[$i]->[1]); - } + if ($ranges[$i]->[0] + 1 == $ranges[$i]->[1]) { + $ranges[$i] = "( " + . join( " || ", ( map + { sprintf "$self->{val_fmt} == $test", $_ } + @{$ranges[$i]} ) ) + . " )"; + } + else { # Full bounds checking + $ranges[$i] = sprintf("( $self->{val_fmt} <= $test && $test <= $self->{val_fmt} )", $ranges[$i]->[0], $ranges[$i]->[1]); + } } } } |