浏览代码

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

git-svn-id: trunk@6158 -
Jonas Maebe 18 年之前
父节点
当前提交
11528c9da6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);