Skip to content

Commit 3aca733

Browse files
committed
perlapi: DIE_IF_MALFORMED overrides CHECK_ONLY
This documents the change in the previous commit
1 parent 9540191 commit 3aca733

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utf8.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,8 @@ C<*retlen> with the C<uvchr> family of functions (for the worse). It is not
13041304
likely to be of use to you. You can use C<UTF8_ALLOW_ANY> (described below) to
13051305
also turn off warnings, and that flag doesn't adversely affect C<*retlen>.
13061306
1307+
This flag is ignored if C<UTF8_DIE_IF_MALFORMED> is also set.
1308+
13071309
=item C<UTF8_FORCE_WARN_IF_MALFORMED>
13081310
13091311
Normally, no warnings are generated if warnings are turned off lexically or
@@ -1415,8 +1417,6 @@ If the function would otherwise return C<false>, it instead croaks. The
14151417
C<UTF8_FORCE_WARN_IF_MALFORMED> flag is effectively turned on so that the cause
14161418
of the croak is displayed.
14171419
1418-
This flag is ignored if C<UTF8_CHECK_ONLY> is also set.
1419-
14201420
=back
14211421
14221422
=for apidoc utf8_to_uv_msgs

0 commit comments

Comments
 (0)