add system call preliminaries
This commit is contained in:
@@ -769,12 +769,6 @@ macro_rules! cyclic_term_execute {
|
||||
)
|
||||
}
|
||||
|
||||
macro_rules! skip_max_list_execute {
|
||||
() => (
|
||||
Line::Control(ControlInstruction::CallClause(ClauseType::SkipMaxList, 4, 0, true))
|
||||
)
|
||||
}
|
||||
|
||||
macro_rules! return_from_clause {
|
||||
($lco:expr, $machine_st:expr) => {{
|
||||
if $lco {
|
||||
|
||||
@@ -399,7 +399,10 @@ impl RelationWorker {
|
||||
Term::Var(_, ref v) if v.as_str() == "!" =>
|
||||
Ok(QueryTerm::UnblockedCut(Cell::default())),
|
||||
Term::Clause(r, name, mut terms, fixity) =>
|
||||
if let Some(inlined_ct) = InlinedClauseType::from(name.as_str(), terms.len()) {
|
||||
if let Some(system_ct) = SystemClauseType::from(name.as_str(), terms.len()) {
|
||||
Ok(QueryTerm::Clause(r, ClauseType::System(system_ct), terms))
|
||||
}
|
||||
else if let Some(inlined_ct) = InlinedClauseType::from(name.as_str(), terms.len()) {
|
||||
Ok(QueryTerm::Clause(r, ClauseType::Inlined(inlined_ct), terms))
|
||||
} else if name.as_str() == ";" {
|
||||
if terms.len() == 2 {
|
||||
|
||||
Reference in New Issue
Block a user