mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-28 17:19:18 +02:00
* It is needed to mark $parentfp as used for all targets.
git-svn-id: trunk@45438 -
This commit is contained in:
parent
afc568cf93
commit
30e61067a0
@ -156,8 +156,6 @@ implementation
|
|||||||
begin
|
begin
|
||||||
vs:=cparavarsym.create('$parentfp',paranr,vs_value
|
vs:=cparavarsym.create('$parentfp',paranr,vs_value
|
||||||
,parentfpvoidpointertype,[vo_is_parentfp,vo_is_hidden_para]);
|
,parentfpvoidpointertype,[vo_is_parentfp,vo_is_hidden_para]);
|
||||||
{ Mark $parentfp as used by default }
|
|
||||||
vs.varstate:=vs_read;
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
@ -166,6 +164,8 @@ implementation
|
|||||||
vs:=cparavarsym.create('$parentfp',paranr,vs_value,
|
vs:=cparavarsym.create('$parentfp',paranr,vs_value,
|
||||||
tprocdef(pd.owner.defowner).parentfpstructptrtype,[vo_is_parentfp,vo_is_hidden_para]);
|
tprocdef(pd.owner.defowner).parentfpstructptrtype,[vo_is_parentfp,vo_is_hidden_para]);
|
||||||
end;
|
end;
|
||||||
|
{ Mark $parentfp as used by default }
|
||||||
|
vs.varstate:=vs_read;
|
||||||
pd.parast.insert(vs);
|
pd.parast.insert(vs);
|
||||||
|
|
||||||
current_tokenpos:=storepos;
|
current_tokenpos:=storepos;
|
||||||
|
Loading…
Reference in New Issue
Block a user