소스 검색

* pas2jni: fixed error during records processing.

git-svn-id: trunk@24514 -
yury 12 년 전
부모
커밋
4a696dbf00
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      utils/pas2jni/ppuparser.pas

+ 1 - 1
utils/pas2jni/ppuparser.pas

@@ -312,7 +312,7 @@ var
         end
         else
         if jt = 'rec' then begin
-          if IsSystemUnit and (CompareText(it.Strings['Name'], 'tguid') = 0) then begin
+          if IsSystemUnit and (CompareText(CurObjName, 'tguid') = 0) then begin
             d:=TTypeDef.Create(CurDef, dtType);
             TTypeDef(d).BasicType:=btGuid;
           end