Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ba502f9c99f649d44f39b6790ef9aebe3c7adab5
      
https://github.com/Perl/perl5/commit/ba502f9c99f649d44f39b6790ef9aebe3c7adab5
  Author: Karl Williamson <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M regen/embed.pl

  Log Message:
  -----------
  regen/embed.pl: Change variable name

The components of this will shortly be more than asserts.  The new name
reflects this


  Commit: 7f626cb40746206d582af5ffda6800df4c4b0de4
      
https://github.com/Perl/perl5/commit/7f626cb40746206d582af5ffda6800df4c4b0de4
  Author: Karl Williamson <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M regen/embed.pl

  Log Message:
  -----------
  regen/embed.pl: Prepare for handling extra arrays

This loop is now changed so that a new array for it to handle can
trivially be added.


  Commit: e014800530bc186e040e68063a9863837b85a4ac
      
https://github.com/Perl/perl5/commit/e014800530bc186e040e68063a9863837b85a4ac
  Author: Karl Williamson <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M regen/embed.pl

  Log Message:
  -----------
  regen/embed.pl: Indent code surrounded by new block


  Commit: d4932c6f2e785d1d6ceb064fe11d3f874142a6b3
      
https://github.com/Perl/perl5/commit/d4932c6f2e785d1d6ceb064fe11d3f874142a6b3
  Author: Karl Williamson <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M proto.h
    M regen/embed.pl

  Log Message:
  -----------
  regen/embed.pl: Fix inteneded line wrap to 78

This was folding, but not taking into consideration a semicolon and the
continuation character.  (Or maybe the intent was 80 columns, but
because of pagers consuming columns, 78 is a better goal anyway.)

I also find it more legible to have two blanks before the continuation


  Commit: 297419322ee1dd1ca8bdca1ae783b116c4a839e0
      
https://github.com/Perl/perl5/commit/297419322ee1dd1ca8bdca1ae783b116c4a839e0
  Author: Karl Williamson <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M proto.h
    M regen/embed.pl

  Log Message:
  -----------
  proto.h: Use STMT_START { ... } STMT_END in ARGS_ASSERTs

This is better practice when multiple statements are involved.

For most of its history, the expansion of PERL_ARGS_ASSERT macros was
one or more assert()s, and that worked without the STMT_START, STMT_END
wrappers.  But now more complex expansions are about to be added, so it
seems better to add the wrapping.


  Commit: b5b658b937f842956fea75c1f742270afbc47134
      
https://github.com/Perl/perl5/commit/b5b658b937f842956fea75c1f742270afbc47134
  Author: Karl Williamson <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M embed.fnc

  Log Message:
  -----------
  embed.fnc: Revise/clarify some comments


  Commit: b35a6ea61ae020705a7132331e14646f84592da5
      
https://github.com/Perl/perl5/commit/b35a6ea61ae020705a7132331e14646f84592da5
  Author: Karl Williamson <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M perl.h
    M proto.h
    M regen/embed.pl
    M util.c

  Log Message:
  -----------
  Allow declaring a parameter UNUSED

This allows removing many PERL_UNUSED_ARG statements in the code.
(The ones that are conditionally compiled should not be removed this way.)

And this commit does the removal of one such statement, to show how it
works.

This is enabled only for core perl and extensions.

To use this capability, the symbol UNUSED is added after the parameter
name in *both* its embed.fnc entry and its definition.

On systems that allow declaring an unused attribute for a parameter, the
code in regen.pl arranges for that to happen in the function's prototype
declaration.  On my gcc, that actually gets ignored, and hence doing it
in the function definition is also required.  It may be that other
compilers or a future change to gcc will note the attribute in the
prototype, so the second usage won't be required.

On systems without this capability, regen/embed.pl arranges for the
PERL_ARGS_ASSERT macro for the function to expand to do a
PERL_UNUSED_ARG() on the unused parameter.


Compare: https://github.com/Perl/perl5/compare/7ccacb240fc8...b35a6ea61ae0

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

Reply via email to