]> git.donarmstrong.com Git - perltidy.git/commitdiff
added 'unless' to a hash to avoid unwanted valign rejections
authorSteve Hancock <perltidy@users.sourceforge.net>
Sun, 7 Jun 2020 13:38:02 +0000 (06:38 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sun, 7 Jun 2020 13:38:02 +0000 (06:38 -0700)
lib/Perl/Tidy/VerticalAligner.pm

index 87d9e11af51da31a76a34753d4ab8ce0ca938b9d..c59365c043a982e035f6a78dc750f68fa460d6cb 100644 (file)
@@ -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);