diff options
Diffstat (limited to '020run.cc')
-rw-r--r-- | 020run.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc index baf64863..aaad7576 100644 --- a/020run.cc +++ b/020run.cc @@ -40,6 +40,7 @@ struct routine { long long int running_step_index; routine(recipe_ordinal r) :running_recipe(r), running_step_index(0) {} bool completed() const; + const vector<instruction>& steps() const; }; :(before "End Globals") @@ -124,6 +125,10 @@ inline bool routine::completed() const { return running_step_index >= SIZE(get(Recipe, running_recipe).steps); } +inline const vector<instruction>& routine::steps() const { + return get(Recipe, running_recipe).steps; +} + //:: Startup flow //: Step 1: load all .mu files with numeric prefixes (in order) |