summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-27 14:52:21 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-28 22:58:52 -0800
commitdcbac5bbcda3f6b893eade5bc95878a443cbe563 (patch)
tree8e69379c182533f93148eb4a6dc7ed69d197cdb1 /utf8.c
parent6ad282c70d80576d5d66b25af19780fde18afd42 (diff)
downloadperl-dcbac5bbcda3f6b893eade5bc95878a443cbe563.tar.gz
diag_listed_as galore
In two instances, I actually modified to code to avoid %s for a constant string, as it should be faster that way.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.c b/utf8.c
index e98538636c..23308a368d 100644
--- a/utf8.c
+++ b/utf8.c
@@ -2776,6 +2776,7 @@ S_swash_scan_list_line(pTHX_ U8* l, U8* const lend, UV* min, UV* max, UV* val,
else {
*val = 0;
if (typeto) {
+ /* diag_listed_as: To%s: illegal mapping '%s' */
Perl_croak(aTHX_ "%s: illegal mapping '%s'",
typestr, l);
}
@@ -2790,6 +2791,7 @@ S_swash_scan_list_line(pTHX_ U8* l, U8* const lend, UV* min, UV* max, UV* val,
if (wants_value) {
*val = 0;
if (typeto) {
+ /* diag_listed_as: To%s: illegal mapping '%s' */
Perl_croak(aTHX_ "%s: illegal mapping '%s'", typestr, l);
}
}