From 2fe5e72c61443460aeae55c1cd859eb2b9955d4f Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sat, 7 Nov 2020 16:29:34 -0800 Subject: [PATCH] convert octal data to decimal to avoid perlcritic complaint --- lib/Perl/Tidy/Tokenizer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Perl/Tidy/Tokenizer.pm b/lib/Perl/Tidy/Tokenizer.pm index 0d267269..4f38ae56 100644 --- a/lib/Perl/Tidy/Tokenizer.pm +++ b/lib/Perl/Tidy/Tokenizer.pm @@ -8532,8 +8532,8 @@ BEGIN { # Hash of other possible line endings which may occur. # Keep these coordinated with the regex where this is used. - # Note: chr(015)="\r". - @q = ( chr(015), chr(035), chr(032) ); + # Note: chr(13) = chr(015)="\r". + @q = ( chr(13), chr(29), chr(26) ); @other_line_endings{@q} = (1) x scalar(@q); # These keywords are handled specially in the tokenizer code: -- 2.39.5