diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-26 16:43:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-26 17:36:16 -0700 |
commit | 2b25071710656d7a755c2f66c99734cd7990d1ba (patch) | |
tree | f4e3a83d6397343c7c225a354f4f2c837aef8190 /010vm.cc | |
parent | 5e320aa049bc1d5ad78eec23be0127f4a8d6ec3d (diff) | |
download | mu-2b25071710656d7a755c2f66c99734cd7990d1ba.tar.gz |
3877
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/010vm.cc b/010vm.cc index 50cb4215..839cd356 100644 --- a/010vm.cc +++ b/010vm.cc @@ -606,13 +606,8 @@ string to_string(const recipe& r) { string to_original_string(const recipe& r) { ostringstream out; out << "recipe " << r.name << " [\n"; - for (int i = 0; i < SIZE(r.steps); ++i) { - const instruction& inst = r.steps.at(i); - if (inst.original_string.empty()) - out << " " << to_original_string(r.steps.at(i)) << '\n'; - else - out << " " << r.steps.at(i).original_string << '\n'; - } + for (int i = 0; i < SIZE(r.steps); ++i) + out << " " << to_original_string(r.steps.at(i)) << '\n'; out << "]\n"; return out.str(); } |