Branch: refs/heads/hv/gh19010 Home: https://github.com/Perl/perl5 Commit: c5a8cf5b3d200f37d5b2d076ea42aa8644c4ad75 https://github.com/Perl/perl5/commit/c5a8cf5b3d200f37d5b2d076ea42aa8644c4ad75 Author: Hugo van der Sanden <h...@crypt.org> Date: 2022-02-26 (Sat, 26 Feb 2022)
Changed paths: M numeric.c Log Message: ----------- gh19010: regularize handling of trailing whitespace on inf/nan Always accept trailing whitespace when parsing Inf/NaN constructs, even inside parens, without flagging as "trailing garbage". Also fix off-by-one checking whether we reached the close-paren of 'nan(123)'. Commit: 294a724ad6d63c0b384849ce25860b2c78aeda91 https://github.com/Perl/perl5/commit/294a724ad6d63c0b384849ce25860b2c78aeda91 Author: Hugo van der Sanden <h...@crypt.org> Date: 2022-02-26 (Sat, 26 Feb 2022) Changed paths: M ext/XS-APItest/t/grok.t Log Message: ----------- gh19010: simplify and expand inf/nan tests We know how grok results should vary with and without PERL_SCAN_TRAILING both for inputs with trailing garbage and those without, so abstract that out and test both cases for each input. Compare: https://github.com/Perl/perl5/compare/adeb727a4f24...294a724ad6d6