From: Steve Hancock Date: Sun, 7 Jun 2020 13:38:02 +0000 (-0700) Subject: added 'unless' to a hash to avoid unwanted valign rejections X-Git-Tag: 20200619~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d6c6c05ee9befe6bd59316b046ae9ab839d9b41d;p=perltidy.git added 'unless' to a hash to avoid unwanted valign rejections --- diff --git a/lib/Perl/Tidy/VerticalAligner.pm b/lib/Perl/Tidy/VerticalAligner.pm index 87d9e11a..c59365c0 100644 --- a/lib/Perl/Tidy/VerticalAligner.pm +++ b/lib/Perl/Tidy/VerticalAligner.pm @@ -3132,7 +3132,7 @@ sub delete_unmatched_tokens { BEGIN { my @q = qw( - if or || + if unless or || ); @is_if_or{@q} = (1) x scalar(@q);