about summary refs log tree commit diff stats
path: root/029tools.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-03-03 08:20:15 -0800
committerKartik Agaram <vc@akkartik.com>2019-03-03 09:53:32 -0800
commit6bcdfa87a71c00a12a918a0f6e7dad814b6a087a (patch)
treef1207f3339061e05ae0b66bc845349e449ebc530 /029tools.cc
parent065c01845bfc67ba8805cc02817c3de4c36f8cbd (diff)
downloadmu-6bcdfa87a71c00a12a918a0f6e7dad814b6a087a.tar.gz
4993
Fix CI after commit 4987. And track stack depths more correctly inside
sandboxes.
Diffstat (limited to '029tools.cc')
-rw-r--r--029tools.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/029tools.cc b/029tools.cc
index 56ac861c..7c4a9a68 100644
--- a/029tools.cc
+++ b/029tools.cc
@@ -41,6 +41,9 @@ case TRACE: {
 
 //: simpler limited version of 'trace'
 
+:(before "End Types")  //: include in all cleaved compilation units
+const int App_depth = 1;  // where all Mu code will trace to by default
+
 :(before "End Primitive Recipe Declarations")
 STASH,
 :(before "End Primitive Recipe Numbers")
@@ -56,7 +59,7 @@ case STASH: {
     if (i) out << ' ';
     out << inspect(current_instruction().ingredients.at(i), ingredients.at(i));
   }
-  trace(2, "app") << out.str() << end();
+  trace(App_depth, "app") << out.str() << end();
   break;
 }