]> git.donarmstrong.com Git - perltidy.git/commitdiff
fix error parsing '$$*'
authorSteve Hancock <perltidy@users.sourceforge.net>
Tue, 3 Nov 2020 01:18:05 +0000 (17:18 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Tue, 3 Nov 2020 01:18:05 +0000 (17:18 -0800)
local-docs/BugLog.pod

index a89d29effc815015d048744d26f118afb0cb7c93..9ab5398511a5824c4c6cbc18daeee15e4a9ae853 100644 (file)
@@ -2,6 +2,18 @@
 
 =over 4
 
+=item B<Fix problem parsing '$$*'>
+
+In random testing, an error was encountered parsing the following line
+
+  $self->{"mod_id"}=($$*1001)%(10**(rand()*6));
+                       ---^
+  found Number where operator expected (previous token underlined)
+
+The line parsed correctly with a space between the '$$' and the '*'. The
+problem had to do with an error in some newer code for postfix dereferencing,
+and this was fixed on 2 Nov 2020.
+
 =item B<Update for git #44, fix exit status for assert-tidy/untidy>
 
 The exit status was always 0 for --assert-tidy if the user had turned off error