mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +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
|
// Event handlers are not part of the main flow of code, so they are marked as
|
||||||
// non-interactive.
|
// non-interactive.
|
||||||
proc_push_interactive(0);
|
proc_push_interactive(0);
|
||||||
parser_t &parser = parser_t::principal_parser();
|
|
||||||
auto prev_statuses = parser.get_last_statuses();
|
auto prev_statuses = parser.get_last_statuses();
|
||||||
|
|
||||||
block_t *b = parser.push_block(block_t::event_block(event));
|
block_t *b = parser.push_block(block_t::event_block(event));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user