From: Steve Hancock Date: Sat, 17 Nov 2018 01:16:22 +0000 (-0800) Subject: patch for RT#127633 X-Git-Tag: 20181117~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8db9ca309a7f501cac47c3cdc90e0de7f7784cb4;p=perltidy.git patch for RT#127633 --- diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index 4e50c2ed..a56ddc61 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -14825,10 +14825,10 @@ sub undo_forced_breakpoint_stack { # this is a very approximate test for this && ( - # RT#127633 - the leading tokens are not operators + # RT#127633 - the leading tokens are not operators ( $type_ibeg_2 ne $tokens_to_go[$ibeg_2] ) - # or they are different + # or they are different || ( $ibeg_3 >= 0 && $type_ibeg_2 ne $types_to_go[$ibeg_3] ) )