mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Fix zero-width positive lookahead bustage (256798, r=shaver).
This commit is contained in:
parent
376c9e5ad7
commit
4aa8cd6458
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user