mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-09 20:43:18 +08:00
![Mahmoud Al-Qudsi](/assets/img/avatar_default.png)
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
|