fish-shell/src/builtin_eval.h
Mahmoud Al-Qudsi e0e0fe9dd3 Re-implement eval as a regular builtin
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.
2019-04-12 07:04:15 -05:00

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