summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-08-01 09:46:12 -0600
committerKarl Williamson <khw@cpan.org>2014-08-21 13:12:26 -0600
commitda0334e84bccb9964f9752cf3ad04aa2ccff66b3 (patch)
tree23a2b9490bdbf3f495afd0a763239cb97bfab7da /toke.c
parentce35670b0246af244ee918291922bdea03d58c4b (diff)
downloadperl-da0334e84bccb9964f9752cf3ad04aa2ccff66b3.tar.gz
Use constant now defined for ESC
This avoids a runtime translation
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index be4c8a56a0..d2e9eee735 100644
--- a/toke.c
+++ b/toke.c
@@ -3496,7 +3496,7 @@ S_scan_const(pTHX_ char *start)
*d++ = '\t';
break;
case 'e':
- *d++ = ASCII_TO_NATIVE('\033');
+ *d++ = ESC_NATIVE;
break;
case 'a':
*d++ = '\a';