From d1464ca97d79e1ddfcb6550a8ee6736df81c0560 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 20 Sep 2018 13:51:57 -0700 Subject: 4551 Running reset() doesn't seem necessary so far for the translate sub-command, but it's likely to expose us to weird bugs. Immediately, it requires toggling `Dump_trace` in different places to print traces while translating vs while running. --- subx/028translate.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'subx') diff --git a/subx/028translate.cc b/subx/028translate.cc index 4c2ba133..f2db1bbc 100644 --- a/subx/028translate.cc +++ b/subx/028translate.cc @@ -20,6 +20,7 @@ if (is_equal(argv[1], "translate")) { START_TRACING_UNTIL_END_OF_SCOPE; assert(argc > 3); + reset(); program p; ifstream fin(argv[2]); if (!fin) { -- cgit 1.4.1-2-gfad0