diff options
author | Yves Orton <demerphq@gmail.com> | 2022-04-18 09:57:51 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-08-03 11:07:09 +0200 |
commit | f946e55ad047822276d1420651e4dc2d9caf3fce (patch) | |
tree | cbf22b8f36c0ef10a6ab2d28101712ac9b98ebb0 /regcomp.h | |
parent | c0a7907be0f2bff18c64a6b2f3d09cb88c192dc3 (diff) | |
download | perl-f946e55ad047822276d1420651e4dc2d9caf3fce.tar.gz |
regen/regcomp.pl - Make regarglen available as PL_regarglen in 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.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -412,7 +412,7 @@ struct regnode_ssc { /* The number of (smallest) regnode equivalents that the node 'p' which uses * 'struct regnode_string' occupies. (These are EXACTish nodes and a few * others.) */ -#define NODE_SZ_STR(p) (STR_SZ(STR_LEN(p)) + 1 + regarglen[(p)->type]) +#define NODE_SZ_STR(p) (STR_SZ(STR_LEN(p)) + 1 + PL_regarglen[(p)->type]) #define setSTR_LEN(p,v) \ STMT_START{ \ @@ -460,13 +460,13 @@ struct regnode_ssc { FILL_ADVANCE_NODE(offset, op); \ /* This is used generically for other operations \ * that have a longer argument */ \ - (offset) += regarglen[op]; \ + (offset) += PL_regarglen[op]; \ } STMT_END #define FILL_ADVANCE_NODE_ARGp(offset, op, arg) \ STMT_START { \ ARGp_SET(REGNODE_p(offset), arg); \ FILL_ADVANCE_NODE(offset, op); \ - (offset) += regarglen[op]; \ + (offset) += PL_regarglen[op]; \ } STMT_END #define FILL_ADVANCE_NODE_2L_ARG(offset, op, arg1, arg2) \ STMT_START { \ |