Tidy up code, add test.

This commit is contained in:
jzmaddock
2024-11-04 17:05:08 +00:00
parent 39ee6e36b0
commit be12f75b22
3 changed files with 21 additions and 2 deletions

View File

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