about summary refs log tree commit diff stats
path: root/026call.cc
diff options
context:
space:
mode:
Diffstat (limited to '026call.cc')
-rw-r--r--026call.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/026call.cc b/026call.cc
index 81012350..15e44d35 100644
--- a/026call.cc
+++ b/026call.cc
@@ -79,6 +79,11 @@ int& current_step_index() {
   assert(!Current_routine->calls.empty());
   return current_call().running_step_index;
 }
+:(replace{} "recipe_ordinal currently_running_recipe()")
+recipe_ordinal currently_running_recipe() {
+  assert(!Current_routine->calls.empty());
+  return current_call().running_recipe;
+}
 :(replace{} "const string& current_recipe_name()")
 const string& current_recipe_name() {
   assert(!Current_routine->calls.empty());