Ver código fonte

* pas2jni: fixed error during records processing.

git-svn-id: trunk@24514 -
yury 12 anos atrás
pai
commit
4a696dbf00
1 arquivos alterados com 1 adições e 1 exclusões
  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