summaryrefslogtreecommitdiff
path: root/ext/B
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-04 00:25:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-04 00:25:33 +0000
commitfc132725ed490232a6e690efa38edb96914546a6 (patch)
tree9a5e288c27ffa309d75eedfb102929c9f602a6ca /ext/B
parent57aa3c4e03f4cbb463b4d524a054cc846d837648 (diff)
downloadperl-fc132725ed490232a6e690efa38edb96914546a6.tar.gz
The EBCDIC gaps apply only to the real A-Z.
p4raw-id: //depot/perl@14969
Diffstat (limited to 'ext/B')
-rw-r--r--ext/B/B/Deparse.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/B/B/Deparse.pm b/ext/B/B/Deparse.pm
index 14269ad14d..5a61a6dbd1 100644
--- a/ext/B/B/Deparse.pm
+++ b/ext/B/B/Deparse.pm
@@ -3089,8 +3089,7 @@ sub escape_str { # ASCII, UTF8
$str =~ s/\e/\\e/g;
$str =~ s/\f/\\f/g;
$str =~ s/\r/\\r/g;
- # The funny gaps are for the benefit of EBCDIC.
- $str =~ s/([\cA-\cI\cJ-\cR\cS-\cZ])/$unctrl{$1}/ge;
+ $str =~ s/([\cA-\cZ])/$unctrl{$1}/ge;
$str =~ s/([[:^print:]])/sprintf("\\%03o", ord($1))/ge;
return $str;
}