diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/012run | 5 |
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); |