mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-28 11:21:42 +01:00
* 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 -
This commit is contained in:
parent
bcabeb36a1
commit
d14fd51d0b
@ -46,6 +46,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
result:=inherited;
|
result:=inherited;
|
||||||
if (m_non_local_goto in current_settings.modeswitches) and
|
if (m_non_local_goto in current_settings.modeswitches) and
|
||||||
|
assigned(labelsym) and
|
||||||
assigned(labelsym.jumpbuf) then
|
assigned(labelsym.jumpbuf) then
|
||||||
begin
|
begin
|
||||||
{ we will access this jumpbuf local variable from a nested context,
|
{ we will access this jumpbuf local variable from a nested context,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user