diff --git a/src/Binder/BoundExpressions/BoundFunctionCallExpression.hpp b/src/Binder/BoundExpressions/BoundFunctionCallExpression.hpp index ef7c287..b837e7a 100644 --- a/src/Binder/BoundExpressions/BoundFunctionCallExpression.hpp +++ b/src/Binder/BoundExpressions/BoundFunctionCallExpression.hpp @@ -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); } }