]> git.donarmstrong.com Git - perltidy.git/commitdiff
minor optimization
authorSteve Hancock <perltidy@users.sourceforge.net>
Wed, 18 Aug 2021 01:45:28 +0000 (18:45 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Wed, 18 Aug 2021 01:45:28 +0000 (18:45 -0700)
lib/Perl/Tidy/Formatter.pm

index ae44e4dd1be8251adaedb9c403a38513e29526d2..4d289980d8ae200dabb00f7c1ce9a763d6ff59c0 100644 (file)
@@ -19372,7 +19372,7 @@ sub send_lines_to_vertical_aligner {
             $type_end_next  = $rLL->[$Kend_next]->[_TYPE_];
             $ljump = $rLL->[$Kbeg_next]->[_LEVEL_] - $rLL->[$Kend]->[_LEVEL_];
         }
-        else {
+        elsif ( !$is_block_comment ) {
 
             # Patch for git #51, a bare closing qw paren was not outdented
             # if the flag '-nodelete-old-newlines is set