Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1deed8fc832208992c3eb2096939a242aea29d71
      
https://github.com/Perl/perl5/commit/1deed8fc832208992c3eb2096939a242aea29d71
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-06-23 (Sun, 23 Jun 2024)

  Changed paths:
    M autodoc.pl

  Log Message:
  -----------
  autodoc: Don't rely on broken heuristic

Prior to this commit, the code was looking at the name of the element to
decide if a pTHX parameter should be displayed.  It would display it if
the name started with "Perl_".  That mostly worked, but it could be
wrong, and was in two cases: for Perl_custom_op_xop() and
Perl_localeconv().

The logic was complicated and existed in an earlier loop, and was not
repeated in the loop doing the pTHX calculation.

But it turns out that by just moving that calculation to the earlier
loop, the logic doesn't have to be repeated.



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

Reply via email to