Corrected output of O_CALL nodes
This commit is contained in:
parent
f7f07310f4
commit
0efe0c63ce
1 changed files with 5 additions and 3 deletions
|
|
@ -473,9 +473,11 @@ bool expr_t::op_t::print(std::ostream& out, const context_t& context) const
|
||||||
out << "(";
|
out << "(";
|
||||||
if (left() && left()->print(out, context))
|
if (left() && left()->print(out, context))
|
||||||
found = true;
|
found = true;
|
||||||
out << ", ";
|
for (ptr_op_t next = right(); next; next = next->right()) {
|
||||||
if (has_right() && right()->print(out, context))
|
out << ", ";
|
||||||
found = true;
|
if (next->print(out, context))
|
||||||
|
found = true;
|
||||||
|
}
|
||||||
out << ")";
|
out << ")";
|
||||||
}
|
}
|
||||||
else if (left() && left()->print(out, context)) {
|
else if (left() && left()->print(out, context)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue