about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-15 11:22:14 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-15 11:22:36 -0700
commit58a08ed3e70a8edadcbcc760b25f76288e2f9645 (patch)
tree198d7c7f98a675ee94cab593f87433bcbc13d40b /020run.cc
parent02796d320d98cc30f5f074d822535f878dba34e5 (diff)
downloadmu-58a08ed3e70a8edadcbcc760b25f76288e2f9645.tar.gz
3358
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc
index 8f27c820..eae5549c 100644
--- a/020run.cc
+++ b/020run.cc
@@ -122,6 +122,10 @@ const string& current_recipe_name() {
   return get(Recipe, Current_routine->running_recipe).name;
 }
 
+const recipe& current_recipe() {
+  return get(Recipe, Current_routine->running_recipe);
+}
+
 const instruction& current_instruction() {
   return get(Recipe, Current_routine->running_recipe).steps.at(Current_routine->running_step_index);
 }