call write_read_term_options if read_term_from_chars/3 succeeds by unifying Term to end_of_file (#1892)

This commit is contained in:
Mark
2023-07-18 12:15:20 -06:00
parent db43d461b9
commit 56f6772422
2 changed files with 6 additions and 1 deletions

View File

@@ -510,7 +510,7 @@ impl MachineState {
}
}
fn write_read_term_options(
pub fn write_read_term_options(
&mut self,
mut var_list: Vec<(VarKey, HeapCellValue, usize)>,
singleton_var_list: Vec<HeapCellValue>,