mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-22 15:51:18 -03:00
Default parser_t::eval()'s block type to top
This is the parameter value at every call site except one. Just make it the default.
This commit is contained in:
@@ -389,7 +389,7 @@ void inputter_t::mapping_execute(const input_mapping_t &m, bool allow_commands)
|
||||
// see that until all other commands have also been run.
|
||||
auto last_statuses = parser_->get_last_statuses();
|
||||
for (const wcstring &cmd : m.commands) {
|
||||
parser_->eval(cmd, io_chain_t(), block_type_t::top);
|
||||
parser_->eval(cmd, io_chain_t{});
|
||||
}
|
||||
parser_->set_last_statuses(std::move(last_statuses));
|
||||
event_queue_.push_front(char_event_type_t::check_exit);
|
||||
|
||||
Reference in New Issue
Block a user