Shell: Convert dbgprintf() => dbgln()

This commit is contained in:
Andreas Kling 2021-02-17 16:18:53 +01:00
parent 2d64ba7b9d
commit d9bf4b4d41

View file

@ -124,9 +124,7 @@ namespace Shell::AST {
static inline void print_indented(const String& str, int indent)
{
for (auto i = 0; i < indent; ++i)
dbgprintf(" ");
dbgprintf("%s\n", str.characters());
dbgln("{}{}", String::repeated(' ', indent * 2), str);
}
static inline Optional<Position> merge_positions(const Optional<Position>& left, const Optional<Position>& right)