summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-01 02:02:08 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-01 02:02:08 +0000
commit4193bef7c285e086ba2845c76259534be73b65fa (patch)
treef762c513beaf6c4aa64ff14bd2e5c242ce0dd8b3 /regcomp.c
parent93e59c9bee9efc338fe8dcf2f9ff64b65373a4d7 (diff)
downloadperl-4193bef7c285e086ba2845c76259534be73b65fa.tar.gz
Further tweaks to the Unicode properties.
p4raw-id: //depot/perl@12286
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index dda273d7bd..96bafd3162 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2881,7 +2881,7 @@ tryagain:
if (!RExC_end) {
RExC_parse += 2;
RExC_end = oldregxend;
- vFAIL("Missing right brace on \\p{}");
+ vFAIL2("Missing right brace on \\%c{}", UCHARAT(RExC_parse - 2));
}
RExC_end++;
}
@@ -3085,7 +3085,7 @@ tryagain:
/* FALL THROUGH */
default:
if (!SIZE_ONLY && ckWARN(WARN_REGEXP) && isALPHA(*p))
- vWARN2(p +1, "Unrecognized escape \\%c passed through", *p);
+ vWARN2(p + 1, "Unrecognized escape \\%c passed through", UCHARAT(p));
goto normal_default;
}
break;