mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +02:00
* array of const for currency, classes and interfaces fixed
git-svn-id: trunk@11 -
This commit is contained in:
parent
c76ede86f8
commit
d4194bce53
@ -790,6 +790,9 @@ implementation
|
||||
end;
|
||||
floatdef :
|
||||
begin
|
||||
if is_currency(lt) then
|
||||
vtype:=vtCurrency
|
||||
else
|
||||
vtype:=vtExtended;
|
||||
freetemp:=false;
|
||||
vaddr:=true;
|
||||
@ -813,7 +816,14 @@ implementation
|
||||
classrefdef :
|
||||
vtype:=vtClass;
|
||||
objectdef :
|
||||
vtype:=vtObject;
|
||||
if is_interface(lt) then
|
||||
vtype:=vtInterface
|
||||
else if is_class(lt) then
|
||||
vtype:=vtClass
|
||||
else if is_object(lt) then
|
||||
vtype:=vtObject
|
||||
else
|
||||
internalerror(200505171);
|
||||
stringdef :
|
||||
begin
|
||||
if is_shortstring(lt) then
|
||||
|
@ -983,6 +983,7 @@ implementation
|
||||
hp.left:=ctypeconvnode.create(hp.left,s32inttype);
|
||||
end;
|
||||
floatdef :
|
||||
if not(is_currency(hp.left.resulttype.def)) then
|
||||
hp.left:=ctypeconvnode.create(hp.left,pbestrealtype^);
|
||||
procvardef :
|
||||
hp.left:=ctypeconvnode.create(hp.left,voidpointertype);
|
||||
|
Loading…
Reference in New Issue
Block a user