Browse Source

* better fix for tw8171 (now also works for with-statements)

git-svn-id: trunk@6158 -
Jonas Maebe 18 years ago
parent
commit
11528c9da6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86/rax86int.pas

+ 1 - 1
compiler/x86/rax86int.pas

@@ -984,7 +984,7 @@ Unit Rax86int;
                              end;
                            fieldvarsym :
                              begin
-                               tempstr:='SELF.'+tempstr;
+                               tempstr:=upper(tdef(sym.owner.defowner).GetTypeName)+'.'+tempstr;
                              end;
                            else
                              Message(asmr_e_wrong_sym_type);