* correct debug info for parentfp hidden parameter,

this is a vs_value parameter, not a vs_var.
    This allows to get higher local variables in IDE
    to work again (see ide/test.pas)

git-svn-id: trunk@5984 -
This commit is contained in:
pierre 2007-01-15 05:13:53 +00:00
parent 33c3bebd7b
commit 7e62e2cfc1

View File

@ -131,7 +131,8 @@ implementation
{ Generate result variable accessing function result, it
can't be put in a register since it must be accessable
from the framepointer }
vs:=tparavarsym.create('$parentfp',paranr_parentfp,vs_var,voidpointertype,[vo_is_parentfp,vo_is_hidden_para]);
vs:=tparavarsym.create('$parentfp',paranr_parentfp,vs_value
,voidpointertype,[vo_is_parentfp,vo_is_hidden_para]);
vs.varregable:=vr_none;
pd.parast.insert(vs);