use same logic to print Chars and Atoms (#1804)

This commit is contained in:
Mark
2023-05-10 00:04:35 -06:00
parent 86beb222ae
commit 8e4465315f
3 changed files with 73 additions and 52 deletions

View File

@@ -764,6 +764,7 @@ impl MachineState {
let mut printer = HCPrinter::new(
&mut self.heap,
&mut self.atom_tbl,
op_dir,
PrinterOutputter::new(),
term_to_be_printed,