Преглед изворни кода

* 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 -

pierre пре 18 година
родитељ
комит
7e62e2cfc1
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      compiler/pdecsub.pas

+ 2 - 1
compiler/pdecsub.pas

@@ -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);