* pas2jni: fixed error during records processing.

git-svn-id: trunk@24514 -
This commit is contained in:
yury 2013-05-15 15:58:27 +00:00
parent 8bc8363c77
commit 4a696dbf00

View File

@ -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