Thread the parser into process_clean_after_marking

This commit is contained in:
ridiculousfish
2019-04-29 20:58:58 -07:00
parent 32d1b3d7cb
commit 9fb98baba6
9 changed files with 29 additions and 23 deletions

View File

@@ -670,7 +670,7 @@ int parser_t::eval_node(parsed_source_ref_t ps, tnode_t<T> node, const io_chain_
return 1;
}
job_reap(false); // not sure why we reap jobs here
job_reap(*this, false); // not sure why we reap jobs here
// Start it up
scope_block_t *scope_block = this->push_block<scope_block_t>(block_type);
@@ -683,7 +683,7 @@ int parser_t::eval_node(parsed_source_ref_t ps, tnode_t<T> node, const io_chain_
exc.restore();
this->pop_block(scope_block);
job_reap(false); // reap again
job_reap(*this, false); // reap again
return result;
}