mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 14:48:18 +02: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
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user