adapt code generation

This commit is contained in:
Mark Thom
2022-10-17 22:56:08 -06:00
committed by Mark
parent b9c9de5222
commit e41d1b319b
8 changed files with 700 additions and 427 deletions

View File

@@ -441,7 +441,7 @@ impl<'a, LS: LoadState<'a>> Loader<'a, LS> {
term: Term,
preprocessor: &mut Preprocessor,
) -> Result<PredicateClause, SessionError> {
let tl = preprocessor.try_term_to_tl(self, term, CutContext::BlocksCuts)?;
let tl = preprocessor.try_term_to_tl(self, term)?;
Ok(match tl {
TopLevel::Fact(fact) => PredicateClause::Fact(fact),