This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
grok_numeric_radix(): Avoid recalculating
authorKarl Williamson <khw@cpan.org>
Wed, 17 Jan 2018 20:18:50 +0000 (13:18 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Jan 2018 05:49:03 +0000 (22:49 -0700)
commita1395eaf50e445a5d48b26b960d58275dcffc265
treee561f6c5a933b43f29dbd0280a204e3edc1e6dd8
parent12c8ea1ff25065bd849becc3368c606a58fd3514
grok_numeric_radix(): Avoid recalculating

This function just determined that we are in the scope of 'use locale',
hence the underlying radix character should be used.  This commit
changes to use the macro that directly does that; previously the macro
that redundantly looks at if we are in the scope was used.
numeric.c