From: Steve Hancock Date: Thu, 5 Mar 2020 15:05:46 +0000 (-0800) Subject: Fix RT#132059, -dac was not working X-Git-Tag: 20200619~135 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=aede2057f417f1c634da114ec803724f91427548;p=perltidy.git Fix RT#132059, -dac was not working --- diff --git a/BUGS.md b/BUGS.md index 1ec2b487..a64b8ae1 100644 --- a/BUGS.md +++ b/BUGS.md @@ -38,6 +38,21 @@ perltidy is untangling complex ternary statements. Use the iteration parameter **-it=2** if it is important that the results be unchanged on subsequent passes, but note that this doubles the run time. +## Perltidy does not look for here-document targets inside of quoted strings + +For example, consider the following script + +``` +print "${ \<{'delete-side-comments'} ) + # if there is a side comment... + # Even if we deleted it! Otherwise, + # i-K indexing will have a gap and be incorrect ( see RT #132059) + ## ( ( $type eq '#' ) && !$rOpts->{'delete-side-comments'} ) + $type eq '#' # if this line ends in a quote # NOTE: This is critically important for insuring that quoted lines diff --git a/local-docs/Release-Checklist.md b/local-docs/Release-Checklist.md index 8aadf475..8915e2e8 100644 --- a/local-docs/Release-Checklist.md +++ b/local-docs/Release-Checklist.md @@ -40,3 +40,10 @@ - Update CPAN tickets - Upload release to sourceforge - Update web sites +- Be sure to run the RUNME.sh file to tag this version and also push the tags to github. Check that the tags are uploaded at: + + https://github.com/perltidy/perltidy/tags + +- If you forget, or need to modify tags, see the directions in the book: + + https://git-scm.com/book/en/v2/Git-Basics-Tagging diff --git a/t/snippets/packing_list.txt b/t/snippets/packing_list.txt index a959c9d4..4ac53628 100644 --- a/t/snippets/packing_list.txt +++ b/t/snippets/packing_list.txt @@ -154,6 +154,7 @@ ../snippets16.t rt131288.def ../snippets16.t rt130394.rt130394 ../snippets16.t git18.def +../snippets16.t here2.def ../snippets2.t angle.def ../snippets2.t arrows1.def ../snippets2.t arrows2.def @@ -314,4 +315,5 @@ ../snippets9.t rt98902.def ../snippets9.t rt98902.rt98902 ../snippets9.t rt99961.def -../snippets16.t here2.def +../snippets17.t rt132059.def +../snippets17.t rt132059.rt132059