Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 45587acb3c8bb6804215d598d625bd80174ff259
https://github.com/Perl/perl5/commit/45587acb3c8bb6804215d598d625bd80174ff259
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M dump.c
Log Message:
-----------
dump.c: Use C99-style variable declaration in for() loop in S_opdump_indent()
Commit: 2f720f7a8014f71902824b18bce3241dc6c02dfc
https://github.com/Perl/perl5/commit/2f720f7a8014f71902824b18bce3241dc6c02dfc
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M dump.c
Log Message:
-----------
dump.c: Use PerlIO_puts() instead of PerlIO_printf() for format string with
no conversions
Commit: 1eab73a91a97030ed9ce247321dea85de835f830
https://github.com/Perl/perl5/commit/1eab73a91a97030ed9ce247321dea85de835f830
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M dump.c
M embed.fnc
M embed.h
M op.c
M op.h
M perl.h
M pod/perlguts.pod
M proto.h
Log Message:
-----------
Add xop_dump field and integrate into op_dump()
When working with nontrivially-shaped custom ops, such as ones based on
UNOP_AUX with interesting op_aux arrays, it is often useful to be able
to peek into the contents of these op structures with `op_dump()`.
Perl's core dumper cannot know the contents of these aux arrays, but by
defining a helper function in the module that provides the custom op,
help can be achieved.
A helper function, `opdump_printf` is also provided that acts as a
printf()-alike function for outputting lines of content. The various
internal arguments to it (level, bar, file) are bundled up into an
opaque structure, so as to achieve a modicum of abstraction away from
the specific internals on how dump.c happens to work.
Compare: https://github.com/Perl/perl5/compare/d58a71b49371...1eab73a91a97
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications