Branch: refs/heads/yves/parsexs
Home: https://github.com/Perl/perl5
Commit: 7d4576f23f88484870c47324fd60cf3ede6629dd
https://github.com/Perl/perl5/commit/7d4576f23f88484870c47324fd60cf3ede6629dd
Author: Yves Orton <[email protected]>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
Log Message:
-----------
ParseXS - add support for elifdef and elifndef
The upcoming C++23 and C23 standards add #elifdef, #elifndef.
Commit: 61a4ecc0a1cb2ea25078002a8f2d314d2f1abca0
https://github.com/Perl/perl5/commit/61a4ecc0a1cb2ea25078002a8f2d314d2f1abca0
Author: Yves Orton <[email protected]>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pod
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/t/001-basic.t
M dist/ExtUtils-ParseXS/t/002-more.t
M dist/ExtUtils-ParseXS/t/003-usage.t
Log Message:
-----------
ParseXS - make testing easier
Use warn instead of print STDERR, and provide a way to make
errors trigger a die instead of an exit(1).
Currently the module code is written as though the only way
it will be used is via the xsubpp script, so the library does
annoying things like calling exit() instead of die() to signal
an exception. It also uses print STDERR instead of warn,
which means the test code can't just use a $SIG{__WARN__} hook
to see its warnings, and instead has to include PrimitiveCapture
in the t directory. These two things combine annoyingly in our
test code such that when you break the module you can see tests
exiting early, but with no useful diagnostics as to why.
This patch reworks this to use "warn" instead of print STDERR,
and to provide a way to enable the use of "die" instead of exit.
Thus making debugging failing tests far easier.
Commit: 206dab6bef8c92efa09de9535e3072e940ae35ba
https://github.com/Perl/perl5/commit/206dab6bef8c92efa09de9535e3072e940ae35ba
Author: Yves Orton <[email protected]>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/CountLines.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Eval.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
M dist/ExtUtils-ParseXS/lib/perlxs.pod
M dist/ExtUtils-ParseXS/t/001-basic.t
Log Message:
-----------
ParseXS - version bump to 3.48 and test perlxs.pod has the right version
The version in the pod has been long wrong. We are on 3.48 now, it was 3.13_01.
Compare: https://github.com/Perl/perl5/compare/9e79a9512c4a...206dab6bef8c