From 58a08ed3e70a8edadcbcc760b25f76288e2f9645 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 15 Sep 2016 11:22:14 -0700 Subject: 3358 --- 020run.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '020run.cc') 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); } -- cgit 1.4.1-2-gfad0