mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 18:30:29 +02:00
* also create a realconstn for default(currency) on platforms where the
currency type is implemented via int64 (fixes tests/test/tdefault1 on platforms without an x87) git-svn-id: trunk@20958 -
This commit is contained in:
parent
4934a42389
commit
98609d4c3e
@ -1409,7 +1409,11 @@ implementation
|
||||
TRange1 = -10..-5;
|
||||
TRange2 = 5..10;
|
||||
TEnum = (a:=5;b:=10); }
|
||||
result:=cordconstnode.create(0,def,false);
|
||||
if def<>s64currencytype then
|
||||
result:=cordconstnode.create(0,def,false)
|
||||
else
|
||||
{ in case currency is handled via int64 }
|
||||
result:=crealconstnode.create(0,def);
|
||||
classrefdef,
|
||||
pointerdef:
|
||||
result:=cpointerconstnode.create(0,def);
|
||||
|
Loading…
Reference in New Issue
Block a user