mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-03 16:44:00 +08:00
e0e0fe9dd3
I did not realize builtins could safely call into the parser and inject jobs during execution. This is much cleaner than hacking around the required shape of a plain_statement.
10 lines
228 B
C++
10 lines
228 B
C++
// Prototypes for executing builtin_eval function.
|
|
#ifndef FISH_BUILTIN_EVAL_H
|
|
#define FISH_BUILTIN_EVAL_H
|
|
|
|
class parser_t;
|
|
struct io_streams_t;
|
|
|
|
int builtin_eval(parser_t &parser, io_streams_t &streams, wchar_t **argv);
|
|
#endif
|