Fix recursive regions matching when a recursive matches just before an end
%sh{ $test {} $test } was incorrrectly closing the %sh block at the first { because it was immediatly followed by a }.
This commit is contained in:
parent
c004187f32
commit
b4442055e8
|
@ -820,7 +820,7 @@ struct RegionMatches
|
|||
return end_it;
|
||||
|
||||
while (rec_it != recurse_matches.end() and
|
||||
rec_it->end_coord() < end_it->begin_coord())
|
||||
rec_it->end_coord() <= end_it->begin_coord())
|
||||
{
|
||||
++recurse_level;
|
||||
++rec_it;
|
||||
|
|
Loading…
Reference in New Issue
Block a user