diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-04-02 15:25:18 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-04-02 15:25:18 +0000 |
commit | dc45a647708b6c5442e1362e6b6e7a2583c30346 (patch) | |
tree | 77eb71f3ede3b243141f6874d47e94606370b5f1 /regexec.c | |
parent | 67ce88566282df78bad77aeb9c4b93768bda70aa (diff) | |
download | perl-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |