2
0
Эх сурвалжийг харах

* fix potential crash with copied goto nodes on nestedparentfp platforms
o as described in the comment for the tgotonode.labsym field, it will
be null for copied gotonodes

git-svn-id: trunk@42997 -

Jonas Maebe 5 жил өмнө
parent
commit
d14fd51d0b
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      compiler/ncgnstfl.pas

+ 1 - 0
compiler/ncgnstfl.pas

@@ -46,6 +46,7 @@ implementation
       begin
         result:=inherited;
         if (m_non_local_goto in current_settings.modeswitches) and
+           assigned(labelsym) and
            assigned(labelsym.jumpbuf) then
           begin
             { we will access this jumpbuf local variable from a nested context,