mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 02:09:29 +02:00
trealconstnode.printnodedata: fix currency values getting written to stdout
This commit is contained in:
parent
1e066ba0bd
commit
82f025e9e7
@ -569,9 +569,9 @@ implementation
|
|||||||
inherited printnodedata(t);
|
inherited printnodedata(t);
|
||||||
write(t,printnodeindention,'value = ',value_real);
|
write(t,printnodeindention,'value = ',value_real);
|
||||||
if is_currency(resultdef) then
|
if is_currency(resultdef) then
|
||||||
writeln(', value_currency = ',value_currency)
|
writeln(t,', value_currency = ',value_currency)
|
||||||
else
|
else
|
||||||
writeln;
|
writeln(t);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function trealconstnode.emit_data(tcb:ttai_typedconstbuilder):sizeint;
|
function trealconstnode.emit_data(tcb:ttai_typedconstbuilder):sizeint;
|
||||||
|
Loading…
Reference in New Issue
Block a user