Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 2fc16b5f2b70dc18626fbcbc78ff5f922915f998
      
https://github.com/Perl/perl5/commit/2fc16b5f2b70dc18626fbcbc78ff5f922915f998
  Author: David Mitchell <da...@iabyn.com>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    M lib/B/Deparse.pm
    M lib/B/Deparse.t

  Log Message:
  -----------
  Deparse: fix 3-arg susbtr_left deparsing

v5.41.7-43-gcdbed2a40e introduced the OP_SUBSTR_LEFT op,
which is an optimised version of OP_SUBSTR for when the offset
is zero and the replacement string is missing or ''.

Unfortunately the deparsing for this OP missed out the closing
parenthesis when the replacement string wasn't present; i.e.:

    substr($lex, 0, 4);

deparsed as:

    substr($lex, 0, 4;

The fix is trivial.


  Commit: 9f37e119ab361798a3ab7088b9c336e2b59878ea
      
https://github.com/Perl/perl5/commit/9f37e119ab361798a3ab7088b9c336e2b59878ea
  Author: David Mitchell <da...@iabyn.com>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    M Porting/deparse-skips.txt

  Log Message:
  -----------
  Deparse: exclude two new test files

Add a couple of recently-added test files to

    Porting/deparse-skips.txt

These two test files have

    use utf8;
    "some string with accented chars"

and the accented char gets deparsed wrongly at the moment.
So skip those test files under

    cd t; ./TEST -deparse


Compare: https://github.com/Perl/perl5/compare/6752f5cd2ebf...9f37e119ab36

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to