mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 04:52:45 +08:00
Cleanup comment to match implementation
This was recently changed to return bool.
This commit is contained in:
parent
fbb21a36f5
commit
8208fc4f87
|
@ -810,7 +810,7 @@ static bool append_syntax_error(parse_error_list_t *errors, size_t source_locati
|
|||
return true;
|
||||
}
|
||||
|
||||
/// Returns 1 if the specified command is a builtin that may not be used in a pipeline.
|
||||
/// Returns true if the specified command is a builtin that may not be used in a pipeline.
|
||||
static const wchar_t *const forbidden_pipe_commands[] = {L"exec", L"case", L"break", L"return",
|
||||
L"continue"};
|
||||
static bool parser_is_pipe_forbidden(const wcstring &word) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user