summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1999-08-29 12:46:53 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-30 02:57:05 +0000
commit4a2d328fcdc90a0fcbd435b479571aad60159771 (patch)
tree462cf5ff96f435b65c4ea7c9cbcc12daf97821a3 /toke.c
parentd4bea2fb9d94a2ce4ff340ae9eab604f38ab2d31 (diff)
downloadperl-4a2d328fcdc90a0fcbd435b479571aad60159771.tar.gz
Use \N{named characters} instead of \C.
To: jhi@iki.fi Cc: larry@wall.org (Larry Wall), Tim.Bunce@ig.co.uk (Tim Bunce), perl5-porters@perl.org (Mailing list Perl5) Subject: Re: [PATCH 5.005_58] Named characters in Perl Message-Id: <199908292046.QAA05510@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4052
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toke.c b/toke.c
index 326c284ff5..f68e97503a 100644
--- a/toke.c
+++ b/toke.c
@@ -1151,7 +1151,7 @@ S_scan_const(pTHX_ char *start)
: UTF;
char *leaveit = /* set of acceptably-backslashed characters */
PL_lex_inpat
- ? "\\.^$@AGZdDwWsSbBpPXO+*?|()-nrtfeaxcz0123456789[{]} \t\n\r\f\v#"
+ ? "\\.^$@AGZdDwWsSbBpPXC+*?|()-nrtfeaxcz0123456789[{]} \t\n\r\f\v#"
: "";
while (s < send || dorange) {
@@ -1372,8 +1372,8 @@ S_scan_const(pTHX_ char *start)
}
continue;
- /* \C{latin small letter a} is a named character */
- case 'C':
+ /* \N{latin small letter a} is a named character */
+ case 'N':
++s;
if (*s == '{') {
char* e = strchr(s, '}');