[Perl/perl5] b2bede: make op_clear() API

[email protected] (Tony Cook via perl5-changes)
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b2bedef66c86b9c2c6e7b69d83dcde226215e708
      https://github.com/Perl/perl5/commit/b2bedef66c86b9c2c6e7b69d83dcde226215e708
  Author: Tony Cook <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M proto.h

  Log Message:
  -----------
  make op_clear() API

Fixes Devel::GoFaster

Data::Alias also uses op_clear(), but cheats by defining PERL_CORE.

B::Generate can also use op_clear(), but the tests don't appear to
exercise it, since it provides a backup implementation that croaks().


  Commit: 4ecb2877f235bfd9cbd54d1e4e4b824c01a1f4c5
      https://github.com/Perl/perl5/commit/4ecb2877f235bfd9cbd54d1e4e4b824c01a1f4c5
  Author: Tony Cook <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M embed.fnc
    M op.c

  Log Message:
  -----------
  document op_clear()

If it's API, we should probably document it.


  Commit: a0fb7b8fb1b651aa6c33682e0a978cdc575794b9
      https://github.com/Perl/perl5/commit/a0fb7b8fb1b651aa6c33682e0a978cdc575794b9
  Author: Tony Cook <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M proto.h

  Log Message:
  -----------
  make qerror() public

Both Devel::CallParser and IO::ExplicitHandle use it and failed when
the declarations were hidden.

Data::Alias also uses it, but cheats by defining PERL_CORE.


  Commit: 6021d764d2a8630f1eec108a1a4969780bdf10e5
      https://github.com/Perl/perl5/commit/6021d764d2a8630f1eec108a1a4969780bdf10e5
  Author: Tony Cook <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M embed.fnc
    M pp_ctl.c

  Log Message:
  -----------
  document qerror()

since it is now API


  Commit: eeb91eb55ab92c50223e5f0544db3d56f571a6b8
      https://github.com/Perl/perl5/commit/eeb91eb55ab92c50223e5f0544db3d56f571a6b8
  Author: Tony Cook <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M gv.c
    M op.c
    M pp_ctl.c
    M proto.h
    M toke.c
    M util.c

  Log Message:
  -----------
  Rename qerror() to defer_error()

See discussion starting
https://github.com/Perl/perl5/pull/24335#pullrequestreview-4032912265


  Commit: f3efa340ee0d64448a0b3787fc9f2d26e99b8003
      https://github.com/Perl/perl5/commit/f3efa340ee0d64448a0b3787fc9f2d26e99b8003
  Author: Tony Cook <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M embed.fnc
    M long_names.c
    M proto.h
    M util.h

  Log Message:
  -----------
  Add qerror() as a deprecated alias to defer_error().


  Commit: 6a868dfcf6b55990334f087f6beb79fd160878a7
      https://github.com/Perl/perl5/commit/6a868dfcf6b55990334f087f6beb79fd160878a7
  Author: Tony Cook <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M pod/perldelta.pod

  Log Message:
  -----------
  perldelta for add op_clear() and defer_error() to the API


Compare: https://github.com/Perl/perl5/compare/c3e3fb4afc37...6a868dfcf6b5

To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.