about summary refs log tree commit diff stats
path: root/cpp/011load
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/011load')
-rw-r--r--cpp/011load1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/011load b/cpp/011load
index 3d75c9ac..97483e93 100644
--- a/cpp/011load
+++ b/cpp/011load
@@ -86,6 +86,7 @@ bool next_instruction(istream& in, instruction* curr) {
     ++p;  // skip <-
   }
 
+  curr->name = *p;
   if (Recipe_number.find(*p) == Recipe_number.end())
     Recipe_number[*p] = Next_recipe_number++;
   curr->operation = Recipe_number[*p];  ++p;