diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-03-14 19:23:01 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-03-14 19:23:01 -0700 |
commit | 10e449b50139123b09217f81d4a11effe9efaa9e (patch) | |
tree | b33bb7372c9cd434df445a56d49248fc872863b0 /cpp/012run | |
parent | cc8f359b2dcc6200f450ba2c9993e816f772010c (diff) | |
download | mu-10e449b50139123b09217f81d4a11effe9efaa9e.tar.gz |
915
Diffstat (limited to 'cpp/012run')
-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); |