Branch: refs/heads/yves/regnode_typedefs Home: https://github.com/Perl/perl5 Commit: 98e7f9ab6a810f2c6cb7ff6499e12ce04f87171b https://github.com/Perl/perl5/commit/98e7f9ab6a810f2c6cb7ff6499e12ce04f87171b Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022)
Changed paths: M charclass_invlists.h M globvar.sym M lib/unicore/uni_keywords.pl M pod/perlreguts.pod M regcomp.c M regcomp.h M regen/mk_invlists.pl M regen/regcomp.pl M regnodes.h M uni_keywords.h Log Message: ----------- regen/regcomp.pl - rename regarglen to PL_regarglen for regexec.c In a follow up patch we will use this data from regexec.c which currently cannot see the variable. This changes a comment in regen/mk_invlists.pl which necessitated rebuilding several files related to unicode. Only the hashes associated with mk_invlists.pl were changed. Commit: bef29a7931e8ea0492fbafc4f66861ac7a0f4bdb https://github.com/Perl/perl5/commit/bef29a7931e8ea0492fbafc4f66861ac7a0f4bdb Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regcomp.c Log Message: ----------- regcomp.c - fixup comment, orig_emit is a node offset This comment was a bit misleading, as orig_emit is an offset into the program, not a pointer, it needs the REGNODE_p() macro to convert from offset to pointer. Commit: 90289f0d46b204e2c0217094e68bbdbbbd61760b https://github.com/Perl/perl5/commit/90289f0d46b204e2c0217094e68bbdbbbd61760b Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M embed.fnc M embed.h M proto.h M regcomp.c Log Message: ----------- regcomp.c - add reg_nextoper and check_reg_nextoper reg_nextoper implements dynamically finding the NEXTOPER(node) based on the actualy regop that node points at. check_reg_nextoper implements *checking* that what NEXTOPER(node) would return is the same as what reg_nextoper would produce. Commit: 4a1be9287e10fe7bd0c268311c2853bf34c8b6b0 https://github.com/Perl/perl5/commit/4a1be9287e10fe7bd0c268311c2853bf34c8b6b0 Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regcomp.h Log Message: ----------- regcomp.h - add more NEXTOPER macros and validation Commit: 5488fd27e629f5a6f19d35762f9cb15a3bf76fea https://github.com/Perl/perl5/commit/5488fd27e629f5a6f19d35762f9cb15a3bf76fea Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regcomp.c Log Message: ----------- regcomp.c - use new NEXTOPER macros Commit: ecfec9ca1b65610f1a2a0a49e3333a6049918363 https://github.com/Perl/perl5/commit/ecfec9ca1b65610f1a2a0a49e3333a6049918363 Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regexec.c Log Message: ----------- regexec.c - use new NEXTOPER macros Commit: c7b9da456695bb75476be74d346f1f52c9a2f912 https://github.com/Perl/perl5/commit/c7b9da456695bb75476be74d346f1f52c9a2f912 Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regcomp.c Log Message: ----------- regcomp.c - replace OP(o) with const var in Perl_regprop() OP(o) is used all over the place in Perl_regprop(), replace it with a const var instead. Commit: 7542cfefad0b09c21386b746328dcb87710be826 https://github.com/Perl/perl5/commit/7542cfefad0b09c21386b746328dcb87710be826 Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regcomp.c Log Message: ----------- regcomp.c - use a constant var for OP(node) in S_dumpuntil Simplify the logic of the loop so that we do not have to deal with things like "While that was not END last time...", use a constant var for op, and remove unnecessary (U8) casts that just clutter up the code. Commit: 24cb29304cb4bfb58dbc6857bd99627c4ef9ad77 https://github.com/Perl/perl5/commit/24cb29304cb4bfb58dbc6857bd99627c4ef9ad77 Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M pod/perldebguts.pod M regcomp.c M regcomp.h M regcomp.sym M regexec.c M regnodes.h M t/re/pat.t Log Message: ----------- code for tracking parens in trie and branch nodes Commit: f8fbd19a6a0b3b3ea851fbf340257a30a597b1b5 https://github.com/Perl/perl5/commit/f8fbd19a6a0b3b3ea851fbf340257a30a597b1b5 Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regcomp.c Log Message: ----------- regcomp.c - in Perl_regprop show the capture buffer data we just added BRANCH, BRANCHJ, and TRIE and TRIEC nodes now store the how many capture buffers OPEN opcodes (and logical equivalents) were defined BEFORE them. This adds diagnostic output to Perl_regprop() so this data can be seen in the dump. Current notation is "(buf: %d)", this might change in the future. Commit: caeb4ea392da77f33bebfadde8168feb393e2ed0 https://github.com/Perl/perl5/commit/caeb4ea392da77f33bebfadde8168feb393e2ed0 Author: Yves Orton <demer...@gmail.com> Date: 2022-04-18 (Mon, 18 Apr 2022) Changed paths: M regcomp.c M regexec.c M t/re/anyof.t M t/re/pat.t Log Message: ----------- arrows Compare: https://github.com/Perl/perl5/compare/6cbc19d73de6...caeb4ea392da