This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_sv_vcatpvfn_flags: move %c handling to ints
authorDavid Mitchell <davem@iabyn.com>
Fri, 26 May 2017 15:39:30 +0000 (16:39 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:11:04 +0000 (09:11 +0100)
commit14d1b0a5c7c0be5753b05ab19841954438ea1cb7
tree4bf838a576da30bb028c0c123df1c07b7de4738f
parent84a826ef51fc3a38e04ab298d0f2942feeb4754e
Perl_sv_vcatpvfn_flags: move %c handling to ints

%c is in some ways like integer formats - we treat the arg as an integer
(with '0+' overloading and Inf/Nan handling), but then at the end convert
it into a 1 char string rather than sequence of 0..9's.

Move the %c code partially into the main integer handling block of
code; this will shortly allow us to unify the SV-as-integer handling code.
sv.c