about summary refs log tree commit diff stats
path: root/028translate.cc
diff options
context:
space:
mode:
Diffstat (limited to '028translate.cc')
-rw-r--r--028translate.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/028translate.cc b/028translate.cc
index d3a6a8ac..9737834e 100644
--- a/028translate.cc
+++ b/028translate.cc
@@ -18,7 +18,8 @@
 
 :(before "End Main")
 if (is_equal(argv[1], "translate")) {
-  START_TRACING_UNTIL_END_OF_SCOPE;
+  // Outside of tests, traces must be explicitly requested.
+  if (Trace_file.is_open()) Trace_stream = new trace_stream;
   reset();
   // Begin subx translate
   program p;