summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-02-05 14:54:47 -0700
committerKarl Williamson <public@khwilliamson.com>2014-02-05 15:47:05 -0700
commit421e43ba3017755892f18a5690b66a6ed8717fa9 (patch)
treec668b5dfe9085cfa3d915c85ccb7feab72f04b42 /toke.c
parent2bd1cbf6ef490552a1de7d86d43c05162e3e5e91 (diff)
downloadperl-421e43ba3017755892f18a5690b66a6ed8717fa9.tar.gz
Forbid "\c{" and \c{non-ascii}
These constructs have been deprecated since v5.14 with the intention of making them fatal in 5.18. This wasn't done; and is being done now.
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 290af0780c..766685d016 100644
--- a/toke.c
+++ b/toke.c
@@ -3777,7 +3777,7 @@ S_scan_const(pTHX_ char *start)
case 'c':
s++;
if (s < send) {
- *d++ = grok_bslash_c(*s++, has_utf8, 1);
+ *d++ = grok_bslash_c(*s++, 1);
}
else {
yyerror("Missing control char name in \\c");