about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc
index c08049a0..8f471b56 100644
--- a/020run.cc
+++ b/020run.cc
@@ -62,7 +62,7 @@ void run_current_routine()
     // Running One Instruction
 //?     Instructions_running[current_recipe_name()]++;
     if (current_instruction().is_label) { ++current_step_index(); continue; }
-    trace(Initial_callstack_depth+Callstack_depth, "run") << current_instruction().to_string() << end();
+    trace(Initial_callstack_depth + Trace_stream->callstack_depth, "run") << current_instruction().to_string() << end();
     if (Memory[0] != 0) {
       raise_error << "something wrote to location 0; this should never happen\n" << end();
       Memory[0] = 0;