]> git.donarmstrong.com Git - perltidy.git/commitdiff
update comments
authorSteve Hancock <perltidy@users.sourceforge.net>
Mon, 31 May 2021 23:01:49 +0000 (16:01 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Mon, 31 May 2021 23:01:49 +0000 (16:01 -0700)
lib/Perl/Tidy/Formatter.pm

index fedd89f2efede11918fa875a324a8e685866aa96..0edba7dcc6a41586c3b261cbe417fe805e35bf08 100644 (file)
@@ -14140,7 +14140,11 @@ sub break_equals {
                     # handle leading "if" and "unless"
                     elsif ( $is_if_unless{ $tokens_to_go[$ibeg_2] } ) {
 
-                      # FIXME: This is still experimental..may not be too useful
+                        # Combine something like:
+                        #    next
+                        #      if ( $lang !~ /${l}$/i );
+                        # into:
+                        #    next if ( $lang !~ /${l}$/i );
                         next
                           unless (
                             $this_line_is_semicolon_terminated