]> git.donarmstrong.com Git - perltidy.git/commitdiff
Do not allow space after token type Y (filehandle) to be removed
authorSteve Hancock <perltidy@users.sourceforge.net>
Sun, 17 Jan 2021 13:28:23 +0000 (05:28 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sun, 17 Jan 2021 13:28:23 +0000 (05:28 -0800)
local-docs/BugLog.pod

index 71bccffd5236626856e574cc3579100fe920e232..af08da143ab9030a4465463e3c97f63b0dcbd6c2 100644 (file)
@@ -2,6 +2,14 @@
 
 =over 4
 
+=item B<Modified spacing rule for token type Y>
+
+A space following a token type 'Y' (filehandle) should not be removed.
+Otherwise it might be converted into type 'Z' (possible filehandle). If
+that were to happen, the space could not be added back automatically
+in later formatting, so the user would have to do it by hand.  This
+fix prevents this from happening.
+
 =item B<Fixed blinker related to line break at indirect object>
 
 In random testing a blinker was reduced to the following snippet