diff options
author | Yves Orton <demerphq@gmail.com> | 2022-07-30 19:36:07 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-08-03 11:07:09 +0200 |
commit | 19a5f8d316d541b9a9adb54c5a918787760100e1 (patch) | |
tree | 3aeb8d9b29646657f22a880ac464870f2ac12f72 /regcomp.h | |
parent | 6f83e0eceec58363a6a1027ef9a408c9cf4f28b9 (diff) | |
download | perl-19a5f8d316d541b9a9adb54c5a918787760100e1.tar.gz |
regex engine - rename REGNODE_AFTER_dynamic() REGNODE_AFTER()
Now that REGNODE_AFTER() can handle all cases it makes sense
to remove the dynamic() suffix.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -489,8 +489,10 @@ struct regnode_ssc { /* find the regnode after this p by using OP(p) to find the regnode type of p */ #define REGNODE_AFTER_dynamic(p) REGNODE_AFTER_opcode((p),OP(p)) /* find the regnode after this p by using the size of the struct associated with - * the opcode for p. use this when you *know* that p is pointer to a given type */ -#define REGNODE_AFTER_type(p,t) REGNODE_AFTER_plus((p),EXTRA_SIZE(t)) + +/* find the regnode after this p by using OP(p) to find the regnode type of p */ +#define REGNODE_AFTER(p) regnode_after(p) + /* REGNODE_BEFORE() is trickier to deal with in terms of validation, execution. * All the places that use it assume that p will be one struct regnode large. |