diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-15 12:35:59 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-15 12:35:59 -0800 |
commit | c55e49b6374656099566fd22f39328c2da75b044 (patch) | |
tree | c5c248b9baff05b5910824884576cccbabf63e98 /010vm.cc | |
parent | 360d45e68edf92e85e3ae7cb198be88182374331 (diff) | |
download | mu-c55e49b6374656099566fd22f39328c2da75b044.tar.gz |
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..
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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'; |