Shell: Allow the heredoc node to act as a redirection too

This will be used in a future commit to implement POSIX sh heredocs.
This commit is contained in:
Ali Mohammad Pur 2023-02-16 09:50:14 +03:30 committed by Ali Mohammad Pur
commit 4efc632e15
Notes: sideshowbarker 2024-07-17 02:05:41 +09:00
4 changed files with 86 additions and 24 deletions

View file

@ -343,6 +343,8 @@ public:
OpenFailure,
OutOfMemory,
LaunchError,
PipeFailure,
WriteFailure,
};
void raise_error(ShellError kind, DeprecatedString description, Optional<AST::Position> position = {})