mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-05 17:29:26 +01:00
* allow real_2_real conversion for realconstn, fixes 2971
This commit is contained in:
parent
cf34a799aa
commit
da60da7f06
@ -399,8 +399,9 @@ implementation
|
|||||||
eq:=te_equal
|
eq:=te_equal
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
if not(cdo_explicit in cdoptions) or
|
if (fromtreetype=realconstn) or
|
||||||
not(m_delphi in aktmodeswitches) then
|
not((cdo_explicit in cdoptions) and
|
||||||
|
(m_delphi in aktmodeswitches)) then
|
||||||
begin
|
begin
|
||||||
doconv:=tc_real_2_real;
|
doconv:=tc_real_2_real;
|
||||||
{ do we loose precision? }
|
{ do we loose precision? }
|
||||||
@ -1266,7 +1267,10 @@ implementation
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.45 2004-02-13 15:42:21 peter
|
Revision 1.46 2004-02-15 12:18:22 peter
|
||||||
|
* allow real_2_real conversion for realconstn, fixes 2971
|
||||||
|
|
||||||
|
Revision 1.45 2004/02/13 15:42:21 peter
|
||||||
* compare_defs_ext has now a options argument
|
* compare_defs_ext has now a options argument
|
||||||
* fixes for variants
|
* fixes for variants
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user