bug #31316, screwed up match array contents for | operator.
This commit is contained in:
rogerl%netscape.com 2000-03-21 21:11:19 +00:00
Родитель f096abb642
Коммит 3581c8e965
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1665,8 +1665,12 @@ static const jschar *matchRENodes(MatchState *state, RENode *ren, RENode *stop,
ren = (RENode *)ren->kid;
continue;
}
num = state->parenCount;
kidMatch = matchRENodes(state, (RENode *)ren->kid, stop, cp);
if (kidMatch != NULL) return kidMatch;
for (i = num; i < state->parenCount; i++)
state->parens[i].length = 0;
state->parenCount = num;
break;
case REOP_QUANT:
lastKid = NULL;