Fixed bug in *? for flat1 - was picking up wrong character from pc.

git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@20622 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1999-02-12 22:23:48 +00:00
parent 2fd0ae6b14
commit 347f0232ad

View File

@@ -2649,9 +2649,9 @@ MatchRegExp(MatchState *state, jsbytecode *pc, const jschar *cp)
case REOP_STARMIN:
op = (REOp) *++pc;
oplen = reopsize[op];
pc += oplen;
pc2 = pc + oplen;
do {
cp3 = MatchRegExp(state, pc, cp);
cp3 = MatchRegExp(state, pc2, cp);
if (cp3) return cp3;
cp2 = cp;
switch (op) {