trealconstnode.printnodedata: fix currency values getting written to stdout

This commit is contained in:
Jonas Maebe 2023-12-02 22:08:25 +01:00
parent 1e066ba0bd
commit 82f025e9e7

View File

@ -569,9 +569,9 @@ implementation
inherited printnodedata(t);
write(t,printnodeindention,'value = ',value_real);
if is_currency(resultdef) then
writeln(', value_currency = ',value_currency)
writeln(t,', value_currency = ',value_currency)
else
writeln;
writeln(t);
end;
function trealconstnode.emit_data(tcb:ttai_typedconstbuilder):sizeint;