diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-04-13 12:55:09 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-29 09:56:06 -0600 |
commit | ca8b19a7e3b4dc718b3e607b8460ff6454a9beff (patch) | |
tree | f4e7424330ac581ef05032d5620144209f26c977 /toke.c | |
parent | 76e6dc3a786387b6174655bd76877e406a342e5b (diff) | |
download | perl-ca8b19a7e3b4dc718b3e607b8460ff6454a9beff.tar.gz |
toke.c: An EBCDIC fix
toCTRL(0..31) yields a printing character. This is different from
toCTRL(control) on EBCDIC machines.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -586,7 +586,7 @@ S_missingterm(pTHX_ char *s) if (nl) *nl = '\0'; } - else if (isCNTRL(PL_multi_close)) { + else if ((U8) PL_multi_close < 32) { *tmpbuf = '^'; tmpbuf[1] = (char)toCTRL(PL_multi_close); tmpbuf[2] = '\0'; |