diff options
Diffstat (limited to 'cpp/020run')
-rw-r--r-- | cpp/020run | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/020run b/cpp/020run index 2f08b23c..2d5d6228 100644 --- a/cpp/020run +++ b/cpp/020run @@ -52,7 +52,6 @@ void run_current_routine() while (!Current_routine->completed()) // later layers will modify condition { // Running One Instruction. - size_t& pc = current_step_index(); if (current_instruction().is_label) { ++current_step_index(); continue; } trace("run") << "instruction " << current_recipe_name() << '/' << current_step_index(); //? cout << "operation " << current_instruction().operation << '\n'; //? 3 @@ -69,7 +68,7 @@ void run_current_routine() cout << "not a primitive op: " << current_instruction().operation << '\n'; } } - ++pc; + ++current_step_index(); } Current_routine = NULL; } |