Remove an incorrect shadowing use of principal_parser

This commit is contained in:
ridiculousfish 2019-06-03 02:55:36 -07:00
parent ff55249447
commit ad301ab3a0

View File

@ -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));