mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 00:47:52 +02:00
* keep track which nested function definition the new method has been converted from
This commit is contained in:
parent
74833bda09
commit
1853d1ddd8
@ -993,6 +993,7 @@ implementation
|
||||
{ the nested function needs access to the parent's framepointer to
|
||||
access the capturer }
|
||||
insert_parentfp_para(pinested.procdef);
|
||||
pd.copied_from:=pinested.procdef;
|
||||
end;
|
||||
{ to simplify some checks, but only after insert_funcret_para }
|
||||
pd.was_anonymous:=true;
|
||||
|
@ -907,6 +907,7 @@ interface
|
||||
{$endif}
|
||||
{ only needed when actually compiling a unit, no need to save/load from ppu }
|
||||
invoke_helper : tprocdef;
|
||||
copied_from : tprocdef;
|
||||
constructor create(level:byte;doregister:boolean);virtual;
|
||||
constructor ppuload(ppufile:tcompilerppufile);
|
||||
destructor destroy;override;
|
||||
|
Loading…
Reference in New Issue
Block a user