소스 검색

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

git-svn-id: branches/debug_eh@42194 -
Jonas Maebe 6 년 전
부모
커밋
d0be4f11b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/ncgflw.pas

+ 1 - 1
compiler/ncgflw.pas

@@ -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);