mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:07:44 +00:00
Shell: Convert dbgprintf() => dbgln()
This commit is contained in:
parent
2d64ba7b9d
commit
d9bf4b4d41
1 changed files with 1 additions and 3 deletions
|
@ -124,9 +124,7 @@ namespace Shell::AST {
|
||||||
|
|
||||||
static inline void print_indented(const String& str, int indent)
|
static inline void print_indented(const String& str, int indent)
|
||||||
{
|
{
|
||||||
for (auto i = 0; i < indent; ++i)
|
dbgln("{}{}", String::repeated(' ', indent * 2), str);
|
||||||
dbgprintf(" ");
|
|
||||||
dbgprintf("%s\n", str.characters());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline Optional<Position> merge_positions(const Optional<Position>& left, const Optional<Position>& right)
|
static inline Optional<Position> merge_positions(const Optional<Position>& left, const Optional<Position>& right)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue