From 10e449b50139123b09217f81d4a11effe9efaa9e Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 14 Mar 2015 19:23:01 -0700 Subject: 915 --- cpp/012run | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/012run') 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); -- cgit 1.4.1-2-gfad0