소스 검색

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