]> git.donarmstrong.com Git - perltidy.git/commitdiff
fixed MANIFEST and some formatting before release 20200619
authorSteve Hancock <perltidy@users.sourceforge.net>
Fri, 19 Jun 2020 03:05:10 +0000 (20:05 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Fri, 19 Jun 2020 03:05:10 +0000 (20:05 -0700)
MANIFEST
lib/Perl/Tidy/Tokenizer.pm

index 2cebfab33f2f3e0e9f5d5e77931b1f49e5891899..3c8243cbdfc10758e013ff6437ccd0ac25775372 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -83,4 +83,3 @@ t/testsa.t
 t/testss.t
 t/testwide.pl.src
 t/testwide.t
-t/testwide.t.tdy
index beeadbf0056af3b73f629fd54b994c34623c0d6f..94d10e503ff2b7edeacf728d75e9e52caef7ee23 100644 (file)
@@ -2162,16 +2162,16 @@ sub prepare_for_a_new_file {
                 $in_attribute_list = 1;
             }
 
-           # Look for Switch::Plain syntax if an error would otherwise occur
-           # here. Note that we do not need to check if the extended syntax
-           # flag is set because otherwise an error would occur, and we would
-           # then have to output a message telling the user to set the
-           # extended syntax flag to avoid the error.
+            # Look for Switch::Plain syntax if an error would otherwise occur
+            # here. Note that we do not need to check if the extended syntax
+            # flag is set because otherwise an error would occur, and we would
+            # then have to output a message telling the user to set the
+            # extended syntax flag to avoid the error.
             #  case 1: {
             #  default: {
             #  default:
             # Note that the line 'default:' will be parsed as a label elsewhere.
-            elsif ($is_case_default{$statement_type}
+            elsif ( $is_case_default{$statement_type}
                 && !is_balanced_closing_container(QUESTION_COLON) )
             {
                 # mark it as a perltidy label type