print ops properly.

This commit is contained in:
Mark Thom
2018-01-14 20:46:03 -07:00
parent d1a1463ff2
commit b2b4ce6877
7 changed files with 117 additions and 12 deletions

View File

@@ -347,7 +347,7 @@ impl Machine {
fn print_var(&self, r: Ref) -> String
{
let disp = DisplayFormatter {};
let disp = TermFormatter::new(&self.op_dir);
let iter = HeapCellIterator::new(&self.ms, r);
let mut printer = HeapCellPrinter::new(iter, disp);