about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/012run5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/012run b/cpp/012run
index 4fdb7ebb..1e38c15a 100644
--- a/cpp/012run
+++ b/cpp/012run
@@ -41,7 +41,10 @@ struct routine {
 
 :(code)
 void run(string form) {
-  recipe_number r = add_recipes(form);
+  run(add_recipes(form));
+}
+
+void run(recipe_number r) {
   routine rr;
   rr.calls.push(call(r));
   run(rr);