Fixed missing endlines between parameters in function calls
This commit is contained in:
parent
1235e8893f
commit
dd98a34b63
|
@ -44,14 +44,13 @@ namespace Porygon::Binder {
|
|||
}
|
||||
|
||||
void GetTreeString(std::stringstream& stream, size_t indents) const final{
|
||||
for (size_t i = 0; i < indents; i++)
|
||||
stream << "\t";
|
||||
DrawIndents(stream, indents);
|
||||
stream << "Function Call" << " (" << GetType()->ToString() << ")" << endl;
|
||||
for (size_t i = 0; i < indents; i++)
|
||||
stream << "\t";
|
||||
DrawIndents(stream, indents);
|
||||
if (!_parameters.empty()){
|
||||
stream << "Parameters: " << endl;
|
||||
stream << "Parameters: ";
|
||||
for (auto p : _parameters){
|
||||
stream << endl;
|
||||
p->GetTreeString(stream, indents + 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue