]> git.donarmstrong.com Git - perltidy.git/commitdiff
update comments
authorSteve Hancock <perltidy@users.sourceforge.net>
Sat, 25 Jun 2022 00:04:22 +0000 (17:04 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sat, 25 Jun 2022 00:04:22 +0000 (17:04 -0700)
lib/Perl/Tidy/Tokenizer.pm

index a05da9344232ef4fb765191976e96e7309c22dc4..28c62f70272deae3fc79e7f05014674c9dff12b0 100644 (file)
@@ -2045,6 +2045,14 @@ EOM
         # This gives the same results as the full scanner in about 1/4 the
         # total runtime for a typical input stream.
 
+        # Notation:
+        #     $var * 2
+        #     ^^   ^
+        #     ||  |
+        #     ||  ---- $i_next [= next nonblank pretoken ]
+        #     |----$i_plus_1 [= a bareword ]
+        #     ---$i_begin [= a sigil]
+
         my $i_begin   = $i;
         my $tok_begin = $tok;
         my $i_plus_1  = $i + 1;