1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 13:25:07 +00:00

Shell: Put a space after the match pattern expression when formatting

This commit is contained in:
AnotherTest 2020-10-14 18:24:39 +03:30 committed by Andreas Kling
parent 5f15fb17d9
commit cd48ec2abd

View file

@ -373,6 +373,7 @@ void Formatter::visit(const AST::MatchExpr* node)
option.visit(*this);
}
current_builder().append(' ');
in_new_block([&] {
if (entry.body)
entry.body->visit(*this);