From c55e49b6374656099566fd22f39328c2da75b044 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 15 Nov 2015 12:35:59 -0800 Subject: 2445 - dispatch between shape-shifting variants Starting to leave debug prints around once again, just in case one of them is worth promoting to the trace.. --- 010vm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '010vm.cc') diff --git a/010vm.cc b/010vm.cc index 312aa3fc..016d3ad6 100644 --- a/010vm.cc +++ b/010vm.cc @@ -433,11 +433,11 @@ string instruction::to_string() const { string debug_string(const recipe& x) { ostringstream out; - out << "recipe " << x.name << '\n'; + out << "- recipe " << x.name << '\n'; // Begin debug_string(recipe x) for (long long int index = 0; index < SIZE(x.steps); ++index) { const instruction& inst = x.steps.at(index); - out << " inst: " << inst.to_string() << '\n'; + out << "inst: " << inst.to_string() << '\n'; out << " ingredients\n"; for (long long int i = 0; i < SIZE(inst.ingredients); ++i) out << " " << debug_string(inst.ingredients.at(i)) << '\n'; -- cgit 1.4.1-2-gfad0