This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_sv_vcatpvfn_flags: remove 'asterisk' var
authorDavid Mitchell <davem@iabyn.com>
Fri, 26 May 2017 22:34:25 +0000 (23:34 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:11:05 +0000 (09:11 +0100)
commitd1ce136f24009faf349e2a3b3cfc91e37082d29f
tree2d9f18a990fbdec99baaeeb0eaf4b8e719787bb1
parent2c60127b5800140e9e0b3888c75f4f4291fac653
Perl_sv_vcatpvfn_flags: remove 'asterisk' var

There was only one remaining use of this local var: in %p, to distinguish
between explicit and implicit width specifier, e.g. %*p or %1$p, vs %2p.
This can be done by just checking whether the char before the p was a '*'
or '$'.
sv.c