summaryrefslogtreecommitdiff
path: root/reginline.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-08-03 15:18:52 +0200
committerYves Orton <demerphq@gmail.com>2022-08-06 11:32:34 +0200
commit1489b465ff4e90485a0fae9370f20fc560a1dba8 (patch)
tree738d1bdb651159f26b0fdab5510c606b668036ca /reginline.h
parent20f4775e6e5458b56cf04a4bb8f4b4b2c7a98f0c (diff)
downloadperl-1489b465ff4e90485a0fae9370f20fc560a1dba8.tar.gz
regex engine - wrap PL_regnode_off_by_arg with macro REGNODE_OFF_BY_ARG()
Diffstat (limited to 'reginline.h')
-rw-r--r--reginline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/reginline.h b/reginline.h
index 1d1d4ef80d..589e341e50 100644
--- a/reginline.h
+++ b/reginline.h
@@ -18,7 +18,7 @@ Perl_regnext(pTHX_ const regnode *p)
(int)OP(p), (int)REGNODE_MAX);
}
- offset = (PL_regnode_off_by_arg[OP(p)] ? ARG(p) : NEXT_OFF(p));
+ offset = (REGNODE_OFF_BY_ARG(OP(p)) ? ARG(p) : NEXT_OFF(p));
if (offset == 0)
return(NULL);