summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-07-30 19:06:35 +0200
committerYves Orton <demerphq@gmail.com>2022-08-03 11:07:09 +0200
commit673824149c1532385e1cf97c397996187265e3fe (patch)
treea2b4231cb7829a0da3e820001de43751f06f0f5a /regexec.c
parent366fc8089b728e2f722dab2da854445f0a5e1d69 (diff)
downloadperl-673824149c1532385e1cf97c397996187265e3fe.tar.gz
regex engine - Rename PL_reg_name to PL_regnode_name
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regexec.c b/regexec.c
index 23fff88359..d04c12267c 100644
--- a/regexec.c
+++ b/regexec.c
@@ -6183,7 +6183,7 @@ S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos,
Perl_re_printf( aTHX_ \
"%*s" pp " %s%s%s%s%s\n", \
INDENT_CHARS(depth), "", \
- PL_reg_name[st->resume_state], \
+ PL_regnode_name[st->resume_state], \
((st==yes_state||st==mark_state) ? "[" : ""), \
((st==yes_state) ? "Y" : ""), \
((st==mark_state) ? "M" : ""), \
@@ -9816,7 +9816,7 @@ NULL
Perl_re_exec_indentf( aTHX_ "%4s #%-3d %-10s %s\n",
depth,
i ? " " : "push",
- depth - i, PL_reg_name[cur->resume_state],
+ depth - i, PL_regnode_name[cur->resume_state],
(curyes == cur) ? "yes" : ""
);
if (curyes == cur)
@@ -10643,7 +10643,7 @@ S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p,
default:
Perl_croak(aTHX_ "panic: regrepeat() called with unrecognized"
- " node type %d='%s'", OP(p), PL_reg_name[OP(p)]);
+ " node type %d='%s'", OP(p), PL_regnode_name[OP(p)]);
NOT_REACHED; /* NOTREACHED */
}