aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-01-18 20:38:30 +0100
committerEdvard Thörnros <edvard.thornros@gmail.com>2021-01-18 20:38:30 +0100
commit27deb4f1f2a53235b28ce7283135cee75a089b62 (patch)
tree085b1c9e78e89c259507567cbaaa06b2269b541f /src
parenta2f25159e8233110d1a7955ae89adbe96dde04b9 (diff)
downloadsylt-27deb4f1f2a53235b28ce7283135cee75a089b62.tar.gz
Printing what is running
Diffstat (limited to 'src')
-rw-r--r--src/vm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm.rs b/src/vm.rs
index 02d90a7..c9a1dd5 100644
--- a/src/vm.rs
+++ b/src/vm.rs
@@ -510,6 +510,7 @@ impl VM {
});
if self.print_blocks {
+ println!("\n [[{}]]\n", "RUNNING".red());
self.frame().block.debug_print();
}
@@ -621,6 +622,7 @@ impl VM {
});
if self.print_blocks {
+ println!("\n [[{}]]\n", "TYPECHECK".purple());
self.frame().block.debug_print();
}