summaryrefslogtreecommitdiff
path: root/reginline.h
diff options
context:
space:
mode:
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);