diff options
author | Karl Williamson <khw@cpan.org> | 2015-03-09 12:37:24 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-09-14 22:38:35 -0600 |
commit | bc37b130604215b78ec3e03d73b81cb08cfa741e (patch) | |
tree | 6539f673889e8f59392f01cfe98e527ccf48dde0 /regcharclass.h | |
parent | c79631a1c8b4ecf3ec1fc557c875d412058b3e47 (diff) | |
download | perl-bc37b130604215b78ec3e03d73b81cb08cfa741e.tar.gz |
PATCH [perl #120790] Unicode::UCD failure to warn on bad input
This ticket was originally because the requester did not realize the
function Unicode::UCD::charscript took a code point argument instead of
a chr one. It was rejected on that basis. But discussion here
suggested it would be better to warn on bad input instead of just
returning <undef>. It turns out that all other routines in Unicode::UCD
but charscript and charblock already do warn. This commit extends that
to the two outlier returns.
Diffstat (limited to 'regcharclass.h')
-rw-r--r-- | regcharclass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regcharclass.h b/regcharclass.h index 5de7097942..ab653aebea 100644 --- a/regcharclass.h +++ b/regcharclass.h @@ -2472,7 +2472,7 @@ #endif /* H_REGCHARCLASS */ /* Generated from: - * 0bca60a25eb4ccf2e04f50446db5f882322f50a9c61dc57bb806ccfc9b2e26a4 lib/Unicode/UCD.pm + * 40444e5cd670b57be97020416a80439abe6d08dc75b4fd29745894749183e9a0 lib/Unicode/UCD.pm * ae98bec7e4f0564758eed81eca5015481ba32581f8a735a825b71b3bba714450 lib/unicore/ArabicShaping.txt * 1687fe5994eb7e5c0dab8503fc2a1b3b479d91af9d3b8055941c9bd791f7d0b5 lib/unicore/BidiBrackets.txt * 350d1302116194b0b21def287434b55c5088098fbc726e879f7420a391965643 lib/unicore/BidiMirroring.txt |