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
Notes: sideshowbarker 2024-07-19 01:54:15 +09:00

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);