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