Skip to content

Commit

Permalink
utf8.c: Comment non-obvious fcn param meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Aug 7, 2021
1 parent b350114 commit dc1baa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utf8.c
Expand Up @@ -281,7 +281,8 @@ Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, UV flags, HV** msgs)
if ( UNLIKELY(input_uv > MAX_LEGAL_CP
&& UNLIKELY(! (flags & UNICODE_ALLOW_ABOVE_IV_MAX))))
{
Perl_croak(aTHX_ "%s", form_cp_too_large_msg(16, NULL, 0, input_uv));
Perl_croak(aTHX_ "%s", form_cp_too_large_msg(16, /* Hex output */
NULL, 0, input_uv));
}

if ((flags & (UNICODE_WARN_PERL_EXTENDED|UNICODE_WARN_SUPER))) {
Expand Down

0 comments on commit dc1baa3

Please sign in to comment.