mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Remove an incorrect shadowing use of principal_parser
This commit is contained in:
parent
ff55249447
commit
ad301ab3a0
@ -274,7 +274,6 @@ static void event_fire_internal(parser_t &parser, const event_t &event) {
|
||||
// Event handlers are not part of the main flow of code, so they are marked as
|
||||
// non-interactive.
|
||||
proc_push_interactive(0);
|
||||
parser_t &parser = parser_t::principal_parser();
|
||||
auto prev_statuses = parser.get_last_statuses();
|
||||
|
||||
block_t *b = parser.push_block(block_t::event_block(event));
|
||||
|
Loading…
x
Reference in New Issue
Block a user