|
@@ -443,7 +443,7 @@ interface
|
|
|
oldflowcontrol:=flowcontrol;
|
|
|
{ the nested block will not span an exit statement of the parent }
|
|
|
exclude(flowcontrol,fc_exit);
|
|
|
- include(flowcontrol,fc_block_with_exit);
|
|
|
+ include(flowcontrol,fc_no_direct_exit);
|
|
|
end;
|
|
|
|
|
|
{ do second pass on left node }
|
|
@@ -469,7 +469,7 @@ interface
|
|
|
current_procinfo.CurrExitLabel:=oldexitlabel;
|
|
|
{ the exit statements inside this block are not exit statements }
|
|
|
{ out of the parent }
|
|
|
- flowcontrol:=oldflowcontrol+(flowcontrol - [fc_exit,fc_block_with_exit]);
|
|
|
+ flowcontrol:=oldflowcontrol+(flowcontrol - [fc_exit,fc_no_direct_exit]);
|
|
|
end;
|
|
|
end;
|
|
|
|