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-05-05 23:50:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-05 23:50:50 -0700
commit20d1c9057a559ce8db83bbc2787ca91348bcb16f (patch)
tree56381f7cc68f93014d72019301f623b7993c63ef /075scenario_keyboard.cc
parent8923d6f658d09de800164b8fc6514475f49307b4 (diff)
downloadmu-20d1c9057a559ce8db83bbc2787ca91348bcb16f.tar.gz
1278 - support before/after tangle directives
No way to only insert code at a label in a specific recipe. Let's see
how that goes.
Diffstat (limited to '075scenario_keyboard.cc')
-rw-r--r--075scenario_keyboard.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/075scenario_keyboard.cc b/075scenario_keyboard.cc
index d14e4de7..92e5a7a8 100644
--- a/075scenario_keyboard.cc
+++ b/075scenario_keyboard.cc
@@ -42,7 +42,7 @@ if (curr.name == "assume-keyboard") {
   assert(curr.products.empty());
   curr.products.push_back(reagent("keyboard:address"));
   curr.products[0].set_value(KEYBOARD);
-  Recipe[r].steps.push_back(curr);  // hacky that "Rewrite Instruction" is converting to multiple instructions
+  result.steps.push_back(curr);  // hacky that "Rewrite Instruction" is converting to multiple instructions
   // leave second instruction in curr
   curr.clear();
   curr.operation = Recipe_number["init-fake-keyboard"];