Branch: refs/heads/yves/regnode_typedefs
Home: https://github.com/Perl/perl5
Commit: a62849567e8abe48c1501559cc052d492aa775e2
https://github.com/Perl/perl5/commit/a62849567e8abe48c1501559cc052d492aa775e2
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M embed.fnc
M embed.h
M proto.h
M regcomp.c
Log Message:
-----------
add reg_nextoper
Commit: 43a430a6246b4b0a207a55d0a5cd83e8f0f6fae6
https://github.com/Perl/perl5/commit/43a430a6246b4b0a207a55d0a5cd83e8f0f6fae6
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M embed.fnc
M embed.h
M proto.h
M regcomp.c
M regcomp.h
Log Message:
-----------
wip
Commit: 940e6ee41c23fa9142ca4c2868bd6c37e827f1c2
https://github.com/Perl/perl5/commit/940e6ee41c23fa9142ca4c2868bd6c37e827f1c2
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
M regcomp.h
M regexec.c
Log Message:
-----------
replace complex cases involving NEXTOPER
so we can hook them with asserts later
Commit: 9f39300f1f0f13aa9081c150067482cf0a0d5c97
https://github.com/Perl/perl5/commit/9f39300f1f0f13aa9081c150067482cf0a0d5c97
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M embed.fnc
M proto.h
M regcomp.c
M regcomp.h
Log Message:
-----------
check mode, but not enabled
Commit: 49c48bb734ca13371112578e058869d611e8d107
https://github.com/Perl/perl5/commit/49c48bb734ca13371112578e058869d611e8d107
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
get to the end of make with no asserts
Commit: 43acbacdc8df0388ad50da9f288d23522f546e40
https://github.com/Perl/perl5/commit/43acbacdc8df0388ad50da9f288d23522f546e40
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
fixup assert fail
Commit: fd5ad11225b75df0b200c3e93dd6db8c9828c94a
https://github.com/Perl/perl5/commit/fd5ad11225b75df0b200c3e93dd6db8c9828c94a
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.h
Log Message:
-----------
enable assert
Commit: 6d750d0b331f4efc225430b31e1b15e610e62c8e
https://github.com/Perl/perl5/commit/6d750d0b331f4efc225430b31e1b15e610e62c8e
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
missed a NEXTOPER2 case
Commit: f253de25bd466158042d6db12cf970041ceb53fa
https://github.com/Perl/perl5/commit/f253de25bd466158042d6db12cf970041ceb53fa
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
fixup multiline that confuses check
Commit: 9bb88d0ea06ab594ae0f96b56658818fe5ec058f
https://github.com/Perl/perl5/commit/9bb88d0ea06ab594ae0f96b56658818fe5ec058f
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
dont use NEXTOPER for EXACT like nodes
Commit: 53ea9b52dde45e5febf168f9b3aa66150040a6bb
https://github.com/Perl/perl5/commit/53ea9b52dde45e5febf168f9b3aa66150040a6bb
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
missed another nested NEXTOPER
Commit: de19f6ebaf48ea503c92b39f678d902f5f734340
https://github.com/Perl/perl5/commit/de19f6ebaf48ea503c92b39f678d902f5f734340
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
always use regarglen, no harm in it
Commit: 70341d8d92e0636dca24d65603d5965dda38773f
https://github.com/Perl/perl5/commit/70341d8d92e0636dca24d65603d5965dda38773f
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regexec.c
Log Message:
-----------
dont be tricky in BRANCH/BRANCHj
Commit: 415082d3432c9b920b5c07688297ea8178b1e3ac
https://github.com/Perl/perl5/commit/415082d3432c9b920b5c07688297ea8178b1e3ac
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.h
Log Message:
-----------
use the assert_ macro
Commit: 6271124d522876a63e0e47f715b6f5aa0b71a349
https://github.com/Perl/perl5/commit/6271124d522876a63e0e47f715b6f5aa0b71a349
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
remove diags, just asserts for now
Commit: b257e773b3ea5584a2d3ebff1bc1355e9325fd31
https://github.com/Perl/perl5/commit/b257e773b3ea5584a2d3ebff1bc1355e9325fd31
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M pod/perldebguts.pod
M regcomp.c
M regcomp.h
M regcomp.sym
M regexec.c
M regnodes.h
Log Message:
-----------
this seems to work, track parens in branch data
Commit: 2d6de68fb6021532066e7f60a3d8d80d499f48a5
https://github.com/Perl/perl5/commit/2d6de68fb6021532066e7f60a3d8d80d499f48a5
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
fixup comment
Commit: a7e943f51e8a28311953ac7eb9ccc12ac590d556
https://github.com/Perl/perl5/commit/a7e943f51e8a28311953ac7eb9ccc12ac590d556
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regen/regcomp.pl
M regnodes.h
Log Message:
-----------
regen/regcomp.pl - create typedefs for all regnode types
Currently we hard code the struct used by the different regop types.
This makes it awkward to change the structure used by a specific regop
as the struct it uses might be used in many contexts, and each cases
of a regop using that structure must be reviewed to see if it needs
to be changed.
This patch adds a typedef for each regnode. The typedefs are named
'tregnode_OP', for instance 'tregnode_TRIE' is typedefed to 'struct
charclass' (at the time of this commit). This allows the code to do
things like 'sizeof(tregnode_TRIE)' and should the exact struct used
for TRIE regops change in the future then no code need be reviewed
or changed.
Commit: 14aa455c0cf56935e5507a8d2af22b4e0b3bfd2d
https://github.com/Perl/perl5/commit/14aa455c0cf56935e5507a8d2af22b4e0b3bfd2d
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
Log Message:
-----------
switch to using tregnode_TRIE typedefs instead of hard coded struct names
Commit: 27b27b9b991e4aff53956bfadaee275d655cd2db
https://github.com/Perl/perl5/commit/27b27b9b991e4aff53956bfadaee275d655cd2db
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M regcomp.c
M regcomp.h
M t/re/pat.t
Log Message:
-----------
WIP
Commit: 233f0f7f6c516d7ddbc0c8a53d3f04a4c8a30bce
https://github.com/Perl/perl5/commit/233f0f7f6c516d7ddbc0c8a53d3f04a4c8a30bce
Author: Yves Orton <[email protected]>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M makedepend_file.SH
Log Message:
-----------
fixup depends
thanks ilmari!
Compare: https://github.com/Perl/perl5/compare/a62849567e8a%5E...233f0f7f6c51