summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-04-24 08:13:52 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-04-24 08:13:52 +0000
commit774a9426b458453030df1c98b66ac127ef21eeb4 (patch)
treeca3f9b8c521e7f8cf1d05d0d6e9e2c44fb696b36 /toke.c
parent4305d8abee2315e02cb395dec9deede4e7f9f179 (diff)
downloadperl-774a9426b458453030df1c98b66ac127ef21eeb4.tar.gz
POSIX-BC tweak (from Ignasi Roca <ignasi.roca@fujitsu.siemens.es>)
p4raw-id: //depot/perl@5925
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 48dad64e93..2035c3f1d9 100644
--- a/toke.c
+++ b/toke.c
@@ -1510,7 +1510,8 @@ S_scan_const(pTHX_ char *start)
*d = *s++;
if (isLOWER(*d))
*d = toUPPER(*d);
- *d++ = toCTRL(*d);
+ *d = toCTRL(*d);
+ d++;
#else
len = *s++;
*d++ = toCTRL(len);