Tentative fix for #227.

This commit is contained in:
jzmaddock
2024-11-04 16:38:46 +00:00
parent bd0e76f42f
commit 39ee6e36b0

View File

@ -1204,6 +1204,8 @@ bool perl_matcher<BidiIterator, Allocator, traits>::skip_until_paren(int index,
else if(pstate->type == syntax_element_startmark) else if(pstate->type == syntax_element_startmark)
{ {
int idx = static_cast<const re_brace*>(pstate)->index; int idx = static_cast<const re_brace*>(pstate)->index;
//if (idx == -5)
match_startmark();
pstate = pstate->next.p; pstate = pstate->next.p;
skip_until_paren(idx, false); skip_until_paren(idx, false);
continue; continue;