mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-04 19:38:52 +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
|
||||
vs:=cparavarsym.create('$parentfp',paranr,vs_value
|
||||
,parentfpvoidpointertype,[vo_is_parentfp,vo_is_hidden_para]);
|
||||
{ Mark $parentfp as used by default }
|
||||
vs.varstate:=vs_read;
|
||||
end
|
||||
else
|
||||
begin
|
||||
@ -166,6 +164,8 @@ implementation
|
||||
vs:=cparavarsym.create('$parentfp',paranr,vs_value,
|
||||
tprocdef(pd.owner.defowner).parentfpstructptrtype,[vo_is_parentfp,vo_is_hidden_para]);
|
||||
end;
|
||||
{ Mark $parentfp as used by default }
|
||||
vs.varstate:=vs_read;
|
||||
pd.parast.insert(vs);
|
||||
|
||||
current_tokenpos:=storepos;
|
||||
|
Loading…
Reference in New Issue
Block a user