mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
62302ee172
Store the entire function declaration, not just its job list. This allows us to extract the body of the function complete with any leading comments and indents. Fixes #5285
13 lines
400 B
C++
13 lines
400 B
C++
// Prototypes for executing builtin_function function.
|
|
#ifndef FISH_BUILTIN_FUNCTION_H
|
|
#define FISH_BUILTIN_FUNCTION_H
|
|
|
|
#include "common.h"
|
|
#include "parse_tree.h"
|
|
|
|
class parser_t;
|
|
struct io_streams_t;
|
|
|
|
int builtin_function(parser_t &parser, io_streams_t &streams, const wcstring_list_t &c_args,
|
|
const parsed_source_ref_t &source, tnode_t<grammar::block_statement> body);
|
|
#endif
|