Macroization of the code
This commit is contained in:
@@ -4288,9 +4288,10 @@ impl Machine {
|
||||
return Ok(());
|
||||
},
|
||||
Err(e) => {
|
||||
// throw error
|
||||
self.machine_st.fail = true;
|
||||
return Ok(());
|
||||
let stub = functor_stub(atom!("current_input"), 1);
|
||||
let err = self.machine_st.ffi_error(e);
|
||||
|
||||
return Err(self.machine_st.error_form(err, stub));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user