From 6ce4b344e45baaa06bf593a5c0983da7a22eb64e Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 27 Dec 2013 01:38:43 -0800 Subject: Hook up for statements, if statements, and function definition in new parser --- builtin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'builtin.h') diff --git a/builtin.h b/builtin.h index ae06bba2..9900f856 100644 --- a/builtin.h +++ b/builtin.h @@ -176,7 +176,10 @@ const wchar_t *builtin_complete_get_temporary_buffer(); Run the __fish_print_help function to obtain the help information for the specified command. */ - wcstring builtin_help_get(parser_t &parser, const wchar_t *cmd); +/** Defines a function, like builtin_function. Returns 0 on success. */ +int define_function(parser_t &parser, const wcstring_list_t &args, const wcstring &contents, wcstring *out_err); + + #endif -- cgit v1.2.3