The "print" valexpr function no longer adds spaces
This commit is contained in:
parent
64c6329b5d
commit
61fcfd0698
1 changed files with 2 additions and 9 deletions
|
|
@ -559,15 +559,8 @@ value_t report_t::fn_format(call_scope_t& args)
|
||||||
|
|
||||||
value_t report_t::fn_print(call_scope_t& args)
|
value_t report_t::fn_print(call_scope_t& args)
|
||||||
{
|
{
|
||||||
std::ostream& out(output_stream);
|
for (std::size_t i = 0; i < args.size(); i++)
|
||||||
bool first = true;
|
args[i].print(output_stream);
|
||||||
for (std::size_t i = 0; i < args.size(); i++) {
|
|
||||||
if (first)
|
|
||||||
first = false;
|
|
||||||
else
|
|
||||||
out << ' ';
|
|
||||||
args[i].print(out);
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue