mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Shell: Run clang-format on everything.
This commit is contained in:
@@ -52,7 +52,7 @@ Vector<Subcommand> Parser::parse()
|
||||
commit_token();
|
||||
if (m_tokens.is_empty()) {
|
||||
fprintf(stderr, "Syntax error: Nothing before pipe (|)\n");
|
||||
return { };
|
||||
return {};
|
||||
}
|
||||
do_pipe();
|
||||
break;
|
||||
@@ -110,7 +110,7 @@ Vector<Subcommand> Parser::parse()
|
||||
commit_token();
|
||||
if (m_tokens.is_empty()) {
|
||||
fprintf(stderr, "Syntax error: Nothing before pipe (|)\n");
|
||||
return { };
|
||||
return {};
|
||||
}
|
||||
do_pipe();
|
||||
m_state = State::Free;
|
||||
@@ -145,7 +145,7 @@ Vector<Subcommand> Parser::parse()
|
||||
for (auto& redirection : m_subcommands.last().redirections) {
|
||||
if (redirection.type == Redirection::Pipe) {
|
||||
fprintf(stderr, "Syntax error: Nothing after last pipe (|)\n");
|
||||
return { };
|
||||
return {};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user