about summary refs log tree commit diff stats
path: root/075scenario_keyboard.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-19 16:35:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-19 16:35:10 -0700
commitf91179bdfc4b8049e9b4609396e1d7a01e302304 (patch)
tree83700e54968e70e9c1866012984bd5774045459d /075scenario_keyboard.cc
parenta91c1c2a28583262cc6052a5c3d9e713e9b4c0e0 (diff)
downloadmu-f91179bdfc4b8049e9b4609396e1d7a01e302304.tar.gz
1600
Diffstat (limited to '075scenario_keyboard.cc')
-rw-r--r--075scenario_keyboard.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/075scenario_keyboard.cc b/075scenario_keyboard.cc
index 83d13b40..6a5da304 100644
--- a/075scenario_keyboard.cc
+++ b/075scenario_keyboard.cc
@@ -44,6 +44,7 @@ if (s == "keyboard") return true;
 if (curr.name == "assume-keyboard") {
   // insert first instruction
   curr.operation = Recipe_number["new"];
+  curr.name = "new";
   assert(curr.products.empty());
   curr.products.push_back(reagent("keyboard:address"));
   curr.products.at(0).set_value(KEYBOARD);
@@ -51,6 +52,7 @@ if (curr.name == "assume-keyboard") {
   // leave second instruction in curr
   curr.clear();
   curr.operation = Recipe_number["new-fake-keyboard"];
+  curr.name = "new-fake-keyboard";
   assert(curr.ingredients.empty());
   curr.ingredients.push_back(reagent("keyboard:address"));
   curr.ingredients.at(0).set_value(KEYBOARD);