Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 5eab7f7a833ea5e8588b0c02359c9b8e6c3b436e https://github.com/Perl/perl5/commit/5eab7f7a833ea5e8588b0c02359c9b8e6c3b436e Author: David Mitchell <da...@iabyn.com> Date: 2021-09-04 (Sat, 04 Sep 2021)
Changed paths: M perly.act M perly.h M perly.tab M perly.y M toke.c Log Message: ----------- fix line number of try block Each 'try' block has a nextstate COP prepended to it. Currently this cop has the line number of the line following the end of the try block. Fix it so that it has the line number of the line containing the 'try' keyword instead. This is achieved using the same technique as other block-introducing keywords like 'while': set the .ival of the 'try' token returned by the lexer to the current line number, then set PL_parser->copline back to that value after parsing the block but before creating the COP. This issue was showing up as a failure in cd t; ./TEST -deparse op/try.t since that test script is line-number sensitive. Commit: e936ab2f301e827a2c28caffc9b7184453f54c42 https://github.com/Perl/perl5/commit/e936ab2f301e827a2c28caffc9b7184453f54c42 Author: David Mitchell <da...@iabyn.com> Date: 2021-09-04 (Sat, 04 Sep 2021) Changed paths: M Porting/deparse-skips.txt Log Message: ----------- add new autodie test file to 'TEST -deparse' skips autodie tests generally fail the 'deparse and run the test file' round trip due to stringified references in %^H. Add this newish test file to the list of excluded test files. Also add a comment to the file explaining why most autodie tests are excluded. Commit: fda84d6f39dd71baa10c3682b83d2d9ccee0035c https://github.com/Perl/perl5/commit/fda84d6f39dd71baa10c3682b83d2d9ccee0035c Author: David Mitchell <da...@iabyn.com> Date: 2021-09-04 (Sat, 04 Sep 2021) Changed paths: M Porting/deparse-skips.txt Log Message: ----------- add MakeMaker test file to 'TEST -deparse' skips On non-VMS platforms, the cpan/ExtUtils-MakeMaker/t/MM_VMS.t test script does a plan('skip_all') in a BEGIN block, which stops the rest of the test file from being compiled. It doesn't matter so much that the rest of the test file doesn't appear appear in the Deparse output (since we don't want to execute it anyway); but recently, @Methods was changed to be a lexical variable, and its 'my' declaration isn't being output. Commit: 55933df5c5628ecd2e1ec1e68125f57ced8a7003 https://github.com/Perl/perl5/commit/55933df5c5628ecd2e1ec1e68125f57ced8a7003 Author: David Mitchell <da...@iabyn.com> Date: 2021-09-04 (Sat, 04 Sep 2021) Changed paths: M Porting/deparse-skips.txt Log Message: ----------- remove op/each.t from Porting/deparse-skips.txt That test file now works under 'TEST -deparse'. The problematic test was removed by v5.35.2-29-gbbeb277521 - something to do with constant-folded packed strings getting utf8 encoded. Commit: fcf33192bfaec4d136c9be98d24673ee37acab7c https://github.com/Perl/perl5/commit/fcf33192bfaec4d136c9be98d24673ee37acab7c Author: David Mitchell <da...@iabyn.com> Date: 2021-09-04 (Sat, 04 Sep 2021) Changed paths: M Porting/deparse-skips.txt M perly.act M perly.h M perly.tab M perly.y M toke.c Log Message: ----------- [MERGE] fixup TEST -deparse assorted commits to get cd t; ./TEST -deparse mostly working again Compare: https://github.com/Perl/perl5/compare/e5a468d33677...fcf33192bfae