aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parse_execution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse_execution.cpp')
-rw-r--r--src/parse_execution.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse_execution.cpp b/src/parse_execution.cpp
index c50619ed..471914f6 100644
--- a/src/parse_execution.cpp
+++ b/src/parse_execution.cpp
@@ -410,7 +410,8 @@ parse_execution_result_t parse_execution_context_t::run_function_statement(const
const wcstring contents_str = wcstring(this->src, contents_start, contents_end - contents_start);
int definition_line_offset = this->line_offset_of_character_at_offset(contents_start);
wcstring error_str;
- int err = define_function(*parser, argument_list, contents_str, definition_line_offset, &error_str);
+ io_streams_t streams;
+ int err = define_function(*parser, streams, argument_list, contents_str, definition_line_offset, &error_str);
proc_set_last_status(err);
if (! error_str.empty())