about summary refs log tree commit diff stats
path: root/shell/macroexpand.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-31 10:19:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-31 10:19:38 -0700
commit940401ff9e39e827065b586894801704b5aea6eb (patch)
tree6c0777f739f9e856b63afc669f1bc145ce862bca /shell/macroexpand.mu
parent0ea329da1fffa4bc9ca41b6f76c5d643c773ecb1 (diff)
downloadmu-940401ff9e39e827065b586894801704b5aea6eb.tar.gz
.
Diffstat (limited to 'shell/macroexpand.mu')
-rw-r--r--shell/macroexpand.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/macroexpand.mu b/shell/macroexpand.mu
index 6ae17ccd..6772490e 100644
--- a/shell/macroexpand.mu
+++ b/shell/macroexpand.mu
@@ -14,6 +14,7 @@ fn macroexpand expr-ah: (addr handle cell), globals: (addr global-table), trace:
     trace trace, "mac", stream
   }
   # }}}
+  trace-lower trace
   # loop until convergence
   {
     var error?/eax: boolean <- has-errors? trace
@@ -23,6 +24,7 @@ fn macroexpand expr-ah: (addr handle cell), globals: (addr global-table), trace:
     compare expanded?, 0/false
     loop-if-!=
   }
+  trace-higher trace
   # trace "=> " expr-ah {{{
   {
     var should-trace?/eax: boolean <- should-trace? trace