Fix zero-width positive lookahead bustage (256798, r=shaver).

This commit is contained in:
brendan%mozilla.org 2004-08-27 21:33:05 +00:00
parent 376c9e5ad7
commit 4aa8cd6458

View File

@ -2504,8 +2504,7 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x)
pc += ARG_LEN; /* start of ASSERT child */
op = (REOp) *pc++;
if (REOP_IS_SIMPLE(op) &&
(!SimpleMatch(gData, x, op, &pc, JS_FALSE) ||
pc != nextpc)) {
!SimpleMatch(gData, x, op, &pc, JS_FALSE)) {
result = NULL;
break;
}