summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-04-02 15:25:18 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-04-02 15:25:18 +0000
commitdc45a647708b6c5442e1362e6b6e7a2583c30346 (patch)
tree77eb71f3ede3b243141f6874d47e94606370b5f1 /regexec.c
parent67ce88566282df78bad77aeb9c4b93768bda70aa (diff)
downloadperl-dc45a647708b6c5442e1362e6b6e7a2583c30346.tar.gz
Andy Dougherty's configuration patches (Config_63-01 up to 04).
p4raw-id: //depot/perl@845
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 b11bb9af86..250704c228 100644
--- a/regexec.c
+++ b/regexec.c
@@ -1313,7 +1313,7 @@ regmatch(regnode *prog)
*reglastparen = paren;
}
#endif
- scan = NEXTOPER(scan) + 4/sizeof(regnode);
+ scan = NEXTOPER(scan) + NODE_STEP_REGNODE;
if (paren)
scan += NEXT_OFF(scan); /* Skip former OPEN. */
reginput = locinput;
@@ -1427,13 +1427,13 @@ regmatch(regnode *prog)
*reglastparen = paren;
ln = ARG1(scan); /* min to match */
n = ARG2(scan); /* max to match */
- scan = regnext(NEXTOPER(scan) + 4/sizeof(regnode));
+ scan = regnext(NEXTOPER(scan) + NODE_STEP_REGNODE);
goto repeat;
case CURLY:
paren = 0;
ln = ARG1(scan); /* min to match */
n = ARG2(scan); /* max to match */
- scan = NEXTOPER(scan) + 4/sizeof(regnode);
+ scan = NEXTOPER(scan) + NODE_STEP_REGNODE;
goto repeat;
case STAR:
ln = 0;