From: Steve Hancock Date: Tue, 3 Nov 2020 01:18:05 +0000 (-0800) Subject: fix error parsing '$$*' X-Git-Tag: 20201001.03~13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2a4a5d38aba401de1295d66c9c43d19955a44c35;p=perltidy.git fix error parsing '$$*' --- diff --git a/local-docs/BugLog.pod b/local-docs/BugLog.pod index a89d29ef..9ab53985 100644 --- a/local-docs/BugLog.pod +++ b/local-docs/BugLog.pod @@ -2,6 +2,18 @@ =over 4 +=item B + +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 The exit status was always 0 for --assert-tidy if the user had turned off error