* "on" nodes inherit the exception catching state from the "try"

git-svn-id: branches/debug_eh@42194 -
This commit is contained in:
Jonas Maebe 2019-06-08 20:17:01 +00:00
parent 3f2578a3e3
commit d0be4f11b8

View File

@ -633,7 +633,7 @@ implementation
current_procinfo.CurrBreakLabel:=breakexceptlabel;
end;
flowcontrol:=[fc_inflowcontrol];
flowcontrol:=[fc_inflowcontrol]+trystate.oldflowcontrol*[fc_catching_exceptions];
{ on statements }
if assigned(right) then
secondpass(right);