This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
limit digits based on radix for oct/bin fp
authorTony Cook <tony@develop-help.com>
Tue, 5 Sep 2017 05:26:41 +0000 (15:26 +1000)
committerZefram <zefram@fysh.org>
Wed, 6 Dec 2017 01:56:30 +0000 (01:56 +0000)
commit58be57636a42d6c6fd404c48c4e1cb87870182df
tree74252dbab34d723716b3646a1d2f070c27ed9744
parent7c6e7cf06853eef1d1b271077c402c5f8655fbe6
limit digits based on radix for oct/bin fp

All hexadecimal digits were being permitted in octal and binary floating
point literals.  (That octal and binary literals are permitted at all
might be an accidental result of permitting hexadecimal?)  Restrict which
digits are permitted, in accordance with the radix.
t/lib/croak/toke
t/op/hexfp.t
toke.c