diff options
Diffstat (limited to 'cpp/020run')
-rw-r--r-- | cpp/020run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/020run b/cpp/020run index cafeef75..93052b52 100644 --- a/cpp/020run +++ b/cpp/020run @@ -57,7 +57,7 @@ void run_current_routine() if (current_instruction().is_label) { ++pc; continue; } //? cout << "AAA " << Trace_stream << " ^" << Trace_stream->dump_layer << "$\n"; //? 1 //? trace("foo") << "2.5: " << pc << " " << &pc; //? 1 - trace("run") << "instruction " << recipe_name() << '/' << pc; + trace("run") << "instruction " << current_recipe_name() << '/' << pc; //? cout << "operation " << current_instruction().operation << '\n'; //? 3 //? if (!current_instruction().products.empty()) trace("foo") << "AAA product 0 is " << current_instruction().products[0].to_string(); //? 1 switch (current_instruction().operation) { @@ -87,7 +87,7 @@ inline size_t& current_step_index() { return Current_routine->running_step_index; } -inline string recipe_name() { +inline const string& current_recipe_name() { return Recipe[Current_routine->running_recipe].name; } |